/*
Theme Name: PMD Servicios
Theme URI: https://pmdservicios.com
Author: PMD Servicios
Author URI: https://pmdservicios.com
Description: Tema personalizado para PMD Servicios SAS. Soluciones de gestión integrada con calidad, seguridad y sostenibilidad.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
Text Domain: pmd-servicios
Domain Path: /languages
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, two-columns, custom-colors, custom-menu, featured-images, custom-logo, threaded-comments, translation-ready
*/

/* ============================================================
 * VARIABLES DE COLOR (Paleta PMD)
 * ============================================================ */
:root {
    --pmd-navy:        #0F1E3D;
    --pmd-navy-dark:   #0A1530;
    --pmd-navy-light:  #1A2D54;
    --pmd-gold:        #BF8D19;
    --pmd-gold-light:  #D4A017;
    --pmd-gold-dark:   #A07314;
    --pmd-white:       #FFFFFF;
    --pmd-gray-50:     #F8F9FB;
    --pmd-gray-100:    #F0F2F5;
    --pmd-gray-200:    #E5E7EB;
    --pmd-gray-500:    #6B7280;
    --pmd-gray-700:    #374151;
    --pmd-gray-900:    #111827;
    --pmd-text:        #1F2937;
    --pmd-text-light:  #6B7280;

    --pmd-container:   1500px;
    --pmd-radius:      8px;
    --pmd-radius-lg:   16px;
    --pmd-shadow-sm:   0 1px 2px rgba(0,0,0,.05);
    --pmd-shadow-md:   0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
    --pmd-shadow-lg:   0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
    --pmd-shadow-xl:   0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
}

/* ============================================================
 * RESET Y NORMALIZACIÓN
 * ============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

#inicio,
#servicios,
#nosotros,
#blog,
#contacto {
    scroll-margin-top: calc(var(--site-header-offset, 112px) + 1rem);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--pmd-text);
    background-color: var(--pmd-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
}

a:hover {
    color: var(--pmd-gold);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--pmd-navy);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }

p {
    margin-bottom: 1rem;
}

ul, ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

/* ============================================================
 * CONTENEDOR
 * ============================================================ */
.container {
    width: 100%;
    max-width: var(--pmd-container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================================
 * BOTONES
 * ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all .25s ease;
    text-decoration: none;
    line-height: 1;
}

.btn--gold {
    background: linear-gradient(135deg, var(--pmd-gold-light), var(--pmd-gold));
    color: var(--pmd-white);
    border-color: var(--pmd-gold);
}

.btn--gold:hover {
    background: linear-gradient(135deg, var(--pmd-gold), var(--pmd-gold-dark));
    color: var(--pmd-white);
    transform: translateY(-2px);
    box-shadow: var(--pmd-shadow-md);
}

.btn--navy {
    background: var(--pmd-navy);
    color: var(--pmd-white);
    border-color: var(--pmd-navy);
}

.btn--navy:hover {
    background: var(--pmd-navy-dark);
    border-color: var(--pmd-navy-dark);
    color: var(--pmd-white);
    transform: translateY(-2px);
    box-shadow: var(--pmd-shadow-md);
}

.btn--outline-light {
    background: transparent;
    color: var(--pmd-white);
    border-color: rgba(255,255,255,0.5);
}

.btn--outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--pmd-white);
    color: var(--pmd-white);
}

.btn--outline-dark {
    background: transparent;
    color: var(--pmd-navy);
    border-color: var(--pmd-gray-200);
}

.btn--outline-dark:hover {
    border-color: var(--pmd-navy);
    color: var(--pmd-navy);
    background: rgba(15,30,61,0.03);
}

.btn svg,
.btn .arrow {
    width: 18px;
    height: 18px;
    transition: transform .25s ease;
}

.btn:hover .arrow {
    transform: translateX(4px);
}

/* ============================================================
 * TOP BAR (barra superior)
 * ============================================================ */
.site-header-stack {
    position: sticky;
    top: 0;
    z-index: 1100;
}

.top-bar {
    background-color: var(--pmd-navy);
    color: var(--pmd-white);
    font-size: 0.85rem;
}

.top-bar__inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
    padding: 0.5rem 0;
}

.top-bar__links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.top-bar__links a {
    color: rgba(255,255,255,0.85);
    transition: color .2s ease;
}

.top-bar__links a:hover {
    color: var(--pmd-gold-light);
}

.top-bar__divider {
    width: 1px;
    height: 16px;
    background: rgba(255,255,255,0.2);
}

.top-bar__cta {
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, var(--pmd-gold-light), var(--pmd-gold));
    color: var(--pmd-white) !important;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
}

.top-bar__cta:hover {
    background: linear-gradient(135deg, var(--pmd-gold), var(--pmd-gold-dark));
    color: var(--pmd-white) !important;
}

/* ============================================================
 * HEADER (cabecera principal)
 * ============================================================ */
.site-header {
    background: var(--pmd-white);
    box-shadow: var(--pmd-shadow-sm);
    position: relative;
    z-index: 1;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 2rem;
}

.site-branding {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-branding img {
    height: 50px;
    width: auto;
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(15, 30, 61, 0.12);
    border-radius: 14px;
    background: var(--pmd-white);
    color: var(--pmd-navy);
    padding: 0;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.3rem;
    box-shadow: 0 10px 24px rgba(15, 30, 61, 0.06);
    transition: background .25s ease, border-color .25s ease, transform .25s ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
    border-color: rgba(15, 30, 61, 0.28);
    background: var(--pmd-gray-50);
    outline: none;
}

.menu-toggle__line {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform .25s ease, opacity .25s ease;
}

.menu-toggle.is-active .menu-toggle__line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-active .menu-toggle__line:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active .menu-toggle__line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.main-navigation {
    flex: 1;
}

.main-navigation ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--pmd-navy);
    padding: 0.5rem 0;
    position: relative;
    transition: color .2s ease;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--pmd-gold);
    transition: width .25s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
    color: var(--pmd-gold);
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item > a::after,
.main-navigation .current_page_item > a::after {
    width: 100%;
}

/* Submenús */
.main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--pmd-white);
    box-shadow: var(--pmd-shadow-lg);
    border-radius: var(--pmd-radius);
    padding: 0.5rem 0;
    display: none;
    flex-direction: column;
    gap: 0;
}

.main-navigation li:hover > .sub-menu {
    display: flex;
}

.main-navigation .sub-menu a {
    display: block;
    padding: 0.6rem 1.25rem;
    white-space: nowrap;
}

.main-navigation .sub-menu a::after {
    display: none;
}

.main-navigation .sub-menu a:hover {
    background: var(--pmd-gray-50);
}

/* ============================================================
 * HERO
 * ============================================================ */
.hero {
    position: relative;
    background-color: #f5f5f7;
    color: var(--pmd-navy);
    padding: 2.4rem 0;
    overflow: hidden;
}

/* Slides de fondo (carrusel de imágenes */
.hero__slides {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    z-index: 0;
}

/* Desvanecido del lado izquierdo de la imagen (fade a blanco) */
.hero__slides::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
        rgba(245, 245, 247, 1) 0%,
        rgba(245, 245, 247, 0.85) 20%,
        rgba(245, 245, 247, 0.4) 45%,
        transparent 70%);
    z-index: 2;
    pointer-events: none;
}

.hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 0;
}

.hero__slide.is-active {
    opacity: 1;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--pmd-gold);
    margin-bottom: 1.5rem;
}

.hero__badge::before {
    content: '';
    display: block;
    width: 32px;
    height: 3px;
    background: var(--pmd-gold);
    border-radius: 2px;
}

.hero__title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--pmd-navy);
    margin-bottom: 1.5rem;
}

.hero__title .gold {
    color: var(--pmd-gold);
}

.hero__desc {
    font-size: 1.05rem;
    color: var(--pmd-gray-700);
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero__features {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.hero__feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1.25rem;
    font-size: 0.88rem;
    color: var(--pmd-navy);
    font-weight: 500;
    position: relative;
    line-height: 1.3;
}

.hero__feature:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 28px;
    background: var(--pmd-gray-200);
}

.hero__feature-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pmd-gold);
    flex-shrink: 0;
}

.hero__feature-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero__image {
    display: none;
}

/* ============================================================
 * SECCIÓN GENÉRICA
 * ============================================================ */
.section {
    padding: 5rem 0;
}

.section--gray {
    background-color: var(--pmd-gray-50);
}

.section--navy {
    background-color: var(--pmd-navy);
    color: var(--pmd-white);
}

.section--navy h2,
.section--navy h3 {
    color: var(--pmd-white);
}

.section__label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--pmd-gold);
    margin-bottom: 1rem;
}

.section__label::before {
    content: '';
    display: block;
    width: 28px;
    height: 3px;
    background: var(--pmd-gold);
    border-radius: 2px;
}

.section--navy .section__label {
    color: var(--pmd-gold-light);
}

.section__title {
    margin-bottom: 1rem;
}

.section__desc {
    color: var(--pmd-text-light);
    max-width: 600px;
    margin-bottom: 2rem;
}

.section--navy .section__desc {
    color: rgba(255,255,255,0.8);
}

.section__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    gap: 2rem;
    flex-wrap: wrap;
}

.section__header-text {
    max-width: 600px;
}

.section__header-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--pmd-gold);
    white-space: nowrap;
}

.section__header-link:hover {
    color: var(--pmd-gold-dark);
}

/* ============================================================
 * SERVICIOS
 * ============================================================ */
.services-showcase {
    display: grid;
    gap: 1.75rem;
}

.services-showcase__intro {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 2rem 3rem;
    align-items: end;
}

.services-showcase__headline .section__title {
    max-width: 720px;
    margin-bottom: 0;
    font-weight: 800;
}

.services-showcase__summary {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-height: 100%;
    padding-left: 2.25rem;
    border-left: 1px solid var(--pmd-gray-200);
}

.services-showcase__summary .section__desc {
    max-width: 520px;
    margin-bottom: 0;
}

.services-showcase__link {
    align-self: flex-start;
    color: var(--pmd-navy);
}

.services-showcase__link span {
    color: var(--pmd-gold);
}

.services-rows {
    display: grid;
    gap: 1.2rem;
}

.services-row {
    position: relative;
    display: grid;
    gap: 1rem;
    padding-inline: 3.25rem;
    overflow: visible;
}

.services-row__viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding-top: 0.65rem;
}

.services-row__viewport::-webkit-scrollbar {
    display: none;
}

.services-row__track {
    display: flex;
    gap: 1.15rem;
}

.service-card {
    background: var(--pmd-white);
    border-radius: var(--pmd-radius-lg);
    overflow: hidden;
    box-shadow: var(--pmd-shadow-sm);
    transition: all .3s ease;
    border: 1px solid var(--pmd-gray-100);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--pmd-shadow-xl);
}

.service-card--row {
    flex: 0 0 calc((100% - 4.5rem) / 4);
    scroll-snap-align: start;
}

.service-card__image {
    height: 148px;
    overflow: hidden;
    position: relative;
}

.service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.service-card:hover .service-card__image img {
    transform: scale(1.08);
}

.service-card__body {
    padding: 1.1rem 1.1rem 1.05rem;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-height: 182px;
}

.service-card__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.4rem;
    width: fit-content;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    background: rgba(191, 141, 25, 0.12);
    color: var(--pmd-gold-dark);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-top: 0.25rem;
}

.service-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--pmd-navy);
    margin-bottom: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
    min-height: 2.2em;
}

.service-card__desc {
    font-size: 0.89rem;
    color: var(--pmd-text-light);
    line-height: 1.38;
    margin-bottom: 0;
    min-height: 3.6em;
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--pmd-navy);
    margin-top: auto;
}

.service-card__link:hover {
    color: var(--pmd-navy);
}

.service-card__link .arrow {
    font-size: 1rem;
    transition: transform .25s ease;
    color: var(--pmd-gold);
}

.service-card:hover .service-card__link .arrow {
    transform: translateX(4px);
}

.service-card__icon--floating {
    position: absolute;
    top: -26px;
    left: 1.1rem;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: var(--pmd-navy);
    color: var(--pmd-white);
    border: 4px solid var(--pmd-white);
    box-shadow: 0 10px 24px rgba(15, 30, 61, 0.16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.service-card__icon--floating svg {
    width: 21px;
    height: 21px;
    display: block;
}

.services-row__footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.services-row__dots {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.services-row__dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    padding: 0;
    background: rgba(15, 30, 61, 0.18);
    cursor: pointer;
    transition: all .25s ease;
}

.services-row__dot.is-active {
    width: 28px;
    background: var(--pmd-gold);
}

.services-row__controls {
    position: absolute;
    inset: 0;
    top: 58%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 2;
}

.services-row__button {
    position: absolute;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    border: 2px solid var(--pmd-gold);
    background: var(--pmd-gold);
    color: var(--pmd-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .25s ease;
    pointer-events: auto;
    box-shadow: 0 10px 28px rgba(191, 141, 25, 0.28);
    font-size: 1.05rem;
}

.services-row__button--prev {
    left: -1.15rem;
}

.services-row__button--next {
    right: -1.15rem;
}

.services-row__button:hover {
    background: var(--pmd-navy);
    border-color: var(--pmd-navy);
    color: var(--pmd-white);
}

.services-row__button:disabled {
    opacity: 0.7;
    cursor: default;
    background: rgba(191, 141, 25, 0.5);
    border-color: rgba(191, 141, 25, 0.5);
}

/* ============================================================
 * SECCIÓN "¿POR QUÉ ELEGIR PMD?"
 * ============================================================ */
.why-section {
    position: relative;
    overflow: hidden;
    padding: 0;
    background-color: #072a57;
    background-image: linear-gradient(90deg, #072a57 0%, #0a3468 52%, #103e73 100%);
}

.why-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(290px, 0.72fr) minmax(320px, 0.9fr);
    gap: 0;
    align-items: stretch;
    min-height: 420px;
    background: transparent;
    overflow: visible;
}

.why-panel__content {
    padding: 4rem 2.5rem 4rem 0;
    max-width: 500px;
}

.why-panel__content .section__title {
    max-width: 380px;
    margin-bottom: 1.25rem;
}

.why-panel__content .section__desc {
    max-width: 430px;
    margin-bottom: 2rem;
    font-size: 1.02rem;
    line-height: 1.65;
}

.why-panel__cta {
    min-width: 250px;
    justify-content: center;
}

.why-panel__stats {
    display: grid;
    gap: 1.45rem;
    align-content: center;
    padding: 4rem 2rem 4rem 2rem;
    border-left: 1px solid rgba(255,255,255,0.18);
    max-width: 330px;
}

.why-panel__stat {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 1rem;
    align-items: start;
}

.why-panel__icon {
    width: 56px;
    height: 56px;
    color: var(--pmd-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-panel__icon svg {
    width: 42px;
    height: 42px;
    display: block;
}

.why-panel__value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--pmd-white);
    line-height: 1.05;
    margin-bottom: 0.25rem;
}

.why-panel__text {
    font-size: 1rem;
    color: rgba(255,255,255,0.86);
    line-height: 1.45;
}

.why-panel__visual {
    --why-bleed: max(1.5rem, calc((100vw - var(--pmd-container)) / 2 + 1.5rem));
    position: relative;
    display: block;
    align-self: stretch;
    min-height: 420px;
    width: calc(100% + var(--why-bleed));
    margin-right: calc(var(--why-bleed) * -1);
}

.why-panel__visual::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(10, 52, 104, 0.95) 0%, rgba(10, 52, 104, 0.55) 22%, rgba(10, 52, 104, 0.12) 42%, rgba(10, 52, 104, 0) 62%);
}

.why-panel__visual img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    object-position: right center;
}

/* ============================================================
 * SECCIÓN CLIENTES
 * ============================================================ */
.clients-showcase {
    display: grid;
    gap: 2.75rem;
}

.clients__header {
    max-width: 760px;
}

.clients__header .section__title {
    margin-bottom: 0;
}

.clients-showcase__body {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.9fr);
    gap: 2.75rem;
    align-items: center;
}

.clients-logos {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    min-height: 116px;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 84px;
    padding: 0 1.25rem;
    opacity: 0.5;
    transition: opacity .25s ease, transform .25s ease;
    filter: grayscale(100%);
    border-right: 1px solid rgba(17, 24, 39, 0.08);
    text-align: center;
}

.client-logo:last-child {
    border-right: 0;
}

.client-logo:hover,
.client-logo:focus-within {
    opacity: 1;
    filter: grayscale(0%);
    transform: translateY(-2px);
}

.client-logo__wordmark {
    display: inline-block;
    color: var(--pmd-gray-900);
    line-height: 1;
    letter-spacing: 0.01em;
}

.client-logo__wordmark--vantil {
    font-size: 2rem;
    font-weight: 800;
}

.client-logo__wordmark--cqr {
    font-size: 2.2rem;
    font-weight: 300;
    letter-spacing: 0.04em;
}

.client-logo__wordmark--bureau {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 0.2em;
}

.client-logo__wordmark--icontec {
    font-size: 1.85rem;
    font-weight: 600;
}

.client-logo__wordmark--tuv {
    font-size: 1.5rem;
    font-weight: 600;
}

.clients-testimonial {
    padding-left: 3rem;
    border-left: 1px solid rgba(17, 24, 39, 0.12);
}

.clients-testimonial__header {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.clients-testimonial__eyebrow {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--pmd-gold);
}

.clients-testimonial__title {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.15;
    color: var(--pmd-navy);
}

.clients-testimonial__slides {
    position: relative;
    min-height: 220px;
}

.clients-testimonial__slide {
    display: none;
}

.clients-testimonial__slide.is-active {
    display: block;
}

.clients-testimonial__quote {
    font-size: 1.45rem;
    color: var(--pmd-gray-700);
    font-style: italic;
    line-height: 1.45;
    margin-bottom: 1.5rem;
    max-width: 480px;
}

.clients-testimonial__quote-mark {
    color: var(--pmd-gold);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.clients-testimonial__author {
    font-size: 1rem;
    font-weight: 600;
    color: var(--pmd-navy);
    margin-bottom: 2rem;
}

.clients-testimonial__controls {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: var(--pmd-navy);
}

.clients-testimonial__arrow {
    border: 0;
    background: transparent;
    padding: 0;
    font-size: 2rem;
    line-height: 1;
    color: var(--pmd-navy);
    cursor: pointer;
}

.clients-testimonial__dots {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.clients-testimonial__dot {
    border: 0;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(15, 30, 61, 0.18);
    cursor: pointer;
}

.clients-testimonial__dot--active {
    background: var(--pmd-gold);
}

/* ============================================================
 * SECCIÓN EQUIPO
 * ============================================================ */
.team-section {
    display: grid;
    gap: 2.5rem;
}

.team-section__header {
    max-width: 760px;
}

.team-section__header .section__title {
    margin-bottom: 1rem;
}

.team-section__header .section__desc {
    margin-bottom: 0;
}

.team-section__layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.8fr);
    gap: 1.5rem;
    align-items: start;
}

.team-section__structure {
    background: var(--pmd-white);
    border: 1px solid rgba(15, 30, 61, 0.08);
    border-radius: 24px;
    padding: 1.25rem;
    box-shadow: var(--pmd-shadow-sm);
    position: sticky;
    top: calc(var(--site-header-offset, 112px) + 1rem);
    overflow: hidden;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.team-section__structure:hover,
.team-section__structure:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(15, 30, 61, 0.12);
    border-color: rgba(191, 141, 25, 0.35);
}

.team-section__structure img {
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.team-section__hint {
    position: absolute;
    right: 2rem;
    bottom: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: rgba(15, 30, 61, 0.82);
    color: var(--pmd-white);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    box-shadow: 0 12px 28px rgba(15, 30, 61, 0.2);
    pointer-events: none;
}

.team-section__hint svg {
    width: 18px;
    height: 18px;
    color: var(--pmd-gold);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.team-card {
    background: var(--pmd-white);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--pmd-shadow-sm);
    border: 1px solid rgba(15, 30, 61, 0.08);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    cursor: pointer;
}

.team-card:hover,
.team-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: var(--pmd-shadow-lg);
    border-color: rgba(191, 141, 25, 0.35);
    outline: none;
}

.team-card__image {
    aspect-ratio: 4 / 4.2;
    overflow: hidden;
    background: var(--pmd-gray-100);
}

.team-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card__body {
    padding: 1.35rem;
}

.team-card__role {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--pmd-gold);
    font-weight: 700;
    margin-bottom: 0;
}

.team-card__name {
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
}

.team-modal-open {
    overflow: hidden;
}

.team-modal-layer {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 2rem;
}

.team-modal-layer[hidden] {
    display: none;
}

.team-modal-layer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 30, 61, 0.7);
    backdrop-filter: blur(3px);
}

.team-modal {
    position: relative;
    z-index: 1;
    width: min(1100px, 100%);
    max-height: calc(100vh - 4rem);
    overflow: auto;
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    background: var(--pmd-white);
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(10, 21, 48, 0.28);
}

.team-modal[hidden] {
    display: none;
}

.team-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 0;
    background: rgba(15, 30, 61, 0.1);
    color: var(--pmd-navy);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.team-modal__media {
    min-height: 100%;
    background: var(--pmd-gray-100);
}

.team-modal__media img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
}

.team-modal__content {
    padding: 2.5rem 2.5rem 2rem;
}

.team-modal--image {
    display: block;
    width: min(1200px, 100%);
}

.team-modal__content--image {
    padding: 2rem;
}

.team-modal__image-wrap {
    border-radius: 20px;
    overflow: hidden;
    background: var(--pmd-gray-100);
}

.team-modal__image-wrap img {
    width: 100%;
    height: auto;
    max-height: calc(100vh - 11rem);
    object-fit: contain;
    margin: 0 auto;
}

.team-modal__role {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--pmd-gold);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.team-modal__title {
    margin-bottom: 1rem;
}

.team-modal__text {
    color: var(--pmd-gray-700);
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* ============================================================
 * ROADMAP
 * ============================================================ */
.roadmap-section__header {
    max-width: 760px;
    margin-bottom: 2.5rem;
}

.roadmap {
    display: grid;
    gap: 2.5rem;
}

.roadmap__tabs {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    width: min(100%, 760px);
    margin: 0 auto;
    padding: 0.85rem;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(244, 246, 250, 0.96) 100%);
    border: 1px solid rgba(15, 30, 61, 0.08);
    box-shadow: 0 18px 40px rgba(15, 30, 61, 0.08);
}

.roadmap__tabs::before {
    content: '';
    position: absolute;
    left: 2rem;
    right: 2rem;
    top: 50%;
    height: 2px;
    transform: translateY(-50%);
    background: linear-gradient(90deg, rgba(15, 30, 61, 0.08) 0%, rgba(191, 141, 25, 0.28) 50%, rgba(15, 30, 61, 0.08) 100%);
    pointer-events: none;
}

.roadmap__tab {
    position: relative;
    z-index: 1;
    min-width: 88px;
    border: 0;
    border-radius: 999px;
    padding: 1rem 1.35rem;
    background: rgba(255, 255, 255, 0.85);
    color: var(--pmd-navy);
    font-weight: 700;
    font-size: 0.98rem;
    cursor: pointer;
    transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
    box-shadow: 0 8px 20px rgba(15, 30, 61, 0.08);
}

.roadmap__tab:hover,
.roadmap__tab:focus-visible {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    outline: none;
}

.roadmap__tab.is-active {
    color: var(--pmd-white);
    background: var(--pmd-navy);
    border: 1px solid var(--pmd-navy);
    box-shadow: 0 14px 32px rgba(15, 30, 61, 0.16);
    transform: translateY(-3px) scale(1.02);
}

.roadmap__panels {
    position: relative;
}

.roadmap-panel {
    animation: roadmapFade .3s ease;
}

.roadmap-panel__body {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 1.75rem;
    align-items: stretch;
}

.roadmap-panel__intro,
.roadmap-panel__content {
    min-height: 100%;
}

.roadmap-panel__intro {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.9rem;
    padding: 2rem;
    color: var(--pmd-white);
    background:
        linear-gradient(180deg, rgba(15, 30, 61, 0.95) 0%, rgba(15, 30, 61, 0.86) 100%),
        url('assets/images/servicio-4.jpeg') center/cover no-repeat;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 26px 56px rgba(15, 30, 61, 0.18);
}

.roadmap-panel__intro::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(191, 141, 25, 0.16) 0%, transparent 48%);
    pointer-events: none;
}

.roadmap-panel__intro > * {
    position: relative;
    z-index: 1;
}

.roadmap-panel__eyebrow {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 700;
    margin-bottom: 0;
}

.roadmap-panel__year {
    font-size: clamp(3.4rem, 8vw, 5.4rem);
    line-height: 0.95;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.18);
}

.roadmap-panel__title {
    font-size: clamp(1.55rem, 2.2vw, 2.2rem);
    margin-bottom: 0;
    color: var(--pmd-white);
}

.roadmap-panel__summary {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
    margin-bottom: 0;
}

.roadmap-panel__content {
    background: var(--pmd-white);
    border: 1px solid rgba(15, 30, 61, 0.08);
    border-radius: 28px;
    padding: 2rem;
    box-shadow: var(--pmd-shadow-sm);
}

.roadmap-panel__track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    padding-top: 3rem;
}

.roadmap-panel__track::before {
    content: '';
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: linear-gradient(90deg, rgba(15, 30, 61, 0.12) 0%, rgba(191, 141, 25, 0.28) 50%, rgba(15, 30, 61, 0.12) 100%);
}

.roadmap-event {
    position: relative;
    padding-top: 1.35rem;
    background: linear-gradient(180deg, rgba(248, 249, 251, 0.9) 0%, rgba(255, 255, 255, 1) 100%);
    border: 1px solid rgba(15, 30, 61, 0.08);
    border-radius: 22px;
    padding-inline: 1.1rem;
    padding-bottom: 1.2rem;
    box-shadow: 0 14px 28px rgba(15, 30, 61, 0.06);
}

.roadmap-event__marker {
    position: absolute;
    top: -0.4rem;
    left: 1rem;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: var(--pmd-navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 10px rgba(15, 30, 61, 0.03);
}

.roadmap-event__marker span {
    color: var(--pmd-white);
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1;
}

.roadmap-event__date {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--pmd-gold);
    margin: 1.25rem 0 0.75rem;
}

.roadmap-event__title {
    font-size: 1.08rem;
    margin-bottom: 0.6rem;
}

.roadmap-event__text {
    color: var(--pmd-gray-700);
    line-height: 1.7;
    margin-bottom: 0;
}

@keyframes roadmapFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
 * BLOG
 * ============================================================ */
.blog-section__header {
    max-width: 720px;
    margin-bottom: 2.5rem;
}

.blog-carousel {
    position: relative;
    display: grid;
    gap: 1.5rem;
    padding-inline: 3.25rem;
    overflow: visible;
}

.blog-carousel__viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding-top: 0.65rem;
}

.blog-carousel__viewport::-webkit-scrollbar {
    display: none;
}

.blog-carousel__track {
    display: flex;
    gap: 1.15rem;
}

.blog-card {
    flex: 0 0 calc((100% - 2.3rem) / 3);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    background: var(--pmd-white);
    border-radius: var(--pmd-radius-lg);
    border: 1px solid var(--pmd-gray-100);
    box-shadow: var(--pmd-shadow-sm);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--pmd-shadow-xl);
}

.blog-card__media {
    position: relative;
    display: block;
    height: 188px;
    overflow: hidden;
    background: var(--pmd-navy);
}

.blog-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.blog-card:hover .blog-card__media img {
    transform: scale(1.06);
}

.blog-card__media-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: rgba(255, 255, 255, 0.42);
    background: linear-gradient(140deg, var(--pmd-navy) 0%, var(--pmd-navy-light) 100%);
}

.blog-card__media-fallback svg {
    width: 42px;
    height: 42px;
}

.blog-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
    padding: 1.25rem 1.25rem 1.35rem;
}

.blog-card__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem 0.7rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.blog-card__category {
    color: var(--pmd-gold-dark);
}

.blog-card__date {
    color: var(--pmd-gray-500);
    font-weight: 600;
    letter-spacing: 0.04em;
}

.blog-card__title {
    font-size: 1.08rem;
    line-height: 1.35;
    margin: 0;
}

.blog-card__title a {
    color: var(--pmd-navy);
    text-decoration: none;
    transition: color .25s ease;
}

.blog-card__title a:hover,
.blog-card__title a:focus-visible {
    color: var(--pmd-gold-dark);
}

.blog-card__excerpt {
    color: var(--pmd-gray-700);
    font-size: 0.92rem;
    line-height: 1.65;
    margin: 0;
}

.blog-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.5rem;
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--pmd-navy);
    transition: color .25s ease;
}

.blog-card__link .arrow {
    color: var(--pmd-gold);
    font-size: 1rem;
    transition: transform .25s ease;
}

.blog-card__link:hover .arrow {
    transform: translateX(4px);
}

.blog-carousel__controls {
    position: absolute;
    inset: 0;
    top: 54%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 2;
}

.blog-carousel__button {
    position: absolute;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    border: 2px solid var(--pmd-gold);
    background: var(--pmd-gold);
    color: var(--pmd-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.05rem;
    pointer-events: auto;
    box-shadow: 0 10px 28px rgba(191, 141, 25, 0.28);
    transition: all .25s ease;
}

.blog-carousel__button--prev {
    left: -1.15rem;
}

.blog-carousel__button--next {
    right: -1.15rem;
}

.blog-carousel__button:hover {
    background: var(--pmd-navy);
    border-color: var(--pmd-navy);
    color: var(--pmd-white);
}

.blog-carousel__button:disabled {
    opacity: 0.7;
    cursor: default;
    background: rgba(191, 141, 25, 0.5);
    border-color: rgba(191, 141, 25, 0.5);
}

.blog-carousel__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.blog-carousel__dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    padding: 0;
    background: rgba(15, 30, 61, 0.18);
    cursor: pointer;
    transition: all .25s ease;
}

.blog-carousel__dot.is-active {
    width: 28px;
    background: var(--pmd-gold);
}

/* ============================================================
 * CTA BANNER
 * ============================================================ */
.cta-banner {
    background:
        linear-gradient(90deg, rgba(8, 36, 74, 0.94) 0%, rgba(8, 36, 74, 0.94) 32%, rgba(8, 36, 74, 0.82) 55%, rgba(8, 36, 74, 0.5) 100%),
        url('assets/images/servicio-4.jpeg') center/cover no-repeat;
    color: var(--pmd-white);
    padding: 1.7rem 0;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid var(--pmd-gold);
}

.cta-banner__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr) auto;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.cta-banner__intro {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 1.2rem;
}

.cta-banner__icon {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    border: 2px solid rgba(212, 160, 23, 0.55);
    color: var(--pmd-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cta-banner__icon svg {
    width: 28px;
    height: 28px;
}

.cta-banner__title {
    font-size: clamp(1.55rem, 2.5vw, 2.3rem);
    font-weight: 800;
    color: var(--pmd-white);
    margin: 0;
    max-width: 480px;
}

.cta-banner__summary {
    padding-left: 2rem;
    border-left: 1px solid rgba(255,255,255,0.18);
}

.cta-banner__desc {
    color: rgba(255,255,255,0.8);
    margin: 0;
    max-width: 420px;
    font-size: 1.03rem;
    line-height: 1.55;
}

.cta-banner__button {
    min-width: 230px;
}

/* ============================================================
 * FOOTER
 * ============================================================ */
.site-footer {
    background: #042b57;
    color: rgba(255,255,255,0.7);
    padding: 2rem 0 2.2rem;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr) auto;
    gap: 3rem;
    align-items: center;
}

.site-footer__logo img {
    height: 62px;
    width: auto;
    filter: brightness(0) invert(1);
}

.site-footer__content {
    display: grid;
    gap: 1rem;
}

.site-footer__nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer__nav li {
    position: relative;
    padding-right: 1.25rem;
}

.site-footer__nav li:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 1px;
    height: 14px;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.16);
}

.site-footer__nav a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    transition: color .2s ease;
}

.site-footer__nav a:hover {
    color: var(--pmd-gold-light);
}

.site-footer__meta {
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.12);
    font-size: 0.84rem;
    color: rgba(255,255,255,0.7);
}

.site-footer__meta p {
    margin: 0;
}

.site-footer__sep {
    margin: 0 0.7rem;
    color: rgba(255,255,255,0.28);
}

.site-footer__aside {
    display: grid;
    justify-items: end;
    gap: 1.35rem;
}

.site-footer__social {
    display: flex;
    gap: 1rem;
}

.site-footer__social a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.18);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pmd-white);
    transition: all .25s ease;
}

.site-footer__social svg {
    width: 18px;
    height: 18px;
}

.site-footer__social a:hover {
    background: var(--pmd-gold);
    color: var(--pmd-white);
    border-color: var(--pmd-gold);
}

.site-footer__tagline {
    font-style: italic;
    color: var(--pmd-white);
    font-family: 'Georgia', serif;
    font-size: 1.45rem;
    white-space: nowrap;
    position: relative;
}

.site-footer__tagline::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.35rem;
    height: 3px;
    background: var(--pmd-gold);
    border-radius: 999px;
}

.whatsapp-float {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 9998;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    padding: 0;
    border-radius: 999px;
    background: #1fa855;
    color: var(--pmd-white);
    box-shadow: 0 18px 36px rgba(10, 21, 48, 0.24);
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 999px;
    background: rgba(31, 168, 85, 0.28);
    z-index: -1;
    animation: whatsapp-pulse 1.8s ease-out infinite;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
    color: var(--pmd-white);
    background: #178545;
    transform: translateY(-3px);
    box-shadow: 0 22px 40px rgba(10, 21, 48, 0.28);
}

.whatsapp-float__icon {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.whatsapp-float__icon svg {
    width: 30px;
    height: 30px;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(0.92);
        opacity: 0.9;
    }

    70% {
        transform: scale(1.2);
        opacity: 0;
    }

    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

/* ============================================================
 * ENTRADA DE BLOG (SINGLE)
 * ============================================================ */
.pmd-entry {
    padding-bottom: 4.5rem;
}

.post-hero {
    position: relative;
    padding: 3.5rem 0 7rem;
    background:
        radial-gradient(circle at 15% 15%, rgba(191, 141, 25, 0.24) 0%, transparent 45%),
        linear-gradient(140deg, var(--pmd-navy-dark) 0%, var(--pmd-navy) 55%, var(--pmd-navy-light) 100%);
    color: var(--pmd-white);
    overflow: hidden;
}

.post-hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--pmd-gold) 0%, rgba(191, 141, 25, 0.25) 60%, transparent 100%);
}

.post-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.post-hero__back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

.post-hero__back:hover {
    color: var(--pmd-gold-light);
}

.post-hero__back span {
    transition: transform .25s ease;
}

.post-hero__back:hover span {
    transform: translateX(-4px);
}

.post-hero__title {
    margin: 0 0 1.25rem;
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--pmd-white);
}

.post-hero__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem 1.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.78);
}

.post-hero__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.post-hero__meta-item svg {
    width: 17px;
    height: 17px;
    color: var(--pmd-gold-light);
}

.post-cover {
    position: relative;
    max-width: 1000px;
    margin: -5rem auto 3rem;
    border-radius: 20px;
    overflow: hidden;
    background: var(--pmd-navy);
    box-shadow: 0 30px 60px rgba(15, 30, 61, 0.22);
}

.post-cover__image {
    display: block;
    width: 100%;
    height: auto;
}

.post-content {
    max-width: 780px;
    margin: 0 auto;
}

.post-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--pmd-gray-700);
}

.post-content h2,
.post-content h3,
.post-content h4 {
    color: var(--pmd-navy);
    font-weight: 800;
    line-height: 1.25;
}

.post-content h2 {
    position: relative;
    margin: 2.75rem 0 1.1rem;
    padding-left: 1.1rem;
    font-size: 1.65rem;
}

.post-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.15em;
    bottom: 0.15em;
    width: 4px;
    border-radius: 999px;
    background: var(--pmd-gold);
}

.post-content h3 {
    margin: 2.25rem 0 0.9rem;
    font-size: 1.3rem;
}

.post-content h4 {
    margin: 1.85rem 0 0.75rem;
    font-size: 1.1rem;
}

.post-content a {
    color: var(--pmd-navy);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(191, 141, 25, 0.55);
    text-underline-offset: 3px;
}

.post-content a:hover {
    color: var(--pmd-gold-dark);
    text-decoration-color: var(--pmd-gold-dark);
}

.post-content strong {
    color: var(--pmd-navy);
    font-weight: 700;
}

.post-content ul,
.post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.35rem;
}

.post-content ul li::marker {
    color: var(--pmd-gold);
}

.post-content li {
    margin-bottom: 0.6rem;
    line-height: 1.75;
    color: var(--pmd-gray-700);
}

.post-content blockquote {
    margin: 2rem 0;
    padding: 1.35rem 1.6rem 1.35rem 2rem;
    border-left: 4px solid var(--pmd-gold);
    border-radius: 0 12px 12px 0;
    background: var(--pmd-gray-50);
    font-family: 'Georgia', serif;
    font-size: 1.12rem;
    font-style: italic;
    color: var(--pmd-navy);
}

.post-content blockquote p:last-child {
    margin-bottom: 0;
}

.post-content figure {
    margin: 2rem 0;
}

.post-content img {
    border-radius: 14px;
}

.post-content figcaption {
    margin-top: 0.7rem;
    font-size: 0.85rem;
    text-align: center;
    color: var(--pmd-gray-500);
}

.post-content hr {
    height: 1px;
    margin: 2.5rem 0;
    border: 0;
    background: linear-gradient(90deg, transparent, var(--pmd-gray-200) 20%, var(--pmd-gray-200) 80%, transparent);
}

.post-content code {
    padding: 0.15rem 0.4rem;
    border-radius: 6px;
    background: var(--pmd-gray-100);
    color: var(--pmd-navy);
    font-size: 0.9em;
}

.post-content pre {
    margin: 1.75rem 0;
    padding: 1.25rem;
    border-radius: 12px;
    background: var(--pmd-navy);
    color: var(--pmd-white);
    font-size: 0.9rem;
    overflow-x: auto;
}

.post-content pre code {
    padding: 0;
    background: transparent;
    color: inherit;
}

.post-content table {
    width: 100%;
    margin: 1.75rem 0;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.post-content th,
.post-content td {
    padding: 0.75rem 1rem;
    border: 1px solid var(--pmd-gray-200);
    text-align: left;
}

.post-content th {
    background: var(--pmd-navy);
    color: var(--pmd-white);
    font-weight: 700;
}

.post-content tr:nth-child(even) td {
    background: var(--pmd-gray-50);
}

.post-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 780px;
    margin: 3rem auto 0;
    padding-top: 1.75rem;
    border-top: 1px solid var(--pmd-gray-200);
}

.post-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.post-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: var(--pmd-gray-100);
    color: var(--pmd-navy);
    font-size: 0.78rem;
    font-weight: 600;
}

.post-tag:hover {
    background: var(--pmd-navy);
    color: var(--pmd-white);
}

.post-footer__back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--pmd-navy);
}

.post-footer__back span {
    color: var(--pmd-gold);
    transition: transform .25s ease;
}

.post-footer__back:hover span {
    transform: translateX(-4px);
}

.pmd-entry .post-navigation {
    max-width: 780px;
    margin: 2.5rem auto 0;
}

.pmd-entry .post-navigation .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.pmd-entry .post-navigation .nav-previous,
.pmd-entry .post-navigation .nav-next {
    border: 1px solid var(--pmd-gray-200);
    border-radius: 16px;
    background: var(--pmd-white);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.pmd-entry .post-navigation .nav-previous:hover,
.pmd-entry .post-navigation .nav-next:hover {
    border-color: rgba(191, 141, 25, 0.55);
    box-shadow: var(--pmd-shadow-md);
    transform: translateY(-3px);
}

.pmd-entry .post-navigation .nav-next {
    text-align: right;
}

.pmd-entry .post-navigation a {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.1rem 1.25rem;
    color: var(--pmd-navy);
}

.post-navigation__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--pmd-gold-dark);
}

.post-navigation__title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
}

/* ============================================================
 * ACCESIBILIDAD
 * ============================================================ */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--pmd-gold);
    color: var(--pmd-white);
    padding: 0.5rem 1rem;
    z-index: 10000;
    transition: top .2s ease;
}

.skip-link:focus {
    top: 0;
}

/* ============================================================
 * SECCIÓN DE CONTACTO (mapa + formulario)
 * ============================================================ */
.contact-section {
    background-color: var(--pmd-gray-50);
}

.contact-section__header {
    max-width: 720px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.contact-section__header .section__desc {
    margin: 0 auto;
}

.contact-section__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.contact-section__map {
    position: relative;
    min-height: 440px;
    background-color: var(--pmd-gray-100);
    border-radius: var(--pmd-radius-lg);
    overflow: hidden;
    box-shadow: var(--pmd-shadow-lg);
}

.contact-section__map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-section__form {
    padding: 2.25rem;
    background-color: var(--pmd-white);
    border: 1px solid var(--pmd-gray-200);
    border-radius: var(--pmd-radius-lg);
    box-shadow: var(--pmd-shadow-lg);
}

.contact-section__notice {
    margin: 0;
    font-size: 0.95rem;
    color: var(--pmd-text-light);
}

/* Formulario de Contact Form 7 */
.contact-section__form .wpcf7-form p {
    margin-bottom: 1.1rem;
}

.contact-section__form .wpcf7-form label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--pmd-navy);
}

.contact-section__form .wpcf7-form-control:not(.wpcf7-submit) {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--pmd-text);
    background-color: var(--pmd-gray-50);
    border: 1px solid var(--pmd-gray-200);
    border-radius: var(--pmd-radius);
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.contact-section__form .wpcf7-form-control:not(.wpcf7-submit):focus {
    outline: none;
    background-color: var(--pmd-white);
    border-color: var(--pmd-gold);
    box-shadow: 0 0 0 3px rgba(191, 141, 25, 0.15);
}

.contact-section__form textarea.wpcf7-form-control {
    min-height: 130px;
    resize: vertical;
}

.contact-section__form .wpcf7-submit {
    width: 100%;
    padding: 0.95rem 1.75rem;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--pmd-white);
    background-color: var(--pmd-navy);
    border: 2px solid var(--pmd-navy);
    border-radius: 50px;
    cursor: pointer;
    transition: all .25s ease;
}

.contact-section__form .wpcf7-submit:hover {
    background-color: var(--pmd-navy-dark);
    border-color: var(--pmd-navy-dark);
    transform: translateY(-2px);
    box-shadow: var(--pmd-shadow-md);
}

.contact-section__form .wpcf7-not-valid-tip {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.8rem;
    color: #C0392B;
}

.contact-section__form .wpcf7-response-output {
    margin: 1.25rem 0 0;
    padding: 0.9rem 1.1rem;
    border-radius: var(--pmd-radius);
    font-size: 0.9rem;
}

/* Datos de contacto */
.contact-section__details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-section__detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--pmd-white);
    border: 1px solid var(--pmd-gray-200);
    border-radius: var(--pmd-radius-lg);
    box-shadow: var(--pmd-shadow-sm);
}

.contact-section__detail-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background-color: rgba(15, 30, 61, 0.06);
    color: var(--pmd-navy);
}

.contact-section__detail-icon svg {
    width: 22px;
    height: 22px;
}

.contact-section__detail-label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--pmd-text-light);
}

.contact-section__detail-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--pmd-navy);
    word-break: break-word;
}

.contact-section__social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.2rem;
}

.contact-section__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: var(--pmd-navy);
    border: 1px solid var(--pmd-gray-200);
    border-radius: 10px;
    transition: all .25s ease;
}

.contact-section__social a:hover {
    background-color: var(--pmd-navy);
    border-color: var(--pmd-navy);
    color: var(--pmd-white);
    transform: translateY(-2px);
}

.contact-section__social svg {
    width: 18px;
    height: 18px;
}

/* ============================================================
 * RESPONSIVE
 * ============================================================ */
@media (max-width: 1024px) {
    .contact-section__grid {
        grid-template-columns: 1fr;
    }

    .services-showcase__intro {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .services-showcase__summary {
        padding-left: 0;
        border-left: 0;
    }

    .service-card--row {
        flex-basis: calc((100% - 1.5rem) / 2);
    }

    .service-card__title {
        font-size: 1.08rem;
    }

    .why-panel {
        grid-template-columns: 1fr 1fr;
        min-height: auto;
    }

    .why-panel__stats {
        max-width: 100%;
        padding: 3rem 0 3rem 2.25rem;
    }

    .why-panel__visual {
        grid-column: 1 / -1;
        min-height: 260px;
        width: 100%;
        margin-right: 0;
    }

    .why-panel__visual img {
        min-height: 260px;
    }

    .clients-logos {
        grid-template-columns: repeat(3, 1fr);
    }

    .clients-showcase__body {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .clients-testimonial {
        padding-left: 0;
        padding-top: 2rem;
        border-left: 0;
        border-top: 1px solid rgba(17, 24, 39, 0.12);
    }

    .team-section__layout {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .team-section__structure {
        position: relative;
        top: auto;
    }

    .team-modal {
        grid-template-columns: 320px minmax(0, 1fr);
    }

    .roadmap-panel__body {
        grid-template-columns: 1fr;
    }

    .roadmap-panel__intro {
        min-height: 280px;
    }

    .roadmap-panel__content {
        padding: 1.5rem;
    }

    .roadmap-panel__track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cta-banner__inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta-banner__summary {
        padding-left: 0;
        border-left: 0;
    }

    .cta-banner__button {
        justify-self: flex-start;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .site-footer__nav ul {
        justify-content: center;
    }

    .whatsapp-float {
        right: 1rem;
        bottom: 1rem;
        width: 60px;
        height: 60px;
    }

    .site-footer__meta {
        text-align: center;
    }

    .site-footer__aside {
        justify-items: center;
    }

    .site-footer__social {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .contact-section__map {
        min-height: 360px;
    }

    .contact-section__form {
        padding: 1.5rem;
    }

    .contact-section__details {
        grid-template-columns: 1fr;
    }

    .top-bar__inner {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero {
        background-color: #f5f5f7;
        padding: 1.75rem 0 2.25rem;
    }

    .hero__slides {
        width: 100%;
        right: 0;
    }

    .hero__slides::after {
        background:
            linear-gradient(to bottom,
                rgba(245, 245, 247, 0.99) 0%,
                rgba(245, 245, 247, 0.97) 24%,
                rgba(245, 245, 247, 0.9) 48%,
                rgba(245, 245, 247, 0.72) 72%,
                rgba(245, 245, 247, 0.48) 100%),
            linear-gradient(to right,
                rgba(245, 245, 247, 1) 0%,
                rgba(245, 245, 247, 0.94) 30%,
                rgba(245, 245, 247, 0.62) 58%,
                rgba(245, 245, 247, 0.18) 100%);
    }

    .hero__slide {
        background-position: 72% center;
    }

    .hero__grid,
    .why-panel {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero__content {
        max-width: 36rem;
        padding: 1.15rem 1rem;
        background: linear-gradient(180deg,
            rgba(245, 245, 247, 0.94) 0%,
            rgba(245, 245, 247, 0.82) 100%);
        border-radius: 24px;
        box-shadow: 0 18px 40px rgba(15, 30, 61, 0.08);
        backdrop-filter: blur(5px);
    }

    .hero__badge {
        margin-bottom: 1rem;
    }

    .hero__title {
        font-size: clamp(2.05rem, 8vw, 3rem);
        line-height: 1.05;
        margin-bottom: 1rem;
    }

    .hero__desc {
        max-width: none;
        font-size: 1rem;
        line-height: 1.75;
        color: #23314f;
        margin-bottom: 1.5rem;
    }

    .services-showcase__link {
        align-self: flex-start;
    }

    .services-row__track {
        gap: 1rem;
    }

    .services-row {
        padding-inline: 2.7rem;
    }

    .service-card--row {
        flex-basis: 100%;
    }

    .service-card__image {
        height: 150px;
    }

    .service-card__body {
        min-height: auto;
    }

    .service-card__title {
        font-size: 1.02rem;
    }

    .service-card__desc {
        min-height: 0;
    }

    .why-panel {
        grid-template-columns: 1fr;
    }

    .why-panel__content .section__title {
        max-width: 320px;
    }

    .why-panel__content .section__desc {
        font-size: 1rem;
        line-height: 1.6;
    }

    .why-panel__cta {
        min-width: 100%;
    }

    .why-panel__stats {
        gap: 1.25rem;
        padding: 1.75rem 0 2rem;
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,0.18);
    }

    .why-panel__stat {
        grid-template-columns: 48px 1fr;
        gap: 0.75rem;
    }

    .why-panel__icon {
        width: 48px;
        height: 48px;
    }

    .why-panel__icon svg {
        width: 34px;
        height: 34px;
    }

    .why-panel__value {
        font-size: 1.5rem;
    }

    .why-panel__content {
        padding: 2.5rem 0 1.5rem;
    }

    .why-panel__visual {
        min-height: 220px;
        width: calc(100% + 3rem);
        margin-left: -1.5rem;
        margin-right: -1.5rem;
    }

    .why-panel__visual img {
        min-height: 220px;
    }

    .clients-showcase {
        gap: 2rem;
    }

    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .team-section__structure {
        padding: 0.8rem;
    }

    .team-modal-layer {
        padding: 1rem;
    }

    .team-modal {
        grid-template-columns: 1fr;
        max-height: calc(100vh - 2rem);
    }

    .team-modal__media {
        min-height: 260px;
    }

    .team-modal__content {
        padding: 1.5rem 1.25rem 1.25rem;
    }

    .roadmap-section__header {
        margin-bottom: 2rem;
    }

    .roadmap__tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        border-radius: 24px;
    }

    .roadmap__tab {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1rem;
    }

    .roadmap-panel {
        animation-duration: .25s;
    }

    .roadmap-panel__intro {
        padding: 1.5rem;
        border-radius: 24px;
        min-height: 240px;
    }

    .roadmap-panel__year {
        font-size: 3.2rem;
    }

    .roadmap-panel__content {
        padding: 1.25rem;
        border-radius: 24px;
    }

    .roadmap-panel__track {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        padding-top: 1rem;
    }

    .roadmap-panel__track::before {
        top: 0;
        bottom: 0;
        left: 0.8rem;
        right: auto;
        width: 2px;
        height: auto;
    }

    .roadmap-event {
        padding-top: 0;
        padding-left: 2.9rem;
        padding-right: 1rem;
        padding-bottom: 1rem;
    }

    .roadmap-event__marker {
        top: 0.65rem;
        left: 0;
    }

    .clients-logos {
        grid-template-columns: repeat(2, 1fr);
    }

    .client-logo {
        min-height: 76px;
        padding: 0 0.75rem;
    }

    .client-logo:nth-child(2n) {
        border-right: 0;
    }

    .clients-testimonial__quote {
        font-size: 1.15rem;
    }

    .clients-testimonial__controls {
        gap: 0.8rem;
    }

    .services-row__footer {
        justify-content: center;
    }

    .services-row__button--prev {
        left: -0.5rem;
    }

    .services-row__button--next {
        right: -0.5rem;
    }

    .services-row__controls {
        top: 54%;
    }

    .services-row__viewport {
        padding-inline: 2rem;
    }

    .services-row__button {
        width: 44px;
        height: 44px;
        font-size: 0.95rem;
    }

    .blog-carousel {
        padding-inline: 2.7rem;
    }

    .blog-carousel__track {
        gap: 1rem;
    }

    .blog-card {
        flex-basis: 100%;
    }

    .blog-card__media {
        height: 200px;
    }

    .blog-carousel__button {
        width: 44px;
        height: 44px;
        font-size: 0.95rem;
    }

    .blog-carousel__button--prev {
        left: -0.5rem;
    }

    .blog-carousel__button--next {
        right: -0.5rem;
    }

    .blog-carousel__controls {
        top: 50%;
    }

    .post-hero {
        padding: 2.5rem 0 5rem;
    }

    .post-hero__title {
        font-size: clamp(1.7rem, 7vw, 2.4rem);
    }

    .post-cover {
        margin: -3.5rem auto 2rem;
        border-radius: 16px;
    }

    .post-content p {
        font-size: 1rem;
        line-height: 1.8;
    }

    .post-content h2 {
        margin-top: 2.25rem;
        font-size: 1.4rem;
    }

    .post-content h3 {
        font-size: 1.18rem;
    }

    .pmd-entry .post-navigation .nav-links {
        grid-template-columns: 1fr;
    }

    .pmd-entry .post-navigation .nav-next {
        text-align: left;
    }

    .post-footer {
        margin-top: 2.25rem;
    }

    .hero__features {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.65rem;
        margin-bottom: 1.5rem;
    }

    .hero__feature {
        width: 100%;
        padding: 0.75rem 0.9rem;
        background: rgba(255, 255, 255, 0.58);
        border: 1px solid rgba(15, 30, 61, 0.08);
        border-radius: 16px;
        backdrop-filter: blur(4px);
    }

    .hero__feature:not(:last-child)::after {
        display: none;
    }

    .hero__actions {
        width: 100%;
        flex-direction: column;
    }

    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .site-header__inner {
        flex-wrap: wrap;
        align-items: center;
        gap: 1rem;
    }

    .menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .main-navigation {
        display: none;
        width: 100%;
        flex-basis: 100%;
        background: var(--pmd-white);
        border: 1px solid rgba(15, 30, 61, 0.08);
        border-radius: 22px;
        padding: 1rem 1.1rem;
        box-shadow: var(--pmd-shadow-sm);
    }

    .main-navigation.is-open {
        display: block;
    }

    .main-navigation ul {
        align-items: stretch;
        gap: 0.35rem;
        text-align: left;
    }

    .main-navigation a {
        display: block;
        padding: 0.8rem 0.25rem;
    }

    .main-navigation a::after {
        bottom: 0;
    }

    .main-navigation .sub-menu {
        position: static;
        display: block;
        min-width: 0;
        box-shadow: none;
        border-radius: 0;
        padding: 0.2rem 0 0.35rem 1rem;
        background: transparent;
    }

    .main-navigation .sub-menu a {
        padding: 0.55rem 0.25rem;
        white-space: normal;
        font-size: 0.92rem;
        color: var(--pmd-gray-700);
    }

    .cta-banner__inner {
        text-align: center;
    }

    .cta-banner__intro {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .cta-banner__button {
        width: 100%;
        justify-self: stretch;
    }

    .clients-logos {
        grid-template-columns: repeat(2, 1fr);
    }

    .site-footer__nav li {
        padding-right: 0;
    }

    .site-footer__nav li::after {
        display: none;
    }

    .site-footer__tagline {
        font-size: 1.2rem;
        text-align: center;
    }

    .whatsapp-float {
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 480px) {
    .contact-section__map {
        min-height: 300px;
    }

    .contact-section__detail {
        padding: 1.2rem;
    }

    .site-header__inner {
        gap: 0.85rem;
    }

    .site-branding img {
        height: 44px;
    }

    .main-navigation {
        padding: 0.9rem;
        border-radius: 18px;
    }

    .roadmap__tabs {
        grid-template-columns: 1fr;
        padding: 0.55rem;
    }

    .roadmap__tab {
        font-size: 0.94rem;
    }

    .roadmap-panel {
        animation-duration: .2s;
    }

    .roadmap-panel__title {
        font-size: 1.45rem;
    }

    .roadmap-panel__year {
        font-size: 2.65rem;
    }

    .roadmap-event {
        padding-left: 2.55rem;
    }

    .roadmap-event__title {
        font-size: 1rem;
    }

    .hero {
        padding: 1.25rem 0 2rem;
    }

    .hero__content {
        padding: 1rem 0.85rem;
        border-radius: 20px;
    }

    .hero__badge {
        font-size: 0.72rem;
        letter-spacing: 0.08em;
    }

    .hero__title {
        font-size: clamp(1.9rem, 10vw, 2.6rem);
    }

    .hero__desc {
        font-size: 0.98rem;
        line-height: 1.65;
    }

    .hero__feature {
        gap: 0.65rem;
        padding: 0.7rem 0.8rem;
        font-size: 0.92rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .clients-logos {
        grid-template-columns: 1fr;
    }

    .blog-section__header {
        margin-bottom: 1.75rem;
    }

    .blog-carousel {
        padding-inline: 2.4rem;
    }

    .blog-card__title {
        font-size: 1.02rem;
    }

    .blog-card__excerpt {
        font-size: 0.9rem;
    }

    .post-hero {
        padding: 2rem 0 4rem;
    }

    .post-cover {
        margin: -2.5rem auto 1.75rem;
    }

    .post-content blockquote {
        padding: 1.1rem 1.2rem 1.1rem 1.4rem;
        font-size: 1.02rem;
    }
}
