/* Blink Services — hoja de estilos */
@font-face {
  font-family: 'Opificio';
  src: url('fonts/Opificio_Bold_rounded.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Opificio';
  src: url('fonts/Opificio_regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

:root {
  --cyan: #4FC3E8;
  --cyan-dark: #2BA6CE;
  --ink: #1a1a1a;
  --gris: #5f6b72;
  --fondo: #ffffff;
  --fondo-suave: #f2f9fc;
  --radio: 18px;
  --sombra: 0 10px 30px rgba(24, 60, 74, .10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--fondo);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--cyan-dark); text-decoration: none; }

.contenedor { width: min(1120px, 92%); margin-inline: auto; }

/* Logo tipográfico: b(ink */
.logo {
  font-family: 'Opificio', 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: -.02em;
  color: var(--ink);
}
.logo .par { color: var(--cyan); font-weight: 700; }
.logo-sub {
  display: block;
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .35em;
  color: var(--cyan-dark);
  text-transform: uppercase;
}

/* Cabecera */
header.principal {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e8f2f7;
}
.barra {
  display: flex; align-items: center; justify-content: space-between;
  padding: .8rem 0;
}
nav.menu { display: flex; gap: 1.6rem; align-items: center; }
nav.menu a { color: var(--ink); font-weight: 500; font-size: .95rem; }
nav.menu a:hover { color: var(--cyan-dark); }
.boton {
  display: inline-block;
  background: var(--cyan);
  color: #fff !important;
  font-weight: 600;
  padding: .7rem 1.5rem;
  border-radius: 999px;
  box-shadow: var(--sombra);
  transition: transform .15s ease, background .15s ease;
}
.boton:hover { background: var(--cyan-dark); transform: translateY(-2px); }
.boton.secundario { background: var(--ink); }

/* Héroe */
.heroe {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(79,195,232,.25), transparent 60%),
    radial-gradient(900px 420px at -10% 110%, rgba(79,195,232,.18), transparent 55%),
    var(--fondo);
  padding: 5.5rem 0 4.5rem;
  text-align: center;
}
.heroe .banner-marca {
  margin: 2.8rem auto 0;
  max-width: 980px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--sombra);
}
.heroe .banner-marca img { width: 100%; display: block; }
.heroe .banner-marca video { width: 100%; max-height: 520px; object-fit: cover; display: block; background: #4FC3E8; }
.heroe h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.heroe h1 .destacado { color: var(--cyan-dark); }
.heroe p.entrada {
  max-width: 46rem; margin: 1.4rem auto 2.2rem;
  color: var(--gris); font-size: 1.08rem;
}
.acciones { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Secciones */
section { padding: 4.5rem 0; }
section.alterna { background: var(--fondo-suave); }
.titulo-seccion { text-align: center; margin-bottom: 3rem; }
.titulo-seccion .antetitulo {
  color: var(--cyan-dark); font-weight: 700; letter-spacing: .25em;
  text-transform: uppercase; font-size: .8rem;
}
.titulo-seccion h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800; letter-spacing: -.02em; margin-top: .4rem;
}
.titulo-seccion p { color: var(--gris); max-width: 44rem; margin: .8rem auto 0; }

/* Tarjetas de servicios */
.tarjetas { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.tarjeta {
  background: #fff; border-radius: var(--radio); padding: 2rem 1.6rem;
  box-shadow: var(--sombra); border: 1px solid #eaf4f9;
  transition: transform .15s ease;
}
.tarjeta:hover { transform: translateY(-4px); }
.tarjeta .icono {
  width: 54px; height: 54px; border-radius: 14px;
  background: rgba(79,195,232,.15);
  display: grid; place-items: center; margin-bottom: 1.1rem;
}
.tarjeta .icono svg { width: 30px; height: 30px; stroke: var(--cyan-dark); }
.tarjeta h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.tarjeta p { color: var(--gris); font-size: .93rem; }

/* Galería / antes-después */
.galeria { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.foto {
  border-radius: var(--radio); overflow: hidden; box-shadow: var(--sombra);
  background: #fff; border: 1px solid #eaf4f9;
}
.foto img { width: 100%; height: 320px; object-fit: cover; }
.foto figcaption { padding: .9rem 1.2rem; font-size: .9rem; color: var(--gris); }

/* Valores */
.valores { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.5rem; }
.valor { text-align: center; padding: 1.4rem 1rem; }
.valor .punto {
  width: 12px; height: 12px; border-radius: 50%; background: var(--cyan);
  margin: 0 auto .8rem;
}
.valor h3 { font-size: 1rem; font-weight: 700; }
.valor p { color: var(--gris); font-size: .9rem; margin-top: .35rem; }

/* Contacto */
.contacto-caja {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-dark) 100%);
  border-radius: 24px; color: #fff; padding: 3rem 2rem; text-align: center;
  box-shadow: var(--sombra);
}
.contacto-caja h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; }
.contacto-caja p { opacity: .95; margin: .8rem auto 1.8rem; max-width: 38rem; }
.datos-contacto {
  display: flex; gap: 2.5rem; justify-content: center; flex-wrap: wrap;
  margin-top: 2rem; font-size: .98rem;
}
.datos-contacto div strong { display: block; font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; opacity: .85; }
.datos-contacto a { color: #fff; font-weight: 600; }
.contacto-caja .boton { background: #fff; color: var(--cyan-dark) !important; }

/* Pie */
footer.pie {
  background: var(--ink); color: #cfd8dc; padding: 2.5rem 0; font-size: .9rem;
}
.pie-fila { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.pie-fila .logo { color: #fff; font-size: 1.3rem; }
.pie-enlaces { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.pie-enlaces a { color: #cfd8dc; }
.pie-enlaces a:hover { color: var(--cyan); }
.creditos { text-align: center; margin-top: 1.6rem; font-size: .8rem; color: #90a4ae; }

/* Páginas legales */
.pagina-legal { padding: 3.5rem 0 4.5rem; }
.pagina-legal h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; margin-bottom: .4rem; }
.pagina-legal .fecha { color: var(--gris); font-size: .9rem; margin-bottom: 2.2rem; }
.pagina-legal h2 { font-size: 1.25rem; font-weight: 700; margin: 2rem 0 .7rem; }
.pagina-legal h3 { font-size: 1.05rem; font-weight: 700; margin: 1.4rem 0 .5rem; }
.pagina-legal p, .pagina-legal li { color: #37474f; margin-bottom: .8rem; }
.pagina-legal ul { padding-left: 1.3rem; margin-bottom: 1rem; }

/* Aviso de cookies */
#aviso-cookies {
  position: fixed; bottom: 1rem; left: 50%; transform: translateX(-50%);
  z-index: 100; background: #fff; border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,.18);
  padding: 1rem 1.3rem; width: min(560px, 94%); display: none;
  border: 1px solid #e0eef5; font-size: .88rem;
}
#aviso-cookies.visible { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
#aviso-cookies .boton { padding: .45rem 1.1rem; font-size: .85rem; }

/* WhatsApp flotante */
.whatsapp-flotante {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.whatsapp-flotante svg { width: 30px; height: 30px; fill: #fff; }

@media (max-width: 720px) {
  nav.menu { display: none; }
  .foto img { height: 260px; }
}
