@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");
:root {
  --blue: #08347c;
  --green: #78cd47;
  --ink: #152c4a;
  --muted: #61718a;
  --mist: #f4f8fc;
  --line: #e2eaf2;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #fff;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
.wrap {
  width: min(1160px, calc(100% - 42px));
  margin: auto;
}
header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}
.head {
  min-height: 83px;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}
.brand img {
  width: 220px;
  height: 75px;
  object-fit: contain;
  object-position: left center;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}
.nav a {
  font-size: 13px;
  font-weight: 700;
  color: #304b6b;
}
.nav a:hover,
.nav .active {
  color: var(--blue);
}
.cta,
.button {
  display: inline-block;
  padding: 13px 21px;
  border-radius: 9px;
  background: var(--blue);
  color: white !important;
  font-weight: 700;
}
.button.light {
  color: var(--blue) !important;
  background: #fff;
  border: 1px solid #cedbe9;
}
.hero {
  padding: 95px 0 92px;
  background: linear-gradient(138deg, #fff 52%, #f1f8f3 100%);
}
.eyebrow {
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: #36722c;
  font-size: 12px;
  font-weight: 800;
}
.hero h1 {
  font-family: Manrope, sans-serif;
  max-width: 880px;
  font-size: clamp(37px, 5vw, 66px);
  line-height: 1.1;
  letter-spacing: -0.055em;
  color: var(--blue);
  margin: 20px 0;
}
.hero p {
  font-size: 20px;
  max-width: 740px;
  color: #4c6177;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.thinbar {
  background: var(--green);
  height: 5px;
}
.section {
  padding: 78px 0;
}
.section.alt {
  background: var(--mist);
}
h2 {
  font:
    800 clamp(28px, 3.5vw, 41px)/1.17 Manrope,
    sans-serif;
  letter-spacing: -0.035em;
  color: var(--blue);
  margin: 0 0 16px;
}
h3 {
  font:
    800 21px/1.3 Manrope,
    sans-serif;
  color: var(--blue);
  margin: 10px 0;
}
p {
  margin-top: 0;
}
.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 820px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 35px;
}
.grid.two {
  grid-template-columns: repeat(2, 1fr);
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 29px;
  box-shadow: 0 10px 35px rgba(18, 54, 107, 0.045);
}
.card .tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #3f8f31;
}
.card p {
  color: var(--muted);
}
.card a {
  color: var(--blue);
  font-weight: 800;
}
.side {
  border-left: 5px solid var(--green);
  padding-left: 20px;
}
.small {
  font-size: 13px;
  color: var(--muted);
}
footer {
  padding: 35px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.crumb {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}
.notice {
  padding: 22px;
  background: #f6fbf3;
  border: 1px solid #d9ecca;
  border-radius: 12px;
}
ul {
  padding-left: 21px;
}
@media (max-width: 850px) {
  .head {
    align-items: flex-start;
    flex-direction: column;
    padding: 9px 0 16px;
    gap: 4px;
  }
  .brand img {
    height: 59px;
    width: 195px;
  }
  .nav {
    gap: 13px;
  }
  .hero {
    padding: 65px 0;
  }
  .grid,
  .grid.two {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 53px 0;
  }
}
/* Alianza Agentic by Asisteme AI: identificación tipográfica provisional hasta recibir logotipo oficial */
.partner-section {
  background: #f7fafc;
}
.agentic-lockup {
  margin: 20px 0 22px;
}
.agentic-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  line-height: 1.1;
}
.agentic-name {
  color: #44b86a;
  font-family: Manrope, sans-serif;
  font-size: clamp(37px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.07em;
}
.agentic-dot {
  color: #48bd6f;
}
.agentic-by {
  font-size: 15px;
  color: #5c708c;
}
.agentic-by strong {
  font-family: Manrope, sans-serif;
  font-size: 20px;
  color: #17629a;
}
.partner-link {
  margin-top: 25px;
}

/* Equipo y ubicación · v6 */
.team-card {
  min-height: 225px;
}
.team-role {
  font-weight: 700;
  color: #08347c;
}
.location-layout {
  display: grid;
  grid-template-columns: minmax(0, 820px);
  gap: 2.2rem;
  align-items: center;
}
.location-photo {
  margin: 0;
}
.location-photo img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}
.location-photo figcaption {
  font-size: 0.74rem;
  color: #5b6680;
  line-height: 1.5;
  margin-top: 0.6rem;
}
@media (max-width: 800px) {
  .location-layout {
    grid-template-columns: 1fr;
  }
  .location-photo img {
    height: 220px;
  }
}

/* Galería Wave Tech Hub: exterior → interior */
.wave-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin-top: 36px;
}
.wave-shot {
  margin: 0;
  min-width: 0;
}
.wave-shot img {
  width: 100%;
  height: 245px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 13px;
  border: 1px solid var(--line);
}
.wave-shot figcaption {
  font-size: 12px;
  color: var(--muted);
  margin-top: 9px;
  line-height: 1.5;
}
@media (max-width: 850px) {
  .wave-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .wave-shot img {
    height: 220px;
  }
}
@media (max-width: 480px) {
  .wave-gallery {
    gap: 12px;
  }
  .wave-shot img {
    height: 170px;
  }
}

/* V8: densidad editorial equilibrada, preservando identidad Anadia */
:root {
  scroll-padding-top: 78px;
}
body {
  line-height: 1.53;
}
.head {
  min-height: 69px;
  gap: 14px;
}
.brand img {
  height: 61px;
  width: 197px;
}
.nav {
  gap: 12px;
}
.nav a {
  font-size: 12.5px;
}
.thinbar {
  height: 3px;
}
.hero {
  padding: 62px 0 58px;
}
.hero h1 {
  font-size: clamp(35px, 4.5vw, 58px);
  margin: 13px 0 15px;
  max-width: 920px;
}
.hero p {
  font-size: 18px;
  line-height: 1.53;
  margin-bottom: 0;
}
.actions {
  margin-top: 21px;
  gap: 10px;
}
.button,
.cta {
  padding: 11px 18px;
  border-radius: 8px;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.button:hover,
.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px #08347c21;
}
.section {
  padding: 57px 0;
}
.section h2 {
  margin-bottom: 12px;
  font-size: clamp(27px, 3.2vw, 37px);
}
.lead {
  font-size: 17px;
  margin-bottom: 0;
}
.grid {
  gap: 15px;
  margin-top: 24px;
}
.card {
  padding: 22px;
  border-radius: 13px;
  box-shadow: 0 6px 24px rgba(18, 54, 107, 0.04);
}
.card h3 {
  font-size: 19px;
  margin: 8px 0;
}
.card p {
  margin-bottom: 12px;
}
.team-card {
  min-height: 165px;
}
footer {
  padding: 26px 0;
}
.crumb {
  margin-top: 12px;
}
.notice {
  padding: 17px;
}
.partner-link {
  margin-top: 17px;
}
.agentic-lockup {
  margin: 14px 0 16px;
}
.wave-gallery {
  gap: 12px;
  margin-top: 23px;
}
.wave-shot img {
  height: 200px;
  border-radius: 10px;
}
.wave-shot figcaption {
  margin-top: 7px;
}
.location-layout {
  gap: 1.5rem;
}
.location-photo img {
  height: 230px;
}
@media (max-width: 850px) {
  .head {
    padding: 8px 0 12px;
    min-height: unset;
  }
  .brand img {
    width: 185px;
    height: 54px;
  }
  .nav {
    gap: 10px;
  }
  .hero {
    padding: 45px 0;
  }
  .section {
    padding: 42px 0;
  }
  .grid {
    gap: 13px;
    margin-top: 20px;
  }
  .wave-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .wave-shot img {
    height: 195px;
  }
}
@media (max-width: 480px) {
  .wrap {
    width: calc(100% - 30px);
  }
  .nav {
    gap: 8px 12px;
  }
  .nav a {
    font-size: 12px;
  }
  .hero {
    padding: 38px 0;
  }
  .hero p {
    font-size: 16px;
  }
  .section {
    padding: 35px 0;
  }
  .card {
    padding: 18px;
  }
  .wave-shot img {
    height: 145px;
  }
  .button {
    padding: 11px 14px;
    font-size: 14px;
  }
}

.nav [aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 850px) {
  header {
    position: static;
  }
  :root {
    scroll-padding-top: 12px;
  }
  .nav a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
  }
}
@media (max-width: 480px) {
  .wave-gallery {
    grid-template-columns: 1fr;
  }
  .wave-shot img {
    height: auto;
    aspect-ratio: 16 / 9;
  }
}
