:root {
  --bg: #fffdf9;
  --surface: #ffffff;
  --surface-warm: #fdf7ec;
  --ink: #182230;
  --ink-muted: #526071;
  --gold: #f59e0b;
  --gold-dark: #d97706;
  --gold-soft: #fef3c7;
  --azure: #0284c7;
  --azure-dark: #0369a1;
  --border: #e6e8ec;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(24, 34, 48, 0.06);
  --shadow-md: 0 12px 30px rgba(24, 34, 48, 0.10);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Notice */
.top-notice {
  background: #132238;
  color: #f8fafc;
  font-size: 0.82rem;
  padding: 8px 0;
}

.top-notice-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.top-notice a {
  color: #fcd34d;
  text-decoration: none;
  font-weight: 600;
}

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold-dark);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.2s;
}

.main-nav a:hover {
  color: var(--azure);
}

.main-nav .nav-cta {
  background: var(--gold-soft);
  color: #92400e;
  padding: 8px 16px;
  border-radius: 999px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 1.2rem;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(125deg, #0c4a6e 0%, #0284c7 48%, #f59e0b 115%);
  color: #ffffff;
  padding: 76px 0 84px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(253, 224, 71, 0.35), transparent 45%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 18px;
  font-weight: 700;
}

.hero h1 em {
  color: #fde047;
  font-style: italic;
}

.hero-lead {
  font-size: 1.12rem;
  max-width: 700px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 32px;
}

/* Search Panel */
.search-panel {
  background: #ffffff;
  color: var(--ink);
  padding: 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 14px;
  align-items: end;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-group label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}

.filter-group select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink);
  background-color: #f8fafc;
}

.btn-primary {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  border: none;
  padding: 13px 24px;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.35);
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-item strong {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fde047;
}

.stat-item span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Destinations Bar */
.destinations-bar {
  padding: 52px 0 24px;
}

.section-header-inline {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 8px;
}

.section-header-inline h2 {
  font-size: 1.35rem;
  font-weight: 800;
}

.section-header-inline .subtitle {
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.dest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.dest-card {
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.dest-card:hover,
.dest-card.active {
  border-color: var(--gold);
  background: var(--surface-warm);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.dest-temp {
  display: inline-block;
  background: var(--gold-soft);
  color: #92400e;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.dest-card h3 {
  font-size: 1.08rem;
  margin-bottom: 4px;
  color: var(--ink);
}

.dest-card p {
  font-size: 0.83rem;
  color: var(--ink-muted);
}

/* Directory Section */
.directory-section {
  padding: 40px 0 68px;
}

.directory-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold-dark);
  margin-bottom: 4px;
}

.directory-header h2 {
  font-size: 1.85rem;
  font-weight: 800;
}

.sort-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sort-controls label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.sort-controls select {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-weight: 600;
  background: #fff;
}

.btn-reset {
  background: transparent;
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink-muted);
}

.btn-reset:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.results-meta {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-bottom: 24px;
}

/* Hotel Grid */
.hotel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.hotel-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.hotel-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.hotel-banner {
  height: 185px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  position: relative;
}

.hotel-banner-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.sun-badge {
  background: rgba(19, 34, 56, 0.86);
  backdrop-filter: blur(4px);
  color: #fde047;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.82rem;
}

.flight-pill {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 700;
}

.hotel-orientation {
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.35);
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 6px;
}

.hotel-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hotel-location {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--azure);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.hotel-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--ink);
}

.hotel-desc {
  font-size: 0.92rem;
  color: var(--ink-muted);
  margin-bottom: 16px;
}

.solar-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: var(--surface-warm);
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 16px;
}

.metric {
  display: flex;
  flex-direction: column;
}

.metric span {
  font-size: 0.72rem;
  color: var(--ink-muted);
}

.metric strong {
  font-size: 0.88rem;
  color: var(--ink);
}

.hotel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.tag {
  font-size: 0.76rem;
  font-weight: 600;
  background: #f1f5f9;
  color: #334155;
  padding: 4px 10px;
  border-radius: 6px;
}

.hotel-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.price-box span {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.price-box strong {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
}

.card-actions {
  display: flex;
  gap: 8px;
}

.btn-outline {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 9px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}

.btn-outline:hover {
  border-color: var(--azure);
  color: var(--azure);
}

.btn-deal {
  background: var(--azure);
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 9px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-deal:hover {
  background: var(--azure-dark);
}

/* Methodology */
.methodology-section {
  padding: 20px 0 70px;
}

.method-box {
  background: #132238;
  color: #fff;
  border-radius: 20px;
  padding: 48px;
}

.method-intro {
  max-width: 720px;
  margin-bottom: 36px;
}

.method-intro .eyebrow {
  color: #fcd34d;
}

.method-intro h2 {
  font-size: 1.9rem;
  margin-bottom: 12px;
}

.method-intro p {
  color: #cbd5e1;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.method-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 24px;
}

.method-num {
  color: #fbbf24;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.method-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.method-card p {
  font-size: 0.9rem;
  color: #cbd5e1;
}

/* Newsletter */
.newsletter-section {
  padding-bottom: 72px;
}

.newsletter-card {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-radius: 20px;
  padding: 42px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: center;
}

.newsletter-copy h2 {
  font-size: 1.65rem;
  margin-bottom: 8px;
}

.newsletter-copy p {
  color: #451a03;
  font-size: 0.95rem;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid #d97706;
  font-family: inherit;
  font-size: 0.95rem;
}

.form-feedback {
  grid-column: 1 / -1;
  font-size: 0.88rem;
  font-weight: 700;
  color: #065f46;
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand-title {
  color: #fff;
}

.footer-brand p {
  margin-top: 14px;
  font-size: 0.9rem;
  max-width: 440px;
}

.affiliate-note {
  font-size: 0.8rem !important;
  color: #94a3b8;
}

.footer-links h4 {
  color: #fff;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: #fcd34d;
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #94a3b8;
  flex-wrap: wrap;
  gap: 10px;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}

.modal-backdrop.open {
  display: flex;
}

.modal-dialog {
  background: #fff;
  border-radius: 18px;
  max-width: 640px;
  width: 100%;
  padding: 32px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #f1f5f9;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  background: #fff;
  border: 1px dashed var(--border);
  border-radius: 16px;
}

@media (max-width: 960px) {
  .search-panel {
    grid-template-columns: 1fr 1fr;
  }
  .dest-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hotel-grid {
    grid-template-columns: 1fr;
  }
  .method-grid,
  .newsletter-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .main-nav {
    display: none;
  }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px;
    border-bottom: 1px solid var(--border);
  }
  .mobile-menu-btn {
    display: block;
  }
  .search-panel,
  .dest-grid {
    grid-template-columns: 1fr;
  }
  .method-box,
  .newsletter-card {
    padding: 28px 20px;
  }
  .newsletter-form {
    flex-direction: column;
  }
}
