/* Jaipp Studios — hoja de estilos */

:root {
  --paper: #f1f2ee;
  --paper-alt: #e7e9e3;
  --card: #ffffff;
  --ink: #131e1a;
  --ink-soft: #53635c;
  --teal: #1d9e75;
  --teal-dark: #0f6e56;
  --teal-deep: #0a4d3c;
  --amber: #d99a2b;
  --line: #d9dcd5;
  --radius: 14px;
  --radius-lg: 26px;
  --shell: 1120px;
  --step: clamp(3.5rem, 8vw, 6.5rem);
  --font-display: "Bricolage Grotesque", "Poppins", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 .6rem;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 6.4vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 4.2vw, 2.7rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }

p { margin: 0 0 1.05rem; max-width: 62ch; }

a { color: var(--teal-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

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

:focus-visible {
  outline: 3px solid var(--teal-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: .7rem 1.1rem; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; color: #fff; }

/* ---------- cabecera ---------- */

.masthead {
  position: sticky; top: 0; z-index: 50;
  background: rgba(241, 242, 238, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.masthead__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: .85rem 0;
}

.masthead__logo img { height: 34px; width: auto; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav__links { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.nav a:hover { color: var(--teal-dark); }


/* ---------- botones ---------- */

.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font: inherit; font-size: .98rem; font-weight: 500;
  padding: .78rem 1.35rem; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  text-decoration: none; transition: background-color .18s ease, color .18s ease;
}
.btn--solid { background: var(--teal-dark); color: #fff; }
.btn--solid:hover { background: var(--teal-deep); color: #fff; }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: none; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: #fff; color: var(--teal-deep); }
.btn--light:hover { background: #e8f5f0; color: var(--teal-deep); }

/* ---------- portada ---------- */

.hero { padding: clamp(3rem, 7vw, 5.5rem) 0 var(--step); }

.hero__grid {
  display: grid; gap: clamp(2.5rem, 5vw, 4rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 940px) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; }
}

.hero p.hero__lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 46ch; }

.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

.hero__note {
  margin-top: 1.7rem; font-size: .92rem; color: var(--ink-soft);
  border-left: 2px solid var(--teal); padding-left: .9rem; border-radius: 0;
  max-width: 40ch;
}

/* ---------- placa interactiva ---------- */

.probador { display: grid; justify-items: center; align-content: start; gap: .85rem; }

.plaque {
  position: relative; width: min(300px, 78vw); aspect-ratio: 1 / 1.18;
  border: 0; cursor: pointer; font: inherit; color: #fff;
  background: var(--teal-deep); border-radius: var(--radius-lg);
  display: grid; align-content: center; justify-items: center; gap: .35rem;
  padding: 1.5rem; text-align: center;
  box-shadow: 0 18px 40px -22px rgba(10, 77, 60, .8);
  transition: transform .2s ease;
}
.plaque:hover { transform: translateY(-3px); }
.plaque:active { transform: translateY(0); }

.plaque__mark { width: 74px; height: 74px; margin-bottom: .4rem; }
.plaque__title { font-family: var(--font-display); font-size: 1.32rem; font-weight: 600; }
.plaque__hint { font-size: .87rem; color: #a8dcc9; }

.plaque__ring {
  position: absolute; inset: 0; margin: auto;
  width: 90px; height: 90px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .55);
  opacity: 0; pointer-events: none;
}
.plaque.is-tapped .plaque__ring { animation: ripple 1.1s ease-out forwards; }
.plaque.is-tapped .plaque__ring:nth-child(2) { animation-delay: .16s; }
.plaque.is-tapped .plaque__ring:nth-child(3) { animation-delay: .32s; }

@keyframes ripple {
  0% { opacity: .85; transform: scale(.5); }
  100% { opacity: 0; transform: scale(2.9); }
}

.review {
  width: min(300px, 78vw); background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem 1.1rem; opacity: 0; transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease;
}
.review[data-visible="true"] { opacity: 1; transform: translateY(0); }
.review__row { display: flex; align-items: center; gap: .55rem; margin-bottom: .35rem; }
.review__stars { display: flex; gap: 2px; }
.review__stars svg { width: 17px; height: 17px; fill: var(--amber); }
.review__meta { font-size: .82rem; color: var(--ink-soft); }
.review__text { font-size: .95rem; margin: 0; }

.probador__pie { font-size: .85rem; color: var(--ink-soft); text-align: center; }

/* ---------- secciones ---------- */

.band { padding: var(--step) 0; border-top: 1px solid var(--line); }
.band--dark { background: var(--teal-deep); color: #fff; border-top: 0; }
.band--dark h2, .band--dark h3 { color: #fff; }
.band--dark p { color: #b9e2d5; }
.band--tint { background: var(--paper-alt); }

.band__head { max-width: 44ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.band__head p { color: var(--ink-soft); font-size: 1.06rem; }
.band--dark .band__head p { color: #b9e2d5; }

/* ---------- pasos ---------- */

.steps { display: grid; gap: 1.6rem; grid-template-columns: 1fr; counter-reset: paso;
  list-style: none; padding: 0; margin: 0; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2.2rem; } }

.step { counter-increment: paso; padding-top: 1.1rem; border-top: 2px solid var(--teal); }
.step::before {
  content: counter(paso); display: block;
  font-family: var(--font-display); font-size: .95rem; font-weight: 600;
  color: var(--teal-dark); margin-bottom: .5rem;
}
.step p { font-size: .98rem; color: var(--ink-soft); margin-bottom: 0; }

/* ---------- productos ---------- */

.cards { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
}
.card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.card__body { padding: 1.25rem 1.3rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card__body p { font-size: .96rem; color: var(--ink-soft); flex: 1; }
.card__price {
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  color: var(--teal-dark); margin-top: .4rem;
}

/* ---------- bloque de dos columnas ---------- */

.split { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius); }

.checks { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.checks li { padding-left: 1.6rem; position: relative; margin-bottom: .5rem; font-size: .99rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 9px; height: 9px; border-radius: 50%; background: var(--teal);
}
.band--dark .checks li::before { background: #6fd3ae; }

/* ---------- packs ---------- */

.packs { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 820px) { .packs { grid-template-columns: repeat(3, 1fr); } }

.pack {
  border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--radius);
  padding: 1.5rem 1.4rem; display: flex; flex-direction: column;
}
.pack--featured { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .45); }
.pack h3 { margin-bottom: .3rem; }
.pack__price { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; margin: .2rem 0 .9rem; }
.pack ul { list-style: none; padding: 0; margin: 0 0 1.4rem; flex: 1; }
.pack li { font-size: .95rem; color: #b9e2d5; padding-left: 1.2rem; position: relative; margin-bottom: .4rem; }
.pack li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: #6fd3ae; }

/* ---------- zona ---------- */

.towns { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1.4rem 0 0; list-style: none; }
.towns li {
  border: 1px solid var(--line); background: var(--card);
  border-radius: 999px; padding: .35rem .9rem; font-size: .9rem; color: var(--ink-soft);
}

/* ---------- preguntas ---------- */

.faq { max-width: 68ch; }
.faq details { border-bottom: 1px solid var(--line); padding: 1.05rem 0; }
.faq summary {
  cursor: pointer; font-family: var(--font-display); font-weight: 600;
  font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal-dark); font-size: 1.35rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq p { margin: .8rem 0 0; color: var(--ink-soft); font-size: .99rem; }

/* ---------- contacto ---------- */

.contact { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1fr; } }

.form { display: grid; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-size: .92rem; font-weight: 500; }
.field input, .field textarea, .field select {
  font: inherit; font-size: .98rem; padding: .7rem .85rem;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--card); color: var(--ink); width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.form__error { color: #a32d2d; font-size: .88rem; min-height: 1.2em; margin: 0; }
.form__ok { color: var(--teal-dark); font-size: .95rem; margin: 0; }
.hp { position: absolute; left: -9999px; }

.direct { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.direct li { margin-bottom: .55rem; font-size: 1rem; }

/* ---------- pie ---------- */

.footer { background: var(--ink); color: #b7c2bd; padding: 3rem 0 2.2rem; }
.footer a { color: #dfe6e2; }
.footer a:hover { color: #fff; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: flex-end; }
.footer img { height: 30px; width: auto; margin-bottom: .9rem; }
.footer p { font-size: .9rem; margin: 0; max-width: 36ch; }
.footer__links { display: flex; gap: 1.2rem; font-size: .9rem; }

.signal {
  display: inline-flex; align-items: center; gap: .4rem;
  background: none; border: 0; padding: 0; margin: 0; cursor: help;
  color: inherit; font: inherit; font-size: .9rem;
}
.signal__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); flex: none; }
.signal__text {
  opacity: 0; transition: opacity .35s ease; color: #6fd3ae; white-space: nowrap;
}
.signal:hover .signal__text,
.signal:focus-visible .signal__text,
.signal.is-open .signal__text { opacity: 1; }

/* ---------- aviso emergente ---------- */

.toast {
  position: fixed; left: 50%; bottom: 1.5rem;
  transform: translate(-50%, 260%); opacity: 0; pointer-events: none;
  background: var(--teal-deep); color: #fff; padding: .8rem 1.3rem;
  border-radius: 999px; font-size: .95rem; z-index: 80;
  transition: transform .4s cubic-bezier(.2, .9, .3, 1.2), opacity .3s ease;
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .5);
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* ---------- menú ---------- */

.masthead__logo img { height: 30px; width: auto; }
@media (min-width: 700px) { .masthead__logo img { height: 36px; } }

.nav a.is-current { color: var(--teal-dark); font-weight: 500; }

.menu-toggle {
  display: none; width: 42px; height: 38px; padding: 8px 7px;
  background: none; border: 1px solid var(--line); border-radius: 10px;
  cursor: pointer; flex-direction: column; justify-content: space-between;
}
.menu-toggle__bar { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

@media (max-width: 860px) {
  .menu-toggle { display: flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: .2rem;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -24px rgba(0,0,0,.45);
    padding: .6rem 1.25rem 1.3rem; display: none;
  }
  .nav.is-open { display: flex; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__links a { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn { justify-content: center; margin-top: .9rem; }
  .masthead__inner { position: relative; }
}

/* ---------- cabecera de página interior ---------- */

.page-head { padding: clamp(2.6rem, 6vw, 4.4rem) 0 clamp(1.6rem, 3vw, 2.4rem); }
.page-head h1 { max-width: 20ch; }
.page-head__lead { font-size: 1.14rem; color: var(--ink-soft); max-width: 56ch; }

/* ---------- dos bloques ---------- */

.duo { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 780px) { .duo { grid-template-columns: 1fr 1fr; } }
.duo__item {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem 1.6rem 1.8rem;
}
.duo__item p { color: var(--ink-soft); font-size: .99rem; }
.duo__price {
  font-family: var(--font-display); font-weight: 600; font-size: 1.6rem;
  color: var(--teal-dark); margin: 0 0 .5rem;
}

/* ---------- llamada final ---------- */

.cta { max-width: 46ch; }
.cta h2 { margin-bottom: .7rem; }
.cta p { margin-bottom: 1.5rem; }

/* ---------- packs sobre fondo claro ---------- */

.band .packs .pack {
  background: var(--card); border: 1px solid var(--line);
  position: relative;
}
.band .packs .pack li { color: var(--ink-soft); }
.band .packs .pack li::before { background: var(--teal); }
.band .packs .pack--featured { border-color: var(--teal); border-width: 2px; }
.band .packs .pack__price { color: var(--ink); }

.pack__before {
  font-size: 1rem; color: var(--ink-soft); text-decoration: line-through;
  font-family: var(--font-body); font-weight: 400; margin-left: .35rem;
}
.pack__flag {
  position: absolute; top: -.75rem; left: 1.3rem;
  background: var(--teal); color: #fff; font-size: .78rem;
  padding: .18rem .7rem; border-radius: 999px;
}
.badge {
  display: inline-block; align-self: flex-start;
  background: #e2f3ec; color: var(--teal-deep);
  font-size: .82rem; padding: .2rem .7rem; border-radius: 999px;
  margin-bottom: 1rem;
}

/* ---------- tabla ---------- */

.table-wrap { overflow-x: auto; }
.tabla { width: 100%; border-collapse: collapse; background: var(--card); font-size: .98rem; }
.tabla th, .tabla td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line); }
.tabla th { font-weight: 500; font-size: .9rem; color: var(--ink-soft); }
.tabla td:nth-child(2) { color: var(--ink-soft); text-decoration: line-through; }
.tabla td:nth-child(3) { color: var(--teal-dark); }
.tabla tr:last-child td { border-bottom: 0; }

.nota { font-size: .9rem; color: var(--ink-soft); margin-top: 1.1rem; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- pie ---------- */

.footer img { height: 26px; width: auto; }
.footer__legal { margin-top: 1rem; }
