/* ============================================================
   Kids in Care — PPEC Design System
   Used alongside Tailwind CSS via CDN.
   Only includes what Tailwind cannot handle natively.
   ============================================================ */

/* ------------------------------------------------------------
   1. CSS Custom Properties
   ------------------------------------------------------------ */
:root {
  --color-primary: #0B6E72;
  --color-primary-dark: #095558;
  --color-accent: #F4845F;
  --color-accent-dark: #E06D48;
  --color-bg-light: #F7FBFB;
  --color-bg-section: #E8F4F5;
  --color-dark: #1A2E35;
  --color-muted: #6B7C84;
  --color-white: #FFFFFF;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.07);
  --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.12);
  --radius-card: 16px;
  --radius-input: 12px;
  --radius-btn: 8px;
  --radius-pill: 50px;
  --transition: 0.25s ease;
  --section-padding: clamp(64px, 8vw, 96px);
  --max-width: 1200px;

  /* Rainbow Accent Colors (from logo) */
  --accent-red: #E63329;
  --accent-orange: #F47B20;
  --accent-yellow: #F6C01C;
  --accent-green: #3AAA35;
  --accent-blue: #1D9DD9;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-dark);
  background: var(--color-bg-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ------------------------------------------------------------
   3. Typography
   ------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-dark);
}

h1 {
  font-size: clamp(36px, 5vw, 56px);
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
}

h3 {
  font-size: clamp(20px, 3vw, 28px);
}

h4 {
  font-size: 20px;
}

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

/* ------------------------------------------------------------
   3b. Section Label (uppercase colored label above H2s)
   ------------------------------------------------------------ */
.section-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ------------------------------------------------------------
   3c. Microcopy & Urgency Tag
   ------------------------------------------------------------ */
.microcopy {
  font-size: 12px;
  color: var(--color-muted);
  font-style: italic;
  margin-top: 8px;
}

.hero-split .microcopy {
  color: white;
  font-size: 15px;
  opacity: 1;
  font-weight: 500;
}

.urgency-tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-orange);
  margin-bottom: 12px;
}

/* ------------------------------------------------------------
   4. Accessibility — Skip Link
   ------------------------------------------------------------ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 12px 24px;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border-radius: var(--radius-btn);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

/* ------------------------------------------------------------
   5. Screen Reader Only
   ------------------------------------------------------------ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------
   6. Container & Section
   ------------------------------------------------------------ */
.container {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

/* ------------------------------------------------------------
   7. Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}

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

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

.btn-cta {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn-cta:hover {
  background: var(--color-accent-dark);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

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

.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

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

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

.btn-white:hover {
  box-shadow: var(--shadow-card);
}

/* ------------------------------------------------------------
   8. Cards
   ------------------------------------------------------------ */
.card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 32px;
  transition: box-shadow var(--transition), transform var(--transition);
}

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

/* ------------------------------------------------------------
   9. Image Placeholders
   ------------------------------------------------------------ */
.img-placeholder {
  background-color: #E8F4F5;
  display: block;
  width: 100%;
  height: auto;
  min-height: 200px;
  object-fit: cover;
  border-radius: var(--radius-card);
}

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

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: var(--color-dark);
  font-weight: 500;
  transition: color var(--transition);
}

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

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

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

/* ------------------------------------------------------------
   11. Mobile Menu Overlay
   ------------------------------------------------------------ */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--color-white);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu a {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-dark);
  text-decoration: none;
  transition: color var(--transition);
}

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

/* ------------------------------------------------------------
   12. Page Hero (Inner Pages)
   ------------------------------------------------------------ */
.page-hero {
  background: var(--color-primary);
  color: var(--color-white);
  padding: clamp(80px, 10vw, 120px) 0 clamp(60px, 8vw, 80px);
  position: relative;
}

.page-hero h1 {
  color: var(--color-white);
}

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}

.page-hero .breadcrumb a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-hero .breadcrumb a:hover {
  color: white;
}

.breadcrumb-sep {
  color: rgba(255,255,255,0.4);
  font-size: 12px;
}

/* ------------------------------------------------------------
   13. Home Hero (Split Layout)
   ------------------------------------------------------------ */
.hero-split {
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 600px;
  padding-top: 80px;
  align-items: stretch;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 80px);
  background: linear-gradient(160deg, #0a5e62 0%, var(--color-primary) 40%, #0d7f84 100%);
  color: var(--color-white);
}

.hero-content h1 {
  color: var(--color-white);
}

.hero-image {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.hero-image video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-image img,
.hero-image .img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

/* ------------------------------------------------------------
   14. Stats Bar
   ------------------------------------------------------------ */
.stats-bar {
  background: var(--color-primary-dark);
  color: var(--color-white);
  padding: 24px 0;
}

.stats-bar .stat {
  text-align: center;
}

.stats-bar .stat-value {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.stats-bar .stat-label {
  font-size: 14px;
  opacity: 0.85;
  margin-top: 4px;
}

/* ------------------------------------------------------------
   15. Info Card (Teal Left Border)
   ------------------------------------------------------------ */
.info-card {
  border-left: 4px solid var(--color-primary);
  background: var(--color-white);
  padding: 24px 28px;
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  box-shadow: var(--shadow-card);
}

/* ------------------------------------------------------------
   16. Service Cards Grid
   ------------------------------------------------------------ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  text-align: center;
  padding: 40px 24px;
}

.service-card .icon {
  font-size: 40px;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card .link {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition);
}

.service-card .link:hover {
  color: var(--color-accent-dark);
}

/* ------------------------------------------------------------
   17. Differentiators Grid
   ------------------------------------------------------------ */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* ------------------------------------------------------------
   18. Social / Image Grid
   ------------------------------------------------------------ */
.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.social-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 1;
}

.social-card img,
.social-card .img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-card .overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 110, 114, 0.7);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  color: var(--color-white);
}

.social-card:hover .overlay {
  opacity: 1;
}

/* ------------------------------------------------------------
   19. Testimonial Cards
   ------------------------------------------------------------ */
.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.testimonial-card .stars {
  color: var(--color-accent);
  font-size: 20px;
  margin-bottom: 16px;
}

.testimonial-card .quote {
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 16px;
  color: var(--color-dark);
}

.testimonial-card .author {
  font-weight: 600;
  color: var(--color-muted);
}

/* ------------------------------------------------------------
   20. Testimonial Carousel (Mobile)
   ------------------------------------------------------------ */
.testimonial-carousel {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  display: flex;
  gap: 24px;
  padding-bottom: 16px;
  -webkit-overflow-scrolling: touch;
}

.testimonial-carousel::-webkit-scrollbar {
  display: none;
}

.testimonial-carousel {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.testimonial-carousel .testimonial-card {
  min-width: 85vw;
  scroll-snap-align: center;
  flex-shrink: 0;
}

/* ------------------------------------------------------------
   21. Carousel Dots
   ------------------------------------------------------------ */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-muted);
  opacity: 0.3;
  border: none;
  cursor: pointer;
  transition: opacity var(--transition), background var(--transition);
  padding: 0;
}

.carousel-dot.active {
  opacity: 1;
  background: var(--color-primary);
}

/* ------------------------------------------------------------
   22. CTA Banner
   ------------------------------------------------------------ */
.cta-banner {
  background: var(--color-accent);
  color: var(--color-white);
  text-align: center;
  padding: clamp(48px, 6vw, 80px) 24px;
}

.cta-banner h2 {
  color: var(--color-white);
  margin-bottom: 16px;
}

.cta-banner p {
  max-width: 600px;
  margin: 0 auto 32px;
  opacity: 0.95;
}

/* ------------------------------------------------------------
   23. Timeline / Steps
   ------------------------------------------------------------ */
.timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  gap: 24px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-bg-section);
}

.timeline-step {
  text-align: center;
  position: relative;
  z-index: 1;
  flex: 1;
}

.timeline-step .step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 16px;
  font-size: 18px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ------------------------------------------------------------
   24. FAQ Accordion
   ------------------------------------------------------------ */
.faq-item {
  border-bottom: 1px solid #E0E8EA;
  padding: 0;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-dark);
  text-align: left;
  font-family: 'Plus Jakarta Sans', sans-serif;
  gap: 16px;
}

.faq-question .icon {
  transition: transform 0.25s ease;
  font-size: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.faq-item.open .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0;
}

.faq-item.open .faq-answer {
  padding-bottom: 20px;
}

/* ------------------------------------------------------------
   25. Forms
   ------------------------------------------------------------ */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--color-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #D4DFE2;
  border-radius: var(--radius-input);
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--color-white);
  color: var(--color-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(11, 110, 114, 0.1);
}

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

.form-group .error {
  border-color: #E53E3E;
}

.form-group .error-msg {
  color: #E53E3E;
  font-size: 13px;
  margin-top: 4px;
  display: none;
}

.form-group.has-error .error-msg {
  display: block;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #E53E3E;
}

/* ------------------------------------------------------------
   26. File Input
   ------------------------------------------------------------ */
.file-input-wrapper {
  position: relative;
  border: 2px dashed #D4DFE2;
  border-radius: var(--radius-input);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition);
}

.file-input-wrapper:hover {
  border-color: var(--color-primary);
}

.file-input-wrapper input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

/* ------------------------------------------------------------
   27. Form Success State
   ------------------------------------------------------------ */
.form-success {
  display: none;
  text-align: center;
  padding: 40px;
  background: var(--color-bg-section);
  border-radius: var(--radius-card);
}

.form-success.show {
  display: block;
}

.form-success .icon {
  font-size: 48px;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.form-success h3 {
  margin-bottom: 8px;
}

/* ------------------------------------------------------------
   28. Radio Group
   ------------------------------------------------------------ */
.radio-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 400;
}

/* ------------------------------------------------------------
   29. Staff Cards
   ------------------------------------------------------------ */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.staff-card {
  text-align: center;
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 32px 24px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.staff-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.staff-card .photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 0 auto 16px;
  object-fit: cover;
  background: #E8F4F5;
}

.staff-card .name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 20px;
}

.staff-card .title {
  color: var(--color-primary);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ------------------------------------------------------------
   30. Condition Pills / Badges
   ------------------------------------------------------------ */
.condition-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.condition-pill {
  background: var(--color-bg-section);
  color: var(--color-primary);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid rgba(11, 110, 114, 0.15);
}

/* ------------------------------------------------------------
   31. Alternating Service Sections
   ------------------------------------------------------------ */
.service-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.service-section:nth-child(even) {
  direction: rtl;
}

.service-section:nth-child(even) > * {
  direction: ltr;
}

/* ------------------------------------------------------------
   32. Role List
   ------------------------------------------------------------ */
.role-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.role-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--color-white);
  border-radius: var(--radius-input);
  box-shadow: var(--shadow-card);
  font-weight: 600;
}

/* ------------------------------------------------------------
   33. Benefits Grid
   ------------------------------------------------------------ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ------------------------------------------------------------
   34. Contact Layout
   ------------------------------------------------------------ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

/* ------------------------------------------------------------
   35. Google Maps Embed
   ------------------------------------------------------------ */
.map-container {
  border-radius: var(--radius-card);
  overflow: hidden;
  height: 300px;
  margin-top: 24px;
}

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

/* ------------------------------------------------------------
   36. Floating Call Button (Mobile Only)
   ------------------------------------------------------------ */
.floating-call {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 16px rgba(244, 132, 95, 0.4);
  z-index: 900;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
  border: none;
}

.floating-call:hover {
  transform: scale(1.1);
}

/* ------------------------------------------------------------
   37. Scroll Animations
   ------------------------------------------------------------ */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------------------------------------
   38. Footer
   ------------------------------------------------------------ */
.footer {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 64px 0 0;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color var(--transition);
}

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

.footer h4 {
  color: var(--color-white);
  margin-bottom: 16px;
}

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

.footer .bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 48px;
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.footer .social-icons {
  display: flex;
  gap: 16px;
}

.footer .social-icons a {
  font-size: 20px;
}

.footer .tagline {
  font-size: 14px;
  opacity: 0.7;
  margin-top: 8px;
}

/* ------------------------------------------------------------
   39. Language Toggle
   ------------------------------------------------------------ */
.lang-toggle {
  display: inline-flex;
  border: 1px solid #D4DFE2;
  border-radius: 6px;
  overflow: hidden;
  font-size: 14px;
}

.lang-toggle button {
  padding: 6px 12px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-muted);
  transition: background var(--transition), color var(--transition);
  font-family: 'Inter', sans-serif;
}

.lang-toggle button.active {
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 4px;
}

/* ------------------------------------------------------------
   39b. "Se Habla Español" Badge
   ------------------------------------------------------------ */
.spanish-badge {
  background: #3AAA35;
  color: white;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 50px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-block;
}

/* ------------------------------------------------------------
   40. Checklist (Families Page)
   ------------------------------------------------------------ */
.checklist {
  list-style: none;
}

.checklist li {
  padding: 10px 0;
  padding-left: 32px;
  position: relative;
  font-size: 17px;
}

.checklist li::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-size: 20px;
}

/* ------------------------------------------------------------
   41. Specialization Cards Grid
   ------------------------------------------------------------ */
.specialization-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.spec-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), transform var(--transition);
}

.spec-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.spec-card .spec-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.spec-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  margin-bottom: 8px;
}

.spec-card p {
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ------------------------------------------------------------
   42. Tour Modal
   ------------------------------------------------------------ */
.tour-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.tour-modal-overlay.open {
  display: flex;
}

.tour-modal {
  background: var(--color-white);
  max-width: 560px;
  width: calc(100% - 32px);
  border-radius: 16px;
  padding: 40px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.tour-modal .modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-muted);
  line-height: 1;
  transition: color var(--transition);
}

.tour-modal .modal-close:hover {
  color: var(--color-dark);
}

.tour-modal h2 {
  margin-bottom: 8px;
}

.tour-modal .modal-subtitle {
  color: var(--color-muted);
  margin-bottom: 24px;
  font-size: 15px;
}

/* ------------------------------------------------------------
   43. Staff Photo Placeholder Fallback
   ------------------------------------------------------------ */
.staff-photo-placeholder {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #E8F4F5;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 48px;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* ------------------------------------------------------------
   Desktop: >= 1024px — Carousel overrides
   ------------------------------------------------------------ */
@media (min-width: 768px) {
  .testimonial-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow-x: visible;
    scroll-snap-type: none;
  }

  .testimonial-carousel .testimonial-card {
    min-width: 0;
    scroll-snap-align: none;
    flex-shrink: 1;
  }

  .carousel-dots {
    display: none;
  }
}

/* ------------------------------------------------------------
   <= 1024px — Tablet adjustments
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .staff-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .role-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ------------------------------------------------------------
   <= 768px — Mobile adjustments
   ------------------------------------------------------------ */
@media (max-width: 768px) {
  .hero-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-image {
    order: -1;
    height: 100%;
    min-height: 500px;
  }

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

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

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

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

  .service-section:nth-child(even) {
    direction: ltr;
  }

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

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

  /* Timeline goes vertical on mobile */
  .timeline {
    flex-direction: column;
  }

  .timeline::before {
    left: 24px;
    top: 0;
    bottom: 0;
    right: auto;
    width: 3px;
    height: auto;
  }

  .timeline-step {
    text-align: left;
    padding-left: 64px;
  }

  .timeline-step .step-number {
    position: absolute;
    left: 0;
    margin: 0;
  }
}

/* ------------------------------------------------------------
   <= 767px — Floating call button visible
   ------------------------------------------------------------ */
@media (max-width: 767px) {
  .floating-call {
    display: flex;
  }
}

/* ------------------------------------------------------------
   <= 639px — Hide header badge + lang toggle on small screens
   ------------------------------------------------------------ */
@media (max-width: 639px) {
  .header .spanish-badge,
  .header .lang-toggle {
    display: none;
  }
}

/* ------------------------------------------------------------
   <= 640px — Small mobile adjustments
   ------------------------------------------------------------ */
@media (max-width: 640px) {
  .staff-grid {
    grid-template-columns: 1fr;
  }

  .role-list {
    grid-template-columns: 1fr;
  }

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

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

/* ------------------------------------------------------------
   <= 480px — Extra small devices
   ------------------------------------------------------------ */
@media (max-width: 480px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .card {
    padding: 24px;
  }

  .testimonial-card {
    padding: 24px;
  }

  .service-card {
    padding: 32px 20px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 15px;
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  .header,
  .footer,
  .floating-call,
  .skip-link,
  .mobile-menu,
  .tour-modal-overlay {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
    line-height: 1.5;
  }

  .section {
    padding: 24px 0;
  }

  .card,
  .testimonial-card,
  .info-card {
    box-shadow: none;
    border: 1px solid #ccc;
    break-inside: avoid;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .fade-in-up {
    opacity: 1 !important;
    transform: none !important;
  }
}
