:root {
  --paper: #f5f7f4;
  --paper-2: #ffffff;
  --ink: #101820;
  --muted: #56636d;
  --line: rgba(16, 24, 32, 0.13);
  --wine: #d7524a;
  --moss: #23635f;
  --gold: #b8860b;
  --teal: #0f7c86;
  --cream: #edf2ea;
  --soft-gold: #f2ead6;
  --soft-teal: #e4f0ef;
  --soft-coral: #f7e7e4;
  --shadow: 0 24px 70px rgba(16, 24, 32, 0.13);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, var(--paper) 0%, var(--soft-teal) 48%, var(--soft-gold) 100%);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.announcement-bar {
  position: sticky;
  top: 0;
  z-index: 21;
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 4vw, 42px);
  padding: 8px 16px;
  background:
    linear-gradient(120deg, #0c4f4d 0%, var(--moss) 45%, var(--teal) 100%);
  color: var(--paper-2);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  box-shadow: inset 0 -1px 0 rgba(242, 234, 214, 0.28);
}

.site-header {
  position: sticky;
  top: 36px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(245, 247, 244, 0.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: var(--ink);
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 140px;
  height: 64px;
  object-fit: contain;
}


.footer-logo {
  width: 172px;
  height: 84px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 800;
}

.site-nav a {
  position: relative;
}

.site-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--teal);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  text-transform: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nav-cta,
.button.primary {
  background: var(--wine);
  color: var(--paper-2);
  box-shadow: 0 14px 32px rgba(215, 82, 74, 0.22);
}

.button.secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(16, 24, 32, 0.16);
  color: var(--ink);
  box-shadow: none;
}

.whatsapp-button {
  background: transparent;
  border-color: var(--teal);
  color: var(--teal);
  box-shadow: none;
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

[id] {
  scroll-margin-top: 132px;
}

.section,
.section-band {
  padding: clamp(72px, 9vw, 126px) clamp(18px, 4vw, 56px);
}

.publish {
  scroll-margin-top: 150px;
}

.section-band {
  background:
    radial-gradient(circle at top right, rgba(15, 124, 134, 0.12), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, var(--soft-teal) 100%);
}

.hero {
  display: grid;
  min-height: calc(100vh - 112px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(34px, 5vw, 88px);
  align-items: center;
  padding-top: clamp(56px, 8vw, 92px);
}

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

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.94;
}

h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(50px, 7vw, 102px);
}

h1 em {
  color: var(--gold);
  font-style: italic;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 72px);
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
  line-height: 1.2;
}

.hero-intro,
.section-heading p,
.publish-copy p,
.about p {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 38px;
}

.hero-stats {
  display: grid;
  max-width: 720px;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.hero-stats dt {
  font-family: var(--serif);
  font-size: 33px;
  font-weight: 700;
  line-height: 1;
}

.hero-stats dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-visual {
  display: grid;
  min-height: 560px;
  place-items: center;
}

.desk-scene {
  position: relative;
  width: min(100%, 560px);
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 28% 18%, rgba(184, 134, 11, 0.28), transparent 32%),
    radial-gradient(circle at 78% 68%, rgba(15, 124, 134, 0.22), transparent 35%),
    linear-gradient(135deg, #ffffff, var(--soft-teal));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.desk-scene::before {
  position: absolute;
  inset: 34px;
  border: 1px solid rgba(23, 20, 19, 0.12);
  content: "";
}

.manuscript-stack {
  position: absolute;
  top: 72px;
  right: 36px;
  width: 210px;
  height: 270px;
}

.manuscript-stack span {
  position: absolute;
  inset: 0;
  display: block;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(50, 34, 23, 0.16);
}

.manuscript-stack span:nth-child(1) {
  transform: rotate(8deg);
}

.manuscript-stack span:nth-child(2) {
  transform: translate(-16px, 18px) rotate(-4deg);
}

.manuscript-stack span:nth-child(3) {
  transform: translate(-32px, 36px) rotate(2deg);
}

.featured-book {
  position: absolute;
  bottom: 72px;
  left: 54px;
  display: flex;
  width: 255px;
  min-height: 345px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 36%),
    linear-gradient(160deg, #101820, #23635f);
  color: var(--paper-2);
  box-shadow: 18px 26px 50px rgba(23, 20, 19, 0.32);
  transform: rotate(-7deg);
}

.featured-book::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 26px;
  width: 1px;
  background: rgba(255, 250, 241, 0.22);
  content: "";
}

.featured-book h2 {
  margin: 0 0 8px;
  font-size: 39px;
  line-height: 0.92;
}

.featured-book p,
.book-card p {
  margin: 0;
}

.book-label {
  position: absolute;
  top: 24px;
  right: 22px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.book-row {
  position: absolute;
  right: 54px;
  bottom: 56px;
  display: flex;
  gap: 12px;
}

.mini-book {
  width: 42px;
  height: 126px;
  border-radius: 2px;
  box-shadow: 8px 12px 22px rgba(23, 20, 19, 0.22);
}

.mini-book.red {
  background: var(--wine);
}

.mini-book.teal {
  background: var(--teal);
}

.mini-book.ink {
  background: var(--ink);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, var(--ink), var(--moss));
  color: var(--paper-2);
}

.trust-strip span {
  padding: 8px 14px;
  border: 1px solid rgba(255, 250, 241, 0.2);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 800;
}

.soft-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 22px;
  padding: 22px clamp(18px, 4vw, 56px);
  background: linear-gradient(90deg, #ffffff, var(--soft-teal));
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.soft-cta p {
  margin: 0;
}

.soft-cta a {
  color: #b88303;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.section-heading {
  max-width: 860px;
  margin-bottom: clamp(34px, 5vw, 58px);
}

.wide-heading {
  max-width: none;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 24px 18px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.timeline-item,
.book-card,
.lead-form,
.about-panel,
.quote-panel,
.quick-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 40px rgba(16, 24, 32, 0.07);
}

.service-card {
  min-height: 300px;
  padding: 28px;
}

.quick-card {
  min-height: 245px;
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(15, 124, 134, 0.14), transparent 42%),
    rgba(255, 255, 255, 0.84);
}

.quick-card span {
  display: inline-grid;
  width: 52px;
  height: 52px;
  margin-bottom: 56px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper-2);
  font-weight: 900;
}

.service-number {
  display: block;
  margin-bottom: 58px;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 700;
}

.service-card p,
.book-card p,
.process-step p,
.quote-panel p,
.site-footer p {
  color: var(--muted);
}

.process-dark,
.faq-section {
  padding: clamp(72px, 9vw, 126px) clamp(18px, 4vw, 56px);
  background:
    radial-gradient(circle at 10% 12%, rgba(215, 82, 74, 0.14), transparent 28%),
    linear-gradient(135deg, #10262b 0%, #173b3d 52%, #243738 100%);
  color: var(--paper-2);
}

.process-dark .section-heading,
.faq-section .section-heading {
  max-width: 1320px;
}

.process-dark .section-heading p:not(.eyebrow),
.faq-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.process-dark h2,
.faq-section h2 {
  color: var(--paper-2);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: 56px;
}

.process-step {
  position: relative;
  min-height: 310px;
  padding: 36px 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.process-step:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.process-step span {
  display: block;
  margin-bottom: 72px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.process-step h3 {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 27px;
}

.process-step p {
  color: rgba(255, 255, 255, 0.68);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 20px;
}

.testimonials {
  background: linear-gradient(135deg, #ffffff, var(--soft-coral));
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.testimonial-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 18px 18px 28px;
  border-left: 3px solid #b88303;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.interview-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 24px;
  border-radius: 5px;
  object-fit: cover;
  object-position: center;
}

.testimonial-card p {
  color: #2a2926;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.6;
}

.testimonial-card .testimonial-quote {
  font-size: 22px;
  font-style: italic;
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
}

.testimonial-card strong {
  color: var(--ink);
  font-weight: 700;
}

.testimonial-card span {
  color: var(--muted);
  font-size: 14px;
}

.interview-detail {
  margin-top: auto;
}

.interview-detail summary {
  color: var(--teal);
  cursor: pointer;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.interview-detail div {
  display: grid;
  gap: 10px;
  max-height: 520px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(16, 24, 32, 0.12);
  overflow: auto;
}

.interview-detail h4 {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
}

.testimonial-card .interview-detail p {
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.65;
}

.interview-label {
  margin-bottom: 18px;
  color: var(--gold) !important;
  font-size: 12px !important;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.stars {
  margin-bottom: 16px;
  color: #b88303;
  letter-spacing: 0.16em;
}

.plan-card {
  display: flex;
  min-height: 650px;
  flex-direction: column;
  border: 1px solid rgba(184, 134, 11, 0.62);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  overflow: hidden;
}

.featured-plan {
  position: relative;
  border: 2px solid #c28a09;
  background: linear-gradient(180deg, #ffffff, var(--soft-teal));
}

.plan-ribbon {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  min-height: 46px;
  padding: 12px 18px;
  background: #c28a09;
  color: #15110e;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
}

.plan-head {
  position: relative;
  display: flex;
  height: 340px;
  flex-direction: column;
  padding: 32px 24px 104px;
  border-bottom: 1px solid rgba(224, 170, 62, 0.32);
}

.plan-head h3 {
  font-family: var(--serif);
  font-size: clamp(28px, 2.4vw, 36px);
  font-weight: 400;
  line-height: 1.05;
}

.plan-head p {
  color: var(--muted);
}

.plan-head strong {
  position: absolute;
  right: 24px;
  bottom: 28px;
  left: 24px;
  display: block;
  margin: 0;
  color: #b88303;
  font-family: var(--serif);
  font-size: clamp(38px, 3.3vw, 52px);
  font-weight: 400;
  line-height: 1;
}

.featured-plan .plan-head {
  padding-top: 64px;
}

.plan-head span {
  color: var(--muted);
}

.plan-card ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 26px 24px 24px;
  list-style: none;
}

.plan-card li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid rgba(16, 24, 32, 0.08);
  color: #2a2926;
  font-size: 14px;
  font-weight: 700;
}

.plan-card li::before {
  position: absolute;
  left: 0;
  color: #b88303;
  content: "✓";
  font-weight: 900;
}

.plan-button {
  width: calc(100% - 48px);
  margin: auto 24px 28px;
  padding-right: 16px;
  padding-left: 16px;
  justify-content: center;
  align-items: center;
  text-align: center;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.plan-note {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding: 22px 26px;
  border: 1px solid rgba(224, 170, 62, 0.42);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.plan-note strong {
  min-width: max-content;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.plan-note span {
  color: var(--muted);
  font-weight: 700;
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}

.filter-button.active {
  background: var(--ink);
  color: var(--paper-2);
}

.book-card {
  padding: 14px;
  transition: opacity 180ms ease, transform 180ms ease;
}

.book-card.is-hidden {
  display: none;
}

.book-card:hover {
  transform: translateY(-6px);
}

.cover {
  display: flex;
  min-height: 255px;
  align-items: flex-end;
  margin-bottom: 18px;
  padding: 22px;
  border-radius: 6px;
  color: var(--paper-2);
  box-shadow: inset 18px 0 0 rgba(0, 0, 0, 0.12);
}

.cover span {
  max-width: 150px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  line-height: 0.95;
}

.real-cover {
  display: grid;
  min-height: auto;
  width: 100%;
  max-width: 230px;
  aspect-ratio: 2 / 3;
  place-items: center;
  margin-inline: auto;
  padding: 0;
  background:
    linear-gradient(135deg, rgba(16, 24, 32, 0.08), rgba(15, 124, 134, 0.12)),
    #ffffff;
  box-shadow: 0 18px 42px rgba(16, 24, 32, 0.16);
  overflow: hidden;
}

.real-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.book-link {
  display: inline-flex;
  width: max-content;
  margin-top: 16px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.book-link.disabled {
  color: var(--muted);
  cursor: default;
}

.cover-a {
  background: linear-gradient(160deg, #d7524a, #101820);
}

.cover-b {
  background: linear-gradient(160deg, #0f7c86, #102a35);
}

.cover-c {
  background: linear-gradient(160deg, var(--gold), #4b3d13);
}

.cover-d {
  background: linear-gradient(160deg, var(--ink), var(--moss));
}

.cover-e {
  background: linear-gradient(160deg, #23635f, #101820);
}

.cover-f {
  background: linear-gradient(160deg, var(--wine), var(--gold));
}

.cover-g {
  background: linear-gradient(160deg, var(--teal), var(--ink));
}

.cover-h {
  background: linear-gradient(160deg, var(--wine), var(--ink));
}

.cover-i {
  background: linear-gradient(160deg, var(--moss), var(--gold));
}

.cover-j {
  background: linear-gradient(160deg, var(--wine), #4a2320);
}

.cover-k {
  background: linear-gradient(160deg, var(--soft-teal), var(--teal));
  color: var(--ink);
}

.cover-l {
  background: linear-gradient(160deg, var(--teal), var(--ink));
}

.cover-m {
  background: linear-gradient(160deg, var(--gold), var(--wine));
}

.cover-n {
  background: linear-gradient(160deg, #101820, #0f7c86);
}

.cover-o {
  background: linear-gradient(160deg, var(--soft-teal), var(--moss));
}

.cover-p {
  background: linear-gradient(160deg, var(--ink), var(--gold));
}

.cover-q {
  background: linear-gradient(160deg, var(--gold), var(--wine));
  color: var(--ink);
}

.book-card h3 {
  margin-bottom: 4px;
}

.about {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 18px;
  align-items: stretch;
}

.about-panel,
.quote-panel {
  padding: clamp(28px, 5vw, 54px);
}

.about-panel > p {
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.72;
}

.quote-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, var(--ink), var(--moss));
  color: var(--paper-2);
}

blockquote {
  margin: 0 0 36px;
  font-family: var(--serif);
  font-size: clamp(35px, 4vw, 58px);
  font-weight: 700;
  line-height: 0.96;
}

.publish {
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.publish-split {
  background: linear-gradient(135deg, var(--soft-coral), var(--soft-teal));
  border-top: 1px solid rgba(224, 170, 62, 0.28);
}

.publish-split .publish-copy {
  position: sticky;
  top: 132px;
}

.publish-copy h2 {
  max-width: 620px;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.05;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 42px 0 0;
  padding: 30px;
  border: 1px solid rgba(224, 170, 62, 0.46);
  background: rgba(255, 255, 255, 0.62);
  list-style: none;
}

.check-list::before {
  color: var(--ink);
  content: "¿Qué pasa después de enviar el formulario?";
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  font-weight: 800;
}

.check-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 2px;
  background: var(--moss);
  color: var(--paper-2);
  content: "✓";
  font-size: 13px;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border-color: rgba(224, 170, 62, 0.46);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
}

.lead-form label,
.field {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field.full,
.form-actions,
.form-note {
  grid-column: 1 / -1;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-color: rgba(224, 170, 62, 0.48);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  outline: none;
}

.lead-form input,
.lead-form select {
  min-height: 52px;
  padding: 0 14px;
}

.lead-form textarea {
  resize: vertical;
  padding: 14px;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: #b88303;
  box-shadow: 0 0 0 4px rgba(184, 131, 3, 0.1);
}

.faq-list {
  max-width: 1180px;
  margin-left: auto;
}

.faq-list details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.faq-list summary {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--paper-2);
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 400;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  color: var(--gold);
  content: "+";
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  max-width: 960px;
  margin: -8px 0 34px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 20px;
}

.form-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.55fr);
  gap: 12px;
}

.form-button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.form-success {
  align-self: start;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(224, 170, 62, 0.46);
  background: rgba(255, 255, 255, 0.74);
  text-align: center;
}

.success-icon {
  margin-bottom: 18px;
  font-size: 42px;
}

.form-success h3 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
}

.form-success p {
  color: var(--muted);
}

.success-steps {
  display: grid;
  gap: 12px;
  margin-top: 26px;
  text-align: left;
}

.success-steps span {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.success-steps span::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #b88303;
  content: "";
}

.site-footer {
  display: grid;
  grid-template-columns: 0.72fr 1fr 0.8fr;
  gap: 24px;
  align-items: center;
  padding: 38px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-weight: 800;
}

.footer-legal {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.footer-legal p {
  max-width: 980px;
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}

.footer-legal details {
  max-width: 980px;
}

.footer-legal summary {
  width: max-content;
  color: var(--teal);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-legal details p {
  margin-top: 10px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .hero,
  .publish,
  .about {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 500px;
  }

  .service-grid,
  .book-grid,
  .quick-grid,
  .process-steps,
  .plans-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-plan {
    transform: none;
  }
}

@media (max-width: 780px) {
  .announcement-bar {
    position: static;
    display: grid;
    gap: 4px;
    min-height: auto;
  }

  .site-header {
    top: 0;
  }

  [id],
  .publish {
    scroll-margin-top: 92px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 14px 18px 22px;
    background: var(--paper-2);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    transition: transform 180ms ease;
  }

  .site-nav.open {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 0;
  }

  .nav-cta {
    margin-top: 8px;
  }

  .hero-stats,
  .service-grid,
  .book-grid,
  .quick-grid,
  .process-steps,
  .plans-grid,
  .testimonial-grid,
  .site-footer,
  .lead-form,
  .form-actions {
    grid-template-columns: 1fr;
  }

  .plan-note {
    display: grid;
    gap: 8px;
  }

  .process-step,
  .process-step:last-child {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(224, 170, 62, 0.22);
  }

  .process-step span {
    margin-bottom: 28px;
  }

  .plan-card {
    min-height: auto;
  }

  .publish-split .publish-copy {
    position: static;
  }

  .hero-visual {
    min-height: 420px;
  }

  .desk-scene {
    min-height: 420px;
  }

  .manuscript-stack {
    top: 46px;
    right: 26px;
    width: 160px;
    height: 210px;
  }

  .featured-book {
    bottom: 42px;
    left: 36px;
    width: 210px;
    min-height: 285px;
  }

  .featured-book h2 {
    font-size: 32px;
  }

  .book-row {
    display: none;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Tipografía unificada */
h1 {
  font-size: clamp(48px, 6vw, 88px);
}

h2 {
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1;
}

h3 {
  font-size: 21px;
  line-height: 1.22;
}

.hero-intro,
.section-heading p,
.publish-copy p,
.about p {
  font-size: clamp(16px, 1.5vw, 19px);
}

.process-step h3,
.plan-head h3 {
  font-size: clamp(24px, 2.2vw, 30px);
}

.plan-head strong {
  font-size: clamp(34px, 3vw, 44px);
}

blockquote {
  font-size: clamp(30px, 3.2vw, 44px);
}

.faq-list summary {
  font-size: clamp(22px, 2vw, 28px);
}

.faq-list p {
  font-size: 18px;
}

/* Portadas más grandes */
.book-grid {
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 32px 24px;
}

.book-card {
  padding: 18px;
}

.real-cover {
  max-width: 345px;
}

@media (max-width: 720px) {
  .book-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 14px;
  }

  .book-card {
    padding: 12px;
  }

  .real-cover {
    max-width: 165px;
  }
}

/* Animaciones suaves */
.reveal {
  transform: translateY(28px);
  transition: opacity 780ms ease, transform 780ms ease;
}

.quick-card.reveal:nth-child(2),
.book-card.reveal:nth-child(2),
.process-step.reveal:nth-child(2),
.plan-card.reveal:nth-child(2),
.testimonial-card.reveal:nth-child(2) {
  transition-delay: 80ms;
}

.quick-card.reveal:nth-child(3),
.book-card.reveal:nth-child(3),
.process-step.reveal:nth-child(3),
.plan-card.reveal:nth-child(3),
.testimonial-card.reveal:nth-child(3) {
  transition-delay: 150ms;
}

.quick-card.reveal:nth-child(4),
.book-card.reveal:nth-child(4),
.process-step.reveal:nth-child(4),
.plan-card.reveal:nth-child(4),
.testimonial-card.reveal:nth-child(4) {
  transition-delay: 220ms;
}

.featured-book {
  animation: hero-book-float 7s ease-in-out infinite;
}

.manuscript-stack {
  animation: hero-paper-float 8s ease-in-out infinite reverse;
}

.book-card:hover .real-cover {
  transform: translateY(-10px) rotate(-1deg);
  box-shadow: 0 28px 64px rgba(16, 24, 32, 0.24);
}

.book-card:hover h3 {
  color: var(--teal);
}

.faq-list details {
  transition: border-color 220ms ease;
}

.faq-list details[open] {
  border-color: rgba(224, 170, 62, 0.55);
}

.faq-list summary {
  transition: color 220ms ease;
}

.faq-list summary:hover {
  color: var(--gold);
}

.faq-list p {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 260ms ease, transform 260ms ease;
}

.faq-list details[open] p {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-book-float {
  0%, 100% {
    transform: translateY(0) rotate(-7deg);
  }

  50% {
    transform: translateY(-12px) rotate(-6deg);
  }
}

@keyframes hero-paper-float {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .featured-book,
  .manuscript-stack,
  .real-cover,
  .faq-list p {
    animation: none !important;
    transition: none !important;
  }
}

/* Tarjetas centradas de Para quién es Combray */
.quick-grid {
  max-width: 1120px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-inline: auto;
}

.quick-card {
  text-align: center;
}

.quick-card span {
  margin-inline: auto;
}

@media (max-width: 1040px) {
  .quick-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .quick-grid {
    grid-template-columns: 1fr;
  }
}

/* Texto ampliado de Para quién es Combray */
.section-long-copy {
  max-width: none !important;
  margin-top: 22px;
  color: var(--ink) !important;
  font-size: clamp(16px, 1.35vw, 18px) !important;
  line-height: 1.8;
}

/* Recuadro editorial destacado */
.editorial-highlight {
  position: relative;
  width: 100%;
  max-width: none !important;
  margin-top: 28px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(184, 134, 11, 0.28);
  border-left: 6px solid var(--gold);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(242, 234, 214, 0.74));
  box-shadow: 0 18px 52px rgba(16, 24, 32, 0.09);
}

.editorial-highlight::before {
  position: absolute;
  top: 18px;
  right: 24px;
  color: rgba(184, 134, 11, 0.18);
  content: "“";
  font-family: var(--serif);
  font-size: clamp(72px, 9vw, 130px);
  line-height: 0.8;
}

.editorial-highlight p {
  position: relative;
  max-width: 1180px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.78;
}

.editorial-highlight p + p {
  margin-top: 16px;
}

.editorial-highlight .highlight-lead {
  max-width: 980px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.08;
}

/* Logo visible en header */
.site-header .brand {
  height: auto;
  width: 148px;
  overflow: visible;
}

.site-header .brand-logo:not(.footer-logo) {
  max-width: none;
  object-fit: contain;
  transform: none;
}

/* Legibilidad del cierre en Nosotros */
.quote-panel p {
  max-width: 420px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 700;
  line-height: 1.45;
}

/* Enlaces de barra superior */
.announcement-bar a {
  color: inherit;
  text-decoration: none;
}

.announcement-bar a:hover {
  color: var(--gold);
}

/* Símbolo editorial entre cita y regalías */
.quote-mark {
  display: block;
  width: min(360px, 92%);
  margin: 8px auto 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
  opacity: 0.98;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 64%, rgba(0,0,0,.82) 82%, transparent 100%);
  mask-image: radial-gradient(ellipse at center, #000 64%, rgba(0,0,0,.82) 82%, transparent 100%);
}

/* Números más visibles en proceso */
.process-step span {
  font-size: clamp(30px, 3.4vw, 48px);
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

/* Recuadro editorial más ancho y sin comilla decorativa */
.editorial-highlight {
  width: 100%;
  max-width: none !important;
  margin-right: auto;
  margin-left: auto;
}

.editorial-highlight p {
  max-width: 1180px;
}

/* Cierre dentro del recuadro editorial */
.editorial-highlight .highlight-close {
  display: inline-block;
  text-decoration: none;
  margin-top: 24px;
  padding: 14px 18px;
  border: 1px solid rgba(184, 134, 11, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  font-weight: 900;
  line-height: 1.25;
}

.editorial-highlight .highlight-close:hover {
  border-color: var(--gold);
  background: var(--ink);
  color: var(--paper-2);
}



/* Imagen principal del inicio */
.hero-main-image {
  display: block;
  width: min(100%, 560px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

@media (max-width: 760px) {
  .hero-main-image {
    width: min(100%, 420px);
  }
}


/* Logo limpio en footer */
.footer-brand {
  width: 180px;
  height: auto;
  overflow: visible;
}

.footer-logo {
  width: 172px;
  height: 84px;
  object-fit: contain;
  transform: none;
}


/* Animación sutil del logo */
.brand {
  transform-origin: center;
  animation: logoFloat 5.5s ease-in-out infinite;
}

.footer-brand {
  animation-delay: 1.2s;
}

.brand-logo {
  animation: none;
}

@keyframes logoFloat {
  0%, 100% {
    filter: drop-shadow(0 0 0 rgba(184, 134, 11, 0));
    transform: translateY(0);
  }

  50% {
    filter: drop-shadow(0 8px 12px rgba(184, 134, 11, 0.22));
    transform: translateY(-3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand {
    animation: none;
  }
}


/* Ajustes móviles finales */
@media (max-width: 780px) {
  .announcement-bar {
    padding: 10px 12px;
    font-size: 11px;
    line-height: 1.35;
  }

  .site-header {
    min-height: 82px;
    padding: 12px 22px;
  }

  .site-header .brand {
    width: 132px;
  }

  .brand-logo {
    width: 128px;
    height: 62px;
  }

  .site-nav {
    top: 82px;
    max-height: calc(100vh - 82px);
    overflow-y: auto;
    padding: 14px 22px 28px;
  }

  .site-nav a {
    width: 100%;
    box-sizing: border-box;
  }

  .nav-cta {
    min-height: 52px;
    margin-top: 10px;
    padding: 0 18px;
    text-align: center;
    white-space: normal;
  }

  .hero {
    padding-top: 48px;
    padding-bottom: 72px;
  }

  h1 {
    font-size: clamp(48px, 14vw, 66px);
    line-height: 0.98;
  }

  .hero-intro {
    font-size: 18px;
    line-height: 1.62;
  }

  .hero-actions {
    display: grid;
    gap: 12px;
    margin-bottom: 34px;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 54px;
    padding-right: 18px;
    padding-left: 18px;
    text-align: center;
  }
}


.hidden-field {
  display: none;
}


/* Franja móvil sin texto */
@media (max-width: 780px) {
  .announcement-bar {
    min-height: 64px;
    padding: 0;
  }

  .announcement-bar a {
    display: none;
  }
}


.form-contact-links {
  grid-column: 2;
  margin-top: -6px;
  padding: 0 clamp(22px, 4vw, 34px);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.form-contact-links a {
  color: #b88303;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 1040px) {
  .form-contact-links {
    grid-column: 1;
  }
}


/* Página de gracias */
.thanks-page {
  min-height: 100vh;
  background: var(--paper);
}

.thanks-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: clamp(28px, 6vw, 72px);
}

.thanks-card {
  width: min(100%, 760px);
  padding: clamp(34px, 6vw, 68px);
  border: 1px solid rgba(224, 170, 62, 0.38);
  border-left: 6px solid var(--gold);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  text-align: center;
}

.thanks-logo {
  width: 150px;
  height: auto;
  margin: 0 auto 24px;
  object-fit: contain;
}

.thanks-card h1 {
  margin-bottom: 18px;
  font-size: clamp(54px, 9vw, 96px);
}

.thanks-card p:not(.eyebrow) {
  max-width: 560px;
  margin-right: auto;
  margin-bottom: 30px;
  margin-left: auto;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}


/* Ajuste fino móvil: compactar todo excepto el formulario */
@media (max-width: 780px) {
  .section,
  .section-band {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .hero {
    padding-top: 38px;
    padding-bottom: 58px;
  }

  h1 {
    font-size: clamp(42px, 12.5vw, 58px);
    line-height: 1;
  }

  h2 {
    font-size: clamp(30px, 8.6vw, 42px);
    line-height: 1.03;
  }

  .publish-copy h2 {
    font-size: clamp(27px, 7.6vw, 36px);
  }

  h3 {
    font-size: 19px;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .hero-intro,
  .section-heading p,
  .publish-copy p,
  .about p,
  .quick-card p,
  .process-step p,
  .testimonial-card p,
  .faq-list p,
  .footer-about p {
    font-size: 15.5px;
    line-height: 1.58;
  }

  .button:not(.form-button):not(.whatsapp-button) {
    min-height: 48px;
    padding-right: 16px;
    padding-left: 16px;
    font-size: 13px;
  }

  .hero-actions .button {
    min-height: 50px;
  }

  .quick-card,
  .testimonial-card,
  .about-panel,
  .quote-panel {
    padding: 24px;
  }

  .process-step {
    padding: 26px 18px;
  }

  .process-step span {
    font-size: 54px;
  }

  .plan-head {
    height: 292px;
    padding: 28px 22px 90px;
  }

  .featured-plan .plan-head {
    padding-top: 58px;
  }

  .plan-head h3 {
    font-size: 28px;
  }

  .plan-head p,
  .plan-card li {
    font-size: 13.5px;
  }

  .plan-head strong {
    font-size: clamp(32px, 9vw, 42px);
  }

  .plan-card ul {
    padding: 22px 22px 22px;
  }

  .plan-button {
    width: calc(100% - 44px);
    margin-right: 22px;
    margin-left: 22px;
  }

  .plan-note {
    padding: 18px 20px;
    font-size: 14px;
  }

  .faq-list summary {
    font-size: 17px;
  }

  .lead-form,
  .lead-form label,
  .lead-form input,
  .lead-form select,
  .lead-form textarea,
  .form-actions .button {
    font-size: inherit;
  }
}


.book-card a.cover {
  color: inherit;
  text-decoration: none;
}

.book-card a.cover:focus-visible {
  outline: 3px solid rgba(184, 134, 11, 0.55);
  outline-offset: 6px;
}


.announcement-bar::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(242, 234, 214, 0.26), transparent);
  content: "";
  opacity: 0.55;
}


@media (max-width: 780px) {
  .interview-image {
    width: min(72%, 230px);
    margin-right: auto;
    margin-left: auto;
  }
}


/* Portadas del catalogo: misma caja, imagen completa */
.catalog-section .real-cover {
  display: grid;
  width: 100%;
  max-width: 345px;
  aspect-ratio: 2 / 3;
  place-items: center;
  padding: 14px;
  overflow: visible;
}

.catalog-section .real-cover img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 92%;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 720px) {
  .catalog-section .real-cover {
    max-width: 165px;
    padding: 8px;
  }
}


/* Refuerzos finales para móvil */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
svg,
video {
  max-width: 100%;
}

@media (max-width: 780px) {
  .section,
  .section-band {
    overflow-x: clip;
  }

  .site-header,
  .site-nav,
  .hero,
  .section,
  .section-band,
  .site-footer {
    width: 100%;
    max-width: 100%;
  }

  .catalog-filters {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .filter-button {
    flex: 0 0 auto;
  }

  .faq-list summary,
  .button,
  .nav-cta,
  .filter-button {
    min-height: 44px;
  }

  .lead-form input,
  .lead-form select,
  .lead-form textarea {
    font-size: 16px;
  }
}


/* Boton flotante de conversion */
.floating-cta {
  position: fixed;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 19;
  min-width: 178px;
  box-shadow: 0 18px 42px rgba(215, 82, 74, 0.32);
}

.floating-cta.is-muted {
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
}

@media (max-width: 780px) {
  .floating-cta {
    right: 18px;
    bottom: 14px;
    left: 18px;
    width: auto;
    min-height: 50px;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-cta,
  .floating-cta.is-muted {
    transition: none;
  }
}
