/* =========================================================
   Gateway System - Landing Page Styles
   ========================================================= */

:root {
  --navy: #0b1f3a;
  --navy-800: #12294a;
  --navy-900: #081627;
  --blue: #1c6dd0;
  --blue-600: #1558ad;
  --cyan: #29b6d8;
  --teal: #37d0b5;
  --ink: #1a2333;
  --muted: #5b6779;
  --line: #e4e9f0;
  --bg: #ffffff;
  --bg-soft: #f4f7fc;
  --bg-tint: #eef4fc;
  --white: #ffffff;
  --radius: 16px;
  --radius-lg: 22px;
  --grad-brand: linear-gradient(135deg, #1c6dd0 0%, #29b6d8 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(28,109,208,0.12), rgba(41,182,216,0.14));
  --grad-hero: linear-gradient(155deg, rgba(8,22,39,0.94) 0%, rgba(16,38,68,0.9) 45%, rgba(18,54,98,0.82) 100%);
  --shadow-sm: 0 4px 16px rgba(11, 31, 58, 0.08);
  --shadow-md: 0 22px 50px -12px rgba(11, 31, 58, 0.18);
  --shadow-brand: 0 24px 50px -14px rgba(28, 109, 208, 0.45);
  --container: 1160px;
  --font-head: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
}

/* ---------- Reset / base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.18;
  color: var(--navy);
  letter-spacing: -0.01em;
}

::selection { background: rgba(41, 182, 216, 0.28); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.section { padding: 104px 0; position: relative; }

.section-head { max-width: 660px; margin: 0 auto 60px; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
}
.section-head .eyebrow { display: flex; justify-content: center; }
.about-content .eyebrow, .contact-info .eyebrow { display: flex; }
.section-head .eyebrow::after {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
}

.section-head h2, .about-content h2, .contact-info h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.55rem);
  font-weight: 700;
}
.section-head h2 { position: relative; display: inline-block; padding-bottom: 18px; }
.section-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: var(--grad-brand);
  transform: translateX(-50%);
}

.section-sub { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }

.text-grad {
  background: linear-gradient(120deg, var(--cyan), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn > * { position: relative; z-index: 1; }

.btn-primary {
  background: var(--grad-brand);
  background-size: 160% 160%;
  background-position: 0% 50%;
  color: var(--white);
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover {
  transform: translateY(-3px);
  background-position: 100% 50%;
  box-shadow: 0 28px 55px -12px rgba(28, 109, 208, 0.55);
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
  z-index: 0;
}
.btn-primary:hover::after { left: 130%; }

.btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: var(--white); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.9); }

.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 30px rgba(11, 31, 58, 0.1);
  border-color: var(--line);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.logo { display: flex; align-items: center; gap: 11px; font-family: var(--font-head); }
.logo-mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--grad-brand);
  color: #fff; font-weight: 800; border-radius: 12px;
  font-size: 1.15rem;
  box-shadow: 0 8px 20px -6px rgba(28, 109, 208, 0.6);
}
.logo-text { font-size: 1.2rem; font-weight: 600; color: var(--navy); }
.logo-text strong { color: var(--blue); font-weight: 700; }

.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav ul { display: flex; gap: 28px; list-style: none; }
.main-nav ul a {
  position: relative;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 6px 0;
  transition: color 0.18s ease;
}
.main-nav ul a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
  transition: width 0.25s ease;
}
.main-nav ul a:hover { color: var(--blue); }
.main-nav ul a:hover::after { width: 100%; }
.nav-cta { padding: 11px 22px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 172px 0 110px;
  overflow: hidden;
  background:
    var(--grad-hero),
    radial-gradient(1200px 520px at 82% -10%, rgba(41, 182, 216, 0.3), transparent 60%),
    url("../images/hero-bg.jpg") center / cover no-repeat,
    var(--navy);
  color: #e9f0fa;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  width: 420px; height: 420px;
  background: rgba(41, 182, 216, 0.34);
  top: -140px; right: -90px;
  animation: floatA 16s ease-in-out infinite;
}
.hero::after {
  width: 340px; height: 340px;
  background: rgba(28, 109, 208, 0.36);
  bottom: -150px; left: -70px;
  animation: floatB 20s ease-in-out infinite;
}
@keyframes floatA {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-40px, 40px); }
}
@keyframes floatB {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(50px, -30px); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 58px;
  align-items: center;
}

.hero-content .eyebrow { color: var(--cyan); }
.hero-content .eyebrow::before { background: var(--cyan); }

.hero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 5.2vw, 3.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hero h1 span {
  background: linear-gradient(120deg, var(--cyan), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead { margin: 22px 0 32px; color: #c6d4e6; font-size: 1.1rem; max-width: 560px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.hero-points { list-style: none; display: grid; gap: 12px; }
.hero-points li { position: relative; padding-left: 30px; color: #d5e0ef; font-size: 0.98rem; }
.hero-points li::before {
  content: "\2713";
  position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  color: var(--navy);
  font-size: 0.72rem; font-weight: 700;
  display: grid; place-items: center;
  box-shadow: 0 4px 12px rgba(41, 182, 216, 0.4);
}

.hero-card {
  position: relative;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 12px;
  display: grid;
  gap: 6px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
}
.hero-card-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 14px;
  transition: background 0.2s ease;
}
.hero-card-row:hover { background: rgba(255, 255, 255, 0.08); }
.hc-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  padding-top: 2px;
  background: linear-gradient(120deg, var(--cyan), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-card-row h3 { color: #fff; font-size: 1.03rem; margin-bottom: 3px; }
.hero-card-row p { color: #bcccdf; font-size: 0.9rem; line-height: 1.55; }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.trust-inner {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 24px 52px; padding: 38px 24px;
}
.trust-logo {
  height: 46px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.5;
  transition: opacity 0.25s ease, filter 0.25s ease, transform 0.25s ease;
}
.trust-logo:hover { opacity: 1; filter: grayscale(0); transform: translateY(-2px); }
.trust-logo-wide { height: 30px; }

/* ---------- Grid helper ---------- */
.grid { display: grid; gap: 28px; }

/* ---------- Services ---------- */
.services { background: var(--bg); }
.services::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 320px;
  background: radial-gradient(600px 320px at 15% 0%, rgba(41, 182, 216, 0.07), transparent 70%);
  pointer-events: none;
}
.services-grid { grid-template-columns: repeat(3, 1fr); counter-reset: svc; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }

.service-card {
  position: relative;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  counter-increment: svc;
}
.service-card:hover {
  box-shadow: 0 0 0 2px rgba(28, 109, 208, 0.45), 0 26px 55px -16px rgba(28, 109, 208, 0.32);
}

.service-media { position: relative; overflow: hidden; }
.service-media::after {
  content: counter(svc, decimal-leading-zero);
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(11, 31, 58, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.service-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 31, 58, 0.35) 0%, transparent 40%);
  z-index: 1;
}
.service-media img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.service-card:hover .service-media img { transform: scale(1.07); }

.service-body {
  padding: 26px 26px 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card h3 { font-size: 1.18rem; margin-bottom: 11px; }
.service-card p { color: var(--muted); font-size: 0.96rem; margin-bottom: 22px; }

.btn-call { display: inline-flex; align-items: center; gap: 8px; }
.btn-call svg { fill: currentColor; }
.btn-call-sm {
  align-self: flex-start;
  margin-top: auto;
  font-size: 0.86rem;
  padding: 11px 22px;
}
.btn-call-sm svg { width: 15px; height: 15px; }

.services-cta {
  margin-top: 56px;
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  background: var(--grad-brand-soft);
  border: 1px solid var(--line);
}
.services-cta p { color: var(--ink); font-weight: 500; margin-bottom: 18px; font-size: 1.05rem; }
.services-cta .btn-call { font-size: 1rem; padding: 15px 32px; }
.services-cta .btn-call svg { width: 18px; height: 18px; }

/* ---------- About ---------- */
.about { background: var(--bg-soft); }
.about-inner { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 64px; align-items: center; }

.about-media { position: relative; }
.about-media::before {
  content: "";
  position: absolute;
  inset: -16px -16px 24px 24px;
  border-radius: var(--radius-lg);
  background: var(--grad-brand);
  opacity: 0.14;
  z-index: 0;
}
.about-media::after {
  content: "";
  position: absolute;
  right: -14px; top: -14px;
  width: 120px; height: 120px;
  background-image: radial-gradient(currentColor 1.6px, transparent 1.6px);
  background-size: 14px 14px;
  color: var(--cyan);
  opacity: 0.35;
  z-index: 0;
}
.about-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 360px;
  max-height: 470px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.about-badge {
  position: absolute;
  right: -18px; bottom: -18px;
  z-index: 2;
  background: var(--white);
  border-radius: 18px;
  padding: 20px 24px;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.about-badge strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.about-badge span { font-size: 0.8rem; color: var(--muted); }

.about-content p { color: var(--muted); margin-top: 18px; }
.about-content .btn { margin-top: 30px; }

/* ---------- Why choose us ---------- */
.why { background: var(--bg); }
.why-grid { grid-template-columns: repeat(3, 1fr); counter-reset: why; }
.why-item {
  position: relative;
  padding: 32px 28px 28px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  counter-increment: why;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.why-item::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--grad-brand);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
}
.why-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); background: var(--white); }
.why-item:hover::after { transform: scaleY(1); }
.why-item::before {
  content: counter(why, decimal-leading-zero);
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--blue);
  background: var(--grad-brand-soft);
  margin-bottom: 16px;
}
.why-item h3 { font-size: 1.08rem; margin-bottom: 9px; }
.why-item p { color: var(--muted); font-size: 0.94rem; }

/* ---------- Stats ---------- */
.stats {
  position: relative;
  background: linear-gradient(155deg, var(--navy-900), var(--navy-800) 55%, #16375f);
  color: #fff;
  padding: 72px 0;
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute;
  top: -120px; left: 50%;
  width: 600px; height: 300px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(41, 182, 216, 0.25), transparent);
  pointer-events: none;
}
.stats-inner {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat { position: relative; padding: 6px 12px; }
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 1px; height: 46px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
}
.stat strong {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 2.9rem);
  line-height: 1;
  display: block;
  background: linear-gradient(120deg, var(--cyan), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span { color: #c2d1e4; font-size: 0.92rem; margin-top: 8px; display: block; }

/* ---------- Contact ---------- */
.contact { background: var(--bg-soft); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

.contact-info h2 { position: relative; display: inline-block; padding-bottom: 18px; }
.contact-info h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 56px; height: 4px;
  border-radius: 4px;
  background: var(--grad-brand);
}

.contact-list { list-style: none; margin-top: 30px; display: grid; gap: 20px; }
.contact-list li {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-list li:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.ci-icon {
  flex-shrink: 0;
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.2rem;
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 8px 18px -6px rgba(28, 109, 208, 0.5);
}
.contact-list h4 { font-size: 0.95rem; margin-bottom: 3px; }
.contact-list a, .contact-list p { color: var(--muted); font-size: 0.95rem; }
.contact-list a:hover { color: var(--blue); }

.contact-form {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.contact-form::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-brand);
}
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--font-head); font-weight: 500; font-size: 0.9rem; margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 11px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg-soft);
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(28, 109, 208, 0.12);
}
.field textarea { resize: vertical; }
.field.invalid input, .field.invalid textarea { border-color: #d64545; background: #fdf2f2; }

.form-status { margin-top: 14px; font-size: 0.92rem; font-weight: 500; min-height: 1.2em; }
.form-status.ok { color: #1a8a4a; }
.form-status.err { color: #d64545; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, var(--navy), var(--navy-900));
  color: #b9c6d8;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-brand);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  padding: 72px 24px 48px;
}
.footer-brand .logo { margin-bottom: 18px; }
.footer-brand .logo-text { color: #fff; }
.footer-brand p { font-size: 0.92rem; max-width: 320px; line-height: 1.7; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a, .footer-col li { font-size: 0.92rem; transition: color 0.18s ease; }
.footer-col a:hover { color: var(--cyan); }

.footer-contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact svg {
  width: 17px; height: 17px;
  flex-shrink: 0;
  margin-top: 3px;
  fill: var(--cyan);
}

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 22px 0; }
.footer-bottom p { font-size: 0.86rem; text-align: center; color: #8a99ac; }

/* ---------- Floating call button ---------- */
.float-call {
  position: fixed;
  right: 22px;
  bottom: 84px;
  z-index: 950;
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 56px;
  padding: 0 18px 0 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22a952, #17c964);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 14px 34px rgba(23, 201, 100, 0.45);
  overflow: hidden;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.float-call svg { width: 24px; height: 24px; fill: currentColor; flex-shrink: 0; }
.float-call span {
  max-width: 0;
  opacity: 0;
  margin-left: 0;
  transition: max-width 0.3s ease, opacity 0.3s ease, margin-left 0.3s ease;
}
.float-call:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(23, 201, 100, 0.55); }
.float-call:hover span { max-width: 120px; opacity: 1; margin-left: 9px; }
.float-call::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 999px;
  border: 2px solid #17c964;
  animation: callPulse 2s ease-out infinite;
}
@keyframes callPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  display: grid; place-items: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-brand);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 900;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.grid .reveal:nth-child(2) { transition-delay: 0.07s; }
.grid .reveal:nth-child(3) { transition-delay: 0.14s; }
.grid .reveal:nth-child(4) { transition-delay: 0.07s; }
.grid .reveal:nth-child(5) { transition-delay: 0.14s; }
.grid .reveal:nth-child(6) { transition-delay: 0.21s; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; gap: 64px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .stat:nth-child(3)::before { display: none; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .section { padding: 76px 0; }
  .main-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 12px 24px 24px;
    transform: translateY(-140%);
    transition: transform 0.32s ease;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav ul a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .main-nav ul a::after { display: none; }
  .nav-cta { margin-top: 14px; text-align: center; }
  .nav-toggle { display: flex; }
  .hero { padding: 140px 0 88px; }
  .float-call { height: 52px; padding: 0 15px; }
  .float-call:hover span { max-width: 0; opacity: 0; margin-left: 0; }
}

@media (max-width: 540px) {
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr; }
  .stat + .stat::before { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .about-badge { right: 10px; bottom: -14px; padding: 16px 18px; }
  .trust-logo { height: 36px; }
  .trust-logo-wide { height: 24px; }
  .trust-inner { gap: 20px 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
