/* ======================== RESET & VARIABLES ======================== */
:root {
  --color-white: #ffffff;
  --color-dark: #1a1a2e;
  --color-overlay: rgba(0, 0, 0, 0.55);
  --color-accent: #e2b04a;
  --font-primary: "Poppins", sans-serif;
  --transition-base: 0.3s ease;
  --transition-smooth: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1.2);
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.15);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.25);
  --nav-height: 80px;
  --border-radius-full: 999px;

  /* Nosotros */
  --color-fuchsia: #d6336c;
  --color-gray-text: #4a4a4a;
  --color-gray-light: #f5f0eb;
  --container-max: 1300px;
  --color-blue: #1a3a5c;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
}

/* ======================== HERO SECTION ======================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* --- Video de Fondo --- */
.hero__video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Overlay Oscuro --- */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.45) 50%,
    rgba(0, 0, 0, 0.6) 100%
  ); */
}

/* --- Contenedor Interno --- */
.hero__container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0;
}

/* ======================== NAVEGACIÓN ======================== */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 0 5%;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: var(--nav-height);
  max-width: 1150px;
  margin: 0 auto;
}

/* --- Logo en menú (oculto, no se usa en el nav) --- */
.nav__logo-link {
  display: flex;
  align-items: center;
  z-index: 101;
}

.nav__logo {
  height: 36px;
  width: auto;
  transition: opacity var(--transition-base);
}

.nav__logo-link:hover .nav__logo {
  opacity: 0.8;
}

/* --- Lista de navegación --- */
.nav__list {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--color-white);
  transition: color var(--transition-base);
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-white);
  transition: width var(--transition-base);
}

.nav__link:hover {
  color: var(--color-accent);
}

.nav__link:hover::after {
  width: 100%;
  background: var(--color-accent);
}

/* --- Botón Contáctanos en el menú --- */
.nav__btn {
  display: inline-block;
  padding: 0.6rem 1.8rem;
  background: var(--color-white);
  color: var(--color-dark);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--border-radius-full);
  border: 2px solid var(--color-white);
  transition:
    background var(--transition-base),
    color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-base);
}

.nav__btn:hover {
  background: transparent;
  color: var(--color-white);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

/* ======================== HAMBURGUESA ======================== */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
  padding: 0;
  margin-left: auto;
}

.nav__toggle-bar {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--color-white);
  border-radius: 4px;
  transition:
    transform var(--transition-base),
    opacity var(--transition-base);
}

.nav__toggle.active .nav__toggle-bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav__toggle.active .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active .nav__toggle-bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ======================== CONTENIDO HERO ======================== */
.hero__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 5%;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
  padding-top: var(--nav-height);
}

.hero__subtitle {
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
}

.hero__brand {
  margin-bottom: 1.2rem;
}

.hero__logo {
  height: 90px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.hero__description {
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  max-width: 480px;
  margin-bottom: 2rem;
}

/* --- Botón Conversemos --- */
.hero__cta {
  display: inline-block;
  align-self: flex-start;
  padding: 0.85rem 2.8rem;
  background: var(--color-white);
  color: var(--color-dark);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--border-radius-full);
  border: 2px solid var(--color-white);
  transition:
    background var(--transition-base),
    color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-base);
}

.hero__cta:hover {
  background: transparent;
  color: var(--color-white);
  box-shadow: 0 10px 40px rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

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

/* --- Tablet --- */
@media (max-width: 992px) {
  .hero__logo {
    height: 70px;
  }

  .nav__list {
    gap: 1.8rem;
  }

  .hero__description {
    max-width: 420px;
    font-size: 0.98rem;
  }
}

/* --- Mobile --- */
@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }

  .nav__list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    background: rgba(10, 10, 30, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
    transition: right var(--transition-smooth);
    z-index: 100;
  }

  .nav__list.active {
    right: 0;
  }

  .nav__link {
    font-size: 1.1rem;
  }

  .nav__btn {
    font-size: 1rem;
    padding: 0.7rem 2.2rem;
  }

  .hero__content {
    align-items: center;
    text-align: center;
    padding-top: var(--nav-height);
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .hero__brand {
    margin-bottom: 1rem;
  }

  .hero__logo {
    height: 60px;
    margin: 0 auto;
  }

  .hero__description {
    font-size: 0.92rem;
    max-width: 340px;
    margin-bottom: 1.8rem;
  }

  .hero__cta {
    align-self: center;
    padding: 0.8rem 2.5rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .hero__logo {
    height: 50px;
  }

  .hero__description {
    font-size: 0.85rem;
    max-width: 280px;
  }

  .hero__cta {
    padding: 0.75rem 2rem;
    font-size: 0.9rem;
  }

  .hero__subtitle {
    font-size: 0.9rem;
  }

  .nav__list {
    width: 100%;
  }
}

/* ======================== NOSOTROS SECTION ======================== */
.about {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-image: url("../Imagenes/Principal-Imagen-1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.about__container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 100px 5%;
}

.about__content {
  max-width: 560px;
}

/* --- Título --- */
.about__title {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: 0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

/* --- Línea fucsia --- */
.about__divider {
  width: 60px;
  height: 4px;
  background: var(--color-fuchsia);
  border-radius: 4px;
  margin-bottom: 1.8rem;
}

/* --- Texto --- */
.about__text {
  color: var(--color-gray-text);
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.8;
}

.about__text p {
  margin-bottom: 1.2rem;
}

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

.about__highlight {
  color: var(--color-fuchsia);
  font-weight: 600;
}

/* ======================== RESPONSIVE NOSOTROS ======================== */
@media (max-width: 992px) {
  .about__title {
    font-size: 2.2rem;
  }

  .about__text {
    font-size: 0.93rem;
    line-height: 1.7;
  }

  .about__container {
    padding: 80px 5%;
  }
}

@media (max-width: 768px) {
  .about {
    min-height: auto;
    background-position: 5% center;
  }

  .about__container {
    padding: 70px 5%;
  }

  .about__content {
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
  }

  .about__title {
    font-size: 1.9rem;
  }

  .about__divider {
    margin-left: auto;
    margin-right: auto;
  }

  .about__text {
    font-size: 0.9rem;
    line-height: 1.75;
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .about__container {
    padding: 60px 6%;
  }

  .about__title {
    font-size: 1.6rem;
  }

  .about__text {
    font-size: 0.85rem;
    line-height: 1.7;
  }

  .about__divider {
    width: 50px;
    height: 3px;
  }
}

/* ======================== ENFOQUE SECTION ======================== */
.approach {
  width: 100%;
  padding: 100px 0;
  background: var(--color-white);
}

.approach__container {
  display: flex;
  align-items: center;
  gap: 5rem;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 5%;
}

/* --- Imagen --- */
.approach__image {
  flex: 0 0 45%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.approach__img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* --- Contenido --- */
.approach__content {
  flex: 1;
}

.approach__title {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-blue);
  letter-spacing: 0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.approach__divider {
  width: 60px;
  height: 4px;
  background: var(--color-fuchsia);
  border-radius: 4px;
  margin-bottom: 1.8rem;
}

.approach__highlight {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-fuchsia);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.approach__text {
  font-size: 0.98rem;
  font-weight: 400;
  color: var(--color-gray-text);
  line-height: 1.8;
}

/* ======================== RESPONSIVE ENFOQUE ======================== */
@media (max-width: 992px) {
  .approach__container {
    gap: 3rem;
  }

  .approach__image {
    flex: 0 0 42%;
  }

  .approach__title {
    font-size: 2rem;
  }

  .approach__highlight {
    font-size: 0.98rem;
  }

  .approach__text {
    font-size: 0.93rem;
    line-height: 1.7;
  }
}

@media (max-width: 768px) {
  .approach {
    padding: 70px 0;
  }

  .approach__container {
    flex-direction: column;
    gap: 2.5rem;
  }

  .approach__image {
    flex: none;
    width: 80%;
    max-width: 400px;
    margin: 0 auto;
  }

  .approach__content {
    text-align: center;
  }

  .approach__title {
    font-size: 1.8rem;
  }

  .approach__divider {
    margin-left: auto;
    margin-right: auto;
  }

  .approach__highlight {
    font-size: 0.93rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .approach__text {
    font-size: 0.9rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  .approach {
    padding: 60px 0;
  }

  .approach__container {
    gap: 2rem;
    padding: 0 6%;
  }

  .approach__image {
    width: 90%;
    max-width: 320px;
  }

  .approach__title {
    font-size: 1.5rem;
  }

  .approach__highlight {
    font-size: 0.87rem;
  }

  .approach__text {
    font-size: 0.85rem;
    line-height: 1.7;
  }

  .approach__divider {
    width: 50px;
    height: 3px;
  }
}

/* ======================== MODELO DE NEGOCIO SECTION ======================== */
.business {
  width: 100%;
  padding: 110px 0;
  background: var(--color-blue);
}

.business__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 5%;
}

.business__title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-fuchsia);
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.business__subtitle {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.6;
  max-width: 620px;
  margin-bottom: 2rem;
}

.business__text {
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.9;
  max-width: 720px;
}

.business__text p {
  margin-bottom: 1.4rem;
}

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

.business__text strong {
  font-weight: 700;
}

/* ======================== RESPONSIVE MODELO DE NEGOCIO ======================== */
@media (max-width: 992px) {
  .business {
    padding: 90px 0;
  }

  .business__title {
    font-size: 2.5rem;
  }

  .business__subtitle {
    font-size: 1.05rem;
    max-width: 540px;
  }

  .business__text {
    font-size: 0.95rem;
    max-width: 620px;
  }
}

@media (max-width: 768px) {
  .business {
    padding: 70px 0;
  }

  .business__title {
    font-size: 2rem;
    text-align: center;
  }

  .business__subtitle {
    font-size: 0.98rem;
    text-align: center;
    max-width: 100%;
  }

  .business__text {
    font-size: 0.9rem;
    text-align: center;
    max-width: 100%;
    line-height: 1.8;
  }
}

@media (max-width: 480px) {
  .business {
    padding: 60px 0;
  }

  .business__container {
    padding: 0 6%;
  }

  .business__title {
    font-size: 1.7rem;
  }

  .business__subtitle {
    font-size: 0.9rem;
  }

  .business__text {
    font-size: 0.85rem;
    line-height: 1.75;
  }
}

/* ======================== DIFERENCIAL SECTION ======================== */
.diferencial {
  width: 100%;
  padding: 110px 0;
  background: var(--color-white);
}

.diferencial__container {
  display: flex;
  align-items: flex-start;
  gap: 5rem;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 5%;
}

.diferencial__content {
  flex: 1;
}

.diferencial__title {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--color-blue);
  letter-spacing: 0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.diferencial__divider {
  width: 60px;
  height: 4px;
  background: var(--color-fuchsia);
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.diferencial__subtitle {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--color-gray-text);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 2.5rem;
}

/* --- Imagen --- */
.diferencial__image {
  flex: 0 0 42%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.diferencial__img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* --- Beneficios --- */
.diferencial__benefits {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.benefit {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.benefit__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  object-fit: contain;
  margin-top: 2px;
}

.benefit__body {
  flex: 1;
}

.benefit__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.5;
  margin-bottom: 0.15rem;
}

.benefit__desc {
  font-size: 0.93rem;
  font-weight: 400;
  color: var(--color-gray-text);
  line-height: 1.6;
}

/* ======================== RESPONSIVE DIFERENCIAL ======================== */
@media (max-width: 992px) {
  .diferencial {
    padding: 90px 0;
  }

  .diferencial__container {
    gap: 3rem;
  }

  .diferencial__image {
    flex: 0 0 38%;
  }

  .diferencial__title {
    font-size: 2.2rem;
  }

  .diferencial__subtitle {
    font-size: 0.98rem;
    max-width: 500px;
  }

  .benefit__icon {
    width: 38px;
    height: 38px;
  }

  .benefit__title {
    font-size: 0.93rem;
  }

  .benefit__desc {
    font-size: 0.87rem;
  }
}

@media (max-width: 768px) {
  .diferencial {
    padding: 70px 0;
  }

  .diferencial__container {
    flex-direction: column;
    gap: 3rem;
  }

  .diferencial__content {
    text-align: center;
  }

  .diferencial__title {
    font-size: 1.9rem;
  }

  .diferencial__divider {
    margin-left: auto;
    margin-right: auto;
  }

  .diferencial__subtitle {
    font-size: 0.93rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .benefit {
    text-align: left;
  }

  .benefit__icon {
    width: 40px;
    height: 40px;
  }

  .benefit__title {
    font-size: 0.93rem;
  }

  .benefit__desc {
    font-size: 0.85rem;
  }

  .diferencial__image {
    flex: none;
    width: 80%;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .diferencial {
    padding: 60px 0;
  }

  .diferencial__container {
    gap: 2.5rem;
    padding: 0 6%;
  }

  .diferencial__title {
    font-size: 1.6rem;
  }

  .diferencial__subtitle {
    font-size: 0.88rem;
  }

  .diferencial__divider {
    width: 50px;
    height: 3px;
  }

  .diferencial__benefits {
    gap: 1.6rem;
  }

  .benefit__icon {
    width: 34px;
    height: 34px;
  }

  .benefit__title {
    font-size: 0.87rem;
  }

  .benefit__desc {
    font-size: 0.82rem;
  }

  .diferencial__image {
    width: 90%;
    max-width: 320px;
  }
}

/* ======================== BLOG SECTION ======================== */
.blog {
  width: 100%;
  padding: 110px 0;
  background: var(--color-white);
}

.blog__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 5%;
}

.blog__label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-fuchsia);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.8rem;
}

.blog__title {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.2;
  max-width: 600px;
  margin-bottom: 0.8rem;
}

.blog__subtitle {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--color-gray-text);
  line-height: 1.6;
  max-width: 540px;
  margin-bottom: 3rem;
}

/* --- Card --- */
.blog__card {
  display: flex;
  align-items: stretch;
  background: #f5f5f7;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  min-height: 380px;
  height: 400px;
}

.blog__card-body {
  flex: 1;
  padding: 3rem 3rem 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog__card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.35;
  margin-bottom: 1rem;
  transition: opacity 0.25s ease;
}

.blog__card-desc {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-gray-text);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex: 1;
  transition: opacity 0.25s ease;
}

.blog__card-btn {
  display: inline-block;
  align-self: flex-start;
  padding: 0.6rem 2rem;
  background: var(--color-white);
  color: var(--color-dark);
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px solid var(--color-dark);
  border-radius: var(--border-radius-full);
  transition:
    background var(--transition-base),
    color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-base);
  margin-bottom: 1.8rem;
}

.blog__card-btn:hover {
  background: var(--color-dark);
  color: var(--color-white);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.blog__card-meta {
  display: flex;
  gap: 1.8rem;
  font-size: 0.82rem;
  color: #999;
  font-weight: 400;
  transition: opacity 0.25s ease;
}

.blog__card-date,
.blog__card-time {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.blog__meta-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  opacity: 0.65;
  flex-shrink: 0;
}

/* --- Card image --- */
.blog__card-image {
  flex: 0 0 48%;
  overflow: hidden;
  transition: opacity 0.25s ease;
}

.blog__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Transición fade del contenido --- */
.blog__card.fading .blog__card-title,
.blog__card.fading .blog__card-desc,
.blog__card.fading .blog__card-meta,
.blog__card.fading .blog__card-image {
  opacity: 0;
}

/* --- Indicadores --- */
.blog__indicators {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2rem;
}

.blog__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  transition:
    background var(--transition-base),
    transform var(--transition-base);
  padding: 0;
}

.blog__dot:hover {
  background: #999;
  transform: scale(1.2);
}

.blog__dot.active {
  background: var(--color-fuchsia);
  transform: scale(1.15);
}

/* ======================== RESPONSIVE BLOG ======================== */
@media (max-width: 992px) {
  .blog {
    padding: 90px 0;
  }

  .blog__title {
    font-size: 2rem;
  }

  .blog__card {
    flex-direction: column;
    min-height: auto;
    height: auto;
  }

  .blog__card-body {
    padding: 2.2rem 2rem 1.8rem;
  }

  .blog__card-title {
    font-size: 1.3rem;
  }

  .blog__card-image {
    flex: none;
    height: 280px;
  }

  .blog__card-img {
    height: 280px;
  }
}

@media (max-width: 768px) {
  .blog {
    padding: 70px 0;
  }

  .blog__title {
    font-size: 1.65rem;
    text-align: center;
    max-width: 100%;
  }

  .blog__subtitle {
    font-size: 0.93rem;
    text-align: center;
    max-width: 100%;
    margin-bottom: 2.2rem;
  }

  .blog__label {
    display: block;
    text-align: center;
  }

  .blog__card-body {
    padding: 1.8rem 1.5rem;
  }

  .blog__card-title {
    font-size: 1.15rem;
  }

  .blog__card-desc {
    font-size: 0.88rem;
  }

  .blog__card-image {
    height: 220px;
  }

  .blog__card-img {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .blog {
    padding: 60px 0;
  }

  .blog__container {
    padding: 0 6%;
  }

  .blog__title {
    font-size: 1.4rem;
  }

  .blog__subtitle {
    font-size: 0.87rem;
  }

  .blog__card-body {
    padding: 1.5rem 1.2rem;
  }

  .blog__card-title {
    font-size: 1.05rem;
  }

  .blog__card-desc {
    font-size: 0.83rem;
  }

  .blog__card-image {
    height: 200px;
  }

  .blog__card-img {
    height: 200px;
  }

  .blog__card-meta {
    font-size: 0.78rem;
    gap: 1rem;
  }

  .blog__meta-icon {
    width: 14px;
    height: 14px;
  }
}

/* ======================== CONTACTO SECTION ======================== */
.contacto {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-image: url("../Imagenes/Principal-Imagen-5.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contacto__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 0;
}

.contacto__container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 100px 5%;
  display: flex;
}

/* --- Card Glassmorphism --- */
.contacto__card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 24px;
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.12),
    0 1px 3px rgba(255, 255, 255, 0.3) inset;
  padding: 3rem 3.2rem;
  max-width: 480px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.contacto__logo {
  height: 40px;
  width: auto;
  margin: 0 auto 1.8rem;
  display: block;
}

/* --- Form --- */
.contacto__form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contacto__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-dark);
  text-align: center;
  margin-bottom: 1.8rem;
}

.contacto__field {
  margin-bottom: 1.1rem;
}

.contacto__input {
  width: 100%;
  padding: 0.85rem 1.1rem;
  font-size: 0.93rem;
  font-family: var(--font-primary);
  color: var(--color-dark);
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  outline: none;
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    background var(--transition-base);
}

.contacto__input::placeholder {
  color: #aaa;
}

.contacto__input:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(26, 58, 92, 0.12);
  background: var(--color-white);
}

.contacto__input.error {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.contacto__error {
  display: block;
  font-size: 0.75rem;
  color: #e74c3c;
  margin-top: 0.3rem;
  min-height: 0;
}

/* --- Checkbox --- */
.contacto__checkbox-wrapper {
  margin-bottom: 1.4rem;
}

.contacto__checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
}

.contacto__checkbox {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--color-blue);
  cursor: pointer;
  flex-shrink: 0;
}

.contacto__checkbox-text {
  font-size: 0.85rem;
  color: var(--color-gray-text);
  line-height: 1.4;
}

/* --- Button --- */
.contacto__btn {
  width: 100%;
  padding: 0.9rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-primary);
  color: var(--color-white);
  background: var(--color-blue);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition:
    background var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-base);
}

.contacto__btn:hover {
  background: #16304d;
  box-shadow: 0 6px 24px rgba(26, 58, 92, 0.35);
  transform: translateY(-2px);
}

.contacto__btn:active {
  transform: translateY(0);
}

/* ======================== MODAL ======================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.modal.visible {
  opacity: 1;
  visibility: visible;
}

.modal__content {
  background: var(--color-white);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal.visible .modal__content {
  transform: translateY(0);
}

.modal__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #27ae60;
  color: var(--color-white);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
}

.modal__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.8rem;
}

.modal__message {
  font-size: 0.93rem;
  color: var(--color-gray-text);
  line-height: 1.6;
  margin-bottom: 1.8rem;
}

.modal__btn {
  padding: 0.75rem 2.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-primary);
  color: var(--color-white);
  background: var(--color-blue);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition:
    background var(--transition-base),
    box-shadow var(--transition-base);
}

.modal__btn:hover {
  background: #16304d;
  box-shadow: 0 6px 20px rgba(26, 58, 92, 0.35);
}

/* ======================== RESPONSIVE CONTACTO ======================== */
@media (max-width: 992px) {
  .contacto__container {
    padding: 80px 5%;
  }

  .contacto__card {
    padding: 2.5rem 2.4rem;
    max-width: 440px;
  }
}

@media (max-width: 768px) {
  .contacto {
    min-height: auto;
    padding: 60px 0;
  }

  .contacto__container {
    padding: 60px 5%;
  }

  .contacto__card {
    padding: 2rem 1.8rem;
    max-width: 100%;
  }

  .contacto__title {
    font-size: 1.3rem;
  }

  .contacto__input {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .contacto__container {
    padding: 50px 6%;
  }

  .contacto__card {
    padding: 1.8rem 1.4rem;
  }

  .contacto__title {
    font-size: 1.2rem;
  }

  .contacto__logo {
    height: 32px;
  }
}

/* ======================== FOOTER ======================== */
.footer {
  width: 100%;
  padding: 70px 0 30px;
  background: var(--color-white);
}

.footer__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 5%;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr 1.1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

/* --- Columna 1 --- */
.footer__logo {
  height: 38px;
  width: auto;
  margin-bottom: 1rem;
}

.footer__company {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0.2rem;
}

.footer__ruc {
  font-size: 0.82rem;
  color: var(--color-gray-text);
  margin-bottom: 0.2rem;
}

.footer__rights {
  font-size: 0.78rem;
  color: #aaa;
  margin-top: 0.6rem;
}

/* --- Columna 2 --- */
.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__link {
  font-size: 0.93rem;
  color: var(--color-gray-text);
  transition: color var(--transition-base);
}

.footer__link:hover {
  color: var(--color-fuchsia);
}

/* --- Columna 3 --- */
.footer__heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
}

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

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.footer__icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.7;
}

.footer__contact li span {
  font-size: 0.88rem;
  color: var(--color-gray-text);
  line-height: 1.4;
}

/* --- Columna 4 --- */
.footer__social {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.footer__social-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  transition:
    opacity var(--transition-base),
    transform var(--transition-base);
  opacity: 0.75;
}

.footer__social-icon:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.footer__libro {
  width: 160px;
  height: auto;
  object-fit: contain;
}

/* --- Separador --- */
.footer__divider {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin-bottom: 1.8rem;
}

/* --- Legal links --- */
.footer__legal-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--color-gray-text);
}

.footer__legal-links a {
  color: var(--color-gray-text);
  transition: color var(--transition-base);
}

.footer__legal-links a:hover {
  color: var(--color-fuchsia);
}

.footer__legal-sep {
  color: #ccc;
}

/* --- Legal text --- */
.footer__legal {
  font-size: 0.9rem;
  color: #aaa;
  line-height: 1.7;
  /* max-width: 800px; */
  margin-bottom: 2rem;
  text-align: justify;
}

/* --- Copyright --- */
.footer__copy {
  font-size: 0.8rem;
  color: #bbb;
  text-align: center;
}

/* ======================== RESPONSIVE FOOTER ======================== */
@media (max-width: 992px) {
  .footer {
    padding: 60px 0 25px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer__libro {
    width: 140px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 50px 0 25px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
    text-align: center;
  }

  .footer__logo {
    margin-left: auto;
    margin-right: auto;
  }

  .footer__nav {
    align-items: center;
  }

  .footer__contact li {
    justify-content: center;
  }

  .footer__social {
    justify-content: center;
  }

  .footer__libro {
    margin: 0 auto;
  }

  .footer__legal-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer__legal {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 45px 0 20px;
  }

  .footer__container {
    padding: 0 6%;
  }

  .footer__grid {
    gap: 2rem;
  }

  .footer__logo {
    height: 32px;
  }

  .footer__libro {
    width: 130px;
  }
}
