:root {
  --ink: #17313a;
  --muted: #61747b;
  --paper: #f7faf8;
  --white: #ffffff;
  --sea: #167f87;
  --sea-dark: #0b5d63;
  --coral: #ee765f;
  --sun: #f2bd4b;
  --leaf: #2f6b52;
  --line: #d9e5e1;
  --soft-sea: #e2f3f1;
  --soft-coral: #fff0eb;
  --shadow: 0 18px 48px rgba(21, 57, 61, 0.12);
  --content: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(217, 229, 225, 0.8);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--sea);
  font-size: 18px;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}

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

.main-nav a {
  padding: 10px 15px;
  border-radius: 6px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--sea-dark);
  background: var(--soft-sea);
}

.nav-cta {
  border: 1px solid var(--line);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
  font-size: 22px;
}

.hero {
  position: relative;
  display: flex;
  min-height: min(680px, 75vh);
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 45, 55, 0.87) 0%, rgba(7, 45, 55, 0.58) 38%, rgba(7, 45, 55, 0.04) 72%),
    url("assets/hawaii-family-hero.webp") center / cover no-repeat;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 90px;
  background: linear-gradient(transparent, rgba(7, 45, 55, 0.42));
  content: "";
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 610px;
  padding: 70px 0 100px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--sun);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-family: Georgia, "Noto Serif SC", serif;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 550px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}

.button-primary {
  color: #17313a;
  background: var(--sun);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.65);
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
}

.button-dark {
  color: var(--white);
  background: var(--sea-dark);
}

.trip-facts {
  position: relative;
  z-index: 3;
  margin-top: -46px;
}

.facts-grid {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  grid-template-columns: repeat(4, 1fr);
}

.fact {
  min-width: 0;
  padding: 21px 24px;
  border-right: 1px solid var(--line);
}

.fact:last-child {
  border-right: 0;
}

.fact-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.fact strong {
  display: block;
  margin-top: 4px;
  font-size: 17px;
}

.section {
  padding: 88px 0;
}

.section-compact {
  padding: 58px 0;
}

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

.section-sea {
  color: var(--white);
  background: var(--sea-dark);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.section-heading h2 {
  max-width: 720px;
  margin: 0;
  font-family: Georgia, "Noto Serif SC", serif;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.18;
  letter-spacing: 0;
}

.section-heading p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
}

.section-sea .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.budget-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1.2fr 1fr 1fr;
}

.budget-option {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.budget-option.recommended {
  border: 2px solid var(--sea);
}

.badge {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--sea-dark);
  background: var(--soft-sea);
  font-size: 11px;
  font-weight: 800;
}

.badge-coral {
  color: #8b3829;
  background: var(--soft-coral);
}

.budget-option h3 {
  margin: 16px 0 6px;
  font-size: 21px;
}

.price {
  margin: 8px 0;
  color: var(--coral);
  font-family: Georgia, serif;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.15;
}

.price small {
  color: var(--muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
}

.muted {
  color: var(--muted);
}

.note {
  padding: 16px 18px;
  border-left: 4px solid var(--sun);
  color: #5e4d24;
  background: #fff8e7;
  font-size: 14px;
}

.timeline {
  position: relative;
  margin-top: 8px;
}

.timeline::before {
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 84px;
  width: 1px;
  background: var(--line);
  content: "";
}

.day-row {
  position: relative;
  display: grid;
  min-height: 120px;
  gap: 28px;
  padding: 0 0 32px;
  grid-template-columns: 86px 1fr;
}

.day-date {
  position: relative;
  z-index: 2;
  width: 72px;
  padding: 9px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-align: center;
  background: var(--white);
}

.day-date strong,
.day-date span {
  display: block;
}

.day-date strong {
  font-size: 21px;
}

.day-date span {
  color: var(--muted);
  font-size: 11px;
}

.day-content {
  padding: 2px 0;
}

.day-content h3 {
  margin: 0 0 6px;
  font-size: 21px;
}

.day-content p {
  margin: 0;
  color: var(--muted);
}

.day-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin-top: 10px;
  color: var(--sea-dark);
  font-size: 13px;
  font-weight: 700;
}

.page-hero {
  position: relative;
  min-height: 350px;
  display: flex;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 45, 55, 0.88), rgba(7, 45, 55, 0.28)),
    url("assets/hawaii-family-hero.webp") center 42% / cover no-repeat;
}

.page-hero.hotels {
  background:
    linear-gradient(90deg, rgba(7, 45, 55, 0.83), rgba(7, 45, 55, 0.18)),
    url("assets/hilton-waterslide.jpg") center / cover no-repeat;
}

.page-hero-content {
  max-width: 760px;
  padding: 72px 0 58px;
}

.page-hero h1 {
  font-size: clamp(38px, 5vw, 60px);
}

.page-hero p {
  max-width: 650px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
}

.segmented {
  display: inline-flex;
  max-width: 100%;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.segmented button {
  min-height: 40px;
  padding: 8px 15px;
  border: 0;
  border-radius: 5px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.segmented button.active {
  color: var(--white);
  background: var(--sea-dark);
}

.scenario-bar {
  display: grid;
  align-items: center;
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: auto 1fr auto;
}

.scenario-bar h2 {
  margin: 0;
  font-size: 18px;
}

.scenario-total {
  text-align: right;
}

.scenario-total strong {
  display: block;
  color: var(--coral);
  font-family: Georgia, serif;
  font-size: 30px;
}

.scenario-total small {
  color: var(--muted);
}

.hotel-list {
  border-top: 1px solid var(--line);
}

.hotel-row {
  display: grid;
  gap: 28px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 1.35fr 0.75fr 0.9fr;
}

.hotel-row[hidden] {
  display: none;
}

.hotel-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
}

.hotel-title h3 {
  margin: 0;
  font-size: 22px;
}

.hotel-row p {
  margin: 0;
  color: var(--muted);
}

.hotel-features {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.feature {
  padding: 4px 8px;
  border-radius: 4px;
  color: var(--sea-dark);
  background: var(--soft-sea);
  font-size: 12px;
  font-weight: 700;
}

.hotel-rate strong {
  display: block;
  color: var(--coral);
  font-family: Georgia, serif;
  font-size: 31px;
  line-height: 1.2;
}

.hotel-rate span,
.hotel-action small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.hotel-action {
  text-align: right;
}

.hotel-action .button {
  margin-bottom: 8px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

.comparison-table th,
.comparison-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  color: var(--muted);
  background: #f0f6f4;
  font-size: 12px;
}

.flight-choice {
  display: grid;
  gap: 0;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  grid-template-columns: 0.8fr 1.5fr 0.8fr;
}

.flight-choice > div {
  padding: 26px;
  border-right: 1px solid var(--line);
}

.flight-choice > div:last-child {
  border-right: 0;
}

.airline {
  font-size: 23px;
  font-weight: 800;
}

.route-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 6px 0 10px;
}

.airport {
  font-family: Georgia, serif;
  font-size: 30px;
  font-weight: 800;
}

.route-arrow {
  flex: 1;
  min-width: 52px;
  height: 1px;
  background: var(--sea);
}

.route-arrow::after {
  display: block;
  width: 7px;
  height: 7px;
  margin: -4px 0 0 auto;
  border-top: 1px solid var(--sea);
  border-right: 1px solid var(--sea);
  transform: rotate(45deg);
  content: "";
}

.flight-total {
  text-align: right;
}

.flight-total strong {
  display: block;
  color: var(--coral);
  font-family: Georgia, serif;
  font-size: 30px;
}

.cost-breakdown {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  grid-template-columns: repeat(4, 1fr);
}

.cost-cell {
  padding: 24px;
  background: var(--white);
}

.cost-cell span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.cost-cell strong {
  display: block;
  margin-top: 4px;
  font-size: 19px;
}

.source-list {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.source-list a {
  color: var(--sea-dark);
  font-weight: 700;
}

.site-footer {
  padding: 36px 0;
  color: rgba(255, 255, 255, 0.75);
  background: #122d34;
  font-size: 13px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
}

@media (max-width: 860px) {
  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .main-nav {
    position: absolute;
    top: 70px;
    right: 20px;
    left: 20px;
    display: none;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: grid;
  }

  .hero {
    min-height: 620px;
    align-items: end;
    background:
      linear-gradient(0deg, rgba(7, 45, 55, 0.92) 0%, rgba(7, 45, 55, 0.38) 68%, rgba(7, 45, 55, 0.1) 100%),
      url("assets/hawaii-family-hero.webp") 62% center / cover no-repeat;
  }

  .hero-content {
    padding: 170px 0 92px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .facts-grid,
  .budget-grid,
  .cost-breakdown {
    grid-template-columns: repeat(2, 1fr);
  }

  .fact:nth-child(2) {
    border-right: 0;
  }

  .fact:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .budget-grid {
    grid-template-columns: 1fr;
  }

  .scenario-bar {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .scenario-total {
    text-align: left;
  }

  .hotel-row {
    grid-template-columns: 1fr 0.6fr;
  }

  .hotel-action {
    grid-column: 1 / -1;
    text-align: left;
  }

  .flight-choice {
    grid-template-columns: 1fr;
  }

  .flight-choice > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .flight-choice > div:last-child {
    border-bottom: 0;
  }

  .flight-total {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 28px), var(--content));
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 590px;
  }

  .hero h1 {
    font-size: 37px;
  }

  .hero-lead {
    font-size: 16px;
  }

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

  .trip-facts {
    margin-top: -30px;
  }

  .facts-grid {
    grid-template-columns: 1fr;
  }

  .fact,
  .fact:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .fact:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 64px 0;
  }

  .section-compact {
    padding: 42px 0;
  }

  .section-heading h2 {
    font-size: 32px;
  }

  .timeline::before {
    left: 33px;
  }

  .day-row {
    gap: 16px;
    grid-template-columns: 68px 1fr;
  }

  .day-date {
    width: 66px;
  }

  .page-hero {
    min-height: 310px;
  }

  .page-hero h1 {
    font-size: 37px;
  }

  .segmented {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
  }

  .segmented button {
    padding: 8px 5px;
    font-size: 13px;
  }

  .hotel-row {
    gap: 18px;
    grid-template-columns: 1fr;
  }

  .hotel-action {
    grid-column: auto;
  }

  .comparison-wrap {
    overflow-x: auto;
  }

  .comparison-table {
    min-width: 680px;
  }

  .cost-breakdown {
    grid-template-columns: 1fr 1fr;
  }

  .cost-cell {
    padding: 18px;
  }

  .footer-inner {
    align-items: start;
    flex-direction: column;
  }
}
