/* ============================================================
   Makki Lab — معمل مكي للتحاليل الطبية
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

:root{
  /* Brand colors — sampled from the logo */
  --navy-900:#0E1E38;
  --navy-800:#122A4C;
  --navy-700:#173863;
  --navy-600:#1C4278;
  --navy:#1B3B6E;
  --navy-400:#3A5C93;
  --navy-100:#E7ECF6;

  --red-800:#7C1210;
  --red-700:#9E1712;
  --red-600:#C41C18;
  --red:#E2231C;
  --red-400:#EB4B3E;
  --red-100:#FCE7E5;

  --bg:#F6F8FC;
  --surface:#FFFFFF;
  --surface-alt:#F0F3FA;
  --ink:#111A2D;
  --muted:#57647C;
  --muted-2:#8592A8;
  --border:#E4E9F2;

  --shadow-sm: 0 1px 2px rgba(14,30,56,.06), 0 1px 1px rgba(14,30,56,.04);
  --shadow-md: 0 8px 24px -8px rgba(19,42,80,.18);
  --shadow-lg: 0 24px 60px -20px rgba(19,42,80,.28);
  --shadow-red: 0 12px 28px -10px rgba(226,35,28,.45);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --ease: cubic-bezier(.22,1,.36,1);
  --container: 1220px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

body{
  margin:0;
  font-family:'Cairo', 'Tahoma', sans-serif;
  background:var(--bg);
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }
section{ position:relative; }

.container{
  width:100%;
  max-width:var(--container);
  margin-inline:auto;
  padding-inline:24px;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:14px;
  font-weight:700;
  color:var(--red-600);
  background:var(--red-100);
  padding:7px 16px;
  border-radius:var(--radius-pill);
  letter-spacing:.2px;
}
.eyebrow .dot{ width:6px; height:6px; border-radius:50%; background:var(--red); }

.section-head{
  max-width:680px;
  margin-inline:auto;
  text-align:center;
  margin-bottom:52px;
}
.section-head h2{
  font-size:clamp(28px,4vw,42px);
  font-weight:800;
  color:var(--navy-900);
  margin:16px 0 14px;
  line-height:1.3;
}
.section-head p{
  font-size:17px;
  color:var(--muted);
  line-height:1.9;
  margin:0;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:15px 30px;
  border-radius:var(--radius-pill);
  font-weight:700;
  font-size:16px;
  border:none;
  cursor:pointer;
  transition:transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  white-space:nowrap;
}
.btn svg{ width:20px; height:20px; flex-shrink:0; }
.btn-primary{
  background:linear-gradient(135deg, var(--red) 0%, var(--red-700) 100%);
  color:#fff;
  box-shadow:var(--shadow-red);
}
.btn-primary:hover{ transform:translateY(-3px); box-shadow:0 20px 36px -12px rgba(226,35,28,.5); }
.btn-ghost{
  background:var(--surface);
  color:var(--navy-900);
  border:1.5px solid var(--border);
}
.btn-ghost:hover{ border-color:var(--navy-400); transform:translateY(-3px); box-shadow:var(--shadow-md); }
.btn-light{
  background:rgba(255,255,255,.12);
  color:#fff;
  border:1.5px solid rgba(255,255,255,.35);
  backdrop-filter:blur(6px);
}
.btn-light:hover{ background:rgba(255,255,255,.2); transform:translateY(-3px); }
.btn-block{ width:100%; }

/* ---------------- Header ---------------- */
.site-header{
  position:fixed;
  inset-inline:0;
  top:0;
  z-index:100;
  padding:18px 0;
  transition:padding .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.scrolled{
  padding:10px 0;
  background:rgba(255,255,255,.85);
  backdrop-filter:blur(14px) saturate(160%);
  box-shadow:var(--shadow-sm);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand img{ width:46px; height:46px; border-radius:12px; object-fit:cover; box-shadow:var(--shadow-sm); }
.brand-text{ line-height:1.25; }
.brand-text strong{ display:block; font-size:16px; font-weight:800; color:var(--navy-900); }
.brand-text span{ display:block; font-size:11.5px; color:var(--muted); font-weight:600; }

.nav-links{ display:flex; align-items:center; gap:6px; }
.nav-links a{
  padding:10px 16px;
  border-radius:var(--radius-pill);
  font-weight:600;
  font-size:15px;
  color:var(--navy-800);
  transition:background .2s, color .2s;
  position:relative;
}
.nav-links a:hover{ background:var(--navy-100); color:var(--navy); }

.lang-switch{
  display:flex; align-items:center; gap:7px;
  padding:10px 14px;
  border-radius:var(--radius-pill);
  border:1.5px solid var(--border);
  background:var(--surface);
  color:var(--navy-800);
  font-weight:700;
  font-size:13.5px;
  font-family:inherit;
  transition:border-color .2s, color .2s, transform .2s;
}
.lang-switch svg{ width:17px; height:17px; }
.lang-switch:hover{ border-color:var(--navy-400); color:var(--navy); transform:translateY(-2px); }

.mobile-lang-switch{
  display:flex; align-items:center; gap:10px;
  margin-top:10px;
  padding:14px;
  border-radius:12px;
  border:1.5px solid var(--border);
  background:var(--surface-alt);
  color:var(--navy-900);
  font-weight:700;
  font-size:15px;
  font-family:inherit;
}
.mobile-lang-switch svg{ width:19px; height:19px; }

.header-actions{ display:flex; align-items:center; gap:10px; }
.header-actions .btn{ padding:12px 22px; font-size:14.5px; }
.nav-toggle{
  display:none;
  width:44px; height:44px;
  border-radius:12px;
  border:1.5px solid var(--border);
  background:var(--surface);
  align-items:center;
  justify-content:center;
}
.nav-toggle svg{ width:22px; height:22px; }

/* ---------------- Hero ---------------- */
.hero{
  padding:170px 0 110px;
  background:
    radial-gradient(1100px 560px at 85% -10%, rgba(226,35,28,.10), transparent 60%),
    radial-gradient(900px 520px at 10% 0%, rgba(27,59,110,.14), transparent 55%),
    var(--bg);
  overflow:hidden;
}
.hero-inner{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:56px;
  align-items:center;
}
.hero-copy h1{
  font-size:clamp(34px,5vw,58px);
  font-weight:900;
  line-height:1.22;
  color:var(--navy-900);
  margin:20px 0 22px;
}
.hero-copy h1 em{
  font-style:normal;
  background:linear-gradient(135deg, var(--red) 0%, var(--red-700) 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.hero-copy p{
  font-size:18px;
  line-height:1.95;
  color:var(--muted);
  max-width:560px;
  margin:0 0 34px;
}
.hero-actions{ display:flex; flex-wrap:wrap; gap:14px; margin-bottom:40px; }

.hero-trust{ display:flex; flex-wrap:wrap; gap:28px; }
.hero-trust .item{ display:flex; align-items:center; gap:10px; }
.hero-trust .icon-wrap{
  width:40px; height:40px; border-radius:12px;
  background:var(--surface); border:1.5px solid var(--border);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
  box-shadow:var(--shadow-sm);
}
.hero-trust .icon-wrap svg{ width:20px; height:20px; color:var(--red); }
.hero-trust .txt{ font-size:14px; font-weight:700; color:var(--navy-800); line-height:1.4; }
.hero-trust .txt small{ display:block; font-weight:500; color:var(--muted-2); font-size:12px; }

.hero-visual{ position:relative; display:flex; align-items:center; justify-content:center; }
.hero-visual .glow{
  position:absolute; width:420px; height:420px; border-radius:50%;
  background:radial-gradient(circle, rgba(27,59,110,.16), transparent 70%);
  filter:blur(10px);
}
.flask-card{
  position:relative;
  background:var(--surface);
  border-radius:32px;
  padding:48px;
  box-shadow:var(--shadow-lg);
  border:1px solid var(--border);
  width:100%;
  max-width:420px;
}
.flask-stage{ position:relative; width:100%; aspect-ratio:1/1; display:flex; align-items:center; justify-content:center; }
.float-chip{
  position:absolute;
  display:flex; align-items:center; gap:8px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-pill);
  padding:9px 14px;
  font-size:12.5px; font-weight:700;
  color:var(--navy-800);
  box-shadow:var(--shadow-md);
}
.float-chip svg{ width:16px; height:16px; color:var(--red); }
.chip-1{ top:6%; left:-6%; }
.chip-2{ bottom:10%; right:-8%; }
.chip-3{ bottom:36%; left:-12%; }

/* ---------------- Stats strip ---------------- */
.stats-strip{
  background:linear-gradient(120deg, var(--navy-800), var(--navy-700) 55%, var(--navy-600));
  padding:36px 0;
  margin-top:-1px;
}
.stats-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
  text-align:center;
}
.stats-grid .stat{ color:#fff; }
.stats-grid .stat .icon{
  width:44px; height:44px; margin:0 auto 12px;
  border-radius:12px; background:rgba(255,255,255,.12);
  display:flex; align-items:center; justify-content:center;
}
.stats-grid .stat .icon svg{ width:22px; height:22px; }
.stats-grid .stat strong{ display:block; font-size:16px; font-weight:800; }
.stats-grid .stat span{ display:block; font-size:12.5px; color:rgba(255,255,255,.7); margin-top:4px; }

/* ---------------- About ---------------- */
.about{ padding:120px 0; }
.about-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:64px;
  align-items:center;
}
.about-media{ position:relative; }
.about-media .frame{
  position:relative;
  border-radius:28px;
  overflow:hidden;
  background:linear-gradient(160deg, var(--navy-800), var(--navy) 60%, var(--red-700));
  padding:64px 40px;
  box-shadow:var(--shadow-lg);
  isolation:isolate;
}
.about-media .frame::before{
  content:'';
  position:absolute; inset:0;
  background:radial-gradient(420px 260px at 80% 10%, rgba(255,255,255,.16), transparent 60%);
}
.about-media .logo-badge{
  position:relative;
  background:#fff;
  border-radius:24px;
  padding:28px;
  box-shadow:0 20px 40px -14px rgba(0,0,0,.35);
}
.about-media .logo-badge img{ border-radius:14px; }
.about-media .ring{
  position:absolute; border-radius:50%; border:1.5px dashed rgba(255,255,255,.35);
}
.about-media .ring.r1{ width:120%; height:120%; top:-10%; right:-10%; }
.about-body .eyebrow{ margin-bottom:16px; }
.about-body h2{
  font-size:clamp(28px,4vw,40px);
  font-weight:800;
  color:var(--navy-900);
  line-height:1.35;
  margin:0 0 20px;
}
.about-body p{
  font-size:16.5px;
  line-height:2;
  color:var(--muted);
  margin:0 0 16px;
}
.about-list{ display:grid; gap:14px; margin-top:28px; }
.about-list li{
  display:flex; align-items:flex-start; gap:14px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  padding:16px 18px;
  box-shadow:var(--shadow-sm);
}
.about-list .ico{
  width:34px; height:34px; border-radius:10px; flex-shrink:0;
  background:var(--red-100); color:var(--red-600);
  display:flex; align-items:center; justify-content:center;
}
.about-list .ico svg{ width:18px; height:18px; }
.about-list strong{ display:block; font-size:15px; color:var(--navy-900); font-weight:700; margin-bottom:2px; }
.about-list span{ font-size:13.5px; color:var(--muted); line-height:1.7; }

/* ---------------- Why us ---------------- */
.why{ padding:100px 0; background:var(--surface-alt); }
.features-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.feature-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:32px 28px;
  transition:transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.feature-card:hover{ transform:translateY(-8px); box-shadow:var(--shadow-lg); border-color:transparent; }
.feature-card .ico{
  width:56px; height:56px; border-radius:16px;
  background:linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:20px;
  box-shadow:0 10px 22px -8px rgba(27,59,110,.5);
}
.feature-card:nth-child(3n-1) .ico{ background:linear-gradient(135deg, var(--red) 0%, var(--red-700) 100%); box-shadow:0 10px 22px -8px rgba(226,35,28,.5); }
.feature-card .ico svg{ width:26px; height:26px; color:#fff; }
.feature-card h3{ font-size:18.5px; font-weight:800; color:var(--navy-900); margin:0 0 10px; }
.feature-card p{ font-size:14.5px; line-height:1.85; color:var(--muted); margin:0; }

/* ---------------- Services ---------------- */
.services{ padding:100px 0; background:var(--surface-alt); }
.services-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.service-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:30px 26px;
  transition:transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.service-card:hover{ transform:translateY(-8px); box-shadow:var(--shadow-lg); border-color:transparent; }
.service-card .ico{
  width:52px; height:52px; border-radius:14px;
  background:var(--red-100); color:var(--red-600);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:18px;
}
.service-card .ico svg{ width:24px; height:24px; }
.service-card h3{ font-size:17px; font-weight:800; color:var(--navy-900); margin:0 0 10px; line-height:1.4; }
.service-card p{ font-size:14px; line-height:1.85; color:var(--muted); margin:0; }

/* ---------------- Facilities / Gallery ---------------- */
.facilities{ padding:110px 0; }
.facilities-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
}
.facilities-body .eyebrow{ margin-bottom:16px; }
.facilities-body h2{
  font-size:clamp(26px,3.6vw,38px);
  font-weight:800;
  color:var(--navy-900);
  line-height:1.35;
  margin:0 0 18px;
}
.facilities-body p{ font-size:16px; line-height:2; color:var(--muted); margin:0 0 26px; }
.facilities-list{ display:grid; gap:14px; }
.facilities-list li{
  display:flex; align-items:center; gap:14px;
  font-size:15px; font-weight:700; color:var(--navy-900);
}
.facilities-list .ico{
  width:38px; height:38px; border-radius:11px; flex-shrink:0;
  background:var(--navy-100); color:var(--navy);
  display:flex; align-items:center; justify-content:center;
}
.facilities-list .ico svg{ width:19px; height:19px; }
.facilities-media{
  position:relative;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  align-items:start;
}
.facilities-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:22px;
  box-shadow:var(--shadow-lg);
  border:1px solid var(--border);
}
.facilities-media .img-a{ aspect-ratio:3/4.4; align-self:end; }
.facilities-media .img-b{ aspect-ratio:3/4.4; }

/* ---------------- Testimonials ---------------- */
.testimonials{ padding:100px 0; background:var(--surface-alt); }
.testimonials-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.testimonial-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:30px 26px;
  display:flex;
  flex-direction:column;
  transition:transform .3s var(--ease), box-shadow .3s var(--ease);
}
.testimonial-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.testimonial-card .stars{ display:flex; gap:3px; margin-bottom:16px; }
.testimonial-card .stars svg{ width:16px; height:16px; color:#F5A623; }
.testimonial-card p{
  font-size:14.5px;
  line-height:1.95;
  color:var(--ink);
  margin:0 0 22px;
  flex:1;
}
.testimonial-card .who{ display:flex; align-items:center; gap:12px; }
.testimonial-card .avatar{
  width:40px; height:40px; border-radius:50%;
  background:linear-gradient(135deg, var(--navy), var(--navy-700));
  color:#fff; font-weight:800; font-size:15px;
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.testimonial-card .name{ font-size:14px; font-weight:800; color:var(--navy-900); line-height:1.5; }
.testimonial-card .name small{ display:block; font-weight:600; color:var(--muted-2); font-size:12px; }

/* ---------------- Branches ---------------- */
.branches{ padding:120px 0; }
.branches-layout{
  display:grid;
  grid-template-columns:.95fr 1.15fr;
  gap:32px;
  align-items:stretch;
}
.branch-cards{ display:flex; flex-direction:column; gap:18px; }
.branch-card{
  background:var(--surface);
  border:1.5px solid var(--border);
  border-radius:var(--radius-lg);
  padding:24px;
  display:flex;
  gap:18px;
  cursor:pointer;
  transition:border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.branch-card:hover, .branch-card.active{
  border-color:var(--red);
  box-shadow:var(--shadow-md);
  transform:translateY(-2px);
}
.branch-card .num{
  width:42px; height:42px; border-radius:50%;
  background:var(--navy-100); color:var(--navy);
  font-weight:800; font-size:15px;
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
  transition:background .25s, color .25s;
}
.branch-card.active .num{ background:var(--red); color:#fff; }
.branch-card .body{ flex:1; min-width:0; }
.branch-card h3{ font-size:17.5px; font-weight:800; color:var(--navy-900); margin:0 0 6px; }
.branch-card p{ font-size:14px; color:var(--muted); line-height:1.8; margin:0 0 12px; }
.branch-card .meta{ display:flex; flex-wrap:wrap; gap:10px; }
.branch-card .meta a{
  display:inline-flex; align-items:center; gap:6px;
  font-size:12.5px; font-weight:700;
  color:var(--navy);
  background:var(--navy-100);
  padding:7px 12px;
  border-radius:var(--radius-pill);
  transition:background .2s, color .2s;
}
.branch-card .meta a:hover{ background:var(--navy); color:#fff; }
.branch-card .meta a.wa:hover{ background:#25D366; color:#fff; }

.map-wrap{
  position:relative;
  border-radius:var(--radius-lg);
  overflow:hidden;
  border:1.5px solid var(--border);
  box-shadow:var(--shadow-md);
  min-height:420px;
}
#branches-map{ width:100%; height:100%; min-height:420px; }
.leaflet-popup-content-wrapper{ border-radius:14px; font-family:'Cairo',sans-serif; }
.leaflet-popup-content{ margin:14px 16px; text-align:start; }
.popup-title{ font-weight:800; color:var(--navy-900); font-size:14.5px; margin-bottom:4px; }
.popup-addr{ font-size:12.5px; color:var(--muted); line-height:1.6; }
.lab-pin{
  width:36px; height:36px;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg, var(--red), var(--red-700));
  border-radius:50% 50% 50% 0;
  transform:rotate(-45deg);
  box-shadow:0 6px 14px -4px rgba(226,35,28,.6);
  border:2.5px solid #fff;
}
.lab-pin svg{ width:16px; height:16px; color:#fff; transform:rotate(45deg); }

/* ---------------- CTA banner ---------------- */
.cta-banner{
  margin:0 24px;
  max-width:calc(var(--container) - 48px);
  margin-inline:auto;
  border-radius:32px;
  padding:64px 56px;
  background:linear-gradient(120deg, var(--navy-800) 0%, var(--navy) 55%, var(--red-700) 130%);
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
  flex-wrap:wrap;
  box-shadow:var(--shadow-lg);
}
.cta-banner::before{
  content:'';
  position:absolute; inset:0;
  background:radial-gradient(600px 300px at 90% -20%, rgba(255,255,255,.18), transparent 60%);
}
.cta-banner .txt{ position:relative; max-width:520px; }
.cta-banner h2{ color:#fff; font-size:clamp(24px,3.4vw,34px); font-weight:800; margin:0 0 12px; line-height:1.4; }
.cta-banner p{ color:rgba(255,255,255,.82); font-size:15.5px; line-height:1.9; margin:0; }
.cta-banner .actions{ position:relative; display:flex; gap:14px; flex-wrap:wrap; }

/* ---------------- Social / Contact ---------------- */
.contact{ padding:120px 0 100px; }
.contact-grid{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:20px;
}
.social-card{
  background:var(--surface);
  border:1.5px solid var(--border);
  border-radius:var(--radius-lg);
  padding:28px 22px;
  text-align:center;
  transition:transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.social-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); border-color:transparent; }
.social-card .ico{
  width:52px; height:52px; border-radius:16px;
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 16px;
  color:#fff;
}
.social-card .ico svg{ width:24px; height:24px; }
.social-card.fb .ico{ background:#1877F2; }
.social-card.ig .ico{ background:linear-gradient(135deg,#F58529,#DD2A7B,#8134AF,#515BD4); }
.social-card.wa .ico{ background:#25D366; }
.social-card.ph .ico{ background:linear-gradient(135deg, var(--navy), var(--navy-700)); }
.social-card.em .ico{ background:linear-gradient(135deg, var(--red-600), var(--navy)); }
.social-card h3{ font-size:15.5px; font-weight:800; color:var(--navy-900); margin:0 0 6px; }
.social-card span{ font-size:13px; color:var(--muted); direction:ltr; display:block; }

/* ---------------- Footer ---------------- */
.site-footer{ background:var(--navy-900); color:rgba(255,255,255,.75); padding:64px 0 28px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:40px; margin-bottom:48px; }
.footer-brand{ display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.footer-brand img{ width:44px; height:44px; border-radius:12px; }
.footer-brand strong{ display:block; color:#fff; font-size:16px; font-weight:800; }
.footer-brand span{ display:block; font-size:12px; color:rgba(255,255,255,.55); }
.site-footer p.desc{ font-size:14px; line-height:1.9; max-width:340px; color:rgba(255,255,255,.6); }
.footer-col h4{ color:#fff; font-size:15px; font-weight:700; margin:0 0 18px; }
.footer-col ul{ display:grid; gap:12px; }
.footer-col a{ font-size:14px; color:rgba(255,255,255,.65); transition:color .2s; }
.footer-col a:hover{ color:#fff; }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.1);
  padding-top:24px;
  display:flex; justify-content:space-between; align-items:center;
  flex-wrap:wrap; gap:12px;
  font-size:13px; color:rgba(255,255,255,.5);
}
.footer-socials{ display:flex; gap:10px; }
.footer-socials a{
  width:38px; height:38px; border-radius:10px;
  background:rgba(255,255,255,.08);
  display:flex; align-items:center; justify-content:center;
  transition:background .2s, transform .2s;
}
.footer-socials a:hover{ background:var(--red); transform:translateY(-3px); }
.footer-socials svg{ width:17px; height:17px; color:#fff; }

.footer-credit{
  margin-top:22px;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.1);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-size:12.5px;
  color:rgba(255,255,255,.4);
}
.footer-credit-logo{ height:22px; width:auto; opacity:.9; }

/* ---------------- Floating WhatsApp ---------------- */
.fab-wa{
  position:fixed;
  bottom:26px;
  left:26px;
  z-index:90;
  width:60px; height:60px;
  border-radius:50%;
  background:#25D366;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 14px 30px -8px rgba(37,211,102,.6);
  transition:transform .25s var(--ease);
}
.fab-wa:hover{ transform:scale(1.08); }
.fab-wa svg{ width:28px; height:28px; color:#fff; }
.fab-wa .pulse{
  position:absolute; inset:0; border-radius:50%;
  border:2px solid #25D366;
  animation:pulse-ring 2.4s ease-out infinite;
}
@keyframes pulse-ring{
  0%{ transform:scale(1); opacity:.7; }
  100%{ transform:scale(1.7); opacity:0; }
}

/* ---------------- Reveal utility ---------------- */
.reveal{ opacity:0; transform:translateY(24px); }

/* ---------------- Responsive ---------------- */
@media (max-width: 1080px){
  .nav-links{ display:none; }
  .nav-toggle{ display:flex; }
  .hero-inner{ grid-template-columns:1fr; }
  .hero-visual{ order:-1; }
  .about-grid{ grid-template-columns:1fr; }
  .services-grid{ grid-template-columns:repeat(2,1fr); }
  .facilities-grid{ grid-template-columns:1fr; gap:36px; }
  .facilities-media{ order:-1; max-width:520px; margin-inline:auto; width:100%; }
  .testimonials-grid{ grid-template-columns:repeat(2,1fr); }
  .branches-layout{ grid-template-columns:1fr; }
  .map-wrap{ min-height:340px; order:-1; }
  .contact-grid{ grid-template-columns:repeat(3,1fr); }
  .footer-grid{ grid-template-columns:1fr; gap:32px; }
  .stats-grid{ grid-template-columns:repeat(2,1fr); gap:28px; }
}
@media (max-width: 760px){
  .features-grid{ grid-template-columns:1fr; }
  .services-grid{ grid-template-columns:1fr; }
  .testimonials-grid{ grid-template-columns:1fr; }
  .facilities-media{ grid-template-columns:1fr; }
  .facilities-media .img-a, .facilities-media .img-b{ aspect-ratio:16/10; align-self:auto; }
  .cta-banner{ flex-direction:column; text-align:center; padding:44px 28px; }
  .cta-banner .actions{ justify-content:center; }
  .hero{ padding:150px 0 80px; }
  .header-actions .btn span.long{ display:none; }
  .about-media .frame{ padding:40px 24px; }
  .contact-grid{ grid-template-columns:repeat(2,1fr); }
}

/* Mobile nav drawer */
.mobile-nav{
  position:fixed; inset:0; z-index:200;
  background:rgba(14,30,56,.5);
  backdrop-filter:blur(4px);
  opacity:0; pointer-events:none;
  transition:opacity .3s var(--ease);
}
.mobile-nav.open{ opacity:1; pointer-events:auto; }
.mobile-nav-panel{
  position:absolute; top:0; right:0; bottom:0;
  width:min(320px, 84vw);
  background:#fff;
  padding:28px 24px;
  display:flex; flex-direction:column; gap:6px;
  transform:translateX(100%);
  transition:transform .35s var(--ease);
}
.mobile-nav.open .mobile-nav-panel{ transform:translateX(0); }
.mobile-nav-panel a{
  padding:16px 14px;
  font-size:17px; font-weight:700;
  color:var(--navy-900);
  border-radius:12px;
}
.mobile-nav-panel a:hover{ background:var(--navy-100); }
.mobile-nav-close{
  align-self:flex-start;
  width:40px; height:40px; border-radius:10px;
  background:var(--surface-alt); border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:12px;
}
.mobile-nav-close svg{ width:20px; height:20px; }
