@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=IBM+Plex+Sans:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
  --white: #FFFFFF;
  --black: #181818;
  --red: #D62828;
  --red-dark: #b01e1e;
  --gray-light: #F6F6F4;
  --gray: #E8E8E5;
  --gray-mid: #B8B8B5;
  --text-muted: #5C5C5A;
  --shadow-soft: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-card: 0 4px 28px rgba(0,0,0,0.08);
  --radius: 14px;
  --transition: 0.28s ease;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'IBM Plex Sans', sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

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

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--black);
  text-decoration: none;
  letter-spacing: -0.04em;
}
.nav-logo span { color: var(--red); }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--black);
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--black);
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray);
  box-shadow: 0 8px 24px rgba(0,0,0,0.09);
  padding: 20px 24px 24px;
  z-index: 999;
}
.mobile-menu.open { display: block; }

.mobile-menu a {
  display: block;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--black);
  text-decoration: none;
  padding: 13px 0;
  border-bottom: 1px solid var(--gray);
  transition: color var(--transition);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--red); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 68px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('hero.jpg');
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(170deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.48) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 24px;
  max-width: 860px;
}

.kicker {
  display: inline-block;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(255,255,255,0.1);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 22px;
  border: 1px solid rgba(214,40,40,0.45);
}

.kicker-dark {
  display: inline-block;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6.5vw, 4.8rem);
  color: var(--white);
  margin-bottom: 22px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.28);
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.88);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 8px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: 0.93rem;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(214,40,40,0.32); }

.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.55); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.85); }

.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #333; transform: translateY(-1px); }

/* ===== SECTIONS ===== */
section { padding: 84px 24px; }

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.section-header { margin-bottom: 52px; }

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  color: var(--black);
  margin-bottom: 14px;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.85;
}

/* ===== CARDS ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--gray);
}
.card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,0,0,0.12); }

.card-img { width: 100%; height: 200px; object-fit: cover; }

.card-body { padding: 28px; }

.card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.card h3 { font-size: 1.25rem; margin-bottom: 11px; color: var(--black); }

.card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 20px; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--black);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}
.card-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.card-link:hover::after { transform: scaleX(1); }

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 128px 24px 72px;
  background: var(--gray-light);
  border-bottom: 1px solid var(--gray);
}
.page-hero-inner { max-width: 860px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 18px; }
.page-hero .lead { font-size: 1.12rem; color: var(--text-muted); line-height: 1.85; max-width: 640px; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color var(--transition); }
.breadcrumb a:hover { color: var(--red); }

/* ===== CONTENT ===== */
.content-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}

.content-wrap h2 {
  font-size: 1.75rem;
  margin-top: 52px;
  margin-bottom: 16px;
  padding-top: 52px;
  border-top: 1px solid var(--gray);
}
.content-wrap h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }

.content-wrap h3 {
  font-size: 1.2rem;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--black);
}

.content-wrap p { margin-bottom: 20px; line-height: 1.9; }

.content-wrap ul,
.content-wrap ol {
  margin: 0 0 24px 22px;
}
.content-wrap li { margin-bottom: 8px; line-height: 1.8; }

.highlight-box {
  background: var(--gray-light);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 28px;
  margin: 32px 0;
}
.highlight-box p { margin: 0; font-style: italic; }

.img-float {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin: 36px 0;
}
.img-float img { width: 100%; height: 320px; object-fit: cover; }
.img-float figcaption {
  padding: 13px 20px;
  background: var(--gray-light);
  font-size: 0.82rem;
  color: var(--text-muted);
  border-top: 1px solid var(--gray);
}

/* ===== FEATURE GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 44px;
}

.feature-item {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--gray);
  transition: transform var(--transition);
}
.feature-item:hover { transform: translateY(-3px); }

.feature-icon {
  width: 46px; height: 46px;
  background: var(--red);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.feature-item h3 { font-size: 1rem; margin-bottom: 8px; }
.feature-item p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }

/* ===== CTA BAND ===== */
.cta-band {
  background: var(--black);
  color: var(--white);
  padding: 84px 24px;
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.75rem, 4vw, 2.4rem); margin-bottom: 16px; }
.cta-band p { font-size: 1.05rem; color: rgba(255,255,255,0.68); max-width: 520px; margin: 0 auto 32px; }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray);
  border-radius: 8px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--black);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--black); }

.form-group textarea { height: 148px; resize: vertical; }

.contact-info-block { margin-bottom: 28px; }
.contact-info-block h3 { font-size: 1rem; margin-bottom: 8px; }
.contact-info-block p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.75; }

/* ===== TEAM ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 36px;
}
.team-card {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--gray);
}
.team-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 auto 16px;
}
.team-card h3 { font-size: 1rem; margin-bottom: 5px; }
.team-card p { font-size: 0.82rem; color: var(--text-muted); }

/* ===== FOOTER ===== */
footer {
  background: var(--gray-light);
  border-top: 1px solid var(--gray);
  padding: 64px 24px 36px;
}
.footer-inner { max-width: 1180px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-top: 12px;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
  padding-bottom: 1px;
  transition: color var(--transition);
}
.footer-col a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--red);
  transition: width var(--transition);
}
.footer-col a:hover { color: var(--black); }
.footer-col a:hover::after { width: 100%; }

.footer-bottom {
  border-top: 1px solid var(--gray);
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }

/* ===== FAQ ===== */
.faq-item {
  border-bottom: 1px solid var(--gray);
  padding: 24px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { font-size: 1.05rem; margin-bottom: 10px; }
.faq-item p { font-size: 0.93rem; color: var(--text-muted); line-height: 1.8; }

/* ===== INLINE LINK ===== */
.link-underline {
  position: relative;
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
  padding-bottom: 2px;
}
.link-underline::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.link-underline:hover::after { transform: scaleX(1); }

/* ===== BG-ALT ===== */
.bg-alt { background: var(--gray-light); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  section { padding: 60px 20px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.2rem; }
}
