/* Self-hosted Google Fonts subsets (latin + latin-ext): Montserrat 600–800, Open Sans 400,600 */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/montserrat-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/montserrat-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/montserrat-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/montserrat-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/montserrat-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/montserrat-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/opensans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/opensans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/opensans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/opensans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================================
   NATHAN SOFT — Stylesheet 2.0
   Aplicando la guía oficial de marca (C:\Nathan\logo\README.md):
     • 60% azul marino / blanco · 25% azul · 10% grises · 5% rojo
     • Tipografía: Montserrat (títulos) · Open Sans (cuerpo)
     • Inspiración limpia: Periferia IT · Assist · SII · Globant
   ========================================================= */

:root {
  /* Brand palette */
  --navy:       #0A2540;
  --wave:       #0D4F8B;
  --wave-light: #1366B1;
  --silver:     #A6ABB4;
  --charcoal:   #303841;
  --white:      #FFFFFF;
  --accent:     #D71920;

  /* Surfaces */
  --bg:         #FFFFFF;
  --surface:    #F7F9FC;
  --surface-2:  #EEF2F8;
  --line:       #E3E8F0;
  --line-2:     #D2DAE6;

  /* Text */
  --text:       #1B2A40;
  --text-muted: #5A6B80;
  --text-soft:  #8794A8;

  /* Effects */
  --shadow-sm:  0 1px 2px rgba(15, 32, 63, .06);
  --shadow-md:  0 12px 30px rgba(15, 32, 63, .08);
  --shadow-lg:  0 30px 60px rgba(15, 32, 63, .12);
  --radius:     12px;
  --radius-lg:  18px;
  --container:  1200px;
  --header-h:   72px;
  --ease:       cubic-bezier(.2,.7,.3,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--wave); text-decoration: none; }
a:hover { color: var(--wave-light); }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--wave); outline-offset: 3px; border-radius: 6px; }

h1,h2,h3,h4,h5 {
  font-family: 'Montserrat', system-ui, sans-serif;
  color: var(--navy);
  letter-spacing: 0;
  line-height: 1.18;
  margin: 0 0 .55em;
}
h1 { font-weight: 800; font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h2 { font-weight: 800; font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
h3 { font-weight: 700; font-size: 1.18rem; }
h4 { font-weight: 700; font-size: .95rem; letter-spacing: .04em; }
p  { margin: 0 0 1em; color: var(--text-muted); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--wave); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 999;
}
.skip-link:focus { left: 16px; }

.eyebrow {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--wave);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; display: inline-block; width: 22px; height: 2px;
  background: var(--accent); vertical-align: middle; margin-right: 8px;
}

.muted { color: var(--text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  border-radius: 10px;
  padding: 13px 22px;
  font-size: .92rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .2s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--wave);
  color: #fff;
  box-shadow: 0 6px 16px rgba(13, 79, 139, .22);
}
.btn-primary:hover { background: var(--wave-light); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(13, 79, 139, .28); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--line-2);
}
.btn-outline:hover { background: var(--surface); border-color: var(--wave); color: var(--navy); }

.btn-ghost-light {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.16); color: #fff; }

.btn-sm { padding: 9px 16px; font-size: .85rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  color: var(--wave);
}
.link-arrow:hover { color: var(--wave-light); }
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 18px rgba(15,32,63,.05);
}
.header-inner {
  display: flex; align-items: center; gap: 16px;
  height: var(--header-h);
}
.brand {
  display: inline-flex; align-items: center;
  text-decoration: none; color: var(--navy);
  flex: none;
}
.brand picture {
  display: block;
  width: 143px;
  height: 40px;
  flex-shrink: 0;
}
.brand-footer picture {
  display: block;
  width: 129px;
  height: 36px;
}
.brand img.brand-logo {
  width: 100%;
  height: 100%;
  max-width: none;
  aspect-ratio: 200 / 56;
  object-fit: contain;
  display: block;
}
.brand-footer img.brand-logo {
  width: 100%;
  height: 100%;
  max-width: none;
  aspect-ratio: 200 / 56;
  object-fit: contain;
  display: block;
}
.site-footer .brand img.brand-logo { filter: none; }

.primary-nav { margin-left: auto; }
.primary-nav ul {
  display: flex; gap: 2px;
  list-style: none; padding: 0; margin: 0;
  white-space: nowrap;
}
.primary-nav a {
  display: inline-block;
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background-color .2s var(--ease);
}
.primary-nav a:hover { color: var(--navy); background: var(--surface); }
.primary-nav a.is-active { color: var(--navy); }
.primary-nav a.is-active::after {
  content: ""; display: block; height: 2px; background: var(--accent);
  width: 22px; margin: 4px auto 0;
}

.header-actions { display: flex; align-items: center; gap: 8px; }

/* Lang switch */
.lang-switch { position: relative; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-2);
  padding: 7px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .8rem;
}
.lang-toggle:hover { background: var(--surface); }
.lang-toggle .caret { font-size: .65rem; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 6px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  list-style: none; padding: 6px; margin: 0;
  min-width: 170px;
  box-shadow: var(--shadow-md);
  display: none;
  z-index: 80;
}
.lang-switch.open .lang-menu { display: block; }
.lang-menu li {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--text);
  font-size: .9rem;
  cursor: pointer;
}
.lang-menu li:hover, .lang-menu li[aria-selected="true"] {
  background: var(--surface);
  color: var(--navy);
}

/* Hamburger */
.hamburger {
  display: none;
  width: 38px; height: 38px;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.hamburger span { width: 18px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  color: #fff;
  padding: clamp(64px, 9vw, 110px) 0 clamp(72px, 8vw, 110px);
  background-color: #0A2540;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-color: #0A2540;
}
.hero-bg picture {
  display: block;
  position: absolute;
  inset: 0;
}
.hero-bg .hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  background-image: linear-gradient(135deg, rgba(10,37,64,.92) 0%, rgba(13,79,139,.78) 60%, rgba(10,37,64,.92) 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(60rem 40rem at 100% -10%, rgba(19,102,177,.35), transparent 60%),
    radial-gradient(40rem 30rem at 0% 20%, rgba(13,79,139,.4), transparent 60%);
}
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px; height: 60px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
  z-index: 1;
}
.hero h1, .hero h2 { color: #fff; }
.hero p { color: rgba(255,255,255,.78); }
.hero .eyebrow { color: #6aa6e2; }
.hero .eyebrow::before { background: var(--accent); }

.hero .container { position: relative; z-index: 2; }
.hero-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}
.hero-title {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 0.35em;
}
.hero-title-brand {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6aa6e2;
}
.hero-title-lines {
  display: flex;
  flex-direction: column;
  gap: 0.02em;
  line-height: 1.12;
}
.hero-title-lines > span {
  display: block;
}
.hero-title .accent {
  background: linear-gradient(90deg, #6aa6e2, #c5dbf3);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 1.08rem;
  max-width: 60ch;
  color: rgba(255,255,255,.78);
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 0; }

/* Hero stats — minimal & inline, no neon */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stats > div { display: flex; flex-direction: column; gap: 2px; }
.hero-stats strong {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.4rem, 1.8vw, 1.7rem);
  font-weight: 800;
  color: #fff;
}
.hero-stats span { color: rgba(255,255,255,.6); font-size: .82rem; }

/* Hero highlight card (replaces showcase image) */
.hero-card {
  position: relative;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
}
@media (min-width: 881px) {
  .hero-card {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
}
.hero-card h2 { color: #fff; font-size: 1.15rem; margin-bottom: 14px; font-weight: 700; }
.hero-card .pillars { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.hero-card .pillars li { display: flex; gap: 12px; align-items: flex-start; }
.hero-card .pillar-icon {
  flex: none; width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,.12); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.18);
}
.hero-card .pillar-text strong { display: block; color: #fff; font-family: 'Montserrat',sans-serif; font-size: .95rem; }
.hero-card .pillar-text span { color: rgba(255,255,255,.7); font-size: .85rem; }

.section-alt { background: var(--surface); }
.section-dark {
  background:
    radial-gradient(40rem 30rem at 80% 100%, rgba(19,102,177,.28), transparent 60%),
    linear-gradient(180deg, #0A2540, #0d2c4d);
  color: #fff;
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,.78); }
.section-dark .eyebrow { color: #6aa6e2; }

.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head p { font-size: 1.05rem; }

/* Page hero (small) — móvil: imagen liviana; escritorio: WebP completa */
.page-hero {
  position: relative; overflow: hidden;
  color: #fff;
  padding: calc(var(--header-h) + 28px) 0 56px;
  background-color: #0A2540;
  background-image:
    linear-gradient(135deg, rgba(10,37,64,.96) 0%, rgba(10,37,64,.92) 60%, rgba(13,79,139,.92) 100%),
    url('../img/hero-ocean-mobile.webp');
  background-size: cover;
  background-position: center;
}
@media (min-width: 881px) {
  .page-hero {
    background-image:
      linear-gradient(135deg, rgba(10,37,64,.96) 0%, rgba(10,37,64,.92) 60%, rgba(13,79,139,.92) 100%),
      url('../img/hero-ocean.webp');
  }
}
.page-hero::after {
  content: ""; position: absolute; right: -20%; top: -40%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(19,102,177,.28), transparent 60%);
  pointer-events: none;
}
@media (min-width: 881px) {
  .page-hero::after {
    filter: blur(20px);
  }
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p {
  color: rgba(255,255,255,.95);
  max-width: 60ch;
  margin: 0 auto;
  font-size: 1.05rem;
  text-shadow: 0 1px 12px rgba(0,0,0,.35);
}
.page-hero.center { text-align: center; }

/* Eyebrow on dark hero — chip de alta legibilidad */
.page-hero .eyebrow {
  color: #ffffff;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.22);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.page-hero .eyebrow::before {
  background: var(--accent);
}

/* Breadcrumbs visibles sobre fondo navy */
.breadcrumbs {
  font-family: 'Montserrat', sans-serif;
  font-size: .82rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 14px;
}
.breadcrumbs a { color: #c5dbf3; text-decoration: none; }
.breadcrumbs a:hover { color: #ffffff; }
.breadcrumbs span { color: rgba(255,255,255,.55); margin: 0 4px; }

/* Section-dark eyebrow + p igualmente legibles */
.section-dark .eyebrow {
  color: #ffffff;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.22);
  padding: 7px 14px;
  border-radius: 999px;
}
.section-dark p { color: rgba(255,255,255,.92); }

/* ---------- Cards grid ---------- */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--line-2);
  box-shadow: var(--shadow-md);
}
.card h2,
.card h3 { color: var(--navy); }
.card p { color: var(--text-muted); }

.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e8f0fb, #f3f7fc);
  color: var(--wave);
  margin-bottom: 18px;
  border: 1px solid #dde7f5;
}
.card-icon.accent {
  background: linear-gradient(135deg, #fde7e8, #fdf3f4);
  color: var(--accent);
  border-color: #f7c9cc;
}

.check-list { padding: 0; list-style: none; margin: 14px 0 0; }
.check-list li {
  position: relative; padding-left: 22px; color: var(--text-muted);
  margin-bottom: 6px; font-size: .92rem;
}
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 12px; height: 8px;
  border-left: 2px solid var(--wave);
  border-bottom: 2px solid var(--wave);
  transform: rotate(-45deg);
}

/* ---------- Industries ---------- */
.industries {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.industry {
  padding: 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.industry:hover { border-color: var(--wave); transform: translateY(-2px); }
.industry-num {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 8px;
}
.industry h2,
.industry h3 { font-size: 1.1rem; margin-bottom: 6px; }
.industry p { font-size: .92rem; margin: 0; }

/* ---------- Products ---------- */
.product-card { padding-top: 22px; }
.badge {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--wave);
  background: #eaf2fb;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid #d4e3f5;
  margin-bottom: 14px;
}
.badge.accent { color: var(--accent); background: #fde7e8; border-color: #f7c9cc; }

/* ---------- Founder (compact) ---------- */
.founder {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.founder-avatar {
  width: 200px; height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0A2540, #0D4F8B);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  border: 4px solid #fff;
  box-shadow: var(--shadow-md);
}
.founder-avatar span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800; color: #fff;
  font-size: 4rem; letter-spacing: .04em;
}
.founder-avatar::after {
  content: ""; position: absolute; right: 6px; bottom: 6px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent); border: 3px solid #fff;
}
.founder .founder-name {
  margin: 0 0 4px;
  font-size: 1.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.18;
}
.founder .role {
  font-family: 'Montserrat', sans-serif;
  color: var(--wave); font-weight: 600; margin-bottom: 12px;
  font-size: .95rem;
}
.founder-bio { margin-bottom: 14px; max-width: 60ch; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li {
  font-family: 'Montserrat', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--text);
  background: #fff;
}
.founder-actions { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- About values ---------- */
.values {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 12px;
}
.values li {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.values strong { display: block; color: var(--navy); font-family: 'Montserrat', sans-serif; margin-bottom: 4px; }
.values span { color: var(--text-muted); font-size: .9rem; }

.value-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: #eaf2fb; color: var(--wave);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background:
    radial-gradient(40rem 30rem at 90% 100%, rgba(19,102,177,.5), transparent 60%),
    linear-gradient(135deg, #0A2540, #0d2c4d);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 28px;
  align-items: center;
}
.cta-banner h2 { color: #fff; margin: 0 0 6px; }
.cta-banner p { color: rgba(255,255,255,.78); margin: 0; max-width: 60ch; }
.cta-banner .actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: start;
}
.contact-info { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.contact-info li { display: flex; align-items: center; gap: 12px; }
.ci-icon {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: #eaf2fb;
  color: var(--wave);
  flex: none;
}
.contact-info a { color: var(--navy); font-weight: 600; }

/* Form */
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: .88rem; color: var(--text); font-weight: 600; font-family: 'Montserrat', sans-serif; }
.contact-form label.check { flex-direction: row; align-items: flex-start; gap: 10px; color: var(--text-muted); font-size: .85rem; font-weight: 400; font-family: 'Open Sans', sans-serif; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: 11px 14px;
  color: var(--text);
  font-family: 'Open Sans', sans-serif;
  font-size: .95rem;
  font-weight: 400;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--wave);
  box-shadow: 0 0 0 3px rgba(13,79,139,.12);
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a6b80' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px;
  padding-right: 34px;
}

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.form-status { margin: 0; font-size: .9rem; min-height: 1.2em; }
.form-status.error { color: var(--accent); }
.form-status.success { color: #1a8754; }

.btn .loader {
  display: none;
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.btn.loading .loader { display: inline-block; }
.btn.loading { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: #fafbfd;
  padding: 56px 0 24px;
  color: var(--text-muted);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 40px;
}
.footer-tag { max-width: 38ch; margin: 8px 0 0; }
.footer-cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.footer-cols .footer-col-title {
  font-family: 'Montserrat', sans-serif;
  font-size: .76rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin: 0 0 12px;
  font-weight: 700;
}
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-cols a { color: var(--text); }
.footer-cols a:hover { color: var(--navy); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 36px; padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--text-soft); font-size: .84rem;
  flex-wrap: wrap; gap: 8px;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transition: opacity .35s var(--ease); }
.reveal.visible { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; text-align: center; padding: 28px; }
  .founder-avatar { margin: 0 auto; }
  .cta-banner { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
  .site-header {
    background: rgba(255, 255, 255, 0.98);
    z-index: 200;
  }
  .site-header.scrolled {
    background: #fff;
  }
  .header-actions {
    position: relative;
    z-index: 220;
  }
  .primary-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    bottom: 0;
    width: 100%;
    max-width: none;
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 18px 18px 32px;
    margin: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
    z-index: 210;
    box-shadow: -8px 0 32px rgba(15, 32, 63, 0.12);
    will-change: transform;
  }
  .primary-nav ul { flex-direction: column; gap: 4px; white-space: normal; }
  .primary-nav a { display: block; padding: 14px 16px; border-radius: 10px; font-size: 1.02rem; }
  .nav-open .primary-nav { transform: translateX(0); }
  .nav-open {
    overflow: hidden;
    touch-action: none;
  }
  .nav-open .hamburger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-open .hamburger span:nth-child(2) { opacity: 0; }
  .nav-open .hamburger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .hamburger { display: inline-flex; position: relative; z-index: 221; }
  .header-actions .btn-sm { display: none; }
  .hero-stats { grid-template-columns: repeat(2,1fr); gap: 14px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 520px) {
  .footer-cols { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
