/* ===========================================================
   Verativa — single page
   Brand navy #162850 · clean corporate aesthetic
   =========================================================== */

:root {
  --navy: #162850;
  --navy-deep: #122144;
  --ink: #1b2a4e;
  --muted: #5b6783;
  --muted-light: #c8d2e6;
  --accent: #2a5bb0;
  --line: #e7eaf1;
  --white: #ffffff;
  --bg: #ffffff;

  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 48px);

  --font-display: "Poppins", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad);
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-icon { width: 30px; height: 30px; border-radius: 7px; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--navy);
  letter-spacing: .2px;
}
.main-nav {
  display: flex;
  gap: 40px;
}
.main-nav a {
  font-size: .95rem;
  color: var(--muted);
  font-weight: 500;
  transition: color .2s ease;
}
.main-nav a:hover { color: var(--navy); }

/* ===== Hero ===== */
.hero { padding: clamp(48px, 9vw, 110px) 0 clamp(60px, 10vw, 120px); }
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}
.hero-logo img {
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
}
.hero-copy h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 6.2vw, 5rem);
  line-height: 1.02;
  letter-spacing: -1.5px;
  color: var(--navy);
  margin: 0 0 1.4rem;
}
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  color: var(--muted);
  max-width: 30ch;
  margin: 0;
}

/* ===== Simulate / Analyze ===== */
.simulate {
  background: var(--navy);
  color: var(--white);
  padding: clamp(60px, 9vw, 110px) 0 clamp(70px, 10vw, 120px);
}
.section-title {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.18;
  margin: 0 0 clamp(40px, 6vw, 70px);
}
.section-title .ul {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
  text-decoration-color: rgba(255, 255, 255, 0.85);
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(28px, 4vw, 56px);
  max-width: 1000px;
  margin-inline: auto;
}
.card-media {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.55);
  margin-bottom: 26px;
}
.card-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.card:hover .card-media img { transform: scale(1.04); }
.card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  margin: 0 0 .55rem;
  color: #fff;
}
.card p {
  margin: 0;
  color: var(--muted-light);
  font-size: .98rem;
  max-width: 42ch;
}

/* ===== Team ===== */
.team { padding: clamp(64px, 9vw, 120px) 0; }
.team-inner { text-align: center; }
.overline {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 .8rem;
}
.team-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.2rem, 5.4vw, 4rem);
  letter-spacing: -1px;
  color: var(--navy);
  margin: 0 0 2rem;
}
.btn-linkedin {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-weight: 500;
  font-size: .98rem;
  padding: 14px 30px;
  border-radius: 8px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: 0 10px 24px -12px rgba(22, 40, 80, 0.7);
}
.btn-linkedin:hover {
  background: #1d3568;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -12px rgba(22, 40, 80, 0.6);
}

.team-grid {
  list-style: none;
  margin: clamp(48px, 7vw, 84px) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(32px, 5vw, 70px) clamp(40px, 6vw, 90px);
}
.member {
  width: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.member-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--navy);
  margin: 0 0 .15rem;
  order: -1;            /* name + role appear above photo, matching source */
}
.member-role {
  font-style: italic;
  color: var(--muted);
  font-size: .95rem;
  margin: 0 0 1.4rem;
  order: -1;
}
.member-photo {
  width: 200px;
  border-radius: 14px;
  overflow: hidden;
  background: #f3f4f7;
  box-shadow: 0 18px 40px -22px rgba(22, 40, 80, 0.4);
}
.member-photo img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  transition: transform .5s ease;
}
.member:hover .member-photo img { transform: scale(1.05); }

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--line);
  padding-top: clamp(48px, 7vw, 80px);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.4fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  padding-bottom: clamp(40px, 6vw, 60px);
}
.footer-brand img { width: 180px; }
.footer-links h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 1.2rem;
  font-size: 1.05rem;
}
.footer-links a {
  display: block;
  color: var(--muted);
  margin-bottom: .9rem;
  transition: color .2s ease;
}
.footer-links a:hover { color: var(--navy); }

.footer-form label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}
.footer-form .field {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  max-width: 360px;
  transition: border-color .2s ease;
}
.footer-form .field:focus-within { border-color: var(--accent); }
.footer-form input {
  flex: 1;
  border: 0;
  padding: 13px 16px;
  font: inherit;
  color: var(--ink);
  background: transparent;
  outline: none;
}
.footer-form button {
  border: 0;
  background: var(--navy);
  color: #fff;
  padding: 0 20px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background .2s ease;
}
.footer-form button:hover { background: #1d3568; }
.form-note {
  color: var(--muted);
  font-size: .82rem;
  margin: .8rem 0 0;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 28px;
}
.copyright { color: var(--muted); font-size: .9rem; margin: 0; }
.social {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--navy);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.social:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-logo { order: -1; }
  .hero-sub { margin-inline: auto; }
  .cards { grid-template-columns: 1fr; max-width: 480px; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .main-nav { gap: 22px; }
  .team-grid { gap: 40px; }
}
