:root {
  --bg: #edf4f7;
  --bg-alt: #d6e5eb;
  --surface: #ffffff;
  --surface-2: #f4f9fb;
  --text: #122837;
  --text-muted: #536876;
  --primary: #007a96;
  --primary-deep: #0d3f53;
  --accent: #f68f2b;
  --ring: rgba(0, 122, 150, 0.28);
  --border: rgba(18, 40, 55, 0.15);
  --shadow-soft: 0 18px 35px rgba(12, 49, 65, 0.14);
  --shadow-card: 0 10px 25px rgba(14, 37, 51, 0.1);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: min(1120px, 92vw);
  --hero-bg-image: url("assets/multimedia/web/auto-sala-bombas.png");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Sora", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 12%, rgba(0, 122, 150, 0.14), transparent 38%),
    radial-gradient(circle at 92% 14%, rgba(246, 143, 43, 0.16), transparent 30%),
    linear-gradient(170deg, var(--bg) 0%, #f8fbfd 45%, var(--bg-alt) 100%);
  line-height: 1.55;
  min-height: 100vh;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.08;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.7rem);
  margin-bottom: 0.8rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}

p {
  margin-top: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #0bb5cf, var(--accent));
  transform-origin: left;
  transform: scaleX(0);
  z-index: 80;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  background: var(--primary-deep);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(237, 244, 247, 0.82);
  border-bottom: 1px solid rgba(18, 40, 55, 0.08);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 122, 150, 0.5), transparent);
}

.site-header.is-scrolled {
  background: rgba(248, 252, 254, 0.92);
  box-shadow: 0 10px 24px rgba(13, 40, 55, 0.12);
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 84px;
  transition: min-height 0.25s ease;
}

.site-header.is-scrolled .header-wrap {
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
}

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(13, 63, 83, 0.22));
}

.brand-text {
  font-size: 0.98rem;
}

.main-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  flex-direction: column;
  gap: 5px;
  padding: 0.45rem;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text);
  border-radius: 10px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.section {
  padding: 5.25rem 0;
}

.section-light {
  background: rgba(255, 255, 255, 0.72);
}

.section-band {
  position: relative;
  background: linear-gradient(160deg, rgba(13, 63, 83, 0.95), rgba(0, 122, 150, 0.9));
  color: #f4fbff;
}

.section-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.section-band .container {
  position: relative;
}

.section-head {
  margin-bottom: 2rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--primary);
}

.section-band .eyebrow {
  color: rgba(255, 255, 255, 0.88);
}

.hero {
  padding: 7.4rem 0 5.2rem;
  min-height: min(92vh, 860px);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(115deg, rgba(5, 20, 29, 0.84), rgba(9, 45, 61, 0.72)),
    var(--hero-bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(186, 226, 241, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(186, 226, 241, 0.08) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at 28% 38%, black, transparent 85%);
  z-index: 1;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 18%, rgba(246, 143, 43, 0.28), transparent 34%),
    radial-gradient(circle at 20% 86%, rgba(0, 122, 150, 0.28), transparent 40%);
  z-index: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  z-index: 0;
}

.hero-glow-a {
  width: 390px;
  height: 390px;
  background: rgba(0, 122, 150, 0.18);
  top: -160px;
  left: -90px;
  animation: drift 10s ease-in-out infinite;
}

.hero-glow-b {
  width: 440px;
  height: 440px;
  background: rgba(246, 143, 43, 0.14);
  right: -170px;
  bottom: -240px;
  animation: drift 11s ease-in-out infinite reverse;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
  position: relative;
  z-index: 2;
}

.hero-copy {
  color: #ecf8ff;
}

.hero-copy h1 {
  color: #f2fbff;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
}

.hero .eyebrow {
  color: #c9f0ff;
}

.hero .lead {
  color: rgba(234, 246, 255, 0.92);
  font-size: 1.06rem;
  max-width: 60ch;
}

.hero-badges {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-badges li {
  background: rgba(8, 27, 38, 0.54);
  border: 1px solid rgba(174, 221, 238, 0.34);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #e9f8ff;
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font-weight: 700;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(125deg, var(--primary), var(--primary-deep));
  box-shadow: var(--shadow-card);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 14px 28px rgba(13, 63, 83, 0.3);
}

.btn-outline {
  color: var(--primary-deep);
  border-color: rgba(13, 63, 83, 0.25);
  background: rgba(255, 255, 255, 0.88);
}

.hero .btn-outline {
  color: #eaf8ff;
  border-color: rgba(193, 230, 244, 0.54);
  background: rgba(9, 37, 50, 0.45);
}

.hero-panel {
  background: linear-gradient(160deg, #0e2937, #15485f);
  color: #f0f9ff;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.hero-panel h2 {
  font-size: 1.45rem;
}

.feature-list {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}

.feature-list li {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  padding: 0.72rem 0.86rem;
  font-size: 0.95rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.hero-stats article {
  border-radius: var(--radius-sm);
  padding: 0.82rem;
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats span {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.counter {
  display: inline-block;
  min-width: 1.4ch;
}

.grid-two {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.section-copy p {
  color: var(--text-muted);
}

.section-copy p,
.service-card p,
.product-card p,
.feature-list li,
.step p,
.info-card li,
.contact-card p {
  text-align: left;
}

.info-card,
.service-card,
.product-card,
.step,
.quote-form,
.contact-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.tilt-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.42);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.tilt-card:hover::after {
  opacity: 1;
}

.info-card {
  position: relative;
  padding: 1.5rem;
}

.info-card ul {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}

.info-card li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.info-card li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--primary), var(--accent));
  position: absolute;
  left: 0;
  top: 0.52rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.service-card,
.product-card {
  position: relative;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card:hover,
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 28px rgba(14, 37, 51, 0.16);
}

.service-card p,
.product-card p {
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Portada ilustrada de tarjetas (servicios, productos, pasos) */
.card-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(140deg, var(--primary-deep), var(--primary));
}

.card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform 0.6s ease;
}

.card-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 24, 33, 0) 55%, rgba(8, 24, 33, 0.35) 100%);
  pointer-events: none;
}

.service-card:hover .card-cover img,
.product-card:hover .card-cover img,
.step:hover .card-cover img {
  transform: scale(1.07);
}

.card-body {
  padding: 1.2rem 1.3rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-body h3 {
  margin-bottom: 0.4rem;
}

/* Divulgación progresiva: ver detalle / leer más */
.more {
  margin-top: 0.85rem;
}

.more > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  list-style: none;
  width: fit-content;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--primary);
  transition: color 0.2s ease;
}

.more > summary::-webkit-details-marker {
  display: none;
}

.more > summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: rgba(0, 122, 150, 0.12);
  color: var(--primary);
  font-weight: 700;
  line-height: 1;
  transition: transform 0.25s ease, background 0.2s ease;
}

.more[open] > summary::after {
  content: "\2013";
  transform: rotate(180deg);
  background: rgba(0, 122, 150, 0.2);
}

.more > summary:hover {
  color: var(--primary-deep);
}

.more__body {
  padding-top: 0.6rem;
}

.more__body p {
  margin: 0;
}

.more[open] .more__body {
  animation: moreIn 0.32s ease;
}

@keyframes moreIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
}

.step {
  position: relative;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
  color: #eaf5fb;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.step-head {
  position: relative;
  display: flex;
  align-items: center;
  padding: 1.15rem 1.25rem;
  background: linear-gradient(140deg, #0a2734, #0f5066);
  overflow: hidden;
}

.step-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

.step-head::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 130px;
  height: 130px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(246, 143, 43, 0.35), transparent 70%);
  pointer-events: none;
}

.step-head span {
  position: relative;
  z-index: 1;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1;
  color: #eaf8ff;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.32);
}

.step-head span::before {
  content: "Fase ";
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(201, 240, 255, 0.85);
  vertical-align: middle;
  margin-right: 0.35rem;
}

.step .card-body {
  padding: 1.05rem 1.25rem 1.25rem;
}

.step h3 {
  color: #f3fbff;
}

.step p {
  color: rgba(234, 245, 251, 0.84);
  margin-bottom: 0;
}

/* Variante de divulgación sobre fondo oscuro */
.section-band .more > summary,
.step .more > summary {
  color: #bfe9f5;
}

.section-band .more > summary::after,
.step .more > summary::after {
  background: rgba(255, 255, 255, 0.16);
  color: #eaf8ff;
}

.section-band .more > summary:hover,
.step .more > summary:hover {
  color: #ffffff;
}

.product-tag {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 2;
  display: inline-flex;
  padding: 0.34rem 0.66rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(120deg, #b45309, #92400e);
  box-shadow: 0 6px 14px rgba(180, 83, 9, 0.35);
}

.product-card .text-link {
  margin-top: auto;
}

.product-price {
  margin: 0.2rem 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  color: var(--text-muted);
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.product-price strong {
  font-size: 1.3rem;
  color: var(--primary-deep);
  letter-spacing: -0.01em;
}

.product-price span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.text-link {
  display: inline-block;
  margin-top: 0.95rem;
  color: var(--primary);
  font-weight: 700;
  position: relative;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: scaleX(1);
}

.hero-media-collage {
  margin-top: 1.35rem;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.media-tile {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  min-height: 170px;
}

.media-tile-wide {
  grid-column: 1 / -1;
  min-height: 255px;
}

.media-tile img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.media-tile figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 0.52rem 0.68rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #edfaff;
  background: linear-gradient(180deg, rgba(8, 19, 27, 0), rgba(8, 19, 27, 0.84));
}

.media-placeholder {
  border: 1px dashed rgba(133, 177, 194, 0.55);
  background: linear-gradient(135deg, rgba(15, 49, 65, 0.82), rgba(17, 88, 113, 0.86));
  color: #ecf8ff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 0.95rem;
}

.placeholder-chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.24rem 0.58rem;
  background: rgba(246, 143, 43, 0.25);
  border: 1px solid rgba(246, 143, 43, 0.42);
  color: #ffd9b1;
}

.media-placeholder p {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  color: inherit;
}

.media-placeholder small {
  color: rgba(234, 247, 255, 0.8);
  font-size: 0.75rem;
}

.section-media-strip {
  margin-top: 1.3rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section-media-strip .media-tile {
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  background: #fff;
  min-height: 220px;
}

.section-media-strip .media-tile figcaption {
  color: #f6fbff;
}

.section-media-strip .media-placeholder {
  border-color: rgba(13, 63, 83, 0.28);
  background: linear-gradient(140deg, rgba(13, 63, 83, 0.95), rgba(0, 122, 150, 0.9));
}

.service-visual-grid {
  margin-top: 1.6rem;
  display: grid;
  gap: 1.08rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.service-visual-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  min-height: 100%;
}

.service-visual-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.visual-copy {
  padding: 0.9rem 1rem 1.05rem;
}

.visual-copy h3 {
  margin-bottom: 0.42rem;
  font-size: 1.03rem;
}

.visual-copy p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.media-placeholder-fill {
  min-height: 100%;
  border: 0;
  border-radius: 0;
}

.project-gallery {
  margin-top: 1.6rem;
  display: grid;
  gap: 1.05rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.project-media {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.project-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.project-media figcaption {
  padding: 0.72rem 0.9rem 0.86rem;
  font-size: 0.85rem;
  color: rgba(234, 245, 251, 0.9);
}

.project-media.media-placeholder {
  min-height: 245px;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.36);
  justify-content: center;
  background: linear-gradient(140deg, rgba(10, 46, 58, 0.86), rgba(20, 93, 118, 0.9));
}

.project-media.media-placeholder .placeholder-chip {
  color: #ffe3c7;
  background: rgba(246, 143, 43, 0.28);
  border-color: rgba(246, 143, 43, 0.6);
}

.project-media.media-placeholder p {
  color: #f1fbff;
}

.project-media.media-placeholder small {
  color: rgba(231, 247, 255, 0.78);
}

.product-media {
  margin-bottom: 0.95rem;
  min-height: 168px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(13, 63, 83, 0.18);
  background: #f0f6f9;
}

.product-media img {
  width: 100%;
  height: 100%;
  min-height: 168px;
  object-fit: cover;
  display: block;
}

.product-card .product-media.media-placeholder {
  border: 1px dashed rgba(13, 63, 83, 0.3);
  background: linear-gradient(130deg, rgba(13, 63, 83, 0.9), rgba(24, 107, 136, 0.87));
}

.field-gallery {
  margin-top: 1.2rem;
  column-count: 3;
  column-gap: 1rem;
}

.gallery-shot {
  margin: 0 0 1rem;
  break-inside: avoid;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.gallery-shot img {
  width: 100%;
  display: block;
}

.gallery-shot figcaption {
  padding: 0.64rem 0.76rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: #fff;
}

.gallery-shot.media-placeholder {
  min-height: 220px;
}

/* Producto destacado (afiche) */
.feature-product {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.4rem;
  align-items: center;
}

.feature-product__media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(4, 18, 26, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 420px;
  justify-self: center;
}

.feature-product__media img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-product__copy {
  color: #eaf6ff;
}

.feature-product__copy h2 {
  color: #f4fbff;
}

.feature-product__copy .lead {
  color: rgba(234, 246, 255, 0.9);
  font-size: 1.05rem;
  max-width: 52ch;
  margin-bottom: 1.3rem;
}

.feature-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-bottom: 1.7rem;
}

.feature-points li {
  position: relative;
  padding-left: 1.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #eaf6ff;
}

.feature-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent), #f86624);
  box-shadow: 0 0 0 4px rgba(246, 143, 43, 0.18);
}

@media (max-width: 760px) {
  .feature-product {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-product__media {
    max-width: 340px;
  }

  .feature-points {
    grid-template-columns: 1fr;
  }
}

.quote-layout {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

.contact-card {
  margin-top: 1.2rem;
  padding: 1rem;
  background: var(--surface-2);
}

.contact-card p {
  margin-bottom: 0.55rem;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.contact-card a {
  color: var(--primary);
  font-weight: 600;
}

.quote-form {
  padding: 1.4rem;
  display: grid;
  gap: 0.62rem;
  position: relative;
}

.quote-form label {
  font-size: 0.9rem;
  font-weight: 600;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  padding: 0.72rem 0.85rem;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 2px solid var(--ring);
  outline-offset: 1px;
  border-color: var(--primary);
}

.form-actions {
  margin-top: 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.form-note {
  margin: 0.4rem 0 0;
  min-height: 1.3rem;
  color: var(--primary-deep);
  font-size: 0.9rem;
  font-weight: 600;
}

.form-note[data-state="info"] {
  color: var(--primary-deep);
}

.form-note[data-state="success"] {
  color: #11663b;
}

.form-note[data-state="error"] {
  color: #a52a2a;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.quote-form button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.site-footer {
  background: #0d2230;
  color: #e5f4fb;
  padding-top: 3.5rem;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.site-footer h2,
.site-footer h3 {
  margin-bottom: 0.8rem;
}

.site-footer p,
.site-footer li {
  color: rgba(229, 244, 251, 0.86);
}

.site-footer ul {
  display: grid;
  gap: 0.65rem;
}

.site-footer a {
  color: #99e8ff;
}

.footer-bottom {
  margin-top: 2rem;
  border-top: 1px solid rgba(229, 244, 251, 0.18);
  padding: 1rem 0 1.7rem;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drift {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(16px, -12px);
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .grid-two,
  .quote-layout {
    grid-template-columns: 1fr;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .main-nav {
    position: absolute;
    right: 4vw;
    top: 76px;
    width: min(320px, 92vw);
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.24s ease, transform 0.24s ease;
  }

  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem;
  }

  .main-nav .nav-links li + li {
    border-top: 1px solid rgba(18, 40, 55, 0.08);
  }

  .main-nav .nav-links a {
    display: block;
    padding: 0.82rem 0.75rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .section-media-strip {
    grid-template-columns: 1fr;
  }

  .field-gallery {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 4.1rem 0;
  }

  .hero {
    padding: 5.7rem 0 3.9rem;
    min-height: 78vh;
  }

  .hero-panel,
  .service-card,
  .product-card,
  .quote-form,
  .info-card,
  .step {
    padding: 1.05rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-media-collage,
  .service-visual-grid,
  .project-gallery {
    grid-template-columns: 1fr;
  }

  .media-tile-wide {
    grid-column: auto;
    min-height: 200px;
  }

  .field-gallery {
    column-count: 1;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ===== NEXGEN ELECTRIC (rama de servicios especializados) ===== */
/* =====================================================================
   NEXGEN ELECTRIC — Direccion A "Premium oscuro"
   Sub-marca: fondo casi negro + acentos dorados/ambar finos.
   Autocontenida: solo reusa .container y .reveal del sitio.
   Todas las clases prefijadas .nge-*; custom props scopeadas a #electric.
   ===================================================================== */
#electric {
  --nge-bg: #0a0a0c;
  --nge-bg-2: #111014;
  --nge-panel: rgba(22, 20, 16, 0.55);
  --nge-gold: #f4c430;
  --nge-gold-soft: #e9b949;
  --nge-gold-deep: #b8860b;
  --nge-amber: #ffd86b;
  --nge-line: rgba(244, 196, 48, 0.22);
  --nge-line-strong: rgba(244, 196, 48, 0.55);
  --nge-text: #f3efe6;
  --nge-text-muted: rgba(231, 224, 208, 0.66);
  --nge-glow: rgba(244, 196, 48, 0.18);

  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--nge-text);
  background:
    radial-gradient(circle at 18% 8%, rgba(244, 196, 48, 0.08), transparent 42%),
    radial-gradient(circle at 88% 92%, rgba(184, 134, 11, 0.1), transparent 46%),
    linear-gradient(165deg, var(--nge-bg) 0%, var(--nge-bg-2) 55%, #060507 100%);
}

/* Sutil textura de rejilla dorada, muy tenue */
#electric .nge-texture {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(244, 196, 48, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 196, 48, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 30%, black, transparent 88%);
}

#electric .nge-glow {
  position: absolute;
  z-index: 0;
  border-radius: 999px;
  filter: blur(14px);
  pointer-events: none;
}

#electric .nge-glow-a {
  width: 360px;
  height: 360px;
  top: -150px;
  left: -110px;
  background: rgba(244, 196, 48, 0.1);
}

#electric .nge-glow-b {
  width: 420px;
  height: 420px;
  right: -180px;
  bottom: -220px;
  background: rgba(184, 134, 11, 0.12);
}

#electric .container {
  position: relative;
  z-index: 1;
}

/* ---------- Encabezado / wordmark ---------- */
#electric .nge-head {
  text-align: center;
  max-width: 56ch;
  margin: 0 auto 3rem;
}

#electric .nge-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.1rem;
  padding: 0.4rem 0.95rem;
  border: 1px solid var(--nge-line);
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
  color: var(--nge-amber);
  background: rgba(244, 196, 48, 0.05);
}

#electric .nge-wordmark {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.1rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.02;
  margin: 0 0 0.7rem;
  background: linear-gradient(100deg, var(--nge-gold-deep) 0%, var(--nge-gold) 38%, var(--nge-amber) 60%, var(--nge-gold-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--nge-gold);
  text-shadow: 0 8px 40px rgba(244, 196, 48, 0.16);
}

#electric .nge-tagline {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--nge-text);
  margin: 0 0 0.85rem;
}

#electric .nge-subtitle {
  font-size: 1.02rem;
  color: var(--nge-text-muted);
  margin: 0 auto 1rem;
  max-width: 50ch;
}

#electric .nge-subbrand {
  display: inline-block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--nge-text-muted);
  margin: 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--nge-line);
}

/* ---------- Pilares (fila compacta de 4) ---------- */
#electric .nge-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 3.4rem;
}

#electric .nge-pillar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--nge-line);
  border-radius: var(--radius-md, 16px);
  background: var(--nge-panel);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

#electric .nge-pillar:hover {
  border-color: var(--nge-line-strong);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
}

#electric .nge-pillar__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--nge-line);
  color: var(--nge-gold);
  background: rgba(244, 196, 48, 0.06);
}

#electric .nge-pillar__icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

#electric .nge-pillar__text {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--nge-text);
}

/* ---------- Tarjetas de servicios (3 columnas) ---------- */
#electric .nge-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-bottom: 3.4rem;
}

#electric .nge-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.7rem 1.8rem;
  border: 1px solid var(--nge-line);
  border-radius: var(--radius-lg, 24px);
  background:
    linear-gradient(160deg, rgba(244, 196, 48, 0.045), transparent 45%),
    var(--nge-panel);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* Linea dorada superior tenue */
#electric .nge-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--nge-line-strong), transparent);
  opacity: 0.7;
}

#electric .nge-card:hover {
  border-color: var(--nge-line-strong);
  transform: translateY(-5px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5), 0 0 38px var(--nge-glow);
}

#electric .nge-card__num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1px var(--nge-line-strong);
  margin-bottom: 0.9rem;
}

#electric .nge-card__title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.22rem;
  line-height: 1.2;
  color: var(--nge-text);
  margin: 0 0 0.7rem;
}

#electric .nge-card__teaser {
  font-size: 0.96rem;
  color: var(--nge-text-muted);
  margin: 0;
  flex: 1;
}

/* ---------- Divulgacion progresiva (variante oscura/dorada) ---------- */
#electric .nge-more {
  margin-top: 1.1rem;
  border-top: 1px solid var(--nge-line);
  padding-top: 0.95rem;
}

#electric .nge-more > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  list-style: none;
  width: fit-content;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--nge-amber);
  border-radius: 999px;
  transition: color 0.2s ease;
}

#electric .nge-more > summary::-webkit-details-marker {
  display: none;
}

#electric .nge-more > summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  border: 1px solid var(--nge-line-strong);
  background: rgba(244, 196, 48, 0.08);
  color: var(--nge-gold);
  font-weight: 700;
  line-height: 1;
  transition: transform 0.25s ease, background 0.2s ease;
}

#electric .nge-more[open] > summary::after {
  content: "\2013";
  transform: rotate(180deg);
  background: rgba(244, 196, 48, 0.18);
}

#electric .nge-more > summary:hover {
  color: var(--nge-gold);
}

#electric .nge-more > summary:focus-visible {
  outline: 2px solid var(--nge-gold);
  outline-offset: 3px;
}

#electric .nge-more__body {
  padding-top: 1rem;
}

#electric .nge-more[open] .nge-more__body {
  animation: ngeMoreIn 0.32s ease;
}

@keyframes ngeMoreIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

#electric .nge-list {
  display: grid;
  gap: 0.55rem;
}

#electric .nge-list li {
  position: relative;
  padding-left: 1.3rem;
  font-size: 0.93rem;
  color: var(--nge-text-muted);
}

#electric .nge-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--nge-gold), var(--nge-gold-deep));
  box-shadow: 0 0 0 3px rgba(244, 196, 48, 0.12);
}

#electric .nge-subblock {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--nge-line);
}

#electric .nge-subblock__title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nge-amber);
  margin: 0 0 0.7rem;
}

/* ---------- Por que elegirnos (chips compactas) ---------- */
#electric .nge-why {
  margin-bottom: 3.4rem;
}

#electric .nge-why__label,
#electric .nge-process__label {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--nge-amber);
  margin: 0 0 1.3rem;
  text-align: center;
}

#electric .nge-why__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

#electric .nge-chip {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--nge-line);
  border-left: 2px solid var(--nge-line-strong);
  border-radius: var(--radius-sm, 12px);
  background: rgba(255, 255, 255, 0.015);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

#electric .nge-chip:hover {
  border-color: var(--nge-line-strong);
  border-left-color: var(--nge-gold);
  background: rgba(244, 196, 48, 0.05);
  transform: translateY(-2px);
}

#electric .nge-chip__title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.25;
  color: var(--nge-text);
}

#electric .nge-chip__desc {
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--nge-text-muted);
}

/* ---------- Proceso (4 pasos) ---------- */
#electric .nge-process {
  margin-bottom: 3rem;
}

#electric .nge-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: none;
}

#electric .nge-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.4rem 1.25rem 1.5rem;
  border: 1px solid var(--nge-line);
  border-radius: var(--radius-md, 16px);
  background: var(--nge-panel);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

#electric .nge-step:hover {
  border-color: var(--nge-line-strong);
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.45), 0 0 26px var(--nge-glow);
}

#electric .nge-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 1px solid var(--nge-line-strong);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--nge-gold);
  background: radial-gradient(circle at 50% 35%, rgba(244, 196, 48, 0.16), transparent 70%);
}

#electric .nge-step__title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  color: var(--nge-text);
  margin: 0 0 0.35rem;
}

#electric .nge-step__desc {
  font-size: 0.9rem;
  color: var(--nge-text-muted);
  margin: 0;
}

/* ---------- Pie: confianza + CTA dorado ---------- */
#electric .nge-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  padding: 1.8rem;
  border: 1px solid var(--nge-line);
  border-radius: var(--radius-lg, 24px);
  background:
    linear-gradient(120deg, rgba(244, 196, 48, 0.06), transparent 60%),
    var(--nge-panel);
}

#electric .nge-trust {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0;
  flex: 1 1 360px;
  font-size: 0.96rem;
  color: var(--nge-text-muted);
}

#electric .nge-trust strong {
  color: var(--nge-amber);
  font-weight: 700;
}

#electric .nge-trust__badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  border: 1px solid var(--nge-line-strong);
  color: var(--nge-gold);
  background: rgba(244, 196, 48, 0.07);
}

#electric .nge-trust__badge svg {
  width: 1.45rem;
  height: 1.45rem;
}

#electric .nge-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  border: 1px solid var(--nge-gold-deep);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  color: #1a1405;
  background: linear-gradient(125deg, var(--nge-amber), var(--nge-gold) 55%, var(--nge-gold-deep));
  box-shadow: 0 12px 28px rgba(184, 134, 11, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  cursor: pointer;
}

#electric .nge-btn:hover,
#electric .nge-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(244, 196, 48, 0.4);
  filter: brightness(1.05);
}

#electric .nge-btn:focus-visible {
  outline: 2px solid var(--nge-amber);
  outline-offset: 3px;
}

#electric .nge-btn__arrow {
  width: 1.05rem;
  height: 1.05rem;
  transition: transform 0.2s ease;
}

#electric .nge-btn:hover .nge-btn__arrow {
  transform: translateX(3px);
}

/* ---------- Responsive: breakpoint intermedio ~960px ---------- */
@media (max-width: 960px) {
  #electric .nge-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #electric .nge-services {
    grid-template-columns: 1fr;
  }

  #electric .nge-why__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #electric .nge-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #electric .nge-footer {
    justify-content: flex-start;
  }
}

/* ---------- Responsive: movil <=600px, todo en 1 columna ---------- */
@media (max-width: 600px) {
  #electric .nge-head {
    margin-bottom: 2.4rem;
  }

  #electric .nge-pillars,
  #electric .nge-why__grid,
  #electric .nge-steps {
    grid-template-columns: 1fr;
  }

  #electric .nge-card {
    padding: 1.6rem 1.3rem 1.5rem;
  }

  #electric .nge-footer {
    flex-direction: column;
    align-items: stretch;
    padding: 1.4rem;
  }

  #electric .nge-btn {
    justify-content: center;
    width: 100%;
  }
}


/* Enlace NEXGEN ELECTRIC en el menu (acento dorado, contraste AA) */
.nav-electric { color: #8a5a00; font-weight: 700; }
.nav-electric::after { background: linear-gradient(90deg, #f4c430, #b8860b); }


/* ===== Foco de teclado consistente (WCAG 2.4.7) ===== */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.btn:focus-visible,
.menu-toggle:focus-visible,
.text-link:focus-visible,
.nav-links a:focus-visible,
.brand:focus-visible,
.skip-link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.site-footer a:focus-visible {
  outline-color: #99e8ff;
}

/* ===== Micro-estados (feedback de pulsado / hover) ===== */
.btn:active {
  transform: translateY(0) scale(0.98);
}

.text-link:active {
  opacity: 0.8;
}

.menu-toggle:hover span {
  background: var(--primary-deep);
}

.menu-toggle:active span {
  background: var(--primary);
}

.service-card:hover,
.product-card:hover,
.info-card:hover {
  border-color: rgba(0, 122, 150, 0.35);
}

/* La galeria deriva el alto del aspect-ratio (width/height en el <img>) */
.gallery-shot img {
  height: auto;
}

/* ===== Preguntas frecuentes (FAQ) ===== */
.faq-list {
  display: grid;
  gap: 0.8rem;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.faq-item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 1.25rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text);
  transition: color 0.2s ease;
}

.faq-item > summary::-webkit-details-marker {
  display: none;
}

.faq-item > summary::after {
  content: "+";
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  background: rgba(0, 122, 150, 0.12);
  color: var(--primary);
  font-weight: 700;
  line-height: 1;
  transition: transform 0.25s ease, background 0.2s ease;
}

.faq-item[open] > summary::after {
  content: "\2013";
  transform: rotate(180deg);
  background: rgba(0, 122, 150, 0.2);
}

.faq-item > summary:hover {
  color: var(--primary);
}

.faq-item__body {
  padding: 0 1.25rem 1.15rem;
}

.faq-item__body p {
  margin: 0;
  color: var(--text-muted);
}

.faq-item[open] .faq-item__body {
  animation: moreIn 0.32s ease;
}

/* ===== FAB flotante de WhatsApp (conversion) ===== */
.wa-fab {
  position: fixed;
  right: clamp(1rem, 4vw, 1.6rem);
  bottom: clamp(1rem, 4vw, 1.6rem);
  z-index: 70;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #25d366, #128c4f);
  box-shadow: 0 12px 28px rgba(18, 140, 79, 0.42), 0 0 0 0 rgba(37, 211, 102, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: waPulse 2.6s ease-out infinite;
}

.wa-fab__icon {
  display: block;
}

.wa-fab:hover,
.wa-fab:focus-visible {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 16px 34px rgba(18, 140, 79, 0.5);
}

.wa-fab:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
}

.wa-fab:active {
  transform: translateY(-1px) scale(0.98);
}

@keyframes waPulse {
  0%   { box-shadow: 0 12px 28px rgba(18, 140, 79, 0.42), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70%  { box-shadow: 0 12px 28px rgba(18, 140, 79, 0.42), 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 12px 28px rgba(18, 140, 79, 0.42), 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 600px) {
  .wa-fab { width: 52px; height: 52px; }
  .wa-fab .wa-fab__icon { width: 26px; height: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .wa-fab { animation: none; }
}
