/* ==========================================================================
   DM Craze — public site
   Dark premium theme. Solid colours only (no gradients / glows).
   --accent comes from admin Settings; the supporting palette is fixed.
   ========================================================================== */

:root {
    --bg: #0B0B0C;
    --surface: #141416;
    --surface-2: #1D1D20;
    --border: #2A2A2E;
    --text: #F4F4F0;
    --muted: #9A9A9F;
    --ink: #0B0B0C;

    --accent: #C6FF3D;
    --on-accent: #0B0B0C;
    --violet: #8B7BFF;
    --coral: #FF6B4A;
    --cream: #F2EEE3;
    --sky: #7CD4FF;

    --radius-lg: 32px;
    --radius: 24px;
    --radius-sm: 14px;

    --font-display: 'Clash Display', 'Satoshi', system-ui, sans-serif;
    --font-body: 'Satoshi', system-ui, sans-serif;
    --font-serif: 'Instrument Serif', Georgia, serif;
    --ease: cubic-bezier(.22, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.02em;
    word-spacing: .06em;
    line-height: 1;
    color: inherit;
}

a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--accent); padding-right: .04em; }
.on-light .serif, .tile-cream .serif, .tile-lime .serif, .tile-violet .serif { color: inherit; }
.text-muted-2 { color: var(--muted) !important; }
.text-accent { color: var(--accent) !important; }

/* ---------- Layout ---------- */
.section { padding: 140px 0; position: relative; }
.section-sm { padding: 90px 0; }
.container-wide { max-width: 1440px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: .8rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
    color: var(--muted);
    padding: 8px 16px; border: 1px solid var(--border); border-radius: 999px;
    margin-bottom: 26px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.on-light .eyebrow { border-color: rgba(11,11,12,.18); color: rgba(11,11,12,.7); }
.on-light .eyebrow .dot { background: var(--ink); }

.h-display { font-size: clamp(2.4rem, 5.6vw, 5rem); line-height: .98; }
.h-xl { font-size: clamp(2rem, 4.2vw, 3.6rem); }
.lead-muted { color: var(--muted); font-size: clamp(1.02rem, 1.4vw, 1.2rem); max-width: 560px; }
.section-head { margin-bottom: 72px; }

/* ---------- Buttons ---------- */
.btn-x {
    display: inline-flex; align-items: center; gap: 14px;
    padding: 8px 8px 8px 26px;
    border-radius: 999px;
    font-weight: 700; font-size: 1rem;
    border: 1px solid transparent;
    transition: transform .35s var(--ease), background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
    white-space: nowrap;
}
.btn-x .arr {
    width: 44px; height: 44px; border-radius: 50%;
    display: grid; place-items: center; font-size: 1.05rem;
    transition: transform .45s var(--ease), background-color .35s, color .35s;
}
.btn-x:hover .arr { transform: rotate(45deg); }
.btn-x:hover { transform: translateY(-2px); }

.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent .arr { background: var(--on-accent); color: var(--accent); }
.btn-accent:hover { background: var(--text); color: var(--ink); }
.btn-accent:hover .arr { background: var(--ink); color: var(--text); }

.btn-dark { background: var(--ink); color: var(--text); }
.btn-dark .arr { background: var(--accent); color: var(--on-accent); }
.btn-dark:hover { background: var(--surface-2); color: var(--text); }

.btn-line { background: transparent; color: var(--text); border-color: var(--border); padding: 8px 26px; min-height: 62px; }
.btn-line:hover { border-color: var(--text); color: var(--text); }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.link-arrow .bi { transition: transform .35s var(--ease); }
.link-arrow:hover .bi { transform: translate(3px, -3px); }

/* ---------- Preloader ---------- */
#preloader { position: fixed; inset: 0; z-index: 9999; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; transition: transform .8s var(--ease) .1s; }
#preloader.done { transform: translateY(-100%); }
.no-pl #preloader { display: none; }
#preloader .pl-word { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 8vw, 6rem); letter-spacing: -0.05em; overflow: hidden; }
#preloader .pl-word span { display: inline-block; animation: plUp .7s var(--ease) both; }
@keyframes plUp { from { transform: translateY(110%); } }

/* ---------- Cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 9998; pointer-events: none; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); transform: translate(-50%, -50%); opacity: 0; display: grid; place-items: center; transition: width .35s var(--ease), height .35s var(--ease), opacity .3s; }
.cursor.on { opacity: 1; }
.cursor.big { width: 84px; height: 84px; }
.cursor span { font-size: .72rem; font-weight: 700; color: var(--on-accent); opacity: 0; transition: opacity .2s; }
.cursor.big span { opacity: 1; }
.cursor.link { width: 36px; height: 36px; background: var(--text); mix-blend-mode: difference; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Navbar (floating pill) ---------- */
.nav-wrap { position: fixed; top: 16px; left: 0; right: 0; z-index: 1030; transition: transform .45s var(--ease); }
.nav-wrap.hide { transform: translateY(-130%); }
.nav-pill {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 999px; padding: 8px 8px 8px 22px;
    transition: background-color .3s, border-color .3s;
}
.nav-wrap.scrolled .nav-pill { background: var(--ink); border-color: #34343a; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.03em; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-mark { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-size: 1rem; transition: transform .6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(180deg); }
.brand img { max-height: 38px; width: auto; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { position: relative; display: block; padding: 10px 18px; border-radius: 999px; color: var(--muted); font-weight: 500; font-size: .97rem; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--ink); background: var(--cream); }
.nav-cta.btn-x { padding: 5px 5px 5px 20px; font-size: .95rem; }
.nav-cta .arr { width: 38px; height: 38px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--accent); color: var(--on-accent); font-size: 1.3rem; }

.mobile-menu { position: fixed; inset: 0; z-index: 1040; background: var(--accent); color: var(--on-accent); padding: 24px 20px 32px; display: flex; flex-direction: column; clip-path: circle(0 at calc(100% - 44px) 44px); transition: clip-path .7s var(--ease); visibility: hidden; }
.mobile-menu.open { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; }
.mobile-menu .brand, .mobile-menu .brand:hover { color: var(--on-accent); }
.mobile-menu .brand-mark { background: var(--on-accent); color: var(--accent); }
.mobile-menu .close { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--on-accent); color: var(--accent); font-size: 1.2rem; }
.mobile-menu ul { list-style: none; padding: 0; margin: auto 0; }
.mobile-menu li a { display: flex; align-items: baseline; gap: 14px; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 12vw, 4rem); letter-spacing: -0.04em; line-height: 1.1; color: var(--on-accent); }
.mobile-menu li a small { font-family: var(--font-body); font-size: .85rem; font-weight: 500; opacity: .6; letter-spacing: 0; }
.mobile-menu li a.active { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.mobile-menu .btn-dark { justify-content: space-between; }
.mobile-menu .socials a { border-color: rgba(11,11,12,.25); color: var(--on-accent); }

@media (max-width: 991.98px) {
    .nav-links, .nav-cta { display: none !important; }
    .nav-toggle { display: grid; place-items: center; }
    .nav-pill { padding: 6px 6px 6px 18px; }
}

/* ---------- Hero ---------- */
.hero { padding: 170px 0 100px; position: relative; }
.avail { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: .92rem; color: var(--muted); }
.pulse { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.pulse::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--accent); animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

.hero-title { font-size: clamp(3.1rem, 9.6vw, 9.4rem); line-height: .9; letter-spacing: -0.04em; word-spacing: .04em; font-weight: 600; margin: 34px 0 40px; }
.hero-title .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .ln > span { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 0 .22em; animation: lineUp 1s var(--ease) both; }
.hero-title .ln:nth-child(2) > span { animation-delay: .1s; }
.hero-title .ln:nth-child(3) > span { animation-delay: .2s; }
@keyframes lineUp { from { transform: translateY(105%); } }

.face-pill { display: inline-flex; align-items: center; height: .78em; padding: 0 .1em; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); vertical-align: middle; }
.face-pill img { width: .62em; height: .62em; border-radius: 50%; object-fit: cover; border: .04em solid var(--surface-2); margin-left: -.16em; }
.face-pill img:first-child { margin-left: 0; }
.face-pill .plus { width: .62em; height: .62em; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; margin-left: -.16em; border: .04em solid var(--surface-2); }
.face-pill .plus .bi { font-size: .3em; }

.rotator { display: inline-grid; vertical-align: bottom; overflow: hidden; }
.rotator .w { grid-area: 1 / 1; font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; color: var(--accent); transform: translateY(105%); opacity: 0; transition: transform .8s var(--ease), opacity .5s var(--ease); white-space: nowrap; padding-right: .06em; }
.rotator .w.on { transform: translateY(0); opacity: 1; }
.rotator .w.out { transform: translateY(-105%); }

.hero-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.hero-foot p { color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 480px; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero bento */
.hero-bento { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 250px 250px; gap: 16px; margin-top: 80px; }
.hb { position: relative; border-radius: var(--radius); overflow: hidden; padding: 28px; display: flex; flex-direction: column; }
.hb-img { grid-row: span 2; padding: 0; background: var(--surface); }
.hb-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hb-img:hover img { transform: scale(1.05); }
.hb-img .tag { position: absolute; left: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: var(--text); padding: 10px 16px; border-radius: 999px; font-weight: 500; font-size: .9rem; }
.hb .k { font-size: .9rem; font-weight: 500; opacity: .75; }
.hb .big { font-family: var(--font-display); font-weight: 600; font-size: clamp(3rem, 5vw, 4.6rem); letter-spacing: -0.03em; line-height: 1; margin-top: auto; }
.hb .corner { position: absolute; top: 22px; right: 22px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem; }
.tile-lime { background: var(--accent); color: var(--on-accent); }
.tile-violet { background: var(--violet); color: var(--ink); }
.tile-cream { background: var(--cream); color: var(--ink); }
.tile-coral { background: var(--coral); color: var(--ink); }
.tile-sky { background: var(--sky); color: var(--ink); }
.tile-dark { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.tile-lime .corner, .tile-violet .corner, .tile-cream .corner, .tile-coral .corner { background: var(--ink); color: var(--text); }
.hb-cream { grid-column: span 2; flex-direction: row; align-items: center; gap: 28px; }
.hb-cream .rating { font-family: var(--font-display); font-size: 4.2rem; font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.hb-cream .stars { color: var(--ink); }
.hb-cream blockquote { font-family: var(--font-serif); font-style: italic; font-size: 1.45rem; line-height: 1.3; margin: 0; border-left: 1px solid rgba(11,11,12,.2); padding-left: 28px; }
.hb-cream blockquote cite { display: block; font-family: var(--font-body); font-style: normal; font-size: .88rem; font-weight: 700; margin-top: 10px; }
.avatar-stack { display: flex; margin-top: auto; }
.avatar-stack img, .avatar-stack span { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 3px solid var(--violet); margin-left: -12px; }
.avatar-stack img:first-child { margin-left: 0; }
.avatar-stack span { display: grid; place-items: center; background: var(--ink); color: var(--text); font-weight: 700; font-size: .8rem; }

.spin-badge { position: absolute; z-index: 3; width: 140px; height: 140px; }
.spin-badge svg { width: 100%; height: 100%; animation: spin 14s linear infinite; }
.spin-badge text { font-family: var(--font-body); font-weight: 700; font-size: 11.5px; letter-spacing: 3.2px; text-transform: uppercase; }
.spin-badge .core { position: absolute; inset: 32%; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-bento .spin-badge { top: -60px; left: calc(1.4 / 3.4 * 100% - 170px); }
.spin-badge.lime circle.bg { fill: var(--accent); }
.spin-badge.lime text { fill: var(--on-accent); }
.spin-badge.lime .core { background: var(--on-accent); color: var(--accent); }
.spin-badge.dark circle.bg { fill: var(--ink); }
.spin-badge.dark text { fill: var(--accent); }
.spin-badge.dark .core { background: var(--accent); color: var(--on-accent); }

@media (max-width: 1199.98px) {
    .hero-bento .spin-badge { left: calc(1.4 / 3.4 * 100% - 150px); }
}
@media (max-width: 991.98px) {
    .hero { padding-top: 140px; }
    .hero-bento { grid-template-columns: 1fr 1fr; grid-template-rows: 340px 210px auto; }
    .hb-img { grid-column: span 2; grid-row: auto; }
    .hb-cream { grid-column: span 2; }
    .hero-bento .spin-badge { top: 270px; left: auto; right: 20px; width: 120px; height: 120px; }
}
@media (max-width: 575.98px) {
    .hero-bento { grid-template-columns: 1fr; grid-template-rows: 300px 200px 200px auto; }
    .hb-img, .hb-cream { grid-column: auto; }
    .hb-cream { flex-direction: column; align-items: flex-start; }
    .hb-cream blockquote { border-left: 0; padding-left: 0; }
    .hero-bento .spin-badge { top: -52px; right: 8px; width: 104px; height: 104px; }
    .hero-actions .btn-x { flex: 1 1 auto; justify-content: space-between; }
}

/* ---------- Marquee ---------- */
.logos { padding: 70px 0 40px; }
.logos-head { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: .95rem; margin-bottom: 36px; }
.logos-head::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.marquee { overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-item { display: flex; align-items: center; gap: 16px; padding: 0 44px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 2.2rem); letter-spacing: -0.04em; color: #5f5f66; white-space: nowrap; transition: color .3s; }
.logo-item:hover { color: var(--text); }
.logo-item .bi { font-size: .9em; color: var(--accent); }
.logo-item:nth-child(3n+2) { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; font-size: clamp(1.7rem, 2.7vw, 2.5rem); }
.logo-item img { height: 42px; width: auto; filter: grayscale(1) brightness(1.7); opacity: .55; transition: opacity .3s, filter .3s; }
.logo-item:hover img { filter: none; opacity: 1; }

/* Crossed strips */
.strips { position: relative; height: 220px; overflow: hidden; margin: 20px 0; }
.strip { position: absolute; left: -5%; right: -5%; top: 50%; padding: 20px 0; }
.strip.a { background: var(--accent); color: var(--on-accent); transform: translateY(-50%) rotate(-4deg); z-index: 2; }
.strip.b { background: var(--violet); color: var(--ink); transform: translateY(-50%) rotate(3deg); }
.strip .marquee-track { animation-duration: 40s; }
.strip span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 3vw, 2.4rem); letter-spacing: -0.035em; white-space: nowrap; }
.strip span .bi { font-size: .8em; }

/* ---------- Services flip cards (homepage) ---------- */
.flip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.flip-wrap { perspective: 1400px; }
.flip-card { position: relative; aspect-ratio: 3 / 4; transform-style: preserve-3d; transition: transform .8s var(--ease); }
.flip-wrap:focus-within .flip-card, .flip-wrap.flipped .flip-card { transform: rotateY(180deg); }
@media (hover: hover) { .flip-wrap:hover .flip-card { transform: rotateY(180deg); } .flip-wrap:hover .flip-back { pointer-events: auto; } }
.flip-face { position: absolute; inset: 0; border-radius: var(--radius); overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden; }

.flip-front { background: var(--surface); }
.flip-front img { width: 100%; height: 100%; object-fit: cover; }
.flip-front .ph { width: 100%; height: 100%; display: grid; place-items: center; background: var(--violet); color: var(--ink); font-size: 4rem; }
.flip-front .f-num { position: absolute; top: 16px; left: 16px; background: var(--ink); color: var(--text); font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; padding: 4px 14px; border-radius: 999px; }
.flip-front .f-ic { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-size: 1.2rem; }
.flip-front .f-name { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--ink); border-radius: var(--radius-sm); padding: 18px 20px; }
.flip-front h3 { font-size: clamp(1.25rem, 1.7vw, 1.6rem); line-height: 1.1; margin: 0; color: var(--text); }
.flip-front .f-name .bi { color: var(--accent); font-size: 1.3rem; flex-shrink: 0; }

.flip-back { transform: rotateY(180deg); pointer-events: none; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; color: var(--ink); }
.flip-wrap:nth-child(4n+1) .flip-back { background: var(--accent); color: var(--on-accent); }
.flip-wrap:nth-child(4n+2) .flip-back { background: var(--violet); }
.flip-wrap:nth-child(4n+3) .flip-back { background: var(--cream); }
.flip-wrap:nth-child(4n+4) .flip-back { background: var(--coral); }
.flip-wrap:focus-within .flip-back, .flip-wrap.flipped .flip-back { pointer-events: auto; }
.flip-wrap { cursor: pointer; }
.flip-back .b-top { display: flex; justify-content: space-between; align-items: center; }
.flip-back .b-ic { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--text); display: grid; place-items: center; font-size: 1.35rem; }
.flip-back .b-num { font-family: var(--font-serif); font-style: italic; font-size: 1.5rem; opacity: .7; }
.flip-back h3 { font-size: clamp(1.5rem, 2vw, 1.9rem); line-height: 1.05; margin-bottom: 12px; }
.flip-back p { font-size: 1rem; line-height: 1.5; opacity: .82; margin-bottom: 22px; }
.flip-back .btn-x { font-size: .95rem; padding: 6px 6px 6px 20px; }
.flip-back .btn-x .arr { width: 40px; height: 40px; }

@media (max-width: 1199.98px) { .flip-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 991.98px) { .flip-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .flip-grid { grid-template-columns: 1fr; } .flip-card { aspect-ratio: 4 / 3.6; } }
@media (prefers-reduced-motion: reduce) {
    /* No 3D spin: the back simply fades in over the front */
    .flip-card, .flip-wrap:hover .flip-card, .flip-wrap:focus-within .flip-card, .flip-wrap.flipped .flip-card { transform: none; }
    .flip-back { transform: none; opacity: 0; transition: opacity .2s; }
    .flip-wrap:hover .flip-back, .flip-wrap:focus-within .flip-back, .flip-wrap.flipped .flip-back { opacity: 1; }
}

/* ---------- Why us bento ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(260px, auto); gap: 16px; grid-auto-flow: dense; }
.wg { border-radius: var(--radius); padding: 34px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.wg-intro { grid-column: span 2; justify-content: space-between; }
.wg-intro h2 { font-size: clamp(2.2rem, 4.4vw, 4rem); max-width: 640px; }
.wg-intro p { max-width: 460px; opacity: .75; font-size: 1.08rem; }
.wg-img { grid-row: span 2; padding: 0; min-height: 540px; }
.wg-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.wg-img .cap { position: absolute; left: 20px; right: 20px; bottom: 20px; background: var(--ink); color: var(--text); border-radius: var(--radius-sm); padding: 18px 20px; display: flex; align-items: center; gap: 14px; }
.wg-img .cap strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; letter-spacing: -0.04em; color: var(--accent); }
.wg-usp .ic { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-size: 1.45rem; margin-bottom: auto; }
.wg-usp h3 { font-size: 1.45rem; margin: 40px 0 10px; }
.wg-usp p { color: var(--muted); margin: 0; }
.tile-dark.wg-usp { transition: border-color .35s, transform .45s var(--ease); }
.tile-dark.wg-usp:hover { border-color: var(--accent); transform: translateY(-4px); }
.wg-usp:nth-of-type(4n+1) .ic { background: var(--accent); color: var(--on-accent); }
.wg-usp:nth-of-type(4n+2) .ic { background: var(--violet); color: var(--ink); }
.wg-usp:nth-of-type(4n+3) .ic { background: var(--coral); color: var(--ink); }
.wg-usp:nth-of-type(4n+4) .ic { background: var(--cream); color: var(--ink); }
.wg-stat { justify-content: space-between; }
.wg-stat strong { font-family: var(--font-display); font-weight: 600; font-size: clamp(4rem, 7vw, 6.5rem); letter-spacing: -0.06em; line-height: .9; }
@media (max-width: 991.98px) {
    .why-grid { grid-template-columns: 1fr 1fr; }
    .wg-intro { grid-column: span 2; }
    .wg-img { grid-row: span 1; grid-column: span 2; min-height: 380px; }
}
@media (max-width: 575.98px) {
    .why-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .wg-intro, .wg-img { grid-column: auto; }
    .wg-intro { gap: 28px; }
    .wg { padding: 28px; }
}

/* ---------- Stats tiles ---------- */
.stat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-tile { border-radius: var(--radius); padding: 30px; min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; position: relative; transition: transform .5s var(--ease); }
.stat-tile:hover { transform: translateY(-6px) rotate(-1deg); }
.stat-tile:nth-child(4n+1) { background: var(--accent); color: var(--on-accent); }
.stat-tile:nth-child(4n+2) { background: var(--violet); color: var(--ink); }
.stat-tile:nth-child(4n+3) { background: var(--cream); color: var(--ink); }
.stat-tile:nth-child(4n+4) { background: var(--coral); color: var(--ink); }
.stat-tile .ic { width: 50px; height: 50px; border-radius: 50%; background: var(--ink); color: var(--text); display: grid; place-items: center; font-size: 1.2rem; }
.stat-tile .num { font-family: var(--font-display); font-weight: 600; font-size: clamp(3.4rem, 5.6vw, 5.4rem); letter-spacing: -0.06em; line-height: .9; }
.stat-tile .lbl { font-weight: 500; font-size: 1.02rem; margin-top: 10px; opacity: .8; }
@media (max-width: 991.98px) { .stat-tiles { grid-template-columns: 1fr 1fr; } .stat-tile { min-height: 220px; } }
@media (max-width: 479.98px) { .stat-tiles { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.process-wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: 80px; align-items: start; }
.process-sticky { position: sticky; top: 130px; }
.steps { display: grid; gap: 16px; }
.step { display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: start; padding: 34px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: background-color .45s var(--ease), color .45s, border-color .45s, transform .45s var(--ease); }
.step:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); transform: translateX(-8px); }
.step .no { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; font-family: var(--font-serif); font-style: italic; font-size: 1.7rem; transition: all .45s; }
.step:hover .no { background: var(--ink); color: var(--accent); border-color: var(--ink); }
.step h3 { font-size: 1.8rem; margin: 6px 0 10px; }
.step p { margin: 0; color: var(--muted); transition: color .45s; }
.step:hover p { color: rgba(11,11,12,.72); }
.step .bi-step { font-size: 1.6rem; color: var(--accent); transition: color .45s; }
.step:hover .bi-step { color: var(--ink); }
@media (max-width: 991.98px) { .process-wrap { grid-template-columns: 1fr; gap: 48px; } .process-sticky { position: static; } }
@media (max-width: 575.98px) { .step { grid-template-columns: 1fr; padding: 28px; gap: 14px; } .step .bi-step { display: none; } }

/* ---------- Testimonials (home) ---------- */
.testi-section { background: var(--cream); color: var(--ink); border-radius: var(--radius-lg); margin: 0 16px 16px; }
.testi-section .h-display .serif { color: var(--ink); }
.rating-pill { display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px; border-radius: 999px; background: var(--ink); color: var(--text); font-weight: 700; }
.rating-pill .bi { color: var(--accent); }
.tq { text-align: center; max-width: 980px; margin: 0 auto; padding: 0 8px; }
.tq .qmark { width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; background: var(--ink); color: var(--accent); display: grid; place-items: center; font-size: 1.8rem; }
.tq blockquote { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 3.1vw, 2.6rem); line-height: 1.2; letter-spacing: -0.015em; word-spacing: .06em; margin: 20px 0 36px; }
.tq .who { display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.tq .who img, .tq .who .ini { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; }
.tq .who .ini { display: grid; place-items: center; background: var(--ink); color: var(--accent); font-weight: 700; }
.tq .who strong { display: block; font-size: 1.05rem; }
.tq .who small { opacity: .65; }
.tq .stars { color: var(--ink); margin-bottom: 4px; font-size: .9rem; letter-spacing: 2px; }
.testi-thumbs { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 56px; flex-wrap: wrap; }
.testi-thumbs button { width: 56px; height: 56px; padding: 0; border-radius: 50%; border: 3px solid transparent; background: var(--ink); color: var(--accent); overflow: hidden; opacity: .45; transition: all .35s var(--ease); font-weight: 700; font-size: .85rem; }
.testi-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.testi-thumbs button.on { opacity: 1; border-color: var(--ink); transform: scale(1.15); }
.testi-thumbs .nav-b { opacity: 1; background: transparent; color: var(--ink); border: 1px solid rgba(11,11,12,.25); font-size: 1.1rem; }
.testi-thumbs .nav-b:hover { background: var(--ink); color: var(--cream); }
.video-btn { display: inline-flex; align-items: center; gap: 10px; margin-left: 18px; padding: 8px 16px 8px 8px; border-radius: 999px; border: 0; background: var(--ink); color: var(--text); font-weight: 600; font-size: .9rem; }
.video-btn .bi { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; }

/* ---------- Page hero (inner) ---------- */
.page-hero { padding: 180px 0 90px; position: relative; overflow: hidden; text-align: center; }
.page-hero h1 { font-size: clamp(3rem, 9vw, 8.4rem); letter-spacing: -0.04em; line-height: .92; margin: 0 auto 26px; max-width: 1100px; }
.page-hero h1 .ln { display: block; overflow: hidden; padding-bottom: .05em; }
.page-hero h1 .ln > span { display: inline-block; animation: lineUp 1s var(--ease) both; }
.page-hero p { color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 620px; margin: 0 auto; }
.crumbs { display: inline-flex; gap: 10px; align-items: center; list-style: none; padding: 8px 18px; margin: 0 0 30px; border: 1px solid var(--border); border-radius: 999px; font-size: .9rem; color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs .bi { font-size: .65rem; }
.crumbs .cur { color: var(--text); }
.sticker { position: absolute; pointer-events: none; display: grid; place-items: center; }
.sticker.star { width: 92px; height: 92px; color: var(--accent); font-size: 92px; left: 7%; top: 200px; animation: spin 16s linear infinite; }
.sticker.dot { width: 70px; height: 70px; border-radius: 50%; background: var(--violet); right: 9%; top: 260px; animation: bob 6s ease-in-out infinite; }
.sticker.sq { width: 46px; height: 46px; border-radius: 12px; background: var(--coral); right: 18%; bottom: 70px; transform: rotate(18deg); animation: bob 7s ease-in-out infinite reverse; }
@keyframes bob { 50% { translate: 0 -16px; } }
@media (max-width: 767.98px) { .sticker.star { width: 54px; height: 54px; font-size: 54px; top: 120px; left: 4%; } .sticker.dot { width: 40px; height: 40px; top: 130px; right: 6%; } .sticker.sq { display: none; } .page-hero { padding: 150px 0 70px; } }

/* ---------- About ---------- */
.story-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 90px; align-items: center; }
.collage { position: relative; padding-bottom: 70px; padding-right: 60px; }
.collage .main { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.collage .small { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); border: 8px solid var(--bg); }
.collage .placeholder { width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); background: var(--violet); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 8rem; color: var(--ink); }
.collage .years { position: absolute; left: -24px; top: 40px; width: 150px; height: 150px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; text-align: center; transform: rotate(-10deg); }
.collage .years strong { display: block; font-family: var(--font-display); font-size: 3.2rem; line-height: .9; letter-spacing: -0.05em; }
.collage .years span { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.rich-text { color: var(--muted); font-size: 1.1rem; }
.rich-text p { margin-bottom: 1.15em; }
.rich-text p:first-child { color: var(--text); font-size: clamp(1.25rem, 1.9vw, 1.55rem); line-height: 1.45; font-weight: 500; }
.founder { display: flex; align-items: center; gap: 14px; margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--border); }
.founder img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.founder strong { display: block; }
.founder small { color: var(--muted); }
@media (max-width: 991.98px) { .story-grid { grid-template-columns: 1fr; gap: 56px; } .collage { max-width: 520px; } .collage .years { left: 10px; width: 120px; height: 120px; } .collage .years strong { font-size: 2.4rem; } }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mv { border-radius: var(--radius-lg); padding: clamp(32px, 4vw, 56px); min-height: 360px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.mv .ic { width: 70px; height: 70px; border-radius: 50%; background: var(--ink); color: var(--text); display: grid; place-items: center; font-size: 1.7rem; }
.mv h3 { font-size: clamp(2rem, 3.4vw, 3rem); margin-bottom: 16px; }
.mv p { font-size: 1.15rem; margin: 0; opacity: .8; max-width: 520px; }
@media (max-width: 767.98px) { .mv-grid { grid-template-columns: 1fr; } .mv { min-height: 0; } }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.member { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: var(--surface); }
.member img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .6s var(--ease), transform 1s var(--ease); }
.member:hover img { filter: grayscale(0); transform: scale(1.05); }
.member .ini { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 5rem; color: var(--surface-2); }
.member .info { position: absolute; left: 12px; right: 12px; bottom: 12px; background: var(--ink); border-radius: var(--radius-sm); padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; transition: background-color .4s; }
.member:hover .info { background: var(--accent); color: var(--on-accent); }
.member h3 { font-size: 1.2rem; margin: 0 0 4px; letter-spacing: -0.02em; }
.member .info small { opacity: .7; font-size: .85rem; }
.member .soc { display: flex; gap: 4px; }
.member .soc a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--text); font-size: .9rem; }
.member:hover .soc a { background: var(--on-accent); color: var(--accent); }
@media (max-width: 991.98px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 479.98px) { .team-grid { grid-template-columns: 1fr; } .member { aspect-ratio: 4 / 5; } }

/* ---------- Testimonials page ---------- */
.review-summary { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 16px; margin-bottom: 16px; }
.review-summary > div { border-radius: var(--radius); padding: 30px; min-height: 200px; display: flex; flex-direction: column; justify-content: space-between; }
.review-summary strong { font-family: var(--font-display); font-weight: 600; font-size: 4rem; letter-spacing: -0.05em; line-height: 1; }
.review-summary h3 { font-size: 1.7rem; }
@media (max-width: 991.98px) { .review-summary { grid-template-columns: 1fr 1fr; } .review-summary > div:last-child { grid-column: span 2; } }
@media (max-width: 575.98px) { .review-summary { grid-template-columns: 1fr; } .review-summary > div:last-child { grid-column: auto; } }

.masonry { columns: 3 320px; column-gap: 16px; }
.r-card { break-inside: avoid; margin-bottom: 16px; border-radius: var(--radius); padding: 32px; background: var(--surface); border: 1px solid var(--border); transition: transform .45s var(--ease), border-color .35s; }
.r-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.r-card.tile-cream { background: var(--cream); border: 0; }
.r-card.tile-violet { background: var(--violet); border: 0; }
.r-card.tile-lime { background: var(--accent); border: 0; }
.r-card .stars { color: var(--accent); letter-spacing: 2px; font-size: .9rem; }
.r-card.tile-cream .stars, .r-card.tile-violet .stars, .r-card.tile-lime .stars { color: var(--ink); }
.r-card blockquote { font-size: 1.12rem; line-height: 1.55; margin: 18px 0 26px; }
.r-card.big blockquote { font-family: var(--font-display); font-weight: 500; font-size: 1.55rem; line-height: 1.25; letter-spacing: -0.01em; word-spacing: .08em; }
.person { display: flex; align-items: center; gap: 14px; }
.person img, .person .ini { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.person .ini { display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-weight: 700; }
.person strong { display: block; }
.person small { opacity: .65; }
.r-card .video-btn { margin: 0 0 0 auto; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.big-link { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 3.2vw, 2.8rem); letter-spacing: -0.015em; word-spacing: .12em; line-height: 1.1; word-break: break-word; }
.big-link span { background-image: linear-gradient(currentColor, currentColor); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .5s var(--ease); }
.big-link:hover span { background-size: 100% 2px; }
.info-list { list-style: none; padding: 0; margin: 44px 0 0; border-top: 1px solid var(--border); }
.info-list li { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.info-list .k { color: var(--muted); font-size: .92rem; }
.info-list a, .info-list span { font-weight: 500; }
.resp-badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: .92rem; }
@media (max-width: 991.98px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 479.98px) { .info-list li { grid-template-columns: 1fr; gap: 4px; } }

.form-card { background: var(--cream); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(28px, 4.5vw, 56px); }
.form-card h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.form-card .form-label, .form-card .grp-label { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(11,11,12,.6); margin-bottom: 6px; }
.form-card .form-control, .form-card .form-select { background-color: transparent; border: 0; border-bottom: 1.5px solid rgba(11,11,12,.25); border-radius: 0; padding: 10px 0 12px; font-size: 1.12rem; color: var(--ink); box-shadow: none; transition: border-color .3s; }
.form-card .form-control::placeholder { color: rgba(11,11,12,.38); }
.form-card .form-control:focus { border-bottom-color: var(--ink); background: transparent; }
.form-card textarea.form-control { resize: vertical; min-height: 120px; }
.form-card .is-invalid { border-bottom-color: #D9342B !important; }
.form-card .invalid-feedback { color: #C02A22; font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1.5px solid rgba(11,11,12,.2); font-weight: 500; font-size: .95rem; cursor: pointer; transition: all .25s var(--ease); user-select: none; }
.chip span:hover { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-card .btn-dark { width: 100%; justify-content: space-between; padding: 10px 10px 10px 30px; font-size: 1.1rem; }
.form-card .btn-dark .arr { width: 52px; height: 52px; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; height: 440px; background: var(--surface); }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.9) contrast(.9); }

/* ---------- Legal pages ---------- */
.legal-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 64px; align-items: start; }
.toc { position: sticky; top: 120px; }
.toc .t { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 16px; }
.toc a { display: block; padding: 9px 0 9px 18px; border-left: 2px solid var(--border); color: var(--muted); font-size: .95rem; }
.toc a:hover, .toc a.on { color: var(--text); border-left-color: var(--accent); }
.legal-content { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 64px); color: #C8C8CC; font-size: 1.08rem; }
.legal-content > p:first-child { font-size: 1.3rem; color: var(--text); line-height: 1.5; }
.legal-content h2, .legal-content h3, .legal-content h4 { color: var(--text); margin: 2em 0 .6em; font-size: 1.7rem; scroll-margin-top: 120px; }
.legal-content h3 { font-size: 1.45rem; }
.legal-content ul, .legal-content ol { padding-left: 1.2rem; }
.legal-content li { margin-bottom: .5em; }
.legal-content li::marker { color: var(--accent); }
.legal-content strong { color: var(--text); }
.legal-content a { color: var(--accent); text-decoration: underline; }
.legal-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.legal-content th, .legal-content td { border: 1px solid var(--border); padding: 10px 14px; }
.help-card { margin-top: 16px; border-radius: var(--radius-lg); padding: 36px clamp(28px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.help-card h3 { font-size: 1.8rem; margin: 0 0 6px; }
@media (max-width: 991.98px) { .legal-wrap { grid-template-columns: 1fr; gap: 0; } .toc { display: none; } }

/* ---------- Sitemap ---------- */
.sm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sm-card { display: flex; flex-direction: column; justify-content: space-between; gap: 50px; padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); min-height: 210px; color: var(--text); transition: background-color .4s var(--ease), color .4s, border-color .4s, transform .4s var(--ease); }
.sm-card:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); transform: translateY(-4px); }
.sm-card .top { display: flex; justify-content: space-between; align-items: center; }
.sm-card .grp { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; opacity: .6; }
.sm-card .bi { font-size: 1.4rem; transition: transform .4s var(--ease); }
.sm-card:hover .bi { transform: rotate(45deg); }
.sm-card h3 { font-size: 2rem; margin: 0 0 6px; }
.sm-card small { opacity: .6; }
@media (max-width: 991.98px) { .sm-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .sm-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { padding: 120px 0 0; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 72px; border-bottom: 1px solid var(--border); }
.footer-top h3 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); margin-bottom: 22px; }
.footer-top h4 { font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 500; margin-bottom: 22px; letter-spacing: .14em; }
.f-links { list-style: none; padding: 0; margin: 0; }
.f-links li { margin-bottom: 12px; }
.f-links a { position: relative; color: var(--text); }
.f-links a:hover { color: var(--accent); }
.f-links .muted { color: var(--muted); }
.newsletter { display: flex; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 6px; max-width: 420px; }
.newsletter input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--text); padding: 0 18px; outline: none; font-size: 1rem; }
.newsletter input::placeholder { color: #6b6b72; }
.newsletter button { border: 0; border-radius: 999px; padding: 0 22px; height: 50px; background: var(--accent); color: var(--on-accent); font-weight: 700; flex-shrink: 0; transition: background-color .3s; }
.newsletter button:hover { background: var(--text); }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; transition: all .35s var(--ease); }
.socials a:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: translateY(-3px) rotate(-8deg); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 26px 0; color: var(--muted); font-size: .92rem; }
.footer-bottom a:hover { color: var(--accent); }
@media (max-width: 991.98px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > div:first-child { grid-column: span 2; } }
@media (max-width: 479.98px) { .footer-top { grid-template-columns: 1fr; } .footer-top > div:first-child { grid-column: auto; } }

/* ---------- Floating buttons ---------- */
.float-wa, .back-top { position: fixed; right: 20px; z-index: 1020; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; transition: transform .35s var(--ease), opacity .3s, visibility .3s; }
.float-wa { bottom: 20px; background: #25D366; color: #fff; }
.float-wa:hover { color: #fff; transform: scale(1.08) rotate(-8deg); }
.back-top { bottom: 88px; background: var(--cream); color: var(--ink); border: 0; font-size: 1.2rem; opacity: 0; visibility: hidden; }
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--accent); }

/* ---------- Toast / modal / pagination ---------- */
.toast-dark { background: var(--ink); color: var(--text); border: 1px solid var(--accent); border-radius: var(--radius-sm); }
.toast-dark .bi { color: var(--accent); }
.modal-content.video { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.btn-close-white { filter: invert(1); }
.pagination { gap: 8px; justify-content: center; }
.pagination .page-link { background: var(--surface); border: 1px solid var(--border); color: var(--text); border-radius: 50% !important; width: 48px; height: 48px; display: grid; place-items: center; padding: 0; }
.pagination .page-item.active .page-link { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.pagination .page-item.disabled .page-link { background: var(--bg); color: #555; }

/* ---------- Error ---------- */
.error-page { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 140px 16px 60px; position: relative; overflow: hidden; }
.error-code { font-family: var(--font-display); font-weight: 600; font-size: clamp(8rem, 30vw, 20rem); line-height: .8; letter-spacing: -0.08em; }
.error-code .serif { color: var(--accent); }

/* ---------- Responsive spacing ---------- */
@media (max-width: 767.98px) {
    body { font-size: 16px; }
    .section { padding: 90px 0; }
    .section-head { margin-bottom: 48px; }
    .testi-section { margin: 0 10px; border-radius: var(--radius); }
    .site-footer { padding-top: 80px; }
}

/* ==========================================================================
   Services: navbar dropdown, mobile submenu, listing + detail pages
   ========================================================================== */

/* Desktop dropdown (opens on hover / keyboard focus / click) */
.nav-pill { position: relative; }
.nav-links .has-drop { position: static; }
.drop-toggle .bi-chevron-down { font-size: .7rem; margin-left: 2px; display: inline-block; transition: transform .35s var(--ease); }
.drop-panel {
    position: absolute; top: calc(100% + 12px); left: 50%; width: min(780px, 94vw);
    transform: translate(-50%, 10px); opacity: 0; visibility: hidden;
    background: var(--ink); border: 1px solid #34343a; border-radius: var(--radius);
    padding: 14px; z-index: 5;
    transition: opacity .3s var(--ease), transform .4s var(--ease), visibility .3s;
}
.drop-panel::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* hover bridge */
.has-drop:hover .drop-panel, .has-drop:focus-within .drop-panel, .has-drop.open .drop-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-drop:hover .drop-toggle .bi-chevron-down, .has-drop.open .drop-toggle .bi-chevron-down { transform: rotate(180deg); }
.has-drop.closing .drop-panel { opacity: 0; visibility: hidden; transform: translate(-50%, 10px); }
.has-drop.closing .drop-toggle .bi-chevron-down { transform: none; }
.has-drop:hover > .drop-toggle { color: var(--text); }
.drop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.nav-links .drop-item { display: flex; align-items: flex-start; gap: 14px; padding: 14px; border-radius: var(--radius-sm); color: var(--text); background: transparent; }
.nav-links .drop-item:hover, .nav-links .drop-item.on { background: var(--surface-2); color: var(--text); }
.drop-item .ic { width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; background: var(--surface-2); color: var(--accent); font-size: 1.1rem; transition: background-color .3s, color .3s; }
.drop-item:hover .ic, .drop-item.on .ic { background: var(--accent); color: var(--on-accent); }
.drop-item strong { display: block; font-weight: 700; font-size: .95rem; line-height: 1.3; }
.drop-item small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); font-size: .82rem; line-height: 1.4; margin-top: 2px; }
.drop-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; padding: 14px 14px 4px; border-top: 1px solid var(--border); }
.nav-links .drop-foot a { padding: 0 0 4px; border-radius: 0; color: var(--text); background: none; }
.nav-links .drop-foot .text-accent { padding: 0; color: var(--accent) !important; display: inline; }

/* Mobile submenu */
.mobile-menu { overflow-y: auto; }
.m-drop summary { list-style: none; display: flex; align-items: baseline; gap: 14px; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 12vw, 4rem); letter-spacing: -0.04em; line-height: 1.1; color: var(--on-accent); cursor: pointer; }
.m-drop summary::-webkit-details-marker { display: none; }
.m-drop summary small { font-family: var(--font-body); font-size: .85rem; font-weight: 500; opacity: .6; letter-spacing: 0; }
.m-drop summary .bi { font-size: .45em; margin-left: auto; align-self: center; transition: transform .35s var(--ease); }
.m-drop[open] summary .bi { transform: rotate(45deg); }
.m-drop summary.active { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.m-sub { display: grid; gap: 2px; padding: 8px 0 14px 34px; }
.mobile-menu .m-sub a { display: flex; align-items: center; gap: 10px; font-family: var(--font-body); font-weight: 500; font-size: 1.05rem; letter-spacing: 0; line-height: 1.3; color: var(--on-accent); padding: 6px 0; }
.m-sub a .bi { width: 30px; height: 30px; border-radius: 50%; background: var(--on-accent); color: var(--accent); display: grid; place-items: center; font-size: .85rem; flex-shrink: 0; }
.mobile-menu .m-sub a.all { font-weight: 700; text-decoration: underline; margin-top: 4px; }

/* Footer with services column */
.footer-top { grid-template-columns: 1.3fr .8fr 1.2fr .9fr 1fr; }
@media (max-width: 1199.98px) { .footer-top { grid-template-columns: 1fr 1fr 1fr; } .footer-top > div:first-child { grid-column: span 3; } }
@media (max-width: 767.98px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > div:first-child { grid-column: span 2; } }
@media (max-width: 479.98px) { .footer-top { grid-template-columns: 1fr; } .footer-top > div:first-child { grid-column: auto; } }

/* Service cards */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc-card { display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; color: var(--text); transition: border-color .35s, transform .5s var(--ease); }
.svc-card:hover { border-color: var(--accent); transform: translateY(-6px); color: var(--text); }
.svc-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); margin: 10px 10px 0; border-radius: calc(var(--radius) - 8px); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.svc-card:hover .svc-img img { transform: scale(1.07); }
.svc-img .ph { width: 100%; height: 100%; display: grid; place-items: center; background: var(--violet); color: var(--ink); font-size: 3.4rem; }
.svc-num { position: absolute; top: 14px; left: 14px; background: var(--ink); color: var(--text); font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; padding: 4px 14px; border-radius: 999px; }
.svc-body { position: relative; padding: 40px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.svc-body .ic { position: absolute; top: -28px; right: 22px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 1.35rem; background: var(--accent); color: var(--on-accent); border: 5px solid var(--surface); transition: transform .5s var(--ease); }
.svc-card:hover .svc-body .ic { transform: rotate(-12deg) scale(1.06); }
.svc-body h3 { font-size: 1.55rem; margin-bottom: 10px; }
.svc-body p { color: var(--muted); margin-bottom: 22px; }
.svc-body .more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.svc-body .more .bi { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; transition: all .4s var(--ease); }
.svc-card:hover .more .bi { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: rotate(45deg); }
.svc-custom { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; height: 100%; min-height: 380px; padding: 32px; border-radius: var(--radius); color: var(--on-accent); transition: transform .5s var(--ease); }
.svc-custom:hover { color: var(--on-accent); transform: translateY(-6px) rotate(-1deg); }
.svc-custom .ic { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: var(--accent); display: grid; place-items: center; font-size: 1.6rem; transition: transform .5s var(--ease); }
.svc-custom:hover .ic { transform: rotate(90deg); }
.svc-custom h3 { font-size: clamp(2rem, 3vw, 2.6rem); margin-bottom: 14px; }
.svc-custom h3 .serif { color: inherit; }
.svc-custom p { opacity: .75; margin-bottom: 24px; }
@media (max-width: 991.98px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .svc-grid { grid-template-columns: 1fr; } }

/* Service detail hero */
.svc-hero { position: relative; padding: 170px 0 60px; overflow: hidden; }
.svc-hero .sticker.star { left: auto; right: 6%; top: 150px; }
.svc-hero-row { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.svc-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-weight: 500; color: var(--muted); }
.svc-badge .bi { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; }
.svc-hero h1 { font-size: clamp(2.8rem, 7.4vw, 7rem); letter-spacing: -0.04em; line-height: .95; margin: 26px 0 22px; max-width: 1000px; }
.svc-hero h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.svc-hero h1 .ln > span { display: inline-block; animation: lineUp 1s var(--ease) both; }
.svc-hero p { color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 620px; margin: 0; }
.svc-hero-actions { display: flex; flex-direction: column; gap: 10px; }
.svc-hero-actions .btn-x { justify-content: space-between; }
@media (max-width: 991.98px) { .svc-hero-row { grid-template-columns: 1fr; } .svc-hero-actions { flex-direction: row; flex-wrap: wrap; } .svc-hero { padding-top: 140px; } }
@media (max-width: 575.98px) { .svc-hero .sticker.star { display: none; } .crumbs { flex-wrap: wrap; border-radius: 18px; } }

.svc-cover { position: relative; }
.svc-cover img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--radius-lg); }
.svc-cover .cover-badge { position: absolute; left: 40px; bottom: -60px; width: 130px; height: 130px; }
@media (max-width: 767.98px) { .svc-cover img { aspect-ratio: 4 / 3; } .svc-cover .cover-badge { width: 96px; height: 96px; left: 16px; bottom: -44px; } }

/* Service detail body */
.svc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; align-items: start; }
.svc-content { color: #C8C8CC; font-size: 1.1rem; }
.svc-content > p:first-child { font-family: var(--font-display); font-weight: 500; color: var(--text); font-size: clamp(1.35rem, 2.3vw, 1.9rem); line-height: 1.35; letter-spacing: -0.01em; word-spacing: .05em; margin-bottom: 1.4em; }
.svc-content h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--text); margin: 1.8em 0 .7em; }
.svc-content h3 { font-size: 1.5rem; color: var(--text); margin: 1.6em 0 .6em; }
.svc-content p { margin-bottom: 1.1em; }
.svc-content strong { color: var(--text); }
.svc-content a { color: var(--accent); text-decoration: underline; }
.svc-content ul { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.svc-content ul li { position: relative; padding: 18px 18px 18px 58px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); color: var(--text); font-weight: 500; line-height: 1.45; }
.svc-content ul li::before { content: ''; position: absolute; left: 18px; top: 17px; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); }
.svc-content ul li::after { content: ''; position: absolute; left: 27px; top: 22px; width: 8px; height: 13px; border: solid var(--on-accent); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.svc-content ol { padding-left: 1.2rem; }
.svc-content img { border-radius: var(--radius); margin: 1em 0; }
.svc-content blockquote { border-left: 3px solid var(--accent); padding-left: 20px; font-family: var(--font-serif); font-style: italic; font-size: 1.5rem; color: var(--text); }
@media (max-width: 575.98px) { .svc-content ul { grid-template-columns: 1fr; } }

.svc-side { position: sticky; top: 110px; display: grid; gap: 16px; }
.side-card { border-radius: var(--radius); padding: 26px; }
.side-title { font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 500; margin-bottom: 14px; }
.side-list { display: grid; gap: 2px; }
.side-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 12px; font-weight: 500; color: var(--text); transition: background-color .25s, color .25s; }
.side-list a span { display: flex; align-items: center; gap: 12px; }
.side-list a span .bi { color: var(--accent); }
.side-list a > .bi { opacity: 0; transform: translateX(-6px); transition: all .3s var(--ease); }
.side-list a:hover { background: var(--surface-2); color: var(--text); }
.side-list a:hover > .bi { opacity: 1; transform: none; }
.side-list a.on { background: var(--accent); color: var(--on-accent); }
.side-list a.on span .bi { color: var(--on-accent); }
.side-list a.on > .bi { opacity: 1; transform: none; }
.side-cta-title { font-size: 1.9rem; margin-bottom: 12px; }
.side-cta-title .serif { color: inherit; }
.side-card.tile-lime p { opacity: .75; margin-bottom: 22px; }
.side-phone { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-weight: 700; color: var(--on-accent); }
.side-phone:hover { color: var(--on-accent); text-decoration: underline; }
@media (max-width: 991.98px) { .svc-layout { grid-template-columns: 1fr; gap: 40px; } .svc-side { position: static; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .marquee-track, .spin-badge svg { animation: none; }
}
