/* NovaHealthful — static landing page styles */
:root {
  --green: #2E7D32;
  --green-dark: #1B5E20;
  --green-light: #81C784;
  --green-tint: rgba(46, 125, 50, 0.1);
  --text: #1a2e1c;
  --muted: #5f6f61;
  --border: #e3e9e3;
  --bg: #ffffff;
  --bg-muted: #f5f8f5;
  --radius: 10px;
  --shadow-sm: 0 1px 3px rgba(16, 40, 18, 0.06);
  --shadow-md: 0 4px 16px rgba(16, 40, 18, 0.07);
  --shadow-lg: 0 12px 32px rgba(16, 40, 18, 0.14);
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* Icons */
.i {
  width: 24px; height: 24px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.i-sm { width: 16px; height: 16px; }
.i-lg { width: 32px; height: 32px; }
.i-xl { width: 64px; height: 64px; }

.accent { color: var(--green); }
.accent-light { color: var(--green-light); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  height: 40px; padding: 0 1.1rem; border-radius: 8px; border: 1px solid transparent;
  font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer;
  transition: background-color .2s, color .2s, transform .15s, box-shadow .2s;
}
.btn:active { transform: scale(.98); }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .menu-toggle:focus-visible {
  outline: 2px solid var(--green); outline-offset: 2px;
}
.btn-lg { height: 48px; padding: 0 1.6rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-primary:disabled { opacity: .7; cursor: wait; }
.btn-white { background: #fff; color: var(--green); }
.btn-white:hover { background: rgba(255,255,255,.9); }
.btn-ghost-light { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost-light:hover { background: rgba(255,255,255,.25); }

/* Pills */
.pill {
  display: inline-block; padding: .3rem .8rem; border-radius: 999px;
  font-size: .75rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  background: #e8f3e9; color: var(--green-dark); margin-bottom: 1rem;
}
.pill-light {
  background: rgba(255,255,255,.15); color: #fff; text-transform: none; letter-spacing: 0;
  font-size: .875rem; font-weight: 500; padding: .4rem 1rem; margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

/* Navbar */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255,255,255,.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.logo { display: flex; align-items: center; gap: .5rem; }
.logo-badge {
  width: 32px; height: 32px; border-radius: 8px; background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.logo-badge .i { width: 20px; height: 20px; }
.logo-badge-dark { background: rgba(255,255,255,.15); color: var(--green-light); }
.logo-text { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
.nav-links { display: none; gap: 2rem; }
.nav-links a { font-size: .875rem; font-weight: 500; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--green); }
.nav-cta { display: none; }
.menu-toggle { background: none; border: 0; padding: .5rem; color: var(--text); cursor: pointer; border-radius: 6px; }
.menu-toggle .icon-close { display: none; }
.navbar.open .menu-toggle .icon-open { display: none; }
.navbar.open .menu-toggle .icon-close { display: block; }
.mobile-menu {
  max-height: 0; overflow: hidden; background: #fff;
  transition: max-height .3s ease, padding .3s ease;
  padding: 0 1rem;
}
.navbar.open .mobile-menu { max-height: 420px; padding: 1rem; border-top: 1px solid var(--border); }
.mobile-menu a:not(.btn) { display: block; padding: .6rem 0; font-size: .9rem; font-weight: 500; color: var(--muted); }
.mobile-menu .btn { margin-top: .75rem; }
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .menu-toggle, .mobile-menu { display: none; }
}

/* Hero */
.hero {
  position: relative; min-height: clamp(560px, 90vh, 960px); display: flex; align-items: center;
  overflow: hidden; padding-top: var(--nav-h); color: #fff;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('hero.jpg') center / cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(27,94,32,.92) 0%, rgba(46,125,50,.82) 50%, rgba(46,125,50,.6) 100%);
}
.hero-content { position: relative; z-index: 1; padding-top: 5rem; padding-bottom: 5rem; width: 100%; }
.hero h1 { font-size: clamp(2.25rem, 6vw, 3.75rem); font-weight: 700; max-width: 42rem; }
.hero-sub { margin-top: 1.5rem; font-size: clamp(1.05rem, 2vw, 1.25rem); color: rgba(255,255,255,.88); max-width: 36rem; }
.hero-ctas { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .hero-ctas { flex-direction: row; } }
.scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 1;
  color: rgba(255,255,255,.65); animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

.anim-up { opacity: 0; transform: translateY(20px); animation: up .6s ease forwards; animation-delay: var(--d, 0s); }
@keyframes up { to { opacity: 1; transform: none; } }

/* Sections */
.section { padding: 5rem 0; }
@media (min-width: 1024px) { .section { padding: 7rem 0; } }
.section-muted { background: var(--bg-muted); }
.section-head { text-align: center; max-width: 42rem; margin: 0 auto 4rem; }
.section-head h2 { font-size: clamp(1.875rem, 4vw, 2.25rem); font-weight: 700; }
.section-head p { margin-top: 1rem; font-size: 1.125rem; color: var(--muted); }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; gap: 2.5rem; }
.grid-locations { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 640px) { .grid-locations { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
@media (min-width: 1024px) { .grid-locations { grid-template-columns: repeat(5, 1fr); } }

/* Cards */
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-md); }
.benefit { padding: 2rem; transition: transform .25s ease, box-shadow .25s ease; }
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.icon-box {
  width: 48px; height: 48px; border-radius: 8px; background: var(--green-tint); color: var(--green);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem;
}
.benefit h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: .5rem; }
.benefit p { color: var(--muted); }

.loc {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: 1.5rem 1rem; text-align: center; font-size: .875rem; font-weight: 500;
  transition: border-color .2s, background-color .2s;
}
.loc:hover { border-color: rgba(46,125,50,.4); background: #fafdfa; }
.loc-icon {
  width: 40px; height: 40px; border-radius: 50%; background: var(--green-tint); color: var(--green);
  display: flex; align-items: center; justify-content: center; margin: 0 auto .75rem;
}
.loc-icon .i { width: 20px; height: 20px; }

/* Steps */
.step { position: relative; text-align: center; }
@media (min-width: 768px) {
  .step:not(:last-child)::after {
    content: ''; position: absolute; top: 40px; left: 62%; width: 76%; height: 1px; background: var(--border);
  }
}
.step-icon {
  position: relative; width: 80px; height: 80px; border-radius: 18px; background: var(--green-tint); color: var(--green);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; z-index: 1;
}
.step-num {
  position: absolute; top: -8px; right: -8px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--green); color: #fff; font-size: .7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: .5rem; }
.step p { color: var(--muted); max-width: 20rem; margin: 0 auto; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 2fr 3fr; } }
.contact-card {
  background: var(--green); color: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-lg);
  align-self: start;
}
.contact-card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 1.5rem; }
.contact-line { display: flex; align-items: center; gap: .75rem; color: rgba(255,255,255,.92); margin-bottom: 1.25rem; word-break: break-word; }
.contact-line .i { width: 20px; height: 20px; }
a.contact-line:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.contact-note { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.2); font-size: .875rem; color: rgba(255,255,255,.78); }

.form-card { padding: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 1.25rem; }
.form-row .field { margin-bottom: 0; }
.form-row { margin-bottom: 1.25rem; }
.field label { display: block; font-size: .875rem; font-weight: 500; margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .9rem; color: var(--text);
  border: 1px solid #cfd8cf; border-radius: 8px; background: #fff; padding: .6rem .75rem;
  transition: border-color .2s, box-shadow .2s;
}
.field input, .field select { height: 42px; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(46,125,50,.15); outline: none; }
.field input.invalid { border-color: #c62828; }
.form-error { color: #c62828; font-size: .875rem; margin-bottom: 1rem; }
.form-foot { margin-top: 1rem; text-align: center; font-size: .75rem; color: var(--muted); }
.form-success { text-align: center; padding: 3rem 0; }
.form-success .i { color: var(--green); margin: 0 auto 1rem; }
.form-success h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: .5rem; }
.form-success p { color: var(--muted); }

/* Footer */
.footer { background: var(--green-dark); color: #fff; padding: 3rem 0; }
.footer-top { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1.5rem; }
@media (min-width: 768px) { .footer-top { flex-direction: row; } }
.footer-brand { display: flex; align-items: center; gap: .75rem; }
.footer-brand .logo-text { font-size: 1.125rem; }
.footer-brand p { font-size: .875rem; color: rgba(255,255,255,.65); }
.footer-contact { display: flex; flex-direction: column; align-items: center; gap: .5rem 1rem; font-size: .875rem; color: rgba(255,255,255,.78); }
.footer-contact a:hover { color: #fff; }
.footer-contact .dot { display: none; }
@media (min-width: 640px) { .footer-contact { flex-direction: row; } .footer-contact .dot { display: inline; } }
.footer-bottom { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.15); text-align: center; font-size: .75rem; color: rgba(255,255,255,.55); }

/* Scroll reveal (only hidden when JS is running) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .anim-up, .scroll-indicator { animation: none; opacity: 1; transform: none; }
  .scroll-indicator { transform: translateX(-50%); }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
