:root {
  /* Brand Colors */
  --pgs-blue: #5988DA; /* PGS Blue */
  --pgs-orange: #FF8400; /* PGS Orange */
  --pgs-light-blue: #97CBEA; /* secondary */
  --pgs-steel-blue: #73A8E4; /* secondary */
  --pgs-yellow-orange: #F2C21A; /* secondary */
  --pgs-light-gray: #D3D3D3; /* secondary */

  /* Neutral + text */
  --color-bg: #f5f7fb;
  --color-bg-alt: #ffffff;
  --color-text: #1f2933;
  --color-muted: #6b7280;
  --shadow-soft: 0 14px 30px rgba(15, 23, 42, 0.12);
  --radius-lg: 18px;
  --radius-md: 12px;
  --max-width: 1120px;
}

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

body {
  font-family: "Gotham Book", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color: var(--color-text);
  background: radial-gradient(circle at top left, #ffffff 0, #f3f4f6 40%, #e5e7eb 100%);
  line-height: 1.6;
}

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

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

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
}

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

.logo-image {
  height: 40px;
  width: auto;
  display: block;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, var(--pgs-orange), var(--pgs-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.logo-text-top {
  font-family: "Gotham Bold", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--pgs-blue);
}

.logo-text-bottom {
  font-family: "Gotham Book", system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  color: var(--color-muted);
  display: inline-block;
  white-space: nowrap; /* keep each label on a single line */
}

.nav-links a:hover {
  color: var(--pgs-blue);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pgs-blue), var(--pgs-orange));
  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:focus-visible {
  outline: 2px solid var(--pgs-blue);
  outline-offset: 0.2rem;
  border-radius: 0.2rem;
}

/* NAV: small-screen spacing & select sizing tweaks */
@media (max-width: 900px) {
  .nav-links { gap: 0.9rem; }
  .nav-links a { font-size: 0.9rem; }
}

@media (max-width: 420px) {
  .nav-links a { font-size: 0.88rem; }
  .nav-links-mobile-select { width: 100%; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pgs-blue), var(--pgs-steel-blue));
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(89, 136, 218, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(89, 136, 218, 0.55);
}

.btn-outline {
  background: #ffffff;
  color: var(--pgs-blue);
  border: 1px solid var(--pgs-blue);
}

.btn-outline:hover {
  background: var(--pgs-blue);
  color: #ffffff;
}

/* Language toggle visibility */
.lang-en,
.lang-es {
  display: block;
}

html[data-lang="en"] .lang-es {
  display: none !important;
}

html[data-lang="es"] .lang-en {
  display: none !important;
}

/* Language toggle UI */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: #eef2ff;
  font-size: 0.75rem;
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-muted);
}

.lang-btn-active {
  background: var(--pgs-blue);
  color: #ffffff;
}

/* Mobile nav */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-links-mobile-select {
  display: none;
}

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

  .nav-links-mobile-select {
    display: inline-block;
    border-radius: 999px;
    padding: 0.25rem 0.5rem;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    font-size: 0.88rem;
    color: var(--color-muted);
  }
}

/* HERO */
.hero {
  position: relative;
  padding: 3.5rem 0 2.5rem;
  color: #f9fafb;
  /* Fallback background color in case the hero image fails to load */
  background-color: #061026;
  overflow: hidden;
  isolation: isolate;
}

/* Background image + dark overlay behind hero content */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(15, 23, 42, 0.80),
      rgba(15, 23, 42, 0.85)
    ),
    url("assets/brownsville-hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.03); /* slight zoom to avoid edges on resize */
}

/* Make sure the inner grid sits above the overlay */
.hero-inner {
  position: relative;
  z-index: 1;
}

/* Slightly lighter text for supporting copy */
.hero-subtitle,
.hero-subtitle-es,
.hero-contact-line {
  color: #e5e7eb;
}


.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

/* Small-screen hero adjustments for better focal point and readability */
@media (max-width: 480px) {
  .hero {
    padding: 2rem 0 1.5rem; /* reduce vertical space on tiny phones */
  }

  .hero::before {
    /* slightly stronger overlay and nudge focal point upward */
    background: linear-gradient(to bottom, rgba(15,23,42,0.90), rgba(15,23,42,0.92)), url("assets/brownsville-hero.jpg");
    background-position: 50% 30%;
    transform: scale(1);
  }

  .hero-title,
  .hero-subtitle,
  .hero-contact-line {
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
  }
}

/* Very subtle global text-shadow for hero titles to improve contrast */
.hero-title {
  text-shadow: 0 1px 4px rgba(0,0,0,0.45);
}

.hero-title span {
  color: var(--pgs-light-blue);
}

.hero-badge {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(226, 232, 240, 0.7);
  color: #e5e7eb;
}

.hero-kicker {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--pgs-blue);
  margin-bottom: 0.75rem;
}

.hero-title {
  font-family: "Gotham Bold", system-ui, sans-serif;
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.hero-title span {
  color: var(--pgs-blue);
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--color-muted);
  margin-bottom: 0.5rem;
}

.hero-subtitle-es {
  font-size: 0.95rem;
  color: var(--pgs-steel-blue);
  font-style: italic;
  margin-bottom: 1.3rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.hero-contact-line {
  font-size: 0.95rem;
  color: var(--color-muted);
}

.hero-contact-line strong {
  color: var(--pgs-blue);
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.hero-badge {
  font-size: 0.78rem;
  background: #ffffff;
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--color-muted);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--pgs-orange);
}

.stat-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.stat-pill {
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px; /* square-ish card style */
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

/* Make text readable on white background */
.stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #374151; /* dark gray for contrast */
}

.stat-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1f2937; /* main text color */
}


.hero-card {
  background: radial-gradient(circle at top, var(--pgs-light-blue), var(--pgs-blue));
  border-radius: 24px;
  padding: 1.6rem 1.4rem;
  color: #ffffff;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  right: -40px;
  top: -50px;
}

.hero-card-heading {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.hero-card-pill {
  font-family: "Jakobs Handwriting 2", "Pacifico", cursive;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.hero-card-list {
  list-style: none;
  font-size: 0.9rem;
}

.hero-card-list li {
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-card-list span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--pgs-yellow-orange);
  flex-shrink: 0;
}

.hero-hospital-tag {
  margin-top: 1rem;
  font-size: 0.8rem;
  opacity: 0.9;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* SECTIONS GENERIC */
.section {
  padding: 2.5rem 0;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1.5rem;
}

.section-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--pgs-steel-blue);
  font-weight: 600;
}

.section-title {
  font-size: 1.45rem;
  font-weight: 600;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--color-muted);
}

/* GRID CARDS */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1rem;
  box-shadow: 0 10px 22px rgba(148, 163, 184, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
  gap: 0.5rem;
}

.card-header-main {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.card-avatar {
  width: 64px;
  height: 64px;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.28);
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
}

.card-pill {
  font-size: 0.72rem;
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
  background: rgba(89, 136, 218, 0.12);
  color: var(--pgs-blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.card-body {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 0.5rem;
}

.card-meta {
  font-size: 0.82rem;
  color: var(--pgs-steel-blue);
}

.card-footer {
  margin-top: 0.65rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.link {
  color: var(--pgs-blue);
  font-weight: 500;
}

.link:hover {
  text-decoration: underline;
}

/* CONTACT / LOCATIONS */
.locations {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: flex-start;
}

.location-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.8rem;
}

.location-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1rem 1rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 18px rgba(148, 163, 184, 0.25);
}

.location-name {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.location-address {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 0.25rem;
}

.location-note {
  font-size: 0.85rem;
  color: var(--pgs-steel-blue);
}

.contact-panel {
  background: linear-gradient(135deg, var(--pgs-blue), var(--pgs-light-blue));
  border-radius: 22px;
  padding: 1.2rem 1.2rem;
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.contact-panel-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.contact-panel-line {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  margin-top: 0.6rem;
  font-size: 0.9rem;
  font-weight: 500;
}

/* FOOTER */
/* CONTACT FORM */
.contact-form {
  margin-top: 1.2rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
}

.contact-form-title {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.contact-form-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.6rem;
}

.contact-form-row label {
  font-size: 0.85rem;
  opacity: 0.95;
}

.contact-form-row input,
.contact-form-row textarea {
  border-radius: 10px;
  border: none;
  padding: 0.4rem 0.55rem;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.contact-form-row input::placeholder,
.contact-form-row textarea::placeholder {
  color: rgba(255, 255, 255, 0.8);
}

.contact-form-row input:focus,
.contact-form-row textarea:focus {
  background: rgba(255, 255, 255, 0.25);
}

.contact-form-button {
  margin-top: 0.3rem;
  font-size: 0.88rem;
}

.contact-form-note {
  margin-top: 0.45rem;
  font-size: 0.8rem;
  opacity: 0.9;
}

footer {
  border-top: 1px solid #e5e7eb;
  padding: 1.4rem 0 1.6rem;
  background: #ffffff;
  margin-top: 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--color-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Footer branding with logo */
.footer-branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-copyright {
  line-height: 1.4;
}

.footer-logo {
  height: 30px;
  width: auto;
  opacity: 0.85;
}

.footer-logo:hover {
  opacity: 1;
}

.footer-separator {
  color: var(--color-muted);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero {
    padding-top: 2.7rem;
  }

  .locations {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Additional phone-focused tweaks (improve spacing & touch targets) */
@media (max-width: 600px) {
  /* Slightly tighter navbar padding and smaller gaps to fit narrow screens */
  .navbar-inner {
    padding: 0.6rem 0.9rem;
  }

  .nav-actions {
    gap: 0.5rem;
    align-items: center;
  }

  /* Make the mobile select easier to tap and read */
  .nav-links-mobile-select {
    font-size: 0.95rem;
    padding: 0.4rem 0.6rem;
  }

  /* Language toggle: larger tap targets and balanced spacing */
  .lang-toggle {
    padding: 0.2rem;
    gap: 0.2rem;
    border-radius: 12px;
  }

  .lang-btn {
    padding: 0.36rem 0.6rem;
    font-size: 0.85rem;
    min-width: 40px;
    line-height: 1;
  }

  /* Ensure primary CTA in the navbar wraps nicely */
  .nav-actions > a.btn {
    padding: 0.5rem 0.9rem;
    font-size: 0.9rem;
  }

  /* Contact panel: make full-width, reduce padding and improve form spacing */
  .contact-panel {
    padding: 1rem;
    border-radius: 14px;
  }

  .contact-panel-line {
    font-size: 0.95rem;
  }

  .contact-email {
    width: 100%;
    justify-content: flex-start;
    padding: 0.5rem 0.6rem;
    font-size: 0.95rem;
  }

  /* Make inputs and the submit button full width and stack vertically */
  .contact-form-row input,
  .contact-form-row textarea {
    width: 100%;
    padding: 0.5rem 0.6rem;
  }

  .contact-form-button {
    display: block;
    width: 100%;
    padding: 0.6rem 0.75rem;
    margin-top: 0.5rem;
    box-sizing: border-box;
  }

  .contact-form-note {
    font-size: 0.85rem;
  }

  /* Slightly reduce hero vertical spacing on phones */
  .hero {
    padding: 2.2rem 0 1.4rem;
  }

  /* Footer stack on small screens */
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .footer-links {
    gap: 0.5rem;
  }

  .footer-copyright {
    font-size: 0.8rem;
  }
}

/* Very small phones: optimize card header for narrow widths */
@media (max-width: 480px) {
  .card-header {
    gap: 0.4rem;
    flex-wrap: wrap;
  }

  .card-header-main {
    flex: 1 1 auto;
    min-width: 0;
  }

  .card-avatar {
    width: 56px;
    height: 56px;
    aspect-ratio: 1 / 1;
  }

  .card-title {
    font-size: 0.95rem;
  }

  .card-pill {
    font-size: 0.65rem;
    padding: 0.08rem 0.5rem;
  }
}

/* Ultra-small phones (< 400px): enhanced card header alignment */
@media (max-width: 400px) {
  .card-header {
    gap: 0.3rem;
    flex-wrap: wrap;
  }

  .card-header-main {
    flex: 1 1 auto;
    min-width: 0;
    gap: 0.15rem;
  }

  .card-avatar {
    width: 50px;
    height: 50px;
    aspect-ratio: 1 / 1;
  }

  .card-title {
    font-size: 0.92rem;
    line-height: 1.2;
  }

  .card-pill {
    font-size: 0.62rem;
    padding: 0.06rem 0.45rem;
  }
}

/* Ensure stat pills don't clip on very narrow screens */
@media (max-width: 420px) {
  .stat-bar {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.5rem;
  }

  .stat-pill {
    padding: 0.5rem 0.6rem; /* slightly reduce padding to preserve content space */
  }

  .stat-label {
    font-size: 0.66rem;
  }

  .stat-value {
    font-size: 0. ninerem;
  }
}

.link {
  color: var(--pgs-blue);
  font-weight: 500;
}

.link:hover {
  text-decoration: underline;
}

/* CONTACT / LOCATIONS */
.locations {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: flex-start;
}

.location-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.8rem;
}

.location-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1rem 1rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 18px rgba(148, 163, 184, 0.25);
}

.location-name {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.location-address {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 0.25rem;
}

.location-note {
  font-size: 0.85rem;
  color: var(--pgs-steel-blue);
}

.contact-panel {
  background: linear-gradient(135deg, var(--pgs-blue), var(--pgs-light-blue));
  border-radius: 22px;
  padding: 1.2rem 1.2rem;
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.contact-panel-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.contact-panel-line {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  margin-top: 0.6rem;
  font-size: 0.9rem;
  font-weight: 500;
}

/* FOOTER */
/* CONTACT FORM */
.contact-form {
  margin-top: 1.2rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
}

.contact-form-title {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.contact-form-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.6rem;
}

.contact-form-row label {
  font-size: 0.85rem;
  opacity: 0.95;
}

.contact-form-row input,
.contact-form-row textarea {
  border-radius: 10px;
  border: none;
  padding: 0.4rem 0.55rem;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.contact-form-row input::placeholder,
.contact-form-row textarea::placeholder {
  color: rgba(255, 255, 255, 0.8);
}

.contact-form-row input:focus,
.contact-form-row textarea:focus {
  background: rgba(255, 255, 255, 0.25);
}

.contact-form-button {
  margin-top: 0.3rem;
  font-size: 0.88rem;
}

.contact-form-note {
  margin-top: 0.45rem;
  font-size: 0.8rem;
  opacity: 0.9;
}

footer {
  border-top: 1px solid #e5e7eb;
  padding: 1.4rem 0 1.6rem;
  background: #ffffff;
  margin-top: 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--color-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Ensure stat bar labels are readable on light pill background */
.stat-pill {
  background: #ffffff;
  border-radius: 999px;
  padding: 0.65rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  box-shadow: 0 8px 18px rgba(148, 163, 184, 0.3);
  border: 1px solid #e5e7eb;
}

.stat-label,
.stat-value {
  color: #1f2933; /* same as var(--color-text) */
}

/* Footer branding with logo */
.footer-branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo {
  height: 30px;
  width: auto;
  opacity: 0.85;
}

.footer-logo:hover {
  opacity: 1;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero {
    padding-top: 2.7rem;
  }

  .locations {
    grid-template-columns: minmax(0, 1fr);
  }
}
