:root {
  --turquesa: #13c8d8;
  --verde: #08d28c;
  --amarillo: #ffc400;
  --rojo: #ff3b30;
  --azul-oscuro: #123047;
  --texto: #243447;
  --gris: #667085;
  --fondo: #f7fbfc;
  --blanco: #ffffff;
  --borde: #e6eef2;
  --sombra: 0 18px 45px rgba(18, 48, 71, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--texto);
  background: var(--fondo);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

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

.contenedor {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* HEADER */

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--borde);
}

.nav {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  width: 210px;
  height: auto;
}

.menu {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
  font-weight: 700;
  color: var(--azul-oscuro);
}

.menu a {
  position: relative;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--turquesa), var(--verde), var(--amarillo));
  border-radius: 999px;
  transition: width 0.25s ease;
}

.menu a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid var(--borde);
  border-radius: 14px;
  background: white;
  cursor: pointer;
  padding: 9px;
  box-shadow: 0 8px 18px rgba(18, 48, 71, 0.08);
}

.menu-toggle span {
  display: block;
  height: 3px;
  margin: 4px 0;
  border-radius: 999px;
  background: var(--azul-oscuro);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.activo span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.activo span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.activo span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* HERO */

.hero {
  padding: 90px 0 80px;
  background:
    radial-gradient(circle at 85% 15%, rgba(19, 200, 216, 0.22), transparent 32%),
    radial-gradient(circle at 15% 80%, rgba(255, 196, 0, 0.22), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #eefbfc 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-doble {
  grid-template-columns: 0.9fr 1.1fr;
}

.hero-colecciones {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.hero-coleccion {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 18px;
  border: 1px solid var(--borde);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(18, 48, 71, 0.08);
}

.hero-coleccion img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 22px;
  margin-bottom: 16px;
  filter: drop-shadow(0 18px 28px rgba(18, 48, 71, 0.14));
}

.hero-coleccion h3 {
  margin-bottom: 8px;
  font-size: 24px;
}

.hero-coleccion p {
  margin: 0;
  font-size: 16px;
  color: var(--gris);
}

.etiqueta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(19, 200, 216, 0.12);
  color: var(--azul-oscuro);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--azul-oscuro);
  line-height: 1.12;
}

h1 {
  max-width: 720px;
  font-size: clamp(42px, 6vw, 74px);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.03em;
}

h3 {
  font-size: 22px;
}

.hero-texto p {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: 21px;
  color: var(--gris);
}

.acciones {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.acciones-centradas {
  justify-content: center;
}

.boton {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.boton:hover {
  transform: translateY(-2px);
}

.boton.principal {
  color: white;
  background: linear-gradient(135deg, var(--turquesa), var(--verde));
  box-shadow: 0 12px 28px rgba(19, 200, 216, 0.26);
}

.boton.secundario {
  color: var(--azul-oscuro);
  background: white;
  border: 1px solid var(--borde);
}

.hero-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mockup img {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 26px;
  filter: drop-shadow(0 24px 45px rgba(18, 48, 71, 0.18));
}

/* SECCIONES */

.seccion {
  padding: 86px 0;
  background: var(--blanco);
}

.seccion.destacada {
  background:
    linear-gradient(90deg, rgba(19, 200, 216, 0.09), rgba(255, 196, 0, 0.09)),
    var(--blanco);
}

.seccion.suave {
  background: #f4fafb;
}

.dos-columnas {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 44px;
  align-items: start;
}

.seccion p {
  font-size: 18px;
  color: var(--gris);
}

.ancho-texto {
  max-width: 800px;
}

.lista-card,
.card,
.contacto-box,
.paso {
  background: white;
  border: 1px solid var(--borde);
  border-radius: 26px;
  box-shadow: 0 14px 34px rgba(18, 48, 71, 0.08);
}

.lista-card {
  padding: 30px;
}

.lista-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--gris);
  font-size: 17px;
}

.lista-card li {
  margin-bottom: 10px;
}

.mockup-detalle {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

.mockup-detalle img {
  width: 100%;
  max-width: 820px;
  height: auto;
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(18, 48, 71, 0.14);
}

/* COLECCIONES DE ACUARELA */

.colecciones-blocks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
  margin-top: 34px;
}

.coleccion-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  padding: 28px;
  overflow: hidden;
}

.coleccion-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 22px;
  margin-bottom: 24px;
  box-shadow: 0 12px 26px rgba(18, 48, 71, 0.10);
}

.coleccion-card h3 {
  margin-bottom: 12px;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.03em;
}

.coleccion-card p {
  margin: 0 0 24px;
}

.coleccion-card .acciones {
  margin-top: auto;
}

.coleccion-card .boton {
  width: auto;
  align-self: flex-start;
}

.coleccion-card .boton {
  margin-top: 0;
}

/* VISTA PREVIA EXTERNA DEL BLOCK */

.vista-block-seccion {
  background:
    radial-gradient(circle at 15% 20%, rgba(19, 200, 216, 0.12), transparent 28%),
    radial-gradient(circle at 85% 80%, rgba(255, 196, 0, 0.18), transparent 28%),
    #ffffff;
}

.encabezado-seccion {
  max-width: 820px;
  margin-bottom: 34px;
}

.encabezado-seccion.centrado {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.encabezado-seccion.centrado .etiqueta {
  margin-left: auto;
  margin-right: auto;
}

.encabezado-seccion p {
  font-size: 18px;
  color: var(--gris);
}

.vistas-colecciones {
  display: grid;
  gap: 46px;
}

.vista-coleccion {
  padding-top: 6px;
}

.vista-coleccion + .vista-coleccion {
  padding-top: 46px;
  border-top: 1px solid var(--borde);
}

.vista-coleccion h3 {
  text-align: center;
  font-size: clamp(28px, 3vw, 38px);
}

.vista-coleccion p {
  max-width: 760px;
  margin: 14px auto 0;
  text-align: center;
}

.visor-externo {
  width: 100%;
  max-width: 980px;
  height: 600px;
  margin: 34px auto 0;
  padding: 14px;
  border-radius: 28px;
  background: white;
  border: 1px solid var(--borde);
  box-shadow: 0 22px 55px rgba(18, 48, 71, 0.14);
  overflow: hidden;
}

.visor-externo iframe {
  width: 100%;
  height: 600px;
  border: 0;
  border-radius: 20px;
  background: #f8f8f8;
}

/* COMO FUNCIONA */

.como-funciona {
  background: #f8fcfd;
}

.pasos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 34px;
}

.paso {
  padding: 28px;
}

.paso span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--turquesa), var(--verde));
  font-weight: 900;
  font-size: 18px;
}

.paso h3 {
  margin-bottom: 12px;
}

.paso p {
  margin: 0;
  font-size: 16px;
}

/* CARDS */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 34px;
}

.card {
  padding: 28px;
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  margin: 0;
  font-size: 16px;
}

/* CONTACTO */

.contacto {
  background:
    radial-gradient(circle at 20% 20%, rgba(8, 210, 140, 0.18), transparent 28%),
    radial-gradient(circle at 80% 80%, rgba(255, 196, 0, 0.22), transparent 28%),
    #ffffff;
}

.contacto-box {
  max-width: 760px;
  padding: 46px;
  text-align: center;
}

.contacto-box .etiqueta {
  margin-left: auto;
  margin-right: auto;
}

.contacto-acciones {
  justify-content: center;
}

/* FOOTER */

.footer {
  padding: 28px 0;
  background: var(--azul-oscuro);
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
}

.footer p {
  margin: 0;
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .menu {
    gap: 14px;
    font-size: 14px;
  }

  .logo img {
    width: 180px;
  }

  .visor-externo {
    height: 560px;
  }

  .visor-externo iframe {
    height: 560px;
  }
}

@media (max-width: 860px) {
  .nav {
    min-height: 72px;
    padding: 10px 0;
  }

  .logo img {
    width: 158px;
  }

  .menu-toggle {
    display: block;
  }

  .menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(280px, calc(100vw - 40px));
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border-radius: 18px;
    background: white;
    border: 1px solid var(--borde);
    box-shadow: 0 18px 45px rgba(18, 48, 71, 0.16);
  }

  .menu.abierto {
    display: flex;
  }

  .menu a {
    padding: 11px 12px;
    border-radius: 12px;
    font-size: 15px;
  }

  .menu a:hover {
    background: rgba(19, 200, 216, 0.10);
  }

  .menu a::after {
    display: none;
  }

  .hero {
    padding: 60px 0;
  }

  .hero-grid,
  .hero-doble,
  .dos-columnas {
    grid-template-columns: 1fr;
  }

  .hero-colecciones,
  .colecciones-blocks,
  .cards,
  .pasos {
    grid-template-columns: 1fr;
  }

  .hero-texto p {
    font-size: 18px;
  }

  .hero-coleccion img,
  .coleccion-card img {
    height: auto;
  }

  .coleccion-card .boton {
    width: 100%;
  }

  .contacto-box {
    padding: 32px 24px;
  }

  .visor-externo {
    height: 520px;
    padding: 10px;
    border-radius: 22px;
  }

  .visor-externo iframe {
    height: 520px;
    border-radius: 16px;
  }
}

@media (max-width: 480px) {
  .contenedor {
    width: min(100% - 28px, 1120px);
  }

  h1 {
    font-size: 40px;
  }

  .acciones {
    flex-direction: column;
  }

  .boton {
    width: 100%;
  }

  .mockup-detalle img {
    border-radius: 20px;
  }

  .visor-externo {
    height: 440px;
  }

  .visor-externo iframe {
    height: 440px;
  }
}
