@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@600;700;800;900&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');

:root {
  --brand: #211f8f;
  --brand-light: #3c38c9;
  --brand-deep: #131154;
  --brand-tint: #ecebfa;
  --brand-tint-border: #d2cff2;
  --bg: #f5f5fb;
  --panel: #ffffff;
  --border: #e1e0ee;
  --text: #15141f;
  --muted: #6b6a80;
  --accent-red: #b13a3a;
  --shadow: 0 1px 2px rgba(21, 20, 31, 0.05), 0 12px 32px -16px rgba(21, 20, 31, 0.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Archivo", system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.08;
  text-wrap: balance;
  margin: 0;
}

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

a { color: var(--brand); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---- Header ---- */
.site-header {
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand-lockup { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand-mark { width: 34px; height: 29px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: "Archivo", sans-serif; font-weight: 800; font-size: 1.2rem; letter-spacing: 0.01em; color: var(--text); }
.brand-est {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a:not(.btn) {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.main-nav a:not(.btn):hover { color: var(--brand); }
.main-nav a.current { color: var(--brand); font-weight: 700; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  padding: 12px 22px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary { background: var(--brand); color: white; }
.btn-primary:hover { background: var(--brand-light); }
.btn-secondary { background: var(--panel); color: var(--brand); border: 1.5px solid var(--brand-tint-border); }
.btn-secondary:hover { border-color: var(--brand); }
.btn-on-dark { background: white; color: var(--brand-deep); }
.btn-on-dark:hover { background: var(--brand-tint); }

.header-cta { display: none; }
@media (min-width: 720px) { .header-cta { display: inline-flex; } }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(155deg, var(--brand-deep) 0%, var(--brand) 70%);
  color: white;
  padding: 84px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.045) 0, rgba(255,255,255,0.045) 1px, transparent 1px, transparent 64px);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #c7c5f2;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); max-width: 16ch; }
.hero p.lead {
  font-size: 1.15rem;
  color: #d9d8f5;
  max-width: 52ch;
  margin-top: 18px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ---- Trust strip ---- */
.trust-strip {
  background: var(--panel);
  border-bottom: 1px solid var(--border);
}
.trust-strip .wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  padding: 28px 24px;
}
.trust-stat { text-align: center; }
.trust-stat .num { font-family: "Archivo", sans-serif; font-weight: 800; font-size: 1.7rem; color: var(--brand); }
.trust-stat .label { font-size: 0.82rem; color: var(--muted); margin-top: 2px; }

/* ---- Section ---- */
.section { padding: 76px 0; }
.section-alt { background: var(--panel); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; margin-top: 14px; }

/* ---- Services grid ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}
.service-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow);
}
.service-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: var(--brand-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
}
.service-card .service-name { font-weight: 700; font-size: 0.98rem; }

/* ---- Image scroll strip ---- */
.image-scroll {
  margin-top: 48px;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 48px, black calc(100% - 48px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, black 48px, black calc(100% - 48px), transparent 100%);
}
.image-scroll-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: image-scroll 55s linear infinite;
}
.image-scroll:hover .image-scroll-track { animation-play-state: paused; }
.image-scroll-track img {
  height: 170px;
  width: auto;
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  object-fit: cover;
  flex-shrink: 0;
}
@keyframes image-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .image-scroll-track { animation: none; overflow-x: auto; }
  .image-scroll { mask-image: none; -webkit-mask-image: none; }
}
@media (max-width: 640px) {
  .image-scroll-track img { height: 130px; }
}

/* ---- Testimonials ---- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.testimonial-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.testimonial-quote-mark { font-family: "Archivo", sans-serif; font-size: 2.4rem; color: var(--brand-tint-border); line-height: 1; margin-bottom: 4px; }
.testimonial-card p.quote { color: var(--text); font-size: 0.98rem; flex: 1; }
.testimonial-author { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.testimonial-author .name { font-weight: 700; font-size: 0.92rem; }
.testimonial-author .role { color: var(--muted); font-size: 0.82rem; margin-top: 2px; }

/* ---- Story / About ---- */
.story-block { max-width: 720px; margin: 0 auto; }
.story-block p { font-size: 1.05rem; margin: 0 0 20px; }
.story-block p:last-child { margin-bottom: 0; }

/* ---- CTA band ---- */
.cta-band {
  background: var(--brand-deep);
  color: white;
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 { color: white; font-size: clamp(1.6rem, 3.4vw, 2.1rem); }
.cta-band p { color: #d9d8f5; max-width: 46ch; margin: 14px auto 0; font-size: 1.05rem; }
.cta-band .hero-actions { justify-content: center; margin-top: 30px; }

/* ---- Contact cards ---- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  max-width: 780px;
  margin: 0 auto;
}
.contact-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.contact-card .contact-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--brand-tint);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.contact-card .label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 6px; }
.contact-card a, .contact-card .value { font-weight: 700; font-size: 1.05rem; text-decoration: none; color: var(--text); }
.contact-card a:hover { color: var(--brand); }

/* ---- Photo grid ---- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.photo-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.photo-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  background: var(--brand-tint);
}
.photo-card .caption {
  padding: 12px 14px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
}

/* ---- Gallery placeholder ---- */
.gallery-placeholder {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: var(--panel);
  border: 1px dashed var(--brand-tint-border);
  border-radius: 16px;
  padding: 56px 32px;
}
.gallery-placeholder .icon {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  border-radius: 14px;
  background: var(--brand-tint);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
}
.gallery-placeholder h2 { font-size: 1.4rem; }
.gallery-placeholder p { color: var(--muted); margin-top: 10px; max-width: 42ch; margin-left: auto; margin-right: auto; }

/* ---- Footer ---- */
.site-footer {
  background: var(--brand-deep);
  color: #c7c5f2;
  padding: 48px 0 28px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand .brand-name { color: white; }
.footer-brand p { color: #b5b3e4; max-width: 32ch; margin-top: 10px; font-size: 0.92rem; }
.footer-links { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h3 {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9d9bd9;
  margin-bottom: 14px;
}
.footer-col a, .footer-col span {
  display: block;
  color: #e3e2f7;
  text-decoration: none;
  font-size: 0.92rem;
  margin-bottom: 10px;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  font-size: 0.82rem;
  color: #8280bd;
}

/* ---- Mobile nav ---- */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--text);
}
@media (max-width: 719px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed;
    inset: 64px 0 0 0;
    background: var(--panel);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 20px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .main-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .main-nav .header-cta { display: inline-flex; margin-top: 8px; }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .hero { padding: 56px 0 64px; }
  .footer-top { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .main-nav { transition: none; }
}
