/* ============================================================
   Sakina Jaafar in Hassain Hammad Gen. Cont. EST
   Static Landing Page Styles
   ============================================================ */

:root {
  --brand-blue: #1E78D8;
  --brand-blue-2: #3A95F0;
  --brand-blue-dark: #155CAA;
  --ink-900: #0A0F1E;
  --ink-800: #111827;
  --ink-700: #1B2333;
  --ink-600: #2B3447;
  --ink-500: #4B5570;
  --line: #E5E9F2;
  --mute: #6B7488;
  --silver: #B8C2CC;
  --bg: #FFFFFF;
  --bg-soft: #F5F7FA;
  --bg-tint: #EEF3FB;
  --whatsapp: #25D366;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 4px 12px rgba(10,15,30,0.06);
  --shadow: 0 18px 40px rgba(10,15,30,0.10);
  --shadow-lg: 0 30px 80px rgba(10,15,30,0.18);
  --ease: cubic-bezier(.22,.61,.36,1);
  --container: 1240px;
  --header-h: 84px;

  --f-heading: 'Chivo', 'IBM Plex Sans', system-ui, sans-serif;
  --f-body: 'IBM Plex Sans', system-ui, sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-800);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
::selection { background: var(--brand-blue); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--f-heading);
  color: var(--ink-900);
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
  line-height: 1.15;
  font-weight: 800;
}
p { margin: 0 0 1em; color: var(--ink-600); }

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

/* ========== Reusable bits ========== */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-heading);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--brand-blue);
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--bg-tint);
  margin-bottom: 18px;
      width: fit-content;
}
.section-title {
  font-size: clamp(2rem, 3.4vw, 3rem);
  margin-bottom: 16px;
}
.section-title .accent { color: var(--brand-blue); }
.section-lead {
  font-size: 1.05rem;
  color: var(--mute);
  max-width: 700px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--f-heading);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn i { font-size: 0.92em; }
.btn-primary {
  background: var(--brand-blue);
  color: #fff;
  box-shadow: 0 12px 28px rgba(30,120,216,0.32);
}
.btn-primary:hover { background: var(--brand-blue-dark); transform: translateY(-2px); box-shadow: 0 18px 36px rgba(30,120,216,0.42); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}
.btn-ghost:hover { background: #fff; color: var(--ink-900); transform: translateY(-2px); }
.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 12px 28px rgba(37,211,102,0.32);
}
.btn-whatsapp:hover { background: #1ebd5a; transform: translateY(-2px); }
.btn-dark {
  background: var(--ink-900);
  color: #fff;
  box-shadow: 0 12px 28px rgba(10,15,30,0.28);
}
.btn-dark:hover { background: var(--ink-800); transform: translateY(-2px); box-shadow: 0 18px 36px rgba(10,15,30,0.34); }

/* ============================== HEADER ============================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  background: rgba(10,15,30,0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.site-header.scrolled {
  background: rgba(255,255,255,0.94);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  /* width: 56px;  */ width: 100%;
  /* height: 56px; */
  object-fit: contain;
  border-radius: 10px;
  /* background: #000; */
  padding: 4px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--f-heading);
  font-weight: 900;
  font-size: 1.05rem;
  color: #fff;
  letter-spacing: 0.02em;
}
.brand-sub {
  font-size: 0.7rem;
  color: var(--silver);
  letter-spacing: 0.06em;
}
.scrolled .brand-name { color: var(--ink-900); }
.scrolled .brand-sub { color: var(--ink-500); }

.primary-nav { display: flex; align-items: center; gap: 28px; }
.nav-list {
  display: flex; gap: 6px;
  list-style: none; padding: 0; margin: 0;
}
.nav-link {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 8px;
  font-family: var(--f-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.92);
  transition: color .25s var(--ease), background-color .25s var(--ease);
}
.nav-link:hover { color: var(--brand-blue-2); }
.scrolled .nav-link { color: var(--ink-800); }
.scrolled .nav-link:hover { background: var(--bg-tint); color: var(--brand-blue); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--brand-blue);
  color: #fff;
  font-family: var(--f-heading);
  font-weight: 700;
  font-size: 0.88rem;
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.nav-cta:hover { background: var(--brand-blue-dark); transform: translateY(-2px); }

.hamburger {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.hamburger span {
  display: block; width: 20px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.scrolled .hamburger { border-color: var(--line); }
.scrolled .hamburger span { background: var(--ink-900); }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================== HERO ============================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: #000;
}
.hero-slider { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s var(--ease), visibility .9s;
  display: flex;
  align-items: center;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 8s linear;
}
.hero-slide.is-active .hero-bg { transform: scale(1.12); }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(10,15,30,0.92) 0%, rgba(10,15,30,0.65) 45%, rgba(10,15,30,0.35) 75%, rgba(10,15,30,0.55) 100%),
    radial-gradient(60% 80% at 20% 50%, rgba(30,120,216,0.35), transparent 70%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: var(--header-h);
  color: #fff;
  text-align: left;
}
.hero-content > * { max-width: 640px; }
.hero-content .hero-actions,
.hero-content .hero-meta { max-width: 640px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  font-family: var(--f-heading);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-blue-2); box-shadow: 0 0 0 6px rgba(58,149,240,0.25); }
.hero-title {
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
  color: #fff;
  margin: 22px 0 18px;
  font-weight: 900;
}
.hero-title .accent { color: var(--brand-blue-2); }
.hero-lead {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: rgba(255,255,255,0.85);
  max-width: 680px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta {
  list-style: none; padding: 0; margin: 44px 0 0;
  display: flex; gap: 36px; flex-wrap: wrap;
}
.hero-meta li {
  display: flex; flex-direction: column;
  border-left: 2px solid var(--brand-blue-2);
  padding-left: 16px;
}
.hero-meta strong {
  font-family: var(--f-heading);
  font-weight: 900;
  font-size: 1.7rem;
  color: #fff;
}
.hero-meta span { font-size: 0.85rem; color: rgba(255,255,255,0.7); letter-spacing: 0.04em; }

/* Slider controls */
.slider-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  z-index: 5;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.slider-arrow:hover { background: var(--brand-blue); transform: translateY(-50%) scale(1.06); }
.slider-prev { left: 28px; }
.slider-next { right: 28px; }

.slider-dots {
  position: absolute;
  bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px;
  z-index: 5;
}
.slider-dots button {
  width: 36px; height: 4px;
  background: rgba(255,255,255,0.3);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color .25s var(--ease), width .25s var(--ease);
}
.slider-dots button.is-active { background: var(--brand-blue-2); width: 52px; }

/* ============================== ABOUT ============================== */
.about { padding: 120px 0; background: var(--bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-media { position: relative; }
.about-img {
  width: 100%;
   /* height: 580px; */
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-badge {
  position: absolute;
  bottom: -28px; left: -28px;
  background: var(--ink-900);
  color: #fff;
  padding: 18px 22px;
  border-radius: var(--radius);
  display: flex; align-items: center; gap: 16px;
  box-shadow: var(--shadow);
  max-width: 260px;
}
.about-badge i {
  font-size: 1.6rem;
  color: var(--brand-blue-2);
  background: rgba(58,149,240,0.12);
  padding: 12px;
  border-radius: 12px;
}
.about-badge strong { display: block; font-family: var(--f-heading); font-size: 1rem; }
.about-badge span { font-size: 0.82rem; color: var(--silver); }

.about-copy p { font-size: 1.02rem; }
.about-points {
  list-style: none; padding: 0; margin: 28px 0 36px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.about-points li {
  display: flex; gap: 14px;
  padding: 16px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform .25s var(--ease), border-color .25s var(--ease), background-color .25s var(--ease);
}
.about-points li:hover { transform: translateY(-3px); border-color: var(--brand-blue); background: #fff; box-shadow: var(--shadow-sm); }
.about-points i {
  font-size: 1.1rem;
  color: var(--brand-blue);
  width: 40px; height: 40px;
  background: rgba(30,120,216,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.about-points strong { font-family: var(--f-heading); font-size: 0.98rem; color: var(--ink-900); display: block; }
.about-points span { font-size: 0.85rem; color: var(--mute); }

/* ============================== SERVICES ============================== */
.services {
  padding: 120px 0 120px;
  background: var(--ink-900);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.services::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 100% 0%, rgba(30,120,216,0.22), transparent 65%),
              radial-gradient(50% 50% at 0% 100%, rgba(58,149,240,0.12), transparent 60%);
  pointer-events: none;
}
.services-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 32px;
  margin-bottom: 56px;
  position: relative;
}
.services-head .section-eyebrow { background: rgba(58,149,240,0.14); color: var(--brand-blue-2); }
.services-head .section-title { color: #fff; max-width: 720px; }
.services-head .section-lead { color: rgba(255,255,255,0.7); }

.scroll-controls { display: flex; gap: 12px; }
.scroll-btn {
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.scroll-btn:hover { background: var(--brand-blue); transform: translateY(-2px); }

.services-scroller {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 24px;
  padding: 12px 24px 32px;
  margin: 0 -24px;
  scrollbar-width: thin;
  scrollbar-color: var(--brand-blue) transparent;
}
.services-scroller::-webkit-scrollbar { height: 8px; }
.services-scroller::-webkit-scrollbar-thumb { background: var(--brand-blue); border-radius: 8px; }
.services-scroller::-webkit-scrollbar-track { background: transparent; }

.service-card {
  flex: 0 0 360px;
  scroll-snap-align: start;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.service-card:hover { transform: translateY(-8px); border-color: var(--brand-blue); box-shadow: 0 24px 50px rgba(30,120,216,0.25); }
.service-img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-card:hover .service-img img { transform: scale(1.08); }
.service-number {
  position: absolute; top: 16px; left: 16px;
  background: rgba(10,15,30,0.78);
  color: #fff;
  font-family: var(--f-heading);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 0.1em;
  border: 1px solid rgba(255,255,255,0.18);
}
.service-body { padding: 26px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.service-body h3 { color: #fff; font-size: 1.35rem; margin-bottom: 12px; }
.service-body p { color: rgba(255,255,255,0.72); font-size: 0.95rem; margin-bottom: 22px; flex: 1; }
.service-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--brand-blue-2);
  font-family: var(--f-heading);
  font-weight: 700;
  font-size: 0.9rem;
  transition: gap .25s var(--ease), color .25s var(--ease);
}
.service-link:hover { gap: 14px; color: #fff; }

/* ============================== WHY ============================== */
.why { padding: 120px 0; background: var(--bg-soft); }
.why-head { text-align: center; margin-bottom: 56px; }
.why-head .section-lead { margin: 0 auto; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  background: #fff;
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.why-card:hover { transform: translateY(-6px); border-color: var(--brand-blue); box-shadow: var(--shadow); }
.why-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px;
  background: var(--bg-tint);
  color: var(--brand-blue);
  border-radius: 16px;
  font-size: 1.5rem;
  margin-bottom: 22px;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.why-card:hover .why-icon { background: var(--brand-blue); color: #fff; }
.why-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.why-card p { font-size: 0.95rem; color: var(--mute); margin: 0; }

/* ============================== CLIENTS ============================== */
.clients { padding: 100px 0; background: #fff; overflow: hidden; }
.clients-head { text-align: center; margin-bottom: 40px; }
.clients-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.clients-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: client-scroll 28s linear infinite;
  padding: 24px 0;
}
.clients-track:hover { animation-play-state: paused; }
.client-logo {
  flex-shrink: 0;
  width: 220px;
  height: 110px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 18px 22px;
  font-family: var(--f-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--ink-700);
  letter-spacing: 0.04em;
  filter: grayscale(0.4);
  opacity: 0.85;
  transition: transform .3s var(--ease), filter .3s var(--ease), opacity .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.client-logo i { font-size: 1.6rem; color: var(--brand-blue); }
.client-logo:hover { transform: translateY(-4px); filter: grayscale(0); opacity: 1; border-color: var(--brand-blue); box-shadow: var(--shadow-sm); }
@keyframes client-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================== CONTACT ============================== */
.contact { padding: 120px 0; 
  /* background: var(--bg-soft);  */
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: stretch;
}
.contact-info { display: flex; flex-direction: column; }
.contact-list {
  list-style: none; padding: 0; margin: 14px 0 32px;
  display: flex; flex-direction: column; gap: 16px;
}
.contact-list li {
  display: flex; gap: 18px; align-items: center;
  background: #fff;
  padding: 18px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.contact-list li:hover { border-color: var(--brand-blue); transform: translateY(-2px); }
.ci-icon {
  width: 46px; height: 46px;
  background: var(--bg-tint);
  border-radius: 12px;
  color: var(--brand-blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-list strong {
  display: block;
  font-family: var(--f-heading);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--mute);
  margin-bottom: 2px;
}
.contact-list a, .contact-list span { color: var(--ink-800); font-size: 1rem; font-weight: 500; }
.contact-list a:hover { color: var(--brand-blue); }

.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 540px;
  box-shadow: var(--shadow);
}
.contact-map iframe { width: 100%; height: 100%; min-height: 540px; border: 0; display: block; }

/* ============================== FOOTER ============================== */
.site-footer { background: var(--ink-900); color: rgba(255,255,255,0.78); padding-top: 80px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 60px;
}
.footer-brand p { color: rgba(255,255,255,0.65); font-size: 0.95rem; margin: 18px 0 22px; max-width: 380px; }
.footer-logo {
  /* width: 72px; height: 72px; */ width: 100%;
  object-fit: contain;
  /* background: #000; */
  padding: 6px;
  border-radius: 14px;
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background-color .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
.socials a:hover { background: var(--brand-blue); border-color: var(--brand-blue); transform: translateY(-3px); }

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 22px;
  font-weight: 800;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a { color: rgba(255,255,255,0.7); font-size: 0.95rem; transition: color .25s var(--ease), padding-left .25s var(--ease); }
.footer-col ul li a:hover { color: var(--brand-blue-2); padding-left: 4px; }
.footer-contact li { color: rgba(255,255,255,0.7); display: flex; align-items: center; gap: 10px; font-size: 0.95rem; }
.footer-contact i { color: var(--brand-blue-2); width: 18px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; font-size: 0.88rem; color: rgba(255,255,255,0.55); }
.legal-links a { color: rgba(255,255,255,0.55); transition: color .25s var(--ease); }
.legal-links a:hover { color: var(--brand-blue-2); }

/* ============================== FLOATING ELEMENTS ============================== */
.float-whatsapp {
  position: fixed;
  bottom: 24px; left: 24px;
  width: 56px; height: 56px;
  background: var(--whatsapp);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 16px 36px rgba(37,211,102,0.45);
  z-index: 50;
  transition: transform .25s var(--ease);
  animation: pulse-ring 2.4s ease-out infinite;
}
.float-whatsapp:hover { transform: scale(1.08); }
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.55), 0 16px 36px rgba(37,211,102,0.45); }
  70% { box-shadow: 0 0 0 18px rgba(37,211,102,0), 0 16px 36px rgba(37,211,102,0.45); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 16px 36px rgba(37,211,102,0.45); }
}

.back-to-top {
  position: fixed;
  bottom: 24px; right: 210px;
  width: 48px; height: 48px;
  background: var(--brand-blue);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 10px 24px rgba(30,120,216,0.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background-color .3s var(--ease);
  z-index: 50;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--brand-blue-dark); }

/* ============================== REVEAL ANIMATIONS ============================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================== RESPONSIVE ============================== */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid .footer-col:last-child { grid-column: span 3; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-img { height: 460px; }
  .services-head { flex-direction: column; align-items: flex-start; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map { min-height: 380px; }
}

@media (max-width: 820px) {
  :root { --header-h: 72px; }
  .nav-cta { display: none; }
  .primary-nav .nav-list {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(10,15,30,0.98);
    backdrop-filter: blur(14px);
    flex-direction: column;
    gap: 6px;
    padding: 28px;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .primary-nav .nav-list.is-open { transform: translateX(0); }
  .primary-nav .nav-link {
    color: #fff;
    font-size: 1.2rem;
    padding: 14px 18px;
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
  }
  .scrolled .primary-nav .nav-list { background: rgba(10,15,30,0.98); }
  .scrolled .primary-nav .nav-link { color: #fff; }
  .hamburger { display: flex; }
  .brand-sub { display: none; }
  .brand-name { font-size: 0.95rem; }
  .brand-logo { width: 48px; height: 48px; }

  .about { padding: 80px 0; }
  .about-img { height: 360px; }
  .about-badge { bottom: -20px; left: 16px; padding: 14px 16px; }
  .about-points { grid-template-columns: 1fr; }

  .services { padding: 80px 0; }
  .service-card { flex: 0 0 86%; }
  .scroll-controls { display: none; }

  .why { padding: 80px 0; }
  .why-grid { grid-template-columns: 1fr; }

  .clients { padding: 70px 0; }
  .client-logo { width: 180px; height: 90px; font-size: 0.95rem; }

  .contact { padding: 80px 0; }
  .contact-list li { padding: 14px 16px; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid .footer-col:last-child { grid-column: span 1; }

  .hero { min-height: 600px; }
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-meta { gap: 24px; }
  .hero-meta strong { font-size: 1.4rem; }
  .slider-prev { left: 12px; }
  .slider-next { right: 12px; }
  .slider-arrow { width: 44px; height: 44px; }

  .back-to-top { right: 24px; bottom: 92px; }
  .float-whatsapp { width: 52px; height: 52px; font-size: 1.4rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .section-title { font-size: 1.8rem; }
}

/* Hide React root if used by mistake */
#root:empty { display: none; }
