/* ============================================
   CAMELIA'S PFLEGEVERMITTLUNG — Redesign 2026
   Botanical Luxury Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

/* --- Custom Properties --- */
:root {
    --sage:            #2B4C3F;
    --sage-light:      #3A6553;
    --sage-pale:       rgba(43,76,63,0.06);
    --sage-mist:       rgba(43,76,63,0.03);
    --forest:          #1A3329;
    --gold:            #B8914A;
    --gold-light:      #CDAA6B;
    --gold-pale:       rgba(184,145,74,0.08);
    --linen:           #F7F3ED;
    --linen-dark:      #EDE7DD;
    --parchment:       #FAF8F4;
    --rose:            #E8D5C4;
    --rose-light:      #F2E8DE;
    --rose-deep:       #D4B8A0;
    --white:           #FFFFFF;
    --ink:             #1C1917;
    --ink-light:       #44403C;
    --ink-muted:       #78716C;
    --ink-faint:       #A8A29E;
    --border:          rgba(43,76,63,0.08);

    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body:    'DM Sans', -apple-system, 'Segoe UI', sans-serif;

    --section-py:        120px;
    --section-py-mobile: 72px;
    --container-max:     1180px;
    --container-px:      28px;

    --radius-xs:    6px;
    --radius-sm:    10px;
    --radius-md:    16px;
    --radius-lg:    24px;
    --radius-xl:    32px;
    --radius-2xl:   40px;
    --radius-full:  100px;
    --radius-round: 50%;

    --shadow-sm:  0 1px 3px rgba(28,25,23,0.04), 0 1px 2px rgba(28,25,23,0.03);
    --shadow-md:  0 4px 16px rgba(28,25,23,0.05), 0 1px 4px rgba(28,25,23,0.03);
    --shadow-lg:  0 12px 40px rgba(28,25,23,0.07), 0 4px 12px rgba(28,25,23,0.03);
    --shadow-xl:  0 24px 64px rgba(28,25,23,0.09), 0 8px 20px rgba(28,25,23,0.04);
    --shadow-glow: 0 8px 32px rgba(43,76,63,0.18);

    --ease:       cubic-bezier(0.22, 1, 0.36, 1);
    --ease-back:  cubic-bezier(0.34, 1.56, 0.64, 1);
    --t-fast:     0.2s var(--ease);
    --t-base:     0.4s var(--ease);
    --t-slow:     0.7s var(--ease);
    --t-crawl:    1.0s var(--ease);
}


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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background-color: var(--parchment);
    overflow-x: hidden;
}

img { max-width:100%; height:auto; display:block; }
a { text-decoration:none; color:inherit; transition: color var(--t-fast); }
ul, ol { list-style:none; }

h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    color: var(--ink);
}


/* --- Typography --- */
.t-display {
    font-size: clamp(2.8rem, 5.5vw, 4.6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.08;
}

.t-h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.1;
}

.t-h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.t-h3 {
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    font-weight: 600;
}

.t-h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

.t-body-lg {
    font-size: 1.12rem;
    line-height: 1.8;
    color: var(--ink-light);
}

.t-body {
    font-size: 0.96rem;
    line-height: 1.75;
    color: var(--ink-light);
}

.t-small {
    font-size: 0.86rem;
    line-height: 1.65;
    color: var(--ink-muted);
}

.t-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold);
    display: inline-block;
}

.t-accent {
    color: var(--sage);
    font-style: italic;
    font-family: var(--font-display);
}

.t-gradient {
    background: linear-gradient(135deg, var(--sage) 0%, var(--sage-light) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Decorative line after labels */
.t-label::after {
    content: '';
    display: block;
    width: 32px;
    height: 1.5px;
    background: var(--gold);
    margin-top: 10px;
    border-radius: 2px;
}

.t-label-center::after { margin-left: auto; margin-right: auto; }


/* --- Layout --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--container-px);
    padding-right: var(--container-px);
}

.section { padding: var(--section-py) 0; }
@media (max-width: 768px) { .section { padding: var(--section-py-mobile) 0; } }

.grid {
    display: grid;
    gap: 32px;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.text-center { text-align:center; }
.text-left   { text-align:left; }

.max-w-narrow { max-width:620px; }
.max-w-medium { max-width:800px; }
.mx-auto { margin-left:auto; margin-right:auto; }

.mb-xs  { margin-bottom:8px; }
.mb-sm  { margin-bottom:16px; }
.mb-md  { margin-bottom:28px; }
.mb-lg  { margin-bottom:44px; }
.mb-xl  { margin-bottom:64px; }
.mt-xs  { margin-top:8px; }
.mt-sm  { margin-top:16px; }
.mt-md  { margin-top:28px; }
.mt-lg  { margin-top:44px; }
.mt-xl  { margin-top:64px; }


/* --- Section Backgrounds --- */
.bg-parchment { background: var(--parchment); }
.bg-linen     { background: var(--linen); }
.bg-white     { background: var(--white); }
.bg-rose      { background: var(--rose-light); }
.bg-sage      { background: var(--sage); color: var(--white); }

.bg-gradient-hero {
    background: linear-gradient(175deg, var(--rose-light) 0%, var(--linen) 40%, var(--parchment) 100%);
}

.bg-gradient-cta {
    background: linear-gradient(135deg, var(--sage) 0%, var(--forest) 60%, var(--sage) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.bg-gradient-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(184,145,74,0.12) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.04) 0%, transparent 50%);
    pointer-events: none;
}

/* Grain Texture Overlay */
.grain::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 200px;
    pointer-events: none;
    z-index: 1;
}


/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 34px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    border: none;
    cursor: pointer;
    transition: all var(--t-base);
    text-decoration: none;
    line-height: 1.2;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--t-fast);
}

.btn:hover::before { opacity: 1; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn-sage {
    background: var(--sage);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(43,76,63,0.2);
}
.btn-sage:hover {
    background: var(--sage-light);
    box-shadow: 0 8px 28px rgba(43,76,63,0.28);
}

/* Alias for compatibility */
.btn-family { 
    background: var(--sage);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(43,76,63,0.2);
}
.btn-family:hover {
    background: var(--sage-light);
    box-shadow: 0 8px 28px rgba(43,76,63,0.28);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--white);
    box-shadow: 0 4px 16px rgba(184,145,74,0.25);
}
.btn-gold:hover {
    box-shadow: 0 8px 32px rgba(184,145,74,0.35);
}

.btn-outline {
    background: transparent;
    color: var(--sage);
    border: 2px solid var(--sage);
    padding: 13px 32px;
}
.btn-outline:hover {
    background: var(--sage);
    color: var(--white);
}

.btn-outline-family {
    background: transparent;
    color: var(--sage);
    border: 2px solid var(--sage);
    padding: 13px 32px;
}
.btn-outline-family:hover {
    background: var(--sage);
    color: var(--white);
}

.btn-ghost {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.3);
}

.btn-sm { padding:11px 24px; font-size:0.85rem; }
.btn-block { width:100%; justify-content:center; }

.btn svg { width:16px; height:16px; flex-shrink:0; }


/* --- Cards --- */
.card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
    transition: all var(--t-base);
    border: 1px solid var(--border);
    position: relative;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(43,76,63,0.12);
}

/* Static card — no hover lift (for forms, etc.) */
.card-static:hover {
    transform: none;
    box-shadow: var(--shadow-md);
    border-color: var(--border);
}

.card-green-top {
    border-top: none;
    position: relative;
}

.card-green-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 32px;
    right: 32px;
    height: 3px;
    background: linear-gradient(90deg, var(--sage), var(--gold));
    border-radius: 0 0 3px 3px;
}

/* Glass Card for dark backgrounds */
.glass-card {
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius-xl);
    padding: 36px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.08);
    transition: all var(--t-base);
}

.glass-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.14);
}


/* --- Icon Circles --- */
.icon-circle {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform var(--t-base);
}

.card:hover .icon-circle { transform: scale(1.05) rotate(-3deg); }

.icon-circle-rose  { background: var(--rose-light); }
.icon-circle-gold  { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--white); }
.icon-circle-sage  { background: var(--sage); color: var(--white); }

.icon-circle svg { width:24px; height:24px; display:block; flex-shrink:0; }

.icon-circle-sm { width:40px; height:40px; border-radius:var(--radius-xs); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.icon-circle-sm svg { width:20px; height:20px; display:block; flex-shrink:0; }

.icon-circle-lg { width:72px; height:72px; border-radius:var(--radius-round); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.icon-circle-lg svg { width:32px; height:32px; }


/* --- Step Number --- */
.step-number {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-round);
    background: linear-gradient(135deg, var(--sage), var(--sage-light));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(43,76,63,0.2);
    transition: all var(--t-base);
}

.card:hover .step-number {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(43,76,63,0.28);
}


/* --- Timeline --- */
.timeline-step {
    display: flex;
    gap: 32px;
    margin-bottom: 52px;
    position: relative;
}

.timeline-track {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    border-radius: var(--radius-round);
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border: 3px solid var(--white);
    box-shadow: 0 2px 12px rgba(184,145,74,0.3);
    flex-shrink: 0;
    z-index: 2;
}

.timeline-line {
    width: 2px;
    flex: 1;
    min-height: 60px;
    background: linear-gradient(to bottom, var(--gold-light), var(--linen-dark));
}


/* --- Badge --- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--sage);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-round);
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    box-shadow: 0 0 8px rgba(184,145,74,0.4);
    animation: pulse-dot 2.5s ease infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 8px rgba(184,145,74,0.4); }
    50% { box-shadow: 0 0 16px rgba(184,145,74,0.7); }
}


/* --- Check List --- */
.check-list { display:flex; flex-direction:column; gap:16px; }

.check-item { display:flex; align-items:flex-start; gap:14px; }

.check-icon {
    min-width: 30px;
    height: 30px;
    border-radius: var(--radius-round);
    background: linear-gradient(135deg, var(--sage), var(--sage-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    flex-shrink: 0;
}

.check-icon svg {
    width: 14px;
    height: 14px;
    stroke: var(--white);
    stroke-width: 3;
    fill: none;
    display: block;
    flex-shrink: 0;
}


/* --- FAQ Accordion --- */
.faq-item { border-bottom: 1px solid var(--border); }

.faq-question {
    padding: 24px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.06rem;
    color: var(--ink);
    transition: color var(--t-fast);
    user-select: none;
    gap: 20px;
}

.faq-question:hover { color: var(--sage); }

.faq-icon {
    font-size: 1.5rem;
    color: var(--gold);
    transition: transform var(--t-base);
    line-height: 1;
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease), padding 0.5s var(--ease);
    color: var(--ink-light);
    line-height: 1.8;
    font-size: 0.96rem;
}

.faq-item.open .faq-answer { max-height: 600px; padding-bottom: 24px; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-item.open .faq-question { color: var(--sage); }


/* --- Forms --- */
.form-group { display:flex; flex-direction:column; gap:6px; }

.form-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--ink-light);
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    border: 1.5px solid var(--linen-dark);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--ink);
    background: var(--parchment);
    transition: all var(--t-fast);
    appearance: none;
    -webkit-appearance: none;
}

.form-input:focus {
    outline: none;
    border-color: var(--sage);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(43,76,63,0.06);
}

.form-input::placeholder { color: var(--ink-faint); }

select.form-input { appearance:auto; -webkit-appearance:auto; }

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

.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media (max-width:500px) { .form-row { grid-template-columns:1fr; } }

.form-checkbox { display:flex; align-items:flex-start; gap:10px; }
.form-checkbox input[type="checkbox"] { margin-top:4px; flex-shrink:0; accent-color:var(--sage); }
.form-checkbox label { font-size:0.82rem; color:var(--ink-light); line-height:1.55; }


/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: all var(--t-base);
    background: transparent;
}

.site-header.scrolled {
    background: rgba(247,243,237,0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(0,0,0,0.04);
}

.header-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 16px var(--container-px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: opacity var(--t-fast);
}

.logo:hover { opacity: 0.8; }

.logo img {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    position: relative;
    font-weight: 500;
    font-size: 0.88rem;
    color: var(--ink-light);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    transition: all var(--t-fast);
}

.nav-link:hover {
    color: var(--sage);
    background: var(--sage-pale);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: width var(--t-base);
}

.nav-link:hover::after { width: 20px; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger svg {
    width: 26px;
    height: 26px;
    stroke: var(--ink);
    stroke-width: 2;
    stroke-linecap: round;
    fill: none;
}


/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(247,243,237,0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 200;
    display: none;
    flex-direction: column;
    padding: 88px 36px 36px;
    overflow-y: auto;
}

.mobile-menu.open { display:flex; }

.mobile-menu a {
    font-size: 1.2rem;
    font-weight: 500;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    color: var(--ink);
    transition: color var(--t-fast);
}

.mobile-menu a:hover { color: var(--sage); }

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 28px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-close svg {
    width: 28px;
    height: 28px;
    stroke: var(--ink);
    stroke-width: 2;
    stroke-linecap: round;
    fill: none;
}


/* --- Hero --- */
.hero {
    padding-top: 150px;
    padding-bottom: 80px;
    position: relative;
}

.hero-home {
    padding-top: 160px;
    padding-bottom: 100px;
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

/* Decorative botanical elements */
.deco-botanical {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.deco-botanical-1 {
    top: 60px;
    right: -40px;
    width: 400px;
    height: 400px;
    border-radius: 60% 40% 50% 50% / 50% 40% 60% 50%;
    background: radial-gradient(ellipse, rgba(184,145,74,0.05) 0%, transparent 70%);
}

.deco-botanical-2 {
    bottom: 40px;
    left: -80px;
    width: 300px;
    height: 300px;
    border-radius: 40% 60% 50% 50% / 50% 50% 50% 50%;
    background: radial-gradient(ellipse, rgba(43,76,63,0.04) 0%, transparent 70%);
}

.deco-line {
    position: absolute;
    width: 1px;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--gold-light), transparent);
    opacity: 0.3;
}


/* --- Stats --- */
.stat-number {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--sage);
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.88rem;
    color: var(--ink-muted);
    font-weight: 500;
    margin-top: 8px;
}


/* --- Info Box --- */
.info-box {
    padding: 20px 24px;
    background: var(--white);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--gold);
    transition: all var(--t-fast);
}

.info-box-cream { background: var(--parchment); border-left-color: var(--sage); }


/* --- Floating Phone CTA --- */
.floating-phone {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-round);
    background: linear-gradient(135deg, var(--sage), var(--sage-light));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
    z-index: 90;
    transition: all var(--t-base);
}

.floating-phone::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: var(--radius-round);
    border: 2px solid rgba(43,76,63,0.15);
    animation: phone-ring 3s ease-in-out infinite;
}

@keyframes phone-ring {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.15); opacity: 0; }
}

.floating-phone:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 40px rgba(43,76,63,0.35);
}

.floating-phone svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* --- Trust Card Dark --- */
.trust-card-dark {
    background: linear-gradient(135deg, var(--sage), var(--forest));
    border-radius: var(--radius-xl);
    padding: 32px;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.06);
}

.trust-card-dark h4 { color: var(--gold-light); }


/* --- CTA Inline --- */
.cta-inline {
    text-align: center;
    padding: 40px;
    border-radius: var(--radius-xl);
}

.cta-inline-cream { background: var(--linen); }


/* --- Footer --- */
.site-footer {
    background: var(--ink);
    color: rgba(255,255,255,0.6);
    padding: 72px 0 36px;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
    opacity: 0.3;
}

.site-footer .logo img {
    height: 36px;
    background: rgba(255,255,255,0.92);
    border-radius: 8px;
    padding: 6px 10px;
    object-fit: contain;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 48px;
}

.footer-heading {
    font-family: var(--font-body);
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 18px;
}

.footer-links { display:flex; flex-direction:column; gap:10px; }

.footer-links a, .footer-links span {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    transition: color var(--t-fast);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 0.78rem;
}

.footer-legal { display:flex; gap:24px; }
.footer-legal a { color:rgba(255,255,255,0.35); transition:color var(--t-fast); }
.footer-legal a:hover { color:rgba(255,255,255,0.7); }


/* --- Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }


/* --- Page Load Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}

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

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

.animate-in {
    animation: fadeInUp 0.85s var(--ease) forwards;
    opacity: 0;
}

.animate-in-d1 { animation-delay: 0.1s; }
.animate-in-d2 { animation-delay: 0.2s; }
.animate-in-d3 { animation-delay: 0.3s; }
.animate-in-d4 { animation-delay: 0.42s; }
.animate-in-d5 { animation-delay: 0.55s; }


/* --- Feature Grid (homepage) --- */
.feature-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    border: 1px solid var(--border);
    transition: all var(--t-base);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sage), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-base);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::after { transform: scaleX(1); }


/* --- Rotation Visual --- */
.rotation-block { display:flex; gap:20px; align-items:flex-start; }

.rotation-letter {
    min-width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.rotation-arrow { display:flex; justify-content:center; padding:4px 0; }
.rotation-arrow svg { stroke:var(--gold); stroke-width:2.5; stroke-linecap:round; fill:none; }


/* --- Dropdown --- */
.dropdown { position:relative; }
.dropdown-trigger { display:flex; align-items:center; gap:4px; cursor:pointer; }
.dropdown-trigger svg { width:12px; height:12px; transition:transform var(--t-fast); }

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 10px;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transition: all var(--t-base);
    min-width: 230px;
    z-index: 110;
    border: 1px solid var(--border);
}

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

.dropdown-menu a {
    display: block;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--ink);
    transition: all var(--t-fast);
}

.dropdown-menu a:hover {
    background: var(--linen);
    color: var(--sage);
}


/* --- Testimonial Avatar --- */
.avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-round);
    background: var(--rose);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--sage);
    font-size: 0.95rem;
    flex-shrink: 0;
}


/* --- Stars --- */
.stars { display:flex; gap:3px; color:var(--gold); font-size:1.15rem; }


/* --- Responsive --- */
@media (max-width: 1024px) {
    .nav-desktop, .header-actions { display:none; }
    .hamburger { display:block; }
}

@media (max-width: 768px) {
    .hero { padding-top: 120px; padding-bottom: 56px; }
    .hero-home { min-height: auto; padding-top: 130px; padding-bottom: 72px; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .stat-number { font-size: 2.4rem; }
    .card { padding: 28px; }
}

@media (max-width: 480px) {
    :root { --container-px: 20px; }
    .card { padding: 24px; border-radius: var(--radius-lg); }
    .t-display { font-size: 2.3rem; }
}


/* --- Skip Link --- */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    background: var(--sage);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    z-index: 999;
    font-weight: 600;
    font-size: 0.9rem;
    transition: top 0.2s;
}

.skip-link:focus { top: 16px; }


/* --- Lazy images --- */
img[loading="lazy"] { opacity:0; transition:opacity 0.5s ease; }
img[loading="lazy"].loaded, img[loading="lazy"][complete] { opacity:1; }


/* --- Noscript fallback --- */
noscript + * .reveal { opacity:1; transform:none; }


/* --- Print --- */
@media print {
    .site-header, .mobile-menu, .floating-phone, .site-footer, .btn { display:none !important; }
    body { background:white; color:black; font-size:12pt; }
    main { padding:0; }
    a[href]::after { content:" (" attr(href) ")"; font-size:0.8em; color:#666; }
}


/* --- Lang Switcher --- */
.lang-switch { display:flex; align-items:center; gap:0; flex-shrink:0; margin-left:4px; }
.lang-switch a { padding:6px 10px; font-size:0.8rem; font-weight:600; color:var(--ink-muted); transition:all var(--t-fast); letter-spacing:0.04em; position:relative; }
.lang-switch a.active { color:var(--sage); }
.lang-switch a.active::after { content:''; position:absolute; bottom:2px; left:10px; right:10px; height:2px; background:var(--gold); border-radius:1px; }
.lang-switch a:not(.active):hover { color:var(--ink); }
.lang-switch-divider { width:1px; height:14px; background:var(--linen-dark); }

@media (max-width:1024px) { .lang-switch { margin-left:0; margin-right:8px; } }
