/* ===== Creativo y Papel — estilos ===== */
:root {
  --cyan: #12A6D6;
  --cyan-dark: #0B8DBA;
  --cyan-soft: #E6F6FC;
  --navy: #06284E;
  --navy-2: #0D3A6B;
  --ink: #1D2B3A;
  --muted: #5B6B7C;
  --bg: #FFFFFF;
  --bg-alt: #F4FAFD;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(6, 40, 78, .08);
  --shadow-lg: 0 20px 50px rgba(6, 40, 78, .14);
  --header-h: 80px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0; font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--cyan-dark); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(1180px, 92%); margin-inline: auto; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.6em; border-radius: 999px; font: inherit; font-weight: 600; font-size: .98rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: .25s ease;
}
.btn--primary { background: var(--cyan); color: #fff; box-shadow: 0 8px 20px rgba(18, 166, 214, .35); }
.btn--primary:hover { background: var(--navy); box-shadow: 0 8px 20px rgba(6, 40, 78, .3); transform: translateY(-2px); }
.btn--ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--sm { padding: .55em 1.2em; font-size: .9rem; }

.tag {
  display: inline-block; background: var(--cyan-soft); color: var(--cyan-dark);
  font-weight: 600; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .4em 1em; border-radius: 999px; margin-bottom: 1rem;
}
.hl { color: var(--cyan); font-style: italic; }

/* Cabecera */
.header {
  position: fixed; inset: 0 0 auto; height: var(--header-h); z-index: 100;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: 0 4px 20px rgba(6, 40, 78, .08); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.header__logo img { height: 70px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a:not(.btn) { color: var(--navy); text-decoration: none; font-weight: 500; position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 3px; border-radius: 3px;
  background: var(--cyan); transition: width .25s;
}
.nav a:not(.btn):hover::after { width: 100%; }
.nav__cta { padding: .6em 1.3em; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 3px; background: var(--navy); border-radius: 3px; transition: .3s; }
.burger span:nth-child(1) { top: 13px; } .burger span:nth-child(2) { top: 20px; } .burger span:nth-child(3) { top: 27px; }
.burger.is-open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* Hero */
.hero {
  position: relative; overflow: hidden; padding: calc(var(--header-h) + 60px) 0 90px;
  background: radial-gradient(1200px 500px at 85% 20%, var(--cyan-soft), transparent 60%), var(--bg);
}
.hero__ribbon { position: absolute; left: 0; bottom: 10px; width: 100%; height: 120px; color: var(--cyan); opacity: .35; }
.hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.hero__text p { font-size: 1.1rem; color: var(--muted); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0 1.5rem; }
.hero__pills { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; color: var(--navy); font-weight: 500; font-size: .95rem; }
.hero__art { position: relative; aspect-ratio: 1 / 1; max-width: 520px; justify-self: center; width: 100%; }
.blob {
  position: absolute; inset: 8%; border-radius: 42% 58% 55% 45% / 50% 40% 60% 50%;
  background: linear-gradient(135deg, var(--cyan), var(--navy-2)); animation: morph 12s ease-in-out infinite;
  box-shadow: var(--shadow-lg);
}
@keyframes morph {
  0%, 100% { border-radius: 42% 58% 55% 45% / 50% 40% 60% 50%; }
  50% { border-radius: 58% 42% 40% 60% / 40% 60% 40% 60%; }
}
.hero__logo {
  position: absolute; left: 50%; top: 50%; width: 62%; transform: translate(-50%, -50%);
  background: #fff; border-radius: 22px; padding: 14px; box-shadow: var(--shadow-lg);
}
.float-card {
  position: absolute; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); font-size: .9rem;
  animation: bob 5s ease-in-out infinite; z-index: 2;
}
.float-card svg { width: 38px; height: 38px; }
.fc1 { top: 4%; left: 4%; } .fc2 { top: 10%; right: 0; animation-delay: -1.5s; }
.fc3 { bottom: 8%; left: 0; animation-delay: -3s; } .fc4 { bottom: 2%; right: 8%; animation-delay: -2s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Secciones */
.section { padding: 100px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 3.5rem; }
.section__head p { color: var(--muted); font-size: 1.05rem; }

/* Tarjetas de servicios */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.card {
  background: #fff; border-radius: var(--radius); padding: 2rem 1.6rem; box-shadow: var(--shadow);
  border-top: 5px solid var(--cyan); transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card:nth-child(even) { border-top-color: var(--navy); }
.card__icon {
  width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center;
  background: var(--cyan-soft); color: var(--cyan); margin-bottom: 1.2rem;
}
.card:nth-child(even) .card__icon { background: #E8EEF6; color: var(--navy); }
.card__icon svg { width: 36px; height: 36px; }
.card p { color: var(--muted); font-size: .95rem; }
.card ul { list-style: none; padding: 0; margin: 0; font-size: .92rem; }
.card li { padding: .35em 0 .35em 1.6em; position: relative; border-top: 1px dashed #E3EBF2; }
.card li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 700; }

/* Productos */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.5rem; }
.filter {
  font: inherit; font-weight: 600; padding: .55em 1.4em; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--cyan); background: #fff; color: var(--cyan-dark); transition: .2s;
}
.filter:hover, .filter.is-active { background: var(--cyan); color: #fff; }
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.product {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s, opacity .3s; display: flex; flex-direction: column;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product.is-hidden { display: none; }
.product__img { aspect-ratio: 4 / 3; display: grid; place-items: center; position: relative; overflow: hidden; }
.product__img span { font-size: 4.2rem; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .15)); transition: transform .4s; }
.product:hover .product__img span { transform: scale(1.15) rotate(-6deg); }
.product__img::after {
  content: ""; position: absolute; width: 140%; height: 40px; bottom: 18px; left: -20%;
  border-top: 4px solid rgba(255, 255, 255, .5); border-radius: 50%;
}
.pi-1 { background: linear-gradient(135deg, #12A6D6, #5BC8EA); }
.pi-2 { background: linear-gradient(135deg, #06284E, #1E5A96); }
.pi-3 { background: linear-gradient(135deg, #5BC8EA, #B9E8F7); }
.pi-4 { background: linear-gradient(135deg, #0D3A6B, #12A6D6); }
.pi-5 { background: linear-gradient(135deg, #12A6D6, #06284E); }
.pi-6 { background: linear-gradient(135deg, #B9E8F7, #12A6D6); }
.pi-7 { background: linear-gradient(135deg, #1E5A96, #5BC8EA); }
.pi-8 { background: linear-gradient(135deg, #06284E, #12A6D6); }
.product__body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.product__body p { color: var(--muted); font-size: .9rem; flex: 1; }
.product__link { font-weight: 700; text-decoration: none; color: var(--cyan-dark); }
.product__link:hover { color: var(--navy); }

/* Pasos */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 4rem; counter-reset: s; }
.step { text-align: center; padding: 1.5rem; position: relative; }
.step b {
  display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 50%;
  background: var(--navy); color: #fff; font-size: 1.4rem; box-shadow: 0 0 0 8px var(--cyan-soft);
}
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 52px; left: calc(50% + 44px); width: calc(100% - 88px);
  border-top: 3px dashed var(--cyan); opacity: .5;
}
.step p { color: var(--muted); font-size: .92rem; }

/* Nosotros */
.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: center; }
.about__img {
  background: linear-gradient(135deg, var(--cyan-soft), #fff); border-radius: 30px; padding: 3rem;
  box-shadow: var(--shadow); position: relative;
}
.about__img::before {
  content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 3px solid var(--cyan);
  border-radius: 30px; z-index: -1;
}
.about__text p { color: var(--muted); }
.about__feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }
.about__feats div {
  background: var(--bg-alt); border-radius: 14px; padding: 1rem; text-align: center;
  font-weight: 600; color: var(--navy); font-size: .9rem;
}
.about__feats b { display: block; font-size: 1.8rem; margin-bottom: .3rem; }

/* CTA */
.cta { background: linear-gradient(120deg, var(--navy), var(--navy-2) 60%, var(--cyan)); padding: 70px 0; color: #fff; position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; border-radius: 50%;
  border: 30px solid rgba(255, 255, 255, .08);
}
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; position: relative; }
.cta h2 { color: #fff; margin-bottom: .3rem; }
.cta p { margin: 0; opacity: .85; }

/* Contacto */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3rem; align-items: start; }
.info-item { display: flex; gap: 1rem; margin-bottom: 1.6rem; }
.info-item__icon {
  flex: 0 0 52px; height: 52px; border-radius: 14px; background: var(--cyan-soft);
  display: grid; place-items: center; font-size: 1.4rem;
}
.info-item h4 { margin: 0 0 .2rem; font-size: 1rem; }
.info-item p { margin: 0; color: var(--muted); }
.info-item a { color: var(--muted); text-decoration: none; }
.info-item a:hover { color: var(--cyan-dark); }
.hours { border-collapse: collapse; font-size: .92rem; color: var(--muted); }
.hours td { padding: .15em 1.2em .15em 0; vertical-align: top; }
.hours td:first-child { font-weight: 600; color: var(--ink); }
.open-status { margin-top: .5rem !important; font-weight: 600; font-size: .9rem; }
.open-status.is-open { color: #12A150; } .open-status.is-closed { color: #D2453A; }
.socials { display: flex; gap: .8rem; }
.socials a {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: #fff; transition: .25s;
}
.socials a:hover { background: var(--cyan); transform: translateY(-3px); }
.socials svg { width: 22px; height: 22px; }

.form { background: #fff; border-radius: 24px; padding: 2.2rem; box-shadow: var(--shadow-lg); border-top: 6px solid var(--cyan); }
.form h3 { font-size: 1.5rem; margin-bottom: .2rem; }
.form__hint { color: var(--muted); font-size: .88rem; }
.form label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 1rem; }
.form input:not([type="checkbox"]), .form select, .form textarea {
  display: block; width: 100%; margin-top: .4rem; padding: .8em 1em; font: inherit; font-weight: 400; font-size: .95rem;
  border: 2px solid #E1EAF1; border-radius: 12px; background: #FAFCFE; color: var(--ink); transition: .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--cyan); background: #fff; box-shadow: 0 0 0 4px var(--cyan-soft); }
.form textarea { resize: vertical; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form .check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; color: var(--muted); }
.form .check input { margin-top: .35em; accent-color: var(--cyan); width: 18px; height: 18px; }
.form__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.form__error { color: #D2453A; font-weight: 600; font-size: .9rem; margin: .8rem 0 0; min-height: 1.2em; }

.map { margin-top: 3.5rem; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); height: 380px; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Pie */
.footer { background: var(--navy); color: #C9D6E5; padding: 70px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.footer__logo { background: #fff; border-radius: 14px; padding: 8px; width: 190px; height: auto; margin-bottom: 1rem; }
.footer h4 { color: #fff; margin-bottom: 1rem; }
.footer a { display: block; color: #C9D6E5; text-decoration: none; margin-bottom: .45rem; transition: color .2s; }
.footer p a { display: inline; }
.footer a:hover { color: var(--cyan); }
.footer p { margin: 0 0 .45rem; font-size: .95rem; }
.footer__bottom { text-align: center; padding: 1.4rem 0; margin-top: 3rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; width: 60px; height: 60px; border-radius: 50%; z-index: 90;
  background: #25D366; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(37, 211, 102, .45);
  transition: transform .25s; animation: pulse 2.5s infinite;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Cookies */
.cookie {
  position: fixed; left: 20px; bottom: 20px; right: 100px; max-width: 560px; z-index: 95;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); padding: 1rem 1.2rem;
  display: flex; align-items: center; gap: 1rem; border-left: 5px solid var(--cyan);
}
.cookie[hidden] { display: none; }
.cookie p { margin: 0; font-size: .88rem; color: var(--muted); }

/* Animación de aparición */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Páginas legales */
.legal { padding: calc(var(--header-h) + 50px) 0 80px; }
.legal .container { max-width: 820px; }
.legal h2 { font-size: 1.35rem; margin-top: 2rem; }
.legal p, .legal li { color: var(--muted); }
.legal .back { display: inline-block; margin-bottom: 1.5rem; font-weight: 600; text-decoration: none; }

/* 404 */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 2rem; }
.notfound .big { font-size: clamp(5rem, 18vw, 10rem); font-weight: 800; color: var(--cyan); line-height: 1; margin: 0; }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .cards, .products { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .header__logo img { height: 52px; }
  .burger { display: block; z-index: 101; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0; background: #fff; flex-direction: column;
    justify-content: flex-start; padding: 2.5rem 1.5rem; gap: 1.4rem; font-size: 1.15rem;
    transform: translateX(100%); transition: transform .35s ease; height: calc(100vh - var(--header-h));
  }
  .nav.is-open { transform: none; }
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero__grid, .about, .contact { grid-template-columns: 1fr; }
  .hero__text { text-align: center; }
  .hero__text p { margin-inline: auto; }
  .hero__actions, .hero__pills { justify-content: center; }
  .hero__art { max-width: 420px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .about__img { max-width: 460px; margin: 0 auto; }
  .cta__inner { text-align: center; justify-content: center; }
  .section { padding: 75px 0; }
}
@media (max-width: 560px) {
  .cards, .products { grid-template-columns: 1fr; }
  .products { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .product__body { padding: 1rem; }
  .product__body p { font-size: .82rem; }
  .product__img span { font-size: 3rem; }
  .form__row { grid-template-columns: 1fr; }
  .form { padding: 1.5rem; }
  .about__feats { grid-template-columns: 1fr 1fr 1fr; gap: .5rem; }
  .about__feats div { padding: .7rem .4rem; font-size: .78rem; }
  .footer__grid { grid-template-columns: 1fr; text-align: center; }
  .footer__logo { margin-inline: auto; }
  .float-card { padding: 8px 10px; font-size: .78rem; }
  .float-card svg { width: 28px; height: 28px; }
  .cookie { right: 20px; bottom: 96px; flex-direction: column; align-items: stretch; text-align: center; }
  .map { height: 300px; }
}
