/* =========================================================
   أمان تكنولوجي — Stylesheet
   Brand: Deep blue → Cyan (matching AMAN logo)
   ========================================================= */

:root {
  --navy-900: #071628;
  --navy-800: #0b1f33;
  --navy-700: #0f2c47;
  --blue-700: #0e5aa7;
  --blue-600: #1476c9;
  --blue-500: #2196d9;
  --cyan-500: #35bde8;
  --cyan-400: #56cdf2;
  --sky-100: #e8f5fc;
  --ink: #14304a;
  --muted: #5a6b7b;
  --line: #e3ecf3;
  --bg: #ffffff;
  --bg-alt: #f4f9fd;
  --white: #ffffff;

  --grad: linear-gradient(135deg, var(--blue-600), var(--cyan-500));
  --grad-soft: linear-gradient(135deg, #1a86d6, #47c6ef);
  --shadow-sm: 0 4px 14px rgba(11, 31, 51, .06);
  --shadow-md: 0 14px 40px rgba(11, 31, 51, .10);
  --shadow-lg: 0 24px 60px rgba(11, 31, 51, .16);
  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1200px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Cairo", "Tajawal", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.85;
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(20, 118, 201, .12);
}

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

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

/* ===== Scroll progress ===== */
.scroll-progress {
  position: fixed; inset-block-start: 0; inset-inline-start: 0;
  height: 3px; width: 0%;
  background: var(--grad); z-index: 1000;
  transition: width .1s linear;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 50px;
  font-family: inherit; font-weight: 700; font-size: 1rem;
  cursor: pointer; border: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
  white-space: nowrap;
}
.btn svg { transition: transform .3s var(--ease); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 26px rgba(20, 118, 201, .35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(20, 118, 201, .45); }
.btn-primary:hover svg { transform: translateX(-4px); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1.5px solid rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); transform: translateY(-3px); }
.btn-whatsapp { background: #25d366; color: #fff; box-shadow: 0 10px 26px rgba(37, 211, 102, .4); }
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(37, 211, 102, .5); }

/* ===== Navbar ===== */
.navbar {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 900;
  padding: 16px 0;
  transition: padding .35s var(--ease), background .35s, box-shadow .35s, backdrop-filter .35s;
}
.navbar.scrolled {
  padding: 9px 0;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(11, 31, 51, .08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 52px; height: 52px; border-radius: 50%;
  background: #fff; box-shadow: 0 4px 14px rgba(11, 31, 51, .15);
  transition: width .35s var(--ease), height .35s var(--ease);
}
.navbar.scrolled .brand-logo { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-weight: 800; font-size: 1.15rem; color: #fff; transition: color .35s; }
.brand-sub { font-size: .68rem; letter-spacing: 2px; color: rgba(255, 255, 255, .7); transition: color .35s; }
.navbar.scrolled .brand-name { color: var(--navy-800); }
.navbar.scrolled .brand-sub { color: var(--blue-600); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
  padding: 9px 15px; border-radius: 40px; font-weight: 600; font-size: .95rem;
  color: rgba(255, 255, 255, .85); transition: color .25s, background .25s;
}
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(255, 255, 255, .12); }
.navbar.scrolled .nav-link { color: var(--ink); }
.navbar.scrolled .nav-link:hover, .navbar.scrolled .nav-link.active { color: var(--blue-600); background: var(--sky-100); }
.nav-cta { background: var(--grad); color: #fff !important; padding: 10px 22px; box-shadow: 0 8px 20px rgba(20, 118, 201, .3); }
.nav-cta:hover { transform: translateY(-2px); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2.5px; background: #fff; border-radius: 3px; transition: .3s var(--ease); }
.navbar.scrolled .nav-toggle span { background: var(--navy-800); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center;
  background: radial-gradient(120% 120% at 80% 0%, #103a63 0%, var(--navy-800) 45%, var(--navy-900) 100%);
  color: #fff; overflow: hidden;
  padding: 130px 0 80px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(86, 205, 242, .08) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(86, 205, 242, .08) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(80% 80% at 70% 20%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(80% 80% at 70% 20%, #000 0%, transparent 75%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.glow-1 { width: 460px; height: 460px; background: #1476c9; inset-block-start: -120px; inset-inline-start: -80px; }
.glow-2 { width: 420px; height: 420px; background: #35bde8; inset-block-end: -140px; inset-inline-end: -60px; opacity: .35; }
.hero-scan {
  position: absolute; inset-inline: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(86, 205, 242, .8), transparent);
  animation: scan 6s linear infinite; opacity: .5;
}
@keyframes scan { 0% { inset-block-start: 5%; } 50% { inset-block-start: 95%; } 100% { inset-block-start: 5%; } }

.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.35fr .8fr; gap: 56px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 18px; border-radius: 40px; font-size: .9rem; font-weight: 600;
  background: rgba(86, 205, 242, .12); border: 1px solid rgba(86, 205, 242, .3);
  color: var(--cyan-400); margin-bottom: 26px;
}
.hero-badge svg { color: var(--cyan-400); }
.hero-title { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 900; line-height: 1.3; margin-bottom: 22px; }
.grad-text {
  background: linear-gradient(120deg, var(--cyan-400), #8fe0ff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-desc { font-size: 1.12rem; color: rgba(255, 255, 255, .82); max-width: 620px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 38px; }

.hero-trust {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 12px 20px 12px 24px; border-radius: 60px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(6px);
}
.trust-mini { width: 42px; height: 42px; border-radius: 50%; background: #fff; padding: 2px; }
.trust-txt { display: flex; flex-direction: column; line-height: 1.4; }
.trust-txt strong { font-size: .95rem; }
.trust-txt span { font-size: .8rem; color: rgba(255, 255, 255, .65); }

.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius); padding: 26px 20px; text-align: center;
  backdrop-filter: blur(6px); transition: transform .35s var(--ease), border-color .35s;
}
.stat-card:hover { transform: translateY(-6px); border-color: rgba(86, 205, 242, .5); }
.stat-num { font-size: 2.3rem; font-weight: 900; color: var(--cyan-400); line-height: 1; }
.stat-plus { font-size: 1.6rem; font-weight: 900; color: var(--cyan-400); }
.stat-label { display: block; margin-top: 8px; font-size: .88rem; color: rgba(255, 255, 255, .78); }

.hero-scroll {
  position: absolute; inset-block-end: 26px; inset-inline-start: 50%; transform: translateX(50%);
  width: 26px; height: 44px; border: 2px solid rgba(255, 255, 255, .35); border-radius: 20px; z-index: 2;
}
.hero-scroll span {
  position: absolute; inset-inline-start: 50%; inset-block-start: 8px; transform: translateX(50%);
  width: 5px; height: 8px; background: var(--cyan-400); border-radius: 3px;
  animation: scrollDot 1.6s var(--ease) infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translate(50%, 0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(50%, 14px); } 100% { opacity: 0; } }

/* ===== Marquee ===== */
.marquee { background: var(--grad); color: #fff; padding: 15px 0; overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; align-items: center; gap: 26px; animation: marquee 32s linear infinite; }
.marquee-track span { font-weight: 700; font-size: 1.02rem; }
.marquee-track i { color: rgba(255, 255, 255, .55); font-style: normal; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ===== Sections ===== */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark {
  background: radial-gradient(120% 120% at 20% 0%, #103a63 0%, var(--navy-800) 50%, var(--navy-900) 100%);
  color: #fff;
}

.eyebrow {
  display: inline-block; font-weight: 700; font-size: .9rem; letter-spacing: 1px;
  color: var(--blue-600); margin-bottom: 12px; position: relative; padding-inline-start: 34px;
}
.eyebrow::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: 50%; width: 26px; height: 2px; background: var(--grad); transform: translateY(-50%); }
.eyebrow.center { padding: 0; margin-inline: auto; }
.eyebrow.center::before { display: none; }
.eyebrow.light { color: var(--cyan-400); }

.section-title { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 800; line-height: 1.35; color: var(--navy-800); }
.section-title.light { color: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-sub { color: var(--muted); font-size: 1.08rem; margin-top: 14px; }
.section-sub.light { color: rgba(255, 255, 255, .78); }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.lead { font-size: 1.14rem; margin: 18px 0; }
.muted { color: var(--muted); }
.check-list { margin-top: 24px; display: grid; gap: 14px; }
.check-list li { position: relative; padding-inline-start: 38px; font-weight: 600; color: var(--ink); }
.check-list li::before {
  content: ""; position: absolute; inset-inline-start: 0; inset-block-start: 4px;
  width: 24px; height: 24px; border-radius: 50%; background: var(--sky-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231476c9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

.about-cards { display: grid; gap: 18px; }
.pillar {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
  position: relative; overflow: hidden;
}
.pillar::before { content: ""; position: absolute; inset-inline-start: 0; inset-block: 0; width: 4px; background: var(--grad); opacity: 0; transition: opacity .35s; }
.pillar:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.pillar:hover::before { opacity: 1; }
.pillar-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--sky-100);
  color: var(--blue-600); display: grid; place-items: center; margin-bottom: 16px;
}
.pillar-icon svg { width: 26px; height: 26px; }
.pillar h3 { font-size: 1.25rem; font-weight: 800; color: var(--navy-800); margin-bottom: 8px; }
.pillar p { color: var(--muted); }
.value-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.value-chips span {
  padding: 6px 16px; border-radius: 30px; font-weight: 700; font-size: .9rem;
  background: var(--sky-100); color: var(--blue-700);
}

/* ===== Cards grid (services) ===== */
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.scard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 26px; box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s;
  position: relative; overflow: hidden;
}
.scard::after {
  content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; height: 4px;
  background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.scard:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.scard:hover::after { transform: scaleX(1); }
.scard-icon {
  width: 64px; height: 64px; border-radius: 18px; background: var(--grad);
  color: #fff; display: grid; place-items: center; margin-bottom: 20px;
  box-shadow: 0 10px 24px rgba(20, 118, 201, .3);
  transition: transform .4s var(--ease);
}
.scard:hover .scard-icon { transform: rotate(-6deg) scale(1.06); }
.scard-icon svg { width: 32px; height: 32px; }
.scard h3 { font-size: 1.18rem; font-weight: 800; color: var(--navy-800); margin-bottom: 10px; }
.scard p { color: var(--muted); font-size: .98rem; }

/* ===== Tech grid ===== */
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.tcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 26px; box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s, background .4s;
}
.tcard:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.tcard-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.tcard-num { font-size: 2rem; font-weight: 900; color: var(--sky-100); -webkit-text-stroke: 1px #bfe0f2; }
.tcard-icon {
  width: 56px; height: 56px; border-radius: 16px; background: var(--sky-100);
  color: var(--blue-600); display: grid; place-items: center;
  transition: background .4s, color .4s;
}
.tcard:hover .tcard-icon { background: var(--grad); color: #fff; }
.tcard-icon svg { width: 28px; height: 28px; }
.tcard h3 { font-size: 1.14rem; font-weight: 800; color: var(--navy-800); margin-bottom: 12px; }
.tcard ul { display: grid; gap: 9px; }
.tcard li { position: relative; padding-inline-start: 22px; color: var(--muted); font-size: .95rem; }
.tcard li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-500); }

.advanced-head { margin-top: 90px; }

/* ===== Advanced grid ===== */
.adv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.adv {
  display: flex; gap: 20px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.adv:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.adv-icon {
  flex-shrink: 0; width: 58px; height: 58px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(20,118,201,.12), rgba(53,189,232,.14));
  color: var(--blue-600); display: grid; place-items: center;
}
.adv-icon svg { width: 30px; height: 30px; }
.adv h3 { font-size: 1.16rem; font-weight: 800; color: var(--navy-800); margin-bottom: 6px; }
.adv p { color: var(--muted); font-size: .97rem; }

/* ===== Projects ===== */
.proj-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.proj {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-lg); padding: 30px 26px; backdrop-filter: blur(6px);
  transition: transform .4s var(--ease), background .4s, border-color .4s;
}
.proj:hover { transform: translateY(-8px); background: rgba(255, 255, 255, .09); border-color: rgba(86, 205, 242, .45); }
.proj-icon {
  width: 60px; height: 60px; border-radius: 16px; background: rgba(86, 205, 242, .14);
  color: var(--cyan-400); display: grid; place-items: center; margin-bottom: 18px;
}
.proj-icon svg { width: 30px; height: 30px; }
.proj h3 { font-size: 1.14rem; font-weight: 800; color: #fff; margin-bottom: 10px; }
.proj p { color: rgba(255, 255, 255, .72); font-size: .95rem; margin-bottom: 16px; }
.proj-tag {
  display: inline-block; padding: 5px 14px; border-radius: 30px; font-size: .8rem; font-weight: 700;
  background: rgba(86, 205, 242, .12); color: var(--cyan-400); border: 1px solid rgba(86, 205, 242, .25);
}

/* ===== Why ===== */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 60px; }
.why-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 26px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.why-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.why-icon {
  width: 72px; height: 72px; border-radius: 20px; margin: 0 auto 20px;
  background: var(--grad); color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 26px rgba(20, 118, 201, .3);
}
.why-icon svg { width: 36px; height: 36px; }
.why-card h3 { font-size: 1.2rem; font-weight: 800; color: var(--navy-800); margin-bottom: 10px; }
.why-card p { color: var(--muted); font-size: .96rem; }

/* ISO banner */
.iso-banner {
  display: flex; align-items: center; gap: 34px; flex-wrap: wrap;
  background: linear-gradient(120deg, var(--navy-800), var(--blue-700));
  border-radius: var(--radius-lg); padding: 40px 44px; color: #fff;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.iso-banner::before {
  content: ""; position: absolute; inset-block-start: -60px; inset-inline-end: -40px;
  width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(86,205,242,.35), transparent 70%);
}
.iso-badge {
  flex-shrink: 0; width: 140px; height: 140px; border-radius: 50%;
  background: #fff; color: var(--blue-700); display: grid; place-items: center;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .25); position: relative; z-index: 1;
  border: 5px solid var(--cyan-400);
}
.iso-ring { font-size: 2.5rem; font-weight: 900; line-height: 1; letter-spacing: 1px; }
.iso-num { position: absolute; inset-block-end: 30px; font-size: .82rem; font-weight: 700; color: var(--blue-600); }
.iso-text { position: relative; z-index: 1; flex: 1; min-width: 260px; }
.iso-text h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 10px; }
.iso-text p { color: rgba(255, 255, 255, .85); }

/* ===== Leader ===== */
.leader-section { padding: 80px 0; }
.leader-card {
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px 44px; box-shadow: var(--shadow-sm);
}
.leader-avatar {
  flex-shrink: 0; width: 110px; height: 110px; border-radius: 50%;
  background: var(--grad); color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 28px rgba(20, 118, 201, .3);
}
.leader-avatar svg { width: 60px; height: 60px; }
.leader-body { flex: 1; min-width: 260px; }
.leader-body h3 { font-size: 1.5rem; font-weight: 800; color: var(--navy-800); }
.leader-role { color: var(--blue-600); font-weight: 700; margin-bottom: 8px; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 44px; }
.contact-item {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-lg); padding: 32px 24px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: transform .4s var(--ease), background .4s, border-color .4s;
}
.contact-item:hover { transform: translateY(-8px); background: rgba(255, 255, 255, .09); border-color: rgba(86, 205, 242, .45); }
.contact-ico {
  width: 60px; height: 60px; border-radius: 16px; background: var(--grad);
  color: #fff; display: grid; place-items: center; margin-bottom: 8px;
  box-shadow: 0 10px 24px rgba(20, 118, 201, .3);
}
.contact-ico svg { width: 28px; height: 28px; }
.contact-label { font-weight: 800; color: #fff; font-size: 1.05rem; }
.contact-val { color: rgba(255, 255, 255, .74); font-size: .92rem; word-break: break-word; }
.contact-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== Google Map ===== */
.map-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .12);
  margin-bottom: 44px;
  background: var(--navy-800);
}
.map-frame { width: 100%; height: 440px; }
.map-frame iframe { display: block; width: 100%; height: 100%; filter: grayscale(.15) contrast(1.05); }

.map-card {
  position: absolute; inset-block-start: 50%; inset-inline-start: 34px;
  transform: translateY(-50%);
  width: min(360px, calc(100% - 48px));
  background: rgba(9, 24, 41, .92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(86, 205, 242, .3);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-lg);
  color: #fff;
}
.map-ico {
  width: 56px; height: 56px; border-radius: 16px; background: var(--grad);
  color: #fff; display: grid; place-items: center; margin-bottom: 16px;
  box-shadow: 0 10px 24px rgba(20, 118, 201, .35);
}
.map-ico svg { width: 28px; height: 28px; }
.map-eyebrow { display: inline-block; font-weight: 700; font-size: .82rem; letter-spacing: 1px; color: var(--cyan-400); margin-bottom: 8px; }
.map-info h3 { font-size: 1.35rem; font-weight: 800; line-height: 1.4; margin-bottom: 10px; }
.map-info p { color: rgba(255, 255, 255, .74); font-size: .94rem; margin-bottom: 20px; }
.map-actions { display: flex; flex-direction: column; gap: 12px; }
.map-btn { justify-content: center; padding: 12px 22px; }
.map-btn-ghost { border-color: rgba(255, 255, 255, .3); }

@media (max-width: 720px) {
  .map-frame { height: 360px; }
  .map-card {
    position: static; transform: none; width: 100%;
    border-radius: 0; border-inline: none; border-block-end: none;
  }
  .map-wrap { background: transparent; }
}

/* ===== Footer ===== */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, .75); padding-top: 70px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.footer-logo { width: 64px; height: 64px; border-radius: 50%; background: #fff; padding: 3px; margin-bottom: 18px; }
.footer-brand p { font-size: .95rem; max-width: 320px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .07); color: #fff; transition: background .3s, transform .3s;
}
.footer-social a:hover { background: var(--grad); transform: translateY(-3px); }
.footer-col h4 { color: #fff; font-size: 1.05rem; font-weight: 800; margin-bottom: 18px; }
.footer-col a { display: block; padding: 6px 0; font-size: .94rem; transition: color .25s, padding-inline-start .25s; }
.footer-col a:hover { color: var(--cyan-400); padding-inline-start: 6px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: .88rem; }
.footer-iso { color: var(--cyan-400); font-weight: 600; }

/* ===== Floating buttons ===== */
.fab-whatsapp {
  position: fixed; inset-block-end: 26px; inset-inline-start: 26px; z-index: 800;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
  transition: transform .3s var(--ease);
  animation: pulse 2.4s infinite;
}
.fab-whatsapp svg { width: 30px; height: 30px; }
.fab-whatsapp:hover { transform: scale(1.1); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); } 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

.back-top {
  position: fixed; inset-block-end: 26px; inset-inline-end: 26px; z-index: 800;
  width: 50px; height: 50px; border-radius: 14px; border: none; cursor: pointer;
  background: var(--grad); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(20, 118, 201, .35);
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: opacity .35s, visibility .35s, transform .35s var(--ease);
}
.back-top svg { width: 24px; height: 24px; }
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { transform: translateY(-4px); }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== Mobile nav overlay ===== */
.nav-overlay {
  position: fixed; inset: 0; z-index: 850; display: none;
  background: rgba(7, 22, 40, .55); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
.nav-overlay.show { opacity: 1; visibility: visible; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .hero-inner { gap: 40px; }
}

@media (max-width: 1024px) {
  html { scroll-padding-top: 84px; }
  .section { padding: 84px 0; }
  .leader-section { padding: 66px 0; }
  .advanced-head { margin-top: 70px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-content, .hero-stats { max-width: 640px; }
  .hero-desc { max-width: none; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .cards-grid, .tech-grid, .why-grid, .proj-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 74px; }
  .navbar { padding: 12px 0; }
  .navbar.scrolled { padding: 8px 0; }
  .nav-toggle { display: flex; z-index: 960; }
  .nav-overlay { display: block; }
  .nav-links {
    position: fixed; inset-block: 0; inset-inline-end: 0; z-index: 950;
    height: 100vh; height: 100dvh; width: min(84vw, 330px);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px;
    background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
    padding: 88px 20px 32px;
    box-shadow: -20px 0 60px rgba(0, 0, 0, .45);
    transform: translateX(-100%); transition: transform .42s var(--ease);
    overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-link {
    color: #fff; font-size: 1.06rem; padding: 15px 16px; border-radius: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
  }
  .nav-link:last-of-type { border-bottom: none; }
  .navbar.scrolled .nav-link { color: #fff; }
  .navbar.scrolled .nav-link:hover, .navbar.scrolled .nav-link.active { background: rgba(255, 255, 255, .1); color: #fff; }
  .nav-cta { text-align: center; margin-top: 14px; box-shadow: none; }
  .adv-grid { grid-template-columns: 1fr; }
  .iso-banner { gap: 26px; padding: 34px 30px; }
}

@media (max-width: 620px) {
  .container { padding-inline: 18px; }
  .section { padding: 62px 0; }
  .section-head { margin-bottom: 40px; }
  .hero { padding: 94px 0 56px; min-height: auto; }
  .hero-badge { font-size: .82rem; padding: 7px 14px; margin-bottom: 20px; }
  .hero-title { font-size: clamp(1.85rem, 8vw, 2.4rem); line-height: 1.35; }
  .hero-desc { font-size: 1rem; margin-bottom: 26px; }
  .hero-actions { flex-direction: column; align-items: stretch; margin-bottom: 28px; }
  .hero-actions .btn { justify-content: center; width: 100%; }
  .hero-trust { width: 100%; padding: 12px 18px; }
  .hero-stats { gap: 12px; }
  .stat-card { padding: 20px 12px; }
  .stat-num { font-size: 1.9rem; }
  .stat-plus { font-size: 1.3rem; }
  .stat-label { font-size: .82rem; }
  .hero-scroll { display: none; }
  .marquee { padding: 12px 0; }
  .marquee-track { gap: 18px; }
  .marquee-track span { font-size: .9rem; }
  .cards-grid, .tech-grid, .why-grid, .proj-grid, .contact-grid { grid-template-columns: 1fr; }
  .why-grid { margin-bottom: 44px; }
  .scard, .tcard, .why-card, .proj { padding: 26px 22px; }
  .section-title { font-size: clamp(1.5rem, 6.4vw, 2rem); }
  .iso-banner { padding: 28px 22px; flex-direction: column; text-align: center; }
  .iso-badge { width: 116px; height: 116px; }
  .iso-ring { font-size: 2.1rem; }
  .iso-num { inset-block-end: 26px; }
  .iso-text h3 { font-size: 1.3rem; }
  .iso-text p { text-align: center; }
  .leader-card { padding: 28px 22px; text-align: center; flex-direction: column; }
  .contact-item { padding: 26px 20px; }
  .footer { padding-top: 54px; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .footer-brand p { margin-inline: auto; }
  .footer-logo { margin-inline: auto; }
  .footer-social { justify-content: center; }
  .footer-col a { text-align: center !important; }
  .footer-col a:hover { padding-inline-start: 0; }
  .footer-bottom .container { justify-content: center; text-align: center; }
  .brand-sub { display: none; }
  .fab-whatsapp { width: 54px; height: 54px; inset-block-end: 18px; inset-inline-start: 18px; }
  .back-top { width: 46px; height: 46px; inset-block-end: 18px; inset-inline-end: 18px; }
}

@media (max-width: 400px) {
  .container { padding-inline: 15px; }
  .brand-name { font-size: 1.02rem; }
  .brand-logo { width: 46px; height: 46px; }
  .navbar.scrolled .brand-logo { width: 40px; height: 40px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .btn { padding: 13px 22px; font-size: .95rem; }
  .section-title { font-size: 1.5rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
