/* ===================================================
   EUROLAB – Laboratoire d'Analyses Médicales Meknès
   Stylesheet – Mobile First
   =================================================== */

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

:root {
  --blue-dark:   #0d2c6e;
  --blue-mid:    #1560bd;
  --blue-light:  #e8f1fb;
  --green:       #27ae60;
  --green-dark:  #1e8449;
  --green-light: #eafaf1;
  --white:       #ffffff;
  --gray-100:    #f4f7fc;
  --gray-200:    #e9ecef;
  --gray-500:    #6c757d;
  --gray-700:    #343a40;
  --text:        #1a1a2e;
  --wa-green:    #25d366;
  --wa-hover:    #1da851;
  --shadow-sm:   0 2px 12px rgba(13,44,110,.08);
  --shadow-md:   0 6px 30px rgba(13,44,110,.14);
  --shadow-lg:   0 12px 50px rgba(13,44,110,.18);
  --radius:      14px;
  --radius-sm:   8px;
  --transition:  .3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

.section { padding: 70px 0; }
.bg-light { background: var(--gray-100); }
.mt-1 { margin-top: 1.5rem; }

/* ---------- TYPOGRAPHY ---------- */
.section-label {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .85rem;
  border-radius: 50px;
  margin-bottom: .9rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.55rem, 3.5vw, 2.4rem);
  color: var(--blue-dark);
  line-height: 1.25;
  margin-bottom: .9rem;
}

.section-sub {
  color: var(--gray-500);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.75;
}

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

.text-green { color: var(--green); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .7rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .92rem;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  min-height: 46px;
  touch-action: manipulation;
}

.btn-lg { padding: .9rem 1.9rem; font-size: 1rem; min-height: 52px; }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-dark));
  color: var(--white);
  box-shadow: 0 4px 18px rgba(21,96,189,.3);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--blue-dark), #0a1f50);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(21,96,189,.4);
}

.btn-whatsapp {
  background: var(--wa-green);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(37,211,102,.3);
}
.btn-whatsapp:hover {
  background: var(--wa-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--blue-dark);
  border-color: var(--blue-dark);
}
.btn-outline:hover {
  background: var(--blue-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.8);
  font-size: .85rem;
  padding: .5rem 1.1rem;
  min-height: 40px;
}
.btn-white-outline:hover { background: var(--white); color: var(--blue-dark); }

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: .85rem 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: .55rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo-img {
  height: 52px;
  width: auto;
  transition: height var(--transition);
  object-fit: contain;
}
.navbar.scrolled .logo-img { height: 42px; }

.nav-links {
  display: flex;
  gap: 1.6rem;
  margin: 0 auto;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--white);
  position: relative;
  transition: color var(--transition);
  padding: .25rem 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--green);
  transition: width var(--transition);
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--green); }
.navbar.scrolled .nav-links a { color: var(--blue-dark); }

.nav-actions { display: flex; align-items: center; gap: .65rem; }
.nav-wa { padding: .5rem .95rem; font-size: .83rem; min-height: 40px; }

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  margin-left: auto;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar.scrolled .hamburger span,
.hamburger.active span { background: var(--blue-dark); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MOBILE MENU OVERLAY */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13,44,110,.95);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
}
.nav-overlay.open { display: flex; }
.nav-overlay a {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: .05em;
  padding: .4rem 0;
  transition: color var(--transition);
}
.nav-overlay a:hover { color: #6ee7a0; }
.nav-overlay .overlay-btns { display: flex; flex-direction: column; gap: .75rem; width: 100%; max-width: 280px; margin-top: 1rem; }
.nav-overlay .overlay-btns .btn { width: 100%; }

/* ---------- HERO ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: url('../images/about.jpg') center/cover no-repeat;
  position: relative;
  padding: 110px 0 70px;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,44,110,.9) 0%, rgba(13,44,110,.65) 60%, rgba(39,174,96,.25) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px;
  padding: .35rem .95rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
  margin-bottom: 1.2rem;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 6vw, 3.8rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.1rem;
}
.hero .highlight { color: #6ee7a0; display: block; }
.hero p {
  color: rgba(255,255,255,.88);
  font-size: clamp(.95rem, 2vw, 1.1rem);
  max-width: 560px;
  margin-bottom: 1.8rem;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2.2rem; }
.hero-stats { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.stat { color: var(--white); text-align: center; }
.stat strong { display: block; font-size: 1.7rem; font-weight: 800; color: #6ee7a0; line-height: 1.1; }
.stat span { font-size: .78rem; opacity: .8; }
.stat-divider { width: 1px; height: 38px; background: rgba(255,255,255,.25); }
.hero-scroll {
  position: absolute;
  bottom: 1.8rem; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.5);
  font-size: 1.1rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ---------- ABOUT ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.about-img-wrap { position: relative; }
.about-img {
  width: 100%; height: 500px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.about-badge-float {
  position: absolute;
  bottom: -1.25rem; right: -1.25rem;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
}
.about-badge-float i { font-size: 1.7rem; }
.about-badge-float span { font-size: .8rem; font-weight: 700; line-height: 1.3; }
.about-intro { font-size: 1.05rem; color: var(--blue-dark); margin-bottom: .9rem; }
.about-list { margin: 1.25rem 0; display: flex; flex-direction: column; gap: .7rem; }
.about-list li { display: flex; align-items: center; gap: .7rem; font-size: .93rem; }
.about-list i { color: var(--green); font-size: .95rem; flex-shrink: 0; }

/* ---------- SERVICES ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-img-wrap {
  position: relative; overflow: hidden; height: 185px;
}
.service-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.service-card:hover .service-img-wrap img { transform: scale(1.06); }
.service-overlay {
  position: absolute; inset: 0;
  background: rgba(13,44,110,.65);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--transition);
}
.service-card:hover .service-overlay { opacity: 1; }
.service-body { padding: 1.35rem; }
.service-icon {
  width: 44px; height: 44px;
  background: var(--blue-light); color: var(--blue-mid);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; margin-bottom: .9rem;
}
.service-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--blue-dark); margin-bottom: .45rem; }
.service-body p { font-size: .88rem; color: var(--gray-500); line-height: 1.65; margin-bottom: .9rem; }
.service-link {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .85rem; font-weight: 600; color: var(--blue-mid);
  transition: gap var(--transition), color var(--transition);
}
.service-link:hover { gap: .6rem; color: var(--green); }
.services-cta { text-align: center; margin-top: 2.75rem; }

/* ---------- WHY ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.why-img-side { position: relative; }
.why-img-side img {
  width: 100%; height: 480px; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.why-img-badge {
  position: absolute; top: 2rem; left: -1.25rem;
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-dark));
  color: var(--white); border-radius: var(--radius);
  padding: .9rem 1.2rem; text-align: center; box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
}
.why-img-badge i { font-size: 1.5rem; color: #f9d71c; }
.why-img-badge span { font-size: .78rem; font-weight: 700; line-height: 1.3; }
.why-items { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.25rem; }
.why-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.15rem; background: var(--white);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.why-item:hover { transform: translateX(5px); box-shadow: var(--shadow-md); }
.why-icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; flex-shrink: 0;
}
.why-icon--blue { background: var(--blue-light); color: var(--blue-mid); }
.why-icon--green { background: var(--green-light); color: var(--green-dark); }
.why-item h4 { font-size: .97rem; font-weight: 700; color: var(--blue-dark); margin-bottom: .25rem; }
.why-item p { font-size: .86rem; color: var(--gray-500); }

/* ---------- TEAM / CONTACT CARDS ---------- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.contact-card-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid transparent;
}
.contact-card-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.contact-card-item:nth-child(1) { border-top-color: var(--wa-green); }
.contact-card-item:nth-child(2) { border-top-color: var(--blue-mid); }
.contact-card-item:nth-child(3) { border-top-color: var(--green); }
.cc-icon {
  width: 68px; height: 68px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
}
.cc-icon--green { background: var(--green-light); color: var(--green); }
.cc-icon--blue  { background: var(--blue-light);  color: var(--blue-mid); }
.contact-card-item h4 { font-size: 1.1rem; font-weight: 700; color: var(--blue-dark); }
.contact-card-item p { font-size: .9rem; color: var(--gray-500); line-height: 1.7; flex: 1; }

/* ---------- REVIEWS ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.review-card {
  background: var(--white); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--green);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review-card::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 4.5rem; color: var(--blue-light);
  position: absolute; top: -.4rem; right: 1.25rem; line-height: 1;
}
.stars { color: #f4c542; margin-bottom: .85rem; font-size: .88rem; letter-spacing: .1em; }
.review-card p { color: var(--gray-700); font-style: italic; margin-bottom: 1.25rem; font-size: .93rem; }
.reviewer { display: flex; align-items: center; gap: .85rem; }
.reviewer-avatar {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--blue-mid), var(--green));
  color: var(--white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .95rem; flex-shrink: 0;
}
.reviewer strong { display: block; font-size: .88rem; color: var(--blue-dark); }
.reviewer span { font-size: .75rem; color: var(--gray-500); }

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.75rem;
  align-items: start;
}
.contact-img {
  width: 100%; height: 200px; object-fit: cover;
  border-radius: var(--radius); margin-bottom: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.contact-details { display: flex; flex-direction: column; gap: 1.1rem; margin-bottom: 1.75rem; }
.contact-item { display: flex; align-items: flex-start; gap: .9rem; }
.contact-icon {
  width: 40px; height: 40px;
  background: var(--blue-light); color: var(--blue-mid);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; flex-shrink: 0; margin-top: .1rem;
}
.contact-item strong { display: block; font-size: .82rem; color: var(--blue-dark); margin-bottom: .15rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.contact-item p { font-size: .88rem; color: var(--gray-500); }
.contact-item a { color: var(--blue-mid); transition: color var(--transition); }
.contact-item a:hover { color: var(--green); }
.contact-btns { display: flex; flex-wrap: wrap; gap: .85rem; }
.contact-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.contact-map iframe { width: 100%; height: 360px; border: none; display: block; }
.map-cta { padding: 1.1rem; background: var(--white); text-align: center; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: .85rem; }
.faq-item {
  background: var(--white); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm); overflow: hidden;
  border: 1px solid var(--gray-200);
}
.faq-question {
  width: 100%; background: none; border: none;
  padding: 1.15rem 1.4rem;
  text-align: left; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
  font-size: .95rem; font-weight: 600; color: var(--blue-dark);
  cursor: pointer; transition: background var(--transition), color var(--transition);
  min-height: 56px;
}
.faq-question:hover { background: var(--blue-light); }
.faq-question.active { background: var(--blue-dark); color: var(--white); }
.faq-question i { font-size: .78rem; flex-shrink: 0; transition: transform var(--transition); }
.faq-question.active i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-answer.open { max-height: 400px; }
.faq-answer p { padding: 1.15rem 1.4rem; color: var(--gray-500); font-size: .92rem; line-height: 1.75; }
.faq-cta {
  text-align: center; margin-top: 2.25rem;
  display: flex; flex-direction: column; align-items: center; gap: .85rem;
}
.faq-cta p { color: var(--gray-500); font-size: .97rem; }

/* ---------- BLOG ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.blog-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.blog-img-wrap { position: relative; height: 175px; overflow: hidden; }
.blog-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .blog-img-wrap img { transform: scale(1.06); }
.blog-cat {
  position: absolute; top: .85rem; left: .85rem;
  background: var(--blue-dark); color: var(--white);
  font-size: .7rem; font-weight: 700; padding: .22rem .65rem;
  border-radius: 50px; letter-spacing: .05em;
}
.blog-body { padding: 1.25rem; }
.blog-date { font-size: .75rem; color: var(--gray-500); display: flex; align-items: center; gap: .35rem; margin-bottom: .65rem; }
.blog-body h3 { font-size: .94rem; font-weight: 700; color: var(--blue-dark); margin-bottom: .5rem; line-height: 1.4; }
.blog-body h3 a { transition: color var(--transition); }
.blog-body h3 a:hover { color: var(--green); }
.blog-body p { font-size: .83rem; color: var(--gray-500); line-height: 1.65; margin-bottom: .9rem; }
.blog-link {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .81rem; font-weight: 600; color: var(--blue-mid);
  transition: gap var(--transition), color var(--transition);
}
.blog-link:hover { gap: .6rem; color: var(--green); }

/* ---------- FOOTER ---------- */
.footer { background: var(--blue-dark); color: rgba(255,255,255,.85); }
.footer-top { padding: 55px 0 35px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
}
.footer-logo {
  height: 58px; width: auto; margin-bottom: 1.1rem;
  object-fit: contain;
}
.footer-brand p { font-size: .86rem; opacity: .72; line-height: 1.7; margin-bottom: 1.1rem; }
.footer-social { display: flex; gap: .65rem; }
.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.1); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; transition: background var(--transition), transform var(--transition);
  color: var(--white);
}
.footer-social a:hover { background: var(--green); transform: translateY(-3px); }
.footer-col h4 {
  font-size: .92rem; font-weight: 700; color: var(--white);
  margin-bottom: 1.1rem; position: relative; padding-bottom: .55rem;
}
.footer-col h4::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 28px; height: 2px; background: var(--green); border-radius: 2px;
}
.footer-col ul { display: flex; flex-direction: column; gap: .55rem; }
.footer-col ul li a { font-size: .85rem; opacity: .72; transition: opacity var(--transition), color var(--transition); }
.footer-col ul li a:hover { opacity: 1; color: var(--green); }
.footer-contact-list li {
  display: flex; align-items: flex-start; gap: .7rem;
  font-size: .83rem; opacity: .72; margin-bottom: .55rem;
}
.footer-contact-list li i { color: var(--green); margin-top: .2rem; flex-shrink: 0; }
.footer-contact-list li a { opacity: 1; transition: color var(--transition); }
.footer-contact-list li a:hover { color: var(--green); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.1rem 0; text-align: center;
  font-size: .8rem; opacity: .55;
}

/* ---------- FLOATING WHATSAPP ---------- */
.wa-float {
  position: fixed;
  bottom: 1.75rem; right: 1.75rem;
  z-index: 999;
  width: 58px; height: 58px;
  background: var(--wa-green); color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.65rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  transition: transform var(--transition), background var(--transition);
}
.wa-float:hover { background: var(--wa-hover); transform: scale(1.1); }
.wa-float::before {
  content: ''; position: absolute; inset: 0;
  border-radius: 50%; background: var(--wa-green);
  animation: wa-pulse 2.5s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: .65; }
  100% { transform: scale(2.1); opacity: 0; }
}
.wa-float-tooltip {
  position: absolute; right: 68px;
  background: var(--blue-dark); color: var(--white);
  white-space: nowrap; font-size: .76rem; font-weight: 600;
  padding: .38rem .8rem; border-radius: 50px;
  opacity: 0; pointer-events: none; transition: opacity var(--transition);
}
.wa-float:hover .wa-float-tooltip { opacity: 1; }

/* ---------- BACK TO TOP ---------- */
.back-to-top {
  position: fixed;
  bottom: 5.25rem; right: 1.75rem;
  z-index: 998;
  width: 42px; height: 42px;
  background: var(--blue-dark); color: var(--white);
  border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(20px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--blue-mid); }

/* ==============================================
   RESPONSIVE – TABLET (≤ 1024px)
   ============================================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .contact-cards .contact-card-item:last-child {
    grid-column: 1 / -1;
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
  }
}

/* ==============================================
   RESPONSIVE – MOBILE (≤ 768px)
   ============================================== */
@media (max-width: 768px) {
  .section { padding: 52px 0; }
  .container { width: 94%; }

  /* Navbar */
  .nav-links,
  .nav-actions { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero { padding: 95px 0 55px; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn { width: 100%; }
  .hero-stats { gap: .85rem; }
  .stat strong { font-size: 1.4rem; }
  .stat span { font-size: .72rem; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .about-img { height: 280px; }
  .about-badge-float { right: 0; bottom: -.85rem; }

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

  /* Why */
  .why-grid { grid-template-columns: 1fr; gap: 2rem; }
  .why-img-side img { height: 280px; }
  .why-img-badge { left: 0; top: 1.25rem; }

  /* Contact cards */
  .contact-cards { grid-template-columns: 1fr; }
  .contact-cards .contact-card-item:last-child {
    grid-column: auto;
    max-width: 100%;
    margin: 0;
  }

  /* Reviews */
  .reviews-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .contact-btns { flex-direction: column; }
  .contact-btns .btn { width: 100%; }

  /* Blog */
  .blog-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-top { padding: 40px 0 25px; }
  .footer-logo { height: 48px; }

  /* Floating buttons */
  .wa-float { width: 52px; height: 52px; font-size: 1.45rem; bottom: 1.25rem; right: 1.25rem; }
  .back-to-top { bottom: 4.5rem; right: 1.25rem; }
  .wa-float-tooltip { display: none; }
}

/* ==============================================
   RESPONSIVE – SMALL MOBILE (≤ 480px)
   ============================================== */
@media (max-width: 480px) {
  .section { padding: 42px 0; }
  .container { width: 95%; }

  .section-title { font-size: 1.45rem; }
  .hero h1 { font-size: 1.85rem; }

  .about-badge-float { position: static; margin-top: 1rem; flex-direction: row; justify-content: center; border-radius: var(--radius-sm); }

  .why-img-badge { position: static; margin-bottom: 1rem; flex-direction: row; border-radius: var(--radius-sm); }

  .btn-lg { padding: .85rem 1.4rem; font-size: .92rem; }

  .service-card { max-width: 100%; }

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

  .faq-question { font-size: .88rem; padding: 1rem 1.1rem; }

  .contact-map iframe { height: 280px; }

  .footer-social { gap: .5rem; }
}
