:root {
  --ink: #0b1f33;
  --cobalt: #0f4cff;
  --teal: #00c2a8;
  --gold: #ffb400;
  --coral: #ff4d6d;
  --paper: #f4f7fb;
  --white: #ffffff;
  --muted: #5f7184;
  --shadow: 0 20px 50px -20px rgba(11, 31, 51, 0.35);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

section { scroll-margin-top: 80px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 4%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e6ecf4;
}

.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); }
.logo { width: 36px; height: 36px; color: var(--cobalt); }
.brand-name { font-weight: 800; letter-spacing: 2px; font-size: 1.05rem; }

.site-nav { display: flex; gap: 1.6rem; }
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 3px;
  background: var(--coral);
  transition: width 0.25s ease;
}
.site-nav a:hover::after { width: 100%; }

.btn {
  display: inline-block;
  padding: 0.75rem 1.4rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--cobalt); color: #fff; box-shadow: 0 10px 25px -10px var(--cobalt); }
.btn-primary:hover { background: #0a3fd6; }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-cta { background: var(--coral); color: #fff; }
.btn-cta:hover { background: #e63b5a; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4.5rem 4%;
  background:
    radial-gradient(800px 400px at 90% -10%, rgba(15, 76, 255, 0.15), transparent 60%),
    radial-gradient(600px 400px at -10% 110%, rgba(0, 194, 168, 0.12), transparent 60%);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--cobalt);
  font-weight: 800;
  font-size: 0.8rem;
  margin-bottom: 0.8rem;
}
.eyebrow.center { text-align: center; }
.hero h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.1; font-weight: 800; }
.hero h1 span { color: var(--cobalt); }
.hero .lead { margin: 1.2rem 0 1.8rem; font-size: 1.1rem; color: var(--muted); max-width: 34ch; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-note { margin-top: 1.6rem; color: var(--muted); font-size: 0.9rem; }

.hero-media img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 4px solid #fff;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: linear-gradient(135deg, var(--cobalt), var(--teal));
}

/* Logos bar */
.logos-bar {
  border-top: 1px solid #e6ecf4;
  border-bottom: 1px solid #e6ecf4;
  background: var(--white);
  padding: 1.2rem 4%;
}
.logos-inner { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 1rem; }
.logos-inner span { font-weight: 800; color: #a6b6c8; letter-spacing: 1px; font-size: 1rem; }

/* About + sections shared */
.about, .services, .offices, .contact, .testimonial { padding: 4.5rem 4%; }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; background: var(--white); }
.about h2, .services h2, .offices h2, .contact h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 1rem; }
.about-text p { color: var(--muted); margin-bottom: 1rem; }

.check-list { list-style: none; margin-top: 1.4rem; }
.check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.7rem;
  font-weight: 600;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 0.8rem;
  display: grid;
  place-items: center;
}

.about-media { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.about-media img {
  border-radius: 16px;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: linear-gradient(135deg, var(--gold), var(--coral));
}
.about-media .stack { margin-top: 2.5rem; }

/* Services */
.services { background: linear-gradient(180deg, var(--paper), var(--white)); }
.services h2.center, .offices h2.center { text-align: center; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.card {
  border-radius: 16px;
  padding: 1.8rem;
  color: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}
.card:hover { transform: translateY(-6px); }
.card h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.card p { opacity: 0.92; font-size: 0.95rem; }
.card-1 { background: linear-gradient(135deg, var(--cobalt), #6a2bf2); }
.card-2 { background: linear-gradient(135deg, var(--teal), #0f8b7a); }
.card-3 { background: linear-gradient(135deg, var(--gold), #ff6a00); }
.card-4 { background: linear-gradient(135deg, var(--coral), #c92a62); }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 3.5rem 4%;
  background: var(--ink);
  color: #fff;
}
.stat { text-align: center; }
.stat-num {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.stat-label { display: block; margin-top: 0.4rem; color: #a6b6c8; font-size: 0.95rem; }

/* Offices */
.offices-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.office {
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}
.office img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: linear-gradient(135deg, var(--cobalt), var(--gold)); }
.office figcaption { padding: 1rem 1.2rem; display: flex; flex-direction: column; }
.office .city { font-weight: 800; font-size: 1.1rem; }
.office .hours { color: var(--muted); font-size: 0.85rem; }

/* Testimonial */
.testimonial {
  background: linear-gradient(135deg, var(--coral), var(--cobalt));
  color: #fff;
  text-align: center;
  padding: 4.5rem 8%;
}
.testimonial blockquote { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 600; max-width: 60ch; margin: 0 auto; }
.quote-author { margin-top: 1rem; opacity: 0.9; }

/* Contact */
.contact { display: grid; place-items: center; }
.contact-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  max-width: 560px;
  width: 100%;
  box-shadow: var(--shadow);
  text-align: center;
  border-top: 6px solid var(--cobalt);
}
.contact-card p { color: var(--muted); margin-bottom: 1.5rem; }
.contact-form { display: grid; gap: 1rem; text-align: left; }
.contact-form input, .contact-form select {
  padding: 0.9rem 1rem;
  border: 2px solid #e2e9f2;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--paper);
}
.contact-form input:focus, .contact-form select:focus {
  outline: none;
  border-color: var(--cobalt);
}
.contact-form .btn { width: 100%; }
.form-msg { font-weight: 700; text-align: center; margin-top: 0.5rem; }
.form-msg.ok { color: var(--teal); }
.form-msg.bad { color: var(--coral); }

/* Footer */
.site-footer { background: var(--ink); color: #a6b6c8; padding: 3rem 4% 1.5rem; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; align-items: start; }
.footer-brand .logo { color: var(--teal); }
.footer-brand p { margin-top: 0.8rem; font-size: 0.85rem; max-width: 40ch; }
.footer-social > span { font-weight: 700; color: #fff; }
.social { display: flex; gap: 0.8rem; margin-top: 0.8rem; }
.social a {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: #fff;
  transition: background 0.2s, transform 0.15s;
}
.social a:hover { background: var(--coral); transform: translateY(-3px); }
.social svg { width: 20px; height: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { color: #a6b6c8; text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: var(--teal); }
.copyright { text-align: center; margin-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.2rem; font-size: 0.8rem; }

/* Responsive */
@media (max-width: 900px) {
  .site-nav { display: none; }
  .hero, .about { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .cards { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .offices-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 560px) {
  .cards, .offices-grid, .about-media { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .site-header .btn-cta { font-size: 0.8rem; padding: 0.6rem 1rem; }
}