/* PorcIA landing — traducido de PorcIA Landing.dc.html (claude.ai/design) */

:root {
  --bg: #f3ead9;
  --bg-alt: #fbf6ec;
  --bg-deep: #efe6d3;
  --bg-dark: #2f2620;
  --bg-footer: #241d18;
  --ink: #3a2f26;
  --cream: #f3ead9;
  --accent: #c56a3c;
  --accent-soft: #e39a6f;
  --teal: #128a86;
  --teal-dark: #0e6f6c;
  --olive: #7a8544;
  --tan: #e7d7bd;
  --brown: #8a5a33;
}

* { box-sizing: border-box; }

/* El atributo hidden debe ganar sobre display:flex de .form */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  font-family: Nunito, system-ui, sans-serif;
  font-size-adjust: from-font;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--teal); }
a:hover { color: var(--teal-dark); }

::placeholder { color: rgba(58, 47, 38, .4); }

input, textarea, button { font-family: Nunito, sans-serif; }

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .35; transform: scale(.8); }
}

/* ---------- Layout primitives ---------- */

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

.section { padding: clamp(56px, 9vw, 104px) 0; background: var(--bg); }
.section--alt { background: var(--bg-alt); }
.section--deep { background: var(--bg-deep); }
.section--dark { background: var(--bg-dark); color: var(--cream); }

.split {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(36px, 5vw, 64px);
  align-items: flex-start;
}
.split--center { align-items: center; }

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  display: inline-block;
  flex: none;
}
.dot--pulse { animation: pulseDot 1.8s ease-in-out infinite; }
.dot--olive { background: var(--olive); }
.dot--teal { background: var(--teal); }

/* ---------- Type ---------- */

.eyebrow {
  font: 700 12px Nunito;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}
.eyebrow--accent { color: var(--accent); }
.eyebrow--teal { color: var(--teal); }
.eyebrow--peach { color: var(--accent-soft); }
.eyebrow--dotted {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 1px;
}
.eyebrow--dotted .dot { width: 8px; height: 8px; }

.section-title {
  margin: 0;
  font-family: Fredoka, Nunito, sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.12;
  letter-spacing: -.6px;
  color: var(--ink);
  text-wrap: balance;
}
.section-title--md { font-size: clamp(28px, 5vw, 42px); }
.section-title--light {
  font-size: clamp(30px, 5.2vw, 46px);
  line-height: 1.1;
  color: #f9f2e4;
}

.section-lead {
  margin: 18px 0 0;
  font-size: clamp(16px, 2.2vw, 18px);
  line-height: 1.6;
  color: rgba(58, 47, 38, .7);
}
.section-lead--narrow { max-width: 500px; }
.section-lead--light { color: rgba(243, 234, 217, .75); max-width: 460px; }

.section-head { max-width: 680px; }
.section-head--center {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 15px;
  font: 700 16px Nunito;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  padding: 16px 28px;
  box-shadow: 0 8px 20px rgba(197, 106, 60, .32);
}
.btn--primary:hover { color: #fff; }
.btn--lg { font-size: 17px; }
.btn--ghost {
  background: none;
  color: var(--ink);
  padding: 15px 26px;
  border: 1.5px solid rgba(58, 47, 38, .18);
}
.btn--ghost:hover { color: var(--ink); }
.btn--sm {
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 12px;
}
.btn--dark {
  background: var(--ink);
  color: #fff;
  padding: 16px;
  border-radius: 14px;
}
.btn--block {
  width: 100%;
  padding: 16px;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(197, 106, 60, .3);
}
.btn--dark.btn--block { box-shadow: none; }

/* ---------- Aviso de construcción ---------- */

.construction {
  background: #efe0c9;
  border-bottom: 1px dashed rgba(138, 90, 51, .5);
  color: var(--brown);
  font: 700 13px Nunito;
  letter-spacing: .5px;
  text-align: center;
  padding: 9px 16px;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 234, 217, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(58, 47, 38, .08);
}
.nav__inner {
  padding-top: 14px;
  padding-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav__brand {
  font-family: Fredoka, Nunito, sans-serif;
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -.4px;
  color: var(--ink);
  text-decoration: none;
}
.nav__brand span { color: var(--accent); }
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 28px);
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav__link {
  font: 700 14px Nunito;
  color: rgba(58, 47, 38, .65);
  text-decoration: none;
}
.nav__link:hover { color: var(--ink); }
.nav__cta {
  font: 700 14px Nunito;
  color: #fff;
  text-decoration: none;
  background: var(--accent);
  padding: 10px 18px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(197, 106, 60, .3);
}
.nav__cta:hover { color: #fff; }

/* ---------- Hero ---------- */

.hero {
  background: var(--bg);
  padding: clamp(48px, 8vw, 88px) 0 clamp(56px, 9vw, 96px);
}
.hero__copy { flex: 1 1 380px; min-width: 280px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--tan);
  font: 700 12px Nunito;
  color: var(--brown);
  letter-spacing: .3px;
  margin-bottom: 22px;
}
.hero__title {
  margin: 0;
  font-family: Fredoka, Nunito, sans-serif;
  font-weight: 600;
  font-size: clamp(36px, 6.5vw, 58px);
  line-height: 1.05;
  letter-spacing: -1px;
  color: var(--ink);
  text-wrap: balance;
}
.hero__lead {
  margin: 20px 0 0;
  font-size: clamp(17px, 2.4vw, 20px);
  line-height: 1.55;
  color: rgba(58, 47, 38, .72);
  max-width: 520px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero__note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  font: 600 13px Nunito;
  color: rgba(58, 47, 38, .6);
}
.hero__media {
  flex: 1 1 320px;
  min-width: 270px;
  display: flex;
  justify-content: center;
}
.hero__photo-wrap { position: relative; width: 100%; max-width: 380px; }
.hero__photo {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  height: clamp(320px, 52vw, 440px);
  background: repeating-linear-gradient(45deg, #e5d6bc, #e5d6bc 12px, #dcc9a9 12px, #dcc9a9 24px);
  border: 1px solid rgba(58, 47, 38, .12);
  box-shadow: 0 20px 44px rgba(58, 47, 38, .16);
}
.hero__photo-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 600 12px ui-monospace, Menlo, monospace;
  color: rgba(58, 47, 38, .5);
  text-align: center;
  padding: 0 40px;
}

/* Voice note chip flotante del hero */
.voice-chip {
  position: absolute;
  left: -6px;
  bottom: 26px;
  background: rgba(255, 255, 255, .96);
  border-radius: 16px;
  padding: 12px 15px;
  box-shadow: 0 10px 26px rgba(58, 47, 38, .2);
  display: flex;
  align-items: center;
  gap: 11px;
}
.voice-chip__play {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--teal);
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.voice-chip__triangle {
  width: 0;
  height: 0;
  border-left: 9px solid #fff;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  margin-left: 2px;
}
.voice-chip__time { font: 700 12px Nunito; color: rgba(58, 47, 38, .5); }

.voice-bars { display: flex; align-items: center; }
.voice-bars span { border-radius: 2px; }
.voice-bars--lg { gap: 3px; height: 20px; }
.voice-bars--lg span { width: 2.5px; background: var(--teal); }
.voice-bars--sm { gap: 2.5px; height: 16px; }
.voice-bars--sm span { width: 2px; background: #2e5d4b; }

/* ---------- Cards (problema / confianza) ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
  margin-top: 44px;
}
.card {
  background: #fff;
  border: 1px solid rgba(58, 47, 38, .09);
  border-radius: 20px;
  padding: 26px 24px;
}
.card--trust { background: var(--bg-alt); padding: 28px 24px; }
.card__icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card__icon--tan {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--tan);
}
.card__title {
  margin: 0;
  font-family: Fredoka, Nunito, sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--ink);
}
.card__text {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(58, 47, 38, .68);
}

/* Iconos geométricos */
.icon-ring { width: 16px; height: 16px; border: 2.5px solid var(--accent); border-radius: 50%; }
.icon-diamond { width: 16px; height: 16px; background: var(--accent); border-radius: 4px; transform: rotate(45deg); }
.icon-circle { width: 16px; height: 16px; background: var(--accent); border-radius: 50%; }
.icon-arc { width: 18px; height: 18px; border: 2.5px solid var(--teal); border-radius: 50%; border-top-color: transparent; transform: rotate(45deg); }
.icon-pause { width: 6px; height: 18px; background: var(--teal); border-radius: 3px; }
.icon-pause--second { margin-left: 4px; }
.icon-square { width: 18px; height: 18px; border: 2.5px solid var(--teal); border-radius: 5px; }
.icon-mail { width: 18px; height: 13px; border: 2px solid var(--brown); border-radius: 3px; }
.icon-drop { width: 16px; height: 16px; border-radius: 50% 50% 50% 3px; background: var(--teal); }

/* ---------- Hoy (pasos + chat demo) ---------- */

.hoy__copy { flex: 1 1 400px; min-width: 290px; }
.hoy__demo {
  flex: 1 1 300px;
  min-width: 270px;
  display: flex;
  justify-content: center;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 36px;
}
.step { display: flex; gap: 16px; align-items: flex-start; }
.step__num {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-family: Fredoka, Nunito, sans-serif;
  font-weight: 600;
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step__title {
  margin: 0;
  font-family: Fredoka, Nunito, sans-serif;
  font-weight: 600;
  font-size: 19px;
  color: var(--ink);
}
.step__text {
  margin: 5px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(58, 47, 38, .68);
}

.chat {
  width: 100%;
  max-width: 360px;
  background: #e7ddd0;
  border-radius: 24px;
  padding: 18px 15px;
  box-shadow: 0 18px 40px rgba(58, 47, 38, .16);
  border: 1px solid rgba(58, 47, 38, .08);
}
.chat__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 6px 14px;
  border-bottom: 1px solid rgba(58, 47, 38, .1);
}
.chat__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Fredoka, Nunito, sans-serif;
  font-weight: 600;
  color: #fff;
  font-size: 16px;
}
.chat__name { font: 700 14px Nunito; color: var(--ink); }
.chat__status {
  font: 600 11px Nunito;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 5px;
}
.chat__status .dot { width: 6px; height: 6px; }
.chat__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 16px;
}
.chat__voice {
  align-self: flex-end;
  max-width: 82%;
  background: #d8f0d0;
  border-radius: 15px 15px 5px 15px;
  padding: 10px 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .07);
}
.chat__voice-play {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #2e5d4b;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat__voice-triangle {
  width: 0;
  height: 0;
  border-left: 7px solid #fff;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  margin-left: 2px;
}
.chat__voice-time { font: 700 10.5px Nunito; color: rgba(36, 59, 49, .5); }
.chat__caption {
  align-self: flex-end;
  font: 600 11px Nunito;
  color: rgba(58, 47, 38, .5);
  margin: -6px 4px 0;
  max-width: 82%;
  text-align: right;
}
.chat__reply {
  align-self: flex-start;
  max-width: 88%;
  background: #fff;
  border-radius: 15px 15px 15px 5px;
  padding: 12px 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .07);
}
.chat__reply-name { font: 700 11px Nunito; color: var(--accent); margin-bottom: 5px; }
.chat__reply-text { font: 500 13.5px/1.5 Nunito; color: var(--ink); }
.chat__badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--bg);
  border-radius: 999px;
  padding: 6px 12px;
  font: 700 10.5px Nunito;
  color: var(--brown);
}
.chat__badge .dot { width: 6px; height: 6px; }

/* ---------- Próximamente ---------- */

.prox__copy { flex: 1 1 360px; min-width: 290px; }
.prox__panel-wrap { flex: 1 1 300px; min-width: 270px; }
.badge-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #efe0c9;
  border: 1px dashed rgba(138, 90, 51, .5);
  font: 700 12px Nunito;
  letter-spacing: .5px;
  color: var(--brown);
  margin-bottom: 16px;
}
.prox__honest {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(58, 47, 38, .6);
  max-width: 500px;
}
.prox__panel {
  background: #fff;
  border: 2px dashed rgba(58, 47, 38, .2);
  border-radius: 22px;
  padding: 24px 22px;
}
.prox__panel-label {
  font: 700 11px Nunito;
  letter-spacing: .8px;
  color: rgba(58, 47, 38, .45);
  margin-bottom: 16px;
}
.prox__list { display: flex; flex-direction: column; gap: 10px; }
.prox__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  background: #f7f1e6;
  border-radius: 12px;
  opacity: .75;
  font: 700 15px Nunito;
  color: rgba(58, 47, 38, .7);
}
.prox__bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(58, 47, 38, .3);
  flex: none;
}

/* ---------- Prueba (waitlist) ---------- */

.prueba__copy { flex: 1 1 360px; min-width: 280px; }
.prueba__form-wrap { flex: 1 1 340px; min-width: 290px; }
.prueba__note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  font: 600 14px Nunito;
  color: rgba(243, 234, 217, .65);
}

.panel { border-radius: 24px; }
.panel--waitlist {
  background: var(--bg-alt);
  padding: clamp(24px, 4vw, 34px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .28);
}
.panel--ally {
  background: #fff;
  border: 1px solid rgba(58, 47, 38, .1);
  padding: clamp(24px, 4vw, 32px);
  box-shadow: 0 12px 32px rgba(58, 47, 38, .1);
}

/* ---------- Formularios ---------- */

.form { display: flex; flex-direction: column; gap: 16px; }
.form__label {
  display: block;
  font: 700 13px Nunito;
  color: var(--ink);
  margin-bottom: 7px;
}
.form__input {
  width: 100%;
  padding: 14px 15px;
  border: 1.5px solid rgba(58, 47, 38, .16);
  border-radius: 13px;
  font-size: 15px;
  background: #fff;
  color: var(--ink);
}
.form__input:focus { outline: none; border-color: var(--accent); }
.form__input--area { resize: vertical; }
.form__privacy {
  margin: 0;
  font: 500 12px/1.5 Nunito;
  color: rgba(58, 47, 38, .5);
  text-align: center;
}

/* Checkbox módulo de control */
.module-check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 14px;
  background: var(--bg);
  border-radius: 13px;
  cursor: pointer;
  user-select: none;
}
.module-check input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.module-check__box {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid rgba(58, 47, 38, .3);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.module-check input:focus-visible + .module-check__box {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.module-check__tick {
  width: 11px;
  height: 6px;
  border-left: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: rotate(-45deg);
  margin-top: -2px;
  visibility: hidden;
}
.module-check input:checked + .module-check__box {
  border-color: var(--accent);
  background: var(--accent);
}
.module-check input:checked + .module-check__box .module-check__tick { visibility: visible; }
.module-check__label { font: 600 14px/1.4 Nunito; color: var(--ink); }

/* Estado de éxito */
.success { text-align: center; padding: 20px 6px; }
.success__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.success__tick {
  width: 22px;
  height: 12px;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(-45deg);
  margin-top: -4px;
}
.success__title {
  margin: 0;
  font-family: Fredoka, Nunito, sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: var(--ink);
}
.success__text {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(58, 47, 38, .68);
}
.success .btn { margin-top: 22px; }

/* ---------- Contacto ---------- */

.contacto__copy { flex: 1 1 340px; min-width: 280px; }
.contacto__copy .section-lead--narrow { max-width: 440px; }
.contacto__form-wrap { flex: 1 1 340px; min-width: 290px; }

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 30px;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  color: var(--ink);
}
.contact-link:hover { color: var(--ink); }
.contact-link__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--tan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.contact-link__kind {
  display: block;
  font: 700 12px Nunito;
  color: rgba(58, 47, 38, .5);
}
.contact-link__value { font: 700 16px Nunito; }

/* ---------- Footer ---------- */

.footer {
  background: var(--bg-footer);
  color: rgba(243, 234, 217, .8);
  padding: clamp(44px, 7vw, 72px) 0 40px;
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer__brand-block { max-width: 340px; }
.footer__brand {
  font-family: Fredoka, Nunito, sans-serif;
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -.4px;
  color: var(--cream);
}
.footer__brand span { color: var(--accent-soft); }
.footer__tagline {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(243, 234, 217, .6);
}
.footer__cols {
  display: flex;
  gap: clamp(32px, 6vw, 72px);
  flex-wrap: wrap;
}
.footer__col-title {
  font: 700 12px Nunito;
  letter-spacing: .8px;
  color: rgba(243, 234, 217, .45);
  margin-bottom: 12px;
}
.footer__col-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font: 600 14px Nunito;
}
.footer__col-links a {
  color: rgba(243, 234, 217, .8);
  text-decoration: none;
}
.footer__col-links a:hover { color: var(--cream); }
.footer__bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(243, 234, 217, .12);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  font: 600 13px Nunito;
  color: rgba(243, 234, 217, .5);
}
.footer__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
