/* Fur Kids Home Sitters - site styles
   Mobile first. Brand: harbour blue, sunset orange, ember, warm sand, ink.
   Headings: Fredoka. Text: Nunito. */

:root {
  --blue: #17496B;
  --blue-dark: #0E324B;
  --orange: #F4902E;
  --ember: #B4560E;
  --sand: #FBF1E4;
  --sand-deep: #F5E3CC;
  --ink: #1C2B36;
  --muted: #4E5F6B;
  --white: #FFFFFF;
  --line: #E8D9C4;
  --ok: #2F7D4F;
  --error: #B3261E;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 6px 24px rgba(23, 73, 107, 0.10);
  --max: 1120px;
  --gutter: 16px;

  --font-head: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  color: var(--blue);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2rem, 7vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 5vw, 2.25rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--ember); }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--blue); color: var(--white); padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

.eyebrow {
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--ember);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin-bottom: 0.4em;
}
.lead { font-size: 1.15rem; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; min-height: 64px;
}
.brand img { width: 160px; height: auto; }
.nav-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 1rem var(--font-head); color: var(--blue);
  background: var(--sand); border: 0; border-radius: 999px;
  padding: 10px 16px; cursor: pointer; min-height: 44px;
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
}
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }

.site-nav { display: none; }
.site-nav.open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  padding: 8px var(--gutter) 16px;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: 12px 4px; text-decoration: none;
  font-family: var(--font-head); font-weight: 500; font-size: 1.1rem; color: var(--ink);
  border-bottom: 1px solid var(--sand-deep);
}
.site-nav a[aria-current="page"] { color: var(--ember); }
.site-nav .nav-cta { margin-top: 12px; display: grid; gap: 10px; }
.site-nav .nav-cta a { border: 0; }

@media (min-width: 960px) {
  .brand img { width: 190px; }
  .nav-toggle { display: none; }
  .site-nav, .site-nav.open {
    display: flex; position: static; box-shadow: none; border: 0; padding: 0; align-items: center; gap: 18px;
  }
  .site-nav ul { display: flex; gap: 2px; }
  .site-nav a { border: 0; padding: 8px 10px; font-size: 1rem; }
  .site-nav .nav-cta { margin: 0; display: flex; gap: 8px; }
  .site-nav .nav-cta a { padding: 10px 18px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  text-decoration: none; text-align: center;
  padding: 14px 24px; min-height: 48px; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .12s ease, background-color .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: #e88219; color: var(--ink); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-whatsapp { background: #1F8F4E; color: var(--white); }
.btn-whatsapp:hover { background: #18723E; color: var(--white); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row .btn { flex: 1 1 200px; }
@media (min-width: 640px) { .btn-row .btn { flex: 0 0 auto; } }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-sand { background: var(--sand); }
.section-blue { background: var(--blue); color: var(--white); }
.section-blue h2, .section-blue h3 { color: var(--white); }
.section-blue .eyebrow { color: var(--orange); }
.section-blue a { color: var(--white); }
.section-head { max-width: 680px; margin-bottom: 28px; }
@media (min-width: 960px) { .section { padding: 84px 0; } }

/* ---------- Hero ---------- */
.hero { background: var(--sand); padding: 36px 0 48px; overflow: hidden; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero h1 span { color: var(--ember); }
.hero .lead { color: var(--ink); }
.hero-art { position: relative; max-width: 360px; margin: 0 auto; }
.hero-art .blob {
  position: absolute; inset: 8% 4% 0; background: var(--white); border-radius: 46% 54% 50% 50% / 55% 50% 50% 45%;
}
.hero-art img { position: relative; width: 100%; }
.hero-points { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.hero-points li::before {
  content: ""; flex: 0 0 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
@media (min-width: 860px) {
  .hero { padding: 72px 0 80px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 48px; }
  .hero-art { max-width: 420px; }
}

.page-hero { background: var(--sand); padding: 40px 0 36px; }
.page-hero p { max-width: 640px; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 640px) and (max-width: 899px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.section-sand .card { border-color: transparent; }
.card h3 { margin-bottom: 0.35em; }
.card p:last-child { margin-bottom: 0; }

.icon-badge {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: var(--sand); color: var(--blue); margin-bottom: 14px;
}
.section-sand .icon-badge { background: var(--sand-deep); }
.icon-badge svg { width: 28px; height: 28px; }
.icon-badge.orange { background: #FDE6CF; color: var(--ember); }

.price-card { display: flex; flex-direction: column; }
.price-card .price {
  font-family: var(--font-head); font-weight: 600; font-size: 1.9rem; color: var(--ember); line-height: 1.1;
  margin: 6px 0 4px;
}
.price-card .unit { color: var(--muted); font-size: 0.95rem; margin-bottom: 14px; }
.price-card ul { padding-left: 1.1em; margin: 0 0 18px; }
.price-card .btn { margin-top: auto; }
.price-card.featured { border: 2px solid var(--orange); }
.tag {
  display: inline-block; font: 600 0.78rem var(--font-head); letter-spacing: .04em; text-transform: uppercase;
  background: var(--orange); color: var(--ink); padding: 4px 10px; border-radius: 999px; margin-bottom: 8px;
  align-self: flex-start;
}

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: step; }
.steps li { position: relative; padding-left: 62px; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; font: 600 1.25rem var(--font-head);
  background: var(--orange); color: var(--ink);
}
.steps h3 { margin-bottom: 0.2em; font-size: 1.2rem; }
.steps p { margin: 0; }
@media (min-width: 900px) {
  .steps.horizontal { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .steps.horizontal li { padding: 62px 0 0; }
}

/* Suburb chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li {
  background: var(--white); border: 2px solid var(--blue); color: var(--blue);
  border-radius: 999px; padding: 8px 16px; font: 500 1rem var(--font-head);
}
.section-blue .chips li { background: transparent; border-color: rgba(255,255,255,.6); color: var(--white); }

/* Checklist */
.ticks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231C2B36' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* Split CTA */
.split { display: grid; gap: 18px; }
@media (min-width: 760px) { .split { grid-template-columns: 1fr 1fr; } }
.cta-panel { border-radius: var(--radius); padding: 28px 24px; }
.cta-panel.blue { background: var(--blue); color: var(--white); }
.cta-panel.blue h2, .cta-panel.blue h3 { color: var(--white); }
.cta-panel.orange { background: var(--orange); color: var(--ink); }
.cta-panel.orange h2, .cta-panel.orange h3 { color: var(--ink); }

/* FAQ */
.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 4px 18px; margin-bottom: 10px;
}
.faq summary {
  cursor: pointer; font: 600 1.08rem var(--font-head); color: var(--blue); padding: 12px 0; list-style: none;
  display: flex; justify-content: space-between; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ember); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-bottom: 14px; }

/* Table */
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; background: var(--white); min-width: 480px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--font-head); font-weight: 600; color: var(--blue); background: var(--sand); }
tr:last-child td { border-bottom: 0; }

/* Note */
.note {
  background: #FDE6CF; border-left: 5px solid var(--orange); border-radius: var(--radius-sm);
  padding: 14px 16px; margin: 18px 0;
}
.note p:last-child { margin: 0; }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border-radius: var(--radius); padding: 22px 18px; box-shadow: var(--shadow); }
@media (min-width: 640px) { .form-card { padding: 32px; } }
fieldset { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
legend {
  font: 600 1.25rem var(--font-head); color: var(--blue); margin-bottom: 12px; padding: 0;
}
.field { margin-bottom: 16px; }
.field label, .field .label {
  display: block; font-weight: 700; margin-bottom: 6px;
}
.field .hint { display: block; font-weight: 400; color: var(--muted); font-size: 0.92rem; margin-top: -2px; margin-bottom: 6px; }
.req { color: var(--ember); }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="number"], select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 12px 14px; min-height: 48px; border: 2px solid #D5C6B1; border-radius: var(--radius-sm);
  background: var(--white);
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(244, 144, 46, .35); }
.field-row { display: grid; gap: 0 14px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }

.options { display: grid; gap: 10px; }
.options.cols-2 { grid-template-columns: 1fr 1fr; }
.option {
  display: flex; gap: 12px; align-items: flex-start; cursor: pointer;
  border: 2px solid #E3D5C1; border-radius: var(--radius-sm); padding: 12px 14px; background: var(--white);
}
.option:has(input:checked) { border-color: var(--blue); background: #EEF4F8; }
.option input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); flex: 0 0 auto; }
.option strong { display: block; font-family: var(--font-head); font-weight: 600; color: var(--blue); }
.option span { font-size: 0.93rem; color: var(--muted); }
.option.compact { padding: 10px 12px; align-items: center; line-height: 1.3; }
.option.compact input { margin: 0; }

.consent { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.consent input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--blue); flex: 0 0 auto; }

.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin-top: 16px; border-radius: var(--radius-sm); padding: 14px 16px; display: none; }
.form-status.show { display: block; }
.form-status.error { background: #FCE8E6; color: var(--error); }
.form-status.info { background: #FDE6CF; color: var(--ink); }

.form-success { text-align: center; padding: 18px 0; }
.form-success .icon-badge { margin: 0 auto 14px; width: 64px; height: 64px; background: #E3F1E8; color: var(--ok); }
.form-success[hidden] { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #D9E2E8; padding: 48px 0 28px; font-size: 0.97rem; }
.site-footer a { color: #FFFFFF; text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h4 { color: var(--orange); font-size: 1.05rem; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-logo { width: 190px; margin-bottom: 12px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px;
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; color: #A9B7C1; font-size: 0.88rem;
}

/* Floating WhatsApp on phones */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%; background: #1F8F4E; color: #fff;
  display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { color: #fff; background: #18723E; }

.hidden { display: none !important; }
