@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
  --navy: #0b2545;
  --ocean: #1f7a8c;
  --coral: #f9735b;
  --bg: #f8fafc;
  --soft: #eaf6f8;
  --text: #1e293b;
  --muted: #64748b;
  --line: #dbe5ea;
  --white: #ffffff;
  --shadow: 0 16px 45px rgb(11 37 69 / 10%);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

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

h1,
h2,
h3 {
  color: var(--navy);
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0;
}

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

.narrow {
  max-width: 820px;
}

.site-header {
  background: rgb(248 250 252 / 92%);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
}

.header-inner {
  align-items: center;
  display: flex;
  gap: 24px;
  min-height: 72px;
}

.brand {
  align-items: center;
  color: var(--navy);
  display: inline-flex;
  font-weight: 800;
  gap: 10px;
  white-space: nowrap;
}

.brand-mark {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--white);
  display: inline-flex;
  font-size: 0.78rem;
  height: 38px;
  justify-content: center;
  overflow: hidden;
  width: 38px;
}

.brand-mark img {
  height: 30px;
  object-fit: contain;
  width: 30px;
}

.primary-nav {
  align-items: center;
  display: flex;
  flex: 1;
  gap: 6px;
  justify-content: flex-end;
}

.nav-item {
  position: relative;
}

.nav-item > a,
.header-cta,
.menu-toggle,
.mobile-nav-cta {
  border-radius: var(--radius);
  color: var(--navy);
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 10px 12px;
}

.nav-item > a:hover {
  background: var(--soft);
}

.mega-menu {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: none;
  gap: 2px;
  left: 0;
  min-width: 230px;
  padding: 10px;
  position: absolute;
  top: 100%;
}

.mega-menu a {
  border-radius: 6px;
  color: var(--text);
  display: block;
  font-size: 0.94rem;
  font-weight: 600;
  padding: 9px 10px;
}

.mega-menu a:hover {
  background: var(--soft);
  color: var(--navy);
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu {
  display: grid;
}

.header-cta,
.mobile-nav-cta,
.button.primary,
.newsletter button {
  background: var(--coral);
  color: var(--white);
}

.header-cta:hover,
.mobile-nav-cta:hover,
.button.primary:hover,
.newsletter button:hover {
  background: #df5f48;
}

.mobile-nav-cta {
  display: none;
  justify-content: center;
  margin-top: 12px;
}

.menu-toggle {
  background: transparent;
  border: 1px solid var(--line);
  display: none;
}

.hero,
.page-hero,
.article-hero {
  background: linear-gradient(180deg, var(--soft), var(--bg));
  padding: 96px 0 72px;
}

.hero-full {
  background: var(--navy);
  min-height: 640px;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.hero-bg {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center 58%;
  position: absolute;
  width: 100%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgb(11 37 69 / 88%) 0%, rgb(11 37 69 / 70%) 38%, rgb(11 37 69 / 16%) 76%),
    linear-gradient(180deg, rgb(11 37 69 / 20%) 0%, rgb(11 37 69 / 22%) 100%);
  inset: 0;
  position: absolute;
}

.hero-full-inner {
  align-items: center;
  display: grid;
  min-height: 640px;
  padding-bottom: 92px;
  padding-top: 92px;
  position: relative;
  z-index: 1;
}

.hero-full .hero-copy {
  max-width: 680px;
}

.hero-full h1,
.hero-full .eyebrow {
  color: var(--white);
}

.hero-full .hero-copy p:not(.eyebrow) {
  color: rgb(255 255 255 / 84%);
}

.hero-grid,
.split {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
}

.article-hero-grid {
  align-items: center;
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
}

.hero-copy {
  display: grid;
  gap: 24px;
}

.hero-copy p:not(.eyebrow),
.page-hero p:not(.eyebrow),
.article-hero .lede {
  color: var(--muted);
  font-size: 1.16rem;
  max-width: 680px;
}

.hero-image {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  border: 1px solid rgb(255 255 255 / 70%);
  box-shadow: var(--shadow);
  object-fit: cover;
  width: 100%;
}

.article-hero-image {
  aspect-ratio: 4 / 3;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  width: 100%;
}

.eyebrow,
.card-label {
  color: var(--ocean);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.breadcrumbs {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.86rem;
  font-weight: 700;
  gap: 8px;
  margin-bottom: 18px;
}

.breadcrumbs a {
  color: var(--ocean);
}

.breadcrumbs a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumb-separator {
  color: rgb(100 116 139 / 70%);
}

.hero-full .breadcrumbs {
  color: rgb(255 255 255 / 78%);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  align-items: center;
  border-radius: var(--radius);
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
}

.button.secondary {
  background: var(--white);
  border: 1px solid var(--ocean);
  color: var(--navy);
}

.button.secondary.light {
  background: transparent;
  border-color: rgb(255 255 255 / 60%);
  color: var(--white);
}

.button.secondary:hover {
  background: var(--soft);
}

.route-finder {
  margin-top: -28px;
  position: relative;
  z-index: 2;
}

.hero-full + .route-finder {
  margin-top: -44px;
}

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

.route-grid a {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgb(11 37 69 / 7%);
  color: var(--navy);
  font-weight: 800;
  padding: 22px;
}

.section {
  padding: 88px 0;
}

.hub-copy {
  display: grid;
  gap: 18px;
  padding-bottom: 8px;
  padding-top: 64px;
}

.hub-copy p {
  color: var(--muted);
  max-width: 820px;
}

.section.soft,
.deals-band {
  background: var(--soft);
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 32px;
}

.balanced-heading {
  align-items: end;
  display: flex;
  justify-content: space-between;
}

.balanced-heading > div {
  display: grid;
  gap: 12px;
  max-width: 760px;
}

.section-heading p:last-child {
  color: var(--muted);
  max-width: 720px;
}

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

.content-card,
.deal-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.content-card {
  display: grid;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.content-card:hover {
  border-color: var(--ocean);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.content-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.content-card div,
.deal-card {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.content-card p:not(.card-label),
.deal-card p,
.split p,
.feature-band p {
  color: var(--muted);
}

.content-card span {
  color: var(--ocean);
  font-weight: 800;
}

.comparison-list {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  overflow: hidden;
}

.comparison-list a {
  display: grid;
  gap: 4px;
  padding: 18px 22px;
}

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

.comparison-list strong {
  color: var(--navy);
}

.comparison-list span {
  color: var(--muted);
}

.cruise-lines-band {
  background: linear-gradient(180deg, var(--soft), #f3fbfd);
}

.line-card-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
}

.line-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 10px;
  min-height: 224px;
  padding: 22px;
  position: relative;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.line-card:hover {
  border-color: var(--ocean);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.line-badge {
  align-items: center;
  background: var(--navy);
  border-radius: 50%;
  color: var(--white);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.line-badge.tone-royal {
  background: #0057b8;
}

.line-badge.tone-po {
  background: #003b5c;
}

.line-badge.tone-msc {
  background: #111827;
}

.line-badge.tone-celebrity {
  background: #2f4858;
}

.line-badge.tone-virgin {
  background: #d71920;
}

.line-badge.tone-princess {
  background: #0073cf;
}

.line-badge.tone-ncl {
  background: #00a3e0;
}

.line-badge.tone-family {
  background: #f9735b;
}

.line-best {
  color: var(--ocean);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.line-card strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.line-card span:last-child {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.feature-band {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 40px;
}

.newsletter {
  align-items: center;
  background: var(--navy);
  color: var(--white);
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr minmax(320px, 0.6fr);
  margin: 0 auto 88px;
  max-width: 1172px;
  padding: 44px;
}

.newsletter.compact {
  border-radius: var(--radius);
  margin: 48px 0;
}

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

.newsletter p {
  color: rgb(255 255 255 / 76%);
}

.newsletter form {
  display: grid;
  gap: 12px;
}

.newsletter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.newsletter label {
  display: grid;
  gap: 8px;
}

.newsletter input {
  border: 0;
  border-radius: var(--radius);
  font: inherit;
  min-height: 48px;
  padding: 12px 14px;
}

.newsletter button {
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  min-height: 48px;
}

.article-shell {
  align-items: start;
  display: grid;
  gap: 48px;
  grid-template-columns: 300px minmax(0, 760px);
  padding-bottom: 96px;
  padding-top: 56px;
}

.article-shell.single-column {
  display: block;
  max-width: 900px;
}

.article-aside {
  display: grid;
  gap: 24px;
  position: sticky;
  top: 96px;
}

.toc,
.affiliate-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 10px;
  padding: 20px;
}

.toc h2,
.affiliate-box h2 {
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.95rem;
}

.toc a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.toc a:hover {
  color: var(--ocean);
}

.affiliate-box a {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 3px;
  padding-top: 12px;
}

.affiliate-box strong {
  color: var(--navy);
}

.affiliate-box span,
.affiliate-box p {
  color: var(--muted);
  font-size: 0.9rem;
}

.affiliate-note {
  background: var(--soft);
  border-radius: 6px;
  padding: 10px;
}

.article-content {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px;
}

.article-content h2,
.article-content h3 {
  margin-top: 34px;
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content p {
  font-size: 1.06rem;
  margin-top: 14px;
}

.article-content a {
  color: var(--ocean);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-content ul {
  margin: 16px 0 0;
  padding-left: 22px;
}

.article-content li + li {
  margin-top: 8px;
}

.article-callout {
  background: var(--soft);
  border-left: 4px solid var(--ocean);
  border-radius: var(--radius);
  color: var(--navy);
  font-weight: 700;
  margin-top: 22px;
  padding: 18px 20px;
}

.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-top: 22px;
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  min-width: 620px;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 13px 15px;
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--soft);
  color: var(--navy);
  font-size: 0.9rem;
}

td {
  color: var(--text);
  font-size: 0.96rem;
}

.article-meta,
.disclosure {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 16px;
}

.amazon-section {
  padding-top: 0;
}

.amazon-links {
  border-top: 1px solid var(--line);
  margin-top: 42px;
  padding-top: 34px;
}

.amazon-links-page {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: 0;
  padding: 32px;
}

.amazon-heading {
  display: grid;
  gap: 8px;
  max-width: 760px;
}

.amazon-heading p:not(.eyebrow) {
  color: var(--muted);
}

.amazon-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 20px;
}

.amazon-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 8px;
  padding: 16px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.amazon-card:hover {
  border-color: var(--ocean);
  transform: translateY(-2px);
}

.amazon-card strong {
  color: var(--navy);
  font-size: 1.02rem;
}

.amazon-card span:last-child {
  color: var(--muted);
  font-size: 0.95rem;
}

.affiliate-pill {
  color: var(--ocean);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.related-guides {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 32px;
}

.related-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.related-grid a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 5px;
  padding: 16px;
}

.related-grid span {
  color: var(--ocean);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-footer {
  background: var(--navy);
  color: rgb(255 255 255 / 76%);
  padding: 56px 0;
}

.footer-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1.2fr 0.4fr 0.4fr;
}

.footer-brand,
.site-footer h2 {
  color: var(--white);
}

.footer-brand .brand-mark {
  border-color: rgb(255 255 255 / 22%);
}

.site-footer h2 {
  font-family: Inter, system-ui, sans-serif;
  font-size: 1rem;
  margin-bottom: 12px;
}

.site-footer a:not(.brand) {
  display: block;
  margin-top: 8px;
}

.small {
  font-size: 0.88rem;
  margin-top: 16px;
}

@media (max-width: 940px) {
  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .primary-nav,
  .header-cta {
    display: none;
  }

  .primary-nav.is-open {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 0;
    left: 0;
    padding: 16px 24px 24px;
    position: absolute;
    right: 0;
    top: 72px;
  }

  .primary-nav.is-open .mobile-nav-cta {
    display: inline-flex;
  }

  .nav-item > a {
    width: 100%;
  }

  .mega-menu {
    border: 0;
    box-shadow: none;
    display: grid;
    padding: 0 0 12px 12px;
    position: static;
  }

  .hero-grid,
  .split,
  .article-hero-grid,
  .newsletter,
  .article-shell,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .route-grid,
  .card-grid,
  .deal-grid,
  .line-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .balanced-heading {
    align-items: start;
    display: grid;
  }

  .article-aside {
    position: static;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }

  .hero,
  .page-hero,
  .article-hero {
    padding: 64px 0 48px;
  }

  .hero-full {
    min-height: 620px;
    padding: 0;
  }

  .hero-full-inner {
    align-items: end;
    min-height: 620px;
    padding-bottom: 88px;
    padding-top: 72px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgb(11 37 69 / 34%) 0%, rgb(11 37 69 / 54%) 34%, rgb(11 37 69 / 92%) 100%);
  }

  .hero-bg {
    object-position: center center;
  }

  .section {
    padding: 64px 0;
  }

  .route-grid,
  .card-grid,
  .deal-grid,
  .line-card-grid,
  .amazon-grid {
    grid-template-columns: 1fr;
  }

  .feature-band {
    align-items: stretch;
    flex-direction: column;
    padding: 28px;
  }

  .article-content,
  .newsletter,
  .amazon-links-page {
    padding: 28px;
  }
}
