/* =========================================================
   INSURASESORES — Design tokens
   Colores de marca: sky #4fc7f8 · indigo #212aa2 · slate #42444f
   Tipografía: Fraunces (display) + Inter (body) + IBM Plex Mono (utilidad)
   ========================================================= */
:root {
  --sky: #4fc7f8;
  --sky-tint: #e8f7fe;
  --indigo: #212aa2;
  --indigo-deep: #141b6e;
  --slate: #42444f;
  --paper: #f7f9fc;
  --white: #ffffff;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --container: 1200px;
  --space-section: clamp(4rem, 8vw, 8rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
}

.section__inner,
.nav__inner,
.footer__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  width: 100%;
}

.section {
  padding-block: var(--space-section);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 0.75rem;
  display: block;
}

.eyebrow--light {
  color: var(--sky);
}

.section__title,
.section__title_s {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  color: var(--indigo-deep);
  line-height: 1.15;
  max-width: 20ch;
  margin-bottom: 1.25rem;
}

.section__title--light {
  color: var(--white);
}

.body-lg {
  font-size: 1.1rem;
  max-width: 56ch;
  color: var(--slate);
}

.body-lg--light {
  color: white;
}

.section__title--light {
  color: var(--white);
}

.body-lg {
  font-size: 1.1rem;
  max-width: 56ch;
  color: var(--slate);
}

.body-lg--light {
  color: #d7e6f5;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.grid-2--reverse {
  direction: rtl;
}

.grid-2--reverse>* {
  direction: ltr;
}

.img_logo {
  width: 40%;
  height: 20%;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--indigo);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(33, 42, 162, 0.28);
}

.btn--primary:hover {
  box-shadow: 0 12px 28px rgba(33, 42, 162, 0.38);
}

.btn--outline {
  background: transparent;
  color: var(--indigo-deep);
  border: 1.5px solid var(--indigo);
}

.btn--outline:hover {
  background: var(--indigo);
  color: var(--white);
}

.btn--whatsapp {
  background: #25d366;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.28);
}

.btn--whatsapp:hover {
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
}

.btn--sm {
  padding: 0.6rem 1.3rem;
  font-size: 0.85rem;
}

.btn--block {
  width: 100%;
  justify-content: center;
}

.icon-wa {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  background: rgba(247, 249, 252, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(66, 68, 79, 0.08);
  width: 100%;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.nav__logo-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--indigo);
  color: var(--white);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background-color: var(--indigo);
  transform: scaleX(0);
  transform-origin: bottom left;
  transition: transform 0.3s ease;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--slate);
  position: relative;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* Dropdown Menu Styles */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
}

.nav__dropdown-arrow {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.nav__dropdown.is-open .nav__dropdown-arrow {
  transform: rotate(180deg);
}

.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(33, 42, 162, 0.15);
  min-width: 200px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s var(--ease);
  z-index: 100;
}

.nav__dropdown.is-open .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown-menu a {
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--slate);
  font-size: 0.9rem;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(66, 68, 79, 0.05);
}

.nav__dropdown-menu a:last-child {
  border-bottom: none;
}

.nav__dropdown-menu a:hover {
  background: var(--sky-tint);
  color: var(--indigo);
  padding-left: 1.5rem;
}

/* Nested Dropdown Styles */
.nav__dropdown--nested {
  position: relative;
}

.nav__dropdown-menu--nested {
  position: absolute;
  right: 100%;
  top: 0;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(33, 42, 162, 0.15);
  min-width: 200px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s var(--ease);
  z-index: 101;
  display: none;
}

.nav__dropdown-menu--nested.open-left {
  right: 100%;
  left: auto;
  transform: translateX(10px);
}

.nav__dropdown-menu--nested.open-right {
  left: 100%;
  right: auto;
  transform: translateX(-10px);
}

.nav__dropdown--nested:hover .nav__dropdown-menu--nested,
.nav__dropdown--nested.is-open .nav__dropdown-menu--nested {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  display: block;
}

.nav__dropdown--nested:hover .nav__dropdown-menu--nested.open-left,
.nav__dropdown--nested.is-open .nav__dropdown-menu--nested.open-left {
  transform: translateX(0);
}

.nav__dropdown--nested:hover .nav__dropdown-menu--nested.open-right,
.nav__dropdown--nested.is-open .nav__dropdown-menu--nested.open-right {
  transform: translateX(0);
}

.nav__dropdown-menu--nested a {
  padding: 0.75rem 1.25rem;
  font-size: 0.85rem;
  white-space: nowrap;
}

.nav__dropdown-menu--nested a:hover {
  background: var(--sky-tint);
  padding-left: 1.5rem;
}

.nav__logo-text {
  color: var(--indigo-deep);
  font-weight: 600;
}

.nav__logo-text em {
  font-style: normal;
  color: var(--sky);
  font-weight: 500;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--slate);
  position: relative;
}

.nav__links a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--sky);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav__links a:not(.nav__cta):hover::after {
  transform: scaleX(1);
}

.nav__cta {
  background: var(--indigo);
  color: var(--white);
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
}

.nav__links a[aria-current="location"]:not(.nav__cta) {
  color: var(--indigo-deep);
  font-weight: 600;
}

.nav__links a[aria-current="location"]:not(.nav__cta)::after {
  transform: scaleX(1);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  z-index: 101;
}

.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--indigo-deep);
  border-radius: 2px;
  transition:
    transform 0.25s var(--ease),
    opacity 0.25s var(--ease);
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 76px;
  overflow: hidden;
  background: radial-gradient(120% 100% at 80% 0%,
      var(--sky-tint),
      var(--paper) 55%);
}

.hero__rings {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: min(60vw, 720px);
  opacity: 0.9;
  pointer-events: none;
}

.hero__rings-svg {
  width: 100%;
  height: 100%;
}

.ring {
  fill: none;
  stroke: var(--sky);
  stroke-opacity: 0.35;
}

.ring--1 {
  animation: pulse 7s ease-in-out infinite;
}

.ring--2 {
  stroke: var(--indigo);
  stroke-opacity: 0.28;
  animation: pulse 8s ease-in-out infinite 0.5s;
}

.ring--3 {
  animation: pulse 9s ease-in-out infinite 1s;
}

.ring--4 {
  stroke: var(--indigo);
  stroke-opacity: 0.1;
  animation: pulse 10s ease-in-out infinite 1.5s;
}

@keyframes pulse {

  0%,
  100% {
    stroke-width: 1.5;
  }

  50% {
    stroke-width: 2.5;
  }
}

.hero__content {
  position: relative;
  max-width: 700px;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  line-height: 1.05;
  color: var(--indigo-deep);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.1s forwards;
}

.hero__subtitle {
  font-size: 1.15rem;
  max-width: 46ch;
  margin-bottom: 2.2rem;
  color: var(--slate);
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.3s forwards;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.5s forwards;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid var(--indigo);
  border-radius: 20px;
}

.hero__scroll span {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--indigo);
  border-radius: 2px;
  animation: scrollDot 1.6s ease-in-out infinite;
}

@keyframes scrollDot {
  0% {
    top: 6px;
    opacity: 1;
  }

  70% {
    top: 22px;
    opacity: 0;
  }

  100% {
    top: 22px;
    opacity: 0;
  }
}

/* =========================================================
   NOSOTROS
   ========================================================= */
.section--nosotros {
  background: var(--white);
}

.values {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}

.values__item {
  padding-top: 0.5rem;
}

.values__icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--sky);
  margin-bottom: 0.75rem;
}

.values__icon svg {
  width: 32px;
  height: 32px;
}

.values__item h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--indigo-deep);
  margin-bottom: 0.35rem;
}

.values__item p {
  font-size: 0.95rem;
}

/* =========================================================
   PLANES / TIMELINE (signature element)
   ========================================================= */
.section--planes {
  background: linear-gradient(180deg, var(--indigo-deep), var(--indigo));
  color: var(--white);
}

.timeline {
  position: relative;
  margin-top: 4rem;
  padding-bottom: 1rem;
}

.timeline__line {
  width: 100%;
  height: 4px;
  display: block;
}

.timeline__line path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 4;
}

.timeline__line path.is-drawn {
  stroke: var(--sky);
  transition: stroke-dashoffset 1.2s var(--ease);
}

.timeline__track {
  display: flex;
  justify-content: space-between;
  margin-top: -4px;
}

.timeline__node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: #b9c6e8;
  flex: 1;
}

.timeline__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--indigo-deep);
  border: 3px solid var(--sky);
  transition:
    transform 0.3s var(--ease),
    background 0.3s var(--ease);
}

.timeline__node:hover .timeline__dot,
.timeline__node.is-active .timeline__dot {
  background: var(--sky);
  transform: scale(1.3);
}

.timeline__label {
  font-size: 0.82rem;
  font-weight: 500;
}

.timeline__node.is-active .timeline__label {
  color: var(--white);
  font-weight: 700;
}

.plan-card {
  margin-top: 2.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  backdrop-filter: blur(6px);
}

.plan-card__inner {
  max-width: 640px;
}

.plan-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.plan-card p {
  color: #d7e6f5;
  margin-bottom: 1.5rem;
}

.plan-card__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(320px, 1fr));
  gap: 1.5rem;
}

@media (max-width: 700px) {
  .plan-card__list {
    grid-template-columns: 1fr;
  }
}

.plan-card__list-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.4rem;
}

.plan-card__list-item h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.plan-card__list-item p {
  font-size: 0.9rem;
  color: #d7e6f5;
  margin-bottom: 1.1rem;
}

/* =========================================================
   DESTACADOS
   ========================================================= */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.9rem;
  border: 1px solid rgba(66, 68, 79, 0.08);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(33, 42, 162, 0.12);
}

.feature-card__num {
  font-family: var(--font-mono);
  color: var(--sky);
  font-size: 0.85rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--indigo-deep);
  margin: 0.6rem 0 0.75rem;
}

.feature-card p {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.feature-card__link {
  color: var(--indigo);
  font-weight: 600;
  font-size: 0.9rem;
}

/* =========================================================
   EQUIPO
   ========================================================= */
.section--equipo {
  background: var(--white);
}

.equipo__visual {
  position: relative;
  height: 380px;
}

.equipo__blob {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--sky), var(--indigo));
  border-radius: 42% 58% 63% 37% / 45% 41% 59% 55%;
  animation: morph 10s var(--ease) infinite;
}

.equipo__photo {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 100%;
  height: 120%;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(20, 27, 110, 0.35));
}

@keyframes morph {

  0%,
  100% {
    border-radius: 42% 58% 63% 37% / 45% 41% 59% 55%;
  }

  50% {
    border-radius: 58% 42% 37% 63% / 55% 59% 41% 45%;
  }
}

.equipo__text .btn {
  margin-top: 1.5rem;
}

/* =========================================================
   SUCURSALES
   ========================================================= */

.section__inner div:has(.section__title_s) {
  display: flex;
  justify-content: center;
}

.branches-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.branch-button {
  padding: 0.75rem 1.25rem;
  border: 2px solid var(--indigo);
  background: var(--white);
  color: var(--indigo);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.branch-button:hover {
  background: var(--indigo);
  color: var(--white);
}

.branch-button.active {
  background: var(--indigo);
  color: var(--white);
  border-color: var(--indigo);
}

.branches-display {
  margin-top: 2rem;
}

.branch-panel {
  display: none;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.branch-panel.active {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .branch-panel.active {
    grid-template-columns: 1fr 2fr;
  }
}

.branch-card_info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
}

.branch-card_info h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--indigo-deep);
  margin-bottom: 0.5rem;
}

.branch-card__address {
  font-size: 0.9rem;
  color: var(--slate);
  margin-bottom: 1rem;
}

.branch-card__link {
  margin-top: auto;
  display: inline-block;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  color: var(--indigo);
  font-size: 0.9rem;
  text-decoration: none;
  border: 2px solid var(--indigo);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  align-self: flex-start;
}

.branch-card__link:hover {
  background: var(--indigo);
  color: var(--white);
}

.branch-card__map {
  aspect-ratio: 16/10;
}

.branch-card__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.branches {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.branch-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(66, 68, 79, 0.08);
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .branch-card {
    grid-template-columns: 1fr 1fr;
  }
}

.branch-card__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
}

.branch-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--indigo-deep);
  padding: 1.5rem 1.5rem 0;
}

.branch-card__address {
  font-size: 0.9rem;
  padding: 0.5rem 1.5rem 1.25rem;
  color: var(--slate);
}

.branch-card__map {
  aspect-ratio: 16/10;
}

.branch-card__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.branch-card__link {
  margin-top: auto;
  display: block;
  padding: 1.1rem 1.5rem;
  font-weight: 600;
  color: var(--indigo);
  font-size: 0.9rem;
}

/* =========================================================
   CONTACTO
   ========================================================= */

.section--contacto {
  background: linear-gradient(180deg, var(--indigo), var(--indigo-deep));
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--sky);
}

.form1 {
  background: var(--indigo);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

/* transform: translateY(-139px)*/

.section--contacto {
  background: linear-gradient(180deg, var(--indigo), var(--indigo-deep));
}

.contacto__text {
  background: var(--indigo);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transform: translateY(-139px);
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--sky);
}

.form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form__row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form__row label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--indigo-deep);
}

.form__row input,
.form__row select,
.form__row textarea {
  font: inherit;
  padding: 0.8rem 1rem;
  border: 1.5px solid #e1e5ee;
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--slate);
  transition: border-color 0.2s;
}

.form__row input:focus,
.form__row select:focus,
.form__row textarea:focus {
  border-color: var(--sky);
  outline: none;
}

.form__error {
  color: #c0392b;
  font-size: 0.85rem;
}

.chiapas-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
  padding: 0.65rem 1.2rem;
  border: 1.5px solid var(--sky);
  border-radius: 999px;
  background: rgba(79, 199, 248, 0.1);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  transition:
    background 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.chiapas-toggle span {
  color: var(--sky);
  text-decoration: underline;
}

.chiapas-toggle:hover {
  background: rgba(79, 199, 248, 0.2);
  transform: translateY(-2px);
}

.chiapas-active {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding: 0.8rem 1.1rem;
  background: rgba(79, 199, 248, 0.12);
  border: 1px solid rgba(79, 199, 248, 0.35);
  border-radius: var(--radius-sm);
  color: #d7e6f5;
  font-size: 0.85rem;
}

.chiapas-active__reset {
  color: var(--sky);
  font-weight: 700;
  text-decoration: underline;
}

.chiapas-active__reset:hover {
  color: var(--white);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--indigo-deep);
  color: #c6d3ef;
}

.footer__inner {
  padding-block: 3.5rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
}

.footer__brand .nav__logo-text {
  color: var(--white);
}

.footer__brand p {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #93a4d1;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer__links a {
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: var(--sky);
}

.footer__social-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.8rem;
  color: #93a4d1;
}

.footer__social-icons {
  display: flex;
  gap: 0.75rem;
}

.footer__social-icons a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  transition: background 0.2s ease;
}

.footer__social,
.footer__links,
.footer__policies {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.footer__policies {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(147, 164, 209, 0.15);
}

.footer__social-icons a:hover {
  background: var(--sky);
}

.footer__social-icons svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem clamp(1.25rem, 4vw, 2.5rem);
  text-align: left;
  font-size: 0.8rem;
  color: #7c8dbf;
}

.footer__brand .nav__logo-text {
  color: var(--white);
}

.footer__brand p {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #fff;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer__links a {
  font-size: 0.9rem;
}

.footer__links a:hover {
  color: var(--sky);
}

.footer__social-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.8rem;
  color: #93a4d1;
}

.footer__social-icons {
  display: flex;
  gap: 0.75rem;
}

.footer__social-icons a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  transition: background 0.2s;
}

.footer__social-icons a:hover {
  background: var(--sky);
}

.footer__social-icons svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem clamp(1.25rem, 4vw, 2.5rem);
  text-align: left;
  font-size: 0.8rem;
  color: #7c8dbf;
}

/* =========================================================
   AVISO DE PRIVACIDAD
   ========================================================= */
/*.legal-page {
  min-height: 70vh;
}*/

/* =========================================================
   WHATSAPP FLOTANTE
   ========================================================= */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
  z-index: 1000;
}

.wa-float:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}

.wa-float svg {
  width: 28px;
  height: 28px;
  fill: white;
}

/* =========================================================
   RESPONSIVE STYLES
   ========================================================= */
@media (max-width: 768px) {
  .branches-buttons {
    gap: 0.4rem;
  }

  .branch-button {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }

  .nav__toggle {
    display: flex;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .cards-3 {
    grid-template-columns: 1fr;
  }

  .timeline__track {
    flex-wrap: wrap;
  }

  .timeline__node {
    flex: 1 1 30%;
    margin-bottom: 1rem;
  }

  .wa-float {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
  }

  .wa-float svg {
    width: 24px;
    height: 24px;
  }
}

.legal-page__container {
  width: min(900px, 100%);
  margin: 0 auto;
}

.legal-page__header {
  text-align: center;
  margin-bottom: 50px;
}

.legal-page__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: #93a4d1;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.legal-page__header h1 {
  margin: 0;
  color: var(--indigo);
  font-family: "Fraunces", serif;
  font-size: clamp(2.2rem, 5vw, 2rem);
  font-weight: 100;
  line-height: 1.1;
}

.legal-page__header>p {
  max-width: 620px;
  margin: 18px auto 0;
  color: black;
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal-page__content {
  padding: clamp(25px, 5vw, 55px);
  background: var(--indigo);
  border: 1px solid rgba(147, 164, 209, 0.15);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.legal-page__content p {
  margin: 0 0 22px;
  color: #b9c4dc;
  font-size: 0.95rem;
  line-height: 1.85;
  text-align: justify;
}

.legal-page__content strong {
  color: #e7ecf8;
  font-weight: 600;
}

.legal-page__list {
  margin: 30px 0;
  padding: 0;
  list-style: none;
  counter-reset: legal-counter;
}

.legal-page__list li {
  position: relative;
  text-align: justify;
  margin-bottom: 20px;
  padding: 20px 20px 20px 65px;
  color: #b9c4dc;
  font-size: 0.95rem;
  line-height: 1.8;
  background: rgba(147, 164, 209, 0.035);
  border-left: 2px solid rgba(147, 164, 209, 0.35);
  border-radius: 0 10px 10px 0;
  counter-increment: legal-counter;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.legal-page__list li::before {
  content: counter(legal-counter);
  position: absolute;
  left: 20px;
  top: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 28px;
  height: 28px;

  color: #93a4d1;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;

  border: 1px solid rgba(147, 164, 209, 0.35);
  border-radius: 50%;
}

.legal-page__list li:hover {
  background: rgba(147, 164, 209, 0.07);
  border-left-color: #93a4d1;
  transform: translateX(4px);
}

.legal-page__contact {
  margin-top: 40px;
  padding: 25px;
  background: rgba(147, 164, 209, 0.06);
  border: 1px solid rgba(147, 164, 209, 0.15);
  border-radius: 12px;
}

.legal-page__contact h2 {
  margin: 0 0 12px;
  color: #fff;
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
  font-weight: 500;
}

.legal-page__contact p {
  margin-bottom: 12px;
}

.legal-page__contact a {
  color: #93a4d1;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.25s ease;
}

.legal-page__contact a:hover {
  color: #fff;
}

.legal-page__back {
  text-align: center;
  margin-top: 35px;
}

.legal-page__back a {
  color: black;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.25s ease;
}

.legal-page__back a:hover {
  color: #fff;
}

/* =========================================================
   TERMINOS Y CONDICIONES
   ========================================================= */
.legal-section {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  padding: 0 0 35px;
  margin-bottom: 35px;
  border-bottom: 1px solid rgba(147, 164, 209, 0.12);
}

.legal-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 10px;
}

.legal-section__number {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  color: #93a4d1;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;

  border: 1px solid rgba(147, 164, 209, 0.35);
  border-radius: 50%;

  background: rgba(147, 164, 209, 0.04);

  box-shadow: 0 0 15px rgba(147, 164, 209, 0.04);

  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.legal-section:hover .legal-section__number {
  color: #fff;
  border-color: #93a4d1;
  background: rgba(147, 164, 209, 0.08);
  box-shadow: 0 0 15px rgba(147, 164, 209, 0.15);
}

.legal-section h2 {
  margin: 3px 0 15px;

  color: #fff;
  font-family: "Fraunces", serif;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.35;
}

.legal-section p {
  margin: 0 0 18px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-link {
  display: inline-block;
  margin: -5px 0 18px;
  color: #93a4d1;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(147, 164, 209, 0.3);

  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    text-shadow 0.25s ease;
}

.legal-link:hover {
  color: #fff;
  border-color: #fff;
  text-shadow: 0 0 8px rgba(147, 164, 209, 0.5);
}

/* =========================================================
   WHATSAPP FLOAT
   ========================================================= */
.wa-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  animation:
    floatIn 0.6s var(--ease) 1s backwards,
    breathe 3s ease-in-out infinite 2s;
}

.wa-float svg {
  width: 30px;
  height: 30px;
  fill: var(--white);
}

@keyframes floatIn {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}

@keyframes breathe {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }
}

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {

  .grid-2,
  .grid-2--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .equipo__visual {
    order: -1;
    height: 200px;
  }

  .cards-3 {
    grid-template-columns: 1fr;
  }

  .branches {
    grid-template-columns: 1fr;
  }

  .values {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {

  html,
  body {
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .nav__links {
    display: none;
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
    gap: 1.1rem;
    border-bottom: 1px solid rgba(66, 68, 79, 0.08);
    z-index: 99;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__links a {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(66, 68, 79, 0.1);
    width: 100%;
  }

  .nav__links a:last-child {
    border-bottom: none;
  }

  .nav__toggle {
    display: flex;
  }

  /*Submenu cel */
  .nav__dropdown {
    width: 100%;
  }

  .nav__dropdown-menu {
    position: static;
    box-shadow: none;
    background: rgba(66, 68, 79, 0.05);
    border-radius: 0;
    padding: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    margin-top: 0.5rem;
  }

  .nav__dropdown.is-open .nav__dropdown-menu {
    display: block;
  }

  .nav__dropdown-menu a {
    padding: 0.5rem 1rem;
    border-bottom: 1px solid rgba(66, 68, 79, 0.08);
    font-size: 0.85rem;
  }

  .nav__dropdown-menu a:hover {
    background: rgba(79, 199, 248, 0.1);
    padding-left: 1.25rem;
  }

  /*Movil submenu st*/
  .nav__dropdown--nested {
    width: 100%;
  }

  .nav__dropdown-menu--nested {
    position: static;
    box-shadow: none;
    background: rgba(66, 68, 79, 0.08);
    border-radius: 0;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: none;
    display: none !important;
    margin-top: 0.25rem;
    margin-left: 1rem;
  }

  .nav__dropdown--nested.is-open .nav__dropdown-menu--nested {
    display: block !important;
    opacity: 1;
    visibility: visible;
  }

  .nav__dropdown-menu--nested a {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(66, 68, 79, 0.05);
  }

  .nav__dropdown-menu--nested a:hover {
    background: rgba(79, 199, 248, 0.15);
    padding-left: 1.25rem;
  }

  .values {
    grid-template-columns: 1fr;
  }

  .legal-page {
    padding: 120px 15px 60px;
  }

  .legal-section {
    grid-template-columns: 38px 1fr;
    gap: 14px;
    padding-bottom: 28px;
    margin-bottom: 28px;
  }

  .legal-section__number {
    width: 34px;
    height: 34px;
    font-size: 0.7rem;
  }

  .legal-section h2 {
    margin-top: 0;
    font-size: 1.15rem;
  }

  .legal-section p {
    font-size: 0.88rem;
    line-height: 1.75;
  }

  .legal-page__notice {
    padding: 18px;
  }

  .legal-page__header {
    margin-bottom: 30px;
  }

  .legal-page__content {
    padding: 22px 18px;
    border-radius: 14px;
  }

  .legal-page__content p {
    font-size: 0.9rem;
    line-height: 1.75;
    text-align: justify;
  }

  .legal-page__list li {
    padding: 18px 15px 18px 55px;
    font-size: 0.9rem;
  }

  .legal-page__list li::before {
    left: 15px;
    top: 18px;
  }

  .legal-page__contact {
    padding: 20px 17px;
  }

  .branches-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .branch-button {
    width: 100%;
    padding: 11px 10px;
  }

  .branch-panel {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .branch-card__map {
    min-height: 300px;
  }

  .branch-card__map iframe {
    height: 300px;
  }
}

/* aviso de privacidad*/

.legal-page {
  min-height: 70vh;
  padding: 150px 20px 80px;

  color: #dce3f5;
}

.legal-page__container {
  width: min(900px, 100%);
  margin: 0 auto;
}

.legal-page__header {
  text-align: center;
  margin-bottom: 50px;
}

.legal-page__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: #93a4d1;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.legal-page__header h1 {
  margin: 0;
  color: var(--indigo);
  font-family: "Fraunces", serif;
  font-size: clamp(2.2rem, 5vw, 2rem);
  font-weight: 100;
  line-height: 1.1;
}

.legal-page__header>p {
  max-width: 620px;
  margin: 18px auto 0;
  color: black;
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal-page__content {
  padding: clamp(25px, 5vw, 55px);
  background: var(--indigo);
  border: 1px solid rgba(147, 164, 209, 0.15);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.legal-page__content p {
  margin: 0 0 22px;
  color: #b9c4dc;
  font-size: 0.95rem;
  line-height: 1.85;
  text-align: justify;
}

.legal-page__content strong {
  color: #e7ecf8;
  font-weight: 600;
}

.legal-page__list {
  margin: 30px 0;
  padding: 0;
  list-style: none;
  counter-reset: legal-counter;
}

.legal-page__list li {
  position: relative;
  text-align: justify;
  margin-bottom: 20px;
  padding: 20px 20px 20px 65px;
  color: #b9c4dc;
  font-size: 0.95rem;
  line-height: 1.8;
  background: rgba(147, 164, 209, 0.035);
  border-left: 2px solid rgba(147, 164, 209, 0.35);
  border-radius: 0 10px 10px 0;
  counter-increment: legal-counter;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.legal-page__list li::before {
  content: counter(legal-counter);
  position: absolute;
  left: 20px;
  top: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 28px;
  height: 28px;

  color: #93a4d1;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;

  border: 1px solid rgba(147, 164, 209, 0.35);
  border-radius: 50%;
}

.legal-page__list li:hover {
  background: rgba(147, 164, 209, 0.07);
  border-left-color: #93a4d1;
  transform: translateX(4px);
}

.legal-page__contact {
  margin-top: 40px;
  padding: 25px;
  background: rgba(147, 164, 209, 0.06);
  border: 1px solid rgba(147, 164, 209, 0.15);
  border-radius: 12px;
}

.legal-page__contact h2 {
  margin: 0 0 12px;
  color: #fff;
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
  font-weight: 500;
}

.legal-page__contact p {
  margin-bottom: 12px;
}

.legal-page__contact a {
  color: #93a4d1;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.25s ease;
}

.legal-page__contact a:hover {
  color: #fff;
}

.legal-page__back {
  text-align: center;
  margin-top: 35px;
}

.legal-page__back a {
  color: black;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.25s ease;
}

.legal-page__back a:hover {
  color: #fff;
}

/* =========================================================
   TERMINOS Y CONDICIONES
   ========================================================= */

.legal-section {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  padding: 0 0 35px;
  margin-bottom: 35px;
  border-bottom: 1px solid rgba(147, 164, 209, 0.12);
}

.legal-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 10px;
}

.legal-section__number {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  color: #93a4d1;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;

  border: 1px solid rgba(147, 164, 209, 0.35);
  border-radius: 50%;

  background: rgba(147, 164, 209, 0.04);

  box-shadow: 0 0 15px rgba(147, 164, 209, 0.04);

  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.legal-section:hover .legal-section__number {
  color: #fff;
  border-color: #93a4d1;
  background: rgba(147, 164, 209, 0.08);
  box-shadow: 0 0 15px rgba(147, 164, 209, 0.15);
}

.legal-section h2 {
  margin: 3px 0 15px;

  color: #fff;
  font-family: "Fraunces", serif;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.35;
}

.legal-section p {
  margin: 0 0 18px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

/* Enlaces */

.legal-link {
  display: inline-block;
  margin: -5px 0 18px;

  color: #93a4d1;
  font-weight: 600;
  text-decoration: none;

  border-bottom: 1px solid rgba(147, 164, 209, 0.3);

  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    text-shadow 0.25s ease;
}

.legal-link:hover {
  color: #fff;
  border-color: #fff;
  text-shadow: 0 0 8px rgba(147, 164, 209, 0.5);
}

/* =========================================================
   AVISO FINAL 
   ========================================================= */

.legal-page__notice {
  margin-top: 35px;
  padding: 22px 25px;

  background: rgba(147, 164, 209, 0.045);
  border: 1px solid rgba(147, 164, 209, 0.15);
  border-left: 2px solid #93a4d1;

  border-radius: 0 10px 10px 0;
}

.legal-page__notice strong {
  display: block;
  margin-bottom: 8px;

  color: #fff;
  font-family: "Fraunces", serif;
  font-size: 1.1rem;
}

.legal-page__notice p {
  margin: 0;
  color: #93a4d1;
  font-size: 0.85rem;
  line-height: 1.7;
}

/* =========================================================
   BOTONES MAPA
   ========================================================= */
.branches-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 30px 0;
}

.branch-button {
  appearance: none;
  border: 1px solid #ccc;
  background: #fff;
  color: var(--indigo);
  padding: 12px 22px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.25s ease;
  font-family: var(--font-display);
}

.branch-button:hover {
  background: var(--indigo);
  color: white;
}

.branch-button.active {
  background: var(--indigo);
  color: #fff;
  border-color: var(--indigo);
}

/* =========================================================
   PANEL
   ========================================================= */
.branch-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 30px;
  align-items: stretch;
}

.branch-panel[hidden] {
  display: none;
}

/* =========================================================
   INFORMACION CARD MAPA
   ========================================================= */
.branch-card_info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.branch-card_info h3 {
  margin-bottom: 15px;
  margin-top: 0;
  font-size: 24px;
  color: var(--indigo);
  text-align: center;
  font-family: var(--font-display);
}

.branch-card__address {
  line-height: 1.6;
  margin-bottom: 20px;
}

.branch-card__link {
  display: inline-block;
  margin: 0 auto;
  text-align: center;
}

/* =========================================================
   MAPA
   ========================================================= */
.branch-card__map {
  width: 100%;
  min-height: 400px;
  overflow: hidden;
  border-radius: 15px;
}

.branch-card__map iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}

/* =========================================================
   SEPARADOR LINEA
   ========================================================= */
section.section,
section.hero {
  position: relative;
  padding-top: 100px;
  padding-bottom: 100px;
}

section.hero {
  padding-top: 140px;
}

section.section::before {
  content: "";
  position: absolute;
  top: 0;
  width: 90%;
  height: 1px;
  left: 4%;
  background: linear-gradient(to right,
      transparent,
      rgba(9, 54, 114, 0.4) 20%,
      rgba(17, 76, 153, 0.4) 80%,
      transparent);
}