/* ============================================================
   EverCare — Main Stylesheet
   Palette: Deep teal #0E5A5A, Warm sand #F5F0E8, 
            Accent green #2DB87A, Soft white #FAFAF8
   Type: DM Serif Display (headings) + DM Sans (body)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:        #0E5A5A;
  --teal-dark:   #083D3D;
  --teal-mid:    #1A7A7A;
  --teal-light:  #E6F4F4;
  --teal-pale:   #F0F9F9;
  --green:       #2DB87A;
  --green-dark:  #1F9060;
  --sand:        #F5F0E8;
  --sand-dark:   #E8E1D5;
  --warm-white:  #FAFAF8;
  --charcoal:    #1A2B2B;
  --body-text:   #374040;
  --muted:       #5D7070;
  --border:      #D4E8E8;
  --border-soft: #EAF3F3;

  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --shadow-sm: 0 1px 3px rgba(14,90,90,.08);
  --shadow-md: 0 4px 16px rgba(14,90,90,.12);
  --shadow-lg: 0 8px 32px rgba(14,90,90,.14);

  --max-w: 1180px;
  --transition: 220ms cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body-text);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  &:focus { position: fixed; top: 0; left: 0; z-index: 9999; padding: .5rem 1rem; background: var(--teal); color: #fff; }
}

/* ── Typography ── */
h1, h2, h3, h4, h5 { font-family: var(--font-serif); color: var(--charcoal); line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; font-family: var(--font-sans); font-weight: 600; }
p  { margin-bottom: 1rem; }
a  { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-mid); }

.section-eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: .75rem;
}

/* ── Layout ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5rem 0; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 3.5rem; }
.section-header p { color: var(--muted); font-size: 1.1rem; margin-top: .75rem; margin-bottom: 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 500;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-secondary:hover { background: var(--teal); color: #fff; }
.btn-white {
  background: #fff;
  color: var(--teal);
  border-color: #fff;
}
.btn-white:hover { background: var(--sand); }
.btn-green {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.btn-green:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.btn-lg { padding: .95rem 2.25rem; font-size: 1rem; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ── Topbar ── */
.topbar {
  background: var(--charcoal);
  color: rgba(255,255,255,.7);
  font-size: .82rem;
  padding: .5rem 0;
}
.topbar-inner {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.topbar span {
  display: flex;
  align-items: center;
  gap: .4rem;
}
.topbar svg { opacity: .7; flex-shrink: 0; }

/* ── Header / Nav ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,248,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  overflow: hidden;
}
.logo-img {
  height: 56px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--teal);
  color: #fff;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  color: var(--charcoal);
  font-weight: 300;
  letter-spacing: -.01em;
}
.logo-text strong { font-weight: 600; color: var(--teal); }
.logo-footer .logo-mark { background: rgba(255,255,255,.15); }
.logo-footer .logo-text, .logo-footer .logo-text strong { color: #fff; }

.main-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-link {
  padding: .5rem .85rem;
  border-radius: 8px;
  font-size: .93rem;
  font-weight: 450;
  color: var(--body-text);
  transition: all var(--transition);
}
.nav-link:hover { background: var(--teal-light); color: var(--teal); }
.nav-link.active { color: var(--teal); font-weight: 600; }
.nav-cta { margin-left: .75rem; padding: .55rem 1.3rem; font-size: .9rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: .5rem;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── Flash messages ── */
.flash-message {
  padding: 1rem 0;
  font-weight: 500;
  text-align: center;
}
.flash-success { background: #dcfce7; color: #15803d; }
.flash-error   { background: #fee2e2; color: #b91c1c; }

/* ── Hero ── */
.hero {
  background-size: cover;
  background-position: center;
  background-color: var(--teal-dark);
  color: #fff;
  padding: 9rem 0 8rem;
  overflow: hidden;
  position: relative;
  min-height: 520px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 40, 40, 0.62);
}
.hero-centered {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 1rem 0;
}
.hero h1 { color: #fff; margin-bottom: 1.25rem; max-width: 780px; margin-left: auto; margin-right: auto; }
.hero h1 em { font-style: italic; color: #a8e8d0; }
.hero-lead { font-size: 1.15rem; color: rgba(255,255,255,.85); margin-bottom: 2.25rem; line-height: 1.75; max-width: 620px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.btn-outline-white {
  background: transparent;
  border: 2px solid rgba(255,255,255,.7);
  color: #fff;
}
.btn-outline-white:hover { background: rgba(255,255,255,.15); border-color: #fff; color: #fff; }

.hero-card-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
/* ── Hero trust cards ── */
.hero-trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.hero-trust-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  transition: transform var(--transition), background var(--transition);
}
.hero-trust-card:hover { transform: translateY(-2px); background: rgba(255,255,255,.16); }
.trust-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.trust-body { display: flex; flex-direction: column; gap: .2rem; }
.trust-body strong { font-size: .95rem; color: #fff; font-weight: 600; }
.trust-body span { font-size: .8rem; color: rgba(255,255,255,.7); line-height: 1.4; }

/* ── Services grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--border); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 52px; height: 52px;
  background: var(--teal-light);
  border-radius: var(--radius-md);
  display: grid; place-items: center;
  margin-bottom: 1.25rem;
  color: var(--teal);
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.15rem; margin-bottom: .6rem; color: var(--charcoal); font-family: var(--font-sans); font-weight: 600; }
.service-card p { font-size: .93rem; color: var(--muted); margin-bottom: 1.25rem; }
.service-card .tag {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal);
  font-size: .76rem;
  font-weight: 600;
  padding: .25rem .75rem;
  border-radius: 50px;
  letter-spacing: .05em;
}

/* ── Values ── */
.values-section { background: var(--sand); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.value-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
}
.value-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--border);
  line-height: 1;
  flex-shrink: 0;
  width: 2rem;
}
.value-card h4 { color: var(--teal); margin-bottom: .4rem; }
.value-card p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ── CTA band ── */
.cta-band {
  background: var(--teal);
  color: #fff;
  padding: 5rem 0;
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: .75rem; }
.cta-band p { color: rgba(255,255,255,.8); font-size: 1.1rem; margin-bottom: 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── About page ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-placeholder {
  background: linear-gradient(135deg, var(--teal-light), var(--sand));
  border-radius: var(--radius-xl);
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--teal);
  font-size: .9rem;
}
.about-img-placeholder svg { width: 64px; height: 64px; opacity: .4; }
.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1rem;
  background: var(--teal);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.about-badge .big { font-family: var(--font-serif); font-size: 2rem; display: block; }
.about-badge .small { font-size: .8rem; opacity: .8; }

.check-list { list-style: none; margin: 1.5rem 0; }
.check-list li {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  margin-bottom: .75rem;
  font-size: .95rem;
}
.check-list li::before {
  content: '';
  width: 20px; height: 20px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: .15rem;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 6l3 3 5-5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ── Team / Career ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.team-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
}
.team-avatar {
  background: linear-gradient(135deg, var(--teal-light), var(--sand));
  height: 160px;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--teal);
}
.team-info { padding: 1.25rem; }
.team-info h4 { font-family: var(--font-sans); font-weight: 600; color: var(--charcoal); margin-bottom: .2rem; }
.team-info .role { font-size: .88rem; color: var(--green-dark); font-weight: 500; }

/* ── Job listings ── */
.job-list { display: flex; flex-direction: column; gap: 1rem; }
.job-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  transition: all var(--transition);
}
.job-card:hover { box-shadow: var(--shadow-md); border-color: var(--border); }
.job-info { flex: 1; }
.job-info h4 { font-family: var(--font-sans); font-size: 1.05rem; font-weight: 600; color: var(--charcoal); }
.job-meta { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: .4rem; }
.job-tag {
  font-size: .78rem;
  font-weight: 500;
  padding: .2rem .7rem;
  border-radius: 50px;
}
.tag-type   { background: var(--teal-light); color: var(--teal); }
.tag-loc    { background: var(--sand); color: var(--charcoal); }
.tag-status { background: #dcfce7; color: #15803d; }
.job-desc-html h2 { font-size: 1rem; font-weight: 600; color: var(--charcoal); margin: .6rem 0 .3rem; }
.job-desc-html h3 { font-size: .92rem; font-weight: 600; color: var(--charcoal); margin: .5rem 0 .25rem; }
.job-desc-html ul, .job-desc-html ol { padding-left: 1.4rem; margin: .35rem 0; }
.job-desc-html li { margin-bottom: .2rem; }
.job-desc-html p  { margin-bottom: .35rem; }

/* ── Forms ── */
.form-section { background: var(--teal-pale); }
.form-wrap {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  max-width: 720px;
  margin: 0 auto;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { margin-bottom: 0; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: .4rem;
}
.form-group label .req { color: var(--green); }
.form-control {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: .95rem;
  color: var(--body-text);
  background: var(--warm-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14,90,90,.1);
}
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }
input[type=file].form-control { padding: .45rem .75rem; cursor: pointer; background: var(--warm-white); }
input[type=file].form-control::file-selector-button { background: var(--teal); color: #fff; border: none; border-radius: 50px; padding: .3rem .9rem; font-size: .82rem; font-weight: 600; cursor: pointer; margin-right: .75rem; transition: background .2s; }
input[type=file].form-control::file-selector-button:hover { background: var(--teal-dark); }
.form-submit { margin-top: 1.75rem; }

/* ── Contact page ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.contact-info { padding: 2rem 0; }
.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { color: var(--muted); margin-bottom: 2rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-item-icon {
  width: 44px; height: 44px;
  background: var(--teal-light);
  border-radius: var(--radius-md);
  display: grid; place-items: center;
  color: var(--teal);
  flex-shrink: 0;
}
.contact-item-icon svg { width: 20px; height: 20px; }
.contact-item h5 { font-family: var(--font-sans); font-size: .88rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .25rem; }
.contact-item p, .contact-item a { color: var(--charcoal); font-weight: 500; margin: 0; }

/* ── FAQ Accordion ── */
.faq-section { background: var(--sand); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border-radius: var(--radius-md);
  margin-bottom: .75rem;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--teal); }
.faq-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--teal-light);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: transform var(--transition), background var(--transition);
  color: var(--teal);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--teal); color: #fff; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ── Service detail accordion (services page) ── */
.service-detail {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  overflow: hidden;
}
.service-detail-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 2rem;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  transition: background var(--transition);
}
.service-detail-header:hover { background: var(--teal-pale); }
.service-detail.open .service-detail-header { background: var(--teal-pale); }
.service-detail-header h3 { font-family: var(--font-sans); font-size: 1.1rem; font-weight: 600; color: var(--charcoal); flex: 1; }
.service-detail-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.service-detail.open .service-detail-body { max-height: 600px; }
.service-detail-content { padding: 0 2rem 2rem; }
.service-detail-content p { color: var(--muted); font-size: .95rem; }

/* ── Why Choose carousel ── */
.why-carousel-section { position: relative; }
.why-carousel {
  position: relative;
  height: 480px;
  overflow: hidden;
}
.why-slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--teal-dark);
  opacity: 0;
  transition: opacity .8s ease;
  z-index: 1;
}
.why-slide.active { opacity: 1; z-index: 2; }
.why-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(0,0,0,.45) 0%, transparent 60%);
}
.why-slide-title {
  position: absolute;
  top: 2rem;
  left: 2rem;
  z-index: 3;
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
  max-width: 600px;
  line-height: 1.2;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background var(--transition);
}
.carousel-btn:hover { background: rgba(255,255,255,.28); }
.carousel-prev { left: 1.5rem; }
.carousel-next { right: 1.5rem; }
.carousel-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .5rem;
  z-index: 10;
}
.carousel-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  padding: 0;
}
.carousel-dot.active { background: #fff; transform: scale(1.3); }

/* ── Map placeholder ── */
.map-wrap {
  background: var(--teal-light);
  border-radius: var(--radius-lg);
  height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  color: var(--teal);
  margin-top: 2rem;
  border: 2px dashed var(--border);
}
.map-wrap svg { width: 48px; height: 48px; opacity: .5; }
.map-wrap p { font-size: .9rem; font-weight: 500; margin: 0; }
.map-wrap small { font-size: .8rem; color: var(--muted); }

/* ── Testimonials ── */
.testimonials-section { background: var(--teal-pale); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-soft);
}
.testimonial-stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 1rem; }
.testimonial-quote { font-size: .95rem; color: var(--body-text); font-style: italic; margin-bottom: 1.5rem; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--teal-light);
  display: grid; place-items: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--teal);
  flex-shrink: 0;
}
.testimonial-name { font-weight: 600; font-size: .9rem; color: var(--charcoal); }
.testimonial-role { font-size: .82rem; color: var(--muted); }

/* ── Page hero (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  color: #fff;
  padding: 4.5rem 0 3.5rem;
  text-align: center;
}
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: .75rem; }
.page-hero p { color: rgba(255,255,255,.8); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

/* ── Footer ── */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,.7); padding: 4rem 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand p { font-size: .9rem; margin-top: 1rem; line-height: 1.7; }
.footer-col h4 { color: #fff; font-family: var(--font-sans); font-size: .88rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul li a { color: rgba(255,255,255,.65); font-size: .9rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: #fff; }
.footer-contact li {
  display: flex; gap: .6rem; align-items: flex-start;
  font-size: .9rem; margin-bottom: .75rem;
}
.footer-contact svg { flex-shrink: 0; margin-top: 3px; opacity: .5; }
.footer-contact a { color: rgba(255,255,255,.65); }
.footer-contact a:hover { color: #fff; }
.footer-social { display: flex; gap: .75rem; margin-top: 1.25rem; }
.social-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  display: grid; place-items: center;
  color: rgba(255,255,255,.6);
  transition: all var(--transition);
}
.social-icon:hover { background: var(--teal-mid); color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.5rem 0;
  text-align: center;
  font-size: .83rem;
}
.ndis-logo-wrap {
  margin-top: 1rem;
  overflow: hidden;
  height: 80px;
}
.ndis-registered-logo {
  height: 140px;
  width: auto;
  display: block;
  margin-top: -30px;
}
.badge-ndis {
  background: rgba(45,184,122,.15);
  color: var(--green);
  border: 1px solid rgba(45,184,122,.3);
  border-radius: 50px;
  padding: .2rem .75rem;
  font-size: .78rem;
  font-weight: 600;
}

/* ── Scroll-to-top ── */
.scroll-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: grid; place-items: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 50;
  box-shadow: var(--shadow-md);
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--teal-dark); }

/* ── Scroll progress bar ── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--green), var(--teal-mid));
  z-index: 9999;
  transition: width .1s linear;
  pointer-events: none;
}

/* ── Animations ── */
@keyframes fadeInUp    { from { opacity:0; transform:translateY(28px); }   to { opacity:1; transform:translateY(0); } }
@keyframes fadeInLeft  { from { opacity:0; transform:translateX(-32px); }  to { opacity:1; transform:translateX(0); } }
@keyframes fadeInRight { from { opacity:0; transform:translateX(32px); }   to { opacity:1; transform:translateX(0); } }
@keyframes scaleIn     { from { opacity:0; transform:scale(.92); }          to { opacity:1; transform:scale(1); } }
@keyframes fadeIn      { from { opacity:0; }                                to { opacity:1; } }
@keyframes pulse-ring  { 0%   { box-shadow:0 0 0 0 rgba(45,184,122,.4); }  70% { box-shadow:0 0 0 12px rgba(45,184,122,0); } 100% { box-shadow:0 0 0 0 rgba(45,184,122,0); } }
@keyframes float       { 0%,100% { transform:translateY(0); }               50% { transform:translateY(-8px); } }
@keyframes shimmer     { from { background-position:-400px 0; }             to  { background-position:400px 0; } }
@keyframes gradientShift { 0%,100% { background-position:0% 50%; } 50% { background-position:100% 50%; } }

/* Scroll-reveal base — JS adds .visible when in view */
.reveal {
  opacity: 0;
  transition: opacity .55s cubic-bezier(.4,0,.2,1), transform .55s cubic-bezier(.4,0,.2,1);
}
.reveal.from-up    { transform: translateY(28px); }
.reveal.from-left  { transform: translateX(-32px); }
.reveal.from-right { transform: translateX(32px); }
.reveal.from-scale { transform: scale(.93); }
.reveal.visible    { opacity: 1; transform: none; }

/* Stagger children */
.stagger-children > * { opacity:0; transform:translateY(20px); transition: opacity .45s ease, transform .45s ease; }
.stagger-children.revealed > *:nth-child(1)  { opacity:1; transform:none; transition-delay:.05s; }
.stagger-children.revealed > *:nth-child(2)  { opacity:1; transform:none; transition-delay:.12s; }
.stagger-children.revealed > *:nth-child(3)  { opacity:1; transform:none; transition-delay:.19s; }
.stagger-children.revealed > *:nth-child(4)  { opacity:1; transform:none; transition-delay:.26s; }
.stagger-children.revealed > *:nth-child(5)  { opacity:1; transform:none; transition-delay:.33s; }
.stagger-children.revealed > *:nth-child(6)  { opacity:1; transform:none; transition-delay:.40s; }

/* Legacy immediate class (still works) */
.animate-in { animation: fadeInUp .5s ease both; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
.delay-4 { animation-delay: .4s; }

/* ── Ripple on buttons ── */
.btn { position: relative; overflow: hidden; }
.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple-anim .55s linear;
  background: rgba(255,255,255,.3);
  pointer-events: none;
}
@keyframes ripple-anim { to { transform: scale(4); opacity: 0; } }

/* ── Enhanced card effects ── */
.service-card {
  transition: all var(--transition), box-shadow .3s ease;
}
.service-card:hover {
  box-shadow: 0 12px 40px rgba(14,90,90,.16), 0 0 0 1px var(--teal-light);
}
.value-card {
  transition: box-shadow .3s ease, transform .3s ease;
}
.value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.team-card {
  transition: box-shadow .3s ease, transform .3s ease;
}
.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* ── Page hero animated gradient ── */
.page-hero {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 40%, var(--teal-mid) 70%, #1a6b5a 100%);
  background-size: 300% 300%;
  animation: gradientShift 8s ease infinite;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  top: -140px; right: -120px;
  pointer-events: none;
}
.page-hero::before {
  content: '';
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,.03);
  bottom: -80px; left: 10%;
  pointer-events: none;
}

/* ── Vision band floating quote ── */
.vision-band {
  position: relative;
  overflow: hidden;
}
.vision-band::before, .vision-band::after {
  content: '\201C';
  position: absolute;
  font-family: var(--font-serif);
  font-size: 18rem;
  color: rgba(255,255,255,.04);
  line-height: 1;
  pointer-events: none;
}
.vision-band::before { top: -2rem; left: 1rem; }
.vision-band::after  { bottom: -5rem; right: 2rem; content: '\201D'; }

/* ── CTA band with shapes ── */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
}
.cta-band::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  top: -200px; right: -100px;
  pointer-events: none;
}
.cta-band::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(45,184,122,.08);
  bottom: -100px; left: -50px;
  pointer-events: none;
}

/* ── Value icon pulse ── */
.value-icon-wrap {
  animation: float 4s ease-in-out infinite;
}
.value-card:nth-child(2) .value-icon-wrap { animation-delay: .5s; }
.value-card:nth-child(3) .value-icon-wrap { animation-delay: 1s; }
.value-card:nth-child(4) .value-icon-wrap { animation-delay: 1.5s; }
.value-card:nth-child(5) .value-icon-wrap { animation-delay: 2s; }

/* ── Mobile sticky CTA bar ── */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--teal-dark);
  padding: .85rem 1.25rem;
  z-index: 200;
  box-shadow: 0 -4px 20px rgba(14,90,90,.25);
  gap: .6rem;
}
.mobile-cta-bar a {
  flex: 1;
  text-align: center;
  padding: .7rem .5rem;
  border-radius: 50px;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
}
.mobile-cta-bar .m-primary { background: var(--green); color: #fff; }
.mobile-cta-bar .m-secondary { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.25); }

/* ── Hamburger animation ── */
.hamburger span { transition: all .25s cubic-bezier(.4,0,.2,1); }

/* ── Mobile nav slide in ── */
@media (max-width: 768px) {
  .main-nav {
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
  }
  .main-nav.open {
    display: flex;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-cta-bar { display: flex; }
  /* padding so content isn't hidden behind sticky bar */
  body { padding-bottom: 72px; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero { padding: 6rem 1.5rem 5rem; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-wrap { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .why-carousel { height: 400px; }
}

@media (max-width: 768px) {
  section { padding: 3.5rem 0; }
  .main-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: rgba(250,250,248,.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    box-shadow: var(--shadow-lg);
  }
  .nav-link { padding: .85rem 1rem; min-height: 48px; display: flex; align-items: center; }
  .nav-cta { margin: .5rem 0 0; text-align: center; justify-content: center; min-height: 48px; }
  .hamburger { display: flex; min-width: 44px; min-height: 44px; justify-content: center; align-items: center; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .job-card { flex-direction: column; align-items: flex-start; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 320px; justify-content: center; }
  .why-carousel { height: 400px; }
  .topbar-inner { gap: 1rem; font-size: .78rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-wrap { padding: 1.75rem 1.25rem; border-radius: var(--radius-lg); }
  .about-badge { right: .5rem; bottom: -1rem; padding: .75rem 1.1rem; }
  .section-header { margin-bottom: 2rem; }
  .contact-grid { gap: 2rem; }
  .cta-actions .btn { width: 100%; max-width: 320px; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  /* Larger tap targets on all interactive elements */
  .btn { min-height: 48px; }
  .faq-question { min-height: 56px; }
  .form-control { min-height: 48px; padding: .85rem 1rem; font-size: 1rem; }
  select.form-control { min-height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ── Activities carousel (About snippet on homepage) ── */
.act-carousel {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #d4e8e8;
  box-shadow: 0 8px 32px rgba(14,90,90,.15);
}
.act-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .55s ease;
  pointer-events: none;
}
.act-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.act-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.act-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.55));
  color: #fff;
  font-size: .85rem;
  font-weight: 500;
  padding: 2rem .9rem .75rem;
  line-height: 1.4;
}
.act-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.85);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  color: #0E5A5A;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
  transition: background .2s, transform .2s;
  z-index: 5;
}
.act-btn:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.act-prev { left: 10px; }
.act-next { right: 10px; }
.act-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}
.act-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  transition: background .2s, transform .2s;
  padding: 0;
}
.act-dot.active {
  background: #fff;
  transform: scale(1.25);
}
