/* Seguridad y Cumplimiento - Figma node 172:1833 */

.seg-main {
  padding-bottom: 0;
}

/* ============================================================
   Hero
   ============================================================ */
.seg-hero {
  padding: 3rem 0 4rem;
  background: var(--white);
}

.seg-hero-title {
  text-align: center;
  margin: 0 auto 1.5rem;
  max-width: 685px;
  color: var(--color-black);
  font-weight: 600;
  font-size: clamp(2.25rem, 5vw, 68px);
  line-height: calc(90 / 68);
}

.seg-hero-subtitle {
  text-align: center;
  margin: 0 auto 3.5rem;
  max-width: 518px;
  color: var(--color-black);
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
}

.seg-hero-grid {
  display: grid;
  grid-template-columns: 582px 1fr;
  gap: 2rem 3rem;
  align-items: center;
  margin: 5rem 0;
}

/* Left: regulatory logo cards (Figma 582×222, circle 120px white) */
.seg-logo-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 582px;
  flex-shrink: 0;
}

.seg-logo-card {
  display: flex;
  align-items: center;
  gap: 40px;
  width: 582px;
  height: 222px;
  padding: 0 40px 0 63px;
  border-radius: 30px;
  box-sizing: border-box;
}

.seg-logo-card--magenta {
  background: var(--magenta);
}

.seg-logo-card--dark {
  background: var(--primary-dark);
}

.seg-logo-card--lime {
  background: var(--lime-green);
}

.seg-logo-card-media {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 27px;
}

.seg-logo-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.seg-logo-card-text {
  font-weight: 500;
  font-size: 20px;
  line-height: normal;
  margin: 0;
  flex: 1;
  max-width: 289px;
}

.seg-logo-card--magenta .seg-logo-card-text,
.seg-logo-card--dark .seg-logo-card-text {
  color: var(--white);
}

.seg-logo-card--lime .seg-logo-card-text {
  color: #015f4d;
}

/* Right: supervision (Figma 45:3985–45:3990) */
.seg-supervision {
  max-width: 644px;
}

.seg-supervision-title {
  font-weight: 600;
  font-size: 48px;
  line-height: 60px;
  color: var(--color-black);
  margin: 0 0 27px;
  max-width: 594px;
}

.seg-supervision-desc {
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  color: var(--color-black);
  margin: 0 0 65px;
  max-width: 583px;
}

.seg-supervision-item {
  display: flex;
  gap: 30px;
  align-items: center;
}

.seg-supervision-icon {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #f2f6f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.seg-supervision-icon img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.seg-supervision-text {
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: var(--color-black);
  margin: 0;
  max-width: 606px;
  flex: 1;
  padding-top: 10px;
}

.seg-supervision-item:last-of-type .seg-supervision-text {
  padding-top: 0;
}

.seg-supervision-divider {
  display: block;
  width: 100%;
  max-width: 644px;
  height: 0;
  margin: 28px 0 44px;
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* ============================================================
   Garantía de seguridad
   ============================================================ */
.seg-security {
  background: var(--lime-green);
  padding: 4rem 0 5rem;
}

.seg-section-title {
  font-weight: 600;
  font-size: 48px;
  line-height: 60px;
  color: #015f4d;
  margin: 0 0 3rem;
}

.seg-section-title--center {
  text-align: center;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 4rem;
  margin-bottom: 3rem;
}

.seg-security > .container-wide > .seg-section-title--center:first-child {
  margin-top: 0;
}

.seg-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 0;
}

.seg-card {
  --seg-card-transition: 0.45s ease;
  border-radius: 30px;
  padding: 3rem 2rem 2.5rem;
  min-height: 420px;
  box-sizing: border-box;
  position: relative;
  transition:
    background-color var(--seg-card-transition),
    border-color var(--seg-card-transition);
}

.seg-card--outline {
  background-color: transparent;
  border: 1px solid rgba(0, 61, 43, 0.2);
  cursor: pointer;
}

.seg-card.is-active {
  background-color: var(--magenta);
  border-color: var(--magenta);
  cursor: default;
}

.seg-card.is-active .seg-card-title,
.seg-card.is-active .seg-card-body,
.seg-card.is-active .seg-card-body a {
  color: var(--white);
}

.seg-card.is-active .seg-card-icon {
  background-color: var(--white);
}

.seg-card--outline:not(.is-active):hover {
  background-color: var(--magenta);
  border-color: var(--magenta);
}

.seg-card--outline:not(.is-active):hover .seg-card-title,
.seg-card--outline:not(.is-active):hover .seg-card-body,
.seg-card--outline:not(.is-active):hover .seg-card-body a {
  color: var(--white);
}

.seg-card--outline:not(.is-active):hover .seg-card-icon {
  background-color: var(--white);
}

.seg-card-title,
.seg-card-body,
.seg-card-body a {
  color: #015f4d;
  transition: color var(--seg-card-transition);
}

.seg-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(0, 61, 43, 0.05);
  margin-bottom: 1.5rem;
  transition: background-color var(--seg-card-transition);
}

.seg-card-icon img {
  width: 24px;
  height: 24px;
  display: block;
}

.seg-card-icon--white {
  background-color: var(--white);
}

.seg-card-title {
  font-weight: 600;
  font-size: 24px;
  line-height: 30px;
  margin: 0 0 1rem;
}

.seg-card-body {
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  margin: 0;
}

.seg-card-body p {
  margin: 0 0 0.5em;
}

.seg-card-body p:last-child {
  margin-bottom: 0;
}

.seg-card-body a {
  color: inherit;
  text-decoration: underline;
}

.seg-card-body a:hover {
  opacity: 0.85;
}

/* Garantía de seguridad — scroll reveal 见 common.css */

@media (prefers-reduced-motion: reduce) {
  .seg-card,
  .seg-card-icon,
  .seg-card-title,
  .seg-card-body,
  .seg-card-body a {
    transition: none;
  }
}

/* ============================================================
   Obligaciones de pago
   ============================================================ */
.seg-payments {
  padding: 4rem 0 5rem;
  background: var(--white);
}

.seg-payments-title {
  font-weight: 600;
  font-size: 48px;
  line-height: 60px;
  color: var(--color-black);
  text-align: center;
  margin: 0 auto 1.25rem;
}

.seg-payments-subtitle {
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  color: var(--color-black);
  text-align: center;
  margin: 0 auto 3rem;
}

.seg-payments-box {
  background: var(--color-black);
  border-radius: 30px;
  padding: 2.5rem 3.5rem 2rem;
  max-width: 1325px;
  margin: 0 auto;
}

.seg-payments-box-title {
  font-weight: 600;
  font-size: 24px;
  line-height: 30px;
  color: var(--white);
  margin: 0 0 1.5rem;
}

.seg-payments-list {
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: var(--white);
  margin-bottom: 2rem;
}

.seg-payments-list p {
  margin: 0 0 0.25em;
}

.seg-payments-note {
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: var(--lime-green);
  text-align: center;
  margin: 0;
  padding: 0.5rem 1.5rem;
  border: 1px solid rgba(193, 255, 46, 0.3);
  border-radius: 30px;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1200px) {
  .seg-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .seg-logo-cards {
    max-width: 582px;
    margin: 0 auto;
  }

  .seg-supervision-title {
    font-size: clamp(2rem, 4vw, 48px);
    line-height: 1.25;
  }
}

@media (max-width: 992px) {
  .seg-hero-grid {
    margin: 3rem 0 0;
    gap: 2.5rem;
  }

  .seg-hero-subtitle {
    margin-bottom: 2.5rem;
  }

  .seg-cards-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 1rem;
  }

  .seg-card {
    min-height: auto;
  }

  .seg-section-title,
  .seg-payments-title {
    font-size: clamp(1.75rem, 4vw, 48px);
    line-height: 1.25;
  }

  .seg-section-title--center {
    margin-top: 3rem;
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .seg-hero {
    padding: 1.75rem 0 2.5rem;
  }

  .seg-hero-title {
    margin-bottom: 1rem;
    line-height: 1.25;
  }

  .seg-hero-subtitle {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 2rem;
    padding: 0 0.25rem;
  }

  .seg-hero-grid {
    margin: 0;
    gap: 2.25rem;
  }

  .seg-logo-cards {
    width: 100%;
    max-width: none;
    gap: 12px;
  }

  .seg-logo-card {
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 1.25rem 1rem 1.25rem 1.125rem;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 1rem;
    border-radius: 24px;
  }

  .seg-logo-card-media {
    width: 72px;
    height: 72px;
    padding: 14px;
    flex-shrink: 0;
  }

  .seg-logo-card-text {
    font-size: 14px;
    line-height: 1.4;
    max-width: none;
    flex: 1;
  }

  .seg-supervision {
    max-width: none;
    text-align: left;
  }

  .seg-supervision-title {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    max-width: none;
  }

  .seg-supervision-desc {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 1.75rem;
    max-width: none;
  }

  .seg-supervision-item {
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
  }

  .seg-supervision-icon {
    width: 52px;
    height: 52px;
    margin-top: 2px;
  }

  .seg-supervision-icon img {
    width: 24px;
    height: 24px;
  }

  .seg-supervision-text {
    font-size: 15px;
    line-height: 1.5;
    padding-top: 0;
    max-width: none;
  }

  .seg-supervision-divider {
    margin: 1.25rem 0 1.5rem;
    max-width: none;
  }

  .seg-security {
    padding: 2.5rem 0 3rem;
  }

  .seg-section-title,
  .seg-payments-title {
    font-size: 28px;
    line-height: 1.3;
  }

  .seg-section-title--center {
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    padding: 0 0.25rem;
  }

  .seg-security > .container-wide > .seg-section-title--center:first-child {
    margin-top: 0;
    margin-bottom: 1.5rem;
  }

  .seg-cards-grid {
    gap: 0.875rem;
  }

  .seg-card {
    padding: 1.5rem 1.25rem 1.375rem;
    border-radius: 24px;
  }

  .seg-card-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 1rem;
  }

  .seg-card-icon img {
    width: 22px;
    height: 22px;
  }

  .seg-card-title {
    font-size: 20px;
    line-height: 26px;
    margin-bottom: 0.75rem;
  }

  .seg-card-body {
    font-size: 15px;
    line-height: 1.5;
  }

  .seg-payments {
    padding: 2.5rem 0 3.5rem;
  }

  .seg-payments-subtitle {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 1.75rem;
    padding: 0 0.25rem;
  }

  .seg-payments-box {
    padding: 1.5rem 1.25rem 1.25rem;
    border-radius: 24px;
  }

  .seg-payments-box-title {
    font-size: 20px;
    line-height: 26px;
    margin-bottom: 1rem;
  }

  .seg-payments-list {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 1.5rem;
  }

  .seg-payments-list p {
    margin-bottom: 0.65em;
  }

  .seg-payments-list p:first-child {
    margin-bottom: 0.85em;
  }

  .seg-payments-note {
    font-size: 14px;
    line-height: 1.45;
    padding: 0.875rem 1rem;
    border-radius: 20px;
  }
}

@media (max-width: 480px) {
  .seg-logo-card {
    padding: 1rem 0.875rem 1rem 1rem;
    gap: 0.875rem;
  }

  .seg-logo-card-media {
    width: 64px;
    height: 64px;
    padding: 12px;
  }

  .seg-logo-card-text {
    font-size: 13px;
    line-height: 1.35;
  }

  .seg-supervision-title,
  .seg-section-title,
  .seg-payments-title {
    font-size: 24px;
  }

  .seg-card {
    padding: 1.25rem 1rem 1.125rem;
  }
}
