:root {
  --primary: #1a73e8;
  --primary-dark: #1557b0;
  --accent: #f67a3a;
  --bg: #f4f6fb;
  --card: #ffffff;
  --text: #1c2430;
  --muted: #5b6675;
  --border: #e2e6ee;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(26, 60, 120, 0.12);
  --shadow-lg: 0 20px 50px rgba(26, 60, 120, 0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 760px; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo { display: flex; align-items: center; gap: 8px; font-size: 1.25rem; font-weight: 800; color: var(--text); }
.logo:hover { text-decoration: none; }
.logo-icon { font-size: 1.4rem; }
.logo-text span { color: var(--primary); }
.main-nav { display: flex; gap: 24px; font-weight: 600; font-size: 0.95rem; }
.main-nav a { color: var(--muted); }
.main-nav a:hover { color: var(--primary); }

/* Hero */
.hero {
  padding: 48px 0 56px;
  background:
    radial-gradient(1000px 400px at 90% -10%, rgba(26, 115, 232, 0.18), transparent 60%),
    radial-gradient(800px 400px at 0% 10%, rgba(246, 122, 58, 0.10), transparent 55%),
    linear-gradient(180deg, #eef3ff, var(--bg));
}
.hero h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 720px;
}
.hero-sub {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 560px;
  margin-top: 12px;
  margin-bottom: 30px;
}

/* Search form */
.search-form {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1fr 1fr 1fr auto;
  gap: 14px;
  align-items: end;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.03em; }
.field input,
.field select {
  height: 48px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
  background: #fbfcfe;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}
.date-hint { font-size: 0.72rem; color: var(--muted); margin-top: -3px; }

.btn-search {
  height: 48px;
  padding: 0 22px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.1s, box-shadow 0.15s;
  box-shadow: 0 6px 16px rgba(26, 115, 232, 0.3);
}
.btn-search:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(26, 115, 232, 0.4); }
.btn-search:active { transform: translateY(0); }

/* Sections */
.section { padding: 56px 0; }
.section-tinted { background: #eef2fb; }
.section h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 26px; letter-spacing: -0.01em; }

/* Cards */
.ofertas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.destinos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.15s, box-shadow 0.15s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card .route { font-weight: 800; font-size: 1.05rem; margin-bottom: 6px; }
.card .route small { color: var(--muted); font-weight: 600; }
.card .price {
  display: inline-block;
  margin-top: 12px;
  background: #e9f2ff;
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 1.25rem;
  padding: 6px 14px;
  border-radius: 999px;
}
.card .price small { font-weight: 700; font-size: 0.8rem; color: var(--muted); }
.card .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(246, 122, 58, 0.12);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.destino-card .city { font-weight: 800; font-size: 1.1rem; }
.destino-card .city small { display: block; color: var(--muted); font-weight: 600; font-size: 0.85rem; margin-top: 2px; }

/* FAQ */
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  padding: 4px 18px;
  box-shadow: var(--shadow);
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 14px 0;
  list-style-position: inside;
}
.faq-item p { color: var(--muted); padding-bottom: 16px; }

/* Footer */
.site-footer { background: #101722; color: #cdd6e4; padding: 30px 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; font-size: 0.9rem; }
.footer-inner nav { display: flex; gap: 20px; }
.footer-inner a { color: #cdd6e4; }

.result-note { padding: 18px 22px; }

@media (max-width: 920px) {
  .search-form { grid-template-columns: 1fr 1fr; }
  .search-form .btn-search { grid-column: span 2; }
}
@media (max-width: 520px) {
  .search-form { grid-template-columns: 1fr; }
  .search-form .btn-search { grid-column: span 1; }
  .hero { padding: 36px 0 44px; }
  .section { padding: 40px 0; }
  .main-nav { gap: 14px; font-size: 0.85rem; }
}