:root {
  --color-primary: #e9c46a;
  --color-secondary: #e76f51;
  --color-accent: #606c38;
  --bg-light: #fdfcf8;
  --bg-dark: #2b2d26;
  --text-primary: #1d1d1d;
  --text-secondary: #f4f1ea;
  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Inter", "Helvetica Neue", sans-serif;
  --border-radius-soft: 16px;
  --border-radius-pill: 50px;
  --container-max: 1200px;
  --section-padding: 5rem;
  --shadow-soft: 0 8px 32px rgba(43, 45, 38, 0.08);
  --shadow-elevated: 0 16px 48px rgba(43, 45, 38, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  letter-spacing: 0.03em;
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--bg-light);
}

@media (max-width: 639px) {
  body.has-sticky-cta {
    padding-bottom: 5.5rem;
  }
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.container-custom {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 768px) {
  .container-custom {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.section-padding {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

@media (max-width: 639px) {
  .section-padding {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}

/* Editorial labels — estilo Cala */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

.heading-accent {
  color: var(--color-secondary);
  font-style: italic;
}

/* Navbar */
#navbar {
  transition: background-color 0.35s ease, box-shadow 0.35s ease,
    backdrop-filter 0.35s ease;
}

#navbar.nav-scrolled {
  background-color: rgba(253, 252, 248, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(43, 45, 38, 0.06);
}

.brand-mark {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--color-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  border-radius: var(--border-radius-pill);
  padding: 1rem 2rem;
  min-height: 3.25rem;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease,
    box-shadow 0.3s ease;
  text-decoration: none;
  border: none;
  cursor: pointer;
  text-align: center;
  width: 100%;
  max-width: 100%;
  box-shadow: var(--shadow-soft);
}

@media (min-width: 640px) {
  .btn-primary {
    width: auto;
    min-width: 300px;
    font-size: 0.75rem;
  }
}

.btn-primary:hover {
  background-color: var(--color-secondary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
}

.btn-dark {
  background-color: var(--bg-dark);
  color: var(--text-secondary);
}

.btn-dark:hover {
  background-color: var(--color-secondary);
  color: #fff;
}

/* Cards */
.card-menu {
  background: #fff;
  border-radius: var(--border-radius-soft);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  border: 1px solid rgba(43, 45, 38, 0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card-menu:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}

.card-sunburst {
  position: relative;
  background: #fff;
  border-radius: var(--border-radius-soft);
  padding: 1.75rem;
  overflow: hidden;
  border: 1px solid rgba(43, 45, 38, 0.05);
  box-shadow: var(--shadow-soft);
}

.card-sunburst::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -30%;
  width: 140px;
  height: 140px;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(233, 196, 106, 0.35) 0deg 10deg,
    transparent 10deg 20deg
  );
  border-radius: 50%;
  opacity: 0.6;
  pointer-events: none;
}

.badge-promo {
  background-color: var(--color-secondary);
  color: #fff;
  border-radius: 4px;
  padding: 0.3rem 0.85rem;
  font-weight: 700;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Images */
.img-warm {
  border-radius: var(--border-radius-soft);
  filter: saturate(108%) contrast(1.02);
  transition: transform 0.45s ease;
  width: 100%;
  height: auto;
  display: block;
}

.img-frame {
  position: relative;
  border-radius: var(--border-radius-soft);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
}

.img-frame::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 72%;
  height: 72%;
  right: -8%;
  bottom: -8%;
  background: var(--color-primary);
  border-radius: 50%;
  opacity: 0.55;
}

.img-frame img {
  position: relative;
  z-index: 1;
}

.img-frame:hover .img-warm {
  transform: scale(1.02);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Hero — editorial Cala */
.hero-section {
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.hero-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(233, 196, 106, 0.5) 50%,
    transparent
  );
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  line-height: 1.12;
}

/* Dark editorial band */
.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-secondary);
}

.section-dark .section-label {
  color: var(--color-primary);
}

/* Interstitial quote */
.editorial-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
  line-height: 1.45;
  color: var(--text-primary);
}

.editorial-quote .sun-deco {
  color: var(--color-primary);
  font-size: 1.25rem;
  margin: 0 0.35rem;
}

/* Pain */
.pain-item {
  position: relative;
  z-index: 1;
}

/* Pricing */
.pricing-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  min-width: 280px;
  border-radius: var(--border-radius-soft);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.pricing-table th,
.pricing-table td {
  padding: 1rem 1.25rem;
  text-align: left;
}

.pricing-table thead {
  background-color: var(--bg-dark);
  color: var(--text-secondary);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pricing-table tbody tr {
  background: #fff;
  border-bottom: 1px solid rgba(43, 45, 38, 0.06);
}

.pricing-table tbody tr:last-child {
  background: rgba(233, 196, 106, 0.25);
  font-weight: 700;
}

.price-strike {
  text-decoration: line-through;
  color: #7a7a7a;
  font-size: 1.1rem;
}

.price-highlight {
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 10vw, 4rem);
  color: var(--color-secondary);
  line-height: 1;
}

/* FAQ */
.faq-item {
  border-radius: var(--border-radius-soft);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(43, 45, 38, 0.05);
}

.faq-item button {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: background-color 0.2s ease;
}

.faq-item button:hover {
  background: rgba(233, 196, 106, 0.12);
}

.faq-item button[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.35s ease;
  padding: 0 1.5rem;
  background: #fff;
}

.faq-panel.open {
  max-height: 400px;
  padding: 0 1.5rem 1.25rem;
}

.faq-icon {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--color-secondary);
  transition: transform 0.25s ease;
  background: rgba(231, 111, 81, 0.1);
  border-radius: 50%;
}

/* Footer Cala-style gold */
.footer-gold {
  background-color: var(--color-primary);
  color: var(--text-primary);
  padding: 2.5rem 0;
}

.footer-gold a {
  color: var(--text-primary);
  text-decoration: none;
  opacity: 0.85;
}

.footer-gold a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Sticky CTA */
.sticky-cta {
  transform: translateY(100%);
  transition: transform 0.35s ease;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.sticky-cta.show {
  transform: translateY(0);
}

/* Check list */
.check-list li {
  padding-left: 0.25rem;
}

.check-list li::before {
  content: "✦";
  color: var(--color-primary);
  font-weight: 700;
  margin-right: 0.6rem;
}

.section-dark .check-list li::before {
  color: var(--color-primary);
}

/* Solution mockup spotlight */
.mockup-spotlight {
  position: relative;
}

.mockup-spotlight::after {
  content: "";
  position: absolute;
  inset: 8% 5% auto auto;
  width: 45%;
  height: 45%;
  background: radial-gradient(
    circle,
    rgba(233, 196, 106, 0.4) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.mockup-spotlight img {
  position: relative;
  z-index: 1;
}
