.abogados-page {
    --primary: #b58a3a;
    --primary-dark: #8a6425;
    --primary-light: #ead7a3;
    --secondary: #0e1720;
    --accent: #d8b76d;
    --bg: #f5f0e7;
    --gray-100: #ebe5da;
    background: #f5f0e7;
}

.abogados-page .navbar.scrolled {
    background: rgba(9, 16, 24, .92);
    border-bottom: 1px solid rgba(216, 183, 109, .16);
    box-shadow: none;
}

.abogados-page .navbar.scrolled .logo,
.abogados-page .navbar.scrolled .nav-link {
    color: #f8f2e8;
}

.abogados-page .navbar.scrolled .nav-link:hover {
    color: var(--accent);
    background: rgba(216, 183, 109, .1);
}

.abogados-page .btn-primary,
.abogados-page .btn-nav {
    background: #b58a3a;
    border-color: #b58a3a;
}

.law-brand {
    gap: 14px;
}

.law-logo-mark {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    box-shadow: none;
}

.law-brand-copy {
    display: grid;
    gap: 1px;
}

.law-brand .logo-text {
    font-size: 1.28rem;
    line-height: 1.05;
    color: #fff8e8;
}

.law-brand-subtitle {
    color: rgba(216, 183, 109, .86);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.abogados-page .footer .law-brand .logo-text {
    color: #fff8e8;
}

.abogados-page .btn-primary:hover {
    background: #c49b4d;
    border-color: #c49b4d;
    box-shadow: none;
}

.abogados-page .btn-outline {
    border-color: rgba(245, 235, 215, .82);
    color: #f8f2e8;
}

.abogados-page .btn-outline:hover {
    color: #101923;
    background: #f8f2e8;
}

.abogados-hero {
    min-height: 92vh;
    background: #0e1720;
}

.abogados-hero .hero-bg {
    background:
        linear-gradient(90deg, rgba(8, 14, 22, .98) 0%, rgba(10, 18, 27, .94) 48%, rgba(16, 26, 36, .82) 100%),
        linear-gradient(135deg, #071018 0%, #142335 58%, #0b121b 100%);
}

.abogados-hero .hero-bg::before,
.abogados-hero .hero-bg::after {
    display: none;
}

.abogados-hero .hero-content {
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(360px, 560px);
    gap: 72px;
    align-items: center;
    text-align: left;
    padding-top: 104px;
    padding-bottom: 42px;
}

.abogados-hero h1 {
    max-width: 760px;
    font-size: clamp(3.2rem, 6.4vw, 5.8rem);
    line-height: 1.03;
    margin-bottom: 26px;
}

.abogados-hero .highlight {
    color: #d8b76d;
}

.abogados-hero .hero-description {
    max-width: 650px;
    margin-left: 0;
    margin-right: 0;
    color: rgba(248, 242, 232, .76);
    font-size: 1.05rem;
    line-height: 1.95;
}

.abogados-hero .hero-buttons {
    justify-content: flex-start;
    margin-bottom: 0;
    gap: 14px;
}

.hero-media {
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(216, 183, 109, .22);
    border-radius: 4px;
    padding: 10px;
    box-shadow: 0 42px 90px rgba(0, 0, 0, .34);
    backdrop-filter: blur(8px);
}

.hero-media img {
    width: 100%;
    height: auto;
    aspect-ratio: 1400 / 980;
    border-radius: 2px;
}

.abogados-page .hero-badge {
    display: inline-flex;
    background: transparent;
    border: 0;
    border-left: 2px solid #d8b76d;
    border-radius: 0;
    padding: 2px 0 2px 14px;
    color: #d8b76d;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    backdrop-filter: none;
}

.local-layout {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 40px;
    align-items: start;
}

.content-panel,
.side-panel {
    background: #fffdf8;
    border: 1px solid #e7dece;
    border-radius: 4px;
    padding: 42px;
    box-shadow: none;
}

.content-panel h2,
.side-panel h2,
.side-panel h3 {
    color: var(--secondary);
    margin-bottom: 14px;
}

.content-panel p,
.side-panel p {
    color: var(--gray-500);
    margin-bottom: 18px;
}

.panel-lead {
    font-size: 1.05rem;
    line-height: 1.9;
    max-width: 760px;
}

.local-insight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid #e1d4bd;
    margin-top: 28px;
}

.local-insight {
    padding: 26px 24px;
    border-right: 1px solid #e1d4bd;
    background: linear-gradient(180deg, #fffdf8, #f8f1e6);
}

.local-insight:last-child {
    border-right: 0;
}

.local-insight span {
    display: inline-block;
    color: #b58a3a;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    line-height: 1;
    margin-bottom: 14px;
}

.local-insight h3 {
    color: #0e1720;
    font-size: 1rem;
    margin-bottom: 8px;
}

.local-insight p {
    font-size: .9rem;
    line-height: 1.7;
    margin: 0;
}

.check-list {
    display: grid;
    gap: 12px;
}

.check-list li {
    display: flex;
    gap: 10px;
    color: var(--gray-700);
}

.check-list i {
    color: var(--primary);
    margin-top: 5px;
}

.abogados-page .service-card,
.abogados-page .about-card,
.abogados-page .testimonial-card,
.abogados-page .contact-form-container {
    border-radius: 4px;
    border-color: #e7dece;
    background: #fffdf8;
    box-shadow: none;
}

.abogados-page .service-card {
    padding: 34px 30px;
}

a.service-card {
    display: block;
    color: inherit;
    text-decoration: none;
}

.abogados-page .service-card:hover {
    transform: none;
    box-shadow: none;
    border-color: #cdb983;
}

.abogados-page .service-card::before {
    background: linear-gradient(90deg, #9a7030, #d8b76d);
}

.abogados-page .service-icon,
.abogados-page .contact-icon {
    background: rgba(181, 138, 58, .12);
    color: #9a7030;
}

.abogados-page .service-card:hover .service-icon {
    background: linear-gradient(135deg, #c9a45d, #8a6425);
}

.premium-band {
    background: #0e1720;
    color: #f8f2e8;
}

.premium-band .section-header h2,
.premium-band .section-header p {
    color: #f8f2e8;
}

.premium-band .section-tag {
    background: rgba(216, 183, 109, .12);
    color: #e3c878;
}

.premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1px;
    background: rgba(216, 183, 109, .22);
    border: 1px solid rgba(216, 183, 109, .22);
}

.premium-card {
    padding: 34px;
    border: 0;
    border-radius: 0;
    background: #0e1720;
}

.premium-card h3 {
    color: #f8f2e8;
    margin-bottom: 10px;
}

.premium-card p {
    color: rgba(248, 242, 232, .72);
    font-size: .95rem;
}

.abogados-page .faq-section {
    background: #f5f0e7;
}

.abogados-page .faq-list {
    max-width: 880px;
    margin: 0 auto;
    display: grid;
    gap: 14px;
}

.abogados-page .faq-item {
    background: #fffdf8;
    border: 1px solid #e1d4bd;
    border-radius: 4px;
    overflow: hidden;
}

.abogados-page .faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 26px;
    color: #0e1720;
    font-weight: 700;
    font-size: 1.04rem;
    line-height: 1.45;
}

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

.abogados-page .faq-item summary::before {
    content: "+";
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #c9a45d;
    color: #9a7030;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    line-height: 1;
}

.abogados-page .faq-item[open] summary {
    border-bottom: 1px solid #eadfcb;
}

.abogados-page .faq-item[open] summary::before {
    content: "-";
    background: #0e1720;
    color: #f8f2e8;
    border-color: #0e1720;
}

.abogados-page .faq-item p {
    padding: 20px 26px 26px 68px;
    margin: 0;
    color: #5f6272;
    font-size: 1rem;
    line-height: 1.8;
}

.process-compact {
    background: var(--white);
}

.testimonials-carousel {
    position: relative;
}

.testimonials-track {
    min-height: 300px;
}

.testimonials-track .testimonial-card {
    display: none;
    max-width: 760px;
    margin: 0 auto;
}

.testimonials-track .testimonial-card.is-active {
    display: block;
}

.testimonials-compact {
    padding: 72px 0 84px;
}

.testimonials-compact .testimonials-track {
    min-height: auto;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
}

.carousel-button {
    width: 44px;
    height: 44px;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    background: var(--white);
    color: var(--secondary);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-button:hover,
.carousel-button:focus {
    border-color: var(--primary);
    color: var(--primary);
    outline: none;
}

.internal-links {
    background: var(--bg);
}

.comunas-links ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 12px;
}

.comunas-links a {
    display: block;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 6px;
    padding: 14px 16px;
    color: var(--secondary);
}

.comunas-links a:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.commune-link-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.commune-link-grid a {
    display: flex;
    align-items: center;
    min-height: 54px;
    padding: 14px 16px;
    background: #fffdf8;
    border: 1px solid rgba(216, 183, 109, .34);
    border-radius: 4px;
    color: #0e1720;
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
    transition: border-color .2s ease, color .2s ease, transform .2s ease;
}

.commune-link-grid a:hover {
    border-color: #b58a3a;
    color: #8a6425;
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .abogados-hero .hero-content,
    .local-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .abogados-hero .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .abogados-hero .hero-buttons {
        justify-content: center;
    }

    .trust-row {
        grid-template-columns: 1fr;
    }

    .hero-media {
        max-width: 520px;
        margin: 0 auto;
    }

    .local-insight-grid {
        grid-template-columns: 1fr;
    }

    .local-insight {
        border-right: 0;
        border-bottom: 1px solid #e1d4bd;
        text-align: left;
    }

    .local-insight:last-child {
        border-bottom: 0;
    }

    .abogados-page .navbar.scrolled .nav-toggle span {
        background: #f8f2e8;
    }

    .abogados-page .nav-menu {
        background: #101923;
        border-left: 1px solid rgba(216, 183, 109, .24);
        box-shadow: 0 28px 70px rgba(0, 0, 0, .45);
    }

    .abogados-page .nav-menu .nav-link {
        color: #f8f2e8;
    }

    .abogados-page .nav-menu .nav-link:hover {
        color: #d8b76d;
        background: rgba(216, 183, 109, .1);
    }

    .commune-link-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .abogados-page .section {
        padding: 68px 0;
    }

    .abogados-page .section-header {
        margin-bottom: 34px;
    }

    .abogados-page .section-header h2 {
        font-size: clamp(1.7rem, 9vw, 2.45rem);
        line-height: 1.15;
    }

    .abogados-page .section-header p {
        font-size: .96rem;
        line-height: 1.65;
    }

    .commune-link-grid {
        grid-template-columns: 1fr;
    }

    .abogados-hero {
        min-height: auto;
    }

    .abogados-hero .hero-content {
        padding-top: 108px;
        padding-bottom: 36px;
    }

    .abogados-hero .hero-media {
        display: none;
    }

    .law-logo-mark {
        width: 42px;
        height: 42px;
    }

    .law-brand .logo-text {
        font-size: 1.18rem;
    }

    .law-brand-subtitle {
        font-size: .65rem;
    }

    .content-panel,
    .side-panel {
        padding: 22px;
        text-align: left;
    }

    .content-panel h2,
    .side-panel h3 {
        text-align: left;
    }

    .panel-lead,
    .content-panel p,
    .side-panel p {
        font-size: .98rem;
        line-height: 1.75;
        text-align: left;
    }

    .local-insight {
        padding: 20px 18px;
    }

    .local-insight span {
        font-size: 1.35rem;
        margin-bottom: 10px;
    }

    .local-insight h3 {
        font-size: .98rem;
    }

    .local-insight p {
        font-size: .88rem;
        line-height: 1.6;
    }

    .check-list {
        gap: 10px;
    }

    .check-list li {
        font-size: .9rem;
        line-height: 1.55;
    }

    .abogados-page .faq-item summary {
        padding: 18px 18px;
        align-items: flex-start;
        font-size: .98rem;
    }

    .abogados-page .faq-item p {
        padding: 16px 18px 22px 60px;
        font-size: .94rem;
    }

    .testimonials-track {
        min-height: 420px;
    }

    .testimonials-compact {
        padding: 54px 0 62px;
    }

    .testimonials-compact .testimonials-track {
        min-height: auto;
    }
}
