:root {
  --navy: #151821;
  --navy-soft: #2e5eaa;
  --gold: #b79ac8;
  --gold-deep: #2e5eaa;
  --white: #f6f5f3;
  --mist: #f6f5f3;
  --ink: #101826;
  --muted: #5f5f63;
  --line: rgba(255, 255, 255, 0.18);
  --shadow: 0 24px 70px rgba(3, 12, 25, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--mist);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(3, 10, 22, 0.82), rgba(3, 10, 22, 0));
}

.brand,
.desktop-nav,
.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-logo {
  width: 70px;
  height: 44px;
  object-fit: contain;
  background: rgba(21, 24, 33, 0.72);
  border: 1px solid rgba(183, 154, 200, 0.5);
  padding: 4px;
}

.desktop-nav {
  display: none;
  gap: 26px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.header-cta {
  display: none;
  border: 1px solid rgba(217, 184, 111, 0.7);
  padding: 10px 16px;
  color: var(--gold);
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 108px clamp(20px, 5vw, 72px) 34px;
  color: var(--white);
}

.hero-video,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  object-fit: cover;
  z-index: -2;
  background: var(--navy);
}

.hero-photo {
  background:
    linear-gradient(90deg, rgba(4, 13, 28, 0.22), rgba(4, 13, 28, 0)),
    url("./europa-navidena-ai.png") center/cover no-repeat;
}

.hero-scrim {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 13, 28, 0.92), rgba(4, 13, 28, 0.58) 52%, rgba(4, 13, 28, 0.22)),
    linear-gradient(0deg, rgba(4, 13, 28, 0.88), rgba(4, 13, 28, 0.12) 48%);
}

.hero-content {
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0;
}

h1 {
  max-width: 740px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 10vw, 6.8rem);
  line-height: 0.94;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  line-height: 1.6;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--white));
  color: #151821;
  box-shadow: 0 12px 34px rgba(183, 154, 200, 0.28);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.hero-panel {
  display: grid;
  gap: 1px;
  width: min(920px, 100%);
  margin-top: 48px;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: var(--shadow);
}

.hero-panel div {
  padding: 20px;
  background: rgba(5, 18, 38, 0.74);
  backdrop-filter: blur(18px);
}

.hero-panel strong {
  display: block;
  color: var(--gold);
  font-family: "Playfair Display", serif;
  font-size: 2rem;
}

.hero-panel span {
  color: rgba(255, 255, 255, 0.78);
}

.section,
.planner-section,
.contact {
  padding: clamp(72px, 10vw, 120px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 790px;
  margin-bottom: 34px;
}

h2 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1;
}

.destination-grid {
  display: grid;
  gap: 16px;
}

.destination-card {
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 24px;
  color: var(--white);
  background-image: linear-gradient(180deg, rgba(4, 14, 30, 0.1), rgba(4, 14, 30, 0.88)), var(--image);
  background-position: center;
  background-size: cover;
  box-shadow: 0 18px 44px rgba(7, 20, 39, 0.16);
}

.destination-card span,
.testimonial-grid span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.destination-card h3 {
  max-width: 420px;
  margin: 8px 0 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.55rem, 3.8vw, 2.7rem);
  line-height: 1;
  overflow-wrap: break-word;
  hyphens: auto;
}

.destination-card h3.single-line {
  max-width: 100%;
  font-size: clamp(1.35rem, 3.1vw, 2.2rem);
  white-space: nowrap;
  overflow-wrap: normal;
  hyphens: manual;
}

.why {
  color: var(--white);
  background: var(--navy);
}

.why h2 {
  color: var(--white);
}

.why-grid {
  display: grid;
  gap: 14px;
}

.why-grid article,
.testimonial-grid article {
  border: 1px solid rgba(217, 184, 111, 0.24);
  background: rgba(255, 255, 255, 0.04);
  padding: 24px;
}

.why-grid span {
  color: var(--gold);
  font-weight: 800;
}

.why-grid h3 {
  margin: 14px 0 10px;
  font-size: 1.08rem;
}

.why-grid p,
.planner-copy p,
.contact p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.planner-section {
  display: grid;
  gap: 32px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(21, 24, 33, 0.94), rgba(46, 94, 170, 0.72)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.planner-section h2 {
  color: var(--white);
}

.planner-form {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 4vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

input {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  padding: 0 14px;
  color: var(--white);
  background: rgba(5, 18, 38, 0.72);
  font: inherit;
}

input::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.form-button {
  width: 100%;
  margin-top: 8px;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.testimonials {
  background: var(--white);
}

.testimonial-grid {
  display: grid;
  gap: 16px;
}

.testimonial-grid article {
  background: #fbfcff;
  box-shadow: 0 18px 42px rgba(7, 20, 39, 0.08);
}

.testimonial-grid p {
  color: #344054;
  font-size: 1.02rem;
  line-height: 1.7;
}

.testimonial-grid strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
}

.contact {
  display: grid;
  gap: 26px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #223f76 62%, var(--navy-soft));
}

.contact h2 {
  color: var(--white);
}

.contact-actions {
  flex-wrap: wrap;
  gap: 16px;
}

.contact-actions a:not(.btn) {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.68);
  background: #030a16;
}

.planner-page {
  min-height: 100vh;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(21, 24, 33, 0.94), rgba(46, 94, 170, 0.72)),
    url("./egipto-eclipse-2027-ai.png") center/cover fixed;
}

.planner-header {
  background: rgba(21, 24, 33, 0.82);
  backdrop-filter: blur(18px);
}

.ai-results {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 120px clamp(20px, 5vw, 72px) 56px;
}

.ai-loading,
.ai-recommendations {
  width: min(1060px, 100%);
}

.ai-loading {
  margin-inline: auto;
  text-align: center;
}

.ai-loading h1 {
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
}

.ai-loading p,
.ai-recommendations .section-heading > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.ai-orbit {
  position: relative;
  width: 92px;
  height: 92px;
  margin: 0 auto 28px;
  border: 1px solid rgba(183, 154, 200, 0.42);
  border-radius: 999px;
}

.ai-orbit::before,
.ai-orbit::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.ai-orbit::before {
  inset: 12px;
  border: 1px solid rgba(246, 245, 243, 0.28);
}

.ai-orbit::after {
  width: 14px;
  height: 14px;
  top: -7px;
  left: 39px;
  background: var(--gold);
  box-shadow: 0 0 34px rgba(183, 154, 200, 0.78);
  transform-origin: 7px 53px;
  animation: orbit 1.4s linear infinite;
}

.ai-recommendations {
  margin-inline: auto;
}

.ai-recommendations h2 {
  color: var(--white);
}

.recommendation-grid {
  display: grid;
  gap: 16px;
}

.recommendation-grid article {
  border: 1px solid rgba(246, 245, 243, 0.2);
  background: rgba(21, 24, 33, 0.72);
  padding: 24px;
  backdrop-filter: blur(18px);
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.recommendation-grid article:hover,
.recommendation-grid article.selected {
  border-color: rgba(183, 154, 200, 0.85);
  background: rgba(21, 24, 33, 0.86);
  transform: translateY(-2px);
}

.recommendation-grid span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.recommendation-grid h3 {
  margin: 12px 0 10px;
  color: var(--white);
}

.recommendation-grid p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

.recommendation-grid button {
  width: 100%;
  min-height: 44px;
  margin-top: 8px;
  border: 1px solid rgba(183, 154, 200, 0.48);
  color: var(--white);
  background: rgba(246, 245, 243, 0.06);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.recommendation-grid article.selected button {
  color: #151821;
  background: linear-gradient(135deg, var(--gold), var(--white));
}

.selected-option {
  margin: 18px 0 0;
  color: var(--gold);
  font-weight: 800;
}

.ai-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 700px) {
  .desktop-nav,
  .header-cta {
    display: flex;
  }

  .hero-panel {
    grid-template-columns: repeat(3, 1fr);
  }

  .destination-grid,
  .why-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .destination-card.large {
    grid-column: span 2;
  }

  .planner-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-button {
    grid-column: span 2;
  }

  .recommendation-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .hero {
    align-content: end;
  }

  .destination-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .destination-card.large {
    grid-column: span 2;
    grid-row: span 2;
  }

  .why-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .planner-section,
  .contact {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
  }

  .testimonial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 430px) {
  .brand span:last-child {
    max-width: 118px;
    line-height: 1.08;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
