/* Guapaletas micro landing (mobile-first) */

:root{
  --gp-sky:#7FD3E6;
  --gp-lemon:#FFE35A;
  --gp-coral:#FF6B6B;
  --gp-ink:#10131A;
  --gp-white:#FFFFFF;
  --gp-milk:#FFF9F0;
  --gp-line: rgba(16,19,26,.10);
  --radius-xl: 26px;
  --shadow: 0 18px 45px rgba(16,19,26,.14);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--gp-ink);
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(255,227,90,.55), transparent 60%),
    radial-gradient(900px 600px at 110% 20%, rgba(255,107,107,.45), transparent 55%),
    radial-gradient(900px 900px at 30% 120%, rgba(127,211,230,.55), transparent 55%),
    var(--gp-milk);
}

.page{
  min-height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  padding: 16px;
  padding-top: max(16px, env(safe-area-inset-top));
  padding-bottom: max(16px, env(safe-area-inset-bottom));
}

.card{
  width:100%;
  max-width: 520px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  border: 1px solid var(--gp-line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow:hidden;
  position:relative;
}

/* REEMPLAZO SVG -> FOTO */
.card::before{
  content:"";
  position:absolute;
  inset: -80px -80px auto auto;
  width: 300px;
  height: 300px;
  background: url("./assets/img/bg.jpg") no-repeat center / cover;
  border-radius: 34px;
  opacity:.45;
  filter: saturate(1.05) contrast(1.05);
  pointer-events:none;
}

.hero{
  padding: 18px 18px 10px;
  border-bottom: 1px solid var(--gp-line);
  background:
    linear-gradient(135deg, rgba(127,211,230,.28), rgba(255,227,90,.22), rgba(255,107,107,.18));
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  margin-bottom: 12px;
}

.brand__mark{
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: var(--gp-white);
  border: 1px solid var(--gp-line);
  overflow:hidden;
  display:grid;
  place-items:center;
}

/* Para que la foto se adapte al cuadrado */
.brand__mark img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}

.brand__logo{
  font-family: "Pacifico", cursive;
  font-size: 28px;
  line-height:1;
}

.brand__tag{
  font-size: 12px;
  opacity:.78;
  margin-top: 2px;
}

.headline h1{
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: -.4px;
  font-size: 24px;
  line-height:1.1;
  margin: 4px 0 8px;
}

.headline p{
  margin:0;
  font-size: 14px;
  line-height:1.5;
  opacity:.9;
}

.form{ padding: 16px 18px 18px; }
.field{ margin-bottom: 14px; }

label{
  display:block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 7px;
}

input[type="text"], input[type="email"]{
  width:100%;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid rgba(16,19,26,.16);
  background: var(--gp-white);
  outline: none;
  font-size: 15px;
}

input:focus{
  border-color: rgba(16,19,26,.40);
  box-shadow: 0 0 0 4px rgba(127,211,230,.35);
}

.hint{
  display:block;
  margin-top: 6px;
  font-size: 12px;
  color: #B60000;
  min-height: 14px;
}

.chips{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.chip{
  appearance:none;
  border: 1px solid rgba(16,19,26,.14);
  background: rgba(255,255,255,.92);
  border-radius: 999px;
  padding: 10px 12px;
  font-weight: 600;
  font-size: 14px;
  display:flex;
  align-items:center;
  gap: 10px;
  cursor:pointer;
  transition: transform .05s ease, box-shadow .2s ease, border-color .2s ease;
}

.chip:active{ transform: scale(.99); }

.chip[aria-pressed="true"]{
  border-color: rgba(16,19,26,.28);
  box-shadow: 0 8px 18px rgba(16,19,26,.10);
}

.chip__dot{
  width: 12px;
  height: 12px;
  border-radius: 999px;
  display:inline-block;
}

.chip__dot--frutales{ background: var(--gp-coral); }
.chip__dot--cremas{ background: var(--gp-lemon); }
.chip__dot--kids{ background: var(--gp-sky); }
.chip__dot--sin{ background: #3DDC84; }

.checks{
  display:grid;
  gap: 10px;
  margin: 12px 0 10px;
}

.check{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  font-size: 14px;
  line-height:1.35;
  padding: 10px 12px;
  border: 1px dashed rgba(16,19,26,.18);
  border-radius: 16px;
  background: rgba(255,255,255,.68);
}

.check input{ margin-top: 2px; }

.legal{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  align-items:center;
  font-size: 12px;
  opacity:.9;
  margin-bottom: 14px;
}

.link{
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dot{ opacity:.6; }
.muted{ opacity:.7; }

.actions{
  display:flex;
  gap: 10px;
}

.btn{
  border: 0;
  border-radius: 16px;
  padding: 12px 14px;
  font-weight: 800;
  cursor:pointer;
  width: 100%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  font-family: "Montserrat", system-ui, sans-serif;
  letter-spacing: -.2px;
}

.btn--primary{
  background: var(--gp-ink);
  color: var(--gp-white);
}

.btn--ghost{
  background: transparent;
  border: 1px solid rgba(16,19,26,.18);
  color: var(--gp-ink);
}

.toast{
  margin-top: 12px;
  font-size: 13px;
  min-height: 18px;
  opacity:.92;
}

.hidden{ display:none; }

/* Coupon */
.coupon{ padding: 18px; }

.coupon__badge{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,227,90,.65);
  border: 1px solid rgba(16,19,26,.12);
  font-weight: 900;
  font-family: "Montserrat", system-ui, sans-serif;
  letter-spacing: .8px;
  font-size: 12px;
}

.coupon__top h2{
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 900;
  font-size: 22px;
  margin: 10px 0 6px;
}

.coupon__meta{
  margin:0 0 14px;
  font-size: 14px;
  opacity:.86;
}

.coupon__ticket{
  display:flex;
  align-items:stretch;
  border-radius: 22px;
  overflow:hidden;
  border: 1px solid rgba(16,19,26,.14);
  background:
    linear-gradient(135deg, rgba(127,211,230,.35), rgba(255,227,90,.35), rgba(255,107,107,.25));
}

.ticket__left{
  flex: 1;
  padding: 16px;
  background: rgba(255,255,255,.78);
}

.ticket__label{
  font-size: 12px;
  font-weight: 700;
  opacity:.8;
}

.ticket__code{
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: .6px;
  margin: 4px 0 6px;
}

.ticket__fineprint{
  font-size: 12px;
  opacity:.8;
}

.ticket__right{
  width: 96px;
  display:grid;
  place-items:center;
  border-left: 1px dashed rgba(16,19,26,.22);
}

.ticket__right img{
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid rgba(16,19,26,.12);
}

.coupon__actions{
  display:grid;
  gap: 10px;
  margin-top: 14px;
}

.btn--secondary{
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(16,19,26,.16);
  color: var(--gp-ink);
}

.btn--whatsapp{
  background: #25D366;
  color: #0b1b12;
  border: 1px solid rgba(16,19,26,.12);
}

.btn--whatsapp img{
  width: 20px;
  height: 20px;
}

.linklike{
  appearance:none;
  border:0;
  background: transparent;
  padding: 10px 4px;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor:pointer;
  opacity:.9;
}

.footer{
  margin-top: 14px;
  font-size: 12px;
  opacity:.72;
}

@media (min-width: 560px){
  .page{ padding-top: 28px; padding-bottom: 28px; }
  .headline h1{ font-size: 28px; }
}