/* ============================================================
   Lab7 Technologies — style.css
   Brand: Helvetica Neue LT (headings) + Open Sans (body)
   Colors: blue #013289 / red #aa0023 / gray #444444
   ============================================================ */

@font-face {
  font-family: 'Helvetica Neue LT';
  src: url('../fonts/HelveticaNeueLT.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica Neue LT';
  src: url('../fonts/HelveticaNeueLTB.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #013289;
  --blue-deep: #01235e;
  --blue-bright: #1e50d2;
  --red: #aa0023;
  --red-bright: #d32f2f;
  --ink: #14161c;
  --gray: #444444;
  --muted: #6b7280;
  --line: #e6e9f0;
  --bg-soft: #f5f7fb;
  --white: #ffffff;
  --radius: 14px;
  --shadow-sm: 0 1px 3px rgba(1, 50, 137, 0.06);
  --shadow-md: 0 10px 30px rgba(1, 50, 137, 0.10);
  --font-head: 'Helvetica Neue LT', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; color: var(--blue-deep); font-weight: 700; letter-spacing: -0.01em; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--red); }

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

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem;
  padding: 13px 26px; border-radius: 8px; border: 1px solid transparent;
  cursor: pointer; transition: all .18s ease; white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); color: #fff; }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-accent { background: var(--red); color: #fff; }
.btn-accent:hover { background: #7c0018; color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92); backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; }
.brand svg { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { font-family: var(--font-head); font-weight: 700; font-size: 0.92rem; color: var(--gray); }
.nav-links a:hover { color: var(--red); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; padding: 0; }

/* ---------- Hero (particle canvas) ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; justify-content: center; text-align: center; background: radial-gradient(ellipse at center, #0d2a6b 0%, #06163d 55%, #030b1f 100%); overflow: hidden; }
.hero canvas { position: absolute; inset: 0; display: block; }
.hero-inner { position: relative; z-index: 2; padding: 96px 0 88px; }
.eyebrow {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: #9db8ff;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: #ff5b6b; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 820px; margin: 20px auto 22px; color: #fff; }
.hero h1 .accent { color: #ff5b6b; }
.hero p.lead { font-size: 1.18rem; color: rgba(255,255,255,0.85); max-width: 640px; margin: 0 auto 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero .eyebrow, .hero h1, .hero p.lead, .hero-actions { opacity: 0; transform: translateY(30px); animation: heroUp .9s cubic-bezier(.2,.7,.2,1) forwards; }
.hero h1 { animation-delay: .1s; }
.hero p.lead { animation-delay: .2s; }
.hero-actions { animation-delay: .3s; }
@keyframes heroUp { to { opacity: 1; transform: none; } }

/* ---------- Clients strip ---------- */
.clients { border-bottom: 1px solid var(--line); background: #fff; }
.clients-inner { padding: 30px 0; }
.clients-label { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; text-align: center; }
.clients-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 56px; align-items: center; }
.client { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--gray); letter-spacing: -0.01em; }

/* ---------- Section scaffolding ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-soft); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { font-family: var(--font-head); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 14px; }
.section-head p { color: var(--gray); font-size: 1.06rem; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(1,50,137,0.25); }
.service-icon { width: 48px; height: 48px; border-radius: 10px; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: var(--blue); }
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.service-card p { color: var(--gray); font-size: 0.96rem; }
.service-card .num { font-family: var(--font-head); font-weight: 700; color: var(--red); font-size: 0.85rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.about-grid p { color: var(--gray); font-size: 1.05rem; margin-bottom: 16px; }
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.stat .value { font-family: var(--font-head); font-weight: 700; font-size: 2.2rem; color: var(--blue); }
.stat .label { font-size: 0.9rem; color: var(--muted); }
.stat .value .red { color: var(--red); }

/* ---------- Research band ---------- */
.research-band { background: var(--blue-deep); color: #fff; }
.research-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding: 56px 0; }
.research-inner h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.research-inner p { color: rgba(255,255,255,0.78); max-width: 560px; }
.research-num { display: flex; align-items: baseline; gap: 6px; }
.research-num .big { font-family: var(--font-head); font-weight: 700; font-size: 4rem; color: #fff; }
.research-num .plus { font-family: var(--font-head); font-weight: 700; font-size: 2rem; color: var(--red-bright); }

/* ---------- Approach ---------- */
.approach-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding: 26px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step .idx { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--red); margin-bottom: 12px; }
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--gray); font-size: 0.92rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 18px 22px; font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--blue-deep); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--red); line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 22px 18px; color: var(--gray); margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 32px; box-shadow: var(--shadow-sm); }
.contact-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-row:last-child { border-bottom: 0; }
.contact-row .ic { flex: 0 0 40px; height: 40px; border-radius: 9px; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; color: var(--blue); }
.contact-row .ic svg { width: 20px; height: 20px; }
.contact-row .k { font-family: var(--font-head); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.contact-row .v { color: var(--ink); font-size: 1rem; }
.contact-row .v a { color: var(--blue); }
.contact-row .v a:hover { color: var(--red); }
.contact-note { color: var(--muted); font-size: 0.9rem; margin-top: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: #0b1220; color: rgba(255,255,255,0.7); padding: 56px 0 28px; }
.footer-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 36px; }
.footer-brand img { height: 44px; width: auto; opacity: 0.9; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 0.92rem; }
.footer-links a:hover { color: #fff; }
.footer-dynamico { font-size: 0.9rem; color: rgba(255,255,255,0.55); }
.footer-dynamico a { color: #fff; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.85rem; }
.footer-bottom .socials { display: flex; gap: 16px; }
.footer-bottom .socials a { color: rgba(255,255,255,0.7); }
.footer-bottom .socials a:hover { color: #fff; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .approach-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: #fff; padding: 20px 24px; gap: 18px; border-bottom: 1px solid var(--line); }
  .services-grid, .approach-grid, .about-stats { grid-template-columns: 1fr; }
  .hero-inner { padding: 64px 0 60px; }
  .section { padding: 60px 0; }
  .research-inner { flex-direction: column; align-items: flex-start; }
}
