.home-page {
  --home-pink: #d30b59;
  --home-pink-dark: #a80745;
  --home-dark: #090c12;
  --home-muted: #687184;
  background: #fff;
}

.home-page .cabecera {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
}
.home-page .cabecera__telefono {
  padding: .7rem 1rem;
  border-radius: 999px;
  background: #128c4a;
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 7px 18px rgba(18, 140, 74, .22);
}
.home-page .cabecera__telefono:hover { background: #0d6f3a; color: #fff; }
.home-page .boton--primario { background: var(--home-pink); }
.home-page .boton--primario:hover { background: var(--home-pink-dark); }

.home-kicker {
  margin: 0 0 18px;
  color: #ff4b9a;
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.home-kicker--dark { color: var(--home-pink); }

/* Hero: mensaje general + una composición que representa las líneas de negocio. */
.home-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 14%, rgba(211, 11, 89, .26), transparent 30%),
    radial-gradient(circle at 9% 90%, rgba(37, 162, 218, .12), transparent 28%),
    var(--home-dark);
}
.home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(44px, 5.5vw, 86px);
  align-items: center;
  min-height: 630px;
  padding-block: 64px;
}
.home-hero__copy { min-width: 0; }
.home-hero h1 {
  max-width: 9.6em;
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(3rem, 5.15vw, 4.85rem);
  line-height: .98;
  letter-spacing: -.045em;
}
.home-hero h1 em { color: #ff3e91; font-style: normal; }
.home-hero__lead {
  max-width: 34rem;
  margin-bottom: 30px;
  color: #d1d6df;
  font-size: clamp(1.08rem, 1.6vw, 1.35rem);
  line-height: 1.48;
}
.home-hero__promise {
  max-width: 34rem;
  margin: -10px 0 28px;
  padding-left: 16px;
  border-left: 3px solid #ff3e91;
  color: #b8c0ce;
  font-size: .91rem;
  line-height: 1.45;
}
.home-hero__promise strong { color: #fff; }
.home-hero__actions { margin-bottom: 34px; }
.home-hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255,255,255,.14);
  list-style: none;
}
.home-hero__proof li {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #f3f5f8;
  font-size: .82rem;
  font-weight: 750;
}
.home-hero__proof li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #31d7a0;
  box-shadow: 0 0 0 5px rgba(49,215,160,.1);
}
.home-hero__visual {
  position: relative;
  min-width: 0;
  height: 470px;
}
.home-hero__shot {
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: #121722;
}
.home-hero__shot--main { width: 100%; height: 100%; }
.home-hero__shot img { width: 100%; height: 100%; object-fit: cover; }
.home-hero__shot--main img { object-position: center; }

/* La reputación funciona como un reclamo propio, no como una nota al pie. */
.home-trust { padding-block: 28px; border-bottom: 1px solid var(--line); background: #fff; }
.home-trust__row {
  display: grid;
  gap: 16px;
}
.home-google {
  display: grid !important;
  grid-template-columns: auto auto auto minmax(260px, 1fr) auto;
  gap: 10px 22px;
  align-items: center;
  min-height: 112px;
  padding: 24px 30px;
  border: 1px solid #dbe0e8;
  border-radius: 18px;
  background: #f7f8fa;
  color: var(--text);
  text-decoration: none;
}
.home-google .google-brand { font-size: 1.08rem; }
.home-google .google-brand img { width: 36px; height: 36px; }
.home-google__score { font-size: 2rem; letter-spacing: -.04em; }
.home-google .google-stars { color: #f2a300; font-size: 1.35rem; letter-spacing: .08em; }
.home-google__message { display: grid; gap: 3px; padding-left: 22px; border-left: 1px solid #d8dde5; }
.home-google__message b { font-size: 1.05rem; }
.home-google__message small { color: var(--home-muted); font-size: .82rem; font-weight: 600; }
.home-google__link { color: var(--home-pink); font-size: .82rem; font-weight: 850; white-space: nowrap; }
.home-trust__proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.home-trust__proof > * {
  display: flex;
  align-items: center;
  min-height: 52px;
  margin: 0;
  padding: 8px 22px;
  border-right: 1px solid var(--line);
  color: var(--text);
  font-size: .78rem;
  font-weight: 750;
  line-height: 1.35;
}
.home-trust__proof > *:last-child { border-right: 0; }
.google-brand { display: inline-flex; align-items: center; gap: 7px; font-weight: 850; }

.home-section-head { max-width: 780px; margin-bottom: 42px; }
.home-section-head h2 {
  margin-bottom: 14px;
  color: var(--home-dark);
  font-size: clamp(2.15rem, 3.5vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: -.04em;
  white-space: nowrap;
}
.home-section-head > p:last-child { max-width: 650px; color: var(--home-muted); font-size: 1.08rem; }

/* Cuatro pilares. */
.home-services { background: #fff; }
.home-services__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.home-service {
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  min-height: 300px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  color: var(--text);
  text-decoration: none;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.home-service:hover { transform: translateY(-4px); border-color: #bcc2cf; box-shadow: 0 20px 48px rgba(9,12,18,.1); color: var(--text); }
.home-service figure { min-width: 0; margin: 0; overflow: hidden; background: #11151d; }
.home-service figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
#imprenta figure img { object-position: left center; }
.home-service:hover figure img { transform: scale(1.04); }
.home-service__body { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 28px; }
.home-service__number { margin-bottom: auto; color: var(--home-pink); font-size: .72rem; font-weight: 900; letter-spacing: .12em; }
.home-service h3 { margin: 24px 0 10px; font-size: clamp(1.38rem, 2vw, 1.75rem); }
.home-service p { margin: 0 0 20px; color: var(--home-muted); font-size: .91rem; line-height: 1.48; }
.home-service .enlace-flecha { margin-top: auto; font-size: .72rem; }

/* La instalación es un servicio completo, no una nota secundaria. */
.home-installation { background: #f2f4f7; }
.home-installation__head { max-width: none; }

@media (min-width: 1060px) {
  .home-services .home-section-head,
  .home-installation__head { max-width: none; }

  .home-services .home-section-head > p:last-child,
  .home-installation__head > p:last-child {
    max-width: none;
    white-space: nowrap;
  }
}
.home-installation__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  min-height: 520px;
  overflow: hidden;
  border-radius: 22px;
  background: var(--home-dark);
  box-shadow: 0 24px 64px rgba(9,12,18,.12);
}
.home-installation__media { position: relative; min-width: 0; margin: 0; overflow: hidden; }
.home-installation__media img { width: 100%; height: 100%; object-fit: cover; }
.home-installation__media figcaption { position: absolute; right: 16px; bottom: 16px; left: 16px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; background: rgba(7,10,16,.84); color: #fff; font-size: .78rem; font-weight: 750; backdrop-filter: blur(10px); }
.home-installation__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(38px, 5vw, 68px); color: #fff; }
.home-installation__lead { margin: 0 0 24px; color: #eef1f6; font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.5; }
.home-installation__steps { display: grid; gap: 0; margin: 0 0 22px; padding: 0; list-style: none; }
.home-installation__steps li { display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.14); }
.home-installation__steps li > span { padding-top: 2px; color: #ff4c98; font-size: .72rem; font-weight: 900; letter-spacing: .1em; }
.home-installation__steps strong { display: block; margin-bottom: 3px; font-size: .92rem; }
.home-installation__steps p { margin: 0; color: #aeb7c5; font-size: .81rem; line-height: 1.4; }
.home-installation__proof { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 28px; }
.home-installation__proof p { display: grid; gap: 3px; margin: 0; padding: 13px 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: rgba(255,255,255,.04); }
.home-installation__proof strong { font-size: .82rem; }
.home-installation__proof span { color: #aeb7c5; font-size: .74rem; line-height: 1.4; }
.home-installation__copy .boton { align-self: flex-start; }

/* Dos productos configurables. */
.home-configurables { background: radial-gradient(circle at 50% 0, #251321, transparent 48%), var(--home-dark); }
.home-section-head--light h2 { color: #fff; }
.home-section-head--light > p:last-child { color: #adb5c3; }
.home-configurables__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.home-product {
  position: relative;
  display: block;
  min-height: 480px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  color: #fff;
  text-decoration: none;
}
.home-product:hover { color: #fff; }
.home-product > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.home-product:hover > img { transform: scale(1.035); }
.home-product__shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(5,7,11,.25) 45%, rgba(5,7,11,.96) 100%); }
.home-product__content { position: absolute; inset: auto 0 0; display: block; padding: 34px; }
.home-product__content small { display: block; margin-bottom: 10px; color: #ff70ad; font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.home-product__content strong { display: block; margin-bottom: 10px; font-size: clamp(1.8rem, 3vw, 2.65rem); line-height: 1.02; letter-spacing: -.035em; }
.home-product__content > span { display: block; max-width: 33rem; margin-bottom: 20px; color: #d3d8e1; font-size: .95rem; }
.home-product__content b { color: #fff; font-size: .78rem; letter-spacing: .07em; text-transform: uppercase; }

/* Google. */
.home-reviews__head { display: grid; grid-template-columns: 1fr auto; gap: 38px; align-items: end; margin-bottom: 28px; }
.home-reviews__head .home-section-head { margin-bottom: 0; }
.home-review-score { display: grid; grid-template-columns: auto auto auto; gap: 4px 10px; min-width: 280px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--text); text-decoration: none; }
.home-review-score .google-brand { grid-row: 1 / 3; }
.home-review-score .google-stars { color: #f2a300; }
.home-review-score small { grid-column: 2 / 4; color: var(--home-muted); }
.home-reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.home-review { display: flex; flex-direction: column; min-height: 230px; margin: 0; padding: 26px; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.home-review > span { color: #f2a300; letter-spacing: .12em; }
.home-review p { margin: 22px 0; color: #252a34; font-size: .92rem; line-height: 1.55; }
.home-review footer { margin-top: auto; color: var(--home-muted); font-size: .75rem; }
.home-review cite { color: var(--text); font-style: normal; font-weight: 800; }

/* Cierre. */
.home-contact { padding-block: 72px; background: #fff; }
.home-contact__box { display: grid; grid-template-columns: 1.25fr .75fr; gap: 62px; align-items: center; padding: clamp(42px, 6vw, 78px); border-radius: 24px; background: radial-gradient(circle at 92% 15%, rgba(211,11,89,.28), transparent 32%), #090c12; color: #fff; }
.home-contact h2 { max-width: 12em; margin: 0; color: #fff; font-size: clamp(2.15rem, 3.75vw, 3.45rem); line-height: 1.01; letter-spacing: -.04em; }
.home-contact__box > div:first-child > p:last-child { max-width: 38rem; margin-top: 20px; color: #b8c0cc; font-size: 1rem; }
.home-contact__actions { display: grid; gap: 12px; }
.home-contact__actions .boton { width: 100%; }
.home-contact__actions .boton--fantasma {
  border-color: rgba(255,255,255,.48);
  color: #fff;
}
.home-contact__actions .boton--fantasma:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
}
.home-contact__actions > p { margin: 8px 0 0; color: #aeb7c5; font-size: .78rem; text-align: center; }
.home-visit {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  min-height: 390px;
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #f3f5f8;
}
.home-visit__map { min-height: 390px; background: #dde2e9; }
.home-visit__map iframe { display: block; width: 100%; height: 100%; min-height: 390px; border: 0; }
.home-visit__copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(34px, 5vw, 64px); }
.home-visit__copy h2 { margin: 0; color: var(--home-dark); font-size: clamp(2.15rem, 3.4vw, 3.35rem); line-height: 1; letter-spacing: -.04em; }
.home-visit__copy > p:not(.home-kicker) { margin: 20px 0 28px; color: var(--home-muted); font-size: 1rem; line-height: 1.6; }
.home-footer__address { margin-top: 16px; }
.home-whatsapp {
  position: fixed;
  z-index: 90;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 52px;
  padding: 0 20px 0 48px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  background: #079a65;
  box-shadow: 0 16px 34px rgba(0,0,0,.2);
  color: #fff;
  font-size: .78rem;
  font-weight: 850;
  text-decoration: none;
}
.home-whatsapp::before { content: ""; position: absolute; left: 17px; width: 20px; height: 20px; border: 2px solid #fff; border-radius: 50%; }
.home-whatsapp:hover { background: #067a51; color: #fff; }

@media (max-width: 1050px) {
  .home-page .nav { display: none; }
  .home-page .cabecera__telefono,
  .home-page .cabecera__cta { display: none; }
  .home-page .nav-boton { display: inline-flex; }
  .home-hero__grid { grid-template-columns: 1fr; min-height: 0; padding-top: 54px; }
  .home-hero h1 { max-width: 11em; }
  .home-hero__visual { height: auto; aspect-ratio: 3 / 2; }
  .home-google { grid-template-columns: auto auto auto 1fr; }
  .home-google__link { display: none; }
  .home-services__grid { grid-template-columns: 1fr; }
  .home-installation__grid { grid-template-columns: 1fr; }
  .home-installation__media { min-height: 440px; }
}

@media (max-width: 760px) {
  .home-section-head h2 { white-space: normal; }
  .home-google { grid-template-columns: auto 1fr auto; gap: 8px 14px; padding: 22px; }
  .home-google__message { grid-column: 1 / -1; padding: 14px 0 0; border-top: 1px solid #d8dde5; border-left: 0; }
  .home-trust__proof { grid-template-columns: 1fr; }
  .home-trust__proof > * { min-height: 48px; border-right: 0; border-bottom: 1px solid var(--line); }
  .home-trust__proof > *:last-child { border-bottom: 0; }
  .home-configurables__grid,
  .home-reviews__grid,
  .home-reviews__head,
  .home-contact__box,
  .home-visit { grid-template-columns: 1fr; }
  .home-review-score { width: 100%; }
  .home-contact__box { gap: 32px; }
}

@media (max-width: 560px) {
  .home-hero__grid { gap: 38px; padding-block: 42px; }
  .home-hero h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .home-hero__visual { height: auto; aspect-ratio: 3 / 2; }
  .home-hero__shot--main img { object-position: center; }
  .home-service { grid-template-columns: 1fr; }
  .home-service figure { min-height: 220px; }
  .home-service__body { min-height: 260px; padding: 24px; }
  .home-product { min-height: 420px; }
  .home-product__content { padding: 26px; }
  .home-installation__media { min-height: 300px; }
  .home-installation__copy { padding: 32px 24px; }
  .home-installation__proof { grid-template-columns: 1fr; }
  .home-contact { padding-block: 42px; }
  .home-contact__box { padding: 34px 24px; }
  .home-visit { min-height: 0; }
  .home-visit__map,
  .home-visit__map iframe { min-height: 300px; }
  .home-visit__copy { padding: 34px 24px 38px; }
  .home-whatsapp { min-width: 52px; width: 52px; padding: 0; }
  .home-whatsapp::before { left: 14px; }
  .home-whatsapp span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}

@media (prefers-reduced-motion: reduce) {
  .home-service,
  .home-service figure img,
  .home-product > img { transition: none; }
}
