/* ==========================================================================
   Better Life Estate — Shared CSS Framework
   Light premium theme with navy & gold accents
   ========================================================================== */

/* ==========================================================================
   1. RESET & CUSTOM PROPERTIES
   ========================================================================== */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul, ol {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
}

button {
    cursor: pointer;
}

:root {
    /* Brand Colors */
    --navy: #0a1628;
    --navy-mid: #0d1e3a;
    --navy-light: #132d4f;
    --navy-deep: #050d1a;
    --gold: #c1a461;
    --gold-light: #d4bc7e;
    --gold-dark: #a68b45;
    --white: #ffffff;
    --cream: #faf9f7;
    --light-gray: #f4f3f0;
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a5a;
    --text-muted: #8a8a9a;
    --text-on-dark: #ffffff;
    --border-color: rgba(10, 22, 40, 0.08);
    --border-color-strong: rgba(10, 22, 40, 0.15);

    /* Gradients */
    --gold-gradient: linear-gradient(135deg, var(--gold), var(--gold-dark));
    --gold-gradient-hover: linear-gradient(135deg, var(--gold-light), var(--gold));
    --navy-gradient: linear-gradient(135deg, var(--navy), var(--navy-mid));
    --overlay-gradient: linear-gradient(180deg, rgba(10, 22, 40, 0.85) 0%, rgba(5, 13, 26, 0.95) 100%);
    --card-bg: #ffffff;
    --card-bg-hover: #faf9f7;

    /* Typography Scale */
    --fs-hero: clamp(2.4rem, 5vw, 4rem);
    --fs-h1: clamp(2rem, 4vw, 3.2rem);
    --fs-h2: clamp(1.8rem, 3.5vw, 2.6rem);
    --fs-h3: clamp(1.4rem, 2.5vw, 1.8rem);
    --fs-h4: clamp(1.1rem, 2vw, 1.35rem);
    --fs-h5: 1.1rem;
    --fs-h6: 0.95rem;
    --fs-body: 1rem;
    --fs-body-lg: 1.125rem;
    --fs-small: 0.875rem;
    --fs-xs: 0.8rem;

    /* Spacing Scale */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;

    /* Layout */
    --container-max: 1200px;
    --container-narrow: 800px;
    --nav-height: 80px;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 20px;
    --border-radius-pill: 50px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.06);
    --shadow-md: 0 4px 24px rgba(10, 22, 40, 0.08);
    --shadow-lg: 0 12px 48px rgba(10, 22, 40, 0.12);
    --shadow-gold: 0 8px 30px rgba(193, 164, 97, 0.2);
    --shadow-card: 0 2px 16px rgba(10, 22, 40, 0.05);
    --shadow-card-hover: 0 8px 40px rgba(10, 22, 40, 0.1);
}


/* ==========================================================================
   2. TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
}

h1 { font-size: var(--fs-h1); margin-bottom: var(--space-lg); }
h2 { font-size: var(--fs-h2); margin-bottom: var(--space-lg); }
h3 { font-size: var(--fs-h3); margin-bottom: var(--space-md); }
h4 { font-size: var(--fs-h4); margin-bottom: var(--space-md); }
h5 { font-size: var(--fs-h5); margin-bottom: var(--space-sm); }
h6 { font-size: var(--fs-h6); margin-bottom: var(--space-sm); }

p {
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
}

p:last-child {
    margin-bottom: 0;
}

.gold {
    color: var(--gold);
}

strong {
    font-weight: 600;
    color: var(--text-primary);
}

.section-tag {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    background: rgba(193, 164, 97, 0.08);
    border: 1px solid rgba(193, 164, 97, 0.2);
    padding: 6px 20px;
    border-radius: var(--border-radius-pill);
    margin-bottom: var(--space-lg);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: var(--fs-h2);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    line-height: 1.3;
}

.section-subtitle {
    font-size: var(--fs-body-lg);
    color: var(--text-muted);
    max-width: 650px;
    line-height: 1.8;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-header .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}


/* ==========================================================================
   3. LAYOUT
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    width: 100%;
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 110px 20px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}


/* ==========================================================================
   4. NAVIGATION
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: background var(--transition-base), box-shadow var(--transition-base);
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(10, 22, 40, 0.06);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 45px;
    width: auto;
}

.nav-logo span {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-links a {
    font-size: var(--fs-small);
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color var(--transition-base);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width var(--transition-base);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.nav-dropdown-toggle::after {
    display: none;
}

.nav-dropdown-toggle .dropdown-arrow {
    font-size: 10px;
    transition: transform var(--transition-base);
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: var(--space-md) 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(10px);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 24px;
    font-size: var(--fs-small);
    text-transform: none;
    letter-spacing: 0;
    white-space: nowrap;
}

.nav-dropdown-menu a::after {
    display: none;
}

.nav-dropdown-menu a:hover {
    background: rgba(193, 164, 97, 0.08);
    color: var(--gold);
}

/* Nav CTA */
.nav-cta {
    font-size: var(--fs-small) !important;
    font-weight: 600 !important;
    color: var(--navy) !important;
    background: var(--gold-gradient);
    padding: 10px 24px !important;
    border-radius: var(--border-radius-pill);
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all var(--transition-base) !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--gold-gradient-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
    color: var(--navy) !important;
}

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    z-index: 1001;
}

.nav-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile overlay */
.nav-mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.nav-mobile-overlay.active {
    display: flex;
    opacity: 1;
}

.nav-mobile-overlay a {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--text-primary);
    transition: color var(--transition-base);
}

.nav-mobile-overlay a:hover {
    color: var(--gold);
}


/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: var(--nav-height) 20px 60px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-gradient);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: var(--fs-hero);
    font-weight: 700;
    color: var(--text-on-dark);
    margin-bottom: var(--space-lg);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: var(--fs-body-lg);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero video embed area */
.hero-video-wrapper {
    margin-top: var(--space-2xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}


/* ==========================================================================
   6. BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: var(--fs-small);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 32px;
    border-radius: var(--border-radius-pill);
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    line-height: 1;
}

.btn-primary {
    color: var(--navy);
    background: var(--gold-gradient);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--gold-gradient-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.btn-secondary {
    color: var(--gold);
    background: transparent;
    border: 1px solid var(--gold);
}

.btn-secondary:hover {
    background: rgba(193, 164, 97, 0.1);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.btn-large {
    padding: 18px 44px;
    font-size: var(--fs-body);
}

.btn-small {
    padding: 10px 22px;
    font-size: var(--fs-xs);
}

.btn-icon {
    width: 20px;
    height: 20px;
}


/* ==========================================================================
   7. CARDS
   ========================================================================== */

.card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: var(--space-xl);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
}

.card:hover {
    border-color: var(--border-color-strong);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    border: 1px solid rgba(193, 164, 97, 0.25);
    border-radius: var(--border-radius);
    margin-bottom: var(--space-lg);
    color: var(--gold);
    font-size: 1.4rem;
}

.card-icon img,
.card-icon svg {
    width: 28px;
    height: 28px;
}

.card-title {
    font-family: 'Playfair Display', serif;
    font-size: var(--fs-h4);
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.card-text {
    font-size: var(--fs-small);
    color: var(--text-muted);
    line-height: 1.7;
}

/* Benefit Card */
.benefit-card {
    text-align: center;
    padding: var(--space-2xl) var(--space-xl);
}

.benefit-card .card-icon {
    margin-left: auto;
    margin-right: auto;
}

/* Step Card (with number) */
.step-card {
    position: relative;
    padding-top: var(--space-2xl);
}

.step-card-number {
    position: absolute;
    top: -20px;
    left: var(--space-xl);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-gradient);
    color: var(--navy);
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50%;
    box-shadow: var(--shadow-gold);
}

/* Direction Card (location with image) */
.direction-card {
    overflow: hidden;
    padding: 0;
    border-radius: var(--border-radius-lg);
}

.direction-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.direction-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.direction-card:hover .direction-card-image img {
    transform: scale(1.05);
}

.direction-card-content {
    padding: var(--space-xl);
}

.direction-card-location {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--fs-small);
    color: var(--gold);
    margin-bottom: var(--space-sm);
}


/* ==========================================================================
   8. PROCESS STEPS (numbered with connecting line)
   ========================================================================== */

.process-steps {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

.process-steps::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.process-step {
    display: flex;
    gap: var(--space-xl);
    align-items: flex-start;
    position: relative;
}

.process-step-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    border: 2px solid var(--gold);
    border-radius: 50%;
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    z-index: 1;
}

.process-step-content {
    padding-top: var(--space-sm);
}

.process-step-content h3 {
    font-size: var(--fs-h4);
    margin-bottom: var(--space-sm);
}

.process-step-content p {
    color: var(--text-muted);
    font-size: var(--fs-small);
}


/* ==========================================================================
   9. FAQ ACCORDION
   ========================================================================== */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: border-color var(--transition-base);
}

.faq-item.active {
    border-color: var(--border-color-strong);
    border-left: 3px solid var(--gold);
    background: rgba(193, 164, 97, 0.03);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-xl);
    cursor: pointer;
    transition: background var(--transition-base);
    gap: var(--space-md);
}

.faq-question:hover {
    background: rgba(193, 164, 97, 0.03);
}

.faq-question h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--fs-body);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0;
    flex: 1;
}

.faq-toggle {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.2rem;
    transition: transform var(--transition-base);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding: 0 var(--space-xl) var(--space-xl);
    color: var(--text-muted);
    font-size: var(--fs-small);
    line-height: 1.8;
}


/* ==========================================================================
   10. FORMS
   ========================================================================== */

.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-size: var(--fs-small);
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--light-gray);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-size: var(--fs-body);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(193, 164, 97, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%23c1a461'%3E%3Cpath d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-select option {
    background: var(--white);
    color: var(--text-primary);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    appearance: none;
    -webkit-appearance: none;
    background: var(--light-gray);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-base);
    margin-top: 3px;
    position: relative;
}

.form-checkbox input[type="checkbox"]:checked {
    background: var(--gold);
    border-color: var(--gold);
}

.form-checkbox input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid var(--navy);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-checkbox-label {
    font-size: var(--fs-small);
    color: var(--text-muted);
    line-height: 1.5;
}

.form-checkbox-label a {
    color: var(--gold);
    text-decoration: underline;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}


/* ==========================================================================
   11. VIDEO EMBED
   ========================================================================== */

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background: var(--navy-mid);
    border: 1px solid var(--border-color);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-container-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 13, 26, 0.5);
    cursor: pointer;
    z-index: 1;
    transition: background var(--transition-base);
}

.video-container-overlay:hover {
    background: rgba(5, 13, 26, 0.3);
}

.video-play-btn {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-gradient);
    border-radius: 50%;
    color: var(--navy);
    font-size: 1.6rem;
    box-shadow: var(--shadow-gold);
    transition: transform var(--transition-base);
}

.video-container-overlay:hover .video-play-btn {
    transform: scale(1.1);
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ==========================================================================
   12. TEAM CARDS
   ========================================================================== */

.team-card {
    text-align: center;
    padding: var(--space-2xl) var(--space-xl);
}

.team-card-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto var(--space-lg);
    border: 2px solid var(--border-color-strong);
}

.team-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card-name {
    font-family: 'Playfair Display', serif;
    font-size: var(--fs-h4);
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.team-card-role {
    font-size: var(--fs-small);
    color: var(--gold);
    font-weight: 500;
    margin-bottom: var(--space-md);
}

.team-card-desc {
    font-size: var(--fs-small);
    color: var(--text-muted);
    line-height: 1.7;
}


/* ==========================================================================
   13. FOOTER
   ========================================================================== */

.footer {
    background: var(--navy-deep);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: var(--space-3xl) 20px var(--space-xl);
    color: var(--text-on-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand p {
    font-size: var(--fs-small);
    color: rgba(255, 255, 255, 0.55);
    margin-top: var(--space-md);
    max-width: 300px;
    line-height: 1.8;
}

.footer-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--fs-small);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-on-dark);
    margin-bottom: var(--space-lg);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    font-size: var(--fs-small);
    color: rgba(255, 255, 255, 0.55);
    transition: color var(--transition-base);
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.55);
    font-size: 1rem;
    transition: all var(--transition-base);
}

.footer-social a:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(193, 164, 97, 0.15);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-copyright {
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.4);
}

.footer-disclaimer {
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.7;
    max-width: 600px;
    text-align: right;
}


/* ==========================================================================
   14. CTA BANNER
   ========================================================================== */

.cta-banner {
    position: relative;
    padding: var(--space-4xl) 20px;
    text-align: center;
    overflow: hidden;
}

.cta-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.cta-banner-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 22, 40, 0.9) 0%, rgba(5, 13, 26, 0.95) 100%);
}

.cta-banner-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-banner-content .section-title {
    color: var(--text-on-dark);
    margin-bottom: var(--space-md);
}

.cta-banner-content .section-tag {
    background: rgba(193, 164, 97, 0.15);
    border-color: rgba(193, 164, 97, 0.3);
}

.cta-banner-content p {
    font-size: var(--fs-body-lg);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-xl);
}


/* ==========================================================================
   15. ANIMATIONS
   ========================================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* IntersectionObserver compatible fade-in */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.fade-in-group > .fade-in:nth-child(1) { transition-delay: 0.05s; }
.fade-in-group > .fade-in:nth-child(2) { transition-delay: 0.15s; }
.fade-in-group > .fade-in:nth-child(3) { transition-delay: 0.25s; }
.fade-in-group > .fade-in:nth-child(4) { transition-delay: 0.35s; }
.fade-in-group > .fade-in:nth-child(5) { transition-delay: 0.45s; }
.fade-in-group > .fade-in:nth-child(6) { transition-delay: 0.55s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .fade-in {
        transition: none;
        opacity: 1;
        transform: none;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}


/* ==========================================================================
   16. RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* ----- 1200px and below ----- */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

/* ----- 980px and below — tablet / hamburger nav ----- */
@media (max-width: 980px) {
    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .hero-title {
        font-size: clamp(2rem, 4vw, 3rem);
    }

    .section-padding {
        padding: 80px 20px;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .process-steps::before {
        left: 24px;
    }

    .process-step-icon {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }
}

/* ----- 768px and below — small tablet ----- */
@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .grid-4 {
        grid-template-columns: 1fr;
    }

    .section-padding {
        padding: 64px 16px;
    }

    .hero {
        min-height: auto;
        padding: calc(var(--nav-height) + 40px) 16px 60px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-disclaimer {
        text-align: center;
        max-width: 100%;
    }

    .cta-banner {
        padding: var(--space-3xl) 16px;
    }

    .team-card-photo {
        width: 100px;
        height: 100px;
    }

    .direction-card-image {
        height: 180px;
    }
}

/* ----- 480px and below — mobile ----- */
@media (max-width: 480px) {
    body {
        font-size: 15px;
    }

    .section-padding {
        padding: 48px 14px;
    }

    .container {
        padding: 0 14px;
    }

    .hero-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .hero-subtitle {
        font-size: var(--fs-body);
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }

    .btn-large {
        padding: 16px 28px;
    }

    .section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .card {
        padding: var(--space-lg);
    }

    .faq-question {
        padding: var(--space-md) var(--space-lg);
    }

    .faq-answer-inner {
        padding: 0 var(--space-lg) var(--space-lg);
    }

    .nav-mobile-overlay a {
        font-size: 1.3rem;
    }

    .process-step {
        gap: var(--space-md);
    }

    .process-step-icon {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .process-steps::before {
        left: 19px;
    }
}


/* ==========================================================================
   17. UTILITY CLASSES
   ========================================================================== */

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }
.text-gold   { color: var(--gold); }
.text-white  { color: var(--text-on-dark); }
.text-muted  { color: var(--text-muted); }

.bg-navy      { background: var(--navy); color: var(--text-on-dark); }
.bg-navy-mid  { background: var(--navy-mid); color: var(--text-on-dark); }
.bg-navy-deep { background: var(--navy-deep); color: var(--text-on-dark); }

/* Dark section text overrides */
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4, .bg-navy h5, .bg-navy h6,
.bg-navy-mid h1, .bg-navy-mid h2, .bg-navy-mid h3, .bg-navy-mid h4, .bg-navy-mid h5, .bg-navy-mid h6,
.bg-navy-deep h1, .bg-navy-deep h2, .bg-navy-deep h3, .bg-navy-deep h4, .bg-navy-deep h5, .bg-navy-deep h6 {
    color: var(--text-on-dark);
}

.bg-navy p, .bg-navy-mid p, .bg-navy-deep p {
    color: rgba(255, 255, 255, 0.65);
}

.bg-navy .section-subtitle, .bg-navy-mid .section-subtitle, .bg-navy-deep .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.bg-navy .section-tag, .bg-navy-mid .section-tag, .bg-navy-deep .section-tag {
    background: rgba(193, 164, 97, 0.15);
    border-color: rgba(193, 164, 97, 0.3);
}

/* Margin bottom spacing */
.mb-0  { margin-bottom: 0; }
.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mb-3xl { margin-bottom: var(--space-3xl); }
.mb-4xl { margin-bottom: var(--space-4xl); }

/* Margin top spacing */
.mt-0  { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

/* Padding */
.p-md  { padding: var(--space-md); }
.p-lg  { padding: var(--space-lg); }
.p-xl  { padding: var(--space-xl); }

/* Display */
.hidden        { display: none !important; }
.block         { display: block; }
.inline-block  { display: inline-block; }

.hidden-mobile {
    display: block;
}

.hidden-desktop {
    display: none;
}

@media (max-width: 768px) {
    .hidden-mobile {
        display: none !important;
    }

    .hidden-desktop {
        display: block;
    }
}

/* Width */
.w-full { width: 100%; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Decorative gold line separator */
.gold-divider {
    width: 60px;
    height: 3px;
    background: var(--gold-gradient);
    border: none;
    border-radius: 2px;
}

.gold-divider-center {
    margin-left: auto;
    margin-right: auto;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

/* ----- Kontakt page ----- */
.kontakt-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    align-items: start;
}

@media (max-width: 980px) {
    .kontakt-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

::-webkit-scrollbar-thumb {
    background: rgba(10, 22, 40, 0.15);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* Selection styling */
::selection {
    background: rgba(193, 164, 97, 0.3);
    color: var(--text-primary);
}
