/* ============================================
   GABRIEL ARANDA ZAMACONA — ABOGADO CORPORATIVO
   style_v2.css · Bloque complementario para
   páginas internas (× 27 + institucionales).

   Se carga ADEMÁS de style.css:
   <link rel="stylesheet" href="https://abogadocorporativo.mx/css/style.css">
   <link rel="stylesheet" href="https://abogadocorporativo.mx/css/style_v2.css">

   Paleta:
   #fffdf1  crema (fondo)
   #059eb5  turquesa (acentos)
   #cbdfee  azul claro
   #263371  azul marino
   #104879  azul oscuro

   Tipografía:
   Cormorant Garamond · títulos
   Inter · cuerpo
   ============================================ */


/* =================================================================
   1. BREADCRUMB  (Inicio > Categoría > Subcategoría > Página)
   ================================================================= */
.breadcrumb-nav {
    background: #cbdfee;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(16, 72, 121, 0.12);
}

/* Usamos ol.breadcrumb-list (definido en plantilla, requiere refuerzo
   contra los estilos por defecto del navegador) */
ol.breadcrumb-list,
ul.breadcrumb-list {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    color: #104879;
}

ol.breadcrumb-list li,
ul.breadcrumb-list li {
    list-style: none !important;
    list-style-type: none !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-list li + li::before {
    content: "›";
    color: #059eb5;
    font-weight: 600;
    margin-right: 0.5rem;
}

.breadcrumb-list a {
    color: #104879;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-list a:hover {
    color: #059eb5;
    text-decoration: underline;
}

.breadcrumb-list li[aria-current="page"] {
    color: #059eb5;
    font-weight: 500;
    cursor: default;
}


/* =================================================================
   2. WRAPPER DE CONTENIDO  (.page-content)
   ================================================================= */
.page-content {
    background: #fffdf1;
    padding: 3.5rem 0 4rem;
}

#contenido {
    scroll-margin-top: 90px;
}


/* =================================================================
   3. HEADER DE SECCIÓN  (.section-header · .section-eyebrow ·
                          .section-title · .title-divider · .section-intro)
   ================================================================= */
.section-header {
    text-align: center;
    max-width: 880px;
    margin: 0 auto 2.5rem;
}

.section-eyebrow {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #059eb5;
    margin-bottom: 0.85rem;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: clamp(2rem, 4vw, 2.875rem);
    line-height: 1.15;
    color: #263371;
    margin: 0;
}

.accent-serif {
    color: #059eb5;
    font-style: italic;
}

.title-divider {
    width: 60px;
    height: 3px;
    background: #059eb5;
    border-radius: 2px;
    margin: 1.1rem auto 1.4rem;
}

.section-intro {
    font-family: 'Inter', sans-serif;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #104879;
    max-width: 720px;
    margin: 0 auto;
    text-align: justify;
    text-justify: inter-word;
    -webkit-hyphens: auto;
    hyphens: auto;
}


/* =================================================================
   4. IMAGEN DESTACADA  (.page-featured-image)
   ================================================================= */
.page-featured-image {
    margin: 2.25rem auto 2.5rem;
    max-width: 1200px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(16, 72, 121, 0.12);
    border: 1px solid rgba(16, 72, 121, 0.08);
}

.page-featured-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}


/* =================================================================
   5. CUERPO DEL ARTÍCULO  (.page-body)
   ================================================================= */
.page-body {
    max-width: 880px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #104879;
}

.page-body h2 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 1.875rem;
    color: #263371;
    margin: 2.6rem 0 1rem;
    line-height: 1.25;
}

.page-body h2:first-child {
    margin-top: 0.5rem;
}

.page-body h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 1.375rem;
    color: #104879;
    margin: 1.85rem 0 0.6rem;
    padding-left: 0.85rem;
    border-left: 3px solid #059eb5;
}

.page-body p {
    margin: 0 0 1.2rem;
    color: #104879;
    text-align: justify;
    text-justify: inter-word;
    -webkit-hyphens: auto;
    hyphens: auto;
}

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

.page-body strong {
    color: #263371;
    font-weight: 600;
}

.page-body em {
    color: #263371;
    font-style: italic;
}

.page-body a {
    color: #059eb5;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.page-body a:hover {
    color: #104879;
}


/* =================================================================
   6. LISTAS DE SERVICIO  (.servicio-list)
   Usadas dentro de page-body para enumerar prestaciones clave.
   ================================================================= */
.servicio-list {
    list-style: none;
    padding: 0;
    margin: 1.4rem 0 1.8rem;
}

.servicio-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.65rem;
    font-family: 'Inter', sans-serif;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: #104879;
}

.servicio-list li::before {
    content: "✓";
    position: absolute;
    left: 0.25rem;
    top: 0.05rem;
    width: 1.25rem;
    height: 1.25rem;
    background: #059eb5;
    color: #fffdf1;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.servicio-list li i.fas.fa-check {
    /* fallback si el template usa Font Awesome en vez del ::before */
    color: #059eb5;
    margin-right: 0.6rem;
    font-weight: 700;
}


/* =================================================================
   7. DIVIDER HORIZONTAL  (.divider)
   ================================================================= */
.divider {
    width: 60px;
    height: 3px;
    background: #059eb5;
    border-radius: 2px;
    margin: 2rem auto;
}


/* =================================================================
   8. CTA BANNER FINAL  (.cta-banner · .cta-inner · .cta-text)
   Bloque oscuro que cierra cada página llevando al WhatsApp.
   ================================================================= */
.cta-banner {
    background: linear-gradient(135deg, #104879 0%, #263371 60%, #059eb5 130%);
    color: #fffdf1;
    padding: 3.25rem 0;
    margin-top: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(5, 158, 181, 0.35), transparent 60%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.cta-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.5rem, 3.2vw, 2.1rem);
    font-weight: 600;
    line-height: 1.3;
    color: #fffdf1;
    margin: 0 0 1.8rem;
}

/* Titulo del CTA: color azul claro de la paleta oficial (#cbdfee) */
.cta-inner h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.65rem, 3.6vw, 2.35rem);
    font-weight: 600;
    line-height: 1.25;
    color: #cbdfee;
    margin: 0 0 1rem;
}

/* Parrafo descriptivo dentro del CTA: blanco crema */
.cta-inner p {
    color: #fffdf1;
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 1.6rem;
    text-align: justify;
    text-justify: inter-word;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.cta-banner .btn-light {
    display: inline-block;
    background: #25D366;          /* Verde WhatsApp */
    color: #fffdf1;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.95rem 2.1rem;
    border-radius: 999px;
    text-decoration: none;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta-banner .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
    background: #128C7E;          /* Verde WhatsApp hover */
    color: #fffdf1;
}

.cta-banner .btn-light .fab.fa-whatsapp {
    margin-right: 0.5rem;
    color: #059eb5;
}


/* =================================================================
   9. FAQ  (.faq-section · .faq-item)
   ================================================================= */
.faq-section {
    max-width: 880px;
    margin: 3.5rem auto 0;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(16, 72, 121, 0.18);
}

.faq-section > h2 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 1.875rem;
    color: #263371;
    margin: 0 0 1.5rem;
    text-align: center;
}

.faq-item {
    background: rgba(203, 223, 238, 0.35);
    border: 1px solid rgba(16, 72, 121, 0.12);
    border-radius: 6px;
    margin-bottom: 0.85rem;
    transition: all 0.2s ease;
}

.faq-item:hover {
    border-color: #059eb5;
    background: rgba(203, 223, 238, 0.6);
}

.faq-item summary {
    cursor: pointer;
    padding: 1.1rem 1.4rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1.0625rem;
    color: #263371;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

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

.faq-item summary::after {
    content: "+";
    font-size: 1.5rem;
    color: #059eb5;
    font-weight: 300;
    flex-shrink: 0;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item[open] {
    background: #fffdf1;
}

.faq-item p {
    margin: 0;
    padding: 0 1.4rem 1.25rem;
    font-size: 1rem;
    line-height: 1.7;
    text-align: justify;
    text-justify: inter-word;
    -webkit-hyphens: auto;
    hyphens: auto;
    color: #104879;
}

.faq-intro {
    font-style: italic;
    color: #104879;
    margin-bottom: 1.5rem;
    text-align: justify;
    text-justify: inter-word;
    -webkit-hyphens: auto;
    hyphens: auto;
}


/* =================================================================
   9B. BLOCKQUOTE LEGAL (citas de ley)
   ================================================================= */
.legal-quote {
    margin: 1.6rem 0;
    padding: 1.25rem 1.5rem;
    border-left: 4px solid #059eb5;
    background: linear-gradient(135deg, #fffdf1 0%, #f4f7fa 100%);
    border-radius: 0 6px 6px 0;
    box-shadow: 0 2px 8px rgba(38, 51, 113, 0.06);
}

.legal-quote cite {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #263371;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
    font-style: normal;
}

.legal-quote p {
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-style: italic;
    color: #104879;
    line-height: 1.55;
    text-align: justify;
    text-justify: inter-word;
}


/* =================================================================
   10. AJUSTES RESPONSIVE
   ================================================================= */
@media (max-width: 768px) {
    .page-content { padding: 2rem 0 2.5rem; }
    .page-body { font-size: 1rem; }
    .page-body h2 { font-size: 1.55rem; margin-top: 2rem; }
    .page-body h3 { font-size: 1.2rem; }
    .breadcrumb-list { font-size: 0.8125rem; }
    .faq-item summary { font-size: 1rem; padding: 0.95rem 1.15rem; }
    .cta-banner { padding: 2.4rem 0; }
    .cta-text { margin-bottom: 1.4rem; }
    .servicio-list li { padding-left: 1.75rem; }
}

@media (max-width: 480px) {
    .section-title { font-size: 1.85rem; }
    .page-body h2 { font-size: 1.4rem; }
    .divider { margin: 1.4rem auto; }
}


/* =================================================================
   11. UTILIDADES  (ligeras, solo si las necesitas)
   ================================================================= */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
