/* ==================================================
   TELEABOGADO - LANDING CONTRATOS / ESCRITURAS
   CSS LIMPIO + ORDENADO + PROFESIONAL
================================================== */


/* ===============================
   RESET
================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #f6f8fb;
    color: #17324d;
    line-height: 1.5;
}

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

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

.container {
    width: min(1150px, calc(100% - 32px));
    margin: auto;
}


/* ===============================
   COMPONENTES
================================= */

.btn,
.mini-btn {
    font-weight: 800;
    border: none;
    cursor: pointer;
    transition: .25s ease;
}

.btn:hover,
.mini-btn:hover {
    transform: translateY(-3px);
}

.btn {
    padding: 16px 26px;
    border-radius: 16px;
    min-width: 210px;
    text-align: center;
    box-shadow: 0 16px 30px rgba(0, 0, 0, .12);
}

.mini-btn {
    padding: 11px 18px;
    border-radius: 999px;
    font-size: .92rem;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
}

.btn-dark {
    background: #111;
    color: #fff;
}

.btn-green,
.green {
    background: #05d111;
    color: #fff;
}

.btn-blue,
.blue {
    background: #0b4a99;
    color: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 34px;
}

.section-title h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    margin-bottom: 14px;
    color: #093976;
}

.section-title p {
    color: #5a6b7d;
}


/* ===============================
   HEADER
================================= */

header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(243, 245, 247, .88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(11, 74, 153, .08);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    gap: 18px;
}

.brand img {
    width: 220px;
    height: auto;
}

.top-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}


/* ===============================
   HERO
================================= */

.hero {
    padding: 70px 0 55px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 45px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #0b4a99;
    margin-bottom: 14px;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.6rem);
    line-height: .95;
    color: #093976;
    margin-bottom: 18px;
}

.hero p {
    font-size: 1.08rem;
    margin-bottom: 18px;
    max-width: 650px;
}

.highlight {
    font-weight: 800;
    color: #0b4a99;
}

.cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 25px;
}

/* HERO CARD */

.hero-card {
    position: relative;
    overflow: hidden;
    padding: 38px;
    border-radius: 28px;
    color: #fff;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: url('assets/hero-contratos.png') center/cover no-repeat;
    box-shadow: 0 25px 50px rgba(11, 74, 153, .22);
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(11, 74, 153, .55),
            rgba(11, 74, 153, .84));
    z-index: 1;
}

.hero-card>* {
    position: relative;
    z-index: 2;
}

.hero-card h2 {
    font-size: 2.25rem;
    line-height: 1;
    margin-bottom: 18px;
}

.hero-card ul {
    list-style: none;
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.hero-card li {
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .13);
    backdrop-filter: blur(3px);
    font-weight: 700;
}


/* ===============================
   TRUST BAR
================================= */

.trust {
    padding: 20px 0 50px;
}

.trust-box {
    background: #fff;
    border-radius: 24px;
    padding: 26px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    text-align: center;
    box-shadow: 0 18px 35px rgba(0, 0, 0, .06);
}

.trust-box div {
    font-weight: 700;
}


/* ===============================
   SERVICES
================================= */

.services {
    padding: 40px 0 65px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.card {
    background: #fff;
    padding: 28px;
    border-radius: 22px;
    box-shadow: 0 18px 35px rgba(0, 0, 0, .06);
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: .25s ease;
}

.card:hover {
    transform: translateY(-6px);
}

.card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #0b4a99;
}

.card p {
    font-size: .95rem;
    color: #4a627c;
}


/* ===============================
   EXTRAS
================================= */

.extras {
    padding: 20px 0 65px;
}

.extras-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.extra-item {
    background: #fff;
    padding: 24px;
    border-radius: 22px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, .05);
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: .25s ease;
}

.extra-item:hover {
    transform: translateY(-5px);
}

.extra-item h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: #0b4a99;
}

.extra-item p {
    font-size: .95rem;
    line-height: 1.55;
    color: #55697f;
}


/* ===============================
   ICONOS
================================= */

.icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    background: #eef4ff;
    box-shadow: inset 0 0 0 1px rgba(11, 74, 153, .06);
    transition: .25s ease;
}


.card:hover .icon,
.extra-item:hover .icon {
    background: #eef4ff;
    transform: translateY(-2px) scale(1.05);
}

/* ===============================
   CTA BAND
================================= */

.cta-band {
    padding: 90px 0;
}

.band {
    position: relative;
    overflow: hidden;
    padding: 55px 40px;
    border-radius: 30px;
    text-align: center;
    background: url('assets/services-bg-3.png') center/cover no-repeat;
    box-shadow: 0 28px 55px rgba(0, 0, 0, .18);
}

.band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(11, 74, 153, .88) 0%,
            rgba(11, 74, 153, .74) 38%,
            rgba(0, 0, 0, .62) 100%);
    z-index: 1;
}

.band>* {
    position: relative;
    z-index: 2;
}

.band h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
    margin-bottom: 16px;
    color: #fff;
}

.band p {
    max-width: 760px;
    margin: 0 auto 30px;
    font-size: 1.12rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, .92);
}

.band .cta {
    justify-content: center;
    margin-top: 30px;
    gap: 18px;
}


/* ===============================
   FAQ
================================= */

.faq {
    padding: 40px 0 80px;
}

.faq .container {
    max-width: 920px;
}

details {
    background: #fff;
    padding: 0;
    border-radius: 18px;
    margin-bottom: 16px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .05);
    overflow: hidden;
}

summary {
    list-style: none;
    cursor: pointer;
    font-weight: 800;
    font-size: 1.08rem;
    padding: 22px 58px 22px 26px;
    text-align: center;
    position: relative;
    color: #093976;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: "▾";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #0b4a99;
    transition: .25s ease;
}

details[open] summary::after {
    transform: translateY(-50%) rotate(180deg);
}

details p {
    padding: 0 26px 8px;
    margin: 0;
    text-align: center;
    color: #55697f;
    line-height: 1.6;
    font-size: .98rem;
}

/* ===============================
   FAQ ACTIONS
================================= */

.faq-link-wrap {
    margin-top: 8px;
    margin-bottom: 18px;
    text-align: center;
}

.faq-link {
    display: inline-block;
    font-weight: 800;
    font-size: 1rem;
    color: #05b312;
    transition: .25s ease;
}

.faq-link:hover {
    color: #0b4a99;
    transform: translateY(-1px);
}

/* ===============================
   FOOTER
================================= */

footer {
    background: #e9edf2;
    padding: 38px 0;
    text-align: center;
    margin-top: 30px;
}

.footer-logo {
    width: 180px;
    margin: 0 auto 14px;
}

footer p {
    margin: 7px 0;
}


/* ===============================
   GO TOP
================================= */

.go-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 25;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #0b4a99;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.35rem;
    font-weight: 800;
    box-shadow: 0 18px 35px rgba(0, 0, 0, .18);
    transition: .25s ease;
}

.go-top:hover {
    transform: translateY(-4px);
}


/* ===============================
   RESPONSIVE
================================= */

@media(max-width:920px) {

    .hero-grid,
    .trust-box,
    .grid {
        grid-template-columns: 1fr;
    }

    .extras-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-card {
        min-height: 500px;
    }

}

@media(max-width:720px) {

    .header-inner {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }


    .brand img {
        width: 165px;
    }

    /* botones header */
    .mini-btn {
        width: auto;
        min-width: auto;
        padding: 10px 16px;
        font-size: 14px;
        border-radius: 999px;
    }

    /* botones grandes hero */
    .cta,
    .band .cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        min-width: unset;
        text-align: center;
    }

    .hero {
        padding-top: 40px;
    }

    .hero-card {
        padding: 28px 22px;
        min-height: 460px;
    }

    .hero-card h2 {
        font-size: 1.9rem;
    }

    .band {
        padding: 38px 22px;
        border-radius: 24px;
    }

    .band h2 {
        font-size: 2rem;
    }

    .band p {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .extras-grid {
        grid-template-columns: 1fr;
    }

    .icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 1.1rem;
    }

}


/* ===============================
   PERFIL ABOGADO COMPACTO
================================= */

.lawyer-profile {
    padding: 35px 0 45px;
}

.profile-card {
    background: #fff;
    border-radius: 24px;
    padding: 26px;
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 24px;
    align-items: center;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .05);
}

.profile-photo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    transform: scale(1.12);
    border: 5px solid #eef3fb;
}

.profile-kicker {
    display: block;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .08em;
    color: #0f4a97;
    margin-bottom: 8px;
}

.profile-info h2 {
    margin: 0 0 6px;
    font-size: 2rem;
    line-height: 1.1;
    color: #0d3f87;
}

.profile-role {
    font-weight: 700;
    color: #183a63;
    margin-bottom: 10px;
    font-size: 1rem;
}

.profile-info p {
    color: #51657c;
    line-height: 1.55;
    margin: 0 0 10px;
    font-size: .98rem;
}

.profile-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 16px;
    display: grid;
    gap: 6px;
}

.profile-list li {
    color: #183a63;
    font-weight: 600;
    font-size: .95rem;
}

.profile-actions .btn {
    min-width: 190px;
    padding: 12px 18px;
    font-size: .95rem;
}

/* ===============================
   TABLET
================================= */

@media(max-width:920px) {

    .profile-card {
        grid-template-columns: 150px 1fr;
        gap: 18px;
        padding: 22px;
    }

    .profile-photo {
        width: 135px;
        height: 135px;
    }

    .profile-info h2 {
        font-size: 1.7rem;
    }

}

/* ===============================
   MOBILE
================================= */

@media(max-width:720px) {

    .lawyer-profile {
        padding: 28px 0 38px;
    }

    .profile-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 14px;
        padding: 18px 16px;
        border-radius: 20px;
    }

    .profile-photo {
        width: 115px;
        height: 115px;
    }

    .profile-kicker {
        font-size: .68rem;
        margin-bottom: 6px;
    }

    .profile-info h2 {
        font-size: 1.45rem;
        margin-bottom: 6px;
    }

    .profile-role {
        font-size: .92rem;
        margin-bottom: 8px;
    }

    .profile-info p {
        font-size: .92rem;
        line-height: 1.5;
    }

    .profile-list {
        gap: 5px;
        margin: 10px 0 14px;
    }

    .profile-list li {
        font-size: .88rem;
    }

    .profile-actions {
        display: flex;
        justify-content: center;
    }

    .profile-actions .btn {
        width: 100%;
        min-width: unset;
        padding: 11px 16px;
        font-size: .92rem;
    }

}


/* ==================================================
   BLOQUE NUEVO - SERVICE GUIDE
   PEGAR AL FINAL DE TU CSS
================================================== */

.service-guide {
    padding: 25px 0 70px;
}

.guide-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin: 28px 0 34px;
}

.guide-badges span {
    background: #fff;
    border: 1px solid rgba(11, 74, 153, .08);
    border-radius: 999px;
    padding: 11px 18px;
    font-size: .92rem;
    font-weight: 800;
    color: #0b4a99;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .04);
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.guide-card {
    position: relative;
    background: #fff;
    border-radius: 22px;
    padding: 34px 26px 26px;
    box-shadow: 0 18px 35px rgba(0, 0, 0, .06);
    transition: .25s ease;
}

.guide-card:hover {
    transform: translateY(-5px);
}

.guide-number {
    position: absolute;
    top: -12px;
    left: 22px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #0b4a99;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: .95rem;
    box-shadow: 0 10px 20px rgba(11, 74, 153, .22);
}

.guide-card h3 {
    font-size: 1.12rem;
    margin-bottom: 12px;
    color: #093976;
}

.guide-card p {
    color: #55697f;
    font-size: .96rem;
    line-height: 1.6;
}

/* REEMPLAZA guide-highlight POR ESTE */

.guide-highlight {
    margin: 34px auto 0;
    max-width: 920px;
    background: linear-gradient(135deg, #0b4a99, #093976);
    color: #fff;
    text-align: center;
    padding: 18px 24px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 1rem;
    line-height: 1.6;
}

.guide-wa-link {
    display: inline-block;
    margin: 0 6px;
    padding: 8px 16px;
    border-radius: 999px;
    background: #05d111;
    color: #fff;
    font-weight: 800;
    text-decoration: none;

    transition: .25s ease;
}

.guide-wa-link:hover {
    transform: translateY(-2px);
    background: #03bf0f;
}

@media(max-width:720px) {

    .guide-highlight {
        font-size: .94rem;
        padding: 16px 16px;
    }

    .guide-wa-link {
        display: block;
        width: max-content;
        margin: 10px auto;
        padding: 10px 18px;
    }

}

/* ===============================
   TABLET
================================= */

@media(max-width:920px) {

    .guide-grid {
        grid-template-columns: 1fr;
    }

}

/* ===============================
   MOBILE
================================= */

@media(max-width:720px) {

    .service-guide {
        padding: 10px 0 55px;
    }

    .guide-badges {
        gap: 10px;
        margin: 24px 0 28px;
    }

    .guide-badges span {
        width: 100%;
        text-align: center;
        padding: 10px 14px;
        font-size: .88rem;
    }

    .guide-card {
        padding: 30px 22px 22px;
    }

    .guide-card h3 {
        font-size: 1rem;
    }

    .guide-card p {
        font-size: .92rem;
    }



}