:root {
  --paper: #FBFAF7;
  --paper-2: #F4F1EA;
  --line: #E4DED3;
  --ink: #070707;
  --text-1: #3A352F;
  --text-2: #4A443D;
  --text-3: #6b645c;
  --taupe: #8C857C;
  --taupe-light: #BCB5AB;
  --taupe-lighter: #A79f95;
  --red: #AF1921;
  --red-hover: #8f141b;
  --moss: #7A8B5A;
  --dark-text: #C9C3BA;
  --dark-eyebrow: #c98a8e;
  --error-bg: #FBEAEB;
  --error-border: #e7bcbf;
}

* { box-sizing: border-box; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html, body { margin: 0; padding: 0; }

body {
  background: var(--paper);
  color: var(--text-1);
  font-family: 'Noto Sans JP', sans-serif;
  overflow-x: hidden;
}

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-hover); }
::selection { background: var(--red); color: var(--paper); }
input, button, textarea { font-family: inherit; }

@keyframes hatoenFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Top bar ---------- */
.topbar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.topbar-logo { height: 52px; width: auto; display: block; }
.topbar-link {
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-1);
  border-bottom: 1px solid var(--red);
  padding-bottom: 3px;
}
.topbar-link:hover { color: var(--text-1); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 74px 32px 60px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero-kanji {
  position: absolute;
  right: -40px;
  top: 0;
  font-family: 'Noto Serif JP', serif;
  font-size: 340px;
  line-height: .8;
  color: #F1EDE4;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.hero-copy {
  position: relative;
  z-index: 1;
  animation: hatoenFadeUp .8s ease both;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}
.hero-eyebrow-kanji { font-family: 'Noto Serif JP', serif; font-size: 20px; color: var(--red); }
.hero-eyebrow-text { font-size: 12px; letter-spacing: .32em; color: var(--taupe); }

.hero h1 {
  font-family: 'Noto Serif JP', serif;
  font-weight: 600;
  font-size: 60px;
  line-height: 1.04;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0 0 24px;
  text-wrap: balance;
}
.hero-lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 30em;
  margin: 0 0 30px;
}
.hero-lead strong { font-weight: 700; color: var(--text-1); }

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-bottom: 36px;
}
.hero-check {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--text-2);
}
.check-mark { color: var(--moss); font-size: 17px; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--red);
  color: var(--paper);
  font-size: 15px;
  letter-spacing: .06em;
  font-weight: 500;
  padding: 17px 34px;
  border-radius: 2px;
  box-shadow: 0 12px 30px -14px rgba(175, 25, 33, .7);
  transition: background .15s ease;
}
.btn-primary:hover { background: var(--red-hover); color: var(--paper); }

.hero-note { margin-top: 16px; font-size: 12.5px; color: var(--taupe); }

/* ---------- Form card ---------- */
.form-anchor { position: relative; z-index: 1; scroll-margin-top: 20px; }

.form-card {
  background: var(--paper);
  color: var(--text-1);
  padding: 38px 38px 34px;
  border-top: 4px solid var(--red);
  box-shadow: 0 40px 80px -40px rgba(58, 53, 47, .55);
  border: 1px solid var(--line);
}

.form-card h2 {
  font-family: 'Noto Serif JP', serif;
  font-weight: 600;
  font-size: 23px;
  color: var(--ink);
  margin: 0 0 6px;
}
.form-sub { font-size: 13.5px; color: var(--taupe); margin: 0 0 24px; }

.form-card label:not(.checkbox-label) {
  display: block;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 7px;
}

.form-card input[type="text"],
.form-card input[type="email"] {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 15px;
  color: var(--text-1);
  border-radius: 2px;
  margin-bottom: 18px;
  outline: none;
  transition: border-color .15s ease;
}
.form-card input[type="text"]:focus,
.form-card input[type="email"]:focus {
  border-color: var(--red);
}
.form-card input#EMAIL { margin-bottom: 20px; }

.checkbox-label {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-2);
  margin-bottom: 14px;
  cursor: pointer;
}
.checkbox-label:last-of-type { margin-bottom: 20px; }
.checkbox-label input[type="checkbox"] {
  margin-top: 2px;
  width: 17px;
  height: 17px;
  accent-color: var(--red);
  flex-shrink: 0;
}

.honeypot { position: absolute; left: -9999px; }

.form-error {
  background: var(--error-bg);
  border: 1px solid var(--error-border);
  color: var(--red-hover);
  font-size: 13px;
  padding: 11px 14px;
  border-radius: 2px;
  margin-bottom: 18px;
}

.form-card button[type="submit"] {
  width: 100%;
  background: var(--red);
  color: var(--paper);
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: .05em;
  padding: 17px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  box-shadow: 0 12px 26px -14px rgba(175, 25, 33, .8);
  transition: background .15s ease;
}
.form-card button[type="submit"]:hover { background: var(--red-hover); }

.recaptcha-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
  font-size: 11px;
  color: var(--taupe-lighter);
}
.recaptcha-check {
  display: inline-flex;
  width: 15px;
  height: 15px;
  border: 1.4px solid var(--taupe-light);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 9px;
}
.recaptcha-legal {
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--taupe-light);
  text-align: center;
  margin: 9px 0 0;
}
.hidden-iframe { display: none; }

/* Success state */
.success-state { text-align: center; padding: 26px 6px; }
.success-kanji {
  font-family: 'Noto Serif JP', serif;
  font-size: 64px;
  color: var(--moss);
  line-height: 1;
  margin-bottom: 20px;
}
.success-state h2 {
  font-family: 'Noto Serif JP', serif;
  font-weight: 600;
  font-size: 26px;
  color: var(--ink);
  margin: 0 0 14px;
}
.success-state p { font-size: 15px; line-height: 1.65; color: var(--text-2); margin: 0 0 8px; }
.success-note { font-size: 13px; color: var(--taupe); margin: 14px 0 0 !important; }

/* ---------- Stats band ---------- */
.stats-band { background: var(--ink); color: var(--paper); }
.stats {
  max-width: 1180px;
  margin: 0 auto;
  padding: 52px 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat { padding: 0 30px; border-left: 1px solid rgba(251, 250, 247, .16); }
.stat-big {
  font-family: 'Noto Serif JP', serif;
  font-size: 52px;
  line-height: 1;
  color: #fff;
  margin-bottom: 12px;
}
.stat-label { font-size: 14px; line-height: 1.6; color: var(--dark-text); max-width: 20em; }

/* ---------- Ocho cuidados ---------- */
.cuidados { max-width: 1180px; margin: 0 auto; padding: 82px 32px 40px; }
.cuidados-header { text-align: center; margin-bottom: 52px; }
.cuidados-eyebrow { font-size: 12px; letter-spacing: .34em; color: var(--taupe); margin-bottom: 16px; }
.cuidados-header h2 {
  font-family: 'Noto Serif JP', serif;
  font-weight: 600;
  font-size: 40px;
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
}
.cuidados-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.cuidado-card {
  background: var(--paper);
  padding: 30px 26px;
  min-height: 186px;
  display: flex;
  flex-direction: column;
  transition: background .15s ease;
}
.cuidado-card:hover { background: var(--paper-2); }
.cuidado-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}
.cuidado-kanji { font-family: 'Noto Serif JP', serif; font-size: 44px; line-height: 1; color: var(--red); }
.cuidado-num { font-size: 11px; letter-spacing: .2em; color: var(--taupe-light); }
.cuidado-name {
  font-family: 'Noto Serif JP', serif;
  font-weight: 600;
  font-size: 19px;
  color: var(--ink);
  margin-bottom: 8px;
}
.cuidado-desc { font-size: 13.5px; line-height: 1.55; color: var(--text-3); }

/* ---------- Serene image strip ---------- */
.strip { max-width: 1180px; margin: 0 auto; padding: 40px 32px 82px; }
.strip-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--paper-2);
}
.strip-image {
  position: relative;
  min-height: 340px;
}
.strip-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.strip-copy {
  padding: 50px 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.strip-kanji {
  font-family: 'Noto Serif JP', serif;
  font-size: 30px;
  color: #F1EDE4;
  position: absolute;
  top: 20px;
  right: 28px;
}
.strip-eyebrow { font-size: 12px; letter-spacing: .3em; color: var(--red); margin-bottom: 18px; }
.strip-quote {
  font-family: 'Noto Serif JP', serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 22px;
}
.strip-text { font-size: 15px; line-height: 1.7; color: var(--text-2); margin: 0; }

/* ---------- Closing CTA ---------- */
.cta-band { background: var(--ink); color: var(--paper); }
.cta {
  max-width: 1180px;
  margin: 0 auto;
  padding: 76px 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 56px;
  align-items: center;
}
.cta-eyebrow { font-size: 12px; letter-spacing: .32em; color: var(--dark-eyebrow); margin-bottom: 20px; }
.cta-dot { color: var(--red); }
.cta-copy h2 {
  font-family: 'Noto Serif JP', serif;
  font-weight: 600;
  font-size: 42px;
  line-height: 1.08;
  color: #fff;
  margin: 0 0 20px;
}
.cta-copy p { font-size: 16px; line-height: 1.7; color: var(--dark-text); max-width: 30em; margin: 0 0 30px; }
.cta-img { display: flex; justify-content: center; }
.cta-img img {
  width: 420px;
  max-width: 38vw;
  height: auto;
  display: block;
}

/* ---------- Footer ---------- */
.footer { background: var(--ink); border-top: 1px solid rgba(251, 250, 247, .12); color: var(--taupe); }
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
}
.footer-wordmark { display: flex; align-items: baseline; gap: 12px; }
.footer-hatoen {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  letter-spacing: .26em;
  color: var(--paper);
}
.footer-jp { letter-spacing: .28em; }
.footer-tagline { letter-spacing: .08em; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--taupe); }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .topbar { padding: 16px 20px; }
  .topbar-logo { height: 40px; }

  .hero { grid-template-columns: 1fr; gap: 34px; padding: 40px 20px 44px; }
  .hero h1 { font-size: 40px; }
  .hero-kanji { font-size: 200px; right: -20px; opacity: .6; }

  .stats { grid-template-columns: 1fr; gap: 30px; padding: 40px 20px; }
  .stat { border-left: none; border-top: 1px solid rgba(251, 250, 247, .16); padding: 22px 4px 0; }

  .cuidados { padding: 52px 20px 30px; }
  .cuidados-header h2 { font-size: 30px; }
  .cuidados-grid { grid-template-columns: 1fr 1fr; }

  .strip { padding: 30px 20px 56px; }
  .strip-grid { grid-template-columns: 1fr; }

  .cta { grid-template-columns: 1fr; gap: 40px; padding: 52px 20px; text-align: center; }
  .cta-copy h2 { font-size: 32px; }
  .cta-copy p { margin-left: auto; margin-right: auto; }
  .cta-img img { max-width: 78vw; width: 320px; }

  .footer-inner { padding: 26px 20px; justify-content: center; text-align: center; }
}

@media (max-width: 440px) {
  .hero h1 { font-size: 33px; }
  .cuidados-grid { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px; }
}

/* ---------- Cookie banner (réplica del banner de hatoen.com / Complianz) ---------- */
.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  width: 380px;
  max-width: calc(100vw - 40px);
  background: #F1F1F1;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .19), 0 6px 6px rgba(0, 0, 0, .23);
  padding: 18px 20px;
  font-family: Roboto, Helvetica, Arial, Verdana, sans-serif;
  color: #191E23;
}
.cookie-banner__msg { font-size: 13.5px; line-height: 1.5; margin: 0 0 14px; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cookie-banner__btn {
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
}
.cookie-banner__btn--accept {
  background: #0085BA;
  color: #fff;
  border: 1px solid #0073AA;
}
.cookie-banner__btn--accept:hover { background: #0073AA; }
.cookie-banner__btn--deny {
  background: #F1F1F1;
  color: #0073AA;
  border: 1px solid #d9d9d9;
}
.cookie-banner__link {
  background: none;
  border: none;
  padding: 4px 0;
  font-size: 12.5px;
  color: #191E23;
  text-decoration: underline;
  cursor: pointer;
  font-family: inherit;
}
.cookie-banner__footer {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #E0E0E0;
}
.cookie-banner__footer a { font-size: 11.5px; color: #8B8D94; }

.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(7, 7, 7, .45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.cookie-modal-overlay[hidden] { display: none; }
.cookie-modal {
  position: relative;
  width: 460px;
  max-width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 12px;
  padding: 30px 28px 26px;
  font-family: Roboto, Helvetica, Arial, Verdana, sans-serif;
  color: #191E23;
}
.cookie-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 22px;
  line-height: 1;
  color: #8B8D94;
  cursor: pointer;
}
.cookie-modal__title { font-size: 16px; font-weight: 500; color: #8B8D94; margin: 0 0 20px; padding-right: 24px; }
.cookie-modal__category { border-top: 1px solid #E4E4E4; padding: 14px 0; }
.cookie-modal__category:first-of-type { border-top: none; }
.cookie-modal__category-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cookie-modal__category-name { font-size: 14.5px; font-weight: 500; }
.cookie-modal__always-on { font-size: 11.5px; color: #7A8B5A; text-transform: uppercase; letter-spacing: .04em; }
.cookie-modal__category-desc { font-size: 12.5px; line-height: 1.5; color: #565A5F; margin: 8px 0 0; }

.cookie-modal__toggle { position: relative; display: inline-block; width: 38px; height: 22px; flex-shrink: 0; }
.cookie-modal__toggle input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cookie-modal__slider {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: 22px;
  transition: background .15s ease;
}
.cookie-modal__slider::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform .15s ease;
}
.cookie-modal__toggle input:checked + .cookie-modal__slider { background: #0085BA; }
.cookie-modal__toggle input:checked + .cookie-modal__slider::before { transform: translateX(16px); }

.cookie-modal__save { width: 100%; margin-top: 18px; text-align: center; }

@media (max-width: 440px) {
  .cookie-banner { right: 10px; bottom: 10px; left: 10px; width: auto; }
}
