/* ============================================================
   Castilla Glass — styles
   ============================================================ */
:root {
  --bg: #0a0a0b;
  --bg-2: #0f0f11;
  --surface: #161618;
  --ink: #f5f5f7;
  --muted: #a6a6ad;
  --line: rgba(255, 255, 255, 0.10);
  --brand: #e11d2a;
  --brand-2: #ff3b46;
  --brand-deep: #a0141f;
  --aqua: #ff6b73;
  --accent: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font); line-height: 1.1; font-weight: 700; }
.container { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  border: 0;
  border-radius: 999px;
  padding: 0.8em 1.4em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  white-space: nowrap;
}
.btn--lg { padding: 1em 1.7em; font-size: 1.02rem; }
.btn--primary {
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
  box-shadow: 0 12px 30px -10px rgba(225, 29, 42, 0.7);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -10px rgba(225, 29, 42, 0.85); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-3px); }

.eyebrow {
  display: inline-block;
  font-family: var(--font);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-2);
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.grad-text {
  background: linear-gradient(100deg, var(--aqua), var(--brand-2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(8, 8, 9, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font); font-weight: 800; }
.brand__mark {
  width: 38px; height: 38px; border-radius: 50%;
  object-fit: cover; flex: none;
  background: #0a0a0a;
  box-shadow: 0 6px 18px -6px rgba(225, 29, 42, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}
.brand__text { font-size: 1.15rem; }
.brand__text span { color: var(--brand-2); }
.nav__links { display: flex; gap: 1.6rem; align-items: center; }
.menu-only { display: none; }
.nav__links a { font-size: 0.92rem; color: var(--muted); font-weight: 500; transition: color 0.2s; }
.nav__links a:hover { color: var(--ink); }
.nav__actions { display: flex; align-items: center; gap: 1rem; }
.nav__phone { font-family: var(--font); font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.3s; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 60px; }
.hero__media { position: absolute; inset: 0; z-index: -1; background: #000; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(1100px 600px at 80% -10%, rgba(225, 29, 42, 0.28), transparent 60%),
    linear-gradient(180deg, rgba(8, 8, 9, 0.55) 0%, rgba(8, 8, 9, 0.85) 55%, var(--bg) 100%);
}
.hero__content { max-width: 780px; }
.hero__lockup { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.6rem; animation: rise 0.7s var(--ease) both; }
.hero__logo {
  width: 92px; height: 92px; border-radius: 50%;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.55));
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.14), 0 0 60px -12px rgba(225, 29, 42, 0.6);
  background: rgba(10, 10, 10, 0.5);
}
.hero__wordmark { font-family: var(--font); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.01em; line-height: 1; }
.hero__wordmark strong { color: var(--brand-2); font-weight: 800; }
.hero h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); font-weight: 800; letter-spacing: -0.02em; }
.hero__sub { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.2rem); margin: 1.4rem 0 2rem; max-width: 620px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero__stats { display: flex; gap: 2.4rem; margin-top: 3rem; flex-wrap: wrap; }
.hero__stats strong { font-family: var(--font); font-size: 2rem; font-weight: 800; display: block; color: #fff; }
.hero__stats span { color: var(--muted); font-size: 0.85rem; }
.hero__scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted);
}
.hero__scroll::after { content: ""; display: block; width: 1px; height: 34px; margin: 8px auto 0; background: linear-gradient(var(--brand-2), transparent); animation: scrolly 1.8s var(--ease) infinite; }
@keyframes scrolly { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- trust bar ---------- */
.trustbar { border-block: 1px solid var(--line); background: var(--bg-2); }
.trustbar__inner { display: flex; flex-wrap: wrap; gap: 1.2rem 2.4rem; justify-content: center; padding: 18px 0; }
.trustbar span { color: var(--muted); font-size: 0.85rem; position: relative; }
.trustbar span::before { content: "◆"; color: var(--brand); margin-right: 0.6rem; font-size: 0.6rem; vertical-align: middle; }

/* ---------- sections ---------- */
.section { padding: clamp(70px, 9vw, 120px) 0; }
.section--dark { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.section__head { max-width: 680px; margin-bottom: 3rem; }
.section__head h2 { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -0.02em; }
.section__head p { color: var(--muted); margin-top: 1rem; font-size: 1.05rem; }

/* ---------- service posters ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.poster {
  position: relative; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface);
  aspect-ratio: 848 / 1264; cursor: pointer;
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s;
}
.poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.poster:hover { transform: translateY(-8px); border-color: var(--brand); box-shadow: 0 30px 60px -24px rgba(225, 29, 42, 0.55); }
.poster:hover img { transform: scale(1.05); }
.poster__cta {
  position: absolute; inset: auto 0 0 0; padding: 1.4rem;
  background: linear-gradient(transparent, rgba(8, 8, 9, 0.92));
  display: flex; justify-content: center;
  transform: translateY(10px); opacity: 0; transition: 0.35s var(--ease);
}
.poster:hover .poster__cta, .poster:focus-visible .poster__cta { transform: none; opacity: 1; }
.poster__cta span {
  font-family: var(--font); font-weight: 700; font-size: 0.9rem; color: #fff;
  background: linear-gradient(120deg, var(--brand), var(--brand-deep));
  padding: 0.7rem 1.4rem; border-radius: 999px; box-shadow: 0 10px 24px -8px rgba(225, 29, 42, 0.85);
}
.poster:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; }

/* ---------- process ---------- */
.process { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: step; }
.process__step { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; position: relative; }
.process__num { font-family: var(--font); font-weight: 800; font-size: 1.8rem; color: transparent; -webkit-text-stroke: 1px var(--brand-2); display: block; margin-bottom: 0.8rem; }
.process__step h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.process__step p { color: var(--muted); font-size: 0.9rem; }
.process__cta { margin-top: 2.4rem; text-align: center; }

/* ---------- estimator ---------- */
.estimator__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.estimator__copy h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.estimator__copy p { color: var(--muted); margin: 1rem 0 1.5rem; }
.ticks { list-style: none; display: grid; gap: 0.7rem; margin-bottom: 1.8rem; }
.ticks li { padding-left: 1.8rem; position: relative; color: var(--ink); }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--bg); background: var(--brand-2); width: 1.2rem; height: 1.2rem; border-radius: 50%; display: grid; place-items: center; font-size: 0.7rem; font-weight: 700; top: 0.25rem; }
.chat-preview {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; box-shadow: var(--shadow); display: grid; gap: 0.7rem;
  transform: perspective(1200px) rotateY(-7deg) rotateX(3deg);
}
.chat-preview__head { font-family: var(--font); font-size: 0.85rem; color: var(--muted); display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.4rem; }
.chat-preview__head .dot { width: 9px; height: 9px; border-radius: 50%; background: #2c4a63; }
.chat-preview__head .dot:nth-child(1) { background: #ff6b6b; }
.chat-preview__head .dot:nth-child(2) { background: var(--accent); }
.chat-preview__head .dot:nth-child(3) { background: #3ddc97; }
.bubble { padding: 0.7rem 1rem; border-radius: 14px; font-size: 0.9rem; max-width: 85%; }
.bubble--bot { background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bubble--user { background: linear-gradient(120deg, var(--brand), var(--brand-deep)); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 1rem; }
.gallery figure { position: relative; overflow: hidden; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery figure:hover img { transform: scale(1.07); }
.gallery figcaption { position: absolute; left: 0; bottom: 0; right: 0; padding: 1rem; font-family: var(--font); font-size: 0.85rem; font-weight: 600; background: linear-gradient(transparent, rgba(8, 8, 9, 0.9)); }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }

/* ---------- why us ---------- */
.whyus__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: start; }
.whyus__head h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.whyus__head p { color: var(--muted); margin-top: 1rem; }
.whyus__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.feature { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; transition: transform 0.3s var(--ease), border-color 0.3s; }
.feature:hover { transform: translateY(-5px); border-color: rgba(225, 29, 42, 0.4); }
.feature h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.feature p { color: var(--muted); font-size: 0.9rem; }

/* ---------- area ---------- */
.area-chips { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.area-chip { padding: 0.7rem 1.2rem; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); font-size: 0.9rem; color: var(--muted); transition: 0.25s; }
.area-chip:hover { color: var(--ink); border-color: var(--brand-2); transform: translateY(-3px); }

/* ---------- final cta ---------- */
.cta-final__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(225, 29, 42, 0.16), rgba(160, 20, 31, 0.16));
  border: 1px solid rgba(225, 29, 42, 0.35); border-radius: 26px; padding: clamp(2rem, 5vw, 3.4rem);
}
.cta-final h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.cta-final p { color: var(--muted); margin-top: 0.6rem; }
.cta-final__actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* ---------- footer ---------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-top: 3.5rem; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer__brand p { color: var(--muted); font-size: 0.9rem; margin-top: 1rem; max-width: 280px; }
.footer__col { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__col h4 { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 0.5rem; }
.footer__col a, .footer__col span { color: var(--muted); font-size: 0.9rem; transition: color 0.2s; }
.footer__col a:hover { color: var(--ink); }
.footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-top: 1px solid var(--line); padding: 1.4rem 0; font-size: 0.82rem; color: var(--muted); }

/* ---------- chat fab ---------- */
.chat-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 64px; height: 64px; border-radius: 50%; border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  box-shadow: 0 14px 36px -8px rgba(225, 29, 42, 0.8);
  display: grid; place-items: center; font-size: 1.6rem;
  transition: transform 0.3s var(--ease);
}
.chat-fab:hover { transform: scale(1.08) rotate(-6deg); }
.chat-fab__pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--brand-2); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.6); opacity: 0; } }
.chat-fab.is-hidden { transform: scale(0); pointer-events: none; }

/* ---------- chat widget ---------- */
.chat {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: min(400px, calc(100vw - 32px)); height: min(620px, calc(100vh - 40px));
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden;
  transform: translateY(20px) scale(0.96); opacity: 0; pointer-events: none;
  transition: transform 0.32s var(--ease), opacity 0.32s var(--ease);
}
.chat.is-open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.chat__header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.1rem; background: linear-gradient(120deg, var(--brand-deep), var(--brand)); }
.chat__id { display: flex; align-items: center; gap: 0.7rem; }
.chat__avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #0a0a0a; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25); flex: none; }
.chat__id strong { display: block; font-family: var(--font); color: #fff; font-size: 0.98rem; }
.chat__id small { color: rgba(255, 255, 255, 0.85); font-size: 0.78rem; display: flex; align-items: center; gap: 0.35rem; }
.online-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 0 0 rgba(61, 220, 151, 0.7); animation: blip 1.8s infinite; }
@keyframes blip { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0.6); } 70% { box-shadow: 0 0 0 7px rgba(61, 220, 151, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); } }
.chat__close { background: rgba(255, 255, 255, 0.15); border: 0; color: #fff; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 0.9rem; transition: background 0.2s; }
.chat__close:hover { background: rgba(255, 255, 255, 0.3); }
.chat__body { flex: 1; overflow-y: auto; padding: 1.1rem; display: flex; flex-direction: column; gap: 0.7rem; scroll-behavior: smooth; }
.chat__body::-webkit-scrollbar { width: 7px; }
.chat__body::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.15); border-radius: 10px; }
.msg { max-width: 86%; padding: 0.7rem 0.95rem; border-radius: 16px; font-size: 0.92rem; line-height: 1.5; animation: rise 0.35s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.msg--bot { background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 5px; }
.msg--user { background: linear-gradient(120deg, var(--brand), var(--brand-deep)); color: #fff; align-self: flex-end; border-bottom-right-radius: 5px; }
.msg--summary { background: rgba(225, 29, 42, 0.10); border: 1px solid rgba(225, 29, 42, 0.4); align-self: stretch; max-width: 100%; }
.msg--summary h4 { font-size: 0.95rem; margin-bottom: 0.5rem; color: var(--aqua); }
.msg--summary dl { display: grid; grid-template-columns: auto 1fr; gap: 0.3rem 0.8rem; font-size: 0.85rem; }
.msg--summary dt { color: var(--muted); }
.msg--summary .est { margin-top: 0.7rem; padding-top: 0.7rem; border-top: 1px solid var(--line); font-family: var(--font); font-weight: 700; font-size: 1.05rem; color: #fff; }
.typing { display: inline-flex; gap: 4px; align-items: center; padding: 0.9rem 1rem; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: typing 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-5px); opacity: 1; } }
.chat__quick { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0 1.1rem; max-height: 168px; overflow-y: auto; }
.chat__quick:not(:empty) { padding-bottom: 0.8rem; }
.quick {
  background: rgba(225, 29, 42, 0.12); border: 1px solid rgba(225, 29, 42, 0.4); color: var(--aqua);
  font-family: var(--font); font-weight: 600; font-size: 0.82rem; padding: 0.5rem 0.9rem; border-radius: 999px; cursor: pointer; transition: 0.2s;
}
.quick:hover { background: rgba(225, 29, 42, 0.25); transform: translateY(-2px); }
.chat__input { display: flex; gap: 0.5rem; padding: 0.8rem 1.1rem; border-top: 1px solid var(--line); }
.chat__input input { flex: 1; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); border-radius: 999px; padding: 0.7rem 1rem; color: var(--ink); font-family: var(--font-body); font-size: 0.9rem; outline: none; transition: border-color 0.2s; }
.chat__input input:focus { border-color: var(--brand-2); }
.chat__send { width: 42px; height: 42px; flex: none; border-radius: 50%; border: 0; cursor: pointer; background: linear-gradient(135deg, var(--brand), var(--brand-deep)); color: #fff; font-size: 1rem; transition: transform 0.2s; }
.chat__send:hover { transform: scale(1.08); }
.chat__foot { text-align: center; font-size: 0.72rem; color: var(--muted); padding: 0 0 0.7rem; }

/* ---------- showcase video ---------- */
.showcase__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 3rem; align-items: center; }
.showcase__copy h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.showcase__copy p { color: var(--muted); margin: 1rem 0 1.5rem; }
.showcase__frame { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.showcase__frame video { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.showcase__tag { position: absolute; top: 1rem; left: 1rem; z-index: 2; background: var(--brand); color: #fff; font-family: var(--font); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.45rem 0.9rem; border-radius: 999px; box-shadow: 0 8px 20px -8px rgba(225, 29, 42, 0.9); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .estimator__grid, .whyus__grid, .showcase__grid { grid-template-columns: 1fr; gap: 2rem; }
  .whyus__cards { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .chat-preview { transform: none; }
}
@media (max-width: 680px) {
  .nav__links, .nav__phone, .nav__actions .btn { display: none; }
  .nav__burger { display: flex; }
  .nav__links.is-open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(8, 8, 9, 0.97); backdrop-filter: blur(14px); padding: 1.2rem 20px; gap: 1rem; border-bottom: 1px solid var(--line);
  }
  .nav__links.is-open .menu-only { display: inline-flex; width: 100%; justify-content: center; }
  .whyus__cards, .gallery { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .process { grid-template-columns: 1fr; }
  .gallery { grid-auto-rows: 220px; }
  .gallery .tall { grid-row: span 1; }
  .gallery .wide { grid-column: span 1; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .hero { padding: 100px 0 80px; }
  .hero__lockup { gap: 0.7rem; margin-bottom: 1.1rem; }
  .hero__logo { width: 60px; height: 60px; }
  .hero__wordmark { font-size: 1.4rem; }
  .hero__stats { gap: 1.4rem; }
  .hero__stats strong { font-size: 1.6rem; }
  .showcase__frame video { aspect-ratio: 16 / 10; }
}
@media (max-width: 430px) {
  .container { width: calc(100% - 28px); }
  .services-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 1.6rem; }
  .hero__stats { gap: 1rem 1.6rem; }
  .hero__stats > div { flex: 1 0 40%; }
  .chat-fab { right: 16px; bottom: 16px; width: 58px; height: 58px; }
  .trustbar__inner { gap: 0.7rem 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
