/* ===== Design tokens ===== */
:root {
  --bg:        #f5f8fc;
  --surface:   #ffffff;
  --surface-2: #e9f0f9;
  --ink:       #14202e;
  --ink-soft:  #51606f;
  --line:      #d6e1ee;
  --brand:     #2563eb;   /* bright blue */
  --brand-dk:  #1d4ed8;
  --accent:    #0f2a4a;   /* deep navy */
  --radius:    16px;
  --shadow:    0 18px 40px -24px rgba(31,27,24,.45);
  --container:  1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: "Manrope", system-ui, sans-serif; font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: .98rem;
  cursor: pointer; border: 1px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 12px 24px -12px rgba(37,99,235,.7); }
.btn-primary:hover { background: var(--brand-dk); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-block { width: 100%; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .16em; font-size: .76rem;
  font-weight: 600; color: var(--brand); margin-bottom: 14px;
}

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,248,245,.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.logo-mark {
  font-family: "Manrope", sans-serif; font-weight: 600; color: #fff; background: var(--accent);
  padding: 4px 10px; border-radius: 8px; font-size: 1.05rem; letter-spacing: .02em;
}
.logo-text { font-size: 1.02rem; color: var(--ink); letter-spacing: .01em; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: .95rem; font-weight: 500; color: var(--ink-soft); transition: color .15s; }
.nav a:hover { color: var(--ink); }
.nav .nav-cta {
  background: var(--accent); color: #fff; padding: 9px 18px; border-radius: 999px;
}
.nav .nav-cta:hover { background: #0a1f38; color: #fff; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  padding: 110px 0 120px;
  background: radial-gradient(120% 120% at 80% 0%, #1c3e6b 0%, #0f2a4a 45%, #0a1f38 100%);
  color: #eaf1fb;
}
/* soft glow + faint grout-line texture behind everything */
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(40% 50% at 78% 28%, rgba(37,99,235,.45), transparent 70%),
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 56px 56px;
  mask-image: linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 10px; color: #9ec1f5; }
.eyebrow-stars { color: #ffc94d; letter-spacing: 2px; }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.2rem); margin-bottom: 22px; color: #fff; }
.hero h1 .hl {
  background: linear-gradient(120deg, #7fb0ff, #ffc94d);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { font-size: 1.14rem; color: #c2d4ee; max-width: 42ch; }
.hero-actions { display: flex; gap: 14px; margin: 34px 0 34px; flex-wrap: wrap; }
.hero .btn-ghost { color: #eaf1fb; border-color: rgba(255,255,255,.28); }
.hero .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.hero-trust { list-style: none; display: flex; gap: 30px; padding: 26px 0 0; margin: 0; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); }
.hero-trust li { font-size: .9rem; color: #9fb4d4; }
.hero-trust strong { display: block; font-size: 1.3rem; color: #fff; font-family: "Manrope", sans-serif; font-weight: 700; }

/* hero photo */
.hero-visual { position: relative; }
.hero-photo {
  margin: 0; border-radius: 22px; overflow: hidden;
  transform: rotate(-2deg);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7);
  border: 6px solid rgba(255,255,255,.08);
  animation: hero-float 7s ease-in-out infinite;
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5;
  display: block;
}
/* subtle glaze sheen sweeping across the photo */
.hero-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.22) 48%, transparent 60%);
  background-size: 250% 100%; background-position: 130% 0;
  animation: hero-sheen 6s ease-in-out infinite;
}
@keyframes hero-float {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50%      { transform: rotate(-2deg) translateY(-14px); }
}
@keyframes hero-sheen {
  0%, 60% { background-position: 130% 0; }
  85%, 100% { background-position: -30% 0; }
}

/* floating stat badge */
.hero-badge {
  position: absolute; bottom: -18px; left: -24px; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  background: #fff; color: var(--accent);
  padding: 16px 20px; border-radius: 18px;
  box-shadow: 0 24px 50px -18px rgba(0,0,0,.55);
  animation: hero-badge-float 7s ease-in-out infinite; animation-delay: .4s;
}
@keyframes hero-badge-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.hero-badge-num { font-family: "Manrope", sans-serif; font-weight: 700; font-size: 2rem; color: var(--brand); line-height: 1; }
.hero-badge-label { font-size: .82rem; font-weight: 600; line-height: 1.15; color: var(--ink-soft); }

@media (prefers-reduced-motion: reduce) {
  .hero-photo, .hero-badge { animation: none; }
  .hero-photo::after { display: none; }
}

/* ===== Sections ===== */
.section { padding: 88px 0; }
.section-alt { background: var(--surface-2); }
.section-head { max-width: 640px; margin: 0 auto 54px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 14px; }
.section-sub { color: var(--ink-soft); }

/* ===== Service cards ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: .96rem; }

/* ===== Gallery ===== */
.gallery {
  display: grid; gap: 16px;
  grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px;
}
.gallery figure {
  margin: 0; border-radius: var(--radius); position: relative; overflow: hidden;
  display: flex; align-items: flex-end; color: #fff; box-shadow: var(--shadow);
}
.gallery figure img {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: relative; z-index: 3; padding: 18px 20px; font-weight: 600; font-size: 1.02rem;
}
.gallery figure::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to top, rgba(20,16,12,.6), transparent 60%);
}
/* feature tile + wide tiles; rest are 1×1 — fills a 4-col grid cleanly */
.gallery .g1 { grid-column: span 2; grid-row: span 2; background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.gallery .g4 { grid-column: span 2; background: linear-gradient(135deg, #2a4d7a, #0f2a4a); }
.gallery .g2 { background: linear-gradient(135deg, #3b6bb0, #0f2a4a); }
.gallery .g3 { background: linear-gradient(135deg, #7fa8de, #3f6db0); }
.gallery .g5 { background: linear-gradient(135deg, #5b8fd6, #2f5fa8); }
.gallery .g6 { background: linear-gradient(135deg, #1e3a63, #0f2a4a); }
.gallery .g7 { background: linear-gradient(135deg, #4f86d8, #2563eb); }
.gallery .g8 { background: linear-gradient(135deg, #2a4d7a, #163356); }

/* ===== Why us ===== */
.why-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.why-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 18px; }
.why-copy > p { color: var(--ink-soft); margin-bottom: 24px; }
.checklist { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 32px; font-weight: 500; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: -1px; color: var(--brand); font-weight: 700;
  width: 22px; height: 22px; background: rgba(37,99,235,.12); border-radius: 50%;
  display: grid; place-items: center; font-size: .8rem;
}
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; text-align: center;
}
.stat .num { display: block; font-family: "Manrope", sans-serif; font-weight: 600; font-size: 2.4rem; color: var(--accent); }
.stat .label { color: var(--ink-soft); font-size: .9rem; }

/* ===== Clients ===== */
.client-logos {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch;
  gap: 22px;
}
.client-logos li {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 40px; box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
  width: 260px; height: 140px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.client-logos li:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -22px rgba(15,42,74,.5); }
.client-logos img { max-width: 100%; max-height: 80px; width: auto; height: auto; object-fit: contain; }

@media (max-width: 560px) {
  .client-logos li { width: 100%; max-width: 320px; height: 120px; }
}

/* ===== Reviews ===== */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review {
  margin: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow);
}
.review p { font-family: "Manrope", sans-serif; font-size: 1.12rem; line-height: 1.45; margin-bottom: 18px; }
.review footer { color: var(--ink-soft); font-size: .92rem; font-weight: 600; }
.review::before { content: "★★★★★"; display: block; color: var(--brand); letter-spacing: 2px; margin-bottom: 14px; }

/* ===== Contact ===== */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.contact-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 16px; }
.contact-copy > p { color: var(--ink-soft); margin-bottom: 26px; max-width: 42ch; }
.contact-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.contact-card {
  background: radial-gradient(120% 120% at 80% 0%, #1c3e6b 0%, #0f2a4a 60%, #0a1f38 100%);
  color: #eaf1fb; border-radius: var(--radius); padding: 38px 36px;
  box-shadow: var(--shadow);
}
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.contact-list li { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.contact-list li:last-child { border-bottom: 0; }
.contact-ic {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  background: rgba(255,255,255,.08); display: grid; place-items: center; font-size: 1.2rem;
}
.contact-detail { display: flex; flex-direction: column; line-height: 1.4; }
.contact-detail small { font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: #8fa9cc; margin-bottom: 2px; }
.contact-detail a, .contact-detail { font-weight: 600; }
.contact-list a:hover { color: #9ec1f5; }

/* ===== Footer ===== */
.site-footer { background: var(--accent); color: #d4e0ef; padding: 54px 0 30px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand p { color: #a6bad4; font-size: .95rem; }
.footer-nav { display: flex; gap: 26px; }
.footer-nav a { color: #d4e0ef; font-size: .92rem; }
.footer-nav a:hover { color: #fff; }
.copyright { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; font-size: .85rem; color: #8ea3c2; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 72px; left: 0; right: 0; background: var(--bg);
    border-bottom: 1px solid var(--line); padding: 16px 24px;
  }
  .nav.open a { width: 100%; padding: 10px 0; }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 360px; order: -1; }
  .cards, .reviews { grid-template-columns: 1fr 1fr; }
  .why-inner, .contact-inner { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
}
@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .cards, .reviews, .stats { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery figure { grid-column: auto; grid-row: auto; }
  .footer-inner { grid-template-columns: 1fr; text-align: left; }
}
