:root {
  --red: #e60012;
  --red-dark: #b8000e;
  --blue: #0b2c85;
  --blue-bright: #1648c8;
  --ink: #111827;
  --muted: #5d6675;
  --surface: #f5f7fb;
  --line: #dce1ea;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(13, 35, 84, .14);
  --radius-lg: 32px;
  --radius-md: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
body.lightbox-open { overflow: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
::selection { background: rgba(11, 44, 133, .18); }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 9999;
  padding: 11px 16px;
  color: var(--white);
  background: var(--blue);
  border-radius: 10px;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}
.section { padding: 110px 0; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(17, 24, 39, .08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { box-shadow: 0 12px 36px rgba(15, 23, 42, .11); background: rgba(255,255,255,.97); }
.header-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--red) 0 47%, #fff 47% 53%, var(--blue) 53% 100%);
}
.header-inner {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { width: 180px; flex: 0 0 auto; }
.brand img { width: 100%; height: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav > a:not(.nav-cta) {
  position: relative;
  color: #343c4a;
  font-size: .9rem;
  font-weight: 700;
}
.site-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--blue));
  transition: right .25s ease;
}
.site-nav > a:not(.nav-cta):hover::after,
.site-nav > a:not(.nav-cta):focus-visible::after { right: 0; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  color: var(--white);
  background: var(--blue);
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(11, 44, 133, .22);
  transition: transform .2s ease, box-shadow .2s ease;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 15px 28px rgba(11, 44, 133, .28); }
.menu-toggle { display: none; border: 0; background: none; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 2px; margin: 5px 0; background: var(--ink); transition: .25s ease; }

.hero {
  position: relative;
  min-height: 100svh;
  padding: 150px 0 80px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 28%, rgba(230,0,18,.08), transparent 28%),
    radial-gradient(circle at 88% 67%, rgba(11,44,133,.12), transparent 33%),
    linear-gradient(135deg, #fff 0%, #f7f9fd 48%, #fff 100%);
}
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  opacity: .38;
  background-image: linear-gradient(rgba(11,44,133,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(11,44,133,.055) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(3px); opacity: .7; }
.hero-orb-red { width: 190px; height: 190px; background: rgba(230,0,18,.08); top: 17%; left: -80px; }
.hero-orb-blue { width: 340px; height: 340px; background: rgba(11,44,133,.08); bottom: -150px; right: 6%; }
.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(45px, 8vw, 110px);
}
.eyebrow, .section-kicker {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 42px; height: 3px; border-radius: 10px; background: var(--red); }
.hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(3rem, 6.2vw, 6.2rem);
  line-height: .96;
  letter-spacing: -.06em;
  font-weight: 850;
}
.hero h1 strong {
  display: block;
  color: transparent;
  background: linear-gradient(90deg, var(--red) 5%, var(--blue) 82%);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-lead { max-width: 620px; margin: 28px 0 0; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.15rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button {
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 850;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.button-primary { color: var(--white); background: var(--red); box-shadow: 0 15px 30px rgba(230,0,18,.22); }
.button-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 35px rgba(230,0,18,.28); background: var(--red-dark); }
.button-secondary { color: var(--blue); background: var(--white); border: 1px solid rgba(11,44,133,.15); box-shadow: 0 14px 34px rgba(15,23,42,.09); }
.button-secondary:hover { transform: translateY(-3px); box-shadow: 0 20px 42px rgba(15,23,42,.13); }
.button .whatsapp-icon { fill: currentColor; stroke: none; }
.hero-services { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 34px; color: #4c5666; font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.hero-services span { position: relative; padding-left: 13px; }
.hero-services span::before { content: ""; position: absolute; left: 0; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--red); transform: translateY(-50%); }
.hero-services span:nth-child(2)::before { background: #777; }
.hero-services span:nth-child(3)::before { background: var(--blue); }

.hero-visual { position: relative; min-height: 560px; display: grid; place-items: center; }
.visual-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(11,44,133,.13); }
.visual-ring-one { width: 520px; height: 520px; animation: rotate 24s linear infinite; }
.visual-ring-one::before, .visual-ring-one::after { content: ""; position: absolute; width: 12px; height: 12px; border-radius: 50%; }
.visual-ring-one::before { top: 26px; left: 130px; background: var(--red); box-shadow: 0 0 0 8px rgba(230,0,18,.09); }
.visual-ring-one::after { right: 8px; bottom: 160px; background: var(--blue); box-shadow: 0 0 0 8px rgba(11,44,133,.09); }
.visual-ring-two { width: 410px; height: 410px; border-style: dashed; animation: rotateBack 32s linear infinite; }
.logo-card {
  position: relative;
  width: min(430px, 86vw);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 38px 38px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}
.logo-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, rgba(230,0,18,.45), transparent 36%, rgba(11,44,133,.45)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.logo-card img { width: 100%; height: auto; }
.logo-card-tag { position: absolute; top: 21px; left: 25px; color: #6d7582; font-size: .68rem; font-weight: 900; letter-spacing: .22em; }
.temperature-line { position: absolute; left: 30px; right: 30px; bottom: 22px; height: 4px; border-radius: 10px; background: linear-gradient(90deg, var(--red) 0 48%, #e5e7eb 48% 52%, var(--blue) 52% 100%); }
.temperature-line span { position: absolute; width: 12px; height: 12px; left: 49%; top: 50%; background: var(--white); border: 3px solid #a0a6b1; border-radius: 50%; transform: translate(-50%,-50%); }
.floating-chip { position: absolute; display: flex; align-items: center; gap: 9px; padding: 12px 16px; color: var(--white); border-radius: 16px; font-weight: 800; font-size: .85rem; box-shadow: 0 16px 32px rgba(15,23,42,.2); animation: float 4.5s ease-in-out infinite; }
.floating-chip svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chip-red { left: -12px; top: 29%; background: var(--red); }
.chip-blue { right: -28px; bottom: 25%; background: var(--blue); animation-delay: -1.8s; }
.scroll-cue { position: absolute; z-index: 2; bottom: 22px; left: 50%; width: 30px; height: 48px; border: 2px solid rgba(17,24,39,.22); border-radius: 20px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; border-radius: 4px; background: var(--red); transform: translateX(-50%); animation: scrollDot 1.8s ease infinite; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 48px; }
.section-heading h2, .work-intro h2, .video-copy h2, .contact-copy h2 { margin: 0; font-size: clamp(2.3rem, 4vw, 4.6rem); line-height: 1.03; letter-spacing: -.045em; }
.section-heading > p { max-width: 480px; margin: 0; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  position: relative;
  min-height: 330px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(15, 23, 42, .06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 26px 60px rgba(15,23,42,.12); }
.service-number { position: absolute; top: 22px; right: 24px; color: rgba(17,24,39,.07); font-size: 4rem; line-height: 1; font-weight: 950; }
.service-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; margin-bottom: 48px; }
.service-icon svg { width: 29px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-red .service-icon { color: var(--red); background: rgba(230,0,18,.09); }
.service-blue .service-icon { color: var(--blue); background: rgba(11,44,133,.09); }
.service-mix .service-icon { color: #5a6474; background: linear-gradient(135deg, rgba(230,0,18,.09), rgba(11,44,133,.1)); }
.service-card h3 { margin: 0 0 12px; font-size: 1.55rem; }
.service-card p { margin: 0; color: var(--muted); }
.service-line { position: absolute; inset: auto 0 0; height: 5px; transform: scaleX(.25); transform-origin: left; transition: transform .3s ease; }
.service-card:hover .service-line { transform: scaleX(1); }
.service-red .service-line { background: var(--red); }
.service-blue .service-line { background: var(--blue); }
.service-mix .service-line { background: linear-gradient(90deg, var(--red), var(--blue)); }

.feature-strip { overflow: hidden; color: var(--white); background: var(--ink); transform: rotate(-1deg) scale(1.02); }
.feature-track { display: flex; align-items: center; gap: 28px; width: max-content; padding: 20px 0; font-size: 1rem; font-weight: 900; letter-spacing: .18em; animation: marquee 24s linear infinite; }
.feature-track b { color: var(--red); }
.feature-track span:nth-of-type(3n+2) { color: #dce3f6; }
.feature-track span:nth-of-type(3n+3) { color: #aab9e8; }

.work-intro { background: var(--surface); }
.work-intro-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 70px; }
.work-intro-copy p:not(.section-kicker) { max-width: 470px; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 20px; color: var(--blue); font-weight: 900; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }
.work-collage { position: relative; min-height: 580px; }
.work-collage figure { position: absolute; margin: 0; border-radius: 24px; overflow: hidden; background: var(--white); box-shadow: 0 22px 54px rgba(15,23,42,.15); }
.work-collage img { width: 100%; height: 100%; object-fit: contain; background: #eef1f6; }
.collage-large { width: 62%; height: 82%; left: 0; bottom: 0; z-index: 2; }
.collage-small { width: 42%; height: 45%; right: 0; }
.collage-top { top: 0; }
.collage-bottom { bottom: 0; }
.collage-label { position: absolute; z-index: 3; left: 52%; top: 45%; padding: 11px 18px; color: var(--white); background: linear-gradient(90deg, var(--red), var(--blue)); border-radius: 999px; font-size: .76rem; font-weight: 900; letter-spacing: .15em; transform: translate(-50%,-50%) rotate(-4deg); box-shadow: 0 12px 28px rgba(15,23,42,.22); }

.gallery-section { background: #fff; }
.gallery { columns: 4 250px; column-gap: 18px; }
.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #eef1f6;
  break-inside: avoid;
  cursor: zoom-in;
  box-shadow: 0 10px 30px rgba(15,23,42,.08);
}
.gallery-item img { width: 100%; height: auto; transition: transform .45s cubic-bezier(.2,.7,.2,1), filter .3s ease; }
.gallery-item span { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 10px 13px; color: var(--white); background: rgba(10, 20, 42, .78); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; font-size: .78rem; font-weight: 800; opacity: 0; transform: translateY(8px); backdrop-filter: blur(10px); transition: .25s ease; }
.gallery-item:hover img { transform: scale(1.035); filter: brightness(.8); }
.gallery-item:hover span, .gallery-item:focus-visible span { opacity: 1; transform: translateY(0); }
.gallery-item:focus-visible { outline: 4px solid rgba(11,44,133,.25); outline-offset: 3px; }

.video-section { position: relative; overflow: hidden; color: var(--white); background: #081126; }
.video-section::before { content: ""; position: absolute; width: 480px; height: 480px; left: -180px; top: -260px; border-radius: 50%; background: rgba(230,0,18,.18); filter: blur(20px); }
.video-section::after { content: ""; position: absolute; width: 540px; height: 540px; right: -220px; bottom: -300px; border-radius: 50%; background: rgba(22,72,200,.2); filter: blur(30px); }
.video-layout { position: relative; z-index: 2; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 70px; }
.section-kicker-light { color: #b9c9ff; }
.video-copy p:not(.section-kicker) { max-width: 470px; color: #b7c0d1; }
.video-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.video-badges span { padding: 9px 13px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; color: #dbe3f2; background: rgba(255,255,255,.05); font-size: .76rem; font-weight: 800; }
.video-frame { position: relative; width: min(100%, 430px); margin-inline: auto; padding: 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 32px; background: rgba(255,255,255,.06); box-shadow: 0 34px 80px rgba(0,0,0,.42); }
.video-frame video { width: 100%; max-height: 680px; border-radius: 23px; background: #000; }
.video-glow { position: absolute; inset: 18% -10% 5%; z-index: -1; background: linear-gradient(135deg, rgba(230,0,18,.4), rgba(11,44,133,.5)); filter: blur(48px); opacity: .75; }

.contact-section { padding-top: 90px; padding-bottom: 90px; background: var(--surface); }
.contact-card { position: relative; min-height: 360px; padding: 58px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; color: var(--white); border-radius: 34px; overflow: hidden; background: linear-gradient(125deg, #c80010 0%, var(--red) 42%, var(--blue) 68%, #061b5f 100%); box-shadow: 0 32px 70px rgba(11,44,133,.25); }
.contact-card::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(90deg, transparent, #000); opacity: .3; }
.contact-copy { position: relative; z-index: 2; max-width: 740px; }
.contact-copy p:not(.section-kicker) { margin-bottom: 10px; color: rgba(255,255,255,.82); }
.phone-link { display: inline-block; margin-top: 12px; font-size: clamp(1.35rem, 3vw, 2.35rem); font-weight: 900; letter-spacing: -.03em; }
.contact-button { position: relative; z-index: 2; min-height: 58px; padding: 0 26px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; color: var(--blue); background: var(--white); border-radius: 999px; font-weight: 900; white-space: nowrap; box-shadow: 0 18px 35px rgba(0,0,0,.2); transition: transform .2s ease; }
.contact-button:hover { transform: translateY(-4px); }
.contact-button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-art { position: absolute; inset: 0; pointer-events: none; }
.contact-sun { position: absolute; width: 160px; height: 160px; right: 28%; top: -95px; border: 28px solid rgba(255,255,255,.08); border-radius: 50%; }
.contact-snowflake { position: absolute; right: 7%; bottom: -70px; color: rgba(255,255,255,.08); font-size: 14rem; line-height: 1; transform: rotate(20deg); }

.site-footer { color: #d6deec; background: #070e1f; }
.footer-grid { padding: 62px 0; display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 45px; align-items: start; }
.footer-brand img { width: 210px; padding: 10px; border-radius: 12px; background: #fff; }
.footer-brand p { margin: 16px 0 0; color: #9aa6ba; }
.footer-links { display: grid; gap: 10px; }
.footer-links a:hover { color: #fff; }
.footer-contact span { display: block; margin-bottom: 8px; color: #8d99ad; font-size: .76rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.footer-contact a { color: #fff; font-size: 1.2rem; font-weight: 850; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); }
.footer-bottom .container { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #8f9bad; font-size: .85rem; }
.footer-bottom a:hover { color: #fff; }

.whatsapp-float {
  position: fixed;
  z-index: 900;
  right: 22px;
  bottom: 22px;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px 0 15px;
  color: #fff;
  background: #20b957;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 16px 38px rgba(9, 74, 33, .3);
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: translateY(-4px) scale(1.02); }
.whatsapp-float svg { width: 28px; fill: currentColor; }
.back-to-top { position: fixed; z-index: 890; right: 28px; bottom: 94px; width: 46px; height: 46px; display: grid; place-items: center; border: 0; border-radius: 50%; color: #fff; background: var(--ink); box-shadow: 0 12px 26px rgba(15,23,42,.2); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s ease; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg { width: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.lightbox { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 24px; color: #fff; background: rgba(2,6,23,.94); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-content { margin: 0; max-width: min(1100px, 88vw); max-height: 90vh; display: grid; justify-items: center; gap: 12px; }
.lightbox-content img { max-width: 100%; max-height: 82vh; width: auto; height: auto; object-fit: contain; border-radius: 12px; box-shadow: 0 28px 80px rgba(0,0,0,.5); }
.lightbox-content figcaption { color: #c8d0df; font-size: .9rem; }
.lightbox-close, .lightbox-nav { position: absolute; border: 0; color: #fff; background: rgba(255,255,255,.09); cursor: pointer; backdrop-filter: blur(12px); transition: background .2s ease, transform .2s ease; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,.18); transform: scale(1.06); }
.lightbox-close { top: 22px; right: 22px; width: 48px; height: 48px; border-radius: 50%; font-size: 2rem; line-height: 1; }
.lightbox-nav { top: 50%; width: 52px; height: 66px; border-radius: 16px; font-size: 2.6rem; line-height: 1; transform: translateY(-50%); }
.lightbox-nav:hover { transform: translateY(-50%) scale(1.06); }
.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }
.noscript-message { position: fixed; z-index: 9999; left: 0; right: 0; bottom: 0; padding: 12px; text-align: center; color: #fff; background: #111827; }

/* El contenido siempre es visible por defecto. JavaScript solo activa la animación
   cuando está disponible; así se evita una pantalla en blanco si el script falla. */
.reveal { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }
.reveal.reveal-pending { opacity: 0; transform: translateY(24px); }
.reveal.reveal-pending.visible { opacity: 1; transform: none; }

@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes rotateBack { to { transform: rotate(-360deg); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%,0); } 35% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%,18px); } }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 1040px) {
  .site-nav { gap: 20px; }
  .hero-layout { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero-visual { min-height: 490px; }
  .visual-ring-one { width: 440px; height: 440px; }
  .visual-ring-two { width: 340px; height: 340px; }
  .logo-card { width: 370px; min-height: 320px; }
  .service-card { padding: 28px; }
  .work-intro-grid, .video-layout { gap: 45px; }
}

@media (max-width: 860px) {
  .section { padding: 84px 0; }
  .header-inner { height: 74px; }
  .brand { width: 154px; }
  .menu-toggle { display: block; z-index: 3; }
  .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 10px);
    padding: 22px;
    display: grid;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(15,23,42,.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: .25s ease;
  }
  .site-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .site-nav > a { padding: 12px 4px; }
  .site-nav > a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin-top: 8px; }
  .hero { min-height: auto; padding-top: 130px; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .eyebrow, .hero-actions, .hero-services { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .hero-visual { min-height: 500px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .service-icon { margin-bottom: 30px; }
  .section-heading { align-items: start; flex-direction: column; gap: 18px; }
  .work-intro-grid, .video-layout { grid-template-columns: 1fr; }
  .work-intro-copy, .video-copy { text-align: center; }
  .work-intro-copy p:not(.section-kicker), .video-copy p:not(.section-kicker) { margin-inline: auto; }
  .video-badges { justify-content: center; }
  .work-collage { min-height: 520px; }
  .contact-card { padding: 45px; grid-template-columns: 1fr; text-align: center; }
  .contact-button { justify-self: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 70px 0; }
  .hero { padding: 116px 0 60px; }
  .hero h1 { font-size: clamp(2.7rem, 14vw, 4.4rem); }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .hero-services { gap: 10px 16px; }
  .hero-visual { min-height: 410px; }
  .visual-ring-one { width: 350px; height: 350px; }
  .visual-ring-two { width: 285px; height: 285px; }
  .logo-card { width: 300px; min-height: 275px; padding: 50px 24px 34px; }
  .floating-chip { padding: 9px 12px; font-size: .72rem; }
  .chip-red { left: 0; top: 24%; }
  .chip-blue { right: 0; bottom: 18%; }
  .scroll-cue { display: none; }
  .section-heading h2, .work-intro h2, .video-copy h2, .contact-copy h2 { font-size: 2.45rem; }
  .service-card { padding: 25px; }
  .feature-track { font-size: .82rem; }
  .work-collage { min-height: 430px; }
  .collage-large { width: 67%; height: 75%; }
  .collage-small { width: 42%; height: 40%; }
  .collage-label { left: 56%; }
  .gallery { columns: 2 145px; column-gap: 12px; }
  .gallery-item { margin-bottom: 12px; border-radius: 13px; }
  .gallery-item span { display: none; }
  .video-frame { width: min(100%, 340px); }
  .contact-card { min-height: 410px; padding: 38px 22px; border-radius: 25px; }
  .contact-button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom .container { padding: 15px 0; flex-direction: column; justify-content: center; }
  .whatsapp-float { right: 14px; bottom: 14px; width: 58px; height: 58px; min-height: 58px; padding: 0; justify-content: center; }
  .whatsapp-float span { display: none; }
  .back-to-top { right: 20px; bottom: 84px; }
  .lightbox { padding: 16px; }
  .lightbox-nav { top: auto; bottom: 22px; width: 48px; height: 48px; border-radius: 50%; transform: none; }
  .lightbox-nav:hover { transform: scale(1.06); }
  .lightbox-prev { left: calc(50% - 62px); }
  .lightbox-next { right: calc(50% - 62px); }
  .lightbox-content { max-width: 96vw; }
  .lightbox-content img { max-height: 72vh; }
}

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