:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-soft: #eef6f7;
  --ink: #07152f;
  --ink-soft: #0b1f3a;
  --muted: #475569;
  --line: #e5e7eb;
  --line-strong: #cbd5e1;
  --accent: #06152e;
  --accent-dark: #071d3a;
  --teal: #008c86;
  --teal-dark: #006d68;
  --accent-soft: #e8f7f5;
  --accent-line: #b9dcda;
  --gold: #c99a2e;
  --yellow: #ffd22e;
  --yellow-dark: #ffc928;
  --danger: #9f2f2f;
  --shadow: 0 26px 70px rgba(6, 21, 46, .12);
  --shadow-soft: 0 12px 34px rgba(6, 21, 46, .07);
  --radius: 20px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

::selection {
  background: rgba(23, 50, 77, .14);
}

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

button,
input {
  font: inherit;
}

.ambient {
  display: none;
}

.site-announcement {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 18px;
  background: var(--accent);
  color: white;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.site-announcement span {
  margin-right: 8px;
  font-size: 18px;
  line-height: 1;
}

.topbar {
  position: sticky;
  top: 38px;
  z-index: 50;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(226, 232, 240, .9);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 12px 26px rgba(6, 21, 46, .06);
  backdrop-filter: blur(18px);
}

.brand,
.topbar nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.brand-logo {
  width: 62px;
  height: 48px;
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
}

.menu-toggle {
  display: none;
  justify-self: end;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--accent);
  font-weight: 850;
}

.topbar nav {
  justify-content: center;
  justify-self: end;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 800;
}

.topbar nav a,
.topbar nav button {
  padding: 9px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font: inherit;
  transition: color .18s ease, background .18s ease;
  cursor: pointer;
}

.topbar nav a:hover,
.topbar nav a.is-active,
.topbar nav button:hover,
.topbar nav button.is-active {
  color: var(--ink);
  background: #f1f5f9;
}

.nav-dropdown {
  position: relative;
  padding-block: 4px;
}

.mega-menu {
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: min(300px, calc(100vw - 36px));
  max-height: min(72vh, 520px);
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 24px 60px rgba(20, 22, 26, .13);
  opacity: 0;
  overflow: auto;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity .16s ease, transform .16s ease;
}

.mega-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

.mega-menu--compact {
  width: min(300px, calc(100vw - 36px));
  grid-template-columns: 1fr;
}

.nav-dropdown:hover .mega-menu,
.nav-dropdown:focus-within .mega-menu,
.nav-dropdown.is-open .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mega-group {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcfd;
}

.mega-title {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 850;
}

.mega-group p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.mega-item {
  display: inline-flex;
  margin: 6px 8px 0 0;
  padding: 7px 9px;
  border-top: 1px solid rgba(227, 223, 214, .75);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 650;
}

.mega-link {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 800;
}

.mega-link:hover {
  background: #f1f5f9;
  color: var(--accent);
}

.nav-cta,
.button--yellow {
  border-color: transparent;
  background: linear-gradient(180deg, var(--yellow), var(--yellow-dark)) !important;
  color: var(--accent);
  box-shadow: 0 12px 26px rgba(255, 201, 40, .32);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px !important;
  border-radius: 999px !important;
}

.nav-cta:hover,
.button--yellow:hover {
  background: linear-gradient(180deg, #ffdc4f, var(--yellow-dark));
  color: var(--accent);
  box-shadow: 0 16px 30px rgba(255, 201, 40, .38);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.25;
}

.lead,
.section__title p,
.card p,
.resource-grid p,
.newsletter p,
.footer,
.page-hero p {
  color: var(--muted);
  line-height: 1.65;
}

.lead {
  max-width: 720px;
  font-size: clamp(17px, 1.7vw, 20px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(360px, 1.18fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  min-height: auto;
  padding: clamp(46px, 7vw, 82px) clamp(18px, 5vw, 72px) clamp(40px, 6vw, 68px);
}

.hero-commercial {
  min-height: auto;
}

.hero-atelier {
  position: relative;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 4%, rgba(0, 140, 134, .12), transparent 24rem),
    linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
}

.hero-atelier::before {
  display: none;
}

.hero__actions,
.pack-actions,
.article-cta,
.premium-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hero__actions {
  margin: 30px 0 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #073c66);
  color: white;
  font-weight: 750;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.button:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  border-color: var(--accent-dark);
  box-shadow: 0 10px 22px rgba(20, 59, 92, .18);
}

.button--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: none;
}

.button--light {
  background: #fff;
  color: var(--teal-dark);
  border-color: var(--accent-line);
}

.hero-media {
  margin: 0;
  max-width: 760px;
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: white;
  box-shadow: 0 28px 90px rgba(6, 21, 46, .14);
  overflow: hidden;
}

.hero-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.button--ghost:hover {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--accent-line);
  box-shadow: none;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trust span,
.pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
}

.trust span {
  padding: 8px 11px;
}

.pill {
  padding: 6px 10px;
  margin-bottom: 10px;
}

.section,
.page-hero {
  padding: clamp(56px, 7vw, 96px) clamp(18px, 5vw, 72px);
}

.section__title {
  max-width: 780px;
  margin-bottom: 30px;
}

.page-hero {
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 980px;
}

.page-hero p {
  max-width: 760px;
  font-size: 18px;
}

.category-showcase,
.pack-grid,
.mini-grid,
.benefit-grid,
.value-grid,
.featured-grid,
.product-grid,
.resource-grid,
.article-grid,
.page-grid,
.testimonial-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.article-grid,
.page-grid,
.testimonial-grid,
.faq-grid,
.pack-grid,
.premium-file-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-tile,
.pack-card,
.mini-product,
.product-card,
.free-card,
.hook-card,
.offer-card,
.benefit-grid article,
.value-grid article,
.article-card,
.page-grid article,
.testimonial-grid article,
.faq-grid details,
.premium-gate,
.premium-library,
.blog-post,
.newsletter,
.resource-grid article,
.card,
.panel,
.conversion-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.category-tile,
.pack-card,
.mini-product,
.product-card,
.free-card,
.hook-card,
.benefit-grid article,
.value-grid article,
.page-grid article,
.testimonial-grid article,
.faq-grid details,
.resource-grid article {
  padding: 22px;
}

.category-tile {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ink);
}

.category-tile span {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.category-tile strong {
  display: block;
  margin-bottom: 10px;
  font-size: 23px;
  letter-spacing: -.01em;
}

.category-tile p,
.pack-card p,
.mini-product p,
.blog-post p,
.faq-grid details p {
  color: var(--muted);
  line-height: 1.55;
}

.category-tile,
.pack-card,
.article-card,
.blog-post,
.product-card,
.free-card {
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.category-tile:hover,
.pack-card:hover,
.article-card:hover,
.product-card:hover,
.free-card:hover,
.hook-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-line);
  box-shadow: var(--shadow);
}

.grad-money,
.grad-ai,
.grad-business,
.grad-content,
.grad-reset,
.grad-study,
.grad-total {
  background: var(--surface);
}

.grad-money { border-top: 3px solid var(--teal); }
.grad-ai { border-top: 3px solid var(--accent); }
.grad-business { border-top: 3px solid var(--gold); }
.grad-content { border-top: 3px solid #516070; }
.grad-reset { border-top: 3px solid #476f8d; }
.grad-study { border-top: 3px solid #7d6f55; }
.grad-total { border-top: 3px solid var(--accent); }

.pack-mockup {
  min-height: 360px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(241, 245, 247, .92)),
    var(--surface);
  box-shadow: var(--shadow);
}

.mock-window {
  min-height: 310px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

.mock-toolbar span {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 6px;
  border-radius: 50%;
  background: #d7d2c9;
}

.mock-kpi {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.mock-kpi strong {
  font-size: clamp(22px, 4vw, 34px);
  letter-spacing: -.02em;
}

.mock-kpi em {
  padding: 6px 8px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  color: var(--accent);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.mock-chart {
  height: 150px;
  margin: 32px 0 22px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(20, 59, 92, .12), rgba(20, 59, 92, 0)),
    repeating-linear-gradient(90deg, transparent 0 42px, rgba(23, 23, 23, .05) 43px 44px),
    var(--accent-soft);
  clip-path: polygon(0 68%, 18% 45%, 34% 58%, 50% 28%, 68% 36%, 84% 18%, 100% 22%, 100% 100%, 0 100%);
}

.mock-lines::before,
.mock-lines::after {
  content: "";
  display: block;
  height: 12px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #e5e1d9;
}

.mock-lines::before { width: 78%; }
.mock-lines::after { width: 52%; }

.pack-card .pack-mockup {
  min-height: 168px;
  margin: 14px 0 18px;
  padding: 14px;
  border-radius: 16px;
  box-shadow: none;
}

.pack-card .mock-window {
  min-height: 128px;
  padding: 12px;
}

.pack-card .mock-chart {
  height: 68px;
  margin: 18px 0 12px;
}

.pack-card--total {
  border-color: var(--accent-line);
  background: linear-gradient(180deg, #fffdfa, #f4f7f8);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 16px 0;
}

.price strong {
  font-size: 30px;
  letter-spacing: -.01em;
}

.price span {
  color: var(--muted);
  text-decoration: line-through;
}

.hero-price span {
  text-decoration: none;
}

.pack-card ul {
  display: grid;
  gap: 8px;
  padding-left: 18px;
  color: var(--ink-soft);
  line-height: 1.45;
}

.pack-card small {
  color: var(--muted);
  font-weight: 650;
}

.icon-badge {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
  color: var(--accent);
}

.icon-badge svg,
.search-box svg,
.tab-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mini-product {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
}

.mini-product p {
  margin: 5px 0 0;
}

.product-page-grid,
.free-grid,
.hook-grid,
.trust-grid,
.subject-grid,
.edu-product-grid,
.education-level-grid,
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.product-card,
.free-card,
.hook-card,
.subject-card,
.edu-product-card,
.education-level-card,
.topic-card {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.education-preview {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(22px, 5vw, 56px);
  align-items: start;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 12%, rgba(0, 143, 134, .07), transparent 20rem),
    #fff;
}

.education-preview__copy {
  max-width: 640px;
}

.education-hero .hero-media {
  max-width: 520px;
}

.education-level-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.education-level-card,
.subject-card,
.edu-product-card,
.topic-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.education-level-card {
  min-height: 190px;
}

.education-level-card span,
.subject-card span,
.edu-product-card > span {
  width: fit-content;
  padding: 7px 10px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 850;
}

.subject-card p,
.edu-product-card p,
.education-level-card p,
.topic-card span {
  color: var(--muted);
  line-height: 1.55;
}

.education-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -8px 0 22px;
}

.education-filters button {
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  font-weight: 800;
  cursor: pointer;
}

.education-filters button.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}

.topic-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topic-card span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  font-size: 13px;
  font-weight: 750;
}

.edu-product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

[data-education-tags][hidden] {
  display: none;
}

.offer-section {
  padding-top: clamp(34px, 5vw, 72px);
}

.offer-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border-color: var(--accent-line);
  background:
    linear-gradient(135deg, rgba(237, 245, 250, .95), rgba(255, 255, 255, .96));
  box-shadow: var(--shadow);
}

.offer-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.offer-benefits span,
.audience-list span,
.trust-grid article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  color: var(--ink-soft);
  font-weight: 750;
}

.hook-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.hook-card {
  min-height: 250px;
  align-content: start;
}

.hook-card > span {
  width: fit-content;
  padding: 6px 9px;
  border-radius: 999px;
  background: #fff7e8;
  color: #8a6427;
  font-size: 12px;
  font-weight: 850;
}

.hook-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: auto;
}

.product-card .pill {
  margin: 0;
}

.product-card strong {
  color: var(--accent);
  line-height: 1.35;
}

.free-card {
  min-height: 230px;
  align-content: start;
  background:
    linear-gradient(180deg, rgba(20, 59, 92, .045), transparent 110px),
    var(--surface);
}

.free-card span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.free-card .button {
  width: fit-content;
  margin-top: auto;
}

.proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
}

.proof-list span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 750;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.detail-panel {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.detail-panel ol {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-soft);
  line-height: 1.8;
}

.lead-free,
.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-inline: clamp(18px, 5vw, 72px);
  padding: clamp(28px, 5vw, 54px);
  background: var(--surface);
}

.audience-section {
  background: #fff;
  border-block: 1px solid var(--line);
}

.audience-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.audience-list span::before {
  content: "✓ ";
  color: var(--accent);
}

.trust-section {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: start;
}

.trust-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.lead-free {
  margin-top: clamp(26px, 4vw, 56px);
  margin-bottom: clamp(26px, 4vw, 56px);
}

.newsletter {
  background: var(--accent);
  color: white;
}

.newsletter .eyebrow,
.newsletter p {
  color: rgba(255, 255, 255, .74);
}

.newsletter-form {
  display: grid;
  gap: 10px;
}

.newsletter-form input,
.newsletter-form button,
.premium-form input,
.premium-form button {
  min-height: 50px;
  border-radius: 10px;
}

.newsletter-form input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .22);
  padding: 0 14px;
  background: rgba(255, 255, 255, .1);
  color: white;
  outline: 0;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, .62);
}

.newsletter-form button,
.premium-form button {
  border: 0;
  background: white;
  color: var(--accent);
  font-weight: 800;
  cursor: pointer;
}

.newsletter-form.is-done::after {
  content: "Listo. En una integracion real aqui se conectaria tu formulario.";
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  font-weight: 700;
}

.article-card {
  overflow: hidden;
}

.article-image {
  display: flex;
  align-items: end;
  min-height: 168px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(23, 50, 77, .08), rgba(23, 50, 77, .02)),
    var(--surface-soft);
}

.article-image span {
  padding: 7px 10px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.article-body {
  padding: 22px;
}

.article-category,
.resource-grid span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  color: var(--accent);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.blog-long {
  display: grid;
  gap: 24px;
}

.blog-post {
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  gap: 24px;
  padding: 20px;
}

.compare-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.compare-row {
  display: grid;
  grid-template-columns: 1.2fr .9fr .7fr 1.4fr;
  gap: 1px;
  border-bottom: 1px solid var(--line);
}

.compare-row:last-child {
  border-bottom: 0;
}

.compare-row span {
  padding: 16px;
}

.compare-row.head {
  background: var(--ink);
  color: white;
  font-weight: 800;
}

.compare-row.total {
  background: var(--accent-soft);
  font-weight: 800;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.process-grid article {
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.process-grid span {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--accent));
  color: white;
  font-size: 13px;
  font-weight: 800;
}

.value-grid article,
.benefit-grid article {
  padding: 24px;
}

.value-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 34px;
}

.benefit-grid article {
  color: var(--ink-soft);
  font-weight: 750;
}

.premium-section {
  padding-top: 40px;
}

.premium-gate,
.premium-library,
.conversion-card {
  padding: clamp(24px, 5vw, 44px);
}

.premium-gate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 28px;
  align-items: center;
}

.premium-form {
  display: grid;
  gap: 10px;
}

.premium-form label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.premium-form input {
  border: 1px solid var(--line);
  padding: 0 14px;
  outline: 0;
  background: white;
}

.premium-form button {
  background: var(--accent);
  color: white;
}

.form-error {
  margin: 0;
  color: var(--danger);
  font-size: 13px;
  font-weight: 750;
}

.premium-downloads {
  display: grid;
  gap: 24px;
}

.premium-file-grid {
  display: grid;
  gap: 12px;
}

.premium-file {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
}

.premium-file strong,
.premium-file small {
  display: block;
}

.premium-file small {
  grid-column: 2;
  color: var(--muted);
  line-height: 1.4;
}

.faq-grid summary {
  cursor: pointer;
  font-weight: 800;
}

.testimonial-grid article p {
  color: var(--ink-soft);
  font-size: 17px;
}

.testimonial-grid article strong {
  color: var(--accent);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--muted);
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.footer {
  padding: 32px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer p {
  margin-bottom: 8px;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 40px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 253, 250, .64);
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.choice-grid,
.visual-grid,
.education-home-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.choice-card {
  min-height: 126px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.choice-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 19px;
}

.choice-card span {
  color: var(--muted);
  line-height: 1.45;
}

.choice-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-line);
  box-shadow: var(--shadow);
}

.visual-card,
.education-card,
.edu-product-card,
.checkout-card,
.checkout-summary {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.visual-card:hover,
.education-card:hover,
.edu-product-card:hover,
.checkout-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-line);
  box-shadow: var(--shadow);
}

.visual-card img,
.education-card img,
.edu-product-card img,
.education-level-card img,
.pack-image,
.product-card img,
.checkout-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.product-card {
  overflow: hidden;
}

.product-card img,
.free-card img {
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.product-card img {
  margin: -22px -22px 18px;
  width: calc(100% + 44px);
}

.free-card {
  overflow: hidden;
}

.free-card img {
  width: calc(100% + 44px);
  margin: -22px -22px 18px;
}

.visual-card > div,
.education-card > div,
.edu-product-card {
  padding: 20px;
}

.edu-product-card img {
  margin: -20px -20px 18px;
  width: calc(100% + 40px);
}

.visual-card h3,
.education-card h3,
.edu-product-card h3 {
  margin-top: 10px;
}

.visual-card p,
.education-card p,
.edu-product-card p {
  color: var(--muted);
  line-height: 1.55;
}

.visual-card strong,
.edu-product-card > span {
  color: var(--accent);
  font-weight: 900;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.education-preview {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 26px;
  align-items: start;
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.education-preview__copy {
  position: sticky;
  top: 132px;
}

.education-preview .education-filters {
  grid-column: 1 / -1;
  margin: -4px 0 0;
}

.education-home-grid {
  grid-column: 1 / -1;
}

.education-card .icon-badge {
  margin-right: 8px;
}

.education-level-card {
  overflow: hidden;
  padding: 0;
}

.education-level-card span,
.education-level-card p {
  display: block;
  padding-inline: 20px;
}

.education-level-card span {
  padding-top: 18px;
}

.education-level-card p {
  padding-bottom: 20px;
}

.pack-image {
  margin: 14px 0 18px;
  border-radius: 18px;
}

.button svg,
.nav-cta svg {
  flex: 0 0 auto;
  margin-right: 8px;
}

.checkout-hero {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
}

.checkout-summary {
  padding: 28px;
}

.checkout-summary ol {
  margin: 18px 0 0;
  padding-left: 24px;
  color: var(--ink-soft);
  font-weight: 850;
  line-height: 2;
}

.checkout-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.checkout-card {
  display: grid;
  grid-template-columns: minmax(190px, .8fr) minmax(0, 1.2fr);
  min-height: 280px;
}

.checkout-card > div {
  padding: 24px;
}

.checkout-card img {
  height: 100%;
  min-height: 280px;
  aspect-ratio: auto;
}

.checkout-card--featured {
  grid-column: 1 / -1;
  grid-template-columns: minmax(260px, .9fr) minmax(0, 1.1fr);
  border-color: rgba(255, 201, 40, .65);
  box-shadow: 0 24px 70px rgba(255, 201, 40, .16);
}

.checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.checkout-live-hero {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
}

.checkout-live-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--soft-shadow);
  display: grid;
  gap: 12px;
  padding: clamp(22px, 4vw, 34px);
}

.checkout-live-card label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.checkout-live-card input {
  border: 1px solid var(--line);
  border-radius: 14px;
  font: inherit;
  padding: 14px 15px;
}

.checkout-live-card button:disabled {
  cursor: wait;
  opacity: .72;
}

.pack-showcase-grid {
  display: grid;
  gap: 26px;
  margin-inline: auto;
  max-width: var(--container);
}

.pack-card--commercial {
  display: grid;
  grid-template-columns: minmax(260px, .82fr) minmax(0, 1.18fr);
  gap: clamp(20px, 3vw, 34px);
  padding: clamp(18px, 3vw, 28px);
}

.pack-card__media {
  align-self: stretch;
}

.pack-card--commercial .pack-image {
  height: 100%;
  min-height: 300px;
}

.pack-card__content {
  display: grid;
  gap: 14px;
}

.pack-hook {
  color: var(--ink);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 850;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
}

.pack-benefit {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 18px;
  display: grid;
  gap: 6px;
  padding: 14px 16px;
}

.pack-benefit strong,
.pack-mini-sections h4 {
  color: var(--ink);
  font-size: 13px;
  letter-spacing: .08em;
  margin: 0;
  text-transform: uppercase;
}

.pack-benefit span,
.pack-mini-sections p {
  color: var(--muted);
}

.pack-preview-gallery {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
}

.pack-preview-gallery figure {
  margin: 0;
  min-width: 0;
}

.pack-preview-gallery img {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: block;
  object-fit: cover;
  width: 100%;
}

.pack-preview-gallery figcaption {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  margin-top: 7px;
}

.pack-mini-sections {
  display: grid;
  gap: 14px;
  grid-template-columns: .9fr 1.1fr;
}

.pack-mini-sections section {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
}

.pack-mini-sections ul {
  columns: 2;
  margin: 10px 0 0;
  padding-left: 18px;
}

.pack-cta-copy {
  color: var(--ink);
  font-weight: 800;
  margin: 0;
}

.pack-detail-hero {
  grid-template-columns: minmax(0, .92fr) minmax(320px, 1.08fr);
}

.pack-detail-media {
  margin: 0;
}

.pack-detail-media > img {
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--soft-shadow);
  display: block;
  object-fit: cover;
  width: 100%;
}

.pack-detail-media .pack-preview-gallery {
  margin-top: 14px;
}

.pack-detail-sections {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, 1fr);
}

.pack-detail-sections article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--soft-shadow);
  padding: clamp(22px, 4vw, 34px);
}

[data-education-tags][hidden] {
  display: none !important;
}

.recipe-page,
body[data-page="recetas"],
body[data-page="comprar"] .recipe-checkout-hero,
body[data-page="comprar"] .recipe-offer {
  background: #fffdf9;
}

.recipe-page h1,
.recipe-page h2,
.recipe-page h3,
.recipe-offer h2,
.recipe-checkout-hero h1,
.success-modal h2 {
  font-family: "Playfair Display", Georgia, serif;
  color: #1a0f0a;
  letter-spacing: 0;
}

.recipe-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  margin-bottom: 14px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 90, 54, .24);
  border-radius: 999px;
  background: #fff1eb;
  color: #a3331c;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.recipe-button {
  border-color: #ff5a36 !important;
  background: #ff5a36 !important;
  color: white !important;
  box-shadow: 0 16px 34px rgba(255, 90, 54, .28);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.recipe-button:hover {
  transform: scale(1.05);
  background: #ec4724 !important;
  box-shadow: 0 20px 44px rgba(255, 90, 54, .36);
}

.recipe-offer {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  border-top: 1px solid #f4ded2;
  border-bottom: 1px solid #f4ded2;
}

.recipe-offer__media {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(72, 34, 16, .14);
}

.recipe-offer__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.recipe-offer__copy p,
.recipe-card p,
.recipe-final p {
  color: #4f453f;
  line-height: 1.7;
}

.recipe-benefits {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.recipe-benefits li {
  padding: 12px 14px;
  border: 1px solid #f3dfd5;
  border-radius: 16px;
  background: white;
  color: #33231b;
  font-weight: 800;
}

.recipe-price {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: baseline;
  margin: 22px 0 8px;
}

.recipe-price span {
  color: #776761;
  font-weight: 800;
}

.recipe-price strong {
  color: #ff5a36;
  font-size: clamp(44px, 7vw, 76px);
  line-height: .9;
}

.recipe-note {
  max-width: 620px;
  margin-top: 12px;
  color: #776761;
  font-size: 13px;
}

.success-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(26, 15, 10, .58);
  backdrop-filter: blur(12px);
}

.success-modal[hidden] {
  display: none;
}

.success-modal__panel {
  position: relative;
  width: min(520px, 100%);
  padding: 30px;
  border-radius: 28px;
  background: #fffdf9;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .24);
  text-align: center;
}

.success-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #fff1eb;
  color: #1a0f0a;
  font-size: 22px;
  cursor: pointer;
}

.web-photo-rail {
  background: #fffdf9;
}

.web-photo-rail__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, 1fr);
  margin-inline: auto;
  max-width: var(--container);
}

.web-photo-rail__grid img {
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(26, 15, 10, .1);
  border-radius: 22px;
  box-shadow: 0 18px 55px rgba(26, 15, 10, .08);
  display: block;
  object-fit: cover;
  width: 100%;
}

.photo-credit {
  color: #7c665b;
  font-size: 13px;
  margin: 14px auto 0;
  max-width: var(--container);
}

.delivery-notice,
.delivery-gate {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 24px;
  align-items: center;
}

.delivery-notice {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.delivery-url-list,
.delivery-download-grid {
  display: grid;
  gap: 12px;
}

.delivery-url-list code {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  padding: 12px 14px;
}

.delivery-download-grid {
  grid-template-columns: repeat(4, 1fr);
}

.delivery-download {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--soft-shadow);
  color: var(--ink);
  padding: 22px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.delivery-download:hover {
  box-shadow: 0 18px 50px rgba(6, 21, 46, .12);
  transform: translateY(-3px);
}

.delivery-download strong,
.delivery-download span {
  display: block;
}

.delivery-download span {
  color: var(--muted);
  margin-top: 8px;
}

.payment-result--success {
  background: linear-gradient(135deg, rgba(0, 140, 134, .14), rgba(255, 253, 249, 1));
}

.payment-result--pending {
  background: linear-gradient(135deg, rgba(255, 210, 46, .22), rgba(255, 253, 249, 1));
}

.payment-result--failure {
  background: linear-gradient(135deg, rgba(255, 90, 54, .14), rgba(255, 253, 249, 1));
}

.payment-auto-delivery {
  background: #fff;
}

#payment-verification-status {
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--muted);
  margin: 18px 0 0;
  padding: 14px 16px;
}

#payment-verification-status[data-state="success"] {
  background: rgba(0, 140, 134, .1);
  border-color: rgba(0, 140, 134, .28);
  color: var(--accent);
}

#payment-verification-status[data-state="pending"] {
  background: rgba(255, 210, 46, .14);
  border-color: rgba(201, 154, 46, .28);
  color: #7a5a0a;
}

#payment-verification-status[data-state="error"] {
  background: rgba(255, 90, 54, .1);
  border-color: rgba(255, 90, 54, .24);
  color: var(--danger);
}

.payment-code {
  background: var(--ink);
  border-radius: 18px;
  color: #fff;
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 900;
  letter-spacing: .08em;
  margin: 0 0 22px;
  padding: 20px;
  text-align: center;
}

.recipe-hero {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(300px, 1.14fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(48px, 7vw, 96px) clamp(18px, 5vw, 72px);
  background: radial-gradient(circle at 84% 16%, rgba(255, 90, 54, .16), transparent 24rem), #fffdf9;
}

.recipe-hero__image {
  overflow: hidden;
  border-radius: 32px;
  box-shadow: 0 30px 80px rgba(72, 34, 16, .16);
}

.recipe-hero__image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.recipe-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 clamp(18px, 5vw, 72px) 24px;
}

.recipe-filter {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #f2d4c6;
  border-radius: 999px;
  background: white;
  color: #1a0f0a;
  font-weight: 900;
  cursor: pointer;
}

.recipe-filter.is-active {
  border-color: #ff5a36;
  background: #ff5a36;
  color: white;
}

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0 clamp(18px, 5vw, 72px) clamp(54px, 7vw, 96px);
}

.recipe-card {
  overflow: hidden;
  border: 1px solid #f2ded4;
  border-radius: 24px;
  background: white;
  box-shadow: 0 16px 42px rgba(72, 34, 16, .08);
}

.recipe-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.recipe-card__body {
  padding: 20px;
}

.recipe-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.recipe-meta span {
  padding: 7px 9px;
  border-radius: 999px;
  background: #fff1eb;
  color: #7d2b18;
  font-size: 12px;
  font-weight: 900;
}

.recipe-ingredients {
  margin: 14px 0 0;
  padding: 12px;
  border-radius: 14px;
  background: #fff8f3;
  color: #4f453f;
  font-size: 14px;
}

.recipe-final {
  margin: 0 clamp(18px, 5vw, 72px) clamp(56px, 7vw, 96px);
  padding: clamp(28px, 5vw, 56px);
  border-radius: 30px;
  background: #1a0f0a;
  color: white;
  text-align: center;
}

.recipe-final h2,
.recipe-final p {
  color: white;
}

.recipe-card[hidden] {
  display: none;
}

@media (max-width: 1180px) {
  .featured-grid,
  .product-grid,
  .resource-grid,
  .article-grid,
  .page-grid,
  .testimonial-grid,
  .faq-grid,
  .premium-file-grid,
  .category-showcase,
  .pack-grid,
  .mini-grid,
  .benefit-grid,
  .value-grid,
  .process-grid,
  .product-page-grid,
  .free-grid,
  .hook-grid,
  .trust-grid,
  .audience-list,
  .subject-grid,
  .edu-product-grid,
  .education-level-grid,
  .topic-grid,
  .choice-grid,
  .visual-grid,
  .education-home-grid,
  .checkout-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .topbar {
    top: 38px;
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .topbar nav {
    grid-column: 1 / -1;
    display: none;
    justify-content: flex-start;
    flex-direction: column;
    align-items: stretch;
    padding-top: 10px;
  }

  .topbar.is-open nav {
    display: flex;
  }

  .hero,
  .recipe-hero,
  .recipe-offer,
  .newsletter,
  .premium-gate,
  .lead-free,
  .blog-post,
  .offer-card,
  .trust-section,
  .education-preview,
  .checkout-card,
  .checkout-card--featured {
    grid-template-columns: 1fr;
  }

  .education-preview__copy {
    position: static;
  }

  .hero-media {
    max-width: 100%;
    justify-self: stretch;
  }

  .featured-grid,
  .product-grid,
  .resource-grid,
  .article-grid,
  .page-grid,
  .testimonial-grid,
  .faq-grid,
  .premium-file-grid,
  .category-showcase,
  .pack-grid,
  .mini-grid,
  .benefit-grid,
  .value-grid,
  .process-grid,
  .product-page-grid,
  .free-grid,
  .hook-grid,
  .trust-grid,
  .audience-list,
  .subject-grid,
  .edu-product-grid,
  .education-level-grid,
  .topic-grid,
  .choice-grid,
  .visual-grid,
  .education-home-grid,
  .checkout-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recipe-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .checkout-card img {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .pack-card--commercial,
  .pack-detail-hero,
  .pack-detail-sections {
    grid-template-columns: 1fr;
  }

  .pack-card--commercial .pack-image {
    min-height: 0;
  }

  .pack-mini-sections {
    grid-template-columns: 1fr;
  }

  .mega-menu {
    position: static;
    left: auto;
    right: auto;
    display: none;
    width: 100%;
    max-height: none;
    margin: 6px 0 0;
    grid-template-columns: 1fr;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
  }

  .nav-dropdown:hover .mega-menu,
  .nav-dropdown:focus-within .mega-menu,
  .nav-dropdown.is-open .mega-menu {
    display: grid;
    transform: none;
  }

  .nav-dropdown {
    position: static;
  }

  .product-detail {
    grid-template-columns: 1fr;
  }

  .compare-row {
    grid-template-columns: 1fr;
  }

  .lead-free,
  .newsletter {
    margin-inline: 18px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 38px;
  }

  h1 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .featured-grid,
  .product-grid,
  .resource-grid,
  .article-grid,
  .page-grid,
  .testimonial-grid,
  .faq-grid,
  .premium-file-grid,
  .category-showcase,
  .pack-grid,
  .mini-grid,
  .benefit-grid,
  .value-grid,
  .process-grid,
  .product-page-grid,
  .free-grid,
  .hook-grid,
  .trust-grid,
  .audience-list,
  .offer-benefits,
  .subject-grid,
  .edu-product-grid,
  .education-level-grid,
  .topic-grid,
  .choice-grid,
  .visual-grid,
  .education-home-grid,
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .recipe-grid {
    grid-template-columns: 1fr;
  }

  .web-photo-rail__grid {
    grid-template-columns: 1fr 1fr;
  }

  .delivery-notice,
  .delivery-gate,
  .delivery-download-grid,
  .pack-preview-gallery,
  .pack-mini-sections,
  .pack-detail-sections {
    grid-template-columns: 1fr;
  }

  .pack-mini-sections ul {
    columns: 1;
  }

  .pack-actions,
  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .button--ghost,
  .button--light,
  .button--yellow {
    width: 100%;
  }

  .checkout-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .site-announcement {
    font-size: 12px;
  }

  .brand span {
    display: none;
  }
}
