@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/Manrope-Regular.ttf") format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/Manrope-Bold.ttf") format("truetype");
  font-weight: 700;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/Manrope-ExtraBold.ttf") format("truetype");
  font-weight: 800;
}

@font-face {
  font-family: "Black Mango";
  src: url("assets/fonts/BlackMango-Bold.ttf") format("truetype");
  font-weight: 700;
}

:root {
  --red: #c90916;
  --red-dark: #ae0712;
  --cream: #f1e9dc;
  --cream-line: #fbf6ec;
  --text: #707070;
  --ink: #373737;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 20px;
  line-height: 1.22;
  background: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1,
h2 {
  margin: 0;
  font-family: "Black Mango", Georgia, serif;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0;
}

p {
  margin: 0 0 28px;
}

strong {
  font-weight: 800;
}

.landing,
.footer {
  overflow-x: hidden;
}

.content {
  width: min(720px, calc(100% - 48px));
  margin-inline: auto;
}

.content--narrow {
  margin-left: max(24px, calc((100vw - 720px) / 2));
}

.section-pad {
  padding: 130px 0;
}

.hero {
  position: relative;
  z-index: 2;
  min-height: 770px;
  color: var(--white);
  background: linear-gradient(90deg, rgb(255 244 229 / 0.1), rgb(255 255 255 / 0.02)),
    url("assets/images/hero-cajas-navidenas-2026-v3.png") center center / cover no-repeat;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 420px) 404px;
  gap: 56px;
  width: min(880px, calc(100% - 48px));
  margin: 0 auto;
  padding: 50px 0 0;
}

.hero__copy {
  padding-top: 2px;
}

.hero h1 {
  width: 460px;
  max-width: calc(100vw - 48px);
  margin-top: 42px;
  color: var(--red);
  font-size: 49px;
  line-height: 0.98;
  text-wrap: balance;
}

.hero__copy > p {
  width: 440px;
  max-width: calc(100vw - 48px);
  margin-top: 12px;
  color: #5a493d;
  font-family: "Black Mango", Georgia, serif;
  font-size: 39px;
  font-weight: 700;
  line-height: 0.98;
  text-wrap: balance;
}

.brand-mark {
  display: block;
  width: 150px;
  height: auto;
}

.brand-mark img {
  width: 100%;
  height: auto;
}

.brand-mark--small {
  width: 92px;
}

.lead-form {
  align-self: start;
  display: grid;
  gap: 10px;
  width: 404px;
  min-height: 620px;
  padding: 38px 42px 28px;
  color: var(--ink);
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 4px 18px rgb(0 0 0 / 0.2);
}

.lead-form h2 {
  color: var(--red);
  font-size: 36px;
}

.form-intro {
  margin: -2px 0 4px;
  color: #676767;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.lead-form > label > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.lead-form input[type="text"],
.lead-form input[type="tel"],
.lead-form input[type="email"] {
  width: 100%;
  min-height: 39px;
  padding: 0 16px;
  color: var(--ink);
  font: 700 12px/1 "Manrope", Arial, sans-serif;
  background: #f7f7f7;
  border: 0;
  border-radius: 4px;
  outline: none;
}

.lead-form input::placeholder {
  color: #5d5d5d;
  opacity: 1;
}

.lead-form .order-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 2px;
  padding: 0;
  border: 0;
  color: #4d4d4d;
  font-size: 12px;
  font-weight: 700;
}

.lead-form .order-options legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
}

.lead-form .check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  line-height: 1.25;
  background: #fff;
  border: 1px solid #ded8d2;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.lead-form .check:hover {
  background: #fff8f7;
  border-color: rgb(201 9 22 / 0.42);
}

.lead-form .check:has(input:checked) {
  background: #fff3f3;
  border-color: var(--red);
  box-shadow: 0 0 0 1px rgb(201 9 22 / 0.12);
}

.lead-form input[type="checkbox"] {
  appearance: none;
  display: grid;
  place-content: center;
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin: 0;
  background: #fff;
  border: 1.5px solid #898989;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease;
}

.lead-form input[type="checkbox"]::before {
  width: 9px;
  height: 5px;
  content: "";
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: translateY(-1px) rotate(-45deg) scale(0);
  transition: transform 120ms ease;
}

.lead-form input[type="checkbox"]:checked {
  background: var(--red);
  border-color: var(--red);
}

.lead-form input[type="checkbox"]:checked::before {
  transform: translateY(-1px) rotate(-45deg) scale(1);
}

.options-error {
  grid-column: 1 / -1;
  min-height: 14px;
  color: var(--red);
  font-size: 11px;
}

.lead-form button {
  min-height: 48px;
  color: var(--white);
  font: 800 16px/1 "Manrope", Arial, sans-serif;
  text-transform: uppercase;
  background: var(--red);
  border: 0;
  border-radius: 5px;
  cursor: pointer;
}

.lead-form button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.lead-form input.form-honeypot {
  display: none;
}

.form-status {
  min-height: 18px;
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.form-status--success {
  color: #24733b;
}

.form-status--error {
  color: var(--red);
}

.intro,
.catalog {
  position: relative;
  background: var(--cream);
}

.intro {
  padding-top: 154px;
}

.intro::after {
  content: "";
  position: absolute;
  inset: -68px 0 auto auto;
  width: 680px;
  height: 560px;
  opacity: 0.9;
  background: url("assets/decor/fondo-sec.svg") right top / contain no-repeat;
  pointer-events: none;
}

.intro .content,
.catalog .content {
  position: relative;
  z-index: 1;
}

.intro h2,
.catalog h2 {
  color: var(--red);
  font-size: 35px;
}

.rule {
  display: block;
  width: 108px;
  height: 1px;
  margin: 34px 0 32px;
  background: var(--red);
}

.intro p {
  max-width: 675px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.intro__copy {
  width: min(920px, calc(100% - 48px));
}

.choices {
  width: min(920px, calc(100% - 48px));
  margin-top: 48px;
}

.choices h2 {
  color: var(--red);
  font-size: 36px;
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.choice-card {
  overflow: hidden;
  color: var(--text);
  background: rgb(255 255 255 / 0.72);
  border: 1px solid rgb(201 9 22 / 0.2);
  border-radius: 16px;
  box-shadow: 0 16px 36px rgb(96 65 42 / 0.08);
}

.choice-card__visual {
  position: relative;
  display: grid;
  place-items: center;
  height: 270px;
  overflow: hidden;
  background: linear-gradient(145deg, #fffaf3, #e8d9c7);
  border-bottom: 1px solid rgb(201 9 22 / 0.12);
}

.choice-card__visual--products img {
  width: 31%;
  height: 245px;
  object-fit: contain;
}

.choice-card__visual--products {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1%;
  padding: 10px 14px;
}

.choice-card__visual--boxes {
  isolation: isolate;
}

.gift-box {
  position: absolute;
  width: 46%;
  height: auto;
  filter: drop-shadow(0 12px 12px rgb(78 48 30 / 0.16));
}

.gift-box--orange {
  bottom: 23px;
  left: 3%;
  z-index: 1;
  transform: rotate(-4deg);
}

.gift-box--blue {
  right: 3%;
  bottom: 22px;
  z-index: 1;
  transform: rotate(4deg);
}

.gift-box--green {
  bottom: -5px;
  left: 27%;
  z-index: 2;
  width: 47%;
}

.choice-card__body {
  padding: 28px 32px 34px;
}

.choice-card__number {
  display: block;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.choice-card h3 {
  margin: 0 0 16px;
  color: var(--red);
  font-family: "Black Mango", Georgia, serif;
  font-size: 28px;
  line-height: 1;
}

.choice-card p {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.45;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

li {
  position: relative;
  margin: 0 0 3px;
  padding-left: 24px;
}

li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 8px;
  height: 8px;
  background: currentColor;
}

.brand-strip {
  display: grid;
  place-items: center;
  min-height: 185px;
  padding: 42px 24px;
  background: var(--white);
}

.brand-strip img {
  width: min(740px, 100%);
}

.catalog {
  padding-top: 86px;
  padding-bottom: 92px;
}

.catalog__inner {
  text-align: center;
}

.catalog .eyebrow {
  margin-bottom: 14px;
}

.catalog h2 {
  margin-bottom: 24px;
}

.catalog p:not(.eyebrow) {
  max-width: 580px;
  margin: 0 auto;
}

.catalog-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(440px, calc(100% - 48px));
  min-height: 58px;
  margin: 36px auto 0;
  padding: 0 24px;
  color: var(--white);
  font: 800 16px/1.1 "Manrope", Arial, sans-serif;
  background: var(--red);
  border-radius: 8px;
  transition: background-color 160ms ease, transform 160ms ease;
}

.catalog-button:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

.catalog-button:focus-visible,
.lead-form button:focus-visible,
.lead-form input:focus-visible {
  outline: 3px solid rgb(201 9 22 / 0.25);
  outline-offset: 2px;
}

.catalog-button__icon {
  width: 24px;
  height: auto;
  flex: 0 0 auto;
}

.footer {
  background: var(--white);
}

.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 90px;
  font-size: 10px;
}

.footer p {
  margin: 0;
}

.footer strong {
  color: #232323;
  font-size: 12px;
}

@media (max-width: 860px) {
  body {
    font-size: 18px;
  }

  .section-pad {
    padding: 86px 0;
  }

  .content,
  .content--narrow {
    width: min(640px, calc(100% - 36px));
    margin-inline: auto;
  }

  .hero {
    height: auto;
    background-color: #ead2b0;
    background-position: 28% top;
    background-size: auto 650px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 34px;
    width: min(520px, calc(100% - 36px));
    padding: 34px 0 52px;
  }

  .hero__copy {
    min-width: 0;
  }

  .hero h1 {
    margin-top: 32px;
    font-size: 46px;
  }

  .hero__copy > p {
    font-size: 38px;
  }

  .lead-form {
    width: 100%;
    min-height: 0;
    padding: 36px 28px 32px;
  }

  .choice-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .choices {
    width: min(640px, calc(100% - 36px));
    margin-top: 44px;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero__copy > p {
    font-size: 32px;
  }

  .intro h2,
  .choices h2,
  .catalog h2 {
    font-size: 30px;
  }

  .lead-form .order-options {
    grid-template-columns: 1fr;
  }

  .lead-form .order-options legend,
  .options-error {
    grid-column: 1;
  }

  .choice-card__visual {
    height: 240px;
  }

  .choice-card__visual--products img {
    height: 220px;
  }

  .choice-card__body {
    padding: 24px 24px 28px;
  }

  .catalog-button {
    font-size: 14px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
    padding: 22px 0;
    text-align: center;
  }
}
