/* =========================================================
   Blurred Lines & Designs — styles
   Palette and type taken from the logo:
   black badge, signal red ring, royal blue ribbon, chrome.
   ========================================================= */
:root {
  --black: #070708;
  --ink: #0e0e11;
  --panel: #15151a;
  --panel-2: #1c1c22;
  --line: rgba(255, 255, 255, 0.09);
  --red: #e8231f;
  --red-hot: #ff4a2b;
  --blue: #1b3fd1;
  --blue-hot: #3a5cff;
  --chrome: #c9cdd3;
  --white: #f7f7f5;
  --muted: #a3a6ad;

  --f-display: "Anton", "Impact", sans-serif;
  --f-label: "Archivo Black", "Arial Black", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  --pole: repeating-linear-gradient(-45deg, var(--red) 0 14px, var(--white) 14px 28px, var(--blue) 28px 42px, var(--white) 42px 56px);
  --hex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='146' viewBox='0 0 84 146'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.4'%3E%3Cpath d='M42 1 83 25v48L42 97 1 73V25z'/%3E%3Cpath d='M42 97v48M1 145V121M83 145V121'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font: 400 1rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
html, body { overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--blue-hot); outline-offset: 3px; border-radius: 4px; }

.container { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.center { text-align: center; margin-top: 40px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--white); color: var(--black); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 0; border-radius: 999px; cursor: pointer;
  font: 400 0.95rem/1 var(--f-label); letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 0.82rem; }
.btn--red { background: var(--red); color: var(--white); box-shadow: 0 8px 30px -10px rgba(232, 35, 31, 0.8); }
.btn--red:hover { background: var(--red-hot); box-shadow: 0 12px 34px -8px rgba(255, 74, 43, 0.9); }
.btn--blue { background: var(--blue); color: var(--white); box-shadow: 0 8px 30px -10px rgba(27, 63, 209, 0.9); }
.btn--blue:hover { background: var(--blue-hot); }
.btn--ghost { background: rgba(255, 255, 255, 0.06); color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.14); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background 0.3s, box-shadow 0.3s, height 0.3s;
}
.header.is-scrolled { background: rgba(7, 7, 8, 0.88); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); --header-h: 64px; height: 64px; }
.header__inner { height: 100%; width: min(1320px, 100% - 2 * var(--gutter)); margin-inline: auto; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 52px; height: 52px; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6)); }
.brand__text { font: 400 1.35rem/0.95 var(--f-display); letter-spacing: 0.03em; text-transform: uppercase; }
.brand__text em { display: block; font: 400 0.68rem/1.2 var(--f-label); font-style: normal; letter-spacing: 0.22em; color: var(--chrome); margin-top: 4px; }
.nav { display: flex; gap: 26px; }
.nav a { font: 600 0.88rem/1 var(--f-body); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; color: var(--chrome); position: relative; padding: 8px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--red); transition: right 0.3s var(--ease); }
.nav a:hover { color: var(--white); }
.nav a:hover::after { right: 0; }
.nav__call { display: none; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--white); margin: 6px 0; transition: transform 0.3s, opacity 0.3s; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 7, 8, 0.55) 0%, rgba(7, 7, 8, 0.1) 30%, rgba(7, 7, 8, 0.35) 60%, var(--black) 100%),
    radial-gradient(120% 80% at 10% 100%, rgba(7, 7, 8, 0.85), transparent 60%);
}
.hero__content { padding: calc(var(--header-h) + 40px) 0 clamp(70px, 12vh, 120px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(7, 7, 8, 0.6); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(8px); font: 600 0.82rem/1 var(--f-body); letter-spacing: 0.04em; color: var(--chrome); margin-bottom: 22px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); flex: none; box-shadow: 0 0 0 4px rgba(232, 35, 31, 0.2); }
.dot.is-open { background: #2bd96b; box-shadow: 0 0 0 4px rgba(43, 217, 107, 0.2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(43, 217, 107, 0); } }

.hero__title { text-transform: uppercase; line-height: 0.88; text-shadow: 0 6px 40px rgba(0, 0, 0, 0.6); }
.hero__line { display: block; font: 400 clamp(3.6rem, 12vw, 9.5rem)/0.88 var(--f-display); letter-spacing: 0.01em; }
.hero__amp {
  display: inline-block; margin-top: 14px;
  font: 400 clamp(1.3rem, 3.6vw, 2.6rem)/1 var(--f-label); letter-spacing: 0.1em;
  padding: 12px 26px 12px; background: var(--blue); border-radius: 6px;
  box-shadow: 0 0 0 3px var(--black), 0 0 0 5px var(--red-hot);
  transform: rotate(-2deg);
}
.hero__sub { margin-top: 28px; max-width: 520px; font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: #dadde2; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.rating { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-size: 0.92rem; color: var(--chrome); text-decoration: none; }
.rating__stars { color: #ffc531; letter-spacing: 2px; }
.rating:hover { color: var(--white); }
.hero__scroll { position: absolute; left: 50%; bottom: 24px; width: 26px; height: 42px; border-radius: 14px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5); transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--white); animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; background: var(--ink); border-block: 1px solid var(--line); padding: 18px 0; }
.marquee::before, .marquee::after { content: ""; position: absolute; left: 0; right: 0; height: 4px; background: var(--pole); }
.marquee::before { top: 0; } .marquee::after { bottom: 0; }
.marquee__track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 32s linear infinite; }
.marquee__track span { font: 400 clamp(1.4rem, 2.6vw, 2rem)/1 var(--f-display); text-transform: uppercase; letter-spacing: 0.04em; }
.marquee__track i { width: 14px; height: 14px; background: var(--red); clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%); flex: none; }
.marquee__track i:nth-of-type(even) { background: var(--blue-hot); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 12vw, 140px) 0; }
.section--dark { background: var(--ink); }
.hexbg::before { content: ""; position: absolute; inset: 0; background: var(--hex); background-size: 84px 146px; opacity: 0.045; pointer-events: none; mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent); }
.section__head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.kicker { display: inline-flex; align-items: center; gap: 12px; font: 400 0.8rem/1 var(--f-label); letter-spacing: 0.22em; text-transform: uppercase; color: var(--red-hot); margin-bottom: 16px; }
.kicker::before { content: ""; width: 34px; height: 4px; border-radius: 2px; background: var(--pole); background-size: 56px 56px; }
.title { font: 400 clamp(2.6rem, 6.5vw, 5rem)/0.95 var(--f-display); text-transform: uppercase; letter-spacing: 0.01em; }
.lede { margin-top: 18px; font-size: clamp(1rem, 1.4vw, 1.12rem); color: var(--muted); max-width: 600px; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  padding: 34px 30px 30px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.service:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 30px 60px -30px rgba(0, 0, 0, 0.9); }
.service--feature { box-shadow: inset 0 0 0 2px var(--blue); background: linear-gradient(180deg, #17204a, var(--panel) 70%); }
.service--feature:hover { box-shadow: inset 0 0 0 2px var(--blue-hot), 0 30px 60px -30px rgba(27, 63, 209, 0.6); }
.service__tag { position: absolute; top: -13px; left: 30px; padding: 6px 12px; border-radius: 6px; background: var(--red); font: 400 0.7rem/1 var(--f-label); letter-spacing: 0.12em; text-transform: uppercase; }
.service__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding-bottom: 18px; border-bottom: 1px dashed rgba(255, 255, 255, 0.16); }
.service h3 { font: 400 clamp(1.6rem, 2.4vw, 2rem)/1 var(--f-display); text-transform: uppercase; letter-spacing: 0.02em; }
.service__price { font: 400 3.4rem/0.8 var(--f-display); color: var(--white); }
.service__price span { font-size: 0.5em; vertical-align: top; color: var(--red-hot); margin-right: 2px; }
.service__price--ask { font: 400 1rem/1 var(--f-label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--chrome); padding: 8px 12px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
.service p:not([class]) { color: var(--muted); flex: 1; }
.service__link { font: 700 0.86rem/1 var(--f-body); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; color: var(--white); }
.service__link:hover { color: var(--red-hot); }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 36px); }
.barber { border-radius: calc(var(--radius) + 4px); overflow: hidden; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.barber__photo { position: relative; aspect-ratio: 4 / 4.3; overflow: hidden; }
.barber__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform 0.8s var(--ease); }
.barber:hover .barber__photo img { transform: scale(1.04); }
.barber__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, var(--panel)); }
.barber__badge { position: absolute; top: 18px; left: 18px; z-index: 1; padding: 8px 14px; border-radius: 6px; background: var(--red); font: 400 0.72rem/1 var(--f-label); letter-spacing: 0.16em; text-transform: uppercase; }
.barber__body { padding: 4px 30px 32px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.barber__alias { font: 400 0.82rem/1 var(--f-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-hot); }
.barber h3 { font: 400 clamp(2.4rem, 4vw, 3.2rem)/0.95 var(--f-display); text-transform: uppercase; }
.barber p:not([class]) { color: var(--muted); }
.barber__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 10px; }

/* ---------- Designs ---------- */
.designs { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; grid-auto-flow: dense; gap: 14px; }
.design { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.design--tall { grid-row: span 2; }
.design img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.design:hover img { transform: scale(1.06); }
.design figcaption { position: absolute; left: 12px; bottom: 12px; padding: 7px 12px; border-radius: 6px; background: rgba(7, 7, 8, 0.75); backdrop-filter: blur(6px); font: 400 0.72rem/1 var(--f-label); letter-spacing: 0.14em; text-transform: uppercase; }
.design::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }

/* ---------- Story timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 32px); counter-reset: step; }
.step { position: relative; display: flex; flex-direction: column; gap: 18px; }
.step figure { margin: 0; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.step img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9); transition: filter 0.5s, transform 0.8s var(--ease); }
.step:hover img { filter: none; transform: scale(1.03); }
.step__n { font: 400 0.8rem/1 var(--f-label); letter-spacing: 0.2em; color: var(--red-hot); }
.step h3 { margin-top: 8px; font: 400 1.9rem/1 var(--f-display); text-transform: uppercase; }
.step p { margin-top: 8px; color: var(--muted); }
.step:last-child figure { box-shadow: inset 0 0 0 2px var(--blue), 0 0 50px -10px rgba(58, 92, 255, 0.5); }

/* ---------- The space ---------- */
.space { position: relative; min-height: 80vh; display: flex; align-items: flex-end; overflow: hidden; }
.space__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.space__overlay {
  position: relative; width: 100%; min-height: inherit;
  display: flex; align-items: flex-end;
  padding: clamp(80px, 12vw, 140px) 0 clamp(50px, 8vw, 90px);
  background:
    linear-gradient(180deg, var(--ink) 0%, rgba(14, 14, 17, 0) 22%, rgba(7, 7, 8, 0) 45%, rgba(7, 7, 8, 0.75) 78%, var(--black) 100%),
    radial-gradient(90% 70% at 0% 100%, rgba(7, 7, 8, 0.8), transparent 70%);
}
.space .lede { color: #d4d7dc; }

/* ---------- Gallery ---------- */
.gallery { columns: 3 280px; column-gap: 14px; }
.gallery__item { display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--panel); break-inside: avoid; position: relative; }
.gallery__item img { width: 100%; height: auto; transition: transform 0.7s var(--ease), filter 0.4s; }
.gallery__item:hover img { transform: scale(1.04); filter: brightness(1.08); }

/* ---------- Visit ---------- */
.visit { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: stretch; }
.visit__address { margin-top: 26px; font: 400 clamp(1.5rem, 2.6vw, 2rem)/1.2 var(--f-display); text-transform: uppercase; letter-spacing: 0.02em; }
.hours { width: 100%; margin-top: 28px; border-collapse: collapse; }
.hours th, .hours td { padding: 14px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours td { text-align: right; color: var(--chrome); font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--white); }
.hours tr.is-today th::after { content: "Today"; margin-left: 10px; padding: 3px 8px; border-radius: 4px; background: var(--blue); font: 400 0.62rem/1 var(--f-label); letter-spacing: 0.1em; text-transform: uppercase; vertical-align: 2px; }
.visit__walkin { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-weight: 600; }
.visit__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.visit__map { min-height: 420px; border-radius: calc(var(--radius) + 4px); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); background: var(--panel); }
.visit__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(0.4) contrast(1.05); }

/* ---------- Footer ---------- */
.footer { background: var(--black); padding-bottom: 28px; }
.pole-bar { height: 8px; background: var(--pole); background-size: 79px 79px; animation: pole 3s linear infinite; }
@keyframes pole { to { background-position: 79px 0; } }
.footer__inner { display: flex; gap: clamp(28px, 5vw, 64px); align-items: center; padding: 56px 0 40px; }
.footer__inner > img { width: 120px; height: 120px; flex: none; }
.footer__cols { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer h3 { font: 400 0.82rem/1 var(--f-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--chrome); margin-bottom: 12px; }
.footer p { color: var(--muted); line-height: 1.8; }
.footer a { text-decoration: none; color: var(--white); }
.footer a:hover { color: var(--red-hot); }
.ig { display: inline-flex; align-items: center; gap: 8px; }
.ig svg { width: 20px; height: 20px; fill: currentColor; }
.footer__legal { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.82rem; color: #6d7078; }

/* ---------- Mobile action bar ---------- */
.actionbar { display: none; }

/* ---------- Dialogs ---------- */
dialog { padding: 0; border: 0; background: transparent; color: var(--white); max-width: none; max-height: none; }
dialog::backdrop { background: rgba(4, 4, 6, 0.92); backdrop-filter: blur(6px); }
.modal { width: min(1100px, 94vw); }
.modal video { width: 100%; border-radius: 12px; background: #000; }
.modal__close, .lightbox__close { position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); font-size: 1.8rem; line-height: 1; cursor: pointer; z-index: 2; }
.modal__close:hover, .lightbox__close:hover { background: var(--red); }
.lightbox { width: 100vw; height: 100vh; display: none; align-items: center; justify-content: center; }
.lightbox[open] { display: flex; }
.lightbox img { max-width: min(92vw, 1200px); max-height: 88vh; border-radius: 10px; object-fit: contain; }
.lightbox__nav { position: fixed; top: 50%; width: 52px; height: 52px; margin-top: -26px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); font-size: 2rem; line-height: 1; cursor: pointer; }
.lightbox__nav:hover { background: var(--blue); }
.lightbox__nav--prev { left: 16px; } .lightbox__nav--next { right: 16px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.services .reveal:nth-child(2), .team .reveal:nth-child(2), .timeline .reveal:nth-child(3n+2), .designs .reveal:nth-child(4n+2) { transition-delay: 0.1s; }
.services .reveal:nth-child(3), .timeline .reveal:nth-child(3n), .designs .reveal:nth-child(4n+3) { transition-delay: 0.2s; }
.designs .reveal:nth-child(4n) { transition-delay: 0.3s; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .header__cta { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .burger { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; align-items: center; gap: 8px;
    background: rgba(7, 7, 8, 0.97); backdrop-filter: blur(14px);
    opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
  }
  .nav a { font: 400 2.2rem/1.2 var(--f-display); color: var(--white); padding: 6px 0; }
  .nav a::after { display: none; }
  .nav__call { display: block; margin-top: 20px; font: 400 1rem/1 var(--f-label) !important; letter-spacing: 0.06em; color: var(--red-hot) !important; }
  .menu-open { overflow: hidden; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-open .burger span:nth-child(2) { opacity: 0; }
  .menu-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .services { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; }
  .designs { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 210px; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .visit { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .brand img { width: 44px; height: 44px; }
  .brand__text { font-size: 1.15rem; }
  .hero__content { padding-bottom: 92px; }
  .hero__line { font-size: clamp(2.6rem, 14.5vw, 4rem); white-space: nowrap; }
  .hero__amp { margin-top: 10px; padding: 10px 18px; }
  .hero__sub { margin-top: 20px; }
  .hero__ctas { margin-top: 22px; gap: 10px; }
  .hero__ctas .btn { min-height: 48px; }
  .rating { margin-top: 18px; }
  .btn { white-space: normal; text-align: center; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__scroll { display: none; }
  .timeline { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 18px; }
  .step figure { aspect-ratio: 1; }
  .step h3 { font-size: 1.5rem; }
  .designs { grid-auto-rows: 170px; gap: 10px; }
  .gallery { columns: 2; column-gap: 10px; }
  .gallery__item { margin-bottom: 10px; border-radius: 10px; }
  .footer__cols { grid-template-columns: 1fr; gap: 20px; }
  .space { min-height: 70vh; }

  body { padding-bottom: 68px; }
  .actionbar {
    display: grid; grid-template-columns: repeat(3, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: rgba(7, 7, 8, 0.95); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .actionbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 64px; text-decoration: none; font: 400 0.7rem/1 var(--f-label); letter-spacing: 0.1em; text-transform: uppercase; }
  .actionbar a:first-child { background: var(--red); }
  .actionbar svg { width: 20px; height: 20px; fill: currentColor; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
