:root {
  --navy: #001542;
  --navy-soft: #0b2a5a;
  --teal: #086465;
  --teal-dark: #064e50;
  --gold: #ffb30d;
  --cream: #fff8e9;
  --ink: #14213b;
  --muted: #637086;
  --line: #dfe6ee;
  --surface: #ffffff;
  --page: #f3f6f8;
  --shadow: 0 20px 55px rgba(0, 21, 66, .12);
}

html { scroll-behavior: smooth; }

body {
  min-width: 280px;
  background: var(--page);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.65;
}

button, input, audio { font: inherit; }
a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: -5rem;
  left: 1rem;
  padding: .75rem 1rem;
  border-radius: 0 0 10px 10px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

.site-header {
  min-height: 0;
  height: auto;
  background: var(--navy);
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 82px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  text-decoration: none;
}
.brand img { width: 52px; height: 52px; border-radius: 15px; box-shadow: 0 6px 18px rgba(0,0,0,.22); }
.brand span { display: flex; flex-direction: column; line-height: 1.05; }
.brand small { color: #c6d2ea; letter-spacing: .08em; }
.brand strong { color: #fff; font-family: Lora, Georgia, serif; font-size: 1.04rem; letter-spacing: .04em; }

.header-badge {
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  color: #dce7f7;
  font-size: .8rem;
  font-weight: 800;
}

.section-nav {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid #e1e7ef;
  background: rgba(255,255,255,.97);
  box-shadow: 0 8px 24px rgba(0,21,66,.08);
  backdrop-filter: blur(12px);
}
.section-nav-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 54px;
  margin: auto;
  display: flex;
  align-items: center;
}
.desktop-menu { width: 100%; display: flex; align-items: center; gap: 5px; }
.desktop-menu a, .mobile-menu-links a {
  border-radius: 9px;
  color: #344159;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
}
.desktop-menu a { padding: 10px 12px; }
.desktop-menu a:hover, .mobile-menu-links a:hover { background: #e8f4f2; color: var(--teal-dark); }
.desktop-menu a[aria-current="page"], .mobile-menu-links a[aria-current="page"] { background: var(--navy); color: white; }
.mobile-menu { display: none; width: 100%; }
.mobile-menu summary {
  min-height: 50px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #596579;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary span { font-size: 1.25rem; }
.mobile-menu-links {
  position: absolute;
  inset: 100% 0 auto;
  padding: 8px 12px 13px;
  display: grid;
  gap: 4px;
  border-top: 1px solid #e5eaf1;
  border-radius: 0 0 16px 16px;
  background: white;
  box-shadow: 0 18px 34px rgba(0,21,66,.15);
}
.mobile-menu-links a { padding: 12px 14px; }

main { padding-bottom: 56px; }

.about-hero {
  position: relative;
  isolation: isolate;
  width: min(1180px, calc(100% - 32px));
  min-height: 300px;
  margin: 30px auto 0;
  padding: clamp(40px, 7vw, 76px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(110deg, rgba(0,21,66,.98) 12%, rgba(0,83,87,.91) 100%), url("img/quemsomos.png") center 35% / cover;
  box-shadow: var(--shadow);
}
.about-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -110px;
  bottom: -170px;
  width: 330px;
  height: 330px;
  border: 46px solid rgba(255,179,13,.14);
  border-radius: 50%;
}
.about-hero-copy { max-width: 700px; }
.about-hero .eyebrow {
  margin: 0 0 10px;
  color: #9ad8d2;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.about-hero h1 {
  margin: 0;
  color: #fff;
  font-family: Lora, Georgia, serif;
  font-size: clamp(2.6rem, 7vw, 4.7rem);
  line-height: 1.05;
  letter-spacing: -.04em;
}
.about-hero-copy > p:last-child { max-width: 650px; margin: 19px 0 0; color: #dce7f7; font-size: clamp(1rem, 2vw, 1.13rem); }

.gridcontainer {
  width: min(1180px, calc(100% - 32px));
  max-width: none;
  margin: 26px auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: start;
  gap: 24px;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.main, .aside { margin: 0; padding: 0; background: transparent; overflow: visible; border-radius: 0; }

.main .about-card {
  margin: 0;
  padding: clamp(20px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 12px 35px rgba(0,21,66,.08);
}
.about-card h2 {
  margin: 0 0 20px;
  color: var(--navy);
  font-family: Lora, Georgia, serif;
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  text-align: left;
  text-shadow: none;
}
.about-card > .imgIndex {
  width: 100%;
  max-width: none;
  max-height: 380px;
  margin: 0;
  padding: 0;
  display: block;
  border-radius: 18px;
  object-fit: cover;
}

.about-card .audio-container {
  position: static;
  width: 100%;
  margin: 20px 0 28px;
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr minmax(260px, 44%);
  align-items: center;
  gap: 18px;
  border: 1px solid #cfe1df;
  border-radius: 16px;
  background: #eef7f6;
}
.audio-copy { display: flex; align-items: center; gap: 12px; }
.audio-copy > span { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: var(--teal); color: white; font-size: .82rem; }
.audio-copy div { display: flex; flex-direction: column; line-height: 1.25; }
.audio-copy strong { color: var(--navy); }
.audio-copy small { margin-top: 4px; color: var(--muted); }
.about-card audio { width: 100%; height: 42px; padding: 0; background: transparent; }

.about-copy { display: grid; gap: 12px; }
.about-card .about-copy p {
  margin: 0;
  padding: 17px 18px;
  border: 1px solid #e6ebf1;
  border-radius: 14px;
  background: #f9fbfc;
  color: #465269;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: .98rem;
  line-height: 1.72;
  text-align: left;
}
.about-card .about-copy p:first-child,
.about-card .about-copy p:nth-child(2) { padding: 0; border: 0; background: transparent; color: var(--navy); font-weight: 700; }
.about-card .about-copy p:nth-child(2) { margin: -10px 0 4px; color: var(--teal-dark); }

.aside { display: grid; gap: 20px; }
.aside section {
  margin: 0;
  padding: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(0,21,66,.07);
}
.aside section .imgIndex {
  width: 100%;
  height: 175px;
  max-width: none;
  margin: 0 0 15px;
  padding: 0;
  display: block;
  border-radius: 13px;
  object-fit: cover;
}
.aside h3 { margin: 0 3px 10px; color: var(--navy); font-family: Lora, Georgia, serif; font-size: 1.12rem; line-height: 1.3; text-align: left; }
.aside section p { margin: 0 3px 11px; padding: 0; color: #647086; font-family: "DM Sans", Arial, sans-serif; font-size: .84rem; line-height: 1.58; text-align: left; }
.aside section br { display: none; }
.aside section .enter {
  min-height: 42px;
  margin: 14px 0 0;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--navy);
  color: white;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: .8rem;
  font-weight: 800;
  text-decoration: none;
}
.aside section .enter:hover { background: var(--teal); color: white; }

footer {
  padding: 24px 16px;
  border-top: 4px solid var(--gold);
  background: var(--navy);
  color: #cbd6e7;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: .78rem;
  font-style: normal;
}

@media (max-width: 920px) {
  .header-inner { min-height: 72px; }
  .brand img { width: 44px; height: 44px; }
  .section-nav-inner { width: min(100% - 22px, 1180px); min-height: 50px; }
  .desktop-menu { display: none; }
  .mobile-menu { display: block; }
  .gridcontainer { grid-template-columns: 1fr; }
  .aside { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .header-inner { width: min(100% - 22px, 1180px); }
  .brand strong { font-size: .87rem; }
  .brand small { font-size: .72rem; }
  .header-badge { display: none; }
  .about-hero { width: calc(100% - 20px); min-height: 250px; margin-top: 20px; padding: 38px 24px; border-radius: 20px; }
  .about-hero::after { width: 230px; height: 230px; right: -90px; bottom: -140px; border-width: 32px; }
  .about-hero h1 { font-size: clamp(2.45rem, 14vw, 3.5rem); }
  .about-hero-copy > p:last-child { font-size: .95rem; line-height: 1.55; }
  .gridcontainer { width: calc(100% - 20px); margin-top: 18px; }
  .main .about-card { margin: 0; padding: 14px; border-radius: 18px; background: white; }
  .about-card > .imgIndex { max-height: 260px; border-radius: 13px; }
  .about-card .audio-container { grid-template-columns: 1fr; padding: 15px; }
  .about-card .about-copy p { padding: 15px; font-size: .91rem; line-height: 1.65; }
  .aside { grid-template-columns: 1fr; }
  .aside section { margin: 0; border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
