:root {
    --navy: #0E2740;
    --navy-mid: #163552;
    --navy-deep: #071623;
    --amber: #F0A202;
    --amber-deep: #D89002;
    --ink: #122333;
    --muted: #5A6A78;
    --paper: #F6F3EE;
    --paper-2: #EDE8DF;
    --white: #ffffff;
    --line: rgba(14, 39, 64, 0.12);
    --shadow-sm: 0 8px 22px rgba(7, 22, 35, 0.07);
    --shadow-lg: 0 22px 50px rgba(7, 22, 35, 0.14);
    --radius: 14px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --font-display: "Outfit", "Segoe UI", sans-serif;
    --font-body: "DM Sans", "Segoe UI", sans-serif;
    --nav-h: 78px;
    --page-max: 72rem;
    --gutter: clamp(1.1rem, 4vw, 2.4rem);
    --primary: var(--navy);
    --accent: var(--amber);
}

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

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

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
    overflow-x: clip;
}

body.menu-open { overflow: hidden; }
body.menu-open .whatsapp-float { opacity: 0; pointer-events: none; }

img, iframe, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--amber); color: var(--navy-deep); }

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

.skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 4000;
    background: var(--amber);
    color: var(--navy-deep);
    padding: 0.7rem 1rem;
    border-radius: 10px;
    font-weight: 700;
}
.skip:focus { top: 1rem; }

.page-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 3000;
    pointer-events: none;
    background: transparent;
}
.page-progress__bar {
    display: block;
    height: 100%;
    width: 0;
    background: var(--amber);
    transition: width 0.4s var(--ease);
}
.page-progress.is-leaving .page-progress__bar { width: 72%; }
.page-progress.is-done .page-progress__bar { width: 100%; opacity: 0; transition: width 0.25s var(--ease), opacity 0.4s ease 0.15s; }

/* NAV */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--nav-h);
    padding: 0.7rem var(--gutter);
    background: rgba(246, 243, 238, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-nav.scrolled {
    background: rgba(255, 255, 255, 0.96);
    border-bottom-color: var(--line);
    box-shadow: 0 10px 28px rgba(7, 22, 35, 0.06);
}
.logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
    flex-shrink: 0;
}
.logo-wrap img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
}
.logo-wordmark strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--navy);
    letter-spacing: -0.02em;
}
.logo-wordmark span {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
}
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: clamp(0.55rem, 1.4vw, 1.15rem);
}
.nav-links > li > a {
    color: var(--navy);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.35rem 0;
    position: relative;
}
.nav-links > li > a:hover,
.nav-links > li > a.is-active { color: var(--navy-deep); }
.nav-links > li > a.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: var(--amber);
    border-radius: 2px;
}
.dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 240px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: 0.25s var(--ease);
    z-index: 20;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu,
.dropdown.is-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu li a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--navy);
}
.dropdown-menu li a:hover { background: var(--paper); }

.btn-prime,
.btn-ghost,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.35rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
    font-family: var(--font-body);
}
.btn-prime {
    background: var(--amber);
    color: var(--navy-deep) !important;
}
.btn-prime:hover { background: var(--amber-deep); transform: translateY(-2px); }
.btn-ghost {
    border-color: rgba(255,255,255,0.45);
    color: #fff;
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.btn-outline {
    border-color: var(--navy);
    color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }
.nav-links .btn-prime { padding: 0.72rem 1.1rem; font-size: 0.82rem; }
.nav-links .btn-prime.is-active::after { display: none; }

.menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}
.menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: var(--navy);
    border-radius: 2px;
    transition: 0.25s var(--ease);
}
.menu-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; }
.menu-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* HERO */
.hero {
    position: relative;
    min-height: min(88vh, 760px);
    display: grid;
    align-items: end;
    color: #fff;
    overflow: hidden;
    background: var(--navy-deep);
}
.hero-media {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    transform: scale(1.04);
    animation: heroPan 22s ease-in-out infinite alternate;
}
.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7,22,35,0.25) 0%, rgba(7,22,35,0.72) 58%, rgba(7,22,35,0.92) 100%),
        linear-gradient(90deg, rgba(7,22,35,0.55), transparent 55%);
}
.hero-content {
    position: relative;
    z-index: 1;
    width: min(var(--page-max), 100%);
    margin: 0 auto;
    padding: 5.5rem var(--gutter) 4.2rem;
    animation: riseIn 0.9s var(--ease) both;
}
.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--amber);
    margin-bottom: 1rem;
}
.hero-content h1 {
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    max-width: 14ch;
    margin-bottom: 1rem;
    color: #fff;
}
.hero-content p {
    font-size: clamp(1.02rem, 1.7vw, 1.18rem);
    color: rgba(255,255,255,0.82);
    max-width: 42ch;
    margin-bottom: 1.8rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.section-pad { padding: clamp(4rem, 8vw, 6.2rem) var(--gutter); }
.section-shell {
    width: min(var(--page-max), 100%);
    margin-inline: auto;
}
.section-header { margin-bottom: 2.4rem; max-width: 640px; }
.section-header.center { text-align: center; margin-inline: auto; }
.section-header h4,
.eyebrow {
    color: var(--amber-deep);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
}

.section-header h2,
.about-text-content h2 {
    font-size: clamp(1.9rem, 4vw, 3rem);
    color: var(--navy);
    margin-bottom: 0.7rem;
}
.section-header p {
    color: var(--muted);
    font-size: 1.05rem;
}

/* STATS */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--navy);
    color: #fff;
}
.stat-item {
    padding: 1.7rem var(--gutter);
    border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: 0; }
.stat-item h3 {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    color: var(--amber);
    margin-bottom: 0.2rem;
}
.stat-item p {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0.78;
}

/* ABOUT */
.about-modern { background: #fff; }
.about-modern-inner {
    width: min(var(--page-max), 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
    padding: clamp(4rem, 8vw, 6.2rem) var(--gutter);
}
.about-visual {
    position: relative;
    min-height: 420px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-visual::after {
    content: "";
    position: absolute;
    width: 42%;
    height: 42%;
    right: -8%;
    bottom: -8%;
    background: var(--amber);
    border-radius: 22px;
    z-index: -1;
}
.about-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 420px;
}
.about-text-content .about-copy,
.about-text-content .about-copy p {
    color: var(--muted);
    font-size: 1.05rem;
    margin-bottom: 1rem;
    line-height: 1.75;
}
.about-text-content .btn-outline { margin-top: 0.5rem; }

/* PROCESS */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}
.process-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1.5rem 1.35rem 1.6rem;
    min-height: 100%;
}
.process-card .step {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--amber);
    font-family: var(--font-display);
    font-weight: 800;
    margin-bottom: 1rem;
}
.process-card h3 {
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 0.45rem;
}
.process-card p { color: var(--muted); font-size: 0.95rem; }

/* SERVICES */
.services-area { background: var(--paper); }
.service-grid,
.portfolio-grid,
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
}
.service-card-link,
.portfolio-card,
.blog-card {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.service-card-link:hover,
.portfolio-card:hover,
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.service-card { height: 100%; display: flex; flex-direction: column; }
.service-img,
.portfolio-card img,
.blog-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}
.service-overlay,
.card-body { padding: 1.15rem 1.2rem 1.35rem; }
.service-overlay h3,
.portfolio-card h3,
.blog-card h3 {
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 0.4rem;
}
.service-overlay p,
.blog-card p,
.portfolio-card p {
    color: var(--muted);
    font-size: 0.92rem;
}
.blog-card .meta {
    font-size: 0.74rem;
    color: var(--amber-deep);
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 0.4rem;
    display: block;
    text-transform: uppercase;
}

/* REVIEWS */
.reviews-section { background: var(--navy-deep); color: #fff; }
.reviews-section .section-header h2 { color: #fff; }
.reviews-section .section-header h4 { color: var(--amber); }
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.review-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px;
    padding: 1.6rem;
}
.rating { color: var(--amber); margin-bottom: 0.8rem; }
.star { color: #d4d8de; }
.star.is-filled, .star.is-half, .star.filled, .star.half { color: var(--amber); }
.reviewer {
    margin-top: 1rem;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-display);
}

.partners-slider {
    padding: 1.6rem 0;
    background: #fff;
    overflow: hidden;
    border-block: 1px solid var(--line);
}
.partners-track {
    display: flex;
    width: max-content;
    animation: scroll 32s linear infinite;
    align-items: center;
    gap: 3.5rem;
}
.partners-track:hover { animation-play-state: paused; }
.partner-item { width: 180px; text-align: center; }
.partner-item img {
    max-width: 140px;
    max-height: 48px;
    margin: 0 auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: 0.3s var(--ease);
}
.partner-item:hover img { filter: grayscale(0%); opacity: 1; }

.cta-band {
    background: linear-gradient(135deg, var(--navy-deep), var(--navy-mid));
    color: #fff;
}
.cta-band h2 {
    font-size: clamp(2rem, 4.2vw, 3.1rem);
    margin-bottom: 0.7rem;
}
.cta-band p {
    opacity: 0.82;
    margin-bottom: 1.4rem;
    max-width: 48ch;
}

/* INNER PAGES */
.page-hero {
    position: relative;
    padding: 4.4rem var(--gutter) 3.4rem;
    color: #fff;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy-deep), var(--navy));
}
.page-hero h1 {
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    margin-bottom: 0.65rem;
    max-width: 16ch;
}
.page-hero p,
.page-hero .lede {
    font-size: 1.05rem;
    opacity: 0.84;
    max-width: 52ch;
}
.crumbs {
    margin-bottom: 1.1rem;
    font-size: 0.86rem;
}
.crumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    color: rgba(255,255,255,0.7);
}
.crumbs li:not(:last-child)::after {
    content: "/";
    margin-left: 0.4rem;
    opacity: 0.55;
}
.crumbs a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.detail-wrap { width: min(860px, 100%); margin: 0 auto; }
.detail-wrap img.detail-hero {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 1.8rem;
}
.detail-wrap h2 {
    color: var(--navy);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    margin-bottom: 1rem;
}
.detail-wrap .meta {
    color: var(--amber-deep);
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}
.detail-wrap .prose,
.detail-wrap .prose p {
    color: var(--muted);
    font-size: 1.04rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.9rem;
}
.gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
}
.gallery-grid iframe {
    width: 100%;
    min-height: 260px;
    border: 0;
    border-radius: 16px;
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.vm-card {
    background: #fff;
    padding: 2rem;
    border-radius: 18px;
    border: 1px solid var(--line);
    border-left: 4px solid var(--amber);
}
.vm-card h3 { color: var(--navy); margin-bottom: 0.7rem; }
.vm-card p { color: var(--muted); }

.about-page-grid {
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) minmax(280px, 1.1fr);
    gap: 2rem;
    align-items: center;
}
.about-page-photo {
    width: 100%;
    max-height: 460px;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}

/* CONTACT */
.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.3fr;
    gap: 1.4rem;
    margin-top: -2.4rem;
    position: relative;
    z-index: 2;
}
.contact-panel {
    background: var(--navy);
    color: #fff;
    padding: 2.2rem;
    border-radius: 22px;
    box-shadow: var(--shadow-lg);
}
.contact-panel h2 { font-size: 1.6rem; margin-bottom: 1.4rem; }
.info-item { display: flex; gap: 1rem; margin-bottom: 1.3rem; }
.info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(240, 162, 2, 0.16);
    display: grid;
    place-items: center;
    color: var(--amber);
    flex-shrink: 0;
}
.contact-form-panel {
    background: #fff;
    padding: 2.2rem;
    border-radius: 22px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 0.15rem; }
.form-group.full { grid-column: span 2; }
.form-group label,
.review-form label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--navy);
    font-size: 0.9rem;
}
.form-group input,
.form-group textarea,
.review-form input,
.review-form textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    font: inherit;
    background: var(--paper);
}
.form-group input:focus,
.form-group textarea:focus,
.review-form input:focus,
.review-form textarea:focus {
    outline: none;
    border-color: var(--amber);
    background: #fff;
}
.map-wrap {
    width: 100%;
    height: 420px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 8px solid #fff;
    margin-top: 2rem;
}

.review-summary { text-align: center; margin-bottom: 2.2rem; }
.review-summary h3 { font-size: 1.35rem; color: var(--navy); }
.review-list { display: grid; gap: 1rem; max-width: 820px; margin: 0 auto 2.6rem; }
.review-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1.5rem 1.6rem;
}
.review-item header { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 0.7rem; flex-wrap: wrap; }
.review-item strong { color: var(--navy); }
.review-item small { color: var(--muted); }
.review-form {
    max-width: 720px;
    margin: 0 auto;
    background: #fff;
    border-radius: 22px;
    padding: 2rem;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
}

.site-footer {
    background: var(--navy-deep);
    color: #fff;
    padding: 4.2rem var(--gutter) 1.6rem;
}
.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.15fr;
    gap: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 2.6rem;
    width: min(var(--page-max), 100%);
    margin: 0 auto;
}
.footer-col h3 {
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
}
.footer-col h3::after {
    content: "";
    display: block;
    width: 28px;
    height: 3px;
    background: var(--amber);
    margin-top: 0.5rem;
    border-radius: 2px;
}
.footer-col p { color: rgba(255,255,255,0.68); font-size: 0.95rem; line-height: 1.7; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a,
.footer-col a {
    color: rgba(255,255,255,0.68);
    font-size: 0.94rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.25s var(--ease);
}
.footer-col ul li a:hover,
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.1rem; }
.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.08);
    color: #fff;
}
.footer-social a:hover { background: var(--amber); color: var(--navy-deep); }
.footer-bottom {
    width: min(var(--page-max), 100%);
    margin: 0 auto;
    padding-top: 1.3rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
}

.whatsapp-float {
    position: fixed !important;
    bottom: 22px;
    right: 22px;
    min-width: 56px;
    height: 56px;
    padding: 0 0.9rem 0 0.55rem;
    border-radius: 999px;
    background: #25D366;
    color: #fff !important;
    display: flex !important;
    align-items: center;
    gap: 0.55rem;
    z-index: 2147483000;
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.38);
    transition: transform 0.3s var(--ease);
}
.whatsapp-float svg { width: 28px; height: 28px; fill: currentColor; display: block; flex-shrink: 0; }
.whatsapp-float span { font-size: 0.82rem; font-weight: 700; white-space: nowrap; }
.whatsapp-float:hover { transform: translateY(-3px); background: #128C7E; }

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes riseIn {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes heroPan {
    from { transform: scale(1.04) translateX(0); }
    to { transform: scale(1.1) translateX(-2%); }
}
@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 1024px) {
    .about-modern-inner { grid-template-columns: 1fr; }
    .about-visual, .about-main-img { min-height: 320px; }
    .service-grid,
    .portfolio-grid,
    .blog-grid,
    .process-grid,
    .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-main { grid-template-columns: 1fr 1fr; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .vm-grid,
    .about-page-grid,
    .contact-layout { grid-template-columns: 1fr; }
    .contact-layout { margin-top: 0; }
}

@media (max-width: 860px) {
    .menu-btn { display: block; }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(88vw, 360px);
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0.35rem;
        padding: 5.5rem 1.5rem 2rem;
        box-shadow: -16px 0 40px rgba(0,0,0,0.12);
        transition: right 0.4s var(--ease);
        overflow-y: auto;
    }
    .nav-links.active { right: 0; }
    .nav-links > li > a.is-active::after { display: none; }
    .nav-links .btn-prime { width: 100%; }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 0;
        padding: 0.35rem 0 0 0.7rem;
        display: none;
        background: transparent;
    }
    .dropdown.open .dropdown-menu,
    .dropdown.is-open .dropdown-menu { display: block; }
    .whatsapp-float span { display: none; }
    .whatsapp-float { width: 56px; padding: 0; justify-content: center; }
}

@media (max-width: 640px) {
    .service-grid,
    .portfolio-grid,
    .blog-grid,
    .process-grid,
    .reviews-grid,
    .stats-bar,
    .footer-main { grid-template-columns: 1fr; }
    .stat-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .footer-bottom { flex-direction: column; text-align: center; }
    .form-grid { grid-template-columns: 1fr; }
    .form-group.full { grid-column: span 1; }
    .hero { min-height: 78vh; }
}
