/* ============================================================
   ANTARCTICA-CRUISE-COMPARISON.CSS — Main page styles
   ============================================================ */

/* === BLOCK 1: HERO === */
.hero {
  background:
    linear-gradient(160deg, rgba(6,21,41,0.82) 0%, rgba(11,31,58,0.72) 50%, rgba(26,64,96,0.62) 100%),
    url('../images/hero.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 6rem;
  color: #fff;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -15%;
  right: -8%;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(111,196,218,0.13) 0%, transparent 65%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; max-width: 780px; }
.hero__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ice-300);
  margin-bottom: 1.375rem;
  padding: 0.3rem 0.875rem;
  border: 1px solid rgba(111,196,218,0.3);
  border-radius: 20px;
}
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  margin-bottom: 2.5rem;
  max-width: 60ch;
}

/* === BLOCK 2: DECISION FRAMEWORK === */
.icon-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.icon-card {
  background: var(--white);
  border: 1px solid rgba(111,196,218,0.18);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  box-shadow: 0 1px 4px rgba(11,31,58,0.06), 0 4px 16px rgba(11,31,58,0.04);
  transition: box-shadow 0.22s var(--ease), border-color 0.22s var(--ease), transform 0.18s var(--ease);
}
.icon-card:hover {
  border-color: var(--ice-500);
  box-shadow: 0 2px 8px rgba(11,31,58,0.09), 0 8px 28px rgba(11,31,58,0.07);
  transform: translateY(-2px);
}
.icon-card__emoji { font-size: 2rem; flex-shrink: 0; line-height: 1; margin-top: 0.1rem; }
.icon-card__title {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy-700);
  margin-bottom: 0.375rem;
}
.icon-card__body { font-size: 0.9rem; color: var(--text-secondary); margin: 0; line-height: 1.6; }

/* === BLOCK 3: COMPARISON TABLE === */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 8px rgba(11,31,58,0.08), 0 8px 32px rgba(11,31,58,0.06);
  margin-bottom: 1.75rem;
  -webkit-overflow-scrolling: touch;
}
.comparison-table { width: 100%; border-collapse: collapse; background: var(--white); font-size: 0.875rem; }
.comparison-table th {
  background: var(--navy-700);
  color: rgba(255,255,255,0.88);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.875rem 1rem;
  text-align: left;
  white-space: nowrap;
}
.comparison-table th:first-child { width: 48px; min-width: 48px; }
.comparison-table th:nth-child(2) { min-width: 160px; }
.comparison-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid rgba(11,31,58,0.06);
  vertical-align: top;
  line-height: 1.5;
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:nth-child(even) td { background: rgba(240,247,251,0.6); }
.comparison-table tr:hover td { background: var(--ice-100); transition: background 0.15s; }

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.8rem;
  background: var(--arctic);
  color: var(--text-secondary);
  border: 1px solid rgba(11,31,58,0.12);
}
.rank-badge--1 { background: linear-gradient(135deg, #C8943A, #E8C06A); color: #fff; border: none; }
.rank-badge--2 { background: linear-gradient(135deg, #8A9BA8, #B4C3CC); color: #fff; border: none; }
.rank-badge--3 { background: linear-gradient(135deg, #B87D60, #D4A080); color: #fff; border: none; }

/* === BLOCK 4: GOOGLE REVIEW CARDS === */
.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
  align-items: start;
}
.review-card {
  background: var(--white);
  border: 1px solid rgba(11,31,58,0.08);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(11,31,58,0.06), 0 4px 12px rgba(11,31,58,0.04);
  transition: box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
  display: flex;
  flex-direction: column;
  /* Override color inherited from .section--dark */
  color: var(--text-primary);
}
.review-card h3 { color: var(--navy-700); }
.review-card strong { color: var(--navy-700); }
.card-header__top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.625rem;
}
.card-header__top .rank-badge {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  font-size: 0.75rem;
}
.card-header__top .operator-name { margin-bottom: 0; }
.card-header .operator-name a {
  text-decoration: none;
  color: var(--navy-700);
}
.card-header .operator-name a:hover { color: var(--ice-500); }
.card-visit-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ice-500);
  text-decoration: none;
  border: 1px solid rgba(111,196,218,0.35);
  border-radius: 20px;
  padding: 0.275rem 0.75rem;
  margin-top: 0.875rem;
  transition: background 0.18s, border-color 0.18s;
  align-self: flex-start;
}
.card-visit-link:hover {
  background: rgba(111,196,218,0.1);
  border-color: var(--ice-500);
  color: var(--ice-500);
}
.review-card:hover {
  border-color: rgba(111,196,218,0.3);
  box-shadow: 0 4px 16px rgba(11,31,58,0.1), 0 12px 40px rgba(11,31,58,0.07);
}
.card-header {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(11,31,58,0.07);
}
.operator-name { font-size: 1.1rem; margin-bottom: 0.5rem; }
.rating-row { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.rating-number { font-weight: 700; color: var(--navy-700); }
.review-count { font-size: 0.8rem; color: var(--text-muted); }
.summary-callout {
  background: var(--arctic);
  border-radius: var(--radius);
  padding: 0.875rem 1rem;
  margin-bottom: 1.125rem;
  font-size: 0.875rem;
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
}
.summary-icon { flex-shrink: 0; margin-top: 0.1rem; }
.summary-callout p { margin: 0.25rem 0 0; color: var(--text-secondary); line-height: 1.6; }
.reviews-list { display: flex; flex-direction: column; gap: 0.875rem; flex: 1; }
.review-item { padding-bottom: 0.875rem; border-bottom: 1px solid rgba(11,31,58,0.06); }
.review-item:last-child { border-bottom: none; padding-bottom: 0; }
.review-meta { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.375rem; }
.reviewer-name { font-weight: 600; font-size: 0.8375rem; color: var(--navy-700); }
.review-stars { font-size: 0.75rem; color: var(--gold); }
.review-date { font-size: 0.775rem; color: var(--text-muted); margin-left: auto; }
.review-text-wrapper { list-style: none; }
.review-text-wrapper summary {
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
  list-style: none;
}
.review-text-wrapper summary::-webkit-details-marker { display: none; }
.review-text-wrapper p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 0; }
.reviews-note { font-size: 0.875rem; color: var(--text-muted); font-style: italic; margin: 0; }
.powered-by-google {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(11,31,58,0.07);
}

/* === BLOCK 5: SHIP SIZE GUIDE === */
.tier-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.tier-card {
  border-radius: var(--radius-lg);
  padding: 1.375rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border: 1px solid transparent;
}
.tier-card--green { background: rgba(46,204,113,0.06); border-color: rgba(46,204,113,0.22); }
.tier-card--yellow { background: rgba(241,196,15,0.06); border-color: rgba(241,196,15,0.22); }
.tier-card--orange { background: rgba(230,126,34,0.06); border-color: rgba(230,126,34,0.22); }
.tier-card--red { background: rgba(231,76,60,0.06); border-color: rgba(231,76,60,0.22); }
.tier-dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; margin-top: 0.35rem; }
.tier-dot--green { background: var(--tier-green); }
.tier-dot--yellow { background: var(--tier-yellow); }
.tier-dot--orange { background: var(--tier-orange); }
.tier-dot--red { background: var(--tier-red); }
.tier-card__title { font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 0.9375rem; margin-bottom: 0.4rem; color: var(--navy-700); }
.tier-card__body { font-size: 0.9rem; color: var(--text-secondary); margin: 0; line-height: 1.6; }

/* === BLOCK 6: ITINERARY CARDS === */
.itinerary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}
.itinerary-card {
  background: var(--white);
  border: 1px solid rgba(11,31,58,0.08);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(11,31,58,0.05);
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.18s;
}
.itinerary-card:hover {
  border-color: rgba(111,196,218,0.35);
  box-shadow: 0 4px 20px rgba(11,31,58,0.1);
  transform: translateY(-2px);
}
.itinerary-card__image {
  width: 100%;
  height: 190px;
  position: relative;
  overflow: hidden;
}
.itinerary-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease);
}
.itinerary-card:hover .itinerary-card__image img { transform: scale(1.04); }
.itinerary-card__image::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(to bottom, transparent, #fff);
  pointer-events: none;
}
.itinerary-card__content { padding: 1rem 1.5rem 1.5rem; }
.itinerary-card__title { font-size: 1.05rem; margin-bottom: 0.25rem; }
.itinerary-card__price {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ice-500);
  margin-bottom: 1rem;
}
.itinerary-card ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.itinerary-card li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.5;
}
.itinerary-card li::before { content: '·'; position: absolute; left: 0; color: var(--ice-500); font-weight: 700; }

/* === BLOCK 7: PRICE LADDER === */
.price-ladder { display: flex; flex-direction: column; gap: 0; margin-top: 2rem; }
.price-step { position: relative; padding: 1.5rem 1.5rem 1.5rem 5.5rem; border-left: 3px solid transparent; }
.price-step--budget { border-left-color: #3498DB; background: linear-gradient(to right, rgba(52,152,219,0.05), transparent 70%); }
.price-step--mid { border-left-color: var(--ice-500); background: linear-gradient(to right, rgba(111,196,218,0.07), transparent 70%); }
.price-step--premium { border-left-color: var(--gold); background: linear-gradient(to right, rgba(200,148,58,0.07), transparent 70%); }
.price-step--luxury { border-left-color: #8B5CF6; background: linear-gradient(to right, rgba(139,92,246,0.07), transparent 70%); }
.price-step__label {
  position: absolute;
  left: 0;
  top: 1.5rem;
  width: 4.75rem;
  text-align: center;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.35;
}
.price-step__range {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.2rem;
  color: var(--navy-700);
  display: block;
  margin-bottom: 0.375rem;
}
.price-step__operators { font-size: 0.875rem; font-weight: 500; color: var(--text-secondary); margin-bottom: 0.375rem; }
.price-step__note { font-size: 0.8375rem; font-style: italic; color: var(--text-muted); margin: 0; }

/* === BLOCK 8: ACTIVITY MATRIX === */
.matrix-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 8px rgba(11,31,58,0.08);
  margin-bottom: 1.75rem;
  -webkit-overflow-scrolling: touch;
}
.matrix-table { width: 100%; border-collapse: collapse; background: var(--white); font-size: 0.875rem; min-width: 780px; }
.matrix-table th {
  background: var(--navy-700);
  color: rgba(255,255,255,0.88);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.875rem 1rem;
  text-align: center;
  white-space: nowrap;
}
.matrix-table th:first-child { text-align: left; min-width: 160px; }
.matrix-table td { padding: 0.75rem 1rem; border-bottom: 1px solid rgba(11,31,58,0.06); text-align: center; vertical-align: middle; }
.matrix-table td:first-child { text-align: left; font-weight: 500; }
.matrix-table tr:last-child td { border-bottom: none; }
.matrix-table tr:nth-child(even) td { background: rgba(240,247,251,0.5); }
.matrix-table tr:hover td { background: var(--ice-100); }
.cell-included { color: #27AE60; font-weight: 700; font-size: 1rem; }
.cell-extra { color: var(--gold); font-weight: 700; }
.cell-none { color: var(--text-muted); }
.matrix-footnote { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.5rem; }

/* === BLOCK 10: BOTTOM CTA === */
.bottom-cta {
  background:
    linear-gradient(135deg, rgba(6,21,41,0.88) 0%, rgba(22,58,107,0.82) 100%),
    url('../images/ready-to-choose.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.bottom-cta::before {
  content: '';
  position: absolute;
  top: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(111,196,218,0.14) 0%, transparent 60%);
  pointer-events: none;
}
.bottom-cta__inner { position: relative; z-index: 1; }
.bottom-cta h2 { color: #fff; margin-bottom: 0.875rem; }
.bottom-cta p { color: rgba(255,255,255,0.68); max-width: 52ch; margin: 0 auto 2rem; font-size: 1.05rem; }

/* === RESPONSIVE === */
@media (min-width: 600px) {
  .tier-grid { grid-template-columns: 1fr 1fr; }
  .itinerary-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
  .icon-grid { grid-template-columns: repeat(3, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .tier-grid { grid-template-columns: repeat(2, 1fr); }
  .itinerary-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .review-grid { grid-template-columns: repeat(3, 1fr); }
}
