/* =============================================
   A-Z SPEECH THERAPY, INC. — HOMEPAGE STYLES
   Brand: Dark Purple (#4B2D7F) + Teal (#1A8C8C)
   ============================================= */

/* ---- DESIGN TOKENS ---- */
:root {
  /* Brand */
  --color-purple:         #4B2D7F;
  --color-purple-dark:    #341d5c;
  --color-purple-light:   #7B5BAE;
  --color-purple-pale:    #f0eaf8;
  --color-teal:           #1A8C8C;
  --color-teal-dark:      #116464;
  --color-teal-light:     #3db5b5;
  --color-teal-pale:      #e6f7f7;

  /* Surfaces */
  --color-bg:             #fdfcff;
  --color-surface:        #f8f5fc;
  --color-surface-2:      #ffffff;
  --color-divider:        #e8e0f2;

  /* Text */
  --color-text:           #1c1424;
  --color-text-muted:     #5e4e78;
  --color-text-faint:     #9e8fb5;
  --color-text-on-dark:   #f5f0ff;

  /* Type scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-hero: clamp(2.8rem,   1.5rem  + 5vw,    5.5rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --content-default: 1100px;
  --content-wide: 1280px;

  /* Radii */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(75,45,127,0.08);
  --shadow-md: 0 4px 16px rgba(75,45,127,0.12);
  --shadow-lg: 0 12px 40px rgba(75,45,127,0.18);

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 200ms var(--ease);

  /* Fonts */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img, picture, svg { display: block; max-width: 100%; height: auto; }
ul[role="list"], ol[role="list"] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.2; }
p, li { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }

::selection { background: rgba(75,45,127,0.18); }
:focus-visible { outline: 2px solid var(--color-teal); outline-offset: 3px; border-radius: var(--radius-sm); }

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

/* ---- LAYOUT UTILITY ---- */
.container {
  width: 100%;
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: clamp(var(--space-5), 5vw, var(--space-16));
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.65em 1.5em;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition),
              transform var(--transition);
  white-space: nowrap;
}

/* Light purple referral button — used in the referral strip */
.btn-pink {
  background: #c9a8e8;
  color: #2d1660;
  border-color: #c9a8e8;
}
.btn-pink:hover {
  background: #b88fdb;
  border-color: #b88fdb;
  box-shadow: 0 4px 16px rgba(150,100,210,0.3);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* Teal at rest, purple on hover — "Explore Our Services" style */
.btn-primary {
  background: var(--color-teal);
  color: #fff;
  border-color: var(--color-teal);
  box-shadow: 0 2px 10px rgba(26,140,140,0.25);
}
.btn-primary:hover {
  background: var(--color-purple);
  border-color: var(--color-purple);
  color: #fff;
  box-shadow: 0 4px 18px rgba(75,45,127,0.35);
}

/* Purple at rest, teal on hover — "Make a Referral" header button */
.btn-referral {
  background: var(--color-purple);
  color: #fff;
  border-color: var(--color-purple);
  box-shadow: 0 2px 10px rgba(75,45,127,0.3);
}
.btn-referral:hover {
  background: var(--color-teal);
  border-color: var(--color-teal);
  color: #fff;
  box-shadow: 0 4px 18px rgba(26,140,140,0.35);
}

.btn-outline {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.2);
  border-color: #fff;
  color: #fff;
  box-shadow: 0 4px 16px rgba(255,255,255,0.15);
}
/* outline on light backgrounds */
.about-text .btn-outline,
.referral-strip .btn-outline {
  background: transparent;
  color: var(--color-purple);
  border-color: var(--color-purple);
}
.about-text .btn-outline:hover,
.referral-strip .btn-outline:hover {
  background: var(--color-purple);
  color: #fff;
  box-shadow: 0 4px 16px rgba(75,45,127,0.25);
}

.btn-white {
  background: #fff;
  color: var(--color-purple-dark);
  border-color: #fff;
}
.btn-white:hover {
  background: var(--color-purple-pale);
  border-color: var(--color-purple-pale);
  box-shadow: 0 4px 16px rgba(255,255,255,0.2);
}

.btn-lg { padding: 0.8em 2em; font-size: var(--text-base); }

/* ---- SECTION LABELS ---- */
.section-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: var(--space-3);
  display: block;
}

/* ---- SCROLL REVEAL ---- */
.reveal-ready {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.reveal-ready.revealed {
  opacity: 1;
  transform: none;
}

/* ==============================
   HEADER
   ============================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253,252,255,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  border-color: var(--color-divider);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 4vw, var(--space-12));
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
  transition: opacity var(--transition);
}
.nav-logo:hover { opacity: 0.85; }

.logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: transparent;
}

.nav-brand {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 0.7rem + 0.7vw, 1.1rem);
  font-weight: 700;
  color: var(--color-purple-dark);
  line-height: 1.2;
  white-space: nowrap;
}
.nav-brand-inc {
  color: var(--color-purple-dark);
}

.main-nav {
  margin-left: auto;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(var(--space-3), 1.4vw, var(--space-6));
  list-style: none;
  white-space: nowrap;
}
.main-nav a {
  font-size: clamp(0.75rem, 0.65rem + 0.5vw, 0.875rem);
  font-weight: 500;
  color: var(--color-text-muted);
  padding-block: var(--space-1);
  position: relative;
  transition: color var(--transition);
  white-space: nowrap;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-teal);
  border-radius: 1px;
  transition: width var(--transition);
}
.main-nav a:hover { color: var(--color-purple-dark); }
.main-nav a:hover::after { width: 100%; }

/* Staff Login tab */
.nav-staff {
  background: var(--color-purple-pale);
  color: var(--color-purple-dark) !important;
  padding: 0.3em 0.85em !important;
  border-radius: var(--radius-full);
  font-weight: 600 !important;
  border: 1.5px solid var(--color-purple-light);
}
.nav-staff::after { display: none !important; }
.nav-staff:hover {
  background: var(--color-purple) !important;
  color: #fff !important;
  border-color: var(--color-purple) !important;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-shrink: 0;
}
.header-actions .btn-primary { display: none; }

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-purple-dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), width var(--transition);
  width: 100%;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  background: var(--color-bg);
  border-top: 1px solid var(--color-divider);
  padding: var(--space-6) clamp(var(--space-4), 4vw, var(--space-12));
  animation: slideDown 0.25s var(--ease);
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: var(--space-4); }
.mobile-menu a {
  display: block;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-muted);
  padding-block: var(--space-2);
  border-bottom: 1px solid var(--color-divider);
  transition: color var(--transition), padding-left var(--transition);
}
.mobile-menu a:hover { color: var(--color-purple-dark); padding-left: var(--space-2); }
.mobile-menu .mobile-cta { border-bottom: none; margin-top: var(--space-2); }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

/* ==============================
   HERO
   ============================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(
    145deg,
    var(--color-purple-dark) 0%,
    var(--color-purple) 45%,
    #2a6b7c 100%
  );
}

/* Watermark */
.hero-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}
.hero-watermark img {
  width: clamp(380px, 70vw, 820px);
  height: clamp(380px, 70vw, 820px);
  object-fit: contain;
  opacity: 0.09;
  filter: brightness(4) saturate(0);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: clamp(var(--space-12), 10vw, var(--space-24)) var(--space-6);
  max-width: 900px;
  margin-inline: auto;
}

.hero-logo-wrap {
  width: clamp(180px, 26vw, 260px);
  height: clamp(180px, 26vw, 260px);
  border-radius: 50%;
  background: rgba(255,255,255,0.0);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3);
  margin-bottom: var(--space-2);
}
.hero-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw + 1rem, 4.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 2px 24px rgba(0,0,0,0.2);
  white-space: nowrap;
  margin-bottom: var(--space-4);
}
.hero-title-inc {
  color: #fff;
}
@media (max-width: 600px) {
  .hero-title { white-space: normal; font-size: clamp(1.6rem, 8vw, 2.4rem); }
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 300;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  margin-bottom: var(--space-8);
}

.hero-location {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.03em;
}

.hero-actions {
  display: flex;
  gap: var(--space-8);
  flex-wrap: wrap;
  justify-content: center;
}

.hero-scroll-hint {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.4);
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ==============================
   WHO WE SERVE
   ============================== */
.serve-section {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
  background: var(--color-bg);
}
.serve-section .container { text-align: center; }
.serve-section h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-purple-dark);
  margin-bottom: var(--space-12);
}

.serve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  text-align: left;
}
@media (max-width: 960px) {
  .serve-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .serve-grid { grid-template-columns: 1fr; }
}

.serve-card {
  background: var(--color-surface-2);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid var(--color-divider);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.serve-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--color-teal-light);
}

.serve-icon {
  width: 52px;
  height: 52px;
  background: var(--color-teal-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--color-teal-dark);
}
.serve-icon svg {
  width: 28px;
  height: 28px;
}

.serve-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-purple-dark);
  margin-bottom: var(--space-3);
}
.serve-card p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-5);
}
.serve-card p strong {
  color: var(--color-purple-dark);
  font-weight: 600;
}

.card-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-teal);
  transition: color var(--transition), gap var(--transition);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}
.card-link:hover { color: var(--color-teal-dark); }

/* ==============================
   SERVICES
   ============================== */
.services-section {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
  background: var(--color-surface);
}
.services-section h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-purple-dark);
  margin-bottom: var(--space-12);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-1);
}

.service-item {
  display: flex;
  gap: var(--space-6);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  background: var(--color-surface-2);
  border: 1px solid var(--color-divider);
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-divider);
  line-height: 1;
  flex-shrink: 0;
  min-width: 2ch;
}

.service-body h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-purple-dark);
  margin-bottom: var(--space-3);
}
.service-body p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.65;
}

.services-cta {
  margin-top: var(--space-10);
  display: flex;
  justify-content: center;
}

/* ==============================
   ABOUT / OWNER
   ============================== */
.about-section {
  position: relative;
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
  background: var(--color-purple-pale);
  overflow: hidden;
}

.about-watermark {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
}
.about-watermark img {
  width: clamp(300px, 45vw, 600px);
  height: clamp(300px, 45vw, 600px);
  object-fit: contain;
  opacity: 0.06;
  filter: hue-rotate(240deg) saturate(1.5);
}

.about-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(var(--space-10), 6vw, var(--space-20));
  align-items: start;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-purple-dark);
  margin-bottom: var(--space-6);
}
.about-text p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-5);
  max-width: 62ch;
}
.about-text .btn-outline {
  margin-top: var(--space-3);
}

.about-credentials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  flex-shrink: 0;
}

.credential-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-divider);
  min-width: 130px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.credential-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.credential-number {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--color-purple);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.credential-label {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  line-height: 1.4;
}

/* ==============================
   JOIN / WORK WITH US
   ============================== */
.join-section {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
  background: linear-gradient(135deg, var(--color-purple-dark) 0%, var(--color-purple) 60%, #1a5f70 100%);
  position: relative;
  overflow: hidden;
}
.join-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.join-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.join-label { color: var(--color-teal-light) !important; }

.join-text h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: #fff;
  margin-bottom: var(--space-5);
}
.join-text p {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
  margin-bottom: var(--space-6);
  max-width: 62ch;
}

.join-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}
.join-list li {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.85);
  padding-left: var(--space-6);
  position: relative;
}
.join-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-teal-light);
}

/* ==============================
   REFERRAL STRIP
   ============================== */
.referral-strip {
  padding-block: clamp(var(--space-10), 6vw, var(--space-16));
  background: var(--color-bg);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}

.referral-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.referral-text h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-purple-dark);
  margin-bottom: var(--space-2);
}
.referral-text p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 52ch;
}

.referral-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ==============================
   FOOTER
   ============================== */
.site-footer {
  background: var(--color-purple-dark);
  color: rgba(255,255,255,0.75);
  padding-top: clamp(var(--space-10), 6vw, var(--space-16));
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-8);
  align-items: start;
  padding-bottom: var(--space-10);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.footer-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  opacity: 0.9;
}
.footer-name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: #fff;
}
.footer-sub {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  text-align: center;
}
.footer-nav a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--color-teal-light); }

.footer-meta {
  text-align: right;
}
.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-base);
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--space-4);
}
.footer-credit a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  transition: color var(--transition);
}
.footer-credit a:hover { color: var(--color-teal-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: var(--space-5);
  text-align: center;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.3);
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (min-width: 900px) {
  .header-actions .btn-primary { display: inline-flex; }
  .nav-toggle { display: none; }
}

@media (max-width: 899px) {
  .main-nav { display: none; }
  .header-actions .btn-primary { display: none; }
}

@media (max-width: 900px) {
  .about-inner {
    grid-template-columns: 1fr;
  }
  .about-credentials {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-watermark { display: none; }
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-brand { justify-content: center; }
  .footer-nav ul { align-items: center; }
  .footer-meta { text-align: center; }
}

@media (max-width: 600px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .serve-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .service-item { flex-direction: column; gap: var(--space-3); }
  .about-credentials { grid-template-columns: 1fr 1fr; }
  .referral-inner { flex-direction: column; align-items: flex-start; }
  .referral-actions { flex-direction: column; width: 100%; }
  .referral-actions .btn { width: 100%; }
}
