/* =========================================================
   TAPARIA LAW CHAMBER
   Clean Main Stylesheet
   ========================================================= */


/* =========================================================
   1. FONTS
   ========================================================= */

@font-face {
    font-family: "DM Sans";
    src: url("fonts/DMSans.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Playfair Display";
    src: url("fonts/PlayfairDisplay.woff2") format("woff2");
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
}


/* =========================================================
   2. VARIABLES
   ========================================================= */

:root {
    /* Brand */
    --primary: #4d4a86;
    --primary-dark: #3e3b70;
    --primary-light: #efeff8;

    /* Text */
    --ink: #202124;
    --text: #383838;
    --muted: #747474;

    /* Backgrounds */
    --white: #ffffff;
    --off-white: #fbfbfa;
    --light: #f5f5f4;

    /* Borders */
    --border: #e7e7e5;

    /* Accent / status */
    --gold: #f2b400;
    --success: #299b55;
    --error: #b03030;

    /* Dark surfaces */
    --dark: #1d1d22;
    --dark-surface: #222222;
    --dark-deep: #111111;

    /* Layout */
    --container: 1150px;

    /* Typography */
    --serif: "Playfair Display", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;

    /* Motion */
    --transition: 220ms ease;
}


/* =========================================================
   3. RESET
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;

    color: var(--text);
    background: var(--white);

    font-family: var(--sans);
    line-height: 1.65;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

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

button {
    cursor: pointer;
}

address {
    font-style: normal;
}


/* =========================================================
   4. GLOBAL / LAYOUT
   ========================================================= */

.container {
    width: min(calc(100% - 48px), var(--container));
    margin-inline: auto;
}

.section {
    padding: 120px 0;
}

.section-light {
    background: var(--off-white);
}


/* =========================================================
   5. TYPOGRAPHY
   ========================================================= */

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 22px;

    color: var(--primary);

    font-family: var(--sans);
    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow span {
    display: block;

    width: 28px;
    height: 1px;

    background: currentColor;
}

.eyebrow-light {
    color: rgba(255, 255, 255, 0.72);
}


/* Reusable large heading */

.display-heading {
    margin: 0;

    color: var(--ink);

    font-family: var(--serif);
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.display-heading em {
    color: var(--primary);
    font-style: normal;
}

.display-heading-light {
    color: var(--white);
}

.display-heading-light em {
    color: #dcd9ff;
}


/* Existing heading selectors retained */

.section-heading h2,
.section-intro h2,
.why-content h2,
.quote-info h2,
.cta-inner h2 {
    margin: 0;

    color: var(--ink);

    font-family: var(--serif);
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.section-heading h2 em,
.section-intro h2 em,
.why-content h2 em,
.quote-info h2 em,
.cta-inner h2 em,
.hero h1 em {
    color: var(--primary);
    font-style: normal;
}

.cta-inner h2 {
    color: var(--white);
}

.cta-inner h2 em {
    color: #dcd9ff;
}

.section-heading {
    max-width: 680px;
}

.section-heading.centered {
    margin-inline: auto;
    text-align: center;
}

.section-heading.centered .eyebrow {
    justify-content: center;
}

.section-heading p {
    max-width: 600px;
    margin: 22px auto 0;

    color: var(--muted);
    font-size: 16px;
}


/* =========================================================
   6. BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    min-height: 52px;
    padding: 0 28px;

    border: 1px solid transparent;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.09em;
    text-transform: uppercase;

    transition:
        transform var(--transition),
        background var(--transition),
        color var(--transition),
        border-color var(--transition);
}

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

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

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

.btn-outline {
    color: var(--primary);
    background: transparent;
    border-color: var(--primary);
}

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

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

.btn-outline-light {
    color: var(--white);
    background: transparent;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    color: var(--primary);
    background: var(--white);
}

.btn-small {
    min-height: 43px;
    padding: 0 20px;
}


/* =========================================================
   7. HEADER
   ========================================================= */

.site-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;

    width: 100%;

    background: rgba(255, 255, 255, 0.94);

    border-bottom: 1px solid transparent;

    backdrop-filter: blur(14px);

    transition:
        background var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.site-header.scrolled {
    border-color: var(--border);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 82px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;

    flex-shrink: 0;
}

.brand-mark {
    display: grid;
    place-items: center;

    width: 40px;
    height: 40px;

    color: var(--white);
    background: var(--primary);

    font-family: var(--serif);
    font-size: 16px;
    font-weight: 700;
}

.brand-text {
    display: flex;
    flex-direction: column;

    line-height: 1;
}

.brand-text strong {
    color: var(--ink);

    font-size: 14px;
    letter-spacing: 0.12em;
}

.brand-text small {
    margin-top: 5px;

    color: var(--primary);

    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.25em;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;

    margin-left: auto;
    margin-right: 28px;
}

.desktop-nav a {
    position: relative;

    color: #454545;

    font-size: 12px;
    font-weight: 600;

    transition: color var(--transition);
}

.desktop-nav a::after {
    position: absolute;
    left: 0;
    bottom: -7px;

    width: 0;
    height: 1px;

    content: "";

    background: var(--primary);

    transition: width var(--transition);
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--primary);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 7px;

    color: var(--ink);

    font-size: 12px;
    font-weight: 600;
}

.phone-icon {
    color: var(--primary);
}

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    padding: 9px;

    border: 0;
    background: transparent;
}

.menu-toggle span {
    display: block;

    width: 100%;
    height: 2px;

    margin: 5px 0;

    background: var(--ink);

    transition: transform var(--transition);
}

.mobile-nav {
    display: none;
}


/* =========================================================
   8. HERO
   ========================================================= */

.hero {
    padding: 165px 0 105px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    align-items: center;
    gap: 72px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    max-width: 650px;
    margin: 0;

    color: var(--ink);

    font-family: var(--serif);
    font-size: clamp(52px, 6vw, 82px);
    font-weight: 600;
    line-height: 0.99;
    letter-spacing: -0.045em;
}

.hero-description {
    max-width: 590px;
    margin: 28px 0 22px;

    color: #565656;

    font-family: var(--serif);
    font-size: 18px;
    line-height: 1.65;
}

.open-status {
    display: flex;
    align-items: center;
    gap: 7px;

    margin-bottom: 31px;

    color: var(--muted);
    font-size: 12px;
}

.open-status strong {
    color: #333333;
}

.status-dot {
    width: 8px;
    height: 8px;

    margin-right: 2px;

    border-radius: 50%;

    background: var(--success);
    box-shadow: 0 0 0 4px rgba(41, 155, 85, 0.12);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-trust {
    display: flex;
    gap: 0;

    margin-top: 55px;
    padding-top: 24px;

    border-top: 1px solid var(--border);
}

.hero-trust > div {
    display: flex;
    flex-direction: column;

    padding-right: 27px;
    margin-right: 27px;

    border-right: 1px solid var(--border);
}

.hero-trust > div:last-child {
    margin: 0;
    padding: 0;

    border: 0;
}

.hero-trust strong {
    color: var(--ink);

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hero-trust span {
    margin-top: 2px;

    color: var(--muted);

    font-size: 11px;
}

.hero-image-wrap {
    position: relative;
}

.hero-image-frame {
    position: relative;

    aspect-ratio: 1.16 / 1;

    overflow: hidden;

    background: #eeeeee;
}

.hero-image-frame::after {
    position: absolute;
    inset: 0;

    content: "";

    border: 1px solid rgba(255, 255, 255, 0.25);

    pointer-events: none;
}

.hero-image-frame img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.hero-location-card {
    position: absolute;
    left: 24px;
    bottom: 24px;

    display: flex;
    align-items: center;
    gap: 12px;

    min-width: 210px;

    padding: 16px 19px;

    color: var(--white);
    background: var(--primary);

    box-shadow: 0 16px 40px rgba(40, 38, 80, 0.2);
}

.location-icon {
    display: grid;
    place-items: center;

    width: 34px;
    height: 34px;

    border: 1px solid rgba(255, 255, 255, 0.3);

    font-size: 18px;
}

.hero-location-card strong,
.hero-location-card span {
    display: block;
}

.hero-location-card strong {
    font-size: 12px;
}

.hero-location-card span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 10px;
}


/* =========================================================
   9. TRUST BAR
   ========================================================= */

.trust-bar {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;

    min-height: 104px;

    padding: 20px 24px;

    border-right: 1px solid var(--border);
}

.trust-item:first-child {
    padding-left: 0;
}

.trust-item:last-child {
    border-right: 0;
}

.trust-number {
    color: var(--primary);

    font-family: var(--serif);
    font-size: 17px;
}

.trust-item strong,
.trust-item span {
    display: block;
}

.trust-item strong {
    color: var(--ink);

    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.trust-item span {
    color: var(--muted);
    font-size: 10px;
}


/* =========================================================
   10. ABOUT
   ========================================================= */

.section-intro {
    max-width: 850px;
    margin-bottom: 65px;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 100px;
    align-items: start;
}

.about-statement {
    position: relative;
    padding-top: 18px;
}

.quote-mark {
    position: absolute;
    top: -30px;
    left: -5px;

    color: var(--primary-light);

    font-family: Georgia, serif;
    font-size: 110px;
    line-height: 1;
}

.about-statement p {
    position: relative;
    z-index: 1;

    max-width: 450px;
    margin: 0;

    color: var(--ink);

    font-family: var(--serif);
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.22;
}

.about-content {
    padding-top: 7px;
}

.about-content p {
    max-width: 650px;

    color: var(--muted);

    font-family: var(--serif);
    font-size: 16px;
}

.about-content .lead {
    margin-top: 0;

    color: #363636;

    font-size: 19px;
    line-height: 1.7;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-top: 15px;
    padding-bottom: 6px;

    color: var(--primary);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.07em;
    text-transform: uppercase;

    border-bottom: 1px solid var(--primary);

    transition: gap var(--transition);
}

.text-link:hover {
    gap: 15px;
}


/* =========================================================
   11. PRACTICE AREAS
   ========================================================= */

.practice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    margin-top: 65px;

    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.practice-card {
    position: relative;

    min-height: 320px;
    padding: 30px;

    background: var(--white);

    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        background var(--transition);
}

.practice-card:hover {
    z-index: 2;

    background: var(--primary);

    transform: translateY(-5px);

    box-shadow: 0 18px 40px rgba(55, 52, 100, 0.16);
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-number {
    color: var(--primary);

    font-family: var(--serif);
    font-size: 16px;
}

.card-icon {
    display: grid;
    place-items: center;

    width: 45px;
    height: 45px;

    color: var(--primary);

    border: 1px solid rgba(77, 74, 134, 0.2);

    font-size: 20px;
}

.practice-card h3 {
    margin: 52px 0 12px;

    color: var(--ink);

    font-family: var(--serif);
    font-size: 26px;
    line-height: 1.2;
}

.practice-card p {
    margin: 0;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.75;
}

.practice-card > a {
    display: inline-flex;
    gap: 8px;

    margin-top: 26px;

    color: var(--primary);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.practice-card:hover .card-number,
.practice-card:hover .card-icon,
.practice-card:hover h3,
.practice-card:hover p,
.practice-card:hover > a {
    color: var(--white);
}

.practice-card:hover .card-icon {
    border-color: rgba(255, 255, 255, 0.35);
}


/* =========================================================
   12. WHY US / LEGAL LIBRARY VISUAL
   ========================================================= */

.why-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 100px;
    align-items: center;
}

.why-visual {
    position: relative;

    width: 100%;
    min-width: 0;
}

.why-image {
    position: relative;

    width: 100%;
    height: 620px;
    min-height: 620px;

    overflow: hidden;

    border-radius: 20px;

    background: #eeeeee;
}

.why-image iframe {
    display: block;

    width: 100%;
    height: 100%;
    min-height: 0;

    border: 0;
}

.vertical-label {
    position: absolute;
    z-index: 3;

    top: 50%;
    left: -12px;

    color: var(--primary);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.2em;

    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.why-content h2 {
    max-width: 620px;
}

.why-intro {
    max-width: 570px;
    margin: 25px 0 35px;

    color: var(--muted);

    font-family: var(--serif);
    font-size: 17px;
}

.reason {
    display: grid;
    grid-template-columns: 45px 1fr;
    gap: 18px;

    padding: 23px 0;

    border-top: 1px solid var(--border);
}

.reason:last-child {
    border-bottom: 1px solid var(--border);
}

.reason > span {
    color: var(--primary);

    font-family: var(--serif);
    font-size: 14px;
}

.reason h3 {
    margin: 0 0 5px;

    color: var(--ink);

    font-family: var(--serif);
    font-size: 19px;
}

.reason p {
    max-width: 500px;
    margin: 0;

    color: var(--muted);

    font-size: 12px;
}


/* =========================================================
   13. TESTIMONIALS
   ========================================================= */

.testimonial-slider {
    position: relative;

    display: block;

    margin-top: 60px;
}

.testimonial-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    overflow: hidden;
}

.testimonial {
    position: relative;

    min-height: 290px;
    padding: 32px;

    background: var(--white);

    border-right: 1px solid var(--border);
}

.testimonial:first-child {
    border-left: 1px solid var(--border);
}

.stars {
    margin-bottom: 4px;

    color: var(--gold);

    font-size: 17px;
    letter-spacing: 2px;
}

.review-age {
    color: #8b8b8b;
    font-size: 10px;
}

.testimonial blockquote {
    margin: 31px 0 30px;

    color: #303030;

    font-family: var(--serif);
    font-size: 17px;
    line-height: 1.5;
}

.review-author strong {
    color: var(--primary);

    font-size: 12px;
    font-weight: 700;
}

.slider-button {
    display: none;

    color: var(--primary);
    background: var(--white);

    border: 1px solid var(--border);
}

.review-actions {
    display: flex;
    justify-content: center;
    gap: 30px;

    margin-top: 38px;
}


/* =========================================================
   14. CTA
   ========================================================= */

.cta-section {
    color: var(--white);
    background: var(--primary);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;

    padding-top: 75px;
    padding-bottom: 75px;
}

.cta-inner p {
    margin: 14px 0 0;

    color: rgba(255, 255, 255, 0.7);

    font-size: 14px;
}

.cta-buttons {
    display: flex;
    gap: 10px;

    flex-shrink: 0;
}


/* =========================================================
   15. QUOTE FORM
   ========================================================= */

.quote-section {
    background: var(--white);
}

.quote-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 100px;
    align-items: start;
}

.quote-info p {
    max-width: 500px;
    margin: 28px 0;

    color: var(--muted);

    font-family: var(--serif);
    font-size: 16px;
}

.quote-contact {
    margin-top: 38px;
}

.quote-contact a {
    display: flex;
    align-items: center;
    gap: 15px;

    padding: 16px 0;

    border-top: 1px solid var(--border);
}

.quote-contact a:last-child {
    border-bottom: 1px solid var(--border);
}

.quote-contact > a > span {
    display: grid;
    place-items: center;

    width: 38px;
    height: 38px;

    color: var(--primary);

    border: 1px solid var(--border);
}

.quote-contact small,
.quote-contact strong {
    display: block;
}

.quote-contact small {
    color: var(--muted);

    font-size: 9px;

    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.quote-contact strong {
    color: var(--ink);
    font-size: 13px;
}

.contact-form {
    padding: 40px;

    background: var(--off-white);
    border: 1px solid var(--border);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-field {
    margin-bottom: 20px;
}

.form-field label {
    display: block;

    margin-bottom: 8px;

    color: var(--ink);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.form-field label span {
    color: var(--error);
}

.form-field input,
.form-field select,
.form-field textarea {
    display: block;

    width: 100%;

    padding: 13px 14px;

    color: var(--ink);
    background: var(--white);

    border: 1px solid var(--border);
    border-radius: 0;

    outline: none;

    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}

.form-field textarea {
    min-height: 130px;
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 3px rgba(77, 74, 134, 0.08);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #aaaaaa;
}

.error-message {
    display: block;

    min-height: 0;
    margin-top: 5px;

    color: var(--error);

    font-size: 10px;
}

.form-field.error input,
.form-field.error textarea,
.form-field.error select {
    border-color: var(--error);
}

.form-submit {
    border: 0;
}

.privacy-note {
    margin: 13px 0 0;

    color: #888888;
    font-size: 10px;
}

.form-success {
    display: none;

    margin-top: 18px;
    padding: 12px 15px;

    color: #206c3b;
    background: #eaf7ee;

    font-size: 12px;
}

.form-success.show {
    display: block;
}


/* =========================================================
   16. CONTACT
   ========================================================= */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    margin-top: 60px;

    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.contact-card {
    min-height: 350px;
    padding: 34px;

    background: var(--white);

    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.contact-card-title {
    display: flex;
    align-items: center;
    gap: 13px;

    margin-bottom: 28px;
}

.contact-icon {
    display: grid;
    place-items: center;

    width: 38px;
    height: 38px;

    color: var(--primary);

    border: 1px solid var(--border);
}

.contact-card h3 {
    margin: 0;

    color: var(--ink);

    font-family: var(--serif);
    font-size: 25px;
}

.contact-action {
    display: inline-block;

    margin-bottom: 20px;
    padding: 12px 20px;

    color: var(--white);
    background: var(--primary);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.08em;
    text-transform: uppercase;

    transition: background var(--transition);
}

.contact-action:hover {
    background: var(--primary-dark);
}

.contact-value {
    display: block;

    color: var(--ink);

    font-family: var(--serif);
    font-size: 21px;
}

.contact-card address {
    color: var(--muted);

    font-family: var(--serif);
    font-size: 15px;
    line-height: 1.65;
}

.hours {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hours div {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 7px;

    font-size: 11px;
}

.hours span {
    color: var(--muted);
}

.hours strong {
    color: var(--ink);
    font-weight: 500;
}

.map-wrapper {
    position: relative;

    height: 430px;

    margin-top: 60px;

    overflow: hidden;

    border: 1px solid var(--border);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;

    border: 0;

    filter: grayscale(0.2);
}

.map-button {
    position: absolute;
    right: 25px;
    bottom: 25px;

    padding: 14px 20px;

    color: var(--white);
    background: var(--primary);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.08em;
    text-transform: uppercase;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.16);
}


/* =========================================================
   17. FOOTER
   ========================================================= */

.footer {
    color: rgba(255, 255, 255, 0.7);
    background: var(--dark);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;

    padding-top: 75px;
    padding-bottom: 65px;
}

.brand-footer .brand-text strong {
    color: var(--white);
}

.footer-brand > p {
    max-width: 310px;

    margin: 25px 0 20px;

    color: rgba(255, 255, 255, 0.5);

    font-size: 12px;
    line-height: 1.8;
}

.footer-phone {
    color: var(--white);

    font-family: var(--serif);
    font-size: 20px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}

.footer-column h3 {
    margin: 0 0 13px;

    color: var(--white);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.55);

    font-size: 11px;

    transition: color var(--transition);
}

.footer-column a:hover {
    color: var(--white);
}

.footer-address address {
    margin-bottom: 10px;

    color: rgba(255, 255, 255, 0.5);

    font-size: 11px;
    line-height: 1.8;
}

.footer-address > a {
    color: #b9b5ff;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 75px;

    color: rgba(255, 255, 255, 0.4);

    font-size: 10px;

    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom div {
    display: flex;
    gap: 20px;
}

.footer-bottom a:hover {
    color: var(--white);
}


/* =========================================================
   18. MOBILE ACTION BAR
   ========================================================= */

.mobile-action-bar {
    display: none;
}


/* =========================================================
   19. BACK TO TOP
   ========================================================= */

.back-to-top {
    position: fixed;
    z-index: 100;

    right: 25px;
    bottom: 25px;

    display: grid;
    place-items: center;

    width: 43px;
    height: 43px;

    color: var(--primary);
    background: var(--white);

    border: 1px solid var(--border);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity var(--transition),
        visibility var(--transition),
        transform var(--transition);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
}


/* =========================================================
   20. SCROLL REVEAL
   ========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(25px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.visible,
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   21. LEGAL WORD CLOUD
   ========================================================= */

#legalWordCloud {
    position: relative;

    width: 100%;
    max-width: 680px;

    margin: 0 auto;

    overflow: visible;
}

#legalWordCloud .word-cloud-image {
    display: block;

    width: 100%;
    max-width: 100%;
    height: auto;

    object-fit: contain;
}

#legalWordCloud .word-hotspot {
    position: absolute;
    z-index: 10;

    width: 52px;
    height: 36px;

    padding: 0;
    margin: 0;

    background: transparent;
    border: 0;

    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;

    transform: translate(-50%, -50%);
}

#legalWordCloud .word-hotspot:hover {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
}

#legalWordCloud .word-hotspot:focus-visible {
    outline: 2px solid #c9a96e;
    outline-offset: 3px;

    border-radius: 4px;
}

#legalWordCloud .word-definition {
    position: absolute;
    z-index: 50;

    left: 50%;
    bottom: 30px;

    width: min(380px, calc(100% - 40px));

    padding: 28px;

    color: var(--ink);
    background: var(--white);

    border: 1px solid rgba(0, 0, 0, 0.08);

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);

    opacity: 0;
    visibility: hidden;

    transform: translate(-50%, 15px);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s ease;
}

#legalWordCloud .word-definition.active {
    opacity: 1;
    visibility: visible;

    transform: translate(-50%, 0);
}

#legalWordCloud .word-definition h3 {
    margin: 0 35px 10px 0;

    font-family: var(--serif);
    font-size: 22px;
    line-height: 1.25;
}

#legalWordCloud .word-definition p {
    margin: 0;

    font-size: 15px;
    line-height: 1.65;
}

#legalWordCloud .definition-close {
    position: absolute;
    z-index: 5;

    top: 10px;
    right: 12px;

    width: 32px;
    height: 32px;

    padding: 0;

    color: inherit;
    background: transparent;

    border: 0;

    font-size: 26px;
    line-height: 1;

    cursor: pointer;
}

#legalWordCloud .definition-close:hover {
    opacity: 0.6;
}


/* =========================================================
   22. LEGAL LIBRARY / BOOKSHELF
   ========================================================= */

.library {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;
    padding: 30px 25px 45px;

    background: var(--dark-surface);

    border-radius: 8px;

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.library-title {
    margin: 0 0 25px;

    color: var(--white);

    text-align: center;

    font-family: var(--serif);
    font-size: 28px;

    letter-spacing: 4px;
}

.bookshelf {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;

    min-height: 450px;

    padding: 30px 20px 20px;

    background: var(--dark-deep);

    border-bottom: 18px solid #333333;

    box-shadow:
        inset 0 0 30px rgba(0, 0, 0, 0.9),
        0 12px 0 #1a1a1a;
}

.book {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 260px;

    flex-shrink: 0;

    color: var(--white);
    background: #050505;

    border-radius: 3px 4px 3px 2px;

    border-left: 2px solid #333333;
    border-right: 2px solid #000000;

    box-shadow:
        inset 4px 0 0 rgba(255, 255, 255, 0.08),
        inset -5px 0 0 rgba(0, 0, 0, 0.8),
        3px 4px 6px rgba(0, 0, 0, 0.6);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.book:hover {
    z-index: 20;

    transform: translateY(-15px) !important;

    box-shadow:
        0 18px 25px rgba(0, 0, 0, 0.7),
        inset 4px 0 0 rgba(255, 255, 255, 0.15);
}

.book-title {
    max-height: 220px;

    overflow: hidden;

    color: var(--white);

    font-size: 11px;
    font-weight: 700;

    text-align: center;
    text-transform: uppercase;

    letter-spacing: 1.5px;

    white-space: nowrap;

    writing-mode: vertical-rl;

    transform: rotate(180deg);

    text-shadow: 0 1px 2px #000000;
}

.book.large {
    width: 78px;
    height: 350px;
}

.book.large .book-title {
    font-size: 20px;
    letter-spacing: 2px;
}

.book.medium {
    width: 60px;
    height: 305px;
}

.book.medium .book-title {
    font-size: 14px;
}


/* =========================================================
   23. RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1024px) {

    .desktop-nav {
        gap: 18px;
        margin-right: 18px;
    }

    .phone-link {
        display: none;
    }

    .hero-grid {
        gap: 45px;
    }

    .about-grid,
    .why-grid,
    .quote-grid {
        gap: 60px;
    }

    .footer-main {
        gap: 35px;
    }

    /* Legal library visual */
    .why-image {
        height: 520px;
        min-height: 520px;
    }

    /* Word cloud */
    #legalWordCloud {
        max-width: 600px;
    }

    #legalWordCloud .word-hotspot {
        width: 46px;
        height: 32px;
    }

    #legalWordCloud .word-definition {
        bottom: 20px;

        width: min(360px, calc(100% - 30px));

        padding: 24px;
    }
}


/* =========================================================
   24. RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 800px) {

    html {
        scroll-padding-top: 72px;
    }

    body {
        padding-bottom: 65px;
    }

    .container {
        width: min(calc(100% - 34px), var(--container));
    }

    .section {
        padding: 80px 0;
    }


    /* -----------------------------------------------------
       Header
       ----------------------------------------------------- */

    .nav-container {
        min-height: 72px;
    }

    .desktop-nav,
    .header-actions {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .mobile-nav {
        display: flex;
        flex-direction: column;

        max-height: 0;

        overflow: hidden;

        padding: 0 17px;

        background: var(--white);

        transition:
            max-height 0.35s ease,
            padding 0.35s ease;
    }

    .mobile-nav.open {
        max-height: 450px;

        padding: 10px 17px 20px;

        border-top: 1px solid var(--border);
    }

    .mobile-nav a {
        padding: 13px 5px;

        color: var(--ink);

        font-size: 13px;
        font-weight: 600;

        border-bottom: 1px solid var(--border);
    }

    .mobile-nav .mobile-call {
        margin-top: 12px;

        color: var(--white);
        background: var(--primary);

        text-align: center;

        border: 0;
    }


    /* -----------------------------------------------------
       Hero
       ----------------------------------------------------- */

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

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero h1 {
        font-size: clamp(48px, 14vw, 70px);
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-trust {
        margin-top: 40px;
    }

    .hero-trust > div {
        padding-right: 14px;
        margin-right: 14px;
    }

    .hero-trust strong,
    .hero-trust span {
        font-size: 9px;
    }

    .hero-location-card {
        left: 15px;
        bottom: 15px;
    }


    /* -----------------------------------------------------
       Trust Bar
       ----------------------------------------------------- */

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

    .trust-item,
    .trust-item:first-child {
        padding: 18px;

        border-bottom: 1px solid var(--border);
    }

    .trust-item:nth-child(2) {
        border-right: 0;
    }

    .trust-item:nth-child(3),
    .trust-item:nth-child(4) {
        border-bottom: 0;
    }


    /* -----------------------------------------------------
       Headings
       ----------------------------------------------------- */

    .section-heading h2,
    .section-intro h2,
    .why-content h2,
    .quote-info h2,
    .cta-inner h2 {
        font-size: 43px;
    }


    /* -----------------------------------------------------
       About
       ----------------------------------------------------- */

    .section-intro {
        margin-bottom: 45px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-statement p {
        font-size: 30px;
    }


    /* -----------------------------------------------------
       Practice
       ----------------------------------------------------- */

    .practice-grid {
        grid-template-columns: 1fr;

        margin-top: 45px;
    }

    .practice-card {
        min-height: auto;
        padding: 27px;
    }

    .practice-card h3 {
        margin-top: 38px;
    }


    /* -----------------------------------------------------
       Why Us
       ----------------------------------------------------- */

    .why-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .why-visual {
        min-height: 420px;
    }

    .why-image {
        height: 430px;
        min-height: 430px;

        border-radius: 16px;
    }

    .vertical-label {
        left: -3px;
    }


    /* -----------------------------------------------------
       Testimonials
       ----------------------------------------------------- */

    .testimonial-slider {
        display: block;
        margin-top: 45px;
    }

    .testimonial-track {
        display: flex;
        overflow: hidden;
    }

    .testimonial {
        flex: 0 0 100%;

        min-height: 270px;

        border-left: 1px solid var(--border);
        border-right: 0;
    }

    .slider-button {
        position: absolute;
        z-index: 3;

        top: 50%;

        display: grid;
        place-items: center;

        width: 38px;
        height: 38px;

        transform: translateY(-50%);
    }

    .slider-button.prev {
        left: 10px;
    }

    .slider-button.next {
        right: 10px;
    }


    /* -----------------------------------------------------
       CTA
       ----------------------------------------------------- */

    .cta-inner {
        flex-direction: column;
        align-items: flex-start;

        padding-top: 65px;
        padding-bottom: 65px;
    }

    .cta-buttons {
        width: 100%;
    }

    .cta-buttons .btn {
        flex: 1;
    }


    /* -----------------------------------------------------
       Quote Form
       ----------------------------------------------------- */

    .quote-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-form {
        padding: 25px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }


    /* -----------------------------------------------------
       Contact
       ----------------------------------------------------- */

    .contact-grid {
        grid-template-columns: 1fr;

        margin-top: 45px;
    }

    .contact-card {
        min-height: auto;
    }

    .map-wrapper {
        height: 350px;
        margin-top: 35px;
    }


    /* -----------------------------------------------------
       Footer
       ----------------------------------------------------- */

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 45px 30px;

        padding-top: 60px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        gap: 12px;

        padding: 20px 0;

        text-align: center;
    }


    /* -----------------------------------------------------
       Mobile Bottom Action Bar
       ----------------------------------------------------- */

    .mobile-action-bar {
        position: fixed;
        z-index: 1001;

        left: 0;
        right: 0;
        bottom: 0;

        display: grid;
        grid-template-columns: repeat(3, 1fr);

        height: 64px;

        background: var(--white);

        border-top: 1px solid var(--border);

        box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.08);
    }

    .mobile-action-bar a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;

        color: var(--ink);

        font-size: 9px;
        font-weight: 700;

        letter-spacing: 0.05em;
        text-transform: uppercase;
    }

    .mobile-action-bar a + a {
        border-left: 1px solid var(--border);
    }

    .mobile-action-bar span {
        color: var(--primary);
        font-size: 16px;
    }

    .mobile-action-bar a:nth-child(2) {
        color: var(--white);
        background: var(--primary);
    }

    .mobile-action-bar a:nth-child(2) span {
        color: var(--white);
    }

    .back-to-top {
        display: none;
    }


    /* -----------------------------------------------------
       Legal Word Cloud
       ----------------------------------------------------- */

    #legalWordCloud {
        width: 100%;
        max-width: 100%;
    }

    #legalWordCloud .word-cloud-image {
        width: 100%;
        height: auto;
    }

    #legalWordCloud .word-hotspot {
        width: 42px;
        height: 32px;
    }

    #legalWordCloud .word-definition {
        left: 50%;
        bottom: 15px;

        width: calc(100% - 24px);

        padding: 22px 20px;
    }

    #legalWordCloud .word-definition h3 {
        font-size: 19px;
    }

    #legalWordCloud .word-definition p {
        font-size: 14px;
        line-height: 1.6;
    }

/* =========================================================
   LEGAL LIBRARY
   ========================================================= */

.legal-library-section {
    position: relative;
}

.legal-library {
    width: 100%;
    max-width: 1400px;
    margin: 60px auto 0;

    padding: 30px 25px 35px;

    background: #222;

    border-radius: 8px;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, .25);
}


/* =========================================================
   LIBRARY TITLE
   ========================================================= */

.library-title {
    margin: 0 0 25px;

    color: #fff;

    font-family: var(--serif);

    font-size: 28px;
    font-weight: 600;

    letter-spacing: 4px;

    text-align: center;
}


/* =========================================================
   BOOKSHELF
   Fixed viewing area + vertical scrolling
   ========================================================= */

.bookshelf {
    position: relative;

    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;

    gap: 6px;

    width: 100%;
    height: 520px;

    padding: 30px 20px 35px;

    overflow-x: hidden;
    overflow-y: auto;

    background: #111;

    border-bottom: 18px solid #333;

    box-shadow:
        inset 0 0 30px rgba(0, 0, 0, .9),
        0 12px 0 #1a1a1a;

    /*
     * Keeps scrollbar inside the bookshelf.
     */
    scrollbar-width: thin;
    scrollbar-color: #777 #222;
}


/* =========================================================
   WEBKIT SCROLLBAR
   ========================================================= */

.bookshelf::-webkit-scrollbar {
    width: 10px;
}

.bookshelf::-webkit-scrollbar-track {
    background: #222;
}

.bookshelf::-webkit-scrollbar-thumb {
    background: #666;

    border-radius: 10px;

    border: 2px solid #222;
}

.bookshelf::-webkit-scrollbar-thumb:hover {
    background: #888;
}


/* =========================================================
   BOOK
   ========================================================= */

.book {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 48px;

    width: 48px;
    height: 260px;

    color: #fff;

    background: #050505;

    border-left: 2px solid #333;
    border-right: 2px solid #000;

    border-radius: 3px 4px 3px 2px;

    box-shadow:
        inset 4px 0 0 rgba(255, 255, 255, .08),
        inset -5px 0 0 rgba(0, 0, 0, .8),
        3px 4px 6px rgba(0, 0, 0, .6);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;

    /*
     * Important:
     * prevents flex items from shrinking.
     */
    flex-shrink: 0;
}


/* =========================================================
   MEDIUM BOOK
   ========================================================= */

.book.medium {
    flex-basis: 60px;

    width: 60px;
    height: 305px;
}


/* =========================================================
   LARGE BOOK
   ========================================================= */

.book.large {
    flex-basis: 78px;

    width: 78px;
    height: 350px;
}


/* =========================================================
   BOOK TITLE
   ========================================================= */

.book-title {
    display: block;

    max-width: 100%;
    max-height: 280px;

    overflow: hidden;

    color: #fff;

    font-family: var(--sans);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.5px;

    line-height: 1.2;

    text-align: center;

    text-transform: uppercase;

    white-space: nowrap;

    writing-mode: vertical-rl;

    transform: rotate(180deg);

    text-shadow:
        0 1px 2px #000;
}


/* Medium text */

.book.medium .book-title {
    font-size: 14px;
}


/* Large text */

.book.large .book-title {
    font-size: 20px;

    letter-spacing: 2px;
}


/* =========================================================
   BOOK HOVER
   ========================================================= */

.book:hover {
    transform: translateY(-15px);

    background: #111;

    box-shadow:
        0 18px 25px rgba(0, 0, 0, .7),
        inset 4px 0 0 rgba(255, 255, 255, .15);

    z-index: 20;
}


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

@media (max-width: 800px) {

    .legal-library {
        margin-top: 45px;

        padding: 22px 15px 30px;
    }

    .library-title {
        margin-bottom: 20px;

        font-size: 22px;

        letter-spacing: 3px;
    }

    .bookshelf {
        height: 450px;

        gap: 5px;

        padding: 25px 15px 30px;
    }

    .book {
        flex-basis: 38px;

        width: 38px;
        height: 220px;
    }

    .book.medium {
        flex-basis: 48px;

        width: 48px;
        height: 255px;
    }

    .book.large {
        flex-basis: 60px;

        width: 60px;
        height: 290px;
    }

    .book-title {
        font-size: 8px;

        letter-spacing: 1px;
    }

    .book.medium .book-title {
        font-size: 10px;
    }

    .book.large .book-title {
        font-size: 13px;
    }
}


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

@media (max-width: 480px) {

    .legal-library {
        margin-top: 35px;

        padding: 18px 10px 25px;
    }

    .library-title {
        margin-bottom: 18px;

        font-size: 18px;

        letter-spacing: 2px;
    }

    .bookshelf {
        height: 390px;

        gap: 4px;

        padding: 20px 10px 25px;

        /*
         * Prevent horizontal overflow.
         */
        overflow-x: hidden;
        overflow-y: auto;
    }

    .book {
        flex-basis: 30px;

        width: 30px;
        height: 190px;
    }

    .book.medium {
        flex-basis: 38px;

        width: 38px;
        height: 220px;
    }

    .book.large {
        flex-basis: 48px;

        width: 48px;
        height: 250px;
    }

    .book-title {
        font-size: 7px;

        letter-spacing: .8px;
    }

    .book.medium .book-title {
        font-size: 8px;
    }

    .book.large .book-title {
        font-size: 10px;
    }
}

/* =========================================================
   LEGAL LIBRARY
   SEO-FRIENDLY HTML VERSION
   ========================================================= */

.legal-library-section {
    position: relative;
}

.legal-library {
    width: 100%;
    max-width: 1400px;
    margin: 60px auto 0;

    padding: 25px;

    background: #222;
    border-radius: 8px;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, .25);
}


/* =========================================================
   SCROLL AREA
   ========================================================= */

.legal-library-scroll {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;

    gap: 6px;

    width: 100%;
    height: 520px;

    padding: 30px 25px 25px;

    overflow-x: auto;
    overflow-y: hidden;

    background: #111;

    border-bottom: 18px solid #333;

    box-shadow:
        inset 0 0 30px rgba(0, 0, 0, .9),
        0 12px 0 #1a1a1a;

    scrollbar-width: thin;
    scrollbar-color: #777 #222;
}


/* Chrome / Edge / Safari */

.legal-library-scroll::-webkit-scrollbar {
    height: 10px;
}

.legal-library-scroll::-webkit-scrollbar-track {
    background: #222;
}

.legal-library-scroll::-webkit-scrollbar-thumb {
    background: #777;
    border-radius: 10px;
}

.legal-library-scroll::-webkit-scrollbar-thumb:hover {
    background: #999;
}


/* =========================================================
   BOOK
   ========================================================= */

.legal-book {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 48px;

    width: 48px;
    height: 260px;

    color: #fff;
    background: #050505;

    border-left: 2px solid #333;
    border-right: 2px solid #000;

    border-radius: 3px 4px 3px 2px;

    box-shadow:
        inset 4px 0 0 rgba(255, 255, 255, .08),
        inset -5px 0 0 rgba(0, 0, 0, .8),
        3px 4px 6px rgba(0, 0, 0, .6);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        background var(--transition);

    cursor: default;
}


/* =========================================================
   BOOK VARIANTS
   ========================================================= */

.legal-book.medium {
    flex-basis: 60px;

    width: 60px;
    height: 305px;
}

.legal-book.large {
    flex-basis: 78px;

    width: 78px;
    height: 350px;
}


/* =========================================================
   BOOK TEXT
   ========================================================= */

.legal-book span {
    display: block;

    max-height: 280px;
    overflow: hidden;

    color: #fff;

    font-family: var(--sans);
    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.5px;
    text-transform: uppercase;

    text-align: center;
    white-space: nowrap;

    writing-mode: vertical-rl;
    transform: rotate(180deg);

    text-shadow: 0 1px 2px #000;
}

.legal-book.medium span {
    font-size: 14px;
}

.legal-book.large span {
    font-size: 20px;
    letter-spacing: 2px;
}


/* =========================================================
   HOVER
   ========================================================= */

.legal-book:hover {
    transform: translateY(-15px);

    background: #111;

    box-shadow:
        0 18px 25px rgba(0, 0, 0, .7),
        inset 4px 0 0 rgba(255, 255, 255, .15);

    z-index: 20;
}


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

@media (max-width: 800px) {

    .legal-library {
        margin-top: 45px;
        padding: 15px;
    }

    .legal-library-scroll {
        height: 430px;

        gap: 4px;

        padding: 20px 15px 15px;
    }

    .legal-book {
        flex-basis: 36px;

        width: 36px;
        height: 220px;
    }

    .legal-book.medium {
        flex-basis: 46px;

        width: 46px;
        height: 255px;
    }

    .legal-book.large {
        flex-basis: 58px;

        width: 58px;
        height: 290px;
    }

    .legal-book span {
        font-size: 8px;
        letter-spacing: 1px;
    }

    .legal-book.medium span {
        font-size: 10px;
    }

    .legal-book.large span {
        font-size: 13px;
        letter-spacing: 1.2px;
    }
}


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

@media (max-width: 480px) {

    .legal-library {
        padding: 10px;
        border-radius: 6px;
    }

    .legal-library-scroll {
        height: 380px;

        padding: 15px 10px 12px;

        overflow-x: auto;
        overflow-y: hidden;
    }

    .legal-book {
        flex-basis: 30px;

        width: 30px;
        height: 190px;
    }

    .legal-book.medium {
        flex-basis: 38px;

        width: 38px;
        height: 220px;
    }

    .legal-book.large {
        flex-basis: 48px;

        width: 48px;
        height: 250px;
    }

    .legal-book span {
        font-size: 7px;
        letter-spacing: .8px;
    }

    .legal-book.medium span {
        font-size: 8px;
    }

    .legal-book.large span {
        font-size: 10px;
    }
}


/* =========================================================
   LEGAL LIBRARY — MOBILE
   =========================================================

@media (max-width: 480px) {

    .library {
        padding: 20px 10px 18px;
        border-radius: 6px;
    }

    .library-title {
        font-size: 18px;
        letter-spacing: 2px;
    }

    .bookshelf {
        min-height: 330px;
        max-height: 370px;

        gap: 4px;

        padding: 20px 10px 15px;

        border-bottom-width: 12px;
    }

    .book {
        flex-basis: 32px;

        width: 32px;
        height: 190px;
    }

    .book.medium {
        flex-basis: 40px;

        width: 40px;
        height: 220px;
    }

    .book.large {
        flex-basis: 50px;

        width: 50px;
        height: 245px;
    }

    .book-title {
        font-size: 8px;
        letter-spacing: 1px;
    }

    .book.medium .book-title {
        font-size: 9px;
    }

    .book.large .book-title {
        font-size: 11px;
    } */    

}
}