@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Playfair+Display:wght@700;800;900&display=swap");

:root {
  --purple: #2c2490;
  --purple-dark: #241d78;
  --purple-soft: #403d96;
  --blue-bg: #dfe7f7;
  --white: #ffffff;
  --text-dark: #17142d;
  --red: #f04b3d;
  --gold: #ffb22b;
  --green: #078d4a;
  --footer: #2c2490;
  --max: 1180px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-dark);
  background: var(--purple);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

button {
  border: 0;
  font-family: inherit;
}

/* ============================= */
/* HEADER */
/* ============================= */

.site-header {
  width: 100%;
  min-height: 74px;
  padding: 0 12%;
  display: grid;
  grid-template-columns: 230px 1fr 150px;
  align-items: center;
  gap: 28px;
  background: linear-gradient(90deg, #2b257f 0%, #4334b3 48%, #2a257e 100%);
  color: var(--white);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-self: start;
  color: var(--white);
}

.brand-name {
  font-size: 1.55rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.045em;
}

.brand-subtitle {
  margin-top: 5px;
  font-size: 0.62rem;
  line-height: 1;
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}

.nav-link {
  position: relative;
  padding: 12px 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.84rem;
  line-height: 1;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.035em;
  transition: color 0.22s ease, transform 0.22s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--gold);
  transform: translateX(-50%);
  transition: width 0.22s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  transform: translateY(-1px);
  font-weight: 800;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-button {
  justify-self: end;
  min-width: 126px;
  height: 28px;
  padding: 0 18px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.96);
  color: #29215f;
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.header-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}

/* ============================= */
/* SOBRE NOSOTROS */
/* ============================= */

.about-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #2c2490 0%, #342bb0 54%, #2c2490 100%);
  color: #ffffff;
  padding: 44px 0 74px;
}

.decor-line {
  position: absolute;
  z-index: 1;
  height: 52px;
  border-radius: 999px;
  pointer-events: none;
}

.decor-line-red {
  background: var(--red);
}

.decor-line-left {
  top: 48px;
  left: -34px;
  width: 292px;
}

.decor-line-right {
  top: 48px;
  right: -34px;
  width: 292px;
}

.about-container {
  position: relative;
  z-index: 2;
  width: min(960px, calc(100% - 48px));
  margin: 0 auto;
}

.about-container h1 {
  font-family: "Playfair Display", Georgia, serif;
  color: #ffffff;
  text-align: center;
  font-size: clamp(4rem, 7vw, 6.35rem);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: 0.015em;
}

.about-intro-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 44px;
  align-items: start;
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.about-photo-card {
  height: 266px;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 38px rgba(15, 12, 55, 0.16);
}

.about-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-team img {
  object-position: center center;
}

.photo-consultation img {
  object-position: center center;
}

.photo-document img {
  object-position: center center;
}

.about-copy {
  padding-top: 4px;
}

.about-copy p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.83rem;
  line-height: 1.72;
  font-weight: 400;
  letter-spacing: 0.018em;
  text-align: justify;
}

.about-copy p + p {
  margin-top: 10px;
}

.mission-vision-grid {
  margin-top: 72px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: center;
}

.mission-vision-copy {
  display: grid;
  gap: 42px;
}

.mv-block {
  position: relative;
}

.mv-heading {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
}

.mv-dot {
  width: 40px;
  height: 40px;
  margin-top: 6px;
  border-radius: 999px;
  background: var(--red);
}

.mv-bar {
  width: 120px;
  height: 42px;
  margin-left: -132px;
  margin-top: 8px;
  border-radius: 0 999px 999px 0;
  background: var(--gold);
}

.mv-heading h2 {
  font-family: "Playfair Display", Georgia, serif;
  color: #ffffff;
  font-size: clamp(2rem, 3.4vw, 3.35rem);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.mv-block p {
  margin-top: 16px;
  max-width: 280px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  line-height: 1.55;
  font-weight: 400;
}

.mission-image {
  height: 350px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(16, 14, 65, 0.22);
}

.mission-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* ============================= */
/* VALORES */
/* ============================= */

.values-section {
  background: #dfe7f7;
  padding: 82px 0 76px;
}

.values-container {
  width: min(980px, calc(100% - 48px));
  margin: 0 auto;
}

.values-container h2 {
  max-width: 860px;
  font-family: "Playfair Display", Georgia, serif;
  color: #403d96;
  font-size: clamp(2.5rem, 4vw, 3.95rem);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.values-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  align-items: start;
}

.value-card {
  display: grid;
  gap: 22px;
}

.value-image {
  width: 100%;
  height: 350px;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 18px 38px rgba(42, 35, 110, 0.14);
  background: #d6deef;
}

.value-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.value-image-support img {
  object-position: center center;
}

.value-image-transparency img {
  object-position: center top;
}

.value-image-innovation img {
  object-position: center center;
}

.value-tags {
  display: grid;
  gap: 14px;
}

.value-tags span {
  min-height: 48px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  padding: 8px 20px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.14rem;
  line-height: 1.02;
  font-weight: 900;
  text-align: center;
}

.value-tags-red span:first-child {
  background: var(--red);
  color: #ffffff;
}

.value-tags-red span:last-child {
  border: 2px solid var(--red);
  color: var(--red);
}

.value-tags-gold span:first-child {
  border: 2px solid var(--gold);
  color: var(--gold);
}

.value-tags-gold span:last-child {
  background: var(--gold);
  color: #ffffff;
}

.value-tags-purple span:first-child {
  background: #403d96;
  color: #ffffff;
}

.value-tags-purple span:last-child {
  border: 2px solid #403d96;
  color: #403d96;
}

/* ============================= */
/* VENTAJAS */
/* ============================= */

.advantages-section {
  background: #f7f7f7;
  color: #5e5e67;
  padding: 74px 0 0;
  overflow: hidden;
}

.advantages-container {
  width: min(1030px, calc(100% - 56px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 470px minmax(420px, 1fr);
  gap: 72px;
  align-items: start;
}

.advantages-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.advantages-copy {
  width: 100%;
}

.advantages-copy h2 {
  margin: 0;
  max-width: 460px;
  font-family: "Playfair Display", Georgia, serif;
  color: #403d96;
  font-size: clamp(3.2rem, 4.25vw, 4.35rem);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.advantages-copy > p {
  margin-top: 30px;
  max-width: 430px;
  color: #50505a;
  font-size: 1rem;
  line-height: 1.42;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.015em;
}

.advantages-illustration-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: 28px;
}

.advisor-illustration {
  width: 295px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.advantages-list {
  max-width: 500px;
  padding-top: 8px;
  padding-bottom: 70px;
}

.advantages-list p {
  position: relative;
  margin-bottom: 28px;
  padding-left: 18px;
  color: #6a6a72;
  font-size: 0.99rem;
  line-height: 1.34;
  font-weight: 400;
}

.advantages-list p::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #6a6a72;
  font-size: 1rem;
  line-height: 1.2;
}

.advantages-list strong {
  color: #5f5f67;
  font-weight: 800;
}
/* ============================= */
/* FOOTER GLOBAL */
/* ============================= */

.global-footer {
  background: #2c2490;
  border-top: 2px solid rgba(255, 255, 255, 0.9);
  color: var(--white);
  padding: 0;
}

.footer-container {
  width: min(var(--max), calc(100% - 48px));
  min-height: 205px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 340px 1fr;
  align-items: center;
  gap: 56px;
}

.footer-links {
  display: grid;
  gap: 18px;
  justify-self: start;
}

.footer-links a {
  width: fit-content;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0.06em;
  transition: color 0.22s ease, transform 0.22s ease;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(5px);
}

.footer-brand {
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 300px;
  text-align: center;
  color: #ffffff;
}

.footer-brand img {
  width: 128px;
  max-width: none;
  height: auto;
  margin-bottom: 8px;
  object-fit: contain;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.2));
}

.footer-brand strong {
  display: block;
  margin-top: 0;
  color: #ffffff;
  font-size: 1.26rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.035em;
}

.footer-brand span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.46rem;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.footer-social {
  justify-self: end;
  width: min(100%, 360px);
}

.footer-social p {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.footer-social a {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
  line-height: 1;
  font-weight: 400;
  transition: color 0.22s ease, transform 0.22s ease;
}

.footer-social a:hover {
  color: #ffffff;
  transform: translateX(5px);
}

.social-icon {
  width: 25px;
  height: 25px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: #eef1ff;
  color: #5547ba;
  font-size: 1rem;
  line-height: 1;
  font-weight: 900;
  flex: 0 0 auto;
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 1180px) {
  .site-header {
    padding: 0 6%;
    grid-template-columns: 230px 1fr 145px;
  }

  .main-nav {
    gap: 26px;
  }
}

@media (max-width: 980px) {
  .site-header {
    min-height: 116px;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand button"
      "nav nav";
    gap: 12px;
    padding: 20px 5% 16px;
  }

  .brand {
    grid-area: brand;
  }

  .header-button {
    grid-area: button;
  }

  .main-nav {
    grid-area: nav;
    justify-content: flex-start;
    overflow-x: auto;
    gap: 24px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .nav-link {
    flex: 0 0 auto;
    font-size: 0.78rem;
  }

  .about-hero {
    padding-top: 52px;
  }

  .about-intro-grid {
    grid-template-columns: 1fr;
  }

  .about-copy {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
  }

  .about-copy p {
    text-align: center;
  }

  .mission-vision-grid {
    grid-template-columns: 1fr;
  }

  .mission-vision-copy {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .mv-block p {
    max-width: none;
  }

  .mv-bar {
    width: 40px;
    margin-left: 0;
    border-radius: 999px;
  }

  .mission-image {
    height: 300px;
  }

  .values-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .value-image {
    height: 300px;
  }

  .value-tags span {
    font-size: 1rem;
    min-height: 44px;
  }

  .advantages-container {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .advantages-left {
    text-align: center;
  }

  .advantages-copy > p {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }

  .advantages-list {
    max-width: 720px;
    margin: 0 auto;
    padding-bottom: 60px;
  }

  .footer-container {
    width: min(100% - 40px, var(--max));
    min-height: auto;
    padding: 42px 0;
    grid-template-columns: 1fr;
    text-align: center;
    gap: 34px;
  }

  .footer-links,
  .footer-social,
  .footer-brand {
    justify-self: center;
  }

  .footer-brand {
    order: 1;
  }

  .footer-links {
    order: 2;
  }

  .footer-social {
    order: 3;
  }

  .footer-links a {
    margin: 0 auto;
  }

  .footer-social a {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "button"
      "nav";
    text-align: center;
  }

  .brand,
  .header-button {
    justify-self: center;
  }

  .header-button {
    width: 100%;
    max-width: 220px;
    height: 34px;
    border-radius: 8px;
  }

  .about-container,
  .values-container,
  .advantages-container {
    width: min(100% - 32px, var(--max));
  }

  .decor-line {
    height: 38px;
  }

  .decor-line-left,
  .decor-line-right {
    width: 180px;
  }

  .about-container h1 {
    font-size: 3.35rem;
  }

  .about-gallery {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .about-photo-card {
    height: 260px;
  }

  .mission-vision-copy {
    grid-template-columns: 1fr;
  }

  .mv-heading {
    grid-template-columns: 1fr;
    gap: 14px;
    text-align: center;
  }

  .mv-dot,
  .mv-bar {
    margin: 0 auto;
  }

  .mv-block p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .mission-image {
    height: 250px;
  }

  .values-section {
    padding: 58px 0;
  }

  .values-container h2 {
    text-align: center;
    font-size: 2.45rem;
    max-width: 100%;
  }

  .values-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    gap: 26px;
  }

  .value-image {
    height: 320px;
  }

  .advantages-section {
    padding-top: 58px;
  }

  .advantages-copy h2 {
    font-size: 2.5rem;
  }

  .advantages-copy > p {
    font-size: 1rem;
  }

  .advisor-illustration {
    width: 250px;
  }

  .advantages-list p {
    font-size: 0.96rem;
  }
}

@media (max-width: 520px) {
  .brand-name {
    font-size: 1.42rem;
  }

  .brand-subtitle {
    font-size: 0.62rem;
  }

  .about-container h1 {
    font-size: 2.85rem;
  }

  .about-photo-card {
    height: 230px;
  }

  .mv-heading h2 {
    font-size: 2.18rem;
  }

  .values-container h2 {
    font-size: 2.1rem;
  }

  .value-image {
    height: 280px;
  }

  .advisor-illustration {
    width: 230px;
  }

  .footer-container {
    width: min(100% - 32px, var(--max));
    padding: 36px 0;
  }

  .footer-brand {
    min-width: 0;
  }

  .footer-brand img {
    width: 108px;
  }

  .footer-brand strong {
    font-size: 1.12rem;
  }

  .footer-brand span {
    font-size: 0.42rem;
  }

  .footer-links {
    gap: 14px;
  }

  .footer-links a {
    font-size: 0.95rem;
  }
}

/* ========================================================= */
/* FIX FINAL - VALORES + VENTAJAS COMO MOCKUP */
/* ========================================================= */

/* ============================= */
/* VALORES AJUSTADO */
/* ============================= */

.values-section {
  background: #dfe7f7 !important;
  padding: 76px 0 72px !important;
}

.values-container {
  width: min(900px, calc(100% - 48px)) !important;
  margin: 0 auto !important;
}

.values-container h2 {
  max-width: 920px !important;
  margin: 0 !important;
  font-family: "Playfair Display", Georgia, serif !important;
  color: #403d96 !important;
  font-size: clamp(2.45rem, 3.35vw, 3.45rem) !important;
  line-height: 1.04 !important;
  font-weight: 900 !important;
  letter-spacing: 0.01em !important;
}

.values-grid {
  margin-top: 42px !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 30px !important;
  align-items: start !important;
}

.value-card {
  display: grid !important;
  gap: 24px !important;
}

.value-image {
  width: 100% !important;
  height: 350px !important;
  overflow: hidden !important;
  border-radius: 18px !important;
  background: #d6deef !important;
  box-shadow: 0 18px 38px rgba(42, 35, 110, 0.14) !important;
}

.value-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Ajustes finos por imagen */
.value-image-support img {
  object-position: center center !important;
}

.value-image-transparency img {
  object-position: center 62% !important;
}

.value-image-innovation img {
  object-position: center center !important;
}

.value-tags {
  display: grid !important;
  gap: 14px !important;
}

.value-tags span {
  min-height: 42px !important;
  border-radius: 999px !important;
  display: grid !important;
  place-items: center !important;
  padding: 8px 18px !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 1.18rem !important;
  line-height: 1.05 !important;
  font-weight: 900 !important;
  text-align: center !important;
}

/* ============================= */
/* VENTAJAS AJUSTADO */
/* ============================= */

.advantages-section {
  background: #ffffff !important;
  color: #5e5e67 !important;
  padding: 76px 0 0 !important;
  overflow: hidden !important;
}

.advantages-container {
  width: min(900px, calc(100% - 48px)) !important;
  min-height: 620px !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: 0.9fr 1.1fr !important;
  gap: 76px !important;
  align-items: start !important;
}

.advantages-left {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  min-height: 620px !important;
  position: relative !important;
}

.advantages-copy h2 {
  margin: 0 !important;
  font-family: "Playfair Display", Georgia, serif !important;
  color: #403d96 !important;
  font-size: clamp(2.8rem, 3.85vw, 4rem) !important;
  line-height: 1.02 !important;
  font-weight: 900 !important;
  letter-spacing: 0.01em !important;
}

.advantages-copy > p {
  margin-top: 28px !important;
  max-width: 370px !important;
  color: #4f4f58 !important;
  font-size: 1.06rem !important;
  line-height: 1.5 !important;
  font-style: italic !important;
  letter-spacing: 0.02em !important;
}

.advantages-illustration-wrap {
  margin-top: 34px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: flex-end !important;
}

.advisor-illustration {
  width: 315px !important;
  max-width: 92% !important;
  height: auto !important;
  object-fit: contain !important;
}

.advantages-list {
  max-width: 510px !important;
  padding-top: 4px !important;
  padding-bottom: 70px !important;
}

.advantages-list p {
  position: relative !important;
  margin-bottom: 22px !important;
  padding-left: 18px !important;
  color: #6a6a72 !important;
  font-size: 1rem !important;
  line-height: 1.38 !important;
  font-weight: 400 !important;
}

.advantages-list p::before {
  content: "•" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  color: #6a6a72 !important;
}

.advantages-list strong {
  color: #606067 !important;
  font-weight: 800 !important;
}

/* ============================= */
/* RESPONSIVE FINO */
/* ============================= */

@media (max-width: 980px) {
  .values-container,
  .advantages-container {
    width: min(100% - 44px, 900px) !important;
  }

  .values-container h2 {
    font-size: clamp(2.25rem, 4vw, 3rem) !important;
  }

  .values-grid {
    gap: 22px !important;
  }

  .value-image {
    height: 300px !important;
  }

  .value-tags span {
    min-height: 40px !important;
    font-size: 1rem !important;
  }

  .advantages-container {
    grid-template-columns: 1fr !important;
    gap: 34px !important;
    min-height: auto !important;
  }

  .advantages-left {
    min-height: auto !important;
    text-align: center !important;
  }

  .advantages-copy > p {
    max-width: 640px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .advisor-illustration {
    width: 270px !important;
  }

  .advantages-list {
    max-width: 720px !important;
    margin: 0 auto !important;
    padding-bottom: 60px !important;
  }
}

@media (max-width: 720px) {
  .values-section {
    padding: 58px 0 60px !important;
  }

  .values-container,
  .advantages-container {
    width: min(100% - 32px, 900px) !important;
  }

  .values-container h2 {
    max-width: 100% !important;
    text-align: center !important;
    font-size: 2.35rem !important;
  }

  .values-grid {
    grid-template-columns: 1fr !important;
    max-width: 360px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    gap: 28px !important;
  }

  .value-image {
    height: 320px !important;
  }

  .advantages-section {
    padding-top: 58px !important;
  }

  .advantages-copy h2 {
    font-size: 2.55rem !important;
  }

  .advantages-copy > p {
    font-size: 1rem !important;
  }

  .advisor-illustration {
    width: 245px !important;
  }

  .advantages-list p {
    font-size: 0.95rem !important;
    margin-bottom: 20px !important;
  }
}

@media (max-width: 520px) {
  .values-container h2 {
    font-size: 2.08rem !important;
  }

  .value-image {
    height: 280px !important;
  }

  .advisor-illustration {
    width: 225px !important;
  }

  .advantages-copy h2 {
    font-size: 2.22rem !important;
  }
}

/* ========================================================= */
/* FIX FINAL - VENTAJAS: TÍTULO EN 2 LÍNEAS COMO MOCKUP */
/* ========================================================= */

.advantages-section {
  background: #ffffff !important;
  padding: 70px 0 0 !important;
  overflow: hidden !important;
}

.advantages-container {
  width: min(980px, calc(100% - 56px)) !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: 500px 1fr !important;
  gap: 60px !important;
  align-items: start !important;
}

.advantages-left {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  min-height: 0 !important;
}

.advantages-copy h2 {
  margin: 0 !important;
  max-width: none !important;
  font-family: "Playfair Display", Georgia, serif !important;
  color: #403d96 !important;
  font-size: clamp(2.85rem, 3.35vw, 3.55rem) !important;
  line-height: 0.98 !important;
  font-weight: 900 !important;
  letter-spacing: 0.01em !important;
  white-space: nowrap !important;
}

.advantages-copy > p {
  margin-top: 28px !important;
  max-width: 430px !important;
  color: #50505a !important;
  font-size: 1rem !important;
  line-height: 1.45 !important;
  font-style: italic !important;
  letter-spacing: 0.015em !important;
}

.advantages-illustration-wrap {
  width: 100% !important;
  margin-top: 24px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: flex-end !important;
}

.advisor-illustration {
  width: 285px !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

.advantages-list {
  max-width: 455px !important;
  padding-top: 2px !important;
  padding-bottom: 58px !important;
}

.advantages-list p {
  position: relative !important;
  margin-bottom: 20px !important;
  padding-left: 18px !important;
  color: #686871 !important;
  font-size: 0.96rem !important;
  line-height: 1.33 !important;
  font-weight: 400 !important;
}

.advantages-list p::before {
  content: "•" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  color: #686871 !important;
}

.advantages-list strong {
  color: #5f5f67 !important;
  font-weight: 800 !important;
}

/* Responsive */
@media (max-width: 980px) {
  .advantages-container {
    width: min(100% - 44px, 820px) !important;
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .advantages-left {
    align-items: center !important;
    text-align: center !important;
  }

  .advantages-copy h2 {
    white-space: normal !important;
    font-size: 2.9rem !important;
  }

  .advantages-copy > p {
    max-width: 580px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .advisor-illustration {
    width: 250px !important;
  }

  .advantages-list {
    max-width: 680px !important;
    margin: 0 auto !important;
    padding-bottom: 56px !important;
  }
}

@media (max-width: 720px) {
  .advantages-section {
    padding-top: 54px !important;
  }

  .advantages-container {
    width: min(100% - 32px, 820px) !important;
  }

  .advantages-copy h2 {
    font-size: 2.35rem !important;
    line-height: 1 !important;
  }

  .advantages-copy > p {
    margin-top: 22px !important;
    font-size: 0.96rem !important;
  }

  .advisor-illustration {
    width: 215px !important;
  }

  .advantages-list p {
    margin-bottom: 18px !important;
    font-size: 0.92rem !important;
    line-height: 1.32 !important;
  }
}

@media (max-width: 520px) {
  .advantages-copy h2 {
    font-size: 2.05rem !important;
  }

  .advisor-illustration {
    width: 195px !important;
  }
}
/* ========================================================= */
/* NOSOTROS MOBILE DEFINITIVO - HEDMONT LÓPEZ */
/* Pegar al final de nosotros.css. No afecta escritorio. */
/* ========================================================= */

@media (max-width: 720px) {
  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    background: #ffffff !important;
  }

  body.menu-open {
    overflow: hidden !important;
  }

  .about-page {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 100vh !important;
    overflow-x: hidden !important;
    background: #ffffff !important;
  }

  .about-container,
  .values-container,
  .advantages-container,
  .footer-container {
    width: min(100% - 32px, 430px) !important;
    max-width: 430px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* ============================= */
  /* HEADER MOBILE */
  /* ============================= */

  .site-header {
    position: relative !important;
    z-index: 90 !important;
    width: 100% !important;
    height: 50px !important;
    min-height: 50px !important;
    padding: 6px 28px 0 !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    background: linear-gradient(90deg, #2b257f 0%, #4435b5 52%, #2a257e 100%) !important;
    color: #ffffff !important;
    overflow: visible !important;
  }

  .brand {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;
    color: #ffffff !important;
    text-decoration: none !important;
  }

  .brand-name {
    color: #ffffff !important;
    font-size: 1.03rem !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: 0.015em !important;
  }

  .brand-subtitle {
    margin-top: 3px !important;
    color: #ffffff !important;
    font-size: 0.43rem !important;
    line-height: 1 !important;
    font-weight: 700 !important;
  }

  .main-nav,
  .header-button {
    display: none !important;
  }

  .mobile-menu-toggle {
    position: absolute !important;
    right: 29px !important;
    top: 12px !important;
    z-index: 120 !important;
    width: 27px !important;
    height: 27px !important;
    border: 0 !important;
    padding: 0 !important;
    display: grid !important;
    gap: 7px !important;
    background: transparent !important;
    cursor: pointer !important;
  }

  .mobile-menu-toggle span {
    display: block !important;
    width: 27px !important;
    height: 1px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    transition: transform 0.25s ease, opacity 0.25s ease !important;
  }

  .mobile-menu-toggle.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg) !important;
  }

  .mobile-menu-toggle.is-open span:nth-child(2) {
    opacity: 0 !important;
  }

  .mobile-menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg) !important;
  }

  .mobile-menu {
    position: fixed !important;
    inset: 0 !important;
    z-index: 100 !important;
    display: grid !important;
    place-items: start center !important;
    padding: 68px 22px 22px !important;
    background: rgba(21, 17, 72, 0.42) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.25s ease, visibility 0.25s ease !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
  }

  .mobile-menu.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .mobile-menu-panel {
    width: min(100%, 360px) !important;
    border-radius: 22px !important;
    padding: 26px 24px 24px !important;
    background: linear-gradient(180deg, #33299b 0%, #2c2490 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 24px 60px rgba(11, 10, 35, 0.35) !important;
  }

  .mobile-menu-brand {
    display: grid !important;
    gap: 5px !important;
    text-align: center !important;
    margin-bottom: 24px !important;
  }

  .mobile-menu-brand strong {
    font-size: 1.25rem !important;
    line-height: 1 !important;
    letter-spacing: 0.04em !important;
  }

  .mobile-menu-brand span {
    font-size: 0.55rem !important;
    line-height: 1 !important;
    font-weight: 700 !important;
  }

  .mobile-menu-nav {
    display: grid !important;
    gap: 14px !important;
    text-align: center !important;
  }

  .mobile-menu-nav a {
    min-height: 40px !important;
    border-radius: 999px !important;
    display: grid !important;
    place-items: center !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.9rem !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    background: rgba(255, 255, 255, 0.07) !important;
    text-decoration: none !important;
  }

  .mobile-menu-nav a.active {
    color: #2c2490 !important;
    background: #ffb22b !important;
  }

  .mobile-menu-cta {
    height: 42px !important;
    margin-top: 18px !important;
    border-radius: 999px !important;
    display: grid !important;
    place-items: center !important;
    background: #ffffff !important;
    color: #2c2490 !important;
    font-size: 0.9rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    text-decoration: none !important;
  }

  /* ============================= */
  /* SOBRE NOSOTROS MOBILE */
  /* ============================= */

  .about-hero {
    position: relative !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 28px 0 0 !important;
    overflow: visible !important;
    background: linear-gradient(
      180deg,
      #2c2490 0,
      #2c2490 685px,
      #ffffff 685px,
      #ffffff 100%
    ) !important;
  }

  .about-hero .about-container {
    position: relative !important;
    z-index: 2 !important;
  }

  .decor-line {
    display: block !important;
    position: absolute !important;
    top: 37px !important;
    z-index: 1 !important;
    width: 86px !important;
    height: 24px !important;
    border-radius: 0 999px 999px 0 !important;
    background: #f64b3f !important;
  }

  .decor-line-left {
    left: -1px !important;
  }

  .decor-line-right {
    right: -1px !important;
    border-radius: 999px 0 0 999px !important;
  }

  .about-hero h1 {
    position: relative !important;
    z-index: 3 !important;
    margin: 0 auto 32px !important;
    color: #ffffff !important;
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 2.1rem !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    letter-spacing: 0.01em !important;
    text-align: center !important;
  }

  .about-intro-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    width: 100% !important;
    margin: 0 auto !important;
  }

  .about-gallery {
    width: min(100%, 352px) !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  .about-photo-card {
    display: block !important;
    width: 100% !important;
    height: 234px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: none !important;
  }

  .about-photo-card img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  .photo-document {
    display: none !important;
  }

  .about-copy {
    width: min(100%, 335px) !important;
    margin: 27px auto 0 !important;
    padding: 0 !important;
    color: #ffffff !important;
    text-align: left !important;
  }

  .about-copy p {
    margin: 0 !important;
    color: #ffffff !important;
    font-size: 0.83rem !important;
    line-height: 1.55 !important;
    font-weight: 400 !important;
    letter-spacing: 0.01em !important;
    text-align: left !important;
  }

  .about-copy p + p {
    margin-top: 0 !important;
  }

  .about-copy strong,
  .about-copy b {
    font-weight: 900 !important;
  }

  .mission-vision-grid {
    position: relative !important;
    width: 100% !important;
    margin: 29px auto 0 !important;
    padding: 0 0 52px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }

  .mission-image {
    order: -1 !important;
    position: relative !important;
    z-index: 3 !important;
    width: min(100%, 350px) !important;
    height: 228px !important;
    margin: 0 auto 38px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: none !important;
  }

  .mission-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  .mission-vision-copy {
    width: min(100%, 352px) !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: grid !important;
    gap: 30px !important;
    color: #3f3d97 !important;
  }

  .mv-block {
    margin: 0 !important;
    padding: 0 !important;
  }

  .mv-heading {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 18px !important;
    margin: 0 0 15px !important;
    padding: 0 !important;
  }

  .mv-dot {
    width: 35px !important;
    height: 35px !important;
    min-width: 35px !important;
    border-radius: 999px !important;
    background: #f64b3f !important;
    display: block !important;
  }

  .mv-bar {
    width: 88px !important;
    height: 39px !important;
    min-width: 88px !important;
    margin-left: -104px !important;
    border-radius: 0 999px 999px 0 !important;
    background: #ffb22b !important;
    display: block !important;
  }

  .mv-heading h2 {
    margin: 0 !important;
    color: #3f3d97 !important;
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 2rem !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    letter-spacing: 0.005em !important;
    text-align: left !important;
  }

  .mv-block p {
    width: min(100%, 290px) !important;
    margin: 0 0 0 53px !important;
    color: #3f3d97 !important;
    font-size: 0.83rem !important;
    line-height: 1.48 !important;
    font-weight: 400 !important;
    letter-spacing: 0.01em !important;
    text-align: justify !important;
  }

  /* ============================= */
  /* VALORES MOBILE */
  /* ============================= */

  .values-section {
    width: 100% !important;
    background: #dfe7f7 !important;
    padding: 45px 0 47px !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  .values-container {
    display: block !important;
    text-align: center !important;
  }

  .values-container h2 {
    width: min(100%, 355px) !important;
    margin: 0 auto 25px !important;
    color: #3f3d97 !important;
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 1.9rem !important;
    line-height: 1.04 !important;
    font-weight: 900 !important;
    letter-spacing: 0.005em !important;
    text-align: center !important;
  }

  .values-grid {
    width: min(100%, 250px) !important;
    margin: 0 auto !important;
    display: block !important;
  }

  .value-card {
    display: none !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  .value-card.is-active {
    display: block !important;
  }

  .value-image {
    width: 100% !important;
    height: 255px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: none !important;
    margin: 0 auto 17px !important;
  }

  .value-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  .value-tags {
    width: 100% !important;
    display: grid !important;
    gap: 12px !important;
  }

  .value-tags span {
    width: 100% !important;
    min-height: 37px !important;
    border-radius: 999px !important;
    display: grid !important;
    place-items: center !important;
    padding: 0 15px !important;
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 1.05rem !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    text-align: center !important;
  }

  .value-tags-red span:first-child,
  .value-tags-red span:nth-child(2) {
    color: #ffffff !important;
    background: #f64b3f !important;
    border: 2px solid #f64b3f !important;
  }

  .value-tags-red span:nth-child(2) {
    color: #f64b3f !important;
    background: transparent !important;
  }

  .value-tags-gold span:first-child {
    color: #f64b3f !important;
    background: transparent !important;
    border: 2px solid #f64b3f !important;
  }

  .value-tags-gold span:nth-child(2) {
    color: #ffffff !important;
    background: #f64b3f !important;
    border: 2px solid #f64b3f !important;
  }

  .value-tags-purple span:first-child {
    color: #ffffff !important;
    background: #3f3d97 !important;
    border: 2px solid #3f3d97 !important;
  }

  .value-tags-purple span:nth-child(2) {
    color: #3f3d97 !important;
    background: transparent !important;
    border: 2px solid #3f3d97 !important;
  }

  .values-mobile-dots {
    width: 100% !important;
    margin: 17px auto 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
  }

  .values-mobile-dots button {
    width: 12px !important;
    height: 12px !important;
    border: 0 !important;
    border-radius: 999px !important;
    padding: 0 !important;
    background: rgba(90, 103, 129, 0.18) !important;
    cursor: pointer !important;
  }

  .values-mobile-dots button.is-active {
    background: rgba(90, 103, 129, 0.48) !important;
  }

  /* ============================= */
  /* VENTAJAS MOBILE */
  /* ============================= */

  .advantages-section {
    width: 100% !important;
    background: #ffffff !important;
    padding: 47px 0 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  .advantages-container {
    width: min(100% - 48px, 430px) !important;
    max-width: 430px !important;
    display: block !important;
    text-align: center !important;
  }

  .advantages-left {
    display: block !important;
    width: 100% !important;
    margin: 0 auto !important;
  }

  .advantages-copy {
    width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  .advantages-copy h2 {
    width: min(100%, 330px) !important;
    margin: 0 auto 22px !important;
    color: #3f3d97 !important;
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 1.75rem !important;
    line-height: 1.02 !important;
    font-weight: 900 !important;
    letter-spacing: 0.005em !important;
    text-align: center !important;
  }

  .advantages-copy p {
    width: min(100%, 290px) !important;
    margin: 0 auto 26px !important;
    color: #3f3d97 !important;
    font-size: 0.88rem !important;
    line-height: 1.35 !important;
    font-style: italic !important;
    font-weight: 400 !important;
    letter-spacing: 0.03em !important;
    text-align: center !important;
  }

  .advantages-illustration-wrap {
    width: 100% !important;
    height: 430px !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    overflow: hidden !important;
  }

  .advisor-illustration {
    display: block !important;
    width: 305px !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 auto !important;
    object-fit: contain !important;
  }

  .advantages-list {
    display: none !important;
  }

  /* ============================= */
  /* FOOTER MOBILE */
  /* ============================= */

  .global-footer {
    background: #2c2490 !important;
    padding: 31px 0 31px !important;
    border-top: 0 !important;
  }

  .footer-container {
    width: min(100% - 80px, 360px) !important;
    max-width: 360px !important;
    min-height: 0 !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-areas:
      "links brand"
      "social social" !important;
    gap: 29px 18px !important;
    align-items: center !important;
    text-align: left !important;
  }

  .footer-links {
    grid-area: links !important;
    justify-self: start !important;
    display: grid !important;
    gap: 17px !important;
  }

  .footer-links a {
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 0.94rem !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    letter-spacing: 0.03em !important;
    text-decoration: none !important;
  }

  .footer-brand {
    grid-area: brand !important;
    justify-self: end !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    text-decoration: none !important;
  }

  .footer-brand img {
    width: 122px !important;
    height: auto !important;
    margin-bottom: 5px !important;
    filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.2)) !important;
  }

  .footer-brand strong {
    color: #ffffff !important;
    font-size: 1rem !important;
    line-height: 1 !important;
  }

  .footer-brand span {
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 0.36rem !important;
    line-height: 1 !important;
  }

  .footer-social {
    grid-area: social !important;
    justify-self: stretch !important;
    width: 100% !important;
    padding-top: 28px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.72) !important;
    text-align: center !important;
  }

  .footer-social p {
    margin-bottom: 22px !important;
    color: rgba(255, 255, 255, 0.84) !important;
    font-size: 1rem !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    letter-spacing: 0.03em !important;
  }

  .footer-social a {
    justify-content: center !important;
    margin-top: 12px !important;
    gap: 11px !important;
    color: rgba(255, 255, 255, 0.62) !important;
    font-size: 0.72rem !important;
    line-height: 1 !important;
    text-decoration: none !important;
  }

  .social-icon {
    width: 22px !important;
    height: 22px !important;
    border-radius: 6px !important;
    font-size: 0.9rem !important;
  }
}

@media (max-width: 420px) {
  .about-container,
  .values-container {
    width: min(100% - 28px, 390px) !important;
  }

  .about-hero {
    background: linear-gradient(
      180deg,
      #2c2490 0,
      #2c2490 674px,
      #ffffff 674px,
      #ffffff 100%
    ) !important;
  }

  .about-gallery {
    width: min(100%, 352px) !important;
    gap: 14px !important;
  }

  .about-photo-card {
    height: 234px !important;
  }

  .about-copy {
    width: min(100%, 330px) !important;
  }

  .about-copy p {
    font-size: 0.81rem !important;
  }

  .mission-image {
    width: min(100%, 350px) !important;
    height: 228px !important;
  }

  .mission-vision-copy {
    width: min(100%, 352px) !important;
  }

  .mv-heading h2 {
    font-size: 1.95rem !important;
  }

  .mv-block p {
    width: min(100%, 285px) !important;
    font-size: 0.8rem !important;
  }

  .values-container h2 {
    font-size: 1.75rem !important;
  }

  .advantages-container {
    width: min(100% - 48px, 390px) !important;
  }

  .advantages-copy h2 {
    font-size: 1.65rem !important;
  }

  .advisor-illustration {
    width: 300px !important;
  }

  .footer-container {
    width: min(100% - 56px, 340px) !important;
  }

  .footer-brand img {
    width: 112px !important;
  }
}