/* ==========================================================================
   VERMAIRE HOVENIERS - MAIN STYLESHEET
   Clean, minimal, green & white
   ========================================================================== */

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

:root {
    /* Colors */
    --green-900: #0d2818;
    --green-800: #14422a;
    --green-700: #1f5e3d;
    --green-600: #2d8a4e;
    --green-500: #3da866;
    --green-400: #6ec48a;
    --green-300: #9ed6b3;
    --green-200: #c8e6d0;
    --green-100: #e8f5ec;
    --green-50:  #f5faf6;

    --white: #ffffff;
    --off-white: #fafdfa;
    --gray-200: #e5e9e6;
    --gray-400: #99a39b;
    --gray-600: #5a6b5f;

    /* Warm accent — used sparingly for highlights, hover glow, stat suffixes */
    --earth:        #c48a4d;
    --earth-light:  #d8a872;
    --earth-soft:   rgba(196, 138, 77, 0.12);

    /* Semantic */
    --bg: var(--white);
    --bg-alt: var(--green-50);
    --bg-dark: var(--green-900);
    --text: var(--green-900);
    --text-muted: var(--gray-600);
    --accent: var(--green-600);
    --border: rgba(13, 40, 24, 0.1);

    /* Type */
    --font-display: 'Exo 2', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;

    --container: 1280px;
    --gutter: clamp(1.25rem, 5vw, 3rem);
    --section: clamp(2.5rem, 6vw, 5rem);

    /* Motion */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --t: 0.4s var(--ease);
}

html {
    scroll-behavior: smooth;
    color-scheme: light;
    background-color: #ffffff;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background-color: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; background: none; border: none; outline: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
}

em { font-style: normal; font-weight: 300; color: var(--accent); }

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

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

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: var(--space-sm) 0;
    transition: all var(--t);
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav.scrolled {
    box-shadow: 0 4px 20px rgba(13, 40, 24, 0.04);
}

.nav-container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

/* Brand logo image — used in nav, footer, admin */
.brand-img {
    display: block;
    height: auto;
    width: auto;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    transition: opacity var(--t);
}
.nav-logo:hover { opacity: 0.85; }
.nav-logo .brand-img { height: 36px; }

@media (max-width: 640px) {
    .nav-logo .brand-img { height: 30px; }
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.4rem;
    background: var(--accent);
    color: var(--white);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: background var(--t), transform var(--t);
}

.nav-cta:hover {
    background: var(--green-700);
    transform: translateY(-1px);
}

@media (max-width: 480px) {
    .nav-cta {
        padding: 0.6rem 1rem;
        font-size: 0.72rem;
    }
}

/* Hamburger */
.hamburger {
    width: 44px;
    height: 44px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: background var(--t);
    -webkit-tap-highlight-color: transparent;
}

.hamburger:hover { background: rgba(0, 0, 0, 0.05); }

.hamburger-line {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transform-origin: center;
    transition: transform 0.35s var(--ease), opacity 0.25s var(--ease), width 0.25s var(--ease);
}

.hamburger-line:nth-child(1) { width: 22px; }
.hamburger-line:nth-child(2) { width: 16px; }
.hamburger-line:nth-child(3) { width: 22px; }

.hamburger:hover .hamburger-line:nth-child(2) { width: 22px; }

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) {
    width: 22px;
    transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) {
    width: 22px;
    opacity: 0;
    transform: scaleX(0);
}
.hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) {
    width: 22px;
    transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   MENU DRAWER + BACKDROP
   ========================================================================== */

.menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 150;
    background: rgba(13, 40, 24, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease);
}

.menu-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.menu-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 460px;
    max-width: 100%;
    z-index: 200;
    background: #ffffff;
    box-shadow: -24px 0 64px rgba(13, 40, 24, 0);
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s var(--ease);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
    .menu-drawer { width: 100%; }
}

.menu-drawer.open {
    transform: translateX(0);
    box-shadow: -24px 0 64px rgba(13, 40, 24, 0.18);
}

.menu-drawer-inner {
    min-height: 100%;
    padding: 1.25rem 2rem 2.5rem;
    display: flex;
    flex-direction: column;
}

@media (max-width: 480px) {
    .menu-drawer-inner { padding: 1rem 1.5rem 2rem; }
}

.menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
}

.menu-label {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.menu-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text);
    transition: background var(--t), border-color var(--t), color var(--t);
}

.menu-close:hover {
    background: var(--green-50);
    border-color: var(--accent);
    color: var(--accent);
}

.menu-close svg { width: 18px; height: 18px; }

/* Menu nav links */
.menu-nav {
    display: flex;
    flex-direction: column;
    margin-bottom: 2.5rem;
}

.menu-link {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: 0.55rem 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.85rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: color var(--t), padding-left var(--t);
    opacity: 0;
    transform: translateX(24px);
}

.menu-drawer.open .menu-link {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color var(--t), padding-left var(--t);
}

.menu-drawer.open .menu-link:nth-child(1) { transition-delay: 0.12s; }
.menu-drawer.open .menu-link:nth-child(2) { transition-delay: 0.18s; }
.menu-drawer.open .menu-link:nth-child(3) { transition-delay: 0.24s; }
.menu-drawer.open .menu-link:nth-child(4) { transition-delay: 0.30s; }
.menu-drawer.open .menu-link:nth-child(5) { transition-delay: 0.36s; }
.menu-drawer.open .menu-link:nth-child(6) { transition-delay: 0.42s; }

.menu-link.active { color: var(--accent); }
.menu-link.active .menu-link-num { font-weight: 700; }

.menu-link:hover,
.menu-link:focus-visible {
    color: var(--accent);
    padding-left: 0.5rem;
}

.menu-link:last-child { border-bottom: none; }

.menu-link-num {
    flex-shrink: 0;
    width: 2rem;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--accent);
    transform: translateY(-0.25em);
}

.menu-link-text { font-size: inherit; }

@media (max-width: 480px) {
    .menu-link { font-size: 1.6rem; }
}

/* Contact block */
.menu-contact {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.menu-contact .menu-label {
    display: block;
    margin-bottom: 1rem;
}

.menu-contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.5rem 0;
    color: var(--text);
    text-decoration: none;
    transition: color var(--t);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.menu-contact-item:last-of-type { border-bottom: none; }

a.menu-contact-item:hover { color: var(--accent); }

.menu-contact-kind {
    font-family: var(--font-display);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.menu-contact-value {
    font-size: 0.98rem;
    font-weight: 500;
}

/* Action buttons */
.menu-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.menu-action {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    transition: all var(--t);
}

.menu-action svg { width: 18px; height: 18px; }

.menu-action:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.menu-tagline {
    margin-top: 1.5rem;
    text-align: center;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* Body lock when drawer is open */
/* iOS-safe body scroll lock — paired with JS that sets `top: -scrollY` */
body.menu-open {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    overflow: hidden;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 1.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 999px;
    transition: all var(--t);
    cursor: pointer;
    border: 1px solid transparent;
    font-family: var(--font-body);
}

.btn-icon {
    width: 16px;
    height: 16px;
    display: inline-flex;
    transition: transform var(--t);
}

.btn-icon svg { width: 100%; height: 100%; }
.btn:hover .btn-icon { transform: translateX(3px); }

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--green-700);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--text);
    border-color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--text);
}

.btn-outline:hover {
    background: var(--text);
    color: var(--white);
}

.btn-block { width: 100%; justify-content: center; }

/* ==========================================================================
   SECTION HEADER
   ========================================================================== */

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-md);
}

.label-line {
    display: inline-block;
    width: 24px;
    height: 1px;
    background: currentColor;
}

.section-header {
    max-width: 720px;
    margin-bottom: var(--space-2xl);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: var(--space-md);
    letter-spacing: -0.03em;
}

.section-description {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text-muted);
    max-width: 56ch;
}

/* ==========================================================================
   HERO
   ========================================================================== */

/* Full-bleed hero: photo background, gradient overlay, text content. */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    color: var(--white);
    padding: calc(var(--space-3xl) + 2rem) 0 var(--space-2xl);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../assets/hero.jpg');
    background-size: cover;
    background-position: center 35%;
    z-index: 0;
}

@media (max-width: 768px) {
    .hero-bg { background-position: center 25%; }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg,
        rgba(13, 40, 24, 0.45) 0%,
        rgba(13, 40, 24, 0.6) 55%,
        rgba(13, 40, 24, 0.88) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: var(--space-md);
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--green-300);
}

.hero-tagline-line {
    width: 32px;
    height: 1px;
    background: currentColor;
}

.hero-title {
    font-size: clamp(2.75rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: var(--space-md);
    letter-spacing: -0.035em;
    color: var(--white);
    max-width: 14ch;
}

.hero-title em {
    color: var(--green-300);
    font-style: normal;
    font-weight: 300;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.65;
    max-width: 48ch;
    margin-bottom: var(--space-xl);
    color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: var(--space-2xl);
}

.hero-stats {
    display: flex;
    gap: var(--space-2xl);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    max-width: 540px;
}

.hero-stat-number {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.35rem;
    color: var(--white);
}

.stat-suffix {
    color: var(--earth-light);
    margin-left: 2px;
}

.hero-stat-label {
    font-size: 0.74rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 640px) {
    .hero { min-height: 88vh; }
    .hero-stats { gap: var(--space-lg); }
    .hero-stat-number { font-size: 1.75rem; }
}

/* ==========================================================================
   SECTION DIVIDERS — subtle horizontal rule with a small centered accent
   ========================================================================== */

.services,
.process,
.home-projects,
.about,
.faq,
.contact {
    position: relative;
    border-top: 1px solid rgba(13, 40, 24, 0.08);
}

.services::before,
.process::before,
.home-projects::before,
.about::before,
.faq::before,
.contact::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 1px;
    background: var(--earth);
    z-index: 1;
}

/* ==========================================================================
   SERVICES
   ========================================================================== */

.services {
    padding: var(--section) 0;
    background: var(--bg-alt);
}

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

@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .services-grid { grid-template-columns: 1fr; }
}

.service-card {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: transform 0.35s var(--ease), border-color 0.25s var(--ease);
    position: relative;
    isolation: isolate;
    transform: translate3d(0, 0, 0);
}

/* Cheap GPU-composited shadow that fades in on hover (no paint cost) */
.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    /* dark green base shadow with a subtle warm earth glow */
    box-shadow:
        0 16px 40px rgba(13, 40, 24, 0.12),
        0 8px 24px rgba(196, 138, 77, 0.18);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
    z-index: -1;
    pointer-events: none;
}

.service-card:hover {
    transform: translate3d(0, -4px, 0);
    border-color: var(--accent);
}

.service-card:hover::after { opacity: 1; }

.service-card-number {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: var(--space-md);
}

.service-card-icon {
    width: 44px;
    height: 44px;
    color: var(--accent);
    margin-bottom: var(--space-md);
}

.service-card-icon svg { width: 100%; height: 100%; }

.service-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.service-card-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.service-card-features {
    list-style: none;
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
}

.service-card-features li {
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.85rem;
    line-height: 2;
    color: var(--text-muted);
}

.service-card-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 1px;
    background: var(--accent);
}

.service-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    width: 100%;
    border-top: 1px solid var(--border);
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    text-decoration: none;
    transition: gap var(--t), color var(--t);
}

.service-card-cta svg {
    width: 15px;
    height: 15px;
    transition: transform var(--t);
}

.service-card-cta:hover { gap: 0.7rem; color: var(--green-700); }
.service-card-cta:hover svg { transform: translateX(2px); }

.services-cta {
    margin-top: var(--space-2xl);
    text-align: center;
}

.services-cta p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

/* ==========================================================================
   PROCESS
   ========================================================================== */

.process {
    padding: var(--section) 0;
    background: var(--bg);
}

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

@media (max-width: 1024px) {
    .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .process-grid { grid-template-columns: 1fr; }
}

.process-step {
    padding-top: var(--space-md);
    border-top: 2px solid var(--earth);
}

.process-step-number {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--earth);
    margin-bottom: var(--space-md);
}

.process-step-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.process-step-text {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--text-muted);
}

/* ==========================================================================
   ABOUT
   ========================================================================== */

.about {
    padding: var(--section) 0;
    background: var(--bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
}

.about-images {
    position: relative;
    aspect-ratio: 4/5;
}

.about-image {
    position: absolute;
    overflow: hidden;
    border-radius: 12px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-main {
    top: 0; left: 0;
    width: 78%;
    height: 78%;
    z-index: 2;
}

.about-image-secondary {
    bottom: 0; right: 0;
    width: 55%;
    height: 50%;
    z-index: 1;
}

.about-badge {
    position: absolute;
    bottom: 18%;
    left: 70%;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 3;
}

/* Mobile: no overlapping composition, no badge — just one clean photo */
@media (max-width: 768px) {
    .about-images {
        position: relative;
        aspect-ratio: 4 / 3;
    }
    .about-image-main {
        position: relative;
        top: auto; left: auto;
        width: 100%;
        height: 100%;
    }
    .about-image-secondary,
    .about-badge {
        display: none;
    }
}

.about-text {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border);
}

@media (max-width: 480px) {
    .about-values { grid-template-columns: 1fr; }
}

.about-value {
    display: flex;
    gap: 0.75rem;
}

.about-value-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    color: var(--accent);
}

.about-value-icon svg { width: 100%; height: 100%; }

.about-value-text h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    letter-spacing: -0.01em;
}

.about-value-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq {
    padding: var(--section) 0;
    background: var(--bg);
}

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

@media (max-width: 1024px) {
    .faq-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
}

.faq-header .btn { margin-top: var(--space-md); }

.faq-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border);
}

.faq-item {
    border-bottom: 1px solid var(--border);
    cursor: pointer;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) 0;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    list-style: none;
    letter-spacing: -0.01em;
    transition: color var(--t);
}

.faq-question::-webkit-details-marker { display: none; }
.faq-item[open] .faq-question { color: var(--accent); }

.faq-icon {
    width: 20px;
    height: 20px;
    position: relative;
    flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: currentColor;
}

.faq-icon::before { width: 12px; height: 1.5px; }
.faq-icon::after { width: 1.5px; height: 12px; transition: transform var(--t); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq-answer {
    padding-bottom: var(--space-md);
    padding-right: var(--space-lg);
}

.faq-item[open] .faq-answer {
    animation: faqOpen 0.3s var(--ease);
}

@keyframes faqOpen {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.65;
    font-size: 0.95rem;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */

.contact {
    padding: var(--section) 0;
    background: var(--bg-alt);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: stretch;
}

@media (max-width: 1024px) {
    .contact-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
}

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

.contact-info .contact-methods {
    margin-top: auto; /* pushes the method blocks to align bottom with the form */
}

.contact-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: var(--space-md);
    letter-spacing: -0.03em;
}

.contact-description {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
    max-width: 48ch;
}

.contact-methods { display: grid; gap: 0; }

.contact-method {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    transition: padding-left var(--t);
}

.contact-method:last-child { border-bottom: none; }

a.contact-method:hover { padding-left: 0.5rem; }
a.contact-method:hover .contact-method-icon { color: var(--accent); }

/* Phone block: has nested link area + a separate WhatsApp action button. */
.contact-method-phone { padding: 0; gap: 0; }
.contact-method-phone .contact-method-link {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex: 1;
    padding: var(--space-md) 0;
    color: inherit;
    text-decoration: none;
    transition: padding-left var(--t);
}
.contact-method-phone .contact-method-link:hover { padding-left: 0.5rem; }
.contact-method-phone .contact-method-link:hover .contact-method-icon { color: var(--accent); }

.contact-method-wa {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: var(--space-sm);
    transition: transform var(--t), box-shadow var(--t);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    text-decoration: none;
}
.contact-method-wa:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.45);
}
.contact-method-wa svg { width: 20px; height: 20px; }

.contact-method-body { display: flex; flex-direction: column; gap: 2px; }

.contact-method-icon {
    width: 32px;
    height: 32px;
    color: var(--text);
    flex-shrink: 0;
    transition: color var(--t);
}

.contact-method-icon svg { width: 100%; height: 100%; }

.contact-method-label {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.contact-method-value {
    font-size: 1rem;
    font-weight: 500;
}

.contact-form-wrapper {
    background: var(--white);
    border: 1px solid var(--border);
    padding: var(--space-xl);
    border-radius: 12px;
}

.contact-form-title {
    font-size: 1.65rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.contact-form-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

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

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

.form-field {
    position: relative;
    margin-bottom: var(--space-md);
}

.form-field label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
    color: var(--text-muted);
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    padding: 0.7rem 0;
    font-size: 0.95rem;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    transition: border-color var(--t);
}

.form-field select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3e%3cpath d='M1 1L6 6L11 1' stroke='%230d2818' stroke-width='1.5'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0 center;
    background-size: 12px;
}

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

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-color: var(--accent); }

.form-line { display: none; }

.contact-form .btn { margin-top: var(--space-sm); }

.form-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: var(--space-md);
    line-height: 1.5;
}

.form-success {
    position: absolute;
    inset: 0;
    background: var(--white);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 12px;
    padding: var(--space-lg);
}

.form-success.active { display: flex; }

.form-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.form-success-icon svg { width: 28px; height: 28px; }

.form-success h4 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.form-success p { color: var(--text-muted); }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    background: var(--bg-dark);
    color: var(--white);
    padding: var(--section) 0 var(--space-md);
}

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

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand { max-width: 360px; }

.footer-logo {
    display: inline-flex;
    align-items: center;
    background: var(--white);
    padding: 0.7rem 1rem;
    border-radius: 10px;
    margin-bottom: var(--space-md);
}

.footer-logo .brand-img { height: 40px; display: block; }

.footer-tagline {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--green-300);
    margin-bottom: 0.75rem;
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.7);
}

.footer-heading {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--green-300);
    margin-bottom: var(--space-md);
}

.footer-links,
.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a,
.footer-contact a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--t);
}

.footer-links a:hover,
.footer-contact a:hover { color: var(--white); }

.footer-contact li {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-label {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.footer-contact span:not(.footer-label) {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-copy {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

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

.footer-legal a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--t);
}

.footer-legal a:hover { color: var(--white); }

.footer-back-top {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--t);
}

.footer-back-top:hover { color: var(--white); }

.footer-back-top svg {
    width: 14px;
    height: 14px;
    transition: transform var(--t);
}

.footer-back-top:hover svg { transform: translateY(-2px); }

/* ==========================================================================
   FLOATING ACTION BUTTON (WhatsApp + Instagram combined → expandable menu)
   ========================================================================== */

.fab {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
    width: 64px;
    height: 64px;
}

@media (max-width: 640px) {
    .fab { bottom: 1.25rem; right: 1.25rem; width: 60px; height: 60px; }
}

/* Main toggle button — always visible, animates from combined → close */
.fab-toggle {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(13, 40, 24, 0.25);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
    overflow: hidden;
    z-index: 2;
}

.fab-toggle:hover { transform: scale(1.06); box-shadow: 0 16px 36px rgba(13, 40, 24, 0.32); }

.fab-icon-combined,
.fab-icon-close {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
    display: flex;
}

.fab-icon-combined { overflow: hidden; }

.fab-half {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.fab-half-wa { background: #25D366; }
.fab-half-ig {
    background:
        linear-gradient(135deg, #feda77 0%, #f58529 28%, #dd2a7b 58%, #8134af 100%);
}

.fab-half svg { width: 20px; height: 20px; }

.fab-icon-close {
    background: var(--green-900);
    color: #ffffff;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

.fab-icon-close svg { width: 22px; height: 22px; }

.fab.open .fab-icon-combined {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}
.fab.open .fab-icon-close {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Sub-action buttons — fly up from behind the toggle */
.fab-action {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(13, 40, 24, 0.22);
    opacity: 0;
    transform: translateY(0) scale(0.6);
    pointer-events: none;
    transition:
        opacity 0.35s var(--ease),
        transform 0.45s cubic-bezier(0.34, 1.4, 0.5, 1);
    z-index: 1;
}

.fab-action svg { width: 24px; height: 24px; }

.fab-action-wa { background: #25D366; }
.fab-action-ig {
    background: linear-gradient(135deg, #feda77 0%, #f58529 28%, #dd2a7b 58%, #8134af 100%);
}

/* Open state — IG flies higher, WA closer to the toggle */
.fab.open .fab-action {
    opacity: 1;
    pointer-events: auto;
}
.fab.open .fab-action-wa {
    transform: translateY(-78px) scale(0.92);
    transition-delay: 0.05s;
}
.fab.open .fab-action-ig {
    transform: translateY(-146px) scale(0.92);
    transition-delay: 0.12s;
}

.fab.open .fab-action-wa:hover,
.fab.open .fab-action-ig:hover {
    transform: translateY(-78px) scale(1);
}
.fab.open .fab-action-ig:hover { transform: translateY(-146px) scale(1); }

/* ==========================================================================
   PROGRESS BAR
   ========================================================================== */

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: var(--accent);
    z-index: 99;
    width: 0;
    transition: width 0.1s linear;
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

/* ==========================================================================
   LOADING SCREEN
   ========================================================================== */

body.loading { overflow: hidden; }

.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s var(--ease), visibility 0s 0.6s;
    /* gentle ambient backdrop behind the logo */
    background-image:
        radial-gradient(circle at 50% 60%, rgba(45, 138, 78, 0.08), transparent 55%);
}

.loader.done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Stop the pulse during the fade-out so only the overlay opacity animates */
.loader.done .loader-logo {
    animation: none;
    opacity: 1;
    transform: scale(1);
}

.loader-logo {
    width: clamp(180px, 32vw, 320px);
    height: auto;
    display: block;
    transform-origin: center;
    backface-visibility: hidden;
    will-change: opacity, transform;
    /* !important so the loader pulse survives the global
       prefers-reduced-motion rule's animation-duration: 0.01ms !important */
    animation:
        loaderIn 0.35s cubic-bezier(0.4, 0, 0.2, 1) both,
        loaderPulse 1.4s 0.35s ease-in-out infinite !important;
    animation-duration: 0.35s, 1.4s !important;
    animation-iteration-count: 1, infinite !important;
}

@keyframes loaderIn {
    from { opacity: 0; transform: scale(0.94); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes loaderPulse {
    0%, 100% { opacity: 1;   transform: scale(1); }
    50%      { opacity: 0.55; transform: scale(0.92); }
}

/* ==========================================================================
   ANCHOR OFFSET — direct hash navigation lands below the fixed nav
   ========================================================================== */

section[id] { scroll-margin-top: 84px; }

/* ==========================================================================
   SKIP LINK (keyboard accessibility)
   ========================================================================== */

.skip-link {
    position: fixed;
    top: -100px;
    left: 1rem;
    z-index: 10000;
    background: var(--green-900);
    color: #ffffff;
    padding: 0.7rem 1.2rem;
    border-radius: 0 0 10px 10px;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-link:focus { top: 0; }

/* ==========================================================================
   MOBILE QUICK-ACTION BAR
   ========================================================================== */

.quickbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 60;
    display: none;
    gap: 0.5rem;
    padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.quickbar .btn {
    flex: 1;
    justify-content: center;
    padding: 0.85rem 1rem;
    font-size: 0.85rem;
    white-space: nowrap;
}

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

@media (max-width: 768px) {
    .quickbar { display: flex; }

    /* lift the FAB above the bar */
    .fab { bottom: calc(4.9rem + env(safe-area-inset-bottom, 0px)); }

    /* keep the footer's last content clear of the bar */
    .footer { padding-bottom: 5.5rem; }
}

/* drawer (z 200) covers the bar; no extra handling needed */

/* ==========================================================================
   FORM VALIDATION (inline errors)
   ========================================================================== */

.form-field.error input,
.form-field.error textarea,
.form-field.error select {
    border-color: #c0392b;
}

.field-error {
    color: #c0392b;
    font-size: 0.78rem;
    margin-top: 0.35rem;
    line-height: 1.4;
}

.form-alert {
    background: #fdecea;
    color: #c0392b;
    border: 1px solid #f5c6c0;
    border-radius: 9px;
    padding: 0.7rem 0.9rem;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}
