/* =============================================================
   NEOSTRATEGIA — Landing page stylesheet
   Brand: teal #0E7495 · magenta #D44089 · Nunito
   ============================================================= */

/* -------- Reset & Base -------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Nunito', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* -------- Tokens -------- */
:root {
  --teal: #0E7495;
  --teal-dark: #0A5770;
  --teal-deep: #052E3D;
  --magenta: #D44089;
  --magenta-dark: #A82D6C;

  --ink: #1A1D22;
  --ink-soft: #4A525C;
  --muted: #8892A0;
  --line: #E6E9EE;
  --bg: #FFFFFF;
  --bg-alt: #F7F8FA;
  --bg-cream: #FAF6F2;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(5, 46, 61, 0.04);
  --shadow: 0 8px 32px rgba(5, 46, 61, 0.08);
  --shadow-lg: 0 20px 60px rgba(5, 46, 61, 0.12);

  --header-h: 72px;
  --container-max: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; padding: 0; }
ul { list-style: none; padding: 0; margin: 0; }

/* -------- Layout utilities -------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* -------- Skip link -------- */
.skip {
  position: absolute;
  top: -100px;
  left: 8px;
  background: var(--teal);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 1000;
  font-weight: 700;
  transition: top 0.2s;
}
.skip:focus { top: 8px; }

/* -------- Logo (image) -------- */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}
.logo-img {
  display: block;
  height: 52px;
  width: auto;
  transition: opacity 0.2s;
}
.logo:hover .logo-img { opacity: 0.85; }

.footer-logo {
  display: block;
  height: 44px;
  width: auto;
}

/* -------- Header -------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  z-index: 100;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
}
.site-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  margin-right: 8px;
}
.site-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 6px 0;
  position: relative;
  transition: color 0.2s;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--magenta);
  transition: right 0.25s ease;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 16px; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
}
.lang-btn {
  color: var(--muted);
  transition: color 0.2s;
  letter-spacing: 0.04em;
}
.lang-btn.active { color: var(--teal); }
.lang-btn:hover { color: var(--ink); }
.lang-sep { color: var(--line); font-weight: 400; }

/* Mobile menu button */
.menu-btn {
  display: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.25s;
}

/* -------- Hero -------- */
.hero {
  padding: clamp(56px, 10vw, 120px) 0 clamp(48px, 8vw, 96px);
  background:
    radial-gradient(ellipse 80% 60% at 85% -10%, rgba(212, 64, 137, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 50% at 5% 20%, rgba(14, 116, 149, 0.06), transparent 60%),
    var(--bg);
  position: relative;
  overflow: hidden;
}
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--teal);
  margin: 0 0 28px;
}
.hero-title {
  font-weight: 900;
  font-size: clamp(38px, 6.8vw, 86px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 36px;
  max-width: 16ch;
}
.hero-title .line {
  display: block;
  color: var(--ink);
}
.hero-title .line.accent {
  color: var(--magenta);
}
.hero-lede {
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 58ch;
  margin: 0 0 44px;
  font-weight: 400;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform 0.15s, background 0.2s, color 0.2s, box-shadow 0.2s;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 6px 20px rgba(14, 116, 149, 0.22);
}
.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(14, 116, 149, 0.3);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

/* Hero meta row */
.hero-meta {
  margin-top: clamp(56px, 9vw, 96px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.meta-item { display: flex; flex-direction: column; gap: 6px; }
.meta-k {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.meta-v {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

/* -------- Section primitives -------- */
.section-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--magenta);
  margin: 0 0 20px;
}
.section-eyebrow.light { color: rgba(255, 255, 255, 0.75); }
.section-title {
  font-weight: 900;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
  max-width: 22ch;
  color: var(--ink);
}
.section-title.light { color: #fff; }

/* -------- Mission -------- */
.mission {
  padding: clamp(72px, 10vw, 128px) 0;
  background: var(--bg-alt);
}
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.mission-intro .section-title { margin-bottom: 0; }
.mission-cards {
  display: grid;
  gap: 20px;
}
.mission-card {
  background: #fff;
  padding: 32px 32px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.mission-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.mission-card h3 {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin: 0 0 14px;
}
.mission-card p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
  font-weight: 400;
}

/* -------- Pillars -------- */
.pillars {
  padding: clamp(72px, 10vw, 128px) 0;
  background: var(--bg);
}
.pillars-head {
  max-width: 620px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.pillar {
  background: #fff;
  padding: clamp(28px, 4vw, 48px);
  transition: background 0.3s;
  position: relative;
  min-height: 260px;
}
.pillar:hover { background: var(--bg-alt); }
.pillar-num {
  display: block;
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--teal);
  margin-bottom: 24px;
  transition: color 0.3s, transform 0.3s;
}
.pillar:hover .pillar-num {
  color: var(--magenta);
  transform: translateX(4px);
}
.pillar h3 {
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  color: var(--ink);
  line-height: 1.25;
}
.pillar p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

/* -------- Sectors -------- */
.sectors {
  padding: clamp(72px, 10vw, 128px) 0;
  background: var(--bg-cream);
}
.sectors-lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 0 40px;
}
.sector-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.sector-list li {
  padding: 10px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}
.sector-list li:hover {
  border-color: var(--magenta);
  color: var(--magenta);
  transform: translateY(-1px);
}

/* -------- Founder -------- */
.founder {
  padding: clamp(72px, 10vw, 128px) 0;
  background: var(--bg);
}
.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.founder-role {
  font-size: 16px;
  color: var(--ink-soft);
  font-weight: 600;
  margin: 0;
}
.founder-intro .section-title { margin-bottom: 16px; }
.founder-body p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 18px;
}
.founder-body p:last-of-type {
  color: var(--ink-soft);
  font-size: 16px;
}
.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--teal);
  font-weight: 700;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: color 0.2s;
}
.linkedin-link:hover { color: var(--magenta); }

/* -------- Contact -------- */
.contact {
  padding: clamp(72px, 10vw, 128px) 0;
  background: var(--teal-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 64, 137, 0.18), transparent 70%);
  pointer-events: none;
}
.contact .container { position: relative; }
.contact-lede {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 56ch;
  margin: 0 0 48px;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
}
.contact-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--magenta);
  transform: translateY(-2px);
}
.contact-k {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.6);
}
.contact-v {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  word-break: break-word;
}

/* -------- Footer -------- */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-tag {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}
.footer-legal {
  font-size: 13px;
  color: var(--muted);
}
.footer-legal a {
  color: var(--muted);
  transition: color 0.2s;
}
.footer-legal a:hover {
  color: var(--magenta);
}

/* -------- Reveal on scroll -------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================================
   Responsive
   ============================================================= */
@media (max-width: 900px) {
  .mission-grid,
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pillars-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-meta { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 720px) {
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 24px var(--gutter);
    gap: 16px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    margin: 0;
  }
  .site-nav.open { transform: translateY(0); }
  .site-nav a { font-size: 18px; padding: 10px 0; }
  .menu-btn { display: flex; }
  .menu-btn.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-btn.open span:nth-child(2) { opacity: 0; }
  .menu-btn.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
