/* ==========================================================================
   Shin Marina — site styles
   Palette is driven by CSS custom properties (also overridable from admin).
   ========================================================================== */

:root {
    --plum:      #2A1435;
    --plum-dark: #1F0F2B;
    --plum-soft: #3B2149;
    --accent:      #E86E52;
    --accent-soft: #F08A70;
    --accent-strong: #C9431F;
    --accent-2:    #F5B26A;
    --teal:        #4E8C84;
    --cream:       #FDF6EF;
    --cream-2:     #F6E9DD;
    --white:       #ffffff;
    --ink:         #23142E;
    --muted:       #6E5C79;
    --line:        rgba(42, 20, 53, .12);
    --line-soft:   rgba(42, 20, 53, .07);

    --shadow-sm: 0 2px 10px rgba(42, 20, 53, .06);
    --shadow:    0 26px 60px -34px rgba(42, 20, 53, .55);
    --shadow-lg: 0 40px 80px -40px rgba(42, 20, 53, .65);

    --radius:    20px;
    --radius-sm: 12px;
    --container: 1180px;

    --font-display: "Fraunces", "Georgia", serif;
    --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

    --header-h: 78px;
}

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

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

section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.72;
    color: var(--ink);
    background: var(--cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.12;
    color: var(--plum);
    margin: 0 0 .5em;
    letter-spacing: -.01em;
}

p { margin: 0 0 1.1em; }

ul { margin: 0; padding: 0; list-style: none; }

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

.icon { flex: none; }

/* ---------- Layout utilities ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 26px;
}

.section { padding: 110px 0; position: relative; }

.section-head {
    max-width: 720px;
    margin: 0 auto 64px;
    text-align: center;
}
.section-head.left { margin-left: 0; text-align: left; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--accent-strong);
    margin: 0 0 16px;
}
.eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}
.section-head.center .eyebrow::after {
    content: "";
    width: 26px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}
.eyebrow.on-dark { color: var(--accent-2); }
.eyebrow.on-dark::before { background: var(--accent-2); }

.section-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
.section-head .lead { font-size: 1.12rem; color: var(--muted); margin: 0; }

.lead { font-size: 1.16rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: .97rem;
    font-weight: 600;
    line-height: 1;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
    white-space: nowrap;
}
.btn .icon { transition: transform .25s ease; }
.btn:hover .icon { transform: translateX(3px); }

.btn-primary {
    background: var(--accent-strong);
    color: #fff;
    box-shadow: 0 16px 30px -14px rgba(201, 67, 31, .8);
}
.btn-primary:hover { background: #b23a1a; transform: translateY(-2px); box-shadow: 0 22px 40px -16px rgba(201, 67, 31, .9); }

.btn-ghost {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .5);
    color: #fff;
    backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: #fff; color: var(--plum); transform: translateY(-2px); }

.btn-outline {
    border-color: var(--plum);
    color: var(--plum);
    background: transparent;
}
.btn-outline:hover { background: var(--plum); color: #fff; transform: translateY(-2px); }

.btn-light { background: #fff; color: var(--plum); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -16px rgba(0,0,0,.5); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    height: var(--header-h);
    display: flex;
    align-items: center;
    transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}
.site-header.is-stuck {
    background: rgba(253, 246, 239, .92);
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 30px -18px rgba(42, 20, 53, .5);
    border-bottom: 1px solid var(--line-soft);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand-logo {
    height: 46px;
    width: 46px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 16px -8px rgba(42,20,53,.7);
    background: var(--plum);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
    font-family: var(--font-display);
    font-size: 1.32rem;
    font-weight: 600;
    color: #fff;
    transition: color .35s ease;
}
.brand-sub {
    font-size: .68rem;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--accent-2);
    font-weight: 600;
}
.is-stuck .brand-name { color: var(--plum); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
    position: relative;
    padding: 10px 14px;
    font-size: .95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .88);
    border-radius: 100px;
    transition: color .25s ease, background .25s ease;
}
.nav a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 6px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}
.nav a:hover::after { transform: scaleX(1); }
.is-stuck .nav a { color: var(--plum); }
.nav a:hover { color: var(--accent-strong); }
.is-stuck .nav a:hover { color: var(--accent-strong); }

.nav-cta {
    background: var(--accent-strong) !important;
    color: #fff !important;
    padding: 11px 22px !important;
    margin-left: 8px;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: #b23a1a !important; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.4);
    background: rgba(255,255,255,.1);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: background .3s ease;
}
.nav-toggle span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: all .3s ease; }
.is-stuck .nav-toggle { border-color: var(--line); background: #fff; }
.is-stuck .nav-toggle span { background: var(--plum); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    isolation: isolate;
}
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(31,15,43,.86) 0%, rgba(31,15,43,.62) 42%, rgba(31,15,43,.88) 100%),
        linear-gradient(115deg, rgba(42,20,53,.9) 0%, rgba(42,20,53,.25) 60%, rgba(201,67,31,.35) 100%);
}
.hero-content { padding-top: var(--header-h); max-width: 920px; }
.hero-content h1 {
    color: #fff;
    font-size: clamp(2.5rem, 6vw, 4.6rem);
    font-weight: 600;
    margin-bottom: .35em;
    text-wrap: balance;
}
.hero-content h1 em {
    font-style: italic;
    color: var(--accent-2);
}
.hero-lead {
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    color: rgba(255,255,255,.9);
    max-width: 640px;
    margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 46px; }

.hero-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.hero-roles li {
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .02em;
    padding: 8px 15px;
    border-radius: 100px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.22);
    color: rgba(255,255,255,.92);
    backdrop-filter: blur(6px);
}

.scroll-cue {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: .7rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255,255,255,.7);
}
.scroll-cue .mouse {
    width: 24px; height: 38px;
    border: 1.6px solid rgba(255,255,255,.6);
    border-radius: 14px;
    position: relative;
}
.scroll-cue .mouse::after {
    content: "";
    position: absolute;
    top: 7px; left: 50%;
    width: 4px; height: 7px;
    background: var(--accent-2);
    border-radius: 3px;
    transform: translateX(-50%);
    animation: wheel 1.7s ease-in-out infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 12px); } }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats {
    background: var(--plum);
    color: #fff;
    padding: 66px 0;
    position: relative;
    overflow: hidden;
}
.stats::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(600px 200px at 15% 0%, rgba(232,110,82,.28), transparent 70%),
                radial-gradient(600px 220px at 90% 100%, rgba(78,140,132,.3), transparent 70%);
}
.stats-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.stat-value {
    font-family: var(--font-display);
    font-size: clamp(2.3rem, 4vw, 3.2rem);
    font-weight: 600;
    line-height: 1;
    color: #fff;
}
.stat-value .suffix { color: var(--accent-2); }
.stat-label {
    margin-top: 12px;
    font-size: .86rem;
    letter-spacing: .04em;
    color: rgba(255,255,255,.72);
}

/* ==========================================================================
   About
   ========================================================================== */
.about { background: var(--cream); }
.about-grid {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 74px;
    align-items: center;
}
.about-media { position: relative; }
.about-photo {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 4.4;
    object-fit: cover;
    position: relative;
    z-index: 2;
}
.about-accent {
    position: absolute;
    width: 58%;
    right: -10%;
    bottom: -12%;
    border-radius: var(--radius);
    border: 8px solid var(--cream);
    box-shadow: var(--shadow);
    aspect-ratio: 4/3;
    object-fit: cover;
    z-index: 3;
}
.about-shape {
    position: absolute;
    top: -26px; left: -26px;
    width: 160px; height: 160px;
    border-radius: 32px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    z-index: 1;
    opacity: .9;
}
.about-badge {
    position: absolute;
    top: 22px; right: -20px;
    z-index: 4;
    background: var(--plum);
    color: #fff;
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: var(--shadow);
    text-align: center;
}
.about-badge b { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--accent-2); }
.about-badge span { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.8); }

.about-body h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.check-list { display: grid; gap: 12px; margin: 26px 0 32px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; color: var(--ink); }
.check-list .icon { color: var(--teal); margin-top: 3px; }

/* ==========================================================================
   Expertise
   ========================================================================== */
.expertise { background: var(--white); }
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.card {
    position: relative;
    background: var(--cream);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    padding: 38px 32px;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, background .35s ease;
    overflow: hidden;
}
.card::after {
    content: "";
    position: absolute;
    left: 0; top: 0;
    height: 4px; width: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); background: #fff; border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px; height: 62px;
    border-radius: 16px;
    margin-bottom: 24px;
    color: var(--plum);
    background: linear-gradient(140deg, rgba(232,110,82,.16), rgba(245,178,106,.28));
}
.card h3 { font-size: 1.32rem; margin-bottom: .45em; }
.card p { color: var(--muted); font-size: .98rem; margin: 0; }

/* ==========================================================================
   Approach
   ========================================================================== */
.approach { background: var(--cream); }
.approach-grid {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 74px;
    align-items: center;
}
.approach-media { position: relative; }
.approach-media img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3.2;
    object-fit: cover;
}
.approach-media .ring {
    position: absolute;
    right: -30px; bottom: -30px;
    width: 150px; height: 150px;
    border: 2px dashed rgba(78,140,132,.5);
    border-radius: 50%;
    z-index: -1;
}
.approach-body h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.metric-row { display: flex; gap: 40px; margin-top: 30px; flex-wrap: wrap; }
.metric b { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--accent-strong); }
.metric span { font-size: .82rem; color: var(--muted); }

/* ==========================================================================
   Process
   ========================================================================== */
.process { background: var(--plum); color: #fff; overflow: hidden; }
.process h2, .process h3 { color: #fff; }
.process .section-head .lead { color: rgba(255,255,255,.72); }
.timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    counter-reset: step;
}
.timeline li {
    position: relative;
    padding: 34px 24px 30px;
    border-radius: var(--radius);
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.12);
    transition: transform .35s ease, background .35s ease, border-color .35s ease;
}
.timeline li:hover { transform: translateY(-8px); background: rgba(255,255,255,.09); border-color: rgba(245,178,106,.5); }
.timeline .step-no {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--accent-2);
    letter-spacing: .1em;
    margin-bottom: 16px;
    display: block;
}
.timeline .step-icon { color: var(--accent-soft); margin-bottom: 18px; }
.timeline h3 { font-size: 1.16rem; margin-bottom: .5em; }
.timeline p { font-size: .92rem; color: rgba(255,255,255,.75); margin: 0; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials { background: var(--white); }
.testimonial-viewport { overflow: hidden; }
.testimonial-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 52px) / 3);
    gap: 26px;
    transition: transform .6s cubic-bezier(.22, .61, .36, 1);
}
.quote {
    background: var(--cream);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    padding: 38px 34px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.quote .icon-quote { color: var(--accent); opacity: .5; }
.quote p { font-family: var(--font-display); font-size: 1.12rem; line-height: 1.5; color: var(--plum); margin: 0; }
.quote footer { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.quote .avatar {
    width: 48px; height: 48px; border-radius: 50%;
    display: grid; place-items: center;
    font-family: var(--font-display); font-weight: 600; color: #fff;
    background: linear-gradient(135deg, var(--plum), var(--accent));
    flex: none;
}
.quote .who b { display: block; font-size: .98rem; color: var(--ink); }
.quote .who span { font-size: .82rem; color: var(--muted); }
.quote .stars { display: flex; gap: 3px; color: var(--accent-2); }
.quote .stars .icon { width: 16px; height: 16px; }

.testimonial-nav { display: flex; justify-content: center; gap: 12px; margin-top: 36px; }
.testimonial-nav button {
    width: 46px; height: 46px;
    border-radius: 50%;
    border: 1.5px solid var(--line);
    background: #fff;
    color: var(--plum);
    display: grid; place-items: center;
    cursor: pointer;
    transition: all .25s ease;
}
.testimonial-nav button:hover:not(:disabled) { background: var(--plum); color: #fff; border-color: var(--plum); }
.testimonial-nav button:disabled { opacity: .35; cursor: not-allowed; }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery { background: var(--cream); }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 16px;
}
.gallery-item {
    position: relative;
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: var(--cream-2);
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.22, .61, .36, 1);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 30px 18px 14px;
    font-size: .86rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(transparent, rgba(31, 15, 43, .88));
    transform: translateY(101%);
    transition: transform .35s ease;
}
.gallery-item:hover figcaption { transform: none; }
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(2) { grid-row: span 2; }
.gallery-item:nth-child(3) { grid-row: span 2; }
.gallery-item:nth-child(4) { grid-column: span 2; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
    background: linear-gradient(120deg, var(--accent-strong), var(--accent) 55%, var(--accent-2));
    color: #fff;
    padding: 74px 0;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(500px 260px at 85% 20%, rgba(255,255,255,.22), transparent 70%);
}
.cta-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.cta-inner h2 { color: #fff; margin: 0 0 .2em; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.cta-inner p { margin: 0; color: rgba(255,255,255,.92); max-width: 560px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { background: var(--cream); }
.contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 60px;
    align-items: start;
}
.contact-info h2 { font-size: clamp(2rem, 3.6vw, 2.7rem); }
.info-list { display: grid; gap: 18px; margin: 32px 0; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list .info-ico {
    width: 46px; height: 46px; border-radius: 13px;
    display: grid; place-items: center;
    background: #fff;
    color: var(--accent-strong);
    box-shadow: var(--shadow-sm);
    flex: none;
}
.info-list b { display: block; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.info-list span { font-size: 1.02rem; color: var(--ink); }
.socials { display: flex; gap: 12px; flex-wrap: wrap; }
.socials a {
    width: 46px; height: 46px; border-radius: 13px;
    display: grid; place-items: center;
    background: var(--plum); color: #fff;
    transition: transform .25s ease, background .25s ease;
}
.socials a:hover { transform: translateY(-3px); background: var(--accent-strong); }

.contact-form {
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    padding: 42px 40px;
    box-shadow: var(--shadow);
}
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--plum); margin-bottom: 8px; }
.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1.5px solid var(--line);
    background: var(--cream);
    font-family: inherit;
    font-size: 1rem;
    color: var(--ink);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(232,110,82,.14);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.captcha {
    border: 1.5px dashed rgba(78,140,132,.5);
    background: rgba(78,140,132,.06);
    border-radius: var(--radius-sm);
    padding: 18px 20px;
    margin-bottom: 22px;
}
.captcha-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.captcha-q {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--plum);
}
.captcha-refresh {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: .82rem; font-weight: 600; color: var(--accent-strong);
    background: none; border: none; cursor: pointer; padding: 4px;
}
.captcha-refresh:hover { text-decoration: underline; }
.captcha-refresh.spin .icon { animation: spin .6s linear; }
@keyframes spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
.captcha .field { margin-bottom: 0; }
.captcha input[type="text"],
.captcha input[type="number"] {
    width: 100%;
    max-width: 100%;
    appearance: none;
    -moz-appearance: textfield;
}
.captcha input::-webkit-outer-spin-button,
.captcha input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.form-note { font-size: .82rem; color: var(--muted); margin: 14px 0 0; }

.alert {
    border-radius: var(--radius-sm);
    padding: 15px 18px;
    margin-bottom: 22px;
    font-size: .95rem;
    border: 1px solid transparent;
}
.alert-success { background: #e8f5ef; border-color: #b6e0cb; color: #1c6b45; }
.alert-error { background: #fdecea; border-color: #f5c2bb; color: #9c2c17; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--plum-dark); color: rgba(255,255,255,.78); padding: 82px 0 0; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 46px;
    padding-bottom: 56px;
}
.footer-brand .brand-name { color: #fff; font-size: 1.5rem; }
.site-footer p { font-size: .95rem; color: rgba(255,255,255,.6); }
.footer-col h4 {
    color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
    font-family: var(--font-body); font-weight: 700; margin-bottom: 20px;
}
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { color: rgba(255,255,255,.7); font-size: .95rem; transition: color .2s ease; }
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    padding: 22px 0;
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    font-size: .85rem; color: rgba(255,255,255,.55);
}

/* ==========================================================================
   Floating UI
   ========================================================================== */
.to-top {
    position: fixed;
    right: 24px; bottom: 24px;
    width: 50px; height: 50px;
    border-radius: 50%;
    background: var(--plum); color: #fff;
    border: none; cursor: pointer;
    display: grid; place-items: center;
    box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: all .3s ease;
    z-index: 900;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent-strong); }

.whatsapp-float {
    position: fixed; left: 24px; bottom: 24px;
    width: 54px; height: 54px; border-radius: 50%;
    background: #25d366; color: #fff;
    display: grid; place-items: center;
    box-shadow: var(--shadow); z-index: 900;
}
.whatsapp-float:hover { transform: translateY(-3px); }

.cookie-notice {
    position: fixed; left: 24px; right: 24px; bottom: 24px;
    max-width: 640px; margin: 0 auto;
    background: var(--plum-dark); color: #fff;
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
    box-shadow: var(--shadow-lg); z-index: 950;
}
.cookie-notice p { margin: 0; font-size: .9rem; color: rgba(255,255,255,.82); }
.cookie-notice .btn { padding: 10px 20px; }

/* ==========================================================================
   Maintenance
   ========================================================================== */
.maintenance {
    min-height: 100vh; display: grid; place-items: center; text-align: center;
    background: var(--plum); color: #fff; padding: 40px 24px;
}
.maintenance img { height: 72px; margin: 0 auto 26px; border-radius: 16px; }
.maintenance h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); }
.maintenance p { color: rgba(255,255,255,.75); max-width: 520px; margin: 0 auto 28px; }

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
    .timeline { grid-template-columns: repeat(3, 1fr); }
    .testimonial-track { grid-auto-columns: calc((100% - 26px) / 2); }
}

@media (max-width: 920px) {
    .about-grid, .approach-grid, .contact-grid { grid-template-columns: 1fr; gap: 54px; }
    .about-accent { display: none; }
    .about-grid { gap: 40px; }
    .cards { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .compare-grid { grid-template-columns: 1fr; }

    .nav {
        position: fixed;
        inset: var(--header-h) 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--cream);
        padding: 12px 20px 24px;
        box-shadow: var(--shadow);
        transform: translateY(-120%);
        transition: transform .4s cubic-bezier(.22,.61,.36,1);
        border-bottom: 1px solid var(--line);
    }
    .nav.open { transform: translateY(0); }
    .nav a { color: var(--plum); padding: 15px 12px; border-radius: 10px; border-bottom: 1px solid var(--line-soft); }
    .nav a::after { display: none; }
    .nav-cta { text-align: center; margin: 12px 0 0; }
    .nav-toggle { display: flex; }
}

@media (max-width: 680px) {
    body { font-size: 16px; }
    .section { padding: 78px 0; }
    .container { padding: 0 20px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 18px; }
    .cards { grid-template-columns: 1fr; }
    .timeline { grid-template-columns: 1fr; }
    .testimonial-track { grid-auto-columns: 100%; }
    .footer-grid { grid-template-columns: 1fr; gap: 34px; }
    .contact-form { padding: 30px 22px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
    .gallery-item:nth-child(n) { grid-column: auto; grid-row: auto; }
    .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
    .gallery-item figcaption { transform: none; }
    .field-row { grid-template-columns: 1fr; gap: 0; }
    .brand-sub { display: none; }
    .hero-actions .btn { width: 100%; }
    .about-badge { right: 8px; }
}
