/* A Nanny on the Net — coastal childcare guide theme
   Evolution of the original 2002 beach design: sky blue (#3399ff) + navy (#003399)
   refined into a coastal palette with sand + seafoam accents. */

:root {
  --navy: #16335c;
  --navy-2: #1d4373;
  --sky: #3aa0e0;
  --sky-deep: #2b7fc4;
  --sky-light: #bfe3f7;
  --sky-pale: #eef8fe;
  --sand: #e8b86d;
  --sand-light: #f9ecd2;
  --seafoam: #5fb8a3;
  --shell: #fdfaf4;
  --text: #2b3a4d;
  --text-light: #5b6b7d;
  --radius: 18px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Nunito Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--shell);
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5,
.title,
.navbar-item.brand-text {
  font-family: "Quicksand", "Trebuchet MS", sans-serif;
  color: var(--navy);
}

.title {
  color: var(--navy);
}

.subtitle {
  color: var(--text-light);
}

a {
  color: var(--sky-deep);
}

a:hover {
  color: var(--navy);
}

strong {
  color: var(--navy);
}

/* ---------- Navbar ---------- */

.navbar.is-coastal {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 60%, var(--sky-deep) 100%);
}

.navbar.is-coastal .navbar-item,
.navbar.is-coastal .navbar-link {
  color: #f2f8fd;
  font-weight: 600;
}

.navbar.is-coastal .navbar-item:hover,
.navbar.is-coastal .navbar-link:hover,
.navbar.is-coastal .navbar-item:focus,
.navbar.is-coastal .navbar-link:focus {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.navbar.is-coastal .navbar-dropdown {
  background: var(--navy-2);
  border-top: 2px solid var(--sand);
}

.navbar.is-coastal .navbar-dropdown .navbar-item {
  color: #eaf3fb;
}

.navbar.is-coastal .navbar-burger {
  color: #ffffff;
}

.navbar.is-coastal .navbar-menu.is-active {
  background: var(--navy-2);
}

.brand-sun {
  color: var(--sand);
  margin-right: 0.45rem;
}

.navbar-item.brand-text {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.navbar-item.btn-contact {
  margin: 0.5rem 0.75rem;
  background: var(--sand);
  color: var(--navy) !important;
  border-radius: 999px;
  padding-left: 1.2rem;
  padding-right: 1.2rem;
  font-weight: 700;
}

.navbar-item.btn-contact:hover {
  background: #f0c684;
}

/* ---------- Hero ---------- */

.hero.is-coastal {
  background: linear-gradient(160deg, var(--sky-deep) 0%, var(--sky) 55%, var(--sky-light) 100%);
  position: relative;
}

.hero.is-coastal .title,
.hero.is-coastal .subtitle {
  color: #ffffff;
}

.hero.is-coastal .subtitle {
  opacity: 0.95;
}

.hero-kicker {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #ffffff;
  border-radius: 999px;
  padding: 0.25rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-image-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(13, 42, 80, 0.35);
  border: 5px solid rgba(255, 255, 255, 0.55);
}

.hero-image-frame img {
  display: block;
  width: 100%;
}

/* Wave divider under hero / sections */

.wave-divider {
  display: block;
  width: 100%;
  height: 70px;
  margin-bottom: -1px;
}

.wave-divider.flip {
  transform: scaleY(-1);
}

/* ---------- Page header (interior pages) ---------- */

.page-header {
  background: linear-gradient(160deg, var(--sky-deep) 0%, var(--sky) 70%, var(--sky-light) 100%);
  padding: 3.5rem 1.5rem 2.5rem;
  text-align: center;
}

.page-header .title {
  color: #ffffff;
}

.page-header .subtitle {
  color: #eaf6fd;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Content width utilities ---------- */

.container-article {
  max-width: 900px;
}

.container-faq {
  max-width: 860px;
}

.container-slim {
  max-width: 720px;
}

.lead-constrained {
  max-width: 760px;
}

.notfound-blurb {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.link-on-blue {
  color: #ffffff;
  text-decoration: underline;
}

.link-on-blue:hover {
  color: #eaf6fd;
}

/* ---------- Cards & content ---------- */

.card-postcard {
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(22, 51, 92, 0.08);
  border-top: 4px solid var(--sand);
  padding: 2rem;
  height: 100%;
}

.card-postcard .icon-bubble {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--sky-pale);
  color: var(--sky-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.card-postcard.foam {
  border-top-color: var(--seafoam);
}

.card-postcard.foam .icon-bubble {
  background: #e9f6f2;
  color: var(--seafoam);
}

.card-postcard.skyline {
  border-top-color: var(--sky);
}

.content-article {
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(22, 51, 92, 0.07);
  padding: 2.5rem;
}

.content-article h2 {
  border-bottom: 3px solid var(--sand-light);
  padding-bottom: 0.4rem;
  margin-top: 2.2rem;
}

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

.content-article ul li::marker {
  color: var(--sky-deep);
}

.figure-rounded img {
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(22, 51, 92, 0.16);
}

.figure-rounded figcaption {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 0.6rem;
  text-align: center;
  font-style: italic;
}

/* Callout boxes */

.callout {
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.callout.tide {
  background: var(--sky-pale);
  border-left: 5px solid var(--sky);
}

.callout.sand {
  background: var(--sand-light);
  border-left: 5px solid var(--sand);
}

.callout.foam {
  background: #e9f6f2;
  border-left: 5px solid var(--seafoam);
}

/* Checklist style */

.checklist {
  list-style: none;
  margin-left: 0 !important;
}

.checklist li {
  padding-left: 2rem;
  position: relative;
  margin-bottom: 0.6rem;
}

.checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: var(--seafoam);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* FAQ accordion-look (static) */

.faq-item {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(22, 51, 92, 0.06);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.25rem;
  border-left: 5px solid var(--sky);
}

.faq-item h3 {
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}

.faq-item:nth-child(even) {
  border-left-color: var(--sand);
}

/* Comparison table */

.table.is-coastal thead th {
  background: var(--navy);
  color: #ffffff;
  font-family: "Quicksand", sans-serif;
}

.table.is-coastal {
  border-radius: 14px;
  overflow: hidden;
}

/* ---------- Sections ---------- */

.section.alt {
  background: var(--sky-pale);
}

.section-kicker {
  color: var(--seafoam);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
}

/* ---------- Footer ---------- */

.footer.is-coastal {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #cfe2f3;
  padding: 4rem 1.5rem 2.5rem;
}

.footer.is-coastal h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.footer.is-coastal a {
  color: #a8cdec;
}

.footer.is-coastal a:hover {
  color: #ffffff;
}

.footer.is-coastal ul li {
  margin-bottom: 0.45rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: #9db8d4;
  text-align: center;
}

/* ---------- Contact form ---------- */

.contact-form .input,
.contact-form .textarea {
  border-radius: 12px;
  border-color: var(--sky-light);
}

.contact-form .button.is-submit {
  background: var(--sky-deep);
  color: #ffffff;
  border-radius: 999px;
  font-weight: 700;
  padding-left: 2rem;
  padding-right: 2rem;
}

.contact-form .button.is-submit:hover {
  background: var(--navy);
}

/* ---------- 404 ---------- */

.notfound {
  text-align: center;
  padding: 6rem 1.5rem;
}

.notfound .big404 {
  font-family: "Quicksand", sans-serif;
  font-size: 6rem;
  font-weight: 700;
  color: var(--sky);
  line-height: 1;
}

/* ---------- Responsive tweaks ---------- */

@media screen and (max-width: 768px) {
  .content-article {
    padding: 1.5rem;
  }

  .hero.is-coastal .title {
    font-size: 1.8rem;
  }
}
