/* =========================================================
   Tipografía inspirada en Canvas · Freelancer
   Títulos: Inter (700-900, interletrado cerrado)
   Textos:  Heebo (400, tamaño amplio y buen interlineado)
   Cargar DESPUÉS de las demás hojas y del <style> en línea.
   ========================================================= */

:root {
    --ff-heading: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --ff-body: "Heebo", system-ui, -apple-system, "Segoe UI", sans-serif;
    --c-heading: #1d2127;
    --c-text: #4a5260;
    --c-muted: #6b7280;
    --c-accent: #00606b;
}

/* ---------- Base ---------- */
body {
    font-family: var(--ff-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--c-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

p, li, dd, td, th, label, input, textarea, select, button {
    font-family: var(--ff-body);
}

main p,
main li {
    color: var(--c-text);
}

/* ---------- Títulos ---------- */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.heading-title,
.slider-content-title,
.info-box-title,
.case-item__title,
.crumina-module .heading-title {
    font-family: var(--ff-heading);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
    text-wrap: balance;
}

main h1, main h2, main h3, main h4, main h5, main h6,
main .heading-title {
    color: var(--c-heading);
}

/* Escala de tamaños (fluida) */
main h2.h2.heading-title,
main h2:not([class]) {
    font-size: clamp(1.9rem, 3.4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.12;
}

main h2.h4.heading-title {
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

main h3:not([class]) {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

/* Títulos de tarjetas: sin mayúsculas, más finos y compactos */
body .info-box-content .info-box-title,
body [class*="info-box--"] .info-box-content .info-box-title {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
    text-transform: none;
    letter-spacing: -0.02em;
    color: var(--c-heading);
}

body .case-item .case-item__title {
    font-size: clamp(1.25rem, 1.8vw, 1.5rem);
    font-weight: 700;
    line-height: 1.25;
    text-transform: none;
    letter-spacing: -0.035em;
}

/* Textos que acompañan al título */
.heading-text {
    font-family: var(--ff-body);
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    font-weight: 400;
    line-height: 1.6;
    color: var(--c-muted);
}

.info-box .text,
p.text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--c-muted);
}

/* Etiqueta pequeña sobre el título (estilo "I'M A FREELANCE") */
.heading-subtitle {
    font-family: var(--ff-body);
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    font-weight: 400;
    line-height: 1.6;
    text-transform: none;
    letter-spacing: 0;
    color: var(--c-muted);
}

.eyebrow {
    display: block;
    font-family: var(--ff-heading);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--c-heading);
    margin-bottom: 0.75rem;
}

/* ---------- Portada (slider) ---------- */
.main-slider .slider-content-title,
.main-slider-bg-photo-wrap h1.slider-content-title {
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.1;
}

.main-slider-bg-photo-wrap h1.slider-content-title {
    font-size: clamp(2rem, 4.2vw, 3.25rem);
}

.main-slider p.slider-content-text,
.main-slider p.slider-content-title {
    font-family: var(--ff-body);
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0;
}

/* ---------- Presentación y proyecto destacado (antes system-ui) ---------- */
.intro-type, .feature-type {
    font-family: var(--ff-body);
}

.intro-type .heading-title,
.feature-type .heading .heading-title {
    font-family: var(--ff-heading);
    color: var(--c-heading);
}

.intro-type .heading-title {
    font-size: clamp(2rem, 4.2vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.feature-type .heading .heading-title {
    font-size: clamp(1.75rem, 3vw, 2.6rem);
    font-weight: 700;
}

.intro-type .heading-title strong,
.feature-type .heading-title strong {
    font-weight: 900;
}

.intro-type p,
.feature-type .list {
    font-family: var(--ff-body);
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.6;
}

/* ---------- Menú principal ---------- */
.primary-menu-menu > li > a,
.primary-menu .primary-menu-menu > li > a {
    font-family: var(--ff-heading);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-heading);
}

.logo-title {
    font-family: var(--ff-heading);
    font-weight: 900;
    letter-spacing: -0.03em;
}

.logo-sub-title {
    font-family: var(--ff-heading);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* ---------- Botones tipo píldora ---------- */
.btn {
    font-family: var(--ff-body);
    font-size: 1rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    border-radius: 999px;
}

/* ---------- Enlaces dentro de texto ---------- */
main p a:not(.btn),
main li a:not(.btn) {
    text-underline-offset: 0.18em;
}

/* ---------- Pie de página ---------- */
footer, .footer, .sub-footer {
    font-family: var(--ff-body);
}

/* ---------- Móvil ---------- */
@media (max-width: 640px) {
    body { font-size: 16px; }

    .primary-menu-menu > li > a,
    .primary-menu .primary-menu-menu > li > a {
        font-size: 0.875rem;
    }
}

/* ---------- Páginas de proyecto (proyecto-*.html) ---------- */
.actions a {
    font-family: var(--ff-body);
    font-weight: 500;
    padding: .8rem 1.6rem;
    border-radius: 999px;
    text-decoration: none;
}

/* =========================================================
   ESPACIADO Y MÁRGENES
   ========================================================= */

/* Párrafos bajo títulos centrados: ancho de lectura cómodo */
.heading.align-center p,
.heading.align-center .heading-text {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.heading p,
.heading .heading-text {
    color: var(--c-text);
    margin-bottom: 1rem;
}

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

.heading .heading-title { margin-bottom: 1.25rem; }
.heading .heading-line { margin-bottom: 1.75rem; }

/* Listas con icono: texto alineado aunque haga salto de línea */
.list > li {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 14px;
    font-size: 1.0625rem;
    line-height: 1.55;
    color: var(--c-text);
}

.list > li i {
    float: none;
    flex: 0 0 auto;
    margin: 0;
    position: relative;
    top: -1px;
}

.list > li a,
.list > li span {
    display: inline;
    overflow: visible;
    color: inherit;
}

.list > li a {
    color: var(--c-accent);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: .18em;
}

/* ---------- Caso destacado (Sergio Bustamante) ---------- */
.caso-destacado {
    background: #f6f8f8;
    padding: clamp(64px, 9vw, 120px) 0;
}

.caso-destacado__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: clamp(32px, 6vw, 88px);
    align-items: center;
    padding: 0 15px;
}

.caso-destacado__media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 24px 60px -24px rgba(16, 24, 40, .35);
}

.caso-destacado .heading { margin-bottom: 1.5rem; }

.caso-destacado .heading .heading-title {
    font-size: clamp(1.9rem, 3.4vw, 2.75rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.12;
    max-width: 16ch;
}

.caso-destacado .eyebrow { color: var(--c-accent); }

@media (max-width: 860px) {
    .caso-destacado__grid { grid-template-columns: 1fr; }
    .caso-destacado__media { max-width: 560px; }
}

/* ---------- Servicios ---------- */
.row:has(> [class*="col-"] > .info-box--standard-bg) {
    display: flex;
    flex-wrap: wrap;
}
.row:has(> [class*="col-"] > .info-box--standard-bg)::before,
.row:has(> [class*="col-"] > .info-box--standard-bg)::after { display: none; }
[class*="col-"]:has(> .info-box--standard-bg) { display: flex; float: none; }
.info-box--standard-bg { flex: 1; display: flex; margin: 64px 0 0; }
.info-box--standard-bg .info-box-content {
    flex: 1;
    padding: 84px 32px 40px;
    border-radius: 16px;
}
.info-box-content .info-box-title { margin-bottom: 12px; }

/* ---------- Proyectos ---------- */
.case-item { padding-bottom: 8px; }
.case-item .case-item__title { margin: 22px 0 10px; }
.case-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--c-muted);
    max-width: 34ch;
    margin: 0 auto;
}

/* ---------- Bloque de contenido largo (pestañas + FAQ) ---------- */
.container.mw-md {
    max-width: 860px;
    padding-top: 40px;
    padding-bottom: 96px;
}

.mw-md .tab {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 6px;
    border: 0;
    border-radius: 999px;
    background: #f1f3f5;
    margin-bottom: 40px;
}

.mw-md .tab button {
    float: none;
    flex: 1 1 auto;
    padding: 12px 20px;
    border-radius: 999px;
    font-family: var(--ff-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--c-text);
}

.mw-md .tab button:hover { background: #e4e7eb; }
.mw-md .tab button.active { background: var(--c-heading); color: #fff; }

.mw-md .tabcontent { border: 0; padding: 0; }

.mw-md section h2 {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.18;
    margin: 64px 0 20px;
}

.mw-md section h2:first-child { margin-top: 0; }

.mw-md section h3 {
    font-size: clamp(1.2rem, 1.8vw, 1.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 36px 0 12px;
}

.mw-md section p,
.mw-md section li {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--c-text);
}

.mw-md section p { margin: 0 0 18px; }

.mw-md section ul,
.mw-md section ol {
    margin: 0 0 24px;
    padding-left: 1.4em;
}

.mw-md section li { margin-bottom: 10px; }
.mw-md section li::marker { color: var(--c-accent); font-weight: 700; }

.mw-md section a:not(.btn) {
    color: var(--c-accent);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: .18em;
}

.mw-md section .btn { margin: 8px 20px 8px 0; }

/* ---------- E-commerce ---------- */
.offers .heading-text { margin-bottom: 28px; }
.offers .list { margin-bottom: 36px; }
.offers .btn { margin: 0 12px 12px 0; }

/* ---------- Móvil ---------- */
@media (max-width: 640px) {
    .list > li { font-size: 1rem; }
    .mw-md .tab { border-radius: 20px; }
    .mw-md section h2 { margin-top: 48px; }
    .info-box--standard-bg .info-box-content { padding: 80px 22px 32px; }
}

/* ---------- Pie de página: alineado al contenedor ---------- */
.footer > .row {
    max-width: 1170px;
    margin: 0 auto;
    padding: 56px 0 40px;
}

.footer .contacts-item .title {
    font-family: var(--ff-heading);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.footer .contacts-item .sub-title {
    font-size: 0.9375rem;
    line-height: 1.6;
}

.footer .contacts-item .sub-title:empty,
.footer .contacts-item br { display: none; }

@media (max-width: 1200px) {
    .footer > .row { padding-left: 15px; padding-right: 15px; }
}

/* Texto solo para lectores de pantalla (evita scroll horizontal en móvil) */
.screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 768px) {
    .recent-case .heading,
    .heading.align-center { padding-left: 16px; padding-right: 16px; }
}

/* =========================================================
   AJUSTES v2 · proyectos, servicios, "Conoce más"
   ========================================================= */

/* Separación entre el encabezado de Proyectos y las tarjetas */
.recent-case .heading { margin-bottom: 56px; }
.recent-case .heading p { margin-bottom: 0; }

/* Tarjetas de proyecto: imagen, título y texto con aire */
.case-item {
    padding: 22px 22px 30px;
    border-radius: 16px;
    margin-bottom: 30px;
}

.case-item .case-item__thumb {
    margin-bottom: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 14px 30px -14px rgba(16, 24, 40, .35);
}

.case-item .case-item__thumb img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    object-position: top center;
}

.case-item .case-item__thumb:not(:has(img)) {
    aspect-ratio: 2 / 1;
    min-height: 0 !important;
}

body .case-item .case-item__title { margin: 26px 0 10px; }

/* Tarjetas de servicios: espacio fijo para el icono circular */
body .info-box--standard-bg .info-box-content {
    padding-top: 84px;
}

/* "Conoce más sobre nuestro…" separado de la ilustración */
.offers + p {
    margin-top: 72px;
}

.offers ~ p {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 8px;
    color: var(--c-text);
}

.offers ~ p a {
    color: var(--c-accent);
    font-weight: 600;
}

/* =========================================================
   CARRUSEL DE PROYECTOS · flechas y puntos
   ========================================================= */
.carrusel-proyectos { position: relative; overflow: visible; }
.recent-case:has(.carrusel-proyectos) { overflow: visible; }

.carrusel-proyectos .swiper-container {
    padding-bottom: 64px;
}

.carrusel-proyectos .swiper-pagination {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16px;
    width: auto;
    transform: none;
    -webkit-transform: none;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 5;
}

.carrusel-proyectos .swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0;
    border: 0;
    border-radius: 999px;
    background: #cfd5db;
    opacity: 1;
    transition: width .3s ease, background-color .3s ease;
}

.carrusel-proyectos .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    width: 30px;
    height: 10px;
    border: 0;
    background: var(--c-heading);
}

.carrusel-btn {
    position: absolute;
    top: 120px;
    z-index: 10;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid #e3e7eb;
    border-radius: 50%;
    background: #fff;
    color: var(--c-heading);
    box-shadow: 0 10px 24px -10px rgba(16, 24, 40, .35);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: background-color .25s ease, color .25s ease, transform .25s ease, opacity .25s ease;
}

.carrusel-listo .carrusel-btn { opacity: 1; pointer-events: auto; }

.carrusel-btn svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.carrusel-btn:hover,
.carrusel-btn:focus-visible {
    background: var(--c-heading);
    color: #fff;
    transform: scale(1.06);
    outline: none;
}

.carrusel-btn--prev { left: -12px; }
.carrusel-btn--next { right: -12px; }

@media (max-width: 1240px) {
    .carrusel-btn--prev { left: 4px; }
    .carrusel-btn--next { right: 4px; }
}

@media (max-width: 640px) {
    .carrusel-btn { width: 44px; height: 44px; top: 90px; }
    .carrusel-btn svg { width: 18px; height: 18px; }
}

/* Móvil/tablet: recortar el sobrante de la fila sin cortar las flechas */
@media (max-width: 991px) {
    .recent-case:has(.carrusel-proyectos) { overflow-x: clip; }
    .carrusel-btn--prev { left: 21px; }
    .carrusel-btn--next { right: 21px; }
}

/* =========================================================
   PÁGINAS INTERIORES · componentes comunes
   ========================================================= */
.pg-container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 20px;
}

.pg-section { padding: clamp(64px, 8vw, 104px) 0; }
.pg-section--soft { background: #f6f8f8; }
.pg-section--tight { padding-top: 0; }

/* Migas de pan */
.pg-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
    font-size: .875rem;
    color: var(--c-muted);
}
.pg-breadcrumb li { color: var(--c-muted); margin: 0; }
.pg-breadcrumb li + li::before { content: "›"; margin-right: 8px; color: #9aa3ad; }
.pg-breadcrumb a { color: var(--c-accent); font-weight: 600; text-decoration: none; }
.pg-breadcrumb a:hover { text-decoration: underline; }

/* Portada de la página */
.pg-hero {
    background: linear-gradient(180deg, #f6f8f8 0%, #ffffff 100%);
    padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 88px);
}
.pg-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}
main .pg-hero h1 {
    font-family: var(--ff-heading);
    font-size: clamp(2rem, 3.6vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.08;
    color: var(--c-heading);
    margin: 0 0 22px;
    text-wrap: balance;
}
.pg-hero .pg-lead {
    font-size: clamp(1.08rem, 1.5vw, 1.25rem);
    line-height: 1.65;
    color: var(--c-text);
    margin: 0 0 32px;
    max-width: 58ch;
}
.pg-hero__media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 440px;
    object-fit: contain;
}
.pg-hero__media--photo img {
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 24px 60px -24px rgba(16, 24, 40, .35);
}
.pg-hero__points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}
.pg-hero__points li {
    position: relative;
    padding-left: 22px;
    margin: 0;
    font-size: .95rem;
    color: var(--c-text);
}
.pg-hero__points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .5em;
    width: 12px;
    height: 7px;
    border-left: 2px solid var(--c-accent);
    border-bottom: 2px solid var(--c-accent);
    transform: rotate(-45deg);
}

/* Botones */
.pg-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 0 28px;
    border-radius: 999px;
    font-family: var(--ff-body);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1;
    text-decoration: none !important;
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.pg-btn--dark { background: var(--c-heading); color: #fff !important; }
.pg-btn--dark:hover { background: #000; transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(0,0,0,.5); }
.pg-btn--wa { background: #1faa59; color: #fff !important; }
.pg-btn--wa:hover { background: #178a48; transform: translateY(-1px); }
.pg-btn--ghost { border: 1.5px solid #cfd5db; color: var(--c-heading) !important; background: #fff; }
.pg-btn--ghost:hover { border-color: var(--c-heading); }
.pg-btn--light { background: #fff; color: var(--c-heading) !important; }
.pg-btn--light:hover { background: #eef1f3; }

/* Encabezado de sección */
.pg-head { max-width: 760px; margin: 0 0 48px; }
.pg-head--center { margin-left: auto; margin-right: auto; text-align: center; }
main .pg-head h2 {
    font-family: var(--ff-heading);
    font-size: clamp(1.75rem, 3.2vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.14;
    color: var(--c-heading);
    margin: 0 0 16px;
    text-wrap: balance;
}
.pg-head p {
    font-size: clamp(1.02rem, 1.4vw, 1.15rem);
    line-height: 1.7;
    color: var(--c-text);
    margin: 0;
}
.pg-head .eyebrow, .pg-hero .eyebrow { color: var(--c-accent); }

/* Prosa */
.pg-prose { max-width: 780px; margin-left: auto; margin-right: auto; }
main .pg-prose h2 {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.18;
    color: var(--c-heading);
    margin: 56px 0 18px;
}
main .pg-prose h2:first-child { margin-top: 0; }
main .pg-prose h3 {
    font-size: clamp(1.2rem, 1.8vw, 1.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--c-heading);
    margin: 32px 0 10px;
}
.pg-prose p, .pg-prose li { font-size: 1.0625rem; line-height: 1.75; color: var(--c-text); }
.pg-prose p { margin: 0 0 18px; }
.pg-prose ul, .pg-prose ol { margin: 0 0 22px; padding-left: 1.3em; }
.pg-prose li { margin-bottom: 10px; }
.pg-prose li::marker { color: var(--c-accent); font-weight: 700; }
.pg-prose a:not(.pg-btn), .pg-card a:not(.pg-btn), .pg-split a:not(.pg-btn), .pg-faq a, .pg-table a {
    color: var(--c-accent);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: .18em;
}

/* Rejilla de tarjetas */
.pg-grid { display: grid; gap: 24px; }
.pg-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pg-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pg-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pg-card {
    background: #fff;
    border: 1px solid #e8ecef;
    border-radius: 16px;
    padding: 30px 28px;
    transition: box-shadow .25s ease, transform .25s ease;
}
.pg-section--soft .pg-card { border-color: transparent; }
.pg-card:hover { box-shadow: 0 18px 40px -22px rgba(16, 24, 40, .35); transform: translateY(-2px); }
.pg-card__num {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    margin-bottom: 18px;
    background: #e6f2f3;
    color: var(--c-accent);
    font-family: var(--ff-heading);
    font-weight: 800;
    font-size: 1rem;
}
main .pg-card h3 {
    font-family: var(--ff-heading);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: var(--c-heading);
    margin: 0 0 10px;
}
.pg-card p { font-size: 1rem; line-height: 1.65; color: var(--c-text); margin: 0; }
.pg-card ul { margin: 14px 0 0; padding-left: 1.1em; }
.pg-card li { font-size: .97rem; line-height: 1.6; color: var(--c-text); margin-bottom: 6px; }
.pg-card li::marker { color: var(--c-accent); }

/* Bloque texto + imagen */
.pg-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 80px);
    align-items: center;
}
.pg-split--rev .pg-split__media { order: -1; }
.pg-split__media img { display: block; width: 100%; height: auto; max-height: 420px; object-fit: contain; }
.pg-split__media--photo img { border-radius: 16px; object-fit: cover; box-shadow: 0 24px 60px -24px rgba(16,24,40,.35); }
main .pg-split h2 {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.18;
    color: var(--c-heading);
    margin: 0 0 18px;
}
.pg-split p { font-size: 1.0625rem; line-height: 1.75; color: var(--c-text); margin: 0 0 16px; }

.pg-check { list-style: none; padding: 0; margin: 20px 0 28px; }
.pg-check li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--c-text);
}
.pg-check li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: .35em;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #e6f2f3;
}
.pg-check li::after {
    content: "";
    position: absolute;
    left: 7px;
    top: .62em;
    width: 8px;
    height: 4px;
    border-left: 2px solid var(--c-accent);
    border-bottom: 2px solid var(--c-accent);
    transform: rotate(-45deg);
}

/* Proceso por pasos */
.pg-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: repeat(4, minmax(0,1fr)); counter-reset: paso; }
.pg-steps li {
    counter-increment: paso;
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 26px 24px 28px;
    margin: 0;
}
.pg-steps li::before {
    content: counter(paso, decimal-leading-zero);
    display: block;
    font-family: var(--ff-heading);
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #c9d6d8;
    margin-bottom: 10px;
}
main .pg-steps h3 { font-family: var(--ff-heading); font-size: 1.1rem; font-weight: 700; color: var(--c-heading); margin: 0 0 8px; }
.pg-steps p { font-size: .97rem; line-height: 1.6; color: var(--c-text); margin: 0; }
.pg-steps small { display: block; margin-top: 10px; font-weight: 600; color: var(--c-accent); font-size: .85rem; }

/* Tabla */
.pg-table-wrap { overflow-x: auto; border: 1px solid #e8ecef; border-radius: 16px; background: #fff; }
.pg-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.pg-table th, .pg-table td { padding: 16px 20px; text-align: left; vertical-align: top; font-size: 1rem; line-height: 1.55; border-bottom: 1px solid #eef1f3; }
.pg-table th { font-family: var(--ff-heading); font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); background: #f6f8f8; }
.pg-table td { color: var(--c-text); }
.pg-table td strong { color: var(--c-heading); }
.pg-table tr:last-child td { border-bottom: 0; }

/* Planes */
.pg-plan { display: flex; flex-direction: column; }
.pg-plan .pg-plan__price { font-family: var(--ff-heading); font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; color: var(--c-heading); margin: 6px 0 4px; }
.pg-plan .pg-plan__price small { font-size: .95rem; font-weight: 500; color: var(--c-muted); letter-spacing: 0; }
.pg-plan ul { flex: 1; margin-bottom: 24px; }
.pg-plan--featured { border: 2px solid var(--c-heading) !important; }

/* Preguntas frecuentes */
.pg-faq { max-width: 860px; margin: 0 auto; }
.pg-faq details { border-bottom: 1px solid #e3e7eb; padding: 4px 0; }
.pg-faq summary {
    list-style: none;
    cursor: pointer;
    position: relative;
    padding: 20px 44px 20px 0;
    font-family: var(--ff-heading);
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.4;
    color: var(--c-heading);
}
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary::after {
    content: "+";
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--c-accent);
}
.pg-faq details[open] summary::after { content: "–"; }
.pg-faq details > div { padding: 0 0 22px; }
.pg-faq details p { font-size: 1.0625rem; line-height: 1.75; color: var(--c-text); margin: 0 0 12px; }

/* Franja de llamada a la acción */
.pg-cta {
    background: var(--c-heading);
    border-radius: 24px;
    padding: clamp(40px, 6vw, 72px);
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) auto;
    gap: 32px;
    align-items: center;
}
main .pg-cta h2 {
    font-family: var(--ff-heading);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.15;
    color: #fff;
    margin: 0 0 12px;
}
.pg-cta p { color: rgba(255,255,255,.78); font-size: 1.08rem; line-height: 1.65; margin: 0; }
.pg-cta .pg-actions { justify-content: flex-end; }

/* Servicios relacionados */
.pg-related a.pg-card { display: block; text-decoration: none !important; }
main .pg-related a.pg-card h3 { color: var(--c-heading); }
.pg-related a.pg-card span { display: inline-block; margin-top: 14px; color: var(--c-accent); font-weight: 600; }

/* Testimonios */
.pg-quote { font-family: "PT Serif", Georgia, serif; font-size: 1.12rem !important; line-height: 1.7 !important; color: var(--c-heading) !important; }
.pg-quote-author { margin-top: 16px !important; font-weight: 600; color: var(--c-muted) !important; font-size: .95rem !important; }

/* Formulario de contacto */
.pg-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pg-form .pg-field--full { grid-column: 1 / -1; }
.pg-form label { display: block; font-size: .9rem; font-weight: 600; color: var(--c-heading); margin-bottom: 6px; }
.pg-form input, .pg-form textarea, .pg-form select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d5dbe0;
    border-radius: 12px;
    background: #fff;
    font-size: 1rem;
    color: var(--c-heading);
    box-shadow: none;
    margin: 0;
}
.pg-form textarea { min-height: 140px; resize: vertical; }
.pg-form input:focus, .pg-form textarea:focus, .pg-form select:focus { outline: 2px solid var(--c-accent); outline-offset: 1px; border-color: var(--c-accent); }
.pg-form button { border: 0; cursor: pointer; }
.pg-contact-list { list-style: none; padding: 0; margin: 0; }
.pg-contact-list li { margin-bottom: 18px; font-size: 1.0625rem; color: var(--c-text); }
.pg-contact-list strong { display: block; font-family: var(--ff-heading); color: var(--c-heading); margin-bottom: 2px; }

/* Menú: página actual */
.primary-menu-menu > li.current-menu-item > a { color: var(--c-accent) !important; }

/* Responsive */
@media (max-width: 991px) {
    .pg-hero__grid, .pg-split, .pg-cta { grid-template-columns: 1fr; }
    .pg-split--rev .pg-split__media { order: 0; }
    .pg-hero__media { max-width: 560px; }
    .pg-grid--3, .pg-grid--4, .pg-steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .pg-cta .pg-actions { justify-content: flex-start; }
}
@media (max-width: 640px) {
    .pg-grid--3, .pg-grid--2, .pg-grid--4, .pg-steps, .pg-form { grid-template-columns: 1fr; }
    .pg-btn { width: 100%; }
    .pg-card { padding: 26px 22px; }
}

/* =========================================================
   AJUSTES · disenowebguadalajara.com.mx (colores de marca)
   ========================================================= */
:root {
    --c-heading: #102233;
    --c-text: #3d4f5f;
    --c-muted: #627483;
    --c-accent: #0b5fa8;
    --c-orange: #f0901e;
}
.pg-card__num { background: #e8f1fb; }
.pg-check li::before { background: #e8f1fb; }
.pg-steps li::before { color: #b9cde0; }
.pg-hero { background: linear-gradient(180deg, #eef6fd 0%, #ffffff 100%); }
.pg-section--soft { background: #f4f8fb; }
.pg-table th { background: #f4f8fb; }
.pg-hero__media--photo img { aspect-ratio: 4 / 5; max-height: 520px; }
.pg-plan .pg-plan__tag { display: inline-block; align-self: flex-start; margin-bottom: 10px; padding: 4px 12px; border-radius: 999px; background: var(--c-orange); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .04em; }
.pg-plan .pg-btn { margin-top: auto; }
.pg-note { margin: 28px auto 0; max-width: 860px; text-align: center; font-size: .97rem; color: var(--c-muted); }
.pg-aviso a { color: #0b5fa8; font-weight: 700; }
.pg-case { display: block; text-decoration: none !important; padding: 0 !important; overflow: hidden; }
.pg-case img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; object-position: top center; }
.pg-case div { padding: 22px 24px 26px; }
.pg-case span { display: inline-block; margin-top: 12px; color: var(--c-accent); font-weight: 600; }
.pg-form-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.pg-form-box { background: #fff; border: 1px solid #e8ecef; border-radius: 20px; padding: clamp(24px, 4vw, 40px); }
@media (max-width: 991px) { .pg-form-wrap { grid-template-columns: 1fr; } }
/* Cabecera del sitio sobre el diseño nuevo */
.site-header .nav nav a { font-family: var(--ff-heading); font-weight: 600; letter-spacing: -0.01em; }
.site-header .button { border-radius: 999px; font-family: var(--ff-body); font-weight: 500; }
footer .footer-grid h3 { font-family: var(--ff-heading); font-weight: 700; letter-spacing: .12em; }
.menu-toggle { font-family: var(--ff-heading) !important; }
.pg-split .eyebrow, .pg-prose .eyebrow { color: var(--c-accent); }
