/* CONFIGURACIÓN GENERAL */
:root {
  --fondo: #f8f9fc;
  --blanco: #ffffff;
  --texto: #18243b;
  --secundario: #5b667b;
  --azul: #2855d9;
  --azul-oscuro: #1c3faa;
  --verde: #167347;
  --verde-oscuro: #105b37;
  --borde: #e2e6ef;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;

  background: var(--fondo);
  color: var(--texto);
  font-family: "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

/* ENCABEZADO */
.encabezado {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 28px 32px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.marca {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  border-radius: 5px;
}

.marca-nombre {
  font-size: 29px;
  font-weight: 900;
  letter-spacing: -1px;
}

.marca-nombre span {
  color: var(--azul);
}

.marca-descripcion {
  color: var(--secundario);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.7px;
}

.regresar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  min-height: 44px;
  padding: 10px 16px;
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: 10px;

  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.regresar span {
  font-size: 20px;
}

/* INTRODUCCIÓN */
.contenedor {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 24px 32px 42px;
  flex: 1;
}

.introduccion {
  margin-bottom: 30px;
  padding: 34px 36px;

  background: #edf2fc;
  border: 1px solid #dfe7f7;
  border-radius: 24px;
}

.etiqueta {
  display: block;
  color: var(--azul-oscuro);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.6;
  letter-spacing: 1.5px;
}

h1 {
  margin: 15px 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: -1.5px;
  text-wrap: balance;
}

h1 span {
  color: var(--azul);
}

.introduccion p {
  max-width: 630px;
  margin: 0;
  color: var(--secundario);
  font-size: 16px;
  line-height: 1.8;
}

/* TARJETAS DE CONTACTO */
.contacto-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 24px;
}

.tarjeta {
  min-width: 0;
  padding: 32px;

  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: 22px;
  box-shadow: 0 4px 14px rgb(24 36 59 / 3%);
}

.contacto-principal {
  background: #f5fbf7;
  border-color: #d6eadd;
}

.icono {
  display: grid;
  place-items: center;

  width: 58px;
  height: 58px;
  margin-bottom: 24px;

  background: #edf2ff;
  color: var(--azul);
  border-radius: 16px;
}

.icono svg,
.enlace-llamada svg {
  width: 27px;
  height: 27px;
  flex-shrink: 0;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icono-verde {
  background: #e1f3e7;
  color: var(--verde);
}

.etiqueta-verde {
  color: var(--verde);
}

.tarjeta h2 {
  margin: 12px 0 16px;
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: -0.7px;
}

.descripcion {
  max-width: 440px;
  margin: 0;
  color: var(--secundario);
  font-size: 15px;
  line-height: 1.8;
}

.telefono {
  margin: 26px 0;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.5px;
}

/* BOTONES */
.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;

  min-height: 50px;
  padding: 14px 22px;
  border-radius: 11px;

  color: var(--blanco);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;

  transition: background 180ms ease;
}

.boton > span[aria-hidden] {
  font-size: 20px;
  flex-shrink: 0;
}

.boton-whatsapp {
  width: 100%;
  background: var(--verde);
}

.boton-azul {
  background: var(--azul);
  flex-shrink: 0;
}

.enlace-llamada {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  min-height: 44px;
  margin-top: 12px;
  padding: 8px;
  border-radius: 8px;

  color: var(--verde);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

.enlace-llamada svg {
  width: 18px;
  height: 18px;
}

/* HORARIO */
.horario {
  display: flex;
  flex-direction: column;
}

.lista-horarios {
  margin: 8px 0 24px;
}

.lista-horarios > div {
  padding: 20px 0;
  border-bottom: 1px solid var(--borde);
}

.lista-horarios dt {
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 700;
}

.lista-horarios dd {
  margin: 0;
  color: var(--secundario);
  font-size: 15px;
  line-height: 1.6;
}

.nota {
  display: flex;
  align-items: center;
  gap: 9px;

  margin-top: auto;
  padding-top: 12px;
  color: var(--secundario);
  font-size: 12px;
  line-height: 1.6;
}

.punto {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  background: var(--azul);
  border-radius: 50%;
}

/* VISITA AL LOCAL */
.visitanos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  margin-top: 28px;
  padding: 30px;

  background: #edf2fc;
  border: 1px solid #dfe7f7;
  border-radius: 20px;
}

.visitanos h2 {
  margin: 10px 0;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.5px;
}

.visitanos address {
  color: var(--secundario);
  font-size: 14px;
  font-style: normal;
  line-height: 1.8;
}

/* REDES SOCIALES */
.redes {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.redes a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;

  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: 10px;

  color: var(--azul);
  font-size: 14px;
  font-weight: 600;
}

/* PIE DE PÁGINA */
.footer {
  width: min(1116px, calc(100% - 64px));
  margin: 0 auto;
  padding: 22px 0;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  border-top: 1px solid var(--borde);
}

.footer-marca {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
}

.footer p {
  margin: 0;
  color: var(--secundario);
  font-size: 12px;
  line-height: 1.6;
}

/* ACCESIBILIDAD */
a:focus-visible {
  outline: 3px solid var(--azul);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* EFECTOS */
@media (hover: hover) {
  .regresar:hover,
  .redes a:hover {
    background: #edf2ff;
  }

  .boton-whatsapp:hover {
    background: var(--verde-oscuro);
  }

  .boton-azul:hover {
    background: var(--azul-oscuro);
  }

  .enlace-llamada:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}

/* TABLETAS */
@media (max-width: 800px) {
  .contacto-grid {
    grid-template-columns: 1fr;
  }

  .visitanos {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* CELULARES */
@media (max-width: 540px) {
  .encabezado {
    padding: 20px 18px;
    gap: 12px;
    flex-wrap: wrap;
  }

  .marca-nombre {
    font-size: 25px;
  }

  .marca-descripcion {
    font-size: 8px;
    letter-spacing: 0.8px;
  }

  .regresar {
    padding: 9px 11px;
    gap: 7px;
    font-size: 12px;
  }

  .contenedor {
    padding: 14px 18px 30px;
  }

  .introduccion {
    padding: 26px 22px;
    margin-bottom: 22px;
    border-radius: 20px;
  }

  h1 {
    font-size: 34px;
    letter-spacing: -1px;
  }

  .introduccion p {
    font-size: 14px;
  }

  .contacto-grid {
    gap: 18px;
  }

  .tarjeta {
    padding: 24px;
  }

  .tarjeta h2 {
    font-size: 25px;
  }

  .descripcion {
    font-size: 14px;
  }

  .telefono {
    font-size: 29px;
  }

  .boton {
    width: 100%;
    padding: 14px 16px;
    gap: 12px;
  }

  .visitanos {
    padding: 24px;
    gap: 20px;
  }

  .visitanos h2 {
    font-size: 23px;
  }

  .footer {
    width: calc(100% - 36px);
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .boton {
    transition: none;
  }
}