/* ==========================================================================
   E & M Medical Services, LLC — Stylesheet
   Palette: Teal #009688 | Navy #1a3a5c | Dark Gray #37474F | White
   ========================================================================== */

/* Reset & Base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --teal: #009688;
  --teal-dark: #00796b;
  --teal-light: #4db6ac;
  --teal-tint: #e0f2f1;
  --navy: #1a3a5c;
  --navy-light: #2c5282;
  --gray-dark: #37474f;
  --gray-medium: #607d8b;
  --gray-light: #cfd8dc;
  --off-white: #f7f9fa;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(26, 58, 92, 0.08);
  --shadow-md: 0 6px 20px rgba(26, 58, 92, 0.12);
  --shadow-lg: 0 12px 40px rgba(26, 58, 92, 0.15);
  --radius: 8px;
  --radius-lg: 16px;
  --max-width: 1200px;
  --transition: 0.3s ease;
  --safe-top: env(safe-area-inset-top, 0);
  --safe-bottom: env(safe-area-inset-bottom, 0);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

button,
a.btn {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--teal-dark);
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; }

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

/* Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: box-shadow var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.logo-link img {
  height: 56px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text .brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.1rem;
}

.logo-text .brand span {
  color: var(--teal);
}

.logo-text .tagline {
  font-size: 0.7rem;
  color: var(--teal);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--navy);
  margin: 6px 0;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.site-nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.site-nav a {
  color: var(--gray-dark);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  position: relative;
  letter-spacing: 0.02em;
}

.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width var(--transition);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--teal);
}

.site-nav a:hover::after,
.site-nav a.active::after {
  width: 100%;
}

/* Hero Sections
   ========================================================================== */
.hero {
  padding: 10rem 1.5rem 5rem;
  background: linear-gradient(135deg, var(--teal-tint) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 150, 136, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Home Hero (with light background image)
   ========================================================================== */
.hero-home {
  min-height: 620px;
  padding: 10rem 1.5rem 5rem;
  background: linear-gradient(135deg, #f0f7f8 0%, #ffffff 60%, #e8f4f5 100%);
}

.hero-home::before {
  display: none;
}

.hero-bg-home {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  z-index: 0;
  pointer-events: none;
}

.hero-home .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.75) 30%,
    rgba(255, 255, 255, 0.25) 55%,
    rgba(255, 255, 255, 0) 75%);
  pointer-events: none;
}

.hero-home .hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-home .hero-eyebrow {
  background: rgba(0, 150, 136, 0.12);
  color: var(--teal-dark);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hero-home h1 {
  color: var(--navy);
  max-width: 620px;
}

.hero-home h1 em {
  color: var(--teal);
  font-style: italic;
}

.hero-home .hero-lead {
  color: var(--gray-dark);
  max-width: 560px;
  font-weight: 500;
}

.hero-home .btn-outline {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Hero with background image (About, Services, Testimonials, Contact)
   ========================================================================== */
.hero-image {
  min-height: 460px;
  padding: 10rem 1.5rem 5rem;
  background: var(--navy);
  color: var(--white);
}

.hero-image::before {
  display: none;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.hero-image .hero-overlay {
  background:
    linear-gradient(90deg, rgba(26, 58, 92, 0.85) 0%, rgba(26, 58, 92, 0.55) 60%, rgba(0, 121, 107, 0.35) 100%),
    linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-image .hero-eyebrow {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-image h1 {
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.hero-image h1 em {
  color: var(--teal-light);
  font-style: italic;
}

.hero-image .hero-lead {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.hero-eyebrow {
  display: inline-block;
  color: var(--teal);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  padding: 0.35rem 0.9rem;
  background: rgba(0, 150, 136, 0.08);
  border-radius: 999px;
}

.hero h1 {
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.hero h1 em {
  color: var(--teal);
  font-style: italic;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--gray-medium);
  max-width: 620px;
  margin-bottom: 2rem;
}

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

/* Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  border: 2px solid transparent;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

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

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

/* Sections
   ========================================================================== */
section {
  padding: 5rem 1.5rem;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-header .eyebrow {
  color: var(--teal);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
  display: block;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--gray-medium);
  font-size: 1.05rem;
}

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

/* Signature: Compassion. Care. Commitment.
   ========================================================================== */
.pillars {
  padding: 5rem 1.5rem;
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.pillars::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(0, 150, 136, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(0, 150, 136, 0.1) 0%, transparent 50%);
}

.pillars-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  position: relative;
  z-index: 1;
  text-align: center;
}

.pillar {
  position: relative;
}

.pillar-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-style: italic;
  color: var(--teal-light);
  font-weight: 400;
  margin-bottom: 0.5rem;
  opacity: 0.6;
}

.pillar h3 {
  color: var(--white);
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.01em;
}

.pillar p {
  color: var(--gray-light);
  font-size: 0.95rem;
  max-width: 260px;
  margin: 0 auto;
}

/* Services Grid
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-light);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--teal);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition);
  z-index: 2;
}

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

.service-card:hover::before {
  transform: scaleY(1);
}

.service-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--teal-tint);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(26, 58, 92, 0.15) 100%);
  pointer-events: none;
}

.service-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-icon {
  width: 44px;
  height: 44px;
  background: var(--teal-tint);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--teal);
  transition: all var(--transition);
  flex-shrink: 0;
}

.service-card:hover .service-icon {
  background: var(--teal);
  color: var(--white);
}

.service-icon svg {
  width: 22px;
  height: 22px;
}

.service-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
}

.service-content p {
  color: var(--gray-medium);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

/* About / Mission / Vision
   ========================================================================== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.two-col .col-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%);
  position: relative;
}

.two-col .col-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.mv-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--teal);
}

.mv-card:nth-child(2) {
  border-top-color: var(--navy);
}

.mv-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mv-icon {
  width: 32px;
  height: 32px;
  color: var(--teal);
}

.mv-card:nth-child(2) .mv-icon { color: var(--navy); }

/* Core Values Grid
   ========================================================================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.value-item {
  background: var(--white);
  padding: 1.75rem 1.25rem;
  text-align: center;
  border-radius: var(--radius);
  border: 1px solid var(--gray-light);
  transition: all var(--transition);
}

.value-item:hover {
  border-color: var(--teal);
  background: var(--teal-tint);
  transform: translateY(-2px);
}

.value-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 0.75rem;
  color: var(--teal);
}

.value-item h4 {
  color: var(--navy);
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
}

/* Timeline / Since 2005
   ========================================================================== */
.since-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: var(--teal-tint);
  border-radius: var(--radius);
  border-left: 4px solid var(--teal);
  margin-bottom: 2rem;
}

.since-badge .year {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}

.since-badge .label {
  color: var(--gray-dark);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* Testimonials
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.testimonial-card::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  font-size: 5rem;
  color: var(--teal);
  opacity: 0.2;
  line-height: 1;
}

.testimonial-stars {
  color: #f5a623;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
}

.testimonial-quote {
  font-style: italic;
  color: var(--gray-dark);
  margin-bottom: 1.5rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-light);
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%);
  border: 2px solid var(--teal-tint);
  box-shadow: 0 2px 8px rgba(26, 58, 92, 0.15);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.testimonial-author-info h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.15rem;
  font-weight: 600;
}

.testimonial-author-info span {
  color: var(--gray-medium);
  font-size: 0.85rem;
}

/* Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all var(--transition);
}

.contact-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

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

.contact-icon svg { width: 22px; height: 22px; }

.contact-card h4 {
  font-family: 'Inter', sans-serif;
  color: var(--navy);
  margin-bottom: 0.3rem;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact-card p, .contact-card a {
  color: var(--gray-dark);
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: block;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  color: var(--gray-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 150, 136, 0.12);
}

textarea {
  resize: vertical;
  min-height: 130px;
  font-family: inherit;
}

.form-note {
  color: var(--gray-medium);
  font-size: 0.85rem;
  margin-top: 1rem;
  text-align: center;
}

.map-embed {
  margin-top: 4rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 7;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* CTA Section
   ========================================================================== */
.cta-section {
  padding: 5rem 1.5rem;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: var(--white);
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

.cta-section .btn-primary {
  background: var(--white);
  color: var(--teal);
}

.cta-section .btn-primary:hover {
  background: var(--navy);
  color: var(--white);
}

/* Footer
   ========================================================================== */
.site-footer {
  background: var(--navy);
  color: var(--gray-light);
  padding: 4rem 1.5rem 1.5rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
  color: var(--gray-light);
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
}

.footer-logo img {
  height: 52px;
  width: auto;
}

.footer-logo .brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  color: var(--gray-light);
  font-size: 0.95rem;
}

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

.footer-col address {
  font-style: normal;
  color: var(--gray-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-col address a {
  display: inline-block;
  margin-top: 0.5rem;
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-tagline {
  color: var(--teal-light);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 500;
}

/* Page-specific: Services list (detailed)
   ========================================================================== */
.service-detail {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--gray-light);
  align-items: flex-start;
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--teal);
  font-style: italic;
  font-weight: 400;
  line-height: 1;
}

.service-detail h3 {
  color: var(--navy);
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

.service-detail p {
  color: var(--gray-medium);
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.7;
}

/* Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .mission-vision {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .pillars-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right var(--transition);
    padding: 6rem 2rem 2rem;
  }

  .site-nav.active {
    right: 0;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .site-nav a {
    font-size: 1.1rem;
    display: block;
    padding: 0.75rem 0;
  }

  .logo-text .brand {
    font-size: 0.95rem;
  }

  .logo-text .tagline {
    font-size: 0.6rem;
  }

  .logo-link img {
    height: 48px;
  }

  .hero {
    padding: 8rem 1.5rem 4rem;
  }

  .hero-home {
    min-height: 520px;
    padding: 7.5rem 1.25rem 3rem;
  }

  .hero-home .hero-overlay {
    background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.75) 0%,
      rgba(255, 255, 255, 0.85) 35%,
      rgba(255, 255, 255, 0.7) 100%);
  }

  .hero-home h1 {
    max-width: 100%;
  }

  .hero-home .hero-lead {
    max-width: 100%;
  }

  section {
    padding: 4rem 1.5rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .service-detail-number {
    font-size: 2rem;
  }
}

@media (max-width: 540px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .contact-form {
    padding: 1.75rem;
  }

  .service-card,
  .mv-card,
  .testimonial-card {
    padding: 1.75rem;
  }
}

/* Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Focus visible for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}
