/* ===== FRESNO COMPLETE CARE — Corporate CCCHC Branding ===== */
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;500;700&display=swap');

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

:root {
  --navy-dark: #0E2249;
  --teal-blue: #0080B5;
  --teal-dark: #006a96;
  --teal-accent: #00B0D4;
  --light-blue-bg: #F1F8FF;
  --alt-section-bg: #F6F9FF;
  --text: #212529;
  --text-light: #555;
  --white: #fff;
  --border: #dee2e6;
  --shadow: 0 2px 12px rgba(14,34,73,0.08);
  --shadow-lg: 0 8px 30px rgba(14,34,73,0.12);
  --radius: 12px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  font-size: 1.05rem;
}

p {
  font-size: 1.1rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Ubuntu', sans-serif;
}

a { color: var(--teal-blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-dark); }
img { max-width: 100%; height: auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== HEADER ===== */
header {
  background: var(--white);
  padding: 28px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: none;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo { display: flex; align-items: flex-start; gap: 0; flex-direction: column; }
.logo img { height: 48px; width: auto; margin-bottom: 4px; }
.logo-icon-svg { height: 48px; width: auto; }

.logo-sub-text {
  font-size: 0.8rem;
  color: #0984B8;
  font-weight: 400;
  line-height: 1.3;
  text-transform: lowercase;
}
.logo-fresno {
  font-size: 0.6rem;
  color: var(--teal-blue);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  margin-top: 2px;
}

/* Legacy logo classes (keep for compat) */
.logo-text-group { display: flex; flex-direction: column; }
.logo-ccchc {
  font-family: 'Ubuntu', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy-dark);
  letter-spacing: 0.5px;
  line-height: 1;
}
.logo-ccchc .cc-light { color: var(--teal-blue); }
.logo-sub {
  font-size: 0.65rem;
  color: var(--teal-blue);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  margin-top: 3px;
}

.nav-group { display: flex; align-items: center; gap: 0; }

.nav-group a {
  padding: 8px 12px;
  color: #101618;
  font-weight: 400;
  font-size: 1rem;
  transition: color var(--transition);
  margin-right: 20px;
}
.nav-group a:hover { color: var(--teal-blue); }
.nav-group a.active { color: var(--teal-blue); }

.nav-group a.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #0080B5;
  color: var(--white) !important;
  padding: 16px 36px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  margin-left: 8px;
  margin-right: 0;
  white-space: nowrap;
}
.nav-group a.nav-phone:hover { color: var(--white) !important; background: var(--teal-dark); }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--green-dark);
  cursor: pointer;
}

/* ===== HERO ===== */
.hero {
  padding: 60px 0 80px;
  overflow: hidden;
  background: var(--light-blue-bg);
}

.hero-inner { display: flex; align-items: center; gap: 60px; }
.hero-content { flex: 1; }
.hero-right { flex: 1; }

.hero-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--teal-blue);
  font-weight: 600;
  margin-bottom: 16px;
}

.hero h2 {
  font-family: 'Ubuntu', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.2;
  margin-bottom: 28px;
}

.hero-cards {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 16px 0;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: none;
  border-bottom: 1px solid rgba(14, 34, 73, 0.1);
}

.hero-card:last-child { border-bottom: none; }

.hero-card-icon {
  width: 40px;
  height: 40px;
  background: var(--light-blue-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal-blue);
  font-size: 1.1rem;
}

.hero-card strong { display: block; color: var(--navy-dark); font-size: 0.9rem; font-weight: 600; }
.hero-card span { color: var(--text-light); font-size: 0.85rem; }

.btn {
  display: inline-block;
  background: var(--teal-blue);
  color: var(--white);
  padding: 20px 60px;
  border-radius: 100px;
  font-size: 1.05rem;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
  border: none;
  cursor: pointer;
  font-family: 'Ubuntu', sans-serif;
}
.btn:hover { background: var(--teal-dark); color: var(--white); transform: translateY(-2px); }

/* ===== WAVE DIVIDER ===== */
.wave-top, .wave-bottom { width: 100%; overflow: hidden; line-height: 0; }
.wave-top svg, .wave-bottom svg { display: block; width: 100%; height: 50px; }

/* ===== SECTION HELPERS ===== */
section { padding: 60px 0; }

.section-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--teal-blue);
  font-weight: 600;
  margin-bottom: 10px;
}

.section-heading {
  font-family: 'Ubuntu', sans-serif;
  font-size: 3.125rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-text { color: var(--text-light); max-width: 700px; font-size: 1rem; line-height: 1.8; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.section-heading-with-line {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.section-heading-with-line h3 {
  font-family: 'Ubuntu', sans-serif;
  font-size: 3.125rem;
  font-weight: 700;
  color: var(--teal-blue);
  white-space: nowrap;
  margin: 0;
}

.section-heading-with-line::after {
  content: '';
  flex: 1;
  height: 3px;
  background: var(--teal-blue);
}

/* ===== SPLIT SECTION ===== */
.split-section { display: flex; align-items: center; gap: 60px; }
.split-left, .split-right { flex: 1; }

.check-list { list-style: none; margin: 24px 0 32px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy-dark);
}
.check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--teal-blue);
  border-radius: 50%;
  color: var(--white);
  font-size: 0.7rem;
  flex-shrink: 0;
  font-weight: bold;
}

/* ===== SERVICE BUBBLES ===== */
.service-bubbles { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

.service-bubble {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border-radius: 50px;
  padding: 12px 24px 12px 12px;
  box-shadow: var(--shadow-lg);
}

.bubble-icon {
  width: 48px;
  height: 48px;
  background: var(--light-blue-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.service-bubble span { font-weight: 600; color: var(--navy-dark); font-size: 0.95rem; }

.services-cta { color: var(--teal-accent); font-weight: 600; font-size: 1.05rem; margin-top: 20px; }

/* ===== SERVICE CARDS (services page) ===== */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  text-align: left;
  transition: box-shadow var(--transition), transform var(--transition);
  max-width: 720px;
  margin: 0 auto 28px;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.service-card-icon {
  width: 44px;
  height: 44px;
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0 0 16px 0;
  font-size: 1.3rem;
  color: var(--teal-blue);
}

.service-card h3 {
  font-family: 'Ubuntu', sans-serif;
  font-size: 1.25rem;
  color: var(--teal-blue);
  margin-bottom: 12px;
  font-weight: 700;
}
.service-card p { color: var(--text-light); font-size: 1rem; line-height: 1.7; }

/* ===== PAGE HEADER ===== */
.page-header {
  text-align: center;
  padding: 60px 0 40px;
  position: relative;
  overflow: hidden;
  background: var(--light-blue-bg);
}

.page-header h2 {
  font-family: 'Ubuntu', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 8px;
}
.page-header p { color: var(--text-light); font-size: 1rem; max-width: 640px; margin: 0 auto; }

/* ===== ABOUT PAGE ===== */
.about-content { max-width: 800px; margin: 0 auto; }
.about-content p { margin-bottom: 16px; color: var(--text); line-height: 1.8; font-size: 1.05rem; }
.about-content h3 {
  font-family: 'Ubuntu', sans-serif;
  color: var(--navy-dark);
  font-size: 1.8rem;
  margin: 40px 0 16px;
  font-weight: 700;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 32px;
}
.value-item {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 28px;
  border-radius: 12px;
  border-left: 5px solid var(--teal-blue);
  transition: box-shadow var(--transition), transform var(--transition);
}
.value-item:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.value-item h4 {
  font-family: 'Ubuntu', sans-serif;
  color: var(--navy-dark);
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 1.1rem;
}
.value-item p { font-size: 1rem; color: var(--text-light); margin: 0; line-height: 1.6; }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}
.contact-detail .icon {
  width: 44px;
  height: 44px;
  background: var(--light-blue-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal-blue);
  font-size: 1.1rem;
}
.contact-detail strong {
  font-family: 'Ubuntu', sans-serif;
  display: block;
  color: var(--navy-dark);
  margin-bottom: 4px;
  font-weight: 700;
  font-size: 1.05rem;
}
.contact-detail p { font-size: 1rem; color: var(--text-light); }

.contact-form {
  background: var(--alt-section-bg);
  padding: 36px;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.contact-form h3 {
  font-family: 'Ubuntu', sans-serif;
  color: var(--navy-dark);
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 1.4rem;
}

.form-group { margin-bottom: 14px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  color: var(--text);
  transition: border-color var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #999; }
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--teal-blue); background-color: var(--white); }
.form-group textarea { resize: vertical; min-height: 110px; }

.btn-submit {
  display: inline-block;
  background: var(--teal-blue);
  color: var(--white);
  padding: 14px 40px;
  border: none;
  border-radius: 100px;
  font-family: 'Ubuntu', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  margin-top: 16px;
}
.btn-submit:hover { background: var(--teal-dark); transform: translateY(-2px); }

.map-embed { margin-top: 24px; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.map-embed iframe { width: 100%; height: 280px; border: 0; }

/* ===== INSURANCE ===== */
.insurance-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.insurance-badge {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 500;
  color: var(--navy-dark);
  font-size: 0.85rem;
}

/* ===== LIGHT BG SECTION ===== */
.bg-green-light,
.bg-light-blue { background: var(--alt-section-bg); }

/* ===== FOOTER ===== */
footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: 40px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.footer-about h3,
.footer-links h4,
.footer-contact h4 {
  font-family: 'Ubuntu', sans-serif;
  color: var(--white);
  margin-bottom: 14px;
  font-weight: 600;
}
.footer-about p { font-size: 0.9rem; line-height: 1.7; color: rgba(255, 255, 255, 0.8); }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255, 255, 255, 0.8); font-size: 0.9rem; }
.footer-links a:hover { color: var(--white); }
.footer-contact p { font-size: 0.9rem; margin-bottom: 8px; color: rgba(255, 255, 255, 0.8); }
.footer-contact a { color: rgba(255, 255, 255, 0.7); }
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.5); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .mobile-toggle { display: block; }
  .nav-group {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 16px;
    z-index: 99;
  }
  .nav-group.open { display: flex; }
  .nav-group a { margin-right: 0; }
  .nav-group a.nav-phone { margin-left: 0; margin-top: 8px; }

  .hero h2 { font-size: 2.2rem; }
  .hero-inner,
  .split-section { flex-direction: column; }

  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }

  .section-heading { font-size: 2rem; }
  .page-header h2 { font-size: 2rem; }

  .section-heading-with-line {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-heading-with-line h3 {
    font-size: 2rem;
  }

  .section-heading-with-line::after {
    width: 100%;
  }

  .hero { padding: 40px 0 50px; }
  .hero-cards { flex-direction: column; }
}
