/* ========================================
   uViwe Clinical Psychologists
   Redesign 2024 — Elegant Feminine Theme
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@300;400;500&display=swap');

:root {
  --plum: #643186;
  --plum-dark: #4a2264;
  --plum-light: #8e50b5;
  --plum-pale: #f5eefa;
  --plum-mist: #ede0f5;
  --blush: #f0e6f6;
  --text: #2c1a3a;
  --text-mid: #6b5275;
  --text-light: #a08ab0;
  --white: #ffffff;
  --off-white: #faf8fb;
  --border: #e4d5ee;
  --shadow: rgba(100, 49, 134, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }

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

/* ——— NAVIGATION ——— */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 80px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

.nav.scrolled {
  box-shadow: 0 4px 30px var(--shadow);
}

.nav-logo img {
  height: 60px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mid);
  position: relative;
  padding-bottom: 3px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--plum);
  transition: width 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--plum);
}

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

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--plum);
  transition: all 0.3s;
}

/* ——— HERO ——— */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(40,10,60,0.35) 0%, rgba(100,49,134,0.15) 55%, transparent 100%);
  transition: background 1.2s ease;
}

/* First slide — barely-there overlay so the photo shines */
.hero-overlay.slide-0 {
  background: linear-gradient(135deg, rgba(40,10,60,0.22) 0%, rgba(100,49,134,0.08) 50%, transparent 100%);
}

.hero-content {
  position: absolute;
  z-index: 2;
  padding: 2.8rem 3rem;
  width: 520px;
  max-width: calc(100% - 4rem);
  left: 7%;
  top: 50%;
  color: var(--white);
  transform: translateY(-42%) translateX(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease, transform 0.8s ease;

  /* Frosted glass panel — lighter */
  background: rgba(40, 10, 60, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-content.active {
  transform: translateY(-50%) translateX(0);
  opacity: 1;
  pointer-events: auto;
}

/* First slide enters from left on page load */
.hero-content[data-slide="0"].active {
  animation: heroSlideIn 1s ease 0.3s both;
}

@keyframes heroSlideIn {
  from { opacity: 0; transform: translateY(-50%) translateX(-20px); }
  to   { opacity: 1; transform: translateY(-50%) translateX(0); }
}

/* Bullet list inside hero slides */
.hero-bullets {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
  width: 100%;
}

.hero-bullets li {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.95);
  padding-left: 1.6rem;
  position: relative;
  line-height: 1.6;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.hero-bullets li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(255,255,255,0.55);
  font-weight: 300;
}

.hero-content .eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.8rem;
  display: block;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 300;
  font-style: italic;
  margin-bottom: 1.2rem;
  line-height: 1.1;
}

.hero-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
}

.btn-primary {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.7);
  color: var(--white);
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s;
}

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

.btn-plum {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: var(--plum);
  border: 1.5px solid var(--plum);
  color: var(--white);
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s;
}

.btn-plum:hover {
  background: var(--plum-dark);
  border-color: var(--plum-dark);
}

.btn-outline {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: transparent;
  border: 1.5px solid var(--plum);
  color: var(--plum);
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s;
}

.btn-outline:hover {
  background: var(--plum);
  color: var(--white);
}

.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.hero-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}

.hero-dot.active { background: var(--white); transform: scale(1.3); }

/* ——— SECTION BASE ——— */
.section {
  padding: 6rem 8%;
}

.section-sm {
  padding: 4rem 8%;
}

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

.section-plum {
  background: var(--plum);
  color: var(--white);
}

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

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--plum);
  margin-bottom: 0.75rem;
  display: block;
}

.section-plum .section-header .eyebrow {
  color: rgba(255,255,255,0.6);
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--text);
}

.section-plum .section-header h2 {
  color: var(--white);
}

.section-header .divider {
  width: 50px; height: 1px;
  background: var(--plum-light);
  margin: 1.5rem auto 0;
}

.section-plum .section-header .divider {
  background: rgba(255,255,255,0.4);
}

/* ——— WELCOME / INTRO ——— */
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: center;
}

.welcome-visual {
  position: relative;
}

.welcome-visual img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: top;
  border-radius: 2px;
}

.welcome-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--plum);
  color: var(--white);
  padding: 1.5rem;
  border-radius: 2px;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
}

.welcome-badge .num {
  font-size: 2.5rem;
  display: block;
  line-height: 1;
}

.welcome-badge .label {
  font-size: 0.85rem;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  letter-spacing: 0.05em;
}

.welcome-text .eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--plum);
  display: block;
  margin-bottom: 0.75rem;
}

.welcome-text h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  margin-bottom: 1.5rem;
  color: var(--text);
  font-style: italic;
}

.welcome-text p {
  color: var(--text-mid);
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.8;
}

.welcome-text blockquote {
  border-left: 2px solid var(--plum-light);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--plum);
  line-height: 1.5;
}

/* ——— VALUES ——— */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.value-card {
  background: var(--white);
  padding: 3rem 2rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--plum);
  transform: scaleX(0);
  transition: transform 0.4s;
}

.value-card:hover::before { transform: scaleX(1); }

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px var(--shadow);
}

.value-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--plum-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.4rem;
}

.value-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.value-card p {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.8;
}

/* ——— SERVICES SLIDER (homepage) ——— */
.services-slider-wrap {
  position: relative;
  overflow: hidden;
}

.services-slider {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}

.services-slider .service-card {
  flex: 0 0 calc(33.333% - 1rem);
  margin-right: 1.5rem;
}

.services-slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.slider-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--plum);
  background: transparent;
  color: var(--plum);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.slider-btn:hover {
  background: var(--plum);
  color: var(--white);
}

.slider-btn:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

.services-dots {
  display: flex;
  gap: 8px;
}

.services-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}

.services-dot.active {
  background: var(--plum);
  transform: scale(1.25);
}

/* ——— SERVICES GRID (services page) ——— */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  border-radius: 2px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 2px 20px var(--shadow);
  transition: transform 0.4s, box-shadow 0.4s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 45px var(--shadow);
}

.service-card-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.service-card-img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(74,34,100,0.6), transparent);
}

.service-card-body {
  padding: 1.5rem;
}

.service-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.service-card-body p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* Wide card */
.service-card-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 2fr;
  min-height: 250px;
}

.service-card-wide .service-card-img {
  height: 100%;
}

.service-card-wide .service-card-body {
  padding: 2.5rem;
}

.service-card-wide .service-card-body h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* ——— PAGE HERO (inner pages) ——— */
.page-hero {
  height: 420px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: 80px;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(74,34,100,0.85) 0%, rgba(100,49,134,0.4) 60%, transparent 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 8%;
  color: var(--white);
}

.page-hero-content .eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  display: block;
  margin-bottom: 0.5rem;
}

.page-hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  font-style: italic;
}

/* ——— ABOUT PAGE ——— */
.about-bio {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}

.about-photo {
  position: relative;
}

.about-photo img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  object-position: top;
  border-radius: 2px;
}

.about-photo-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(74,34,100,0.9), transparent);
  color: var(--white);
  padding: 2rem 1.5rem 1.5rem;
}

.about-photo-caption h3 {
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
}

.about-photo-caption span {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.75);
  font-family: 'Jost', sans-serif;
}

.about-bio-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.about-bio-text p {
  color: var(--text-mid);
  margin-bottom: 1rem;
  line-height: 1.9;
}

.specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.specialty-tag {
  padding: 0.4rem 1rem;
  background: var(--plum-pale);
  color: var(--plum);
  border-radius: 20px;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  font-family: 'Jost', sans-serif;
}

/* Affiliations */
.affiliations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.affiliation-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  text-align: center;
  border-radius: 2px;
  transition: box-shadow 0.3s;
}

.affiliation-card:hover {
  box-shadow: 0 10px 35px var(--shadow);
}

.affiliation-card img {
  height: 80px;
  width: auto;
  object-fit: contain;
  margin: 0 auto 1.5rem;
}

.affiliation-card h4 {
  font-size: 0.9rem;
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  color: var(--text-mid);
  line-height: 1.5;
}

/* ——— CONTACT ——— */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
}

.contact-info h2 {
  font-size: 2.2rem;
  font-style: italic;
  margin-bottom: 2rem;
  color: var(--text);
}

.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 40px; height: 40px;
  min-width: 40px;
  background: var(--plum-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--plum);
  font-size: 0.95rem;
}

.contact-detail-text span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  font-family: 'Jost', sans-serif;
  margin-bottom: 0.2rem;
}

.contact-detail-text a, .contact-detail-text p {
  color: var(--text);
  font-size: 0.95rem;
}

.contact-detail-text a:hover { color: var(--plum); }

.contact-form h3 {
  font-size: 1.8rem;
  font-style: italic;
  margin-bottom: 2rem;
  color: var(--text);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  font-family: 'Jost', sans-serif;
}

.form-group input,
.form-group textarea,
.form-group select {
  border: 1px solid var(--border);
  background: var(--off-white);
  padding: 0.8rem 1rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  border-radius: 2px;
  outline: none;
  transition: border-color 0.3s;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--plum);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.map-container {
  margin-top: 4rem;
  border-radius: 2px;
  overflow: hidden;
}

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

/* ——— FOOTER ——— */
footer {
  background: var(--plum-dark);
  color: rgba(255,255,255,0.8);
  padding: 4rem 8% 2rem;
}

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

.footer-brand img {
  height: 55px;
  width: auto;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
  max-width: 280px;
}

.footer-col h4 {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color 0.3s;
}

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

.footer-contact-item {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

.footer-contact-item a {
  color: rgba(255,255,255,0.7);
  transition: color 0.3s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ——— ANIMATIONS ——— */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px; height: 44px;
  background: var(--plum);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 999;
  border: none;
  box-shadow: 0 4px 20px rgba(100,49,134,0.35);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover { transform: translateY(-3px); }

/* ——— TABLET (max 1024px) ——— */
@media (max-width: 1024px) {
  .services-slider .service-card {
    flex: 0 0 calc(50% - 0.75rem);
  }

  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-bio {
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
  }

  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
  }
}

/* ——— MOBILE (max 768px) ——— */
@media (max-width: 768px) {
  /* Nav */
  .nav {
    padding: 0 5%;
    height: 70px;
  }

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

  .nav-links {
    display: none;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem 5%;
    gap: 0;
    border-top: 1px solid var(--border);
    box-shadow: 0 10px 30px var(--shadow);
    z-index: 999;
  }

  .nav-links li {
    border-bottom: 1px solid var(--border);
  }

  .nav-links li:last-child { border-bottom: none; }

  .nav-links a {
    display: block;
    padding: 1rem 0;
    font-size: 0.95rem;
  }

  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  /* Hero */
  .hero { height: 100svh; min-height: 550px; }

  .hero-content {
    left: 4%;
    right: 4%;
    width: auto;
    max-width: calc(100% - 8%);
    padding: 1.8rem 1.8rem;
  }

  .hero-content h1 { font-size: 2.1rem; }
  .hero-content p { font-size: 0.95rem; }
  .hero-bullets li { font-size: 0.93rem; }

  /* Sections */
  .section { padding: 3.5rem 6%; }
  .section-sm { padding: 2.5rem 6%; }

  /* Welcome grid */
  .welcome-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .welcome-visual img { height: 320px; }
  .welcome-badge { right: 1rem; bottom: -12px; padding: 1rem; }
  .welcome-badge .num { font-size: 1.6rem; }

  .welcome-text h2 { font-size: 1.9rem; }

  /* Values */
  .values-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .value-card { padding: 2rem 1.5rem; }

  /* Services slider — 1 card at a time on mobile */
  .services-slider .service-card {
    flex: 0 0 100%;
    margin-right: 1.5rem;
  }

  /* Services page grid */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card-wide {
    grid-column: 1;
    grid-template-columns: 1fr;
  }

  .service-card-wide .service-card-img { height: 200px; }

  /* About */
  .about-bio {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-photo img { height: 380px; }

  /* Affiliations */
  .affiliations-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  /* Page hero */
  .page-hero { height: 300px; }
  .page-hero-content { padding: 2rem 6%; }
  .page-hero-content h1 { font-size: 2.4rem; }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.4rem;
    text-align: center;
    font-size: 0.75rem;
  }

  /* Section headers */
  .section-header { margin-bottom: 2.5rem; }
  .section-header h2 { font-size: 2rem; }
}

/* ——— SMALL MOBILE (max 480px) ——— */
@media (max-width: 480px) {
  .hero-content h1 { font-size: 2rem; }
  .hero-content p { font-size: 0.9rem; max-width: 100%; }

  .btn-primary, .btn-plum, .btn-outline {
    padding: 0.75rem 1.5rem;
    font-size: 0.75rem;
    display: block;
    text-align: center;
  }

  .welcome-visual img { height: 260px; }

  .about-photo img { height: 300px; }

  .section { padding: 3rem 5%; }

  .value-card { padding: 1.75rem 1.25rem; }

  .service-card-body { padding: 1.25rem; }

  .footer-brand p { max-width: 100%; }

  .back-to-top { bottom: 1rem; right: 1rem; width: 38px; height: 38px; }

  /* Services page wide card */
  .service-card-wide .service-card-body { padding: 1.5rem; }
  .service-card-wide .service-card-body h3 { font-size: 1.2rem; }

  /* Contact */
  .contact-detail-icon { width: 34px; height: 34px; min-width: 34px; font-size: 0.8rem; }

  /* Section plum CTA */
  section.section-plum p { font-size: 0.95rem; }
}
