/* ---------- Tokens ---------- */
:root {
  --navy: #0d2a52;
  --blue: #1d5fa7;
  --sky: #38b2e6;
  --ice: #e9f7fd;
  --white: #ffffff;
  --gray-100: #f3f5f8;
  --gray-300: #c9d1db;
  --gray-600: #5b6675;
  --black: #0b1220;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(13, 42, 82, 0.12);
  --max: 1100px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
section { padding: 64px 0; }
.section-alt { background: var(--gray-100); }
.lead { font-size: 1.1rem; color: var(--gray-600); max-width: 680px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.8rem;
  color: var(--sky); font-weight: 700; margin-bottom: 0.5rem;
}
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  text-decoration: none; font-weight: 700; border: 2px solid transparent;
  transition: transform 0.15s, background 0.15s;
  cursor: pointer; font-size: 1rem;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--navy); }
.btn-sky { background: var(--sky); color: var(--navy); }
.btn-outline { border-color: var(--white); color: var(--white); }
.btn-outline-dark { border-color: var(--blue); color: var(--blue); }

/* ---------- Header ---------- */
/* Transparent header floating over the page; only the bubbles are visible */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent;
  padding: 12px 0;
}
/* Keep the first section of each page clear of the floating header */
main > :first-child { padding-top: 120px; }
.nav { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
/* Logo bubble */
.logo {
  display: inline-flex; align-items: center; background: var(--white);
  border-radius: 999px; padding: 6px 20px; box-shadow: var(--shadow);
}
.logo img { height: 46px; width: auto; }
/* One solid navy bubble holding the tabs, Call, and Get a Quote */
.nav-links {
  display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 6px;
  background: var(--navy); border-radius: 999px; box-shadow: var(--shadow);
}
.nav-links a { color: var(--white); text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 9px 16px; border-radius: 999px; display: inline-block; }
.nav-links a:hover { background: rgba(255, 255, 255, 0.12); }
.nav-links a.active { background: var(--blue); }
.nav-links .btn { padding: 9px 18px; }
.nav-links .btn-outline-dark { color: var(--white); border-color: var(--sky); }
.nav-links .btn-outline-dark:hover { background: var(--sky); color: var(--navy); }
.nav-links .btn-primary { background: var(--sky); color: var(--navy); }
.nav-links .btn-primary:hover { background: var(--white); color: var(--navy); }
.nav-links .btn-primary.active { background: var(--white); color: var(--navy); }
.nav-links .nav-call { white-space: nowrap; }
.nav-links li { display: flex; }
.menu-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  font-size: 1.8rem; color: var(--navy); padding: 6px;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 60%, var(--sky) 130%);
  color: var(--white); padding: 90px 0 100px; position: relative; overflow: hidden;
}
.hero h1, .hero h2, .hero h3 { color: var(--white); }
.hero .lead { color: #d8ecf8; }
.hero .eyebrow { color: #bfeaff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.hero-pane {
  aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35); border: 6px solid rgba(255, 255, 255, 0.15);
}
.hero-pane img { width: 100%; height: 100%; object-fit: cover; }
.hero-note { font-size: 0.95rem; color: #d8ecf8; margin-top: 16px; }

/* Full-bleed hero with photo background (home page) */
.hero-photo {
  background:
    linear-gradient(90deg, rgba(13, 42, 82, 0.92) 0%, rgba(13, 42, 82, 0.6) 55%, rgba(13, 42, 82, 0.25) 100%),
    url("../images/2.jpg") center / cover no-repeat;
  padding: 120px 0 130px;
}
.hero-photo .hero-copy { max-width: 620px; }
.hero-photo .hero-note { color: #cfe6f5; }

/* Location landing pages */
.location-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin-top: 30px; }
.location-facts div { background: var(--white); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.location-facts strong { display: block; color: var(--navy); font-size: 1.05rem; }
.two-col { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.two-col img { width: 100%; border-radius: 18px; box-shadow: var(--shadow); height: 100%; object-fit: cover; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding: 8px 0 8px 28px; position: relative; }
.check-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--blue); font-weight: 800; }

/* ---------- Page header (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white); padding: 64px 0 56px;
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4.5vw, 2.8rem); }
.page-hero .lead { color: #d8ecf8; }

/* ---------- Trust strip ---------- */
.trust { background: var(--navy); color: var(--white); padding: 22px 0; }
.trust-list { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 12px 24px; list-style: none; margin: 0; padding: 0; font-weight: 600; }
.trust-list li::before { content: "\2713  "; color: var(--sky); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: var(--white); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); border: 1px solid #e4eaf1;
}
.card .icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--ice);
  color: var(--blue); display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 14px;
}
.card a.more { font-weight: 700; text-decoration: none; }
.card p:last-child { margin-bottom: 0; }

/* ---------- Reviews ---------- */
.review { border-left: 4px solid var(--sky); }
.stars { color: #f2b705; letter-spacing: 2px; margin-bottom: 8px; }
.review-author { font-weight: 700; color: var(--navy); margin: 14px 0 0; font-size: 0.95rem; }
.review-meta { color: var(--gray-600); font-size: 0.85rem; }

/* ---------- Plans ---------- */
.plans { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: end; margin-top: 40px; }
.plan {
  background: var(--white); border-radius: 18px; padding: 32px 28px;
  border: 1px solid #dfe7f0; box-shadow: var(--shadow); position: relative;
}
.plan h3 { font-size: 1.4rem; }
.plan .save {
  display: inline-block; background: var(--ice); color: var(--blue);
  font-weight: 800; padding: 6px 14px; border-radius: 999px; margin: 6px 0 14px;
}
.plan .freq { color: var(--gray-600); margin-bottom: 18px; }
.plan .save-note { display: block; font-size: 0.8rem; color: var(--gray-600); margin: -8px 0 14px; }
.plan.featured .save-note { color: #bcd9ee; }
.fine-print { font-size: 0.85rem; color: var(--gray-600); margin-top: 14px; }
.plan.featured {
  background: var(--navy); color: var(--white); border-color: var(--navy);
  transform: translateY(-14px); padding-top: 40px;
}
.plan.featured h3, .plan.featured .freq { color: var(--white); }
.plan.featured .freq { color: #bcd9ee; }
.plan.featured .save { background: var(--sky); color: var(--navy); }
.plan.featured li.no, .plan.featured li.no s { color: #7f9bb8; }
.badge-popular {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--sky); color: var(--navy); font-weight: 800; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.08em; padding: 6px 14px; border-radius: 999px;
  white-space: nowrap;
}
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; }
.plan li { padding: 8px 0; border-bottom: 1px solid rgba(13, 42, 82, 0.08); display: flex; gap: 10px; align-items: flex-start; }
.plan.featured li { border-bottom-color: rgba(255, 255, 255, 0.12); }
.plan li.yes::before { content: "\2713"; color: var(--blue); font-weight: 800; }
.plan.featured li.yes::before { color: var(--sky); }
.plan li.no { color: #9aa5b3; }
.plan li.no::before { content: "\2717"; color: #d9534f; font-weight: 800; }
.plan li.no s { text-decoration: line-through; text-decoration-thickness: 2px; }
.plan .btn { width: 100%; text-align: center; }
.plan-note { color: var(--gray-600); font-size: 0.9rem; margin-top: 24px; text-align: center; }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.gallery img {
  width: 100%; height: 260px; object-fit: cover; border-radius: 12px;
  box-shadow: var(--shadow); transition: transform 0.2s;
}
.gallery img:hover { transform: scale(1.02); }

/* ---------- Areas ---------- */
.town-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px 20px; list-style: none; padding: 0; margin: 0; }
.town-list li { background: var(--white); border-radius: 10px; padding: 12px 16px; box-shadow: var(--shadow); font-weight: 600; color: var(--navy); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: 0.95rem; }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--gray-300); border-radius: 10px;
  font: inherit; color: var(--black); background: var(--white);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--ice); border-color: var(--sky); }
.form textarea { min-height: 120px; resize: vertical; }
.form .btn { justify-self: start; }
.form-status { display: none; padding: 14px 16px; border-radius: 10px; background: var(--ice); color: var(--navy); font-weight: 600; margin-bottom: 16px; }
.form-status.show { display: block; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { margin-bottom: 14px; }
.contact-list strong { display: block; color: var(--navy); }

/* ---------- Photo service cards (home page) ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 330px; padding: 24px; border-radius: var(--radius); overflow: hidden;
  background-size: cover; background-position: center; background-color: var(--navy);
  box-shadow: var(--shadow); text-decoration: none; color: var(--white);
  transition: transform 0.2s;
}
.service-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13, 42, 82, 0.05) 0%, rgba(13, 42, 82, 0.9) 100%);
}
.service-card > * { position: relative; }
.service-card h3 { color: var(--white); margin-bottom: 6px; }
.service-card p { color: #dbeaf6; font-size: 0.95rem; margin: 0; }
.service-card:hover { transform: translateY(-4px); }
.service-card:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; }
.faq {
  background: var(--white); border-radius: 12px; box-shadow: var(--shadow);
  border: 1px solid #e4eaf1; padding: 18px 22px; margin-top: 14px;
}
.faq summary {
  cursor: pointer; font-weight: 700; color: var(--navy); list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 1.4rem; line-height: 1; }
.faq[open] summary::after { content: "\2212"; }
.faq p { color: var(--gray-600); margin: 12px 0 0; }
.faq p strong { color: var(--navy); }

/* ---------- Blog ---------- */
.post { max-width: 720px; margin: 0 auto; }
.post h2 { margin-top: 1.4em; font-size: 1.5rem; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--blue), var(--navy)); color: var(--white); padding: 56px 0; text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #d8ecf8; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #b9c4d2; padding: 48px 0 28px; font-size: 0.95rem; }
.footer-grid { display: grid; gap: 30px; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; }
.town-links { columns: 2; column-gap: 18px; }
.town-links li { break-inside: avoid; margin-bottom: 6px; }
.footer-btn { padding: 10px 18px; color: var(--navy); }
.site-footer h4 { color: var(--white); margin: 0 0 12px; font-size: 1rem; }
.site-footer a { color: #b9c4d2; text-decoration: none; }
.site-footer a:hover { color: var(--sky); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .logo img { height: 48px; background: var(--white); border-radius: 10px; padding: 6px 10px; }
.copy { border-top: 1px solid #1c2636; margin-top: 32px; padding-top: 18px; font-size: 0.85rem; text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 10px;
    border-radius: 20px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { display: block; }
  .nav-links li a { display: block; padding: 12px 16px; text-align: center; }
  .nav-links .btn { display: block; text-align: center; }
  .menu-toggle { color: var(--navy); background: var(--white); border-radius: 999px; padding: 6px 14px; box-shadow: var(--shadow); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-pane { aspect-ratio: 4 / 3; }
  .plan.featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  section { padding: 48px 0; }
  .form { grid-template-columns: 1fr; }
  .gallery img { height: 200px; }
  .logo img { height: 46px; }
  .container { width: calc(100% - 32px); }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 260px; }
  .footer-grid { grid-template-columns: 1fr; }
  .town-links { columns: 1; }
}
