/* ============================================
   GRUPO LIVER - ESTILOS
   ============================================ */

/* ---------- Variables ---------- */
:root {
    --color-primary: #000000;
    --color-primary-dark: #0c2d26;
    --color-accent: #0B9F8F;
    --color-accent-hover: #21bdac;
    --color-accent-light: #0091df21;
    --color-header-light: #f2f6f4;
   

    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-900: #111827;

    --font-body: 'Inter', sans-serif;
    --font-title: 'Montserrat', sans-serif;

    --max-width: 80rem; /* 1280px */
}

/* ---------- Reset básico ---------- */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html, body {
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background-color: #ffffff;
    color: var(--gray-900);
    font-weight: 400;
    line-height: 1.5;
}

body.no-scroll {
    overflow: hidden;
}

h1, h2, h3, h4, .badge, .logo, .footer__logo, .mobile-menu__title {
    font-family: var(--font-title);
    margin: 0;
}

p {
    margin: 0;
}

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

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.icon {
    stroke: #014f5a;
}

.icon--sm {
    width: 0.9rem;
    height: 0.9rem;
}

.icon--md {
    width: 1.25rem;
    height: 1.25rem;
}

.icon--lg {
    width: 1.75rem;
    height: 1.75rem;
}

/* Contenedor genérico centrado */
.max-width {
    max-width: var(--max-width);
    margin: 0 auto;
}

/* Etiqueta pequeña reutilizable ("Portafolio de Servicios", "Contacto", etc.) */
.badge {
    display: inline-block;
    width: fit-content;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    background-color: var(--color-accent-light);
    padding: 0.5rem 1.25rem;
    border-radius: 0.125rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-top: 1.0rem;
    line-height: 1.2;
}

.section-desc {
    color: var(--gray-600);
    margin-top: 0.75rem;
}

/* ============================================
   SISTEMA DE TEXTOS COMPARTIDO
   Úsalas SIEMPRE junto a la clase de bloque (BEM)
   del elemento, nunca en vez de ella: la de bloque
   sigue controlando el layout (márgenes, ancho
   máximo, espaciado); estas controlan la tipografía.
   Con este sistema, cambiar cómo se ve "un tipo de
   texto" en TODA la página es editar solo esta
   sección, en vez de buscar cada clase suelta.

   <h1 class="page-banner__title heading-xl">
   <h3 class="service-card__title heading-md">
   <p  class="contact__desc text-body">

   - .heading-xl  → títulos grandes sobre fondo oscuro
                    (Hero, banner de páginas interiores)
   - .heading-md  → títulos de tarjeta/bloque destacado
                    (h3: servicios, detalle de servicio)
   - .heading-sm  → subtítulos pequeños dentro de un
                    bloque (h4: sidebar, tarjetas menores)
   - .text-lead   → párrafo introductorio bajo un título
                    (más grande y liviano que el cuerpo)
   - .text-body   → párrafo de cuerpo estándar
   - .text-small  → texto pequeño/auxiliar (footer, notas)
   - .text-label  → etiqueta pequeña en mayúsculas
                    (encabezados de footer, campos de
                    formulario, cifras)
   ============================================ */
.heading-xl {
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.heading-md {
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.3;
}

.heading-sm {
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.3;
}

.text-lead {
    font-weight: 300;
    line-height: 1.7;
}

.text-body {
    font-size: 1.0rem;
    line-height: 1.7;
}

.text-small {
    font-size: 0.75rem;
    line-height: 1.6;
}

.text-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ---------- Botones ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn__arrow {
    transition: transform 0.2s ease;
}

.btn:hover .btn__arrow {
    transform: translateX(0.25rem);
}

.btn--accent {
    background-color: var(--color-accent);
    color: #ffffff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn--accent:hover {
    background-color: var(--color-accent-hover);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.btn--dark {
    background-color: var(--color-accent);
    color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn--dark:hover {
    background-color: var(--color-primary-dark);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.btn--outline-light {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    font-weight: 500;
}

.btn--outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

.btn--outline-dark {
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    font-weight: 500;
}

.btn--outline-dark:hover {
    background-color: var(--color-accent-light);
    transform: translateY(-2px);
}

.btn--block {
    width: 100%;
}

.btn--sm {
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

/* ============================================
   1. HEADER / NAVBAR
   ============================================ */
.header {
    background-color: var(--color-header-light);
    color: #ffffff;
    padding: 0 1.5rem;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.header__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.25rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    letter-spacing: 0.025em;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo__accent {
    color: var(--color-accent);
}

/* ==========================================================
   LOGO DE LA MARCA (imagen) - controla el tamaño en cada zona
   ========================================================== */
.site-logo {
    display: block;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Logo en el header (escritorio) */
.site-logo--header {
    height: 40px;
    max-width: 250px;
}

/* Logo en el menú lateral / móvil */
.site-logo--menu {
    height: 32px;
    max-width: 160px;
}

/* Logo en el footer */
.site-logo--footer {
    height: 44px;
    max-width: 190px;
}

.nav {
    display: none;
    align-items: center;
    gap: 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.nav__link {
    color: rgb(0 0 0 / 80%);
    transition: color 0.2s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 0.25rem;
}

.nav__link:hover {
    color: rgb(0 0 0 / 50%);
}

.nav__link--active {
    color: rgb(0 0 0 / 80%);
    border-bottom-color: var(--color-accent);
}

/* ============================================
   DROPDOWN "SERVICIOS" (ESCRITORIO)
   ============================================ */
.nav__item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav__link--has-dropdown {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
}

.nav__chevron {
    width: 0.7rem;
    height: 0.7rem;
    transition: transform 0.2s ease;
}

.nav__item:hover .nav__chevron {
    transform: rotate(180deg);
}

.nav__dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 8px);
    min-width: 300px;
    background-color: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 60;
}

/* Pequeño puente invisible para que el hover no se pierda al bajar el mouse */
.nav__dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
}

.nav__item:hover .nav__dropdown,
.nav__item:focus-within .nav__dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.nav__dropdown-link {
    display: block;
    padding: 0.65rem 0.85rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    white-space: normal;
    line-height: 1.35;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.nav__dropdown-link:hover {
    background-color: var(--color-accent-light);
    color: var(--color-accent);
}

.header__cta {
    display: none;
    align-items: center;
}

.menu-toggle {
    display: block;
    background: none;
    border: none;
    color: #ffffff;
    padding: 10px 0px 0px 0px;
    cursor: pointer;
    transition: color 0.2s ease;
}

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

/* ============================================
   MENÚ MÓVIL
   ============================================ */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 50;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 280px;
    background-color: #ffffff;
    color: var(--gray-900);
    z-index: 50;
    box-shadow: -25px 0 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mobile-menu.is-open {
    transform: translateX(0);
}

.mobile-menu__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.mobile-menu__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
}

.mobile-menu__title-accent {
    font-weight: 800;
}

.mobile-menu__close {
    background: none;
    border: none;
    color: var(--gray-500);
    cursor: pointer;
}

.mobile-menu__close:hover {
    color: var(--gray-700);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-top: 2rem;
    font-size: 1rem;
    font-weight: 500;
}

.mobile-link {
    color: var(--gray-600);
    transition: color 0.2s ease;
}

.mobile-link:hover {
    color: var(--color-primary);
}

.mobile-link--active {
    color: var(--color-primary);
    font-weight: 600;
}

.mobile-menu__footer {
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

/* ============================================
   ACORDEÓN "SERVICIOS" (MENÚ MÓVIL)
   ============================================ */
.mobile-nav__item {
    display: flex;
    flex-direction: column;
}

.mobile-link--toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.mobile-link__chevron {
    width: 0.85rem;
    height: 0.85rem;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.mobile-link--toggle-open .mobile-link__chevron {
    transform: rotate(180deg);
}

.mobile-submenu {
    display: flex;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.mobile-submenu.is-open {
    max-height: 30rem;
    padding-top: 0.85rem;
}

.mobile-submenu__link {
    padding: 0.5rem 0 0.5rem 1rem;
    border-left: 2px solid var(--gray-200);
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--gray-600);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.mobile-submenu__link:hover {
    color: var(--color-accent);
    border-left-color: var(--color-accent);
}

.mobile-submenu__link--all {
    font-weight: 600;
    color: var(--gray-900);
}

/* ============================================
   2. HERO
   ============================================ */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 6rem 1.5rem;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    min-height: 600px;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background-color: rgb(0 0 0 / 75%);
    z-index: 0;
}

.hero__container {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero__content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 42rem;
}

.hero__badge {
    color: white;
}

.hero__title {
    font-size: 2.25rem;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.hero__title-highlight {
    color: var(--color-accent);
    font-weight: 500;
}

.hero__text {
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.7;
}

.hero__actions {
    padding-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero__image-wrap {
    height: 100%;
    display: flex;
    align-items: stretch;
    align-self: stretch;
}

.hero__image-frame {
    width: 100%;
    min-height: 350px;
    overflow: hidden;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.7s ease;
}

.hero__image:hover {
    transform: scale(1.05);
}

/* ============================================
   3. BARRA DE BENEFICIOS
   ============================================ */
.benefits {
    background-color: var(--color-accent-light);
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-100);
    overflow: hidden;
}

.benefits__container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 600;
}

.benefits__label {
    color: var(--gray-500);
    font-weight: 500;
    letter-spacing: 0.025em;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

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

/* ============================================
   4. SERVICIOS
   ============================================ */
.services {
    padding: 6rem 1.5rem;
    background-color: var(--gray-50);
}

.services__container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.services__header {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 4rem auto;
}

.services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.service-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.125rem;
    border: 1px solid var(--gray-100);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.service-card__icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--color-accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.125rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.service-card:hover .service-card__icon {
    background-color: var(--color-accent);
    color: white;
}

.service-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    transition: color 0.2s ease;
}

.service-card:hover .service-card__title {
    color: var(--color-primary-dark);
}

.service-card__desc {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-card__link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.service-card__link:hover {
    text-decoration: underline;
}

/* ============================================
   5. QUIÉNES SOMOS
   ============================================ */
.about {
    padding: 6rem 1.5rem;
    overflow: hidden;
}

.about__container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

.about__image-wrap {
    position: relative;
}

.about__image-frame {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: var(--gray-100);
    border-radius: 0.125rem;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.about__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background-color: var(--color-accent);
    color: #ffffff;
    padding: 1.5rem;
    border-radius: 0.125rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    display: none;
}

.about__badge-value {
    font-size: 1.875rem;
    font-weight: 700;
    color: #ffffff;
    font-family: var(--font-title);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.about__badge-label {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-300);
}

.about__content {
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}

.about__text {
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 0.875rem;
}

.about__features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-top: 1rem;
}

.about__feature-title {
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
}

.about__feature-desc {
    color: var(--gray-600);
    font-size: 0.75rem;
}

.about__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1rem;
}

/* ============================================
   6. CALL TO ACTION
   ============================================ */
.cta {
    background-color: var(--color-primary);
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 4rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta__overlay {
    position: absolute;
    inset: 0;
    background-color: rgb(0 0 0 / 70%);
    z-index: 0;
}

.cta__container {
    max-width: 56rem;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cta__title {
    font-size: 1.875rem;
    font-weight: 300;
}

.cta__text {
    color: var(--gray-300);
    font-size: 1.0rem;
    max-width: 36rem;
    margin: 0 auto;
}

.cta__action {
    padding-top: 0.5rem;
}

.cta__action .btn {
    margin: 0 auto;
}

/* ============================================
   7. CONTACTO
   ============================================ */
.contact {
    padding: 6rem 1.5rem;
}

.contact__container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 1.0rem;
}

.contact__desc {
    color: var(--gray-600);
    font-size: 1.0rem;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
    font-size: 1.0rem;
    color: var(--gray-700);
}

.contact__item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    transition: transform 0.3s ease;
}

.contact__item--inline {
    align-items: center;
}

.contact__item:hover {
    transform: translateX(0.25rem);
}

.contact__icon {
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.contact__label {
    display: block;
    font-weight: 700;
}

.contact__link {
    color: var(--color-primary);
    font-weight: 500;
}

.contact__link:hover {
    text-decoration: underline;
}

.contact-form {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.125rem;
    border: 1px solid var(--gray-200);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.form-group {
    transition: transform 0.2s ease;
}

.form-group:focus-within {
    transform: scale(1.01);
}

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    background-color: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 0.125rem;
    padding: 0.75rem;
    font-size: 0.875rem;
    font-family: var(--font-body);
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: #ffffff;
}

.form-textarea {
    resize: vertical;
}

.form-submit {
    padding: 1rem;
    font-family: var(--font-title);
    letter-spacing: 0.025em;
}

/* ============================================
   8. FOOTER
   ============================================ */
.footer {
    background-color: var(--color-primary-dark);
    color: var(--gray-400);
    font-size: 0.875rem;
    padding: 4rem 1.5rem 2rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer__logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    letter-spacing: 0.025em;
}

.footer__logo-accent {
    color: var(--color-accent);
}

.footer__desc {
    font-size: 0.75rem;
    line-height: 1.6;
    margin-top: 1rem;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__heading {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.75rem;
}

.footer__links a:hover {
    color: #ffffff;
}

.footer__newsletter-text {
    font-size: 0.75rem;
}

.footer__newsletter-form {
    display: flex;
}

.footer__newsletter-input {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.125rem 0 0 0.125rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.footer__newsletter-input::placeholder {
    color: var(--gray-500);
}

.footer__newsletter-input:focus {
    outline: none;
}

.footer__newsletter-btn {
    background-color: var(--color-accent);
    color: var(--color-primary);
    padding: 0.5rem 0.75rem;
    border-radius: 0 0.125rem 0.125rem 0;
    border: none;
    font-weight: 700;
    font-size: 0.75rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.footer__newsletter-btn:hover {
    background-color: var(--color-accent-hover);
}

.footer__social {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.footer__social-link:hover {
    background-color: var(--color-accent);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer__bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--gray-500);
    text-align: center;
}

/* ============================================
   RESPONSIVE - Tablet (sm: 640px+)
   ============================================ */
@media (min-width: 640px) {
    .mobile-menu {
        width: 320px;
    }

    .about__badge {
        display: block;
    }

    .footer__bottom {
        flex-direction: row;
    }
}

/* ============================================
   RESPONSIVE - Desktop (md: 768px+)
   ============================================ */
@media (min-width: 768px) {
    .header,
    .hero,
    .benefits,
    .services,
    .about,
    .cta,
    .contact,
    .footer {
        padding-left: 4rem;
        padding-right: 4rem;
    }

    .nav {
        display: flex;
    }

    .header__cta {
        display: flex;
    }

    .menu-toggle {
        display: none;
    }

    .hero__title {
        font-size: 3.75rem;
    }

    .services__header .section-title,
    .about .section-title,
    .contact .section-title {
        font-size: 3rem;
        line-height: 1.15;
    }

    .about__text {
        font-size: 1rem;
    }

    .about__feature-title {
        font-size: 1rem;
    }

    .about__feature-desc {
        font-size: 0.875rem;
    }

    .btn--sm {
        font-size: 0.9rem;
    }

    .cta__title {
        font-size: 2.25rem;
    }

    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-form__row {
        grid-template-columns: 1fr 1fr;
    }

    .footer__container {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================================
   RESPONSIVE - Desktop grande (lg: 1024px+)
   ============================================ */
@media (min-width: 1024px) {
    .hero__container {
        grid-template-columns: repeat(12, 1fr);
    }

    .hero__content {
        grid-column: span 7;
    }

    .hero__image-wrap {
        grid-column: span 5;
    }

    .hero__content,
    .hero__image-wrap {
        padding-top: 0;
        padding-bottom: 0;
    }

    .services__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about__container {
        grid-template-columns: repeat(12, 1fr);
        align-items: stretch;
    }

    .about__image-wrap {
        grid-column: span 5;
        height: 100%;
    }

    .about__image-frame {
        height: 100%;
        aspect-ratio: unset;
    }

    .about__content {
        grid-column: span 7;
    }

    .contact__container {
        grid-template-columns: repeat(12, 1fr);
    }

    .contact__info {
        grid-column: span 5;
    }

    .contact-form {
        grid-column: span 7;
    }
}

/* ============================================
   6.1 TESTIMONIOS (CARRUSEL)
   ============================================ */
.testimonials {
    padding: 6rem 1.5rem;
    background-color: var(--gray-50);
    overflow: hidden;
}

.testimonials__container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.testimonials__header {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 4rem auto;
}

.testimonials__carousel {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonials__viewport {
    overflow: hidden;
    flex: 1;
}

.testimonials__track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
}

.testimonials__nav {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    border: 1px solid var(--gray-200);
    background-color: #ffffff;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.testimonials__nav:hover:not(:disabled) {
    background-color: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
}

.testimonials__nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.testimonial-card {
    flex: 0 0 100%;
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.125rem;
    border: 1px solid var(--gray-100);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.testimonial-card__quote {
    width: 2rem;
    height: 2rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.testimonial-card__stars {
    display: flex;
    gap: 0.25rem;
    color: #F5B301;
    margin-bottom: 1rem;
}

.testimonial-card__stars .icon--md {
    width: 1rem;
    height: 1rem;
}

.testimonial-card__text {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 1.5rem;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-100);
}

.testimonial-card__avatar {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-accent);
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-card__name {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--color-primary);
}

.testimonial-card__role {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 0.125rem;
}

.testimonials__dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
}

.testimonials__dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    border: none;
    background-color: var(--gray-300);
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
}

.testimonials__dot:hover {
    background-color: var(--gray-400);
}

.testimonials__dot.is-active {
    background-color: var(--color-primary);
    width: 1.5rem;
    border-radius: 0.25rem;
}

/* ---- Responsive: Tablet (768px+) muestra 2 tarjetas ---- */
@media (min-width: 768px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

/* ---- Responsive: Desktop (1024px+) muestra 3 tarjetas ---- */
@media (min-width: 1024px) {
    .testimonials__header .section-title {
        font-size: 3rem;
        line-height: 1.15;
    }

    .testimonial-card {
        flex: 0 0 calc(33.3333% - 1.3333rem);
    }
}

/* ============================================
   9. PAGE BANNER (Páginas interiores)
   ============================================ */
.page-banner {
    position: relative;
    background-color: var(--color-primary);
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 8rem 1.5rem 4rem 1.5rem;
    overflow: hidden;
}

.page-banner__overlay {
    position: absolute;
    inset: 0;
    background-color: rgb(0 0 0 / 70%);
    z-index: 0;
}

.page-banner__container {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.page-banner__breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-300);
    margin-bottom: 1rem;
}

.page-banner__breadcrumb a {
    color: var(--gray-300);
    transition: color 0.2s ease;
}

.page-banner__breadcrumb a:hover {
    color: var(--color-accent);
}

.page-banner__breadcrumb span {
    color: var(--color-accent);
}

.page-banner__title {
    font-size: 2.25rem;
    font-weight: 300;
    letter-spacing: -0.025em;
}

.page-banner__text {
    color: var(--gray-300);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7;
    margin-top: 1rem;
    max-width: 42rem;
}

/* ============================================
   10. ESTADÍSTICAS (Nosotros)
   ============================================ */
.stats {
    background-color: var(--color-accent-light);
    padding: 4rem 1.5rem;
}

.stats__grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-card__value {
    font-family: var(--font-title);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-primary);
}

.stat-card__label {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-600);
    font-weight: 600;
}

/* ============================================
   11. MISIÓN, VISIÓN Y VALORES (Nosotros)
   ============================================ */
.values {
    padding: 6rem 1.5rem;
    background-color: var(--gray-50);
}

.values__header {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 4rem auto;
}

.values__grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.value-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.125rem;
    border: 1px solid var(--gray-200);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.value-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.value-card__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: var(--color-accent-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.value-card__title {
    font-family: var(--font-title);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.value-card__desc {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.7;
}

/* ============================================
   12. PROCESO DE TRABAJO (Servicios)
   ============================================ */
.process {
    padding: 6rem 1.5rem;
    background-color: #ffffff;
}

.process__header {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 4rem auto;
}

.process__grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.process-card {
    text-align: center;
    padding: 0 1rem;
}

.process-card__number {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background-color: var(--color-accent);
    color: white;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem auto;
}

.process-card__title {
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.process-card__desc {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.7;
}

/* ============================================
   13. MAPA DE CONTACTO
   ============================================ */
.contact-map {
    width: 100%;
    padding: 0;
    line-height: 0;
}

.contact-map__frame {
    display: block;
    width: 100%;
    height: 400px;
    border: 0;
}

/* ============================================
   RESPONSIVE - Páginas interiores
   ============================================ */
@media (min-width: 768px) {
    .page-banner,
    .stats,
    .values,
    .process {
        padding-left: 4rem;
        padding-right: 4rem;
    }

    .page-banner {
        padding-top: 9rem;
        padding-bottom: 5rem;
    }

    .page-banner__title {
        font-size: 3rem;
    }

    .stats__grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .values__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .process__grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .values__header .section-title,
    .process__header .section-title {
        font-size: 3rem;
        line-height: 1.15;
    }
}

/* ============================================
   14. DETALLE DE SERVICIO
   ============================================ */
.service-detail {
    padding: 6rem 1.5rem;
}

.service-detail__container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.service-detail__icon {
    width: 4rem;
    height: 4rem;
    border-radius: 0.125rem;
    background-color: var(--color-accent-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-detail__icon .icon {
    width: 2rem;
    height: 2rem;
}

.service-detail__intro {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.service-detail__subtitle {
    font-family: var(--font-title);
    font-weight: 600;
    color: var(--color-primary);
    font-size: 1.25rem;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-list__item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--gray-700);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.feature-list__icon {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background-color: var(--color-accent-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.125rem;
}

.feature-list__icon .icon {
    width: 0.875rem;
    height: 0.875rem;
}

.faq {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: 0.125rem;
    padding: 1rem 1.25rem;
    background-color: #ffffff;
    transition: border-color 0.2s ease;
}

.faq-item[open] {
    border-color: var(--color-primary);
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.9375rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.25rem;
    line-height: 1;
    color: var(--color-primary);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    margin-top: 0.75rem;
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.7;
}

.service-detail__sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background-color: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: 0.125rem;
    padding: 1.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.sidebar-card--dark {
    background-color: var(--color-primary);
    color: #ffffff;
    border: none;
}

.sidebar-card__title {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.sidebar-card--dark .sidebar-card__title {
    color: #ffffff;
}

.sidebar-card__text {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 1.25rem;
}

.sidebar-card--dark .sidebar-card__text {
    color: var(--gray-300);
}

.sidebar-list {
    display: flex;
    flex-direction: column;
}

.sidebar-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--gray-700);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-100);
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.sidebar-list a:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-list a:first-child {
    padding-top: 0;
}

.sidebar-list a:hover {
    color: var(--color-primary);
    padding-left: 0.25rem;
}

.sidebar-list a.is-active {
    color: var(--color-primary);
    font-weight: 700;
}

.related {
    padding: 6rem 1.5rem;
    background-color: var(--gray-50);
    overflow: hidden;
}

.related__carousel {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.related__viewport {
    overflow: hidden;
    flex: 1;
}

.related__track {
    display: flex;
    transition: transform 0.5s ease;
}

.related__page {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.related__nav {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    border: 1px solid var(--gray-200);
    background-color: #ffffff;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.related__nav:hover:not(:disabled) {
    background-color: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
}

.related__nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.related__dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
}

.related__dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    border: none;
    background-color: var(--gray-300);
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
}

.related__dot:hover {
    background-color: var(--gray-400);
}

.related__dot.is-active {
    background-color: var(--color-primary);
    width: 1.5rem;
    border-radius: 0.25rem;
}

/* ============================================
   RESPONSIVE - Detalle de servicio
   ============================================ */
@media (min-width: 768px) {
    .service-detail,
    .related {
        padding-left: 4rem;
        padding-right: 4rem;
    }

    .related__page {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .service-detail__container {
        grid-template-columns: 2fr 1fr;
        align-items: start;
    }

    .service-detail__sidebar {
        position: sticky;
        top: 6.5rem;
    }

    .related__page {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================
   RESPONSIVE - AJUSTES DE ESPACIADO MÓVIL
   Reduce el padding vertical de las secciones y
   el espacio entre los dos bloques principales
   de cada sección (~40px) en pantallas pequeñas.
   ============================================ */
@media (max-width: 767px) {
    /* Separación entre los 2 bloques internos de cada sección ~40px */
    .hero__container,
    .about__container,
    .contact__container,
    .footer__container,
    .service-detail__container {
        gap: 2.5rem;
    }

    .services__header,
    .values__header,
    .process__header,
    .testimonials__header {
        margin-bottom: 2.5rem;
    }

    /* Padding vertical reducido en las secciones */
    .services,
    .about,
    .contact,
    .testimonials,
    .values,
    .process,
    .service-detail,
    .related {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .cta,
    .stats {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    /* Carrusel de testimonios: las flechas se superponen a las cards
       para que estas puedan usar todo el ancho disponible en móvil */
    .testimonials__carousel {
        position: relative;
    }

    .testimonials__viewport {
        width: 100%;
    }

    .testimonials__nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
        width: 2.25rem;
        height: 2.25rem;
    }

    .testimonials__nav--prev {
        left: -0.5rem;
    }

    .testimonials__nav--next {
        right: -0.5rem;
    }

    .footer {
        padding-top: 2.5rem;
        padding-bottom: 1.5rem;
    }

    /* Carrusel "Otros servicios que podrían interesarte":
       las flechas dejan de ocupar espacio en el flex y se
       superponen (position: absolute) sobre las cards, para
       que el viewport/card aproveche todo el ancho disponible. */
    .related__carousel {
        position: relative;
        gap: 0;
    }

    .related__viewport {
        width: 100%;
    }

    .related__nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 5;
        width: 2.25rem;
        height: 2.25rem;
        background-color: rgba(255, 255, 255, 0.95);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    }

    .related__nav:first-child {
        left: 0.25rem;
    }

    .related__nav:last-child {
        right: 0.25rem;
    }

    .footer__container {
        margin-bottom: 2rem;
    }

    .page-banner {
        padding-top: 6rem;
        padding-bottom: 2.5rem;
    }

    .hero__content {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
}


@media (max-width: 767px) {
    .hero {
        padding: 3rem 1.5rem;
        min-height: 450px;
    }
}

/* ============================================
   RESPONSIVE - TEXTOS MÁS GRANDES EN MÓVIL
   Aumenta el tamaño de los textos de párrafo/
   contenido (NO los títulos) para mejorar la
   legibilidad en pantallas pequeñas.
   ============================================ */
@media (max-width: 767px) {
    /* Sistema de textos compartido */
    .text-body {
        font-size: 1rem;
    }

    .text-small {
        font-size: 0.875rem;
    }

    /* Descripciones de sección */
    .section-desc {
        font-size: 1rem;
    }

    /* Hero */
    .hero__text {
        font-size: 1.0625rem;
    }

    /* Servicios */
    .service-card__desc,
    .service-card__link {
        font-size: 1rem;
    }

    /* Nosotros / About */
    .about__text,
    .about__feature-desc {
        font-size: 1rem;
    }

    /* CTA */
    .cta__text {
        font-size: 1rem;
    }

    /* Contacto */
    .contact__desc {
        font-size: 1rem;
    }

    .form-input,
    .form-textarea,
    .form-select {
        font-size: 1rem;
    }

    /* Footer */
    .footer {
        font-size: 1rem;
    }

    .footer__desc {
        font-size: 0.875rem;
    }

    /* Testimonios */
    .testimonial-card__text {
        font-size: 1rem;
    }

    /* Valores y proceso */
    .value-card__desc,
    .process-card__desc {
        font-size: 1rem;
    }

    /* Banner de páginas interiores */
    .page-banner__text {
        font-size: 1.0625rem;
    }

    /* Detalle de servicio */
    .service-detail__intro {
        font-size: 1.0625rem;
    }

    .feature-list__item {
        font-size: 1rem;
    }

    .faq-item summary {
        font-size: 1rem;
    }

    .faq-item p {
        font-size: 1rem;
    }

    /* Sidebar de detalle de servicio */
    .sidebar-card__text,
    .sidebar-list a {
        font-size: 1rem;
    }
    
    
    .btn--sm {
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

.page-banner__overlay {
    position: absolute;
    inset: 0;
    background-color: rgb(0 0 0 / 78%);
    z-index: 0;
}

.services__header .section-title, .about .section-title, .contact .section-title {
       
        margin-top: 22px;
    }

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

.badge {
    
    font-size: 0.9rem;
    
}

}