/* WillsPlus 2026 editorial redesign */
:root {
  --navy: #243246;
  --navy-mid: #34455d;
  --navy-light: #50627a;
  --orange: #c96f45;
  --orange-dk: #a95532;
  --white: #fffdf9;
  --off-white: #f4f0e8;
  --grey-light: #e9e3d9;
  --grey-text: #66706f;
  --body-text: #273235;
  --border: rgba(39,50,53,.14);
  --sage: #829184;
  --ink: #202a2d;
  --sand: #d8c9b7;
  --max-w: 1240px;
  --radius: 10px;
  --radius-lg: 22px;
  --transition: .25s ease;
}

body {
  background: #fbf9f4;
  color: var(--body-text);
  letter-spacing: -.005em;
}

.container { padding-inline: 32px; }
.section { padding: 112px 0; }
.section-sm { padding: 76px 0; }

.btn {
  border-radius: 999px;
  padding: 13px 24px;
  font-size: .86rem;
  letter-spacing: .015em;
  box-shadow: none;
}
.btn-primary { background: var(--orange); border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-dk); border-color: var(--orange-dk); transform: translateY(-2px); }
.btn-navy { background: var(--ink); border-color: var(--ink); }
.btn-outline { color: var(--ink); border-color: rgba(32,42,45,.35); background: rgba(255,255,255,.5); }
.btn-outline:hover { color: var(--ink); background: #fff; border-color: var(--ink); }

.section-tag {
  color: var(--orange-dk);
  border: 0;
  background: rgba(201,111,69,.09);
  padding: 7px 12px;
  letter-spacing: .12em;
}
.section-tag.light { color: #f4ede3; border: 0; background: rgba(255,255,255,.12); }
.section-title,
.image-feature-title,
.service-title,
.why-title,
.testi-name,
.contact-form-title,
.service-deep-title { color: var(--ink); }
.section-title { font-size: clamp(2.15rem, 4vw, 3.55rem); letter-spacing: -.035em; font-weight: 500; }
.section-lead { color: var(--grey-text); max-width: 650px; }

/* Refined floating navigation */
.nav,
.nav.scrolled {
  background: rgba(251,249,244,.93);
  border-bottom: 1px solid rgba(39,50,53,.10);
  box-shadow: none;
  backdrop-filter: blur(16px);
}
.nav-inner { height: 82px; }
.nav-logo {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(39,50,53,.1);
  box-shadow: 0 8px 30px rgba(43,49,47,.09);
}
.nav-logo img { height: 42px; width: auto; }
.nav-links { gap: 8px; }
.nav-links a {
  color: #4f5959;
  padding: 9px 12px;
  border-radius: 0;
  background: transparent !important;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover,
.nav-links a.active { color: var(--ink); border-bottom-color: var(--orange); }
.nav-toggle span { background: var(--ink); }

/* Homepage hero: editorial, quiet, spacious */
.hero {
  min-height: auto;
  padding-top: 82px;
  background: #eee8df;
}
.hero-bg {
  background:
    linear-gradient(90deg, rgba(244,240,232,.98) 0%, rgba(244,240,232,.94) 48%, rgba(244,240,232,.65) 100%),
    url('../images/hero-family-consultation.webp') center/cover no-repeat;
  opacity: .98;
}
.hero-grid-lines { display: none; }
.hero-inner {
  grid-template-columns: minmax(0, 1.08fr) minmax(350px, .72fr);
  gap: 7vw;
  min-height: 760px;
  padding: 92px 32px 84px;
}
.hero-content { max-width: 660px; }
.hero-eyebrow { color: #697270; letter-spacing: .13em; }
.hero-heading {
  color: var(--ink);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.045em;
  font-size: clamp(3.3rem, 6.2vw, 6.3rem);
}
.hero-heading em { color: var(--orange-dk); }
.hero-sub { color: #596362; font-size: 1.05rem; max-width: 600px; }
.hero-stats { border-top-color: rgba(39,50,53,.15); }
.stat-num { color: var(--ink); font-weight: 500; }
.stat-label { color: #6b7472; }
.hero-card {
  padding: 36px;
  border-radius: 24px;
  background: rgba(255,253,249,.93);
  border: 1px solid rgba(39,50,53,.10);
  box-shadow: 0 28px 70px rgba(50,47,42,.14);
}
.hero-card-title { color: var(--ink); font-weight: 500; font-size: 1.65rem; }

/* Forms */
.form-label { color: #5f6967; font-size: .7rem; letter-spacing: .09em; }
.form-input, .form-select, .form-textarea {
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(39,50,53,.16);
  border-radius: 10px;
  padding: 12px 14px;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(201,111,69,.11);
}

/* Cards become varied editorial panels instead of a rigid template grid */
.services-grid {
  gap: 18px;
  background: transparent;
  border-radius: 0;
}
.service-card {
  padding: 42px;
  border: 1px solid rgba(39,50,53,.11);
  border-radius: 22px;
  background: rgba(255,255,255,.62);
}
.service-card:nth-child(2), .service-card:nth-child(3) { background: #f0ece4; }
.service-card:hover { background: #fff; transform: translateY(-3px); box-shadow: 0 20px 50px rgba(48,45,39,.08); }
.service-icon, .service-deep-icon {
  background: rgba(130,145,132,.14);
  border: 1px solid rgba(130,145,132,.22);
  border-radius: 50%;
}
.service-icon svg { color: var(--orange); }

.image-band { background: #ede8df; }
.image-feature { gap: clamp(40px, 7vw, 92px); }
.image-feature-img {
  border-radius: 28px 28px 100px 28px;
  box-shadow: 0 30px 70px rgba(48,45,39,.12);
}
.image-feature.reverse .image-feature-img { border-radius: 28px 28px 28px 100px; }
.image-feature-img img,
.service-img-card img,
.contact-image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}
.img-placeholder { display: none !important; }

.why-grid { gap: 18px; }
.why-card {
  padding: 34px;
  background: transparent;
  border-color: rgba(39,50,53,.12);
  border-radius: 18px;
}
.why-card:hover { border-color: rgba(201,111,69,.45); box-shadow: none; background: rgba(255,255,255,.55); }

.calc-section { background: var(--ink); }
.calc-section::before { background: radial-gradient(circle, rgba(201,111,69,.18), transparent 68%); }
.calc-widget { border-radius: 24px; box-shadow: 0 25px 70px rgba(0,0,0,.22); }
.calc-widget-title, .calc-label, .calc-result-num { color: var(--ink); }

.testi-grid { gap: 18px; }
.testi-card {
  border: 0;
  border-radius: 20px;
  background: #f0ece4;
  padding: 36px;
}
.testi-card:nth-child(2) { background: #e8eee9; }

.cta-band {
  background: #ddd2c4;
  padding: 96px 0;
}
.cta-band::before { display: none; }
.cta-band-title { color: var(--ink); font-weight: 500; font-size: clamp(2.2rem, 4vw, 3.5rem); }
.cta-band-sub { color: #5d6765; }
.cta-band .btn-outline { color: var(--ink); border-color: rgba(32,42,45,.35); }

/* Services page */
.page-hero,
.contact-page-hero {
  background: #ded6ca !important;
  min-height: 480px;
  display: flex;
  align-items: center;
}
.page-hero::before,
.contact-page-hero::before {
  background: radial-gradient(circle at 85% 25%, rgba(255,255,255,.65), transparent 34%) !important;
}
.page-hero-title { color: var(--ink) !important; font-weight: 500; letter-spacing: -.035em; font-size: clamp(3rem, 5vw, 5.2rem); }
.page-hero-lead { color: #5b6563 !important; }
.page-hero .section-tag.light,
.contact-page-hero .section-tag.light { color: var(--orange-dk); background: rgba(255,255,255,.55); }

.process-steps { gap: 20px; }
.process-step::after { background: rgba(39,50,53,.14); }
.step-num { background: #fbf9f4; color: var(--ink); border-color: var(--sand); }
.step-num.active { background: var(--orange); border-color: var(--orange); }

.service-deep-card {
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(39,50,53,.14);
  border-radius: 0;
  padding: 52px 0 20px;
}
.service-deep-num { color: rgba(39,50,53,.10); }
.service-img-card {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #e7e1d8;
  min-height: 0;
  box-shadow: 0 18px 48px rgba(48,45,39,.10);
}

/* Contact page */
.contact-grid { gap: clamp(48px, 7vw, 96px); }
.contact-detail {
  padding: 18px 20px;
  border: 1px solid rgba(39,50,53,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.45);
}
.contact-detail-icon { background: rgba(130,145,132,.13); color: var(--ink); }
.contact-image {
  height: 430px !important;
  min-height: 430px;
  border-radius: 24px 24px 90px 24px !important;
  overflow: hidden;
  background: #e7e1d8 !important;
  margin-top: 32px !important;
  position: relative;
  box-shadow: 0 25px 60px rgba(48,45,39,.12);
}
.contact-image img { position: absolute; inset: 0; object-position: center 38% !important; }
.contact-form-wrap {
  background: #f0ece4 !important;
  border: 1px solid rgba(39,50,53,.11) !important;
  border-radius: 24px !important;
  padding: 42px !important;
  box-shadow: 0 24px 65px rgba(48,45,39,.08);
}

/* Footer: charcoal, not another blue wall */
.footer {
  background: var(--ink);
  padding-top: 76px;
}
.footer-logo {
  display: inline-flex;
  padding: 9px 12px;
  background: #fff;
  border-radius: 12px;
}
.footer-logo img { height: 42px; }
.footer-col-title { color: #fff; }
.footer-tagline, .footer-links a, .footer-contact-item, .footer-bottom { color: rgba(255,255,255,.58); }
.footer-bottom { border-top-color: rgba(255,255,255,.10); }

.fade-in { transition: opacity .7s ease, transform .7s ease; }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 50px; min-height: auto; }
  .hero-bg { background: linear-gradient(rgba(244,240,232,.93), rgba(244,240,232,.96)), url('../images/hero-family-consultation.webp') center/cover no-repeat; }
  .hero-content { max-width: 760px; }
  .calc-inner { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav-inner { height: 74px; }
  .nav-logo { padding: 6px 9px; }
  .nav-logo img { height: 36px; }
  .nav-links.open {
    top: 74px;
    background: rgba(251,249,244,.98);
    border-bottom: 1px solid rgba(39,50,53,.12);
  }
  .nav-links.open a { color: var(--ink); width: 100%; text-align: center; padding: 13px; }
  .hero { padding-top: 74px; }
  .hero-inner { padding: 70px 24px 64px; }
  .hero-heading { font-size: clamp(3rem, 13vw, 4.7rem); }
  .services-grid, .why-grid, .testi-grid { grid-template-columns: 1fr; }
  .image-feature, .contact-grid { grid-template-columns: 1fr; }
  .image-feature.reverse { direction: ltr; }
  .page-hero, .contact-page-hero { min-height: 390px; padding-top: 74px; }
  .service-deep-card { grid-template-columns: 72px 1fr; }
}

@media (max-width: 640px) {
  .container { padding-inline: 20px; }
  .section { padding: 78px 0; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .hero-card { padding: 28px 22px; }
  .service-card { padding: 30px 24px; }
  .image-feature-img { border-radius: 20px 20px 60px 20px; }
  .service-image-row { grid-template-columns: 1fr; }
  .service-deep-card { grid-template-columns: 1fr; padding-top: 38px; }
  .service-deep-left { flex-direction: row; align-items: center; }
  .contact-image { height: 340px !important; min-height: 340px; border-radius: 20px 20px 60px 20px !important; }
  .contact-form-wrap { padding: 28px 22px !important; }
  .footer { padding-top: 58px; }
}
