:root {
    --navy: #071a34;
    --navy-2: #0d284e;
    --blue: #0758cf;
    --blue-2: #0b66e4;
    --blue-soft: #eaf2ff;
    --ink: #10223f;
    --text: #27374d;
    --muted: #69778b;
    --line: #dfe7f1;
    --soft: #f5f8fc;
    --white: #ffffff;
    --success: #147a42;
    --danger: #a02b2b;
    --shadow: 0 18px 45px rgba(7, 26, 52, 0.12);
    --page-shadow: 0 12px 34px rgba(7, 26, 52, 0.14);
    --shell: min(1480px, calc(100% - 32px));
    --content: min(1220px, calc(100% - 92px));
}

/* Vanguardia-style home refresh */
body {
    color: #475569;
    background: #f8fafc;
    font-family: "Inter", Arial, Helvetica, sans-serif;
}

h1,
h2,
h3 {
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
}

.topbar,
.mobile-bottom-cta {
    display: none !important;
}

.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 50;
    width: 100%;
    min-height: 80px;
    margin: 0;
    padding: 0 max(24px, calc((100vw - 1280px) / 2 + 24px));
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: none;
    backdrop-filter: blur(10px);
}

.brand {
    min-width: 0;
}

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

.main-nav {
    gap: 30px;
}

.main-nav a {
    color: #475569;
    font-size: 0.91rem;
    font-weight: 600;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: #0758cf;
}

.main-nav a::after {
    display: none;
}

.btn {
    min-height: 46px;
    padding: 0 24px;
    border-radius: 6px;
    font-size: 0.94rem;
    font-weight: 700;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn.primary {
    color: #ffffff;
    background: #0758cf;
    box-shadow: 0 12px 28px rgba(7, 88, 207, 0.24);
}

.btn.primary:hover {
    background: #0648ad;
}

.btn.ghost {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.34);
    backdrop-filter: blur(10px);
}

.btn.ghost:hover {
    background: rgba(255, 255, 255, 0.13);
}

.btn.dark {
    color: #ffffff;
    background: #111827;
    border-color: #111827;
}

.btn.dark:hover {
    background: #0f172a;
}

.btn.light {
    color: #111827;
    background: #ffffff;
    border-color: #ffffff;
}

.btn.light:hover {
    background: #f8fafc;
}

.btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

body.home-page main {
    width: 100%;
    margin: 0;
    overflow: hidden;
    background: #ffffff;
    box-shadow: none;
}

body.inner-page {
    padding-top: 84px;
}

body.inner-page main {
    box-shadow: none;
}

.hero {
    position: relative;
    display: grid;
    min-height: 90vh;
    padding: 116px 0 88px;
    align-items: center;
    color: #ffffff;
    background:
        linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.72)),
        url("https://images.unsplash.com/photo-1752697589029-0fd0ce96a395?auto=format&fit=crop&w=2000&q=80") center / cover no-repeat;
    border-bottom: 0;
}

.hero-inner,
.home-section,
.footer-inner,
.footer-bottom {
    width: min(1280px, calc(100% - 48px));
    margin-right: auto;
    margin-left: auto;
}

.hero-inner {
    display: block;
    min-height: 0;
}

.hero-copy {
    max-width: 770px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 13px;
    margin-bottom: 24px;
    color: #60a5fa;
    background: rgba(31, 41, 55, 0.64);
    border: 1px solid rgba(100, 116, 139, 0.62);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
}

.hero-badge svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.hero h1 {
    max-width: 760px;
    margin-bottom: 24px;
    color: #ffffff;
    font-size: clamp(3rem, 6vw, 5.8rem);
    line-height: 1.03;
}

.hero .lead {
    max-width: 690px;
    margin-bottom: 38px;
    color: #cbd5e1;
    font-size: clamp(1.05rem, 2vw, 1.22rem);
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 0;
}

.hero-actions .btn {
    min-height: 58px;
    padding-right: 30px;
    padding-left: 30px;
    font-size: 1rem;
}

.home-section {
    padding: 92px 0;
}

.section-muted {
    width: 100%;
    padding-right: max(24px, calc((100vw - 1280px) / 2 + 24px));
    padding-left: max(24px, calc((100vw - 1280px) / 2 + 24px));
    background: #f8fafc;
}

.section-header {
    max-width: 760px;
    margin: 0 auto 58px;
    text-align: center;
}

.section-header .eyebrow,
.why-copy .eyebrow {
    margin-bottom: 10px;
    color: #0758cf;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0;
}

.section-header h2,
.why-copy h2,
.home-cta h2 {
    color: #111827;
    font-size: clamp(2.15rem, 4vw, 3.45rem);
    line-height: 1.08;
}

.section-header p {
    margin-bottom: 0;
    color: #64748b;
    font-size: 1.08rem;
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.practice-card {
    padding: 32px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 10px;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.practice-card:hover {
    transform: translateY(-4px);
    background: #ffffff;
    border-color: #bfdbfe;
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.12);
}

.practice-icon {
    display: grid;
    width: 58px;
    height: 58px;
    margin-bottom: 24px;
    place-items: center;
    background: #f1f5f9;
    border-radius: 10px;
    color: #111827;
    transition: background 220ms ease, color 220ms ease;
}

.practice-card:hover .practice-icon {
    color: #0758cf;
    background: #eff6ff;
}

.practice-icon svg {
    width: 30px;
    height: 30px;
    margin: 0;
}

.practice-card h3 {
    color: #111827;
    font-size: 1.45rem;
}

.practice-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.7;
}

.text-link {
    color: #0758cf;
    font-size: 0.93rem;
    font-weight: 800;
}

.why-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 72px;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
}

.why-visual {
    position: relative;
}

.why-visual::before {
    position: absolute;
    right: -24px;
    top: -24px;
    width: 86%;
    height: 96%;
    border: 2px solid rgba(17, 24, 39, 0.1);
    border-radius: 12px;
    content: "";
}

.why-visual::after {
    position: absolute;
    bottom: -24px;
    left: -24px;
    width: 192px;
    height: 192px;
    background: rgba(7, 88, 207, 0.1);
    border-radius: 12px;
    content: "";
}

.why-visual img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 1.18 / 1;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.18);
}

.experience-float {
    position: absolute;
    right: 34px;
    bottom: -34px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 22px 26px;
    background: #ffffff;
    border-left: 4px solid #0758cf;
    border-radius: 10px;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
}

.experience-float strong {
    color: #111827;
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: 2.8rem;
    line-height: 1;
}

.experience-float span {
    max-width: 96px;
    color: #64748b;
    font-weight: 700;
    line-height: 1.25;
}

.why-copy > p:not(.eyebrow) {
    color: #64748b;
    font-size: 1.07rem;
    line-height: 1.8;
}

.feature-list {
    display: grid;
    gap: 26px;
    padding: 0;
    margin: 34px 0 0;
    list-style: none;
}

.feature-list li {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.feature-check {
    position: relative;
    width: 24px;
    height: 24px;
    margin-top: 4px;
    color: #0758cf;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.feature-check::after {
    position: absolute;
    left: 6px;
    top: 3px;
    width: 7px;
    height: 12px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(42deg);
    content: "";
}

.feature-list h3 {
    margin-bottom: 6px;
    color: #111827;
    font-family: "Inter", Arial, Helvetica, sans-serif;
    font-size: 1.08rem;
}

.feature-list p {
    margin: 0;
    color: #64748b;
}

.testimonials-section {
    width: 100%;
    max-width: none;
    padding-right: max(24px, calc((100vw - 1280px) / 2 + 24px));
    padding-left: max(24px, calc((100vw - 1280px) / 2 + 24px));
    color: #ffffff;
    background: #111827;
}

.section-header.dark h2 {
    color: #ffffff;
}

.section-header.dark .eyebrow,
.stars {
    color: #60a5fa;
}

.section-header.dark p {
    color: #cbd5e1;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    max-width: 1280px;
    margin: 0 auto;
}

.testimonial-card {
    position: relative;
    padding: 32px;
    background: #1f2937;
    border: 1px solid #334155;
    border-radius: 10px;
}

.testimonial-card::after {
    position: absolute;
    right: 28px;
    top: 18px;
    color: rgba(148, 163, 184, 0.25);
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: 4rem;
    line-height: 1;
    content: "\201D";
}

.stars {
    display: block;
    margin-bottom: 22px;
    font-size: 1.05rem;
    letter-spacing: 0;
}

.testimonial-card p {
    position: relative;
    z-index: 1;
    color: #cbd5e1;
    font-style: italic;
    line-height: 1.75;
}

.testimonial-card h3 {
    margin-bottom: 2px;
    color: #ffffff;
    font-family: "Inter", Arial, Helvetica, sans-serif;
    font-size: 1rem;
}

.testimonial-card span:not(.stars) {
    color: #94a3b8;
    font-size: 0.9rem;
}

.home-team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
}

.home-team-card h3 {
    margin: 0 0 6px;
    color: #111827;
    font-size: 1.6rem;
}

.home-team-card p {
    color: #64748b;
    line-height: 1.65;
}

.team-role {
    margin-bottom: 10px;
    color: #0758cf !important;
    font-weight: 800;
}

.team-photo {
    position: relative;
    display: block;
    overflow: hidden;
    margin-bottom: 24px;
    border-radius: 12px;
    background: #e2e8f0;
}

.team-photo img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: top;
    transition: transform 420ms ease;
}

.home-team-card:hover .team-photo img {
    transform: scale(1.04);
}

.home-cta {
    position: relative;
    overflow: hidden;
    padding: 82px 24px;
    color: #ffffff;
    text-align: center;
    background: #0758cf;
}

.home-cta::before {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image:
        linear-gradient(135deg, currentColor 25%, transparent 25%),
        linear-gradient(315deg, currentColor 25%, transparent 25%);
    background-position: 0 0, 20px 20px;
    background-size: 40px 40px;
    content: "";
}

.home-cta > div {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.home-cta h2 {
    margin-bottom: 22px;
    color: #ffffff;
}

.home-cta p {
    max-width: 760px;
    margin: 0 auto 36px;
    color: #dbeafe;
    font-size: 1.18rem;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.cta-actions .btn {
    min-height: 58px;
}

.site-footer {
    width: 100%;
    margin: 0;
    color: #cbd5e1;
    background: #111827;
    border-radius: 0;
    box-shadow: none;
}

.footer-inner {
    grid-template-columns: 1.25fr 0.9fr 1fr 1fr;
    gap: 46px;
    padding: 64px 0 44px;
}

.footer-brand img,
.site-footer img {
    width: 190px;
    height: auto;
    margin-bottom: 22px;
    filter: none;
}

.site-footer h3 {
    margin-bottom: 22px;
    color: #ffffff;
    font-family: "Inter", Arial, Helvetica, sans-serif;
    font-size: 1rem;
}

.site-footer p,
.site-footer a,
.site-footer span {
    color: #94a3b8;
    font-size: 0.94rem;
    line-height: 1.7;
}

.site-footer a:hover {
    color: #60a5fa;
}

.main-nav a.nav-cta {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 188px;
    min-height: 46px;
    padding: 0 24px;
    color: #ffffff;
    border-radius: 6px;
    line-height: 1;
    white-space: nowrap;
}

.main-nav a.nav-cta svg {
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
}

@media (max-width: 1180px) and (min-width: 981px) {
    .main-nav {
        gap: 18px;
    }

    .main-nav a.nav-cta {
        min-width: 176px;
        padding-right: 18px;
        padding-left: 18px;
        font-size: 0.88rem;
    }
}

.home-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 940px;
    margin-right: auto;
    margin-left: auto;
}

.team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 940px;
    margin-right: auto;
    margin-left: auto;
}

.team-photo img,
.team-card img,
.profile-head img {
    background: #e2e8f0;
    object-fit: cover;
    object-position: top center;
}

.team-card img {
    height: 360px;
}

@media (max-width: 760px) {
    .home-team-grid,
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
    }
}

.main-nav a.nav-cta {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 188px;
    min-height: 46px;
    padding: 0 24px;
    color: #ffffff;
    border-radius: 6px;
    line-height: 1;
    white-space: nowrap;
}

.main-nav a.nav-cta svg {
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
}

@media (max-width: 1180px) and (min-width: 981px) {
    .main-nav {
        gap: 18px;
    }

    .main-nav a.nav-cta {
        min-width: 176px;
        padding-right: 18px;
        padding-left: 18px;
        font-size: 0.88rem;
    }
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}

.footer-socials a {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: #cbd5e1;
    background: #1f2937;
    border-radius: 50%;
    font-size: 0.88rem;
    font-weight: 800;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 0;
    border-top: 1px solid #1f2937;
}

.footer-bottom span {
    margin: 0;
    color: #64748b;
}

@media (max-width: 1100px) {
    .main-nav {
        gap: 18px;
    }

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

    .why-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    body.inner-page {
        padding-top: 80px;
        padding-bottom: 0;
    }

    .site-header {
        min-height: 80px;
        padding: 0 22px;
    }

    .brand img {
        height: 54px;
    }

    .menu-button {
        display: grid;
        border: 0;
    }

    .main-nav {
        right: 22px;
        left: 22px;
        padding: 18px;
        border-radius: 10px;
    }

    .main-nav a,
    .nav-cta {
        width: 100%;
    }

    .nav-cta {
        justify-content: center;
    }

    .hero {
        min-height: auto;
        padding: 128px 0 76px;
    }

    .hero-actions {
        display: grid;
        max-width: 420px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .home-section {
        padding-top: 74px;
        padding-bottom: 74px;
    }

    .home-team-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }

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

@media (max-width: 680px) {
    .hero-inner,
    .home-section,
    .footer-inner,
    .footer-bottom {
        width: min(100% - 40px, 1280px);
    }

    .hero {
        padding-top: 116px;
    }

    .hero-badge {
        align-items: flex-start;
        border-radius: 12px;
    }

    .hero h1 {
        font-size: clamp(2.45rem, 13vw, 3.3rem);
    }

    .practice-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .section-muted,
    .testimonials-section {
        padding-right: 20px;
        padding-left: 20px;
    }

    .section-header {
        margin-bottom: 38px;
    }

    .section-header h2,
    .why-copy h2,
    .home-cta h2 {
        font-size: clamp(2rem, 10vw, 2.65rem);
    }

    .practice-card,
    .testimonial-card {
        padding: 26px;
    }

    .why-visual::before,
    .why-visual::after {
        display: none;
    }

    .experience-float {
        right: 18px;
        bottom: -28px;
        padding: 18px 20px;
    }

    .feature-list {
        margin-top: 48px;
    }

    .team-photo img {
        height: 360px;
    }

    .cta-actions {
        display: grid;
    }

    .footer-inner,
    .footer-bottom {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        display: grid;
    }
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--text);
    background: #eef3f8;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
}

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

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

main {
    overflow: hidden;
    width: var(--shell);
    margin: 0 auto;
    background: var(--white);
    box-shadow: var(--page-shadow);
}

button,
input,
select,
textarea {
    font: inherit;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: var(--shell);
    min-height: 44px;
    margin: 14px auto 0;
    padding: 8px clamp(32px, 4vw, 56px);
    color: var(--white);
    background: var(--navy);
    border-radius: 10px 10px 0 0;
    box-shadow: var(--page-shadow);
    font-size: 0.86rem;
}

.topbar-group {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.topbar-item,
.social-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    white-space: nowrap;
}

.topbar svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.social-link {
    font-weight: 800;
    line-height: 1;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: var(--shell);
    min-height: 100px;
    margin: 0 auto;
    padding: 20px clamp(32px, 4vw, 56px);
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 26px rgba(7, 26, 52, 0.06);
    backdrop-filter: blur(12px);
}

.brand {
    display: flex;
    align-items: center;
    min-width: 210px;
}

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

.menu-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.menu-button {
    display: none;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--navy);
    border: 1px solid var(--line);
    border-radius: 6px;
    cursor: pointer;
}

.menu-button span,
.menu-button span::before,
.menu-button span::after {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    content: "";
}

.menu-button span::before {
    transform: translateY(-7px);
}

.menu-button span::after {
    transform: translateY(5px);
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
}

.main-nav a {
    position: relative;
    padding: 10px 0;
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 500;
}

.main-nav a::after {
    position: absolute;
    right: 0;
    bottom: 3px;
    left: 0;
    height: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 160ms ease;
    content: "";
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
    transform: scaleX(1);
}

.nav-cta {
    min-height: 44px;
    padding: 0 26px;
}

.nav-caret {
    color: var(--ink);
    font-size: 0.9rem;
}

.page-shell {
    width: var(--content);
    margin: 28px auto 56px;
}

.section {
    width: var(--content);
    margin: 0 auto;
    padding: 30px 0;
}

.panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    line-height: 1.12;
}

h1 {
    margin-bottom: 18px;
    font-size: clamp(2.45rem, 4vw, 3.55rem);
}

h2 {
    margin-bottom: 14px;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
}

h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.lead {
    color: var(--text);
    font-size: 1.06rem;
}

.muted,
.role {
    color: var(--muted);
}

.divider {
    width: 48px;
    height: 2px;
    margin: 0 0 22px;
    background: var(--blue);
}

.centered {
    text-align: center;
}

.centered .divider {
    margin-right: auto;
    margin-left: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
    white-space: nowrap;
}

.btn svg,
.mobile-bottom-cta svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.btn.primary {
    color: var(--white);
    background: var(--blue);
}

.btn.primary:hover {
    background: var(--blue-2);
}

.btn.secondary {
    color: var(--blue);
    background: var(--white);
    border-color: var(--blue);
}

.btn.secondary:hover {
    background: var(--blue-soft);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--blue);
    font-weight: 800;
}

.mobile-bottom-cta {
    display: none;
}

.hero {
    min-height: 430px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.94) 36%, rgba(255, 255, 255, 0.62) 58%, rgba(255, 255, 255, 0.08) 100%),
        url("../img/hero-columns.svg") center right / cover no-repeat;
    border-bottom: 1px solid var(--line);
}

.hero-inner {
    display: grid;
    align-items: center;
    width: var(--content);
    min-height: 430px;
    margin: 0 auto;
}

.hero-copy {
    max-width: 600px;
}

.hero-actions,
.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.hero-actions .btn.primary {
    min-width: 210px;
}

.hero-actions .btn.secondary {
    min-width: 145px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
    margin-top: 4px;
}

.service-card {
    display: grid;
    align-content: start;
    min-height: 222px;
    padding: 26px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 6px;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.service-card svg,
.service-line svg {
    width: 36px;
    height: 36px;
    margin-bottom: 18px;
    color: var(--blue);
}

.service-card h3 {
    max-width: 145px;
    font-size: 1.26rem;
}

.service-card p {
    color: var(--muted);
    font-size: 0.88rem;
}

.why-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 6px;
    box-shadow: var(--shadow);
}

.why-image {
    min-height: 200px;
    background:
        linear-gradient(90deg, rgba(7, 26, 52, 0.92), rgba(7, 26, 52, 0.34)),
        url("../img/office-signing.svg") center / cover no-repeat;
}

.why-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 28px;
    align-items: center;
    padding: 30px 34px;
}

.check-list {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 18px 0 0;
    list-style: none;
}

.check-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.check-list li::before {
    display: grid;
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
    place-items: center;
    color: var(--blue);
    border: 1px solid var(--blue);
    border-radius: 50%;
    font-size: 0.72rem;
    content: "\2713";
}

.experience-box {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    column-gap: 16px;
    align-items: center;
    min-height: 142px;
    padding: 22px 24px;
    text-align: left;
    background: var(--white);
    border-radius: 6px;
    box-shadow: var(--shadow);
}

.experience-box svg {
    grid-row: 1 / 3;
    width: 52px;
    height: 52px;
    color: var(--blue);
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.55;
}

.experience-box strong {
    color: var(--blue);
    font-size: 2rem;
    line-height: 1;
}

.stats-strip {
    display: grid;
    grid-template-columns: 1.7fr repeat(4, 1fr);
    gap: 0;
    margin-top: 24px;
    padding: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 6px;
}

.stats-intro {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    padding: 24px;
    border-right: 1px solid var(--line);
}

.stats-badge {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    color: var(--blue);
    background: var(--blue-soft);
    border-radius: 50%;
}

.stats-badge svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.stat-item {
    display: grid;
    grid-template-columns: 34px minmax(0, max-content);
    column-gap: 10px;
    align-content: center;
    justify-content: center;
    padding: 18px 12px;
    text-align: left;
}

.stat-item svg {
    grid-row: 1 / 3;
    width: 27px;
    height: 27px;
    align-self: center;
    color: var(--blue);
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.stat-item strong {
    color: var(--ink);
    font-size: 1.45rem;
    line-height: 1;
}

.stat-item span,
.experience-box span {
    color: var(--muted);
    font-size: 0.86rem;
}

.page-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 28px;
    align-items: center;
    padding: 32px;
    margin-bottom: 24px;
}

.page-heading img {
    width: 100%;
    height: 170px;
    object-fit: contain;
}

.about-layout,
.profile-layout,
.contact-layout,
.admin-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
}

.about-copy,
.profile-main,
.contact-copy,
.contact-form,
.contact-panel,
.admin-panel,
.admin-card {
    padding: 28px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.value-card {
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.service-list,
.article-list,
.case-list,
.lawyer-list {
    display: grid;
    gap: 16px;
}

.service-line {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.team-card {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.team-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: var(--blue-soft);
}

.team-card div {
    padding: 18px;
}

.team-card span,
.case-row span,
.article-card time {
    color: var(--blue);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.profile-head {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    margin-bottom: 24px;
}

.profile-head img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    background: var(--blue-soft);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.profile-stats,
.card-topline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.profile-stats span,
.card-topline span {
    padding: 6px 10px;
    color: var(--blue);
    background: var(--blue-soft);
    border-radius: 5px;
    font-size: 0.86rem;
    font-weight: 800;
}

.related-list,
.office-data,
.compact-team {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.related-list a,
.office-data span,
.compact-team a {
    display: grid;
    gap: 4px;
    padding: 13px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.article-card,
.article-row,
.case-row {
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.article-row,
.case-row {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 22px;
}

details {
    padding-top: 8px;
}

summary {
    color: var(--blue);
    cursor: pointer;
    font-weight: 800;
}

label {
    display: grid;
    gap: 7px;
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 5px;
    outline: none;
}

input,
select {
    height: 46px;
    padding: 0 12px;
}

textarea {
    min-height: 136px;
    padding: 12px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(7, 88, 207, 0.14);
}

.contact-form,
.admin-form {
    display: grid;
    gap: 14px;
}

.alert {
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
}

.alert p {
    margin-bottom: 4px;
}

.alert.success {
    color: var(--success);
    background: #e9f7ef;
    border: 1px solid #bde4cc;
}

.alert.error {
    color: var(--danger);
    background: #fbecec;
    border: 1px solid #efc2c2;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 26px;
}

.pagination a,
.pagination span {
    display: grid;
    min-width: 42px;
    height: 42px;
    place-items: center;
    padding: 0 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 5px;
    font-weight: 800;
}

.pagination span {
    color: var(--white);
    background: var(--blue);
    border-color: var(--blue);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.admin-panel {
    overflow-x: auto;
}

.mt-24 {
    margin-top: 24px;
}

.admin-table th,
.admin-table td {
    padding: 10px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
}

.admin-table th {
    color: var(--ink);
    background: var(--soft);
}

.site-footer {
    width: var(--shell);
    margin: 0 auto 24px;
    overflow: hidden;
    color: #d9e6f7;
    background: var(--navy);
    border-radius: 0 0 10px 10px;
    box-shadow: var(--page-shadow);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 24px;
    width: var(--content);
    margin: 0 auto;
    padding: 44px 0;
}

.site-footer img {
    width: 170px;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.site-footer h3 {
    color: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
}

.site-footer a,
.site-footer span {
    display: block;
    margin-bottom: 8px;
    color: #d9e6f7;
}

.footer-bottom {
    padding: 16px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

@media (max-width: 980px) {
    body {
        padding-bottom: 60px;
    }

    main,
    .site-footer,
    .topbar {
        width: 100%;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .topbar {
        display: flex;
        min-height: 44px;
        padding: 9px 22px;
        font-size: 0.78rem;
    }

    .topbar-primary {
        width: 100%;
        justify-content: space-between;
        gap: 14px;
    }

    .topbar-primary .topbar-item {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .topbar-address,
    .topbar-secondary {
        display: none;
    }

    .site-header {
        align-items: center;
        width: 100%;
        min-height: 88px;
        margin: 0;
        padding: 18px 24px;
        box-shadow: 0 8px 22px rgba(7, 26, 52, 0.08);
    }

    .brand {
        min-width: 0;
    }

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

    .menu-button {
        display: grid;
        border: 0;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        right: 20px;
        left: 20px;
        display: none;
        padding: 16px;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: var(--shadow);
    }

    .menu-toggle:checked ~ .main-nav {
        display: grid;
        gap: 8px;
    }

    .main-nav a,
    .nav-cta {
        width: 100%;
    }

    .main-nav a::after {
        display: none;
    }

    .mobile-bottom-cta {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 30;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        min-height: 58px;
        color: var(--white);
        background: var(--blue);
        font-weight: 800;
        box-shadow: 0 -12px 28px rgba(7, 26, 52, 0.18);
    }

    .hero,
    .hero-inner {
        min-height: auto;
    }

    .hero {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.98) 66%, rgba(255, 255, 255, 0.2) 67%, rgba(255, 255, 255, 0.2) 100%),
            url("../img/hero-columns.svg") bottom center / 100% 112px no-repeat;
    }

    .hero-inner {
        width: 100%;
        padding: 32px 24px 132px;
    }

    .hero-copy {
        max-width: 520px;
    }

    h1 {
        font-size: clamp(1.95rem, 8vw, 2.45rem);
    }

    h2 {
        font-size: clamp(1.35rem, 5vw, 1.65rem);
    }

    .service-grid,
    .team-grid,
    .article-grid,
    .values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .why-band,
    .why-content,
    .stats-strip,
    .page-heading,
    .about-layout,
    .profile-layout,
    .contact-layout,
    .admin-layout,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .stats-intro {
        padding: 20px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .service-line,
    .article-row,
    .case-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    body {
        background: var(--white);
    }

    .page-shell,
    .section {
        width: 100%;
    }

    .site-header {
        padding: 18px 24px;
    }

    .topbar {
        padding: 9px 18px;
        font-size: 0.72rem;
    }

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

    .menu-button {
        width: 38px;
        height: 38px;
    }

    .hero-inner {
        padding: 30px 24px 124px;
    }

    .eyebrow {
        font-size: 0.7rem;
    }

    .lead {
        font-size: 0.94rem;
    }

    .hero-actions,
    .quick-actions {
        display: grid;
        gap: 10px;
    }

    .hero-actions .btn {
        width: 100%;
        min-width: 0;
    }

    .section {
        padding: 24px 22px;
    }

    .section[aria-labelledby="areas-title"] {
        padding-top: 18px;
    }

    .centered h2 {
        max-width: 290px;
        margin-right: auto;
        margin-left: auto;
    }

    .service-grid,
    .team-grid,
    .article-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .service-grid {
        overflow: hidden;
        gap: 0;
        margin-top: 18px;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: 6px;
    }

    .service-card {
        grid-template-columns: 34px minmax(0, 1fr) 28px;
        min-height: 56px;
        align-items: center;
        padding: 0 16px;
        border: 0;
        border-bottom: 1px solid var(--line);
        border-radius: 0;
        box-shadow: none;
    }

    .service-card:last-child {
        border-bottom: 0;
    }

    .service-card:hover {
        transform: none;
        box-shadow: none;
    }

    .service-card svg {
        width: 24px;
        height: 24px;
        margin: 0;
    }

    .service-card h3 {
        max-width: none;
        margin: 0;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 0.9rem;
        font-weight: 500;
        line-height: 1.2;
    }

    .service-card p {
        display: none;
    }

    .service-card .text-link {
        justify-self: end;
        width: 24px;
        height: 24px;
        overflow: hidden;
        font-size: 0;
    }

    .service-card .text-link::after {
        color: var(--blue);
        font-size: 1.5rem;
        line-height: 1;
        content: "\203A";
    }

    .why-band {
        overflow: visible;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .why-image,
    .experience-box,
    .stats-strip {
        display: none;
    }

    .why-content,
    .page-heading,
    .about-copy,
    .profile-main,
    .contact-copy,
    .contact-form,
    .contact-panel,
    .admin-panel,
    .admin-card {
        padding: 22px;
    }

    .why-content {
        padding: 0;
    }

    .stats-strip {
        padding: 14px;
    }

    .profile-head {
        grid-template-columns: 1fr;
    }

    .profile-head img {
        width: 100%;
        height: 220px;
    }
}

/* Priority layer for the Vanguardia-style redesign. Kept at the end so it wins over legacy page rules. */
body {
    color: #475569;
    background: #f8fafc;
    font-family: "Inter", Arial, Helvetica, sans-serif;
}

h1,
h2,
h3 {
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
}

.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 50;
    width: 100%;
    min-height: 80px;
    margin: 0;
    padding: 0 max(24px, calc((100vw - 1280px) / 2 + 24px));
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: none;
    backdrop-filter: blur(10px);
}

.brand {
    min-width: 0;
}

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

.main-nav {
    gap: 30px;
}

.main-nav a {
    color: #475569;
    font-size: 0.91rem;
    font-weight: 600;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: #0758cf;
}

.main-nav a::after {
    display: none;
}

.main-nav a.nav-cta {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 188px;
    min-height: 46px;
    padding: 0 24px;
    color: #ffffff;
    border-radius: 6px;
    line-height: 1;
    white-space: nowrap;
}

.main-nav a.nav-cta svg {
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
}

@media (max-width: 1180px) and (min-width: 981px) {
    .main-nav {
        gap: 18px;
    }

    .main-nav a.nav-cta {
        min-width: 176px;
        padding-right: 18px;
        padding-left: 18px;
        font-size: 0.88rem;
    }
}

.btn {
    min-height: 46px;
    padding: 0 24px;
    border-radius: 6px;
    font-size: 0.94rem;
    font-weight: 700;
}

.btn.primary {
    color: #ffffff;
    background: #0758cf;
    box-shadow: 0 12px 28px rgba(7, 88, 207, 0.24);
}

.btn.primary:hover {
    background: #0648ad;
}

.btn.ghost {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.34);
    backdrop-filter: blur(10px);
}

.btn.dark {
    color: #ffffff;
    background: #111827;
    border-color: #111827;
}

.btn.light {
    color: #111827;
    background: #ffffff;
    border-color: #ffffff;
}

.hero {
    position: relative;
    display: grid;
    min-height: 90vh;
    padding: 116px 0 88px;
    align-items: center;
    color: #ffffff;
    background:
        linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.72)),
        url("https://images.unsplash.com/photo-1752697589029-0fd0ce96a395?auto=format&fit=crop&w=2000&q=80") center / cover no-repeat;
    border-bottom: 0;
}

.hero-inner {
    display: block;
    width: min(1280px, calc(100% - 48px));
    min-height: 0;
    margin-right: auto;
    margin-left: auto;
}

.hero-copy {
    max-width: 770px;
}

.hero h1 {
    max-width: 760px;
    margin-bottom: 24px;
    color: #ffffff;
    font-size: clamp(3rem, 6vw, 5.8rem);
    line-height: 1.03;
}

.hero .lead {
    max-width: 690px;
    margin-bottom: 38px;
    color: #cbd5e1;
    font-size: clamp(1.05rem, 2vw, 1.22rem);
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 0;
}

.hero-actions .btn {
    min-height: 58px;
    padding-right: 30px;
    padding-left: 30px;
    font-size: 1rem;
}

.site-footer {
    width: 100%;
    margin: 0;
    color: #cbd5e1;
    background: #111827;
    border-radius: 0;
    box-shadow: none;
}

.footer-inner {
    grid-template-columns: 1.25fr 0.9fr 1fr 1fr;
    gap: 46px;
    width: min(1280px, calc(100% - 48px));
    padding: 64px 0 44px;
}

.footer-brand img,
.site-footer img {
    width: 190px;
    height: auto;
    margin-bottom: 22px;
    filter: none;
}

.site-footer h3 {
    margin-bottom: 22px;
    color: #ffffff;
    font-family: "Inter", Arial, Helvetica, sans-serif;
    font-size: 1rem;
}

.site-footer p,
.site-footer a,
.site-footer span {
    color: #94a3b8;
    font-size: 0.94rem;
    line-height: 1.7;
}

.footer-bottom {
    display: flex;
    width: min(1280px, calc(100% - 48px));
    justify-content: space-between;
    gap: 18px;
    padding: 22px 0;
    border-top: 1px solid #1f2937;
}

@media (max-width: 980px) {
    body.inner-page {
        padding-top: 80px;
        padding-bottom: 0;
    }

    .site-header {
        min-height: 80px;
        padding: 0 22px;
    }

    .brand img {
        height: 54px;
    }

    .menu-button {
        display: grid;
        border: 0;
    }

    .main-nav {
        right: 22px;
        left: 22px;
        padding: 18px;
        border-radius: 10px;
    }

    .hero {
        min-height: auto;
        padding: 128px 0 76px;
    }

    .hero-actions {
        display: grid;
        max-width: 420px;
    }

    .hero-actions .btn {
        width: 100%;
    }

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

@media (max-width: 680px) {
    .hero-inner,
    .footer-inner,
    .footer-bottom {
        width: min(100% - 40px, 1280px);
    }

    .hero {
        padding-top: 116px;
    }

    .hero h1 {
        font-size: clamp(2.45rem, 13vw, 3.3rem);
    }

    .footer-inner,
    .footer-bottom {
        display: grid;
        grid-template-columns: 1fr;
    }
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}

.footer-socials a {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    margin: 0;
    color: #cbd5e1;
    background: #1f2937;
    border-radius: 50%;
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1;
}

.site-footer a:hover {
    color: #60a5fa;
}
