/* ============================================
   SUKHMAN MEDICAL CLINIC
   Stylesheet v2 — Modern brand palette
   ============================================ */

:root {
  /* Core brand colors */
  --primary: #0C447C;        /* Trust Blue */
  --primary-dark: #083359;
  --primary-light: #EBF2F9;
  --primary-soft: #F5F9FD;

  --secondary: #0F6E56;      /* Medical Teal */
  --secondary-light: #E3F2ED;

  --accent: #378ADD;         /* Sky Blue */
  --accent-light: #E6F1FB;

  --alert-bg: #FFF7EB;
  --alert-text: #8B5E00;
  --alert-dot: #E8890C;

  /* Neutrals */
  --cream: #FAF9F7;
  --dark: #0D1321;
  --body: #3C4155;
  --muted: #7E869D;
  --border: #E8EAF0;
  --white: #ffffff;

  /* Typography */
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Shape */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --container: 1200px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(12, 68, 124, 0.04);
  --shadow-md: 0 10px 30px rgba(12, 68, 124, 0.08);
  --shadow-lg: 0 24px 60px rgba(12, 68, 124, 0.12);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--dark);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.01em;
}

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

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: var(--white);
  padding: 8px 16px;
  z-index: 1000;
}
.skip-link:focus {
  top: 0;
  color: var(--white);
}

/* HEADER */
.site-header {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--container);
  margin: 0 auto;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}

.brand:hover {
  color: var(--white);
}

.brand-mark {
  width: 42px;
  height: 42px;
  background: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  overflow: hidden;
  flex-shrink: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
  padding: 6px 0;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 14px;
}

.btn-primary {
  background: var(--white);
  color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-light);
  color: var(--primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.10);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.20);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-primary-solid {
  background: var(--primary);
  color: var(--white);
}
.btn-primary-solid:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ALERT BANNER */
.alert-banner {
  background: var(--alert-bg);
  border-bottom: 1px solid #FFE4BE;
  color: var(--alert-text);
  font-size: 14px;
  padding: 11px 24px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
}

.alert-banner::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--alert-dot);
  border-radius: 50%;
  flex-shrink: 0;
}

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 120px 24px 130px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  right: -150px;
  top: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(55, 138, 221, 0.20) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::before {
  content: '';
  position: absolute;
  left: -120px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(15, 110, 86, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero h1 {
  color: var(--white);
  font-size: 64px;
  line-height: 1.05;
  margin-bottom: 22px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.hero p {
  font-size: 20px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero.hero-sm {
  padding: 90px 24px 90px;
}
.hero.hero-sm h1 {
  font-size: 52px;
}
.hero.hero-sm p {
  font-size: 18px;
  margin-bottom: 0;
}

/* INFO BAR */
.info-bar {
  background: var(--cream);
  padding: 28px 24px;
  border-bottom: 1px solid var(--border);
}

.info-bar-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.info-pill {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-pill:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.info-pill-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-pill-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.info-pill-value {
  font-size: 16px;
  color: var(--dark);
  font-weight: 700;
  margin-top: 2px;
}

/* SECTIONS */
.section {
  padding: 110px 24px;
}

.section.section-alt {
  background: var(--cream);
}

.section-header {
  max-width: var(--container);
  margin: 0 auto 64px;
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 48px;
  color: var(--dark);
  margin-bottom: 16px;
  letter-spacing: -0.025em;
  font-weight: 600;
}

.section-lead {
  font-size: 19px;
  color: var(--body);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.55;
}

/* SERVICES */
.services-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--primary-soft);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
  background: var(--white);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon {
  transform: scale(1.08);
}

.service-card h3 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.5;
}

/* DOCTOR CARD */
.doctor-section {
  max-width: 960px;
  margin: 0 auto;
}

.doctor-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.doctor-photo {
  width: 200px;
  height: 200px;
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  overflow: hidden;
}

.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-info h3 {
  font-size: 32px;
  color: var(--dark);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.doctor-role {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
}

.doctor-bio {
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: 22px;
}

.doctor-langs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.lang-chip {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--body);
  font-weight: 600;
}

/* POLICIES (GOOD TO KNOW) */
.policies-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.policy-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.policy-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

a.policy-item {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  position: relative;
}

a.policy-item:hover {
  border-color: var(--accent);
}

a.policy-item:hover h4 {
  color: var(--accent);
}

a.policy-item .policy-arrow {
  position: absolute;
  top: 22px;
  right: 22px;
  color: var(--accent);
  opacity: 0.6;
  transition: all 0.25s ease;
}

a.policy-item:hover .policy-arrow {
  opacity: 1;
  transform: translateX(3px);
}

.policy-icon {
  width: 42px;
  height: 42px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

a.policy-item .policy-icon {
  background: var(--accent-light);
  color: var(--accent);
}

.policy-item h4 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
  transition: color 0.2s ease;
}

.policy-item p {
  font-size: 13.5px;
  color: var(--body);
  line-height: 1.55;
}

/* AI Scribe callout */
.ai-scribe-callout {
  max-width: var(--container);
  margin: 28px auto 0;
  background: linear-gradient(135deg, var(--secondary) 0%, #0a5643 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  display: flex;
  gap: 24px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.ai-scribe-callout::after {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.ai-scribe-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
}

.ai-scribe-content {
  flex: 1;
  position: relative;
  z-index: 1;
}

.ai-scribe-content h4 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.ai-scribe-content p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

/* CTA SECTION */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 100px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(55, 138, 221, 0.15) 0%, transparent 60%);
  border-radius: 50%;
}

.cta-section > * {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--white);
  font-size: 44px;
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.cta-section p {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.55;
}

/* ABOUT PAGE */
.about-story {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.about-story-img {
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/5;
  overflow: hidden;
  position: sticky;
  top: 100px;
}

.about-story-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-story h2 {
  font-size: 40px;
  margin-bottom: 22px;
  color: var(--dark);
  letter-spacing: -0.025em;
}

.about-story p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--body);
  margin-bottom: 18px;
}

.about-story p.about-status {
  margin-top: 20px;
  padding: 18px 22px;
  background: var(--alert-bg);
  border-left: 4px solid var(--alert-dot);
  border-radius: var(--radius-sm);
  color: var(--alert-text);
  font-weight: 700;
  font-size: 16px;
}

.about-story p.about-languages {
  margin-top: 28px;
  padding: 14px 20px;
  background: var(--primary-soft);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--body);
  border-left: 4px solid var(--accent);
}

.about-story p.about-languages strong {
  color: var(--primary);
  font-weight: 700;
}

.values-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.value-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.value-card:nth-child(2) .value-icon {
  background: var(--secondary-light);
  color: var(--secondary);
}

.value-card:nth-child(3) .value-icon {
  background: var(--accent-light);
  color: var(--accent);
}

.value-card h3 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
  letter-spacing: -0.01em;
}

.value-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--body);
}

/* RESOURCES */
.resource-group {
  max-width: var(--container);
  margin: 0 auto 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  transition: box-shadow 0.3s ease;
}

.resource-group:hover {
  box-shadow: var(--shadow-md);
}

.resource-group-header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
}

.resource-group-logo {
  width: 52px;
  height: 52px;
  background: var(--primary);
  color: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.resource-group:nth-child(2) .resource-group-logo { background: var(--secondary); }
.resource-group:nth-child(3) .resource-group-logo { background: var(--accent); }
.resource-group:nth-child(5) .resource-group-logo { background: var(--secondary); }
.resource-group:nth-child(6) .resource-group-logo { background: var(--accent); }

.resource-group-header h2 {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}

.resource-group-header p {
  font-size: 14px;
  color: var(--muted);
}

.resource-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 28px;
}

.resource-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 14.5px;
  color: var(--primary);
  font-weight: 600;
  transition: all 0.2s ease;
}

.resource-links a:hover {
  color: var(--accent);
  transform: translateX(3px);
}

.resource-links a svg {
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.resource-links a:hover svg {
  opacity: 1;
}

/* CONTACT */
.contact-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 36px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: box-shadow 0.3s ease;
}

.contact-card:hover {
  box-shadow: var(--shadow-md);
}

.contact-card h2 {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  color: var(--dark);
  letter-spacing: -0.01em;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-item-value {
  font-size: 16px;
  color: var(--dark);
  line-height: 1.5;
  font-weight: 600;
}

.contact-item-value a {
  color: var(--dark);
  font-weight: 600;
}
.contact-item-value a:hover {
  color: var(--accent);
}

.hours-list {
  list-style: none;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 15px;
  border-bottom: 1px dashed var(--border);
}

.hours-list li:last-child {
  border-bottom: none;
}

.hours-list .day {
  color: var(--body);
  font-weight: 500;
}

.hours-list .time {
  color: var(--dark);
  font-weight: 700;
}

.hours-list .closed {
  color: var(--muted);
  font-weight: 500;
}

.map-container {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 520px;
  position: relative;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: none;
  display: block;
}

/* FOOTER */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 24px 28px;
}

.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.footer-brand-mark {
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.footer-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
}

.footer-grid p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}

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

.footer-col .hours-line {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 2;
}

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 28px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

/* TABLET LANDSCAPE (iPad landscape ~1024) */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero h1 {
    font-size: 56px;
  }
  .hero.hero-sm h1 {
    font-size: 46px;
  }
  .section-title {
    font-size: 42px;
  }
  .section {
    padding: 90px 24px;
  }
}

/* TABLET PORTRAIT (iPad portrait ~768) */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .policies-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .about-story {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-story-img {
    max-width: 400px;
    margin: 0 auto;
    position: static;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero {
    padding: 90px 24px 100px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .hero.hero-sm {
    padding: 72px 24px;
  }
  .hero.hero-sm h1 {
    font-size: 40px;
  }
  .hero p {
    font-size: 18px;
  }
  .section {
    padding: 80px 24px;
  }
  .section-title {
    font-size: 36px;
  }
  .ai-scribe-callout {
    padding: 28px;
  }
  .resource-group {
    padding: 28px;
  }
  .doctor-card {
    padding: 32px;
    gap: 28px;
  }
}

/* PHONE (~640 and below) */
@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    flex-direction: column;
    padding: 16px 24px 20px;
    gap: 2px;
    align-items: stretch;
    box-shadow: var(--shadow-md);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  .main-nav a.active::after {
    display: none;
  }

  .header-actions .btn-outline-light {
    display: none;
  }

  .header-inner {
    padding: 12px 20px;
    position: relative;
  }

  .brand {
    font-size: 15px;
    gap: 10px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero {
    padding: 60px 20px 70px;
  }

  .hero h1 {
    font-size: 36px;
    letter-spacing: -0.02em;
  }

  .hero p {
    font-size: 17px;
  }

  .hero.hero-sm {
    padding: 56px 20px;
  }

  .hero.hero-sm h1 {
    font-size: 32px;
  }

  .hero.hero-sm p {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-eyebrow {
    font-size: 11px;
    padding: 6px 14px;
  }

  .info-bar {
    padding: 20px;
  }

  .info-bar-inner {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .services-grid,
  .policies-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 24px;
  }

  .doctor-card {
    grid-template-columns: 1fr;
    padding: 28px 22px;
    text-align: center;
    gap: 22px;
  }

  .doctor-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto;
  }

  .doctor-info h3 {
    font-size: 26px;
  }

  .doctor-langs {
    justify-content: center;
  }

  .ai-scribe-callout {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
    gap: 14px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .resource-links {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .section {
    padding: 64px 20px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: 30px;
  }

  .section-lead {
    font-size: 16px;
  }

  .about-story h2 {
    font-size: 30px;
  }

  .about-story p {
    font-size: 16px;
  }

  .cta-section {
    padding: 72px 20px;
  }

  .cta-section h2 {
    font-size: 32px;
  }

  .cta-section p {
    font-size: 16px;
  }

  .alert-banner {
    font-size: 13px;
    padding: 10px 16px;
    line-height: 1.4;
  }

  .resource-group {
    padding: 24px 20px;
  }

  .resource-group-header h2 {
    font-size: 18px;
  }

  .contact-card {
    padding: 26px 22px;
  }

  a.policy-item .policy-arrow {
    top: 24px;
    right: 20px;
  }
}
