/* ============================================================
   Spanish with Julieth — site styles
   Warm editorial: cream paper, coral brand, amber accents.
   Fraunces (display) · Hanken Grotesk (body) · Caveat (hand)
   ============================================================ */

:root {
  --cream: #fff9f0;
  --cream-2: #fbeeda;
  --paper: #fffdf9;
  --ink: #33221c;
  --ink-soft: #6d5850;
  --coral: #ff7b7b;
  --coral-soft: #ffd9d2;
  --coral-deep: #d9403e;
  --coral-deeper: #c0322f;
  --amber: #f7a928;
  --amber-soft: #ffd98e;
  --blue: #2f639f;
  --blue-deep: #24507f;
  --blue-soft: #c9ddf2;
  --line: rgba(51, 34, 28, 0.16);
  --line-strong: rgba(51, 34, 28, 0.75);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Hanken Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  --font-hand: "Caveat", "Bradley Hand", cursive;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow-pop: 6px 6px 0 rgba(51, 34, 28, 0.9);
  --shadow-pop-sm: 4px 4px 0 rgba(51, 34, 28, 0.9);
  --container: 1120px;
}

/* ---------- Reset & base ---------- */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--coral-deep);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--coral-deeper);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.9rem, 8vw, 5.4rem);
  font-variation-settings: "opsz" 144;
}

h2 {
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  font-variation-settings: "opsz" 100;
}

h3 {
  font-size: 1.2rem;
  line-height: 1.25;
}

p {
  margin: 0 0 1em;
}

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

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

.container-narrow {
  max-width: 760px;
}

.center {
  text-align: center;
}

.section {
  padding-block: clamp(72px, 9vw, 120px);
  position: relative;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 100;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 18px;
  border-radius: 0 0 12px 12px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
  color: var(--cream);
}

/* ---------- Type helpers ---------- */

.kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral-deep);
  margin-bottom: 1em;
}

.kicker.on-dark {
  color: var(--amber);
}

.lead {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 34em;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 38em;
}

.center .section-sub,
.section-sub.center {
  margin-inline: auto;
}

.hand {
  font-family: var(--font-hand);
  font-weight: 600;
  color: var(--coral-deep);
}

/* Marker highlight under key words */
.hl {
  font-style: normal;
  position: relative;
  white-space: nowrap;
}

.hl::after {
  content: "";
  position: absolute;
  left: -0.08em;
  right: -0.08em;
  bottom: 0.02em;
  height: 0.34em;
  background: var(--coral-soft);
  border-radius: 0.2em 0.3em 0.25em 0.15em;
  transform: rotate(-1.2deg);
  z-index: -1;
}

.hl-amber::after {
  background: var(--amber-soft);
}

.hl-blue::after {
  background: var(--blue-soft);
}

/* Sticker pills */
.sticker {
  display: inline-block;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 7px 16px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  box-shadow: var(--shadow-pop-sm);
  transform: rotate(-2deg);
}

.sticker-amber {
  background: var(--amber-soft);
}

/* Decorative Spanish punctuation */
.deco {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1;
  color: var(--coral);
  opacity: 0.14;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.btn-lg {
  padding: 17px 32px;
  font-size: 1.06rem;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.92rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--coral-deep);
  color: var(--cream);
  box-shadow: var(--shadow-pop-sm);
}

.btn-primary:hover {
  background: var(--coral-deeper);
  color: var(--cream);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(51, 34, 28, 0.9);
}

.btn-outline {
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-pop-sm);
}

.btn-outline:hover {
  color: var(--ink);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(51, 34, 28, 0.9);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
  padding-inline: 18px;
}

.btn-ghost:hover {
  color: var(--coral-deep);
}

.btn-dark {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  box-shadow: 6px 6px 0 rgba(255, 253, 249, 0.85);
}

.btn-dark:hover {
  color: var(--cream);
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 rgba(255, 253, 249, 0.85);
}

.btn-ghost-light {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}

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

.btn:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 rgba(51, 34, 28, 0.9);
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--cream) 82%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, background 0.25s;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 16px;
}

.brand img {
  height: 34px;
  width: auto;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 30px);
}

.site-nav a:not(.btn) {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  text-decoration: none;
  position: relative;
}

.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 3px;
  border-radius: 2px;
  background: var(--coral);
  transition: right 0.2s ease;
}

.site-nav a:not(.btn):hover::after {
  right: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  width: 44px;
  height: 40px;
  cursor: pointer;
  position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.22s ease, top 0.22s ease, opacity 0.22s ease;
}

.nav-toggle-bar {
  top: 19px;
}

.nav-toggle-bar::before {
  left: 0;
  right: 0;
  top: -6px;
}

.nav-toggle-bar::after {
  left: 0;
  right: 0;
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-block: clamp(70px, 10vw, 140px) clamp(80px, 9vw, 120px);
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero .sticker {
  margin-bottom: 28px;
}

/* Avatar + journey row */
.hero-id {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 30px;
}

.hero-avatar {
  position: relative;
  flex: 0 0 auto;
  display: inline-block;
}

.hero-avatar img {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-pop-sm);
  background: var(--paper);
}

.flag-dot {
  position: absolute;
  bottom: 0;
  right: -2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2.5px solid var(--cream);
  box-shadow: 0 1px 5px rgba(51, 34, 28, 0.35);
}

.hero-id .journey {
  margin-bottom: 0;
}

/* Journey badge: Bogotá → Londres → Roma */
.journey {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 9px 20px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  box-shadow: var(--shadow-pop-sm);
  transform: rotate(-2deg);
  margin-bottom: 28px;
}

.journey .stop {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-soft);
  white-space: nowrap;
}

.journey .stop-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid var(--coral-deep);
  background: transparent;
}

.journey .leg {
  width: 26px;
  height: 0;
  border-top: 2px dashed rgba(47, 99, 159, 0.55);
}

.journey .stop-now {
  color: var(--ink);
  position: relative;
}

.journey .stop-now .stop-dot {
  background: var(--coral-deep);
}

.js .journey.reveal {
  transform: translateY(20px) rotate(-2deg);
}

.js .journey.reveal.in {
  transform: rotate(-2deg);
}

.hero h1 em.hl {
  font-style: italic;
  font-variation-settings: "opsz" 144, "WONK" 1;
  color: var(--coral-deep);
}

.deco-open {
  top: -0.12em;
  right: 4vw;
  font-size: clamp(14rem, 30vw, 26rem);
}

.deco-bang {
  bottom: -0.35em;
  left: -0.06em;
  font-size: clamp(10rem, 22vw, 19rem);
  color: var(--amber);
  opacity: 0.16;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
}

.hero-returning {
  margin: 14px 0 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.hero-returning a {
  font-weight: 700;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3.4vw, 46px);
  margin: clamp(48px, 6vw, 72px) 0 0;
  padding-top: 28px;
  border-top: 1.5px solid var(--line);
  max-width: 1000px;
}

.trust-item dt {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1;
}

.trust-item dd {
  margin: 6px 0 0;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.trust-item dd a {
  color: inherit;
}

.star {
  color: var(--amber);
}

/* ---------- About ---------- */

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

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.about-copy h2 .hand {
  font-size: 1.25em;
  margin-right: 0.15em;
}

.lang-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.lang-pills li {
  font-size: 0.9rem;
  padding: 6px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: var(--cream);
}

.lang-pills li strong {
  margin-right: 4px;
}

.video-frame {
  position: relative;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  box-shadow: 10px 10px 0 var(--blue-soft);
  transform: rotate(1deg);
  transition: transform 0.25s ease;
}

.video-frame:hover {
  transform: rotate(0deg);
}

.video-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
}

.video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--coral-deep);
  color: var(--cream);
  display: grid;
  place-items: center;
  border: 2px solid var(--cream);
  box-shadow: 0 10px 34px rgba(51, 34, 28, 0.4);
  transition: transform 0.2s ease;
}

.play-btn svg {
  margin-left: 4px;
}

.video-facade:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.08);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-caption {
  text-align: right;
  font-size: 1.5rem;
  margin-top: 18px;
  transform: rotate(-2deg);
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: clamp(56px, 7vw, 90px);
}

.value-card {
  background: var(--cream);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 28px 26px 20px;
  box-shadow: var(--shadow-pop-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.value-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-pop);
}

.value-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--coral-soft);
  color: var(--coral-deeper);
  margin-bottom: 16px;
}

/* Colombian tricolour across the three values */
.value-card:nth-child(2) .value-icon {
  background: var(--amber-soft);
  color: var(--ink);
}

.value-card:nth-child(3) .value-icon {
  background: var(--blue-soft);
  color: var(--blue-deep);
}

.value-card p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin: 0;
}

/* ---------- Lessons / method ---------- */

.lessons {
  background: var(--cream);
}

.lessons-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.timeline {
  counter-reset: step;
  margin-top: 36px;
  display: grid;
  gap: 8px;
}

.timeline li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  position: relative;
  padding-bottom: 26px;
}

.timeline li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 60px;
  bottom: 2px;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--coral) 0 6px, transparent 6px 12px);
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--paper);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  box-shadow: 3px 3px 0 var(--amber-soft);
}

.timeline h3 {
  margin-bottom: 0.3em;
}

.timeline p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 0.99rem;
}

.quality-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: clamp(36px, 10vw, 110px);
}

.quality-card {
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 22px 20px 16px;
  transition: transform 0.2s ease;
}

.quality-card:nth-child(odd) {
  transform: rotate(-0.6deg);
}

.quality-card:nth-child(even) {
  transform: rotate(0.6deg);
}

.quality-card:hover {
  transform: rotate(0deg) translateY(-3px);
}

.quality-card h3 {
  font-size: 1.1rem;
  color: var(--coral-deep);
}

.quality-card:nth-child(even) h3 {
  color: var(--blue);
}

.quality-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.speak-note {
  margin: 30px 0 0;
  padding: 18px 22px;
  background: rgba(255, 217, 142, 0.35);
  border: 1.5px dashed var(--amber);
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  max-width: 46em;
}

.speak-note strong {
  display: block;
  margin-bottom: 2px;
}

.toolbox {
  margin-top: clamp(48px, 6vw, 72px);
  text-align: center;
}

.toolbox-label {
  font-size: 1.6rem;
  margin-bottom: 16px;
  transform: rotate(-2deg);
}

.toolbox-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 720px;
  margin-inline: auto;
}

.toolbox-chips li {
  font-size: 0.88rem;
  font-weight: 600;
  padding: 7px 15px;
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.toolbox-chips li:nth-child(3n + 1) {
  border-color: var(--amber);
}

.toolbox-chips li:nth-child(3n + 2) {
  border-color: var(--blue);
}

.toolbox-chips li:nth-child(3n) {
  border-color: var(--coral);
}

.toolbox-chips li:hover {
  transform: translateY(-2px) rotate(-1deg);
}

/* ---------- Lesson types ---------- */

.plans {
  background: var(--cream-2);
}

.plans h2,
.plans .section-sub {
  margin-inline: auto;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: clamp(44px, 5vw, 64px);
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  box-shadow: var(--shadow-pop-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.plan-card:hover {
  transform: translate(-2px, -3px);
  box-shadow: var(--shadow-pop);
}

.plan-featured {
  background: var(--ink);
  color: var(--cream);
  box-shadow: 8px 8px 0 var(--coral);
}

.plan-featured:hover {
  box-shadow: 10px 10px 0 var(--coral);
}

.plan-badge {
  position: absolute;
  top: -18px;
  right: 22px;
  color: var(--ink);
}

.plan-card header {
  border-bottom: 1.5px dashed var(--line);
  padding-bottom: 18px;
  margin-bottom: 18px;
}

.plan-featured header {
  border-bottom-color: rgba(255, 249, 240, 0.25);
}

.plan-card h3 {
  font-size: 1.6rem;
  margin-bottom: 0.15em;
}

.plan-price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2rem;
  line-height: 1;
  margin: 12px 0 0;
}

.plan-price span {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.plan-featured .plan-price span {
  color: rgba(255, 249, 240, 0.7);
}

.plan-alt {
  margin: 8px 0 0;
  font-size: 0.86rem;
  color: rgba(255, 249, 240, 0.7);
}

.plan-alt a {
  color: var(--amber);
  font-weight: 700;
}

.plan-alt a:hover {
  color: var(--amber-soft);
}

.plan-tag {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.plan-featured .plan-tag {
  color: var(--amber);
}

.plan-features {
  flex: 1;
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
}

.plan-features li {
  position: relative;
  padding-left: 28px;
  font-size: 0.99rem;
}

.plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--coral-soft) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23c0322f" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12.5l4.5 4.5L19 7.5"/></svg>') center / 10px no-repeat;
}

.plan-featured .plan-features li::before {
  background-color: rgba(255, 217, 210, 0.2);
}

.trial-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 34px;
  padding: 28px 32px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-pop-sm);
}

.trial-banner .trial-copy {
  max-width: 56ch;
}

.trial-banner .sticker {
  margin-bottom: 14px;
}

.trial-banner h3 {
  margin-bottom: 0.25em;
}

.trial-banner p:last-child {
  margin: 0;
  color: var(--ink-soft);
}

.italki-note {
  margin: 22px 0 0;
  text-align: center;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* ---------- Booking made easy ---------- */

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

.booking-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: clamp(44px, 5vw, 64px);
}

.booking-item {
  text-align: left;
  padding: 26px 22px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.booking-item:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
}

.booking-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--amber-soft);
  color: var(--ink);
  margin-bottom: 14px;
}

/* yellow, yellow, blue, red — like the flag 🇨🇴 */
.booking-item:nth-child(3) .booking-icon {
  background: var(--blue-soft);
  color: var(--blue-deep);
}

.booking-item:nth-child(4) .booking-icon {
  background: var(--coral-soft);
  color: var(--coral-deeper);
}

.booking-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35em;
}

.booking-item p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--ink-soft);
}

/* ---------- Wayuu-inspired woven band ---------- */

.weave {
  height: 18px;
  background-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 12' width='72' height='12'%3E%3Cpolygon points='12,1 22,6 12,11 2,6' fill='%23f7a928'/%3E%3Cpolygon points='36,1 46,6 36,11 26,6' fill='%237fa8d9'/%3E%3Cpolygon points='60,1 70,6 60,11 50,6' fill='%23ff7b7b'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center;
  background-size: auto 10px;
}

/* ---------- Reviews (dark) ---------- */

.reviews {
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}

.reviews h2 {
  color: var(--cream);
}

.reviews .section-sub {
  color: rgba(255, 249, 240, 0.75);
}

.deco-reviews {
  top: -0.1em;
  right: 2vw;
  font-size: clamp(12rem, 24vw, 22rem);
  color: var(--blue);
  opacity: 0.28;
}

.italki-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--cream);
  background: rgba(255, 249, 240, 0.08);
  border: 1.5px solid rgba(255, 249, 240, 0.35);
  border-radius: 999px;
  padding: 9px 20px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.italki-badge:hover {
  color: var(--cream);
  background: rgba(255, 249, 240, 0.16);
  border-color: var(--cream);
}

.review-columns {
  columns: 3 300px;
  column-gap: 24px;
  margin-top: clamp(48px, 5.5vw, 66px);
  position: relative;
  z-index: 1;
}

.review-card {
  break-inside: avoid;
  margin: 0 0 24px;
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 26px 24px 22px;
  transform: rotate(-0.7deg);
  transition: transform 0.2s ease;
}

.review-card:nth-child(even) {
  transform: rotate(0.7deg);
}

.review-card:hover {
  transform: rotate(0deg) scale(1.01);
}

.review-card blockquote {
  margin: 0 0 18px;
}

.review-card blockquote p {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.6;
}

.review-card blockquote p::before {
  content: "“";
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 0;
  vertical-align: -0.35em;
  color: var(--coral);
  margin-right: 4px;
}

.review-card:nth-child(even) blockquote p::before {
  color: var(--blue);
}

.review-card:nth-child(even) figcaption img,
.review-card:nth-child(even) .avatar-initial {
  border-color: var(--blue);
}

.review-card:nth-child(even) .avatar-initial {
  background: var(--blue-soft);
  color: var(--blue-deep);
}

.review-card figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.review-card figcaption img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--amber);
}

.avatar-initial {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--coral-soft);
  border: 2px solid var(--amber);
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--coral-deeper);
}

.review-meta {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 2px;
}

.review-cta {
  background: var(--amber-soft);
  border: 1.5px solid var(--ink);
  box-shadow: var(--shadow-pop-sm);
  text-align: center;
  padding: 30px 24px 28px;
}

.review-cta-stars {
  margin: 0 0 6px;
  color: var(--coral-deep);
  font-size: 1.05rem;
  letter-spacing: 0.18em;
}

.review-cta-count {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 3.2rem;
  line-height: 1;
  margin: 0;
}

.review-cta-copy {
  margin: 6px 0 20px;
  font-weight: 600;
  font-size: 0.95rem;
}

.reviews-cta {
  margin-top: 20px;
}

/* ---------- Refer a friend ---------- */

.refer {
  background: var(--cream-2);
  padding-block: clamp(56px, 7vw, 84px);
}

.refer-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 30px 34px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-pop-sm);
}

.refer-copy {
  max-width: 44ch;
}

.refer-banner h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.35em;
}

.refer-copy p:last-child {
  margin: 0;
  color: var(--ink-soft);
}

.refer-form {
  flex: 1 1 320px;
  max-width: 440px;
}

.refer-form input {
  width: 100%;
  font: inherit;
  padding: 13px 20px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  margin-bottom: 12px;
}

.refer-form input::placeholder {
  color: var(--ink-soft);
  opacity: 0.75;
  font-size: 0.95rem;
}

.refer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.refer-actions .btn {
  flex: 1 1 auto;
}

.refer-hint {
  margin: 10px 0 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* ---------- FAQ ---------- */

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

.faq-list {
  margin-top: clamp(36px, 4vw, 52px);
  border-top: 1.5px solid var(--line-strong);
}

.faq-list details {
  border-bottom: 1.5px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.08rem;
  padding: 22px 4px;
}

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

.faq-mark {
  flex: 0 0 auto;
  position: relative;
  width: 18px;
  height: 18px;
}

.faq-mark::before,
.faq-mark::after {
  content: "";
  position: absolute;
  background: var(--coral-deep);
  border-radius: 2px;
  transition: transform 0.22s ease;
}

.faq-mark::before {
  left: 0;
  right: 0;
  top: 8px;
  height: 2.5px;
}

.faq-mark::after {
  top: 0;
  bottom: 0;
  left: 8px;
  width: 2.5px;
}

details[open] .faq-mark::after {
  transform: scaleY(0);
}

details[open] summary {
  color: var(--coral-deep);
}

.faq-list details > p {
  padding: 0 4px 24px;
  margin: 0;
  color: var(--ink-soft);
  max-width: 60ch;
}

/* ---------- Final CTA ---------- */

.cta-final {
  background: var(--coral);
  color: var(--ink);
  overflow: hidden;
}

.cta-final h2 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-style: italic;
  font-variation-settings: "opsz" 144, "WONK" 1;
}

.cta-final .section-sub {
  color: rgba(51, 34, 28, 0.8);
  margin-bottom: 34px;
}

.deco-cta {
  bottom: -0.4em;
  left: -0.05em;
  font-size: clamp(11rem, 24vw, 20rem);
  color: var(--cream);
  opacity: 0.25;
}

.cta-final .container {
  position: relative;
  z-index: 1;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: rgba(255, 249, 240, 0.8);
  padding-block: 56px 40px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
}

.footer-brand img {
  height: 30px;
  width: auto;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.92rem;
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}

.footer-links a {
  color: var(--cream);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
}

.footer-links a:hover {
  color: var(--coral-soft);
  border-bottom-color: var(--coral-soft);
}

.footer-copy {
  width: 100%;
  margin: 26px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 249, 240, 0.15);
  font-size: 0.85rem;
  color: rgba(255, 249, 240, 0.55);
}

/* ---------- Reveal animations ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: calc(var(--d, 0) * 90ms);
}

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

/* Keep sticker/quality-card rotations after reveal */
.js .sticker.reveal {
  transform: translateY(20px) rotate(-2deg);
}

.js .sticker.reveal.in {
  transform: rotate(-2deg);
}

.js .quality-card.reveal {
  transform: translateY(20px);
}

.js .quality-card.reveal.in:nth-child(odd) {
  transform: rotate(-0.6deg);
}

.js .quality-card.reveal.in:nth-child(even) {
  transform: rotate(0.6deg);
}

.js .review-card.reveal {
  transform: translateY(20px);
}

.js .review-card.reveal.in {
  transform: rotate(-0.7deg);
}

.js .review-card.reveal.in:nth-child(even) {
  transform: rotate(0.7deg);
}

/* ---------- Mobile ---------- */

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

  .quality-cards {
    margin-top: 8px;
  }

  .plan-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }

  .plan-featured {
    order: -1;
  }

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

  .values {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }

}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1.5px solid var(--ink);
    display: none;
    box-shadow: 0 18px 30px rgba(51, 34, 28, 0.12);
  }

  .nav-open .site-nav {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 24px 22px;
  }

  .site-nav li {
    width: 100%;
  }

  .site-nav a:not(.btn) {
    display: block;
    padding: 13px 0;
    font-size: 1.1rem;
  }

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

  .hero-actions .btn {
    width: 100%;
  }

  .trial-banner {
    padding: 24px 22px;
  }

  .trial-banner .btn {
    width: 100%;
  }

  .trust {
    gap: 20px 32px;
  }

  .booking-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }

  .video-caption {
    text-align: center;
  }

  .hero-id {
    gap: 16px;
  }

  .hero-avatar img {
    width: 72px;
    height: 72px;
  }

  .flag-dot {
    width: 24px;
    height: 24px;
  }

  .journey {
    font-size: 0.78rem;
    gap: 8px;
    padding: 8px 14px;
  }

  .journey .leg {
    width: 14px;
  }

  .footer-inner {
    flex-direction: column;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal,
  .js .sticker.reveal,
  .js .quality-card.reveal,
  .js .review-card.reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .value-card,
  .plan-card,
  .quality-card,
  .review-card,
  .booking-item,
  .video-frame,
  .play-btn {
    transition: none;
  }
}
