/* ============================================
   Millie's Children's Complex Home Care
   Brand: navy #1E2D4F / olive #65754A / cream #FAF7F1
   ============================================ */

:root {
  --navy: #1E2D4F;
  --navy-light: #33456e;
  --olive: #65754A;
  --olive-light: #7d8f5f;
  --cream: #FAF7F1;
  --cream-dark: #F0EAE0;
  --white: #FFFFFF;
  --text: #33322E;
  --text-soft: #5b5a54;
  --border: #E4DDCF;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(60,45,20,0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Jost', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, #FDFBF6 0%, transparent 40%),
    radial-gradient(circle at 88% 6%, #F6F0E1 0%, transparent 45%),
    radial-gradient(circle at 90% 92%, #F3ECDC 0%, transparent 50%),
    radial-gradient(circle at 8% 88%, #FBF7EF 0%, transparent 45%),
    var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', 'Jost', serif;
  color: var(--navy);
  font-weight: 500;
  font-optical-sizing: auto;
  line-height: 1.22;
  margin: 0 0 0.6em 0;
  letter-spacing: -0.2px;
}

.script {
  font-family: 'Pinyon Script', cursive;
  font-weight: 400;
}

p { margin: 0 0 1.1em 0; color: var(--text-soft); }

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--olive); }

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--olive);
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1.5px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover { background: var(--olive); color: var(--white); }

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
}
.btn-outline-light:hover { background: var(--white); color: var(--navy); }

/* ---------- Header ---------- */
header.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
}

.logo-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.logo-lockup svg { flex-shrink: 0; }

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1.5px solid var(--olive);
  padding-left: 16px;
}

.logo-text .name {
  font-family: 'Pinyon Script', cursive;
  font-size: 34px;
  color: var(--navy);
  line-height: 1;
}

.logo-text .sub {
  font-size: 8.5px;
  letter-spacing: 2px;
  color: var(--navy);
  margin-top: 5px;
  font-weight: 500;
  white-space: nowrap;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

nav.main-nav a {
  font-size: 14px;
  letter-spacing: 0.5px;
  color: var(--navy);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}

nav.main-nav a.active { color: var(--olive); }

nav.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  width: 0;
  background: var(--olive);
  transition: width 0.2s ease;
}
nav.main-nav a:hover::after { width: 100%; }

.nav-cta {
  margin-left: 6px;
}
nav.main-nav a.nav-cta,
nav.main-nav a.nav-cta:hover {
  color: var(--white);
  padding: 13px 32px;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: none;
}
nav.main-nav a.nav-cta::after {
  display: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #253a63 100%);
  color: var(--white);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 360px; height: 360px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hero h1 {
  color: var(--white);
  font-size: 42px;
  margin-bottom: 20px;
}

.hero p.lead {
  color: rgba(255,255,255,0.85);
  font-size: 17px;
  max-width: 480px;
}

.hero-actions { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }

.hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-art svg { width: 100%; max-width: 320px; height: auto; }

.hero-logo-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 40px 34px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  max-width: 340px;
  margin: 0 auto;
}
.hero-logo-card img { width: 100%; height: auto; display: block; }

.hero-photo-card {
  position: relative;
  max-width: 380px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.35);
  border: 6px solid rgba(255,255,255,0.15);
}
.hero-photo-card img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
}

.info-panel-logo {
  margin-top: 8px;
  padding-top: 26px;
  border-top: 1px solid rgba(30,45,79,0.12);
  display: flex;
  justify-content: center;
}
.info-panel-logo img { width: 100%; max-width: 190px; height: auto; display: block; }

.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #253a63 100%);
  color: var(--white);
  padding: 64px 0 84px 0;
  text-align: center;
  position: relative;
}
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto; }

/* Organic wave dividers — softens the hard edge between flat-colour bands */
.hero, .page-hero, .stats-band, .value-band { position: relative; }
.hero::before, .page-hero::before, .stats-band::before, .value-band::before {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 46px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}
.hero::before, .page-hero::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 46' preserveAspectRatio='none'%3E%3Cpath d='M0,26 C280,50 460,4 760,18 C980,28 1080,10 1200,20 L1200,46 L0,46 Z' fill='%23FAF7F1'/%3E%3C/svg%3E");
}
.stats-band::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 46' preserveAspectRatio='none'%3E%3Cpath d='M0,26 C280,50 460,4 760,18 C980,28 1080,10 1200,20 L1200,46 L0,46 Z' fill='%23FFFFFF'/%3E%3C/svg%3E");
}
.value-band::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 46' preserveAspectRatio='none'%3E%3Cpath d='M0,26 C280,50 460,4 760,18 C980,28 1080,10 1200,20 L1200,46 L0,46 Z' fill='%23FAF7F1'/%3E%3C/svg%3E");
}

/* ---------- Sections ---------- */
section { padding: 80px 0; }
section.tight { padding: 56px 0; }
section.on-cream { background: var(--cream); }
section.on-white { background: var(--white); }
section.on-cream-dark { background: var(--cream-dark); }

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Trust strip */
.trust-strip {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 30px 0;
}
.trust-strip .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.3px;
}
.trust-item svg { width: 22px; height: 22px; stroke: var(--olive); flex-shrink: 0; }

/* Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.card .icon-wrap {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card .icon-wrap svg { width: 26px; height: 26px; stroke: var(--olive); }

.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { margin-bottom: 0; font-size: 14.5px; }
.card ul { margin: 12px 0 0 0; padding-left: 18px; color: var(--text-soft); font-size: 14px; }
.card ul li { margin-bottom: 6px; }

/* Feature split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split.reverse .split-art { order: 2; }
.split-art {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.split-art svg { width: 100%; max-width: 260px; height: auto; }

.check-list { list-style: none; padding: 0; margin: 18px 0 0 0; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--text-soft);
}
.check-list svg { width: 18px; height: 18px; stroke: var(--olive); flex-shrink: 0; margin-top: 2px; }

/* Quote / values */
.value-band {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}
.value-band .script { font-size: 30px; color: var(--white); max-width: 700px; margin: 0 auto; display: block; }
.value-band p.attribution { color: rgba(255,255,255,0.6); margin-top: 18px; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; }

/* CTA band */
.cta-band {
  background: var(--olive);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 520px; margin: 0 auto 26px auto; }
.cta-band .btn-primary { background: var(--navy); }
.cta-band .btn-primary:hover { background: var(--white); color: var(--navy); }

/* Forms */
.form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.5px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 7px;
}
.field .req { color: var(--olive); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: 'Jost', sans-serif;
  font-size: 14.5px;
  color: var(--text);
  background: var(--cream);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--olive);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 120px; }
.field small { display: block; margin-top: 6px; color: var(--text-soft); font-size: 12.5px; }
.field-file {
  border: 1.5px dashed var(--border);
  border-radius: 6px;
  padding: 22px;
  text-align: center;
  background: var(--cream);
}
.field-file svg { width: 26px; height: 26px; stroke: var(--olive); margin-bottom: 8px; }
.field-file input[type=file] { margin-top: 10px; font-size: 13px; }

.form-status {
  display: none;
  padding: 20px 22px;
  border-radius: 6px;
  font-size: 14.5px;
}
.form-status.success { background: #EEF2E7; border-left: 3px solid var(--olive); color: var(--navy); }
.form-status.error { background: #FBEAEA; border-left: 3px solid #B5453D; color: #7a2b26; }

.form-note {
  background: var(--cream-dark);
  border-left: 3px solid var(--olive);
  padding: 14px 18px;
  border-radius: 4px;
  font-size: 13.5px;
  color: var(--text-soft);
  margin-bottom: 26px;
}

/* Info panel next to forms */
.info-panel { display: flex; flex-direction: column; gap: 26px; }
.info-item { display: flex; gap: 16px; }
.info-item .icon-wrap {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.info-item .icon-wrap svg { width: 21px; height: 21px; stroke: var(--olive); }
.info-item h4 { font-size: 15px; margin-bottom: 4px; }
.info-item p { font-size: 14px; margin-bottom: 0; }

/* Footer */
footer.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 26px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-grid h4 {
  color: var(--white);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: rgba(255,255,255,0.75); font-size: 14px; }
.footer-grid a:hover { color: var(--white); }
.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  background: var(--cream);
  border-radius: 12px;
  padding: 14px 20px;
}
.footer-logo-img { height: 64px; width: auto; display: block; }
.header-logo-img { height: 46px; width: auto; display: block; }
.footer-tagline { font-size: 13.5px; color: rgba(255,255,255,0.6); max-width: 260px; }
.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.compliance-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 26px;
}
.compliance-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}
.compliance-badge svg { width: 18px; height: 18px; stroke: #A9B78F; flex-shrink: 0; }
.compliance-badge-logo {
  background: var(--white);
  border-color: var(--white);
  padding: 6px 18px 6px 6px;
}
.cqc-logo-img { height: 32px; width: auto; display: block; border-radius: 4px; flex-shrink: 0; }
.compliance-badge-logo span { color: var(--navy); font-weight: 600; }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.badge-note {
  display: inline-block;
  background: var(--cream-dark);
  color: var(--text-soft);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-art { order: 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  nav.main-nav { display: none; }
  .menu-toggle { display: block; }
  .hero h1 { font-size: 32px; }
  section { padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-wrap { padding: 28px; }
}

nav.main-nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 20px 28px 26px 28px;
  gap: 18px;
  align-items: flex-start;
}

/* ============================================
   Photo placeholders — mark exactly what real
   photography/video should replace this spot.
   ============================================ */
.photo-placeholder {
  position: relative;
  width: 100%;
  border-radius: 6px;
  background: linear-gradient(135deg, #F1EBDD 0%, #E7DFCC 100%);
  border: 1.5px dashed #C9BFA8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #8a8168;
  padding: 28px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(60,45,20,0.14);
}
.photo-placeholder svg { width: 34px; height: 34px; stroke: #a89c78; margin-bottom: 12px; }

/* Shared tilt utilities (usable on any frame style) */
.photo-placeholder.tilt-left { transform: rotate(-1.6deg); }
.photo-placeholder.tilt-right { transform: rotate(1.6deg); }
.photo-placeholder.no-tilt { transform: none; }

/* ---- Frame style 1: Polaroid + washi tape (default look) ---- */
.photo-placeholder.frame-tape {
  transform: rotate(-1.4deg);
}
.photo-placeholder.frame-tape.tilt-right { transform: rotate(1.6deg); }
.photo-placeholder.frame-tape::before {
  content: '';
  position: absolute;
  top: -14px; left: 50%;
  width: 74px; height: 26px;
  background: rgba(101,117,74,0.35);
  border: 1px solid rgba(101,117,74,0.45);
  transform: translateX(-50%) rotate(-3deg);
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}
.photo-placeholder.frame-tape.tilt-right::before { transform: translateX(-50%) rotate(3deg); }

/* ---- Frame style 2: Pushpin, corkboard-style ---- */
.photo-placeholder.frame-pin {
  border-style: solid;
  border-width: 1px;
  border-color: #D8CEB4;
  transform: rotate(1.2deg);
}
.photo-placeholder.frame-pin.tilt-left { transform: rotate(-1.8deg); }
.photo-placeholder.frame-pin::before {
  content: '';
  position: absolute;
  top: 10px; left: 50%;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #C97B5C 0%, #A85539 70%);
  transform: translateX(-50%);
  box-shadow: 0 3px 5px rgba(0,0,0,0.3), inset 0 1px 1px rgba(255,255,255,0.4);
  z-index: 2;
}

/* ---- Frame style 3: Hung on the wall — string + nail ---- */
.photo-placeholder.frame-hung {
  border: 10px solid #FFFFFF;
  border-radius: 2px;
  box-shadow: 0 16px 28px rgba(60,45,20,0.18), 0 0 0 1px #E4DDCF;
  margin-top: 34px;
  overflow: visible;
}
.photo-placeholder.frame-hung::before {
  content: '';
  position: absolute;
  top: -34px; left: 50%;
  width: 2px; height: 36px;
  background: #8B7F5E;
  box-shadow: 0 0 0 0.5px rgba(255,255,255,0.5);
  transform: translateX(-22px) rotate(-14deg);
  transform-origin: top;
}
.photo-placeholder.frame-hung::after {
  content: '';
  position: absolute;
  top: -34px; left: 50%;
  width: 2px; height: 36px;
  background: #8B7F5E;
  box-shadow: 0 0 0 0.5px rgba(255,255,255,0.5);
  transform: translateX(22px) rotate(14deg);
  transform-origin: top;
}
.photo-placeholder.frame-hung .nail {
  position: absolute;
  top: -40px; left: 50%;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #9c9271 0%, #5f5640 75%);
  transform: translateX(-50%);
  box-shadow: 0 2px 3px rgba(0,0,0,0.35);
  z-index: 5;
}

/* ---- Frame style 4: Wood-effect gallery frame ---- */
.photo-placeholder.frame-wood {
  border: none;
  border-radius: 3px;
  padding: 16px;
  background: linear-gradient(160deg, #8C6A45 0%, #6E4F30 45%, #7C5B39 100%);
  box-shadow: 0 16px 32px rgba(60,45,20,0.22);
}
.photo-placeholder.frame-wood .frame-mat {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #F4EEE0 0%, #EAE2CC 100%);
  border: 1.5px dashed #C9BFA8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px;
  min-height: inherit;
}
.photo-placeholder.frame-wood .frame-mat svg { width: 30px; height: 30px; stroke: #a89c78; margin-bottom: 10px; }

/* ---- Frame style 5: Loose photo, deckled/torn edge, no border ---- */
.photo-placeholder.frame-torn {
  border: none;
  border-radius: 0;
  clip-path: polygon(1% 3%, 8% 0%, 22% 1.5%, 40% 0%, 58% 1.2%, 76% 0%, 92% 1.8%, 99% 0%, 100% 18%, 98.5% 38%, 100% 55%, 99% 74%, 100% 92%, 97% 100%, 80% 98.5%, 60% 100%, 42% 98.8%, 24% 100%, 8% 98.6%, 0% 100%, 1.5% 82%, 0% 62%, 1.8% 44%, 0% 26%);
  box-shadow: 0 10px 22px rgba(60,45,20,0.16);
  transform: rotate(-1deg);
}
.photo-placeholder.frame-torn.tilt-right { transform: rotate(1.4deg); }

/* ---- Real photo mode: fills any frame style above with an actual image ---- */
.photo-placeholder.has-photo {
  padding: 0;
  background: none;
  display: block;
}
.photo-placeholder.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}
.photo-placeholder.frame-tape.has-photo,
.photo-placeholder.frame-torn.has-photo {
  border: none;
}
.photo-placeholder.frame-wood.has-photo .frame-mat {
  padding: 10px;
  border: none;
  background: #fff;
  display: block;
}
.photo-placeholder.frame-wood.has-photo .frame-mat img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-photo.has-photo img { border-radius: 50%; }

/* ============================================
   Gallery wall — a cluster of mixed frames,
   arranged like photos on a real wall.
   ============================================ */
.gallery-wall {
  position: relative;
  width: 100%;
  height: 640px;
  margin: 0 auto;
}
.gallery-wall .photo-placeholder {
  position: absolute;
  padding: 20px;
}
.gallery-wall .photo-placeholder.has-photo {
  padding: 0;
}
.gallery-wall .photo-placeholder.frame-wood.has-photo .frame-mat {
  padding: 8px;
}
.gallery-wall .photo-placeholder .ph-label { font-size: 10.5px; }
.gallery-wall .photo-placeholder .ph-desc { font-size: 11px; max-width: 190px; }
.gallery-wall .photo-placeholder svg { width: 26px; height: 26px; margin-bottom: 8px; }

/* Top row */
.gf-1 { top: 10px; left: 0%; width: 17%; aspect-ratio: 4/5; z-index: 2; }
.gf-2 { top: 45px; left: 18%; width: 14%; aspect-ratio: 1/1; z-index: 3; }
.gf-3 { top: 0px; left: 33%; width: 16%; aspect-ratio: 4/3; z-index: 1; }
.gf-4 { top: 30px; left: 50%; width: 15%; aspect-ratio: 3/4; z-index: 2; }
.gf-5 { top: 5px; left: 66%; width: 17%; aspect-ratio: 4/3; z-index: 1; }
.gf-6 { top: 20px; left: 84%; width: 15%; aspect-ratio: 4/5; z-index: 2; }

/* Bottom row — offset to interlock with the top row */
.gf-7 { top: 290px; left: 6%; width: 13%; aspect-ratio: 1/1; z-index: 3; }
.gf-8 { top: 330px; left: 22%; width: 19%; aspect-ratio: 4/3; z-index: 1; }
.gf-9 { top: 300px; left: 44%; width: 14%; aspect-ratio: 1/1; z-index: 2; }
.gf-10 { top: 335px; left: 61%; width: 20%; aspect-ratio: 4/3; z-index: 1; }

.gallery-wall .leaf-accent {
  position: absolute;
  bottom: 20px; right: 0;
  width: 70px; height: 70px;
  z-index: 4;
  opacity: 0.9;
}

@media (max-width: 1024px) {
  .gf-1 { left: 0%; top: 10px; width: 21%; }
  .gf-2 { left: 21%; top: 55px; width: 17%; }
  .gf-3 { left: 39%; top: 0px; width: 19%; }
  .gf-5 { left: 59%; top: 15px; width: 20%; }
  .gf-6 { left: 79%; top: 30px; width: 19%; }
  .gallery-wall .photo-placeholder.gf-4,
  .gallery-wall .photo-placeholder.gf-7,
  .gallery-wall .photo-placeholder.gf-8,
  .gallery-wall .photo-placeholder.gf-9,
  .gallery-wall .photo-placeholder.gf-10 { display: none; }
  .gallery-wall { height: 340px; }
}

@media (max-width: 760px) {
  .gallery-wall { height: auto; }
  .gallery-wall .photo-placeholder { position: static; width: 100% !important; margin: 0 auto 46px auto; aspect-ratio: 4/3 !important; display: block !important; }
  .gallery-wall .leaf-accent { display: none; }
}
.photo-placeholder .ph-label {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
  color: #786f56;
  margin-bottom: 6px;
}
.photo-placeholder .ph-desc {
  font-size: 12.5px;
  color: #948a6f;
  max-width: 260px;
  line-height: 1.5;
}
.photo-placeholder.ratio-16-9 { aspect-ratio: 16/9; }
.photo-placeholder.ratio-4-3 { aspect-ratio: 4/3; }
.photo-placeholder.ratio-1-1 { aspect-ratio: 1/1; }
.photo-placeholder.ratio-3-4 { aspect-ratio: 3/4; }
.photo-placeholder.ratio-21-9 { aspect-ratio: 21/9; }

/* Full-width photo band */
.photo-band { padding: 0; }
.photo-band .photo-placeholder {
  border-radius: 0;
  border-left: none;
  border-right: none;
  min-height: 420px;
  transform: none;
  box-shadow: none;
}
.photo-band .photo-placeholder::before { display: none; }

/* ============================================
   Stats band
   ============================================ */
.stats-band {
  background: var(--navy);
  padding: 56px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-num {
  font-family: 'Jost', sans-serif;
  font-size: 40px;
  font-weight: 500;
  color: var(--white);
  line-height: 1;
}
.stat-num .script-plus { font-family: 'Pinyon Script', cursive; font-size: 28px; color: #a9b78f; }
.stat-label {
  font-size: 12.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-top: 10px;
}

/* ============================================
   Process steps
   ============================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}
.process-step { text-align: center; position: relative; }
.process-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--olive);
  color: var(--navy);
  font-family: 'Jost', sans-serif;
  font-size: 20px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px auto;
  position: relative;
  z-index: 2;
}
.process-step h4 { font-size: 16px; margin-bottom: 8px; }
.process-step p { font-size: 13.5px; margin-bottom: 0; }
.process-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: var(--border);
  z-index: 1;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
}
.testimonial-quote-mark {
  font-family: 'Pinyon Script', cursive;
  font-size: 54px;
  color: var(--olive);
  line-height: 0.5;
  display: block;
  margin-bottom: 14px;
}
.testimonial-card p.quote {
  font-size: 15px;
  color: var(--text);
  font-style: italic;
  margin-bottom: 20px;
}
.testimonial-attr { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--cream-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.testimonial-avatar svg { width: 18px; height: 18px; stroke: var(--olive); }
.testimonial-name { font-size: 13.5px; font-weight: 500; color: var(--navy); }
.testimonial-role { font-size: 12px; color: var(--text-soft); }

/* ============================================
   Team
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.team-card { text-align: center; }
.team-photo {
  border-radius: 50% !important;
  width: 100%;
  max-width: 180px;
  margin: 0 auto 18px auto;
  aspect-ratio: 1/1;
  transform: none !important;
  box-shadow: 0 8px 20px rgba(60,45,20,0.12) !important;
}
.team-photo::before { display: none; }
.team-name { font-size: 16px; color: var(--navy); margin-bottom: 3px; font-weight: 500; }
.team-role { font-size: 12.5px; color: var(--olive); letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 10px; }
.team-bio { font-size: 13.5px; color: var(--text-soft); margin-bottom: 0; }

/* ============================================
   FAQ accordion (native <details>)
   ============================================ */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 500;
  color: var(--navy);
  font-size: 15px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  stroke: var(--olive);
  transition: transform 0.2s ease;
}
.faq-item[open] summary .faq-icon { transform: rotate(45deg); }
.faq-item .faq-answer {
  padding: 0 24px 22px 24px;
  font-size: 14.5px;
  color: var(--text-soft);
}
.faq-item .faq-answer p { margin: 0; color: var(--text-soft); }

/* ============================================
   Careers / join-us band
   ============================================ */
.careers-band {
  background: var(--cream-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.careers-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* ============================================
   Referral page — reassurance components
   ============================================ */
.who-refer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.who-refer-card {
  text-align: center;
  padding: 8px;
}
.who-refer-card .icon-wrap {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px auto;
}
.who-refer-card .icon-wrap svg { width: 26px; height: 26px; stroke: var(--olive); }
.who-refer-card h4 { font-size: 15.5px; margin-bottom: 6px; }
.who-refer-card p { font-size: 13px; margin-bottom: 0; }

.promise-panel {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 44px;
  box-shadow: var(--shadow);
}
.promise-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 32px; }
.promise-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: var(--text);
}
.promise-list .leaf-icon { flex-shrink: 0; margin-top: 2px; }
.promise-list .leaf-icon svg { width: 20px; height: 20px; stroke: var(--olive); }

.safeguard-panel {
  background: var(--cream-dark);
  border-left: 4px solid var(--olive);
  border-radius: 6px;
  padding: 34px 38px;
}
.safeguard-panel h3 { margin-bottom: 12px; }
.safeguard-panel p:last-child { margin-bottom: 0; }

.featured-quote {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.featured-quote .quote-mark {
  font-family: 'Pinyon Script', cursive;
  font-size: 70px;
  color: var(--olive);
  display: block;
  line-height: 0.4;
  margin-bottom: 20px;
}
.featured-quote p.quote {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 20px;
}
.featured-quote .attribution { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-soft); }

.reassure-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.reassure-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 13.5px;
  color: var(--navy);
  font-weight: 500;
}
.reassure-pill svg { width: 16px; height: 16px; stroke: var(--olive); }

/* Responsive additions */
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .process-grid::before { display: none; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
  .careers-inner { grid-template-columns: 1fr; gap: 30px; }
  .who-refer-grid { grid-template-columns: 1fr 1fr; }
  .promise-list { grid-template-columns: 1fr; }
  .promise-panel { padding: 32px 26px; }
  .safeguard-panel { padding: 28px 26px; }
}
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
