:root {
    /* Cream / neutral backgrounds */
    --cream: #E8E4D9;
    --cream-deep: #DAD4C4;
    --white: #FDFCF8;

    /* Brand primary palette (from JCU brand guide) */
    --gold: #E2B04F;          /* sun yellow */
    --terracotta: #C6772A;    /* brand orange — logo, headlines & primary CTAs */
    --orange: #C6772A;        /* accent highlights (same brand orange) */
    --blue: #6EA7D3;          /* soft blue — used sparingly for info accents */
    --navy: #1D445D;          /* deep navy — body text & dark surfaces */

    /* Text colors */
    --ink: var(--navy);       /* body text, dark backgrounds, hover states */
    --ink-soft: #45647A;      /* softer navy for secondary text */

    /* Headings: Didot Italic (Apple devices), Bodoni Moda Italic webfont elsewhere */
    --font-heading: 'Didot', 'Bodoni Moda', 'Bodoni 72', serif;

    /* Legacy variable aliases — keep so existing CSS rules continue to work.
       Each old "sage" maps to its new brand equivalent so we don't break
       hundreds of existing rules across the stylesheet. */
    --sage-deep: var(--terracotta);   /* primary headline accent + buttons */
    --sage: var(--orange);            /* mid-tone accent */
    --sage-soft: #F6E7C8;             /* very pale gold for soft card backgrounds */
    --accent: var(--orange);          /* accent details */
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
    /* Stop iOS Safari from auto-inflating/shrinking text (e.g. on rotate) */
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  body {
    font-family: 'Poppins', sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
  }

  .serif {
    font-family: 'Poppins', sans-serif;
    font-optical-sizing: auto;
  }

  /* ========== NAVIGATION ========== */
  nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(232, 228, 217, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: padding 0.3s ease;
  }

  .nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--ink);
  }

  /* Wordmark image in nav: scaled to fit nav bar height */
  .nav-wordmark {
    height: 140px;
    width: auto;
    display: block;
  }

  .nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
  }

  .nav-links a {
    text-decoration: none;
    color: var(--ink-soft);
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.2s;
  }

  .nav-links a:hover { color: var(--blue); }

  .nav-cta {
    background: var(--sage-deep);
    color: var(--white) !important;
    padding: 0.7rem 1.5rem;
    border-radius: 100px;
    transition: background 0.2s, transform 0.2s;
  }

  .nav-cta:hover {
    background: var(--ink);
    transform: translateY(-1px);
  }

  /* Hamburger menu button — hidden on desktop, shown on mobile */
  .nav-toggle {
    display: none;
    background: transparent;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    width: 44px;
    height: 44px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 110;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    margin: 2.5px 0;
    transition: transform 0.3s ease, opacity 0.2s ease;
    transform-origin: center;
  }

  /* Hamburger transforms into an X when active */
  .nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* ========== HERO ========== */
  .hero {
    min-height: 100vh;
    padding: 13rem 3rem 6rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    overflow: hidden;
  }

  .hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, var(--sage-soft) 0%, transparent 70%);
    opacity: 0.4;
    z-index: 0;
  }

  .hero-content { position: relative; z-index: 2; }

  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sage-deep);
    margin-bottom: 2rem;
  }

  .eyebrow::before {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--sage-deep);
  }

  h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.05em;
    color: var(--terracotta);
  }

  h1 {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.05em;
    color: var(--terracotta);
    margin-bottom: 1.75rem;
  }

  h1 em {
    font-style: italic;
    font-weight: 400;
    color: var(--ink);
  }

  .hero-sub {
    font-size: 1.15rem;
    color: var(--ink-soft);
    max-width: 520px;
    margin-bottom: 2.5rem;
    line-height: 1.65;
  }

  .hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
  }

  .btn-primary {
    background: var(--sage-deep);
    color: var(--white);
  }

  .btn-primary:hover {
    background: var(--ink);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(29, 68, 93, 0.25);
  }

  .btn-secondary {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid var(--blue);
  }

  .btn-secondary:hover {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
  }

  .btn-arrow {
    transition: transform 0.25s;
    display: inline-block;
  }

  .btn:hover .btn-arrow { transform: translateX(4px); }

  /* ========== HERO VISUAL ========== */
  .hero-visual {
    position: relative;
    z-index: 1;
    aspect-ratio: 4/5;
    max-width: 500px;
    margin-left: auto;
  }

  .hero-card {
    position: absolute;
    background: var(--white);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(29, 68, 93, 0.08);
  }

  .hero-card-main {
    inset: 0;
    background: linear-gradient(145deg, var(--sage) 0%, var(--sage-deep) 100%);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.5rem;
    overflow: hidden;
  }

  .hero-card-main::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
  }

  .card-stat {
    position: relative;
    z-index: 2;
  }

  .card-stat-num {
    font-family: 'Poppins', sans-serif;
    font-size: 4rem;
    font-weight: 300;
    line-height: 1;
    font-style: italic;
    margin-bottom: 0.5rem;
  }

  .card-stat-label {
    font-size: 0.9rem;
    opacity: 0.85;
    max-width: 240px;
    line-height: 1.5;
  }

  .card-quote {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    line-height: 1.4;
    font-style: italic;
    position: relative;
    z-index: 2;
  }

  /* Hero seal: the circular secondary logo mark in the hero's right side */
  .hero-seal {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Subtle drop shadow so the seal feels grounded against the page */
    filter: drop-shadow(0 12px 30px rgba(198, 119, 42, 0.12));
  }

  .hero-seal-img {
    width: 100%;
    height: auto;
    max-width: 440px;
    display: block;
    /* Subtle gentle float animation, picking up a brand feeling of warmth */
    animation: heroSealFloat 6s ease-in-out infinite;
  }

  @keyframes heroSealFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
  }

  /* Respect reduced-motion preferences */
  @media (prefers-reduced-motion: reduce) {
    .hero-seal-img { animation: none; }
  }

  .hero-card-float {
    bottom: -20px;
    left: -30px;
    width: 220px;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.25rem;
  }

  .float-icon {
    width: 44px;
    height: 44px;
    background: var(--cream-deep);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .float-text { font-size: 0.85rem; }
  .float-text strong { display: block; color: var(--sage-deep); margin-bottom: 2px; }
  .float-text span { color: var(--ink-soft); font-size: 0.78rem; }

  /* ========== SERVICES ========== */
  .services {
    padding: 7rem 3rem;
    background: var(--white);
  }

  .section-header {
    max-width: 1400px;
    margin: 0 auto 5rem;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: end;
  }

  h2 {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.05em;
    color: var(--terracotta);
  }

  h2 em {
    font-style: italic;
    color: var(--ink);
    font-weight: 400;
  }

  .section-desc {
    font-size: 1.05rem;
    color: var(--ink-soft);
    max-width: 520px;
  }

  .services-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .service {
    padding: 2.5rem;
    background: var(--cream);
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }

  .service:hover {
    background: var(--sage-deep);
    color: var(--white);
    transform: translateY(-4px);
  }

  .service:hover .service-num,
  .service:hover h3,
  .service:hover p {
    color: var(--white);
  }

  .service:hover .service-num { opacity: 0.4; }

  .service-num {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-style: italic;
    color: var(--blue);
    opacity: 0.85;
    margin-bottom: 2.5rem;
    transition: all 0.3s;
  }

  .service h3 {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.65rem;
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.05em;
  }

  .service p {
    font-size: 0.95rem;
    color: var(--ink-soft);
    line-height: 1.6;
  }

  /* ========== ABOUT ========== */
  .about {
    padding: 7rem 3rem;
    background: var(--cream);
    position: relative;
    overflow: hidden;
  }

  .about-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
  }

  .about-visual {
    position: relative;
    aspect-ratio: 4/5;
  }

  .about-image {
    position: absolute;
    inset: 0;
    background: var(--sage-soft);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
  }

  .about-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 180px;
    height: 180px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    font-family: 'Poppins', sans-serif;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.3;
    color: var(--sage-deep);
  }

  .about blockquote {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1.4;
    font-style: italic;
    color: var(--ink);
    margin: 2rem 0;
    padding-left: 2rem;
    border-left: 2px solid var(--sage);
  }

  .about-text p {
    color: var(--ink-soft);
    margin-bottom: 1.25rem;
    font-size: 1.02rem;
  }

  .about-signature {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--sage-soft);
  }

  .about-signature-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-style: italic;
    color: var(--sage-deep);
    margin-bottom: 0.25rem;
  }

  .about-signature-role {
    font-size: 0.85rem;
    color: var(--ink-soft);
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  /* ========== PAYMENT ========== */
  .payment {
    padding: 5rem 3rem;
    background: var(--white);
    border-top: 1px solid var(--cream-deep);
    border-bottom: 1px solid var(--cream-deep);
  }

  .payment-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4rem;
    align-items: center;
  }

  .payment-label {
    font-family: 'Poppins', sans-serif;
    font-style: italic;
    font-size: 1.5rem;
    color: var(--ink);
    line-height: 1.2;
  }

  .payment-options {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
  }

  .payment-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--ink-soft);
  }

  .check-icon {
    width: 22px;
    height: 22px;
    background: var(--sage-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .check-icon svg { width: 12px; height: 12px; }

  /* ========== CONTACT ========== */
  .contact {
    padding: 7rem 3rem;
    background: var(--ink);
    color: var(--white);
    position: relative;
    overflow: hidden;
  }

  .contact::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -20%;
    width: 70%;
    height: 100%;
    background: radial-gradient(circle, var(--sage-deep) 0%, transparent 60%);
    opacity: 0.25;
  }

  .contact-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    position: relative;
    z-index: 2;
  }

  .contact h2 { color: var(--white); margin-bottom: 1.5rem; }
  .contact h2 em { color: var(--sage-soft); }

  .contact-lead {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 2.5rem;
    line-height: 1.6;
  }

  .contact-meet {
    padding: 2rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    margin-bottom: 1rem;
  }

  .contact-meet-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 0.75rem;
  }

  .contact-meet-desc {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
  }

  form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  label {
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.5rem;
  }

  input, textarea, select {
    width: 100%;
    padding: 0.9rem 1.1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    color: var(--white);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.2s;
  }

  input:focus, textarea:focus, select:focus {
    outline: none;
    background: rgba(255,255,255,0.08);
    border-color: var(--sage-soft);
  }

  textarea { resize: vertical; min-height: 110px; }

  .form-submit {
    background: var(--sage-soft);
    color: var(--ink);
    padding: 1.05rem 2rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 0.5rem;
  }

  .form-submit:hover {
    background: var(--white);
    transform: translateY(-2px);
  }

  /* ========== FOOTER ========== */
  footer {
    padding: 3rem;
    background: var(--ink);
    color: rgba(255,255,255,0.55);
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.88rem;
    text-align: center;
    position: relative;
    z-index: 2;
  }

  footer strong { color: var(--white); font-family: 'Poppins', sans-serif; font-style: italic; font-weight: 400; }

  /* ========== ANIMATIONS ========== */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .hero-content > * { animation: fadeUp 0.8s ease forwards; opacity: 0; }
  .hero-content > *:nth-child(1) { animation-delay: 0.1s; }
  .hero-content > *:nth-child(2) { animation-delay: 0.25s; }
  .hero-content > *:nth-child(3) { animation-delay: 0.4s; }
  .hero-content > *:nth-child(4) { animation-delay: 0.55s; }

  .hero-visual { animation: fadeUp 1s ease 0.3s forwards; opacity: 0; }

  /* ========== WHO WE SERVE ========== */
  .serve {
    padding: 7rem 3rem;
    background: var(--cream-deep);
    position: relative;
    overflow: hidden;
  }

  .serve-inner { max-width: 1400px; margin: 0 auto; }

  .serve-intro {
    max-width: 720px;
    margin: 0 auto 4rem;
    text-align: center;
  }

  .serve-intro .eyebrow {
    justify-content: center;
    margin-bottom: 1.5rem;
  }

  .serve-intro h2 { margin-bottom: 1.5rem; }

  .serve-banner {
    position: relative;
    margin: 0 auto 5rem;
    max-width: 1100px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(29, 68, 93, 0.12);
  }

  .serve-banner img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 25/12;
    object-fit: cover;
    transition: transform 0.8s ease;
  }

  .serve-banner:hover img {
    transform: scale(1.02);
  }

  .serve-banner figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 2.5rem 1.75rem;
    background: linear-gradient(180deg, transparent 0%, rgba(29, 68, 93, 0.75) 100%);
    color: var(--cream);
    font-family: 'Poppins', sans-serif;
    font-style: italic;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
  }

  .serve-lead {
    font-size: 1.08rem;
    color: var(--ink-soft);
    line-height: 1.65;
  }

  .serve-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }

  .serve-item {
    background: var(--white);
    padding: 1.75rem 1.5rem;
    border-radius: 14px;
    border: 1px solid transparent;
    transition: all 0.25s ease;
  }

  .serve-item:hover {
    border-color: var(--sage-soft);
    transform: translateY(-2px);
  }

  .serve-item h4 {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.08rem;
    font-weight: 400;
    color: var(--terracotta);
    margin-bottom: 0.4rem;
    line-height: 1.3;
  }

  .serve-item p {
    font-size: 0.85rem;
    color: var(--ink-soft);
    line-height: 1.5;
  }

  .serve-note {
    text-align: center;
    margin-top: 3rem;
    font-size: 0.95rem;
    color: var(--ink-soft);
    font-style: italic;
    font-family: 'Poppins', sans-serif;
  }

  /* ========== OUR APPROACH ========== */
  .approach {
    padding: 7rem 3rem;
    background: var(--white);
    position: relative;
  }

  .approach-inner { max-width: 1400px; margin: 0 auto; }

  .approach-header {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: end;
    margin-bottom: 5rem;
  }

  .approach-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    position: relative;
  }

  .approach-step {
    padding: 2.5rem;
    background: var(--cream);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
  }

  .approach-step-num {
    font-family: 'Poppins', sans-serif;
    font-style: italic;
    font-size: 3.5rem;
    line-height: 1;
    color: var(--blue);
    opacity: 0.4;
    position: absolute;
    top: 1.5rem;
    right: 1.75rem;
    font-weight: 300;
  }

  .approach-step h3 {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.25;
    letter-spacing: -0.05em;
    position: relative;
    z-index: 2;
  }

  .approach-step p {
    font-size: 0.95rem;
    color: var(--ink-soft);
    line-height: 1.6;
    position: relative;
    z-index: 2;
  }

  /* ========== NURSES ========== */
  .nurses {
    padding: 7rem 3rem;
    background: var(--sage-deep);
    color: var(--white);
    position: relative;
    overflow: hidden;
  }

  .nurses::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, var(--sage) 0%, transparent 60%);
    opacity: 0.5;
  }

  .nurses-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 2;
  }

  .nurses h2 { color: var(--white); margin-bottom: 1.75rem; }
  .nurses h2 em { color: var(--sage-soft); }

  .nurses .eyebrow { color: var(--sage-soft); }
  .nurses .eyebrow::before { background: var(--sage-soft); }

  .nurses-lead {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.65;
    margin-bottom: 2.5rem;
    max-width: 520px;
  }

  .nurses-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }

  .nurses-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .nurses-feature-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--sage-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
  }

  .nurses-feature-text {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.4;
  }

  .nurses-feature-text strong {
    display: block;
    color: var(--white);
    font-weight: 500;
    margin-bottom: 2px;
    font-size: 0.98rem;
  }

  .btn-light {
    background: var(--cream);
    color: var(--ink);
  }

  .btn-light:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }

  .nurses-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .nurses-card-quote {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    color: var(--white);
  }

  .nurses-card-attr {
    font-size: 0.85rem;
    color: var(--sage-soft);
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  /* ========== FAQ ========== */
  .faq {
    padding: 7rem 3rem;
    background: var(--cream);
  }

  .faq-inner {
    max-width: 900px;
    margin: 0 auto;
  }

  .faq-header {
    text-align: center;
    margin-bottom: 4rem;
  }

  .faq-header .eyebrow { justify-content: center; }

  .faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .faq-item {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.25s ease;
  }

  .faq-item[open] {
    box-shadow: 0 8px 30px rgba(29, 68, 93, 0.06);
  }

  .faq-item summary {
    padding: 1.6rem 2rem;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--ink);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    transition: color 0.2s;
  }

  .faq-item summary:hover { color: var(--sage-deep); }
  .faq-item summary::-webkit-details-marker { display: none; }

  .faq-toggle {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--sage-deep);
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1;
  }

  .faq-item[open] .faq-toggle {
    background: var(--sage-deep);
    color: var(--white);
    transform: rotate(45deg);
  }

  .faq-answer {
    padding: 0 2rem 1.75rem;
    color: var(--ink-soft);
    font-size: 0.98rem;
    line-height: 1.65;
  }

  /* ========== EXPANDED FOOTER ========== */
  .footer-main {
    padding: 5rem 3rem 2rem;
    background: var(--ink);
    color: rgba(255,255,255,0.65);
    position: relative;
    z-index: 2;
  }

  .footer-inner {
    max-width: 1400px;
    margin: 0 auto;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .footer-brand {
    display: block;
    margin-bottom: 1.25rem;
    text-decoration: none;
  }

  .footer-wordmark {
    height: 75px;
    width: auto;
    display: block;
  }

  .footer-tagline {
    font-family: 'Poppins', sans-serif;
    font-style: italic;
    font-size: 1.05rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
    max-width: 320px;
    margin-bottom: 1.5rem;
  }

  .footer-col h5 {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sage-soft);
    margin-bottom: 1.25rem;
    font-weight: 500;
  }

  .footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
  }

  .footer-col a,
  .footer-col li {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.2s;
    line-height: 1.45;
  }

  .footer-col a:hover { color: var(--blue); }

  .footer-bottom {
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
    flex-wrap: wrap;
    gap: 1rem;
  }

  .footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
  .footer-legal a { color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s; }
  .footer-legal a:hover { color: var(--blue); }

  /* ========== RESPONSIVE ========== */
  @media (max-width: 900px) {
    nav { padding: 1rem 1.5rem; }

    /* Scale down the wordmark on mobile to leave room for hamburger */
    .nav-wordmark { height: 88px; }

    /* Show the hamburger button */
    .nav-toggle { display: flex; }

    /* Mobile menu: full-screen overlay panel
       Using !important on critical layout properties to ensure the cascade
       works correctly and the menu always renders above content. */
    .nav-links {
      position: fixed !important;
      top: 0;
      right: 0;
      left: 0;
      height: 100vh;
      height: 100dvh;  /* iOS Safari dynamic viewport height — accounts for address bar */
      background: var(--cream) !important;
      flex-direction: column !important;
      justify-content: center !important;
      align-items: center !important;
      gap: 2rem !important;
      padding: 5rem 2rem 2rem !important;
      transform: translateY(-100%);
      transition: transform 0.35s ease, visibility 0s linear 0.35s;
      z-index: 105;
      visibility: hidden;
      pointer-events: none;  /* Ensures invisible menu can't intercept taps */
      overflow-y: auto;  /* In case content is taller than viewport on small phones */
      -webkit-overflow-scrolling: touch;
    }

    .nav-links.open {
      transform: translateY(0);
      visibility: visible;
      pointer-events: auto;
      transition: transform 0.35s ease, visibility 0s linear 0s;
    }

    .nav-links a {
      font-family: 'Poppins', sans-serif;
      font-size: 1.6rem;
      font-weight: 500;
      color: var(--ink);
      padding: 0.5rem 0;  /* Larger tap target for accessibility */
    }

    .nav-links a.nav-cta {
      margin-top: 1rem;
      font-size: 1.05rem;
      padding: 1rem 2.5rem;
      background: var(--terracotta) !important;
      color: var(--white) !important;
    }

    /* When mobile menu is open, current-page underline should be visible */
    .nav-links a.nav-current::after {
      bottom: -8px;
      height: 3px;
    }

    /* Lock body scroll when menu is open (added via JS) */
    body.menu-open {
      overflow: hidden;
    }

    .hero {
      padding: 10rem 1.5rem 4rem;
      grid-template-columns: 1fr;
      gap: 3rem;
    }

    /* On mobile, rip out the desktop's clever absolute positioning.
       The seal mark and Family-first badge should just flow as normal
       stacked blocks, sized to their content. */
    .hero-visual {
      max-width: 100%;
      margin: 0 auto;
      aspect-ratio: auto;       /* Don't force a 4:5 ratio on mobile */
      position: static;
    }

    .hero-seal {
      position: static;         /* Was absolute - back to normal flow */
      inset: auto;
      padding: 1rem 0;
    }

    .hero-seal-img {
      max-width: 280px;         /* Smaller seal on mobile */
      margin: 0 auto;
    }

    .hero-card-main {
      position: static;         /* Was absolute - back to normal flow */
      inset: auto;
      width: 100%;
      max-width: 460px;
      margin: 0 auto;
      padding: 2rem;
      border-radius: 24px;
    }

    .hero-card-float {
      position: static;         /* Was absolute - back to normal flow */
      left: auto;
      bottom: auto;
      width: auto;
      max-width: 100%;
      margin: 1rem auto 0;
    }

    /* Tighten up the orange card text on mobile */
    .card-stat-num { font-size: 4rem; }
    .card-stat-label { font-size: 0.95rem; }
    .card-quote { font-size: 1rem; }

    .services, .about, .contact, .serve, .approach, .nurses, .faq { padding: 5rem 1.5rem; }

    .footer-main { padding: 4rem 1.5rem 2rem; }

    .section-header,
    .services-grid,
    .about-grid,
    .contact-grid,
    .approach-header,
    .approach-steps,
    .nurses-inner,
    .footer-grid {
      grid-template-columns: 1fr;
      gap: 2rem;
    }

    .serve-banner figcaption {
      padding: 1.5rem 1.5rem 1.25rem;
      font-size: 0.95rem;
    }

    .serve-grid { grid-template-columns: repeat(2, 1fr); }

    .nurses-features { grid-template-columns: 1fr; }

    .payment-inner { grid-template-columns: 1fr; gap: 2rem; }

    .form-row { grid-template-columns: 1fr; }

    .about-badge { width: 130px; height: 130px; font-size: 0.9rem; bottom: -20px; right: -10px; }

    .footer-bottom { flex-direction: column; align-items: flex-start; }

    .faq-item summary { padding: 1.25rem 1.5rem; font-size: 1.02rem; }
    .faq-answer { padding: 0 1.5rem 1.5rem; }
  }


  /* ========== NAV CURRENT PAGE INDICATOR ========== */
  .nav-links a.nav-current {
    color: var(--sage-deep);
    position: relative;
  }

  .nav-links a.nav-current::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--sage-deep);
    border-radius: 2px;
  }

  /* ========== PAGE HERO (for deep pages) ========== */
  .page-hero {
    padding: 13rem 3rem 5rem;
    background: var(--cream);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--cream-deep);
  }

  .page-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 55%;
    height: 90%;
    background: radial-gradient(circle, var(--sage-soft) 0%, transparent 70%);
    opacity: 0.4;
  }

  .page-hero-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
  }

  .page-hero h1 {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.05em;
    color: var(--terracotta);
    margin-bottom: 1.5rem;
  }

  .page-hero h1 em {
    font-style: italic;
    font-weight: 400;
    color: var(--ink);
  }

  .page-hero-lead {
    font-size: 1.2rem;
    color: var(--ink-soft);
    max-width: 620px;
    line-height: 1.6;
  }

  /* ========== SHARED CONTENT WRAPPERS ========== */
  .content-section {
    padding: 6rem 3rem;
  }

  .content-section.alt { background: var(--white); }
  .content-section.dark { background: var(--cream-deep); }

  .content-inner {
    max-width: 1100px;
    margin: 0 auto;
  }

  .content-inner.narrow { max-width: 820px; }

  .content-header {
    margin-bottom: 4rem;
    max-width: 720px;
  }

  .content-header.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .content-header.center .eyebrow { justify-content: center; }

  .content-section h2 { margin-bottom: 1.25rem; }

  .content-section p {
    font-size: 1.05rem;
    color: var(--ink-soft);
    line-height: 1.7;
    margin-bottom: 1.25rem;
  }

  .content-section p.lead {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--ink);
    margin-bottom: 2rem;
  }

  .content-section h3 {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--terracotta);
    margin: 2.5rem 0 1rem;
    line-height: 1.25;
    letter-spacing: -0.05em;
  }

  .content-section h4 {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--terracotta);
    margin: 2rem 0 0.75rem;
  }

  /* ========== DETAILED SERVICE / CONDITION CARDS ========== */
  .detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .detail-card {
    background: var(--cream);
    padding: 2.5rem;
    border-radius: 18px;
    transition: all 0.25s ease;
    border: 1px solid transparent;
  }

  .detail-card:hover {
    border-color: var(--sage-soft);
    transform: translateY(-2px);
  }

  .detail-card .detail-eyebrow {
    font-family: 'Poppins', sans-serif;
    font-style: italic;
    font-size: 0.9rem;
    color: var(--blue);
    opacity: 0.9;
    margin-bottom: 1rem;
  }

  .detail-card h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.5rem;
  }

  .detail-card p {
    font-size: 0.98rem;
    margin-bottom: 0;
  }

  .detail-card ul {
    list-style: none;
    margin-top: 1rem;
  }

  .detail-card ul li {
    font-size: 0.95rem;
    color: var(--ink-soft);
    padding: 0.4rem 0 0.4rem 1.5rem;
    position: relative;
    line-height: 1.5;
  }

  .detail-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.9rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sage);
  }

  /* ========== STATS / BADGES ========== */
  .stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    padding: 3rem;
    background: var(--white);
    border-radius: 20px;
  }

  .stat {
    text-align: center;
  }

  .stat-num {
    font-family: 'Poppins', sans-serif;
    font-style: italic;
    font-size: 3rem;
    font-weight: 400;
    color: var(--sage-deep);
    line-height: 1;
    margin-bottom: 0.5rem;
  }

  .stat-label {
    font-size: 0.88rem;
    color: var(--ink-soft);
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  /* ========== PULL QUOTE ========== */
  .pull-quote {
    margin: 3rem 0;
    padding: 3rem 3rem 3rem 4rem;
    background: var(--white);
    border-left: 3px solid var(--blue);
    border-radius: 0 16px 16px 0;
    font-family: 'Poppins', sans-serif;
    font-style: italic;
    font-size: 1.4rem;
    line-height: 1.5;
    font-weight: 400;
    color: var(--ink);
    position: relative;
  }

  .pull-quote-attr {
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sage-deep);
    margin-top: 1.5rem;
    display: block;
  }

  /* ========== LIST STYLES ========== */
  .styled-list {
    list-style: none;
    margin: 1.5rem 0;
  }

  .styled-list li {
    padding: 0.6rem 0 0.6rem 2rem;
    position: relative;
    color: var(--ink-soft);
    font-size: 1.02rem;
    line-height: 1.6;
  }

  .styled-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.1rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--sage);
  }

  .styled-list li strong {
    color: var(--ink);
    font-weight: 600;
  }

  /* ========== FULL-WIDTH IMAGE BANNER ========== */
  .image-banner {
    margin: 4rem auto;
    max-width: 1100px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(29, 68, 93, 0.12);
  }

  .image-banner img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* ========== INLINE CALLOUT ========== */
  .callout {
    margin: 2.5rem 0;
    padding: 2rem 2.5rem;
    background: var(--sage-deep);
    color: var(--cream);
    border-radius: 16px;
    font-family: 'Poppins', sans-serif;
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.5;
  }

  /* ========== RESPONSIVE FOR NEW LAYOUTS ========== */
  @media (max-width: 900px) {
    .page-hero { padding: 9rem 1.5rem 3rem; }
    .content-section { padding: 4rem 1.5rem; }
    .detail-grid { grid-template-columns: 1fr; gap: 1rem; }
    .stats-row { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem 1.5rem; }
    .pull-quote { padding: 2rem; font-size: 1.15rem; }
  }

  /* ========== APPLICATION PAGE ========== */
  .app-progress {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(232, 228, 217, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--cream-deep);
    border-bottom: 1px solid var(--cream-deep);
    padding: 1rem 0;
    margin-top: -1px;
  }

  .app-progress-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }

  .app-progress-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
  }

  .app-progress-num {
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    color: var(--ink-soft);
  }

  .app-progress-name {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ink);
  }

  .app-progress-bars {
    display: flex;
    gap: 6px;
  }

  .app-progress-bar {
    height: 4px;
    width: 18px;
    background: var(--cream-deep);
    border-radius: 2px;
    transition: all 0.4s ease;
  }

  .app-progress-bar.complete {
    background: var(--sage);
  }

  .app-progress-bar.active {
    background: var(--sage-deep);
    width: 36px;
  }

  .app-section {
    display: none;
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 3rem 2rem;
  }

  .app-section.active { display: block; }

  .app-section-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 1.25rem;
  }

  .app-section h2 {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.05em;
    margin-bottom: 0.75rem;
  }

  .app-section h2 em {
    font-style: italic;
    color: var(--ink);
    font-weight: 400;
  }

  .app-section-lead {
    color: var(--ink-soft);
    font-size: 1.02rem;
    max-width: 640px;
    margin-bottom: 3rem;
    line-height: 1.6;
  }

  .app-section h3 {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--terracotta);
    margin-bottom: 0.5rem;
  }

  .app-subsection {
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--cream-deep);
  }

  .app-subsection-desc {
    font-size: 0.92rem;
    color: var(--ink-soft);
    margin-bottom: 1.75rem;
  }

  .app-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    max-width: 800px;
  }

  .app-grid.full { grid-template-columns: 1fr; }
  .app-grid.three { grid-template-columns: repeat(3, 1fr); }

  .app-grid > .span-2 { grid-column: span 2; }

  .app-field label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 0.5rem;
    font-weight: 500;
  }

  .app-field label .label-note {
    text-transform: none;
    letter-spacing: normal;
    color: var(--ink-soft);
    opacity: 0.65;
    font-weight: 400;
    margin-left: 0.4rem;
  }

  .app-field input[type="text"],
  .app-field input[type="email"],
  .app-field input[type="tel"],
  .app-field input[type="date"],
  .app-field input[type="number"],
  .app-field select,
  .app-field textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--white);
    border: 1px solid var(--cream-deep);
    border-radius: 8px;
    color: var(--ink);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s;
  }

  .app-field input:focus,
  .app-field select:focus,
  .app-field textarea:focus {
    outline: none;
    border-color: var(--sage-deep);
    box-shadow: 0 0 0 3px rgba(29, 68, 93, 0.1);
  }

  .app-field textarea {
    resize: vertical;
    min-height: 100px;
    font-family: 'Poppins', sans-serif;
  }

  .app-field input.signature-input {
    font-family: 'Poppins', sans-serif;
    font-style: italic;
    font-size: 1.15rem;
  }

  /* Yes/No toggle buttons */
  .toggle-buttons {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
  }

  .toggle-btn {
    background: var(--white);
    border: 1px solid var(--cream-deep);
    color: var(--ink-soft);
    padding: 0.65rem 2rem;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
  }

  .toggle-btn:hover { border-color: var(--sage); }

  .toggle-btn.active {
    background: var(--sage-deep);
    color: var(--white);
    border-color: var(--sage-deep);
  }

  /* Conditional reveal */
  .reveal {
    display: none;
    margin-top: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border: 1px solid var(--cream-deep);
    border-radius: 10px;
  }

  .reveal.show { display: block; }

  /* Checkbox cards (skills, certifications, shifts) */
  .check-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }

  .check-grid.four { grid-template-columns: repeat(4, 1fr); }

  @media (max-width: 700px) {
    .check-grid,
    .check-grid.four { grid-template-columns: repeat(2, 1fr); }
  }

  .check-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: var(--white);
    border: 1px solid var(--cream-deep);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s;
    font-size: 0.92rem;
    color: var(--ink);
  }

  .check-card:hover {
    border-color: var(--sage);
  }

  .check-card input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--sage-deep);
    flex-shrink: 0;
    cursor: pointer;
  }

  .check-card.has-checked,
  .check-card:has(input:checked) {
    background: var(--cream);
    border-color: var(--sage-deep);
  }

  .cert-card {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1rem;
    background: var(--white);
    border: 1px solid var(--cream-deep);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s;
  }

  .cert-card:hover { border-color: var(--sage); }

  .cert-card:has(input:checked) {
    background: var(--cream);
    border-color: var(--sage-deep);
  }

  .cert-card-row {
    display: flex;
    align-items: center;
    gap: 0.7rem;
  }

  /* Checkbox inside cert-card needs fixed dimensions or it'll fill the flex space */
  .cert-card input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--sage-deep);
    flex-shrink: 0;
    cursor: pointer;
    margin: 0;
  }

  .cert-card-label {
    font-weight: 500;
    color: var(--ink);
  }

  .cert-card-note {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-left: 1.6rem;
  }

  /* Days available picker */
  .days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    max-width: 560px;
  }

  .day-btn {
    padding: 0.85rem 0;
    background: var(--white);
    border: 1px solid var(--cream-deep);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.85rem;
    color: var(--ink-soft);
    cursor: pointer;
    transition: all 0.15s;
    text-align: center;
  }

  .day-btn:hover { border-color: var(--sage); }

  .day-btn.active {
    background: var(--sage-deep);
    color: var(--white);
    border-color: var(--sage-deep);
  }

  /* Skills group */
  .skills-group {
    margin-bottom: 2.5rem;
  }

  .skills-group-header {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .skills-group-header h3 {
    font-size: 1.3rem;
    margin-bottom: 0;
  }

  .skills-group-header-line {
    flex: 1;
    height: 1px;
    background: var(--cream-deep);
  }

  /* Reference card */
  .ref-card {
    background: var(--white);
    border: 1px solid var(--cream-deep);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
  }

  .ref-card-num {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 1rem;
  }

  .ref-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  /* Consent box */
  .consent-box {
    background: var(--white);
    border: 1px solid var(--cream-deep);
    border-radius: 12px;
    padding: 1.75rem;
    margin: 2rem 0;
  }

  .consent-box h3 { margin-bottom: 1.25rem; font-size: 1.2rem; }

  .consent-box label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    cursor: pointer;
    font-size: 0.92rem;
    color: var(--ink-soft);
    line-height: 1.55;
  }

  .consent-box label:last-child { margin-bottom: 0; }

  .consent-box input[type="checkbox"] {
    margin-top: 4px;
    width: 16px;
    height: 16px;
    accent-color: var(--sage-deep);
    flex-shrink: 0;
  }

  /* Bottom navigation */
  .app-nav {
    max-width: 1000px;
    margin: 3rem auto 0;
    padding: 2.5rem 3rem 6rem;
    border-top: 1px solid var(--cream-deep);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .app-nav-back {
    background: transparent;
    border: none;
    color: var(--ink-soft);
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.2s;
    font-family: inherit;
  }

  .app-nav-back:hover:not(:disabled) { color: var(--ink); }

  .app-nav-back:disabled {
    opacity: 0.3;
    cursor: not-allowed;
  }

  .app-nav-next {
    background: var(--sage-deep);
    color: var(--white);
    border: none;
    padding: 0.95rem 2.5rem;
    border-radius: 100px;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
  }

  .app-nav-next:hover {
    background: var(--ink);
    transform: translateY(-1px);
  }

  .app-fineprint {
    font-size: 0.78rem;
    color: var(--ink-soft);
    line-height: 1.6;
    margin-top: 1.5rem;
    max-width: 720px;
  }

  /* Error banner shown when required fields are missing */
  .app-error-banner {
    max-width: 1000px;
    margin: 1rem auto 0;
    padding: 1rem 1.5rem;
    background: #FFF1E6;
    border: 1px solid var(--terracotta);
    color: var(--terracotta);
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 500;
    display: none;
  }

  /* Highlight invalid fields */
  .app-field input.field-error,
  .app-field select.field-error,
  .app-field textarea.field-error {
    border-color: var(--terracotta);
    background: #FFF8F2;
  }

  /* Tiny asterisk on required-field labels via JS-driven content */
  .app-field input[data-required="true"] + *::before,
  .app-field select[data-required="true"] + *::before,
  .app-field textarea[data-required="true"] + *::before {
    /* not used — labels precede inputs in our markup; using CSS sibling selector below */
  }
  /* Better approach: target the label that PRECEDES a required input */
  .app-field label:has(+ input[data-required="true"])::after,
  .app-field label:has(+ select[data-required="true"])::after,
  .app-field label:has(+ textarea[data-required="true"])::after {
    content: ' *';
    color: var(--terracotta);
    font-weight: 700;
  }

  @media (max-width: 768px) {
    .app-progress-inner { padding: 0 1.5rem; }
    .app-section { padding: 2.5rem 1.5rem 1rem; }
    .app-nav { padding: 2rem 1.5rem 4rem; }
    .app-grid,
    .app-grid.three,
    .ref-grid { grid-template-columns: 1fr; }
    .app-grid > .span-2 { grid-column: span 1; }
    .days-grid { grid-template-columns: repeat(7, 1fr); gap: 0.3rem; }
    .day-btn { padding: 0.7rem 0; font-size: 0.78rem; }
    .app-error-banner { margin: 1rem 1.5rem 0; }
  }

  /* Application form: keep Back / Continue spread across the full row */
  .app-nav {
    width: 100%;
    gap: 1rem;
  }

  /* ========== MOBILE POLISH ========== */
  @media (max-width: 900px) {
    /* iPhones have Didot installed, so they skip the Bodoni Moda webfont.
       Didot's hairlines nearly vanish at phone sizes and look cramped with
       tight tracking — use the optically-sized Bodoni Moda on small screens. */
    :root { --font-heading: 'Bodoni Moda', 'Bodoni 72', 'Didot', serif; }
    h1, h2, h3, h4 {
      font-optical-sizing: auto;
      letter-spacing: -0.02em;
    }

    /* Keep tiny labels legible on phones */
    .eyebrow { font-size: 0.8rem; }
    .cert-card-note,
    .ref-card-num { font-size: 0.75rem; }
    .app-nav-back,
    .app-fineprint,
    .float-text span { font-size: 0.85rem; }

    /* Slimmer fixed nav — the wordmark PNG has ~20% transparent padding
       on every side, so trim it with negative margins instead of letting
       it push the header to 120px tall. */
    nav { padding: 0.6rem 1.25rem 0.6rem 1.5rem; }
    .nav-wordmark {
      height: 80px;
      margin: -14px 0 -14px -40px;
    }

    .hero { padding-top: 8rem; min-height: auto; gap: 2rem; }
    .page-hero { padding-top: 7.5rem; }

    /* Hero visual: less dead space around the seal */
    .hero-seal { padding: 0; }
    .hero-seal-img { max-width: 220px; }

    /* Cards: desktop padding is too roomy on narrow screens */
    .service,
    .detail-card { padding: 1.75rem 1.5rem; }
    .nurses-card { padding: 2rem 1.5rem; }

    .about blockquote {
      font-size: 1.3rem;
      padding-left: 1.25rem;
    }

    .nurses-card-quote { font-size: 1.25rem; }

    .pull-quote { padding: 1.75rem 1.5rem; }

    .payment { padding: 3.5rem 1.5rem; }

    /* Footer: center everything consistently on mobile */
    .footer-wordmark {
      height: 70px;
      margin: 0 auto;
    }
    .footer-tagline { margin-left: auto; margin-right: auto; }
    .footer-bottom { align-items: center; text-align: center; }
    .footer-legal { justify-content: center; }
  }

  @media (max-width: 600px) {
    h1 { font-size: 2.5rem; }

    .eyebrow {
      font-size: 0.8rem;
      letter-spacing: 0.1em;
    }

    .hero-sub,
    .page-hero-lead { font-size: 1.05rem; }

    /* Full-width, stacked buttons are easier to tap */
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; justify-content: center; }

    .serve-grid { grid-template-columns: 1fr; }

    /* iOS Safari zooms into inputs smaller than 16px — prevent that */
    input, textarea, select,
    .app-field input,
    .app-field select,
    .app-field textarea { font-size: 16px; }

    .app-nav-next { padding: 0.95rem 1.75rem; }
  }

  /* ========== iPHONE / PHONE EXTRAS ========== */
  /* Sticky call / meet bar — hidden on desktop, shown on phones & small tablets */
  .mobile-bar { display: none; }

  @media (max-width: 900px) {
    /* Keep content clear of the notch / Dynamic Island in landscape */
    nav {
      padding-left: max(1.5rem, env(safe-area-inset-left));
      padding-right: max(1.25rem, env(safe-area-inset-right));
    }

    .mobile-bar {
      position: fixed;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 90;  /* Below the nav (100) and the open menu (105) */
      display: flex;
      gap: 0.75rem;
      padding: 0.75rem max(1rem, env(safe-area-inset-right)) calc(0.75rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
      background: rgba(232, 228, 217, 0.92);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-top: 1px solid var(--cream-deep);
      box-shadow: 0 -6px 20px rgba(29, 68, 93, 0.08);
    }

    .mobile-bar a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      min-height: 48px;
      border-radius: 100px;
      font-family: 'Poppins', sans-serif;
      font-size: 0.98rem;
      font-weight: 600;
      text-decoration: none;
      -webkit-tap-highlight-color: transparent;
      transition: background 0.2s, transform 0.15s;
    }

    .mobile-bar a:active { transform: scale(0.97); }

    .mobile-bar-call {
      flex: 0 0 auto;
      padding: 0 1.4rem;
      color: var(--ink);
      background: var(--white);
      border: 1.5px solid var(--cream-deep);
    }

    .mobile-bar-meet {
      flex: 1;
      padding: 0 1.25rem;
      color: var(--white);
      background: var(--terracotta);
    }

    /* Make room so the bar never covers the bottom of the footer */
    body:has(.mobile-bar) .footer-main {
      padding-bottom: calc(6.5rem + env(safe-area-inset-bottom));
    }

    /* Hide the bar while the full-screen menu is open */
    body.menu-open .mobile-bar { display: none; }
  }
