/*--------------------------------------------------------------
  TAYLOR FINANCE — Clean Modern Redesign
  White canvas · Dark green rhythm · Gold accents
--------------------------------------------------------------*/

:root {
    --green: #112b27;
    --green-light: #174039;
    --gold: #b69d4c;
    --gold-hover: #a08a3e;
    --white: #ffffff;
    --off-white: #f9fafb;
    --gray-50: #f3f4f6;
    --gray-100: #e5e7eb;
    --gray-200: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-900: #111827;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', sans-serif;

    --section-pad: clamp(72px, 9vw, 120px);
    --max-w: 1200px;
    --radius: 6px;
    --radius-lg: 10px;

    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --duration: 0.3s;

    --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.10);

    --z-header: 1000;
    --z-back-to-top: 998;
    --z-cookie: 997;

    --text-accent: var(--green);
    /* Page-surface background (cards, body, inputs). Kept separate from
       --white, which also means "literal white text/bg on a dark section"
       (hero, header, footer, CTA bands) and must never change with theme. */
    --surface: var(--white);
}

/* ============================================================
   DARK MODE
   Green, gold and literal "white-on-dark" elements (hero, header,
   footer, CTA bands) stay the same; only page-level light surfaces
   and neutral text switch to dark tones.
   ============================================================ */
:root[data-theme="dark"] {
    --surface: #15201d;
    --off-white: #0f1614;
    --gray-50: #1a2320;
    --gray-100: #26302c;
    --gray-200: #333e39;
    --gray-400: #7c8985;
    --gray-500: #9aa6a2;
    --gray-600: #b7c1bd;
    --gray-700: #d3dad7;
    --gray-900: #f3f5f4;
    --text-accent: #8fc9b3;

    --shadow-xs: 0 1px 2px rgba(0,0,0,0.3);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.35), 0 1px 2px rgba(0,0,0,0.25);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.5);
}

body {
    transition: background-color var(--duration) var(--ease), color var(--duration) var(--ease);
}

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-size: 16px;
    transition: background var(--duration) var(--ease), color var(--duration) var(--ease), transform var(--duration) var(--ease);
    flex-shrink: 0;
}

.theme-toggle:hover {
    background: var(--gold);
    color: var(--green);
    transform: translateY(-2px);
}

.theme-icon-light { display: none; }
:root[data-theme="dark"] .theme-icon-dark { display: none; }
:root[data-theme="dark"] .theme-icon-light { display: block; }

/* Mobile-only toggle, shown next to the hamburger instead of the lang switcher */
.mobile-theme-toggle {
    display: none;
    width: 36px;
    height: 36px;
    font-size: 14px;
    margin-left: auto;
    margin-right: 12px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-600);
    background: var(--surface);
}

::selection { background: var(--gold); color: var(--white); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.85rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.3rem); }

p { margin-bottom: 1rem; }

a { color: inherit; text-decoration: none; transition: color var(--duration) var(--ease); }

img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

.section { padding: var(--section-pad) 0; }
.section-bg { background: var(--off-white); }

/* Dark green band sections */
.section-dark {
    background: var(--green);
    color: rgba(255,255,255,0.8);
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.65); }
.section-dark .section-title::after { background: var(--gold); }

.section-header {
    text-align: center;
    margin-bottom: clamp(40px, 5vw, 64px);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 2px;
    background: var(--gold);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--gray-500);
    margin-top: 4px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: var(--radius);
    transition: all var(--duration) var(--ease);
    cursor: pointer;
}

.btn-primary {
    background: var(--gold);
    color: var(--white);
    border: 2px solid var(--gold);
}
.btn-primary:hover {
    background: var(--gold-hover);
    border-color: var(--gold-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-outline {
    background: transparent;
    color: var(--text-accent);
    border: 2px solid var(--text-accent);
}
.btn-outline:hover {
    background: var(--green);
    color: var(--white);
    transform: translateY(-1px);
}

/* White variant (on dark backgrounds) */
.btn-white {
    background: var(--white);
    color: var(--green);
    border: 2px solid var(--white);
}
.btn-white:hover {
    background: transparent;
    color: var(--white);
}

/* ============================================================
   HEADER
   ============================================================ */
#header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 80px;
    transition: all var(--duration) var(--ease);
    z-index: var(--z-header);
}

#header.header-transparent { background: transparent; }

#header.header-scrolled {
    background: var(--green);
    height: 68px;
    box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: height var(--duration) var(--ease);
}

#header.header-scrolled .navbar { height: 68px; }

.logo img {
    height: 42px;
    width: auto;
    transition: height var(--duration) var(--ease);
}

#header.header-scrolled .logo img { height: 36px; }

/* Nav links */
.nav-menu { display: flex; align-items: center; gap: 4px; }

.nav-menu > li > a {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius);
    transition: all var(--duration) var(--ease);
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--white);
    background: rgba(255,255,255,0.08);
}

/* No underline effects — clean pill style hover */
.nav-menu > li > a::after { display: none; }

/* Language switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 8px;
    padding-left: 16px;
    border-left: 1px solid rgba(255,255,255,0.12);
}

.lang-switcher a {
    color: rgba(255,255,255,0.4);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 7px;
    border-radius: 3px;
    transition: all var(--duration) var(--ease);
}

.lang-switcher a.active-lang {
    color: var(--white);
    background: rgba(255,255,255,0.12);
}

.lang-switcher a:hover { color: var(--white); }
.lang-switcher .lang-divider { color: rgba(255,255,255,0.15); font-size: 11px; pointer-events: none; }

.lang-switcher .theme-toggle {
    width: 28px;
    height: 28px;
    margin-left: 10px;
    font-size: 12px;
}

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

.dropdown > a {
    display: flex !important;
    align-items: center;
    gap: 5px;
}

.dropdown > a .dropdown-arrow {
    font-size: 10px;
    transition: transform var(--duration) var(--ease);
    display: inline-flex;
    align-items: center;
    padding: 2px;
}

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

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: -8px;
    min-width: 240px;
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all var(--duration) var(--ease);
}

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

.dropdown-menu a {
    display: block;
    padding: 9px 14px;
    color: var(--gray-600) !important;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius);
    transition: all 0.15s ease;
}

.dropdown-menu a:hover {
    background: var(--off-white);
    color: var(--gray-900) !important;
}

.dropdown-menu a.active {
    color: var(--gold) !important;
    font-weight: 600;
}

/* Hamburger */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    z-index: calc(var(--z-header) + 1);
}

.hamburger-line {
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 1px;
    transition: all var(--duration) var(--ease);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) { transform: rotate(45deg) translateY(10px); }
.mobile-menu-toggle.active .hamburger-line:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active .hamburger-line:nth-child(3) { transform: rotate(-45deg) translateY(-10px); }

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 640px;
    max-height: 960px;
    overflow: hidden;
    background: var(--green);
}

.hero-slider { position: relative; height: 100%; }

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease;
}

.hero-slide.active { opacity: 1; visibility: visible; }

.hero-background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-background::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(17, 43, 39, 0.85) 0%,
        rgba(17, 43, 39, 0.6) 100%
    );
}

.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-top: 80px;
    z-index: 1;
    max-width: 640px;
}

.hero-title {
    color: var(--white);
    font-size: clamp(2.8rem, 6vw, 4.2rem);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-subtitle {
    color: rgba(255,255,255,0.65);
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    margin-bottom: 36px;
    max-width: 480px;
    line-height: 1.7;
}

/* Animations */
.animate-fade-in { animation: fadeUp 0.7s var(--ease) forwards; }
.animate-fade-in-delay { animation: fadeUp 0.7s var(--ease) 0.15s forwards; opacity: 0; }
.animate-fade-in-delay-2 { animation: fadeUp 0.7s var(--ease) 0.3s forwards; opacity: 0; }

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

/* Hero nav arrows */
.hero-navigation button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 50%;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration) var(--ease);
    z-index: 2;
    border: 1px solid rgba(255,255,255,0.15);
}

.hero-navigation button:hover {
    background: var(--white);
    color: var(--green);
    border-color: var(--white);
}

.hero-nav-prev { left: 24px; }
.hero-nav-next { right: 24px; }

/* Indicators — minimal bars */
.hero-indicators {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}

.hero-indicators .indicator {
    width: 24px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255,255,255,0.25);
    transition: all var(--duration) var(--ease);
}

.hero-indicators .indicator.active,
.hero-indicators .indicator:hover {
    background: var(--white);
    width: 40px;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.about-text h3 {
    margin-bottom: 20px;
    color: var(--text-accent);
}

.about-text p { font-size: 0.95rem; }

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 28px 0;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-700);
    font-size: 0.9rem;
    font-weight: 500;
}

.about-features i { color: var(--gold); font-size: 14px; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.service-card {
    background: var(--surface);
    padding: 36px 28px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    transition: all var(--duration) var(--ease);
    text-align: left;
    position: relative;
}

.service-card:hover {
    border-color: var(--gray-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green);
    border-radius: var(--radius);
    color: var(--white);
    font-size: 20px;
    margin-bottom: 20px;
}

.service-card h3 { margin-bottom: 10px; font-size: 1.2rem; }

.service-card p {
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.65;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.02em;
    transition: all var(--duration) var(--ease);
}

.service-link:hover { gap: 10px; color: var(--gold-hover); }

/* Dark section variant for services */
.section-dark .service-card {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.08);
}
.section-dark .service-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.section-dark .service-card h3 { color: var(--white); }
.section-dark .service-card p { color: rgba(255,255,255,0.55); }
.section-dark .service-icon { background: var(--gold); }
.section-dark .service-link { color: var(--gold); }

/* ============================================================
   TEAM
   ============================================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.team-member {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-100);
    transition: all var(--duration) var(--ease);
}

.team-member:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.team-image { position: relative; overflow: hidden; }

.team-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.team-member:hover .team-image img { transform: scale(1.04); }

.team-social {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: linear-gradient(to top, rgba(17,43,39,0.8), transparent);
    transform: translateY(100%);
    transition: transform var(--duration) var(--ease);
}

.team-member:hover .team-social { transform: translateY(0); }

.team-social a {
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border-radius: 50%;
    font-size: 14px;
    backdrop-filter: blur(6px);
    transition: all var(--duration) var(--ease);
}

.team-social a:hover { background: var(--gold); }

.team-info { padding: 20px; text-align: center; }
.team-info h3 { margin-bottom: 4px; font-size: 1.1rem; }
.team-info span { color: var(--gray-500); font-size: 0.85rem; font-weight: 500; }

/* ============================================================
   PARTNERS
   ============================================================ */
.partners-swiper { padding: 16px 0; }

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    height: 90px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    transition: all var(--duration) var(--ease);
}

.partner-logo:hover { border-color: var(--gray-200); box-shadow: var(--shadow-xs); }

.partner-logo img {
    max-height: 44px;
    width: auto;
    transition: transform var(--duration) var(--ease);
}

.partner-logo:hover img { transform: scale(1.1); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: clamp(40px, 5vw, 72px);
}

.contact-info { display: flex; flex-direction: column; gap: 24px; }

.contact-item { display: flex; gap: 16px; align-items: flex-start; }

.contact-icon {
    width: 44px; height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green);
    color: var(--white);
    border-radius: var(--radius);
    font-size: 16px;
    flex-shrink: 0;
}

.contact-item h3 { margin-bottom: 2px; font-size: 0.9rem; color: var(--gray-900); }
.contact-item p, .contact-item a { color: var(--gray-500); font-size: 0.9rem; }
.contact-item a:hover { color: var(--gold); }

.social-links { display: flex; gap: 8px; margin-top: 8px; }

.social-links a {
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--gray-200);
    color: var(--gray-600);
    font-size: 15px;
    transition: all var(--duration) var(--ease);
}

.social-links a:hover {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
}

/* Form */
.contact-form {
    background: var(--off-white);
    padding: 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--surface);
    color: var(--gray-900);
    transition: border-color var(--duration) var(--ease);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.form-group textarea { resize: vertical; min-height: 110px; }
.form-group.error input, .form-group.error textarea { border-color: #dc2626; }
.error-message { display: block; color: #dc2626; font-size: 0.8rem; margin-top: 4px; min-height: 16px; }

.form-status { margin-bottom: 16px; padding: 12px 14px; border-radius: var(--radius); font-size: 0.9rem; display: none; }
.form-status.success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; display: block; }
.form-status.error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; display: block; }

.contact-form .btn { width: 100%; }

.btn-text { display: inline-block; transition: opacity var(--duration) var(--ease); }
.btn-loader { display: none; width: 18px; height: 18px; border: 2px solid var(--white); border-top-color: transparent; border-radius: 50%; animation: spin 0.8s linear infinite; }
.contact-form .btn.loading .btn-text { opacity: 0; }
.contact-form .btn.loading .btn-loader { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   FOOTER
   ============================================================ */
#footer { background: var(--green); color: var(--white); }

.footer-top { padding: 56px 0 28px; }

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }

.footer-brand h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 14px; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.9rem; margin-bottom: 20px; }

.footer-contact p { color: rgba(255,255,255,0.5); margin-bottom: 6px; font-size: 0.9rem; }
.footer-contact a { color: rgba(255,255,255,0.75); }
.footer-contact a:hover { color: var(--gold); }

.footer-social { display: flex; gap: 6px; margin-top: 16px; }

.footer-social a {
    width: 34px; height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    transition: all var(--duration) var(--ease);
}

.footer-social a:hover { background: var(--gold); color: var(--white); }

.footer-col h4 {
    color: rgba(255,255,255,0.9);
    font-size: 0.8rem;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.45); font-size: 0.9rem; transition: color var(--duration) var(--ease); }
.footer-links a:hover { color: var(--gold); }

.footer-bottom { padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.06); }
.copyright { text-align: center; font-size: 0.8rem; }
.copyright p { color: rgba(255,255,255,0.3); margin-bottom: 3px; }
.copyright a { color: rgba(255,255,255,0.5); }
.copyright a:hover { color: var(--gold); }

/* ============================================================
   BACK TO TOP · COOKIE
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 20px; right: 20px;
    width: 40px; height: 40px;
    background: var(--green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    opacity: 0; visibility: hidden;
    transform: translateY(10px);
    transition: all var(--duration) var(--ease);
    z-index: var(--z-back-to-top);
    box-shadow: var(--shadow-sm);
}

.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--gold); }

.cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--surface);
    box-shadow: 0 -2px 16px rgba(0,0,0,0.08);
    padding: 16px 20px;
    transform: translateY(100%);
    transition: transform 0.4s var(--ease);
    z-index: var(--z-cookie);
}

.cookie-banner.visible { transform: translateY(0); }

.cookie-content {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content p { margin: 0; font-size: 0.9rem; color: var(--gray-600); }
.cookie-content a { color: var(--text-accent); text-decoration: underline; }

.cookie-accept {
    padding: 9px 20px;
    background: var(--gold);
    color: var(--white);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    transition: background var(--duration) var(--ease);
}

.cookie-accept:hover { background: var(--gold-hover); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s var(--ease);
}

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

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

.fade-in-up { animation: fadeInUp 0.5s var(--ease) forwards; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        inset: 0;
        flex-direction: column;
        background: var(--green);
        padding: 96px 28px 40px;
        gap: 0;
        opacity: 0;
        visibility: hidden;
        transition: all var(--duration) var(--ease);
        overflow-y: auto;
    }

    .nav-menu.active { opacity: 1; visibility: visible; }

    .nav-menu > li { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.06); }

    .nav-menu > li > a {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding: 16px 0 !important;
        font-size: 16px;
        width: 100%;
        background: none !important;
        border-radius: 0 !important;
    }

    .lang-switcher { border-left: none; padding-left: 0; margin-left: 0; padding-top: 12px; }

    .dropdown > a .dropdown-arrow {
        padding: 10px 14px;
        border-radius: var(--radius);
        -webkit-tap-highlight-color: transparent;
    }

    .dropdown > a .dropdown-arrow:active { background: rgba(255,255,255,0.08); }

    .dropdown-menu {
        position: static !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        background: rgba(255,255,255,0.03) !important;
        border: none !important;
        border-radius: var(--radius) !important;
        min-width: auto !important;
        width: 100% !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        padding: 0;
    }

    .dropdown.active .dropdown-menu { max-height: 500px; padding: 4px 0; }

    .dropdown-menu a {
        color: rgba(255,255,255,0.6) !important;
        padding: 11px 0 11px 20px !important;
        background: transparent !important;
        font-size: 14px !important;
        border-radius: 0 !important;
    }

    .dropdown-menu a:hover,
    .dropdown-menu a.active { color: var(--gold) !important; }

    .mobile-menu-toggle { display: flex; }
    .mobile-theme-toggle { display: flex; }
    .lang-switcher .theme-toggle { display: none; }
    .dropdown.active > a .dropdown-arrow { transform: rotate(180deg); }

    .about-content { grid-template-columns: 1fr; gap: 40px; }
    .contact-content { grid-template-columns: 1fr; gap: 36px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .form-row { grid-template-columns: 1fr; }
    .hero-nav-prev { left: 12px; }
    .hero-nav-next { right: 12px; }
}

@media (max-width: 576px) {
    .services-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: 1fr; }
    .hero-content { align-items: center; text-align: center; max-width: 100%; }
    .hero-subtitle { max-width: 100%; }
    .cookie-content { flex-direction: column; text-align: center; }
    .contact-form { padding: 24px 18px; }
    .hero-navigation button { width: 38px; height: 38px; font-size: 13px; }
}

/* ============================================================
   SERVICE PAGES
   ============================================================ */
.breadcrumbs-section {
    padding: 44px 0 32px;
    background: var(--green);
    margin-top: 80px;
}

#header.header-scrolled + main .breadcrumbs-section,
body.page-service .breadcrumbs-section { margin-top: 68px; }

.breadcrumb-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; font-size: 0.85rem; }
.breadcrumb-list li { display: flex; align-items: center; color: rgba(255,255,255,0.4); }
.breadcrumb-list li:not(:last-child)::after { content: '/'; margin-left: 8px; color: rgba(255,255,255,0.2); }
.breadcrumb-list a { color: rgba(255,255,255,0.6); }
.breadcrumb-list a:hover { color: var(--gold); }
.breadcrumbs-section .page-title { color: var(--white); margin: 0; }

.service-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    margin-bottom: 56px;
}

.service-hero-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.service-hero-image img { width: 100%; height: 380px; object-fit: cover; }

.service-hero-content { display: flex; flex-direction: column; gap: 16px; }

.service-hero-content .service-icon {
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    background: var(--green);
    border-radius: var(--radius);
    color: var(--white);
    font-size: 24px;
}

.service-hero-content h2 { margin: 0; }
.service-hero-content .lead { font-size: 1rem; font-weight: 500; color: var(--gray-700); margin-bottom: 0; }

@media (max-width: 992px) {
    .service-hero { grid-template-columns: 1fr; gap: 32px; }
    .service-hero-image img { height: 260px; }
}

.service-content { display: flex; flex-direction: column; gap: 16px; margin-bottom: 56px; }

.service-feature {
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    border-left: 3px solid var(--gold);
    transition: all var(--duration) var(--ease);
}

.service-feature:hover { box-shadow: var(--shadow-sm); transform: translateX(3px); }

.service-feature h3 {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 10px; font-size: 1.1rem;
}

.service-feature h3 i { color: var(--gold); font-size: 1.1rem; }

.service-cta {
    background: var(--green);
    color: var(--white);
    padding: 44px;
    border-radius: var(--radius-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 36px;
    margin-bottom: 56px;
}

.cta-content h3 { color: var(--white); margin-bottom: 6px; }
.cta-content p { color: rgba(255,255,255,0.6); margin: 0; }

.cta-actions { display: flex; gap: 10px; flex-shrink: 0; }

.cta-actions .btn-outline {
    background: transparent;
    border-color: rgba(255,255,255,0.25);
    color: var(--white);
}
.cta-actions .btn-outline:hover {
    background: var(--white);
    color: var(--green);
    border-color: var(--white);
}

.related-services { margin-top: 56px; }
.related-services h3 { text-align: center; margin-bottom: 32px; }
.related-services .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }

@media (max-width: 992px) {
    .service-cta { flex-direction: column; text-align: center; padding: 36px 28px; }
    .cta-actions { width: 100%; justify-content: center; }
}

@media (max-width: 576px) {
    .service-cta { padding: 28px 18px; }
    .cta-actions { flex-direction: column; width: 100%; }
    .cta-actions .btn { width: 100%; }
    .related-services .services-grid { grid-template-columns: 1fr; }
}

.service-card-link {
    display: block;
    padding: 28px 20px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    text-align: center;
    transition: all var(--duration) var(--ease);
    color: inherit;
}

.service-card-link:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); color: inherit; }

.service-card-link .service-icon { width: 48px; height: 48px; margin: 0 auto 14px; font-size: 20px; }
.service-card-link h4 { margin-bottom: 6px; font-size: 1.05rem; }
.service-card-link p { margin: 0; font-size: 0.85rem; color: var(--gray-500); }

body.page-service #header { background: var(--green); }
body.page-service .dropdown.active > a { color: var(--gold); }

/* ============================================================
   LEGAL / PRIVACY POLICY
   ============================================================ */
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content .updated-note { color: var(--gray-500); font-size: 0.9rem; margin-bottom: 40px; }
.legal-content h2 { margin-top: 44px; margin-bottom: 14px; font-size: clamp(1.35rem, 3vw, 1.6rem); }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 { margin-top: 28px; margin-bottom: 10px; font-size: 1.1rem; color: var(--text-accent); }
.legal-content p { color: var(--gray-600); }
.legal-content ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; color: var(--gray-600); }
.legal-content li { margin-bottom: 8px; }
.legal-content a { color: var(--text-accent); text-decoration: underline; }
.legal-content strong { color: var(--gray-900); }

/* ============================================================
   404
   ============================================================ */
.error-section {
    min-height: 60vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 80px 24px;
}

.error-content { max-width: 480px; }

.error-icon {
    width: 72px; height: 72px;
    margin: 0 auto 28px;
    display: flex; align-items: center; justify-content: center;
    background: var(--green);
    border-radius: 50%;
    color: var(--white);
    font-size: 30px;
}

.error-code {
    font-size: 5rem; font-weight: 700; color: var(--text-accent);
    line-height: 1; margin-bottom: 16px;
    font-family: var(--font-display); letter-spacing: -0.02em;
}

@media (max-width: 576px) {
    .error-code { font-size: 4rem; }
}

.error-content h2 { margin-bottom: 12px; }
.error-content p { font-size: 1rem; margin-bottom: 28px; }
.error-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
