/* ============================================
   Meridian Dedektiflik — Stylesheet
   Clean White + Navy Blue · Corporate · Trust
   ============================================ */

:root {
    --bg-0: #ffffff;
    --bg-1: #f5f8fc;
    --bg-2: #eaf0f8;
    --bg-3: #ffffff;

    --navy-900: #0a1f44;   /* deepest */
    --navy-800: #0b2545;   /* primary dark */
    --navy-700: #13315c;
    --navy-600: #1e3a6f;

    --blue-500: #1d4ed8;   /* primary accent */
    --blue-400: #2563eb;   /* bright accent */
    --blue-300: #3b82f6;
    --blue-100: #dbeafe;
    --blue-50:  #eff6ff;

    --line: rgba(11, 37, 69, 0.12);
    --line-soft: rgba(11, 37, 69, 0.06);

    --fg-0: #0f172a;       /* near-black */
    --fg-1: #334155;       /* body */
    --fg-2: #64748b;       /* muted */
    --fg-3: #94a3b8;       /* faded */

    --red: #dc2626;
    --green: #16a34a;

    --transition: cubic-bezier(0.22, 0.61, 0.36, 1);

    --font-display: 'Plus Jakarta Sans', -apple-system, system-ui, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;

    --container: 1240px;
}

* { box-sizing: border-box; }
*::selection { background: var(--blue-400); color: #fff; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg-0);
    color: var(--fg-0);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: -0.005em;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; transition: color 0.25s var(--transition); }
a:hover { color: var(--blue-500); }

img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
em { font-style: normal; color: var(--blue-500); font-weight: 800; }

/* very subtle texture */
.grain {
    position: fixed; inset: 0;
    pointer-events: none;
    opacity: 0.04;
    mix-blend-mode: multiply;
    z-index: 1;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='0.45'/></svg>");
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 2;
}

/* ============================================ HEADER */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 18px 0;
    transition: all 0.35s var(--transition);
    border-bottom: 1px solid transparent;
    background: rgba(255, 255, 255, 0);
}
.header.is-scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px) saturate(1.1);
    -webkit-backdrop-filter: blur(18px) saturate(1.1);
    border-bottom-color: var(--line);
    padding: 12px 0;
    box-shadow: 0 4px 24px -12px rgba(11, 37, 69, 0.1);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
    width: 42px; height: 42px;
    display: grid; place-items: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    color: #fff;
    background: var(--navy-800);
    border: 1px solid var(--navy-800);
    letter-spacing: 0;
    transition: all 0.3s var(--transition);
}
.brand:hover .brand__mark {
    background: var(--blue-500);
    border-color: var(--blue-500);
}
.brand__name {
    font-family: var(--font-display);
    font-size: 18px;
    letter-spacing: 0.22em;
    font-weight: 800;
    color: var(--navy-800);
    display: block;
    line-height: 1;
}
.brand__tag {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--fg-2);
    display: block;
    margin-top: 5px;
}

.nav { display: flex; gap: 32px; align-items: center; }
.nav a {
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--fg-1);
    font-weight: 500;
    position: relative;
    padding: 4px 0;
}
.nav a::after {
    content: '';
    position: absolute;
    left: 0; bottom: -4px;
    width: 0; height: 2px;
    background: var(--blue-500);
    transition: width 0.35s var(--transition);
}
.nav a:hover { color: var(--navy-800); }
.nav a:hover::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 20px; }

.lang-switch {
    display: flex; align-items: center; gap: 6px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.15em;
}
.lang-btn {
    color: var(--fg-2);
    padding: 4px 6px;
    transition: color 0.25s var(--transition);
    font-weight: 500;
}
.lang-btn.is-active { color: var(--blue-500); }
.lang-btn:hover { color: var(--navy-800); }
.lang-divider { color: var(--fg-3); }

.menu-toggle { display: none; width: 28px; height: 20px; flex-direction: column; justify-content: space-between; position: relative; z-index: 101; }
.menu-toggle span { height: 2px; background: var(--navy-800); width: 100%; transition: 0.3s; border-radius: 2px; }

/* ============================================ BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
    border: 1px solid transparent;
    transition: all 0.3s var(--transition);
    cursor: pointer;
    border-radius: 4px;
}
.btn--sm { padding: 10px 18px; font-size: 11px; }
.btn--full { width: 100%; justify-content: center; padding: 16px 28px; }

.btn--primary {
    background: var(--navy-800);
    color: #fff;
    border-color: var(--navy-800);
}
.btn--primary:hover {
    background: var(--blue-500);
    border-color: var(--blue-500);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -10px rgba(29, 78, 216, 0.4);
}

/* legacy class alias */
.btn--gold { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.btn--gold:hover { background: var(--blue-500); border-color: var(--blue-500); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(29, 78, 216, 0.4); }

.btn--ghost {
    background: transparent;
    color: var(--navy-800);
    border-color: var(--line);
}
.btn--ghost:hover {
    color: var(--blue-500);
    border-color: var(--blue-500);
    background: var(--blue-50);
}

/* ============================================ HERO */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 180px 0 120px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg-0);
}
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 60% 50% at 85% 15%, rgba(59, 130, 246, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 50% 45% at 10% 85%, rgba(11, 37, 69, 0.07) 0%, transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
}
.hero__vignette {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(11, 37, 69, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11, 37, 69, 0.04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at center, #000 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 80%);
}
.hero__inner { max-width: 900px; }

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--blue-500);
    margin-bottom: 32px;
    padding: 8px 16px;
    border: 1px solid var(--blue-100);
    background: var(--blue-50);
    border-radius: 999px;
    opacity: 0;
    animation: fadeUp 0.9s var(--transition) 0.1s forwards;
    font-weight: 600;
}
.dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--blue-500);
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5); }
    50% { box-shadow: 0 0 0 10px rgba(37, 99, 235, 0); }
}

.hero__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.75rem, 7vw, 6rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
    margin: 0 0 32px;
    color: var(--navy-800);
}
.hero__title .line {
    display: block;
    opacity: 1;
    transform: none;
    animation: none;
}
.hero__title .line .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    animation: wordUp 0.85s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
@keyframes wordUp {
    to { opacity: 1; transform: translateY(0); }
}
.hero__title {
    overflow: visible;
}
.hero__title .line {
    overflow: hidden;
    padding-bottom: 0.1em;
}
.hero__title .italic {
    font-style: normal;
    color: var(--blue-500);
    font-weight: 800;
}

.hero__lead {
    max-width: 620px;
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    line-height: 1.75;
    color: var(--fg-1);
    margin: 0 0 48px;
    opacity: 0;
    animation: fadeUp 1s var(--transition) 0.6s forwards;
}

.hero__ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 80px;
    opacity: 0;
    animation: fadeUp 1s var(--transition) 0.8s forwards;
}

.hero__meta {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
    opacity: 0;
    animation: fadeUp 1s var(--transition) 1s forwards;
}
.meta-item { display: flex; flex-direction: column; gap: 6px; }
.meta-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy-800);
    line-height: 1;
    letter-spacing: -0.02em;
}
.meta-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--fg-2);
    font-weight: 500;
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--fg-2);
    z-index: 3;
}
.line-v {
    width: 1px; height: 60px;
    background: linear-gradient(to bottom, var(--blue-500), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

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

/* ============================================ MARQUEE */
.marquee {
    background: var(--navy-800);
    color: #fff;
    border-block: 1px solid var(--navy-800);
    padding: 22px 0;
    overflow: hidden;
    position: relative;
    z-index: 2;
}
.marquee__track {
    display: flex;
    gap: 40px;
    white-space: nowrap;
    animation: scrollX 40s linear infinite;
    font-family: var(--font-display);
    font-style: normal;
    font-size: 1.3rem;
    letter-spacing: 0.18em;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
}
.marquee__track span:nth-child(even) { color: var(--blue-300); font-style: normal; }
@keyframes scrollX { to { transform: translateX(-50%); } }

/* ============================================ SECTIONS */
.section { padding: 140px 0; position: relative; z-index: 2; }
.section__head { max-width: 720px; margin: 0 0 80px; }
.section__eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--blue-500);
    margin-bottom: 20px;
    font-weight: 600;
}
.section__title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 0 0 24px;
    color: var(--navy-800);
}
.section__desc {
    font-size: 1.05rem;
    color: var(--fg-1);
    max-width: 620px;
    line-height: 1.75;
}

/* ============================================ ABOUT */
.about { background: var(--bg-1); }
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 100px;
    align-items: start;
}
.about__lead {
    font-family: var(--font-display);
    font-size: 1.5rem;
    line-height: 1.45;
    color: var(--navy-800);
    font-weight: 700;
    letter-spacing: -0.015em;
    margin: 0 0 40px;
}
.about__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.about__list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line-soft);
    color: var(--fg-1);
    font-size: 0.98rem;
}
.about__list li:last-child { border-bottom: none; }
.about__list i {
    color: var(--blue-500);
    font-size: 18px;
    width: 24px;
    padding-top: 3px;
}

/* ============================================ SERVICES */
.services { background: var(--bg-0); }
.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--bg-0);
    padding: 40px 32px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 8px;
    position: relative;
    transition: all 0.35s var(--transition);
    cursor: default;
}
.service-card:hover {
    background: var(--bg-0);
    border-color: var(--blue-500);
    transform: translateY(-6px);
    box-shadow: 0 24px 48px -24px rgba(29, 78, 216, 0.25);
}
.service-card__num {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--fg-3);
    letter-spacing: 0.2em;
    margin-bottom: 32px;
    font-weight: 600;
    transition: color 0.3s;
}
.service-card:hover .service-card__num { color: var(--blue-500); }
.service-card__icon {
    font-size: 32px;
    color: var(--blue-500);
    margin-bottom: 24px;
    transition: transform 0.4s var(--transition);
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    background: var(--blue-50);
    border-radius: 10px;
}
.service-card:hover .service-card__icon {
    transform: translateY(-4px);
    background: var(--blue-100);
}
.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 14px;
    color: var(--navy-800);
    line-height: 1.25;
    letter-spacing: -0.015em;
}
.service-card p {
    margin: 0;
    color: var(--fg-1);
    font-size: 0.95rem;
    line-height: 1.7;
}
.service-card--wide { grid-column: span 3; }

/* ============================================ PROCESS */
.process { background: var(--bg-1); }
.process__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.process__step {
    background: var(--bg-0);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: 240px;
    transition: all 0.3s var(--transition);
}
.process__step:hover {
    border-color: var(--blue-500);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -20px rgba(29, 78, 216, 0.22);
}
.process__num {
    font-family: var(--font-display);
    font-style: normal;
    font-size: 2.75rem;
    color: var(--blue-500);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.process__step h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--navy-800);
    letter-spacing: -0.015em;
}
.process__step p {
    margin: 0;
    color: var(--fg-1);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* ============================================ WHY */
.why { background: var(--navy-800); color: #fff; }
.why .section__eyebrow { color: var(--blue-300); }
.why .section__title { color: #fff; }
.why .section__title em { color: var(--blue-300); }

.why__grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 100px;
    align-items: start;
}
.why__lead {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.75;
}
.why__right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.why__item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 32px 28px;
    transition: all 0.3s var(--transition);
}
.why__item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--blue-300);
    transform: translateY(-3px);
}
.why__item i {
    color: var(--blue-300);
    font-size: 22px;
    margin-bottom: 16px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: rgba(59, 130, 246, 0.15);
    border-radius: 8px;
}
.why__item h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: #fff;
    letter-spacing: -0.015em;
}
.why__item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.65;
}

/* ============================================ TESTIMONIALS */
.testimonials { background: var(--bg-1); }
.testi__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testi-card {
    background: var(--bg-0);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 36px 32px;
    margin: 0;
    position: relative;
    transition: all 0.35s var(--transition);
}
.testi-card:hover {
    border-color: var(--blue-500);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -20px rgba(29, 78, 216, 0.22);
}
.testi-card__quote {
    color: var(--blue-500);
    font-size: 28px;
    opacity: 0.5;
    margin-bottom: 18px;
}
.testi-card blockquote {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-style: normal;
    line-height: 1.55;
    color: var(--navy-800);
    margin: 0 0 26px;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.testi-card figcaption {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 18px;
    border-top: 1px solid var(--line-soft);
}
.testi-card__name {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.08em;
    color: var(--blue-500);
    font-weight: 600;
}
.testi-card__role {
    font-size: 12px;
    color: var(--fg-2);
    letter-spacing: 0.03em;
}

/* ============================================ CONTACT */
.contact { background: var(--bg-0); }
.contact__head {
    max-width: 720px;
    margin: 0 auto 64px;
    text-align: center;
}
.contact__head .section__eyebrow { justify-content: center; }
.contact__lead {
    font-size: 1.05rem;
    color: var(--fg-1);
    margin: 0 auto;
    line-height: 1.75;
    max-width: 620px;
}
.contact__cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.contact-card {
    background: var(--bg-0);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.3s var(--transition);
    text-align: left;
    color: var(--navy-800);
}
.contact-card:not(.contact-card--static):hover {
    border-color: var(--blue-500);
    transform: translateY(-6px);
    box-shadow: 0 24px 48px -24px rgba(29, 78, 216, 0.25);
    color: var(--navy-800);
}
.contact-card i {
    color: var(--blue-500);
    font-size: 20px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: var(--blue-50);
    border-radius: 10px;
    margin-bottom: 12px;
    transition: all 0.3s var(--transition);
}
.contact-card--wa i {
    color: #25D366;
    background: rgba(37, 211, 102, 0.1);
}
.contact-card:hover i { transform: scale(1.05); }
.contact-card__label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--fg-2);
    font-weight: 600;
}
.contact-card__value {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy-800);
    letter-spacing: -0.01em;
    line-height: 1.3;
    word-break: break-word;
}
.contact-card--static {
    cursor: default;
}
.contact-card--static .contact-card__value {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--fg-1);
}

/* ============================================ FOOTER */
.footer {
    background: var(--navy-900);
    color: rgba(255, 255, 255, 0.7);
    padding: 56px 0 36px;
    position: relative;
    z-index: 2;
}
.footer__inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand .brand__mark { background: var(--blue-500); border-color: var(--blue-500); color: #fff; }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__tag { color: rgba(255, 255, 255, 0.5); }
.footer__nav {
    display: flex;
    gap: 28px;
    justify-content: center;
    flex-wrap: wrap;
}
.footer__nav a {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
}
.footer__nav a:hover { color: var(--blue-300); }
.footer__legal {
    text-align: right;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* ============================================ FLOAT WA */
.float-wa {
    position: fixed;
    right: 20px; bottom: 20px;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff !important;
    display: grid;
    place-items: center;
    font-size: 26px;
    z-index: 99;
    box-shadow: 0 12px 32px -8px rgba(37, 211, 102, 0.5);
    transition: transform 0.3s var(--transition);
}
.float-wa:hover {
    transform: scale(1.1) translateY(-2px);
    color: #fff !important;
}

/* ============================================ REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s var(--transition), transform 0.9s var(--transition);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }

/* Staggered card entrance with scale */
.service-card.reveal,
.why__item.reveal,
.testi-card.reveal,
.contact-card.reveal,
.process__step.reveal {
    transform: translateY(40px) scale(0.96);
}
.service-card.reveal.is-in,
.why__item.reveal.is-in,
.testi-card.reveal.is-in,
.contact-card.reveal.is-in,
.process__step.reveal.is-in {
    transform: translateY(0) scale(1);
}

/* Animated underline for section titles */
.section__title {
    position: relative;
}
.section__title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -14px;
    width: 0;
    height: 3px;
    background: var(--blue-500);
    transition: width 1s var(--transition) 0.3s;
    border-radius: 2px;
}
.section__head.is-in .section__title::after,
.contact__head.is-in .section__title::after,
.about__left.is-in .section__title::after,
.why__left.is-in .section__title::after {
    width: 64px;
}
.contact__head .section__title::after { left: 50%; transform: translateX(-32px); }
.contact__head.is-in .section__title::after { width: 64px; }

/* Hero bg smooth transition for parallax */
.hero__bg,
.hero__vignette {
    transition: transform 0.6s var(--transition);
    will-change: transform;
}

/* Service card icon float */
.service-card__icon {
    animation: floatY 4.5s ease-in-out infinite;
}
.service-card:nth-child(2n) .service-card__icon { animation-delay: -1.2s; }
.service-card:nth-child(3n) .service-card__icon { animation-delay: -2.4s; }
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Why item icon subtle pulse */
.why__item i {
    animation: iconPulse 3.5s ease-in-out infinite;
}
.why__item:nth-child(2n) i { animation-delay: -1.5s; }
@keyframes iconPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.15); }
    50% { box-shadow: 0 0 0 8px rgba(59, 130, 246, 0); }
}

/* Button shimmer on hover */
.btn--primary,
.btn--gold {
    position: relative;
    overflow: hidden;
}
.btn--primary::before,
.btn--gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.7s var(--transition);
}
.btn--primary:hover::before,
.btn--gold:hover::before {
    left: 120%;
}

/* Brand mark rotate on hover */
.brand:hover .brand__mark {
    transform: rotate(-6deg) scale(1.05);
}

/* Nav link underline draw */
.nav a::after {
    transform-origin: left;
}

/* Contact card icon rotate on hover */
.contact-card:hover i {
    transform: rotate(-8deg) scale(1.08);
}

/* Hero scroll indicator */
.hero__scroll {
    animation: fadeIn 1.2s var(--transition) 1.4s both;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Process step number gradient sweep */
.process__step:hover .process__num {
    animation: sweep 0.6s var(--transition);
}
@keyframes sweep {
    0% { transform: translateX(0); }
    50% { transform: translateX(6px); }
    100% { transform: translateX(0); }
}

/* Floating WhatsApp subtle bounce */
.float-wa {
    animation: waBounce 2.8s ease-in-out infinite;
}
@keyframes waBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.float-wa:hover { animation-play-state: paused; }

/* Testimonial quote icon wiggle on hover */
.testi-card:hover .testi-card__quote {
    animation: wiggle 0.6s var(--transition);
}
@keyframes wiggle {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(-8deg); }
    75% { transform: rotate(8deg); }
}

/* Hero gradient animation */
.hero__bg {
    background-size: 180% 180%;
    animation: gradientShift 18s ease-in-out infinite;
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
}

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

/* ============================================ RESPONSIVE */
@media (max-width: 1100px) {
    .nav { display: none; }
    .menu-toggle { display: flex; }
    .services__grid { grid-template-columns: repeat(2, 1fr); }
    .service-card--wide { grid-column: span 2; }
    .process__list { grid-template-columns: repeat(2, 1fr); }
    .about__grid, .why__grid { grid-template-columns: 1fr; gap: 56px; }
    .contact__cards { grid-template-columns: repeat(2, 1fr); }
    .testi__grid { grid-template-columns: 1fr; }
    .footer__inner { grid-template-columns: 1fr; text-align: center; gap: 28px; }
    .footer__brand, .footer__nav, .footer__legal { justify-content: center; text-align: center; }
    .footer__legal { align-items: center; }

    .nav.is-open {
        display: flex;
        position: fixed;
        inset: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 28px;
        z-index: 99;
    }
    .nav.is-open a { font-size: 18px; }
}

@media (max-width: 720px) {
    .container { padding: 0 20px; }
    .section { padding: 80px 0; }
    .section__head { margin-bottom: 48px; }

    .header { padding: 14px 0; }
    .header.is-scrolled { padding: 10px 0; }
    .brand__mark { width: 38px; height: 38px; font-size: 18px; }
    .brand__name { font-size: 14px; letter-spacing: 0.28em; }
    .brand__tag { display: none; }
    .header__actions { gap: 12px; }
    .header__actions .btn { display: none; }

    .hero { padding: 130px 0 90px; min-height: auto; }
    .hero__title { font-size: 2.6rem; line-height: 1.05; }
    .hero__eyebrow { font-size: 10px; padding: 6px 12px; }
    .hero__lead { font-size: 0.98rem; margin-bottom: 36px; }
    .hero__ctas { gap: 10px; margin-bottom: 56px; }
    .hero__ctas .btn { flex: 1; min-width: 0; justify-content: center; padding: 13px 14px; font-size: 11px; letter-spacing: 0.12em; }
    .hero__ctas .btn span { overflow: hidden; text-overflow: ellipsis; }
    .hero__meta { grid-template-columns: 1fr 1fr 1fr; gap: 16px; padding-top: 28px; }
    .meta-num { font-size: 1.5rem; }
    .meta-label { font-size: 9px; letter-spacing: 0.12em; }
    .hero__scroll { display: none; }

    .marquee { padding: 16px 0; }
    .marquee__track { font-size: 1.1rem; gap: 28px; }

    .services__grid { grid-template-columns: 1fr; gap: 16px; }
    .service-card { min-height: auto; padding: 32px 26px; }
    .service-card--wide { grid-column: span 1; }
    .service-card h3 { font-size: 1.4rem; }

    .process__list { grid-template-columns: 1fr; gap: 16px; }
    .process__step { padding: 32px 26px; min-height: auto; }
    .process__num { font-size: 2.75rem; }

    .why__right { grid-template-columns: 1fr; gap: 16px; }
    .why__item { padding: 28px 24px; }

    .testi-card { padding: 30px 26px; }
    .testi-card blockquote { font-size: 1.1rem; }

    .form-row { grid-template-columns: 1fr; gap: 16px; }
    .contact__cards { grid-template-columns: 1fr; gap: 14px; }
    .contact-card { padding: 24px 22px; }

    .footer { padding: 40px 0 28px; }
    .float-wa { width: 52px; height: 52px; font-size: 24px; right: 16px; bottom: 16px; }
}

@media (max-width: 400px) {
    .hero__meta { grid-template-columns: 1fr; gap: 20px; }
    .meta-num { font-size: 1.8rem; }
}
