/* ===================================================
   NexCore Solutions — Global Stylesheet
   =================================================== */

:root {
  --navy-900: #1b1e23;
  --navy-800: #262a31;
  --navy-700: #343943;
  --navy-600: #454b57;
  --accent: #0ea5e9;
  --accent-dark: #0284c7;
  --accent-light: #7dd3fc;
  --maroon: #7a1f3d;
  --maroon-dark: #5c1730;
  --maroon-light: #b0466c;
  --text-light: #e8edf2;
  --text-muted: #9aa3af;
  --ink: #1c2024;
  --ink-muted: #5a6270;
  --bg-white: #ffffff;
  --bg-light: #f5f7f9;
  --bg-light-2: #eceff2;
  --border: #e3e6ea;
  --shadow-sm: 0 2px 8px rgba(20, 24, 29, 0.06);
  --shadow-md: 0 8px 30px rgba(20, 24, 29, 0.10);
  --shadow-lg: 0 20px 60px rgba(20, 24, 29, 0.16);
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1180px;
  --ff: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff);
  color: var(--ink);
  background: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

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

section { position: relative; }

.section-pad { padding: 96px 0; }
@media (max-width: 768px) { .section-pad { padding: 64px 0; } }

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { color: var(--ink-muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: rgba(20, 184, 166, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section-head {
  max-width: 680px;
  margin-bottom: 52px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 14px; font-size: 1.08rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #0c2331;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-dark); }
.btn-outline-dark {
  background: transparent;
  border-color: var(--navy-700);
  color: var(--navy-800);
}
.btn-outline-dark:hover { background: var(--navy-800); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--ink);
}
.brand .mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
  display: block;
}
.brand span.dim { color: var(--text-muted); font-weight: 500; font-size: 0.95rem; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-desktop > li { position: relative; }
.nav-desktop > li > a, .nav-desktop > li > button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 500;
  border-radius: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.nav-desktop > li > a:hover, .nav-desktop > li > button:hover { color: var(--accent-dark); }
.nav-desktop svg.chev { width: 14px; height: 14px; transition: transform 0.2s ease; }
.has-dropdown:hover svg.chev { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 300px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.18s ease;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--ink);
}
.dropdown a:hover { background: var(--bg-light); }
.dropdown a strong { font-size: 0.92rem; font-weight: 600; }
.dropdown a small { color: var(--ink-muted); font-size: 0.8rem; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--ink);
  cursor: pointer;
  padding: 8px;
}

@media (max-width: 980px) {
  .nav-desktop, .header-actions .btn { display: none; }
  .nav-toggle { display: block; }
}

/* Mobile nav */
.nav-mobile {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 1000;
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}
.nav-mobile.open { transform: translateX(0); }
.nav-mobile-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.nav-mobile-close { background: none; border: none; color: var(--ink); cursor: pointer; }
.nav-mobile ul { display: flex; flex-direction: column; gap: 4px; }
.nav-mobile a, .nav-mobile .m-group-label {
  display: block;
  padding: 14px 8px;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.nav-mobile .m-sub { padding-left: 16px; }
.nav-mobile .m-sub a { font-size: 0.98rem; font-weight: 500; color: var(--ink-muted); border-bottom: none; padding: 10px 8px; }
.nav-mobile .btn { margin-top: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: #ffffff;
  color: var(--ink);
  padding: 168px 0 120px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20,24,29,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,24,29,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  top: -180px; right: -160px;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,233,0.35) 0%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
/* ---------- Hero: full-width photo banner variant ---------- */
.hero.hero-photo {
  background-color: var(--navy-900);
  padding: 200px 0 140px;
}
.hero.hero-photo::before { display: none; }
.hero.hero-photo::after { display: none; }

/* Rotating background slides — bright, saturated photos, crossfaded by JS */
.hero-slides { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
  filter: brightness(1.15) saturate(1.3) contrast(1.04);
}
.hero-slide.active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(8,20,32,0.5) 0%, rgba(8,20,32,0.28) 45%, rgba(8,20,32,0.12) 75%, rgba(8,20,32,0.28) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-text-panel {
  background: rgba(8,20,32,0.46);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 20px;
  padding: 36px 40px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.28);
}
.hero-photo h1, .hero-photo .eyebrow, .hero-photo p.lead { text-shadow: 0 2px 14px rgba(0,0,0,0.35); }
@media (max-width: 980px) {
  .hero.hero-photo { padding: 160px 0 100px; }
  .hero-text-panel { padding: 28px 26px; }
}
@media (max-width: 560px) {
  .hero-text-panel { padding: 22px 20px; border-radius: 16px; }
}

.hero-graphic {
  position: absolute;
  top: -40px; right: -140px;
  width: 760px;
  max-width: none;
  opacity: 0.85;
  pointer-events: none;
  z-index: 1;
}
@media (max-width: 980px) {
  .hero-graphic { opacity: 0.35; width: 560px; right: -220px; top: -20px; }
}
@media (max-width: 620px) {
  .hero-graphic { opacity: 0.22; width: 440px; right: -240px; }
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }

.hero h1 { color: var(--ink); margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--accent-dark); }
.hero p.lead { font-size: 1.15rem; color: var(--ink-muted); max-width: 540px; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-trust { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-trust div strong { display: block; font-size: 1.7rem; color: var(--ink); }
.hero-trust div span { font-size: 0.82rem; color: var(--ink-muted); }

.hero-visual {
  position: relative;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.hero-visual .card-row { display: flex; flex-direction: column; gap: 14px; }

.hero-visual.photo {
  padding: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg);
}
.hero-visual.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-visual-badge {
  position: absolute;
  left: 18px; right: 18px; bottom: 18px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
}
.hero-visual-badge .pulse {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(14,165,233,0.6);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
.hero-visual-badge strong { display: block; color: var(--ink); font-size: 0.92rem; }
.hero-visual-badge span { font-size: 0.8rem; color: var(--ink-muted); }

/* Hero photo variant text overrides — kept after base hero rules and with
   extra specificity so they reliably win the cascade over .hero h1 / .hero p.lead */
.hero.hero-photo h1 { color: #ffffff; }
.hero.hero-photo h1 em { color: var(--accent-light); }
.hero.hero-photo p.lead { color: rgba(255,255,255,0.82); }
.hero.hero-photo .hero-trust div strong { color: #ffffff; }
.hero.hero-photo .hero-trust div span { color: rgba(255,255,255,0.62); }
.hero.hero-photo .eyebrow { background: rgba(255,255,255,0.14); color: var(--accent-light); }
.hero.hero-photo .btn-ghost { border-color: rgba(255,255,255,0.4); color: #ffffff; }
.hero.hero-photo .btn-ghost:hover { border-color: var(--accent); color: var(--accent-light); }
.hero.hero-photo .hero-visual.photo { border: 5px solid rgba(255,255,255,0.92); box-shadow: 0 24px 60px rgba(0,0,0,0.4); }

.mini-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.mini-card .ic {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(14,165,233,0.15);
  color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mini-card strong { display: block; color: var(--ink); font-size: 0.95rem; }
.mini-card span { font-size: 0.8rem; color: var(--ink-muted); }
.mini-card .pulse {
  margin-left: auto;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(14,165,233,0.6);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(14,165,233,0.6); }
  70% { box-shadow: 0 0 0 10px rgba(14,165,233,0); }
  100% { box-shadow: 0 0 0 0 rgba(14,165,233,0); }
}

/* ---------- Showcase banner ---------- */
.showcase-banner {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  border: 1px solid var(--border);
}
.showcase-banner img { width: 100%; max-width: 1100px; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--radius-sm); display: block; }
.showcase-caption { text-align: center; max-width: 640px; }
.showcase-caption span.eyebrow { margin-bottom: 10px; }
.showcase-caption h2 { margin-bottom: 8px; }

/* ---------- Service card thumbnails (overview page) ---------- */
.service-card .thumb {
  width: calc(100% + 60px);
  margin: -34px -30px 22px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.service-card .thumb { aspect-ratio: 16 / 10; }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-card.has-thumb .ic-wrap { margin-top: -28px; position: relative; z-index: 1; box-shadow: 0 6px 16px rgba(20,24,29,0.18); }

/* ---------- Inline illustration + text split (compact) ---------- */
.about-illustration {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.about-illustration img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }

.contact-illustration { display: flex; justify-content: center; padding: 12px 0 8px; }
.contact-illustration img { width: 100%; max-width: 380px; height: auto; }

/* ---------- Logo strip ---------- */
.logo-strip { padding: 48px 0; border-bottom: 1px solid var(--border); background: var(--bg-light); }
.logo-strip p { text-align: center; font-size: 0.92rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); font-weight: 800; margin-bottom: 26px; }
.logo-row { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; }
.logo-row span {
  font-weight: 800;
  font-size: 1rem;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.logo-row span:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.logo-row span:nth-child(3n+1) { background: rgba(14,165,233,0.12); color: var(--accent-dark); border-color: rgba(14,165,233,0.35); }
.logo-row span:nth-child(3n+2) { background: rgba(122,31,61,0.10); color: var(--maroon); border-color: rgba(122,31,61,0.3); }
.logo-row span:nth-child(3n+3) { background: rgba(30,41,59,0.07); color: #1f2937; border-color: rgba(30,41,59,0.22); }

/* ---------- Service cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 980px) { .cards-3 { grid-template-columns: 1fr; } }

.cards-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 900px) { .cards-4 { grid-template-columns: 1fr; } }

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: transparent; }
.service-card .ic-wrap {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: #fff;
}
.service-card:nth-child(1) .ic-wrap { background: linear-gradient(135deg, #0ea5e9, #0284c7); }
.service-card:nth-child(2) .ic-wrap { background: linear-gradient(135deg, #4b5563, #1f2328); }
.service-card:nth-child(3) .ic-wrap { background: linear-gradient(135deg, #a83a5c, #7a1f3d); }
.service-card:nth-child(4) .ic-wrap { background: linear-gradient(135deg, #0284c7, #7a1f3d); }
.service-card h3 { margin-bottom: 12px; color: var(--ink); }
.service-card p { margin-bottom: 18px; flex-grow: 1; }
.service-card ul { display: flex; flex-direction: column; gap: 9px; margin-bottom: 22px; }
.service-card ul li { display: flex; align-items: flex-start; gap: 9px; font-size: 0.92rem; color: var(--ink-muted); }
.service-card ul li svg { flex-shrink: 0; margin-top: 3px; color: var(--accent); }
.service-card .link-arrow { font-weight: 600; font-size: 0.92rem; color: var(--navy-800); display: inline-flex; align-items: center; gap: 6px; }
.service-card .link-arrow svg { transition: transform 0.2s ease; }
.service-card:hover .link-arrow svg { transform: translateX(4px); }

/* ---------- Feature / Why us ---------- */
.bg-navy { background: #ffffff; color: var(--ink); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.bg-navy p { color: var(--ink-muted); }
.bg-navy h2 { color: var(--ink); }
.bg-light { background: var(--bg-light); }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 980px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-item {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.feature-item .ic {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(14,165,233,0.15);
  color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-item:nth-child(3n+2) .ic { background: rgba(122,31,61,0.14); color: var(--maroon); }
.feature-item:nth-child(3n+3) .ic { background: rgba(71,85,105,0.14); color: #334155; }
.feature-item h3 { color: var(--ink); font-size: 1.05rem; margin-bottom: 8px; }
.feature-item p { font-size: 0.9rem; }

/* ---------- Process / Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 8px; }
.step .num {
  font-size: 2.4rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
  margin-bottom: 14px;
  display: block;
}
.step h3 { margin-bottom: 8px; font-size: 1.05rem; }
.step p { font-size: 0.92rem; }

/* ---------- Stats ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 44px 0;
}
@media (max-width: 768px) { .stats-bar { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; }
.stat strong { display: block; font-size: 2.2rem; font-weight: 800; color: var(--accent-dark); }
.stat span { font-size: 0.88rem; color: var(--ink-muted); }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 980px) { .testi-grid { grid-template-columns: 1fr; } }
.testi-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}
.testi-card .stars { color: var(--maroon); margin-bottom: 14px; font-size: 0.95rem; letter-spacing: 2px; }
.testi-card p.quote { color: var(--ink); font-size: 0.98rem; margin-bottom: 22px; }
.testi-person { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  color: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.testi-person strong { display: block; font-size: 0.92rem; }
.testi-person span { font-size: 0.82rem; color: var(--ink-muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 64px 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  color: var(--ink);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(122,31,61,0.14), transparent 70%);
}
.cta-band h2 { color: var(--ink); margin-bottom: 10px; position: relative; z-index: 1; }
.cta-band p { color: var(--ink-muted); position: relative; z-index: 1; }
.cta-band .actions { display: flex; gap: 14px; position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.site-footer { background: #ffffff; color: var(--ink-muted); padding: 72px 0 28px; border-top: 1px solid var(--border); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--ink); font-size: 0.92rem; margin-bottom: 18px; letter-spacing: 0.02em; }
.footer-grid ul { display: flex; flex-direction: column; gap: 11px; }
.footer-grid a { font-size: 0.9rem; }
.footer-grid a:hover { color: var(--accent-dark); }
.footer-brand p { font-size: 0.9rem; margin: 16px 0 20px; max-width: 320px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--accent); color: #ffffff; border-color: var(--accent); }
.footer-contact li { display: flex; gap: 10px; font-size: 0.9rem; align-items: flex-start; }
.footer-contact svg { flex-shrink: 0; margin-top: 3px; color: var(--accent-dark); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom .legal-links { display: flex; gap: 20px; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: #ffffff;
  color: var(--ink);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20,24,29,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,24,29,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}
.page-hero-graphic {
  position: absolute;
  top: -60px; right: -160px;
  width: 620px;
  max-width: none;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 900px) {
  .page-hero-graphic { opacity: 0.22; width: 460px; right: -220px; }
}
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.85rem; color: var(--ink-muted); margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--accent-dark); }
.page-hero h1 { color: var(--ink); margin-bottom: 16px; }
.page-hero p.lead { color: var(--ink-muted); font-size: 1.1rem; max-width: 640px; }

/* ---------- Page hero: full-width photo banner variant ---------- */
.page-hero.photo {
  background-color: var(--navy-900);
  padding: 200px 0 100px;
  border-bottom: none;
}
.page-hero.photo::before { display: none; }
.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(100deg, rgba(8,20,32,0.5) 0%, rgba(8,20,32,0.3) 45%, rgba(8,20,32,0.14) 75%, rgba(8,20,32,0.3) 100%);
}
.page-hero.photo .breadcrumb { color: rgba(255,255,255,0.7); text-shadow: 0 1px 8px rgba(0,0,0,0.4); }
.page-hero.photo .breadcrumb a { color: rgba(255,255,255,0.9); }
.page-hero.photo .breadcrumb a:hover { color: var(--accent-light); }
.page-hero.photo .eyebrow { background: rgba(255,255,255,0.16); color: var(--accent-light); }
.page-hero.photo h1 { color: #ffffff; text-shadow: 0 2px 14px rgba(0,0,0,0.4); }
.page-hero.photo p.lead { color: rgba(255,255,255,0.9); text-shadow: 0 1px 10px rgba(0,0,0,0.35); }
.page-hero.photo .btn-ghost { border-color: rgba(255,255,255,0.4); color: #ffffff; }
.page-hero.photo .page-hero-text-panel {
  display: inline-block;
  background: rgba(8,20,32,0.4);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 20px;
  padding: 32px 38px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  max-width: 780px;
}
@media (max-width: 900px) {
  .page-hero.photo { padding: 150px 0 70px; }
  .page-hero.photo .page-hero-text-panel { padding: 24px 24px; }
}

/* ---------- Two column content ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.split.reverse .split-media { order: 2; }
.split-media {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
}
.split-media.illustration { padding: 0; overflow: hidden; aspect-ratio: 4 / 3; }
.split-media.illustration img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split ul.check-list { display: flex; flex-direction: column; gap: 14px; margin: 22px 0; }
.split ul.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-size: 0.98rem; }
.split ul.check-list li svg { flex-shrink: 0; margin-top: 2px; color: var(--accent-dark); background: rgba(14,165,233,0.12); border-radius: 50%; padding: 3px; width: 22px; height: 22px; }

/* ---------- Pricing / packages ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 980px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  background: #fff;
}
.price-card.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(1.03);
}
.price-card .badge {
  position: absolute; top: -14px; right: 28px;
  background: var(--maroon); color: #fff;
  font-size: 0.75rem; font-weight: 700;
  padding: 5px 14px; border-radius: 999px;
}
.price-card h3 { margin-bottom: 6px; }
.price-card .desc { font-size: 0.88rem; margin-bottom: 20px; }
.price-card .amount { font-size: 1rem; font-weight: 700; color: var(--navy-800); margin-bottom: 20px; }
.price-card .amount small { font-weight: 500; font-size: 0.8rem; color: var(--ink-muted); }
.price-card ul { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }
.price-card ul li { display: flex; gap: 10px; font-size: 0.9rem; color: var(--ink-muted); }
.price-card ul li svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: var(--bg-light);
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.98rem;
  text-align: left;
  font-family: inherit;
  color: var(--ink);
}
.faq-q svg { flex-shrink: 0; transition: transform 0.25s ease; color: var(--accent-dark); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  background: #fff;
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p { padding: 4px 22px 20px; font-size: 0.92rem; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-card {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius);
  padding: 40px 32px;
}
.contact-info-card h3 { color: var(--ink); margin-bottom: 8px; }
.contact-info-card p { margin-bottom: 26px; color: var(--ink-muted); }
.contact-info-card ul { display: flex; flex-direction: column; gap: 20px; margin-bottom: 30px; }
.contact-info-card ul li { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-card ul li .ic {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(14,165,233,0.15); color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-card ul li strong { display: block; color: var(--ink); font-size: 0.92rem; }
.contact-info-card ul li span, .contact-info-card ul li a { font-size: 0.88rem; color: var(--ink-muted); }
.contact-info-card .footer-social a { color: var(--ink); }

.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.86rem; font-weight: 600; margin-bottom: 7px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 9px;
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--ink);
  background: var(--bg-light);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 120px; }
.field.checkbox { display: flex; align-items: flex-start; gap: 10px; }
.field.checkbox input { width: auto; }
.field.checkbox label { font-weight: 400; font-size: 0.85rem; color: var(--ink-muted); margin: 0; }
.form-msg { margin-top: 14px; font-size: 0.9rem; padding: 12px 14px; border-radius: 8px; display: none; }
.form-msg.success { display: block; background: rgba(14,165,233,0.12); color: var(--accent-dark); }
.form-msg.error { display: block; background: rgba(239,68,68,0.1); color: #dc2626; }

/* ---------- Map placeholder ---------- */
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); margin-top: 48px; }
.map-embed iframe { width: 100%; height: 340px; border: 0; display: block; }

/* ---------- About page ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) { .value-grid { grid-template-columns: 1fr; } }
.value-card { padding: 28px; border-radius: var(--radius); background: var(--bg-light); }
.value-card .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--navy-900); color: var(--accent-light); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }

.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 980px) { .solutions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .solutions-grid { grid-template-columns: 1fr; } }
.solution-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.solution-card .ic-wrap { width: 52px; height: 52px; border-radius: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: #fff; }
.solution-card:nth-child(1) .ic-wrap { background: linear-gradient(135deg, #0ea5e9, #0284c7); }
.solution-card:nth-child(2) .ic-wrap { background: linear-gradient(135deg, #a83a5c, #7a1f3d); }
.solution-card:nth-child(3) .ic-wrap { background: linear-gradient(135deg, #4b5563, #1f2328); }
.solution-card:nth-child(4) .ic-wrap { background: linear-gradient(135deg, #0284c7, #7a1f3d); }
.solution-card:nth-child(5) .ic-wrap { background: linear-gradient(135deg, #7dd3fc, #0284c7); }
.solution-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.solution-card p { margin-bottom: 18px; flex-grow: 1; font-size: 0.94rem; }
.solution-card ul { display: flex; flex-direction: column; gap: 8px; }
.solution-card ul li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.88rem; color: var(--ink-muted); }
.solution-card ul li svg { flex-shrink: 0; margin-top: 3px; color: var(--accent-dark); }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
.team-card { text-align: center; }
.team-photo {
  width: 100%; aspect-ratio: 1/1; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent-dark), var(--navy-900));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 2.2rem; font-weight: 800;
  margin-bottom: 14px;
}
.team-card strong { display: block; font-size: 0.98rem; }
.team-card span { font-size: 0.85rem; color: var(--ink-muted); }

.timeline { max-width: 720px; margin: 0 auto; position: relative; padding-left: 32px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item::before { content: ""; position: absolute; left: -32px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--accent); }
.timeline-item .yr { font-weight: 800; color: var(--accent-dark); font-size: 0.88rem; margin-bottom: 6px; }

/* ---------- Industries chips ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-800);
  background: var(--bg-light);
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-0 { margin-bottom: 0 !important; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 500;
  cursor: pointer;
  border: 1px solid var(--border);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* WhatsApp float (optional utility) */
.float-contact {
  position: fixed;
  bottom: 28px; left: 28px;
  z-index: 500;
}
