/* ── FILTEROUT SHARED STYLES ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #0d2137;
  --teal: #1a6b74;
  --teal-light: #2a9aa8;
  --sand: #e8d5b0;
  --sand-light: #f5ede0;
  --white: #fafaf8;
  --text: #1a2a35;
  --text-muted: #5a7080;
  --accent: #d4824a;
}

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--white); color: var(--text); overflow-x: hidden; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 4rem;
  background: rgba(13,33,55,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-logo { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--white); letter-spacing: -0.01em; text-decoration: none; }
.nav-logo span { color: var(--teal-light); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.875rem; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active { border-bottom: 1px solid var(--teal-light); padding-bottom: 2px; }
.nav-cta { background: var(--teal); color: var(--white); border: none; padding: 0.6rem 1.4rem; font-family: 'DM Sans', sans-serif; font-size: 0.875rem; font-weight: 500; cursor: pointer; border-radius: 2px; transition: background 0.2s; text-decoration: none; display: inline-block; white-space:nowrap;flex-shrink:0;}
.nav-cta:hover { background: var(--teal-light); }

/* ── PAGE HEADER ── */
.page-header {
  background: var(--navy); padding: 7rem 6rem 4rem;
  position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(26,107,116,0.25), transparent 70%);
}
.page-header-inner { position: relative; z-index: 1; }
.page-eyebrow { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--teal-light); margin-bottom: 0.75rem; }
.page-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem,4vw,3.2rem); font-weight: 700; color: white; letter-spacing: -0.02em; margin-bottom: 0.75rem; line-height: 1.1; }
.page-title em { font-style: italic; color: var(--teal-light); }
.page-sub { font-size: 1rem; color: rgba(255,255,255,0.6); max-width: 560px; line-height: 1.7; }

/* ── SECTION UTILS ── */
.section { padding: 5rem 6rem; }
.section-label { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.75rem; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem,3vw,2.5rem); font-weight: 700; letter-spacing: -0.02em; color: var(--navy); line-height: 1.15; }

/* ── BUTTONS ── */
.btn-primary { background: var(--teal); color: var(--white); padding: 0.85rem 2rem; border: none; border-radius: 2px; font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 500; cursor: pointer; transition: all 0.2s; text-decoration: none; display: inline-block; }
.btn-primary:hover { background: var(--teal-light); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--teal); padding: 0.85rem 1.5rem; border: 1px solid var(--teal); border-radius: 2px; font-family: 'DM Sans', sans-serif; font-size: 0.95rem; cursor: pointer; transition: all 0.2s; text-decoration: none; display: inline-block; }
.btn-ghost:hover { background: var(--teal); color: white; }
.btn-accent { background: var(--accent); color: white; padding: 0.85rem 2rem; border: none; border-radius: 2px; font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 500; cursor: pointer; transition: all 0.2s; text-decoration: none; display: inline-block; }
.btn-accent:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* ── TAGS & BADGES ── */
.tag { font-size: 0.7rem; background: var(--sand-light); color: var(--text-muted); padding: 0.2rem 0.6rem; border-radius: 2px; white-space: nowrap; }
.s-badge { font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; padding: 0.25rem 0.6rem; border-radius: 2px; }
.badge-top { background: rgba(212,130,74,0.15); color: var(--accent); }
.badge-value { background: rgba(26,107,116,0.1); color: var(--teal); }
.badge-rated { background: rgba(13,33,55,0.08); color: var(--navy); }
.ships-badge { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.68rem; color: var(--teal); font-weight: 500; background: rgba(26,107,116,0.08); border: 1px solid rgba(26,107,116,0.2); border-radius: 2px; padding: 0.2rem 0.55rem; }

/* ── DUAL REVIEW BLOCKS ── */
.review-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 1rem; }
.review-block { border-radius: 6px; padding: 0.75rem; }
.review-block.external { background: rgba(0,0,0,0.03); border: 1px solid rgba(0,0,0,0.06); }
.review-block.editorial { background: rgba(26,107,116,0.06); border: 1px solid rgba(26,107,116,0.15); }
.review-source { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.5rem; }
.review-block.external .review-source { color: var(--text-muted); }
.review-block.editorial .review-source { color: var(--teal); }
.review-big-score { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; line-height: 1; color: var(--navy); }
.review-block.editorial .review-big-score { color: var(--teal); }
.review-stars { font-size: 0.65rem; color: #f5c842; margin: 0.2rem 0; display: block; }
.review-count { font-size: 0.7rem; color: var(--text-muted); }
.criteria-bars { margin-top: 0.4rem; }
.criteria-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.35rem; gap: 0.5rem; }
.criteria-label { font-size: 0.63rem; color: var(--text-muted); white-space: nowrap; min-width: 72px; }
.criteria-bar-wrap { flex: 1; height: 4px; background: rgba(0,0,0,0.08); border-radius: 2px; overflow: hidden; }
.criteria-bar-fill { height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--teal), var(--teal-light)); }
.criteria-val { font-size: 0.63rem; font-weight: 600; color: var(--teal); min-width: 18px; text-align: right; }

/* ── FOOTER ── */
footer { background: var(--navy); padding: 3rem 6rem 2rem; border-top: 1px solid rgba(255,255,255,0.07); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: white; margin-bottom: 0.5rem; text-decoration: none; display: block; }
.footer-logo span { color: var(--teal-light); }
.footer-tagline { font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.footer-links-group { display: flex; gap: 5rem; }
.footer-col-title { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 1rem; font-weight: 500; }
.footer-col a { display: block; font-size: 0.85rem; color: rgba(255,255,255,0.6); text-decoration: none; margin-bottom: 0.5rem; transition: color 0.2s; }
.footer-col a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.25); }
.footer-disclaimer { font-size: 0.72rem; color: rgba(255,255,255,0.2); max-width: 400px; text-align: right; }

/* ── FORM ELEMENTS ── */
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; font-size: 0.82rem; font-weight: 500; color: var(--navy); margin-bottom: 0.5rem; }
.form-label span { color: var(--accent); }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 0.8rem 1rem;
  border: 1px solid rgba(0,0,0,0.15); border-radius: 4px;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  color: var(--text); background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--teal); box-shadow: 0 0 0 3px rgba(26,107,116,0.1);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-hint { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.35rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  nav { padding: 1.25rem 2rem; }
  .page-header { padding: 6rem 2rem 3rem; }
  .section { padding: 3rem 2rem; }
  footer { padding: 3rem 2rem 2rem; }
  .footer-top { flex-direction: column; gap: 1.35rem; }
  .footer-links-group { gap: 1.35rem; flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-disclaimer { text-align: center; }
  .form-grid { grid-template-columns: 1fr; }
  .review-split { grid-template-columns: 1fr; }
}

/* ── MOBILE NAV ── */
.nav-hamburger { display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:.5rem; }
.nav-hamburger span { width:22px; height:2px; background:rgba(255,255,255,.8); border-radius:1px; display:block; transition:all .2s; }
.nav-mobile-open .nav-links { display:flex; flex-direction:column; position:fixed; top:60px; left:0; right:0; background:rgba(13,33,55,.97); padding:1.5rem 2rem; gap:1.25rem; border-bottom:1px solid rgba(255,255,255,.1); z-index:99; }
.nav-mobile-open .nav-links li { border-bottom:1px solid rgba(255,255,255,.07); padding-bottom:1rem; }
.nav-mobile-open .nav-links li:last-child { border-bottom:none; padding-bottom:0; }
.nav-mobile-open .nav-links a { font-size:.95rem; color:rgba(255,255,255,.75); }

@media (max-width:768px) {
  nav { padding:1rem 1.25rem; }
  .nav-links { display:none; }
  .nav-cta { display:none; white-space:nowrap;flex-shrink:0;}
  .nav-hamburger { display:flex; }

  .page-header { padding:6rem 1.25rem 3rem; }
  .section { padding:3rem 1.25rem; }
  footer { padding:2.5rem 1.25rem 1.5rem; }
  .footer-links-group { flex-direction:column; gap:1.5rem; }
  .footer-bottom { flex-direction:column; gap:.75rem; text-align:center; }
  .footer-disclaimer { text-align:center; max-width:100%; }
  .review-split { grid-template-columns:1fr; }
  .form-grid { grid-template-columns:1fr; }
}
