/* ============================================================
   FisioGlobal - Modern Physical Therapy Clinic Website
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --primary: #009688;
  --primary-dark: #00796b;
  --primary-light: #b2dfdb;
  --accent: #00bcd4;
  --text: #263238;
  --text-light: #546e7a;
  --bg: #ffffff;
  --bg-alt: #f5f9f8;
  --bg-dark: #00332e;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.16);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  --max-width: 1200px;
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

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

.section-header h2 {
  color: var(--text);
  margin-bottom: .75rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.section-header p {
  color: var(--text-light);
  max-width: 600px;
  margin: 1rem auto 0;
  font-size: 1.05rem;
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  transition: color var(--transition);
}

.navbar.scrolled .nav-logo { color: var(--primary-dark); }

.nav-logo img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,.9);
  font-weight: 500;
  font-size: .95rem;
  position: relative;
  padding: .25rem 0;
}

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

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

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

/* Language switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: .35rem;
  background: rgba(255,255,255,.15);
  border-radius: 50px;
  padding: .3rem;
  border: 1px solid rgba(255,255,255,.2);
  transition: background var(--transition), border-color var(--transition);
}

.navbar.scrolled .lang-switch {
  background: rgba(0,0,0,.05);
  border-color: rgba(0,0,0,.1);
}

.lang-switch a {
  padding: .3rem .7rem;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  transition: all var(--transition);
}

.navbar.scrolled .lang-switch a { color: var(--text-light); }

.lang-switch a.active {
  background: var(--primary);
  color: var(--white) !important;
}

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

.nav-toggle span {
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.navbar.scrolled .nav-toggle span { background: var(--text); }

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../images/IMG-20230924-WA0008.jpg') center/cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,50,46,.85) 0%, rgba(0,77,84,.7) 50%, rgba(0,105,92,.6) 100%);
}

.hero-content {
  position: relative;
  text-align: center;
  color: var(--white);
  padding: 2rem 1rem;
  max-width: 800px;
}

.hero-content h1 {
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}

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

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  opacity: .9;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-badge {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  padding: .5rem 1.2rem;
  border-radius: 50px;
  font-size: .9rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: .5rem;
}

.hero-badge svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  font-family: var(--font);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0,150,136,.4);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,150,136,.5);
}

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

.btn-outline:hover {
  background: rgba(255,255,255,.1);
  color: var(--white);
  border-color: var(--white);
}

.btn svg { width: 20px; height: 20px; }

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.6);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ---------- About ---------- */
.about {
  padding: 6rem 0;
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
}

.about-image::before {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--primary);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-text h2 span { color: var(--primary); }

.about-text p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat {
  text-align: center;
  padding: 1.2rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
  transition: transform var(--transition);
}

.stat:hover { transform: translateY(-4px); }

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.stat-label {
  font-size: .85rem;
  color: var(--text-light);
  margin-top: .25rem;
}

/* ---------- Services ---------- */
.services {
  padding: 6rem 0;
  background: var(--bg-alt);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

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

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card-body {
  padding: 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card h3 {
  margin-bottom: .75rem;
  font-family: var(--font-heading);
  color: var(--text);
}

.service-card p {
  color: var(--text-light);
  font-size: .95rem;
  flex: 1;
}

.service-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: .25rem .75rem;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  margin-top: 1rem;
  align-self: flex-start;
}

/* ---------- Gallery ---------- */
.gallery {
  padding: 6rem 0;
  background: var(--bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,50,46,.6) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover::after { opacity: 1; }

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  color: var(--white);
  z-index: 2;
  transform: translateY(20px);
  opacity: 0;
  transition: all var(--transition);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
  opacity: 1;
}

.gallery-overlay p {
  font-weight: 500;
  font-size: .95rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,.15);
  border: none;
  color: var(--white);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.lightbox-close:hover { background: rgba(255,255,255,.25); }

/* ---------- Videos ---------- */
.videos {
  padding: 6rem 0;
  background: var(--bg-alt);
}

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

.video-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

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

.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-thumb iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.3);
  transition: background var(--transition);
}

.video-card:hover .video-play { background: rgba(0,0,0,.4); }

.video-play-btn {
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,150,136,.5);
  transition: transform var(--transition);
}

.video-card:hover .video-play-btn { transform: scale(1.1); }

.video-play-btn svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
  margin-left: 3px;
}

.video-info {
  padding: 1.5rem;
}

.video-info h3 {
  font-family: var(--font-heading);
  margin-bottom: .5rem;
}

.video-info p {
  color: var(--text-light);
  font-size: .9rem;
}

.video-date {
  display: inline-block;
  color: var(--primary);
  font-size: .8rem;
  font-weight: 600;
  margin-top: .75rem;
}

/* ---------- Facebook Feed ---------- */
.facebook-feed {
  padding: 6rem 0;
  background: var(--bg-alt);
}

.facebook-feed-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.facebook-feed-embed {
  display: flex;
  justify-content: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--white);
}

.facebook-feed-embed iframe {
  max-width: 100%;
}

.facebook-feed-cta {
  text-align: center;
  padding: 2rem;
}

.facebook-feed-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  color: #1877F2;
}

.facebook-feed-icon svg {
  width: 100%;
  height: 100%;
}

.facebook-feed-cta h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.facebook-feed-cta p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.facebook-feed-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.facebook-feed-cta .btn svg {
  width: 20px;
  height: 20px;
}

/* ---------- Certifications ---------- */
.certifications {
  padding: 6rem 0;
  background: var(--bg);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.cert-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  border: 1px solid transparent;
  transition: all var(--transition);
}

.cert-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.cert-icon {
  width: 56px;
  height: 56px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
}

.cert-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--white);
  fill: none;
}

.cert-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: .5rem;
}

.cert-card p {
  color: var(--text-light);
  font-size: .9rem;
}

/* ---------- Testimonials ---------- */
.testimonials {
  padding: 6rem 0;
  background: var(--bg-alt);
}

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

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

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

.testimonial-quote {
  font-size: 3rem;
  color: var(--primary-light);
  font-family: Georgia, serif;
  line-height: 1;
  margin-bottom: .5rem;
}

.testimonial-card p {
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.testimonial-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 1.1rem;
}

.testimonial-name {
  font-weight: 600;
  color: var(--text);
}

.testimonial-role {
  font-size: .8rem;
  color: var(--text-light);
}

/* ---------- Contact / CTA ---------- */
.contact {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #004d40 100%);
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

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

.contact-text p {
  opacity: .85;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--white);
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  fill: none;
}

.contact-item-text strong {
  display: block;
  font-size: .85rem;
  opacity: .7;
  font-weight: 500;
}

.contact-item-text span {
  font-size: 1.05rem;
}

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

.contact-item-text a:hover { color: var(--accent); }

.contact-social {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-link {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37,211,102,.4);
  z-index: 999;
  transition: all var(--transition);
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37,211,102,.5);
  color: var(--white);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: var(--white);
}

@keyframes pulse-whatsapp {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Map / Location ---------- */
.contact-map {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 350px;
  height: 100%;
  border: 1px solid rgba(255,255,255,.1);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  display: block;
}

.map-directions-btn {
  align-self: flex-start;
}

.map-directions-btn svg {
  width: 20px;
  height: 20px;
}

/* ---------- Footer ---------- */
.footer {
  background: #001a17;
  color: rgba(255,255,255,.6);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: .75rem;
}

.footer-brand p {
  font-size: .9rem;
  line-height: 1.7;
}

.footer-links h4 {
  color: var(--white);
  font-family: var(--font);
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

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

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

.footer-links a {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
}

.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: var(--accent); }

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

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

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

  .about-image { max-width: 400px; margin: 0 auto; }

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

  .facebook-feed-container {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition);
    z-index: 998;
  }

  .nav-links.open { right: 0; }

  .nav-links a {
    color: var(--text) !important;
    font-size: 1.1rem;
  }

  .nav-toggle { display: flex; z-index: 999; }

  .services-grid { grid-template-columns: 1fr; }
  .videos-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .testimonials-slider { grid-template-columns: 1fr; }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .stat { padding: .8rem .5rem; }
  .stat-number { font-size: 1.5rem; }

  .hero-buttons { flex-direction: column; align-items: center; }

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

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

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

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-badges {
    flex-direction: column;
    align-items: center;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }
}

/* ---------- Overlay for mobile nav ---------- */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 997;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ---------- Utility ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
