/* ==========================================================================
   Inclusive Care — Design Tokens
   Palette:  #16403F deep teal (primary/trust)
             #E3993C sunrise amber (warmth/optimism, primary CTA)
             #D9714E soft coral (secondary accent, sparing use)
             #F2F4EF sage-white (background)
             #16241F ink (text)
   Type:     Fraunces (display, soft-serif warmth) + Inter (body, high legibility)
             IBM Plex Mono (eyebrows / data / labels)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500&display=swap');

:root {
  --teal-900: #0e2c2b;
  --teal-700: #16403f;
  --teal-500: #1f5957;
  --teal-100: #dce8e6;

  --amber-600: #c97e28;
  --amber-500: #e3993c;
  --amber-100: #fbe8cb;

  --coral-500: #d9714e;
  --coral-100: #f7ddd0;

  --sage-50: #f2f4ef;
  --sage-100: #e8ebe2;
  /*--paper: #fbfaf6;*/
  --paper: #fff;

  --ink-900: #16241f;
  --ink-600: #445048;
  --ink-400: #6f7a72;

  --line: rgba(22, 36, 31, 0.12);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;

  --shadow-soft: 0 12px 32px -18px rgba(14, 44, 43, 0.35);
  --shadow-lift: 0 20px 48px -20px rgba(14, 44, 43, 0.45);

  --container: 1180px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--sage-50);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
  color: var(--teal-900);
}

p { margin: 0 0 1em; color: var(--ink-600); }

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

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-500);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-weight: 500;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--amber-500);
}

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

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

/* Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15.5px;
  padding: 14px 26px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--amber-500);
  color: var(--teal-900);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { background: var(--amber-600); box-shadow: var(--shadow-lift); }
.btn-ghost {
  background: transparent;
  border-color: rgba(22, 64, 63, 0.25);
  color: var(--teal-700);
}
.btn-ghost:hover { border-color: var(--teal-700); background: rgba(22, 64, 63, 0.05); }
.btn-light {
  background: var(--paper);
  color: var(--teal-900);
}
.btn-light:hover { background: #fff; }

.text-white{
    color: #fff;
}

/* Header ----------------------------------------------------------------*/
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(11 26 57);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  max-width: var(--container);
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  color: var(--teal-900);
}
.logo-mark {
  /*width: 34px;*/
  height: 60px;
  flex-shrink: 0;
}
.logo-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--amber-600);
  font-weight: 500;
  text-transform: uppercase;
  margin-top: 1px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  color: #fff;
  position: relative;
  padding: 4px 0;
}
.main-nav a:hover { color: #fff; }
.header-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-phone {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  font-size: 13.5px;
  color: var(--ink-600);
  line-height: 1.3;
}
.header-phone strong { color: #fff; font-size: 16px; font-family: var(--font-mono); font-weight: 500; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--teal-900);
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }
.mobile-nav {
  display: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s var(--ease);
  border-top: 1px solid var(--line);
}
.mobile-nav.open { max-height: 400px; }
.mobile-nav ul { list-style: none; margin: 0; padding: 8px 28px 20px; display: flex; flex-direction: column; }
.mobile-nav a { display: block; padding: 12px 0; text-decoration: none; font-size: 15.5px; color: var(--ink-600); border-bottom: 1px solid var(--line); }
.mobile-nav a:hover { color: var(--teal-900); }

/* Hero --------------------------------------------------------------- */
/*.hero {*/
/*  position: relative;*/
/*  overflow: hidden;*/
/*  padding: 84px 0 60px;*/
/*}*/

.hero {
    position: relative;
    overflow: hidden;
    padding: 84px 0 60px;
    background: url("https://royalitpark.org/grace/assets/img/bg.jpg") center center/cover no-repeat;
    z-index: 1;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
    rgba(14, 44, 43, 0.4),
    rgba(14, 44, 43, 0.25)
);
    z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  max-width: 15ch;
}
.hero h1 em {
  font-style: normal;
  color: var(--amber-600);
  background: linear-gradient(180deg, transparent 62%, var(--amber-100) 62%);
}
.hero-sub {
  font-size: 18px;
  max-width: 46ch;
  color: var(--ink-600);
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin: 30px 0 40px;
  flex-wrap: wrap;
}
.hero-trust {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.trust-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.trust-item strong {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--teal-900);
}
.trust-item span {
  font-size: 13px;
  color: var(--ink-400);
  max-width: 12ch;
  line-height: 1.3;
}

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1.02;
}
.hero-visual svg { width: 100%; height: 100%; }

/* Wave divider ---------------------------------------------------------*/
.wave-divider {
  display: block;
  width: 100%;
  line-height: 0;
}
.wave-divider svg { width: 100%; height: 64px; display: block; }

/* Section shells ---------------------------------------------------------*/
section { padding: 96px 0; }
.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.bg-teal { background: var(--teal-900); color: #fff; }
.bg-teal h2, .bg-teal h3, .bg-teal .eyebrow { color: #fff; }
.bg-teal p { color: rgba(255,255,255,0.72); }
.bg-paper { background: var(--paper); }

/* Values ---------------------------------------------------------------*/
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}

.value-card {
  position: relative;
  padding: 38px 30px;
  background: linear-gradient(160deg, var(--paper) 0%, color-mix(in srgb, var(--amber-600) 8%, var(--paper)) 100%);
  transition: background .35s var(--ease), transform .3s var(--ease);
}

.value-card:hover {
  background: linear-gradient(160deg, var(--paper) 0%, color-mix(in srgb, var(--amber-600) 16%, var(--paper)) 100%);
  transform: translateY(-2px);
}

/* alternate accent per card so the row doesn't read as one repeated tile */
.value-card:nth-child(2) {
  background: linear-gradient(160deg, var(--paper) 0%, color-mix(in srgb, var(--teal-700) 8%, var(--paper)) 100%);
}
.value-card:nth-child(2):hover {
  background: linear-gradient(160deg, var(--paper) 0%, color-mix(in srgb, var(--teal-700) 16%, var(--paper)) 100%);
}
.value-card:nth-child(2) .value-icon { color: var(--teal-700); }

.value-card:nth-child(4n+3) {
  background: linear-gradient(160deg, var(--paper) 0%, color-mix(in srgb, var(--teal-700) 8%, var(--paper)) 100%);
}
.value-card:nth-child(4n+3):hover {
  background: linear-gradient(160deg, var(--paper) 0%, color-mix(in srgb, var(--teal-700) 16%, var(--paper)) 100%);
}
.value-card:nth-child(4n+3) .value-icon { color: var(--teal-700); }

.value-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  color: var(--amber-600);
  transition: transform .3s var(--ease);
}

.value-card:hover .value-icon {
  transform: scale(1.06);
}

.value-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 14.5px;
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* About ------------------------------------------------------------------*/
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.about-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-visual svg { width: 100%; height: auto; display: block; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.about-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--teal-700);
}
.about-stats span { font-size: 13px; color: var(--ink-400); }

/* Services ---------------------------------------------------------------*/
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 26px 26px;
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}

/* thin accent line that draws in on hover */
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--teal-700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

/* Icon chip ---------------------------------------------------------------*/
.service-icon-wrap {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: color-mix(in srgb, var(--teal-700) 10%, var(--paper));
  margin-bottom: 20px;
  transition: background .25s var(--ease), transform .25s var(--ease);
}

.service-card:hover .service-icon-wrap {
  background: var(--teal-700);
  transform: scale(1.05);
}

.service-icon {
  width: 24px;
  height: 24px;
  color: var(--teal-700);
  transition: color .25s var(--ease);
}

.service-card:hover .service-icon {
  color: var(--paper);
}

.service-card h3 {
  font-size: 16.5px;
  margin-bottom: 6px;
}

.service-card p {
  font-size: 13.5px;
  margin-bottom: 0;
  line-height: 1.55;
}

/* Responsive ----------------------------------------------------------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
}


/* Process ------------------------------------------------------------------*/
.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--teal-900);
}

.process-step {
  position: relative;
  padding: 34px 28px 30px;
  border-right: 1px solid var(--line);
  border-left: 3px solid transparent;
  background: var(--paper);
  transition: border-left-color .25s var(--ease), background .25s var(--ease);
}

.process-step:last-child {
  border-right: none;
}

.process-step:hover {
  border-left-color: var(--amber-600);
  background: #fff;
}

.process-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--amber-600);
  font-weight: 500;
  letter-spacing: .04em;
  margin-bottom: 24px;
}

.process-num::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 1px;
  background: var(--amber-600);
  margin-right: 10px;
  vertical-align: middle;
}

.process-step h3 {
  font-size: 17px;
  margin-bottom: 8px;
  font-weight: 600;
}

.process-step p {
  font-size: 14px;
  color: var(--text-secondary, #6b6b6b);
  margin-bottom: 0;
}

/* large ghosted numeral, anchored to the corner — quiet unless you look for it */
.process-step::after {
  content: attr(data-step);
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 44px;
  font-weight: 500;
  color: var(--line);
  line-height: 1;
  z-index: 0;
  pointer-events: none;
}

.process-step > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 860px) {
  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-step {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .process-step:nth-child(2n) {
    border-right: none;
  }
  .process-step:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

@media (max-width: 520px) {
  .process-list {
    grid-template-columns: 1fr;
  }
  .process-step {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .process-step:last-child {
    border-bottom: none;
  }
}

/* FAQ ------------------------------------------------------------------*/
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 24px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--teal-900);
}
.faq-q svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--amber-600);
  transition: transform .3s var(--ease);
}
.faq-item[data-open="true"] .faq-q svg { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease);
}
.faq-a-inner { padding: 0 4px 26px; max-width: 62ch; }
.faq-a-inner p { margin-bottom: 0; }

/* CTA banner --------------------------------------------------------------*/
.cta-banner {
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--amber-500), var(--coral-500));
  padding: 60px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: var(--teal-900); font-size: clamp(1.6rem, 3vw, 2.1rem); max-width: 20ch; margin: 0; }
.cta-banner-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Contact ------------------------------------------------------------------*/
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-list li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  align-items: flex-start;
}
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list svg { width: 22px; height: 22px; color: var(--amber-600); flex-shrink: 0; margin-top: 2px; }
.contact-list strong { display: block; font-size: 15px; color: var(--teal-900); }
.contact-list span, .contact-list a { font-size: 14.5px; color: var(--ink-600); text-decoration: none; }
.contact-list a:hover { color: var(--teal-700); text-decoration: underline; }

.map-panel {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.map-panel svg { width: 100%; height: 100%; display: block; }

/* Footer ------------------------------------------------------------------*/
.site-footer {
  background: var(--teal-900);
  color: rgba(255,255,255,0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand .logo { color: #fff; }
.footer-brand p { max-width: 34ch; margin-top: 16px; font-size: 14px; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #fff;
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { text-decoration: none; font-size: 14.5px; color: rgba(255,255,255,0.78); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  padding-bottom: 24px;
  font-size: 14px;
  flex-wrap: wrap;
  gap: 12px;
  color: #fff;
}

.float {
    position: fixed;
    bottom: 40px;
    right: 20px;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    z-index: 100;
    font-size: 20px;
}

.footer-credit{
    text-align:center;
    font-size:14px;
    color:#fff;
    margin-top:15px;
}

.footer-credit a{
    color:#ffb400;
    text-decoration:none;
    font-weight:600;
    transition:0.3s;
}

.footer-credit a:hover{
    color:#ffffff;
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 340px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-list { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .process-step:not(:last-child)::after { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav ul { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: block; }
}

@media (max-width: 640px) {
  section { padding: 64px 0; }
  .values-grid, .services-grid { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 28px; flex-direction: column; align-items: flex-start; }
  .pathfinder { padding: 34px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-phone { display: none; }
  .hero { padding: 48px 0 40px; }
}
