/* ============================================================
   VOTICKY — Design Tokens & Global Styles
   Importar en todas las páginas del sitio
   ============================================================ */

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');

/* ── CSS VARIABLES ─────────────────────────────────────────── */
:root {
  /* Colores principales */
  --gold: #c59f59;
  --gold-light: #d4b06a;
  --gold-subtle: rgba(197, 159, 89, 0.1);
  --gold-border: rgba(197, 159, 89, 0.2);
  --gold-border-md: rgba(197, 159, 89, 0.3);
  --gold-border-lg: rgba(197, 159, 89, 0.35);
  --gold-glow: rgba(197, 159, 89, 0.35);

  /* Fondos */
  --bg: #141210;
  --bg2: #1a1713;
  --bg-header: rgba(20, 18, 16, 0.88);
  --bg-header-scrolled: rgba(14, 12, 9, 0.97);
  --bg-overlay: rgba(14, 12, 9, 0.92);
  --bg-tooltip: rgba(16, 13, 10, 0.97);
  --bg-map: #f5f2ed;

  /* Textos */
  --text: #e8e0d4;
  --text-white: #ffffff;
  --text-dark: #0e0c09;
  --text-muted: #8a7d6b;
  --text-nav: #a09080;
  --text-faint: rgba(138, 125, 107, 0.6);
  --text-sub: rgba(232, 224, 212, 0.72);

  /* Alias de compatibilidad */
  --muted: #8a7d6b;

  /* Bordes */
  --border: rgba(197, 159, 89, 0.15);

  /* Fuentes */
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'DM Sans', sans-serif;
  --font-icons: 'Material Symbols Outlined';

  /* Layout */
  --max-width: 1300px;
  --section-px: 5%;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-full: 100px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 17px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── SCROLL REVEAL ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.from-left {
  transform: translateX(-44px);
}
.reveal.from-right {
  transform: translateX(44px);
}
.reveal.scale-in {
  transform: scale(0.94);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.d1 {
  transition-delay: 0.1s;
}
.d2 {
  transition-delay: 0.22s;
}
.d3 {
  transition-delay: 0.34s;
}
.d4 {
  transition-delay: 0.46s;
}

/* ── ICON HELPER ────────────────────────────────────────────── */
.fi {
  font-family: var(--font-icons);
  font-weight: 300;
  font-style: normal;
  line-height: 1;
  display: inline-block;
}

/* ── HEADER ─────────────────────────────────────────────────── */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 0 4%;
  background: var(--bg-header);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition:
    background 0.4s,
    box-shadow 0.4s;
}
header.scrolled {
  background: var(--bg-header-scrolled);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 12px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo svg {
  color: var(--gold);
  width: 28px;
  height: 28px;
}
.logo-img {
  height: 50px;
  width: auto;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-white);
}
nav.desktop {
  display: flex;
  align-items: center;
  gap: 2px;
}
nav.desktop a {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-nav);
  text-decoration: none;
  transition: color 0.3s;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
nav.desktop a:hover {
  color: var(--gold);
}

.nav-auth {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.btn-login {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--gold-border-md);
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
  font-family: var(--font-body);
  white-space: nowrap;
}
.btn-login:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-register {
  background: var(--gold);
  color: var(--text-dark);
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
  font-family: var(--font-body);
  white-space: nowrap;
}
.btn-register:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--gold-glow);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--bg-header-scrolled);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 22px var(--section-px) 26px;
  flex-direction: column;
  z-index: 199;
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu a {
  font-size: 0.9rem;
  color: var(--text-nav);
  text-decoration: none;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.3s;
}
.mobile-menu a:hover {
  color: var(--gold);
}
.mobile-auth {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.mobile-auth a {
  flex: 1;
  text-align: center;
  padding: 11px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
}
.m-login {
  border: 1px solid var(--gold-border-lg);
  color: var(--gold);
}
.m-reg {
  background: var(--gold);
  color: var(--text-dark);
}

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 580px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: zoomIn 14s ease-out forwards;
}
@keyframes zoomIn {
  from {
    transform: scale(1.1);
  }
  to {
    transform: scale(1);
  }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--bg-overlay) 0%,
    rgba(14, 12, 9, 0.6) 55%,
    rgba(14, 12, 9, 0.15) 100%
  );
}
.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 26%;
  background: linear-gradient(to top, var(--bg), transparent);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  padding: 0 var(--section-px) 80px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--gold-subtle);
  border: 1px solid var(--gold-border-md);
  border-radius: var(--radius-full);
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  position: relative;
  flex-shrink: 0;
}
.dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.5;
  animation: pingAnim 1.6s infinite;
}
@keyframes pingAnim {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(2.8);
    opacity: 0;
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 5.2rem);
  font-weight: 300;
  line-height: 1.12;
  color: var(--text-white);
  max-width: 680px;
  opacity: 0;
  animation: fadeUp 0.9s 0.6s forwards;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.hero-sub {
  font-size: clamp(0.88rem, 1.4vw, 1.02rem);
  color: var(--text-sub);
  font-weight: 300;
  max-width: 400px;
  line-height: 1.78;
  margin: 18px 0 34px;
  opacity: 0;
  animation: fadeUp 0.9s 0.8s forwards;
}
.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s 1s forwards;
}

.btn-hero {
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
  font-family: var(--font-body);
}
.btn-hero.primary {
  background: var(--gold);
  color: var(--text-dark);
  border: none;
}
.btn-hero.primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--gold-glow);
}
.btn-hero.outline {
  background: transparent;
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.btn-hero.outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  right: var(--section-px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(197, 159, 89, 0.5);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 1s 1.3s forwards;
}
.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

/* ── TRUST BAR ──────────────────────────────────────────────── */
.trust-bar {
  background: var(--gold);
  padding: 40px var(--section-px);
}
.trust-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-stat label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(14, 12, 9, 0.5);
  display: block;
}
.trust-stat .val {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
}
.trust-stat .val.italic {
  font-style: italic;
  font-size: 1.3rem;
}
.trust-divider {
  width: 1px;
  height: 42px;
  background: rgba(14, 12, 9, 0.18);
}
.trust-logos {
  display: flex;
  align-items: center;
  gap: 20px;
  filter: brightness(0);
  opacity: 0.62;
}
.trust-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.trust-logo img {
  height: 42px;
  object-fit: contain;
}
.trust-logo span {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dark);
}

/* ── SECTIONS ───────────────────────────────────────────────── */
.section {
  padding: 92px var(--section-px);
}
.sec-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--gold);
}

.sec-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 400;
  color: var(--text-white);
  line-height: 1.15;
}
.sec-desc {
  max-width: 350px;
  color: var(--text-muted);
  font-size: 0.97rem;
  font-weight: 300;
  line-height: 1.8;
  align-self: flex-end;
}

/* ── DESTINATIONS ───────────────────────────────────────────── */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.dest-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg2);
}
.dest-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.dest-card:hover img {
  transform: scale(1.07);
}
.dest-card .ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(14, 12, 9, 0.88) 0%,
    rgba(14, 12, 9, 0.05) 60%
  );
}
.dest-card .info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px 20px;
}
.dest-card .name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 4px;
}
.dest-card .sub {
  font-size: 0.68rem;
  color: rgba(197, 159, 89, 0.8);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.35s;
}
.dest-card:hover .sub {
  opacity: 1;
  transform: translateY(0);
}
.dest-card .arrow {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(197, 159, 89, 0);
  border: 1px solid rgba(197, 159, 89, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: all 0.35s;
}
.dest-card:hover .arrow {
  background: rgba(197, 159, 89, 0.12);
  border-color: rgba(197, 159, 89, 0.4);
}

/* ── MAP SECTION ────────────────────────────────────────────── */
.map-section {
  padding: 0;
  background: var(--bg2);
  position: relative;
  overflow: hidden;
}
.map-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  min-height: 560px;
}
.map-text-col {
  padding: 80px var(--section-px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  position: relative;
  z-index: 2;
}
.map-text-col .sec-desc {
  max-width: 320px;
  margin-top: 20px;
  align-self: flex-start;
}
.map-col {
  position: relative;
  background: var(--bg-map);
}
#europeMap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 460px;
  z-index: 2;
}

/* Leaflet — ajuste estético */
.leaflet-container {
  background: var(--bg-map) !important;
  font-family: var(--font-body);
}
.leaflet-control-zoom {
  border: 1px solid var(--gold-border-lg) !important;
  border-radius: var(--radius-md) !important;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
}
.leaflet-control-zoom a {
  background: #fff !important;
  color: #6b5e4a !important;
  border-bottom: 1px solid rgba(197, 159, 89, 0.2) !important;
  font-size: 16px !important;
  line-height: 28px !important;
  width: 28px !important;
  height: 28px !important;
  transition:
    background 0.2s,
    color 0.2s;
}
.leaflet-control-zoom a:hover {
  background: var(--gold) !important;
  color: #fff !important;
}
.leaflet-control-zoom-out {
  border-bottom: none !important;
}
.leaflet-control-attribution {
  background: rgba(245, 242, 237, 0.85) !important;
  color: var(--text-nav) !important;
  font-size: 0.58rem !important;
  backdrop-filter: blur(4px);
}
.leaflet-control-attribution a {
  color: var(--gold) !important;
}

/* Marcadores gold */
.gm-wrap {
  position: relative;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.gm-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(197, 159, 89, 0.5);
  animation: gmRing 2.2s ease-out infinite;
}
.gm-ring2 {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(197, 159, 89, 0.25);
  animation: gmRing 2.2s ease-out 0.6s infinite;
}
.gm-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 2px 10px rgba(197, 159, 89, 0.6);
  position: relative;
  z-index: 1;
  transition: transform 0.2s;
}
.gm-wrap:hover .gm-dot {
  transform: scale(1.25);
}
@keyframes gmRing {
  0% {
    transform: scale(0.4);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

/* Tooltip del mapa */
.leaflet-tooltip.vt-tooltip {
  background: var(--bg-tooltip);
  border: 1px solid var(--gold-border-md);
  border-radius: var(--radius-lg);
  color: var(--text);
  font-family: var(--font-body);
  padding: 18px 22px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.65);
  min-width: 250px;
  max-width: 280px;
  pointer-events: none;
  opacity: 1 !important;
}
.leaflet-tooltip.vt-tooltip::before {
  border-top-color: var(--gold-border-md) !important;
}
.vt-tooltip .vt-country {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.vt-tooltip .vt-country::before {
  content: '';
  width: 12px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.vt-tooltip .vt-name {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--text-white);
  line-height: 1.25;
  margin-bottom: 12px;
}
.vt-tooltip .vt-rows {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.vt-tooltip .vt-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.4;
}
.vt-tooltip .vt-row .fi {
  font-size: 0.95rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 1px;
}
.vt-tooltip .vt-tag {
  display: inline-block;
  background: var(--gold-subtle);
  border: 1px solid var(--gold-border);
  color: var(--gold);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-top: 12px;
}

/* Leyenda */
.map-legend {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 300;
}
.legend-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ── SERVICES ───────────────────────────────────────────────── */
.services-section {
  padding: 92px var(--section-px);
  background: var(--bg);
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 50px;
}
.svc-item {
  padding: 40px 34px;
  background: var(--bg2);
  border-right: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
}
.svc-item:last-child {
  border-right: none;
}
.svc-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.svc-item:hover::after {
  transform: scaleX(1);
}
.svc-item:hover {
  background: rgba(197, 159, 89, 0.04);
}
.svc-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(255, 255, 255);
  line-height: 1;
  margin-bottom: 20px;
}
.svc-icon {
  width: 62px;
  height: 62px;
  background: rgba(197, 159, 89, 0.08);
  border: 1px solid rgba(197, 159, 89, 0.18);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition:
    background 0.35s,
    border-color 0.35s;
}
.svc-icon .fi {
  font-size: 2rem;
  color: var(--gold);
}
.svc-item:hover .svc-icon {
  background: rgba(197, 159, 89, 0.15);
  border-color: rgba(197, 159, 89, 0.35);
}
.svc-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--text-white);
  margin-bottom: 12px;
}
.svc-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.78;
  font-weight: 300;
}

/* ── TESTIMONIALS CAROUSEL ─────────────────────────────────── */
.testi-section {
  padding: 100px var(--section-px);
  background: var(--bg2);
  overflow: hidden;
}
.testi-carousel {
  position: relative;
  margin-top: 50px;
}
.testi-track-wrap {
  overflow: hidden;
}
.testi-track {
  display: flex;
  gap: 22px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.testi-card {
  flex: 0 0 calc(33.333% - 15px);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.4s,
    transform 0.4s,
    box-shadow 0.4s;
}
.testi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.testi-card:hover::before {
  transform: scaleX(1);
}
.testi-card:hover {
  border-color: rgba(197, 159, 89, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.testi-open {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 0.8;
  color: rgba(197, 159, 89, 0.18);
  margin-bottom: 14px;
  display: block;
}
.testi-text {
  font-size: 0.97rem;
  line-height: 1.84;
  color: rgba(232, 224, 212, 0.78);
  font-weight: 300;
  flex: 1;
  margin-bottom: 28px;
}
.testi-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 22px;
}
.testi-footer {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testi-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(197, 159, 89, 0.1);
  border: 1px solid rgba(197, 159, 89, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold);
  flex-shrink: 0;
}
.testi-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 3px;
}
.testi-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 300;
}
.testi-school {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 5px 12px;
  background: rgba(197, 159, 89, 0.07);
  border: 1px solid rgba(197, 159, 89, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.testi-school .fi {
  font-size: 0.8rem;
}

/* Controles del carousel */
.testi-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}
.testi-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  flex-shrink: 0;
}
.testi-btn:hover {
  background: rgba(197, 159, 89, 0.1);
  border-color: rgba(197, 159, 89, 0.4);
}
.testi-btn:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}
.testi-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.testi-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(197, 159, 89, 0.25);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  padding: 0;
}
.testi-dot.active {
  width: 24px;
  border-radius: 3px;
  background: var(--gold);
}

/* ── CTA ────────────────────────────────────────────────────── */
.cta-section {
  padding: 100px var(--section-px);
  background: linear-gradient(135deg, var(--gold-subtle) 0%, transparent 60%);
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 300;
  color: var(--text-white);
  line-height: 1.15;
  margin-bottom: 18px;
}
.cta-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 440px;
  margin: 0 auto 38px;
  line-height: 1.78;
  font-weight: 300;
}
.cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-cta {
  background: var(--gold);
  color: var(--text-dark);
  border: none;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
}
.btn-cta:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(197, 159, 89, 0.3);
}
.btn-ghost {
  color: var(--gold);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s;
}
.btn-ghost:hover {
  gap: 14px;
}

/* ── FOOTER ─────────────────────────────────────────────────── */
footer {
  padding: 64px var(--section-px) 28px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.5fr;
  gap: 44px;
  margin-bottom: 44px;
}
.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  margin-bottom: 16px;
}
.footer-logo-wrap span {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-white);
}
.footer-tag {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.75;
  font-weight: 300;
  max-width: 240px;
}
.footer-h {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 18px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 300;
  transition: color 0.3s;
}
.footer-links a:hover {
  color: var(--gold);
}
.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 300;
}
.footer-contact .fi {
  color: var(--gold);
  font-size: 0.95rem;
}
.footer-contact a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-contact a:hover {
  color: var(--gold);
}
.nl-form {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.nl-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  font-size: 0.8rem;
  color: var(--text);
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.3s;
  min-width: 0;
}
.nl-input:focus {
  border-color: rgba(197, 159, 89, 0.5);
}
.nl-input::placeholder {
  color: var(--text-faint);
}
.nl-btn {
  background: var(--gold);
  border: none;
  border-radius: var(--radius-sm);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.3s;
}
.nl-btn:hover {
  background: var(--gold-light);
}
.nl-btn .fi {
  font-size: 1rem;
  color: var(--text-dark);
}
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 0.74rem;
  color: var(--text-faint);
}
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 0.74rem;
  color: var(--text-faint);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-legal a:hover {
  color: var(--gold);
}

/* ── LOGIN PAGE ─────────────────────────────────────────────── */
.login-page {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px var(--section-px) 60px;
  background: var(--bg);
  position: relative;
}
.login-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 50% at 20% 40%,
      rgba(197, 159, 89, 0.06) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 40% 40% at 80% 70%,
      rgba(197, 159, 89, 0.04) 0%,
      transparent 70%
    );
  pointer-events: none;
  z-index: 0;
}
.login-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.login-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.login-brand span {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-white);
}
.login-card {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 40px 36px;
  position: relative;
  overflow: hidden;
}
.login-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
}
.login-card-header {
  text-align: center;
  margin-bottom: 32px;
}
.login-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 300;
  color: var(--text-white);
  line-height: 1.2;
  margin-bottom: 10px;
}
.login-title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.login-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
}
.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.form-label .fi {
  font-size: 0.95rem;
  color: var(--gold);
}
.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.92rem;
  color: var(--text);
  font-family: var(--font-body);
  outline: none;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}
.form-input:focus {
  border-color: rgba(197, 159, 89, 0.5);
  box-shadow: 0 0 0 3px rgba(197, 159, 89, 0.08);
}
.form-input::placeholder {
  color: var(--text-faint);
}
.input-pwd-wrap {
  position: relative;
}
.input-pwd-wrap .form-input {
  padding-right: 46px;
}
.pwd-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  padding: 4px;
  transition: color 0.3s;
}
.pwd-toggle:hover {
  color: var(--gold);
}
.pwd-toggle .fi {
  font-size: 1.1rem;
}
.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--gold);
  color: var(--text-dark);
  border: none;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 4px;
  transition: all 0.3s;
}
.btn-submit:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197, 159, 89, 0.3);
}
.btn-submit .fi {
  font-size: 1rem;
  transition: transform 0.3s;
}
.btn-submit:hover .fi {
  transform: translateX(4px);
}
.login-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.login-link-line {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 300;
  text-align: center;
}
.link-gold {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  transition:
    color 0.3s,
    text-decoration 0.3s;
  margin-left: 4px;
}
.link-gold:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

@media (max-width: 520px) {
  .login-card {
    padding: 36px 24px 28px;
  }
}

/* ── REGISTRO PAGE ── */
.form-select {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 40px 12px 16px;
  font-size: 0.92rem;
  color: var(--text);
  font-family: var(--font-body);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c59f59' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.form-select:focus {
  border-color: rgba(197, 159, 89, 0.5);
  box-shadow: 0 0 0 3px rgba(197, 159, 89, 0.08);
}
.form-select option {
  background: var(--bg2);
  color: var(--text);
}
.btn-submit--orange {
  background: #e8722a;
  color: #fff;
}
.btn-submit--orange:hover {
  background: #f07d35;
  box-shadow: 0 8px 24px rgba(232, 114, 42, 0.35);
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1080px) {
  nav.desktop a {
    font-size: 0.67rem;
    padding: 5px 7px;
  }
  .btn-login {
    display: none;
  }
}

@media (max-width: 860px) {
  nav.desktop {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .dest-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .svc-grid {
    grid-template-columns: 1fr 1fr;
  }
  .svc-item:nth-child(2) {
    border-right: none;
  }
  .svc-item:nth-child(3) {
    border-right: none;
    border-top: 1px solid var(--border);
  }
  .testi-card {
    flex: 0 0 calc(50% - 11px);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .map-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .map-text-col {
    padding: 60px var(--section-px) 40px;
  }
  .map-col {
    height: 420px;
    position: relative;
  }
  #europeMap {
    position: absolute;
    inset: 0;
  }
}

@media (max-width: 560px) {
  .section,
  .services-section,
  .testi-section,
  .cta-section {
    padding: 60px var(--section-px);
  }
  .testi-card {
    flex: 0 0 100%;
  }
  .dest-grid {
    grid-template-columns: 1fr;
  }
  .dest-card {
    aspect-ratio: 3/2;
  }
  .svc-grid {
    grid-template-columns: 1fr;
  }
  .svc-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .svc-item:last-child {
    border-bottom: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-btns {
    flex-direction: column;
  }
  .btn-hero {
    text-align: center;
  }
  .trust-logos {
    display: none;
  }
  .trust-stats {
    gap: 18px;
  }
  .trust-divider {
    display: none;
  }
  .cta-btns {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-cta {
    text-align: center;
  }
  .map-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .map-text-col {
    padding: 52px var(--section-px) 36px;
  }
  .map-col {
    height: 400px;
    position: relative;
  }
  #europeMap {
    position: absolute;
    inset: 0;
  }
}
