/* =============================================================
   CparraStudio — Editorial Luxe Design System
   Carelis Parra · West Jordan, Utah · @cparrastudio
   ============================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Palette — Carelis brand manual (May 2026): minimalist B&W + bronze gold */
  --cream: #F5EFE6;
  --surface: #FFFFFF;
  --ink: #1A1410;
  --ink-soft: #4A3F38;
  --ink-faded: #8A7D72;
  /* Brand primary: ahora dorado (antes #1A1410 marrón profundo).
     Mantenemos el nombre --terracotta por compatibilidad con el resto del CSS. */
  --terracotta: #B8985C;       /* gold — usado como bg de botones y accents */
  --terracotta-deep: #8B7340;  /* gold deep — hover state, antes #000 */
  --terracotta-light: #C9A86C; /* gold claro — antes #3A2A20 */
  --gold: #B8985C;             /* bronze gold from Carelis palette */
  --gold-deep: #8B7340;
  --champagne: #E8DCC8;
  --champagne-deep: #D9C8AC;
  --mocha: #1A1410;            /* deep warm black — text/dark contexts (sin cambio) */
  --rose-blush: #E8C4B0;
  --hairline: rgba(26, 20, 16, 0.08);
  --hairline-strong: rgba(26, 20, 16, 0.16);

  /* Type */
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-script: "Italianno", "Dancing Script", cursive;

  /* Scale (modular, 1.25) */
  --fs-12: 0.75rem;
  --fs-14: 0.875rem;
  --fs-16: 1rem;
  --fs-18: 1.125rem;
  --fs-20: 1.25rem;
  --fs-24: 1.5rem;
  --fs-32: 2rem;
  --fs-40: 2.5rem;
  --fs-56: 3.5rem;
  --fs-72: 4.5rem;
  --fs-96: 6rem;

  /* Spacing (4px base) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;
  --s-11: 160px;

  /* Radii */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
  --r-xl: 28px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(26, 20, 16, 0.05);
  --shadow-sm: 0 2px 8px rgba(26, 20, 16, 0.07);
  --shadow-md: 0 8px 24px rgba(26, 20, 16, 0.10);
  --shadow-lg: 0 20px 48px rgba(26, 20, 16, 0.14);
  --shadow-xl: 0 32px 80px rgba(26, 20, 16, 0.18);
  --shadow-warm: 0 24px 60px rgba(184, 152, 92, 0.22); /* bronze gold glow */

  /* Motion */
  --ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-snappy: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 180ms;
  --t-med: 320ms;
  --t-slow: 600ms;

  /* Layout */
  --container: 1240px;
  --container-narrow: 880px;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
*::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-16);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  font-weight: 400;
  letter-spacing: 0.005em;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast) var(--ease-soft); }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; }

::selection { background: var(--terracotta); color: var(--cream); }

/* Decorative texture overlay on body (subtle grain) */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  opacity: 0.06;
  mix-blend-mode: multiply;
}

/* ---------- Typography ---------- */
.h-display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1, .h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, var(--fs-96));
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
}

h2, .h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, var(--fs-56));
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h3, .h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.2vw, var(--fs-32));
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-18);
  letter-spacing: 0.01em;
}

.italic-serif { font-style: italic; font-family: var(--font-display); font-weight: 300; }

.script {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 1.6em;
  line-height: 1;
  color: var(--gold-deep);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-size: var(--fs-12);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
}

.eyebrow::before {
  content: "";
  width: 32px; height: 1px;
  background: currentColor;
}

.eyebrow.centered { justify-content: center; }
.eyebrow.no-line::before { display: none; }

.lead {
  font-size: clamp(1.1rem, 1.4vw, var(--fs-20));
  line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 400;
}

.muted { color: var(--ink-soft); }
.faded { color: var(--ink-faded); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-5);
  position: relative;
  z-index: 2;
}

.container-narrow { max-width: var(--container-narrow); }

.section {
  padding: clamp(var(--s-8), 8vw, var(--s-10)) 0;
  position: relative;
  z-index: 2;
}

.section-sm { padding: var(--s-8) 0; }

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-4);
  padding: var(--s-6) 0;
  color: var(--gold);
}

.section-divider::before, .section-divider::after {
  content: "";
  height: 1px;
  width: 80px;
  background: currentColor;
  opacity: 0.5;
}

.section-divider .ornament {
  font-size: var(--fs-20);
  color: var(--gold-deep);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 16px 32px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-14);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--r-full);
  transition: all var(--t-med) var(--ease-soft);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--cream);
  box-shadow: var(--shadow-warm);
}

.btn-primary:hover {
  background: var(--terracotta-deep);
  transform: translateY(-2px);
  box-shadow: 0 28px 60px rgba(184, 98, 63, 0.32);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left var(--t-slow) var(--ease-soft);
}

.btn-primary:hover::after { left: 100%; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--hairline-strong);
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
}

.btn-gold {
  background: var(--gold);
  color: var(--mocha);
}

.btn-gold:hover { background: var(--gold-deep); color: var(--cream); transform: translateY(-2px); }

.btn-light {
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  backdrop-filter: blur(8px);
}

.btn-light:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-2px);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  color: var(--terracotta-deep);
  font-weight: 600;
  font-size: var(--fs-14);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.btn-link::after {
  content: "→";
  transition: transform var(--t-fast) var(--ease-soft);
}

.btn-link:hover { color: var(--ink); }
.btn-link:hover::after { transform: translateX(6px); }

.btn-sm { padding: 10px 20px; font-size: var(--fs-12); }
.btn-lg { padding: 20px 40px; font-size: var(--fs-16); }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: var(--s-5) 0;
  transition: all var(--t-med) var(--ease-soft);
}

.navbar.scrolled {
  background: rgba(250, 245, 238, 0.88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hairline);
  padding: var(--s-3) 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--font-display);
  font-size: var(--fs-24);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.brand .brand-script {
  font-family: var(--font-script);
  font-size: 2.2em;
  line-height: 0.5;
  color: var(--terracotta);
  margin-right: -0.05em;
  transform: translateY(0.18em);
}

.brand .brand-rest { letter-spacing: 0.04em; }

/* ---------- Logo image variant (when using brand asset PNG) ---------- */
.brand-with-logo {
  display: inline-flex;
  align-items: center;
  padding: 0;
  line-height: 0;
}
.brand-logo {
  display: block;
  height: 64px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  transition: opacity var(--t-fast) var(--ease-soft);
  animation: brand-pulse 3.6s ease-in-out infinite;
  transform-origin: center;
  will-change: transform;
}
.brand-with-logo:hover .brand-logo { opacity: 0.78; }
.brand-logo.brand-logo-footer { animation: none; }
@keyframes brand-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}
@media (prefers-reduced-motion: reduce) {
  .brand-logo { animation: none; }
}
.brand-logo-footer {
  height: 80px;
  max-width: 300px;
  filter: invert(1); /* footer is dark — flip black logo to white/cream */
}
.footer-tagline {
  font-family: var(--font-body);
  font-size: var(--fs-12);
  letter-spacing: 0.32em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: var(--s-3);
  opacity: 0.85;
}
@media (max-width: 768px) {
  .brand-logo { height: 52px; max-width: 180px; }
  .brand-logo-footer { height: 64px; }
}
@media (max-width: 480px) {
  .brand-logo { height: 44px; max-width: 150px; }
  .brand-logo-footer { height: 56px; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s-7);
}

.nav-link {
  font-size: var(--fs-14);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  position: relative;
  padding: var(--s-2) 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--terracotta);
  transition: width var(--t-med) var(--ease-soft);
}

.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}

.nav-mobile-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.nav-mobile-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: currentColor;
  position: relative;
  transition: all var(--t-fast) var(--ease-soft);
}

.nav-mobile-toggle span::before,
.nav-mobile-toggle span::after {
  content: "";
  position: absolute;
  left: 0; width: 100%; height: 1.5px;
  background: currentColor;
  transition: all var(--t-fast) var(--ease-soft);
}

.nav-mobile-toggle span::before { top: -7px; }
.nav-mobile-toggle span::after { top: 7px; }

.nav-mobile-toggle.open span { background: transparent; }
.nav-mobile-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-mobile-toggle.open span::after { top: 0; transform: rotate(-45deg); }

/* Mobile menu styles live in animations.css — single source of truth */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 var(--s-9);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: saturate(0.95) brightness(0.95);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(58, 42, 32, 0.78) 0%, rgba(58, 42, 32, 0.45) 45%, rgba(184, 98, 63, 0.25) 100%),
    linear-gradient(180deg, rgba(58, 42, 32, 0.1) 0%, rgba(58, 42, 32, 0.55) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-9);
  align-items: center;
}

.hero-copy { color: var(--cream); }

.hero-copy .eyebrow { color: var(--rose-blush); }
.hero-copy .eyebrow::before { background: var(--rose-blush); opacity: 0.7; }

.hero-h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
  line-height: 1;
  margin: var(--s-5) 0 var(--s-5);
  letter-spacing: -0.025em;
  color: var(--cream);
}

.hero-h1 .script-word {
  font-family: var(--font-script);
  font-style: normal;
  color: var(--gold);
  font-weight: 400;
  font-size: 1.3em;
  line-height: 0.9;
  margin-right: 0.04em;
}

.hero-h1 em {
  font-style: italic;
  color: var(--rose-blush);
}

.hero-sub {
  font-size: var(--fs-18);
  max-width: 520px;
  color: rgba(250, 245, 238, 0.85);
  line-height: 1.65;
  margin-bottom: var(--s-6);
}

.hero-actions {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
  align-items: center;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(250, 245, 238, 0.18);
}

.hero-trust .avatars {
  display: flex;
}

.hero-trust .avatars img {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--cream);
  margin-left: -10px;
  object-fit: cover;
}

.hero-trust .avatars img:first-child { margin-left: 0; }

.hero-trust .trust-text {
  font-size: var(--fs-13, 0.825rem);
  color: rgba(250, 245, 238, 0.78);
  line-height: 1.4;
}

.hero-trust .trust-text strong { color: var(--gold); font-weight: 600; }

/* Lead capture card in hero */
.lead-card {
  background: rgba(250, 245, 238, 0.96);
  backdrop-filter: blur(20px);
  border-radius: var(--r-xl);
  padding: var(--s-7);
  box-shadow: var(--shadow-xl);
  position: relative;
  border: 1px solid rgba(201, 166, 106, 0.3);
}

.lead-card::before {
  content: "10%";
  position: absolute;
  top: -28px; right: -28px;
  width: 90px; height: 90px;
  background: var(--terracotta);
  color: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--fs-32);
  font-weight: 500;
  box-shadow: var(--shadow-warm);
  transform: rotate(-8deg);
  animation: gentle-pulse 3.5s ease-in-out infinite;
}

@keyframes gentle-pulse {
  0%, 100% { transform: rotate(-8deg) scale(1); }
  50% { transform: rotate(-8deg) scale(1.06); }
}

.lead-card-label {
  font-family: var(--font-display);
  font-size: var(--fs-12);
  font-style: italic;
  color: var(--gold-deep);
  letter-spacing: 0.06em;
  margin-bottom: var(--s-2);
}

.lead-card h3 {
  font-family: var(--font-display);
  font-size: var(--fs-32);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: var(--s-3);
}

.lead-card .lead-card-sub {
  font-size: var(--fs-14);
  color: var(--ink-soft);
  margin-bottom: var(--s-5);
  line-height: 1.5;
}

/* ---------- Forms ---------- */
.form-field {
  position: relative;
  margin-bottom: var(--s-4);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 18px 16px 8px;
  background: transparent;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-md);
  font-size: var(--fs-15, 0.95rem);
  color: var(--ink);
  transition: all var(--t-fast) var(--ease-soft);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(184, 98, 63, 0.1);
}

.form-field label {
  position: absolute;
  left: 16px; top: 16px;
  font-size: var(--fs-14);
  color: var(--ink-soft);
  pointer-events: none;
  transition: all var(--t-fast) var(--ease-soft);
  background: transparent;
}

.form-field input:focus + label,
.form-field input:not(:placeholder-shown) + label,
.form-field select:focus + label,
.form-field select:valid + label,
.form-field textarea:focus + label,
.form-field textarea:not(:placeholder-shown) + label {
  top: 4px;
  font-size: 10px;
  color: var(--terracotta);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.form-field textarea { min-height: 100px; resize: vertical; padding-top: 24px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  font-size: var(--fs-14);
  color: var(--ink-soft);
  cursor: pointer;
  margin-bottom: var(--s-4);
}

.form-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--terracotta); }

.fineprint {
  font-size: var(--fs-12);
  color: var(--ink-faded);
  margin-top: var(--s-3);
  text-align: center;
  line-height: 1.5;
}

.fineprint a { color: var(--terracotta-deep); border-bottom: 1px solid currentColor; }

/* ---------- Section headers ---------- */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--s-8);
}

.section-header.left { text-align: left; margin: 0 0 var(--s-8); }

.section-header h2 {
  margin: var(--s-3) 0 var(--s-4);
}

/* ---------- Portfolio grid (asymmetric) ---------- */
.portfolio {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 200px;
  gap: var(--s-3);
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--champagne);
  transition: transform var(--t-med) var(--ease-soft);
}

.portfolio-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-soft);
}

.portfolio-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(58, 42, 32, 0.7));
  opacity: 0;
  transition: opacity var(--t-med) var(--ease-soft);
}

.portfolio-item .tag {
  position: absolute;
  bottom: var(--s-4); left: var(--s-4);
  z-index: 2;
  background: rgba(250, 245, 238, 0.94);
  color: var(--ink);
  padding: 6px 12px;
  border-radius: var(--r-full);
  font-size: var(--fs-12);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--t-med) var(--ease-soft);
}

.portfolio-item:hover img { transform: scale(1.08); }
.portfolio-item:hover::after { opacity: 1; }
.portfolio-item:hover .tag { opacity: 1; transform: translateY(0); }

.portfolio-item.size-1 { grid-column: span 4; grid-row: span 2; }
.portfolio-item.size-2 { grid-column: span 4; grid-row: span 1; }
.portfolio-item.size-3 { grid-column: span 4; grid-row: span 1; }
.portfolio-item.size-tall { grid-column: span 3; grid-row: span 2; }
.portfolio-item.size-wide { grid-column: span 6; grid-row: span 1; }
.portfolio-item.size-sq  { grid-column: span 3; grid-row: span 2; }

/* ---------- Service cards (3 col w/ photo) ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}

.service-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--t-med) var(--ease-soft);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card .image {
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
}

.service-card .image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-soft);
}

.service-card:hover .image img { transform: scale(1.05); }

.service-card .image .badge {
  position: absolute;
  top: var(--s-4); left: var(--s-4);
  background: rgba(250, 245, 238, 0.94);
  color: var(--terracotta-deep);
  padding: 6px 14px;
  border-radius: var(--r-full);
  font-size: var(--fs-12);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.service-card .body {
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  flex: 1;
}

.service-card .body h3 {
  font-family: var(--font-display);
  font-size: var(--fs-32);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.service-card .desc { color: var(--ink-soft); line-height: 1.55; font-size: var(--fs-15, 0.95rem); flex: 1; }

.service-card .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s-4);
  border-top: 1px solid var(--hairline);
  margin-top: auto;
}

.service-card .price {
  font-family: var(--font-display);
  font-size: var(--fs-24);
  font-weight: 500;
  color: var(--terracotta-deep);
}

.service-card .price small { font-size: var(--fs-12); color: var(--ink-faded); font-family: var(--font-body); letter-spacing: 0.04em; }

.service-card .duration { font-size: var(--fs-12); color: var(--ink-faded); text-transform: uppercase; letter-spacing: 0.1em; }

/* ---------- Course card variant ---------- */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}

.course-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--t-med) var(--ease-soft);
  display: flex;
  flex-direction: column;
}

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

.course-card .thumb {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
}

.course-card .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-soft);
}

.course-card:hover .thumb img { transform: scale(1.04); }

.course-card .thumb .level {
  position: absolute;
  top: var(--s-3); left: var(--s-3);
  background: var(--mocha);
  color: var(--cream);
  padding: 4px 10px;
  border-radius: var(--r-full);
  font-size: 10px;
  letter-spacing: 0.1em;
  font-weight: 600;
  text-transform: uppercase;
}

.course-card .thumb .soon {
  position: absolute;
  inset: 0;
  background: rgba(58, 42, 32, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-24);
  font-weight: 400;
  letter-spacing: 0.04em;
  backdrop-filter: blur(2px);
}

.course-card .body { padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-2); flex: 1; }

.course-card .category {
  font-size: var(--fs-12);
  color: var(--gold-deep);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}

.course-card h3 { font-family: var(--font-display); font-size: var(--fs-24); font-weight: 500; line-height: 1.2; }

.course-card .course-desc { color: var(--ink-soft); font-size: var(--fs-14); line-height: 1.5; flex: 1; }

.course-card .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s-4);
  border-top: 1px solid var(--hairline);
  margin-top: var(--s-3);
}

.course-card .meta-left { display: flex; gap: var(--s-3); color: var(--ink-faded); font-size: var(--fs-12); letter-spacing: 0.06em; text-transform: uppercase; }

.course-card .price { font-family: var(--font-display); font-size: var(--fs-20); color: var(--terracotta-deep); font-weight: 500; }

/* ---------- Filters ---------- */
.filters {
  display: flex;
  gap: var(--s-2);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--s-7);
}

.filter-btn {
  padding: 10px 22px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-full);
  background: transparent;
  color: var(--ink);
  font-size: var(--fs-14);
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: all var(--t-fast) var(--ease-soft);
}

.filter-btn:hover { border-color: var(--terracotta); color: var(--terracotta-deep); }
.filter-btn.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* ---------- Problem & Solution ---------- */
.problem {
  background: var(--mocha);
  color: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.problem::before {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--terracotta) 0%, transparent 60%);
  opacity: 0.4;
  pointer-events: none;
}

.problem::after {
  content: "";
  position: absolute;
  bottom: -300px; left: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 60%);
  opacity: 0.18;
  pointer-events: none;
}

.problem h2 { color: var(--cream); margin: 0 auto var(--s-5); max-width: 800px; }
.problem h2 em { color: var(--rose-blush); font-style: italic; font-weight: 300; }
.problem .lead { color: rgba(250, 245, 238, 0.78); max-width: 640px; margin: 0 auto; }

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  margin-top: var(--s-8);
}

.solution-card {
  background: var(--surface);
  padding: var(--s-7);
  border-radius: var(--r-lg);
  text-align: left;
  position: relative;
  transition: all var(--t-med) var(--ease-soft);
  border: 1px solid var(--hairline);
}

.solution-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.solution-card .num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: var(--fs-72);
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: var(--s-3);
  opacity: 0.95;
}

.solution-card h3 { font-size: var(--fs-24); margin-bottom: var(--s-3); }
.solution-card p { color: var(--ink-soft); line-height: 1.6; }

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}

.testimonial {
  background: var(--champagne);
  padding: var(--s-7);
  border-radius: var(--r-lg);
  position: relative;
}

.testimonial .quote-mark {
  position: absolute;
  top: var(--s-4); right: var(--s-5);
  font-family: var(--font-display);
  font-size: var(--fs-96);
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.4;
}

.testimonial .stars {
  color: var(--gold-deep);
  letter-spacing: 0.1em;
  margin-bottom: var(--s-4);
  font-size: var(--fs-14);
}

.testimonial blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-20);
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: var(--s-5);
  font-weight: 400;
}

.testimonial .author {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.testimonial .author img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial .author .name { font-weight: 600; font-size: var(--fs-14); }
.testimonial .author .role { font-size: var(--fs-12); color: var(--ink-soft); letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- Stats strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
  padding: var(--s-7) var(--s-6);
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, var(--fs-56));
  font-weight: 400;
  color: var(--terracotta-deep);
  line-height: 1;
  margin-bottom: var(--s-2);
}

.stat .label {
  font-size: var(--fs-12);
  color: var(--ink-soft);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---------- FAQ Accordion ---------- */
.faq {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--hairline-strong);
}

.faq-item:first-child { border-top: 1px solid var(--hairline-strong); }

.faq-q {
  width: 100%;
  padding: var(--s-5) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  font-family: var(--font-display);
  font-size: var(--fs-24);
  font-weight: 500;
  text-align: left;
  color: var(--ink);
  transition: color var(--t-fast) var(--ease-soft);
}

.faq-q:hover { color: var(--terracotta-deep); }

.faq-q .toggle {
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--champagne);
  color: var(--terracotta-deep);
  font-size: var(--fs-20);
  transition: all var(--t-med) var(--ease-soft);
  flex-shrink: 0;
}

.faq-item.open .faq-q .toggle {
  background: var(--terracotta);
  color: var(--cream);
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-med) var(--ease-soft);
}

.faq-a .faq-a-inner {
  padding-bottom: var(--s-5);
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: var(--fs-16);
}

.faq-item.open .faq-a { max-height: 400px; }

/* ---------- Pricing cards ---------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}

.price-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: var(--s-7);
  position: relative;
  border: 1px solid var(--hairline);
  transition: all var(--t-med) var(--ease-soft);
  display: flex;
  flex-direction: column;
}

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

.price-card.featured {
  background: var(--mocha);
  color: var(--cream);
  border-color: var(--gold);
  transform: scale(1.04);
}

.price-card.featured:hover { transform: scale(1.04) translateY(-4px); }

.price-card .badge-top {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--mocha);
  padding: 6px 16px;
  border-radius: var(--r-full);
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price-card .plan-name {
  font-family: var(--font-display);
  font-size: var(--fs-32);
  font-weight: 500;
  margin-bottom: var(--s-2);
}

.price-card .plan-tag { font-size: var(--fs-14); opacity: 0.7; margin-bottom: var(--s-5); }

.price-card .price-line {
  display: flex;
  align-items: baseline;
  gap: var(--s-2);
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid currentColor;
  border-color: var(--hairline-strong);
}

.price-card.featured .price-line { border-color: rgba(250, 245, 238, 0.2); }

.price-card .currency { font-size: var(--fs-20); opacity: 0.7; }
.price-card .amount { font-family: var(--font-display); font-size: var(--fs-72); font-weight: 400; line-height: 1; }
.price-card .period { font-size: var(--fs-14); opacity: 0.7; }

.price-card .features { margin-bottom: var(--s-6); flex: 1; }
.price-card .features li {
  padding: var(--s-2) 0;
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  font-size: var(--fs-15, 0.95rem);
  line-height: 1.5;
}

.price-card .features li::before {
  content: "✓";
  color: var(--terracotta);
  font-weight: 700;
  flex-shrink: 0;
}

.price-card.featured .features li::before { color: var(--gold); }

/* ---------- Footer ---------- */
.footer {
  background: var(--mocha);
  color: var(--cream);
  padding: var(--s-9) 0 var(--s-5);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--s-7);
  margin-bottom: var(--s-7);
  padding-bottom: var(--s-6);
  border-bottom: 1px solid rgba(250, 245, 238, 0.12);
}

.footer-brand .brand { color: var(--cream); margin-bottom: var(--s-4); }
.footer-brand .brand .brand-script { color: var(--gold); }
.footer-brand p { color: rgba(250, 245, 238, 0.7); line-height: 1.6; max-width: 320px; }

.footer-col h5 {
  font-family: var(--font-body);
  font-size: var(--fs-12);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: var(--s-4);
}

.footer-col ul { display: flex; flex-direction: column; gap: var(--s-3); }
.footer-col a {
  color: rgba(250, 245, 238, 0.7);
  font-size: var(--fs-14);
  transition: color var(--t-fast) var(--ease-soft);
}

.footer-col a:hover { color: var(--cream); }

.footer-social {
  display: flex;
  gap: var(--s-3);
  margin-top: var(--s-3);
}

.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(250, 245, 238, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-16);
  transition: all var(--t-fast) var(--ease-soft);
}

.footer-social a:hover { background: var(--terracotta); transform: translateY(-2px); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-12);
  color: rgba(250, 245, 238, 0.5);
}

/* ---------- Demo Modal ---------- */
.demo-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(58, 42, 32, 0.5);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: var(--s-4);
  opacity: 0;
  transition: opacity var(--t-med) var(--ease-soft);
}

.demo-modal-overlay.active {
  display: flex;
  opacity: 1;
}

.demo-modal {
  background: var(--cream);
  border-radius: var(--r-xl);
  padding: var(--s-9) var(--s-7);
  max-width: 520px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-xl);
  position: relative;
  border: 1px solid rgba(201, 166, 106, 0.4);
  transform: scale(0.94);
  opacity: 0;
  transition: all var(--t-med) var(--ease-soft);
}

.demo-modal-overlay.active .demo-modal {
  transform: scale(1);
  opacity: 1;
}

.demo-modal .close {
  position: absolute;
  top: var(--s-4); right: var(--s-4);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--champagne);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-20);
  color: var(--ink-soft);
  transition: all var(--t-fast) var(--ease-soft);
}

.demo-modal .close:hover { background: var(--ink); color: var(--cream); transform: rotate(90deg); }

.demo-modal .demo-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--gold);
  color: var(--mocha);
  border-radius: var(--r-full);
  font-size: var(--fs-12);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: var(--s-5);
}

.demo-modal h3 {
  font-family: var(--font-display);
  font-size: var(--fs-32);
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--s-3);
  line-height: 1.2;
}

.demo-modal h3 em { font-style: italic; color: var(--terracotta); }

.demo-modal .demo-body {
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: var(--s-6);
  font-size: var(--fs-16);
}

.demo-modal .demo-flow {
  background: var(--champagne);
  padding: var(--s-5);
  border-radius: var(--r-md);
  margin-bottom: var(--s-6);
  text-align: left;
}

.demo-modal .demo-flow .label {
  font-size: var(--fs-12);
  color: var(--gold-deep);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: var(--s-2);
}

.demo-modal .demo-flow ul { list-style: none; }
.demo-modal .demo-flow li {
  padding: var(--s-1) 0;
  padding-left: var(--s-5);
  position: relative;
  font-size: var(--fs-14);
  color: var(--ink);
  line-height: 1.5;
}

.demo-modal .demo-flow li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--terracotta);
  font-weight: 700;
}

.demo-modal .demo-actions {
  display: flex;
  gap: var(--s-3);
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Calendar ---------- */
.calendar-block {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: var(--s-7);
  box-shadow: var(--shadow-sm);
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--s-5);
}

.calendar-header h3 { font-family: var(--font-display); font-size: var(--fs-32); }

.cal-nav {
  display: flex;
  gap: var(--s-2);
}

.cal-nav button {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--champagne);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-18);
  transition: all var(--t-fast) var(--ease-soft);
}

.cal-nav button:hover { background: var(--terracotta); color: var(--cream); }

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--s-2);
}

.cal-day-label {
  font-size: var(--fs-12);
  font-weight: 600;
  color: var(--ink-faded);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: var(--s-3) 0;
}

.cal-day {
  aspect-ratio: 1/1;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-15, 0.95rem);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--t-fast) var(--ease-soft);
  background: transparent;
  color: var(--ink);
  border: 1px solid transparent;
}

.cal-day.muted { color: var(--ink-faded); cursor: default; }
.cal-day.available { background: var(--champagne); color: var(--terracotta-deep); }
.cal-day.available:hover { background: var(--gold); color: var(--mocha); transform: translateY(-2px); }
.cal-day.booked { background: rgba(168, 154, 141, 0.2); color: var(--ink-faded); text-decoration: line-through; cursor: not-allowed; }
.cal-day.selected { background: var(--terracotta); color: var(--cream); transform: scale(1.06); box-shadow: var(--shadow-warm); }
.cal-day.today { border-color: var(--gold); font-weight: 700; }

.time-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: var(--s-2);
  margin-top: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid var(--hairline);
}

.time-slot {
  padding: var(--s-3);
  background: var(--champagne);
  border-radius: var(--r-md);
  text-align: center;
  font-size: var(--fs-14);
  font-weight: 600;
  color: var(--terracotta-deep);
  transition: all var(--t-fast) var(--ease-soft);
  cursor: pointer;
}

.time-slot:hover { background: var(--gold); color: var(--mocha); }
.time-slot.selected { background: var(--terracotta); color: var(--cream); }

/* ---------- Checkout ---------- */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--s-7);
  align-items: flex-start;
}

.checkout-stepper {
  display: flex;
  justify-content: center;
  gap: var(--s-3);
  margin-bottom: var(--s-7);
}

.step {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--fs-14);
  color: var(--ink-faded);
}

.step .step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--ink-faded);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: var(--fs-14);
}

.step.active { color: var(--ink); }
.step.active .step-num { background: var(--terracotta); color: var(--cream); border-color: var(--terracotta); }

.step.done { color: var(--terracotta-deep); }
.step.done .step-num { background: var(--gold); color: var(--mocha); border-color: var(--gold); }

.step-divider {
  width: 64px;
  height: 1px;
  background: var(--hairline-strong);
  align-self: center;
}

.checkout-form-card {
  background: var(--surface);
  padding: var(--s-7);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.checkout-form-card h3 {
  font-family: var(--font-display);
  font-size: var(--fs-32);
  margin-bottom: var(--s-5);
}

.checkout-summary {
  background: var(--champagne);
  padding: var(--s-6);
  border-radius: var(--r-lg);
  position: sticky;
  top: 100px;
}

.checkout-summary h4 {
  font-family: var(--font-body);
  font-size: var(--fs-12);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: var(--s-5);
  font-weight: 700;
}

.summary-item {
  display: flex;
  gap: var(--s-3);
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--hairline);
}

.summary-item img { width: 64px; height: 64px; border-radius: var(--r-md); object-fit: cover; }
.summary-item .info { flex: 1; }
.summary-item .info h5 { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-18); margin-bottom: 2px; }
.summary-item .info .sub { font-size: var(--fs-12); color: var(--ink-soft); }
.summary-item .price { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-20); color: var(--terracotta-deep); }

.summary-line {
  display: flex;
  justify-content: space-between;
  padding: var(--s-2) 0;
  font-size: var(--fs-14);
  color: var(--ink-soft);
}

.summary-total {
  display: flex;
  justify-content: space-between;
  padding: var(--s-5) 0 var(--s-3);
  margin-top: var(--s-3);
  border-top: 1px solid var(--hairline-strong);
  font-family: var(--font-display);
  font-size: var(--fs-32);
  font-weight: 500;
  color: var(--ink);
  align-items: baseline;
}

.summary-total .lbl { font-size: var(--fs-14); font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
  margin-top: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid var(--hairline);
}

.trust-row .trust-item {
  text-align: center;
  font-size: var(--fs-12);
  color: var(--ink-soft);
}

.trust-row .trust-item .ico {
  font-size: var(--fs-24);
  color: var(--terracotta);
  margin-bottom: var(--s-2);
}

/* ---------- Gracias / confirmation ---------- */
.gracias-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--s-9) var(--s-5);
  position: relative;
  background:
    radial-gradient(ellipse at top, var(--champagne) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(184, 98, 63, 0.12) 0%, transparent 60%),
    var(--cream);
  overflow: hidden;
}

.gracias-hero::before {
  content: "";
  position: absolute;
  top: 12%; left: 5%;
  width: 240px; height: 240px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  opacity: 0.18;
  border-radius: 50%;
  animation: gentle-float 8s ease-in-out infinite;
}

.gracias-hero::after {
  content: "";
  position: absolute;
  bottom: 10%; right: 8%;
  width: 320px; height: 320px;
  background: radial-gradient(circle, var(--terracotta) 0%, transparent 70%);
  opacity: 0.18;
  border-radius: 50%;
  animation: gentle-float 11s ease-in-out infinite reverse;
}

@keyframes gentle-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.08); }
}

.check-circle {
  width: 140px; height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--terracotta));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-6);
  box-shadow: var(--shadow-warm);
  position: relative;
  z-index: 2;
  animation: check-in 800ms var(--ease-soft) both;
}

@keyframes check-in {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.check-circle svg { width: 64px; height: 64px; stroke: var(--cream); stroke-width: 3; }

.timeline {
  max-width: 540px;
  margin: var(--s-8) auto;
  position: relative;
  z-index: 2;
}

.timeline-item {
  display: flex;
  gap: var(--s-5);
  padding: var(--s-4) 0;
  text-align: left;
}

.timeline-num {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--fs-20);
  color: var(--terracotta-deep);
  border: 1.5px solid var(--gold);
  position: relative;
}

.timeline-item:not(:last-child) .timeline-num::after {
  content: "";
  position: absolute;
  top: 100%; left: 50%;
  width: 1px; height: 32px;
  background: var(--gold);
  opacity: 0.5;
}

.timeline-content h4 { font-family: var(--font-display); font-size: var(--fs-20); margin-bottom: var(--s-1); font-weight: 500; }
.timeline-content p { color: var(--ink-soft); font-size: var(--fs-14); line-height: 1.6; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: all 800ms var(--ease-soft);
}

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

.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }

/* Hero entrance */
.hero-copy > * { opacity: 0; transform: translateY(20px); animation: fade-up 900ms var(--ease-soft) forwards; }
.hero-copy > *:nth-child(1) { animation-delay: 200ms; }
.hero-copy > *:nth-child(2) { animation-delay: 350ms; }
.hero-copy > *:nth-child(3) { animation-delay: 500ms; }
.hero-copy > *:nth-child(4) { animation-delay: 650ms; }
.hero-copy > *:nth-child(5) { animation-delay: 800ms; }

.lead-card { opacity: 0; transform: translateY(40px) scale(0.96); animation: fade-up-scale 1000ms var(--ease-soft) 400ms forwards; }

@keyframes fade-up {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-up-scale {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--ink);
  color: var(--cream);
  padding: 14px 24px;
  border-radius: var(--r-full);
  font-size: var(--fs-14);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: transform 400ms var(--ease-soft);
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.toast.show { transform: translateX(-50%) translateY(0); }
.toast .ico { color: var(--gold); }

/* ---------- Responsive ---------- */

/* ===== Tablet (max-width: 980px) — inherited from original ===== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--s-7); }
  .lead-card::before { width: 70px; height: 70px; top: -20px; right: -10px; font-size: var(--fs-24); }
  .services, .courses-grid, .testimonials, .solution-grid, .pricing { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: var(--s-5); padding: var(--s-6) var(--s-4); }
  .portfolio { grid-auto-rows: 160px; }
  .portfolio-item.size-1 { grid-column: span 8; }
  .portfolio-item.size-tall { grid-column: span 4; }
  .portfolio-item.size-wide { grid-column: span 8; }
  .portfolio-item.size-sq { grid-column: span 4; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== Large tablets / small laptops (max-width: 768px) ===== */
@media (max-width: 768px) {
  /* Typography scale down */
  h1, .h1 { font-size: clamp(2rem, 7vw, 3rem); }
  h2, .h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); }
  h3, .h3 { font-size: clamp(1.3rem, 3.5vw, 1.6rem); }
  h4 { font-size: var(--fs-16); }
  .lead { font-size: var(--fs-16); }
  .script { font-size: 1.3em; }
  .eyebrow { font-size: 11px; letter-spacing: 0.18em; }
  .eyebrow::before { width: 24px; }

  /* Sections */
  .section { padding: var(--s-8) 0; }
  .section-sm { padding: var(--s-7) 0; }
  .section-header { margin-bottom: var(--s-6); max-width: 100%; }
  .section-header h2 { margin: var(--s-2) 0 var(--s-3); }
  .section-divider { padding: var(--s-5) 0; }

  /* Navbar (hide desktop nav, show hamburger — mobile menu styled in animations.css) */
  .nav-links { display: none !important; }
  .nav-mobile-toggle { display: flex !important; }
  .navbar { padding: var(--s-4) 0; }
  .navbar.scrolled { padding: var(--s-2) 0; }
  .brand { font-size: var(--fs-20); }
  .brand .brand-script { font-size: 1.8em; }

  /* Hero */
  .hero { padding-top: 110px; padding-bottom: var(--s-8); min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: var(--s-6); }
  .hero-h1 { font-size: clamp(2.2rem, 8vw, 3rem); line-height: 1.05; margin: var(--s-4) 0 var(--s-4); }
  .hero-h1 .script-word { font-size: 1.2em; }
  .hero-sub { font-size: var(--fs-16); margin-bottom: var(--s-5); }
  .hero-actions { gap: var(--s-2); }
  .hero-actions .btn { padding: 14px 22px; font-size: var(--fs-12); }
  .hero-trust { margin-top: var(--s-5); padding-top: var(--s-4); gap: var(--s-3); }
  .hero-trust .avatars img { width: 30px; height: 30px; }
  .hero-trust .trust-text { font-size: var(--fs-12); }

  /* Lead card */
  .lead-card { padding: var(--s-5) var(--s-4); }
  .lead-card::before { font-size: var(--fs-20); width: 60px; height: 60px; top: -16px; right: 8px; }
  .lead-card h3 { font-size: var(--fs-24); }
  .lead-card .lead-card-sub { font-size: var(--fs-13, 0.82rem); }

  /* Grids → 1 column */
  .services, .courses-grid, .testimonials, .solution-grid, .pricing { grid-template-columns: 1fr; gap: var(--s-4); }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-4px); }

  /* Stats */
  .stats { grid-template-columns: 1fr 1fr; gap: var(--s-3); padding: var(--s-5) var(--s-4); }
  .stat .num { font-size: clamp(1.5rem, 5vw, 2rem); }
  .stat .label { font-size: 10px; }

  /* Portfolio */
  .portfolio { grid-auto-rows: 140px; grid-template-columns: repeat(6, 1fr); }
  .portfolio-item.size-1 { grid-column: span 6; grid-row: span 2; }
  .portfolio-item.size-2, .portfolio-item.size-3 { grid-column: span 3; grid-row: span 1; }
  .portfolio-item.size-tall { grid-column: span 3; grid-row: span 2; }
  .portfolio-item.size-wide { grid-column: span 6; }
  .portfolio-item.size-sq { grid-column: span 3; }

  /* Service cards */
  .service-card .body { padding: var(--s-5); }
  .service-card .body h3 { font-size: var(--fs-24); }
  .service-card .price { font-size: var(--fs-20); }

  /* Course cards */
  .course-card .body { padding: var(--s-4); }
  .course-card h3 { font-size: var(--fs-20); }
  .course-card .price { font-size: var(--fs-18); }

  /* Solution cards */
  .solution-card { padding: var(--s-5); }
  .solution-card .num { font-size: var(--fs-40); }
  .solution-card h3 { font-size: var(--fs-20); }

  /* Testimonials */
  .testimonial { padding: var(--s-5); }
  .testimonial .quote-mark { font-size: var(--fs-56); top: var(--s-3); right: var(--s-3); }
  .testimonial blockquote { font-size: var(--fs-16); }

  /* FAQ */
  .faq-q { font-size: var(--fs-18); padding: var(--s-4) 0; gap: var(--s-3); }
  .faq-a .faq-a-inner { font-size: var(--fs-14); }

  /* Pricing cards */
  .price-card { padding: var(--s-5); }
  .price-card .plan-name { font-size: var(--fs-24); }
  .price-card .amount { font-size: var(--fs-56); }
  .price-card .features li { font-size: var(--fs-14); }

  /* Footer */
  .footer { padding: var(--s-7) 0 var(--s-5); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--s-5); }
  .footer-bottom { flex-direction: column; gap: var(--s-2); text-align: center; }

  /* Forms */
  .form-row { grid-template-columns: 1fr; }
  .form-field input, .form-field select, .form-field textarea {
    min-height: 48px;
    font-size: 16px; /* prevent iOS zoom */
  }

  /* Demo modal */
  .demo-modal { padding: var(--s-7) var(--s-5); max-width: 100%; }
  .demo-modal h3 { font-size: var(--fs-24); }
  .demo-modal .demo-actions { flex-direction: column; }
  .demo-modal .demo-actions .btn { width: 100%; }

  /* Checkout */
  .checkout-stepper .step .label-txt { display: none; }
  .checkout-form-card { padding: var(--s-5); }
  .checkout-form-card h3 { font-size: var(--fs-24); }
  .checkout-summary { padding: var(--s-5); }

  /* Calendar */
  .calendar-block { padding: var(--s-5) var(--s-4); }
  .calendar-header h3 { font-size: var(--fs-24); }
  .cal-day { font-size: var(--fs-14); }
  .cal-day-label { font-size: 10px; padding: var(--s-2) 0; }
  .time-slots { grid-template-columns: repeat(3, 1fr); }

  /* Gracias hero */
  .gracias-hero { padding: var(--s-8) var(--s-4); }
  .check-circle { width: 100px; height: 100px; }
  .check-circle svg { width: 48px; height: 48px; }

  /* Timeline */
  .timeline { margin: var(--s-6) auto; }
  .timeline-num { width: 40px; height: 40px; font-size: var(--fs-16); }
  .timeline-content h4 { font-size: var(--fs-16); }

  /* Toast */
  .toast { left: var(--s-4); right: var(--s-4); transform: translateX(0) translateY(120%); bottom: 16px; }
  .toast.show { transform: translateX(0) translateY(0); }

  /* Trust row */
  .trust-row { grid-template-columns: 1fr; gap: var(--s-2); }
}

/* ===== Mobile (max-width: 480px) ===== */
@media (max-width: 480px) {
  /* Typography further reduced */
  h1, .h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  h2, .h2 { font-size: clamp(1.4rem, 6vw, 1.8rem); }
  h3, .h3 { font-size: clamp(1.2rem, 4vw, 1.4rem); }
  .lead { font-size: var(--fs-14); }

  /* Container */
  .container { padding: 0 var(--s-3); }

  /* Sections */
  .section { padding: var(--s-7) 0; }
  .section-header { margin-bottom: var(--s-5); }

  /* Buttons: touch-friendly */
  .btn { padding: 14px 24px; font-size: var(--fs-12); min-height: 44px; }
  .btn-sm { padding: 12px 18px; min-height: 40px; }
  .btn-lg { padding: 16px 28px; min-height: 52px; }
  .btn-link { font-size: var(--fs-12); }

  /* Navbar */
  .brand { font-size: var(--fs-18); }
  .brand .brand-script { font-size: 1.6em; }
  .nav-mobile-toggle { width: 44px; height: 44px; }

  /* Hero */
  .hero { padding-top: 90px; padding-bottom: var(--s-6); }
  .hero-h1 { font-size: clamp(1.9rem, 9vw, 2.6rem); line-height: 1.08; margin: var(--s-3) 0 var(--s-3); }
  .hero-h1 .script-word { font-size: 1.15em; }
  .hero-sub { font-size: var(--fs-14); margin-bottom: var(--s-4); line-height: 1.55; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; padding: 14px 20px; }
  .hero-trust { gap: var(--s-2); margin-top: var(--s-4); padding-top: var(--s-3); }
  .hero-trust .avatars img { width: 28px; height: 28px; margin-left: -8px; }
  .hero-trust .trust-text { font-size: 11px; line-height: 1.3; }

  /* Lead card */
  .lead-card { padding: var(--s-4); }
  .lead-card::before { width: 50px; height: 50px; font-size: var(--fs-16); top: -12px; right: 4px; }
  .lead-card h3 { font-size: var(--fs-20); }
  .lead-card .lead-card-sub { font-size: var(--fs-12); }

  /* Stats */
  .stats { grid-template-columns: 1fr 1fr; gap: var(--s-2); padding: var(--s-4); }
  .stat .num { font-size: clamp(1.3rem, 6vw, 1.8rem); }
  .stat .label { font-size: 9px; letter-spacing: 0.1em; }

  /* Portfolio — single column on tiny phones */
  .portfolio { grid-auto-rows: 120px; grid-template-columns: repeat(2, 1fr); gap: var(--s-2); }
  .portfolio-item.size-1 { grid-column: span 2; grid-row: span 2; }
  .portfolio-item.size-2, .portfolio-item.size-3 { grid-column: span 1; grid-row: span 1; }
  .portfolio-item.size-tall { grid-column: span 1; grid-row: span 2; }
  .portfolio-item.size-wide { grid-column: span 2; }
  .portfolio-item.size-sq { grid-column: span 1; grid-row: span 2; }

  /* Service cards */
  .service-card .body { padding: var(--s-4); gap: var(--s-2); }
  .service-card .body h3 { font-size: var(--fs-20); }
  .service-card .desc { font-size: var(--fs-14); }
  .service-card .price { font-size: var(--fs-18); }
  .service-card .meta { flex-direction: column; align-items: flex-start; gap: var(--s-2); }

  /* Course cards */
  .course-card .body { padding: var(--s-3); }
  .course-card h3 { font-size: var(--fs-18); }
  .course-card .course-desc { font-size: var(--fs-13, 0.82rem); }
  .course-card .meta { flex-direction: column; align-items: flex-start; gap: var(--s-2); }

  /* Solution cards */
  .solution-card { padding: var(--s-4); }
  .solution-card .num { font-size: var(--fs-32); margin-bottom: var(--s-2); }
  .solution-card h3 { font-size: var(--fs-18); }
  .solution-card p { font-size: var(--fs-14); }

  /* Testimonials */
  .testimonial { padding: var(--s-4); }
  .testimonial .quote-mark { font-size: var(--fs-40); top: var(--s-2); right: var(--s-2); }
  .testimonial blockquote { font-size: var(--fs-14); }
  .testimonial .author img { width: 40px; height: 40px; }

  /* FAQ */
  .faq-q { font-size: var(--fs-16); padding: var(--s-3) 0; min-height: 48px; }
  .faq-q .toggle { width: 32px; height: 32px; font-size: var(--fs-16); }
  .faq-a .faq-a-inner { font-size: var(--fs-13, 0.82rem); padding-bottom: var(--s-4); }

  /* Pricing cards */
  .price-card { padding: var(--s-4); }
  .price-card .plan-name { font-size: var(--fs-20); }
  .price-card .amount { font-size: var(--fs-40); }
  .price-card .features li { font-size: var(--fs-13, 0.82rem); }

  /* Footer */
  .footer { padding: var(--s-6) 0 var(--s-4); }
  .footer-grid { gap: var(--s-4); }
  .footer-col h5 { font-size: 11px; margin-bottom: var(--s-3); }
  .footer-col a { font-size: var(--fs-13, 0.82rem); }
  .footer-social a { width: 36px; height: 36px; }
  .footer-bottom { font-size: 11px; }

  /* Problem section */
  .problem h2 { font-size: clamp(1.4rem, 6vw, 1.8rem); }
  .problem .lead { font-size: var(--fs-14); }

  /* Forms */
  .form-field input, .form-field select, .form-field textarea {
    padding: 16px 12px 6px;
    min-height: 48px;
    font-size: 16px;
  }
  .form-field label { left: 12px; top: 14px; font-size: var(--fs-13, 0.82rem); }
  .form-field textarea { min-height: 80px; }
  .form-check input { width: 20px; height: 20px; }

  /* Calendar */
  .calendar-block { padding: var(--s-4) var(--s-3); }
  .calendar-header h3 { font-size: var(--fs-20); }
  .calendar-grid { gap: var(--s-1); }
  .cal-day { font-size: 12px; }
  .cal-day-label { font-size: 9px; padding: var(--s-1) 0; }
  .time-slots { grid-template-columns: repeat(3, 1fr); gap: var(--s-1); }
  .time-slot { padding: var(--s-2); font-size: var(--fs-12); }

  /* Checkout */
  .checkout-form-card { padding: var(--s-4); }
  .checkout-form-card h3 { font-size: var(--fs-20); }
  .checkout-summary { padding: var(--s-4); }
  .summary-item img { width: 48px; height: 48px; }
  .summary-item .info h5 { font-size: var(--fs-14); }
  .summary-total { font-size: var(--fs-24); }

  /* Gracias */
  .gracias-hero { padding: var(--s-7) var(--s-3); }
  .check-circle { width: 80px; height: 80px; }
  .check-circle svg { width: 40px; height: 40px; }
  .timeline-item { gap: var(--s-3); }
  .timeline-num { width: 36px; height: 36px; font-size: var(--fs-14); }
  .timeline-content h4 { font-size: var(--fs-14); }
  .timeline-content p { font-size: var(--fs-12); }

  /* Filter buttons */
  .filter-btn { padding: 10px 16px; font-size: var(--fs-12); min-height: 44px; }
  .filters { margin-bottom: var(--s-5); }

  /* Demo modal full screen on tiny phones */
  .demo-modal-overlay { padding: 0; }
  .demo-modal { padding: var(--s-5) var(--s-4); border-radius: var(--r-lg); }
  .demo-modal h3 { font-size: var(--fs-20); }
  .demo-modal .demo-body { font-size: var(--fs-14); }
  .demo-modal .demo-flow { padding: var(--s-3); }
  .demo-modal .demo-flow li { font-size: var(--fs-12); }

  /* Section divider */
  .section-divider { padding: var(--s-4) 0; gap: var(--s-3); }
  .section-divider::before, .section-divider::after { width: 48px; }
}

/* ===== Ultra-small phones (max-width: 360px) ===== */
@media (max-width: 360px) {
  .container { padding: 0 var(--s-2); }
  .hero-h1 { font-size: clamp(1.6rem, 10vw, 2.2rem); }
  .brand { font-size: var(--fs-16); }
  .stats { grid-template-columns: 1fr 1fr; gap: var(--s-1); }
  .stat .num { font-size: var(--fs-24); }
  .price-card .amount { font-size: var(--fs-32); }
  .lead-card::before { width: 44px; height: 44px; font-size: var(--fs-14); top: -10px; right: 0; }
  .portfolio { grid-auto-rows: 100px; }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
