:root {
  --orange: #ff9d1c;
  --navy: #070038;
  --light: #f4f4e8;
  --bg: #efefef;
  --radius: 18px;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

* {
  box-sizing: border-box;
}

figure {
  margin: 0;
}

body {
  margin: 0;
  background: var(--bg);
  color: #111;
  font-family: "Montserrat", sans-serif;
}

.page {
  max-width: 1512px;
  margin: 0 auto;
  background: #ffffff;
}

.section-full {
  width: 100%;
}

.container {
  width: min(1446px, calc(100% - 18px));
  margin: 0 auto;
}

.header {
  background: var(--orange);
  min-height: 235px;
  padding: 72px 84px 20px 118px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.header-brand {
  color: var(--light);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  margin: 0;
  text-decoration: none;
}

a.header-brand:hover {
  opacity: 0.92;
}

.header-nav a[aria-current="page"] {
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.header-nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 0;
  margin-top: 45px;
  width: 100%;
  max-width: 100%;
  padding-right: 0;
}

.header-nav a {
  color: var(--light);
  text-decoration: none;
  font-size: clamp(16px, 1.45vw, 28px);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 1320px) and (min-width: 1051px) {
  .header-nav {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    column-gap: 18px;
    row-gap: 10px;
    align-items: center;
  }

  .header-nav a:nth-child(6) {
    justify-self: end;
  }

  .header-nav a:last-child {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

.social-top {
  position: absolute;
  right: 84px;
  top: 72px;
  width: 136px;
  height: 37px;
  display: flex;
  transform: none;
}

.social-top-link {
  flex: 1;
  min-width: 0;
  height: 37px;
  background-image: url("./imgs/botones redes sociales.png");
  background-repeat: no-repeat;
  background-size: 136px 37px;
  text-indent: -9999px;
  overflow: hidden;
}

.social-top-link--wa {
  background-position: 0 0;
}

.social-top-link--fb {
  background-position: calc(-136px / 3) 0;
}

.social-top-link--ig {
  background-position: calc(-272px / 3) 0;
}

.social-top-link:focus-visible {
  outline: 2px solid var(--light);
  outline-offset: 2px;
}

.hero {
  position: relative;
  aspect-ratio: 1512 / 869;
  overflow: hidden;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero h1 {
  position: absolute;
  left: 7%;
  top: 2%;
  margin: 0;
  color: var(--navy);
  font-size: clamp(42px, 8vw, 118px);
  line-height: 0.95;
  font-weight: 900;
}

.description {
  background: var(--navy);
  color: #fff;
  text-align: center;
  font-size: clamp(16px, 2vw, 36px);
  font-weight: 700;
  line-height: 1.25;
  padding: 42px 7%;
}

.categories {
  background: transparent;
  border-radius: 0;
  padding: clamp(16px, 3.5vw, 53px) 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 36px;
  justify-items: center;
}

.card {
  background: #efefef;
  border-radius: 30px;
  min-height: 265px;
  width: 100%;
  max-width: 458px;
  box-shadow: 8px 7px 19px -9px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  justify-self: center;
}

.card img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: none;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  transition: background 0.2s ease;
  pointer-events: none;
}

.card:hover:not(.is-selected)::before {
  background-image: url("./imgs/boton hover.png");
}

.card-click-flash {
  position: absolute;
  inset: 0;
  z-index: 3;
  background-image: url("./imgs/boton click.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
}

.card.is-clicking .card-click-flash {
  opacity: 1;
}

.card.is-selected::before {
  background-image: url("./imgs/boton click.png");
}

.card h2 {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 2.3vw, 47px);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
  opacity: 0;
  z-index: 4;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.card:hover h2,
.card.is-clicking h2 {
  opacity: 1;
  color: #fff;
}

a.card--link {
  text-decoration: none;
  color: inherit;
}

a.card--link:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 4px;
}

/* --- Figma 258:272 FOCOS / MATERIAL ELÉCTRICO / REPARACIONES / REFACCIONES --- */
.fme-page {
  --fme-scale: 0.78;
  --fme-inset: calc(15px * var(--fme-scale));
  background: #ffffff;
  padding: 0 16px clamp(40px, 6vw, 72px);
}

.fme-intro {
  width: 100%;
  max-width: calc(1339px * var(--fme-scale));
  margin: 0;
  padding: clamp(28px, 5vw, 56px) 0 clamp(32px, 4vw, 48px);
  scroll-margin-top: 28px;
}

.fme-intro-card {
  background: #f8f8f8;
  border-radius: 30px;
  box-shadow: -2px 2px 23.2px 8px rgba(0, 0, 0, 0.25);
  min-height: 245px;
  margin-left: var(--fme-inset);
  width: calc(100% - var(--fme-inset));
  box-sizing: border-box;
  padding: clamp(36px, 5vw, 56px) clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fme-intro-text {
  margin: 0;
  text-align: center;
  color: var(--navy);
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 700;
  line-height: 1.22;
}

.fme-intro-wa {
  color: #588dff;
  text-decoration: none;
  font-weight: 700;
}

.fme-intro-wa:hover {
  text-decoration: underline;
}

.fme-body {
  width: 100%;
  max-width: calc(1249px * var(--fme-scale));
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: calc(57px * var(--fme-scale));
}

/* Figma 288:44 — imagen 620×926 + columna 573px */
.fme-seccion2 {
  display: grid;
  grid-template-columns: minmax(0, calc(620px * var(--fme-scale))) minmax(0, calc(573px * var(--fme-scale)));
  column-gap: calc(56px * var(--fme-scale));
  align-items: start;
  width: 100%;
  max-width: calc(1249px * var(--fme-scale));
}

.fme-focos-block,
.fme-material,
.fme-rep-block {
  scroll-margin-top: 32px;
}

.fme-focos-figure {
  margin: 0 0 0 var(--fme-inset);
  width: calc(620px * var(--fme-scale));
  max-width: 100%;
  height: calc(926px * var(--fme-scale));
  border-radius: calc(30px * var(--fme-scale));
  overflow: hidden;
  line-height: 0;
}

.fme-focos-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.fme-side {
  display: flex;
  flex-direction: column;
  gap: calc(91px * var(--fme-scale));
  padding-left: calc(24px * var(--fme-scale));
  box-sizing: border-box;
  max-width: calc(573px * var(--fme-scale));
}

.fme-focos-block {
  min-height: calc(370px * var(--fme-scale));
}

.fme-focos-titleband {
  background: var(--navy);
  border-radius: calc(30px * var(--fme-scale));
  box-shadow: -2px 2px 23.2px 8px rgba(0, 0, 0, 0.25);
  width: min(calc(435px * var(--fme-scale)), 100%);
  min-height: calc(104px * var(--fme-scale));
  margin: calc(23px * var(--fme-scale)) 0 0 calc(76px * var(--fme-scale));
  display: flex;
  align-items: center;
  padding: 0 calc(40px * var(--fme-scale));
  box-sizing: border-box;
}

.fme-focos-title {
  margin: 0;
  color: #fff;
  font-size: calc(48px * var(--fme-scale));
  font-weight: 900;
  line-height: 1.05;
}

.fme-focos-list {
  margin: calc(43px * var(--fme-scale)) 0 0 calc(76px * var(--fme-scale));
  padding-left: 1.5em;
  max-width: calc(416px * var(--fme-scale));
  color: var(--navy);
  font-size: calc(32px * var(--fme-scale));
  font-weight: 500;
  line-height: 1.25;
}

.fme-focos-list li {
  margin-bottom: 0;
}

.fme-material {
  margin: 0;
  padding: 0;
}

.fme-material-titleband {
  background: var(--navy);
  border-radius: calc(30px * var(--fme-scale));
  box-shadow: -2px 2px 23.2px 8px rgba(0, 0, 0, 0.25);
  width: min(calc(511px * var(--fme-scale)), 100%);
  min-height: calc(159px * var(--fme-scale));
  margin: calc(31px * var(--fme-scale)) 0 0 calc(76px * var(--fme-scale));
  display: flex;
  align-items: center;
  padding: 0 calc(40px * var(--fme-scale));
  box-sizing: border-box;
}

.fme-material-title {
  margin: 0;
  color: #fff;
  font-size: calc(48px * var(--fme-scale));
  font-weight: 900;
  line-height: 1.05;
}

.fme-material-list {
  margin: calc(45px * var(--fme-scale)) 0 0 calc(76px * var(--fme-scale));
  padding-left: 1.5em;
  max-width: calc(416px * var(--fme-scale));
  color: var(--navy);
  font-size: calc(32px * var(--fme-scale));
  font-weight: 500;
  line-height: 1.25;
}

/* Figma 285:38 — reparaciones/refacciones + pantallas */
.fme-rep {
  display: grid;
  grid-template-columns: minmax(0, calc(531px * var(--fme-scale))) 1fr;
  column-gap: calc(48px * var(--fme-scale));
  align-items: start;
  width: 100%;
  max-width: calc(1511px * var(--fme-scale));
  margin: 0;
  padding-left: var(--fme-inset);
  box-sizing: border-box;
}

.fme-rep-copy {
  display: flex;
  flex-direction: column;
  gap: calc(72px * var(--fme-scale));
  padding-top: calc(25px * var(--fme-scale));
  margin: 0;
}

.fme-rep-head {
  background: var(--navy);
  border-radius: calc(30px * var(--fme-scale));
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  width: min(calc(531px * var(--fme-scale)), 100%);
  min-height: calc(104px * var(--fme-scale));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 calc(24px * var(--fme-scale));
  box-sizing: border-box;
}

.fme-rep-head h2 {
  margin: 0;
  color: #fff;
  font-size: calc(48px * var(--fme-scale));
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
}

.fme-rep-body {
  background: #f8f8f8;
  border-radius: calc(30px * var(--fme-scale));
  box-shadow: -2px 2px 23.2px 8px rgba(0, 0, 0, 0.25);
  width: min(calc(531px * var(--fme-scale)), 100%);
  min-height: calc(245px * var(--fme-scale));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(24px * var(--fme-scale)) calc(20px * var(--fme-scale));
  margin: calc(30px * var(--fme-scale)) 0 0;
  box-sizing: border-box;
}

.fme-rep-body p {
  margin: 0;
  text-align: center;
  color: var(--navy);
  font-size: calc(27px * var(--fme-scale));
  font-weight: 700;
  line-height: 1.19;
}

.fme-pantallas-figure {
  margin: calc(25px * var(--fme-scale)) 134px 0 0;
  width: 100%;
  max-width: none;
  min-width: 0;
  height: calc(835px * var(--fme-scale));
  justify-self: stretch;
  align-self: start;
  border-radius: calc(30px * var(--fme-scale));
  overflow: hidden;
  line-height: 0;
  display: block;
}

.fme-pantallas-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

@media (min-width: 901px) {
  .fme-page {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 900px) {
  .fme-page {
    --fme-scale: 1;
    --fme-inset: 0;
  }

  .fme-intro {
    max-width: none;
    margin: 0 auto;
  }

  .fme-intro-card {
    margin-left: 0;
    width: 100%;
  }

  .fme-body {
    max-width: none;
    margin: 0 auto;
  }

  .fme-seccion2 {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .fme-focos-figure {
    width: min(535px, 100%);
    height: auto;
    margin: 0 auto;
    aspect-ratio: 535 / 524;
  }

  .fme-focos-img {
    height: auto;
    aspect-ratio: 535 / 524;
    object-fit: contain;
  }

  .fme-side {
    padding-left: 0;
    max-width: none;
    gap: 32px;
  }

  .fme-focos-titleband,
  .fme-focos-list,
  .fme-material-titleband,
  .fme-material-list {
    margin-left: 0;
    max-width: none;
  }

  .fme-rep {
    grid-template-columns: 1fr;
    max-width: none;
    padding-left: 0;
  }

  .fme-pantallas-figure {
    order: -1;
    justify-self: center;
    width: min(667px, 100%);
    height: auto;
    aspect-ratio: 667 / 859;
  }

  .fme-pantallas-img {
    height: auto;
    object-fit: contain;
  }
}

.repairs {
  padding-top: clamp(16px, 3.5vw, 53px);
  margin-bottom: clamp(24px, 3vw, 48px);
}

.repairs-fig {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}

.repairs-bg {
  width: 100%;
  height: clamp(280px, 53.8vw, 814px);
  object-fit: cover;
  display: block;
}

.repairs-overlay {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(1196px, calc(100% - 44px));
  background: rgba(255, 255, 255, 0.92);
  border-radius: 40px;
  box-shadow: 11px 10px 12px 6px rgba(0, 0, 0, 0.25);
  text-align: center;
  padding: 56px 20px 42px;
}

.repairs-overlay h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(34px, 5vw, 69px);
  line-height: 1.04;
  font-weight: 900;
}

.repairs-overlay a {
  margin-top: 26px;
  display: inline-block;
  color: var(--navy);
  font-size: clamp(20px, 2.3vw, 35px);
  font-weight: 800;
  text-decoration: underline;
}

.contact {
  background: var(--orange);
  display: grid;
  /* Figma 258:292 — dirección y=276, mapa 274×237 y=168, formulario y=72 */
  grid-template-columns: minmax(280px, 1.05fr) 274px minmax(300px, 1.15fr);
  gap: clamp(24px, 3.5vw, 42px);
  padding: 72px 74px 64px;
  align-items: start;
}

.contact-address {
  color: var(--light);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  padding-top: 204px;
}

.contact-address p {
  margin: 0;
}

.contact-map {
  margin-top: 96px;
  margin-left: 0;
  width: 274px;
  max-width: 100%;
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-map-label {
  margin: 12px 0 0;
  max-width: 260px;
  font-size: clamp(12px, 1.15vw, 14px);
  font-weight: 600;
  color: var(--light);
  text-align: center;
  line-height: 1.35;
}

.contact-map-label strong {
  font-weight: 800;
}

.contact-map img,
.contact-map iframe {
  width: 274px;
  max-width: 100%;
  border: 0;
  border-radius: 24px;
  display: block;
}

.contact-map iframe {
  aspect-ratio: 274 / 237;
  height: auto;
}

.contact-form-wrap {
  color: var(--light);
}

.contact-form-title {
  margin: 0 0 18px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  max-width: 346px;
}

.contact-form {
  display: grid;
  gap: 13px;
}

.contact-form input {
  height: 49px;
  border: 0;
  border-radius: 20px;
  padding: 0 20px;
  font-size: 16px;
  font-family: inherit;
  color: #3a1912;
}

.contact-form input::placeholder {
  color: #3a1912;
  opacity: 0.42;
}

.contact-form button {
  width: 88px;
  height: 49px;
  border: 0;
  border-radius: 20px;
  background: var(--navy);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  cursor: pointer;
}

.footer {
  background: var(--navy) url("./imgs/fondo seccion 5.png") no-repeat right top;
  background-size: contain;
  color: var(--light);
  min-height: 397px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  padding: 74px 76px 24px;
}

.footer h4 {
  margin: 0 0 20px;
  font-size: 24px;
  font-weight: 700;
}

.footer h4 a {
  color: #ffffff;
  text-decoration: underline;
}

.footer-col {
  position: relative;
  min-width: 0;
}

.footer-col--contact h4 {
  margin-bottom: 16px;
  padding-left: 60px;
}

.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

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

.footer li {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.54;
}

.footer-contact-list li {
  margin: 0;
}

.footer-contact-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(12px, 2vw, 20px);
  color: var(--light);
  text-decoration: none;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.15;
  padding: 3px 10px 3px 0;
  margin: 0 -10px 0 0;
  border-radius: 10px;
  min-height: 38px;
}

.footer-contact-link:hover {
  text-decoration: underline;
}

.footer-contact-link:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.footer-contact-text {
  overflow-wrap: anywhere;
}

/* Sprite: imgs/logos redes.png 44x152, cuatro iconos de 38px de alto */
.footer-contact-icon {
  flex-shrink: 0;
  width: 44px;
  height: 38px;
  background: url("./imgs/logos redes.png") no-repeat;
  background-size: 44px 152px;
}

.footer-contact-icon--ig {
  background-position: 0 0;
}

.footer-contact-icon--fb {
  background-position: 0 -38px;
}

.footer-contact-icon--wa {
  background-position: 0 -76px;
}

.footer-contact-icon--mail {
  background-position: 0 -114px;
}

.footer-brand {
  width: 301px;
  position: relative;
  text-align: center;
  align-self: end;
}

.footer-lamp {
  width: 288px;
  display: block;
  margin: 0 auto;
}

.footer-bulb {
  width: 38px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 52px;
}

.footer-brand p {
  margin: 6px 0 0;
  color: var(--light);
  font-size: 30px;
  font-weight: 900;
}

@media (max-width: 1050px) {
  .header {
    min-height: 200px;
    padding: 44px 24px 16px 24px;
  }

  .header-brand {
    font-size: 32px;
  }

  .header-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 14px 22px;
    margin-top: 14px;
    width: 100%;
    max-width: 100%;
    padding-right: 0;
  }

  .header-nav a {
    font-size: 20px;
  }

  .social-top {
    position: absolute;
    right: 24px;
    top: 56px;
    width: 110px;
    height: 30px;
  }

  .social-top-link {
    height: 30px;
    background-size: 110px 30px;
  }

  .social-top-link--fb {
    background-position: calc(-110px / 3) 0;
  }

  .social-top-link--ig {
    background-position: calc(-220px / 3) 0;
  }

  .categories {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact {
    grid-template-columns: 1fr;
    padding: 44px 24px 48px;
  }

  .contact-address {
    padding-top: 0;
  }

  .contact-map {
    margin-top: 24px;
    width: 100%;
    max-width: 274px;
    justify-self: center;
  }

  .contact-address {
    padding-top: 0;
  }

  .contact-map-label {
    max-width: min(280px, 92vw);
  }

  .contact-map img,
  .contact-map iframe {
    width: min(274px, 100%);
    max-width: 100%;
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-brand {
    justify-self: center;
  }

  .footer li {
    font-size: 18px;
  }

  .footer-contact-link {
    font-size: 18px;
  }
}

@media (max-width: 640px) {
  .header {
    min-height: 80px;
    padding: 18px 16px;
  }

  .header-brand {
    font-size: 24px;
  }

  .header-nav {
    gap: 10px 14px;
    margin-top: 12px;
    width: 100%;
    max-width: 100%;
    padding-right: 0;
    justify-content: flex-start;
  }

  .header-nav a {
    font-size: 14px;
  }

  .social-top {
    position: absolute;
    right: 10px;
    top: 40px;
    width: 74px;
    height: 20px;
    transform: none;
  }

  .social-top-link {
    height: 20px;
    background-size: 74px 20px;
  }

  .social-top-link--fb {
    background-position: calc(-74px / 3) 0;
  }

  .social-top-link--ig {
    background-position: calc(-148px / 3) 0;
  }

  .description {
    padding: 30px 16px;
    font-size: 14px;
  }

  .categories {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card {
    min-height: 220px;
  }

  /* Always show card labels and hover overlay — no hover on iPhone */
  .card h2 {
    opacity: 1;
    color: #fff;
  }

  .card::before {
    background-image: url("./imgs/boton hover.png");
  }

  /* Hide nav menu on iPhone — no space and no hover */
  .header-nav {
    display: none;
  }

  .repairs-fig {
    width: 100%;
    max-width: 458px;
    margin: 0 auto;
  }

  .repairs-overlay {
    padding: 24px 14px;
    border-radius: 20px;
  }

  .repairs-overlay a {
    margin-top: 16px;
  }

  .footer {
    padding: 36px 18px 20px;
  }

  .footer h4 {
    font-size: 18px;
  }

  .footer-col:not(.footer-col--contact) {
    margin-left: 55px;
  }

  .footer-brand {
    width: 240px;
  }

  .footer-lamp {
    width: 220px;
  }

  .footer-brand p {
    font-size: 22px;
  }

  .footer-contact-link {
    font-size: 16px;
    line-height: 1.2;
    padding: 4px 8px 4px 0;
    gap: 12px;
    min-height: 36px;
  }

  .footer-contact-icon {
    width: 40px;
    height: calc(40px * 38 / 44);
    background-size: 40px calc(40px * 152 / 44);
  }

  .footer-contact-icon--fb {
    background-position: 0 calc(-1 * 40px * 38 / 44);
  }

  .footer-contact-icon--wa {
    background-position: 0 calc(-2 * 40px * 38 / 44);
  }

  .footer-contact-icon--mail {
    background-position: 0 calc(-3 * 40px * 38 / 44);
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .footer-col:not(.footer-col--contact) {
    margin-left: 70px;
  }
}

@media (min-width: 901px) {
  .footer-col:not(.footer-col--contact) {
    margin-left: 60px;
  }
}

/* --- FOCOS / MATERIAL ELÉCTRICO / REPARACIONES / REFACCIONES --- */

.fmc-page {
  background: #ffffff;
  padding: clamp(16px, 5.75vw, 87px);
}

/* Info card */
.fmc-info-wrap {
  padding: 0;
}

.fmc-info-card {
  max-width: min(1339px, 100%);
  margin: 0 auto;
  background: #f8f8f8;
  border-radius: 30px;
  box-shadow: -2px 2px 23px 8px rgba(0,0,0,0.25);
  padding: clamp(24px, 3.5vw, 52px) clamp(20px, 3vw, 48px);
  text-align: center;
}

.fmc-info-card p {
  margin: 0;
  color: var(--navy);
  font-size: clamp(17px, 2.2vw, 32px);
  font-weight: 700;
  line-height: 1.4;
}

.fmc-wa-link {
  color: #588dff;
  text-decoration: none;
}

/* 2×2 service grid */
.fmc-grid {
  display: grid;
  grid-template-columns: 649fr 673fr;
  gap: clamp(24px, 4.1vw, 62px) clamp(24px, 7vw, 106px);
  margin-top: clamp(24px, 3.5vw, 53px);
}

.fmc-block {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.8vw, 25px);
}

/* Navy title pill */
.fmc-block-head {
  background: var(--navy);
  border-radius: 30px;
  box-shadow: -2px 2px 23px 8px rgba(0,0,0,0.25);
  height: clamp(52px, 6vw, 91px);
  display: flex;
  align-items: center;
  padding: 0 clamp(20px, 2.5vw, 42px);
}

.fmc-block-head h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(18px, 2.4vw, 36px);
  font-weight: 900;
  line-height: 1.05;
  white-space: nowrap;
}

/* Body text */
.fmc-block-text {
  margin: 0;
  color: var(--navy);
  font-size: clamp(14px, 1.9vw, 28px);
  font-weight: 500;
  line-height: 1.25;
  padding-left: clamp(16px, 2.5vw, 42px);
}

/* Bullet list */
.fmc-list {
  margin: 0;
  padding-left: clamp(36px, 4.5vw, 70px);
  list-style: disc;
  color: var(--navy);
  font-size: clamp(14px, 1.9vw, 28px);
  font-weight: 500;
  line-height: 1.25;
}

.fmc-list li {
  margin-bottom: clamp(2px, 0.3vw, 4px);
}

/* Full-width landscape image */
.fmc-focos-fig {
  margin: clamp(24px, 4vw, 60px) 0 0;
  border-radius: 30px;
  overflow: hidden;
}

.fmc-focos-img {
  display: block;
  width: 100%;
  height: clamp(180px, 39.7vw, 600px);
  object-fit: cover;
  object-position: center center;
  transform: rotate(180deg);
}

/* Mobile */
@media (max-width: 700px) {
  .fmc-grid {
    grid-template-columns: 1fr;
  }

  .fmc-block-head h2 {
    white-space: normal;
  }
}

/* --- SOBRE NOSOTROS --- */
body.body--sobre-nosotros {
  background-color: #ffffff;
}

.page--sobre-nosotros {
  background-color: #ffffff;
}

.page--sobre-nosotros .header-brand,
.page--sobre-nosotros .header-nav a {
  color: #ffffff;
}

.sn-hero {
  position: relative;
  width: 100%;
  height: calc(100vw * 4096 / 2713);
  overflow: hidden;
}

.sn-hero-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  /* CSS width = image natural width scaled → visual height after rotation */
  /* CSS height = image natural height scaled → visual width after rotation */
  /* Ratio matches 4096:2713 so no distortion */
  width: calc(100vw * 4096 / 2713);
  height: 100vw;
  transform: translate(-50%, -50%) rotate(90deg);
  display: block;
}

.sn-card {
  position: absolute;
  left: clamp(24px, 12.6%, 191px);
  top: clamp(32px, 5.7%, 129px);
  width: min(1150px, calc(100% - clamp(48px, 25%, 382px)));
  background: #ffffff;
  border-radius: clamp(24px, 4.5vw, 69px);
  padding: clamp(28px, 5.6vw, 85px) clamp(24px, 4.7vw, 71px) clamp(32px, 5vw, 72px);
  box-sizing: border-box;
}

.sn-card-title {
  margin: 0 0 clamp(16px, 2.8vw, 44px);
  color: var(--navy);
  font-size: clamp(24px, 2.6vw, 40px);
  font-weight: 900;
  line-height: 1.05;
}

.sn-card-text {
  margin: 0 0 clamp(16px, 3vw, 44px);
  color: var(--navy);
  font-size: clamp(16px, 1.8vw, 27px);
  font-weight: 700;
  line-height: clamp(1.4, 1.6, 1.63);
  max-width: 1039px;
}

.sn-card-text:last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .sn-card {
    left: 36px;
    top: 40px;
    width: calc(100% - 72px);
  }
}


/* --- SCROLL REVEAL --- */

[data-reveal] {
  opacity: 0;
  transform: translateY(-28px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

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

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --- Paginas LAMPARAS, CANDILES y FOCOS/MATERIAL --- */
body.body--lamparas,
body.body--candiles,
body.body--focos-material {
  background-color: #ffffff;
}

.page--lamparas,
.page--candiles,
.page--focos-material {
  background-color: #ffffff;
}

.page--lamparas .header-brand,
.page--lamparas .header-nav a,
.page--candiles .header-brand,
.page--candiles .header-nav a,
.page--focos-material .header-brand,
.page--focos-material .header-nav a {
  color: #ffffff;
}

.page--lamparas .lamparas-intro,
.page--candiles .lamparas-intro {
  background: #ffffff;
  padding: clamp(40px, 6vw, 80px) 16px clamp(48px, 7vw, 88px);
}

.lamparas-intro-inner {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lamparas-intro-card {
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.14),
    0 4px 10px rgba(0, 0, 0, 0.07);
  /* 1020px + 50px por lado */
  max-width: min(1120px, calc(100% - 32px));
  width: 100%;
  padding: clamp(24px, 4vw, 40px) clamp(32px, 5vw, 56px);
}

.lamparas-intro-text {
  margin: 0;
  text-align: center;
  color: var(--navy);
  font-size: clamp(16px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.35;
}

.lamparas-intro-wa {
  color: #588dff;
  text-decoration: none;
  font-weight: 700;
}

.lamparas-intro-wa:hover {
  text-decoration: underline;
}

.page--lamparas .lamparas-grid-wrap,
.page--candiles .lamparas-grid-wrap {
  background: #ffffff;
  padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 9vw, 96px);
}

.lamparas-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px) clamp(16px, 2.5vw, 28px);
  max-width: 1315px;
  margin: 0 auto;
}

.lamparas-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

img.lamparas-tile-visual {
  width: 100%;
  max-width: 332px;
  height: auto;
  display: block;
  object-fit: contain;
}

.lamparas-tile-title {
  margin: 0;
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  max-width: 320px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .lamparas-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .lamparas-grid {
    grid-template-columns: 1fr;
  }

  img.lamparas-tile-visual {
    max-width: min(332px, 100%);
  }
}

/* --- Lámparas: sección más modelos (Figma 275:402) --- */
.lamparas-mas-modelos {
  margin-bottom: clamp(32px, 5vw, 56px);
  padding: 0;
}

.lamparas-mas-stack {
  width: 100%;
  max-width: 1444px;
  margin: 0 auto;
}

.lamparas-mas-hero {
  position: relative;
  z-index: 1;
  border-radius: 40px;
  overflow: hidden;
  line-height: 0;
}

.lamparas-mas-bg {
  width: 100%;
  max-width: 1443px;
  aspect-ratio: 1443 / 810;
  display: block;
  border-radius: 40px;
  background-color: #070038;
}

.lamparas-mas-overlay {
  position: absolute;
  inset: clamp(10px, 8.5vw, 123px);
  background: rgba(255, 255, 255, 0.92);
  border-radius: clamp(12px, 2.5vw, 36px);
  box-shadow: 11px 10px 12px 6px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(8px, 3vw, 32px) clamp(8px, 2vw, 24px);
}

.lamparas-mas-overlay h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(14px, 4.6vw, 69px);
  line-height: 1.04;
  font-weight: 650;
}

.lamparas-mas-overlay a {
  margin-top: clamp(14px, 4vw, 56px);
  display: inline-block;
  color: var(--navy);
  font-size: clamp(11px, 2.3vw, 35px);
  font-weight: 800;
  text-decoration: underline;
}

.lamparas-mas-grupo {
  display: block;
  width: 100%;
  max-width: 1428px;
  height: auto;
  margin: 0 auto;
  vertical-align: top;
}

/* LÁMPARAS y CANDILES: ancho completo, 23px izq, 3px arriba, debajo del hero */
.body--lamparas .lamparas-mas-grupo,
.body--candiles .lamparas-mas-grupo {
  display: block;
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw - 23px);
  margin-top: -3px;
  position: relative;
  z-index: 0;
}

@media (max-width: 640px) {
  .body--lamparas .lamparas-mas-grupo,
  .body--candiles .lamparas-mas-grupo {
    margin-left: calc(50% - 50vw - 23px + 12px);
  }
}

.lg-img {
  position: absolute;
  top: 0;
  height: auto;
  display: block;
}

/* Posiciones Figma: frame 1511 × 502 px */
.lg-metalica { left: 2.05%;  width: 21.18%; height: 96.2%; object-fit: cover; }
.lg-dorada   { left: 15.69%; width: 16.08%; height: 48.8%; overflow: hidden;
               object-fit: none; object-position: -10.7% -0.03%; transform: scale(1.107); transform-origin: top left; }
.lg-conchita { left: 26.94%; width: 21.84%; height: 99.4%; object-fit: cover; top: 0.6%; }
.lg-diamante { left: 41.49%; width: 20.32%; height: 80.1%; object-fit: cover; }
.lg-roja     { left: 57.84%; width: 13.97%; height: 63.3%; object-fit: cover; }
.lg-vidrio   { left: 67.57%; width: 18.80%; height: 85.5%; object-fit: cover; }
.lg-negra    { left: 85.64%; width:  9.60%; height: 58.8%; overflow: hidden;
               object-fit: none; object-position: -45.61% 0; transform: scale(1.836); transform-origin: top left; }

/* lampara dorada y negra necesitan wrapper para el recorte */
.lg-dorada-wrap,
.lg-negra-wrap {
  position: absolute;
  overflow: hidden;
}
.lg-dorada-wrap { left: 15.69%; top: 0;    width: 16.08%; height: 48.8%; }
.lg-negra-wrap  { left: 85.64%; top: 0;    width:  9.60%; height: 58.8%; }
.lg-dorada-wrap .lg-img {
  position: absolute;
  width: 110.7%; height: 165.77%;
  left: -10.7%; top: -0.03%;
  transform: none; object-fit: cover;
}
.lg-negra-wrap .lg-img {
  position: absolute;
  width: 183.63%; height: 136.27%;
  left: -45.61%; top: 0;
  transform: none; object-fit: cover;
}
