/* ==========================================================================
   Oposicions Valencià amb Carmina — main.css
   ========================================================================== */

/* ── Reset ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { min-height: 100vh; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

@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;
  }
}

/* ── Tokens ───────────────────────────────────────────────────────────── */
:root {
  --navy:        #0d2b47;
  --navy-deep:   #071a2c;
  --navy-soft:   #1c3a5a;
  --ink:         #23303d;
  --gold:        #e79a1f;
  --gold-light:  #ffcf7a;
  --red:         #b5232f;
  --cream:       #faf6ec;
  --cream-deep:  #f1e9d6;
  --paper:       #fffdf8;
  --white:       #ffffff;
  --line:        #e3d8bd;

  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1180px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 10px rgba(13, 43, 71, 0.08);
  --shadow-md: 0 14px 40px rgba(13, 43, 71, 0.14);
  --shadow-gold: 0 10px 30px rgba(231, 154, 31, 0.28);

  --ease: cubic-bezier(.22,.9,.32,1);
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

section { position: relative; }

.section-pad { padding: 84px 0; }
@media (min-width: 900px) { .section-pad { padding: 128px 0; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.01em;
}

.section-title {
  font-size: clamp(1.9rem, 4.4vw, 2.9rem);
  max-width: 620px;
  margin-bottom: 18px;
}
.section-subtitle {
  max-width: 560px;
  color: #55606c;
  font-size: 1.04rem;
  line-height: 1.65;
}
.section-head { margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .section-title,
.section-head.center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.98rem;
  white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s ease, color .25s ease;
  will-change: transform;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, #d9860f 100%);
  color: var(--navy-deep);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.015); box-shadow: 0 16px 36px rgba(231,154,31,.38); }
.btn-primary:active { transform: translateY(-1px) scale(1); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(13,43,71,.28);
}
.btn-outline:hover { border-color: var(--navy); background: rgba(13,43,71,.05); transform: translateY(-2px); }

.btn-outline.on-dark { color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-outline.on-dark:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

.btn-block { width: 100%; }

/* ── Reveal-on-scroll ─────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: .02s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .10s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .18s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .26s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .34s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .42s; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: .50s; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: .58s; }
.reveal-stagger.is-visible > *:nth-child(9) { transition-delay: .66s; }

/* ==========================================================================
   NAV
   ========================================================================== */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  transition: padding .35s var(--ease), background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.site-nav::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(250, 246, 236, 0.7);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .35s ease, background-color .35s ease;
  z-index: -1;
}
.site-nav.scrolled { padding: 11px 22px; }
.site-nav.scrolled::before {
  background: rgba(250, 246, 236, 0.92);
  border-color: var(--line);
  box-shadow: 0 6px 24px rgba(13,43,71,.06);
}

.nav-logo-link { display: flex; align-items: center; }
.nav-logo { height: 84px; width: auto; transition: height .35s var(--ease); }
.site-nav.scrolled .nav-logo { height: 66px; }

.nav-links {
  display: none;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  position: relative;
  padding: 9px 16px;
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--navy);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 15px; right: 15px; bottom: 5px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-right { display: flex; align-items: center; gap: 10px; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 100px;
  background: rgba(13,43,71,.06);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: .04em;
}
.lang-switch a {
  padding: 6px 11px;
  border-radius: 100px;
  color: #6b7684;
}
.lang-switch a.active { background: var(--navy); color: var(--white); }

.nav-cta {
  display: none;
  padding: 10px 22px;
  border-radius: 100px;
  background: var(--navy);
  color: var(--white) !important;
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform .3s var(--ease), background-color .3s ease;
}
.nav-cta:hover { background: var(--navy-deep); transform: translateY(-2px); }

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 22px;
  margin: 0 auto;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100dvh;
  width: min(84vw, 360px);
  background: var(--navy-deep);
  z-index: 600;
  padding: 100px 34px 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateX(100%);
  transition: transform .5s var(--ease);
  box-shadow: -20px 0 60px rgba(0,0,0,.25);
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer a {
  color: rgba(255,255,255,.85);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,.09);
  opacity: 0;
  transform: translateX(18px);
  transition: opacity .4s ease, transform .4s ease;
}
.nav-drawer.open a { opacity: 1; transform: none; }
.nav-drawer.open a:nth-child(1) { transition-delay: .08s; }
.nav-drawer.open a:nth-child(2) { transition-delay: .13s; }
.nav-drawer.open a:nth-child(3) { transition-delay: .18s; }
.nav-drawer.open a:nth-child(4) { transition-delay: .23s; }
.nav-drawer.open a:nth-child(5) { transition-delay: .28s; }
.nav-drawer.open a:nth-child(6) { transition-delay: .33s; }
.drawer-cta {
  margin-top: 22px;
  text-align: center;
  border-bottom: none !important;
  background: var(--gold);
  color: var(--navy-deep) !important;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem !important;
}
.drawer-lang {
  margin-top: auto;
  display: flex;
  gap: 10px;
  border-bottom: none !important;
  font-family: var(--font-body) !important;
  font-size: 0.9rem !important;
}
.drawer-lang a { border-bottom: none !important; padding: 8px 14px !important; border-radius: 100px; background: rgba(255,255,255,.08); }
.drawer-lang a.active { background: var(--gold); color: var(--navy-deep) !important; }

.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(7,26,44,.4);
  backdrop-filter: blur(2px);
  z-index: 550;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
}
.nav-overlay.open { opacity: 1; pointer-events: auto; }

@media (min-width: 980px) {
  .site-nav { padding: 18px 40px; }
  .site-nav.scrolled { padding: 11px 40px; }
  .nav-logo { height: 104px; }
  .site-nav.scrolled .nav-logo { height: 78px; }
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .hamburger, .nav-drawer, .nav-overlay { display: none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: 175px 0 90px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 900px 500px at 88% -10%, rgba(231,154,31,.16), transparent 60%),
    radial-gradient(ellipse 700px 500px at 105% 30%, rgba(181,35,47,.10), transparent 60%),
    var(--cream);
}
.hero .container {
  display: grid;
  gap: 50px;
}
.hero-brush {
  position: absolute;
  z-index: 0;
  opacity: .9;
  pointer-events: none;
}
.hero-brush svg { width: 100%; height: 100%; }
.hero-brush--1 { top: -60px; right: -80px; width: 380px; height: 480px; }
.hero-brush--2 { bottom: -140px; left: -120px; width: 320px; height: 320px; opacity: .5; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  margin-bottom: 26px;
}
.hero-badge span.dot {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--red));
  display: inline-block;
}

.hero-content { position: relative; z-index: 1; max-width: 640px; }

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4.1rem);
  margin-bottom: 22px;
}
.hero h1 .accent {
  display: block;
  color: var(--gold);
  font-style: italic;
  position: relative;
}

.hero-quote-block {
  border-left: 3px solid var(--gold);
  padding-left: 20px;
  margin: 28px 0 34px;
}
.hero-quote-block p.quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 8px;
}
.hero-quote-block p.quote-sub {
  font-size: 0.92rem;
  color: #6b7684;
  font-weight: 600;
}

.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 54px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  position: relative;
  z-index: 1;
}
.stat-n {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--navy);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-l {
  font-size: 0.78rem;
  color: #6b7684;
  font-weight: 600;
  line-height: 1.3;
}

@media (min-width: 980px) {
  .hero { padding: 225px 0 120px; }
  .hero .container { grid-template-columns: 1.05fr .95fr; align-items: center; }
  .hero-stats { max-width: 480px; }
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about { background: var(--paper); }
.about-grid {
  display: grid;
  gap: 46px;
}
.about-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-deep);
  aspect-ratio: 4/5;
  display: flex;
  align-items: flex-end;
  padding: 34px;
  box-shadow: var(--shadow-md);
}
.about-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}
.about-media::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(7,26,44,.94) 0%, rgba(7,26,44,.5) 42%, rgba(7,26,44,.05) 68%),
    radial-gradient(circle at 88% 6%, rgba(231,154,31,.4), transparent 42%);
}
.about-media-tag {
  position: relative;
  color: var(--white);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.4;
  text-shadow: 0 2px 14px rgba(0,0,0,.35);
}
.about-media-tag strong { display: block; font-style: normal; font-family: var(--font-body); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-light); margin-top: 12px; }

.about-body p { color: #4a5561; line-height: 1.75; margin-bottom: 18px; font-size: 1.02rem; }
.about-body p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 3.6rem;
  float: left;
  line-height: .8;
  padding: 6px 10px 0 0;
  color: var(--gold);
  font-weight: 600;
}

.trainings-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--navy);
  margin: 34px 0 16px;
}
.trainings-list { display: flex; flex-wrap: wrap; gap: 9px; }
.trainings-list li {
  padding: 8px 15px;
  background: var(--cream-deep);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy-soft);
  transition: background-color .3s ease, transform .3s ease;
}
.trainings-list li:hover { background: var(--gold); color: var(--navy-deep); transform: translateY(-2px); }

@media (min-width: 900px) {
  .about-grid { grid-template-columns: .78fr 1.22fr; align-items: start; }
}

/* ==========================================================================
   METHOD (dark section)
   ========================================================================== */
.method {
  background: var(--navy-deep);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.method::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(231,154,31,.16), transparent 65%);
  pointer-events: none;
}
.method .eyebrow { color: var(--gold-light); }
.method .section-title { color: var(--white); }

.method-grid {
  display: grid;
  gap: 22px;
  position: relative;
  z-index: 1;
}
.method-card {
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-md);
  padding: 38px 32px;
  transition: transform .4s var(--ease), background-color .4s ease, border-color .4s ease;
}
.method-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,.07);
  border-color: rgba(231,154,31,.4);
}
.method-card .num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--gold);
  font-style: italic;
  line-height: 1;
  margin-bottom: 18px;
}
.method-card h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 14px; }
.method-card p { color: rgba(255,255,255,.68); line-height: 1.7; }

@media (min-width: 800px) { .method-grid { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   TRAINING / PRICING
   ========================================================================== */
.training { background: var(--cream); }
.training-grid {
  display: grid;
  gap: 24px;
}
.plan-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.plan-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }

.plan-card.highlight {
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-color: transparent;
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.plan-badge {
  position: absolute;
  top: -13px; left: 28px;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
}
.plan-card h3 { font-size: 1.22rem; margin-bottom: 4px; line-height: 1.3; }
.plan-card.highlight h3 { color: var(--white); }
.plan-note { font-size: .82rem; color: var(--gold); font-weight: 600; margin-bottom: 14px; }
.plan-desc { font-size: .9rem; color: #667281; line-height: 1.6; margin-bottom: 16px; }
.plan-card.highlight .plan-desc { color: rgba(255,255,255,.7); }

.plan-price { display: flex; align-items: baseline; gap: 6px; margin: 10px 0 22px; }
.plan-price .amount { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; }
.plan-price .period { font-size: .88rem; color: #667281; font-weight: 600; }
.plan-card.highlight .plan-price .period { color: rgba(255,255,255,.65); }

.plan-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; flex: 1; }
.plan-features li { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; line-height: 1.45; color: var(--ink); }
.plan-card.highlight .plan-features li { color: rgba(255,255,255,.88); }
.plan-features li svg { flex-shrink: 0; margin-top: 3px; color: var(--gold); }

@media (min-width: 700px) { .training-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1180px) { .training-grid { grid-template-columns: repeat(4, 1fr); } .plan-card.highlight { transform: scale(1.03); } .plan-card.highlight:hover { transform: scale(1.03) translateY(-8px); } }

/* ==========================================================================
   MATERIALS
   ========================================================================== */
.materials { background: var(--paper); }
.materials-grid { display: grid; gap: 20px; }
.material-card {
  padding: 32px 28px;
  border-radius: var(--radius-md);
  background: var(--cream);
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  position: relative;
  overflow: hidden;
}
.material-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.material-card .icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold), #d9860f);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy-deep);
  margin-bottom: 20px;
  box-shadow: var(--shadow-gold);
}
.material-card h3 { font-size: 1.12rem; margin-bottom: 10px; line-height: 1.35; }
.material-card p { color: #55606c; font-size: .92rem; line-height: 1.6; }

@media (min-width: 700px) { .materials-grid { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   PROCESS LINKS
   ========================================================================== */
.process {
  background: var(--cream-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.process-links { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.process-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--navy);
  transition: transform .3s var(--ease), border-color .3s ease, background-color .3s ease;
}
.process-link:hover { transform: translateX(6px); border-color: var(--gold); background: var(--white); }
.process-link svg { flex-shrink: 0; color: var(--gold); transition: transform .3s var(--ease); }
.process-link:hover svg { transform: translate(3px,-3px); }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials { background: var(--paper); }
.testimonial-empty {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 30px;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-lg);
}
.testimonial-empty svg { margin: 0 auto 18px; color: var(--gold); }
.testimonial-empty p { color: #667281; font-size: 1.02rem; line-height: 1.6; }

.testimonial-carousel { max-width: 780px; margin: 0 auto; scroll-margin-top: 100px; }
.testimonial-viewport { overflow: hidden; border-radius: var(--radius-lg); transition: height .45s var(--ease); }
.testimonial-track { display: flex; align-items: flex-start; }
.testimonial-slide {
  flex: 0 0 100%;
  box-sizing: border-box;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 34px 36px;
  box-shadow: var(--shadow-sm);
}
.testimonial-quote { color: var(--gold); margin-bottom: 14px; }
.testimonial-text { color: var(--ink); font-size: 1.02rem; line-height: 1.72; margin-bottom: 16px; }
.testimonial-text:last-of-type { margin-bottom: 0; }
.testimonial-author {
  margin-top: 22px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--navy);
}

.testimonial-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
.testimonial-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--navy);
  cursor: pointer;
  transition: transform .25s var(--ease), border-color .25s ease, color .25s ease, background-color .25s ease;
}
.testimonial-arrow:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.testimonial-arrow:active { transform: translateY(0); }

.testimonial-dots { display: flex; align-items: center; gap: 9px; }
.testimonial-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--line);
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s ease;
}
.testimonial-dot:hover { background: var(--gold-light); }
.testimonial-dot.active { background: var(--gold); transform: scale(1.25); }

@media (max-width: 640px) {
  .testimonial-slide { padding: 34px 22px 28px; }
  .testimonial-text { font-size: .98rem; }
}

@media (min-width: 980px) {
  .testimonial-carousel { scroll-margin-top: 140px; }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-viewport, .testimonial-track, .testimonial-arrow, .testimonial-dot { transition: none; }
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact {
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(231,154,31,.14), transparent 65%);
  pointer-events: none;
}
.contact-grid { display: grid; gap: 46px; position: relative; z-index: 1; }
.contact-info .eyebrow { color: var(--gold-light); }
.contact-info h2 { color: var(--white); font-size: clamp(1.9rem, 4.4vw, 2.7rem); margin-bottom: 16px; }
.contact-info .subtitle { color: var(--gold-light); font-weight: 700; font-size: 1rem; margin-bottom: 16px; }
.contact-info p.text { color: rgba(255,255,255,.72); line-height: 1.75; margin-bottom: 28px; }
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 100px;
  font-weight: 700;
  transition: background-color .3s ease, transform .3s ease;
}
.contact-email:hover { background: rgba(255,255,255,.15); transform: translateY(-2px); }

.contact-icons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.contact-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  box-shadow: 0 6px 16px rgba(0,0,0,.18);
}
.contact-icon:hover { transform: translateY(-3px) scale(1.06); }
.contact-icon.icon-mail { background: linear-gradient(135deg, var(--gold), #d9860f); color: var(--navy-deep); }
.contact-icon.icon-wa   { background: #25d366; }
.contact-icon.icon-tg   { background: #229ed9; }
.contact-icon.icon-ig   { background: radial-gradient(circle at 30% 110%, #ffdd55 0%, #ff543e 45%, #c837ab 75%, #5851db 100%); }

.contact-form {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  box-shadow: var(--shadow-md);
  color: var(--ink);
}
@media (min-width: 500px) { .contact-form { padding: 40px; } }

.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 7px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  font-size: .96rem;
  color: var(--ink);
  transition: border-color .25s ease, background-color .25s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}
.form-row textarea { resize: vertical; min-height: 110px; }
.form-grid-2 { display: grid; gap: 18px; }
@media (min-width: 560px) { .form-grid-2 { grid-template-columns: 1fr 1fr; } .form-grid-2 .form-row { margin-bottom: 0; } }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 22px;
  font-size: .85rem;
  color: #55606c;
  line-height: 1.5;
}
.form-check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--gold); flex-shrink: 0; }
.form-check a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

.honeypot-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

.form-alert {
  display: none;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.form-alert.success { display: block; background: #e5f5ea; color: #1e6b3a; }
.form-alert.error { display: block; background: #fbe7e7; color: #a12a2a; }

@media (min-width: 980px) { .contact-grid { grid-template-columns: .85fr 1.15fr; align-items: center; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.6); padding: 64px 0 26px; }
.footer-grid { display: grid; gap: 40px; margin-bottom: 48px; }
.footer-brand .nav-logo { height: 76px; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: .92; }
.footer-brand p { max-width: 320px; line-height: 1.7; font-size: .92rem; }
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: .92rem; transition: color .25s ease; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  justify-content: space-between;
  font-size: .82rem;
}
.footer-social {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.footer-social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.75);
  transition: background-color .25s ease, color .25s ease, transform .25s ease;
}
.footer-social a:hover { transform: translateY(-2px); color: var(--white); }
.footer-social a[aria-label*="WhatsApp"]:hover { background: #25d366; border-color: #25d366; }
.footer-social a[aria-label*="Telegram"]:hover { background: #229ed9; border-color: #229ed9; }
.footer-social a[aria-label*="Instagram"]:hover { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); border-color: transparent; }

@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
@media (min-width: 980px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ==========================================================================
   COOKIE BANNER
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 800;
  max-width: 560px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-md);
  transform: translateY(140%);
  transition: transform .5s var(--ease);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { font-size: .87rem; color: #4a5561; line-height: 1.55; margin-bottom: 16px; }
.cookie-banner-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-banner-actions .btn { padding: 10px 20px; font-size: .85rem; }
.cookie-banner-actions a.more-link { align-self: center; font-size: .82rem; font-weight: 700; color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }

/* ==========================================================================
   FLOATING CONTACT BUTTONS
   ========================================================================== */
.float-buttons {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 400;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.float-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(13,43,71,.28);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.float-btn:hover { transform: translateY(-4px) scale(1.08); }
.float-mail { background: linear-gradient(135deg, var(--gold), #d9860f); color: var(--navy-deep); }
.float-wa   { background: #25d366; }
.float-tg   { background: #229ed9; }

@media (min-width: 700px) {
  .float-buttons { right: 26px; bottom: 26px; gap: 14px; }
  .float-btn { width: 58px; height: 58px; }
}

/* ==========================================================================
   404
   ========================================================================== */
.error-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 60px;
  background: var(--cream);
}
.error-page .code { font-family: var(--font-display); font-size: clamp(4rem,14vw,7rem); color: var(--gold); font-style: italic; line-height: 1; margin-bottom: 10px; }
.error-page h1 { margin-bottom: 14px; }
.error-page p { color: #55606c; margin-bottom: 30px; max-width: 420px; }
