:root {
  --cream: #fbf4e8;
  --cream-deep: #f1dfc7;
  --paper: #fffaf2;
  --terracotta: #b96942;
  --terracotta-dark: #7f3e28;
  --sage: #8ca596;
  --teal: #476f69;
  --teal-dark: #244c48;
  --ink: #2b2924;
  --muted: #716b60;
  --line: rgba(69, 54, 40, 0.16);
  --shadow: 0 24px 70px rgba(65, 42, 25, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

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

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

[hidden] {
  display: none !important;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(255, 250, 242, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--teal);
  color: var(--cream);
}

.brand-mark svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.nav a,
.header-cta {
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--teal-dark);
  font-size: 0.92rem;
  font-weight: 650;
}

.nav a:hover {
  background: rgba(140, 165, 150, 0.18);
}

.header-cta {
  justify-self: end;
  background: var(--teal-dark);
  color: white;
  box-shadow: 0 10px 22px rgba(36, 76, 72, 0.18);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 132px clamp(18px, 5vw, 72px) 72px;
  isolation: isolate;
}

.hero img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero img {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(43, 41, 36, 0.78) 0%, rgba(43, 41, 36, 0.48) 42%, rgba(43, 41, 36, 0.1) 72%),
    linear-gradient(0deg, rgba(43, 41, 36, 0.66), rgba(43, 41, 36, 0.04) 48%);
}

.hero-content {
  width: min(720px, 100%);
  color: white;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f4cfa5;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 6.7rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 9px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions,
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 760;
  text-align: center;
}

.button.primary {
  background: var(--terracotta);
  color: white;
  box-shadow: 0 18px 32px rgba(127, 62, 40, 0.28);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.48);
  color: white;
}

.button.full {
  width: 100%;
}

.trust-strip {
  margin-top: 28px;
}

.trust-strip span {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
}

.section,
.section-band,
.contact-section {
  padding: clamp(72px, 9vw, 124px) clamp(18px, 5vw, 72px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-band {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.intro-grid,
.two-column,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: start;
}

.intro p,
.section-copy,
.contact-section p {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

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

.audience-card,
.price-card,
.list-panel,
.steps article,
blockquote,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.82);
  box-shadow: 0 10px 30px rgba(80, 54, 32, 0.07);
}

.audience-card,
.price-card,
.steps article,
blockquote,
.contact-card {
  padding: 24px;
}

.card-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 50%;
  background: rgba(185, 105, 66, 0.14);
  color: var(--terracotta-dark);
  font-weight: 800;
}

.audience-card p,
.price-card p,
.steps p,
blockquote p {
  color: var(--muted);
}

.warm {
  background: linear-gradient(180deg, var(--paper), var(--cream));
}

.sage {
  background: #e7eee7;
}

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

.list-panel {
  padding: 24px 24px 18px;
}

.list-panel h3 {
  display: inline-flex;
  margin-bottom: 16px;
  border-bottom: 3px solid rgba(71, 111, 105, 0.24);
  padding-bottom: 4px;
}

.list-panel.no h3 {
  border-color: rgba(185, 105, 66, 0.25);
}

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

li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 26px;
  color: var(--muted);
}

li::before {
  position: absolute;
  top: 0.1em;
  left: 0;
  color: var(--teal);
  font-weight: 900;
  content: "+";
}

.list-panel.no li::before {
  color: var(--terracotta);
  content: "-";
}

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

.steps span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  font-weight: 800;
}

.price-card {
  min-height: 260px;
}

.price-card.featured {
  background: var(--teal-dark);
  color: white;
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.price-card.featured p {
  color: rgba(255, 255, 255, 0.78);
}

.price {
  margin: 8px 0 18px;
  color: var(--terracotta-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.featured .price {
  color: #f4cfa5;
}

.tag {
  display: inline-flex;
  margin-bottom: 18px;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.pricing-note {
  max-width: 780px;
  margin: 22px auto 0;
  color: var(--muted);
  text-align: center;
}

.proof {
  background: var(--paper);
}

.quote-grid {
  display: grid;
  gap: 18px;
}

blockquote {
  margin: 0;
}

blockquote p {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.24;
}

cite {
  color: var(--teal-dark);
  font-size: 0.92rem;
  font-style: normal;
  font-weight: 760;
}

.contact-section {
  background:
    linear-gradient(rgba(36, 76, 72, 0.92), rgba(36, 76, 72, 0.92)),
    url("assets/hero-acompana.png") center / cover;
  color: white;
}

.contact-section .eyebrow {
  color: #f4cfa5;
}

.contact-section p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-card {
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.contact-card p {
  color: var(--muted);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.contact-form label {
  display: grid;
  gap: 7px;
}

.contact-form span {
  color: var(--teal-dark);
  font-size: 0.9rem;
  font-weight: 760;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(69, 54, 40, 0.22);
  border-radius: 8px;
  padding: 12px 13px;
  background: #fffefa;
  color: var(--ink);
  font: inherit;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(71, 111, 105, 0.16);
}

.contact-form [aria-invalid="true"] {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(185, 105, 66, 0.14);
}

.contact-form small {
  min-height: 1.05rem;
  color: var(--terracotta-dark);
  font-size: 0.78rem;
}

.form-wide {
  grid-column: 1 / -1;
}

.consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 0.18rem;
  accent-color: var(--teal);
}

.consent span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 560;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  min-height: 1.4rem;
  margin: 0;
  font-size: 0.94rem;
  font-weight: 700;
}

.form-status[data-state="success"] {
  color: var(--teal-dark);
}

.form-status[data-state="error"] {
  color: var(--terracotta-dark);
}

.form-status[data-state="info"] {
  color: var(--muted);
}

.contact-card .button.secondary {
  border-color: rgba(71, 111, 105, 0.24);
  color: var(--teal-dark);
}

.microcopy {
  margin: 18px 0 0;
  text-align: center;
  font-size: 0.95rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer p {
  margin-bottom: 0;
}

.footer a {
  color: var(--teal-dark);
  font-weight: 760;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .intro-grid,
  .two-column,
  .contact-grid,
  .audience-grid,
  .pricing-grid,
  .steps,
  .check-lists {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }

  .hero {
    min-height: 86vh;
    padding-top: 120px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand small {
    display: none;
  }

  .header-cta {
    padding: 9px 11px;
    font-size: 0.84rem;
  }

  .hero {
    min-height: 84vh;
    padding: 112px 18px 44px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(43, 41, 36, 0.84), rgba(43, 41, 36, 0.58)),
      linear-gradient(0deg, rgba(43, 41, 36, 0.64), rgba(43, 41, 36, 0.04) 50%);
  }

  .button {
    width: 100%;
  }

  .trust-strip span {
    flex: 1 1 calc(50% - 12px);
    text-align: center;
  }

  .audience-card,
  .price-card,
  .steps article,
  blockquote,
  .contact-card,
  .list-panel {
    padding: 20px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .footer {
    display: grid;
  }
}

/* Fase 1 Supabase: acompañantes y solicitud avanzada */
.companions-section {
  background: var(--paper);
}

.companions-notice {
  margin: -10px 0 22px;
  border: 1px solid rgba(185, 105, 66, 0.24);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(185, 105, 66, 0.08);
  color: var(--terracotta-dark);
  font-weight: 720;
}

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

.companions-grid.is-single {
  grid-template-columns: minmax(0, 760px);
}

.companion-card {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 250, 242, 0.88);
  box-shadow: 0 10px 30px rgba(80, 54, 32, 0.07);
}

.companion-card.is-example {
  border-style: dashed;
}

.companions-grid.is-single .companion-card {
  background: linear-gradient(135deg, rgba(255, 250, 242, 0.94), rgba(231, 238, 231, 0.82));
}

.companion-media {
  display: grid;
  width: 118px;
  height: 118px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
  font-weight: 760;
}

.companion-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.companion-title {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: baseline;
  justify-content: space-between;
}

.companion-title span {
  color: var(--terracotta-dark);
  font-weight: 800;
}

.companion-body p {
  color: var(--muted);
}

.companion-tags {
  margin: 14px 0;
}

.companion-tags strong {
  display: block;
  margin-bottom: 7px;
  color: var(--teal-dark);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.companion-tags div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.companion-tags span {
  border: 1px solid rgba(71, 111, 105, 0.2);
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(140, 165, 150, 0.14);
  color: var(--teal-dark);
  font-size: 0.84rem;
  font-weight: 700;
}

.advanced-request-form fieldset {
  min-width: 0;
  margin: 0;
  border: 1px solid rgba(69, 54, 40, 0.15);
  border-radius: 8px;
  padding: 18px;
}

.advanced-request-form legend {
  padding: 0 8px;
  color: var(--teal-dark);
  font-weight: 820;
}

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

.compact-check {
  margin-top: 4px;
}

.field-hint {
  margin-top: -4px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.price-estimate {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(71, 111, 105, 0.2);
  border-radius: 8px;
  padding: 16px;
  background: rgba(140, 165, 150, 0.14);
}

.price-estimate strong {
  color: var(--teal-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  line-height: 1.1;
}

.price-estimate span {
  color: var(--terracotta-dark);
  font-weight: 800;
}

.price-estimate p,
.service-limits {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.service-limits {
  border-left: 4px solid var(--terracotta);
  padding: 10px 0 10px 14px;
}

@media (max-width: 920px) {
  .companions-grid,
  .companion-card,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .companion-media {
    width: 96px;
    height: 96px;
  }
}

@media (max-width: 560px) {
  .advanced-request-form fieldset {
    padding: 14px;
  }

  .price-estimate strong {
    font-size: 1.45rem;
  }
}
