/* Variables Globales */
:root {
    /* Colores principales (ADAPTADOS A #517257) */
    --primary-color: #0b1c2d;     /* Color principal */
    --secondary-color: #8C6B2F ;   /* Tonalidad más oscura */
    --accent-color: #2d3d31;      /* Acento */
    --dark-blue: #394c40;         /* Se mantiene dentro de la gama */

    /* Colores neutrales */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #6c757d;
    --text-color: #333333;

    /* Tipografía */
    --font-primary: 'Montserrat', sans-serif;

    /* Espaciado */
    --section-padding: 70px 0;
    --container-width: 1200px;

    /* Sombras */
    --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 15px 35px rgba(0, 0, 0, 0.1);

    /* Bordes */
    --border-radius: 10px;
    --border-radius-sm: 5px;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--primary-color);
    line-height: 1.6;
    background-color: var(--light-gray);
    scroll-behavior: smooth;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: var(--section-padding);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
    color: var(--primary-color);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

h1, h2, h3, .brand-name {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  color: var(--secondary-color);
}



/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow-light);
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-logo i {
    margin-right: 10px;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #0b1c2d;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #d8ae5e;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(11, 28, 45, 0.18);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 22px rgba(11, 28, 45, 0.08);
}

.bar {
    width: 22px;
    height: 2px;
    background: var(--primary-color);
    margin: 0;
    border-radius: 999px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ============================= */
/*        HERO SECTION           */
/* ============================= */

.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    margin-top: 70px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(11, 28, 45, 0.18), rgba(11, 28, 45, 0.05)),
        url(assets/images/Hero-mhz-home.webp) no-repeat right center,
        #0b1c2d;
    background-size: cover;
}

.hero-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}

/* Texto */
.hero-content {
    max-width: 600px;
    color: var(--primary-color);
    z-index: 2;
    padding: 40px 0;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* FEATURES */
.features {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature i {
    font-size: 1.5rem;
    color: #d8ae5e;
}

.feature span {
    font-size: 1rem;
    font-weight: 700;
}

/* ============================= */
/*   INPUT DE SUSCRIPCIÓN MODERNO */
/* ============================= */

.subscribe-box {
    display: flex;
    justify-content: left;
    margin-top: 1.5rem;
}

.whatsapp-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.6rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    color: #ffffff;
    background-color: #8C6B2F;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.whatsapp-cta:hover {
    background-color: #0b1c2d;
    transform: translateY(-1px);
}

.whatsapp-cta i {
    font-size: 1.2rem;
}

/* ================================
  RISK INDICATORS SECTION
================================= */
.risk-indicators {
  background: var(--white);
}

.risk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 50px;
  margin-top: 60px;
  text-align: center;
}

/* ICONOS */
.risk-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
}

.risk-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--primary-color);
  stroke-width: 1.8;
  fill: none;
}

/* CONTADOR */
.risk-counter {
  font-size: 3.4rem;
  font-weight: 800;
  color: var(--primary-color); /* Verde indicador */
  margin-bottom: 10px;
}

.risk-item h3 {
  margin-bottom: 10px;
}

.risk-item p {
  font-size: 0.95rem;
  color: var(--dark-gray);
  max-width: 320px;
  margin: 0 auto;
}

/* ================================
  SERVICES – INTEGRADO
================================= */

.penal-categories {
  background: var(--primary-color);
}

.penal-categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

/* CARD */
.penal-category-card {
  background: var(--light-gray);
  border-radius: var(--border-radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-light);
  display: flex;
  flex-direction: column;
  min-height: 100%;

  align-items: center;   /* 🔥 centra icono y título */
  text-align: center;    /* 🔥 centra H3 */
}

/* ICONO */
.penal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(216,174,94,0.15); /* ajustable marca */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.penal-icon i {
  font-size: 1.4rem;
  color: var(--primary-color); /* azul marca */
}

/* PÁRRAFO */
.penal-category-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--dark-gray);
  text-align: center;
  margin-bottom: 18px;

  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

/* PARRAFO */

.section-intro {
  color: #e9ecef;
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: center;

  max-width: 720px;
  margin: 0 auto 40px;
  padding: 20px 25px;

  position: relative;
}

/* 🔥 LÍNEAS SUPERIOR E INFERIOR (EFECTO PREMIUM) */
.section-intro::before,
.section-intro::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: var(--secondary-color);
  margin: 0 auto;
}

/* línea superior */
.section-intro::before {
  margin-bottom: 15px;
}

/* línea inferior */
.section-intro::after {
  margin-top: 15px;
}

/* 📱 MOBILE AJUSTE */
@media (max-width: 576px) {
  .section-intro {
    font-size: 0.95rem;
    padding: 15px 18px;
  }

  .section-intro::before,
  .section-intro::after {
    width: 60px;
  }
}

/* TEXTO */
.penal-category-card h3 {
  margin-bottom: 14px;
}

/* PÁRRAFO */
.penal-category-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 18px;

  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.penal-category-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;   /* 🔥 NO centrar lista */
  width: 100%;
  flex: 1 1 auto;
}

.penal-categories-grid .penal-category-card:first-child ul {
  margin-bottom: 14px;
}

.penal-categories-grid .penal-category-card:first-child .penal-btn {
  margin-top: 24px;
}

@media (min-width: 1600px) {
  .penal-categories-grid .penal-category-card:first-child .penal-btn {
    margin-top: 40px;
  }
}

.penal-category-card li {
  font-size: 1rem;
  color: var(--primary-color);
  margin-bottom: 8px;
  padding-left: 26px;
  position: relative;
}

.penal-category-card li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--secondary-color); /* azul marca */
  font-weight: 600;
}

/* TABLET */
@media (min-width: 768px) {
  .penal-categories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* DESKTOP */
@media (min-width: 1200px) {
  .penal-categories-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* 🔥 3 columnas */
    gap: 40px;
  }
}

.penal-btn {
  display: inline-block;
  margin-top: auto;
  align-self: center;
  background: var(--secondary-color);
  color: var(--white);
  padding: 10px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background .3s ease;
}

.penal-btn:hover {
  background: var(--primary-color);
}




/* ================================
  SERVICES SECTION
================================= */
.services {
  background: var(--primary-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

/* ================================
  SERVICE CARD
================================= */
.service-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 35px 30px 40px;
  box-shadow: var(--shadow-light);
  position: relative;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
}

/* ================================
  ICON
================================= */
.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(216,174,94,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  flex-shrink: 0;
}

.service-icon i {
  font-size: 1.6rem;
  color: var(--primary-color); /* ICONO VERDE DE MARCA */
}

/* ================================
  TEXT CONTENT
================================= */
.service-card h3 {
  margin-bottom: 10px;
}

.service-intro {
  font-size: 0.95rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* ================================
  BENEFITS LIST
================================= */
.service-benefits {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
}

.service-benefits li {
  font-size: 0.9rem;
  color: var(--text-color);
  margin-bottom: 6px;
  position: relative;
  padding-left: 18px;
}

.service-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

/* ================================
  SPACER (ALIGN BUTTON)
================================= */
.service-spacer {
  flex-grow: 1;
}

/* ================================
  BUTTON
================================= */
.service-btn {
  display: inline-block;
  margin: 1.5em auto;
  background: var(--secondary-color);
  color: var(--white);
  padding: 10px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background .3s ease;
}

.service-btn:hover {
  background: var(--primary-color);
}

/* ================================
  HOVER OVERLAY
================================= */
.service-hover {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(4,48,52,0.96),
    rgba(4,48,52,0.96)
  );
  color: var(--white);
  padding: 35px 30px;
  opacity: 0;
  transform: translateY(20px);
  transition: all .35s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CONTENEDOR DEL TEXTO */
.service-hover-content {
  display: flex;
  flex-direction: column;      /* 🔑 fuerza vertical */
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

/* TÍTULO */
.service-hover-content h4 {
  display: block;              /* 🔒 refuerzo */
  width: 100%;
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--secondary-color);
}

/* TEXTO */
.service-hover-content p {
  display: block;              /* 🔒 refuerzo */
  width: 100%;
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 90%;
}

/* ACTIVACIÓN */
.service-card:hover .service-hover {
  opacity: 1;
  transform: translateY(0);
}


/* ================================
  STRATEGIC ALLY SECTION
================================= */
.strategic-ally {
   background: var(--white);
}

.strategic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* IMAGE */
.strategic-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-medium);
}

/* CONTENT */
.strategic-content h2 {
  text-align: left;
}

.strategic-intro {
  color: var(--primary-color);
  margin-bottom: 30px;
  max-width: 520px;
  text-align: justify;
}

/* ================================
  ACCORDION (REUTILIZA FAQ STYLE)
================================= */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.accordion-item {
  background: var(--white);
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-light);
  overflow: hidden;
  transition: box-shadow .3s ease;
}

.accordion-item:hover {
  box-shadow: var(--shadow-medium);
}

/* HEADER */
.accordion-header {
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 20px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  text-align: left;
  transition: background .3s ease;
}

.accordion-header:hover {
  background: rgba(4,48,52,0.05);
}

/* ICON */
.accordion-icon {
  width: 24px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  color: var(--secondary-color);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform .3s ease;
}

/* BODY */
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  padding: 0 20px;
}

.accordion-body p {
  padding: 15px 0 20px;
  font-size: 0.95rem;
  color: var(--primary-color);
  text-align: justify;
}

/* ACTIVE */
.accordion-item.active .accordion-body {
  max-height: none;
}

.accordion-item.active .accordion-icon {
  color: var(--primary-color);
  transform: none;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .credentials-highlights {
    grid-template-columns: 1fr;
  }

  .strategic-grid {
    grid-template-columns: 1fr;
  }

  .strategic-content h2 {
    text-align: center;
  }

  .strategic-intro {
    text-align: justify;
    margin: 0 auto 30px;
  }

}

.strategic-ally .accordion-item {
  transition: 
    box-shadow .35s ease,
    transform .35s ease;
}

.strategic-ally .accordion-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-heavy);
}

/* HEADER HOVER – MÁS FUERZA */
.strategic-ally .accordion-header {
  transition:
    background .35s ease,
    padding-left .35s ease;
}

.strategic-ally .accordion-header:hover {
  background: linear-gradient(
    90deg,
    rgba(216,174,94,0.35),
    rgba(216,174,94,0.18)
  );
  padding-left: 28px;
}

/* ICON – IMPACTO REAL */
.strategic-ally .accordion-icon {
  transition:
    transform .45s cubic-bezier(.4,0,.2,1);
}

/* APERTURA CON PESO */
.strategic-ally .accordion-item.active {
  box-shadow: var(--shadow-heavy);
}

.strategic-ally .accordion-item.active .accordion-icon {
  transform: rotate(45deg) scale(1.15);
}

/* BODY – ENTRADA MÁS CONTUNDENTE */
.strategic-ally .accordion-body {
  transition:
    max-height .6s cubic-bezier(.4,0,.2,1),
    opacity .35s ease,
    transform .35s ease;
}

.strategic-ally .accordion-item.active .accordion-body {
  opacity: 1;
  transform: translateY(0);
}

/* ================================
  CTA STRATEGIC SECTION
================================= */
.cta-strategic {
  padding: 100px 0;
  background:
    linear-gradient(
      135deg,
      rgba(11,28,45,0.92),
      rgba(11,28,45,0.85)
    ),
    url("shared/assets/brand/banner.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cta-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.cta-content h2 {
  color: var(--secondary-color);
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.cta-content p {
  color: var(--white);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 40px; /* 🔑 separación clara del botón */
}

/* BUTTON */
.cta-btn {
  display: inline-block;
  background: var(--secondary-color);
  color: var(--white);
  padding: 14px 38px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all .3s ease;
  box-shadow: var(--shadow-medium);
}

.cta-btn:hover {
  background: var(--white);
  color: var(--primary-color);
  transform: translateY(-2px);
}


/* ============================= */
/*        FAQ SECTION            */
/* ============================= */

.faq-section {
  background:
    linear-gradient(
      135deg,
      rgba(252, 253, 253, 0.95),
      rgba(249, 250, 250, 0.95)
    ),
    url("shared/assets/brand/faq.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
}

/* CONTENEDOR */
.faq-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 3rem;
}

/* ITEM */
.faq-item {
  background: rgba(11, 28, 45, 1);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(11, 28, 45, 0.5);
}

/* HOVER – CAMBIO DE COLOR */
.faq-item:hover {
  background: rgba(216, 174, 94, 0.18);
  border-color: rgba(216, 174, 94, 0.45);
  transform: translateY(-2px);
}

.faq-item.active {
  background: rgba(216, 174, 94, 0.18);
  border-color: rgba(216, 174, 94, 0.45);
}

/* PREGUNTA */
.faq-question {
  width: 100%;
  padding: 1.4rem 1.6rem;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item:hover .faq-question,
.faq-item.active .faq-question {
  color: #043034;
}

/* ICONO */
.faq-question span {
  font-size: 1.4rem;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

.faq-item:hover .faq-question span,
.faq-item.active .faq-question span {
  color: #043034;
}

/* RESPUESTA */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.6rem;
  color: #043034;
  line-height: 1.7;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

/* ACTIVO */
.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.6rem 1.6rem;
}

.faq-item.active .faq-question span {
  transform: rotate(45deg);
}

/* LINKS / BOTONES */
.faq-answer a {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1.4rem;
  background: var(--secondary-color);
  color: #ffffff;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.3s ease;
}

.faq-answer a:hover {
  background: var(--primary-color);
}


/* ============================= */
/*         CONTACT SECTION       */
/* ============================= */

.contact-section {
    background-color: var(--white);
}

.contact-container {
    display: flex;
    gap: 50px;
    align-items: center;
}

.contact-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.contact-image img {
    width: 100%;
    height: auto;
    display: block;
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    transition: border 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: var(--secondary-color);
}

.submit-btn:disabled {
    background: #b8bfc6;
    border: 1px solid #b8bfc6;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 1;
    pointer-events: none;
}

/* ============================= */
/*         FOOTER SECTION        */
/* ============================= */

.footer-section {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer-col p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ============================= */
/*      WHATSAPP BUTTON          */
/* ============================= */

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: var(--shadow-heavy);
    z-index: 100;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #128c7e;
}

/* ============================= */
/*      RESPONSIVE DESIGN        */
/* ============================= */

@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-container,
    .contact-container {
        flex-direction: column;
    }
    
    .about-image,
    .contact-image {
        margin-bottom: 30px;
        width: 100%;
    }
    
    .features {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        position: relative;
    }

    .nav-menu {
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100% + 10px);
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
        box-shadow: var(--shadow-light);
        padding: 10px 0;
        gap: 0;
        border-radius: 16px;
        border: 1px solid rgba(11, 28, 45, 0.08);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        pointer-events: none;
        z-index: 1001;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle[aria-expanded="true"] .bar:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

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

    .nav-toggle[aria-expanded="true"] .bar:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .nav-link {
        padding: 15px 0;
        display: block;
    }

    .nav-logo img {
        width: min(270px, calc(100vw - 110px));
        height: auto;
    }


    .hero-section {
        background: 
            url("shared/assets/brand/hero_mhz_movile.webp") no-repeat center top,
            #f8f9fa;
        background-size: contain;
        min-height: 70vh;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .hero-section {
        min-height: 70vh;
    }
    
    .service-card {
        padding: 25px 20px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content {
        padding: 28px 0;
    }

    .features {
        gap: 16px;
        margin-top: 24px;
        margin-bottom: 28px;
    }

    .feature {
        gap: 8px;
    }

    .feature span {
        font-size: 0.96rem;
    }

    .subscribe-box {
        justify-content: flex-start;
    }

    .whatsapp-cta {
        width: auto;
        max-width: 300px;
        padding: 0.95rem 1.2rem;
        font-size: 0.98rem;
        line-height: 1.35;
        justify-content: center;
        text-align: center;
        margin-right: 12px;
    }
    
    .subscribe-box input {
        padding-right: 120px;
    }
    
    .subscribe-box button {
        padding: 0 15px;
        font-size: 0.85rem;
    }
    
    .testimonial-slide {
        padding: 25px;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-avatar {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .service-card {
        padding: 20px 15px;
    }
}

/* ================================
  FORM STATUS & VALIDATION
================================= */
.form-status {
    display: none;
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: var(--border-radius-sm);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
    animation: fadeIn 0.3s ease;
}

.form-status.info {
    background-color: rgba(216, 174, 94, 0.15);
    color: var(--primary-color);
    border: 1px solid var(--secondary-color);
}

.form-status.success {
    background-color: rgba(40, 167, 69, 0.15);
    color: #1e7e34;
    border: 1px solid #28a745;
}

.form-status.error {
    background-color: rgba(220, 53, 69, 0.15);
    color: #bd2130;
    border: 1px solid #dc3545;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Estilos de validación visual */
.form-control.is-invalid {
    border-color: #dc3545;
}

.field-error {
    margin-top: 8px;
    color: #bd2130;
    font-size: 0.9rem;
    line-height: 1.4;
}
