/* =============================================================
   SOUTH GEORGIA RANKING PAGE — Page-Specific Styles
   ============================================================= */

/* =============================================================
   1. HERO
   ============================================================= */
.hero {
  background-color: #0A1628;
  background-size: cover;
  background-position: center 65%;
  min-height: 90vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 22, 40, 0.1) 0%,
    rgba(10, 22, 40, 0.5) 60%,
    rgba(10, 22, 40, 0.9) 100%
  );
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  color: #F5F7F9;
  width: 100%;
}

.hero__eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #22AABF;
  margin-bottom: 1rem;
  display: block;
}

.hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: #F5F7F9;
}

.hero__subtitle {
  font-size: 1.1rem;
  line-height: 1.65;
  color: rgba(245, 247, 249, 0.8);
  max-width: 560px;
  margin-bottom: 2rem;
  font-family: 'DM Sans', sans-serif;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero__stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(245, 247, 249, 0.15);
}

.hero__stat {
  display: flex;
  flex-direction: column;
}

.hero__stat-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #D4963A;
  line-height: 1;
  display: block;
}

.hero__stat-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(245, 247, 249, 0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* =============================================================
   2. BENEFITS SECTION (Why Small Ship)
   ============================================================= */
.benefits-section {
  background: #F5F7F9;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.benefit-card {
  background: #ffffff;
  border: 1px solid #D8E0E8;
  border-radius: 12px;
  padding: 1.75rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.benefit-card:hover {
  box-shadow: 0 4px 16px rgba(10, 22, 40, 0.1);
  transform: translateY(-2px);
}

.benefit-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(27, 138, 154, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.5rem;
}

.benefit-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #0A1628;
  margin-bottom: 0.4rem;
  line-height: 1.25;
}

.benefit-card__text {
  font-size: 0.875rem;
  color: #4A5568;
  line-height: 1.6;
  margin: 0;
}

/* =============================================================
   3. OPERATORS SECTION
   ============================================================= */
.operators-section {
  background: #E8F0F2;
}

.operators-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2.5rem;
}

.operator-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(10, 22, 40, 0.08), 0 8px 32px rgba(10, 22, 40, 0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  position: relative;
}

.operator-card:hover {
  box-shadow: 0 4px 16px rgba(10, 22, 40, 0.12), 0 16px 48px rgba(10, 22, 40, 0.10);
  transform: translateY(-2px);
}

.operator-card--top {
  border: 2px solid #D4963A;
}

.operator-card__rank {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 48px;
  height: 48px;
  background: #0A1628;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #F5F7F9;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(10, 22, 40, 0.3);
}

.operator-card--top .operator-card__rank {
  background: #D4963A;
  color: #0A1628;
}

.operator-card__image {
  aspect-ratio: 820 / 300;
  overflow: hidden;
  background-color: #122040;
}

.operator-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
  display: block;
  transition: transform 0.4s ease;
}

.operator-card:hover .operator-card__image img {
  transform: scale(1.03);
}

.operator-card__body {
  padding: 1.5rem;
}

.operator-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.operator-card__badge {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  background: #1B8A9A;
  color: #ffffff;
}

.operator-card__badge--eco {
  background: #2D7A3A;
  color: #ffffff;
}

.operator-card__badge--micro {
  background: #5B4A8A;
  color: #ffffff;
}

.operator-card__score {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0A1628;
  margin-left: auto;
}

.operator-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #0A1628;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.operator-card__tagline {
  font-size: 0.875rem;
  color: #1B8A9A;
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-family: 'DM Sans', sans-serif;
}

.operator-card__description {
  color: #4A5568;
  line-height: 1.65;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.operator-card__specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1.5rem;
  border-top: 1px solid #D8E0E8;
  padding-top: 1.25rem;
  margin-bottom: 1.25rem;
}

.operator-card__spec-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4A5568;
  display: block;
  margin-bottom: 0.2rem;
}

.operator-card__spec-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0A1628;
  font-family: 'DM Sans', sans-serif;
}

.operator-card__pros-cons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .operator-card__pros-cons {
    grid-template-columns: 1fr 1fr;
  }
}

.pros,
.cons {
  background: #F5F7F9;
  border-radius: 8px;
  padding: 0.875rem 1rem;
}

.pros {
  border-left: 3px solid #2D7A3A;
}

.cons {
  border-left: 3px solid #D4963A;
}

.pros__label,
.cons__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-family: 'DM Sans', sans-serif;
  display: block;
}

.pros__label {
  color: #2D7A3A;
}

.cons__label {
  color: #D4963A;
}

.pros ul,
.cons ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pros ul li,
.cons ul li {
  font-size: 0.8rem;
  color: #4A5568;
  line-height: 1.5;
  padding-left: 1rem;
  position: relative;
  margin-bottom: 0.25rem;
}

.pros ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2D7A3A;
  font-weight: 700;
}

.cons ul li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: #D4963A;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.2;
}

.operator-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #0A1628;
  color: #F5F7F9;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
  font-family: 'DM Sans', sans-serif;
}

.operator-card__cta:hover {
  background: #1B8A9A;
  color: #F5F7F9;
  transform: translateX(2px);
}

.operator-card__cta:active {
  transform: translateX(0);
}

/* =============================================================
   4. COMPARISON SECTION
   ============================================================= */
.comparison-section {
  background: #0A1628;
  padding: 4rem 0;
}

.comparison-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  margin-top: 2.5rem;
}

.comparison-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  background: #122040;
  color: #F5F7F9;
  border-radius: 12px;
  overflow: hidden;
}

.comparison-table th:first-child {
  width: 36px;
  min-width: 36px;
}

.comparison-table th:nth-child(2) {
  min-width: 160px;
}

.comparison-table th {
  background: rgba(27, 138, 154, 0.15);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem 0.875rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 600;
  color: rgba(245, 247, 249, 0.85);
}

.comparison-table td {
  padding: 0.875rem 0.875rem;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: 'DM Sans', sans-serif;
  color: rgba(245, 247, 249, 0.8);
}

.comparison-table tbody tr:first-child td {
  color: #D4963A;
  font-weight: 600;
}

.comparison-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.check-yes {
  color: #4CAF50;
  font-size: 1rem;
}

.check-no {
  color: rgba(255, 255, 255, 0.3);
}

/* =============================================================
   5. WILDLIFE GRID
   ============================================================= */
.wildlife-section {
  background: #F5F7F9;
}

.wildlife-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .wildlife-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .wildlife-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.wildlife-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(10, 22, 40, 0.06);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.wildlife-card:hover {
  box-shadow: 0 6px 24px rgba(10, 22, 40, 0.12);
  transform: translateY(-3px);
}

.wildlife-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #122040;
}

.wildlife-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.wildlife-card:hover .wildlife-card__image img {
  transform: scale(1.05);
}

.wildlife-card__body {
  padding: 1.25rem;
}

.wildlife-card__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0A1628;
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.wildlife-card__latin {
  font-size: 0.75rem;
  font-style: italic;
  color: #4A5568;
  margin-bottom: 0.5rem;
  font-family: 'DM Sans', sans-serif;
}

.wildlife-card__fact {
  font-size: 0.85rem;
  color: #4A5568;
  line-height: 1.6;
  margin: 0;
}

/* =============================================================
   6. PLACES GRID
   ============================================================= */
.places-section {
  background: #E8F0F2;
}

.places-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .places-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .places-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

.place-card {
  background: #F5F7F9;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid #D8E0E8;
  position: relative;
  margin-top: 12px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.place-card:hover {
  box-shadow: 0 4px 16px rgba(10, 22, 40, 0.08);
  transform: translateY(-2px);
}

.place-card__number {
  position: absolute;
  top: -12px;
  left: 1.25rem;
  width: 36px;
  height: 36px;
  background: #0A1628;
  border-radius: 50%;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 700;
  color: #F5F7F9;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(10, 22, 40, 0.2);
}

.place-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #0A1628;
  margin-bottom: 0.5rem;
  margin-top: 0.75rem;
  line-height: 1.25;
}

.place-card__type {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1B8A9A;
  margin-bottom: 0.5rem;
  display: block;
  font-family: 'DM Sans', sans-serif;
}

.place-card__text {
  font-size: 0.85rem;
  color: #4A5568;
  line-height: 1.6;
  margin: 0;
}

/* =============================================================
   7. SEASON TABLE & PRICE TABLE
   ============================================================= */
.season-section,
.price-section {
  background: #F5F7F9;
}

.table-wrapper-light {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  margin-top: 2.5rem;
  border: 1px solid #D8E0E8;
}

.table-light {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  background: #ffffff;
  color: #1A2840;
}

.table-light th {
  background: rgba(27, 138, 154, 0.08);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem 0.875rem;
  text-align: left;
  border-bottom: 1px solid #D8E0E8;
  font-weight: 600;
  color: #0A1628;
}

.table-light td {
  padding: 0.875rem 0.875rem;
  font-size: 0.875rem;
  border-bottom: 1px solid #D8E0E8;
  font-family: 'DM Sans', sans-serif;
  color: #4A5568;
}

.table-light tbody tr:last-child td {
  border-bottom: none;
}

.table-light tbody tr:hover td {
  background: rgba(27, 138, 154, 0.03);
}

.season-peak {
  color: #2D7A3A;
  font-weight: 600;
}

.season-shoulder {
  color: #D4963A;
  font-weight: 500;
}

.season-low {
  color: #4A5568;
}

.price-tier {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 700;
  color: #0A1628;
}

.price-amount {
  color: #D4963A;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
}

/* =============================================================
   8. DEPARTURE PORTS
   ============================================================= */
.departure-section {
  background: #E8F0F2;
}

.departure-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .departure-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.departure-card {
  background: #F5F7F9;
  border-radius: 12px;
  padding: 1.5rem;
  border-top: 3px solid #1B8A9A;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.departure-card:hover {
  box-shadow: 0 4px 16px rgba(10, 22, 40, 0.08);
  transform: translateY(-2px);
}

.departure-card--primary {
  border-top-color: #D4963A;
}

.departure-card__city {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0A1628;
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.departure-card__tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1B8A9A;
  display: block;
  margin-bottom: 0.75rem;
  font-family: 'DM Sans', sans-serif;
}

.departure-card--primary .departure-card__tag {
  color: #D4963A;
}

.departure-card__text {
  font-size: 0.85rem;
  color: #4A5568;
  line-height: 1.6;
  margin: 0;
}

/* =============================================================
   9. FAQ ACCORDION
   ============================================================= */
.faq-section {
  background: #F5F7F9;
}

.faq-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}

.faq-item {
  border-bottom: 1px solid #D8E0E8;
}

.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  cursor: pointer;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #0A1628;
  gap: 1.5rem;
  transition: color 0.2s ease;
  user-select: none;
}

.faq-item summary:hover {
  color: #1B8A9A;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 300;
  color: #1B8A9A;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  display: inline-block;
  line-height: 1;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item[open] summary {
  color: #1B8A9A;
}

.faq-answer {
  padding-bottom: 1.25rem;
  color: #4A5568;
  line-height: 1.7;
  font-size: 0.9rem;
  font-family: 'DM Sans', sans-serif;
}

.faq-answer p {
  margin-bottom: 0.75rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* =============================================================
   10. EDITORIAL CTA
   ============================================================= */
.editorial-cta {
  background: linear-gradient(to right, #0A1628, #122040);
  padding: 4rem;
  border-radius: 16px;
  margin-top: 3rem;
  text-align: center;
  color: #F5F7F9;
  position: relative;
  overflow: hidden;
}

.editorial-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(27, 138, 154, 0.15) 0%, transparent 65%);
  pointer-events: none;
}

.editorial-cta__eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #22AABF;
  margin-bottom: 1rem;
  display: block;
}

.editorial-cta__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: #F5F7F9;
  line-height: 1.2;
  position: relative;
}

.editorial-cta__text {
  font-size: 0.95rem;
  color: rgba(245, 247, 249, 0.75);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}

.editorial-cta__links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  position: relative;
}

/* =============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================= */
@media (min-width: 768px) {
  .comparison-section {
    padding: 5rem 0;
  }

  .editorial-cta {
    padding: 5rem;
  }
}

@media (max-width: 600px) {
  .hero__stats {
    gap: 1.5rem;
  }

  .hero__stat-value {
    font-size: 2.2rem;
  }

  .editorial-cta {
    padding: 2.5rem 1.5rem;
  }

  .operator-card__body {
    padding: 1.25rem;
  }

  .operator-card__title {
    font-size: 1.4rem;
  }
}
