/* ==========================================================================
   TAX VILLAGE INDIA - MAIN STYLESHEET
   Section order:
    1. Root variables / design tokens
    2. Reset & global typography
    3. Container & shared layout utilities
    4. Header & top bar
    5. Desktop navigation & dropdowns
    6. Mobile navigation
    7. Hero section
    8. Common Challenges / service cards (+ 8c. Story/Stats, Reviews, Clients)
    9. Services section (+ inner page heads, service pages, About page)
   10. Contact page
   11. Contact form & consultation popup
   12. Call-back form section (above the footer)
   13. Footer columns & links
   14. Buttons & reusable interactions
   15. AOS / reveal support
   16. Accessibility & reduced motion
   Design rule: no outline borders on cards/fields - depth comes from soft shadows and tints.
   ========================================================================== */


/* ==================================================
   1. ROOT VARIABLES / DESIGN TOKENS
   Change a colour or size here and it updates site-wide.
   ================================================== */
:root {
    /* Colours - taken from the Tax Village India logo (black + yellow) */
    --primary-color:   #141414;   /* logo black: headings, buttons, icon blocks */
    --primary-dark:    #0a0a0a;   /* deepest black: top bar, footer, overlays */
    --secondary-color: #3a3a3a;   /* charcoal: links, focus */
    --accent-color:    #febd01;   /* logo yellow: highlights and CTA */
    --accent-dark:     #d99a00;   /* deeper amber: hover, emphasis, text on light */
    --accent-text:     #b87d00;   /* amber that stays readable as text on white */
    --text-color:      #1f1f1f;   /* body text */
    --muted-color:     #5f6368;   /* secondary text */
    --background-color:#f6f6f3;   /* light section background */
    --surface-color:   #ffffff;   /* cards / header */
    --tint-color:      #f3f3ef;   /* soft fill for fields and inner cards (replaces borders) */
    --border-color:    #dddcd5;   /* only used where a divider is really needed */
    --whatsapp-color:  #25d366;
    --whatsapp-dark:   #128c7e;
    --danger-color:    #b3261e;
    --success-color:   #1b7a45;

    /* Typography */
    --heading-font: 'Poppins', 'Segoe UI', Roboto, Arial, sans-serif;
    --body-font:    'Poppins', 'Segoe UI', Roboto, Arial, sans-serif;

    /* Layout */
    --container-width: 1100px;
    --gutter:          20px;     /* side padding inside container */
    --section-spacing: 80px;     /* vertical rhythm between sections */
    --topbar-height:   36px;
    --navbar-height:   72px;

    /* Shape & effects */
    --card-radius:   16px;
    --button-radius: 10px;
    --shadow-card:   0 10px 30px rgba(20, 20, 20, .08);
    --shadow-hover:  0 18px 42px rgba(20, 20, 20, .16);
    --transition-speed: .35s;
}


/* ==================================================
   2. RESET & GLOBAL TYPOGRAPHY
   ================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--navbar-height) + 16px); overflow-x: clip; }

body {
    margin: 0;
    font-family: var(--body-font);
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--text-color);
    background: var(--surface-color);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }

img, iframe { max-width: 100%; display: block; }
a { color: var(--secondary-color); text-decoration: none; transition: color var(--transition-speed); }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3 { font-family: var(--heading-font); color: var(--primary-color); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
.text-accent { color: var(--accent-text); }

/* Custom line icons (SVG masks) - colour follows the text colour of the parent */
.ui-icon { display: inline-block; width: 1em; height: 1em; flex: none; background-color: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }


/* ==================================================
   3. CONTAINER & SHARED LAYOUT UTILITIES
   ================================================== */
.container { width: 100%; max-width: calc(var(--container-width) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.section-head { margin-bottom: 44px; }
.section-head--center { text-align: center; }
.section-title { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.section-sub { color: var(--muted-color); font-size: 1rem; margin: 0 auto; max-width: 640px; }
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }

/* small label above a section heading */
.eyebrow { display: inline-block; margin-bottom: 14px; padding: 5px 16px; border-radius: 30px; background: rgba(254, 189, 1, .28); color: #7a5600; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow--light { background: rgba(255, 255, 255, .14); color: var(--accent-color); }

.page-head { position: relative; background: var(--primary-dark) url('../images/hero-bg.jpg') center / cover no-repeat; color: #fff; padding: 56px 0 50px; text-align: center; }
.page-head::before { content: ""; position: absolute; inset: 0; background: rgba(10, 10, 10, .82); }
.page-head > .container { position: relative; }
.page-head h1 { color: #fff; font-size: clamp(1.55rem, 3.2vw, 2.15rem); margin-bottom: .35em; }
.page-head p { color: rgba(255, 255, 255, .85); max-width: 640px; margin: 0 auto; }
.page-head__crumb { font-size: .85rem; margin-bottom: 14px !important; }
.page-head__crumb a { color: var(--accent-color); }
.page-head__crumb i { font-size: .65rem; margin: 0 6px; }


/* ==================================================
   4. HEADER & TOP BAR
   ================================================== */
.topbar { background: var(--primary-dark); color: #fff; font-size: .8rem; min-height: var(--topbar-height); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--topbar-height); }
.topbar a { color: #fff; }
.topbar a:hover { color: var(--accent-color); }
.topbar__contact { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.topbar__contact i { margin-right: 8px; }
.topbar__social { display: flex; align-items: center; gap: 10px; }
.topbar__follow { margin-right: 4px; }
.social { width: 22px; height: 22px; border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; color: #fff; }
.social:hover { transform: translateY(-2px); color: #fff; }
.social--linkedin  { background: #0a66c2; }
.social--facebook  { background: transparent; font-size: 1rem; }
.social--instagram { background: linear-gradient(45deg, #f09433, #dc2743 55%, #bc1888); }
.social--whatsapp  { background: var(--whatsapp-color); }

/* top bar on small phones: keep phone + social icons, drop the long e-mail and label */
@media (max-width: 575.98px) {
    .topbar__follow, .topbar__contact a[href^="mailto:"] { display: none; }
}

.navbar { position: sticky; top: 0; z-index: 100; background: var(--surface-color); box-shadow: 0 4px 18px rgba(20, 20, 20, .08); }
.navbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--navbar-height); }
.navbar__brand { display: inline-flex; align-items: center; gap: 12px; }
.navbar__brand img { height: 50px; width: auto; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1; font-family: var(--heading-font); font-weight: 700; color: var(--primary-color); }
.brand-text__top { font-size: 1.2rem; letter-spacing: .02em; }
.brand-text__top b { color: var(--accent-dark); }
.brand-text__bottom { margin-top: 5px; font-size: .78rem; letter-spacing: .5em; }


/* ==================================================
   5. DESKTOP NAVIGATION & DROPDOWNS (>= 992px)
   ================================================== */
.navbar__menu { display: flex; align-items: center; gap: 28px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { position: relative; display: block; padding: 24px 0; font-size: .9rem; font-weight: 500; color: var(--primary-color); }
.nav__link::after { content: ""; position: absolute; left: 50%; bottom: 14px; width: 0; height: 3px; border-radius: 3px; background: var(--accent-color); transform: translateX(-50%); transition: width var(--transition-speed); }
.nav__item.is-active > .nav__link::after,
.nav__link:hover::after { width: 28px; }
.nav__toggle { background: none; border: 0; padding: 6px 0 6px 5px; cursor: pointer; color: var(--primary-color); font-size: .65rem; }

.nav__dropdown { display: none; }

@media (min-width: 992px) {
    .nav__dropdown {
        display: block; position: absolute; top: 100%; left: 0; z-index: 50; min-width: 250px;
        background: var(--surface-color); border-radius: 0 0 var(--card-radius) var(--card-radius);
        box-shadow: var(--shadow-hover); padding: 10px 0;
        opacity: 0; visibility: hidden; transform: translateY(8px);
        transition: opacity var(--transition-speed), transform var(--transition-speed), visibility var(--transition-speed);
    }
    /* open on hover, keyboard focus, or click (JS adds .is-open) */
    .nav__item:hover > .nav__dropdown,
    .nav__item:focus-within > .nav__dropdown,
    .nav__item.is-open > .nav__dropdown { opacity: 1; visibility: visible; transform: none; }

    /* Second level flies out to the right */
    .nav__dropdown .nav__item { display: block; position: relative; }
    .nav__dropdown .nav__link { padding: 10px 40px 10px 22px; font-size: .88rem; white-space: nowrap; }
    .nav__dropdown .nav__link::after { display: none; }
    .nav__dropdown .nav__link:hover { background: var(--tint-color); color: var(--secondary-color); }
    .nav__dropdown .nav__toggle { position: absolute; right: 14px; top: 50%; transform: translateY(-50%) rotate(-90deg); }
    .nav__dropdown--l2 { top: -10px; left: 100%; border-radius: var(--card-radius); }
    /* JS adds .is-flipped when a submenu would leave the viewport */
    .nav__dropdown.is-flipped { left: auto; right: 0; }
    .nav__dropdown--l2.is-flipped { left: auto; right: 100%; }
    .nav-toggle { display: none; }
}


/* ==================================================
   6. MOBILE NAVIGATION (< 992px)
   ================================================== */
.nav-toggle { width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--tint-color); cursor: pointer; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle__bar { width: 20px; height: 2px; background: var(--primary-color); border-radius: 2px; transition: transform var(--transition-speed), opacity var(--transition-speed); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 991.98px) {
    .navbar__inner { min-height: 64px; flex-wrap: nowrap; }
    .navbar__brand { flex: 0 1 auto; min-width: 0; }
    .navbar__brand img { height: 40px; }
    .brand-text__top { font-size: 1.02rem; }
    .brand-text__bottom { font-size: .68rem; }
    .nav-toggle { display: inline-flex; flex: none; }

    /* The menu is a panel that drops down under the bar, so the bar itself never moves */
    .navbar__menu {
        display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 90;
        flex-direction: column; align-items: stretch; gap: 16px;
        padding: 6px var(--gutter) 22px; background: var(--surface-color);
        max-height: calc(100vh - var(--topbar-height) - 64px); max-height: calc(100dvh - 64px); overflow-y: auto; overscroll-behavior: contain;
        box-shadow: 0 22px 40px rgba(10, 10, 10, .22);
    }
    .navbar.is-open .navbar__menu { display: flex; }

    .nav { flex-direction: column; align-items: stretch; gap: 0; }
    .nav__item { flex-wrap: wrap; box-shadow: 0 1px 0 var(--tint-color); }
    .nav__link { flex: 1; padding: 15px 0; font-size: 1rem; font-weight: 600; }
    .nav__link::after { display: none; }
    .nav__item.is-active > .nav__link { color: var(--accent-text); }
    .nav__toggle { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; border-radius: 10px; }
    .nav__toggle i { transition: transform var(--transition-speed); }
    .nav__item.is-open > .nav__toggle i { transform: rotate(180deg); }
    .nav__item.is-open > .nav__toggle { background: var(--tint-color); }

    /* accordion levels */
    .nav__dropdown { width: 100%; margin: 0 0 12px; padding: 6px 12px; background: var(--tint-color); border-radius: 14px; }
    .nav__item.is-open > .nav__dropdown { display: block; }
    .nav__dropdown .nav__item { box-shadow: none; }
    .nav__dropdown .nav__link { padding: 12px 0; font-size: .93rem; font-weight: 500; }
    .nav__dropdown .nav__toggle { width: 40px; height: 40px; }
    .nav__dropdown--l2 { margin: 0 0 8px; padding: 2px 14px; background: var(--surface-color); }
    .nav__dropdown--l2 .nav__link { padding: 10px 0; font-size: .88rem; font-weight: 400; color: var(--muted-color); }
    .nav__dropdown--l2 .nav__link:hover { color: var(--secondary-color); }
    .navbar__cta { align-self: stretch; padding: 14px 24px; text-align: center; }
}


/* ==================================================
   7. HERO SECTION - DESKTOP, TABLET & MOBILE
   Layout: [text | image] on top, centred description,
   then the peach CTA pill overlapping the bottom edge.
   ================================================== */
.hero {
    position: relative; z-index: 2;
    color: #fff;
    /* city-skyline photo + flat navy overlay for readability */
    background: var(--primary-dark) url('../images/hero-bg.jpg') center / cover no-repeat;
    padding: 44px 0 0;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 12, 12, .78), rgba(12, 12, 12, .7)); }
/* flow-root stops the CTA's negative bottom margin from collapsing through the hero, so the pill really overlaps the edge */
.hero__container { position: relative; display: flow-root; }

/* top row: headings left, framed image right */
.hero__top { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 40px; align-items: start; max-width: 880px; margin-inline: auto; }
.hero__title { color: #fff; font-size: clamp(1.35rem, 2.4vw, 1.8rem); line-height: 1.25; margin-bottom: 12px; }
.hero__lead { margin: 0 0 18px; color: var(--accent-color); font-size: clamp(.84rem, 1.2vw, .92rem); font-weight: 500; line-height: 1.7; }
.hero__points { display: grid; gap: 8px; }
.hero__points li { display: flex; align-items: center; gap: 12px; color: var(--accent-color); font-size: 1rem; font-weight: 600; }
.hero__points .ui-icon { font-size: 1.8rem; }

/* framed image: orange open outline on top + left */
.hero__media { position: relative; width: 100%; max-width: 290px; margin-left: auto; padding: 14px 0 0 14px; }
.hero__media::before {
    content: ""; position: absolute; top: 0; left: 0; right: 36px; bottom: 36px;
    border: 4px solid var(--accent-color); border-right: 0; border-bottom: 0; border-top-left-radius: 70px;
}
.hero__media img { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 1 / .95; object-fit: cover; border-radius: 48px 14px 30px 30px; box-shadow: 0 14px 30px rgba(0, 0, 0, .3); }

.hero__desc { max-width: 760px; margin: 26px auto 0; text-align: center; font-size: .84rem; line-height: 1.65; color: rgba(255, 255, 255, .95); }

/* CTA pill: negative bottom margin makes it overlap the hero edge */
.hero__cta {
    position: relative; z-index: 3; display: block; max-width: 620px; margin: 18px auto -46px; text-align: center;
    padding: 15px 28px 14px; border-radius: 60px; background: var(--accent-color); color: var(--primary-color);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .24); overflow: hidden; isolation: isolate;
    transition: transform var(--transition-speed), color var(--transition-speed), box-shadow var(--transition-speed);
}
.hero__cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--primary-color); border-radius: inherit; transform: scale(0); transform-origin: center; transition: transform var(--transition-speed) ease; }
.hero__cta strong { display: block; font-family: var(--heading-font); font-size: clamp(1.05rem, 2.1vw, 1.3rem); line-height: 1.3; }
.hero__cta span { display: block; font-size: .85rem; }
.hero__cta:hover, .hero__cta:focus-visible { color: #fff; transform: translateY(-3px); box-shadow: 0 18px 34px rgba(0, 0, 0, .32); }
.hero__cta:hover::before, .hero__cta:focus-visible::before { transform: scale(1.02); }

/* tablet */
@media (max-width: 991.98px) {
    .hero__top { grid-template-columns: minmax(0, 1fr) 230px; gap: 28px; }
}

/* mobile: stack, image proportional, big tap target */
@media (max-width: 767.98px) {
    .hero { padding-top: 36px; }
    .hero__top { grid-template-columns: 1fr; gap: 28px; text-align: left; }
    .hero__media { max-width: 270px; margin: 0 auto; }
    .hero__desc { margin-top: 26px; font-size: .84rem; }
    .hero__cta { margin: 20px auto -52px; padding: 16px 20px; border-radius: 36px; }
}
@media (max-width: 400px) {
    .hero__title { font-size: 1.45rem; }
    .hero__cta span { font-size: .8rem; }
}


/* ==================================================
   8. COMMON CHALLENGES SECTION (service cards) - DESKTOP, TABLET & MOBILE
   Skyline photo behind the whole section.
   4 x 2 grid on desktop, 2 columns on tablet, 1 on phones.
   ================================================== */
.problems {
    position: relative; padding: calc(var(--section-spacing) + 36px) 0 calc(var(--section-spacing) + 20px);
    background: var(--background-color) url('../images/problems-bg.jpg') center bottom / cover no-repeat;
}
.problems__title { font-size: clamp(1.3rem, 2.6vw, 1.85rem); line-height: 1.35; margin: 0; }

.problems__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; max-width: 1040px; margin-inline: auto; }

.problem-card {
    position: relative; display: flex; align-items: flex-end; min-height: 168px; padding: 78px 26px 24px;
    background: var(--surface-color); border-radius: var(--card-radius); overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}
.problem-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

/* navy icon block, top-left corner */
.problem-card__icon {
    position: absolute; top: 0; left: 0; width: 78px; height: 58px; display: flex; align-items: center; justify-content: center;
    background: var(--primary-color); color: #fff; font-size: 2rem; border-radius: 0 0 32px 0;
}
/* big outlined number, top-right corner */
.problem-card__num {
    position: absolute; top: 10px; right: 20px; font-family: var(--heading-font); font-size: 2rem; font-weight: 600; line-height: 1.2;
    color: transparent; -webkit-text-stroke: 1.4px #c2bda9;
}
.problem-card__text { margin: 0; font-size: .92rem; line-height: 1.65; color: var(--primary-color); }
.problem-card__text strong { font-weight: 700; }

/* Service-card variant: same corner icon block + outlined number, text starts under them */
.problems__grid--services { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; gap: 24px; }
.problem-card--service { flex-direction: column; align-items: stretch; padding: 82px 22px 20px; color: var(--text-color); }
.problem-card--service .problem-card__icon { font-size: 1.5rem; transition: background var(--transition-speed), color var(--transition-speed); }
.problem-card--service:hover .problem-card__icon, .problem-card--service:focus-visible .problem-card__icon { background: var(--accent-color); color: var(--primary-color); }
.problem-card__title { font-size: 1.02rem; line-height: 1.3; margin-bottom: .45em; }
.problem-card--service .problem-card__text { flex: 1; color: var(--muted-color); font-size: .86rem; }
.problem-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 14px; box-shadow: 0 -1px 0 var(--tint-color); }
.problem-card__count { padding: 3px 12px; border-radius: 20px; background: rgba(254, 189, 1, .25); font-size: .75rem; font-weight: 600; color: #6b4b00; }
.problem-card__arrow { color: var(--accent-text); transition: transform var(--transition-speed); }
.problem-card--service:hover .problem-card__arrow { transform: translateX(5px); }

@media (max-width: 1099.98px) {
    .problems__grid--services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
    .problems__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
    .problems { padding-top: calc(var(--section-spacing) + 24px); }
    .problems__grid, .problems__grid--services { grid-template-columns: 1fr; gap: 18px; }
    .problem-card { min-height: 0; }
}


/* ==================================================
   8c. STORY + STATS, CLIENT REVIEWS, CLIENT LOGOS
   ================================================== */
.story { padding: var(--section-spacing) 0; background: var(--background-color); }
.story__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.story__title { font-size: clamp(1.35rem, 2.5vw, 1.85rem); line-height: 1.35; }
.story__text p { color: var(--muted-color); }
.story__text .btn { margin-top: 10px; }

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.stat { padding: 30px 26px; border-radius: var(--card-radius); background: var(--primary-color); color: #fff; box-shadow: var(--shadow-card); }
.stat strong { display: block; margin-bottom: 8px; font-family: var(--heading-font); font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1; color: var(--accent-color); }
.stat span { display: block; font-size: .88rem; line-height: 1.5; color: rgba(255, 255, 255, .82); }

/* ----- Reviews slider (scroll-snap; arrows scroll it) ----- */
.reviews { padding: var(--section-spacing) 0; background: var(--surface-color); }
.slider { position: relative; padding-bottom: 66px; }
.slider__track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 10px 4px 28px; scrollbar-width: none; }
.slider__track::-webkit-scrollbar { display: none; }
.review {
    position: relative; flex: 0 0 calc((100% - 48px) / 3); display: flex; flex-direction: column; margin: 0; padding: 34px 28px 26px;
    scroll-snap-align: start; background: var(--surface-color); border-radius: var(--card-radius); box-shadow: var(--shadow-card);
}
.review__tag { position: absolute; top: 16px; left: 18px; padding: 2px 10px; border-radius: 20px; background: rgba(254, 189, 1, .25); color: #7a5600; font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.review__quote { position: absolute; top: 18px; right: 22px; font-size: 2rem; color: rgba(254, 189, 1, .5); }
.review__stars { margin: 16px 0 12px; color: var(--accent-color); font-size: .9rem; letter-spacing: 2px; }
.review blockquote { flex: 1; margin: 0 0 20px; font-size: .95rem; line-height: 1.7; color: var(--text-color); }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review__avatar { flex: none; width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--primary-color); color: var(--accent-color); font-weight: 700; }
.review figcaption strong { display: block; font-size: .92rem; color: var(--primary-color); }
.review figcaption small { display: block; font-size: .78rem; color: var(--muted-color); }
.slider__btn {
    position: absolute; bottom: 0; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer;
    background: var(--primary-color); color: #fff; box-shadow: 0 8px 20px rgba(10, 10, 10, .25);
    transition: background var(--transition-speed), color var(--transition-speed), transform var(--transition-speed);
}
.slider__btn:hover { background: var(--accent-color); color: var(--primary-color); transform: scale(1.06); }
.slider__btn--prev { left: calc(50% - 54px); }
.slider__btn--next { left: calc(50% + 10px); }
.slider__btn[disabled] { opacity: .35; pointer-events: none; }

/* ----- Client logos: two rows moving in opposite directions ----- */
.clients { padding: var(--section-spacing) 0; background: var(--background-color); overflow: hidden; }
.marquee { --gap: 24px; display: grid; gap: var(--gap); margin-top: 6px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee__row { display: flex; gap: var(--gap); width: max-content; padding-right: var(--gap); animation: marquee-left 45s linear infinite; }
.marquee__row--right { animation-name: marquee-right; animation-duration: 52s; }
.marquee:hover .marquee__row { animation-play-state: paused; }
.client { flex: none; width: 250px; height: 124px; display: flex; align-items: center; justify-content: center; padding: 20px 28px; background: var(--surface-color); border-radius: var(--card-radius); box-shadow: var(--shadow-card); }
.client img { max-width: 100%; max-height: 100%; object-fit: contain; }
.client__ph { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #a9a79b; }
.client__ph i { font-size: 1.4rem; }
@keyframes marquee-left  { to { transform: translateX(-50%); } }
@keyframes marquee-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

@media (max-width: 991.98px) {
    .story__grid { grid-template-columns: 1fr; gap: 36px; }
    .review { flex-basis: calc((100% - 24px) / 2); }
}
@media (max-width: 575.98px) {
    .stats { gap: 12px; }
    .stat { padding: 22px 18px; }
    .review { flex-basis: 86%; }
    .slider { padding-bottom: 8px; }
    .slider__btn { display: none; }          /* swipe on phones */
    .client { width: 200px; height: 100px; padding: 16px 20px; }
    .marquee { --gap: 16px; }
}


/* ==================================================
   9. SERVICES SECTION - DESKTOP, TABLET & MOBILE
   (also the inner-page service detail cards, about, placeholder)
   ================================================== */
.services { padding: var(--section-spacing) 0 calc(var(--section-spacing) + 20px); background: var(--surface-color); }
.services--page { padding-top: 56px; background: var(--background-color); }

@media (max-width: 575.98px) { .services { padding: 56px 0 76px; } }

/* ----- Service detail pages / about / placeholder ----- */
.detail { padding: 56px 0 calc(var(--section-spacing) + 20px); background: var(--background-color); }
.detail__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.detail-card { padding: 28px 26px; background: var(--surface-color); border-radius: var(--card-radius); box-shadow: var(--shadow-card); transition: transform var(--transition-speed), box-shadow var(--transition-speed); }
.detail-card:target { box-shadow: 0 0 0 3px rgba(254, 189, 1, .7), var(--shadow-hover); }
.detail-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.detail-card__icon { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; margin-bottom: 14px; border-radius: 14px 14px 14px 0; background: var(--primary-color); color: #fff; }
.detail-card h2 { font-size: 1.05rem; }
.detail-card p { color: var(--muted-color); font-size: .92rem; }
.detail-card__link { font-weight: 600; font-size: .86rem; color: var(--secondary-color); }
.detail-card__link i { font-size: .75rem; margin-left: 4px; transition: transform var(--transition-speed); }
.detail-card__link:hover i { transform: translateX(4px); }

.detail__cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 44px; padding: 32px 36px; border-radius: var(--card-radius); background: var(--primary-color); color: #fff; }
.detail__cta h2 { color: #fff; font-size: 1.25rem; margin-bottom: .25em; }
.detail__cta p { margin: 0; color: rgba(255, 255, 255, .85); }

.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.about__text h2 { font-size: 1.5rem; }
.about__text p { color: var(--muted-color); }
.about__facts { display: grid; gap: 16px; }
.about__facts li { padding: 20px 24px; background: var(--surface-color); border-left: 4px solid var(--accent-color); border-radius: var(--card-radius); box-shadow: var(--shadow-card); }
.about__facts strong { display: block; font-size: 1.5rem; color: var(--primary-color); line-height: 1.2; }
.about__facts span { color: var(--muted-color); font-size: .88rem; }

.placeholder { max-width: 560px; margin: 0 auto; padding: 44px 32px; text-align: center; background: var(--surface-color); border-radius: var(--card-radius); box-shadow: var(--shadow-card); }
.placeholder h2 { font-size: 1.4rem; }
.placeholder__icon { display: inline-flex; width: 64px; height: 64px; align-items: center; justify-content: center; margin-bottom: 16px; border-radius: 18px 18px 18px 0; background: var(--primary-color); color: #fff; font-size: 1.5rem; }
.placeholder p { color: var(--muted-color); }
.placeholder__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

@media (max-width: 991.98px) {
    .detail__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .about { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
    .detail__grid { grid-template-columns: 1fr; }
    .detail__cta { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
}


/* ----- Service pages & About page ----- */
.svc-intro { padding: var(--section-spacing) 0; background: var(--surface-color); }
.svc-intro__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 60px; align-items: center; }
.svc-intro__text h2 { font-size: clamp(1.35rem, 2.5vw, 1.85rem); line-height: 1.3; }
.svc-intro__text p { color: var(--muted-color); }
.check-list { display: grid; gap: 12px; margin: 22px 0 28px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; color: var(--primary-color); }
.check-list i { margin-top: 5px; color: var(--accent-dark); }
.svc-intro__media { position: relative; margin: 0; }
.svc-intro__media::before { content: ""; position: absolute; right: -14px; bottom: -14px; width: 68%; height: 68%; border-radius: 26px; background: var(--accent-color); }
.svc-intro__media img { position: relative; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow-hover); }

.svc-types { padding: var(--section-spacing) 0; background: var(--background-color); }
.detail-card { position: relative; }
.detail-card__num { position: absolute; top: 18px; right: 22px; font-family: var(--heading-font); font-size: 1.6rem; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1.3px #d3cfbf; }

.svc-steps { padding: var(--section-spacing) 0; background: var(--surface-color); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.step { padding: 28px 24px; border-radius: var(--card-radius); background: var(--tint-color); transition: transform var(--transition-speed), box-shadow var(--transition-speed), background var(--transition-speed); }
.step:hover { transform: translateY(-5px); background: var(--surface-color); box-shadow: var(--shadow-hover); }
.step__num { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; margin-bottom: 14px; border-radius: 50%; background: var(--accent-color); color: var(--primary-color); font-weight: 700; }
.step h3 { font-size: 1rem; }
.step p { margin: 0; font-size: .9rem; color: var(--muted-color); }

/* About page */
.mv { padding: var(--section-spacing) 0; background: var(--background-color); }
.mv__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.mv-card { padding: 38px 34px; background: var(--surface-color); border-radius: var(--card-radius); box-shadow: var(--shadow-card); }
.mv-card__icon, .why-card__icon, .team-card__icon { display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; margin-bottom: 18px; border-radius: 16px 16px 16px 0; background: var(--primary-color); color: var(--accent-color); font-size: 1.4rem; }
.mv-card h3 { font-size: 1.3rem; }
.mv-card p { margin: 0; color: var(--muted-color); }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 34px; }
.value { padding: 26px 20px; text-align: center; border-radius: var(--card-radius); background: var(--tint-color); }
.value__icon { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; margin-bottom: 12px; border-radius: 50%; background: var(--accent-color); color: var(--primary-color); }
.value h3 { font-size: 1rem; }
.value p { margin: 0; font-size: .88rem; color: var(--muted-color); }

.why { padding: var(--section-spacing) 0; background: var(--surface-color); }
.why__grid, .team__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.why-card, .team-card { padding: 30px 26px; border-radius: var(--card-radius); background: var(--tint-color); transition: transform var(--transition-speed), box-shadow var(--transition-speed), background var(--transition-speed); }
.why-card:hover, .team-card:hover { transform: translateY(-5px); background: var(--surface-color); box-shadow: var(--shadow-hover); }
.why-card h3, .team-card h3 { font-size: 1.05rem; }
.why-card p, .team-card p { margin: 0; font-size: .92rem; color: var(--muted-color); }
.team { padding: var(--section-spacing) 0; background: var(--background-color); }
.team-card { background: var(--surface-color); box-shadow: var(--shadow-card); }

.faq-section { padding: var(--section-spacing) 0; background: var(--surface-color); }
.faq { margin-bottom: 14px; border-radius: 14px; background: var(--tint-color); overflow: hidden; transition: background var(--transition-speed), box-shadow var(--transition-speed); }
.faq[open] { background: var(--surface-color); box-shadow: var(--shadow-card); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; font-weight: 600; color: var(--primary-color); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; color: var(--accent-dark); transition: transform var(--transition-speed); }
.faq[open] summary i { transform: rotate(180deg); }
.faq__answer { padding: 0 22px 20px; }
.faq__answer p { margin: 0; color: var(--muted-color); }

@media (max-width: 991.98px) {
    .svc-intro__grid { grid-template-columns: 1fr; gap: 44px; }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .why__grid, .team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
    .mv__grid { grid-template-columns: 1fr; }
    .svc-intro__media::before { right: -10px; bottom: -10px; }
}
@media (max-width: 575.98px) {
    .steps, .values, .why__grid, .team__grid { grid-template-columns: 1fr; }
    .mv-card { padding: 28px 22px; }
}


/* ==================================================
   10. CONTACT PAGE - DESKTOP, TABLET & MOBILE
   ================================================== */
.contact { padding: 56px 0 calc(var(--section-spacing) + 20px); background: var(--background-color); }

.contact-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; margin-bottom: 40px; }
.contact-card { padding: 24px 18px; text-align: center; background: var(--surface-color); border-radius: var(--card-radius); box-shadow: var(--shadow-card); transition: transform var(--transition-speed), box-shadow var(--transition-speed); }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.contact-card__icon { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; margin-bottom: 12px; border-radius: 16px 16px 16px 0; background: var(--primary-color); color: #fff; font-size: 1.25rem; }
.contact-card__icon--wa { background: var(--whatsapp-color); }
.contact-card h2 { font-size: .95rem; margin-bottom: .3em; }
.contact-card a, .contact-card p { margin: 0; font-size: .88rem; color: var(--muted-color); overflow-wrap: anywhere; }
.contact-card a { color: var(--secondary-color); font-weight: 500; }
.contact-card a:hover { color: var(--accent-text); }

.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.contact__map { min-height: 420px; border-radius: var(--card-radius); overflow: hidden; box-shadow: var(--shadow-card); background: #e9e9e5; }
.contact__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }

@media (max-width: 1099.98px) { .contact-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 991.98px)  { .contact__grid { grid-template-columns: 1fr; } .contact__map, .contact__map iframe { min-height: 320px; } }
@media (max-width: 575.98px)  { .contact-cards { grid-template-columns: 1fr; } }


/* ==================================================
   11. CONTACT FORM & CONSULTATION POPUP
   Fields use a soft tint instead of a border.
   ================================================== */
.contact-form { padding: 32px 30px; background: var(--surface-color); border-radius: var(--card-radius); box-shadow: var(--shadow-card); }
.contact-form h2 { font-size: 1.3rem; margin-bottom: .2em; }
.contact-form__intro { color: var(--muted-color); font-size: .92rem; }

.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; font-size: .82rem; font-weight: 600; color: var(--primary-color); }
.req { color: var(--danger-color); }
.opt { font-weight: 400; color: var(--muted-color); }
.field input, .field select, .field textarea {
    width: 100%; padding: 12px 14px; font: inherit; font-size: .92rem; color: var(--text-color);
    background: var(--tint-color); border: 0; border-radius: 10px;
    transition: background var(--transition-speed), box-shadow var(--transition-speed);
}
.field textarea { resize: vertical; min-height: 100px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; box-shadow: 0 0 0 2px var(--secondary-color), 0 6px 16px rgba(20, 20, 20, .08); }
.field.has-error input, .field.has-error select { background: #fdf0ee; box-shadow: 0 0 0 2px var(--danger-color); }
.field__error { display: block; margin-top: 5px; font-size: .78rem; color: var(--danger-color); }

.alert { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 18px; padding: 13px 16px; border-radius: 10px; font-size: .88rem; }
.alert[hidden] { display: none; }
.alert--success { background: #e7f6ec; color: var(--success-color); }
.alert--error { background: #fdecea; color: var(--danger-color); }
.alert i { margin-top: 3px; }

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

/* ----- Consultation popup ----- */
.modal { position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; transition: opacity .25s ease; }
.modal[hidden] { display: none; }
.modal.is-open { opacity: 1; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(10, 10, 10, .72); backdrop-filter: blur(3px); }
.modal__dialog {
    position: relative; display: grid; grid-template-columns: 340px minmax(0, 1fr); width: 100%; max-width: 860px; max-height: calc(100vh - 40px); overflow: hidden;
    background: var(--surface-color); border-radius: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
    transform: translateY(18px) scale(.98); transition: transform .3s ease;
}
.modal.is-open .modal__dialog { transform: none; }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--tint-color); color: var(--primary-color); cursor: pointer; transition: background var(--transition-speed), color var(--transition-speed), transform var(--transition-speed); }
.modal__close:hover { background: var(--primary-color); color: #fff; transform: rotate(90deg); }

.modal__aside { position: relative; padding: 40px 32px; color: #fff; background: var(--primary-dark) url('../images/hero-bg.jpg') center / cover no-repeat; overflow: hidden; }
.modal__aside::before { content: ""; position: absolute; inset: 0; background: rgba(12, 12, 12, .88); }
.modal__aside > * { position: relative; }
.modal__aside h2 { color: #fff; font-size: 1.5rem; margin-bottom: .4em; }
.modal__aside p { color: rgba(255, 255, 255, .85); font-size: .9rem; }
.modal__points { display: grid; gap: 12px; margin: 24px 0; font-size: .88rem; }
.modal__points i { margin-right: 8px; color: var(--accent-color); }
.modal__alt { margin: 0; font-size: .82rem !important; }
.modal__alt a { color: var(--accent-color); font-weight: 600; font-size: 1rem; }

.modal__body { padding: 38px 34px 30px; overflow-y: auto; }
.modal__body .field { margin-bottom: 13px; }
.modal__body .field textarea { min-height: 76px; }
.modal__done { text-align: center; padding: 40px 10px; }
.modal__done-icon { display: inline-flex; width: 64px; height: 64px; align-items: center; justify-content: center; margin-bottom: 14px; border-radius: 50%; background: #e7f6ec; color: var(--success-color); font-size: 1.6rem; }
.modal__done h3 { font-size: 1.3rem; }
.modal__done-text { color: var(--muted-color); }

@media (max-width: 767.98px) {
    .modal { padding: 12px; align-items: flex-end; }
    .modal__dialog { grid-template-columns: 1fr; max-height: calc(100vh - 24px); overflow-y: auto; }
    .modal__aside { padding: 28px 24px 22px; }
    .modal__aside h2 { font-size: 1.25rem; padding-right: 36px; }
    .modal__points, .modal__alt { display: none; }
    .modal__body { padding: 24px 22px 26px; overflow: visible; }
}
@media (max-width: 575.98px) { .contact-form { padding: 24px 18px; } }


/* ==================================================
   12. CALL-BACK FORM SECTION (above the footer, every page)
   Form on the left, photo on the right.
   ================================================== */
.callback { padding: var(--section-spacing) 0; background: var(--surface-color); }
.callback__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 52px; align-items: stretch; }
.callback__panel { padding: 42px 40px; border-radius: 26px; background: var(--tint-color); }
.callback__panel h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.callback__lead { margin-bottom: 26px; color: var(--muted-color); }
.callback .field input, .callback .field select, .callback .field textarea { background: var(--surface-color); }
.callback .field input:focus, .callback .field select:focus, .callback .field textarea:focus { box-shadow: 0 0 0 2px var(--accent-dark), 0 6px 16px rgba(20, 20, 20, .08); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.field--full { grid-column: 1 / -1; }
.callback__note { margin: 14px 0 0; font-size: .8rem; color: var(--muted-color); }
.form-done { padding: 40px 10px; text-align: center; }
.form-done[hidden] { display: none; }
.form-done__icon { display: inline-flex; width: 64px; height: 64px; align-items: center; justify-content: center; margin-bottom: 14px; border-radius: 50%; background: #e7f6ec; color: var(--success-color); font-size: 1.6rem; }
.form-done__text { color: var(--muted-color); }

.callback__media { position: relative; min-height: 540px; }
.callback__media::before { content: ""; position: absolute; left: -14px; bottom: -14px; width: 62%; height: 55%; border-radius: 26px; background: var(--accent-color); }
.callback__media > img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow-hover); }
.callback__badge { position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; background: rgba(10, 10, 10, .86); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.callback__badge img { flex: none; width: 46px; height: 46px; padding: 6px; border-radius: 12px; background: #fff; object-fit: contain; }
.callback__badge strong { display: block; font-size: .95rem; }
.callback__badge span { font-size: .8rem; color: rgba(255, 255, 255, .8); }

@media (max-width: 991.98px) {
    .callback__grid { grid-template-columns: 1fr; gap: 40px; }
    .callback__media { min-height: 340px; order: 2; }
}
@media (max-width: 575.98px) {
    .callback__panel { padding: 28px 20px; border-radius: 20px; }
    .form-grid { grid-template-columns: 1fr; }
    .callback__media { min-height: 280px; }
}


/* ==================================================
   13. FOOTER COLUMNS & LINKS
   ================================================== */
.site-footer { position: relative; color: rgba(255, 255, 255, .8); font-size: .9rem; background: var(--primary-dark) url('../images/hero-bg.jpg') center bottom / cover no-repeat; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: rgba(10, 10, 10, .93); }
.site-footer > * { position: relative; }

.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; padding-block: 96px 72px; }
.site-footer h3 { color: #fff; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 1.3em; }
.site-footer li { margin-bottom: 13px; }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: var(--accent-color); }
.site-footer__col ul a { display: inline-block; transition: color var(--transition-speed), transform var(--transition-speed); }
.site-footer__col ul a:hover { transform: translateX(4px); }
/* logo sits on a white chip so any logo colour stays readable on navy */
.site-footer__logo { display: inline-block; padding: 14px 20px; margin-bottom: 24px; background: #fff; border-radius: 16px; }
.site-footer__logo img { height: 96px; width: auto; max-width: 200px; object-fit: contain; }
.site-footer__brand p { max-width: 340px; line-height: 1.7; }

.site-footer__social { display: flex; gap: 10px; margin-top: 18px; }
.site-footer__social a { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; transition: background var(--transition-speed), color var(--transition-speed), transform var(--transition-speed); }
.site-footer__social a:hover { background: var(--accent-color); color: var(--primary-color); transform: translateY(-3px); }

.site-footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.site-footer__ico { flex: none; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: rgba(254, 189, 1, .16); color: var(--accent-color); font-size: .85rem; }
.site-footer__contact a, .site-footer__contact span:last-child { overflow-wrap: anywhere; padding-top: 5px; }

.site-footer__bottom { background: rgba(0, 0, 0, .35); padding: 24px 0; font-size: .82rem; }
.site-footer__bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.site-footer__bottom p { margin: 0; }

@media (max-width: 991.98px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 36px; padding-block: 80px 56px; } }
@media (max-width: 575.98px) {
    .site-footer__grid { grid-template-columns: 1fr; gap: 40px; padding-block: 64px 44px; }
    .site-footer__bottom-inner { flex-direction: column; text-align: center; }
}


/* ==================================================
   14. BUTTONS & REUSABLE INTERACTIONS
   Centre-origin fill: ::before scales from the middle (transform-origin: center).
   Text sits above it because ::before has z-index -1 inside an isolated stacking context.
   Per-variant colours are set with custom properties. The "border" is an inset shadow,
   so there is no layout shift.
   ================================================== */
.btn {
    --btn-bg: var(--primary-color);
    --btn-color: #fff;
    --btn-ring: var(--primary-color);
    --btn-hover-bg: var(--accent-color);
    --btn-hover-color: var(--primary-color);

    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 26px; font: inherit; font-size: .92rem; font-weight: 600; line-height: 1.3; text-align: center;
    color: var(--btn-color); background: var(--btn-bg); border: 0; border-radius: var(--button-radius); cursor: pointer;
    box-shadow: inset 0 0 0 2px var(--btn-ring);
    transition: color var(--transition-speed) ease, transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}
.btn::before {
    content: ""; position: absolute; inset: 0; z-index: -1; background: var(--btn-hover-bg);
    transform: scale(0); transform-origin: center; border-radius: inherit;
    transition: transform var(--transition-speed) ease;
}
.btn:hover, .btn:focus-visible { color: var(--btn-hover-color); transform: translateY(-2px); box-shadow: inset 0 0 0 2px var(--btn-hover-bg), 0 10px 22px rgba(20, 20, 20, .22); }
.btn:hover::before, .btn:focus-visible::before { transform: scale(1.02); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .65; cursor: progress; transform: none; }

.btn--primary { /* navy -> orange */ }
.btn--accent  { --btn-bg: var(--accent-color); --btn-color: var(--primary-color); --btn-ring: var(--accent-color); --btn-hover-bg: #fff; --btn-hover-color: var(--primary-color); }
.btn--outline { --btn-bg: transparent; --btn-color: var(--primary-color); --btn-ring: var(--primary-color); --btn-hover-bg: var(--primary-color); --btn-hover-color: #fff; }
.btn--whatsapp { --btn-bg: var(--whatsapp-color); --btn-color: #fff; --btn-ring: var(--whatsapp-color); --btn-hover-bg: var(--whatsapp-dark); --btn-hover-color: #fff; }
.btn--block { width: 100%; }
.navbar__cta { padding: 11px 30px; font-size: .9rem; }


/* ==================================================
   15. AOS / REVEAL SUPPORT
   If the AOS library fails to load, JS never adds .aos-ready, so everything stays visible.
   (!important is needed here only to beat AOS's own [data-aos] hidden states.)
   ================================================== */
html:not(.aos-ready) [data-aos] { opacity: 1 !important; transform: none !important; transition: none !important; }


/* ==================================================
   16. ACCESSIBILITY & REDUCED MOTION
   ================================================== */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 500; padding: 10px 16px; background: var(--accent-color); color: var(--primary-color); font-weight: 600; border-radius: 0 0 8px 8px; transition: top .2s; }
.skip-link:focus { top: 0; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent-dark); outline-offset: 2px; }
.btn:focus-visible, .hero__cta:focus-visible { outline-color: var(--primary-color); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    [data-aos] { opacity: 1 !important; transform: none !important; }
    .marquee__row { animation: none; }
    .marquee { overflow-x: auto; }
    .client[aria-hidden="true"] { display: none; }
}
