/* ===== Reset & base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ink-900: #10192b;
  --ink-700: #33415c;
  --ink-500: #64748b;
  --ink-400: #94a3b8;
  --line: #e4e8f2;
  --surface: #ffffff;
  --surface-soft: #f5f6fb;
  --brand-700: #1c2f66;
  --brand-600: #294490;
  --brand-500: #3d59ab;
  --brand-400: #6b84c9;
  --brand-050: #eaeefa;
  --warn: #f59e0b;
  --warn-050: #fef3c7;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-soft: 0 20px 45px -22px rgba(15, 23, 42, 0.18);
  --shadow-card: 0 12px 30px -16px rgba(15, 23, 42, 0.14);
  --max-width: 1180px;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--surface);
  color: var(--ink-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

section { position: relative; }

.section-eyebrow {
  color: var(--brand-600);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 10px;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--ink-500);
  max-width: 620px;
  font-size: 1.02rem;
  margin-bottom: 40px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand-600);
  color: #fff;
  box-shadow: 0 14px 28px -12px rgba(41,68,144,0.55);
}
.btn-primary:hover { background: var(--brand-700); transform: translateY(-2px); }
.btn-outline {
  background: var(--surface);
  color: var(--ink-900);
  border-color: var(--line);
  box-shadow: var(--shadow-card);
}
.btn-outline:hover { border-color: var(--brand-600); color: var(--brand-600); transform: translateY(-2px); }
.btn-dark {
  background: var(--ink-900);
  color: #fff;
  border-color: var(--ink-900);
}
.btn-dark:hover { background: var(--brand-600); border-color: var(--brand-600); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-top: 18px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px 0 24px;
  box-shadow: var(--shadow-soft);
}

.logo {
  display: flex;
  align-items: center;
}
.logo-img {
  height: 38px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 30px;
}
.main-nav a {
  color: var(--ink-700);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 6px 0;
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--brand-600); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.phone-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  background: var(--ink-900);
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  transition: background 0.15s ease, transform 0.15s ease;
}
.phone-pill:hover { background: var(--brand-600); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  min-width: 44px;
  min-height: 44px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink-900);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 70px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--surface);
  z-index: -2;
}
.hero-bg::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -160px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(41,68,144,0.18), rgba(41,68,144,0) 70%);
  z-index: -1;
}
.hero-bg::after {
  content: "";
  position: absolute;
  bottom: -220px;
  left: -180px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(41,68,144,0.10), rgba(41,68,144,0) 70%);
  z-index: -1;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.eyebrow-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  color: var(--ink-700);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.eyebrow-chip .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-600);
  box-shadow: 0 0 0 4px var(--brand-050);
}

.hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.7rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink-900);
  margin-bottom: 22px;
}
.hero h1 span { color: var(--brand-600); }

.hero-sub {
  font-size: 1.12rem;
  color: var(--ink-500);
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-badges {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.hero-badges span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-500);
  font-size: 0.86rem;
  font-weight: 600;
}
.hero-badges svg { color: var(--brand-600); flex-shrink: 0; }

/* ===== Hero mockup card ===== */
.hero-mockup {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.mockup-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  padding: 26px;
  z-index: 2;
}

.mockup-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink-700);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.mockup-dot--live {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px #dcfce7;
}

.mockup-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
}
.mockup-row + .mockup-row { border-top: 1px dashed var(--line); }

.mockup-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 800;
  font-size: 0.9rem;
}
.mockup-icon--done { background: #dcfce7; color: #16a34a; }
.mockup-icon--warn { background: var(--warn-050); color: var(--warn); }
.mockup-icon--progress { background: var(--brand-050); color: var(--brand-600); position: relative; }
.mockup-icon--progress::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2.5px solid var(--brand-600);
  border-right-color: transparent;
}

.mockup-text { display: flex; flex-direction: column; gap: 2px; }
.mockup-text strong { font-size: 0.92rem; color: var(--ink-900); }
.mockup-text span { font-size: 0.82rem; color: var(--ink-500); }

.mockup-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  padding: 12px;
  background: var(--ink-900);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.86rem;
  transition: background 0.15s ease;
}
.mockup-cta:hover { background: var(--brand-600); }

.hero-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--ink-900);
  z-index: 3;
}
.hero-float svg { color: var(--brand-600); }
.hero-float--top { top: 10px; left: -10px; }
.hero-float--bottom { bottom: 20px; right: -14px; }

/* ===== Trust Strip ===== */
.strip {
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}
.strip-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.strip-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-700);
  font-weight: 700;
  font-size: 0.92rem;
  flex: 1 1 200px;
}
.strip-item svg { color: var(--brand-600); flex-shrink: 0; }

/* ===== Services ===== */
.services { padding: 100px 0; background: var(--surface); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: transparent;
  background: var(--surface);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--brand-050);
  color: var(--brand-600);
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 10px;
}
.service-card p {
  color: var(--ink-500);
  font-size: 0.93rem;
}

/* ===== Why Us ===== */
.why-us {
  background: var(--surface-soft);
  padding: 100px 0;
}
.why-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}

.why-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-card--accent { background: var(--ink-900); border-color: var(--ink-900); }
.stat-card--accent strong,
.stat-card--accent span { color: #fff; }
.stat-card--accent .stat-icon { background: rgba(107,132,201,0.22); color: var(--brand-400); }
.stat-card--accent span { color: var(--ink-400); }

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--brand-050);
  color: var(--brand-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.stat-card strong { font-size: 1.02rem; color: var(--ink-900); }
.stat-card span { font-size: 0.82rem; color: var(--ink-500); }

.why-us .section-sub { color: var(--ink-500); }

.why-list {
  display: grid;
  gap: 20px;
  margin: 30px 0 36px;
}
.why-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.why-list svg {
  color: var(--brand-600);
  flex-shrink: 0;
  margin-top: 3px;
  background: var(--brand-050);
  border-radius: 50%;
  padding: 4px;
  width: 26px;
  height: 26px;
  box-sizing: border-box;
}
.why-list strong { display: block; color: var(--ink-900); margin-bottom: 3px; font-size: 1rem; }
.why-list span { color: var(--ink-500); font-size: 0.92rem; }

/* ===== Customers ===== */
.customers {
  padding: 90px 0;
  background: var(--surface);
}
.customer-group { margin-bottom: 30px; }
.customer-group:last-child { margin-bottom: 0; }
.customer-group-label {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 14px;
}
.customer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.customer-tag {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink-700);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.customer-tag:hover {
  border-color: var(--brand-600);
  color: var(--brand-600);
  background: var(--brand-050);
}

/* ===== About ===== */
.about {
  padding: 90px 0;
  background: var(--surface);
}
.about-inner {
  max-width: 820px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 46px;
}
.about p {
  color: var(--ink-700);
  margin-bottom: 16px;
  font-size: 1.02rem;
}
.about p:last-child { margin-bottom: 0; }

/* ===== Gallery ===== */
.gallery {
  padding: 100px 0;
  text-align: center;
  background: var(--surface-soft);
}
.gallery .section-sub { margin-left: auto; margin-right: auto; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
.gallery-tile {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.tile-1 { background: linear-gradient(150deg, var(--brand-050), #ccd6f0); color: var(--brand-700); }
.tile-2 { background: linear-gradient(150deg, var(--surface-soft), var(--line)); color: var(--ink-700); }
.tile-3 { background: linear-gradient(150deg, var(--brand-700), var(--ink-900)); color: #fff; }
.tile-4 { background: linear-gradient(150deg, var(--brand-600), var(--brand-700)); color: #fff; }

/* ===== Contact ===== */
.contact {
  background: var(--surface);
  padding: 100px 0;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact .section-sub { color: var(--ink-500); }

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.contact-detail svg { color: var(--brand-600); flex-shrink: 0; margin-top: 2px; }
.contact-detail strong { display: block; margin-bottom: 3px; color: var(--ink-900); }
.contact-detail span { color: var(--ink-500); font-size: 0.95rem; }
.contact-detail a:hover { color: var(--brand-600); }

.map-embed {
  margin-top: 30px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.contact-visual {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  box-shadow: var(--shadow-soft);
}
.contact-visual-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--brand-050);
  color: var(--brand-600);
  margin-bottom: 6px;
}
.contact-visual h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ink-900);
}
.contact-visual p {
  color: var(--ink-500);
  font-size: 0.96rem;
}
.contact-visual .btn {
  width: 100%;
  margin-top: 6px;
}
.contact-visual-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
  width: 100%;
}
.contact-visual-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-700);
}
.contact-visual-list svg {
  color: var(--brand-600);
  flex-shrink: 0;
  background: var(--brand-050);
  border-radius: 50%;
  padding: 3px;
  width: 22px;
  height: 22px;
  box-sizing: border-box;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
  color: var(--ink-500);
  padding: 34px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-brand {
  display: flex;
  align-items: center;
}
.footer-brand .logo-img { height: 40px; }
.footer-inner p { font-size: 0.85rem; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 0.85rem; }
.footer-links a:hover { color: var(--brand-600); }

/* ===== Mobile call FAB ===== */
.mobile-call-fab {
  display: none;
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand-600);
  color: #fff;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 28px -8px rgba(41,68,144,0.55);
  z-index: 90;
}

/* ===== Scroll to top ===== */
.scroll-top-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--brand-600);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  z-index: 89;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.15s ease, color 0.15s ease, visibility 0.2s;
}
.scroll-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top-btn:hover {
  background: var(--brand-600);
  color: #fff;
  border-color: var(--brand-600);
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-mockup { order: -1; min-height: 340px; margin-bottom: 10px; }
  .hero-float { display: none; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .why-inner { grid-template-columns: 1fr; }
  .why-media { order: 2; max-width: 460px; margin: 0 auto; }
  .why-content { order: 1; }
  .contact-inner { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { padding: 34px; }
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .header-actions .phone-pill { display: none; }
  .nav-toggle { display: flex; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 78px;
    left: 24px;
    right: 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    padding: 20px 24px;
    gap: 18px;
    border-radius: var(--radius-lg);
  }

  .hero { padding: 70px 0 50px; }
  .service-grid { grid-template-columns: 1fr; }
  .strip-inner { justify-content: flex-start; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .mobile-call-fab { display: flex; }
  .why-media { grid-template-columns: 1fr 1fr; }
  .scroll-top-btn { right: auto; left: 20px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .why-media { grid-template-columns: 1fr; }
}
