/* ═══════════════════════════════════════
   nosotros.css · Roch's
   ═══════════════════════════════════════ */

:root {
  --navy:  #07072B;
  --navy2: #183672;
  --teal:  #09AA93;
  --teal2: #0F6C80;
  --ice:   #A8D7E8;
  --bg:    #F6F8FB;
  --white: #ffffff;
  --ink:   #0E1720;
  --muted: rgba(14,23,32,.58);
  --card-shadow: 0 14px 32px rgba(0,0,0,.09);
  --radius: 20px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Arial', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
}

/* ── NAV ── */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1%;
  background-color: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .logo img {
  height: 50px;
  width: auto;
  margin-left: 60%;
}

nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 16px;
  padding: 7px 2px;
  border-radius: 5px;
  transition: background-color .3s, color .3s;
}

nav ul li a:hover {
  background-color: #66B2FF;
  color: #003366;
}

.nav-active {
  border-bottom: 2px solid var(--teal);
}

.menu-toggle {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 28px;
  color: #fff;
  position: absolute;
  top: 15px;
  right: 20px;
  z-index: 1100;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav ul {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: #13508b;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 10px 0;
  }

  nav ul.active {
    display: flex;
  }

  nav ul li {
    margin: 10px 0;
  }
}

/* ── HERO ── */
.ns-hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 60%, var(--teal2) 100%);
  padding: 80px 24px 110px;
  overflow: hidden;
}

.ns-hero__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(9,170,147,.18) 0%, transparent 65%);
  pointer-events: none;
}

.ns-hero__content {
  position: relative;
  max-width: 700px;
  margin: 0 auto 0 8%;
  text-align: left;
}

.ns-hero__tag {
  display: inline-block;
  background: rgba(9,170,147,.2);
  border: 1px solid rgba(9,170,147,.4);
  color: var(--ice);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.ns-hero__title {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.05;
  color: #F2F7FF;
  margin-bottom: 16px;
}

.ns-hero__accent {
  color: var(--ice);
}

.ns-hero__sub {
  font-size: 17px;
  color: rgba(242,247,255,.75);
  max-width: 520px;
}

.ns-hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}

.ns-hero__wave svg {
  width: 100%;
  height: 60px;
}

@media (max-width: 768px) {
  .ns-hero {
    padding: 60px 20px 90px;
  }

  .ns-hero__content {
    margin: 0;
  }

  .ns-hero__title {
    font-size: 34px;
  }
}

/* ── SHARED ── */
.ns-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}

.ns-title {
  font-size: 36px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 20px;
}

.ns-title--accent {
  color: var(--teal2);
}

.ns-section-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 8px;
}

.ns-section-head__line {
  flex: 1;
  max-width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(9,170,147,.4), transparent);
  border-radius: 999px;
}

.ns-section-head__title {
  font-size: 32px;
  font-weight: 900;
  color: var(--ink);
  white-space: nowrap;
}

.ns-section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 40px;
}

@media (max-width: 600px) {
  .ns-section-head__title {
    font-size: 24px;
    white-space: normal;
    text-align: center;
  }
}

/* ── HISTORIA ── */
.ns-story {
  background: var(--bg);
  padding: 70px 24px;
}

.ns-story__container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.ns-story__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ns-story__text p {
  font-size: 15px;
  color: var(--muted);
}

.ns-story__stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.ns-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 6px 18px rgba(0,0,0,.07);
}

.ns-stat__num {
  font-size: 26px;
  font-weight: 900;
  color: var(--teal2);
}

.ns-stat__txt {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.ns-story__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ns-story__img-wrap {
  position: relative;
  width: 100%;
  max-width: 460px;
}

.ns-story__img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  overflow: hidden;
  background: #dfe7f3;
  box-shadow: 0 18px 40px rgba(7, 7, 43, 0.18);
}

.ns-story__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ns-story__badge {
  position: absolute;
  right: -16px;
  bottom: -16px;
  background: linear-gradient(135deg, var(--teal), var(--teal2));
  color: #fff;
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 24px rgba(9,170,147,.3);
  z-index: 2;
}

.ns-story__badge-num {
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}

.ns-story__badge-txt {
  font-size: 11px;
  opacity: .85;
}

@media (max-width: 820px) {
  .ns-story__container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ns-story__visual {
    order: -1;
  }

  .ns-story__img-wrap {
    max-width: 100%;
  }

  .ns-story__badge {
    right: 12px;
    bottom: 12px;
  }
}

@media (max-width: 560px) {
  .ns-story__img-box {
    aspect-ratio: 16 / 11;
  }

  .ns-story__badge {
    padding: 12px 14px;
    border-radius: 14px;
  }

  .ns-story__badge-num {
    font-size: 22px;
  }

  .ns-story__badge-txt {
    font-size: 10px;
  }
}

/* ── FUNDADOR ── */
.ns-founder {
  background: var(--white);
  padding: 80px 24px;
}

.ns-founder__container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  align-items: center;
}

.ns-founder__photo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.ns-founder__photo-frame {
  width: 260px;
  height: 300px;
  border-radius: 24px;
  overflow: hidden;
  border: 3px solid rgba(9,170,147,.25);
  box-shadow: 0 20px 48px rgba(0,0,0,.12);
  position: relative;
}

.ns-founder__photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.ns-founder__photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #e8eef6, #d0dce8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.ns-founder__photo-placeholder span {
  font-size: 52px;
}

.ns-founder__name-card {
  text-align: center;
  background: var(--bg);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  padding: 14px 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
}

.ns-founder__name {
  font-size: 17px;
  font-weight: 900;
  color: var(--navy);
}

.ns-founder__role {
  font-size: 13px;
  color: var(--teal2);
  font-weight: 600;
  margin-top: 4px;
}

.ns-founder__text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ns-founder__text p {
  font-size: 15px;
  color: var(--muted);
}

.ns-founder__quote {
  font-size: 17px;
  font-style: italic;
  color: var(--navy2);
  border-left: 3px solid var(--teal);
  padding: 14px 20px;
  background: rgba(9,170,147,.05);
  border-radius: 0 12px 12px 0;
  line-height: 1.6;
  margin: 4px 0;
}

@media (max-width: 820px) {
  .ns-founder__container {
    grid-template-columns: 1fr;
  }

  .ns-founder__photo-frame {
    width: 200px;
    height: 240px;
  }
}

/* ── MISIÓN Y VISIÓN ── */
.ns-mv {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  padding: 70px 24px;
}

.ns-mv__container {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.ns-mv__card {
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ns-mv__card--mission {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
}

.ns-mv__card--vision {
  background: rgba(9,170,147,.12);
  border: 1px solid rgba(9,170,147,.25);
}

.ns-mv__icon {
  font-size: 32px;
}

.ns-mv__title {
  font-size: 22px;
  font-weight: 900;
  color: #F2F7FF;
}

.ns-mv__text {
  font-size: 15px;
  color: rgba(242,247,255,.72);
  line-height: 1.65;
}

@media (max-width: 640px) {
  .ns-mv__container {
    grid-template-columns: 1fr;
  }
}

/* ── VALORES ── */
.ns-values {
  background: var(--bg);
  padding: 70px 24px;
}

.ns-values__container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.ns-values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.ns-value-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 18px;
  padding: 28px 22px;
  box-shadow: var(--card-shadow);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform .2s, box-shadow .2s;
}

.ns-value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(0,0,0,.13);
}

.ns-value-card__icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: #F0FAFA;
  border: 1px solid rgba(9,170,147,.15);
  display: grid;
  place-items: center;
  font-size: 26px;
}

.ns-value-card__title {
  font-size: 16px;
  font-weight: 900;
  color: var(--navy);
}

.ns-value-card__text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 860px) {
  .ns-values__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .ns-values__grid {
    grid-template-columns: 1fr;
  }
}

/* ── MARCAS ── */
.ns-brands {
  background: var(--white);
  padding: 70px 24px;
}

.ns-brands__container {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
}

.ns-brands__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.ns-brand-pill {
  padding: 12px 26px;
  border-radius: 999px;
  border: 1.5px solid rgba(9,170,147,.3);
  background: rgba(9,170,147,.06);
  color: var(--teal2);
  font-weight: 700;
  font-size: 15px;
  transition: background .18s, transform .18s, border-color .18s;
  cursor: default;
}

.ns-brand-pill:hover {
  background: rgba(9,170,147,.14);
  border-color: var(--teal);
  transform: translateY(-2px);
}

/* ── FOOTER ── */
#footer {
  background-color: var(--navy);
  color: #f1f1f1;
  padding: 50px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
  text-align: center;
}

#footer h2 {
  font-size: 25px;
  margin-bottom: 25px;
  color: #fff;
  margin-top: -1%;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}

.social-links a img {
  width: 45px;
  height: 45px;
  transition: transform .3s;
}

.social-links a img:hover {
  transform: scale(1.15);
}

.footer-copy {
  font-size: 14px;
  color: #fff;
  margin-top: 20px;
  margin-bottom: -1%;
}

@media (max-width: 600px) {
  #footer {
    padding: 30px 15px;
  }

  #footer h2 {
    font-size: 20px;
  }

  .social-links {
    gap: 15px;
    margin-bottom: 5%;
  }

  .social-links a img {
    width: 40px;
    height: 40px;
  }

  .footer-copy {
    font-size: 12px;
    margin-bottom: 10%;
  }
}

section header {
  background: transparent;
}