/* ============================================================
   BARISTA ACADEMY MÜNCHEN — DESIGN SYSTEM
   Editorial · Latin · Café · Premium
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,300..900&family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Colors — Coffee + Gold (from logo) */
  --coffee-deepest: #1a0f08;
  --coffee-deep: #2a1810;
  --coffee-rich: #3d2418;
  --coffee-medium: #5c3a26;
  --coffee-warm: #8b5a3c;
  --crema: #f4e8d8;
  --cream-light: #faf3e7;
  --paper: #fefaf3;
  --gold: #f5b942;
  --gold-bright: #fbcc6a;
  --gold-deep: #d49b2c;
  --terracotta: #c5613f;
  --terracotta-deep: #a14d2f;
  --jungle: #2d4a3e;
  --white: #ffffff;
  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;
  
  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  
  /* Spacing */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 9rem;
  
  /* Radii */
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;
  --radius-xl: 44px;
  --radius-full: 999px;
  
  /* Shadows */
  --shadow-soft: 0 4px 24px rgba(42, 24, 16, 0.08);
  --shadow-medium: 0 12px 40px rgba(42, 24, 16, 0.12);
  --shadow-strong: 0 24px 64px rgba(42, 24, 16, 0.18);
  --shadow-dramatic: 0 32px 80px rgba(42, 24, 16, 0.25);
  
  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Layout */
  --container-max: 1280px;
  --container-narrow: 920px;
  --header-height: 80px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  color: var(--coffee-deep);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; transition: color 0.3s var(--ease-out); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: var(--space-sm);
}

.section-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto var(--space-2xl);
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--coffee-deep);
  margin-bottom: var(--space-md);
}

.section-head h2 em {
  font-style: italic;
  color: var(--terracotta);
  font-weight: 400;
}

.section-head p {
  font-size: 1.1rem;
  color: var(--coffee-medium);
  line-height: 1.7;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s var(--ease-out);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gold);
  color: var(--coffee-deepest);
  box-shadow: 0 8px 24px rgba(245, 185, 66, 0.35);
}

.btn--primary:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(245, 185, 66, 0.5);
}

.btn--dark {
  background: var(--coffee-deep);
  color: var(--cream-light);
}

.btn--dark:hover {
  background: var(--coffee-rich);
  transform: translateY(-2px);
}

.btn--terracotta {
  background: var(--terracotta);
  color: var(--cream-light);
}

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

.btn--ghost {
  background: transparent;
  color: var(--cream-light);
  border: 1px solid rgba(244, 232, 216, 0.3);
}

.btn--ghost:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}

.btn__arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease-out);
}

.btn:hover .btn__arrow { transform: translateX(4px); }

/* ============================================================
   HEADER (Sticky)
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(26, 15, 8, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid rgba(245, 185, 66, 0.1);
  transition: all 0.3s var(--ease-out);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--cream-light);
}

.site-header__logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.site-header__logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  font-style: italic;
  color: var(--gold);
  letter-spacing: -0.01em;
  line-height: 1;
}

.site-header__logo-tag {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245, 185, 66, 0.7);
  display: block;
  margin-top: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.site-nav__link {
  color: var(--cream-light);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.site-nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}

.site-nav__link:hover { color: var(--gold-bright); }
.site-nav__link:hover::after { width: 100%; }

.site-header__cta {
  padding: 0.7rem 1.4rem;
  font-size: 0.9rem;
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream-light);
  transition: all 0.3s var(--ease-out);
}

.mobile-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.is-open span:nth-child(2) { opacity: 0; }
.mobile-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--coffee-deepest);
  z-index: 99;
  padding: var(--space-xl) var(--space-md);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
  overflow-y: auto;
}

.mobile-menu.is-open { transform: translateX(0); }

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.mobile-menu__link {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--cream-light);
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(245, 185, 66, 0.1);
}

.mobile-menu__link:hover { color: var(--gold); }

.mobile-menu__cta {
  margin-top: var(--space-xl);
  width: 100%;
  justify-content: center;
}

/* ============================================================
   HERO (Home)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--coffee-deepest) 0%, var(--coffee-deep) 60%, var(--coffee-rich) 100%);
  color: var(--cream-light);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + var(--space-xl)) 0 var(--space-2xl);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 15% 25%, rgba(245, 185, 66, 0.15) 0%, transparent 25%),
    radial-gradient(circle at 85% 70%, rgba(197, 97, 63, 0.18) 0%, transparent 30%);
  opacity: 0.9;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, var(--paper));
  pointer-events: none;
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(245, 185, 66, 0.15);
  border: 1px solid rgba(245, 185, 66, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: var(--space-md);
  animation: fadeUp 0.8s var(--ease-out);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.95;
  font-weight: 300;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
  animation: fadeUp 0.9s var(--ease-out) 0.1s backwards;
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
  display: block;
}

.hero__lead {
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  color: rgba(244, 232, 216, 0.85);
  margin-bottom: var(--space-lg);
  max-width: 520px;
  line-height: 1.6;
  animation: fadeUp 1s var(--ease-out) 0.2s backwards;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  animation: fadeUp 1.1s var(--ease-out) 0.3s backwards;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md) var(--space-lg);
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(244, 232, 216, 0.15);
  animation: fadeUp 1.2s var(--ease-out) 0.4s backwards;
}

.hero__trust-item { display: flex; flex-direction: column; gap: 0.2rem; }
.hero__trust-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--gold-bright);
  line-height: 1;
}
.hero__trust-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(244, 232, 216, 0.6);
}

.hero__visual {
  position: relative;
  animation: fadeUp 1.2s var(--ease-out) 0.3s backwards;
}

.hero__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-dramatic);
  position: relative;
  aspect-ratio: 4/5;
}

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

.hero__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(26, 15, 8, 0.4));
}

.hero__visual-card {
  position: absolute;
  bottom: -30px;
  left: -30px;
  background: var(--cream-light);
  color: var(--coffee-deep);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-dramatic);
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: fadeUp 1.4s var(--ease-out) 0.6s backwards;
}

.hero__visual-card-icon {
  font-size: 2.2rem;
  line-height: 1;
}

.hero__visual-card-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  font-style: italic;
  line-height: 1;
  color: var(--terracotta);
}

.hero__visual-card-text {
  font-size: 0.85rem;
  color: var(--coffee-medium);
  margin-top: 2px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   COURSES SECTION
   ============================================================ */
.courses {
  padding: var(--space-3xl) 0;
  background: var(--paper);
}

.courses__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.course-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  box-shadow: var(--shadow-soft);
  border: 2px solid transparent;
  transition: all 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
  border-color: var(--gold);
}

.course-card--featured {
  background: linear-gradient(180deg, var(--coffee-deep) 0%, var(--coffee-rich) 100%);
  color: var(--cream-light);
  transform: scale(1.05);
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-medium);
}

.course-card--featured:hover { transform: scale(1.05) translateY(-8px); }

.course-card__badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--terracotta);
  color: var(--cream-light);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.course-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--crema);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: var(--space-md);
}

.course-card--featured .course-card__icon { background: rgba(245, 185, 66, 0.2); }

.course-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 0.4rem;
  color: var(--coffee-deep);
}

.course-card--featured .course-card__title { color: var(--cream-light); }

.course-card__subtitle {
  font-size: 0.95rem;
  color: var(--coffee-medium);
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.course-card--featured .course-card__subtitle { color: rgba(244, 232, 216, 0.7); }

.course-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(42, 24, 16, 0.1);
}

.course-card--featured .course-card__price { border-bottom-color: rgba(244, 232, 216, 0.15); }

.course-card__price-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 600;
  font-style: italic;
  line-height: 1;
  color: var(--coffee-deep);
}

.course-card--featured .course-card__price-num { color: var(--gold-bright); }

.course-card__price-currency {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--coffee-medium);
}

.course-card--featured .course-card__price-currency { color: var(--gold-bright); }

.course-card__price-old {
  font-size: 1rem;
  text-decoration: line-through;
  color: var(--coffee-medium);
  margin-left: auto;
}

.course-card__features {
  margin-bottom: var(--space-lg);
  flex: 1;
}

.course-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.4rem 0;
  font-size: 0.95rem;
  color: var(--coffee-rich);
}

.course-card--featured .course-card__features li { color: rgba(244, 232, 216, 0.85); }

.course-card__check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  color: var(--coffee-deep);
  font-size: 0.7rem;
  font-weight: 700;
}

.course-card__btn {
  display: block;
  width: 100%;
  padding: 1rem;
  text-align: center;
  background: var(--coffee-deep);
  color: var(--cream-light);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s var(--ease-out);
}

.course-card__btn:hover {
  background: var(--terracotta);
  transform: translateY(-2px);
}

.course-card--featured .course-card__btn {
  background: var(--gold);
  color: var(--coffee-deep);
}

.course-card--featured .course-card__btn:hover {
  background: var(--gold-bright);
}

/* ============================================================
   WHY SECTION
   ============================================================ */
.why {
  padding: var(--space-3xl) 0;
  background: linear-gradient(180deg, var(--paper) 0%, var(--crema) 100%);
}

.why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.why__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-strong);
}

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

.why__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(26, 15, 8, 0.6) 0%, transparent 60%);
}

.why__visual-overlay {
  position: absolute;
  bottom: var(--space-lg);
  left: var(--space-lg);
  right: var(--space-lg);
  color: var(--cream-light);
  z-index: 2;
}

.why__visual-quote {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.why__visual-author {
  font-size: 0.9rem;
  opacity: 0.85;
}

.why__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.why__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s var(--ease-out);
}

.why__item:hover { transform: translateX(8px); box-shadow: var(--shadow-medium); }

.why__item-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  font-style: italic;
  color: var(--terracotta);
  line-height: 1;
}

.why__item-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
  color: var(--coffee-deep);
}

.why__item-text {
  font-size: 0.95rem;
  color: var(--coffee-medium);
  line-height: 1.6;
}

/* ============================================================
   STORY SECTION (About Beto)
   ============================================================ */
.story {
  padding: var(--space-3xl) 0;
  background: var(--coffee-deep);
  color: var(--cream-light);
  position: relative;
  overflow: hidden;
}

.story::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 185, 66, 0.08) 0%, transparent 70%);
}

.story__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  position: relative;
  z-index: 2;
}

.story__visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: var(--shadow-dramatic);
}

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

.story .eyebrow { color: var(--gold-bright); }

.story h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.story h2 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.story__text {
  font-size: 1.05rem;
  color: rgba(244, 232, 216, 0.85);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.story__signature {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--gold);
  margin-top: var(--space-md);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: var(--space-3xl) 0;
  background: var(--paper);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: transform 0.3s var(--ease-out);
}

.testimonial:hover { transform: translateY(-4px); }

.testimonial__quote {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 0.5;
  color: var(--gold);
  font-style: italic;
}

.testimonial__stars {
  display: flex;
  gap: 0.15rem;
  margin: var(--space-sm) 0;
  color: var(--gold);
  font-size: 1.1rem;
}

.testimonial__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
  color: var(--coffee-deep);
}

.testimonial__text {
  font-size: 0.95rem;
  color: var(--coffee-medium);
  line-height: 1.65;
  margin-bottom: var(--space-md);
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(42, 24, 16, 0.08);
}

.testimonial__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--terracotta));
  color: var(--coffee-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-display);
}

.testimonial__author-name { font-weight: 600; font-size: 0.9rem; }
.testimonial__author-date { font-size: 0.8rem; color: var(--coffee-medium); }

.testimonials__more {
  text-align: center;
  margin-top: var(--space-xl);
}

.testimonials__more a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--terracotta);
  font-weight: 600;
  border-bottom: 2px solid var(--terracotta);
  padding-bottom: 2px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: var(--space-3xl) 0;
  background: var(--crema);
}

.faq__list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq__item {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.faq__item[open] { box-shadow: var(--shadow-medium); }

.faq__question {
  padding: var(--space-md) var(--space-lg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--coffee-deep);
  list-style: none;
}

.faq__question::-webkit-details-marker { display: none; }

.faq__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--crema);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--terracotta);
  transition: all 0.3s var(--ease-spring);
}

.faq__item[open] .faq__icon {
  background: var(--terracotta);
  color: var(--cream-light);
  transform: rotate(45deg);
}

.faq__answer {
  padding: 0 var(--space-lg) var(--space-md);
  color: var(--coffee-medium);
  line-height: 1.7;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--coffee-warm) 100%);
  color: var(--cream-light);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 50% 50%, rgba(245, 185, 66, 0.15) 0%, transparent 60%);
}

.final-cta__inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.final-cta p {
  font-size: 1.15rem;
  margin-bottom: var(--space-lg);
  opacity: 0.92;
  line-height: 1.7;
}

.final-cta .btn {
  background: var(--coffee-deepest);
  color: var(--cream-light);
  font-size: 1.05rem;
  padding: 1.2rem 2.2rem;
}

.final-cta .btn:hover { background: var(--coffee-deep); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--coffee-deepest);
  color: var(--cream-light);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.site-footer__main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-md);
}

.site-footer__brand-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
}

.site-footer__brand-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--gold);
}

.site-footer__about {
  font-size: 0.92rem;
  color: rgba(244, 232, 216, 0.7);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.site-footer__social {
  display: flex;
  gap: 0.75rem;
}

.site-footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(245, 185, 66, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: all 0.3s var(--ease-out);
}

.site-footer__social a:hover {
  background: var(--gold);
  color: var(--coffee-deepest);
  transform: translateY(-2px);
}

.site-footer__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gold-bright);
  margin-bottom: var(--space-md);
}

.site-footer__links li { margin-bottom: 0.6rem; }

.site-footer__links a {
  color: rgba(244, 232, 216, 0.75);
  font-size: 0.9rem;
  transition: color 0.3s var(--ease-out);
}

.site-footer__links a:hover { color: var(--gold); }

.site-footer__contact {
  font-size: 0.9rem;
  color: rgba(244, 232, 216, 0.75);
  line-height: 1.8;
}

.site-footer__contact a:hover { color: var(--gold); }

.site-footer__bottom {
  border-top: 1px solid rgba(245, 185, 66, 0.1);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-size: 0.85rem;
  color: rgba(244, 232, 216, 0.5);
}

.site-footer__legal {
  display: flex;
  gap: var(--space-md);
}

.site-footer__legal a:hover { color: var(--gold); }

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.8rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 50;
  transition: all 0.3s var(--ease-out);
  text-decoration: none;
}

.whatsapp-float:hover {
  background: var(--whatsapp-dark);
  transform: scale(1.1);
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--whatsapp);
  z-index: -1;
  animation: pulse 2s infinite;
  opacity: 0.4;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ============================================================
   COOKIE BANNER (GDPR)
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 420px;
  background: var(--white);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-strong);
  z-index: 60;
  transform: translateY(120%);
  transition: transform 0.4s var(--ease-spring);
}

.cookie-banner.is-visible { transform: translateY(0); }

.cookie-banner__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--coffee-deep);
}

.cookie-banner__text {
  font-size: 0.85rem;
  color: var(--coffee-medium);
  line-height: 1.5;
  margin-bottom: var(--space-sm);
}

.cookie-banner__actions {
  display: flex;
  gap: 0.5rem;
}

.cookie-banner__btn {
  flex: 1;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.cookie-banner__btn--accept { background: var(--coffee-deep); color: var(--cream-light); }
.cookie-banner__btn--accept:hover { background: var(--coffee-rich); }

.cookie-banner__btn--decline {
  background: transparent;
  color: var(--coffee-medium);
  border: 1px solid rgba(42, 24, 16, 0.15);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .site-footer__main { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
}

@media (max-width: 968px) {
  .site-nav { display: none; }
  .site-header__cta { display: none; }
  .mobile-toggle { display: flex; }
  
  .hero { min-height: auto; padding: calc(var(--header-height) + var(--space-lg)) 0 var(--space-2xl); }
  .hero__inner { grid-template-columns: 1fr; gap: var(--space-xl); }
  .hero__visual { max-width: 480px; margin: 0 auto; }
  .hero__visual-card { left: 0; }
  
  .courses__grid { grid-template-columns: 1fr; gap: var(--space-md); }
  .course-card--featured { transform: scale(1); }
  .course-card--featured:hover { transform: translateY(-8px); }
  
  .why__grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .why__visual { aspect-ratio: 16/10; }
  
  .story__inner { grid-template-columns: 1fr; gap: var(--space-xl); }
  .story__visual { max-width: 480px; margin: 0 auto; }
  
  .testimonials__grid { grid-template-columns: 1fr; }
  
  .site-footer__main { grid-template-columns: 1fr; gap: var(--space-lg); }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  :root { --space-3xl: 5rem; --space-2xl: 3.5rem; }
  
  .container { padding: 0 var(--space-sm); }
  .hero__visual-card { padding: 0.85rem 1rem; }
  .hero__visual-card-icon { font-size: 1.6rem; }
  .hero__visual-card-num { font-size: 1.2rem; }
  
  .cookie-banner { left: 16px; right: 16px; bottom: 16px; max-width: none; }
  .whatsapp-float { width: 52px; height: 52px; bottom: 16px; right: 16px; font-size: 1.5rem; }
}

/* ============================================================
   ============================================================
   PÁGINAS INTERNAS — Componentes adicionales
   100% RESPONSIVE (mobile first)
   ============================================================
   ============================================================ */

/* ============================================================
   PAGE HERO (más pequeño que el de la home)
   ============================================================ */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--coffee-deepest) 0%, var(--coffee-deep) 60%, var(--coffee-rich) 100%);
  color: var(--cream-light);
  overflow: hidden;
  padding: calc(var(--header-height) + var(--space-lg)) 0 var(--space-xl);
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 15% 25%, rgba(245, 185, 66, 0.15) 0%, transparent 25%),
    radial-gradient(circle at 85% 70%, rgba(197, 97, 63, 0.18) 0%, transparent 30%);
  opacity: 0.9;
}

.page-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.page-hero__breadcrumb {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(244, 232, 216, 0.6);
  margin-bottom: var(--space-sm);
}

.page-hero__breadcrumb a {
  color: rgba(244, 232, 216, 0.8);
  transition: color 0.3s var(--ease-out);
}

.page-hero__breadcrumb a:hover { color: var(--gold-bright); }

.page-hero__breadcrumb-sep { opacity: 0.5; }

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  line-height: 1.05;
  font-weight: 300;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
}

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

.page-hero__lead {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: rgba(244, 232, 216, 0.85);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto var(--space-md);
}

/* Meta horizontal con iconos */
.page-hero__meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-md);
  justify-content: center;
  padding: var(--space-md);
  background: rgba(245, 185, 66, 0.08);
  border: 1px solid rgba(245, 185, 66, 0.2);
  border-radius: var(--radius-md);
  margin-top: var(--space-md);
  max-width: 100%;
}

.page-hero__meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  min-width: 90px;
  padding: 0 var(--space-xs);
}

.page-hero__meta-icon {
  font-size: 1.4rem;
  margin-bottom: 0.2rem;
}

.page-hero__meta-num {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--gold-bright);
  line-height: 1;
}

.page-hero__meta-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(244, 232, 216, 0.7);
  text-align: center;
}

/* ============================================================
   CONTENT SECTIONS
   ============================================================ */
.content-section {
  padding: var(--space-2xl) 0;
}

.content-section--cream { background: var(--paper); }
.content-section--crema { background: var(--crema); }
.content-section--dark {
  background: var(--coffee-deep);
  color: var(--cream-light);
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.content-grid__visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-strong);
  width: 100%;
}

.content-grid__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-grid__content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--coffee-deep);
  margin-bottom: var(--space-md);
}

.content-grid__content h2 em {
  font-style: italic;
  color: var(--terracotta);
}

.content-section--dark .content-grid__content h2 { color: var(--cream-light); }
.content-section--dark .content-grid__content h2 em { color: var(--gold); }

.content-grid__content p {
  font-size: 1.02rem;
  color: var(--coffee-medium);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.content-section--dark .content-grid__content p {
  color: rgba(244, 232, 216, 0.85);
}

/* ============================================================
   FEATURE LIST
   ============================================================ */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.feature-list__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.content-section--dark .feature-list__item {
  background: rgba(244, 232, 216, 0.05);
  border: 1px solid rgba(245, 185, 66, 0.1);
}

.feature-list__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--crema);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.content-section--dark .feature-list__icon {
  background: rgba(245, 185, 66, 0.15);
}

.feature-list__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--coffee-deep);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.content-section--dark .feature-list__title { color: var(--cream-light); }

.feature-list__text {
  font-size: 0.92rem;
  color: var(--coffee-medium);
  line-height: 1.6;
}

.content-section--dark .feature-list__text {
  color: rgba(244, 232, 216, 0.7);
}

/* ============================================================
   CURRICULUM (What you learn)
   ============================================================ */
.curriculum {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.curriculum-item {
  background: var(--white);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border-left: 4px solid var(--gold);
  transition: transform 0.3s var(--ease-out);
}

.curriculum-item:hover { transform: translateY(-4px); }

.curriculum-item__num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--terracotta);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.curriculum-item__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--coffee-deep);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.curriculum-item__text {
  font-size: 0.92rem;
  color: var(--coffee-medium);
  line-height: 1.6;
}

/* ============================================================
   MID-PAGE CTA (highlight)
   ============================================================ */
.mid-cta {
  padding: var(--space-2xl) 0;
  background: linear-gradient(135deg, var(--gold) 0%, var(--terracotta) 100%);
  color: var(--coffee-deepest);
  text-align: center;
}

.mid-cta__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.mid-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.1;
  margin-bottom: var(--space-md);
  color: var(--coffee-deepest);
}

.mid-cta p {
  font-size: 1.02rem;
  margin-bottom: var(--space-lg);
  color: var(--coffee-deep);
  line-height: 1.6;
}

.mid-cta .btn {
  background: var(--coffee-deepest);
  color: var(--cream-light);
  font-size: 1rem;
  padding: 1rem 1.8rem;
}

.mid-cta .btn:hover { background: var(--coffee-deep); }

/* ============================================================
   PRICE BOX
   ============================================================ */
.price-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-strong);
  text-align: center;
  border: 2px solid var(--gold);
  max-width: 480px;
  margin: 0 auto;
}

.price-box__eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: var(--space-sm);
}

.price-box__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.4rem;
}

.price-box__price-num {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 5rem);
  font-weight: 600;
  font-style: italic;
  color: var(--coffee-deep);
  line-height: 1;
}

.price-box__price-currency {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--coffee-medium);
}

.price-box__price-old {
  text-decoration: line-through;
  color: var(--coffee-medium);
  font-size: 1.1rem;
  margin-left: 0.5rem;
}

.price-box__sub {
  font-size: 0.92rem;
  color: var(--coffee-medium);
  margin-bottom: var(--space-md);
}

.price-box__features {
  text-align: left;
  margin-bottom: var(--space-lg);
}

.price-box__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.4rem 0;
  font-size: 0.95rem;
  color: var(--coffee-rich);
}

.price-box__check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  color: var(--coffee-deep);
  font-size: 0.7rem;
  font-weight: 700;
}

.price-box .btn {
  width: 100%;
  justify-content: center;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  max-width: 720px;
  margin: 0 auto;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-form__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--coffee-deep);
}

.contact-form__input,
.contact-form__textarea {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(42, 24, 16, 0.15);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
  color: var(--coffee-deep);
  transition: border-color 0.3s var(--ease-out);
  width: 100%;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 185, 66, 0.15);
}

.contact-form__textarea {
  min-height: 140px;
  resize: vertical;
  font-family: inherit;
}

.contact-form__submit {
  margin-top: var(--space-sm);
}

/* ============================================================
   CONTACT INFO BOX
   ============================================================ */
.contact-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  max-width: 920px;
  margin: 0 auto;
}

.contact-info__card {
  background: var(--white);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.contact-info__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--terracotta));
  color: var(--coffee-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto var(--space-sm);
}

.contact-info__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--coffee-deep);
  margin-bottom: 0.4rem;
}

.contact-info__text {
  font-size: 0.95rem;
  color: var(--coffee-medium);
  line-height: 1.6;
}

.contact-info__text a {
  color: var(--terracotta);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-out);
}

.contact-info__text a:hover {
  border-bottom-color: var(--terracotta);
}

/* ============================================================
   MAP CONTAINER
   ============================================================ */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  margin-top: var(--space-lg);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================================
   IMPRESSUM/LEGAL PAGES (text-heavy)
   ============================================================ */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--coffee-rich);
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--coffee-deep);
  margin: var(--space-xl) 0 var(--space-sm);
}

.legal-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--coffee-deep);
  margin: var(--space-lg) 0 var(--space-sm);
}

.legal-content p { margin-bottom: var(--space-sm); }

.legal-content ul {
  list-style: disc;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-md);
}

.legal-content li { margin-bottom: 0.4rem; }

.legal-content a {
  color: var(--terracotta);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-out);
}

.legal-content a:hover { border-bottom-color: var(--terracotta); }

/* ============================================================
   ============================================================
   RESPONSIVE BREAKPOINTS — Mobile First Approach
   ============================================================
   ============================================================ */

/* TABLET portrait (≥768px) */
@media (min-width: 768px) {
  /* Page hero */
  .page-hero { padding: calc(var(--header-height) + var(--space-xl)) 0 var(--space-2xl); }
  
  /* Content sections */
  .content-section { padding: var(--space-3xl) 0; }
  
  /* Content grid: 2 columnas */
  .content-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
  
  .content-grid--reverse .content-grid__visual { order: 2; }
  
  /* Curriculum: 2 columnas */
  .curriculum {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Contact form: 2 columnas */
  .contact-form {
    grid-template-columns: 1fr 1fr;
  }
  
  .contact-form__field--full { grid-column: 1 / -1; }
  
  /* Contact info: 3 columnas */
  .contact-info {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* DESKTOP (≥1024px) */
@media (min-width: 1024px) {
  /* Curriculum: 3 columnas */
  .curriculum {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Page hero meta: más espacio */
  .page-hero__meta {
    gap: var(--space-md) var(--space-lg);
  }
}

/* ============================================================
   FIX: Mejoras específicas para móviles pequeños (<400px)
   ============================================================ */
@media (max-width: 400px) {
  .page-hero__meta {
    flex-direction: column;
    gap: var(--space-sm);
    width: 100%;
  }
  
  .page-hero__meta-item {
    flex-direction: row;
    gap: var(--space-sm);
    min-width: auto;
    width: 100%;
    justify-content: flex-start;
    padding: 0.5rem;
    background: rgba(245, 185, 66, 0.05);
    border-radius: var(--radius-sm);
  }
  
  .page-hero__meta-icon { margin-bottom: 0; }
  
  .page-hero__breadcrumb {
    font-size: 0.75rem;
  }
  
  .price-box__price-num {
    font-size: 3rem;
  }
  
  .feature-list__icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

/* ============================================================
   ============================================================
   REFUERZO RESPONSIVE — Mejoras específicas
   Para garantizar perfección en TODOS los dispositivos
   ============================================================
   ============================================================ */

/* ============================================================
   BASE RESPONSIVE FIXES (siempre aplicados)
   ============================================================ */

/* Evita overflow horizontal en TODA la web */
html, body {
  overflow-x: hidden;
  width: 100%;
}

/* Imágenes nunca rompen el layout */
img, video, iframe {
  max-width: 100%;
  height: auto;
}

/* Tablas responsivas */
table {
  width: 100%;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Input/textarea no rompen layout */
input, textarea, select {
  max-width: 100%;
}

/* ============================================================
   TABLET (max 968px) — refuerzos
   ============================================================ */
@media (max-width: 968px) {
  /* Header: ajustar logo */
  .site-header__logo-text {
    font-size: 1.15rem;
  }
  
  .site-header__logo-tag {
    font-size: 0.6rem;
  }
  
  .site-header__logo-img {
    width: 40px;
    height: 40px;
  }
  
  /* Page hero: reducir paddings */
  .page-hero {
    padding: calc(var(--header-height) + var(--space-md)) 0 var(--space-lg);
  }
  
  /* Course cards: padding reducido */
  .course-card {
    padding: var(--space-lg) var(--space-md);
  }
  
  .course-card__price-num {
    font-size: 2.8rem;
  }
  
  /* Why items: stack */
  .why__item {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .why__item-num {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }
  
  /* Final CTA */
  .final-cta__inner {
    padding: 0 var(--space-md);
  }
  
  /* Mid CTA: stack buttons */
  .mid-cta .btn {
    margin-left: 0 !important;
    margin-top: var(--space-sm) !important;
    width: 100%;
    max-width: 280px;
  }
  
  /* Story section */
  .story__inner {
    text-align: center;
  }
  
  /* Testimonials: ajustar */
  .testimonial {
    padding: var(--space-md);
  }
  
  /* FAQ */
  .faq__question {
    padding: var(--space-md);
    font-size: 1.05rem;
  }
  
  .faq__answer {
    padding: 0 var(--space-md) var(--space-md);
  }
  
  /* Curriculum items: padding ajustado */
  .curriculum-item {
    padding: var(--space-md);
  }
  
  /* Feature list: alineación */
  .feature-list__item {
    grid-template-columns: auto 1fr;
    align-items: start;
  }
  
  /* Price box */
  .price-box {
    padding: var(--space-md);
  }
}

/* ============================================================
   MÓVIL (max 600px) — refuerzos críticos
   ============================================================ */
@media (max-width: 600px) {
  /* Container con menos padding */
  .container, .container-narrow {
    padding: 0 var(--space-sm);
  }
  
  /* Botones más grandes para tap targets */
  .btn {
    padding: 0.9rem 1.4rem;
    font-size: 0.92rem;
  }
  
  /* Hero principal: ajustar */
  .hero h1 {
    font-size: clamp(2.4rem, 9vw, 3.5rem);
  }
  
  .hero__lead {
    font-size: 1rem;
  }
  
  /* Hero CTAs: full width */
  .hero__ctas {
    flex-direction: column;
    width: 100%;
  }
  
  .hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }
  
  /* Hero trust: 2 columnas en lugar de 4 */
  .hero__trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    width: 100%;
  }
  
  .hero__trust-num {
    font-size: 1.3rem;
  }
  
  /* Hero visual card */
  .hero__visual-card {
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 280px;
  }
  
  /* Page hero h1 */
  .page-hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  
  /* Section heads */
  .section-head h2 {
    font-size: clamp(1.7rem, 6vw, 2.4rem);
  }
  
  .section-head p {
    font-size: 1rem;
  }
  
  /* Course cards: ajuste fino */
  .course-card {
    padding: var(--space-md);
  }
  
  .course-card__title {
    font-size: 1.3rem;
  }
  
  .course-card__price-num {
    font-size: 2.5rem;
  }
  
  .course-card__price-currency {
    font-size: 1.2rem;
  }
  
  .course-card__features li {
    font-size: 0.9rem;
  }
  
  /* Why visual: aspect ratio mejor */
  .why__visual {
    aspect-ratio: 1;
  }
  
  .why__visual-quote {
    font-size: 1.15rem;
  }
  
  /* Story */
  .story h2 {
    font-size: 2rem;
  }
  
  .story__visual {
    max-width: 100%;
    aspect-ratio: 4/3;
  }
  
  .story__signature {
    font-size: 1.2rem;
    text-align: center;
  }
  
  /* Testimonials */
  .testimonial__title {
    font-size: 1.05rem;
  }
  
  .testimonial__text {
    font-size: 0.9rem;
  }
  
  /* Final CTA */
  .final-cta h2 {
    font-size: clamp(1.9rem, 7vw, 2.6rem);
  }
  
  .final-cta p {
    font-size: 1rem;
  }
  
  .final-cta .btn {
    width: 100%;
    max-width: 320px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
  
  /* Mid CTA */
  .mid-cta h2 {
    font-size: clamp(1.7rem, 6vw, 2.4rem);
  }
  
  .mid-cta p {
    font-size: 0.95rem;
  }
  
  /* Footer */
  .site-footer__main {
    grid-template-columns: 1fr !important;
    gap: var(--space-lg);
    text-align: center;
  }
  
  .site-footer__brand {
    justify-content: center;
  }
  
  .site-footer__social {
    justify-content: center;
  }
  
  .site-footer__bottom {
    text-align: center;
    flex-direction: column;
  }
  
  .site-footer__legal {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  /* Feature list: stack icon arriba */
  .feature-list__item {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .feature-list__icon {
    margin: 0 auto var(--space-xs);
  }
  
  /* Curriculum */
  .curriculum-item__title {
    font-size: 1.1rem;
  }
  
  /* Price box */
  .price-box__price {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  
  .price-box__price-num {
    font-size: 3.2rem;
  }
  
  .price-box__price-old {
    margin-left: 0;
    margin-top: 0.3rem;
  }
  
  .price-box__features li {
    font-size: 0.9rem;
  }
  
  /* Page hero meta: 2 columnas en móvil */
  .page-hero__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    width: 100%;
  }
  
  .page-hero__meta-item {
    min-width: auto;
  }
  
  .page-hero__meta-num {
    font-size: 1.05rem;
  }
  
  .page-hero__meta-label {
    font-size: 0.68rem;
  }
}

/* ============================================================
   MÓVIL PEQUEÑO (max 400px) — Ajustes finales
   ============================================================ */
@media (max-width: 400px) {
  /* Logo más compacto */
  .site-header__logo-tag {
    display: none;
  }
  
  .site-header__logo-text {
    font-size: 1rem;
  }
  
  .site-header__logo-img {
    width: 36px;
    height: 36px;
  }
  
  /* Hero más compacto */
  .hero {
    padding: calc(var(--header-height) + var(--space-md)) 0 var(--space-lg);
  }
  
  .hero__badge {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
  }
  
  /* Hero trust: 1 columna en pantallas muy pequeñas */
  .hero__trust {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero__trust-item {
    align-items: center;
  }
  
  /* Container padding */
  .container, .container-narrow {
    padding: 0 var(--space-xs);
  }
  
  /* Botones */
  .btn {
    padding: 0.85rem 1.2rem;
    font-size: 0.88rem;
  }
  
  /* WhatsApp float: más pequeño */
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 14px;
    right: 14px;
    font-size: 1.4rem;
  }
  
  /* Cookie banner */
  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: var(--space-sm);
  }
  
  .cookie-banner__title {
    font-size: 1rem;
  }
  
  .cookie-banner__text {
    font-size: 0.8rem;
  }
  
  .cookie-banner__btn {
    font-size: 0.8rem;
    padding: 0.5rem 0.8rem;
  }
  
  /* Section head */
  .section-head {
    margin-bottom: var(--space-xl);
  }
  
  /* Course card features: ajuste */
  .course-card__features li {
    font-size: 0.85rem;
  }
  
  /* Hero h1 */
  .hero h1 {
    font-size: 2.2rem;
  }
  
  /* Page hero h1 */
  .page-hero h1 {
    font-size: 2rem;
  }
  
  /* Page hero meta: 1 columna */
  .page-hero__meta {
    grid-template-columns: 1fr;
  }
  
  .page-hero__meta-item {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    gap: var(--space-sm);
    padding: 0.6rem;
    background: rgba(245, 185, 66, 0.05);
    border-radius: var(--radius-sm);
  }
  
  .page-hero__meta-icon {
    margin-bottom: 0;
    font-size: 1.2rem;
  }
}

/* ============================================================
   ORIENTACIÓN: Landscape en móvil
   ============================================================ */
@media (max-width: 900px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + var(--space-md)) 0 var(--space-lg);
  }
  
  .mobile-menu {
    overflow-y: auto;
  }
  
  .mobile-menu__link {
    font-size: 1.4rem;
    padding: 0.3rem 0;
  }
}

/* ============================================================
   TOUCH OPTIMIZATION (no hover en móviles)
   ============================================================ */
@media (hover: none) and (pointer: coarse) {
  /* En táctil, deshabilitar hovers raros */
  .course-card:hover,
  .course-card--featured:hover,
  .testimonial:hover,
  .why__item:hover,
  .feature-list__item:hover {
    transform: none;
  }
  
  /* Active state visible para feedback táctil */
  .btn:active,
  .course-card__btn:active {
    transform: scale(0.97);
    transition: transform 0.1s;
  }
  
  /* Tap targets más grandes */
  .site-nav__link,
  .mobile-menu__link,
  .faq__question,
  .btn,
  .course-card__btn {
    min-height: 44px;
  }
}

/* ============================================================
   PRINT (por si imprimen un Gutschein)
   ============================================================ */
@media print {
  .site-header,
  .mobile-menu,
  .whatsapp-float,
  .cookie-banner,
  .site-footer__social,
  .final-cta,
  .mid-cta {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .container {
    max-width: 100%;
    padding: 0;
  }
}

/* ============================================================
   ACCESIBILIDAD: prefers-reduced-motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   REGIONDO REVIEWS WIDGET — Estilos
   ============================================================ */
.reviews-widget {
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--space-md);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

.reviews-widget iframe {
  width: 100% !important;
  border: 0;
  min-height: 400px;
  background: transparent;
}

/* Loading state mientras carga el widget */
.reviews-widget::before {
  content: '⭐ Bewertungen werden geladen...';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--coffee-medium);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  z-index: 0;
}

.reviews-widget iframe {
  position: relative;
  z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .reviews-widget {
    padding: var(--space-sm);
    border-radius: var(--radius-md);
  }
  
  .reviews-widget iframe {
    min-height: 500px;
  }
}

@media (max-width: 480px) {
  .reviews-widget iframe {
    min-height: 600px;
  }
}
