/* ============================================
   SoporteDeVuelos — Main Stylesheet
   ============================================ */

:root {
  --primary: #1a3c6e;
  --primary-dark: #0f2649;
  --primary-light: #2a5298;
  --accent: #f97316;
  --accent-dark: #ea6000;
  --accent-light: #fb923c;
  --success: #16a34a;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow: 0 4px 16px rgba(0,0,0,.1), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.15), 0 4px 12px rgba(0,0,0,.08);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.18);
  --transition: 0.25s cubic-bezier(.4,0,.2,1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }
ul { list-style: none; }

/* ============================================ */
/* Layout                                       */
/* ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

/* ============================================ */
/* Typography                                   */
/* ============================================ */
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
.section-label {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); background: rgba(249,115,22,.1);
  padding: .4rem .9rem; border-radius: 100px; margin-bottom: 1rem;
}
.section-title { color: var(--gray-900); margin-bottom: 1rem; }
.section-sub { color: var(--gray-500); font-size: 1.05rem; max-width: 600px; }
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ============================================ */
/* Buttons                                      */
/* ============================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.75rem; border-radius: 100px; font-size: .9rem; font-weight: 600;
  transition: var(--transition); cursor: pointer; white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: var(--white);
  box-shadow: 0 4px 14px rgba(249,115,22,.35);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(249,115,22,.4); }
.btn-secondary {
  background: var(--white); color: var(--primary); border: 2px solid var(--primary);
}
.btn-secondary:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }
.btn-ghost {
  background: rgba(255,255,255,.15); color: var(--white); border: 1.5px solid rgba(255,255,255,.4);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,.25); transform: translateY(-2px); }
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }
.btn-sm { padding: .55rem 1.25rem; font-size: .83rem; }

/* ============================================ */
/* Top Bar                                      */
/* ============================================ */
.topbar {
  background: var(--primary-dark); color: rgba(255,255,255,.85);
  font-size: .82rem; padding: .55rem 0; text-align: center;
}
.topbar a { color: var(--accent); font-weight: 600; margin-left: .25rem; }
.topbar a:hover { text-decoration: underline; }

/* ============================================ */
/* Navbar                                       */
/* ============================================ */
.navbar {
  background: var(--white);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 1px 0 var(--gray-200);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow); }
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0; gap: 2rem;
}
.logo {
  display: flex; align-items: center; gap: .75rem;
  color: var(--primary); text-decoration: none;
}
.logo-icon {
  width: 44px; height: 44px; background: var(--accent);
  border-radius: 12px; display: flex; align-items: center;
  justify-content: center; color: white; font-size: 1.35rem;
  flex-shrink: 0; box-shadow: 0 4px 12px rgba(249,115,22,.3);
}
.logo-text {
  display: flex; align-items: baseline; gap: 0; line-height: 1;
}
.logo-main {
  font-size: 1.15rem; font-weight: 600; color: var(--primary);
  letter-spacing: -.02em;
}
.logo-main strong {
  font-weight: 800; color: var(--accent);
}
.logo-domain {
  font-size: 1.15rem; font-weight: 800; color: var(--primary);
  letter-spacing: -.02em;
}
.nav-links {
  display: flex; align-items: center; gap: .25rem; flex: 1; justify-content: center;
}
.nav-links a {
  padding: .5rem .9rem; border-radius: var(--radius-sm);
  font-size: .9rem; font-weight: 500; color: var(--gray-600);
  transition: var(--transition); white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: var(--gray-100); }
.nav-actions { display: flex; align-items: center; gap: .75rem; }
.nav-phone {
  text-align: right; line-height: 1.2;
}
.nav-phone small { font-size: .7rem; color: var(--gray-400); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; display: block; }
.nav-phone strong { font-size: 1rem; color: var(--primary); font-weight: 700; }
.hamburger {
  display: none; flex-direction: column; gap: 5px; padding: .5rem;
  border-radius: var(--radius-sm); cursor: pointer;
}
.hamburger span {
  width: 22px; height: 2px; background: var(--gray-700);
  border-radius: 2px; transition: var(--transition);
}
.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; flex-direction: column; gap: .25rem;
  padding: 1rem 1.25rem; border-top: 1px solid var(--gray-100);
  background: var(--white);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: .75rem 1rem; border-radius: var(--radius-sm);
  font-size: .95rem; font-weight: 500; color: var(--gray-700);
  transition: var(--transition);
}
.mobile-menu a:hover { background: var(--gray-100); color: var(--primary); }
.mobile-menu .btn { margin-top: .5rem; justify-content: center; }

/* ============================================ */
/* Hero                                         */
/* ============================================ */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  min-height: 90vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-blob {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.04); pointer-events: none;
}
.hero-blob-1 { width: 500px; height: 500px; right: -100px; top: -100px; }
.hero-blob-2 { width: 300px; height: 300px; left: -50px; bottom: -50px; }
.hero-content {
  position: relative; z-index: 2; padding: 5rem 0 4rem;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9); font-size: .83rem; font-weight: 600;
  padding: .5rem 1.1rem; border-radius: 100px;
  backdrop-filter: blur(8px); margin-bottom: 1.75rem;
}
.badge-dot { width: 8px; height: 8px; background: #4ade80; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.7;transform:scale(1.3)} }
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { color: rgba(255,255,255,.75); font-size: 1.15rem; max-width: 580px; margin-bottom: 2.5rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 4rem; }

/* Search Card */
.search-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow-xl);
}
.search-tabs {
  display: flex; gap: .5rem; margin-bottom: 1.5rem;
}
.search-tab {
  padding: .55rem 1.25rem; border-radius: 100px; font-size: .88rem; font-weight: 600;
  border: 2px solid transparent; color: var(--gray-500); transition: var(--transition); cursor: pointer;
}
.search-tab.active { background: var(--primary); color: var(--white); border-color: var(--primary); }
.search-tab:not(.active):hover { border-color: var(--gray-300); color: var(--gray-700); }
.search-grid {
  display: grid; grid-template-columns: 1fr auto 1fr 1fr 1fr auto;
  gap: .75rem; align-items: end;
}
.search-field { display: flex; flex-direction: column; gap: .35rem; }
.search-field label {
  font-size: .72rem; font-weight: 700; color: var(--gray-400);
  text-transform: uppercase; letter-spacing: .08em;
}
.search-field input, .search-field select {
  padding: .8rem 1rem; border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm); font-size: .95rem; color: var(--gray-800);
  transition: var(--transition); background: var(--white);
  width: 100%;
}
.search-field input:focus, .search-field select:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,60,110,.1);
}
.swap-btn {
  width: 40px; height: 40px; border-radius: 50%; background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-500); transition: var(--transition); align-self: flex-end;
  cursor: pointer; border: 2px solid var(--gray-200); flex-shrink: 0;
}
.swap-btn:hover { background: var(--primary); color: var(--white); border-color: var(--primary); transform: rotate(180deg); }
.search-btn {
  background: var(--accent); color: var(--white);
  padding: .85rem 2rem; border-radius: var(--radius-sm);
  font-size: 1rem; font-weight: 700; align-self: flex-end;
  box-shadow: 0 4px 14px rgba(249,115,22,.35); transition: var(--transition);
  white-space: nowrap; display: flex; align-items: center; gap: .5rem;
}
.search-btn:hover { background: var(--accent-dark); transform: translateY(-2px); }

/* ============================================ */
/* Stats Bar                                    */
/* ============================================ */
.stats-bar {
  background: var(--gray-900); padding: 2rem 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem; text-align: center;
}
.stat-item { padding: .5rem; }
.stat-value { font-size: 2rem; font-weight: 800; color: var(--accent); letter-spacing: -.03em; }
.stat-label { font-size: .85rem; color: var(--gray-400); font-weight: 500; margin-top: .2rem; }

/* ============================================ */
/* Deals Section                                */
/* ============================================ */
.deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem; margin-top: 2.5rem;
}
.deal-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 1.4rem;
  transition: var(--transition); cursor: pointer;
  display: flex; flex-direction: column; gap: 1rem;
}
.deal-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--primary); }
.deal-route {
  display: flex; align-items: center; gap: .75rem;
}
.deal-city { font-weight: 700; font-size: 1rem; color: var(--gray-800); }
.deal-country { font-size: .8rem; color: var(--gray-400); }
.deal-arrow {
  flex: 1; display: flex; align-items: center;
  font-size: .8rem; color: var(--gray-300); position: relative;
}
.deal-arrow::before, .deal-arrow::after {
  content: ''; display: block; flex: 1; height: 1px; background: var(--gray-200);
}
.deal-arrow span {
  padding: 0 .5rem; color: var(--gray-400); white-space: nowrap;
  background: var(--white); position: relative; z-index: 1;
  display: flex; align-items: center; gap: .3rem;
}
.deal-meta {
  display: flex; justify-content: space-between; align-items: flex-end;
}
.deal-info { display: flex; flex-direction: column; gap: .2rem; }
.deal-date { font-size: .82rem; color: var(--gray-500); display: flex; align-items: center; gap: .3rem; }
.deal-airline { font-size: .82rem; font-weight: 600; color: var(--primary); }
.deal-price { text-align: right; }
.deal-original { font-size: .8rem; color: var(--gray-400); text-decoration: line-through; }
.deal-amount { font-size: 1.75rem; font-weight: 800; color: var(--accent); letter-spacing: -.03em; line-height: 1; }
.deal-amount small { font-size: .75rem; font-weight: 600; }
.deal-badge {
  display: inline-flex; align-items: center;
  font-size: .7rem; font-weight: 700;
  background: rgba(22,163,74,.1); color: var(--success);
  padding: .2rem .6rem; border-radius: 100px;
}

/* ============================================ */
/* Destinations                                 */
/* ============================================ */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem; margin-top: 2.5rem;
}
.dest-card {
  border-radius: var(--radius); overflow: hidden;
  position: relative; aspect-ratio: 4/3; cursor: pointer;
}
.dest-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.dest-card:hover img { transform: scale(1.08); }
.dest-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 55%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.4rem;
}
.dest-tag {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--accent); color: var(--white);
  font-size: .72rem; font-weight: 700; padding: .3rem .8rem;
  border-radius: 100px; letter-spacing: .04em;
}
.dest-city { color: var(--white); font-size: 1.3rem; font-weight: 700; }
.dest-country { color: rgba(255,255,255,.75); font-size: .85rem; }
.dest-price {
  margin-top: .5rem; color: var(--white); font-weight: 800;
  font-size: 1.05rem; display: flex; align-items: center; gap: .4rem;
}
.dest-price small { font-size: .75rem; font-weight: 500; opacity: .8; }

/* ============================================ */
/* Features                                     */
/* ============================================ */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem; margin-top: 3rem;
}
.feature-card {
  padding: 2rem; border-radius: var(--radius);
  background: var(--gray-50); border: 1px solid var(--gray-100);
  transition: var(--transition);
}
.feature-card:hover { background: var(--white); box-shadow: var(--shadow); transform: translateY(-3px); }
.feature-icon {
  width: 52px; height: 52px; border-radius: var(--radius-sm);
  background: rgba(26,60,110,.1); display: flex; align-items: center;
  justify-content: center; font-size: 1.5rem; margin-bottom: 1.25rem; color: var(--primary);
}
.feature-title { font-size: 1.05rem; font-weight: 700; color: var(--gray-800); margin-bottom: .5rem; }
.feature-desc { font-size: .9rem; color: var(--gray-500); line-height: 1.65; }

/* ============================================ */
/* Testimonials                                 */
/* ============================================ */
.testimonials { background: var(--gray-50); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem; margin-top: 2.5rem;
}
.testimonial-card {
  background: var(--white); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.stars { display: flex; gap: .2rem; margin-bottom: 1rem; }
.star { color: #f59e0b; font-size: 1rem; }
.testimonial-text {
  color: var(--gray-600); font-size: .93rem; line-height: 1.7;
  margin-bottom: 1.25rem; font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700; flex-shrink: 0;
}
.author-name { font-weight: 700; font-size: .9rem; color: var(--gray-800); }
.author-city { font-size: .8rem; color: var(--gray-400); }

/* ============================================ */
/* FAQ                                          */
/* ============================================ */
.faq-list { max-width: 760px; margin: 2.5rem auto 0; display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); overflow: hidden;
}
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 1.5rem; cursor: pointer; font-weight: 600;
  font-size: .97rem; color: var(--gray-800); transition: var(--transition);
  gap: 1rem;
}
.faq-question:hover { color: var(--primary); background: var(--gray-50); }
.faq-icon {
  width: 24px; height: 24px; border-radius: 50%; background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: .85rem; transition: transform var(--transition);
  color: var(--gray-600);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--primary); color: var(--white); }
.faq-answer {
  display: none; padding: 0 1.5rem 1.25rem;
  font-size: .92rem; color: var(--gray-500); line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ============================================ */
/* CTA Banner                                   */
/* ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  padding: 5rem 0; text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,.8); font-size: 1.1rem; max-width: 560px; margin: 0 auto 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-phone {
  display: flex; align-items: center; gap: .5rem;
  color: rgba(255,255,255,.9); font-size: 1.05rem; font-weight: 600;
}

/* ============================================ */
/* Footer                                       */
/* ============================================ */
.footer {
  background: var(--gray-900); color: var(--gray-400);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand .logo { color: var(--white); margin-bottom: 1rem; }
.footer-brand p { font-size: .9rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 { color: var(--white); font-size: .9rem; font-weight: 700; margin-bottom: 1.25rem; letter-spacing: .04em; text-transform: uppercase; }
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col a { font-size: .88rem; color: var(--gray-400); transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-contact { display: flex; flex-direction: column; gap: .75rem; }
.footer-contact-item { display: flex; align-items: flex-start; gap: .6rem; font-size: .88rem; }
.footer-contact-item svg { flex-shrink: 0; margin-top: .15rem; }
.footer-bottom {
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.06);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: .82rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: .82rem; color: var(--gray-500); }
.footer-links a:hover { color: var(--white); }

/* ============================================ */
/* Sticky CTA                                   */
/* ============================================ */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 900;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  box-shadow: 0 -4px 24px rgba(0,0,0,.22);
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  border-top: 3px solid var(--accent);
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.25rem; padding: .9rem 1.5rem;
}
.sticky-cta-left {
  display: flex; align-items: center; gap: 1rem; flex: 1; min-width: 0;
}
.sticky-cta-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); display: flex; align-items: center;
  justify-content: center; font-size: 1.2rem; flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(249,115,22,.4);
  animation: ring 2.5s ease-in-out infinite;
}
@keyframes ring {
  0%,100% { transform: rotate(0deg); }
  10%      { transform: rotate(-12deg); }
  20%      { transform: rotate(12deg); }
  30%      { transform: rotate(-8deg); }
  40%      { transform: rotate(8deg); }
  50%      { transform: rotate(0deg); }
}
.sticky-cta-text {
  display: flex; flex-direction: column; gap: .15rem; min-width: 0;
}
.sticky-cta-label {
  font-size: .9rem; font-weight: 700; color: var(--white);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sticky-cta-sub {
  font-size: .75rem; color: rgba(255,255,255,.6); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.sticky-cta-btn {
  display: flex; flex-direction: column; align-items: center;
  background: var(--accent); color: var(--white);
  padding: .7rem 1.75rem; border-radius: 100px; flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(249,115,22,.45);
  transition: var(--transition); text-align: center;
}
.sticky-cta-btn:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(249,115,22,.5); }
.sticky-cta-btn-label { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; line-height: 1; }
.sticky-cta-phone { font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.3; }
.sticky-close {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; cursor: pointer; color: rgba(255,255,255,.7);
  flex-shrink: 0; transition: var(--transition);
}
.sticky-close:hover { background: rgba(255,255,255,.25); color: var(--white); }

/* ============================================ */
/* Page Header (inner pages)                    */
/* ============================================ */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  padding: 4rem 0 3rem; text-align: center;
}
.page-header h1 { color: var(--white); margin-bottom: .75rem; }
.page-header p { color: rgba(255,255,255,.75); font-size: 1.05rem; max-width: 550px; margin: 0 auto; }
.breadcrumb {
  display: flex; align-items: center; justify-content: center;
  gap: .5rem; margin-bottom: 1.25rem;
  font-size: .82rem; color: rgba(255,255,255,.5);
}
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--white); }

/* ============================================ */
/* Contact Form                                 */
/* ============================================ */
.contact-layout {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-card {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--gray-50); border-radius: var(--radius);
  padding: 1.25rem; border: 1px solid var(--gray-200);
}
.contact-icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.contact-info-title { font-weight: 700; font-size: .95rem; color: var(--gray-800); margin-bottom: .25rem; }
.contact-info-detail { font-size: .88rem; color: var(--gray-500); }
.contact-form {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2.5rem; box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.25rem; }
.form-group.full { grid-column: 1 / -1; }
.form-label { font-size: .83rem; font-weight: 600; color: var(--gray-700); }
.form-control {
  padding: .85rem 1rem; border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm); font-size: .95rem;
  color: var(--gray-800); transition: var(--transition);
  background: var(--white); width: 100%;
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,60,110,.1); }
textarea.form-control { resize: vertical; min-height: 130px; }
.alert {
  padding: 1rem 1.25rem; border-radius: var(--radius-sm);
  font-size: .9rem; margin-bottom: 1.25rem; display: none;
}
.alert-success { background: rgba(22,163,74,.08); color: #15803d; border: 1px solid rgba(22,163,74,.25); display: block; }
.alert-error { background: rgba(220,38,38,.08); color: #b91c1c; border: 1px solid rgba(220,38,38,.25); display: block; }

/* ============================================ */
/* About Page                                   */
/* ============================================ */
.about-mission {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.about-img {
  border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/3; box-shadow: var(--shadow-lg);
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.team-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem; margin-top: 2.5rem;
}
.team-card { text-align: center; }
.team-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 700; margin: 0 auto 1rem;
}
.team-name { font-weight: 700; font-size: .97rem; color: var(--gray-800); margin-bottom: .25rem; }
.team-role { font-size: .83rem; color: var(--gray-400); }
.values-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem; margin-top: 2.5rem;
}
.value-card {
  padding: 1.75rem; background: var(--white);
  border-radius: var(--radius); border: 1px solid var(--gray-200);
  border-left: 4px solid var(--accent);
}
.value-title { font-weight: 700; color: var(--gray-800); margin-bottom: .4rem; }
.value-desc { font-size: .88rem; color: var(--gray-500); line-height: 1.65; }

/* ============================================ */
/* Deals page filters                           */
/* ============================================ */
.filter-bar {
  background: var(--white); padding: 1.25rem 1.5rem;
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200); margin-bottom: 2rem;
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center;
}
.filter-label { font-size: .83rem; font-weight: 700; color: var(--gray-600); text-transform: uppercase; letter-spacing: .06em; }
.filter-chips { display: flex; flex-wrap: wrap; gap: .5rem; flex: 1; }
.chip {
  padding: .4rem 1rem; border-radius: 100px; font-size: .83rem; font-weight: 600;
  border: 2px solid var(--gray-200); color: var(--gray-600); cursor: pointer;
  transition: var(--transition);
}
.chip:hover, .chip.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ============================================ */
/* About Strip (Homepage)                       */
/* ============================================ */
.about-strip {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.about-strip-content p {
  color: var(--gray-500); line-height: 1.8; font-size: .97rem; margin-bottom: 1rem;
}
.about-strip-content p strong { color: var(--gray-800); }
.about-strip-content .section-title { margin-bottom: 1.1rem; }
.about-strip-stats {
  display: flex; gap: 2rem; margin: 1.5rem 0 1.75rem;
  padding: 1.25rem 1.5rem; background: var(--gray-50);
  border-radius: var(--radius); border: 1px solid var(--gray-100);
  flex-wrap: wrap;
}
.about-strip-stat { display: flex; flex-direction: column; gap: .15rem; }
.about-strip-stat strong { font-size: 1.6rem; font-weight: 800; color: var(--accent); letter-spacing: -.03em; line-height: 1; }
.about-strip-stat span { font-size: .78rem; color: var(--gray-500); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.about-strip-img { position: relative; border-radius: var(--radius-lg); overflow: visible; }
.about-strip-img img {
  width: 100%; height: 400px; object-fit: cover;
  border-radius: var(--radius-lg); display: block;
  box-shadow: var(--shadow-xl);
}
.about-strip-badge {
  position: absolute; bottom: -1rem; left: -1rem;
  background: var(--white); border-radius: var(--radius);
  padding: .9rem 1.25rem; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: .85rem;
  border: 1px solid var(--gray-100);
}
.about-strip-badge-icon {
  width: 40px; height: 40px; background: var(--accent);
  border-radius: 10px; display: flex; align-items: center;
  justify-content: center; color: var(--white); font-size: 1.1rem; flex-shrink: 0;
}
.about-strip-badge strong { display: block; font-size: .9rem; color: var(--gray-800); line-height: 1.2; }
.about-strip-badge span { font-size: .78rem; color: var(--gray-500); }
@media (max-width: 900px) {
  .about-strip { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-strip-img { order: -1; }
  .about-strip-img img { height: 280px; }
  .about-strip-badge { bottom: -1rem; left: 1rem; }
}
@media (max-width: 480px) {
  .about-strip-stats { gap: 1.25rem; }
  .about-strip-img img { height: 220px; }
  .about-strip-badge { left: .75rem; bottom: -.75rem; padding: .7rem 1rem; }
}

/* ============================================ */
/* About / Nosotros Page                        */
/* ============================================ */
.about-header { padding-bottom: 3.5rem; }
.about-header-inner { max-width: 640px; }
.about-header-inner h1 { color: var(--white); font-size: clamp(2rem,5vw,3rem); margin-bottom: .75rem; }
.about-header-inner p { color: rgba(255,255,255,.75); font-size: 1.05rem; line-height: 1.7; }

/* Stats bar */
.about-stats-bar { background: var(--white); border-bottom: 1px solid var(--gray-100); }
.about-stats-grid {
  display: flex; align-items: center; justify-content: center;
  gap: 0; padding: 2rem 0;
}
.about-stat { text-align: center; flex: 1; }
.about-stat-value { font-size: 2.4rem; font-weight: 800; color: var(--accent); letter-spacing: -.03em; line-height: 1; }
.about-stat-label { font-size: .8rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: .07em; margin-top: .35rem; font-weight: 600; }
.about-stat-divider { width: 1px; height: 48px; background: var(--gray-200); flex-shrink: 0; }

/* Mission */
.about-mission {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.about-mission-content p {
  color: var(--gray-500); line-height: 1.8; margin-bottom: 1.1rem; font-size: .97rem;
}
.about-mission-content p strong { color: var(--gray-800); }
.about-img { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.about-img img { width: 100%; height: 420px; object-fit: cover; display: block; }
.about-img-badge {
  position: absolute; bottom: 1.25rem; left: 1.25rem;
  background: var(--white); border-radius: var(--radius);
  padding: .75rem 1.1rem; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: .1rem;
}
.about-img-badge-year { font-size: 1.5rem; font-weight: 800; color: var(--accent); line-height: 1; }
.about-img-badge-text { font-size: .72rem; color: var(--gray-500); font-weight: 600; text-transform: uppercase; letter-spacing: .07em; }

/* Highlights */
.about-highlights { display: flex; flex-direction: column; gap: 1rem; margin: 1.5rem 0; }
.about-highlight {
  display: flex; align-items: flex-start; gap: .9rem;
  background: var(--gray-50); border-radius: var(--radius);
  padding: .9rem 1.1rem; border: 1px solid var(--gray-100);
}
.about-highlight-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: .1rem; }
.about-highlight div { display: flex; flex-direction: column; gap: .15rem; }
.about-highlight strong { font-size: .92rem; color: var(--gray-800); font-weight: 700; }
.about-highlight span { font-size: .85rem; color: var(--gray-500); line-height: 1.55; }

/* Timeline */
.timeline { max-width: 720px; margin: 3rem auto 0; position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 72px; top: 0; bottom: 0;
  width: 2px; background: var(--gray-200);
}
.timeline-item {
  display: flex; gap: 1.75rem; align-items: flex-start;
  margin-bottom: 2rem; position: relative;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-year {
  width: 56px; flex-shrink: 0; text-align: right;
  font-size: .8rem; font-weight: 800; color: var(--accent);
  padding-top: 1.1rem; letter-spacing: .03em;
}
.timeline-card {
  flex: 1; background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow-sm); position: relative;
}
.timeline-card::before {
  content: ''; position: absolute; left: -22px; top: 18px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--accent);
}
.timeline-card h3 { font-size: 1rem; color: var(--primary); margin-bottom: .5rem; }
.timeline-card p { font-size: .88rem; color: var(--gray-500); line-height: 1.7; margin: 0; }

/* Values (updated) */
.value-card { text-align: left; background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 1.6rem; transition: var(--transition); }
.value-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow); }
.value-icon { font-size: 1.6rem; margin-bottom: .75rem; }
.value-title { font-size: 1rem; font-weight: 700; color: var(--gray-800); margin-bottom: .5rem; }
.value-desc { font-size: .88rem; color: var(--gray-500); line-height: 1.65; margin: 0; }

/* CTA strip */
.about-cta-strip {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.about-cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; flex-shrink: 0; }

/* About responsive */
@media (max-width: 900px) {
  .about-mission { grid-template-columns: 1fr; gap: 2rem; }
  .about-img { order: -1; }
  .about-img img { height: 280px; }
  .timeline::before { left: 60px; }
  .timeline-year { width: 48px; font-size: .75rem; }
}
@media (max-width: 768px) {
  .about-stats-grid { flex-wrap: wrap; gap: 1.5rem; padding: 1.5rem 0; }
  .about-stat { min-width: 120px; }
  .about-stat-divider { display: none; }
  .about-cta-strip { flex-direction: column; text-align: center; }
  .about-cta-actions { justify-content: center; }
  .timeline::before { display: none; }
  .timeline-item { flex-direction: column; gap: .5rem; }
  .timeline-year { width: auto; text-align: left; padding-top: 0; font-size: .85rem; }
  .timeline-card::before { display: none; }
}
@media (max-width: 480px) {
  .about-stat-value { font-size: 2rem; }
  .about-cta-actions { flex-direction: column; width: 100%; }
  .about-cta-actions .btn { width: 100%; justify-content: center; }
  .about-img img { height: 220px; }
}

/* ============================================ */
/* Legal Pages                                  */
/* ============================================ */
.legal-layout {
  display: grid; grid-template-columns: 240px 1fr;
  gap: 3rem; align-items: start;
}
.legal-toc {
  position: sticky; top: 90px;
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 1.5rem;
}
.legal-toc-title {
  font-size: .72rem; font-weight: 800; color: var(--gray-400);
  text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem;
}
.legal-toc ul { display: flex; flex-direction: column; gap: .35rem; }
.legal-toc a {
  font-size: .85rem; color: var(--gray-500); padding: .35rem .6rem;
  border-radius: 6px; display: block; transition: var(--transition);
  line-height: 1.4;
}
.legal-toc a:hover { background: var(--white); color: var(--primary); }
.legal-intro {
  background: var(--primary); color: rgba(255,255,255,.9);
  border-radius: var(--radius); padding: 1.4rem 1.6rem;
  font-size: .97rem; line-height: 1.7; margin-bottom: 2rem;
}
.legal-intro strong { color: var(--white); }
.legal-section { margin-bottom: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--gray-100); }
.legal-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.legal-section h2 {
  font-size: 1.25rem; color: var(--primary); margin-bottom: 1rem;
  padding-bottom: .6rem; border-bottom: 2px solid var(--gray-100);
}
.legal-section h3 { font-size: 1rem; color: var(--gray-700); margin: 1.1rem 0 .5rem; font-weight: 700; }
.legal-section p { color: var(--gray-600); line-height: 1.75; margin-bottom: .85rem; font-size: .95rem; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul { margin: .5rem 0 .85rem 0; display: flex; flex-direction: column; gap: .45rem; }
.legal-section ul li {
  color: var(--gray-600); font-size: .95rem; line-height: 1.65;
  padding-left: 1.4rem; position: relative;
}
.legal-section ul li::before {
  content: '—'; position: absolute; left: 0; color: var(--accent); font-weight: 700;
}
.legal-section a { color: var(--primary); font-weight: 600; text-decoration: underline; }
.legal-section a:hover { color: var(--accent); }
.legal-callout {
  background: rgba(26,60,110,.06); border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.25rem; font-size: .9rem; color: var(--gray-600);
  line-height: 1.65; margin: 1rem 0;
}
.legal-callout strong { color: var(--gray-800); }
.legal-callout.warning { background: rgba(249,115,22,.06); border-color: var(--accent); }
.legal-contact-box {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 1.25rem 1.5rem;
  display: flex; flex-direction: column; gap: .6rem; margin-top: .75rem;
}
.legal-contact-box p { margin: 0; font-size: .95rem; color: var(--gray-600); }
/* Cookie table */
.cookie-table-wrapper { overflow-x: auto; margin: 1rem 0; border-radius: var(--radius); border: 1px solid var(--gray-200); }
.cookie-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.cookie-table th {
  background: var(--gray-800); color: var(--white);
  padding: .85rem 1rem; text-align: left; font-weight: 700;
  font-size: .8rem; text-transform: uppercase; letter-spacing: .06em;
}
.cookie-table td { padding: .85rem 1rem; border-bottom: 1px solid var(--gray-100); color: var(--gray-600); vertical-align: top; }
.cookie-table tr:last-child td { border-bottom: none; }
.cookie-table tr:hover td { background: var(--gray-50); }
.cookie-table code { background: var(--gray-100); padding: .2rem .45rem; border-radius: 4px; font-size: .82rem; color: var(--primary); }
.cookie-badge {
  display: inline-block; padding: .2rem .7rem; border-radius: 100px;
  font-size: .72rem; font-weight: 700; white-space: nowrap;
}
.cookie-badge.essential { background: rgba(22,163,74,.1); color: #15803d; }
.cookie-badge.functional { background: rgba(26,60,110,.1); color: var(--primary); }
.cookie-badge.analytics  { background: rgba(249,115,22,.1); color: var(--accent-dark); }
.cookie-badge.marketing  { background: rgba(220,38,38,.1); color: #b91c1c; }
/* Refund summary cards */
.refund-summary {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1rem; margin: 1.5rem 0 .5rem;
}
.refund-summary-card {
  border-radius: var(--radius); padding: 1.25rem;
  text-align: center; border: 1px solid var(--gray-200);
}
.refund-summary-card.green { background: rgba(22,163,74,.06); border-color: rgba(22,163,74,.2); }
.refund-summary-card.yellow { background: rgba(249,115,22,.06); border-color: rgba(249,115,22,.2); }
.refund-summary-card.red { background: rgba(220,38,38,.06); border-color: rgba(220,38,38,.2); }
.rsc-icon { font-size: 1.6rem; margin-bottom: .5rem; }
.rsc-title { font-weight: 700; font-size: .97rem; color: var(--gray-800); margin-bottom: .35rem; }
.rsc-desc { font-size: .82rem; color: var(--gray-500); line-height: 1.5; }
/* Tariff cards */
.tariff-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin: 1rem 0; }
.tariff-card { border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; }
.tariff-header {
  padding: .85rem 1rem; color: var(--white);
  font-weight: 700; font-size: .9rem;
}
.tariff-card ul { padding: 1rem; gap: .5rem; }
.tariff-card ul li { font-size: .85rem; }
/* Process steps */
.process-steps { display: flex; flex-direction: column; gap: 1rem; margin: 1rem 0; }
.process-step {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--gray-50); border-radius: var(--radius);
  padding: 1.1rem 1.25rem; border: 1px solid var(--gray-200);
}
.step-num {
  width: 32px; height: 32px; border-radius: 50%; background: var(--primary);
  color: var(--white); font-weight: 800; font-size: .9rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step-content { flex: 1; }
.step-content strong { display: block; font-size: .97rem; color: var(--gray-800); margin-bottom: .3rem; }
.step-content p { margin: 0; font-size: .88rem; color: var(--gray-500); line-height: 1.6; }
/* Legal responsive */
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .legal-toc { position: static; display: none; }
  .refund-summary { grid-template-columns: 1fr; }
  .tariff-cards { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .legal-intro { padding: 1.1rem 1.2rem; font-size: .9rem; }
  .legal-section h2 { font-size: 1.1rem; }
  .cookie-table { min-width: 480px; }
  .refund-summary { grid-template-columns: 1fr; }
}

/* ============================================ */
/* Search Results Modal                         */
/* ============================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(10,20,40,.6); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--white); border-radius: var(--radius-lg);
  width: 100%; max-width: 540px;
  box-shadow: var(--shadow-xl);
  transform: translateY(24px) scale(.97);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), opacity .3s ease;
  opacity: 0; overflow: hidden;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); opacity: 1; }
.modal-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  padding: 1.75rem 2rem 1.5rem; position: relative;
}
.modal-header-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.9); font-size: .75rem; font-weight: 700;
  padding: .35rem .9rem; border-radius: 100px; margin-bottom: .9rem;
}
.modal-title { color: var(--white); font-size: 1.35rem; font-weight: 800; margin-bottom: .3rem; }
.modal-subtitle { color: rgba(255,255,255,.7); font-size: .88rem; }
.modal-close {
  position: absolute; top: 1.1rem; right: 1.1rem;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.15); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1rem; transition: background var(--transition);
  border: 1.5px solid rgba(255,255,255,.25);
}
.modal-close:hover { background: rgba(255,255,255,.3); }
.modal-body { padding: 1.75rem 2rem; }
.modal-route {
  display: flex; align-items: center; gap: 1rem;
  background: var(--gray-50); border-radius: var(--radius);
  padding: 1.1rem 1.25rem; margin-bottom: 1.25rem;
  border: 1px solid var(--gray-200);
}
.modal-city { flex: 1; }
.modal-city-name { font-size: 1.15rem; font-weight: 800; color: var(--gray-900); }
.modal-city-label { font-size: .75rem; color: var(--gray-400); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-top: .1rem; }
.modal-plane {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.modal-details {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: .75rem; margin-bottom: 1.5rem;
}
.modal-detail-card {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm); padding: .9rem 1rem;
}
.modal-detail-label { font-size: .72rem; font-weight: 700; color: var(--gray-400); text-transform: uppercase; letter-spacing: .07em; margin-bottom: .3rem; }
.modal-detail-value { font-size: .97rem; font-weight: 700; color: var(--gray-800); }
.modal-cta {
  background: var(--accent); color: var(--white);
  padding: 1.1rem; border-radius: var(--radius);
  text-align: center; font-weight: 800; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  transition: var(--transition); box-shadow: 0 4px 16px rgba(249,115,22,.35);
}
.modal-cta:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(249,115,22,.4); }
.modal-cta-sub { text-align: center; font-size: .78rem; color: var(--gray-400); margin-top: .75rem; }
.modal-spinner {
  display: flex; flex-direction: column; align-items: center;
  gap: 1rem; padding: 2rem 0;
}
.spinner-ring {
  width: 48px; height: 48px; border-radius: 50%;
  border: 4px solid var(--gray-200);
  border-top-color: var(--accent);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.spinner-text { font-size: .9rem; color: var(--gray-500); font-weight: 500; }

/* ============================================ */
/* Animations                                   */
/* ============================================ */
[data-animate] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
[data-animate].visible { opacity: 1; transform: translateY(0); }

/* ============================================ */
/* Responsive                                   */
/* ============================================ */

/* ---- Tablet landscape: 1024px ---- */
@media (max-width: 1024px) {
  .container { padding: 0 1.5rem; }

  /* Navbar */
  .nav-phone { display: none; }

  /* Search: 2 col layout */
  .search-grid {
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
  }
  .search-grid .search-field:first-child { grid-column: 1; }
  .swap-btn { display: none; }
  .search-grid .search-field:nth-child(3) { grid-column: 2; }
  .search-grid .search-field:nth-child(4),
  .search-grid .search-field:nth-child(5),
  .search-grid .search-field:nth-child(6) { grid-column: auto; }
  .search-btn { grid-column: 1 / -1; width: 100%; justify-content: center; border-radius: 100px; }

  /* Grids */
  .dest-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
  .footer-grid .footer-col:last-child { grid-column: 1 / -1; }

  /* About */
  .about-mission { gap: 2.5rem; }
  .contact-layout { gap: 2rem; }
}

/* ---- Tablet portrait: 768px ---- */
@media (max-width: 768px) {
  /* Global spacing */
  .section { padding: 3.5rem 0; }
  .container { padding: 0 1.25rem; }

  /* Navbar */
  .nav-links { display: none; }
  .nav-phone { display: none; }
  .nav-actions .btn { display: none; }
  .hamburger { display: flex; }
  .navbar-inner { padding: .85rem 0; }

  /* Hero */
  .hero { min-height: auto; }
  .hero-content { padding: 2.75rem 0 2.25rem; }
  .hero-sub { font-size: 1rem; }
  .hero-ctas { gap: .75rem; }
  .hero-ctas .btn { flex: 1 1 auto; text-align: center; justify-content: center; }

  /* Search card */
  .search-card { padding: 1.5rem; border-radius: var(--radius); }
  .search-tabs { flex-wrap: wrap; gap: .4rem; }
  .search-grid {
    grid-template-columns: 1fr;
    gap: .65rem;
  }
  .search-grid > * { grid-column: 1 !important; }
  .swap-btn { display: none; }
  .search-btn { width: 100%; justify-content: center; border-radius: 100px; padding: 1rem; font-size: 1rem; }

  /* Prevent iOS zoom on inputs */
  .search-field input,
  .search-field select,
  .form-control { font-size: 16px; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .stat-value { font-size: 1.6rem; }

  /* Grids */
  .deals-grid { grid-template-columns: 1fr; }
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }

  /* Page layouts */
  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
  .about-mission { grid-template-columns: 1fr; gap: 2rem; }
  .about-mission .about-img { order: -1; }
  .form-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer { padding: 3rem 0 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; text-align: center; gap: .75rem; }
  .footer-links { justify-content: center; }

  /* CTA banner */
  .cta-banner { padding: 3.5rem 0; }
  .cta-actions { flex-direction: column; align-items: center; gap: .75rem; }
  .cta-actions .btn { width: 100%; max-width: 340px; justify-content: center; }

  /* Modal: bottom sheet on mobile */
  .modal-overlay { align-items: flex-end; padding: 0; }
  .modal {
    max-width: 100%;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    transform: translateY(100%);
    max-height: 92vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .modal-overlay.open .modal { transform: translateY(0); }
  .modal-body { padding: 1.5rem 1.25rem; }
  .modal-header { padding: 1.5rem 1.25rem 1.25rem; }
  .modal-details { grid-template-columns: 1fr 1fr; }
}

/* ---- Mobile: 480px ---- */
@media (max-width: 480px) {
  /* Typography */
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.6rem; }
  .section-sub { font-size: .95rem; }

  /* Spacing */
  .section { padding: 3rem 0; }
  .container { padding: 0 1rem; }

  /* Buttons */
  .btn-lg { padding: .9rem 1.6rem; font-size: .95rem; }
  .btn { white-space: normal; text-align: center; }

  /* Navbar */
  .logo { font-size: 1.2rem; }
  .logo-icon { width: 36px; height: 36px; font-size: 1.1rem; }
  .nav-actions .btn { padding: .6rem 1rem; font-size: .82rem; }

  /* Hero */
  .hero-content { padding: 2.25rem 0 2rem; }
  .hero-badge { font-size: .75rem; padding: .4rem .85rem; }
  .hero-sub { font-size: .93rem; }
  .hero-ctas { flex-direction: column; gap: .65rem; }
  .hero-ctas .btn { width: 100%; }

  /* Search */
  .search-card { padding: 1.1rem; border-radius: var(--radius); }
  .search-tab { padding: .45rem 1rem; font-size: .82rem; }
  .search-field label { font-size: .68rem; }
  .search-field input,
  .search-field select { padding: .75rem .9rem; font-size: 16px; }

  /* Stats */
  .stats-bar { padding: 1.5rem 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stat-value { font-size: 1.45rem; }
  .stat-label { font-size: .78rem; }

  /* Cards */
  .deal-card { padding: 1.1rem; }
  .deal-amount { font-size: 1.5rem; }
  .dest-grid { grid-template-columns: 1fr; }
  .dest-card { aspect-ratio: 16/9; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 1.5rem; }

  /* FAQ */
  .faq-question { padding: 1rem 1.1rem; font-size: .9rem; }
  .faq-answer { padding: 0 1.1rem 1rem; }

  /* Team & values */
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .values-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-brand p { max-width: 100%; }
  .footer-col h4 { margin-bottom: .9rem; }

  /* Sticky CTA */
  /* Sticky CTA — mobile: stack into big call bar */
  .sticky-cta-inner { padding: .75rem 1rem; gap: .75rem; }
  .sticky-cta-left { gap: .65rem; }
  .sticky-cta-icon { width: 38px; height: 38px; font-size: 1rem; }
  .sticky-cta-label { font-size: .82rem; }
  .sticky-cta-sub { display: none; }
  .sticky-cta-btn { padding: .65rem 1.25rem; }
  .sticky-cta-btn-label { font-size: .65rem; }
  .sticky-cta-phone { font-size: .97rem; }

  /* Modal */
  .modal-header { padding: 1.25rem 1rem 1rem; }
  .modal-body { padding: 1.25rem 1rem; }
  .modal-title { font-size: 1.15rem; }
  .modal-route { padding: .9rem 1rem; gap: .75rem; }
  .modal-city-name { font-size: 1rem; }
  .modal-details { gap: .6rem; }
  .modal-cta { font-size: .95rem; padding: .95rem; }

  /* Contact */
  .contact-form { padding: 1.5rem 1.25rem; }
  .contact-info-card { flex-direction: column; gap: .75rem; }

  /* Page header */
  .page-header { padding: 3rem 0 2.25rem; }
  .cta-banner { padding: 3rem 0; }
  .cta-banner h2 { font-size: 1.5rem; }
}

/* ---- Very small: 360px ---- */
@media (max-width: 360px) {
  .container { padding: 0 .85rem; }
  h1 { font-size: 1.65rem; }
  .logo-main { font-size: 1rem; }
  .logo-domain { font-size: 1rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .modal-details { grid-template-columns: 1fr; }
}

/* ---- Touch UX improvements ---- */
@media (hover: none) and (pointer: coarse) {
  /* Larger tap targets */
  .btn { min-height: 48px; }
  .nav-links a { min-height: 44px; display: flex; align-items: center; }
  .faq-question { min-height: 52px; }
  .chip { min-height: 40px; }
  .hamburger { padding: .75rem; }

  /* Remove hover transforms (no hover on touch) */
  .deal-card:hover,
  .dest-card:hover img,
  .feature-card:hover,
  .testimonial-card:hover,
  .btn:hover { transform: none; }

  /* Active states instead */
  .btn:active { transform: scale(.97); }
  .deal-card:active { transform: scale(.98); }
}
