

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--tipo-texto);
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
  color: var(--texto);
  background: var(--crema);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
main { overflow-x: clip; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--tipo-titulos);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--abismo);
  margin: 0 0 .6rem;
}
p { margin: 0 0 .8rem; }
.oculto { display: none !important; }
.centro { width: 100%; max-width: var(--ancho-maximo); margin: 0 auto; padding: 0 20px; }

.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.5rem;
  border: 2px solid var(--ambar);
  border-radius: var(--redondeo);
  background: var(--ambar);
  color: var(--abismo);
  font: 500 1rem var(--tipo-titulos);
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.boton:hover { background: var(--ambar-fuerte); border-color: var(--ambar-fuerte); }
.boton svg { width: 20px; height: 20px; flex: none; }
.boton-borde { background: transparent; color: inherit; border-color: currentColor; }
.boton-borde:hover { background: rgba(255, 255, 255, .1); border-color: currentColor; }
.boton-chico { padding: .55rem 1.1rem; font-size: .9rem; }

.etiqueta {
  display: block;
  margin-bottom: .5rem;
  color: var(--mar);
  font: 400 .95rem var(--tipo-titulos);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hueco-foto {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: .3rem;
  width: 100%; height: 100%; min-height: 150px;
  padding: 1rem 1.1rem;
  background: var(--duna);
  border: 2px dashed var(--mar);
  border-radius: var(--redondeo);
  color: var(--abismo);
  font: 500 .8rem/1.4 var(--tipo-datos);
}
.hueco-foto b { font-weight: 500; color: var(--mar); letter-spacing: .06em; }

.cabecera {
  position: sticky; top: 0; z-index: 30;
  background: var(--abismo);
  color: var(--crema);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.cabecera .centro { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.marca { text-decoration: none; color: #fff; font: 600 1.7rem/1 var(--tipo-titulos); letter-spacing: .14em; }
.marca .a { color: var(--ambar); }
.marca { display: inline-flex; align-items: center; gap: .7rem; }
.marca img { width: 44px; height: 44px; border-radius: 50%; background: #fff; object-fit: contain; box-shadow: 0 0 0 2px rgba(233, 162, 39, .5); }
.menu { display: flex; gap: .2rem; flex-wrap: wrap; justify-content: flex-end; }
.menu a {
  position: relative;
  padding: .5rem .85rem;
  text-decoration: none;
  font: 500 .95rem var(--tipo-titulos);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(246, 244, 239, .78);
  transition: color .2s;
}
.menu a::after {
  content: '';
  position: absolute; left: .85rem; right: .85rem; bottom: .2rem;
  height: 2px;
  background: var(--ambar);
  transform: scaleX(0);
  transition: transform .25s;
}
.menu a:hover, .menu a.activo { color: #fff; }
.menu a:hover::after, .menu a.activo::after { transform: scaleX(1); }

.portada { background: var(--abismo); color: var(--crema); padding: 3.25rem 0; }
.portada .centro { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.portada-logo { display: none; }
.volanta { display: block; margin-bottom: .8rem; color: var(--ambar); font: 400 .95rem var(--tipo-titulos); letter-spacing: .14em; text-transform: uppercase; }
.portada h1 { color: #fff; font-size: clamp(2.5rem, 5.6vw, 4.3rem); line-height: 1.05; margin-bottom: 1rem; }
.portada .bajada { color: rgba(246, 244, 239, .82); font-size: 1.1rem; max-width: 34rem; }
.acciones { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

.portada-foto { aspect-ratio: 16 / 9; width: 100%; position: relative; overflow: hidden; border-radius: var(--redondeo); }
.portada-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

.corte { margin: 0; justify-self: center; position: relative; width: min(330px, 100%); filter: drop-shadow(0 24px 48px rgba(0, 0, 0, .45)); }
.corte svg { width: 100%; height: auto; display: block; }
.corte .parte { cursor: pointer; transition: opacity .35s, filter .35s; }
.corte .parte.pista { filter: drop-shadow(0 0 7px rgba(233, 162, 39, .75)); }
.corte.resaltando .parte { opacity: .28; }
.corte.resaltando .parte.encendido { opacity: 1; filter: drop-shadow(0 0 8px rgba(233, 162, 39, .9)); }
.corte-nombre { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); white-space: nowrap;
  background: var(--ambar); color: var(--abismo); padding: .35rem .8rem; border-radius: var(--redondeo-chico);
  font: 600 .9rem var(--tipo-titulos); letter-spacing: .06em; text-transform: uppercase; }
.corte .sol { transform-origin: 345px 58px; animation: girar 30s linear infinite; }
.corte .ola { animation: ola 6s linear infinite; }
.corte .ola-2 { animation-duration: 9s; }
.corte .cano { animation: correr-linea 1.2s linear infinite; }
.corte .cable { animation: correr-linea 1s linear infinite reverse; }
.corte .gota { animation: subir 2.4s ease-in infinite; opacity: 0; }
.corte .g2 { animation-delay: .8s; }
.corte .g3 { animation-delay: 1.6s; }
.corte .nivel { transform-box: view-box; transform-origin: 336px 153px; animation: llenar 5s ease-in-out infinite; }
@keyframes girar { to { transform: rotate(360deg); } }
@keyframes ola { to { transform: translateX(-100px); } }
@keyframes correr-linea { to { stroke-dashoffset: -12; } }
@keyframes subir { 0% { opacity: 0; transform: translateY(0); } 15% { opacity: 1; } 100% { opacity: 0; transform: translateY(-170px); } }
@keyframes llenar { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .corte, .corte * { animation: none !important; } }
.portada .hueco-foto { background: rgba(220, 214, 200, .1); border-color: var(--mar); color: var(--crema); }
.portada .hueco-foto b { color: var(--ambar); }

.seccion { padding: 3.25rem 0; background: var(--crema); }
.seccion-alterna { background: var(--duna); }
.seccion-oscura { background: var(--abismo); color: var(--crema); }
.seccion-oscura h2, .seccion-oscura h3 { color: #fff; }
.seccion-oscura .etiqueta { color: var(--ambar); }
.titulo-seccion { margin-bottom: 1.9rem; }
.titulo-seccion h1, .titulo-seccion h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin: 0; }
.titulo-seccion p { color: var(--texto-suave); max-width: 38rem; margin: .5rem 0 0; }

.banda-pagina { background: var(--abismo); color: var(--crema); padding: 1.9rem 0 1.6rem; }
.banda-pagina h1 { color: #fff; font-size: clamp(2rem, 5vw, 3rem); margin: 0; }
.banda-pagina .miga { color: rgba(246, 244, 239, .65); font: 400 .8rem var(--tipo-datos); margin-bottom: .4rem; }
.banda-pagina .miga a { color: var(--ambar); text-decoration: none; }

.grilla { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.grilla > * { flex: 1 1 240px; max-width: 340px; min-width: 0; }

.tarjeta {
  background: #fff;
  border: 1px solid var(--duna);
  border-radius: var(--redondeo);
  padding: 1.5rem;
  box-shadow: var(--sombra);
}

.atributos { display: flex; flex-wrap: wrap; gap: .6rem 2.4rem; margin: 0; padding: 0; list-style: none; }
.atributos li { font: 600 1.3rem var(--tipo-titulos); letter-spacing: .1em; text-transform: uppercase; color: var(--abismo); }
.atributos li::before { content: ''; display: inline-block; width: 10px; height: 10px; margin-right: .7rem; border-radius: 50%; background: var(--ambar); }

.zonas { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.zona { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 1rem; }
.zona-foto { aspect-ratio: 16 / 9; position: relative; overflow: hidden; border-radius: var(--redondeo); }
.zona-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.zona h3 { display: flex; align-items: center; gap: .6rem; margin: 0; font-size: 1.6rem; }
.zona-pin { display: inline-grid; color: var(--mar); }
.zona-pin svg { width: 26px; height: 26px; }
.zona p { color: var(--texto-suave); margin: 0; }

.videos-fila { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.1rem; }
.video-toma { flex: 1 1 260px; max-width: calc((100% - 2.2rem) / 3); aspect-ratio: 16 / 9; position: relative; overflow: hidden; margin: 0; border-radius: var(--redondeo); background: var(--abismo); cursor: zoom-in; box-shadow: var(--sombra); }
.video-toma video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.video-ampliar { position: absolute; right: .5rem; top: .5rem; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(11, 49, 64, .75); color: #fff; font-size: 1.05rem; pointer-events: none; }
@media (max-width: 760px) { .videos-fila { gap: .9rem; } .video-toma { flex-basis: 100%; max-width: none; } }
.vid-visor { position: fixed; inset: 0; z-index: 300; background: rgba(11, 49, 64, .95); display: grid; place-items: center; padding: 3.5rem 1rem; }
.vid-visor video { width: min(92vw, 1400px); max-height: 84vh; background: #000; border-radius: var(--redondeo-chico); }
.vid-cerrar { position: absolute; top: .8rem; right: .8rem; width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); background: transparent; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.vid-cerrar:hover { border-color: var(--ambar); }

.llamado { background: var(--abismo); color: var(--crema); padding: 3.25rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.llamado h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.llamado p { color: rgba(246, 244, 239, .82); margin-bottom: 1.4rem; max-width: 34rem; }

.contacto-tarjeta h3 { font-size: 1.4rem; margin-top: .5rem; }
.contacto-tarjeta p { font: 500 .95rem var(--tipo-datos); color: var(--texto-suave); }
.contacto-icono { display: inline-grid; color: var(--mar); }
.contacto-icono svg { width: 30px; height: 30px; }

.wa-flotante {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366;
  color: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .28);
}
.wa-flotante svg { width: 30px; height: 30px; }

.wa-flotante::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366; pointer-events: none;
  animation: wa-onda 3s ease-out infinite;
}
.wa-flotante svg { animation: wa-saludo 6s ease-in-out infinite; transform-origin: 50% 60%; }
@keyframes wa-onda {
  0%   { transform: scale(1);   opacity: .7; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}
@keyframes wa-saludo {
  0%, 84%, 100% { transform: rotate(0); }
  87% { transform: rotate(-14deg); }
  90% { transform: rotate(12deg); }
  93% { transform: rotate(-8deg); }
  96% { transform: rotate(5deg); }
}
@media (prefers-reduced-motion: reduce) {
  .wa-flotante::after, .wa-flotante svg { animation: none; }
}

.pie { background: var(--abismo); color: rgba(246, 244, 239, .78); padding: 2.4rem 0 1.7rem; font-size: .95rem; }
.pie-grilla { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; }
.pie-marca { max-width: 300px; }
.pie-marca img { width: 130px; height: auto; margin-bottom: .8rem; }
.pie h3 { color: #fff; font-size: 1.05rem; margin-bottom: .6rem; letter-spacing: .12em; }
.pie p { margin: 0 0 .35rem; }
.pie a { color: #fff; text-decoration: none; }
.pie a:hover { color: var(--ambar); }
.pie-abajo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; margin-top: 1.7rem; padding-top: 1.1rem; border-top: 1px solid rgba(255, 255, 255, .12); font: 400 .8rem var(--tipo-datos); }

.firma { font: 600 1rem/1 'Bricolage Grotesque', system-ui, sans-serif; letter-spacing: -.02em; color: #FBFAF8; opacity: .7; white-space: nowrap; }
.firma .barra { display: inline-block; padding: 0 .14em; margin: 0 .04em; background: #DB9A3B; color: #1E1A15; }

.no-encontrada { padding: 3rem 20px 4rem; }
.no-encontrada h2 { font-size: clamp(1.8rem, 5vw, 2.6rem); }

.con-animacion .revelar { opacity: 0; translate: 0 18px; transition: opacity .5s ease var(--demora, 0ms), translate .5s ease var(--demora, 0ms); }
.con-animacion .revelar.visto { opacity: 1; translate: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .con-animacion .revelar { opacity: 1; translate: none; }
}

@media (max-width: 860px) {
  .portada .centro { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 760px) {
  .cabecera .centro { min-height: 60px; }
  .marca { font-size: 1.4rem; }
  .menu { flex-wrap: nowrap; gap: .1rem; }
  .menu a { padding: .4rem .5rem; font-size: .85rem; white-space: nowrap; }
  .menu a::after { left: .5rem; right: .5rem; }
  .menu a.al-inicio { display: none; }
  .portada { padding: 2.25rem 0; }
  .portada-logo { width: 150px; }
  .seccion, .llamado { padding: 2.25rem 0; }
  .grilla > * { max-width: none; }
  .atributos li { font-size: 1.1rem; }
}
@media (max-width: 420px) {
  .marca { font-size: 1.25rem; letter-spacing: .1em; }
  .acciones .boton { flex: 1 1 100%; }
}

.volver-propuesta {
  position: fixed; left: 18px; bottom: 18px; z-index: 40;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.1rem; border-radius: 999px;
  background: var(--abismo); color: var(--crema);
  font: 500 .85rem var(--tipo-titulos);
  text-transform: uppercase; letter-spacing: .05em; text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .28);
}
.volver-propuesta:hover { background: var(--mar); color: #fff; }
.volver-propuesta span { color: var(--ambar); font-size: 1.05rem; line-height: 1; }

@media (max-width: 640px) {
  .volver-propuesta { left: 12px; bottom: 14px; padding: .6rem .9rem; font-size: .78rem; }
}

.nosotros { display: grid; grid-template-columns: 1fr minmax(0, 360px); gap: 2.4rem; align-items: center; }
.nosotros-texto p { color: var(--texto-suave); margin: 0 0 1rem; max-width: 56ch; }
.nosotros-foto { aspect-ratio: 4 / 3; position: relative; overflow: hidden; border-radius: var(--redondeo); }
.nosotros-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.nosotros-foto .hueco-foto { position: absolute; inset: 0; min-height: 0; }

@media (max-width: 820px) {
  .nosotros { grid-template-columns: 1fr; gap: 1.4rem; }
}

.menu-boton { display: none; }
@media (max-width: 760px) {
  .menu-boton {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 10px; margin-right: -10px;
    background: none; border: 0; cursor: pointer;
  }
  .menu-boton span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
  .menu-abierto .menu-boton span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-abierto .menu-boton span:nth-child(2) { opacity: 0; }
  .menu-abierto .menu-boton span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .cabecera .menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; flex-wrap: nowrap; gap: 0;
    background: var(--abismo); border-top: 1px solid rgba(255, 255, 255, .1);
    padding: .3rem 0 .8rem; box-shadow: 0 14px 30px rgba(0, 0, 0, .35);
  }
  .menu-abierto .menu { display: flex; }
  .cabecera .menu a { padding: .95rem 20px; font-size: 1.05rem; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .cabecera .menu a::after { display: none; }
  .cabecera .menu a.al-inicio { display: block; }
}

@media (max-width: 760px) {
  .portada .centro { gap: 1.4rem; }
  .portada-logo { width: 96px; margin-bottom: .9rem; }
  .portada h1 { font-size: 2rem; margin-bottom: .8rem; }
  .zonas { gap: .9rem; }
  .zona { flex: 1 1 0; gap: .5rem; }
  .zona h3 { font-size: 1.15rem; gap: .35rem; }
  .zona-pin svg { width: 20px; height: 20px; }
  .zona .hueco-foto span { display: none; }
  .nosotros { gap: 1rem; }
  .pie { padding: 1.8rem 0 1.3rem; }
  .pie-grilla { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1rem; }
  .pie-marca { grid-column: 1 / -1; }
  .pie-marca img { width: 90px; margin-bottom: 0; }
  .pie-abajo { margin-top: 1.2rem; }
}

main section[id] { scroll-margin-top: 60px; }
