:root {
  color-scheme: light;
  --paper: #fbf5e8;
  --card: #fffdf6;
  --ink: #183a2e;
  --muted: #4d5c47;
  --pine: #153d2e;
  --orange: #ac411f;
  --sun: #ffc85b;
  --line: #dfd7c2;
  --title: Georgia, "Times New Roman", serif;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-padding-block: 1rem 6rem; }
body { margin: 0; font-size: 1rem; line-height: 1.6; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.06; text-wrap: balance; }
h1, h2 { font-family: var(--title); letter-spacing: -.05em; }
h2 { font-size: clamp(2.15rem, 4.8vw, 3.75rem); }
h3 { font-size: 1.27rem; letter-spacing: -.025em; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .23em; }
button { color: inherit; font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #136b92; outline-offset: 4px; }
[hidden] { display: none !important; }

.wrap { width: min(100% - 4rem, 74rem); margin-inline: auto; }
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section-head { max-width: 42rem; margin-bottom: clamp(1.65rem, 4vw, 2.75rem); }
.section-head p { margin-top: .8rem; color: var(--muted); }
.skip { position: fixed; top: .5rem; left: .5rem; z-index: 5; padding: .6rem 1rem; background: white; transform: translateY(-200%); }
.skip:focus { transform: none; }

.header { border-bottom: 1px solid #e7ddc9; background: var(--paper); }
.header-inner { min-height: 4.8rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header nav, .footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem 1.65rem; }
.header nav a, .brand { text-decoration: none; }
.header nav a { font-size: .92rem; font-weight: 650; }
.header nav a:hover { text-decoration: underline; }
.brand { display: inline-flex; align-items: center; gap: .65rem; flex: none; font-family: var(--title); font-size: 1.32rem; font-weight: 800; line-height: 1; letter-spacing: -.035em; }
.brand strong { color: var(--orange); }
.brand small { display: block; margin-top: .25rem; font: 650 .75rem system-ui, sans-serif; letter-spacing: 0; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .86rem 1.25rem;
  min-height: 3.15rem;
  border: 1px solid transparent;
  border-radius: .8rem;
  font-size: .96rem;
  font-weight: 780;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}
.button-primary { background: var(--sun); border-color: #eab34c; color: #262b18; box-shadow: 0 3px 0 #a8731b; }
.button-primary:hover { background: #ffda82; }
.button-outline { border-color: currentColor; background: transparent; color: var(--pine); }
.button-outline:hover { background: #e8ecdb; }
.header-cta { min-height: 2.65rem; padding: .58rem .95rem; font-size: .87rem; }

.hero { overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.12fr); gap: clamp(2rem, 5.6vw, 5.6rem); align-items: center; padding-block: clamp(3.5rem, 7vw, 6.5rem) clamp(4rem, 7vw, 6rem); }
.hero-copy { min-width: 0; container-type: inline-size; }
.hero h1 { font-size: clamp(2rem, 14cqi, 5.35rem); line-height: .99; letter-spacing: -.072em; text-wrap: initial; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { color: var(--orange); font-weight: 500; }
.hero-copy > p:first-of-type { margin-top: 1.45rem; max-width: 39ch; color: var(--muted); font-size: clamp(1rem, 1.45vw, 1.18rem); }
.hero-copy > p strong { color: var(--ink); }
.hero-actions { display: flex; gap: .85rem 1.45rem; align-items: center; flex-wrap: wrap; margin-top: 1.45rem; }
.payment-note { margin-top: .85rem; font-size: .875rem; color: var(--muted); }
.hero-visual { position: relative; min-width: 0; margin-inline: .5rem; }
.hero-visual::before { position: absolute; content: ""; inset: -9px 11px 13px -10px; transform: rotate(-3deg); border-radius: 1.7rem 1.7rem .95rem 1.7rem; background: #d9e3c5; }
.hero-art { position: relative; overflow: hidden; background: #d9e3c5; border: 5px solid var(--card); border-radius: 1.6rem 1.6rem .8rem 1.6rem; box-shadow: 0 18px 35px #373b1b25; }
.hero-art img { width: 100%; aspect-ratio: 1.48; object-fit: cover; }
.hero-preview { position: absolute; right: -.65rem; bottom: -1rem; display: flex; align-items: center; gap: .65rem; width: fit-content; min-height: 3.2rem; padding: .45rem .8rem .45rem .5rem; border: 1px solid #e1d7ba; border-radius: .8rem; background: var(--card); font-weight: 780; font-size: .89rem; line-height: 1.2; text-decoration: none; box-shadow: 0 9px 24px #292c192b; }
.hero-preview:hover { text-decoration: underline; }
.hero-preview img { width: 2.2rem; border-radius: .18rem; }
.hero-preview small { color: var(--muted); font-size: .76rem; font-weight: 550; }

.metrics-prompt { padding: .5rem 0; background: var(--card); font-size: .875rem; }
.facts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-block: 0; padding: 1rem clamp(.65rem, 4vw, 2.9rem); border: 1px solid #d7dfc5; border-radius: 1.25rem; background: #e6ebd7; }
.facts li { display: flex; align-items: center; justify-content: center; gap: .6rem 1rem; min-width: 0; padding: .4rem .65rem; line-height: 1.2; }
.facts li + li { border-left: 1px solid #c4ceaf; }
.facts strong { font-family: var(--title); font-size: clamp(1.95rem, 4vw, 2.95rem); line-height: 1; letter-spacing: -.055em; }
.facts span { font-size: .92rem; font-weight: 680; }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.9rem, 2.2vw, 1.6rem); }
.mission { display: grid; grid-template-rows: auto 1fr; min-width: 0; overflow: hidden; border: 1px solid #e3d9bf; border-radius: 1rem; background: var(--card); text-decoration: none; }
.mission:hover { border-color: #648467; box-shadow: 0 6px 18px #163d351b; }
.mission img { width: 100%; aspect-ratio: 1.68; object-fit: cover; object-position: top; background: #e0eee7; border-bottom: 1px solid #e9e0c9; }
.mission-caption { position: relative; padding: .85rem 2.7rem 1rem .95rem; }
.mission-caption::after { content: "+"; position: absolute; top: .88rem; right: .7rem; display: grid; place-items: center; width: 1.55rem; height: 1.55rem; border-radius: 50%; background: #e9ecd9; color: var(--pine); font: 700 1.18rem/1 system-ui, sans-serif; }
.mission-caption span { display: block; font-weight: 790; line-height: 1.25; }
.mission-caption p { margin-top: .35rem; color: var(--muted); font-size: .875rem; line-height: 1.4; }

.how { background: #e7eef0; border-block: 1px solid #d5e3e7; }
.steps { counter-reset: etapas; padding: 0; margin: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem 2.75rem; }
.steps li { counter-increment: etapas; border-top: 1px dashed #93afb0; padding-top: 1rem; }
.steps li::before { content: counter(etapas); display: grid; place-items: center; width: 2.35rem; height: 2.35rem; margin-bottom: .85rem; border-radius: 50%; background: var(--card); border: 1px solid #b3c2b4; font: 750 1.13rem/1 var(--title); }
.steps p { margin-top: .6rem; max-width: 34ch; color: var(--muted); }

.sample { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .93fr); gap: 1.75rem clamp(2rem, 6vw, 5.4rem); align-items: center; padding: clamp(1.6rem, 6vw, 4.5rem); border: 1px solid #edd4a5; border-radius: 1.6rem; background: #f8e8bd; }
.sample h2 { max-width: 16ch; }
.sample p { margin-top: .9rem; color: var(--muted); }
.sample .button { margin-top: 1.1rem; background: var(--pine); color: var(--card); border-color: var(--pine); }
.sample .button:hover { background: #235540; }
.sample .payment-note { margin-top: .65rem; }
.sample-art, .offer-art { position: relative; display: grid; place-items: center; min-width: 0; }
.sample-cover, .offer-cover { width: min(54%, 15rem); transform: translateX(-23%) rotate(-8deg); }
.sample-inset, .offer-map { position: absolute; width: min(47%, 14rem); transform: translateX(34%) rotate(9deg); }
.sample-art img, .offer-art img { border: 3px solid #fff7df; border-radius: .32rem; box-shadow: 0 12px 28px #162b1b36; }

.offer { background: var(--pine); color: var(--card); }
.offer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); align-items: center; gap: 2.2rem clamp(2.5rem, 7vw, 6.5rem); }
.offer-label { color: #f7d894; font-size: .96rem; font-weight: 770; margin-bottom: .65rem; }
.offer h2 { max-width: 17ch; }
.offer-list { padding: 0; list-style: none; margin: 1.15rem 0 1.55rem; }
.offer-list li + li { margin-top: .3rem; }
.offer-list li::before { content: "✓"; margin-right: .55rem; color: var(--sun); }
.offer .price { font-family: var(--title); font-size: clamp(3rem, 6.6vw, 4.55rem); font-weight: 750; letter-spacing: -.06em; line-height: 1; color: #ffda79; }
.offer .payment-note { color: #e8ebd6; margin-top: .45rem; }
.offer .button { margin-top: 1.05rem; }
.offer-art { padding-block: 1rem; border-radius: 48% 48% 1.4rem 1.4rem; background: #266046; }
.offer-cover { width: min(52%, 16rem); }
.offer-map { width: min(59%, 18rem); transform: translate(22%, -50%) rotate(9deg); }

.guarantee { display: flex; align-items: center; gap: 1rem 1.25rem; padding: 1.3rem clamp(1.1rem, 4vw, 2rem); margin-top: 2rem; border: 1px solid #ead7a9; border-radius: 1rem; background: #fff0ca; }
.guarantee img { flex: none; }
.guarantee h2 { font-size: 1.75rem; letter-spacing: -.03em; }
.guarantee p { margin-top: .35rem; }
.faq { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.2fr); gap: 1rem clamp(2rem, 6vw, 6rem); }
.faq .section-head { margin-bottom: 0; }
details { border-bottom: 1px solid var(--line); }
summary { padding-block: .95rem; font-weight: 740; }
details p { padding-bottom: 1rem; color: var(--muted); }
.closing { text-align: center; background: #e6ebd7; }
.closing .button { margin-top: 1.3rem; }
.footer { padding: 2rem 0; background: #f3ecdb; }
.footer-inner { display: flex; gap: .65rem 1.75rem; flex-wrap: wrap; justify-content: space-between; }
.footer-inner > span { font-weight: 750; }
.footer-inner details { width: 100%; font-size: .9rem; }
.footer-button { border: 0; background: transparent; padding: 0; text-decoration: underline; text-underline-offset: .23em; }
.mobile-buy { display: none; }

dialog { border: 0; color: var(--ink); border-radius: 1rem; background: var(--paper); }
dialog::backdrop { background: #102c23da; }
.preview { width: min(44rem, calc(100% - 2rem)); max-height: 92dvh; padding: 1rem; }
.preview-head { display: flex; gap: .8rem; justify-content: space-between; align-items: center; margin-bottom: .85rem; }
.preview-head h2, .consent h2 { font-size: 1.55rem; }
.preview-head button { padding: .4rem .7rem; min-height: 2.75rem; background: var(--card); border: 1px solid currentColor; border-radius: .5rem; }
.preview-image { width: 100%; max-height: 75dvh; object-fit: contain; }
.consent { width: min(30rem, calc(100% - 2rem)); padding: 1.4rem; }
.consent p { margin-block: .65rem 1rem; }
.consent form { display: flex; flex-wrap: wrap; gap: .65rem; }

@media (max-width: 64rem) {
  .header nav { gap: .65rem 1rem; }
  .hero-grid { gap: 2.25rem; }
}

@media (max-width: 50rem) {
  .wrap { width: calc(100% - 3rem); }
  .header-cta { display: none; }
  .hero-grid, .sample, .offer-grid, .faq { grid-template-columns: 1fr; }
  .hero-grid { gap: 2rem; padding-block: 2.7rem 3.4rem; }
  .hero-visual { margin-inline: .45rem; }
  .sample-art { order: 1; margin-top: .3rem; }
  .sample-cover, .offer-cover { width: min(53%, 13rem); }
}

@media (max-width: 37rem) {
  body { padding-bottom: calc(5.1rem + env(safe-area-inset-bottom)); }
  .wrap { width: calc(100% - 2rem); }
  .section { padding-block: 3.6rem; }
  .header-inner { min-height: 3.95rem; gap: .5rem; }
  .header nav { display: none; }
  .brand { font-size: 1.22rem; }
  .brand img { width: 2.4rem; height: 2.4rem; }
  .hero-copy > p:first-of-type { margin-top: 1rem; }
  .hero-actions { display: grid; margin-top: 1.1rem; gap: .7rem; }
  .hero-art, .hero-visual::before { border-radius: 1.15rem; }
  .hero-preview { right: -.25rem; bottom: -.9rem; }
  .facts { padding: .75rem .2rem; }
  .facts li { flex-direction: column; gap: .35rem; text-align: center; padding: .2rem .3rem; }
  .facts span { font-size: .82rem; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mission-caption { padding: .7rem .63rem .8rem; }
  .mission-caption::after { display: none; }
  .mission-caption span { font-size: .93rem; }
  .mission-caption p { font-size: .83rem; }
  .steps { grid-template-columns: 1fr; }
  .sample { padding: 1.4rem; }
  .mobile-buy {
    position: fixed;
    z-index: 3;
    bottom: 0;
    inset-inline: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: .65rem;
    padding: .65rem 1rem calc(.65rem + env(safe-area-inset-bottom));
    background: var(--pine);
    color: var(--card);
    box-shadow: 0 -3px 22px #142e2833;
  }
  .mobile-buy .button { box-shadow: none; min-height: 2.8rem; padding: .65rem .35rem; font-size: .86rem; }
  .mobile-buy .button-outline { color: var(--card); border-color: #adbf9b; }
  .mobile-buy .button-outline:hover { background: #285a44; }
  .mobile-buy .button:focus-visible { outline-color: var(--card); }
}
