/* ===================================================================
   The Beach Cottage at Seasons in Malibu — shared interior-page styles
   Design system extracted from the home page (index.html).
   =================================================================== */

:root {
  /* Brand - per client color direction */
  --brand-ocean: #0784a7;
  --brand-ocean-deep: #056783;
  --brand-green: #73b237;
  --brand-green-deep: #5f9a2c;

  /* Text */
  --ink: #3a414b;
  --ink-soft: #5c636d;
  --ink-on-dark: #f6f8f9;

  /* Surfaces */
  --surface: #ffffff;
  --surface-warm: #fcfbfa;
  --surface-sand: #f5f4f1;

  --line: #e6e2db;
  --footer: #22394a;

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --content-max: 1280px;
  --gutter: 48px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface-warm);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.012em;
}

p { margin: 0; }

a { color: var(--brand-ocean); text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand-green-deep);
  margin: 0;
}

.rule {
  width: 54px;
  height: 2px;
  background: var(--brand-green);
  border: 0;
  margin: 18px 0 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 56px;
  padding: 0 30px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand-green);
  color: #fff;
  box-shadow: 0 8px 20px rgba(115,178,55,0.22);
}
.btn-primary:hover { background: var(--brand-green-deep); transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--brand-ocean-deep);
  border-color: var(--brand-ocean);
}
.btn-secondary:hover { background: #eef7fa; }

.btn-ghost-light {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.14); }

.btn:focus-visible { outline: 3px solid var(--brand-ocean); outline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--brand-ocean); outline-offset: 2px; border-radius: 2px; }

.arrow { width: 15px; height: 15px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252,251,250,0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(34,57,74,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  height: 112px;
}
.brand img, .brand svg { width: 244px; height: auto; display: block; }

.main-nav { display: flex; gap: 36px; }
.main-nav a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--brand-ocean);
  transition: width .2s ease;
}
.main-nav a:hover { color: var(--brand-ocean-deep); }
.main-nav a:hover::after { width: 100%; }
.main-nav a[aria-current="page"] { color: var(--brand-ocean-deep); }
.main-nav a[aria-current="page"]::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 22px; }
.header-phone { text-align: right; line-height: 1.2; white-space: nowrap; }
.header-phone .label {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}
.header-phone a {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.5px;
}
.header-phone a:hover { color: var(--brand-ocean-deep); }

.menu-toggle { display: none; }

/* ---------- Interior page hero ---------- */
.page-hero {
  background-color: var(--surface-sand);
  background-image:
    linear-gradient(100deg, var(--surface-warm) 34%, rgba(252,251,250,0.82) 48%, rgba(252,251,250,0.28) 64%, rgba(252,251,250,0) 86%),
    url("/assets/hero-covered-loggia.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--line);
  padding: 84px 0 72px;
}
.page-hero .rule { margin-bottom: 0; }
.page-hero h1 {
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  font-weight: 500;
  max-width: 18ch;
  margin-top: 20px;
}
.page-hero .lead {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 62ch;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 26px;
  font-weight: 500;
}
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--brand-ocean-deep); }
.breadcrumb .sep { color: var(--line); }
.breadcrumb .here { color: var(--brand-ocean-deep); }

/* ---------- Sections ---------- */
section { scroll-margin-top: 120px; }
.section-pad { padding: 110px 0; }
.section-warm { background: var(--surface-warm); }
.section-sand { background: var(--surface-sand); }
.section-white { background: var(--surface); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto; }
.section-head .rule { margin-left: auto; margin-right: auto; }
.section-head h2 {
  font-size: clamp(34px, 3.6vw, 50px);
  line-height: 1.0;
  margin-top: 18px;
}

/* ---------- Prose (converted page/post content) ---------- */
.prose {
  max-width: 760px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
}
.prose p { margin: 0 0 22px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); }
.prose em { font-style: italic; }
.prose h2 {
  font-size: clamp(28px, 2.8vw, 38px);
  line-height: 1.1;
  margin: 54px 0 18px;
}
.prose h3 {
  font-size: 23px;
  line-height: 1.2;
  margin: 40px 0 14px;
  color: var(--brand-ocean-deep);
}
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 24px; padding-left: 24px; }
.prose li { margin-bottom: 10px; }
.prose li::marker { color: var(--brand-ocean); }
.prose a { border-bottom: 1px solid rgba(7,132,167,0.3); }
.prose a:hover { color: var(--brand-ocean-deep); border-bottom-color: var(--brand-ocean-deep); }
.prose img { border-radius: 8px; margin: 32px auto; box-shadow: 0 16px 40px rgba(34,57,74,0.1); }
.prose blockquote {
  margin: 32px 0;
  padding: 26px 30px;
  border-left: 3px solid var(--brand-green);
  background: var(--surface-sand);
  border-radius: 0 8px 8px 0;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink);
}

/* Checkmark list (matches homepage cond-list language) */
.check-list {
  list-style: none;
  margin: 28px 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
}
.check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 15.5px;
  color: var(--ink);
  line-height: 1.5;
  margin: 0;
}
.check-list svg { position: absolute; left: 0; top: 4px; width: 18px; height: 18px; color: var(--brand-ocean); }

/* Numbered principle / step cards */
.step-list { list-style: none; margin: 44px 0 0; padding: 0; display: grid; gap: 18px; counter-reset: step; }
.step-list li {
  counter-increment: step;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px 30px 28px 92px;
  box-shadow: 0 10px 28px rgba(34,57,74,0.05);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.step-list li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 30px; top: 26px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  color: var(--brand-ocean);
  line-height: 1;
}
.step-list li strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

/* Two-column body with sidebar */
.page-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 72px;
  align-items: start;
}
.sidebar { display: grid; gap: 28px; position: sticky; top: 140px; }
.side-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(34,57,74,0.06);
}
.side-card .side-head {
  background: var(--brand-ocean-deep);
  color: #fff;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  padding: 16px 24px;
  letter-spacing: 0.01em;
}
.side-card nav { display: block; }
.side-card nav a {
  display: block;
  padding: 13px 24px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 15px;
  transition: background-color .15s ease, color .15s ease, padding-left .15s ease;
}
.side-card nav a:first-child { border-top: 0; }
.side-card nav a:hover { background: #eef7fa; color: var(--brand-ocean-deep); padding-left: 30px; }
.side-card nav a.active {
  background: #eef7fa;
  color: var(--brand-ocean-deep);
  font-weight: 600;
  box-shadow: inset 3px 0 0 var(--brand-ocean);
}
.side-help {
  background: var(--footer);
  color: var(--ink-on-dark);
  border-radius: 8px;
  padding: 32px 28px;
  text-align: center;
}
.side-help h3 { color: #fff; font-size: 26px; line-height: 1.15; }
.side-help p { margin-top: 10px; font-size: 14.5px; color: rgba(246,248,249,0.78); }
.side-help .btn { margin-top: 20px; width: 100%; }
.side-help .side-phone {
  display: block;
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.5px;
}
.side-help .side-phone:hover { color: var(--brand-green); }

/* ---------- Condition / topic grid ---------- */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 54px;
}
.topic-grid a {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px 24px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  box-shadow: 0 8px 22px rgba(34,57,74,0.05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.topic-grid a:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(34,57,74,0.1);
  border-color: var(--brand-ocean);
  color: var(--brand-ocean-deep);
}
.topic-grid svg { width: 20px; height: 20px; color: var(--brand-ocean); flex-shrink: 0; }

/* ---------- CTA band (shared with home final-cta) ---------- */
.final-cta {
  background: var(--footer);
  color: var(--ink-on-dark);
  text-align: center;
  padding: 104px 0;
}
.final-cta h2 { color: #fff; font-size: clamp(40px, 4.4vw, 62px); line-height: 1.04; }
.final-cta p { margin-top: 18px; color: rgba(246,248,249,0.8); font-size: 18px; }
.final-cta-buttons {
  display: flex; justify-content: center; gap: 15px;
  margin-top: 38px; flex-wrap: wrap;
}
.final-cta .micro {
  margin-top: 34px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246,248,249,0.6);
}
.final-cta .micro span { color: var(--brand-green); padding: 0 8px; }

/* ---------- Blog cards ---------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}
.post-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px 30px 26px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 34px rgba(34,57,74,0.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(34,57,74,0.11); }
.post-card .post-date {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-green-deep);
  font-weight: 600;
}
.post-card h3 { font-size: 24px; line-height: 1.15; margin-top: 12px; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--brand-ocean-deep); }
.post-card .excerpt { margin-top: 12px; font-size: 15px; color: var(--ink-soft); flex: 1; }
.post-card .read-more {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 20px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--brand-ocean-deep);
}
.post-card .read-more:hover { gap: 13px; }

.post-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 20px 50px rgba(34,57,74,0.09);
}
.post-featured .pf-media {
  min-height: 340px;
  background: #d9e0e2 center/cover no-repeat;
}
.post-featured .pf-body { padding: 48px 52px; display: flex; flex-direction: column; justify-content: center; }
.post-featured h2 { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.08; margin-top: 14px; }
.post-featured h2 a { color: var(--ink); }
.post-featured h2 a:hover { color: var(--brand-ocean-deep); }
.post-featured .excerpt { margin-top: 14px; font-size: 16px; color: var(--ink-soft); }
.post-featured .btn { margin-top: 26px; align-self: flex-start; }

/* ---------- Single post ---------- */
.post-hero {
  padding: 72px 0 56px;
  background-color: var(--surface-sand);
  background-image:
    linear-gradient(100deg, var(--surface-warm) 34%, rgba(252,251,250,0.82) 48%, rgba(252,251,250,0.28) 64%, rgba(252,251,250,0) 86%),
    url("/assets/hero-covered-loggia.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--line);
}
.post-hero .post-meta {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  margin-top: 24px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
}
.post-hero .post-meta .cat { color: var(--brand-green-deep); }
.post-hero h1 {
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.04;
  font-weight: 500;
  max-width: 24ch;
}
.article-wrap { margin: 0 auto; }
.article-body { padding: 72px 0 96px; }
.crisis-note {
  margin: 32px 0;
  padding: 22px 26px;
  border: 1px solid var(--brand-ocean);
  border-left-width: 4px;
  background: #eef7fa;
  border-radius: 0 8px 8px 0;
  font-size: 15.5px;
  color: var(--ink);
}
.post-nav-back {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--brand-ocean-deep);
}
.post-nav-back svg { transform: rotate(180deg); }

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 64px;
}
.pagination a, .pagination .current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
.pagination a:hover { border-color: var(--brand-ocean); color: var(--brand-ocean-deep); background: #eef7fa; }
.pagination .current {
  background: var(--brand-ocean-deep);
  border-color: var(--brand-ocean-deep);
  color: #fff;
}
.pagination .page-arrow { text-transform: uppercase; gap: 8px; }
.pagination .page-arrow svg { width: 14px; height: 14px; }
.pagination .page-arrow.prev svg { transform: rotate(180deg); }

/* ---------- Contact / forms ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 72px;
  align-items: start;
}
.contact-channels { display: grid; gap: 20px; }
.channel-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px 28px;
  box-shadow: 0 10px 28px rgba(34,57,74,0.05);
}
.channel-card .ico {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #eef7fa;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.channel-card .ico svg { width: 24px; height: 24px; color: var(--brand-ocean); }
.channel-card .label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}
.channel-card .value {
  display: block;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.channel-card a.value:hover { color: var(--brand-ocean-deep); }

.help-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 44px 46px 46px;
  box-shadow: 0 20px 50px rgba(34,57,74,0.08);
}
.help-form h2 { font-size: 30px; line-height: 1.1; }
.help-form .form-sub { margin-top: 8px; font-size: 14.5px; color: var(--ink-soft); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.form-field[hidden] { display: none; }
.form-field { display: grid; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
}
.form-field label .req { color: var(--brand-green-deep); }
.form-field input[type="text"],
.form-field input[type="tel"],
.form-field input[type="email"],
.form-field input[type="date"],
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--ink);
  background: var(--surface-warm);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 14px 16px;
  width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235b6673' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
  cursor: pointer;
}
.form-field select:invalid { color: var(--ink-soft); }
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--brand-ocean);
  box-shadow: 0 0 0 3px rgba(7,132,167,0.14);
}
.radio-row { display: flex; gap: 26px; align-items: center; }
.radio-row label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; color: var(--ink);
  text-transform: none; letter-spacing: 0; font-weight: 500;
  cursor: pointer;
}
.radio-row input { accent-color: var(--brand-ocean); width: 17px; height: 17px; }
.consent-row {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 13px; color: var(--ink-soft); line-height: 1.55;
}
.consent-row input { accent-color: var(--brand-ocean); width: 17px; height: 17px; margin-top: 2px; flex-shrink: 0; }
.help-form .btn { margin-top: 28px; width: 100%; }
.form-privacy { margin-top: 16px; font-size: 12.5px; color: var(--ink-soft); text-align: center; }
.form-field input[type="file"] {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  background: var(--surface-warm);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px 12px;
  width: 100%;
  cursor: pointer;
}
.form-field input[type="file"]:focus {
  outline: none;
  border-color: var(--brand-ocean);
  box-shadow: 0 0 0 3px rgba(7,132,167,0.14);
}
.field-hint { font-size: 12.5px; color: var(--ink-soft); line-height: 1.5; }
.terms-box {
  max-height: 280px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface-warm);
  padding: 16px 18px;
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.65;
}
.terms-box p { margin-bottom: 10px; color: var(--ink); }
.terms-box ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
.terms-box strong { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer {
  background: #1a2c39;
  color: rgba(246,248,249,0.72);
  padding: 46px 0;
  font-size: 13.5px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 40px;
}
.footer-org { color: #fff; font-family: var(--font-display); font-size: 18px; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-meta a { color: rgba(246,248,249,0.72); }
.footer-meta a:hover { color: #fff; }
.footer-legal { width: 100%; font-size: 12px; color: rgba(246,248,249,0.5); line-height: 1.6; }

/* ---------- Mobile sticky bar ---------- */
.mobile-bar { display: none; }

/* ---------- Mobile menu panel ---------- */
.mobile-menu {
  display: none;
  position: fixed; inset: 76px 0 0;
  background: #fff; z-index: 40;
  padding: 28px var(--gutter) 40px;
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu a.m-nav {
  display: block; padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 18px; color: var(--ink); font-weight: 500;
}
.mobile-menu .m-phone {
  margin-top: 26px; font-family: var(--font-display);
  font-size: 30px; color: var(--brand-ocean-deep); display: block;
}
.mobile-menu .m-label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.mobile-menu .m-actions { display: grid; gap: 12px; margin-top: 26px; }
.mobile-menu .m-actions .btn { width: 100%; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 1100px) {
  :root { --gutter: 32px; }
  .main-nav { gap: 20px; }
  .brand img, .brand svg { width: 210px; }
  .page-cols { gap: 44px; }
}

@media (max-width: 960px) {
  .page-cols { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .post-featured { grid-template-columns: 1fr; }
  .post-featured .pf-media { min-height: 240px; }
  .topic-grid { grid-template-columns: 1fr 1fr; }
  .post-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-phone { display: none; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 0; padding: 0;
    background: transparent; cursor: pointer;
  }
  .menu-toggle svg { width: 30px; height: 30px; color: #22394a; }
  .header-inner { height: 76px; }
  .header-actions .btn-secondary { display: none; }
  .section-pad { padding: 80px 0; }
  .page-hero { padding: 60px 0 54px; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .brand img, .brand svg { width: 190px; }
  /* Stronger wash so hero copy stays legible over the photo at full width */
  .page-hero, .post-hero {
    background-image:
      linear-gradient(180deg, rgba(252,251,250,0.95) 0%, rgba(252,251,250,0.88) 55%, rgba(252,251,250,0.82) 100%),
      url("/assets/hero-covered-loggia.jpg");
    background-position: center top;
  }
  .check-list { grid-template-columns: 1fr; }
  .topic-grid { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; gap: 22px; }
  .step-list li { padding: 24px 22px 24px 74px; }
  .step-list li::before { left: 22px; }
  .help-form { padding: 30px 22px 34px; }
  .form-grid { grid-template-columns: 1fr; }
  .post-featured .pf-body { padding: 32px 26px; }
  .final-cta-buttons .btn { flex: 1 1 100%; }

  body { padding-bottom: 62px; }
  .mobile-bar {
    display: flex;
    position: fixed; left: 0; right: 0; bottom: 0;
    z-index: 60;
    box-shadow: 0 -6px 20px rgba(34,57,74,0.14);
    transform: translateY(110%);
    transition: transform .32s ease;
  }
  .mobile-bar.show { transform: translateY(0); }
  .mobile-bar a {
    flex: 1;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    height: 62px;
    font-size: 14px; font-weight: 600; letter-spacing: 0.05em;
    text-transform: uppercase; color: #fff;
  }
  .mobile-bar .phone-ico { width: 18px; height: 18px; flex-shrink: 0; }
  .mobile-bar .call { background: var(--brand-green); }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn, .post-card, .topic-grid a, .main-nav a::after { transition: none !important; }
}

/* ---------- Insurance carrier logos (insurance-verification) ---------- */
.ins-logos { margin-top: 36px; max-width: 425px; }
.ins-logo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 24px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ins-logo-grid li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
}
.ins-logo-grid img { max-width: 100%; max-height: 64px; width: auto; height: auto; }
