/* Sánchez Contadores SCA — hoja de estilos
   Paleta tomada del logo: azul marino, azul brillante y naranja. */

:root {
  --marino: #002A8F;
  --marino-900: #001B5E;
  --marino-700: #073BA8;
  --azul: #0B57E3;
  --azul-claro: #DCEBFA;
  --naranja: #F26A00;
  --naranja-600: #D95E00;
  --wa: #128C4A;
  --wa-600: #0F7A40;

  --tinta: #10182B;
  --gris: #5A6478;
  --linea: #E3E9F5;
  --fondo: #FFFFFF;
  --fondo-suave: #F4F7FD;

  --radio: 16px;
  --radio-sm: 10px;
  --sombra: 0 1px 2px rgba(16, 24, 43, .04), 0 12px 32px rgba(16, 24, 43, .07);
  --sombra-fuerte: 0 18px 48px rgba(0, 42, 143, .18);
  --ancho: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--fondo);
  color: var(--tinta);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--azul); }

h1, h2, h3 { line-height: 1.18; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1rem; }

.contenedor { width: min(100% - 2.5rem, var(--ancho)); margin-inline: auto; }

.saltar {
  position: absolute; left: -9999px; top: 0;
  background: var(--marino); color: #fff; padding: .75rem 1rem; z-index: 100;
}
.saltar:focus { left: 1rem; top: 1rem; }

/* ---------- Botones ---------- */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .7rem 1.15rem;
  border-radius: 999px;
  font-weight: 700; font-size: .95rem; text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.boton:hover { transform: translateY(-1px); }
.boton--grande { padding: .95rem 1.6rem; font-size: 1rem; }
.boton--wa { background: var(--wa); color: #fff; }
.boton--wa:hover { background: var(--wa-600); }
.boton--naranja { background: var(--naranja); color: #fff; }
.boton--naranja:hover { background: var(--naranja-600); }
.boton--linea { border-color: var(--linea); color: var(--marino); background: #fff; }
.boton--linea:hover { border-color: var(--marino); }

/* ---------- Cabecera ---------- */
.cabecera {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linea);
}
.cabecera__fila { display: flex; align-items: center; gap: 1.25rem; min-height: 74px; }

.marca { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: inherit; margin-right: auto; }
.marca img { border-radius: 12px; }
.marca__texto { display: flex; flex-direction: column; line-height: 1.2; }
.marca__texto strong { font-size: 1.02rem; color: var(--marino); letter-spacing: -.01em; }
.marca__texto small { font-size: .76rem; color: var(--gris); letter-spacing: .04em; text-transform: uppercase; }

.nav { display: flex; gap: 1.4rem; }
.nav a {
  color: var(--tinta); text-decoration: none; font-weight: 600; font-size: .93rem;
  padding: .35rem 0; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--marino); border-bottom-color: var(--naranja); }

/* Menú horizontal deslizable para teléfonos */
.nav-movil { display: none; }
.nav-movil a {
  flex: none; color: var(--marino); text-decoration: none;
  font-weight: 600; font-size: .88rem;
  padding: .4rem .85rem; border-radius: 999px;
  background: var(--fondo-suave); border: 1px solid var(--linea);
}

@media (max-width: 900px) {
  .nav { display: none; }
  .cabecera__fila { min-height: 66px; }
  .nav-movil {
    display: flex; gap: .5rem;
    width: min(100% - 2.5rem, var(--ancho)); margin-inline: auto;
    padding-bottom: .7rem;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .nav-movil::-webkit-scrollbar { display: none; }
  html { scroll-padding-top: 124px; }
}
@media (max-width: 460px) {
  .cabecera__cta span { display: none; }
  .cabecera__cta { padding: .7rem .85rem; }
  .marca__texto small { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1000px 460px at 88% -10%, rgba(11, 87, 227, .55), transparent 60%),
    radial-gradient(700px 380px at 0% 110%, rgba(242, 106, 0, .28), transparent 60%),
    linear-gradient(160deg, var(--marino) 0%, var(--marino-900) 100%);
  color: #fff;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem);
}
.hero__grid {
  display: grid; gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: 1.25fr .85fr; align-items: center;
}
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } }

.etiqueta {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: #FFC79A;
  background: rgba(242, 106, 0, .18);
  border: 1px solid rgba(242, 106, 0, .38);
  padding: .35rem .8rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.etiqueta--oscura {
  color: var(--marino); background: var(--azul-claro); border-color: transparent;
}

.hero h1 { color: #fff; max-width: 15ch; }
.hero__bajada { color: #C9D8F5; font-size: 1.08rem; max-width: 54ch; }
.hero__acciones { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero__acciones .boton--linea { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.hero__acciones .boton--linea:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.hero__firma {
  margin-top: 1.8rem; color: #9FB6E4; font-size: .9rem;
  padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .14);
}

.tarjeta-contacto {
  background: #fff; color: var(--tinta);
  border-radius: 22px; padding: 1.9rem 1.7rem;
  box-shadow: var(--sombra-fuerte);
}
.tarjeta-contacto img { border-radius: 16px; margin-bottom: .9rem; }
.tarjeta-contacto h2 { font-size: 1.22rem; margin-bottom: .1rem; color: var(--marino); }
.tarjeta-contacto__lema { color: var(--gris); font-size: .88rem; margin-bottom: 1.3rem; }

.datos { list-style: none; margin: 0; padding: 0; display: grid; gap: .95rem; }
.datos li { display: flex; gap: .75rem; font-size: .93rem; line-height: 1.5; }
.datos__icono { flex: none; width: 1.5rem; text-align: center; }
.datos a { color: var(--marino); font-weight: 600; text-decoration: none; }
.datos a:hover { text-decoration: underline; }

/* ---------- Secciones ---------- */
.seccion { padding: clamp(3.2rem, 7vw, 5.5rem) 0; }
.seccion--suave { background: var(--fondo-suave); }
.seccion__cabeza { max-width: 62ch; margin-bottom: 2.6rem; }
.seccion__bajada { color: var(--gris); font-size: 1.03rem; margin-bottom: 0; }

.rejilla { display: grid; gap: 1.25rem; }
.rejilla--3 { grid-template-columns: repeat(3, 1fr); }
.rejilla--igual { align-items: stretch; }
@media (max-width: 940px) { .rejilla--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .rejilla--3 { grid-template-columns: 1fr; } }

.tarjeta {
  background: #fff; border: 1px solid var(--linea); border-radius: var(--radio);
  padding: 1.6rem 1.5rem; box-shadow: var(--sombra);
  transition: transform .18s ease, box-shadow .18s ease;
}
.tarjeta:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(16, 24, 43, .11); }
.tarjeta__icono {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 13px;
  background: var(--azul-claro); color: var(--marino); margin-bottom: 1rem;
}
.tarjeta h3 { color: var(--marino); }
.tarjeta p { color: var(--gris); font-size: .95rem; margin: 0; }

.nota {
  margin-top: 1.8rem; text-align: center; color: var(--gris); font-size: .95rem;
}
.nota strong { color: var(--marino); }

/* ---------- Planes ---------- */
.plan {
  background: #fff; border: 1px solid var(--linea); border-radius: var(--radio);
  padding: 1.7rem 1.5rem; box-shadow: var(--sombra);
  display: flex; flex-direction: column;
}
.plan h3 { color: var(--marino); font-size: 1.3rem; margin-bottom: .15rem; }
.plan__sub { color: var(--gris); font-size: .86rem; margin-bottom: 1.1rem; }
.plan .boton { margin-top: auto; align-self: flex-start; }
.plan--destacado {
  border-color: var(--marino); border-width: 2px;
  box-shadow: 0 20px 44px rgba(0, 42, 143, .16);
}

.lista-check { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .6rem; }
.lista-check li {
  position: relative; padding-left: 1.75rem; font-size: .95rem; color: #2A3448;
}
.lista-check li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: var(--naranja);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='black'/></svg>") center / 78% no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='black'/></svg>") center / 78% no-repeat;
}
.lista-check--columnas { columns: 2; column-gap: 2.5rem; }
.lista-check--columnas li { break-inside: avoid; }
@media (max-width: 700px) { .lista-check--columnas { columns: 1; } }

.bloque-laboral, .requisitos {
  margin-top: 2.2rem; background: #fff; border: 1px solid var(--linea);
  border-radius: var(--radio); padding: 1.9rem 1.7rem; box-shadow: var(--sombra);
}
.bloque-laboral h3, .requisitos h3 { color: var(--marino); font-size: 1.25rem; }
.bloque-laboral p, .requisitos p { color: var(--gris); }
.requisitos .lista-check { margin-bottom: 1.6rem; }

/* ---------- Franja de reservas ---------- */
.franja {
  background: linear-gradient(120deg, var(--marino-700), var(--marino-900));
  color: #fff; padding: clamp(2.4rem, 5vw, 3.4rem) 0;
}
.franja__fila {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.franja h2 { color: #fff; margin-bottom: .35rem; }
.franja p { color: #C9D8F5; margin: 0; max-width: 58ch; }

/* ---------- Contacto ---------- */
.contacto__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .contacto__grid { grid-template-columns: 1fr; } }

.contacto__bloque {
  background: #fff; border: 1px solid var(--linea); border-radius: var(--radio);
  padding: 1.6rem 1.5rem; box-shadow: var(--sombra);
}
.contacto__bloque h3 { color: var(--marino); }
.contacto__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; font-size: .95rem; }
.contacto__lista strong { display: block; color: var(--gris); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.contacto__lista a { color: var(--marino); font-weight: 700; text-decoration: none; }
.contacto__lista a:hover { text-decoration: underline; }
.enlace-fuerte { font-weight: 700; text-decoration: none; color: var(--azul); }
.enlace-fuerte:hover { text-decoration: underline; }

.horario { width: 100%; border-collapse: collapse; font-size: .93rem; }
.horario th { text-align: left; font-weight: 600; color: var(--gris); padding: .5rem 0; }
.horario td { text-align: right; font-weight: 700; color: var(--marino); padding: .5rem 0; }
.horario tr + tr th, .horario tr + tr td { border-top: 1px solid var(--linea); }

/* ---------- Pie ---------- */
.pie { background: var(--marino-900); color: #C9D8F5; padding: 2.6rem 0 1.6rem; }
.pie__fila {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1.5rem; flex-wrap: wrap; padding-bottom: 1.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.pie__marca { display: flex; align-items: center; gap: .8rem; }
.pie__marca img { border-radius: 10px; background: #fff; }
.pie__marca strong { display: block; color: #fff; }
.pie__marca span { font-size: .87rem; }
.pie__nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.pie__nav a { color: #C9D8F5; text-decoration: none; font-size: .92rem; font-weight: 600; }
.pie__nav a:hover { color: #fff; }
.pie__legal {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
  padding-top: 1.2rem; font-size: .83rem; color: #8FA6D6;
}
.pie__legal p { margin: 0; }
.pie__seben a { color: #C9D8F5; }

/* ---------- WhatsApp flotante ---------- */
.wa-flotante {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 10px 26px rgba(18, 140, 74, .42);
  transition: transform .15s ease;
}
.wa-flotante:hover { transform: scale(1.06); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
