/* =============================================
   HYLO HEALTH — Global Stylesheet
   ============================================= */

:root {
  --teal:       #3AADA8;
  --teal-dark:  #2A8C87;
  --teal-light: #E8F7F6;
  --red:        #C0392B;
  --red-light:  #FDECEA;
  --dark:       #1C2B2A;
  --mid:        #4A6362;
  --soft:       #6B8584;
  --bg:         #FAFCFC;
  --white:      #FFFFFF;
  --border:     #D4E8E7;
  --font-head:  'DM Serif Display', Georgia, serif;
  --font-body:  'DM Sans', sans-serif;
  --shadow:     0 4px 24px rgba(58,173,168,0.10);
  --shadow-md:  0 8px 40px rgba(58,173,168,0.15);
  --radius:     14px;
  --radius-sm:  8px;
  --max-w:      1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--dark);
  line-height: 1.65;
  font-size: 16px;
}

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

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

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--dark); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); color: var(--dark); }
h3 { font-size: 1.2rem; font-family: var(--font-body); font-weight: 600; color: var(--dark); }
h4 { font-size: 1rem; font-family: var(--font-body); font-weight: 600; }
p  { color: var(--mid); font-size: 1rem; }
em { font-style: italic; color: var(--teal); }

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.section-label.light { color: rgba(255,255,255,0.7); }
.section-intro { font-size: 1.05rem; color: var(--mid); max-width: 580px; margin-top: 12px; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  text-align: center;
}
.btn-primary {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-ghost:hover { background: var(--teal-light); }
.btn-white {
  background: white;
  color: var(--teal-dark);
  border-color: white;
  font-weight: 600;
}
.btn-white:hover { background: var(--teal-light); }
.btn.small { padding: 9px 20px; font-size: 0.875rem; }

.link-arrow {
  color: var(--teal);
  font-weight: 500;
  font-size: 0.9rem;
  transition: gap 0.2s;
  display: inline-block;
  margin-top: 8px;
}
.link-arrow:hover { color: var(--teal-dark); }

.nav-logo-img {
  height: 110px;
  width: auto;
  max-width: 380px;
  display: block;
  flex-shrink: 0;
}
.footer-logo-img {
  height: 70px;
  width: auto;
  display: block;
}

/* ---- NAVBAR ---- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,252,252,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 120px;
  display: flex;
  align-items: center;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-text {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--dark);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-sub {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  flex-shrink: 0;
}
.nav-links a {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--mid);
  transition: all 0.15s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--teal); background: var(--teal-light); }
.nav-links .nav-cta {
  background: var(--teal);
  color: white !important;
  border-radius: 50px;
  padding: 8px 16px;
  white-space: nowrap;
  font-size: 0.85rem;
}
.nav-links .nav-cta:hover { background: var(--teal-dark); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 100px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.18;
}
.s1 { width: 500px; height: 500px; background: var(--teal); top: -120px; right: -100px; }
.s2 { width: 300px; height: 300px; background: var(--red); bottom: -60px; right: 200px; opacity: 0.1; }
.s3 { width: 200px; height: 200px; background: var(--teal); top: 60%; left: -60px; opacity: 0.12; }

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal-dark);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 5px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 20px;
}
.hero-text h1 {
  margin-bottom: 20px;
}
.hero-text p {
  font-size: 1.1rem;
  max-width: 500px;
  margin-bottom: 32px;
  color: var(--mid);
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-contact-strip {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--soft);
  flex-wrap: wrap;
}
.hero-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.stat-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.stat-icon { font-size: 1.5rem; line-height: 1; margin-top: 2px; }
.stat-body strong { display: block; font-weight: 600; color: var(--dark); font-size: 0.95rem; margin-bottom: 2px; }
.stat-body p { font-size: 0.82rem; color: var(--soft); margin: 0; }

/* ---- SECTIONS ---- */
.section { padding: 80px 0; }
.section-light { background: var(--white); }
.section-teal { background: var(--teal-dark); }
.section-teal h2, .section-teal h3, .section-teal p { color: white; }
.section-teal p { opacity: 0.85; }

/* ---- CARDS GRID ---- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.info-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.info-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  margin-bottom: 14px;
}
.card-dot.teal { background: var(--teal); }
.card-dot.red  { background: var(--red); }
.info-card h3 { margin-bottom: 10px; }
.info-card p  { font-size: 0.9rem; }

/* ---- STEPS ---- */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 200px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.step-num {
  font-family: var(--font-head);
  font-size: 2rem;
  color: rgba(255,255,255,0.3);
  margin-bottom: 10px;
}
.step h3 { color: white; margin-bottom: 8px; }
.step-arrow {
  font-size: 1.5rem;
  color: rgba(255,255,255,0.4);
  padding-top: 40px;
  flex-shrink: 0;
}

/* ---- RESOURCES PREVIEW ---- */
.resources-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.resource-tile {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow 0.2s;
}
.resource-tile:hover { box-shadow: var(--shadow-md); }
.resource-icon { font-size: 2rem; margin-bottom: 14px; }
.resource-tile h4 { margin-bottom: 8px; font-size: 1rem; }
.resource-tile p { font-size: 0.88rem; }
.featured-resource {
  background: var(--teal-light);
  border-color: var(--teal);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ---- CTA BAND ---- */
.cta-band {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%);
  padding: 70px 0;
  text-align: center;
}
.cta-inner h2 { color: white; margin-bottom: 12px; }
.cta-inner p  { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 28px; }
.cta-inner strong { color: white; }

/* ---- FOOTER ---- */
.footer { background: var(--dark); padding: 56px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 40px;
  align-items: start;
  padding-bottom: 40px;
}
.footer-brand .nav-logo { margin-bottom: 12px; }
.footer-brand .logo-text { color: white; }
.footer-brand .footer-logo-img { filter: brightness(0) invert(1); opacity: 0.85; }
.footer-brand p { font-size: 0.85rem; color: #8AACAB; line-height: 1.6; }
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.88rem;
  color: #8AACAB;
  transition: color 0.15s;
}
.footer-links a:hover { color: white; }
.footer-contact p { font-size: 0.85rem; color: #8AACAB; margin-bottom: 4px; }
.footer-contact strong { color: white; }
.footer-base {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-base p { font-size: 0.78rem; color: #5A7877; }
.disclaimer { font-style: italic; }

/* ---- PAGE HEADER (inner pages) ---- */
.page-header {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%);
  padding: 60px 0 64px;
}
.page-header h1 { color: white; margin-bottom: 10px; }
.page-header p  { color: rgba(255,255,255,0.8); font-size: 1.05rem; max-width: 540px; }

/* ---- ABOUT PAGE ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-photo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.about-photo-img {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: block;
}
.about-photo-caption {
  text-align: center;
}
.about-photo-caption strong {
  display: block;
  font-size: 1.05rem;
  color: var(--dark);
  font-weight: 600;
}
.about-photo-caption span {
  font-size: 0.85rem;
  color: var(--soft);
}
.about-body h2 { margin-bottom: 16px; }
.about-body p  { margin-bottom: 16px; font-size: 1rem; }
.credentials-list {
  list-style: none;
  margin-top: 24px;
}
.credentials-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--mid);
}
.credentials-list li::before {
  content: "✓";
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.value-card {
  background: var(--teal-light);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
}
.value-icon { font-size: 2rem; margin-bottom: 10px; }
.value-card h4 { color: var(--teal-dark); margin-bottom: 6px; }
.value-card p  { font-size: 0.85rem; }

/* ---- SERVICES PAGE ---- */
.services-list { display: flex; flex-direction: column; gap: 28px; margin-top: 40px; }
.service-item {
  background: white;
  border: 1px solid var(--border);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: start;
  transition: box-shadow 0.2s;
}
.service-item:hover { box-shadow: var(--shadow-md); }
.service-item.red-accent { border-left-color: var(--red); }
.service-emoji { font-size: 2rem; }
.service-body h3 { margin-bottom: 8px; }
.service-body p  { font-size: 0.93rem; }
.service-tag {
  background: var(--teal-light);
  color: var(--teal-dark);
  border-radius: 50px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
.medicare-box {
  background: var(--teal-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-top: 40px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.medicare-box .icon { font-size: 2rem; flex-shrink: 0; }
.medicare-box h3 { margin-bottom: 8px; }
.medicare-box p  { font-size: 0.9rem; }

/* ---- RESOURCES PAGE ---- */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.resource-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.resource-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.resource-card .tag {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal-dark);
  border-radius: 50px;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: fit-content;
}
.resource-card h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; }
.resource-card p  { font-size: 0.88rem; color: var(--soft); flex-grow: 1; }
.resource-card .btn { margin-top: auto; width: fit-content; }

/* ---- CONTACT PAGE ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info p  { margin-bottom: 24px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-detail:last-child { border-bottom: none; }
.contact-detail .icon { font-size: 1.3rem; flex-shrink: 0; }
.contact-detail strong { display: block; font-size: 0.85rem; color: var(--soft); font-weight: 500; margin-bottom: 2px; }
.contact-detail span { font-size: 0.95rem; color: var(--dark); }
.contact-form-wrap {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.contact-form-wrap h3 { margin-bottom: 4px; }
.contact-form-wrap > p { font-size: 0.88rem; color: var(--soft); margin-bottom: 24px; }
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--dark);
  background: var(--bg);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(58,173,168,0.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note {
  font-size: 0.78rem;
  color: var(--soft);
  margin-top: 12px;
  font-style: italic;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .service-item { grid-template-columns: auto 1fr; }
  .service-tag { display: none; }
  .step-arrow { display: none; }
  .steps { flex-direction: column; }
}
@media (max-width: 600px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: white; border-bottom: 1px solid var(--border); padding: 16px 24px; gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; text-align: center; }
}
