:root {
  --blue-dark: #0f3a63;
  --blue: #1c6fc9;
  --blue-light: #5fa8e8;
  --blue-pale: #eaf3fc;
  --cyan: #22e0ff;
  --cyan-soft: #7df0ff;
  --navy: #060d1a;
  --navy-2: #0a1830;
  --ink: #0b1220;
  --white: #ffffff;
  --gray: #5b6b7c;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 58, 99, 0.12);
  --shadow-lg: 0 20px 50px rgba(15, 58, 99, 0.18);
  --glow-cyan: 0 0 24px rgba(34, 224, 255, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
}
header.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(15,58,99,0.08);
  padding: 10px 0;
}
header .container { display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 11px;
  background: linear-gradient(145deg, var(--blue-dark), var(--blue) 55%, var(--cyan));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative;
  box-shadow: 0 4px 16px rgba(15,58,99,0.35), 0 0 18px rgba(34,224,255,0.35);
}
.logo-mark::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.55), transparent 45%);
  mix-blend-mode: overlay;
}
.logo-mark svg { width: 24px; height: 24px; position: relative; z-index: 1; }
.logo-text {
  font-size: 22px; font-weight: 800; letter-spacing: -0.5px;
  color: var(--ink);
  transition: color .35s ease;
}
header:not(.scrolled) .logo-text { color: var(--white); }
.logo-text span { color: var(--blue); }

nav ul { display: flex; gap: 34px; }
nav a {
  font-weight: 600; font-size: 15px;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  transition: color .3s ease;
}
header:not(.scrolled) nav a { color: var(--white); }
nav a::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--blue-light);
  transition: width .3s ease;
}
nav a:hover::after { width: 100%; }
nav a.active-link { color: var(--cyan-soft); }
header.scrolled nav a.active-link { color: var(--blue); }
nav a.active-link::after { width: 100%; }

.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(28,111,201,0.35);
  transition: transform .25s ease, box-shadow .25s ease;
}
.nav-cta::after { display: none; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(28,111,201,0.45); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer;
  z-index: 1100;
}
.nav-toggle span {
  width: 100%; height: 2px; background: var(--white); border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease, background .3s ease;
}
header.scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle.open span { background: var(--ink) !important; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  background:
    radial-gradient(ellipse 900px 600px at 85% 20%, rgba(34,224,255,0.16), transparent 60%),
    radial-gradient(ellipse 700px 500px at 10% 90%, rgba(28,111,201,0.25), transparent 60%),
    linear-gradient(160deg, var(--navy), var(--navy-2) 55%, #0f2d52);
  background-size: 140% 140%, 140% 140%, 200% 200%;
  animation: gradientShift 16s ease infinite;
  overflow: hidden;
  color: var(--white);
  padding-top: 90px;
}
@keyframes gradientShift {
  0% { background-position: 0% 0%, 0% 0%, 0% 30%; }
  50% { background-position: 20% 10%, 10% 5%, 100% 70%; }
  100% { background-position: 0% 0%, 0% 0%, 0% 30%; }
}

.hero-grid-overlay {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(125,240,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125,240,255,0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 40%, transparent 90%);
}

.hero-layout {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 30px;
}
.hero-visual { position: relative; }
.hero-photo-frame {
  position: relative; max-width: 440px; margin: 0 auto;
  border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(125,240,255,0.35);
  box-shadow: var(--shadow-lg), var(--glow-cyan);
  animation: buildingFloat 8s ease-in-out infinite;
  perspective: 800px;
}
.hero-photo-tilt {
  width: 100%; height: 100%; transform-style: preserve-3d;
  transition: transform .2s ease-out;
}
.hero-photo-tilt img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }

.hero-spotlight {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(circle 340px at var(--mx, 50%) var(--my, 40%), rgba(34,224,255,0.14), transparent 70%);
  opacity: 0; transition: opacity .4s ease;
}
.hero-spotlight.active { opacity: 1; }
@keyframes buildingFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero-photo-frame .spark {
  position: absolute; width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan-soft); box-shadow: 0 0 10px 2px rgba(125,240,255,0.7);
  animation: sparkBlink 2.6s ease-in-out infinite;
}
.hero-photo-frame .s1 { top: 12%; left: 8%; }
.hero-photo-frame .s2 { top: 70%; right: 10%; animation-delay: .6s; }
.hero-photo-frame .s3 { bottom: 10%; left: 40%; animation-delay: 1.2s; }
@keyframes sparkBlink { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }

.hero-shapes { position: absolute; inset: 0; z-index: 1; }
.shard {
  position: absolute;
  background: linear-gradient(135deg, rgba(125,240,255,0.12), rgba(255,255,255,0.02));
  border: 1px solid rgba(125,240,255,0.22);
  box-shadow: 0 0 30px rgba(34,224,255,0.08);
  backdrop-filter: blur(2px);
  animation: float 10s ease-in-out infinite;
}
.shard.s1 { width: 220px; height: 220px; top: 8%; right: 8%; clip-path: polygon(0 0, 100% 20%, 80% 100%, 10% 80%); animation-duration: 12s; }
.shard.s2 { width: 140px; height: 140px; top: 55%; right: 22%; clip-path: polygon(20% 0, 100% 10%, 90% 90%, 0 100%); animation-duration: 9s; animation-delay: -3s; }
.shard.s3 { width: 100px; height: 100px; top: 20%; right: 32%; clip-path: polygon(0 20%, 80% 0, 100% 90%, 20% 100%); animation-duration: 8s; animation-delay: -1s; }
.shard.s4 { width: 300px; height: 300px; top: 60%; right: -5%; clip-path: polygon(10% 0, 100% 15%, 85% 100%, 0 85%); animation-duration: 15s; animation-delay: -6s; }
.shard.s5 { width: 70px; height: 70px; top: 12%; right: 45%; clip-path: polygon(0 0, 100% 30%, 70% 100%, 10% 70%); animation-duration: 7s; animation-delay: -2s; }

@keyframes float {
  0%, 100% { transform: translate(0,0) rotate(0deg); }
  50% { transform: translate(-18px, 24px) rotate(8deg); }
}

.hero-content { position: relative; z-index: 2; max-width: 640px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 8px 16px; border-radius: 30px;
  font-size: 13px; font-weight: 600; letter-spacing: .3px;
  margin-bottom: 24px;
  opacity: 0; animation: fadeUp .8s ease forwards .2s;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; animation: pulse 2s ease infinite; }

.hero h1 {
  font-size: clamp(38px, 5.5vw, 62px);
  font-weight: 800; line-height: 1.08; letter-spacing: -1px;
  margin-bottom: 20px;
  opacity: 0; animation: fadeUp .8s ease forwards .4s;
}
.hero h1 .shine {
  position: relative;
  background: linear-gradient(90deg, #fff 0%, #cfe8ff 30%, #fff 55%, #cfe8ff 80%, #fff 100%);
  background-size: 250% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 5s linear infinite;
}
@keyframes shine { to { background-position: -250% center; } }

.hero p.lead {
  font-size: 18px; line-height: 1.6; color: rgba(255,255,255,0.88);
  margin-bottom: 32px; max-width: 520px;
  opacity: 0; animation: fadeUp .8s ease forwards .6s;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; opacity: 0; animation: fadeUp .8s ease forwards .8s; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 30px;
  font-weight: 700; font-size: 15px;
  transition: transform .25s ease, box-shadow .25s ease;
  border: none; cursor: pointer;
}
.btn-primary { background: var(--white); color: var(--blue-dark); box-shadow: 0 10px 26px rgba(0,0,0,0.2); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(0,0,0,0.28); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.12); transform: translateY(-3px); }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.hero-badge, .hero h1, .hero p.lead, .hero-actions { transform: translateY(24px); }

.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,0.75); font-size: 12px; text-align: center;
  animation: bob 2.2s ease-in-out infinite;
}
.scroll-cue .line { width: 1px; height: 34px; background: rgba(255,255,255,0.5); margin: 8px auto 0; }
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-stagger.visible .stagger-item { opacity: 1; transform: translateY(0); }
.stagger-item { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.stagger-item:nth-child(1) { transition-delay: .05s; }
.stagger-item:nth-child(2) { transition-delay: .15s; }
.stagger-item:nth-child(3) { transition-delay: .25s; }
.stagger-item:nth-child(4) { transition-delay: .35s; }
.stagger-item:nth-child(5) { transition-delay: .45s; }
.stagger-item:nth-child(6) { transition-delay: .55s; }
.stagger-item:nth-child(7) { transition-delay: .65s; }
.stagger-item:nth-child(8) { transition-delay: .75s; }

/* ---------- Section basics ---------- */
section { padding: 110px 0; position: relative; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--blue); margin-bottom: 14px;
}
h2.section-title { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.5px; margin-bottom: 18px; }
.section-lead { color: var(--gray); font-size: 17px; line-height: 1.7; max-width: 640px; }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- Quienes somos ---------- */
#nosotros { background: var(--white); }
.about-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center;
}
.about-text p { color: var(--gray); font-size: 16px; line-height: 1.8; margin-bottom: 18px; }
.about-text strong { color: var(--ink); }
.about-visual {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--blue-pale), #d6e9fb);
  box-shadow: var(--shadow-lg);
}
.about-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-visual .cap {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 18px 22px; background: rgba(15,58,99,0.85); color: #fff;
  font-size: 13px; font-weight: 600;
}
.badge-row { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.badge-pill {
  display: flex; align-items: center; gap: 10px;
  background: var(--blue-pale); padding: 12px 18px; border-radius: 12px;
  font-weight: 700; font-size: 14px; color: var(--blue-dark);
}
.badge-pill svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- Servicios ---------- */
#servicios { background: var(--blue-pale); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
  background: var(--white); border-radius: var(--radius); padding: 32px 26px;
  box-shadow: var(--shadow);
  transition: transform .35s ease, box-shadow .35s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  animation: iconPulse 3.4s ease-in-out infinite;
}
.service-card:nth-child(2) .service-icon { animation-delay: .3s; }
.service-card:nth-child(3) .service-icon { animation-delay: .6s; }
.service-card:nth-child(4) .service-icon { animation-delay: .9s; }
@keyframes iconPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(28,111,201,0.35); }
  50% { box-shadow: 0 0 0 8px rgba(28,111,201,0); }
}
.service-icon svg { width: 28px; height: 28px; color: #fff; }
.service-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.service-card p { color: var(--gray); font-size: 14.5px; line-height: 1.6; }

/* ---------- Productos ---------- */
#productos { background: var(--white); }
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
  border: 1px solid #e6edf5; border-radius: var(--radius);
  padding: 26px 22px; cursor: pointer;
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease, background .3s ease;
  position: relative; overflow: hidden;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.product-card::before {
  content: ''; position: absolute; inset: 0; opacity: 0;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue) 65%, var(--cyan));
  transition: opacity .35s ease; z-index: 0;
}
.product-card.active::before { opacity: 1; }
.product-card.active { box-shadow: var(--shadow-lg), var(--glow-cyan); }
.product-card h3, .product-card .tag, .product-card .card-icon { position: relative; z-index: 1; }
.card-icon {
  width: 100%; aspect-ratio: 1/1; margin-bottom: 14px;
  border-radius: 10px; overflow: hidden; box-shadow: 0 4px 14px rgba(15,58,99,0.12);
}
.card-icon svg { width: 100%; height: 100%; display: block; }
.product-card h3 { font-size: 16px; font-weight: 800; letter-spacing: .3px; margin-bottom: 6px; transition: color .3s ease; }
.product-card.active h3 { color: #fff; }
.product-card .tag { font-size: 12.5px; color: var(--gray); transition: color .3s ease; }
.product-card.active .tag { color: rgba(255,255,255,0.85); }

.product-detail {
  margin-top: 32px; background: var(--blue-pale); border-radius: var(--radius);
  padding: 40px; display: none;
}
.product-detail.open { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; animation: fadeUp .5s ease; }
.product-detail h3 { font-size: 24px; font-weight: 800; margin-bottom: 14px; color: var(--blue-dark); }
.product-detail p.desc { color: var(--gray); line-height: 1.7; margin-bottom: 18px; }
.product-detail ul { display: flex; flex-direction: column; gap: 10px; }
.product-detail li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink); line-height: 1.5; }
.product-detail li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--blue); }
.product-detail .detail-visual {
  border-radius: 12px; aspect-ratio: 1/1;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow);
}
.product-detail .detail-visual svg {
  position: relative; z-index: 1; width: 100%; height: 100%; display: block;
}

/* ---------- Proceso / galeria ---------- */
#proceso {
  background:
    radial-gradient(ellipse 700px 400px at 90% 10%, rgba(34,224,255,0.10), transparent 60%),
    var(--navy);
  color: #fff; position: relative; overflow: hidden;
}
#proceso::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(125,240,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125,240,255,0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 70% 60% at 80% 20%, #000 40%, transparent 90%);
}
#proceso .container { position: relative; z-index: 1; }
#proceso .section-lead { color: rgba(255,255,255,0.75); }
#proceso .eyebrow { color: var(--cyan); }
.video-card {
  border-radius: var(--radius); overflow: hidden;
  background: #000;
  position: relative; box-shadow: var(--shadow-lg), 0 0 30px rgba(34,224,255,0.1);
  border: 1px solid rgba(125,240,255,0.15);
}
.video-card video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.video-card .cap {
  position: absolute; bottom: 16px; left: 20px; font-weight: 700; font-size: 14px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6); pointer-events: none;
}
.gallery-visual { aspect-ratio: 21/9; }
.gallery-visual .cap { bottom: 22px; left: 28px; font-size: 15px; }

.video-gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px;
}
.video-gallery .video-card { aspect-ratio: 4/3; }
.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,0.92); color: var(--blue-dark);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--glow-cyan), 0 8px 26px rgba(0,0,0,0.35);
  transition: transform .25s ease, opacity .25s ease;
}
.play-btn svg { width: 30px; height: 30px; margin-left: 4px; }
.play-btn:hover { transform: translate(-50%, -50%) scale(1.08); }
.play-btn.hidden { opacity: 0; pointer-events: none; }
.video-gallery .play-btn { width: 54px; height: 54px; }
.video-gallery .play-btn svg { width: 22px; height: 22px; }

/* ---------- Contacto ---------- */
#contacto { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-list { display: flex; flex-direction: column; gap: 22px; margin-top: 30px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item .ic {
  width: 46px; height: 46px; border-radius: 12px; background: var(--blue-pale);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  animation: iconPulse 3.4s ease-in-out infinite;
}
.contact-item:nth-child(2) .ic { animation-delay: .3s; }
.contact-item:nth-child(3) .ic { animation-delay: .6s; }
.contact-item:nth-child(4) .ic { animation-delay: .9s; }
.contact-item .ic svg { width: 22px; height: 22px; color: var(--blue); }
.contact-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.contact-item p, .contact-item a { color: var(--gray); font-size: 14.5px; }
.contact-item a:hover { color: var(--blue); }
.map-frame {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
  border: none; width: 100%; height: 100%; min-height: 380px;
}

/* ---------- Footer ---------- */
footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 40px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
footer .logo-text { color: #fff; }
.footer-copy { font-size: 13px; }

/* ---------- WhatsApp float button ---------- */
.wa-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(37,211,102,0.45);
  transition: transform .25s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; color: #fff; }
.wa-float::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366; animation: pulseRing 2.2s ease-out infinite;
}
@keyframes pulseRing {
  0% { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.7); opacity: 0; }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0.6); }
  50% { box-shadow: 0 0 0 6px rgba(74,222,128,0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  nav#mainNav {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(78vw, 320px);
    background: var(--white); box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    transform: translateX(100%); transition: transform .35s ease;
    padding: 100px 32px 32px; z-index: 1050;
  }
  nav#mainNav.open { transform: translateX(0); }
  nav#mainNav ul { flex-direction: column; gap: 26px; }
  nav#mainNav a { color: var(--ink) !important; font-size: 17px; }
  nav#mainNav .nav-cta { display: inline-block; text-align: center; }
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(11,18,32,0.4);
    opacity: 0; pointer-events: none; transition: opacity .35s ease; z-index: 1040;
  }
  .nav-backdrop.open { opacity: 1; pointer-events: auto; }

  .hero-layout { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { max-width: 280px; margin: 0 auto; order: -1; }
  .hero-content { max-width: 100%; }
  .hero-actions { justify-content: center; }

  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail.open { grid-template-columns: 1fr; }
  .video-gallery { grid-template-columns: repeat(2, 1fr); }
  section { padding: 80px 0; }
}
@media (max-width: 560px) {
  .services-grid, .products-grid { grid-template-columns: 1fr 1fr; }
  .video-gallery { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
}
