@font-face {
  font-family: 'Open Sans';
  src: url('../../assets/open-sans-regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  src: url('../../assets/open-sans-semibold.ttf') format('truetype');
  font-weight: 600 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f8f3eb;
  --white: #fffcf6;
  --ink: #211a17;
  --muted: #5f534c;
  --line: #d7c9bc;
  --red: #a52a1e;
  --red-hover: #802018;
  --dark: #211a17;
  font-family: 'Open Sans', system-ui, sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body, p, h1, h2, h3, blockquote, dl, dd { margin: 0; }
img { display: block; max-width: 100%; }
button { font: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }

button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.shell { width: min(100% - 3rem, 72rem); margin-inline: auto; }

.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  position: absolute;
  z-index: 1;
  padding: .5rem 1rem;
  color: var(--ink);
  background: var(--white);
}

.jocaagura-bar { background: #0a0a0a; color: #fff; }
.jocaagura-bar-inner, .ficha-nav, .ficha-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.jocaagura-bar-inner { gap: 18px; min-height: 66px; }
.jocaagura-bar img { width: 104px; height: 50px; object-fit: contain; }
.jocaagura-bar a:last-child { font-size: .85rem; font-weight: 700; }
.jocaagura-bar a:hover { text-decoration: underline; text-underline-offset: 5px; }
.ficha-nav { min-height: 3.75rem; border-bottom: 1px solid var(--line); font-size: .9rem; font-weight: 600; }
.jocaagura-bar a, .ficha-nav a { text-decoration: none; }
.ficha-title { font-weight: 700; }
.story-link:hover { text-decoration: underline; }
.header-cta { padding: .55rem .8rem; border-radius: .25rem; background: var(--red); color: #fff; }
.header-cta:hover { background: var(--red-hover); }
.header-cta:focus-visible { outline-color: var(--red); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 7rem);
  padding-block: clamp(2.5rem, 5.3vw, 5rem);
}

.eyebrow {
  color: var(--red);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .7rem;
}

h1, h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; line-height: 1.02; }
h1 { font-size: clamp(3rem, 5.4vw, 5.15rem); letter-spacing: -.052em; }
h1 em { display: block; }
h1 em, h2 em { color: var(--red); }
h2 { font-size: clamp(2.35rem, 4.1vw, 3.8rem); letter-spacing: -.038em; }
.hero-copy > p:not(.eyebrow), .section-intro { color: var(--muted); font-size: 1.04rem; }
.hero-copy > p:not(.eyebrow) { max-width: 28rem; margin-block: 1.4rem 1.8rem; }

.button {
  display: inline-flex;
  min-height: 3rem;
  gap: .9rem;
  align-items: center;
  justify-content: center;
  padding: .7rem 1.1rem;
  border: 1px solid transparent;
  border-radius: .25rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.button-primary { background: var(--red); color: white; }
.button-primary:hover { background: var(--red-hover); }
.button-primary:focus-visible { outline-color: var(--red); }
.hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1.06;
  object-fit: cover;
  object-position: center 23%;
  border-radius: .35rem;
}

.story, .quotation { padding-block: clamp(3.4rem, 6vw, 6rem); }
.story { background: var(--white); border-block: 1px solid var(--line); }
.section-intro { max-width: 43rem; margin-top: 1rem; }
.story-intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
}
.story-intro .section-intro { margin-top: 0; }
.story-grid, .copy-example, .plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.story-grid { gap: 1.35rem; margin-top: 2rem; }
.story-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .35rem; }
.story-card:nth-child(1) img { object-position: center 21%; }
.story-card:nth-child(2) img { object-position: center 62%; }
.story-card h3 { margin-block: .7rem .3rem; font-size: 1.1rem; }
.story-card p { color: var(--muted); }

.copy-example {
  grid-template-columns: minmax(0, .85fr) repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
  margin-top: 2.9rem;
  padding-top: 1.65rem;
  border-top: 1px solid var(--line);
}
.copy-example > div:first-child { padding-block: .6rem; }
.copy-example h3 { max-width: 13ch; font: 1.6rem/1.13 Georgia, 'Times New Roman', serif; }
.example-copy { padding: 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: .25rem; }
.example-copy p { color: var(--muted); font-size: .83rem; font-weight: 700; }
.example-copy blockquote { margin-top: .35rem; }
.example-featured { background: #f8e8df; border-inline-start: .22rem solid var(--red); }

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
  grid-template-areas: 'plans summary' 'channels extras';
  gap: 1.45rem;
  align-items: start;
  margin-top: 2rem;
}

fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { margin-bottom: .7rem; padding: 0; font-weight: 700; }
.plan-grid { gap: .7rem; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  align-items: flex-start;
  padding: .9rem;
  border: 2px solid var(--line);
  border-radius: .35rem;
  background: var(--white);
}
.plan-choice { display: flex; gap: .55rem; align-items: center; cursor: pointer; }
.plan-choice::after { content: ''; position: absolute; inset: 0; }
fieldset:disabled .plan-choice { cursor: default; }
.plan:has(input:checked) { border-color: var(--red); background: #fae9e0; }
.plan:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 3px; }
.plan input, .channel-grid input { accent-color: var(--red); margin: 0; width: 1.1rem; height: 1.1rem; }
.plan input { position: relative; z-index: 1; }
.plan-name { font-size: 1.04rem; font-weight: 700; }
.plan-description, .plan-scope, .channel-hint, .channel-count, .extra-rate { font-size: .9rem; color: var(--muted); }
.plan-list { margin: 0; padding-inline-start: 1.1rem; }
.plan-list li + li { margin-top: .25rem; }
.plan-list li::marker { color: var(--red); }
.plan-price { padding-top: .4rem; margin-top: auto; font-size: .93rem; }
.plan-price span { display: block; color: var(--muted); font-size: .83rem; }
.plan-options { grid-area: plans; min-width: 0; }
.plan-scope { margin-top: .75rem; }

.channel-options { grid-area: channels; }
.extras-options { grid-area: extras; }
.extras-options noscript p { margin-top: .55rem; }
.channel-hint { margin-bottom: .55rem; }
.channel-grid { display: flex; flex-wrap: wrap; gap: .45rem; }
.channel-grid label {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 2.75rem;
  padding: .4rem .65rem;
  border: 1px solid var(--line);
  border-radius: .25rem;
  background: var(--white);
  font-size: .88rem;
  cursor: pointer;
}
.channel-grid label:has(input:checked) { border-color: var(--red); background: #fae9e0; }
.channel-grid label:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 2px; }
.channel-grid label:has(input:disabled) { color: var(--muted); background: transparent; cursor: default; }
.channel-count { margin-top: .55rem; }

.extras {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .9rem;
  border: 1px solid var(--line);
  background: var(--white);
  padding: .9rem;
  border-radius: .35rem;
}
.extras-title { font-weight: 700; }
.stepper { display: flex; gap: .55rem; align-items: center; text-align: center; font-variant-numeric: tabular-nums; }
.stepper button {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: .25rem;
  color: var(--ink);
  background: var(--paper);
  font-size: 1.25rem;
  cursor: pointer;
}
.stepper button:disabled, .stepper button[aria-disabled='true'] { color: var(--muted); opacity: .6; cursor: default; }
.stepper button:not(:disabled, [aria-disabled='true']):hover { border-color: var(--red); }
.stepper span { min-width: 2ch; font-weight: 700; }

.summary { grid-area: summary; padding: clamp(1.15rem, 2.4vw, 1.8rem); background: var(--dark); color: var(--white); border-radius: .35rem; }
.summary h3 { font: 1.65rem/1.1 Georgia, 'Times New Roman', serif; }
.selection { margin-top: .5rem; color: #e0d2c8; font-size: .9rem; }
.summary dl { display: grid; gap: .5rem; margin-block: 1.15rem .65rem; }
.summary dl > div { display: flex; flex-wrap: wrap; gap: .3rem .6rem; justify-content: space-between; }
.summary dd { font-weight: 700; font-variant-numeric: tabular-nums; }
.summary .total { padding-top: .65rem; border-top: 1px solid #77665d; }
.total dd { color: #ffccb8; font-size: 1.14rem; }
.whatsapp-hint { margin-top: .6rem; font-size: .83rem; color: #e0d2c8; }
.button-light { margin-top: 1rem; width: 100%; background: var(--white); color: var(--ink); text-align: center; }
.button-light:hover { background: #f2d7c9; }
.button-light:focus-visible { outline-color: var(--white); }

.portfolio {
  padding-block: clamp(3rem, 6vw, 5.5rem);
  background: #efe6db;
  border-top: 1px solid var(--line);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: 2rem;
}
.image-carousel {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: .8rem;
  min-width: 0;
}
.image-carousel h3 { font-size: 1.06rem; text-align: center; }
.image-carousel-stage {
  display: grid;
  place-items: center;
  padding: 1.15rem 1rem 1.4rem;
  overflow: hidden;
}
.image-carousel-track { display: grid; gap: 1rem; min-width: 0; }
.image-slide { margin: 0; min-width: 0; }
.image-carousel-ready .image-slide { grid-area: 1 / 1; }
.image-slide.is-leaving { z-index: 1; }
.image-slide img { width: 100%; height: auto; object-fit: cover; object-position: center var(--image-focus, 50%); }
.image-carousel-ready .image-carousel-stage { position: relative; padding-bottom: 4.65rem; }
.image-carousel-ready .image-slide figcaption { display: none; }
.image-note, .image-slide figcaption {
  width: fit-content;
  max-width: min(13rem, calc(100% - 1.5rem));
  padding: .42rem .64rem;
  border: 1px solid #8a59342b;
  border-radius: .24rem;
  background: #f5d7ad;
  color: #422b1e;
  font-size: .81rem;
  font-weight: 600;
  line-height: 1.35;
  box-shadow: 0 .2rem .35rem #422b1e15;
}
.image-slide figcaption { margin: .45rem .35rem 0 auto; }
.image-carousel-note { position: absolute; inset: auto .85rem .35rem auto; }
.image-note[data-tone='1'] { background: #efc3ac; }
.image-note[data-tone='2'] { background: #f4dea4; }
.image-note[data-tone='3'] { background: #f3ccae; }

.image-carousel-open {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: zoom-in;
}
.instant-stack .image-carousel-open { transform: rotate(-3deg); }
.image-carousel-open span {
  position: absolute;
  inset: .6rem .6rem auto auto;
  padding: .25rem .52rem;
  border-radius: .25rem;
  background: #211a17;
  color: #fffaf2;
  font-size: .75rem;
  font-weight: 600;
}
.instant-stack .image-carousel-open span { inset: 1rem 1rem auto auto; }
.image-carousel-open:focus-visible { outline: 2px solid #fffaf2; outline-offset: -.28rem; }

.instant-stack { position: relative; isolation: isolate; width: min(76%, 19rem); }
.image-carousel-ready .instant-stack::before,
.image-carousel-ready .instant-stack::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  border: 1px solid #dccdbd;
  border-radius: .14rem;
  background: #fffaf2;
  box-shadow: 0 .5rem 1rem #3c2b1e20;
  transform: rotate(6deg) translate(2%, 1%);
}
.image-carousel-ready .instant-stack::after { transform: rotate(2deg) translate(-2%, 1%); }
.instant-print {
  padding: clamp(.45rem, 1vw, .75rem);
  padding-bottom: clamp(1.55rem, 3vw, 2.55rem);
  border: 1px solid #dccdbd;
  border-radius: .14rem;
  background: #fffdf8;
  box-shadow: 0 .55rem 1.1rem #3c2b1e24;
}
.image-carousel-ready .instant-print { transform: rotate(-3deg); }
.instant-print img { aspect-ratio: 1; }

.landscape-phone {
  position: relative;
  width: min(100%, 31rem);
  min-width: 0;
  padding: clamp(.42rem, 1vw, .65rem) clamp(.72rem, 2vw, 1.4rem);
  border: 1px solid #50433a;
  border-radius: clamp(.9rem, 2.2vw, 1.7rem);
  background: #201b18;
  box-shadow: 0 .7rem 1.4rem #3c2b1e30, inset 0 0 0 2px #ffffff12;
}
.landscape-phone::before {
  content: '';
  position: absolute;
  inset: 50% auto auto clamp(.2rem, .65vw, .52rem);
  width: .32rem;
  height: .32rem;
  border: 1px solid #71645b;
  border-radius: 50%;
  background: #393231;
  transform: translateY(-50%);
}
.landscape-screen { position: relative; overflow: hidden; border-radius: clamp(.38rem, 1.25vw, .95rem); background: #151210; }
.landscape-screen img { aspect-ratio: 16 / 9; }

.image-carousel-controls { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .5rem; }
.image-carousel-controls button {
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: .35rem .65rem;
  border: 1px solid var(--line);
  border-radius: .25rem;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}
.image-carousel-controls button:hover { border-color: var(--red); }
.image-carousel-controls button[aria-disabled='true'] { cursor: default; }
.image-carousel-controls [data-playback] { font-size: .83rem; font-weight: 600; }
.image-carousel-controls [data-count] {
  min-width: 2.65rem;
  color: var(--muted);
  font-size: .82rem;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

html:has(.image-projector[open]) { overflow: hidden; }
.image-projector {
  position: fixed;
  inset: 0;
  width: min(calc(100% - 1.5rem), 72rem);
  max-height: calc(100dvh - 1.5rem);
  margin: auto;
  padding: clamp(.55rem, 1.5vw, 1rem);
  border: 1px solid #756456;
  border-radius: .55rem;
  background: #211a17;
  color: #fffaf2;
  overflow: auto;
  overscroll-behavior: contain;
}
.image-projector:not([open]) { display: none; }
.image-projector::backdrop { background: rgb(20 14 11 / .86); }
.projector-actions { display: flex; justify-content: end; margin-bottom: .55rem; }
.projector-actions button {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.75rem;
  padding: .3rem .68rem;
  border: 1px solid #756456;
  border-radius: .25rem;
  background: #30251e;
  color: #fffaf2;
  cursor: pointer;
}
.projector-actions button:hover { background: #49382c; }
.projector-figure { margin: 0; }
.projector-figure img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: max(4rem, calc(100dvh - 9rem));
  margin-inline: auto;
  object-fit: contain;
}
.projector-caption { max-width: min(100%, 38rem); margin: .65rem auto 0; text-align: center; }

.faq { padding-block: clamp(2.8rem, 5vw, 4.8rem); background: var(--white); border-top: 1px solid var(--line); }
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: clamp(1.3rem, 5vw, 4rem); }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: .8rem .3rem; font-weight: 700; cursor: pointer; }
.faq summary::marker { color: var(--red); }
.faq details p { padding: 0 .3rem .9rem; color: var(--muted); }

@media (max-width: 60rem) {
  .quote-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'plans' 'channels' 'extras' 'summary';
  }
  .summary { width: min(100%, 36rem); }
}

@media (max-width: 44rem) {
  .shell { width: calc(100% - 2rem); }
  .story-link { display: none; }
  .hero, .story-intro, .story-grid, .copy-example, .portfolio-grid, .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .hero { gap: 1.55rem; }
  .hero-image { aspect-ratio: 1.22; }
  .story-intro { gap: 1rem; }
  .story-intro h2 { max-width: 15ch; }
  .story-grid { gap: 1.7rem; }
  .copy-example h3 { max-width: none; }
  .story-card img { aspect-ratio: 1.35; }
}

@media (max-width: 36rem) {
  .plan-grid { grid-template-columns: minmax(0, 1fr); }
  .plan { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .plan-description { grid-column: 1 / -1; grid-row: 2; }
  .plan-price { grid-column: 2; grid-row: 1; padding-top: 0; margin-top: 0; text-align: right; }
}
