/* ============================================
   Rhodes with Kids — v2 "Aegean Summer"
   Vibrant, warm, easy to scan. Mobile-first.
   ============================================ */

:root {
  --sea: #0D7C8C;         /* deep turquoise — headings */
  --sea-deep: #075E6B;    /* footer, dark panels */
  --aqua: #2BC5CE;        /* bright turquoise water */
  --aqua-soft: #E0F7F8;
  --sky: #D6F4F1;         /* hero sky, pale turquoise */
  --sand: #FFF9F0;        /* page background, warm sand */
  --card: #FFFFFF;
  --sun: #FFA65C;         /* soft orange CTAs */
  --sun-deep: #F58638;
  --coral: #F26B4E;       /* honest warnings, terracotta */
  --coral-soft: #FFEEE7;
  --mint: #6BD0B4;        /* seafoam accent */
  --ink: #1E3A3F;
  --ink-soft: #5A7378;
  --line: #F2E7D6;
  --radius: 18px;
  --shadow: 0 8px 24px rgba(13, 124, 140, 0.10);
  --maxw: 760px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  font-family: 'Karla', system-ui, sans-serif;
  background: var(--sand);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: 'Bricolage Grotesque', 'Karla', sans-serif;
  color: var(--sea);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

a { color: var(--sea); text-decoration-color: var(--aqua); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--coral); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.wrap-wide { max-width: 1020px; margin: 0 auto; padding: 0 20px; }

/* ---------- header / nav ---------- */
header.site {
  background: rgba(255, 249, 240, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; max-width: 1020px; margin: 0 auto;
}
.logo {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800; font-size: 1.18rem; color: var(--sea);
  text-decoration: none; display: flex; align-items: center; gap: 9px;
}
.logo .sun-dot {
  width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFD4A8, var(--sun) 60%, var(--sun-deep));
  box-shadow: 0 0 0 3px rgba(255, 166, 92, 0.28);
  display: inline-block; flex: none;
}
.nav-links { display: flex; gap: 18px; font-size: 0.95rem; }
.nav-links a { text-decoration: none; font-weight: 800; color: var(--sea); }
.nav-links a:hover { color: var(--coral); }
@media (max-width: 560px) { .nav-links { gap: 12px; font-size: 0.88rem; } }

/* ---------- hero: sky → sea, with wave ---------- */
.hero {
  background:
    radial-gradient(circle at 84% 14%, #FFD9A6 0%, #FFB866 5.5%, rgba(255,184,102,0.35) 7%, transparent 11%),
    linear-gradient(180deg, var(--sky) 0%, #A5E8E2 60%, #6FD8D4 100%);
  padding: 60px 0 0;
  position: relative;
  overflow: hidden;
}
.hero .wrap { position: relative; z-index: 2; padding-bottom: 26px; }
.hero h1 {
  font-size: clamp(2.1rem, 6.5vw, 3.3rem);
  font-weight: 800;
  max-width: 640px;
  color: var(--sea-deep);
}
.hero h1 em { font-style: normal; color: var(--coral); }
.hero p.lead {
  margin-top: 16px; font-size: 1.18rem; color: #14555F; max-width: 560px; font-weight: 500;
}
.hero .wave { display: block; width: 100%; height: 64px; margin-top: 26px; position: relative; z-index: 1; }

/* signature: on-the-ground verification stamp */
.stamp {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 22px;
  border: 2px dashed var(--sea);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.86rem; font-weight: 800; color: var(--sea);
  transform: rotate(-1.5deg);
  background: rgba(255,255,255,0.85);
}
.stamp .tick { color: var(--sun-deep); }

/* quick-answer chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chips a {
  background: #FFFFFF;
  border-radius: 999px; padding: 11px 18px;
  font-size: 0.94rem; font-weight: 800; text-decoration: none; color: var(--sea);
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.chips a:hover { transform: translateY(-2px); color: var(--coral); }

/* ---------- sections ---------- */
section.block { padding: 48px 0; }
section.block h2 { font-size: 1.7rem; margin-bottom: 8px; }
.section-kicker {
  text-transform: uppercase; letter-spacing: 0.16em;
  font-size: 0.75rem; font-weight: 800; color: var(--coral); margin-bottom: 10px;
}

/* article cards — color-coded, playful */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
@media (min-width: 680px) { .card-grid { grid-template-columns: 1fr 1fr; } }
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px;
  text-decoration: none; display: block;
  box-shadow: var(--shadow);
  border-top: 6px solid var(--aqua);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:nth-child(2) { border-top-color: var(--sun); }
.card:nth-child(3) { border-top-color: var(--coral); }
.card:nth-child(4) { border-top-color: var(--mint); }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(14, 92, 138, 0.16); }
.card .icon { font-size: 1.7rem; display: block; margin-bottom: 8px; }
.card h3 { font-size: 1.12rem; margin-bottom: 6px; }
.card p { color: var(--ink-soft); font-size: 0.96rem; }
.card .soon {
  display: inline-block; margin-top: 12px; font-size: 0.74rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.1em; color: #fff;
  background: var(--aqua); border-radius: 999px; padding: 4px 12px;
}

/* ---------- article pages ---------- */
article.post { padding: 44px 0 20px; }
article.post h1 { font-size: clamp(1.7rem, 5vw, 2.5rem); font-weight: 800; }
.post-meta {
  margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  color: var(--ink-soft); font-size: 0.9rem;
}
article.post h2 { font-size: 1.45rem; margin: 42px 0 12px; }
article.post h3 { font-size: 1.15rem; margin: 26px 0 8px; }
article.post p { margin: 14px 0; }
article.post ul, article.post ol { margin: 14px 0 14px 22px; }
article.post li { margin: 6px 0; }

/* verdict panel */
.verdict {
  background: var(--aqua-soft); border-left: 6px solid var(--aqua);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 20px; margin: 24px 0;
  box-shadow: var(--shadow);
}
.verdict strong { color: var(--sea); }

/* signature: honest warning */
.warning {
  background: var(--coral-soft); border-left: 6px solid var(--coral);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px; margin: 20px 0;
}
.warning .w-label {
  display: block; font-weight: 800; color: var(--coral);
  text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.12em; margin-bottom: 4px;
}

/* comparison table */
.table-scroll { overflow-x: auto; margin: 22px 0; -webkit-overflow-scrolling: touch; border-radius: var(--radius); box-shadow: var(--shadow); }
table.compare {
  border-collapse: collapse; width: 100%; min-width: 640px;
  background: var(--card);
  font-size: 0.93rem;
}
table.compare th {
  background: linear-gradient(90deg, var(--sea), #12A0AE);
  color: #fff; text-align: left;
  padding: 13px 14px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700;
}
table.compare td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.compare tr:nth-child(even) td { background: #FDFBF4; }
table.compare tr:last-child td { border-bottom: none; }
table.compare td:first-child { font-weight: 800; color: var(--sea); white-space: nowrap; }

/* FAQ */
.faq details {
  background: var(--card); border-radius: var(--radius);
  padding: 15px 18px; margin: 12px 0;
  box-shadow: var(--shadow);
}
.faq summary {
  font-weight: 800; color: var(--sea); cursor: pointer;
  font-family: 'Bricolage Grotesque', sans-serif;
}
.faq details[open] summary { color: var(--coral); }
.faq details p { margin-top: 10px; }

/* ---------- CTAs ---------- */
.cta-box {
  background: linear-gradient(135deg, var(--sea-deep) 0%, var(--sea) 55%, var(--aqua) 130%);
  color: #EFF8FA; border-radius: var(--radius);
  padding: 30px 24px; margin: 40px 0; text-align: center;
  box-shadow: var(--shadow);
}
.cta-box h2, .cta-box h3 { color: #fff; margin: 0 0 8px; font-size: 1.4rem; }
.cta-box p { color: #CFEFF0; margin: 0 0 18px; }
.btn {
  display: inline-block; background: var(--sun); color: var(--sea-deep);
  font-weight: 800; text-decoration: none;
  padding: 14px 28px; border-radius: 999px; border: none; cursor: pointer;
  font-size: 1.02rem; font-family: 'Karla', sans-serif;
  box-shadow: 0 6px 16px rgba(245, 134, 56, 0.35);
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: #FFB877; transform: translateY(-2px); color: var(--sea-deep); }

/* email form */
.email-form { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 6px; }
.email-form input[type="email"] {
  flex: 1 1 220px; max-width: 320px;
  padding: 13px 18px; border-radius: 999px; border: none;
  font-size: 1rem; font-family: 'Karla', sans-serif;
}

/* ---------- footer ---------- */
footer.site {
  background: var(--sea-deep); color: #9FD2D8;
  padding: 40px 0; margin-top: 48px; font-size: 0.9rem;
  border-top: 6px solid var(--sun);
}
footer.site a { color: #D9F4F5; }
footer.site .wrap { display: flex; flex-direction: column; gap: 8px; }

/* affiliate disclosure line */
.disclosure { font-size: 0.82rem; color: var(--ink-soft); font-style: italic; margin: 24px 0; }
