/* ============================================================
   SRISTASTEK — Where Technology Becomes Intelligence
   Shared stylesheet
   ============================================================ */

:root {
  --navy: #0a0f2e;
  --navy-2: #10173f;
  --deep: #151d4e;
  --blue: #2563eb;
  --blue-2: #1e40af;
  --purple: #7c3aed;
  --violet: #9333ea;
  --magenta: #b249e8;
  --cyan: #22d3ee;
  --teal: #2dd4bf;
  --ink: #131735;
  --body: #4b5171;
  --muted: #8a90ad;
  --bg-light: #f5f6fc;
  --bg-white: #ffffff;
  --line: #e6e8f4;
  --grad: linear-gradient(135deg, #2563eb 0%, #7c3aed 60%, #9333ea 100%);
  --grad-soft: linear-gradient(135deg, rgba(37, 99, 235, .1), rgba(147, 51, 234, .1));
  --grad-text: linear-gradient(100deg, #4f8cff 0%, #a855f7 55%, #22d3ee 110%);
  --shadow-sm: 0 4px 14px rgba(19, 23, 53, .07);
  --shadow-md: 0 14px 34px rgba(19, 23, 53, .12);
  --shadow-glow: 0 12px 40px rgba(124, 58, 237, .35);
  --radius: 18px;
  --font-head: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg-white);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.25;
  font-weight: 700;
}

.container { width: min(1180px, 92%); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  padding: .85rem 1.9rem; border-radius: 999px; border: 0;
  cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 24px rgba(124, 58, 237, .32); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-glow); }
.btn-ghost {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .45);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-3px); }
.btn-dark-outline {
  background: transparent; color: var(--purple);
  border: 1.5px solid var(--purple);
}
.btn-dark-outline:hover { background: var(--grad); color: #fff; border-color: transparent; transform: translateY(-3px); }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; inset: 0 0 auto 0; z-index: 999;
  padding: .9rem 0;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.navbar.solid {
  background: rgba(10, 15, 46, .92);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(5, 8, 30, .35);
  padding: .55rem 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand img {
  height: 84px; width: auto;
  background: #fff; border-radius: 14px; padding: 6px 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
  transition: height .3s ease;
}
.navbar.solid .brand img { height: 66px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-head); font-weight: 700; font-size: 1.18rem; letter-spacing: .04em;
  background: linear-gradient(90deg, #6ea8ff, #c084fc); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-tag { font-size: .62rem; color: #aeb6da; letter-spacing: .05em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 1.7rem; }
.nav-links a {
  color: #d6dbf5; font-weight: 500; font-size: .95rem; position: relative; padding: .35rem 0;
  transition: color .25s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2.5px; width: 0;
  background: var(--grad-text); border-radius: 2px; transition: width .3s ease;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { margin-left: .4rem; }
.nav-cta .btn { padding: .6rem 1.4rem; font-size: .88rem; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 42px; height: 42px; border-radius: 10px;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: #fff; border-radius: 2px; transition: .3s ease; }
.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 (home) ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: radial-gradient(1200px 700px at 78% 18%, #27317c 0%, transparent 55%),
              radial-gradient(900px 600px at 12% 85%, #3b1a6e 0%, transparent 55%),
              linear-gradient(160deg, #0a0f2e 0%, #131a4a 55%, #1c1050 100%);
  overflow: hidden; padding: 9.5rem 0 6rem;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.6px);
  background-size: 34px 34px; opacity: .35;
  mask-image: radial-gradient(80% 70% at 60% 40%, #000 30%, transparent 100%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; animation: float 9s ease-in-out infinite alternate; }
.orb-1 { width: 380px; height: 380px; background: #6d28d9; top: -90px; right: 8%; }
.orb-2 { width: 300px; height: 300px; background: #2563eb; bottom: -60px; left: 4%; animation-delay: 2.5s; }
.orb-3 { width: 200px; height: 200px; background: #0891b2; top: 42%; left: 46%; animation-delay: 1.2s; opacity: .35; }
@keyframes float { from { transform: translateY(-18px); } to { transform: translateY(22px); } }

.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.5rem; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--cyan); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem;
  background: rgba(34, 211, 238, .08); border: 1px solid rgba(34, 211, 238, .3);
  border-radius: 999px; padding: .45rem 1.1rem; margin-bottom: 1.4rem;
}
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 700; margin-bottom: 1.2rem; }
.hero h1 .grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: #c3c9ea; font-size: 1.1rem; max-width: 34rem; margin-bottom: 2rem; }
.hero-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.4rem; }
.chip {
  color: #e4e8ff; font-size: .82rem; font-weight: 500;
  border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; padding: .38rem 1rem;
  background: rgba(255, 255, 255, .05); transition: .3s ease;
}
.chip:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* hero visual card */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-card {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(12px); border-radius: 24px; padding: 2.2rem;
  width: 100%; max-width: 400px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
  animation: float 7s ease-in-out infinite alternate;
}
.hero-card .hc-logo { background: #fff; border-radius: 14px; padding: .9rem; margin-bottom: 1.5rem; }
.hero-card .hc-logo img { height: 150px; margin-inline: auto; }
.hc-rows { display: grid; gap: .8rem; }
.hc-row {
  display: flex; align-items: center; gap: .85rem;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px; padding: .7rem .95rem; color: #dde2ff; font-size: .9rem; font-weight: 500;
}
.hc-row i {
  width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--grad); color: #fff; font-size: .85rem;
}

/* benefit strip */
.benefit-strip {
  position: relative; z-index: 3;
  background: rgba(13, 18, 52, .85); border-top: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(8px);
}
.benefit-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.benefit {
  display: flex; align-items: center; gap: .8rem; padding: 1.3rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, .07); justify-content: center;
}
.benefit:last-child { border-right: 0; }
.benefit i { font-size: 1.35rem; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.benefit span { color: #cfd5f4; font-size: .85rem; font-weight: 600; line-height: 1.3; }

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: 7.5rem 0 2rem;
  background: radial-gradient(900px 500px at 80% 0%, #2c2a7a 0%, transparent 60%),
              linear-gradient(150deg, #0a0f2e 0%, #171d55 60%, #241059 100%);
  color: #fff;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1.6px);
  background-size: 32px 32px; opacity: .3;
}
.page-hero .container { position: relative; z-index: 2; }
.crumbs { color: #9aa3d6; font-size: .85rem; margin-bottom: 1rem; letter-spacing: .05em; }
.crumbs a:hover { color: var(--cyan); }
.crumbs i { font-size: .6rem; margin-inline: .5rem; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .9rem; }
.page-hero p { color: #c3c9ea; max-width: 44rem; font-size: 1.05rem; }
.hero-underline { width: 90px; height: 4px; border-radius: 4px; background: var(--grad-text); margin-top: 1.4rem; }

/* ---------- Sections ---------- */
.section { padding: 2.5rem 0; }
.section-alt { background: var(--bg-light); }
.section-dark {
    background: radial-gradient(800px 500px at 15% 20%, #232a6e 0%, transparent 55%), linear-gradient(150deg, #0b1034 0%, #161c50 70%, #1e1152 100%);
    color: #c6cbec;
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }

.section-head { max-width: 760px; margin: 0 auto 3.2rem; text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .78rem;
  letter-spacing: .16em; text-transform: uppercase;
  background: var(--grad); color: #fff;
  padding: .4rem 1.2rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: .9rem; }
.section-head p { color: var(--body); font-size: 1.02rem; }
.section-dark .section-head p { color: #b9bfe4; }
.head-line { width: 74px; height: 4px; border-radius: 4px; background: var(--grad); margin: 1.2rem auto 0; }
.section-head.left .head-line { margin-inline: 0; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.6rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.7rem; box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: var(--grad); transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.card:hover::after { transform: scaleX(1); }
.card h3 { font-size: 1.12rem; margin-bottom: .6rem; }
.card p { font-size: .93rem; }
.icon-circle {
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--grad); color: #fff; font-size: 1.4rem;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem; box-shadow: 0 8px 20px rgba(124, 58, 237, .3);
  transition: transform .35s ease;
}
.card:hover .icon-circle { transform: scale(1.08) rotate(-6deg); }

.card-list { margin-top: .9rem; display: grid; gap: .45rem; }
.card-list li { display: flex; gap: .6rem; font-size: .9rem; color: var(--body); }
.card-list li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  color: var(--purple); font-size: .7rem; margin-top: .35rem;
}

/* dark cards */
.section-dark .card {
  background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12);
  box-shadow: none;
}
.section-dark .card h3 { color: #fff; }
.section-dark .card p, .section-dark .card-list li { color: #b9bfe4; }
.section-dark .card-list li::before { color: var(--cyan); }

/* ---------- Focus area tiles ---------- */
.focus-tile {
  text-align: center; padding: 1.9rem 1.2rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: .3s ease; box-shadow: var(--shadow-sm);
}
.focus-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; }
.focus-tile .icon-circle { margin-inline: auto; }
.focus-tile h3 { font-size: 1rem; }

/* ---------- Stats ---------- */
.stats-band { background: var(--grad); border-radius: 26px; padding: 3rem 2rem; box-shadow: var(--shadow-glow); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat h3 { color: #fff; font-size: 2.5rem; font-weight: 700; }
.stat h3 span.suffix { font-size: 1.6rem; }
.stat p { color: rgba(255, 255, 255, .85); font-weight: 500; font-size: .92rem; }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split .visual-panel {
  position: relative; border-radius: 24px; overflow: hidden;
  background: linear-gradient(160deg, #10173f, #241056);
  min-height: 380px; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
}
.visual-panel::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .15) 1px, transparent 1.5px);
  background-size: 26px 26px; opacity: .4;
}
.visual-panel img { position: relative; z-index: 2; width: 70%; background: #fff; border-radius: 18px; padding: 1.6rem; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }

.tick-list { display: grid; gap: .85rem; margin-top: 1.6rem; }
.tick-list li { display: flex; gap: .8rem; align-items: flex-start; font-size: .98rem; }
.tick-list li i {
  flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--grad); color: #fff; font-size: .68rem;
  display: inline-flex; align-items: center; justify-content: center; margin-top: .15rem;
}
.tick-list strong { color: var(--ink); }
.section-dark .tick-list strong { color: #fff; }

/* ---------- Process / approach ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.3rem; text-align: center; position: relative;
  transition: .3s ease; box-shadow: var(--shadow-sm);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step .num {
  counter-increment: step;
  width: 46px; height: 46px; margin: 0 auto 1rem; border-radius: 50%;
  background: var(--grad); color: #fff; font-family: var(--font-head); font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
}
.step .num::before { content: "0" counter(step); }
.step h3 { font-size: 1rem; margin-bottom: .4rem; }
.step p { font-size: .84rem; }

/* ---------- Service detail blocks ---------- */
.svc-block { padding: 2.5rem 0; }
.svc-block:nth-child(even) { background: var(--bg-light); }
.svc-head { display: flex; align-items: center; gap: 1.2rem; margin-bottom: .9rem; }
.svc-head .icon-circle { margin: 0; width: 58px; height: 58px; font-size: 1.25rem; flex: 0 0 58px; }
.svc-head h2 { font-size: 1.65rem; }
.svc-intro { max-width: 52rem; margin-bottom: 2.2rem; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.svc-item {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem 1.3rem;
  display: flex; gap: 1rem; align-items: flex-start; transition: .3s ease; box-shadow: var(--shadow-sm);
}
.svc-block:nth-child(even) .svc-item { background: #fff; }
.svc-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.svc-item i {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px;
  background: var(--grad); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1rem;
}
.svc-item h4 { font-size: .98rem; margin-bottom: .25rem; }
.svc-item p { font-size: .85rem; }

.goal-bar {
  margin-top: 2.4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem;
}
.goal-bar .goal-cell {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.3rem 1.5rem;
  display: flex; gap: 1rem; align-items: flex-start; box-shadow: var(--shadow-sm);
}
.goal-cell i {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad); color: #fff; display: inline-flex; align-items: center; justify-content: center;
}
.goal-cell strong { color: var(--purple); font-family: var(--font-head); display: block; margin-bottom: .15rem; }
.goal-cell p { font-size: .92rem; }

/* service anchor nav */
.svc-nav { position: sticky; top: 72px; z-index: 50; background: rgba(255, 255, 255, .93); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.svc-nav-inner { display: flex; gap: .5rem; overflow-x: auto; padding: .8rem 0; scrollbar-width: none; }
.svc-nav-inner::-webkit-scrollbar { display: none; }
.svc-nav a {
  white-space: nowrap; font-size: .84rem; font-weight: 600; color: var(--body);
  padding: .45rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); transition: .25s ease;
}
.svc-nav a:hover, .svc-nav a.active { background: var(--grad); color: #fff; border-color: transparent; }

/* ---------- DB expertise table ---------- */
.db-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.db-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.5rem; box-shadow: var(--shadow-sm); transition: .3s ease;
}
.db-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.db-card h3 { display: flex; align-items: center; gap: .7rem; font-size: 1.05rem; margin-bottom: .9rem; }
.db-card h3 i { color: var(--purple); font-size: 1.3rem; }
.db-card ul { display: grid; gap: .35rem; }
.db-card ul li { font-size: .86rem; display: flex; gap: .55rem; }
.db-card ul li::before {
  content: ""; flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--grad); margin-top: .55rem;
}

/* ---------- Use cases ---------- */
.case-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem 1.7rem; box-shadow: var(--shadow-sm); transition: .3s ease;
  display: flex; flex-direction: column; gap: 1rem;
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.case-top { display: flex; align-items: center; gap: 1rem; }
.case-top .icon-circle { margin: 0; width: 52px; height: 52px; font-size: 1.1rem; flex: 0 0 52px; }
.case-top h3 { font-size: 1.05rem; }
.case-row { font-size: .89rem; }
.case-row .tag {
  display: inline-block; font-family: var(--font-head); font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; border-radius: 6px; padding: .18rem .6rem; margin-bottom: .3rem;
}
.tag-challenge { background: #fee2e2; color: #b91c1c; }
.tag-solution { background: #e0e7ff; color: #3730a3; }
.tag-outcome { background: #dcfce7; color: #15803d; }

/* ---------- Industries ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.industry {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius); padding: 1.8rem 1.2rem; text-align: center; transition: .3s ease;
}
.industry:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .09); border-color: var(--cyan); }
.industry i { font-size: 1.7rem; margin-bottom: .85rem; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.industry h3 { font-size: .95rem; color: #fff; }

/* light variant */
.section .industry.light { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.section .industry.light h3 { color: var(--ink); }
.section .industry.light:hover { border-color: var(--purple); }

/* ---------- Advantage list ---------- */
.adv-item {
  display: flex; gap: 1.1rem; align-items: flex-start;
  padding: 1.35rem; border-radius: 14px; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: .3s ease;
}
.adv-item:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.adv-item i {
  flex: 0 0 48px; width: 48px; height: 48px; border-radius: 12px;
  background: var(--grad); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem;
}
.adv-item h4 { font-size: 1rem; margin-bottom: .2rem; }
.adv-item p { font-size: .88rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 28px;
  background: var(--grad); padding: 4rem 3rem; text-align: center; color: #fff;
  box-shadow: var(--shadow-glow);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .25) 1px, transparent 1.5px);
  background-size: 28px 28px; opacity: .35;
}
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: .8rem; }
.cta-band p { color: rgba(255, 255, 255, .9); max-width: 40rem; margin: 0 auto 2rem; }
.cta-band .btn-white { background: #fff; color: var(--purple); }
.cta-band .btn-white:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0, 0, 0, .3); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2.6rem; align-items: start; }
.contact-card {
  display: flex; gap: 1.1rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 1.4rem 1.5rem; box-shadow: var(--shadow-sm); transition: .3s ease; margin-bottom: 1.1rem;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-card i {
  flex: 0 0 50px; width: 50px; height: 50px; border-radius: 50%;
  background: var(--grad); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.contact-card h4 { font-size: .98rem; margin-bottom: .2rem; }
.contact-card p, .contact-card a { font-size: .92rem; color: var(--body); word-break: break-word; }
.contact-card a:hover { color: var(--purple); }

.form-panel {
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  padding: 2.4rem; box-shadow: var(--shadow-md);
}
.form-panel h3 { font-size: 1.4rem; margin-bottom: .4rem; }
.form-panel > p { font-size: .93rem; margin-bottom: 1.6rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .85rem; color: var(--ink); margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px;
  padding: .8rem 1rem; font-family: var(--font-body); font-size: .93rem; color: var(--ink);
  background: var(--bg-light); transition: .25s ease; outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--purple); background: #fff; box-shadow: 0 0 0 4px rgba(124, 58, 237, .12);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .8rem; color: var(--muted); margin-top: .9rem; }
.form-success {
  display: none; margin-top: 1rem; padding: .9rem 1.2rem; border-radius: 12px;
  background: #dcfce7; color: #166534; font-weight: 600; font-size: .9rem;
}
.form-success.show { display: block; }

/* ---------- Footer ---------- */
footer { background: #070b24; color: #aab1d6; position: relative; }
footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad); }
.footer-main {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem;
  padding: 4rem 0 3rem;
}
.footer-brand img { height: 84px; background: #fff; border-radius: 12px; padding: 8px 14px; margin-bottom: 1.1rem; }
.footer-brand p { font-size: .9rem; max-width: 20rem; }
.footer-tagline { color: var(--cyan); font-style: italic; font-size: .88rem; margin-top: .8rem; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 1.2rem; }
.footer-col ul { display: grid; gap: .6rem; }
.footer-col a { font-size: .9rem; transition: .25s ease; display: inline-flex; align-items: center; gap: .5rem; }
.footer-col a:hover { color: var(--cyan); transform: translateX(4px); }
.footer-col a i { font-size: .6rem; color: var(--purple); }
.footer-contact li { display: flex; gap: .8rem; font-size: .9rem; margin-bottom: .9rem; align-items: flex-start; }
.footer-contact i { color: var(--cyan); margin-top: .3rem; width: 16px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding: 1.4rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  font-size: .84rem;
}
.footer-bottom .grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 600; }

/* ---------- WhatsApp chat ---------- */
.whatsapp-chat {
  position: fixed; right: 1.6rem; bottom: 5.4rem; z-index: 900;
  display: flex; align-items: center; gap: .7rem;
  background: #25d366; color: #fff;
  border-radius: 999px; padding: .7rem .8rem;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
  transition: transform .3s ease, box-shadow .3s ease;
}
.whatsapp-chat i { font-size: 1.7rem; line-height: 1; }
.whatsapp-chat .wa-label {
  font-family: var(--font-head); font-weight: 600; font-size: .88rem; white-space: nowrap;
  max-width: 0; overflow: hidden; opacity: 0;
  transition: max-width .35s ease, opacity .35s ease, margin .35s ease;
}
.whatsapp-chat:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(37, 211, 102, .55); }
.whatsapp-chat:hover .wa-label { max-width: 160px; opacity: 1; margin-right: .5rem; }
.whatsapp-chat::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .55);
  animation: wa-pulse 2.2s ease-out infinite;
}
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); }
  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 to top ---------- */
.to-top {
  position: fixed; right: 1.6rem; bottom: 1.6rem; z-index: 900;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--grad); color: #fff; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: .3s ease; box-shadow: 0 10px 26px rgba(124, 58, 237, .4);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-4px); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: left; }
  .hero-visual { display: none; }
  .grid-4, .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .svc-grid, .db-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .benefit-grid { grid-template-columns: repeat(3, 1fr); }
  .benefit { border: 0; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed; top: 0; right: -100%; bottom: 0; width: min(320px, 82vw);
    background: linear-gradient(170deg, #0d1240, #1d1152);
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    padding: 6.5rem 2.2rem 2rem; gap: 1.4rem; transition: right .4s ease;
    box-shadow: -20px 0 60px rgba(0, 0, 0, .5); z-index: 998;
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1.05rem; }
  .nav-toggle { display: inline-flex; z-index: 999; }
  .nav-cta { margin: .6rem 0 0; }
}

@media (max-width: 640px) {
  .section { padding: 3.8rem 0; }
  .grid-2, .grid-3, .grid-4, .svc-grid, .db-grid, .industry-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .goal-bar { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .cta-band { padding: 3rem 1.6rem; }
  .hero { padding-top: 8rem; }
}
