/* ============================================
   DHS PRIMARY CARE — v3 Warm & Welcoming
   ============================================ */

:root {
  --cream: #FBF8F4;
  --sand: #F3EDE4;
  --blush: #F5EDE8;
  --sage: #6B8F71;
  --sage-light: #E8F0E9;
  --terracotta: #C4663A;
  --terracotta-soft: #D4836B;
  --coral-light: #F8E8E0;
  --charcoal: #2C2C2C;
  --charcoal-soft: #4A4A4A;
  --warm-gray: #8A8178;
  --teal: #2A8F8F;
  --white: #FFFFFF;
  --font-display: 'Fraunces', serif;
  --font-body: 'Source Sans 3', sans-serif;
}

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

html, body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ── Navigation: Minimal side-peek ── */

.nav-strip {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: rgba(251, 248, 244, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: box-shadow 0.3s ease;
}

.nav-strip.scrolled {
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.02em;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--terracotta);
}

.nav-phone svg {
  width: 16px;
  height: 16px;
  fill: var(--terracotta);
}

.nav-menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nav-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Overlay menu */
.overlay-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  height: 100dvh;
  background: var(--cream);
  z-index: 200;
  padding: 5rem 2rem 2rem;
  transition: right 0.35s ease;
  box-shadow: -4px 0 24px rgba(0,0,0,0.08);
}

.overlay-menu.open {
  right: 0;
}

.overlay-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(44, 44, 44, 0.3);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.overlay-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.overlay-menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--charcoal);
  line-height: 1;
}

.overlay-menu nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.overlay-menu nav a {
  display: block;
  padding: 1rem 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--charcoal);
  border-bottom: 1px solid var(--sand);
  transition: color 0.2s;
}

.overlay-menu nav a:hover {
  color: var(--terracotta);
}

.overlay-menu .menu-phone {
  margin-top: 2rem;
  display: block;
  text-align: center;
  padding: 0.9rem 1.5rem;
  background: var(--sage);
  color: var(--white);
  border-radius: 6px;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

/* ── Hero ── */

.hero {
  padding: 7rem 1.5rem 3rem;
  min-height: 85vh;
  min-height: 85dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  background: var(--cream);
}

.hero-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.2rem, 12vw, 8rem);
  line-height: 0.92;
  color: var(--charcoal);
  letter-spacing: -0.02em;
  margin-bottom: 0.15em;
  /* Slight optical alignment */
  margin-left: -0.04em;
}

.hero-name .dhs {
  display: block;
  font-size: 1.15em;
  color: var(--terracotta);
}

.hero-name .primary-care {
  display: block;
  font-size: 0.65em;
  color: var(--charcoal);
}

.hero-sub {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--warm-gray);
  margin-top: 0.75rem;
  letter-spacing: 0.04em;
}

.hero-sub .dot {
  margin: 0 0.4em;
  color: var(--sage);
}

.hero-price {
  margin-top: 1.5rem;
  display: inline-block;
  background: var(--sage-light);
  padding: 0.65rem 1.2rem;
  border-radius: 4px;
  border-left: 3px solid var(--sage);
}

.hero-price strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--sage);
  font-weight: 700;
}

.hero-price span {
  font-size: 1rem;
  color: var(--charcoal-soft);
  margin-left: 0.3rem;
}

.hero-price .es {
  display: block;
  font-style: italic;
  color: var(--warm-gray);
  font-size: 0.9rem;
  margin-top: 0.15rem;
}

.hero-cta-row {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--terracotta);
  color: var(--white);
  padding: 0.85rem 1.6rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: background 0.2s;
}

.btn-call:hover {
  background: #b35a32;
}

.btn-call svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.hero-hours-hint {
  font-size: 0.9rem;
  color: var(--warm-gray);
}

.hero-hours-hint strong {
  color: var(--charcoal);
}

/* Hero photo strip */
.hero-photos {
  margin-top: 3rem;
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
}

.hero-photos::-webkit-scrollbar {
  display: none;
}

.hero-photos img {
  flex: 0 0 75vw;
  max-width: 400px;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  scroll-snap-align: start;
  filter: saturate(1.05) brightness(1.02);
}

/* ── Section spacing ── */

section {
  padding: 4rem 1.5rem;
}

.section-label {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.3rem;
  line-height: 1.2;
}

.section-label-es {
  font-style: italic;
  color: var(--warm-gray);
  font-size: 1rem;
  margin-bottom: 2rem;
  display: block;
}

/* ── About / Welcome ── */

.about {
  background: var(--white);
}

.about-content {
  max-width: 640px;
}

.about-content p {
  font-size: 1.08rem;
  color: var(--charcoal-soft);
  margin-bottom: 1.2rem;
  line-height: 1.7;
}

.about-content .es-line {
  font-style: italic;
  color: var(--warm-gray);
  font-size: 0.95rem;
}

.providers {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.provider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.provider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sage);
  flex-shrink: 0;
}

.provider-name {
  font-weight: 600;
  font-size: 1.05rem;
}

.provider-title {
  color: var(--warm-gray);
  font-size: 0.9rem;
}

/* ── Services / Pricing — Restaurant menu style ── */

.services {
  background: var(--cream);
}

.menu-list {
  max-width: 600px;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px dashed rgba(138, 129, 120, 0.25);
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--charcoal);
}

.menu-item-es {
  font-style: italic;
  color: var(--warm-gray);
  font-size: 0.85rem;
  margin-top: 0.1rem;
}

.menu-item-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--terracotta);
  white-space: nowrap;
  margin-left: 1rem;
}

.menu-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--warm-gray);
  font-style: italic;
}

.menu-additional {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.menu-additional-item {
  background: var(--sand);
  padding: 0.4rem 0.9rem;
  border-radius: 3px;
  font-size: 0.88rem;
  color: var(--charcoal-soft);
}

/* ── Reviews ── */

.reviews {
  background: var(--blush);
}

.review-list {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.review {
  position: relative;
}

.review-quote {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--charcoal);
  position: relative;
  padding-left: 1.5rem;
  border-left: 3px solid var(--terracotta-soft);
}

.review-quote::before {
  content: '"';
  position: absolute;
  left: -0.4rem;
  top: -0.6rem;
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--terracotta-soft);
  opacity: 0.3;
  line-height: 1;
}

.review-author {
  margin-top: 0.75rem;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  color: var(--warm-gray);
}

.review-author strong {
  color: var(--charcoal);
}

.review-stars {
  color: var(--terracotta);
  letter-spacing: 0.05em;
}

/* ── Hours & Location ── */

.location {
  background: var(--white);
}

.location-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 640px;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table tr {
  border-bottom: 1px solid var(--sand);
}

.hours-table td {
  padding: 0.7rem 0;
  font-size: 1rem;
}

.hours-table td:first-child {
  font-weight: 600;
  color: var(--charcoal);
  width: 55%;
}

.hours-table td:last-child {
  color: var(--charcoal-soft);
  text-align: right;
}

.hours-table tr.today {
  background: var(--sage-light);
}

.hours-table tr.today td {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  border-radius: 4px;
}

.hours-table tr.closed td:last-child {
  color: var(--terracotta-soft);
}

.address-block {
  line-height: 1.8;
}

.address-block .addr-line {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--charcoal);
}

.address-block .addr-detail {
  color: var(--charcoal-soft);
  font-size: 0.95rem;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  color: var(--sage);
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.map-link:hover {
  border-bottom-color: var(--sage);
}

.map-link svg {
  width: 16px;
  height: 16px;
  fill: var(--sage);
}

.fax-line {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  color: var(--warm-gray);
}

/* ── Footer ── */

.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  padding: 3rem 1.5rem;
  text-align: center;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-addr {
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.footer-phone {
  color: var(--terracotta-soft);
  font-weight: 600;
  font-size: 1rem;
}

.footer-copy {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  opacity: 0.5;
}

/* ── Rating row in hero ── */
.hero-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--warm-gray);
}

.hero-rating .stars {
  color: var(--terracotta);
  letter-spacing: 0.05em;
}

/* ── Desktop & Tablet ── */

@media (min-width: 640px) {
  .hero {
    padding: 8rem 3rem 4rem;
  }

  .hero-photos img {
    flex: 0 0 45vw;
    max-width: 380px;
    height: 260px;
  }

  section {
    padding: 5rem 3rem;
  }

  .location-grid {
    flex-direction: row;
    gap: 4rem;
    max-width: 800px;
  }

  .location-grid > div {
    flex: 1;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 8rem 5rem 5rem;
  }

  .hero-name {
    font-size: clamp(5rem, 9vw, 9rem);
  }

  .hero-photos {
    gap: 1rem;
  }

  .hero-photos img {
    flex: 0 0 30vw;
    max-width: 420px;
    height: 300px;
  }

  section {
    padding: 6rem 5rem;
  }

  .nav-strip {
    padding: 1rem 3rem;
  }

  .review-list {
    max-width: 700px;
  }
}

@media (min-width: 1280px) {
  .hero {
    padding: 9rem 8rem 5rem;
  }

  section {
    padding: 6rem 8rem;
  }

  .nav-strip {
    padding: 1rem 5rem;
  }
}

/* ── Bottom mobile tab bar ── */
.mobile-tabs {
  display: none;
}

@media (max-width: 639px) {
  .mobile-tabs {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--white);
    box-shadow: 0 -2px 12px rgba(0,0,0,0.06);
    padding: 0.4rem 0 calc(0.4rem + env(safe-area-inset-bottom, 0px));
  }

  .mobile-tabs a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    padding: 0.4rem 0;
    font-size: 0.68rem;
    color: var(--warm-gray);
    text-decoration: none;
    font-weight: 500;
  }

  .mobile-tabs a svg {
    width: 20px;
    height: 20px;
    fill: var(--warm-gray);
  }

  .mobile-tabs a.tab-call {
    color: var(--terracotta);
  }

  .mobile-tabs a.tab-call svg {
    fill: var(--terracotta);
  }

  .site-footer {
    padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
  }

  .nav-phone {
    display: none;
  }
}


