/* Providential Fijian Home Care — redesign
   Palette: deep jade ink, warm sand paper, ochre-gold accent (sun/tapa), soft coral for warmth cues.
   Type: Fraunces (display serif, warm/editorial) + Public Sans (body, clean/humanist). */

:root {
  --ink: #16241f;
  --ink-soft: #47564f;
  --ink-faint: #7c8a82;
  --paper: #f1ecde;
  --surface: #fffdf7;
  --surface-sunk: #e9e2cd;
  --hairline: #ded2ad;
  --hairline-soft: #e7ddc0;

  --jade: #0f5c4c;
  --jade-deep: #0a4038;
  --jade-tint: #e3ede9;

  --gold: #c08a34;
  --gold-deep: #96691f;
  --gold-tint: #f6ecd6;

  --coral: #c85a3f;
  --coral-tint: #f7e5df;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(22,36,31,0.06), 0 1px 1px rgba(22,36,31,0.04);
  --shadow-md: 0 8px 24px rgba(22,36,31,0.10), 0 2px 6px rgba(22,36,31,0.06);
  --shadow-lg: 0 24px 60px rgba(22,36,31,0.16), 0 6px 16px rgba(22,36,31,0.08);

  --container: 1180px;
  --container-narrow: 760px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; } }

html { overflow-x: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 4.2vw, 3.8rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); letter-spacing: -0.008em; }
h3 { font-size: clamp(1.3rem, 1.6vw, 1.55rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { margin: 0 0 1rem; color: var(--ink-soft); max-width: 62ch; }
p.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 56ch; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 28px; }

section { padding: 88px 0; }
section.tight { padding: 56px 0; }
@media (max-width: 720px) {
  section { padding: 56px 0; }
  section.tight { padding: 36px 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Public Sans", sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--jade);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold); display: inline-block; border-radius: 2px; }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: "Public Sans", sans-serif;
  font-weight: 700;
  font-size: 15.5px;
  padding: 15px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
  min-height: 44px;
  line-height: 1;
}
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--jade); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--jade-deep); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #241705; box-shadow: var(--shadow-sm); }
.btn-gold:hover { background: var(--gold-deep); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--hairline); }
.btn-ghost:hover { border-color: var(--jade); color: var(--jade); }
.btn-on-dark { background: #fff; color: var(--jade-deep); }
.btn-on-dark:hover { background: var(--gold-tint); }
.btn-outline-on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-outline-on-dark:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 14px; min-height: 38px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(241,236,222,0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--hairline-soft);
}
.site-header .row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand img { height: 42px; width: auto; }
.brand-word { font-family: "Fraunces", serif; font-weight: 600; font-size: 1.2rem; color: var(--ink); line-height: 1.1; }
.brand-word small { display: block; font-family: "Public Sans", sans-serif; font-weight: 700; font-size: 10.5px; letter-spacing: 0.14em; color: var(--jade); text-transform: uppercase; }

nav.main-nav { display: flex; align-items: center; gap: 30px; }
nav.main-nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-soft); padding: 6px 2px; position: relative; }
nav.main-nav a:hover, nav.main-nav a[aria-current="page"] { color: var(--jade); }
nav.main-nav a[aria-current="page"]::after { content:""; position:absolute; left:0; right:0; bottom:-6px; height:2px; background:var(--gold); border-radius:2px; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.nav-toggle svg { width: 26px; height: 26px; color: var(--ink); }
.nav-toggle .icon-close { display: none; }
.nav-toggle.open .icon-menu { display: none; }
.nav-toggle.open .icon-close { display: block; }

@media (max-width: 940px) {
  body.nav-open { overflow: hidden; }
  nav.main-nav {
    position: fixed; top: 71px; left: 0; width: 100vw; height: calc(100vh - 71px);
    background: var(--surface); flex-direction: column; align-items: flex-start; padding: 24px 28px; gap: 4px;
    transform: translateX(100%); transition: transform 220ms ease; overflow-y: auto;
  }
  nav.main-nav.open { transform: translateX(0); }
  nav.main-nav a { width: 100%; padding: 13px 0; border-bottom: 1px solid var(--hairline-soft); font-size: 17px; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn span.long { display: none; }
}

/* hero */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero .hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero .hero-scrim { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,29,24,0.94) 0%, rgba(10,29,24,0.82) 38%, rgba(15,45,38,0.45) 72%, rgba(15,45,38,0.25) 100%); }
.hero .container { position: relative; z-index: 2; }
.hero .kicker { color: var(--gold-tint); }
.hero h1 { color: #fff; max-width: 15ch; }
.hero p.lede { color: rgba(255,255,255,0.86); }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero .trust-strip { margin-top: 54px; display: flex; gap: 34px; flex-wrap: wrap; }
.hero .trust-item { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.92); }
.hero .trust-item svg { width: 20px; height: 20px; color: var(--gold); flex: none; }

.page-hero { background: var(--jade-deep); color: #fff; padding: 76px 0 60px; position: relative; overflow: hidden; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; }
.page-hero p.lede { color: rgba(255,255,255,0.85); }
.page-hero .breadcrumb { font-size: 13px; color: rgba(255,255,255,0.65); margin-bottom: 18px; display:flex; gap:8px; align-items:center; }
.page-hero .breadcrumb a { color: rgba(255,255,255,0.85); text-decoration: none; }
.page-hero .breadcrumb a:hover { text-decoration: underline; }

/* motif divider */
.motif { height: 14px; background-repeat: repeat-x; background-size: 28px 14px; opacity: 0.9; }
.motif-gold { background-image: linear-gradient(135deg, var(--gold) 25%, transparent 25%), linear-gradient(-135deg, var(--gold) 25%, transparent 25%); background-position: 0 0, 14px 0; }

/* cards & grids */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 940px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 200ms ease, transform 200ms ease;
}
.card.hoverable:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card .icon-badge { width: 52px; height: 52px; border-radius: 14px; background: var(--jade-tint); color: var(--jade); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card .icon-badge svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; font-size: 15px; }
.card-row { min-width: 0; }
.card-row > div:last-child { min-width: 0; }
.card .card-link { display:inline-flex; align-items:center; gap:6px; margin-top:14px; font-weight:700; font-size:14px; color:var(--jade); text-decoration:none; }
.card a.card-link:hover { color: var(--jade-deep); text-decoration: underline; }
.card .card-link svg { width:15px; height:15px; flex: none; }

.badge { display: inline-flex; align-items: center; gap: 7px; background: var(--gold-tint); color: var(--gold-deep); font-weight: 700; font-size: 13px; padding: 7px 14px; border-radius: 999px; }
.badge svg { width: 15px; height: 15px; }
.badge.on-dark { background: rgba(255,255,255,0.12); color: #fff; }

/* sections */
.section-head { max-width: 640px; margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.bg-jade { background: var(--jade-deep); color: #fff; }
.bg-jade h2, .bg-jade h3 { color: #fff; }
.bg-jade p { color: rgba(255,255,255,0.82); }
/* cards keep their own light surface even inside a dark section, so their text must not inherit the dark-section overrides above */
.bg-jade .card h3 { color: var(--ink); }
.bg-jade .card p { color: var(--ink-soft); }
.bg-surface { background: var(--surface); }
.bg-sunk { background: var(--surface-sunk); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 34px; } }
.media-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame::after { content: ""; position:absolute; inset:0; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15); border-radius: inherit; pointer-events:none; }

.stat-row { display:flex; gap: 40px; flex-wrap: wrap; margin-top: 8px; }
.stat { }
.stat .n { font-family:"Fraunces", serif; font-size: 2.3rem; color: var(--jade); font-weight:600; }
.stat .l { font-size: 13px; color: var(--ink-soft); font-weight:600; text-transform: uppercase; letter-spacing: 0.05em; }

/* list styles */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink-soft); }
.check-list svg { width: 20px; height: 20px; color: var(--jade); flex: none; margin-top: 2px; }

/* team */
.team-card { text-align: center; }
.team-photo { width: 132px; height: 132px; border-radius: 50%; margin: 0 auto 18px; background: var(--jade-tint); display:flex; align-items:center; justify-content:center; color: var(--jade); border: 3px solid var(--surface); box-shadow: var(--shadow-sm); overflow:hidden; }
.team-photo svg { width: 54px; height: 54px; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.team-card h3 { font-size: 1.05rem; margin-bottom: 2px; }
.team-card .role { color: var(--gold-deep); font-weight: 700; font-size: 13px; letter-spacing: 0.03em; text-transform: uppercase; margin-bottom: 8px; }

/* testimonial */
.quote-card { background: var(--surface); border-radius: var(--radius); padding: 30px; border: 1px solid var(--hairline-soft); box-shadow: var(--shadow-sm); }
.stars { color: var(--gold); display:flex; align-items:center; gap:3px; }
.stars svg { width:16px; height:16px; flex: none; }
.quote-card .stars { margin-bottom: 14px; }
.stars-summary { justify-content: center; gap: 8px; }
.stars-summary svg { width: 44px; height: 44px; }
.quote-card p { font-size: 15.5px; color: var(--ink); font-style: italic; }
.quote-card .who { font-weight: 700; font-size: 14px; color: var(--ink-soft); margin-top: 10px; font-style: normal; }

/* placeholder image block (used where real photography is pending) */
.photo-placeholder {
  background: linear-gradient(155deg, var(--jade-tint), var(--gold-tint));
  border: 1px dashed var(--hairline);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--jade-deep); gap: 10px; padding: 40px 20px; text-align: center; min-height: 220px;
}
.photo-placeholder svg { width: 40px; height: 40px; opacity: 0.7; }
.photo-placeholder span { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.75; }

/* forms */
.form-card { background: var(--surface); border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow-md); border: 1px solid var(--hairline-soft); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 7px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--hairline);
  font-family: inherit; font-size: 15.5px; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--jade); box-shadow: 0 0 0 3px var(--jade-tint); }
.form-status-error { background: var(--coral-tint); color: var(--coral); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 14.5px; font-weight: 600; margin-bottom: 18px; }
.form-success { background: var(--surface); border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow-md); border: 1px solid var(--hairline-soft); text-align: center; }
.form-success h3 { color: var(--jade-deep); margin-bottom: 10px; }
.form-success p { margin-bottom: 0; }
.form-success a { color: var(--jade); font-weight: 700; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.hint { font-size: 12.5px; color: var(--ink-faint); margin-top: 6px; }

/* CTA banner */
.cta-banner { background: var(--jade-deep); border-radius: var(--radius-lg); padding: 54px 46px; color: #fff; display:flex; align-items:center; justify-content:space-between; gap: 30px; flex-wrap:wrap; position: relative; overflow: hidden; }
.cta-banner h2 { color:#fff; }
.cta-banner p { color: rgba(255,255,255,0.82); margin-bottom: 0; }

/* footer */
footer.site-footer { background: var(--ink); color: rgba(255,255,255,0.72); padding: 70px 0 26px; }
footer.site-footer h4 { color: #fff; font-family: "Public Sans", sans-serif; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; }
footer.site-footer a { color: rgba(255,255,255,0.72); text-decoration: none; font-size: 14.5px; }
footer.site-footer a:hover { color: #fff; text-decoration: underline; }
footer.site-footer .foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 860px) { footer.site-footer .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { footer.site-footer .foot-grid { grid-template-columns: 1fr; } }
footer.site-footer ul { list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.license-badge { display:inline-flex; align-items:center; gap:8px; padding: 9px 14px; border-radius: 999px; font-size: 12.5px; font-weight:700; }
.license-badge svg { width: 15px; height:15px; flex: none; }
.license-badge.sm { padding: 6px 11px; font-size: 10.5px; gap: 6px; }
.license-badge.sm svg { width: 12px; height: 12px; }
footer.site-footer .license-badge { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85); margin-top: 14px; }
footer.site-footer .license-badge svg { color: var(--gold); }
footer.site-footer .foot-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 54px; padding-top: 22px; display:flex; justify-content:space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: rgba(255,255,255,0.5); }
footer.site-footer .social-row { display:flex; gap: 12px; margin-top: 16px; }
footer.site-footer .social-row a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display:flex; align-items:center; justify-content:center; }
footer.site-footer .social-row svg { width: 17px; height: 17px; }

.skip-link { position:absolute; left:-999px; top:0; background:var(--jade); color:#fff; padding:12px 18px; z-index:100; border-radius: 0 0 8px 0; }
.skip-link:focus { left:0; }

.demo-note { background: var(--coral-tint); border: 1px solid #e3b8a7; color: #7a3420; border-radius: var(--radius-sm); padding: 12px 16px; font-size: 13.5px; margin-bottom: 26px; display:flex; gap:10px; align-items:flex-start; }
.demo-note svg { width:18px; height:18px; flex:none; margin-top:1px; }
