/* ============================================================
   CORPORACIÓN ELÉCTRICA — estilos base
   ============================================================ */

:root {
  --navy-900: #0a1f3d;
  --navy-800: #0d2547;
  --navy-700: #123a6f;
  --navy-600: #16478a;
  --blue-500: #1f6fb2;
  --teal-400: #2bb0c9;
  --orange-500: #f7931e;
  --orange-600: #e07d0a;
  --orange-100: #fff1de;
  --gray-50: #f6f8fb;
  --gray-100: #eef1f6;
  --gray-200: #dfe5ee;
  --gray-500: #6d7a8f;
  --gray-700: #3a4557;
  --white: #ffffff;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 4px 14px rgba(10, 31, 61, .08);
  --shadow: 0 16px 40px rgba(10, 31, 61, .14);
  --shadow-lg: 0 28px 60px rgba(10, 31, 61, .22);

  --font-head: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;

  --header-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-800);
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1.15;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.15rem; }

p { line-height: 1.7; margin: 0 0 1em; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--orange-500), var(--teal-400));
  z-index: 1200;
  transition: width .1s linear;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 15px 30px;
  border-radius: 100px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  border: 2px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(247, 147, 30, .35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(247, 147, 30, .42); }
.btn-outline {
  background: transparent;
  border-color: var(--navy-700);
  color: var(--navy-700);
}
.btn-outline:hover { background: var(--navy-700); color: var(--white); transform: translateY(-3px); }
.btn-small { padding: 10px 20px; font-size: .85rem; }
.btn-block { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .35s ease, height .35s ease;
}
.site-header.is-scrolled {
  box-shadow: var(--shadow);
  height: 72px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 54px; height: 54px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--white);
  border-radius: 13px;
  padding: 6px;
  box-shadow: 0 6px 16px rgba(10, 31, 61, .18);
  transition: transform .5s ease;
  overflow: hidden;
}
.brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.brand:hover .brand-logo { transform: rotate(8deg) scale(1.05); }
.brand-logo--lg { width: 92px; height: 92px; border-radius: 20px; padding: 10px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.05; font-family: var(--font-head); }
.brand-text strong { font-size: 1.02rem; color: var(--navy-800); letter-spacing: .03em; }
.brand-text em { font-style: normal; font-size: .8rem; color: var(--orange-500); letter-spacing: .12em; }

.main-nav ul { display: flex; gap: 30px; }
.nav-link {
  font-weight: 600;
  font-size: .95rem;
  color: var(--navy-800);
  position: relative;
  padding: 6px 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--orange-500);
  transition: right .3s ease;
}
.nav-link:hover::after, .nav-link.is-active::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy-800); font-size: .92rem; }
.header-phone .icon { width: 18px; height: 18px; fill: var(--orange-500); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none;
  z-index: 1100;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--navy-800);
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(10, 31, 61, .5);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
  z-index: 900;
}
.nav-overlay.is-visible { opacity: 1; pointer-events: auto; }

/* ============================================================
   IMAGE BOX (fits without deforming, graceful fallback)
   ============================================================ */
.img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-700), var(--teal-400));
  box-shadow: var(--shadow-sm);
}
.img-box--wide { aspect-ratio: 16 / 10; }
.img-box--tall { aspect-ratio: 4 / 5; }
.img-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity .5s ease, transform .6s ease;
}
.img-box img.is-loaded { opacity: 1; }
.img-box:hover img.is-loaded { transform: scale(1.05); }

.img-fallback {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 16px;
  color: rgba(255, 255, 255, .92);
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, var(--navy-700), var(--blue-500) 55%, var(--teal-400));
}
.fallback-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  border: 1.5px dashed rgba(255, 255, 255, .6);
  position: relative;
}
.fallback-icon::before {
  content: '';
  position: absolute; inset: 0;
  margin: auto;
  width: 20px; height: 20px;
  background: rgba(255,255,255,.9);
  clip-path: polygon(45% 0, 0 60%, 40% 60%, 30% 100%, 100% 35%, 55% 35%);
}
.fallback-label { font-size: .82rem; font-weight: 600; letter-spacing: .01em; max-width: 240px; }
.img-box img.is-broken { display: none; }
.img-box:not(.has-error) .img-fallback { transition: opacity .4s ease; }
.img-box.has-image .img-fallback { opacity: 0; pointer-events: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 60px) 0 90px;
  overflow: hidden;
  background: var(--navy-900);
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .55;
  animation: float 12s ease-in-out infinite;
}
.blob-1 { width: 420px; height: 420px; background: var(--teal-400); top: -120px; left: -100px; }
.blob-2 { width: 380px; height: 380px; background: var(--orange-500); bottom: -140px; right: -80px; opacity: .35; animation-delay: -4s; }
.blob-3 { width: 300px; height: 300px; background: var(--blue-500); top: 30%; right: 15%; opacity: .3; animation-delay: -8s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.08); }
}
.hero-bolt-deco {
  position: absolute;
  width: 260px; height: 260px;
  right: -40px; top: 10%;
  fill: rgba(255, 255, 255, .04);
  transform: rotate(8deg);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  color: var(--orange-500);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .82rem;
  margin-bottom: 16px;
}
.hero h1 { color: var(--white); }
.hero-lead { color: rgba(255, 255, 255, .78); font-size: 1.05rem; max-width: 540px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin: 28px 0 34px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-tags li {
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: .82rem;
  font-weight: 600;
}
.hero-tag--live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(247, 147, 30, .14);
  border-color: rgba(247, 147, 30, .45) !important;
  color: var(--white) !important;
}
.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange-500);
  box-shadow: 0 0 0 0 rgba(247, 147, 30, .6);
  animation: pulse-dot 1.8s infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(247, 147, 30, .55); }
  70% { box-shadow: 0 0 0 8px rgba(247, 147, 30, 0); }
  100% { box-shadow: 0 0 0 0 rgba(247, 147, 30, 0); }
}
.live-badge { display: inline-flex; align-items: center; gap: 8px; }

.hero-media { position: relative; }

.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--orange { stroke: var(--orange-500); color: var(--orange-500); }
.icon--navy { stroke: var(--navy-700); color: var(--navy-700); }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 100px 0; }
.section--muted { background: var(--gray-50); }
.section--dark { background: var(--navy-900); }
.section--dark p, .section--dark h2 { color: var(--white); }

.section-head { max-width: 720px; margin: 0 auto 50px; text-align: center; }
.section-tag {
  display: inline-block;
  color: var(--orange-500);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: 10px;
}
.section-tag--light { color: var(--orange-500); }
.section-lead { color: var(--gray-500); font-size: 1.02rem; }
.section-lead--light { color: rgba(255,255,255,.72); }

/* ---------- Mision / Vision ---------- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; margin-bottom: 70px; }
.mv-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}
.mv-media-split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mv-body { padding: 26px 10px 6px; }
.mv-body h3 { color: var(--orange-500); text-transform: uppercase; margin-bottom: .4em; }

.objective-banner {
  background: linear-gradient(120deg, var(--navy-800), var(--navy-600));
  border-radius: var(--radius-lg);
  padding: 60px 50px;
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  overflow: hidden;
}
.objective-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(247,147,30,.25), transparent 55%);
}
.objective-banner p { position: relative; color: rgba(255,255,255,.9); font-size: 1.2rem; max-width: 780px; margin: 0 auto; font-weight: 500; }
.objective-banner .section-tag { position: relative; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.obj-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.obj-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.obj-number {
  display: block;
  font-family: var(--font-head);
  font-size: 2.4rem;
  color: var(--orange-100);
  -webkit-text-stroke: 1.5px var(--orange-500);
  margin-bottom: 6px;
}
.obj-card h3 { color: var(--navy-800); }

/* ---------- Valores ---------- */
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.value-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.value-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); background: var(--navy-800); }
.value-card:hover h3, .value-card:hover p { color: var(--white); }
.value-card:hover .icon { stroke: var(--orange-500); }
.value-card:hover .value-num { color: rgba(255,255,255,.15); }
.value-num {
  position: absolute; top: 14px; right: 18px;
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--gray-200);
  transition: color .3s ease;
}
.value-card .icon { width: 34px; height: 34px; stroke: var(--navy-700); margin-bottom: 16px; transition: stroke .3s ease; }
.value-card h3 { font-size: 1rem; margin-bottom: .5em; transition: color .3s ease; }
.value-card p { font-size: .86rem; color: var(--gray-500); transition: color .3s ease; }

/* ---------- Servicios ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.service-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: background .35s ease, transform .35s ease;
}
.service-card:hover .service-icon { background: linear-gradient(135deg, var(--orange-500), var(--orange-600)); transform: rotate(-6deg) scale(1.05); }
.service-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--white); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-size: 1.05rem; margin-bottom: .5em; }
.service-card p { font-size: .92rem; color: var(--gray-500); margin: 0; }

/* ---------- Gallery / Proyectos ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-item {
  background: none; border: none; padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
}
.gallery-item .img-box { aspect-ratio: 1 / 1; }
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(10,31,61,.35);
  opacity: 0;
  transition: opacity .3s ease;
  border-radius: var(--radius);
}
.gallery-item:hover::after { opacity: 1; }

.lightbox {
  position: fixed; inset: 0;
  background: rgba(6, 16, 31, .94);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px;
  z-index: 1300;
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
  padding: 40px 20px;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(90vw, 900px);
  max-height: 72vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  transform: scale(.92);
  transition: transform .3s ease;
  box-shadow: var(--shadow-lg);
}
.lightbox.is-open img { transform: scale(1); }
.lightbox-caption { color: rgba(255,255,255,.85); font-size: .92rem; text-align: center; }
.lightbox-close {
  position: absolute; top: 24px; right: 28px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: var(--white);
  font-size: 1.8rem;
  border: none;
  line-height: 1;
  transition: background .25s ease, transform .25s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,.22); transform: rotate(90deg); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: var(--white);
  font-size: 2rem;
  border: none;
  transition: background .25s ease;
}
.lightbox-nav:hover { background: rgba(255,255,255,.22); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* ---------- CTA band ---------- */
.cta-band { padding: 90px 0; background: var(--gray-50); }
.cta-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.cta-copy h2 { margin-bottom: .3em; }
.cta-copy h2 span { color: var(--orange-500); }
.cta-copy p { color: var(--gray-500); font-size: 1.05rem; margin-bottom: 28px; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.contact-card .icon { width: 30px; height: 30px; margin-bottom: 12px; }
.contact-card h3 { font-size: .95rem; margin-bottom: 10px; }
.contact-card a, .contact-card span { display: block; font-size: .92rem; color: var(--gray-500); margin-bottom: 4px; }
.contact-card a:hover { color: var(--orange-500); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .84rem; font-weight: 700; color: var(--navy-800); margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: .92rem;
  color: var(--gray-700);
  background: var(--gray-50);
  transition: border-color .25s ease, background .25s ease;
  resize: vertical;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--orange-500);
  background: var(--white);
}
.form-note { font-size: .78rem; color: var(--gray-500); text-align: center; margin: 14px 0 0; transition: color .25s ease; }
.form-note--success { color: #1f9d55; font-weight: 700; }
.form-note--error { color: #d9483b; font-weight: 700; }

.btn:disabled { opacity: .7; cursor: not-allowed; transform: none !important; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.7); padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; padding-bottom: 50px; }
.brand--footer .brand-text strong { color: var(--white); }
.site-footer p { color: rgba(255,255,255,.55); font-size: .9rem; margin-top: 16px; }
.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-links a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s ease, transform .25s ease;
}
.social-links a:hover { background: var(--orange-500); transform: translateY(-3px); }
.social-links svg { width: 17px; height: 17px; fill: none; stroke: var(--white); stroke-width: 1.8; }

.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links h4 { color: var(--white); font-size: .85rem; letter-spacing: .08em; margin-bottom: 6px; }
.footer-links a { font-size: .9rem; color: rgba(255,255,255,.65); transition: color .2s ease; }
.footer-links a:hover { color: var(--orange-500); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; }
.footer-bottom p { margin: 0; font-size: .82rem; text-align: center; color: rgba(255,255,255,.5); }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy-800);
  border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s ease, visibility .3s ease, transform .3s ease, background .3s ease;
  z-index: 900;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--orange-500); }
.back-to-top svg { width: 20px; height: 20px; fill: none; stroke: var(--white); stroke-width: 2; }

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  .main-nav { display: none; }
  .header-phone { display: none; }
  .nav-toggle { display: flex; }

  .main-nav {
    display: block;
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 82vw);
    background: var(--navy-900);
    padding: 110px 34px 40px;
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.2,.7,.2,1);
    z-index: 1000;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 26px; }
  .main-nav .nav-link { color: var(--white); font-size: 1.1rem; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 460px; margin: 40px auto 0; }
  .mv-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .objective-banner { padding: 40px 26px; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}
