/* ============================================================
   ShivayWebTech - Landing Page
   Vanilla CSS. One blue accent, one navy dark, light surfaces.
   ============================================================ */

:root {
  --blue: #1a6fe0;
  --blue-dark: #1457b8;
  --blue-deep: #0d2b63;
  --navy: #0a1a3f;
  --navy-2: #0e2250;
  --orange: #ff7a1a;

  --ink: #141c33;
  --ink-soft: #2a3350;
  --muted: #5b6577;
  --line: #e7ecf4;

  --bg: #ffffff;
  --bg-soft: #f3f7ff;
  --bg-blue: #eaf2ff;

  --radius: 16px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --shadow-sm: 0 6px 20px rgba(20, 40, 90, 0.06);
  --shadow-md: 0 18px 44px rgba(20, 40, 90, 0.10);
  --shadow-lg: 0 30px 70px rgba(13, 43, 99, 0.16);

  --container: 1200px;
  --header-h: 76px;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.text-accent { color: var(--blue); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  border-radius: var(--radius-pill);
  padding: 13px 24px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn i { font-size: 1.05em; }
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(26, 111, 224, 0.28);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 16px 30px rgba(26, 111, 224, 0.34); }

.btn-outline {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

.btn-sm { padding: 10px 18px; font-size: 0.88rem; }
.btn-lg { padding: 15px 28px; font-size: 1rem; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.9rem;
}
.link-more i { transition: transform 0.18s ease; }
.link-more:hover i { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.site-header.scrolled {
  box-shadow: 0 8px 28px rgba(20, 40, 90, 0.08);
  border-color: var(--line);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand-logo { height: 42px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  margin-right: auto;
}
.nav > li { position: relative; flex-shrink: 0; }
.nav > li > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
  padding: 10px 12px;
  border-radius: 10px;
  transition: color 0.18s ease, background 0.18s ease;
}
.nav > li > a:hover,
.nav > li:hover > a,
.nav > li:focus-within > a { color: var(--blue); }
.nav .caret { font-size: 0.72rem; transition: transform 0.22s ease; }
.nav > li.has-dropdown:hover > a .caret,
.nav > li.has-dropdown:focus-within > a .caret { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 244px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 120;
}
.dropdown::before {
  content: "";
  position: absolute;
  top: -10px; left: 0; right: 0;
  height: 10px;
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a,
.flyout-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 9px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background 0.16s ease, color 0.16s ease, padding 0.16s ease;
}
.dropdown a:hover,
.flyout-trigger:hover {
  background: var(--bg-blue);
  color: var(--blue);
  padding-left: 18px;
}

/* Nested flyout */
.has-flyout { position: relative; }
.has-flyout > .flyout-trigger .caret-r { font-size: 0.8rem; transition: transform 0.18s ease; }
.flyout {
  position: absolute;
  top: -8px;
  left: calc(100% + 6px);
  min-width: 210px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 130;
}
.has-flyout:hover > .flyout,
.has-flyout:focus-within > .flyout {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
.has-flyout:hover > .flyout-trigger {
  background: var(--bg-blue);
  color: var(--blue);
}

.header-actions { display: flex; align-items: center; gap: 14px; }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 10px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.header-phone:hover { border-color: var(--blue); box-shadow: 0 8px 20px rgba(26, 111, 224, 0.14); }
.header-phone strong { font-size: 0.92rem; color: var(--ink); white-space: nowrap; }
.phone-ico {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--bg-blue);
  color: var(--blue);
  font-size: 1rem;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: var(--bg-blue);
  border: none;
  color: var(--blue);
  width: 44px; height: 44px;
  border-radius: 12px;
  font-size: 1.4rem;
  cursor: pointer;
}

/* ---------- Shared section ---------- */
.section { padding: 92px 0; }

.kicker,
.eyebrow,
.cta-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}

.section-head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 52px;
}
.section-head-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.section-head-side p { margin: 0; color: var(--muted); max-width: 46ch; }
.section-sub { color: var(--muted); margin: 16px 0 0; max-width: 52ch; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 70px 0 96px;
  background:
    radial-gradient(70% 90% at 85% 0%, var(--bg-blue) 0%, rgba(234, 242, 255, 0) 60%),
    linear-gradient(180deg, #fbfdff 0%, #ffffff 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-title {
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}
.hero-lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 50ch;
  margin: 0 0 30px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-badges { display: flex; gap: 26px; flex-wrap: wrap; }
.hero-badges li {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.9rem; color: var(--ink-soft);
}
.hero-badges i { color: var(--blue); font-size: 1.15rem; }

/* hero visual */
.hero-visual { position: relative; }
.hero-image-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.hero-image { width: 100%; height: auto; }

.float-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floaty 5s ease-in-out infinite;
}
.float-card small { display: block; font-size: 0.68rem; color: var(--muted); font-weight: 600; }
.float-card strong { display: block; font-size: 1.25rem; font-weight: 800; color: var(--ink); line-height: 1.1; }
.float-sub { font-size: 0.64rem; color: var(--muted); }
.float-ico {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center; font-size: 1.2rem; color: #fff;
}
.float-ico.ok { background: #19b36b; }
.float-ico.blue { background: var(--blue); }

.float-card--traffic { top: 24px; left: -28px; }
.float-card--keywords { top: 42%; right: -34px; }
.float-card--leads { bottom: 26px; left: -22px; }

.float-bars { display: flex; align-items: flex-end; gap: 3px; height: 30px; }
.float-bars i { width: 6px; background: var(--blue); border-radius: 2px; display: block; }
.float-bars i:nth-child(1) { height: 40%; }
.float-bars i:nth-child(2) { height: 65%; }
.float-bars i:nth-child(3) { height: 85%; }
.float-bars i:nth-child(4) { height: 100%; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Trusted ---------- */
.trusted { padding: 30px 0 10px; }
.trusted-title {
  text-align: center;
  font-weight: 700;
  color: var(--ink-soft);
  margin: 0 0 26px;
  font-size: 1rem;
}
.logo-wall {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 10px 0 6px;
  opacity: 0.72;
}
.wall-logo {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: #6b7488;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  filter: grayscale(1);
  transition: filter 0.2s ease, opacity 0.2s ease;
}
.wall-logo:hover { filter: grayscale(0); }
.wall-logo strong { color: #3a4255; }
.wall-logo em { font-style: italic; font-weight: 500; }
.wall-logo small { font-size: 0.6em; letter-spacing: 0.2em; }
.wall-logo--dark { background: #2a3350; color: #fff; padding: 6px 12px; border-radius: 6px; filter: none; }

/* ---------- Services ---------- */
.services { background: var(--bg-soft); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-ico {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.service-card h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 8px; }
.service-card p { margin: 0 0 16px; color: var(--muted); font-size: 0.92rem; }

.tint-blue { background: #e7f0ff; color: #1a6fe0; }
.tint-orange { background: #fff0e4; color: #f97316; }
.tint-green { background: #e4f8ee; color: #16a564; }
.tint-red { background: #ffe9e9; color: #e8453c; }
.tint-pink { background: #fde8f3; color: #e0458f; }
.tint-indigo { background: #eae9ff; color: #5a52e0; }
.tint-amber { background: #fff3da; color: #e08a1a; }

/* ---------- Packages ---------- */
.packages { background: var(--bg-soft); }
.packages-head {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 52px;
}
.packages-head .section-title { color: var(--navy); }

.package-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.package-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.package-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.package-head {
  margin: 12px;
  padding: 15px 14px;
  background: var(--navy);
  color: #fff;
  border-radius: 10px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.package-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 26px 30px;
}
.package-ico {
  font-size: 3.4rem;
  color: var(--navy);
  line-height: 1;
  margin: 18px 0 22px;
}
.package-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 14px;
}
.package-body p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 28px;
}
.btn-plan {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 9px;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.btn-plan i { font-size: 0.9em; transition: transform 0.18s ease; }
.btn-plan:hover {
  background: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(26, 111, 224, 0.26);
}
.btn-plan:hover i { transform: translateX(3px); }
.btn-plan:active { transform: translateY(0) scale(0.99); }

/* ---------- Why choose (bento) ---------- */
.why-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 34px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
}
.pill i { color: var(--orange); font-size: 1rem; }
.why-intro { color: var(--muted); max-width: 42ch; margin: 0 0 6px; font-size: 1rem; }

.why-bento { display: flex; gap: 16px; align-items: stretch; }
.wb-col { display: flex; flex-direction: column; gap: 16px; }
.wb-col--photo { flex: 1.02; }
.wb-col--mid { flex: 1.12; }
.wb-col--right { flex: 0.92; }

.wb-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.wb-card h3 { font-size: 1.2rem; font-weight: 800; margin: 0 0 10px; }
.wb-card > p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* photo card */
.wb-photo {
  position: relative;
  flex: 1;
  padding: 0;
  overflow: hidden;
  min-height: 340px;
  background: #0b1430;
}
.wb-photo img { width: 100%; height: 100%; object-fit: cover; }
.wb-photo-tag {
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.wb-photo-tag strong { display: block; font-size: 1rem; font-weight: 800; color: var(--ink); }
.wb-photo-tag small { color: var(--muted); font-size: 0.78rem; }
.wb-socials { display: flex; gap: 6px; }
.wb-socials a {
  width: 32px; height: 32px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--navy); color: #fff; font-size: 0.9rem;
  transition: background 0.18s ease;
}
.wb-socials a:hover { background: var(--blue); }

/* dark card */
.wb-card--dark {
  flex: 1;
  background: var(--navy);
  border-color: transparent;
  color: #fff;
  display: flex;
  flex-direction: column;
}
.wb-card--dark p { color: rgba(255, 255, 255, 0.72); }
.wb-thumbs { display: flex; gap: 8px; margin-top: auto; padding-top: 22px; flex-wrap: wrap; }
.wb-thumbs span {
  width: 42px; height: 42px; border-radius: 11px;
  display: grid; place-items: center; font-size: 1.15rem;
}

/* middle lower card */
.wb-col--mid .wb-card:last-child { flex: 1; display: flex; flex-direction: column; }
.wb-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 22px; }
.wb-tags span {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-blue);
  color: var(--ink-soft);
  border-radius: var(--radius-pill);
  padding: 7px 13px;
  font-size: 0.8rem; font-weight: 600;
}
.wb-tags i { color: var(--blue); font-size: 0.95rem; }

/* right feature cards */
.wb-feature { flex: 1; position: relative; display: flex; flex-direction: column; }
.wb-ico {
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--bg-blue); color: var(--blue);
  display: grid; place-items: center; font-size: 1.2rem;
  margin-bottom: 14px;
}
.wb-feature strong { display: block; font-size: 1.08rem; font-weight: 800; margin: 0 0 7px; }
.wb-feature p { color: var(--muted); font-size: 0.87rem; margin: 0; }
.wb-dots { position: absolute; top: 26px; right: 24px; display: flex; gap: 5px; }
.wb-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); display: block; opacity: 0.85; }
.wb-dots i:nth-child(2) { background: var(--blue); }
.wb-dots i:nth-child(3) { background: #16a564; }

/* bottom stat strip */
.why-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.why-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.why-stat strong { display: block; font-size: 2.2rem; font-weight: 800; color: var(--ink); line-height: 1; }
.why-stat span { font-size: 0.85rem; color: var(--muted); font-weight: 600; margin-top: 8px; display: block; }

/* ---------- Additional services (tabs) ---------- */
.addon-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.addon-head .section-sub { margin-left: auto; margin-right: auto; }

.addon-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 44px;
}
.addon-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 12px 22px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.addon-tab i { font-size: 1.05rem; color: var(--blue); transition: color 0.2s ease; }
.addon-tab:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.addon-tab.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 12px 26px rgba(26, 111, 224, 0.3);
}
.addon-tab.is-active i { color: #fff; }

.addon-panel { display: none; }
.addon-panel.is-active {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 52px;
  align-items: center;
  animation: addonIn 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes addonIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.addon-media { position: relative; }
.addon-media::before {
  content: "";
  position: absolute;
  inset: 20px -18px -20px 20px;
  border-radius: 24px;
  background: linear-gradient(140deg, var(--bg-blue), rgba(234, 242, 255, 0));
  z-index: 0;
}
.addon-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.addon-copy h3 {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--ink);
}
.addon-copy p { color: var(--muted); margin: 0 0 16px; font-size: 0.98rem; }
.addon-copy .link-more { margin-top: 6px; font-size: 1rem; }

/* ---------- Process (stepper) ---------- */
.process { background: var(--bg-soft); }
.process-head { text-align: center; max-width: 820px; margin: 0 auto 48px; }
.process-head .section-sub { margin-left: auto; margin-right: auto; }

.process-stepper {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 48px;
  align-items: stretch;
}
.step-list { display: flex; flex-direction: column; gap: 10px; }
.step-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 15px 20px;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.step-idx {
  flex-shrink: 0;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 7px;
  background: var(--bg-blue);
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease;
}
.step-item:hover { border-color: var(--blue); color: var(--blue); transform: translateX(3px); }
.step-item.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.step-item.is-active .step-idx { background: rgba(255, 255, 255, 0.16); color: #fff; }
/* arrow pointer on active step */
.step-item.is-active::after {
  content: "";
  position: absolute;
  right: -11px; top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 12px solid var(--navy);
}

.step-panels { position: relative; display: flex; flex-direction: column; }
.step-panel { display: none; }
.step-panel.is-active {
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 38px 40px;
  box-shadow: var(--shadow-sm);
  animation: addonIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.step-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--bg-blue);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.step-panel h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 800; margin: 0 0 16px; color: var(--ink); }
.step-panel p { color: var(--muted); margin: 0 0 16px; font-size: 0.98rem; }
.step-panel p:last-child { margin-bottom: 0; }

/* ---------- Work ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.work-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.work-thumb { aspect-ratio: 16/11; overflow: hidden; }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.work-card:hover .work-thumb img { transform: scale(1.06); }
.work-body { padding: 18px 20px 22px; }
.work-tag { font-size: 0.78rem; font-weight: 700; color: var(--blue); }
.work-body h3 { font-size: 1.1rem; margin: 6px 0 0; }

/* ---------- Case studies ---------- */
.cases-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.cases-head .section-sub { margin-left: auto; margin-right: auto; }

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 440px;
  display: flex;
  box-shadow: var(--shadow-md);
  isolation: isolate;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.case-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.case-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 26, 63, 0.55) 0%, rgba(10, 26, 63, 0.32) 42%, rgba(8, 20, 48, 0.9) 100%);
  transition: background 0.3s ease;
}
.case-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.case-card:hover .case-bg { transform: scale(1.07); }
.case-card:hover .case-overlay {
  background: linear-gradient(180deg, rgba(10, 26, 63, 0.5) 0%, rgba(13, 43, 99, 0.45) 42%, rgba(8, 20, 48, 0.92) 100%);
}

.case-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  gap: 18px;
  padding: 30px 26px;
  color: #fff;
}
.case-brand {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}
.case-center { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.case-metric { display: flex; align-items: center; gap: 16px; }
.case-arrow {
  font-size: 2.8rem;
  line-height: 1;
  color: #1fe0a0;
  filter: drop-shadow(0 0 14px rgba(31, 224, 160, 0.6));
  animation: caseFloat 2.4s ease-in-out infinite;
}
.case-metric strong {
  display: block;
  font-size: 2.9rem;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}
.case-metric > div > span {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 4px;
}
@keyframes caseFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.case-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 24px rgba(26, 111, 224, 0.35);
  transition: background 0.2s ease, transform 0.2s ease;
}
.case-btn i { font-size: 0.9em; transition: transform 0.2s ease; }
.case-btn:hover { background: #fff; color: var(--navy); transform: translateY(-2px); }
.case-btn:hover i { transform: translateX(3px); }
.case-foot { display: flex; flex-direction: column; gap: 4px; }
.case-foot strong { font-size: 1.05rem; font-weight: 800; }
.case-foot span {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9fc0f5;
}

.cases-cta { display: flex; justify-content: center; margin-top: 40px; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--bg-soft); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testimonial-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.quote-mark { color: var(--bg-blue); font-size: 2.4rem; }
.testimonial-card p { color: var(--ink-soft); margin: 8px 0 22px; font-size: 0.98rem; }
.testimonial-foot { display: flex; align-items: center; gap: 12px; }
.testimonial-foot img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testimonial-foot strong { display: block; font-size: 0.95rem; }
.testimonial-foot small { color: var(--muted); font-size: 0.8rem; }
.stars { margin-left: auto; color: #f6ab2f; font-size: 0.8rem; display: inline-flex; gap: 1px; }

/* ---------- Blog ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-thumb { aspect-ratio: 16/9; overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-thumb img { transform: scale(1.05); }
.blog-body { padding: 22px 22px 24px; }
.blog-body h3 { font-size: 1.1rem; line-height: 1.35; margin: 0 0 18px; }
.blog-foot { display: flex; align-items: center; justify-content: space-between; }
.blog-date { font-size: 0.82rem; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}
.faq-col { display: flex; flex-direction: column; gap: 16px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 2px 20px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: #d6e4fb; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { color: var(--blue); transition: transform 0.25s ease; flex-shrink: 0; }
.faq-item[open] summary i { transform: rotate(180deg); }
.faq-item p { margin: 0 0 16px; color: var(--muted); font-size: 0.92rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(60% 120% at 15% 10%, rgba(26, 111, 224, 0.45) 0%, rgba(10, 26, 63, 0) 55%),
    radial-gradient(50% 120% at 95% 90%, rgba(26, 111, 224, 0.35) 0%, rgba(10, 26, 63, 0) 55%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 0;
}
.cta-inner {
  text-align: center;
  padding: 72px 24px;
}
.cta-eyebrow { color: #8db8f5; }
.cta-inner h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.cta-inner p { color: rgba(255, 255, 255, 0.78); max-width: 48ch; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding: 70px 24px 50px;
  position: relative;
}
.footer-logo { height: 46px; filter: brightness(0) invert(1); margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; font-size: 0.92rem; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: grid; place-items: center;
  color: #fff; font-size: 1.1rem;
  transition: background 0.2s ease, transform 0.2s ease;
}
.footer-social a:hover { background: var(--blue); transform: translateY(-3px); }

.footer-col h4 { color: #fff; font-size: 1rem; margin: 6px 0 18px; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { font-size: 0.92rem; transition: color 0.2s ease, padding 0.2s ease; }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-contact li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.92rem;
}
.footer-contact i { color: var(--blue); margin-top: 3px; }

.footer-map {
  position: absolute;
  right: 20px; bottom: 10px;
  width: 170px;
  opacity: 0.1;
  pointer-events: none;
}
.footer-map img { filter: brightness(0) invert(1); }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 0.85rem;
  flex-wrap: wrap;
}
.footer-legal { display: flex; gap: 22px; }
.footer-legal a:hover { color: #fff; }
.footer-love { display: inline-flex; align-items: center; gap: 6px; }
.footer-love i { color: #ff5a6e; }

/* ---------- Floating call ---------- */
.float-call {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #19b36b;
  color: #fff;
  display: grid; place-items: center;
  font-size: 1.5rem;
  box-shadow: 0 12px 30px rgba(25, 179, 107, 0.4);
  z-index: 90;
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 12px 30px rgba(25, 179, 107, 0.4); }
  50% { box-shadow: 0 12px 30px rgba(25, 179, 107, 0.4), 0 0 0 12px rgba(25, 179, 107, 0.12); }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .package-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 8px 22px 16px;
    margin: 0;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .nav > li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav > li:last-child { border-bottom: none; }
  .nav > li > a {
    width: 100%;
    padding: 14px 4px;
    border-radius: 0;
    justify-content: space-between;
  }

  .dropdown,
  .flyout {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 8px 12px;
  }
  .dropdown::before { content: none; }
  .has-dropdown.open > .dropdown { display: block; }
  .has-flyout.open > .flyout { display: block; }
  .has-dropdown.open > a .caret { transform: rotate(180deg); }
  .has-flyout.open > .flyout-trigger .caret-r { transform: rotate(90deg); }
  .dropdown a,
  .flyout-trigger { padding: 11px 6px; }
  .dropdown a:hover,
  .flyout-trigger:hover { padding-left: 10px; }

  .nav-toggle { display: grid; place-items: center; }
  .header-phone { display: none; }

  .hero-grid { grid-template-columns: 1fr; gap: 70px; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .float-card--traffic { left: 0; }
  .float-card--keywords { right: 0; }
  .float-card--leads { left: 0; }

  .section-head { grid-template-columns: 1fr; gap: 20px; align-items: start; }

  .why-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .why-intro { max-width: 60ch; }
  .why-bento { flex-direction: column; }
  .wb-col { flex: none; }
  .wb-col--mid { flex-direction: column; }
  .wb-col--photo .wb-photo { min-height: 380px; }

  .process-stepper { grid-template-columns: 1fr; gap: 24px; }
  .step-item.is-active::after { display: none; }

  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .addon-panel.is-active { grid-template-columns: 1fr; gap: 30px; }
  .addon-media::before { inset: 14px -12px -14px 14px; }
}

@media (max-width: 680px) {
  .addon-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 10px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .addon-tabs::-webkit-scrollbar { display: none; }
  .addon-tab { flex: 0 0 auto; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 70px; }
  .service-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .case-card { min-height: 400px; }
  .step-panel.is-active { padding: 28px 24px; }
  .package-grid { grid-template-columns: 1fr; }
  .why-stats { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .logo-wall { justify-content: center; gap: 20px 28px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 10px; }
  .hero-badges { gap: 16px; }
  .btn-lg { padding: 13px 22px; font-size: 0.92rem; }
}

@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1; justify-content: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
