:root {
    --gold-deep: #7A5C18;
    --gold-mid: #B8892A;
    --gold-bright: #D4B86A;
    --gold-light: #F0E6C8;
    --gold-accent: #C9A84C;
    --gold-shadow: rgba(184, 137, 42, 0.45);
}

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

.gold-border-offset {
    position: relative;
}
.gold-border-offset::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold-accent);
    z-index: -1;
}

.timeline-gradient {
    background: linear-gradient(to bottom, #0D1F3C, #1A3460);
}

.trust-bar-gold {
    background: linear-gradient(135deg, #6B4E14 0%, #9A7428 35%, #B8892A 65%, #8B6914 100%);
}

.hero-section {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    min-height: calc(75dvh - 200px);
    padding-top: 5.5rem;
    padding-bottom: 2.5rem;
}

.hero-section > .hero-section__inner {
    flex: 1;
}

.hero-section__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: calc(75dvh - 8rem - 200px);
}

.hero-section__media {
    display: flex;
    justify-content: center;
    align-items: center;
    order: -1;
}

.hero-portrait {
    position: relative;
    width: 100%;
    max-width: 280px;
}

.hero-portrait__img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center top;
    filter: none !important;
    -webkit-filter: none !important;
}

@media (min-width: 640px) {
    .hero-portrait {
        max-width: 320px;
    }
}

@media (min-width: 768px) {
    .hero-section {
        min-height: calc(100dvh - 200px);
        padding-top: 6.5rem;
        padding-bottom: 3rem;
    }

    .hero-section__inner {
        grid-template-columns: 45% 45%;
        gap: 10%;
        align-items: center;
        min-height: calc(100dvh - 9.5rem - 200px);
    }

    .hero-section__content {
        width: 100%;
    }

    .hero-section__media {
        order: 0;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .hero-portrait {
        max-width: none;
        width: 100%;
        height: auto;
    }

    .hero-portrait__img {
        width: 100%;
        height: auto;
        max-height: none;
    }
}

@media (min-width: 1024px) {
    .hero-section {
        padding-top: 7rem;
        padding-bottom: 3.5rem;
    }

    .hero-title__line {
        font-size: clamp(2.25rem, 3.4vw, 3.5rem);
    }
}

.section-audience {
    padding-top: 4rem;
    padding-bottom: 1.5rem;
}

@media (min-width: 1024px) {
    .section-audience {
        padding-top: 5rem;
        padding-bottom: 2rem;
    }
}

.section-stats {
    padding-top: 1rem;
    padding-bottom: 4rem;
}

@media (min-width: 1024px) {
    .section-stats {
        padding-top: 1.25rem;
        padding-bottom: 5rem;
    }
}

.section-recommendations {
    padding-top: 2.5rem;
    padding-bottom: 4rem;
}

@media (min-width: 1024px) {
    .section-recommendations {
        padding-top: 3rem;
        padding-bottom: 5rem;
    }
}

.hero-section__content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .hero-section__content {
        gap: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .hero-section__content {
        gap: 2.5rem;
    }
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.2em;
    line-height: 1.1;
}

.hero-title__line {
    display: block;
    font-size: clamp(2rem, 5.5vw, 3.5rem);
    white-space: nowrap;
    max-width: 100%;
}

.hero-subtitle {
    margin: 0;
    line-height: 1.5;
    font-size: clamp(0.8125rem, 1.15vw + 0.4rem, 1.3125rem);
}

.hero-subtitle__line {
    display: block;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .hero-subtitle {
        font-size: clamp(0.75rem, 2.9vw, 0.9375rem);
    }
}

@media (max-width: 380px) {
    .hero-title__line {
        font-size: clamp(1.625rem, 7.5vw, 2rem);
    }

    .hero-subtitle {
        font-size: clamp(0.6875rem, 2.6vw, 0.875rem);
    }
}

.hero-actions__btn {
    flex: 1 1 0;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: 9999px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
    padding: 1rem 0.875rem;
    line-height: 1.2;
}

@media (min-width: 480px) {
    .hero-actions__btn {
        font-size: 0.8125rem;
        padding: 1.0625rem 1.125rem;
        letter-spacing: 0.06em;
    }
}

@media (min-width: 768px) {
    .hero-actions__btn {
        font-size: 0.875rem;
        padding: 1.125rem 1.375rem;
    }
}

@media (min-width: 1024px) {
    .hero-actions__btn {
        font-size: 0.9375rem;
        padding: 1.1875rem 1.625rem;
        letter-spacing: 0.07em;
    }
}

.niches-marquee {
    overflow: hidden;
}

.niches-marquee__track {
    display: flex;
    width: max-content;
    flex-wrap: nowrap;
    will-change: transform;
    animation: niches-marquee var(--marquee-duration, 40s) linear infinite;
}

.niches-marquee__group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 1.5rem;
    padding-right: 1.5rem;
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    text-transform: lowercase;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .niches-marquee__group {
        font-size: 1rem;
        gap: 2rem;
        padding-right: 2rem;
    }
}

.niches-marquee__dot {
    color: rgba(255, 255, 255, 0.55);
    flex-shrink: 0;
}

@keyframes niches-marquee {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(calc(-1 * var(--marquee-shift, 50%)), 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .niches-marquee__track {
        animation: none;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
        gap: 0.5rem 1rem;
        padding: 0 1.25rem;
    }

    .niches-marquee__group:not(:first-child) {
        display: none;
    }
}

.btn-gold {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    color: #fff;
    text-shadow: 0 1px 2px rgba(30, 20, 0, 0.35);
    background: linear-gradient(
        145deg,
        var(--gold-deep) 0%,
        var(--gold-mid) 28%,
        var(--gold-bright) 52%,
        var(--gold-mid) 78%,
        #6B4E14 100%
    );
    box-shadow:
        0 4px 18px var(--gold-shadow),
        0 1px 0 rgba(255, 255, 255, 0.42) inset,
        0 -2px 6px rgba(60, 40, 0, 0.25) inset;
    transition: box-shadow 0.3s ease, transform 0.2s ease, filter 0.3s ease;
}

.btn-gold::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.28) 0%,
        rgba(255, 255, 255, 0.06) 38%,
        transparent 55%
    );
    pointer-events: none;
    z-index: 0;
}

.btn-gold::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 55%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(255, 255, 255, 0.15) 35%,
        rgba(255, 255, 255, 0.55) 50%,
        rgba(255, 255, 255, 0.15) 65%,
        transparent 100%
    );
    transform: skewX(-18deg);
    transition: left 0.65s ease;
    pointer-events: none;
    z-index: 0;
}

.btn-gold:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
    box-shadow:
        0 8px 28px rgba(201, 168, 76, 0.55),
        0 1px 0 rgba(255, 255, 255, 0.5) inset,
        0 0 20px rgba(255, 255, 255, 0.12);
}

.btn-gold:hover::after {
    left: 140%;
}

.btn-gold:active {
    transform: translateY(0);
    filter: brightness(0.98);
}

.btn-gold-outline {
    position: relative;
    overflow: hidden;
    color: var(--gold-light);
    border: 2px solid var(--gold-bright);
    background: transparent;
    box-shadow:
        0 0 0 1px rgba(212, 184, 106, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.btn-gold-outline:hover {
    color: #fff;
    background: linear-gradient(
        145deg,
        rgba(122, 92, 24, 0.35) 0%,
        rgba(184, 137, 42, 0.25) 100%
    );
    box-shadow:
        0 0 24px rgba(201, 168, 76, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

#mobile-menu:not(.open) {
    display: none;
}

.form-label {
    display: block;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
}

#contact-form .form-input {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 0.75rem;
    padding: 0.875rem 1.125rem;
    color: #fff;
    -webkit-text-fill-color: #fff;
    caret-color: #fff;
    outline: none;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

#contact-form .form-input:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background-color: rgba(255, 255, 255, 0.14);
    color: #fff;
}

#contact-form .form-input:focus {
    border-color: var(--gold-bright);
    background-color: rgba(255, 255, 255, 0.14);
    color: #fff;
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.18);
}

#contact-form .form-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
    opacity: 1;
}

#contact-form .form-input:-webkit-autofill,
#contact-form .form-input:-webkit-autofill:hover,
#contact-form .form-input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px rgba(13, 31, 60, 0.75) inset;
    -webkit-text-fill-color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    caret-color: #fff;
    transition: background-color 9999s ease-out 0s;
}

#contact-form select.form-input {
    appearance: none;
    background-color: rgba(255, 255, 255, 0.1);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.6)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.75rem;
}

#contact-form select.form-input option {
    background-color: #0D1F3C;
    color: #fff;
}

.form-row-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.form-field {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 0.5rem;
    align-content: start;
}

@media (min-width: 768px) {
    .form-row-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        align-items: end;
    }

    .form-field {
        min-height: 100%;
    }

    .form-field .form-label {
        min-height: 1rem;
    }
}

@media (min-width: 1024px) {
    #mobile-menu { display: none !important; }
}

.practice-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.practice-card.is-expanded {
    transform: translateY(-0.5rem);
}

.practice-card__body {
    flex: 1 1 auto;
    cursor: pointer;
}

.practice-card__footer {
    margin-top: auto;
    padding-top: 1.5rem;
    width: 100%;
}

.practice-card__divider {
    width: 100%;
    height: 1px;
    background-color: rgba(184, 137, 42, 0.2);
    margin-bottom: 1.5rem;
}

.practice-card__toggle-icon {
    transition: transform 0.25s ease;
}

.practice-card.is-expanded .practice-card__toggle-icon {
    transform: rotate(180deg);
}

.practice-card__toggle {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
    align-self: flex-start;
}

.about-video {
    box-shadow: 0 8px 32px rgba(13, 31, 60, 0.08);
}

.about-video__player {
    display: block;
    background: #0D1F3C;
}

.about-credentials {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem 2.5rem;
}

.about-credentials__item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.95rem;
    line-height: 1.45;
    color: rgba(13, 31, 60, 0.82);
}

.about-credentials__check {
    flex-shrink: 0;
    font-size: 1.125rem;
    line-height: 1.45;
    color: #B8892A;
    font-variation-settings: 'wght' 500;
}

@media (min-width: 768px) {
    .about-credentials {
        grid-template-columns: 1fr 1fr;
    }
}

.about-infographic {
    border-top: 1px solid rgba(201, 168, 76, 0.2);
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.about-infographic__inner {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.about-infographic__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem 1.5rem;
}

.about-infographic__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.65rem;
}

.about-infographic__value {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1;
    color: #D4B86A;
    font-weight: 600;
}

.about-infographic__icon {
    font-size: clamp(2.25rem, 4vw, 3rem);
    line-height: 1;
    color: #D4B86A;
    font-variation-settings: 'FILL' 0, 'wght' 300;
}

.about-infographic__flags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: clamp(2.25rem, 4vw, 3rem);
}

.about-infographic__flag {
    display: block;
    width: clamp(2rem, 3.5vw, 2.35rem);
    height: auto;
    flex-shrink: 0;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25), 0 2px 6px rgba(0, 0, 0, 0.35);
}

.about-infographic__label {
    margin: 0;
    font-size: 0.7rem;
    line-height: 1.45;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.72);
    max-width: 16rem;
}

@media (min-width: 640px) {
    .about-infographic__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .about-infographic__inner {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .about-infographic__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2.5rem 1.5rem;
    }

    .about-infographic__label {
        font-size: 0.68rem;
        max-width: 14rem;
    }
}
.timeline-photo {
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.timeline-photo img {
    display: block;
    filter: grayscale(30%);
    transition: filter 0.4s ease, transform 0.4s ease;
}

.timeline-entry:hover .timeline-photo img {
    filter: grayscale(0%);
    transform: scale(1.02);
}

.timeline-photo.gold-border-offset::after {
    top: 12px;
    left: 12px;
    border-color: rgba(201, 168, 76, 0.65);
}

@media (min-width: 768px) {
    .timeline-photo {
        max-width: 20rem;
    }
}

.audience-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.audience-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(13, 31, 60, 0.08);
}

.audience-list li {
    font-size: 1rem;
    line-height: 1.5;
}

@media (min-width: 1024px) {
    .audience-list li {
        font-size: 1.0625rem;
    }
}

.audience-outro__text {
    margin: 0;
    font-size: 1.0625rem;
    line-height: 1.75;
}

@media (min-width: 768px) {
    .audience-outro__text {
        font-size: 1.1875rem;
    }
}

@media (min-width: 1024px) {
    .audience-outro__text {
        font-size: 1.25rem;
        line-height: 1.7;
    }
}

.contact-arrow__icon {
    animation: contact-arrow-pulse 2s ease-in-out infinite;
}

@keyframes contact-arrow-pulse {
    0%, 100% { transform: translateX(0); opacity: 0.85; }
    50% { transform: translateX(12px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .contact-arrow__icon {
        animation: none;
    }
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-top: 1rem;
}

.social-links__item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.1);
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.social-links__item:hover {
    background: var(--gold-mid);
    transform: translateY(-2px);
}

.social-links__item img {
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    filter: brightness(0) invert(1);
}

.social-links__item:hover img {
    filter: brightness(0) invert(1);
}

.case-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .case-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
    }
}

.case-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    background: #fff;
    border: 1px solid rgba(13, 31, 60, 0.08);
    border-left: 4px solid transparent;
    border-radius: 0;
    padding: 1.75rem 1.75rem 1.5rem;
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease,
        transform 0.3s ease;
}

.case-card:hover,
.case-card.is-expanded {
    border-left-color: var(--gold-mid);
    background: #FDFCF9;
    box-shadow: 0 12px 40px rgba(13, 31, 60, 0.1);
    transform: translateY(-2px);
}

.case-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.case-card__tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-mid);
    background: rgba(184, 137, 42, 0.1);
    padding: 0.35rem 0.75rem;
}

.case-card__num {
    font-family: "Playfair Display", serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(13, 31, 60, 0.12);
    line-height: 1;
}

.case-card__title {
    margin-bottom: 1rem;
    line-height: 1.35;
}

.case-card__body {
    flex: 1 1 auto;
    cursor: pointer;
    color: rgba(13, 31, 60, 0.75);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.case-card__body p + p {
    margin-top: 1rem;
}

.case-card__excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.case-card.is-expanded .case-card__excerpt {
    display: none;
}

.case-card__toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1.25rem;
    padding: 0;
    border: none;
    background: none;
    color: var(--gold-mid);
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: gap 0.25s ease;
}

.case-card__toggle:hover {
    gap: 0.75rem;
}

.case-card__toggle-icon {
    font-size: 1.25rem;
    transition: transform 0.25s ease;
}

.case-card.is-expanded .case-card__toggle-icon {
    transform: rotate(180deg);
}

@media (min-width: 768px) {
    .case-card {
        padding: 2rem 2.25rem 1.75rem;
    }

    .case-card__title {
        font-size: 1.375rem;
    }
}

.ref-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(13, 31, 60, 0.08);
    border-left: 4px solid var(--gold-mid);
    box-shadow: 0 4px 20px rgba(13, 31, 60, 0.06);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-left-color 0.3s ease;
}

.ref-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(13, 31, 60, 0.12);
    border-left-color: var(--gold-bright);
}

.ref-card__preview {
    position: relative;
    aspect-ratio: 3 / 4;
    background: linear-gradient(180deg, #f8f7f4 0%, #eceae4 100%);
    overflow: hidden;
}

.ref-card__canvas {
    display: block;
    width: 100%;
    height: auto;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.ref-card__preview.is-loaded .ref-card__canvas {
    opacity: 1;
}

.ref-card__preview.is-loaded .ref-card__fallback {
    opacity: 0;
}

.ref-card__fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(13, 31, 60, 0.2);
    transition: opacity 0.25s ease;
}

.ref-card__fallback .material-symbols-outlined {
    font-size: 4rem;
}

.ref-card__body {
    padding: 1rem 1.125rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ref-card__company {
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--primary, #0D1F3C);
}

.ref-card__action {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gold-mid);
}

.ref-card:hover .ref-card__action {
    gap: 0.5rem;
}

.pdf-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.pdf-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.pdf-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 15, 30, 0.72);
    backdrop-filter: blur(4px);
}

.pdf-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(960px, 100%);
    max-height: min(90vh, 900px);
    background: #fff;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.pdf-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(13, 31, 60, 0.1);
}

.pdf-modal__title {
    font-size: 1.125rem;
    margin: 0;
}

.pdf-modal__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.pdf-modal__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    background: rgba(13, 31, 60, 0.06);
    border-radius: 9999px;
    color: #0D1F3C;
    cursor: pointer;
    transition: background 0.2s ease;
}

.pdf-modal__close:hover {
    background: rgba(13, 31, 60, 0.12);
}

.pdf-modal__frame {
    width: 100%;
    flex: 1 1 auto;
    min-height: 60vh;
    border: none;
    background: #f5f5f3;
}

body.pdf-modal-open {
    overflow: hidden;
}

@media (min-width: 768px) {
    .ref-card__body {
        padding: 1.125rem 1.25rem 1.375rem;
    }

    .pdf-modal {
        padding: 2rem;
    }
}

