.container-principal {
    width: 100%;
    min-height: 100%;
    background: var(--surface);
}

.container,
.founder-content {
    width: min(100%, 1200px);
    margin: 0 auto;
    padding: 88px 20px;
}

.section {
    position: relative;
}

.section-light {
    background: var(--surface);
}

.section-muted {
    background:
        radial-gradient(circle at top left, rgba(180, 138, 90, 0.12), transparent 34%),
        var(--muted);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 44px;
    text-align: center;
}

.section-heading .eyebrow {
    justify-content: center;
}

.section-heading h2,
.header-content h2,
.founder-header h2,
.cta-container h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: 0;
}

.section-heading p,
.header-content p,
.cta-container p {
    margin: 16px auto 0;
    color: var(--ink-soft);
    font-size: clamp(1rem, 1.8vw, 1.18rem);
}

.practice-grid,
.metrics-grid,
.team-grid,
.method-grid {
    display: grid;
    gap: 22px;
}

.practice-grid,
.metrics-grid,
.method-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.team-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
}

.practice-card,
.feature-card,
.metric-card,
.team-card,
.method-card,
.founder-text,
.map-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.practice-card,
.method-card,
.metric-card {
    position: relative;
    overflow: hidden;
    padding: 28px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.practice-card::before,
.method-card::before,
.metric-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--gold));
}

.practice-card:hover,
.method-card:hover,
.metric-card:hover,
.team-card:hover,
.feature-card:hover {
    border-color: rgba(180, 138, 90, 0.58);
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.practice-card i {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 22px;
    border-radius: var(--radius);
    background: rgba(10, 72, 88, 0.1);
    color: var(--teal);
    font-size: 1.45rem;
}

.practice-card h3,
.feature-card h3,
.method-card h3 {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.25;
}

.practice-card p,
.feature-card p,
.method-card p,
.team-content p,
.founder-text p,
.metric-card p {
    margin: 0;
    color: var(--ink-soft);
}

.law-section {
    width: 100%;
}

.header-law,
.founder-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 38px;
}

.header-content {
    max-width: 760px;
}

.header-action {
    flex: 0 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.feature-card {
    position: relative;
    display: flex;
    min-height: 286px;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    margin-bottom: 24px;
    border-radius: var(--radius);
    background: var(--ink);
    color: #fff;
}

.p1,
.p2,
.p3 {
    display: none;
    opacity: 0;
    margin-top: 6px;
    transition: opacity 0.2s ease-in-out;
}

.show-text {
    display: block;
    opacity: 1 !important;
}

.icon-button {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-top: auto;
    margin-left: auto;
    border: 0;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.icon-button:hover {
    background: var(--brand-strong);
    transform: rotate(90deg) scale(1.05);
    box-shadow: 0 12px 24px rgba(88, 0, 36, 0.24);
}

.metrics-section {
    background: var(--ink);
    color: #fff;
}

.metric-card {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.metric-card span {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 900;
    line-height: 1;
}

.metric-card p {
    color: rgba(255, 255, 255, 0.74);
    font-weight: 600;
}

.founder-container {
    width: 100%;
}

.founder-showcase {
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(180, 138, 90, 0.16), transparent 28%),
        linear-gradient(135deg, #fffaf6 0%, #f2e7dd 100%);
}

.founder-showcase__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.86fr);
    align-items: center;
    gap: clamp(32px, 6vw, 76px);
    width: min(100%, 1200px);
    margin: 0 auto;
    padding: 92px 20px;
}

.founder-showcase__copy {
    min-width: 0;
}

.history-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    padding: 9px 15px;
    border: 1px solid rgba(180, 138, 90, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--gold);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 8px 22px rgba(23, 17, 15, 0.07);
}

.founder-showcase h2 {
    max-width: 650px;
    margin: 0;
    color: #120f0e;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.8rem, 6.4vw, 5.35rem);
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: 0;
}

.founder-showcase h2 span {
    display: block;
    color: var(--gold);
}

.founder-showcase__lead {
    max-width: 480px;
    margin: 22px 0 0;
    padding-left: 34px;
    border-left: 2px solid var(--gold);
    color: var(--ink-soft);
    font-size: 1.05rem;
}

.founder-quote-card {
    max-width: 560px;
    margin-top: 32px;
    padding: 30px 34px;
    border: 1px solid rgba(180, 138, 90, 0.24);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(12px);
}

.founder-quote-card > i {
    margin-bottom: 14px;
    color: var(--gold);
    font-size: 1.9rem;
}

.founder-quote-card p {
    margin: 0;
    color: var(--ink);
    font-size: 0.96rem;
    line-height: 1.75;
}

.founder-quote-card p + p {
    margin-top: 14px;
}

.founder-signature {
    margin-top: 22px;
}

.founder-signature strong {
    display: block;
    color: var(--gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.42rem;
    font-style: italic;
    font-weight: 500;
}

.founder-signature span {
    display: block;
    margin-top: 2px;
    color: var(--ink-soft);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.founder-showcase__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 28px;
}

.founder-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    padding: 15px 22px;
    border-radius: var(--radius);
    background: var(--brand);
    color: #fff;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 16px 34px rgba(88, 0, 36, 0.26);
    transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.founder-action:hover {
    background: var(--brand-strong);
    transform: translateY(-2px);
    box-shadow: 0 22px 44px rgba(88, 0, 36, 0.32);
}

.founder-mini-proof {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    max-width: 260px;
    color: var(--ink-soft);
    font-size: 0.9rem;
    font-weight: 700;
}

.founder-mini-proof i {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: rgba(180, 138, 90, 0.14);
    color: var(--gold);
    font-size: 1rem;
}

.founder-showcase__media {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    border: 4px solid rgba(255, 255, 255, 0.86);
    border-radius: 12px;
    background: var(--muted);
    box-shadow: var(--shadow);
    outline: 1px solid rgba(180, 138, 90, 0.44);
    outline-offset: -8px;
}

.founder-showcase__media img {
    width: 100%;
    height: 100%;
    min-height: 620px;
    object-fit: cover;
    object-position: center top;
}

.founder-credential {
    position: absolute;
    right: 26px;
    bottom: 24px;
    left: 26px;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 340px;
    margin-left: auto;
    padding: 16px 18px;
    border-radius: var(--radius);
    background: var(--brand);
    color: #fff;
    box-shadow: 0 18px 38px rgba(88, 0, 36, 0.35);
}

.founder-credential i {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(180, 138, 90, 0.38);
    border-radius: var(--radius);
    color: var(--gold);
}

.founder-credential strong {
    display: block;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.2;
}

.founder-credential span {
    display: block;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.82rem;
    font-weight: 700;
}

.founder-header h2 {
    max-width: 560px;
}

.cta-button {
    background: rgba(88, 0, 36, 0.1);
    color: var(--brand);
    cursor: default;
}

.founder-section,
.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    align-items: center;
    gap: 28px;
}

.about-grid {
    grid-template-columns: minmax(320px, 1fr) minmax(0, 1fr);
}

.founder-text {
    padding: 34px;
}

.founder-text p + p {
    margin-top: 16px;
}

.founder-text strong {
    color: var(--ink);
}

.founder-image,
.founder-image-nos {
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.founder-image img {
    width: 100%;
    height: 560px;
    object-fit: cover;
}

.founder-image-nos img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

.team-card {
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.team-card img {
    width: 100%;
    height: 270px;
    object-fit: cover;
    object-position: top;
    background: var(--muted);
}

.team-content {
    padding: 22px;
}

.team-content h3 {
    margin: 0;
    color: var(--ink);
    font-size: 1.35rem;
    font-weight: 900;
}

.role {
    margin-top: 2px !important;
    font-weight: 700;
}

.experience {
    display: inline-flex;
    margin: 14px 0;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(10, 72, 88, 0.1);
    color: var(--teal);
    font-size: 0.82rem;
    font-weight: 800;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 14px;
}

.tags span {
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(88, 0, 36, 0.08);
    color: var(--brand);
    font-size: 0.76rem;
    font-weight: 800;
}

.method-card span {
    display: inline-flex;
    margin-bottom: 22px;
    color: var(--gold);
    font-size: 0.95rem;
    font-weight: 900;
}

.cta-section {
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(16, 37, 41, 0.94), rgba(88, 0, 36, 0.9)),
        url("../img/capa.png") center / cover;
    color: #fff;
}

.cta-container {
    max-width: 860px;
    text-align: center;
}

.cta-container .eyebrow {
    justify-content: center;
}

.cta-container h2 {
    color: #fff;
}

.cta-container p {
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.78);
}

.map-card {
    overflow: hidden;
    height: min(70vh, 560px);
    min-height: 360px;
}
