/* =========================================================
   DIGITORA — main stylesheet
   Colors: ink, mint (brand), paper, moss, fog
   Type: Unbounded (display) + Instrument Sans (body)
   ========================================================= */

:root {
    --ink: #06140E;
    --moss: #173326;
    --mint: #12D18E;
    --mint-deep: #0BA872;
    --paper: #EEF3EE;
    --fog: #8FA39A;
    --line-dark: rgba(238, 243, 238, .14);
    --line-light: rgba(6, 20, 14, .12);

    --f-display: 'Unbounded', 'Arial Black', sans-serif;
    --f-body: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;

    --r-lg: 32px;
    --r-md: 20px;
    --pad-section: clamp(5rem, 11vw, 9rem);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--f-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
::selection { background: var(--mint); color: var(--ink); }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; font-weight: 700; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

.skip-link {
    position: fixed; left: 1rem; top: -4rem; z-index: 10000;
    background: var(--mint); color: var(--ink); padding: .75rem 1rem; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.container-x { width: min(1320px, 92vw); margin-inline: auto; }

.section-title {
    font-family: var(--f-display);
    font-size: clamp(2.2rem, 5.2vw, 4.75rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -.035em;
}
.section-head {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    align-items: end;
    gap: 2rem;
    margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.section-head p { max-width: 38ch; color: #4d5f57; margin: 0; }
.section-head--light p { color: var(--fog); }

/* Split text line mask */
.split-line { overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }

/* ---------- Buttons ---------- */
.btn-d, .btn-ink, .btn-ghost {
    display: inline-flex; align-items: center; gap: .6rem;
    font-family: var(--f-body); font-weight: 600; font-size: 1rem;
    padding: 1rem 1.75rem; border-radius: 999px; border: 0;
    cursor: pointer; white-space: nowrap;
    transition: background-color .25s, color .25s, border-color .25s;
}
.btn-d { background: var(--mint); color: var(--ink); }
.btn-d:hover { background: var(--paper); color: var(--ink); }
.btn-d--small { padding: .7rem 1.25rem; font-size: .95rem; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--moss); color: var(--mint); }
.btn-ghost { background: transparent; color: var(--paper); border: 1.5px solid var(--line-dark); }
.btn-ghost:hover { border-color: var(--mint); color: var(--mint); }
.btn-ghost i { font-size: .8rem; }

/* ---------- Preloader ---------- */
.preloader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--ink); color: var(--paper);
    display: flex; align-items: flex-end; justify-content: space-between;
    padding: 4vw;
    clip-path: inset(0 0 0 0);
}
.preloader-inner { display: flex; align-items: flex-end; justify-content: space-between; width: 100%; }
.preloader-count {
    font-family: var(--f-display); font-weight: 800;
    font-size: clamp(5rem, 18vw, 16rem); line-height: .8; color: var(--mint);
    font-variant-numeric: tabular-nums;
}
.preloader-name { font-family: var(--f-display); font-size: 1rem; letter-spacing: .02em; }

/* ---------- Cursor ---------- */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 9998; }
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.cursor-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--mint); }
.cursor-ring {
    width: 44px; height: 44px; margin: -22px 0 0 -22px;
    border: 1.5px solid var(--paper); mix-blend-mode: difference;
    display: grid; place-items: center;
    transition: width .3s, height .3s, margin .3s, background-color .3s, border-color .3s;
}
.cursor-label { font-style: normal; font-size: .75rem; font-weight: 600; color: var(--ink); opacity: 0; transition: opacity .2s; }
.cursor.is-link .cursor-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
.cursor.has-label .cursor-ring {
    width: 88px; height: 88px; margin: -44px 0 0 -44px;
    background: var(--mint); border-color: var(--mint); mix-blend-mode: normal;
}
.cursor.has-label .cursor-label { opacity: 1; }
.cursor.has-label .cursor-dot { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
@media (hover: hover) and (pointer: fine) { body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; } }

/* ---------- Header ---------- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 1.25rem 0; color: var(--paper);
    transition: transform .45s cubic-bezier(.7,0,.2,1), background-color .3s, padding .3s;
}
.site-header.is-scrolled { background: rgba(6, 20, 14, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: .8rem 0; }
.site-header.is-hidden { transform: translateY(-110%); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.logo { font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.03em; color: var(--paper); }
.logo span { color: var(--mint); }
.logo:hover { color: var(--paper); }
.main-nav { display: flex; gap: 2rem; }
.main-nav a { font-weight: 500; position: relative; padding: .25rem 0; }
.main-nav a::after {
    content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1.5px;
    background: var(--mint); transform: scaleX(0); transform-origin: right; transition: transform .35s;
}
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 1.25rem; }
.header-phone { font-weight: 500; font-size: .95rem; }
.header-phone i { color: var(--mint); margin-right: .3rem; }
.menu-toggle {
    display: none; width: 44px; height: 44px; border-radius: 50%;
    border: 1.5px solid var(--line-dark); background: transparent; position: relative;
}
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--paper); transition: transform .35s, top .35s; }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-open .menu-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

.menu-overlay {
    position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--paper);
    display: flex; flex-direction: column; justify-content: space-between;
    padding: 7rem 6vw 2.5rem;
    clip-path: circle(0% at calc(100% - 3rem) 2.5rem);
    transition: clip-path .7s cubic-bezier(.7,0,.2,1);
    visibility: hidden;
}
.menu-open .menu-overlay { clip-path: circle(150% at calc(100% - 3rem) 2.5rem); visibility: visible; }
.menu-links { display: flex; flex-direction: column; gap: .5rem; }
.menu-links a { font-family: var(--f-display); font-size: clamp(2.2rem, 10vw, 4rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.menu-links a:hover { color: var(--mint); }
.menu-foot { display: flex; flex-direction: column; gap: .25rem; color: var(--fog); }

/* ---------- Hero ---------- */
.hero {
    position: relative; height: 100vh; min-height: 640px;
    background: var(--ink); color: var(--paper); overflow: hidden;
}
.hero-portal {
    position: absolute; inset: 0; z-index: 1;
    clip-path: circle(13vmax at 50% 54%);
}
.hero-portal video { width: 100%; height: 100%; object-fit: cover; }
.hero-portal::after { content: ""; position: absolute; inset: 0; background: rgba(6, 20, 14, .3); }

.hero-content {
    position: relative; z-index: 2; height: 100%;
    display: grid; place-items: center; text-align: center;
    pointer-events: none; mix-blend-mode: difference;
}
.hero-title {
    font-family: var(--f-display); font-weight: 800;
    font-size: clamp(2.6rem, 9.4vw, 10rem);
    line-height: .94; letter-spacing: -.05em;
    color: var(--paper);
}
.hero-line { display: block; overflow: hidden; padding-bottom: .05em; }
.hero-line--1 { padding-right: 16vw; }
.hero-line--3 { padding-left: 14vw; }

.hero-reveal {
    position: absolute; z-index: 3; left: 50%; top: 50%;
    width: min(16ch, 86vw);
    transform: translate(-50%, -50%);
    font-family: var(--f-display); font-weight: 700;
    font-size: clamp(1.8rem, 4.6vw, 4rem); line-height: 1.05; letter-spacing: -.03em;
    text-align: center; margin: 0; opacity: 0; pointer-events: none;
}

.hero-meta {
    position: absolute; z-index: 3; left: 0; right: 0; bottom: 2.25rem;
    display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem;
}
.hero-meta p { max-width: 34ch; margin: 0; color: rgba(238, 243, 238, .78); font-size: .98rem; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* ---------- Marquee ---------- */
.marquee { background: var(--mint); color: var(--ink); padding: 2.2rem 0; overflow: hidden; }
.marquee-row { overflow: hidden; }
.marquee-track { display: flex; align-items: center; width: max-content; will-change: transform; }
.marquee-item {
    font-family: var(--f-display); font-weight: 700;
    font-size: clamp(2rem, 5.5vw, 5rem); letter-spacing: -.04em; line-height: 1.15;
    padding: 0 1.75rem;
}
.marquee-dot { width: .6rem; height: .6rem; border-radius: 50%; background: var(--ink); flex: none; }
.marquee-row--outline .marquee-item { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.marquee-row--outline .marquee-dot { background: transparent; border: 1.5px solid var(--ink); }

/* ---------- Services (horizontal) ---------- */
.services { background: var(--ink); color: var(--paper); }
.services-pin { height: 100vh; min-height: 640px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; position: relative; }
.services-track { display: flex; align-items: stretch; gap: 1.5rem; padding: 0 4vw; width: max-content; will-change: transform; }
.services-intro { width: min(34vw, 460px); display: flex; flex-direction: column; justify-content: center; padding-right: 3rem; }
.services-intro p { color: var(--fog); max-width: 30ch; margin-top: 1.5rem; }
.services-hint { color: var(--mint); font-size: .95rem; font-weight: 500; margin-top: 1rem; }
.services-hint i { margin-right: .4rem; }
.service-panel {
    width: 400px; min-height: 60vh;
    border: 1px solid var(--line-dark); border-radius: var(--r-lg);
    padding: 2.25rem; display: flex; flex-direction: column;
    background: rgba(23, 51, 38, .35);
    transition: background-color .4s, color .4s, border-color .4s;
}
.service-panel h3 { font-family: var(--f-display); font-size: 1.65rem; line-height: 1.12; letter-spacing: -.03em; margin-bottom: 1.25rem; }
.service-panel p { color: var(--fog); transition: color .4s; }
.service-panel ul { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 2rem; }
.service-panel li { border: 1px solid var(--line-dark); border-radius: 999px; padding: .35rem .85rem; font-size: .88rem; transition: border-color .4s; }
.service-link { margin-top: auto; font-weight: 600; color: var(--mint); align-self: flex-start; border-bottom: 1.5px solid currentColor; padding-bottom: .15rem; transition: color .4s; }
.service-panel:hover { background: var(--mint); color: var(--ink); border-color: var(--mint); }
.service-panel:hover p { color: var(--moss); }
.service-panel:hover li { border-color: rgba(6, 20, 14, .3); }
.service-panel:hover .service-link { color: var(--ink); }
.services-progress { position: absolute; left: 4vw; right: 4vw; bottom: 2.5rem; height: 2px; background: var(--line-dark); }
.services-progress span { display: block; height: 100%; background: var(--mint); transform: scaleX(0); transform-origin: left; }

/* ---------- Work ---------- */
.work { padding: var(--pad-section) 0 calc(var(--pad-section) * .6); }
.work-list { display: flex; flex-direction: column; gap: 3vh; }
.work-card {
    position: relative; overflow: hidden;
    height: min(78vh, 700px); min-height: 460px;
    border-radius: var(--r-lg); background: var(--bg); color: var(--fg);
    padding: clamp(1.5rem, 3vw, 2.75rem);
    display: flex; flex-direction: column; justify-content: space-between;
    transform-origin: center top; will-change: transform;
}
.work-meta { display: flex; justify-content: space-between; font-weight: 500; position: relative; z-index: 2; }
.work-title {
    font-family: var(--f-display); font-weight: 800;
    font-size: clamp(2.6rem, 8.5vw, 8rem); line-height: .9; letter-spacing: -.05em;
    position: relative; z-index: 2;
}
.work-media { position: absolute; inset: 0; z-index: 1; }
.work-media img { width: 100%; height: 100%; object-fit: cover; }

/* placeholder browser mockup */
.work-mock {
    position: absolute; z-index: 1; right: clamp(1.5rem, 4vw, 4rem); top: 50%;
    width: min(46%, 560px); aspect-ratio: 16 / 10; transform: translateY(-58%) rotate(-3deg);
    border-radius: 18px; background: var(--fg); opacity: .95; overflow: hidden;
}
.work-mock-bar { height: 12%; display: flex; align-items: center; gap: 6px; padding: 0 4%; border-bottom: 1px solid color-mix(in srgb, var(--bg) 30%, transparent); }
.work-mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--bg); opacity: .5; }
.work-mock-body { position: relative; height: 88%; padding: 8% 7%; }
.work-mock-body span:not(.w-circle) { display: block; height: 10%; border-radius: 6px; background: var(--bg); margin-bottom: 5%; }
.work-mock-body .w1 { width: 70%; }
.work-mock-body .w2 { width: 50%; opacity: .6; }
.work-mock-body .w3 { width: 30%; height: 14% !important; border-radius: 999px !important; margin-top: 10%; }
.work-mock-body .w-circle { position: absolute; right: 8%; bottom: 10%; width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--bg); opacity: .9; }

/* ---------- Process ---------- */
.process { padding: var(--pad-section) 0; border-top: 1px solid var(--line-light); }
.process-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 7vw, 7rem); }
.process-head p { color: #4d5f57; max-width: 34ch; margin: 1.5rem 0 2rem; }
.process-steps { position: relative; padding-left: 4.5rem; display: flex; flex-direction: column; gap: 3.5rem; }
.process-line { position: absolute; left: 1.45rem; top: .5rem; bottom: .5rem; width: 2px; background: var(--line-light); }
.process-fill { display: block; height: 100%; background: var(--mint); transform: scaleY(0); transform-origin: top; }
.process-step { position: relative; }
.process-num {
    position: absolute; left: -4.5rem; top: -.2rem;
    width: 3rem; height: 3rem; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--paper); border: 2px solid var(--line-light);
    font-family: var(--f-display); font-weight: 700;
    transition: background-color .4s, border-color .4s;
}
.process-step.is-active .process-num { background: var(--mint); border-color: var(--mint); }
.process-step h3 { font-family: var(--f-display); font-size: 1.8rem; letter-spacing: -.03em; margin-bottom: .6rem; }
.process-step p { color: #4d5f57; max-width: 44ch; margin: 0; }

/* ---------- Packages ---------- */
.packages { background: var(--ink); color: var(--paper); padding: var(--pad-section) 0; }
.pkg-tabs { gap: .5rem; margin-bottom: 2.5rem; border: 0; flex-wrap: wrap; }
.pkg-tabs .nav-link {
    border: 1.5px solid var(--line-dark); border-radius: 999px; color: var(--paper);
    padding: .7rem 1.4rem; font-weight: 600; background: transparent;
}
.pkg-tabs .nav-link:hover { border-color: var(--mint); color: var(--mint); }
.pkg-tabs .nav-link.active { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.pkg-card {
    position: relative; border: 1px solid var(--line-dark); border-radius: var(--r-lg);
    padding: 2.25rem; display: flex; flex-direction: column;
}
.pkg-card h3 { font-size: 1.15rem; font-weight: 600; font-family: var(--f-body); }
.pkg-price { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.8rem, 4.5vw, 4rem); letter-spacing: -.05em; line-height: 1; margin: 1rem 0 1.75rem; }
.pkg-price sup { font-size: .4em; top: -1.1em; margin-right: .1em; font-weight: 600; }
.pkg-card ul { display: flex; flex-direction: column; gap: .7rem; margin-bottom: 2.25rem; }
.pkg-card li { display: flex; gap: .7rem; font-size: .98rem; }
.pkg-card li i { color: var(--mint); margin-top: .3rem; font-size: .8rem; }
.pkg-card .pkg-order { margin-top: auto; justify-content: center; white-space: normal; text-align: center; }
.pkg-card--featured { background: var(--mint); color: var(--ink); border-color: var(--mint); }
.pkg-card--featured li i { color: var(--ink); }
.pkg-badge { position: absolute; top: 1.5rem; right: 1.5rem; background: var(--ink); color: var(--mint); font-size: .8rem; font-weight: 600; padding: .3rem .8rem; border-radius: 999px; }

/* ---------- Testimonials ---------- */
.testimonials { padding: var(--pad-section) 0; }
.testimonial-swiper { padding-bottom: 3.5rem !important; }
.t-card { margin: 0; background: #fff; border: 1px solid var(--line-light); border-radius: var(--r-lg); padding: 2.5rem; height: auto; display: flex; flex-direction: column; }
.t-stars { color: var(--mint-deep); font-size: .9rem; display: flex; gap: .2rem; margin-bottom: 1.25rem; }
.t-card blockquote { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.45; margin: 0 0 2rem; }
.t-card figcaption { margin-top: auto; display: flex; flex-direction: column; }
.t-card figcaption span { color: #4d5f57; font-size: .95rem; }
.testimonial-swiper .swiper-pagination-bullet { background: var(--ink); opacity: .25; width: 10px; height: 10px; }
.testimonial-swiper .swiper-pagination-bullet-active { background: var(--mint-deep); opacity: 1; width: 28px; border-radius: 6px; }

/* ---------- FAQ ---------- */
.faq { padding: 0 0 var(--pad-section); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 6vw, 6rem); }
.faq-grid > div:first-child p { color: #4d5f57; margin-top: 1.5rem; }
.faq-grid > div:first-child a { border-bottom: 1.5px solid var(--mint-deep); font-weight: 600; }
.faq-item { border-bottom: 1px solid var(--line-light); }
.faq-item h3 { font-size: inherit; }
.faq-q {
    width: 100%; background: none; border: 0; text-align: left; color: var(--ink);
    padding: 1.5rem 3rem 1.5rem 0; position: relative;
    font-family: var(--f-body); font-weight: 600; font-size: 1.15rem;
}
.faq-icon { position: absolute; right: .25rem; top: 50%; width: 1.6rem; height: 1.6rem; margin-top: -.8rem; border-radius: 50%; background: var(--mint); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; margin: -1px 0 0 -5px; background: var(--ink); transition: transform .3s; }
.faq-icon::after { transform: rotate(90deg); }
.faq-q:not(.collapsed) .faq-icon::after { transform: rotate(0); }
.faq-a { color: #4d5f57; padding: 0 3rem 1.5rem 0; margin: 0; }

/* ---------- Contact ---------- */
.contact { background: var(--mint); padding: var(--pad-section) 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.contact-title { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 6vw, 5.75rem); line-height: .98; letter-spacing: -.05em; margin-bottom: 1.5rem; }
.contact-info > p { font-size: 1.15rem; max-width: 32ch; }
.contact-info ul { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.contact-info li { display: flex; gap: .9rem; align-items: baseline; }
.contact-info li i { width: 1rem; }
.contact-info a { border-bottom: 1.5px solid var(--ink); }

.contact-form { background: var(--ink); color: var(--paper); border-radius: var(--r-lg); padding: clamp(1.75rem, 3.5vw, 3rem); display: flex; flex-direction: column; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field label { font-weight: 500; font-size: .95rem; }
.field input, .field select, .field textarea {
    width: 100%; background: transparent; color: var(--paper);
    border: 0; border-bottom: 1.5px solid var(--line-dark); border-radius: 0;
    padding: .7rem 0; font: inherit; transition: border-color .25s;
}
.field select option { color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: rgba(143, 163, 154, .7); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--mint); }
.field-error { display: none; color: #FF8A7A; font-size: .88rem; }
.field.has-error input, .field.has-error textarea { border-color: #FF8A7A; }
.field.has-error .field-error { display: block; }
.form-alert { background: rgba(255, 138, 122, .12); color: #FFB3A8; border-radius: 12px; padding: .9rem 1rem; margin: 0; }
.contact-form .btn-ink { background: var(--mint); color: var(--ink); align-self: flex-start; margin-top: .5rem; }
.contact-form .btn-ink:hover { background: var(--paper); color: var(--ink); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding-top: var(--pad-section); overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr .8fr; gap: 2.5rem; padding-bottom: 4rem; }
.footer-lead { font-family: var(--f-display); font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.15; letter-spacing: -.03em; max-width: 18ch; margin-bottom: 1.75rem; }
.footer-title { font-family: var(--f-body); font-size: .95rem; font-weight: 600; color: var(--fog); margin-bottom: 1.1rem; }
.footer-list { display: flex; flex-direction: column; gap: .6rem; font-size: .98rem; }
.footer-list a:hover { color: var(--mint); }
.footer-social i { width: 1.2rem; color: var(--mint); }
.footer-wordmark {
    font-family: var(--f-display); font-weight: 800;
    font-size: 15.5vw; line-height: .95; letter-spacing: -.06em;
    color: var(--mint); text-align: center; white-space: nowrap;
    padding-bottom: 2.5vw; overflow: hidden;
}
.footer-wordmark .char { display: inline-block; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.5rem 0; border-top: 1px solid var(--line-dark); color: var(--fog); font-size: .9rem; }
.footer-bottom a { margin-left: 1.25rem; }
.footer-bottom a:hover { color: var(--mint); }

/* ---------- Simple pages (thank you / 404) ---------- */
.simple-page { min-height: 100vh; background: var(--ink); color: var(--paper); display: grid; place-items: center; text-align: center; padding: 8rem 6vw 5rem; }
.simple-page h1 { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 8vw, 7rem); letter-spacing: -.05em; line-height: .95; margin-bottom: 1.5rem; }
.simple-page p { color: var(--fog); max-width: 40ch; margin: 0 auto 2rem; font-size: 1.15rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    .main-nav { gap: 1.25rem; }
    .header-phone { display: none; }
}
@media (max-width: 991px) {
    .main-nav, .header-actions .btn-d { display: none; }
    .menu-toggle { display: block; }

    .hero-line--1, .hero-line--3 { padding: 0; }
    .hero-meta { flex-direction: column; align-items: flex-start; }

    .services-pin { height: auto; min-height: 0; padding: var(--pad-section) 0; }
    .services-track { flex-direction: column; width: auto; padding: 0 4vw; }
    .services-intro { width: auto; padding: 0 0 1.5rem; }
    .services-hint, .services-progress { display: none; }
    .service-panel { width: auto; min-height: 0; }

    .section-head, .process-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
    .pkg-grid { grid-template-columns: 1fr; max-width: 520px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .work-mock { width: 70%; right: 50%; transform: translate(50%, -55%) rotate(-3deg); }
}
@media (max-width: 575px) {
    body { font-size: 1rem; }
    .hero { min-height: 600px; }
    .hero-meta { bottom: 1.5rem; }
    .hero-meta p { display: none; }
    .field-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .work-card { min-height: 420px; height: 70vh; }
    .work-mock { width: 86%; }
    .process-steps { padding-left: 3.75rem; }
    .process-num { left: -3.75rem; }
    .process-line { left: 1.45rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .hero-portal { clip-path: none; }
    .hero-content { mix-blend-mode: normal; }
    .hero-title { text-shadow: 0 2px 30px rgba(0,0,0,.4); }
    .process-fill { transform: scaleY(1); }
}

/* Fallbacks */
.hero-portal { background: var(--moss); }
.cursor { opacity: 0; }

/* =========================================================
   Digitora content sections
   ========================================================= */
.logo { display: inline-flex; align-items: center; }
.logo-img { height: 38px; width: auto; }

/* Guarantees strip */
.guarantees { background: var(--mint); color: var(--ink); border-bottom: 1px solid rgba(6, 20, 14, .15); }
.guarantee-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.guarantee { display: flex; align-items: center; gap: 1rem; padding: 1.6rem 1.5rem; font-weight: 600; line-height: 1.3; border-right: 1.5px solid rgba(6, 20, 14, .85); }
.guarantee:last-child { border-right: 0; }
.guarantee-icon { flex: none; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-size: 1.25rem; }

/* Intro */
.intro { padding: var(--pad-section) 0; }
.intro-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: end; }
.intro-side p { font-size: 1.2rem; max-width: 30ch; color: #4d5f57; margin-bottom: 1.75rem; }

/* Work with real images */
.work-card.has-image { padding: 0; }
.work-card.has-image .work-media { display: block; }
.work-card.has-image .work-media img { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.work-card.has-image:hover .work-media img { transform: scale(1.04); }
.work-card.has-image::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgba(6,20,14,.55) 0%, rgba(6,20,14,0) 22%, rgba(6,20,14,0) 55%, rgba(6,20,14,.75) 100%);
}
.work-card.has-image .work-meta,
.work-card.has-image .work-title { position: absolute; z-index: 2; left: clamp(1.5rem, 3vw, 2.75rem); right: clamp(1.5rem, 3vw, 2.75rem); color: var(--paper); pointer-events: none; }
.work-card.has-image .work-meta { top: clamp(1.25rem, 2.5vw, 2.25rem); }
.work-card.has-image .work-title { bottom: clamp(1.25rem, 2.5vw, 2.25rem); }

/* Packages: real content */
.pkg-grid--4 { grid-template-columns: repeat(4, 1fr); }
.pkg-grid--4 .pkg-card { padding: 1.75rem; }
.pkg-grid--4 .pkg-price { font-size: clamp(2.4rem, 3.2vw, 3.2rem); }
.pkg-card h3 { padding-right: 6.5rem; }
.pkg-note { color: var(--fog); font-size: .92rem; margin: -1rem 0 1.5rem; }
.pkg-card--featured .pkg-note { color: var(--moss); }
.pkg-card ul { margin-bottom: 0; }
.pkg-card li span em { display: inline-block; font-style: normal; font-size: .78rem; font-weight: 600; color: var(--ink); background: var(--mint); padding: .05rem .5rem; border-radius: 999px; margin-left: .3rem; }
.pkg-card--featured li span em { background: var(--ink); color: var(--mint); }
.pkg-addon i { color: var(--fog) !important; }
.pkg-more ul { padding-top: .7rem; }
.pkg-toggle { background: none; border: 0; padding: 0; margin: 1.1rem 0 1.75rem; color: var(--mint); font-weight: 600; text-align: left; border-bottom: 1.5px solid currentColor; align-self: flex-start; }
.pkg-card--featured .pkg-toggle { color: var(--ink); }
.pkg-toggle .show-less, .pkg-toggle:not(.collapsed) .show-more { display: none; }
.pkg-toggle:not(.collapsed) .show-less { display: inline; }
.pkg-card > ul:last-of-type:not(:has(+ .pkg-more)) { margin-bottom: 2rem; }

/* Awards */
.awards { padding: var(--pad-section) 0 calc(var(--pad-section) * .5); }
.awards-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.awards-grid .section-title { font-size: clamp(2rem, 3.8vw, 3.5rem); }
.awards-logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; align-items: center; }
.awards-logos img { width: 100%; height: auto; max-height: 150px; object-fit: contain; }

/* Clients logo marquee */
.clients { padding: calc(var(--pad-section) * .5) 0 var(--pad-section); overflow: hidden; }
.clients-title { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.6rem); letter-spacing: -.03em; line-height: 1.1; max-width: 22ch; margin-bottom: 3rem; }
.clients-row { overflow: hidden; padding: 1rem 0; border-top: 1px solid var(--line-light); }
.clients-row:last-child { border-bottom: 1px solid var(--line-light); }
.clients-row .marquee-track { gap: 4.5rem; padding-right: 4.5rem; }
.clients-row img { height: 56px; width: auto; max-width: 170px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.clients-row img:hover { filter: none; opacity: 1; }

/* Testimonials review button */
.btn-review { margin-top: 1.25rem; }

/* Footer */
.footer-about { color: var(--fog); max-width: 36ch; font-size: .95rem; margin-bottom: 1.75rem; }
.footer-star { color: var(--mint); }

@media (max-width: 1199px) {
    .pkg-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
    .guarantee-row { grid-template-columns: repeat(2, 1fr); }
    .guarantee:nth-child(2) { border-right: 0; }
    .guarantee:nth-child(-n+2) { border-bottom: 1.5px solid rgba(6, 20, 14, .85); }
    .intro-grid, .awards-grid { grid-template-columns: 1fr; }
    .pkg-grid--4 { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 575px) {
    .guarantee-row { grid-template-columns: 1fr; }
    .guarantee { border-right: 0; border-bottom: 1.5px solid rgba(6, 20, 14, .85); padding: 1.1rem .5rem; }
    .guarantee:last-child { border-bottom: 0; }
    .awards-logos { grid-template-columns: repeat(2, 1fr); }
    .clients-row img { height: 44px; }
    .logo-img { height: 32px; }
}
.logo .logo-text { color: var(--paper); }
.logo .logo-text span { color: var(--mint); }
.services-intro .section-title { font-size: clamp(2rem, 3.4vw, 3.4rem); }

/* =========================================================
   Multi-page: nav dropdown, inner pages
   ========================================================= */
.main-nav { align-items: center; gap: 1.6rem; }
.nav-drop { position: relative; }
.nav-drop-btn { background: none; border: 0; color: inherit; font: inherit; font-weight: 500; padding: .25rem 0; display: inline-flex; align-items: center; gap: .4rem; }
.nav-drop-btn i { font-size: .7rem; transition: transform .3s; }
.nav-drop-menu {
    position: absolute; top: calc(100% + 1rem); left: 50%; transform: translate(-50%, 8px);
    width: 280px; background: var(--ink); border: 1px solid var(--line-dark); border-radius: var(--r-md);
    padding: .6rem; display: flex; flex-direction: column;
    opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s;
    box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.nav-drop-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -1rem; height: 1rem; }
.nav-drop-menu a { padding: .65rem .85rem; border-radius: 12px; font-weight: 500; }
.nav-drop-menu a::after { display: none; }
.nav-drop-menu a:hover { background: var(--moss); color: var(--mint); }
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu, .nav-drop.is-open .nav-drop-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-drop:hover .nav-drop-btn i, .nav-drop.is-open .nav-drop-btn i { transform: rotate(180deg); }

.menu-overlay { overflow-y: auto; }
.menu-services { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 1.5rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); }
.menu-services a { font-family: var(--f-body); font-size: 1.05rem; font-weight: 500; color: var(--fog); }

.btn-outline { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; padding: 1rem 1.75rem; border-radius: 999px; border: 1.5px solid var(--ink); color: var(--ink); transition: background-color .25s, color .25s; }
.btn-outline:hover { background: var(--ink); color: var(--mint); }

/* Inner page hero */
.page-hero { position: relative; background: var(--ink); color: var(--paper); padding: clamp(9rem, 16vw, 13rem) 0 clamp(4rem, 8vw, 6.5rem); overflow: hidden; }
.page-hero-glow { position: absolute; width: 60vmax; height: 60vmax; right: -18vmax; top: -24vmax; border-radius: 50%; background: radial-gradient(circle, rgba(18,209,142,.32), rgba(18,209,142,0) 62%); pointer-events: none; }
.page-hero-inner { position: relative; }
.crumbs { display: flex; gap: .6rem; color: var(--fog); font-size: .92rem; margin-bottom: 1.75rem; }
.crumbs a:hover { color: var(--mint); }
.crumbs span:last-child { color: var(--mint); }
.page-hero-title { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.4rem, 6.4vw, 6rem); line-height: .98; letter-spacing: -.045em; max-width: 16ch; margin-bottom: 1.75rem; }
.page-hero-text { color: rgba(238,243,238,.78); font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 52ch; margin-bottom: 2.25rem; }

/* Split sections */
.split { padding: clamp(4rem, 8vw, 7rem) 0; }
.split + .split { padding-top: 0; }
.split--intro { padding-top: clamp(5rem, 10vw, 8rem); }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split--reverse .split-media { order: -1; }
.split--textonly .split-grid { grid-template-columns: 1fr; max-width: 820px; }
.split-text p { color: #4d5f57; font-size: 1.08rem; margin: 1.5rem 0 2rem; max-width: 56ch; }
.split-title { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: 1.05; letter-spacing: -.035em; }
.split-link { font-weight: 600; border-bottom: 1.5px solid var(--mint-deep); padding-bottom: .15rem; }
.split-link:hover { color: var(--mint-deep); }
.split-media { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: #e2eae3; }
.split-media img { width: 100%; height: auto; display: block; }

/* Steps (SEO) */
.steps-sec { padding: var(--pad-section) 0; background: #E4EBE4; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: none; }
.step-card { position: relative; background: var(--paper); border-radius: var(--r-lg); padding: 2rem; border: 1px solid var(--line-light); }
.step-num { position: absolute; top: 1.5rem; right: 1.5rem; font-family: var(--f-display); font-weight: 700; color: var(--mint-deep); }
.step-icon { width: 64px; height: 64px; object-fit: contain; margin-bottom: 1.25rem; }
.step-card h3 { font-family: var(--f-display); font-size: 1.3rem; letter-spacing: -.02em; margin-bottom: .6rem; }
.step-card p { color: #4d5f57; margin: 0; font-size: .98rem; }

/* Gallery */
.gallery-sec { padding: var(--pad-section) 0; }
.gallery { columns: 3 300px; column-gap: 1.25rem; }
.gallery-item { display: block; break-inside: avoid; margin-bottom: 1.25rem; border-radius: var(--r-md); overflow: hidden; position: relative; background: #e2eae3; }
.gallery-item img { width: 100%; height: auto; display: block; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-tag { position: absolute; left: 1rem; bottom: 1rem; background: var(--ink); color: var(--mint); font-size: .8rem; font-weight: 600; padding: .3rem .75rem; border-radius: 999px; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.gallery-item:hover .gallery-tag { opacity: 1; transform: none; }
.gallery-item.is-hidden { display: none; }
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter-btn { border: 1.5px solid var(--line-light); background: transparent; border-radius: 999px; padding: .6rem 1.2rem; font-weight: 600; color: var(--ink); }
.filter-btn span { color: var(--fog); font-weight: 500; margin-left: .25rem; }
.filter-btn:hover { border-color: var(--ink); }
.filter-btn.is-active { background: var(--ink); color: var(--mint); border-color: var(--ink); }
.filter-btn.is-active span { color: var(--paper); }
.work-more { display: flex; justify-content: center; margin-top: 3rem; }

/* About */
.about { padding: var(--pad-section) 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.about-media { position: relative; }
.about-media > img:first-child { width: 100%; border-radius: var(--r-lg); }
.about-circle { position: absolute; width: 38%; right: -6%; bottom: -8%; animation: spin 24s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.about-block { padding: 1.5rem 0; border-bottom: 1px solid var(--line-light); }
.about-block:first-of-type { margin-top: 1.5rem; }
.about-block h3 { font-family: var(--f-display); font-size: 1.35rem; letter-spacing: -.02em; margin-bottom: .5rem; }
.about-block p { color: #4d5f57; margin: 0; }
.about-text .hero-actions { margin-top: 2rem; }
.stats { background: var(--mint); padding: 3rem 0; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.stat-num { display: block; font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 6vw, 5rem); letter-spacing: -.05em; line-height: 1; }
.stat-label { font-weight: 600; }

/* Contact page */
.contact-page { padding: var(--pad-section) 0; }
.contact-page-grid { display: grid; grid-template-columns: .8fr 1.6fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-cards { display: flex; flex-direction: column; gap: .9rem; }
.c-card { display: grid; grid-template-columns: 2.6rem 1fr; grid-template-rows: auto auto; column-gap: .9rem; background: #fff; border: 1px solid var(--line-light); border-radius: var(--r-md); padding: 1.1rem 1.25rem; transition: border-color .25s; }
a.c-card:hover { border-color: var(--mint-deep); }
.c-card i { grid-row: span 2; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--ink); color: var(--mint); display: grid; place-items: center; }
.c-card span { font-size: .85rem; color: #4d5f57; }
.c-card strong { font-weight: 600; font-size: .98rem; line-height: 1.35; }
.brief-title { font-family: var(--f-display); font-size: 1.8rem; letter-spacing: -.03em; margin-bottom: .5rem; }
.brief-q { border: 0; padding: 0; margin: 0; }
.brief-q legend { font-weight: 600; font-size: 1rem; margin-bottom: .75rem; float: none; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips label { border: 1.5px solid var(--line-dark); border-radius: 999px; padding: .5rem 1rem; font-size: .92rem; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.chips label:hover { border-color: var(--mint); }
.chips input:checked + label { background: var(--mint); border-color: var(--mint); color: var(--ink); font-weight: 600; }
.chips input:focus-visible + label { outline: 3px solid var(--mint); outline-offset: 2px; }

.pkg-spacer { height: 1.75rem; }
.pkg-grid--1 { grid-template-columns: minmax(0, 420px); }
.pkg-grid--2 { grid-template-columns: repeat(2, minmax(0, 420px)); }

@media (max-width: 991px) {
    .split-grid, .about-grid, .contact-page-grid { grid-template-columns: 1fr; }
    .split--reverse .split-media { order: 0; }
    .steps-grid { grid-template-columns: 1fr 1fr; }
    .about-circle { width: 30%; right: 0; }
}
@media (max-width: 575px) {
    .steps-grid { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: 1fr; gap: 1.5rem; }
    .menu-services { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .about-circle { animation: none; } }
