@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --orange: #E8672B;
  --orange-dark: #C94F1A;
  --orange-light: #FFB088;
  --cream: #FFF8F3;
  --ink: #2B231D;
  --ink-soft: #6B5D53;
  --line: #F0DFD3;
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Wave canvas ---------- */
.wave-stage {
  position: relative;
  overflow: hidden;
}
.wave-stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.wave-stage .wrap { position: relative; z-index: 1; }

/* ---------- Nav ---------- */
header.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 243, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 2.1rem;
  display: flex;
  align-items: center;
  gap: 2px;
}
.logo .star-group {
  display: flex;
  align-items: center;
  position: relative;
  width: 0.62em;
  height: 0.62em;
  margin-right: 0.06em;
}
.logo .star-big {
  width: 100%;
  height: 100%;
}
.logo .star-big path { fill: var(--orange); }
.logo .star-small {
  position: absolute;
  width: 34%;
  height: 34%;
  top: -22%;
  left: 46%;
}
.logo .star-small path { fill: #F2A73B; }
.logo .hey { font-family: 'Pacifico', cursive; color: var(--orange); }
.logo .lea { font-family: 'Poppins', sans-serif; font-weight: 600; color: var(--ink); margin-left: -0.1em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
  font-size: 0.9rem;
}
.nav-text-links {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-links a {
  color: var(--ink-soft);
  transition: color 0.2s;
  padding: 6px 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--orange); }

.btn-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: fit-content;
  background: var(--orange);
  color: #ffffff !important;
  padding: 18px 34px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(232, 103, 43, 0.35);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  border: none;
  cursor: pointer;
  color-scheme: light;
  forced-color-adjust: none;
  -webkit-text-fill-color: #ffffff;
  flex-shrink: 0;
}
.btn-call:visited,
.btn-call:link,
.btn-call:hover,
.btn-call:active {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
}
.btn-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(232, 103, 43, 0.45);
  background: var(--orange-dark);
}
.btn-call svg { width: 20px; height: 20px; fill: #ffffff !important; flex-shrink: 0; }

/* Nav bar is tighter on space than the hero — scale the call button down
   here specifically so it (and the rest of the nav) has room to breathe
   now that there are 6 nav links instead of 5. The hero version of this
   same button (.btn-call outside the nav) is untouched. */
.nav-links .btn-call {
  padding: 10px 18px;
  font-size: 0.9rem;
  gap: 6px;
}
.nav-links .btn-call svg { width: 15px; height: 15px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin: -8px;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; stroke: var(--ink); }

/* Raised from 720px to 1000px: with 6 nav links + Get Started + Call Now,
   even the trimmed desktop nav runs out of room on narrower laptop
   windows well above phone width. Collapsing to the hamburger here
   guarantees the row never overflows — logo and Call Now stay visible,
   the rest tuck behind the menu button, same pattern as mobile. */
@media (max-width: 1000px) {
  .nav-text-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
    box-shadow: 0 12px 24px rgba(43, 35, 29, 0.08);
    max-height: 80vh;
    overflow-y: auto;
  }
  .nav-text-links.mobile-open { display: flex; }
  .nav-text-links a { width: 100%; padding: 10px 0; }
  .nav-toggle { display: flex; }
  .nav-inner { gap: 10px; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 90px 0 110px;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--orange-dark);
  background: #FFE7D9;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
h1.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.08;
  margin: 0 0 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1.hero-title .script {
  font-family: 'Pacifico', cursive;
  color: var(--orange);
  font-weight: 400;
  display: block;
  font-size: 1.05em;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--orange);
  color: var(--orange-dark);
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 0.15s;
}
.btn-ghost:hover { background: #FFE7D9; }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-alt { background: #FFF1E7; }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin: 0 0 14px;
  font-weight: 700;
}
.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}

/* bubble cards */
.bubble-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.bubble {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 26px;
  border: 1px solid var(--line);
  transition: transform 0.2s, box-shadow 0.2s;
}
.bubble:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(232, 103, 43, 0.12);
}
.bubble-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #FFE7D9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--orange-dark);
}
.bubble h3 {
  font-size: 1.12rem;
  margin: 0 0 8px;
  font-weight: 600;
}
.bubble p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* timeline / how it works steps */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
  margin: 0 auto;
}
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  padding-bottom: 44px;
  position: relative;
}
.step:last-child { padding-bottom: 0; }
.step-marker {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 56px;
  bottom: -44px;
  width: 2px;
  background: var(--line);
}
.step-body h3 {
  margin: 8px 0 8px;
  font-size: 1.2rem;
  font-weight: 600;
}
.step-body p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* quote / slogan band */
.slogan-band {
  text-align: center;
  padding: 70px 0;
}
.slogan-band p {
  font-family: 'Pacifico', cursive;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--orange-dark);
  margin: 0;
  line-height: 1.4;
}

/* FAQ accordion */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 16px;
}
.faq-q .plus {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #FFE7D9;
  color: var(--orange-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: transform 0.25s;
}
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 24px 20px;
}
.faq-a p { margin: 0; color: var(--ink-soft); line-height: 1.65; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
}
.contact-card h3 { margin: 0 0 6px; font-size: 1.3rem; }
.contact-card p { color: var(--ink-soft); margin: 0 0 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--cream);
  transition: border-color 0.2s;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orange);
}
.field textarea { resize: vertical; min-height: 110px; }
.btn-submit {
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.btn-submit:hover { background: var(--orange-dark); transform: translateY(-2px); }

.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.direct-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
}
.direct-item .icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: #FFE7D9; color: var(--orange-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.direct-item h4 { margin: 0 0 4px; font-size: 1rem; }
.direct-item p, .direct-item a { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }
.direct-item a:hover { color: var(--orange-dark); }

/* Enquiry box (home page) */
.enquire-card {
  max-width: 620px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 20px 50px rgba(232, 103, 43, 0.10);
}
.enquire-card .field:last-of-type { margin-bottom: 22px; }
.form-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 14px;
}
.form-success {
  display: none;
  text-align: center;
  padding: 30px 10px;
}
.form-success.show { display: block; }
.form-success p { color: var(--ink-soft); margin-top: 6px; }

/* Email notification preview */
.email-preview {
  max-width: 620px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(232, 103, 43, 0.14);
  background: #fff;
}
.email-preview-header {
  background: var(--orange);
  color: #fff;
  padding: 26px 30px;
}
.email-preview-header .title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.1rem;
}
.email-preview-header .title svg { width: 18px; height: 18px; fill: #fff; flex-shrink: 0; }
.email-preview-header .sub { opacity: 0.85; font-size: 0.85rem; margin-top: 4px; }
.email-preview-body { padding: 28px 30px 30px; }
.email-section-label {
  color: var(--orange-dark);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 24px 0 8px;
}
.email-section-label:first-child { margin-top: 0; }
.email-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.email-row:last-of-type { border-bottom: none; }
.email-row .label { color: var(--ink-soft); flex-shrink: 0; width: 42%; }
.email-row .value { color: var(--ink); text-align: right; font-weight: 500; }
.email-summary {
  background: #FFF1E7;
  border: 1px solid #F0C9A8;
  border-radius: 12px;
  padding: 18px 20px;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink);
}
.email-transcript-toggle-wrap { margin-top: 18px; text-align: center; }
.email-transcript-btn {
  background: none;
  border: 1.5px solid var(--orange);
  color: var(--orange-dark);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 9px 20px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
}
.email-transcript-btn:hover { background: #FFE7D9; }
.email-transcript {
  background: var(--cream);
  border-radius: 12px;
  padding: 0 20px;
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--ink-soft);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  margin-top: 0;
}
.email-transcript.open { max-height: 900px; padding: 18px 20px; margin-top: 14px; }
.email-transcript p { margin: 0 0 10px; }
.email-transcript p:last-child { margin-bottom: 0; }
.email-transcript .speaker { font-weight: 600; color: var(--ink); }
.email-attachment {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 12px 16px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.email-attachment svg { flex-shrink: 0; color: var(--orange-dark); }

/* Get started / discovery survey */
.discovery-card {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
}
.discovery-card h3 { margin: 0 0 6px; font-size: 1.3rem; }
.discovery-card > p { color: var(--ink-soft); margin: 0 0 8px; }

.form-section {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.form-section:first-of-type { padding-top: 20px; }
.form-section:last-of-type { border-bottom: none; padding-bottom: 0; }
.form-section h4 {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 16px;
  padding-left: 12px;
  border-left: 3px solid var(--orange);
}

.field-hint {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 4px;
}

.field-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}
.field-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  font-size: 0.92rem;
  color: var(--ink);
  cursor: pointer;
}
.field-options input[type="radio"],
.field-options input[type="checkbox"] {
  accent-color: var(--orange);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.88rem;
}
footer .logo { justify-content: center; margin-bottom: 10px; font-size: 1.3rem; }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--orange-dark);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* ---------- Legal pages ---------- */
.legal-content { max-width: 760px; margin: 0 auto; padding: 60px 24px 90px; }
.legal-content h1 { font-size: 2.2rem; margin-bottom: 6px; font-weight: 700; }
.legal-content .updated { color: var(--ink-soft); font-size: 0.85rem; margin-bottom: 36px; }
.legal-content h2 { font-size: 1.2rem; color: var(--orange-dark); margin-top: 38px; margin-bottom: 10px; font-weight: 600; }
.legal-content p { margin: 0 0 14px; line-height: 1.65; }
.legal-content ul { margin: 0 0 14px; padding-left: 20px; }
.legal-content li { margin-bottom: 6px; line-height: 1.6; }
.legal-content .note {
  background: #FFF1E7;
  border-left: 3px solid var(--orange);
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 18px 0 24px;
}
footer .legal-links { margin-top: 10px; font-size: 0.82rem; }
footer .legal-links a:hover { color: var(--orange-dark); }
