@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --red: #9a1b15;
  --red-deep: #6e1410;
  --ink: #171717;
  --gray: #6c6c6c;
  --gray-light: #e2e2e2;
  --paper: #ffffff;
  --paper-dim: #f6f6f4;
  --radius: 3px;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: 'Poppins', sans-serif; color: var(--ink);
  background: var(--paper); line-height: 1.65; -webkit-font-smoothing: antialiased;
  font-weight: 400;
}
h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 0.5em 0; line-height: 1.2; }
p { margin: 0 0 1em 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

/* ============ NAV ============ */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.97); backdrop-filter: blur(6px); border-bottom: 1px solid var(--gray-light); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 32px; max-width: var(--max); margin: 0 auto; }
.nav-logo img { height: 32px; }
.nav-links { display: flex; align-items: center; gap: 2.4rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.9rem; }
.nav-links a:hover, .nav-links a.active { color: var(--red); }
.nav-cta { background: var(--red); color: white !important; padding: 10px 20px; border-radius: var(--radius); font-weight: 600 !important; }
.nav-cta:hover { background: var(--red-deep); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; }

/* ============ BUTTONS ============ */
.btn { display: inline-flex; align-items: center; gap: 0.5em; font-weight: 600; font-size: 0.9rem; padding: 13px 26px; border-radius: var(--radius); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: all 0.15s ease; }
.btn-primary { background: var(--red); color: white; }
.btn-primary:hover { background: var(--red-deep); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: white; }
.btn-outline-light { border-color: rgba(255,255,255,0.5); color: white; }
.btn-outline-light:hover { background: white; color: var(--ink); border-color: white; }

/* ============ HERO ============ */
.hero { padding: 70px 0 60px 0; }
.hero-centered { text-align: center; }
.hero-logo-box { display: flex; align-items: center; justify-content: center; margin-bottom: 1.8rem; }
.hero-logo-box img { height: 120px; animation: logoIn 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both; }
@keyframes logoIn { from { opacity: 0; transform: translateY(24px) scale(0.9); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero-logo-box img { animation: none; } }
.kicker { display: inline-flex; align-items: center; gap: 0.6em; color: var(--red); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1.1rem; }
.kicker::before { content: ''; width: 22px; height: 2px; background: var(--red); display: inline-block; }
.hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700; line-height: 1.15; margin: 0 0 1.1rem 0; }
.hero h1 em { color: var(--red); font-style: normal; }
.hero .sub { font-size: 1.02rem; color: var(--gray); max-width: 560px; margin: 0 auto 1.8rem auto; font-weight: 400; }
.hero-centered .sub { margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 3.5rem auto 0 auto; max-width: 560px; border-top: 1px solid var(--gray-light); }
.hero-stat { text-align: center; padding: 1.8rem 1rem 0 1rem; border-left: 1px solid var(--gray-light); }
.hero-stat:first-child { border-left: none; }
.hero-stat .n { font-size: 2rem; font-weight: 700; color: var(--red); display: block; letter-spacing: -0.02em; }
.hero-stat .l { font-size: 0.76rem; color: var(--gray); font-weight: 500; }

/* ============ SECTIONS ============ */
.section { padding: 80px 0; }
.section-dark { background: var(--ink); color: white; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: white; }
.section-dim { background: var(--paper-dim); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2.8rem; gap: 2rem; flex-wrap: wrap; }
.section-head h2 { font-size: 1.7rem; font-weight: 700; margin: 0; }
.section-head p { color: var(--gray); font-size: 0.94rem; max-width: 340px; margin: 0; }
.section-dark .section-head p { color: rgba(255,255,255,0.6); }
.section-header { max-width: 620px; margin: 0 0 2.8rem 0; }
.section-header.centered { margin-left: auto; margin-right: auto; text-align: center; }

/* ============ SERVICE ROWS (numbered index) ============ */
.service-row { display: grid; grid-template-columns: 80px 1fr 1.4fr; gap: 2rem; align-items: start; padding: 1.8rem 0; border-top: 1px solid var(--gray-light); }
.service-row:last-child { border-bottom: 1px solid var(--gray-light); }
.service-num { font-size: 2rem; font-weight: 700; color: var(--red); opacity: 0.35; }
.service-row h3 { font-size: 1.1rem; font-weight: 600; margin: 0; }
.service-row p { color: var(--gray); font-size: 0.92rem; margin: 0; }
.service-detail { padding: 60px 0; border-top: 1px solid var(--gray-light); }
.service-detail ul { color: var(--gray); padding-left: 1.2rem; font-size: 0.94rem; }
.service-icon-circle { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--red); color: var(--red); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 1rem; }

/* ============ PROCESS ============ */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem; }
.process-step .n { font-size: 0.76rem; color: var(--red); font-weight: 700; letter-spacing: 0.1em; margin-bottom: 0.7rem; display: block; }
.process-step h4 { font-size: 1.02rem; font-weight: 600; margin: 0 0 0.4rem 0; }
.process-step p { color: rgba(255,255,255,0.65); font-size: 0.9rem; margin: 0; }

/* ============ VALUES / INDUSTRIES ============ */
.value-item { display: flex; gap: 1rem; align-items: flex-start; }
.value-check { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--red); display: flex; align-items: center; justify-content: center; color: var(--red); font-weight: 700; margin-top: 2px; font-size: 0.8rem; }
.value-item p { font-weight: 500; font-size: 0.95rem; margin: 0; }
.industry-list { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }
.industry-tag { padding: 0.9rem 1.3rem; border-radius: var(--radius); background: var(--paper-dim); border: 1px solid var(--gray-light); font-weight: 600; font-size: 0.85rem; }

/* ============ CLIENTS ============ */
.client-marquee {
  overflow: hidden; position: relative; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.client-track {
  display: flex; gap: 0.8rem; width: max-content;
  animation: marquee 28s linear infinite;
}
.client-marquee:hover .client-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.client-chip { border: 1px solid var(--gray-light); border-radius: 999px; padding: 9px 20px; font-weight: 600; font-size: 0.86rem; color: var(--ink); white-space: nowrap; flex-shrink: 0; }
@media (prefers-reduced-motion: reduce) { .client-track { animation: none; flex-wrap: wrap; justify-content: center; } }

/* ============ TEAM ============ */
.team-card { text-align: center; transition: transform 0.15s ease; }
.team-card:hover { transform: translateY(-3px); }
.team-card:hover .team-avatar { box-shadow: 0 0 0 4px var(--paper-dim), 0 0 0 6px var(--red); }
.team-avatar { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 1.1rem auto; background: var(--ink); color: white; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; font-weight: 700; object-fit: cover; object-position: 50% 22%; transition: box-shadow 0.15s ease; }
.team-card h4 { margin-bottom: 0.2em; font-size: 1rem; }
.team-card .role { color: var(--red); font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* ============ CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.6rem; }
.contact-icon { width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; background: var(--red); color: white; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; }
.contact-info-item h4 { margin: 0 0 0.2em 0; font-size: 0.98rem; }
.contact-info-item p, .contact-info-item a { margin: 0; color: var(--gray); text-decoration: none; }
.contact-info-item a:hover { color: var(--red); }
.form-field { margin-bottom: 1.1rem; }
.form-field label { display: block; font-weight: 600; font-size: 0.84rem; margin-bottom: 0.4em; }
.form-field input, .form-field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--gray-light); border-radius: var(--radius); font-family: 'Poppins', sans-serif; font-size: 0.94rem; background: white; }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--red); }

/* ============ CTA BAND ============ */
.cta-band { background: var(--red); color: white; text-align: center; padding: 68px 0; }
.cta-band h2 { color: white; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 500px; margin: 0 auto 1.8rem auto; }

/* ============ PAGE HEADER (inner pages) ============ */
.page-hero { background: var(--ink); color: white; padding: 64px 0 56px 0; border-bottom: 3px solid var(--red); }
.page-hero h1 { color: white; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.page-hero .kicker { color: #e7b7ab; }
.page-hero .kicker::before { background: #e7b7ab; }
.page-hero p { color: rgba(255,255,255,0.7); max-width: 540px; font-weight: 400; }

/* ============ FOOTER ============ */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.75); padding: 56px 0 22px 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; margin-bottom: 2.6rem; }
.footer-brand { font-weight: 700; font-size: 1.15rem; color: white; margin-bottom: 0.7rem; }
.footer-brand span { color: var(--red); }
.footer-col h4 { color: white; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.9rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.9rem; }
.footer-col a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.4rem; display: flex; justify-content: space-between; font-size: 0.78rem; color: rgba(255,255,255,0.5); flex-wrap: wrap; gap: 0.6rem; }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .service-row { grid-template-columns: 50px 1fr; }
  .service-row p { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav-links { position: fixed; top: 68px; left: 0; right: 0; background: white; flex-direction: column; padding: 1.5rem; gap: 1.2rem; border-bottom: 1px solid var(--gray-light); transform: translateY(-140%); transition: transform 0.25s ease; }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: block; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { transition: none; opacity: 1; transform: none; } }
