/* ============ Tokens ============ */
:root {
  --navy: #0F2A43;
  --slate: #33506B;
  --body-text: #4A6580;
  --muted: #6C86A0;
  --faint: #8AA0B5;
  --primary: #1D5FD6;
  --primary-dark: #0F4BB8;
  --cyan: #0FA3CE;
  --border: #E4ECF5;
  --border-light: #EDF3F9;
  --chip-bg: #EEF4FC;
  --green: #147A46;
  --green-bg: #E9F8EF;
  --green-border: #C9EDD7;
  --ring-track: #E7EEF6;
  --score-color: #1FA35C;
  --score-pct: 82%;
}

/* ============ Base ============ */
html, body { margin: 0; padding: 0; background: #FFFFFF; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', 'Helvetica Neue', sans-serif;
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
  min-width: 1180px;
  overflow-x: hidden;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
::selection { background: var(--primary); color: #fff; }

.container { max-width: 1220px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }

@keyframes dd-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Material Symbols */
.msr {
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-variation-settings: 'FILL' 1;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}
.msr--outline { font-variation-settings: 'FILL' 0; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  border-radius: 12px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn--primary {
  background: var(--primary);
  color: #fff;
  padding: 15px 26px;
  box-shadow: 0 10px 26px rgba(29, 95, 214, 0.35);
}
.btn--primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }
.btn__chrome-badge {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.btn__chrome-badge img { width: 16px; height: 16px; display: block; }
.btn--secondary {
  gap: 9px;
  background: #fff;
  border: 1.5px solid #C9DBF2;
  color: var(--primary);
  padding: 14px 24px;
}
.btn--secondary:hover { border-color: var(--primary); color: var(--primary-dark); }
.btn--secondary .msr { font-size: 19px; }
.btn--footer { padding: 16px 30px; box-shadow: 0 10px 28px rgba(29, 95, 214, 0.45); }
.btn--footer:hover { background: #3B77E3; }
.btn--ghost {
  gap: 9px;
  background: rgba(157, 182, 204, 0.12);
  border: 1px solid rgba(157, 182, 204, 0.35);
  color: #D7E5F0;
  padding: 15px 28px;
}
.btn--ghost:hover { background: rgba(157, 182, 204, 0.22); color: #fff; }
.btn--ghost .msr { font-size: 18px; }
.btn--ghost[hidden] { display: none; }

/* ============ Nav ============ */
.nav {
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo { height: 42px; width: auto; display: block; }
.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__link { color: var(--slate); font-size: 15px; font-weight: 600; }
.nav__link:hover { color: var(--primary-dark); }
.nav__cta {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(29, 95, 214, 0.3);
  transition: background 0.15s ease;
}
.nav__cta:hover { background: var(--primary-dark); color: #fff; }

/* ============ Hero ============ */
.hero {
  padding-top: 48px;
  padding-bottom: 70px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: center;
}
.hero__copy { animation: dd-rise 0.6s ease both; }
.hero__title {
  font-weight: 800;
  font-size: 58px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
  color: var(--navy);
}
.hero__title-accent { color: var(--primary); }
.hero__title-accent-alt { color: var(--cyan); }
.hero__lede {
  font-size: 18px;
  line-height: 1.65;
  color: var(--body-text);
  margin: 0 0 32px;
  max-width: 460px;
  text-wrap: pretty;
}
.hero__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero__card-wrap { animation: dd-rise 0.6s 0.1s ease both; }
.hero__proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.hero__proof:hover { color: var(--primary-dark); }
.hero__proof .msr { font-size: 15px; color: var(--green); }

/* ============ Deal card ============ */
.deal-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(15, 42, 67, 0.12);
  padding: 22px 24px;
}
.deal-card__top {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 6px;
}
.deal-card__photo {
  width: 180px; height: 120px;
  border-radius: 14px;
  object-fit: cover;
  display: block;
  background: #D3E5F4;
}
.deal-card__score-wrap { display: flex; justify-content: flex-end; }

.score { display: flex; align-items: center; gap: 12px; }
.score__ring {
  border-radius: 50%;
  background: conic-gradient(var(--score-color) 0 var(--score-pct), var(--ring-track) var(--score-pct) 100%);
  display: grid; place-items: center;
}
.score__ring--lg { width: 66px; height: 66px; }
.score__ring--sm { width: 44px; height: 44px; flex-shrink: 0; }
.score__number {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: #fff;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 20px;
  color: var(--navy);
}
.score__number--sm { width: 33px; height: 33px; font-size: 14px; }
.score__label { font-weight: 800; color: var(--score-color); }
.score__label--lg { font-size: 16px; }
.score__label--sm { font-size: 13px; }
.score__caption {
  display: flex; align-items: center; gap: 4px;
  font-size: 13px; color: var(--muted); font-weight: 500;
}
.score__caption .msr { font-size: 14px; }

.deal-card__summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.deal-card__title {
  font-weight: 800;
  font-size: 20px;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.deal-card__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--body-text);
  font-weight: 500;
}
.deal-card__meta > span { display: flex; align-items: center; gap: 8px; }
.deal-card__meta .msr { font-size: 17px; color: var(--muted); }
.deal-card__pricing { text-align: right; }
.deal-card__price { font-weight: 800; font-size: 26px; color: var(--navy); }
.deal-card__price span { font-size: 14px; font-weight: 600; color: var(--muted); }
.deal-card__per-night { font-weight: 700; font-size: 15px; color: var(--primary); }
.deal-card__price-note { font-size: 12.5px; color: var(--faint); margin-top: 2px; }

.deal-card__savings {
  background: var(--green-bg);
  border: 1px solid var(--green-border);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 16px;
}
.deal-card__savings-amount { font-weight: 700; font-size: 14.5px; color: var(--green); }
.deal-card__savings-note { font-size: 13px; color: #3E7D5C; }

.deal-card__amenities {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}
.amenity { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.amenity__icon {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--chip-bg);
  display: grid; place-items: center;
}
.amenity__icon .msr { font-size: 18px; color: var(--primary); }
.amenity__label { font-size: 12px; font-weight: 600; color: var(--body-text); }

/* ============ Feature cards ============ */
.features {
  padding-bottom: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.feature-card:hover {
  box-shadow: 0 16px 40px rgba(15, 42, 67, 0.08);
  transform: translateY(-2px);
}
.feature-card__icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--chip-bg);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.feature-card__icon .msr { font-size: 24px; color: var(--primary); }
.feature-card__title { font-weight: 800; font-size: 17px; color: var(--navy); margin-bottom: 6px; }
.feature-card__body { font-size: 14px; line-height: 1.55; color: var(--body-text); text-wrap: pretty; }

/* ============ Map section ============ */
.map-section { padding-bottom: 80px; }
.map-panel {
  background: linear-gradient(180deg, #EAF3FB 0%, #DDEBF7 100%);
  border-radius: 24px;
  padding: 52px 48px 32px;
  position: relative;
  overflow: hidden;
}
.map-panel__heading { text-align: center; margin-bottom: 30px; position: relative; }
.map-panel__heading h2 {
  font-weight: 800;
  font-size: 34px;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin: 0 0 10px;
}
.map-panel__heading p { font-size: 16px; color: var(--body-text); margin: 0; }

.world-map {
  position: relative;
  height: 340px;
  border-radius: 16px;
  overflow: hidden;
  background: #D3E5F4;
  border: 1px solid #C9DBEE;
}
.world-map__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
  mix-blend-mode: multiply;
  filter: sepia(1) saturate(2.4) hue-rotate(175deg) brightness(1.06);
  opacity: 0.85;
}
.world-map__legend {
  position: absolute;
  left: 22px; bottom: 22px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(15, 42, 67, 0.10);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.world-map__legend-row {
  display: flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 600; color: var(--slate);
}
.world-map__legend .dot { width: 9px; height: 9px; }

.dot { border-radius: 50%; flex-shrink: 0; display: inline-block; }
.dot--caribbean { background: #1D5FD6; }
.dot--mediterranean { background: #0FA3CE; }
.dot--alaska { background: #8B5CF6; }
.dot--asia { background: #F59E0B; }
.dot--green { background: #34A853; }

.map-pin {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.map-pin__icon { font-size: 30px; text-shadow: 0 2px 6px rgba(15, 42, 67, 0.3); }
.map-pin__icon--alaska { color: #8B5CF6; }
.map-pin__icon--caribbean { color: #1D5FD6; }
.map-pin__icon--mediterranean { color: #0FA3CE; }
.map-pin__icon--asia { color: #F59E0B; }
.map-pin__label { font-family: 'Caveat', cursive; font-size: 20px; color: var(--slate); }

.trust-bar {
  margin-top: 24px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(15, 42, 67, 0.08);
  padding: 14px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.trust-bar__rating { display: flex; align-items: center; gap: 12px; }
.trust-bar__headline { font-size: 14px; font-weight: 700; color: var(--navy); }
.trust-bar__stars { color: #F59E0B; font-size: 15px; letter-spacing: 2px; }
.trust-bar__count { font-size: 13.5px; color: var(--muted); font-weight: 500; }
.trust-bar__badges { display: flex; align-items: center; gap: 10px; }
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
}
.trust-badge .msr { font-size: 15px; }
.trust-badge__icon--privacy { color: var(--primary); }
.trust-badge__icon--spam { color: var(--cyan); }
.trust-badge__icon--heart { color: #E85A6B; }

/* ============ Extension section ============ */
.ext-section {
  background: #F5F9FD;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.ext-section__inner {
  padding-top: 84px;
  padding-bottom: 84px;
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 70px;
  align-items: center;
}
.ext-section__eyebrow {
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.ext-section__title {
  font-weight: 800;
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin: 0 0 18px;
}
.ext-section__lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--body-text);
  margin: 0 0 30px;
  max-width: 460px;
  text-wrap: pretty;
}
.ext-section__steps { display: flex; flex-direction: column; gap: 18px; }
.step { display: flex; gap: 14px; align-items: flex-start; }
.step__number {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.step__text { font-size: 15.5px; line-height: 1.55; color: var(--slate); }
.step__text strong { color: var(--navy); }

/* ============ Extension panel mockup ============ */
.ext-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 26px 60px rgba(15, 42, 67, 0.14);
  overflow: hidden;
}
.ext-panel__header { padding: 14px 18px 0; border-bottom: 1px solid var(--border-light); }
.ext-panel__brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.ext-panel__brand { display: flex; align-items: center; gap: 8px; }
.ext-panel__mark { width: 26px; height: 22px; object-fit: contain; display: block; }
.ext-panel__name { font-weight: 800; font-size: 15px; color: var(--navy); }
.ext-panel__settings { font-size: 18px; color: var(--faint); }
.ext-panel__tabs { display: flex; gap: 22px; font-size: 13.5px; font-weight: 700; }
.ext-panel__tab { color: var(--muted); padding-bottom: 10px; }
.ext-panel__tab--active { color: var(--primary); border-bottom: 2.5px solid var(--primary); }

.ext-panel__body { padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }

.ext-panel__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ext-panel__stat-box { border: 1px solid var(--border-light); border-radius: 12px; padding: 12px; }
.ext-panel__score { display: flex; align-items: center; gap: 10px; }
.ext-panel__score-caption { font-size: 11px; color: var(--muted); font-weight: 600; }
.ext-panel__price { font-weight: 800; font-size: 16px; color: var(--navy); }
.ext-panel__price span { font-size: 11px; font-weight: 600; color: var(--muted); }
.ext-panel__per-night { font-size: 12.5px; font-weight: 700; color: var(--cyan); }
.ext-panel__price-note { font-size: 10.5px; color: var(--faint); }

.ext-panel__ai-summary {
  background: var(--chip-bg);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--slate);
}
.ext-panel__ai-icon { font-size: 15px; color: var(--primary); margin-top: 2px; }

.ext-panel__block { border: 1px solid var(--border-light); border-radius: 12px; padding: 12px 14px; }
.ext-panel__block-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 9px;
}
.ext-panel__block-title .msr { font-size: 15px; color: var(--primary); }
.ext-panel__block-title-note { font-weight: 600; color: var(--muted); }

.itinerary { display: grid; grid-template-columns: 1fr 108px; gap: 12px; align-items: start; }
.itinerary__stops { display: flex; flex-direction: column; gap: 7px; font-size: 12px; color: var(--slate); }
.itinerary__stop { display: flex; gap: 8px; align-items: center; }
.itinerary__stop .dot { width: 7px; height: 7px; }
.itinerary__map {
  height: 96px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: #D3E5F4;
}
.itinerary__map img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(4.5);
  transform-origin: 25.5% 46%;
  mix-blend-mode: multiply;
  filter: sepia(1) saturate(2.4) hue-rotate(175deg) brightness(1.06);
  opacity: 0.85;
}
.itinerary__map-pin {
  position: absolute;
  left: 46%; top: 40%;
  font-size: 16px;
  color: var(--primary);
}

.cheaper-dates { display: flex; flex-direction: column; gap: 8px; }
.cheaper-dates__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}
.cheaper-dates__date { color: var(--slate); font-weight: 600; }
.cheaper-dates__detail { display: flex; align-items: center; gap: 8px; }
.cheaper-dates__detail strong { color: var(--navy); }
.cheaper-dates__price--best { color: var(--green); }
.cheaper-dates__per-night { color: var(--faint); }
.cheaper-dates__badge {
  background: var(--green-bg);
  color: var(--green);
  font-weight: 700;
  font-size: 10.5px;
  padding: 3px 8px;
  border-radius: 6px;
}

.similar-cruises { display: flex; flex-direction: column; gap: 9px; }
.similar-cruise { display: flex; align-items: center; gap: 10px; }
.similar-cruise img {
  width: 40px; height: 28px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  background: #D3E5F4;
}
.similar-cruise__info { flex: 1; font-size: 12px; }
.similar-cruise__info strong { color: var(--navy); }
.similar-cruise__info span { color: var(--muted); }
.similar-cruise__price { text-align: right; font-size: 12px; }
.similar-cruise__price strong { color: var(--navy); }
.similar-cruise__price span { color: var(--faint); font-size: 11px; }
.similar-cruise__chevron { color: var(--faint); }

.ext-panel__save-btn {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
  text-align: center;
  padding: 13px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(29, 95, 214, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.15s ease;
}
.ext-panel__save-btn:hover { background: var(--primary-dark); }
.ext-panel__save-btn .msr { font-size: 17px; }
.ext-panel__save-note {
  text-align: center;
  font-size: 11.5px;
  color: var(--faint);
  margin-top: 8px;
}
.ext-proof {
  text-align: center;
  margin-top: 14px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
}
.ext-proof a { font-weight: 600; }

/* ============ Footer ============ */
.footer { background: var(--navy); }
.footer__inner { padding-top: 84px; padding-bottom: 36px; text-align: center; }
.footer__title {
  font-weight: 800;
  font-size: 40px;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 14px;
}
.footer__lede { font-size: 17px; color: #9DB6CC; margin: 0 0 36px; }
.footer__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 76px;
}
.footer__bottom {
  border-top: 1px solid rgba(157, 182, 204, 0.18);
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__brand { display: flex; align-items: center; gap: 10px; }
.footer__mark-tile {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: #fff;
  display: grid; place-items: center;
}
.footer__mark-tile img { width: 24px; height: 20px; object-fit: contain; display: block; }
.footer__domain { color: #9DB6CC; font-size: 14px; }
.footer__links { display: flex; gap: 26px; font-size: 14px; }
.footer__links a { color: #9DB6CC; }
.footer__links a:hover { color: #fff; }
.footer__copyright { color: #5F7B94; font-size: 13px; }
