:root {
    --brand: #d7193f;
    --brand-dark: #aa102f;
    --brand-soft: #fff0f4;
    --ink: #27272c;
    --muted: #696b73;
    --line: #eadde1;
    --surface: #ffffff;
    --dark: #30343a;
    --accent: #c9a85d;
    --accent-soft: #fbf6e9;
    --danger: #c94b54;
    --radius: 22px;
    --shadow: 0 20px 60px rgba(12, 75, 79, .11);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fbfdfd;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 68px;
}

@media (min-width: 992px) {
    body {
        padding-bottom: 0;
    }
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--brand);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--brand-dark);
}

h1,
h2,
h3,
h4 {
    color: var(--ink);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.12;
}

h1 {
    font-size: clamp(2.35rem, 7vw, 4.75rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.35rem);
}

h3 {
    font-size: 1.25rem;
}

p {
    color: #4f5663;
}

.lead {
    font-size: 1.12rem;
}

.skip-link {
    position: fixed;
    left: 1rem;
    top: -5rem;
    background: #fff;
    padding: .75rem 1rem;
    z-index: 9999;
    border: 2px solid var(--brand);
    border-radius: 8px;
}

.skip-link:focus {
    top: 1rem;
}

.icon {
    width: 1.1em;
    height: 1.1em;
    vertical-align: -.16em;
    flex: 0 0 auto;
}

.icon-lg {
    width: 1.5rem;
    height: 1.5rem;
}

.eyebrow {
    display: inline-block;
    margin-bottom: .8rem;
    color: var(--brand);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.section-padding {
    padding: 5.25rem 0;
}

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

.section-heading p {
    font-size: 1.08rem;
}

.bg-soft-red {
    background: linear-gradient(135deg, #eef8f7 0%, #ffffff 48%, #f4faf9 100%);
}

.bg-dark-section {
    background:
        radial-gradient(circle at 85% 0%, rgba(214, 170, 87, .18), transparent 38%),
        var(--dark);
    color: #fff;
}

.bg-dark-section h2,
.bg-dark-section h3 {
    color: #fff;
}

.bg-dark-section p {
    color: #c6cad1;
}

.text-red-light {
    color: #e6c97e !important;
}

.btn {
    border-radius: 12px;
    font-weight: 750;
    padding: .78rem 1.15rem;
    border-width: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
}

.btn-lg {
    padding: .95rem 1.3rem;
    font-size: 1.02rem;
}

.btn-brand {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    box-shadow: 0 10px 28px rgba(15, 101, 104, .22);
}

.btn-brand:hover,
.btn-brand:focus {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline-brand {
    color: var(--brand);
    border-color: var(--brand);
    background: #fff;
}

.btn-outline-brand:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.emergency-bar {
    background: #0b4b4f;
    color: #fff;
    font-size: .78rem;
    padding: .5rem 0;
}

.emergency-bar a {
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    white-space: nowrap;
}

.emergency-bar span {
    display: none;
}

@media (min-width: 768px) {
    .emergency-bar span {
        display: inline;
    }
}

.site-header {
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    backdrop-filter: blur(15px);
}

.navbar {
    padding: .5rem 0;
}

.navbar-brand img {
    width: 145px;
    height: auto;
    display: block;
}

.navbar-toggler {
    border: 0;
    box-shadow: none !important;
    padding: .6rem;
    color: var(--ink);
}

.nav-link {
    color: #30343a;
    font-weight: 700;
    border-radius: 10px;
    padding: .7rem .75rem !important;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand);
    background: var(--brand-soft);
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        padding: 1rem 0 1.25rem;
    }

    .navbar-nav {
        gap: .25rem;
    }
}

@media (min-width: 992px) {
    .navbar-brand img {
        width: 190px;
    }
}

.breadcrumb-wrap {
    background: #f8f8fa;
    border-bottom: 1px solid var(--line);
    padding: .85rem 0;
    font-size: .88rem;
}

.breadcrumb-item a {
    color: #535a66;
    text-decoration: none;
}

.hero-section {
    position: relative;
    overflow: hidden;
    background: #dfeeed;
}

.hero-image {
    position: absolute;
    inset: 0;
    background-image: url('../img/lineiki24-1.webp');
    background-size: cover;
    background-position: 65% center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(8, 62, 66, .91) 0%,
        rgba(10, 81, 84, .72) 52%,
        rgba(10, 81, 84, .08) 100%
    );
}

.min-vh-hero {
    min-height: 680px;
}

.hero-card {
    color: #fff;
    max-width: 760px;
}

.hero-card h1 {
    color: #fff;
    margin: 1rem 0 1.25rem;
    text-wrap: balance;
}

.hero-lead {
    color: #ebedf0;
    font-size: clamp(1.08rem, 2vw, 1.3rem);
    max-width: 690px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .25);
    padding: .55rem .8rem;
    border-radius: 999px;
    font-size: .84rem;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: .8rem;
    margin: 2rem 0;
    align-items: stretch;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem 1.2rem;
    font-size: .88rem;
    font-weight: 700;
}

.hero-points span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.hero-points .icon {
    color: #e2c16e;
}

.hero-warning {
    margin-top: 1.4rem;
    max-width: 640px;
    padding: .9rem 1rem;
    border-left: 4px solid #e2c16e;
    background: rgba(255, 255, 255, .08);
    color: #f1f1f1;
    font-size: .9rem;
    border-radius: 0 10px 10px 0;
}

@media (min-width: 576px) {
    .hero-actions {
        flex-direction: row;
        align-items: center;
    }
}

@media (max-width: 767px) {
    .hero-image {
        background-position: 58% center;
    }

    .hero-overlay {
        background: linear-gradient(90deg, rgba(8, 62, 66, .94), rgba(10, 81, 84, .78));
    }

    .min-vh-hero {
        min-height: 720px;
    }
}

.trust-strip {
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 30px rgba(17, 19, 23, .06);
}

.trust-item {
    min-height: 100px;
    padding: 1.1rem .7rem;
    display: flex;
    align-items: center;
    gap: .7rem;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

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

.trust-item .icon {
    width: 1.7rem;
    height: 1.7rem;
    color: var(--brand);
}

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

.trust-item strong {
    font-size: .9rem;
    line-height: 1.2;
}

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

@media (min-width: 992px) {
    .trust-item {
        border-bottom: 0;
        padding: 1.25rem;
    }

    .trust-item:nth-child(2n) {
        border-right: 1px solid var(--line);
    }

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

    .trust-item strong {
        font-size: 1rem;
    }

    .trust-item span {
        font-size: .82rem;
    }
}

.service-card {
    height: 100%;
    padding: 1.6rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    transition: .25s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: rgba(15, 101, 104, .25);
}

.service-card h3 {
    margin-top: 1.2rem;
}

.service-card a {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-weight: 800;
    text-decoration: none;
    margin-top: .5rem;
}

.service-icon,
.contact-icon {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-soft);
    color: var(--brand);
    border-radius: 14px;
}

.service-icon .icon,
.contact-icon .icon {
    width: 1.5rem;
    height: 1.5rem;
}

.steps-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
}

.steps-list li {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 1rem;
    padding-bottom: 1.45rem;
    position: relative;
}

.steps-list li::after {
    content: '';
    position: absolute;
    left: 23px;
    top: 50px;
    bottom: 0;
    width: 1px;
    background: #c9dfdc;
}

.steps-list li:last-child::after {
    display: none;
}

.steps-list li > span {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--brand);
    color: #fff;
    font-weight: 850;
}

.steps-list p {
    margin: .25rem 0 0;
}

.info-card-large {
    background: #fff;
    border-radius: 28px;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    box-shadow: var(--shadow);
    border: 1px solid rgba(15, 101, 104, .12);
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: grid;
    gap: .85rem;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    color: #3f4651;
}

.check-list .icon {
    color: var(--brand);
    margin-top: .2rem;
}

.check-list.compact {
    gap: .55rem;
    margin-bottom: 0;
}

.callout {
    padding: 1rem;
    background: #fff5e9;
    border: 1px solid #f4d4a8;
    border-radius: 12px;
    color: #674619;
    font-size: .9rem;
}

.mini-feature {
    height: 100%;
    display: flex;
    gap: .8rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
}

.mini-feature .icon {
    color: var(--brand);
    width: 1.5rem;
    height: 1.5rem;
}

.mini-feature strong,
.mini-feature span {
    display: block;
}

.mini-feature strong {
    font-size: .92rem;
}

.mini-feature span {
    color: var(--muted);
    font-size: .8rem;
}

.cta-image-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    min-height: 500px;
    box-shadow: var(--shadow);
}

.cta-image-card img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.cta-image-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 28%, rgba(8, 63, 67, .90) 100%);
}

.cta-image-content {
    position: absolute;
    z-index: 1;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    color: #fff;
}

.cta-image-content span,
.cta-image-content strong {
    display: block;
}

.cta-image-content strong {
    font-size: clamp(1.8rem, 5vw, 3rem);
    letter-spacing: -.04em;
}

.cta-image-content a {
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: .5rem;
}

.dark-feature {
    height: 100%;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 20px;
    padding: 1.5rem;
    background: rgba(255, 255, 255, .04);
}

.dark-feature > span {
    color: #e6c97e;
    font-size: .85rem;
    font-weight: 850;
}

.dark-feature h3 {
    margin: .8rem 0;
}

.faq-accordion .accordion-item {
    border: 0;
    border-bottom: 1px solid var(--line);
}

.faq-accordion .accordion-button {
    padding: 1.35rem 0;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: none;
    background: transparent;
    color: var(--ink);
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--brand);
}

.faq-accordion .accordion-button::after {
    filter: grayscale(1);
}

.faq-accordion .accordion-body {
    padding: 0 0 1.4rem;
    color: #555d68;
}

.faq-page {
    max-width: 900px;
    margin: 0 auto;
}

.final-cta {
    background: linear-gradient(115deg, #0b4b4f 0%, #137477 58%, #0d5a5d 100%);
    color: #fff;
    padding: 3.8rem 0;
}

.final-cta-inner {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
    justify-content: space-between;
}

.final-cta h2 {
    color: #fff;
    margin-bottom: .6rem;
}

.final-cta p {
    color: #e9f6f4;
    margin: 0;
}

.final-cta-actions {
    display: flex;
    flex-direction: column;
    gap: .8rem;
    width: 100%;
}

@media (min-width: 768px) {
    .final-cta-inner {
        flex-direction: row;
        align-items: center;
    }

    .final-cta-actions {
        flex-direction: row;
        width: auto;
    }
}

.page-hero,
.legal-hero {
    padding: 4.5rem 0;
    background:
        radial-gradient(circle at 85% 15%, rgba(15, 101, 104, .13), transparent 30%),
        linear-gradient(135deg, #fff 0%, #f0f8f7 100%);
    border-bottom: 1px solid #dce9e7;
}

.page-hero .container,
.legal-hero .container {
    max-width: 1000px;
}

.page-hero h1,
.legal-hero h1 {
    max-width: 930px;
    margin-bottom: 1.2rem;
}

.page-hero p {
    max-width: 800px;
    font-size: 1.12rem;
}

.rounded-image {
    border-radius: 28px;
    box-shadow: var(--shadow);
    width: 100%;
}

.service-detail {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 1rem;
    padding: 2.2rem 0;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 130px;
}

.service-number {
    color: var(--brand);
    font-size: 1rem;
    font-weight: 900;
    padding-top: .4rem;
}

.service-detail h2 {
    font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.service-detail p {
    max-width: 920px;
}

@media (min-width: 768px) {
    .service-detail {
        grid-template-columns: 100px 1fr;
        gap: 2rem;
        padding: 3rem 0;
    }

    .service-number {
        font-size: 1.4rem;
    }
}

.value-card {
    height: 100%;
    background: #fff;
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid #d7e8e5;
}

.value-card > .icon {
    width: 2rem;
    height: 2rem;
    color: var(--brand);
}

.value-card h3 {
    margin-top: 1rem;
}

.emergency-card {
    background: var(--dark);
    color: #fff;
    padding: 2.2rem;
    border-radius: 26px;
    text-align: center;
}

.emergency-card span {
    display: block;
    color: #ff9ca4;
    font-weight: 800;
}

.emergency-card strong {
    display: block;
    color: #fff;
    font-size: 5rem;
    line-height: 1;
    margin: 1rem 0;
}

.emergency-card p {
    color: #ddd;
    margin: 0;
}

.area-card {
    height: 100%;
    padding: 1.8rem;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
}

.area-card.featured {
    border-color: rgba(15, 101, 104, .35);
    box-shadow: var(--shadow);
}

.area-number {
    color: var(--brand);
    font-weight: 900;
}

.area-card h2 {
    font-size: 1.7rem;
    margin: .8rem 0 1rem;
}

.contact-card {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
}

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

.contact-card a {
    font-size: 1.15rem;
    font-weight: 850;
    text-decoration: none;
    color: var(--ink);
    word-break: break-word;
}

.contact-card p {
    margin: .25rem 0 0;
    font-size: .9rem;
}

.emergency-notice {
    margin-top: 1.5rem;
    padding: 1.4rem;
    background: var(--dark);
    color: #fff;
    border-radius: 20px;
}

.emergency-notice strong,
.emergency-notice span {
    display: block;
}

.emergency-notice span {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    margin: .5rem 0;
}

.emergency-notice p {
    color: #d4d7db;
    margin: 0;
}

.request-form {
    padding: clamp(1.4rem, 4vw, 2.5rem);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
    background: #fff;
}

.form-heading {
    margin-bottom: 1.7rem;
}

.form-control {
    min-height: 52px;
    border-radius: 11px;
    border-color: #d9dce2;
    padding: .75rem .9rem;
}

textarea.form-control {
    min-height: 135px;
}

.form-control:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 .2rem rgba(15, 101, 104, .14);
}

.form-label {
    font-weight: 750;
    font-size: .9rem;
}

.form-check-input:checked {
    background-color: var(--brand);
    border-color: var(--brand);
}

.honeypot {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
}

.legal-hero {
    padding: 3.5rem 0;
}

.legal-content {
    padding: 3.5rem 0 5rem;
}

.legal-layout {
    display: grid;
    gap: 2rem;
}

.legal-toc {
    display: none;
}

.legal-article {
    max-width: 880px;
}

.legal-article h2 {
    font-size: 1.6rem;
    margin: 2.3rem 0 .8rem;
    scroll-margin-top: 130px;
}

.legal-article h3 {
    margin-top: 1.5rem;
}

.legal-article li {
    margin-bottom: .45rem;
    color: #4f5663;
}

.legal-warning {
    padding: 1rem;
    border: 1px solid #e9b8bd;
    background: #fff4f5;
    border-radius: 12px;
    color: #7e171f;
}

.cookie-table {
    font-size: .9rem;
}

@media (min-width: 992px) {
    .legal-layout {
        grid-template-columns: 230px minmax(0, 1fr);
        gap: 4rem;
    }

    .legal-toc {
        display: flex;
        flex-direction: column;
        gap: .6rem;
        position: sticky;
        top: 125px;
        align-self: start;
        padding: 1.2rem;
        border: 1px solid var(--line);
        border-radius: 16px;
    }

    .legal-toc a {
        color: #505762;
        text-decoration: none;
        font-size: .88rem;
    }

    .legal-toc a:hover {
        color: var(--brand);
    }
}

.not-found {
    padding: 7rem 0;
}

.error-code {
    color: var(--brand);
    font-size: clamp(5rem, 20vw, 11rem);
    font-weight: 950;
    line-height: .8;
    opacity: .15;
}

.site-footer {
    background: #083f43;
    color: #fff;
}

.site-footer p {
    color: #b8bdc5;
}

.site-footer a {
    color: #fff;
}

.footer-logo {
    width: 180px;
    background: rgba(255, 255, 255, .96);
    padding: .45rem;
    border-radius: 14px;
}

.footer-title {
    color: #fff;
    font-size: 1rem;
    letter-spacing: .02em;
}

.footer-links {
    list-style: none;
    padding: 0;
    display: grid;
    gap: .55rem;
}

.footer-links a {
    color: #c2c6cc;
    text-decoration: none;
    font-size: .9rem;
}

.footer-links a:hover {
    color: #fff;
}

.footer-phone {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 900;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 1.4rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: .83rem;
    color: #aeb3bb;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem 1rem;
}

.legal-links a,
.link-button {
    color: #c9cdd3;
    font-size: .83rem;
}

.link-button {
    background: none;
    border: 0;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.credits {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 1rem 0 1.4rem;
    color: #8e949d;
    font-size: .78rem;
}

.credits a {
    color: #d8dbe0;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.mobile-action-bar {
    position: fixed;
    z-index: 1040;
    left: 0;
    right: 0;
    bottom: 0;
    height: 68px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, .14);
}

.mobile-action-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    color: #fff;
    text-decoration: none;
    font-weight: 850;
}

.mobile-call {
    background: var(--brand);
}

.mobile-request {
    background: #176f73;
}

@media (min-width: 992px) {
    .mobile-action-bar {
        display: none;
    }
}

.back-to-top {
    position: fixed;
    z-index: 1060;
    right: 1rem;
    bottom: 84px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--brand);
    color: #fff;
    box-shadow: 0 12px 30px rgba(8, 63, 67, .24);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease, background .2s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
    background: var(--brand-dark);
    color: #fff;
}

body.cookie-open .back-to-top {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.cookie-consent {
    position: fixed;
    z-index: 2000;
    left: 0;
    right: 0;
    bottom: 68px;
    padding: .75rem;
    pointer-events: none;
}

.cookie-panel {
    width: min(680px, 100%);
    margin: 0 auto;
    background: #fff;
    border: 1px solid rgba(8, 63, 67, .13);
    border-radius: 18px;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .2);
    padding: 1rem;
    max-height: min(68vh, 620px);
    overflow-y: auto;
    pointer-events: auto;
}

.cookie-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .75rem;
}

.cookie-header .eyebrow {
    margin-bottom: .3rem;
}

.cookie-header h2 {
    font-size: 1.25rem;
    margin: 0;
    letter-spacing: -.02em;
}

.cookie-intro {
    font-size: .9rem;
    line-height: 1.45;
    margin: .65rem 0 .85rem;
}

.cookie-close {
    flex: 0 0 auto;
    border: 0;
    background: #f2f3f5;
    border-radius: 9px;
    padding: .38rem;
    color: var(--ink);
}

.cookie-options {
    display: grid;
    gap: .55rem;
    margin: .8rem 0;
}

.cookie-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: .7rem .75rem;
}

.cookie-option strong,
.cookie-option small {
    display: block;
}

.cookie-option strong {
    font-size: .9rem;
}

.cookie-option small {
    color: var(--muted);
    margin-top: .1rem;
    font-size: .76rem;
    line-height: 1.35;
}

.cookie-option input {
    flex: 0 0 auto;
    width: 1.15rem;
    height: 1.15rem;
    accent-color: var(--brand);
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.cookie-actions .btn {
    min-height: 40px;
    padding: .55rem .75rem;
    font-size: .82rem;
    flex: 1 1 155px;
}

.cookie-note {
    font-size: .76rem;
    margin: .7rem 0 0;
}

@media (min-width: 992px) {
    .back-to-top {
        right: 1.5rem;
        bottom: 1.5rem;
    }

    .cookie-consent {
        bottom: 0;
        padding: 1rem;
    }

    .cookie-panel {
        margin-left: 0;
    }
}

@media (max-width: 575.98px) {
    .section-padding {
        padding: 4rem 0;
    }

    .service-card {
        padding: 1.35rem;
    }

    .page-hero {
        padding: 3.5rem 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}

/* v1.0.4 — detailed service pages */
.page-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.75rem;
}

.service-page-hero .page-hero-actions .btn-outline-light,
.page-hero .page-hero-actions .btn-outline-light {
    border-color: rgba(255, 255, 255, .72);
    color: #fff;
}

.service-page-hero .page-hero-actions .btn-outline-light:hover,
.page-hero .page-hero-actions .btn-outline-light:hover {
    background: #fff;
    color: var(--brand-dark);
}

.service-hero-summary {
    background: rgba(255, 255, 255, .96);
    color: var(--ink);
    padding: 1.5rem;
    border-radius: 1.25rem;
    box-shadow: 0 1.25rem 3rem rgba(71, 27, 32, .18);
}

.service-hero-summary .service-icon {
    margin-bottom: 1rem;
}

.service-hero-summary strong {
    display: block;
    color: var(--ink);
    margin-bottom: .75rem;
}

.service-hero-summary ul {
    margin: 0;
    padding-left: 1.2rem;
}

.service-hero-summary li + li {
    margin-top: .45rem;
}

.service-quick-nav {
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 .45rem 1rem rgba(84, 42, 46, .05);
}

.service-quick-nav .container {
    display: flex;
    gap: .5rem;
    overflow-x: auto;
    padding-top: .8rem;
    padding-bottom: .8rem;
    scrollbar-width: thin;
}

.service-quick-nav a {
    flex: 0 0 auto;
    color: var(--ink);
    text-decoration: none;
    font-weight: 700;
    font-size: .92rem;
    padding: .55rem .8rem;
    border-radius: 999px;
    background: var(--brand-soft);
}

.service-quick-nav a:hover {
    color: #fff;
    background: var(--brand);
}

.service-article-section {
    position: relative;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--line);
}

.service-article-section:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.service-section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2rem;
    padding: 0 .65rem;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand);
    font-weight: 800;
    font-size: .82rem;
    letter-spacing: .06em;
    margin-bottom: .75rem;
}

.service-article-section h2 {
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    margin-bottom: 1rem;
}

.service-article-section p {
    font-size: 1.04rem;
    line-height: 1.78;
}

.service-check-list,
.service-highlight-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.service-check-list li,
.service-highlight-list li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .7rem 0;
    border-bottom: 1px solid rgba(132, 91, 96, .13);
}

.service-check-list li:last-child,
.service-highlight-list li:last-child {
    border-bottom: 0;
}

.service-check-list .icon,
.service-highlight-list .icon {
    flex: 0 0 auto;
    width: 1.2rem;
    height: 1.2rem;
    margin-top: .15rem;
    color: var(--brand);
}

.service-sidebar-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 1rem 2.5rem rgba(91, 54, 58, .08);
}

.service-sidebar-card h2 {
    font-size: 1.55rem;
}

.process-card {
    background: #fff;
    border: 1px solid rgba(123, 37, 48, .12);
    border-radius: 1.15rem;
    padding: 1.4rem;
    box-shadow: 0 .75rem 1.8rem rgba(105, 65, 70, .06);
}

.process-card > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-weight: 800;
    margin-bottom: 1rem;
}

.process-card h3 {
    font-size: 1.15rem;
    margin-bottom: .55rem;
}

.process-card p {
    margin-bottom: 0;
    color: var(--muted);
}

.related-services {
    background: #fbf8f5;
}

.related-service-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1.15rem;
    padding: 1.4rem;
    transition: transform .2s ease, box-shadow .2s ease;
}

.related-service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 1rem 2rem rgba(91, 54, 58, .09);
}

.related-service-card h3 {
    font-size: 1.2rem;
    margin-top: 1rem;
}

.related-service-card p {
    color: var(--muted);
}

.related-service-card a {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: var(--brand);
    font-weight: 800;
    text-decoration: none;
}

.related-service-card a .icon {
    width: 1rem;
    height: 1rem;
}

.service-directory .service-card p {
    min-height: 4.8rem;
}

@media (min-width: 992px) {
    .service-sidebar-card {
        position: sticky;
        top: 9rem;
    }

    .service-quick-nav .container {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .page-hero-actions .btn {
        width: 100%;
    }

    .service-page-hero .row {
        --bs-gutter-y: 2rem;
    }

    .service-content-section {
        padding-top: 3.5rem;
    }

    .service-directory .service-card p {
        min-height: 0;
    }
}

/* v1.0.5 — по-светла медицинска визия, галерия и видео секция */
.emergency-bar {
    background: #0a4e51;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.emergency-bar strong::before {
    content: '';
    display: inline-block;
    width: .48rem;
    height: .48rem;
    margin-right: .45rem;
    border-radius: 50%;
    background: var(--danger);
    vertical-align: .08rem;
}

.site-header {
    box-shadow: 0 8px 26px rgba(8, 63, 67, .055);
}

.hero-section {
    background: #dfeeed;
}

.hero-card h1 {
    text-shadow: 0 2px 22px rgba(8, 63, 67, .24);
}

.hero-badge {
    background: rgba(255, 255, 255, .16);
    border-color: rgba(255, 255, 255, .30);
}

.hero-warning {
    color: #ffffff;
    background: rgba(7, 52, 55, .32);
}

.hero-warning strong {
    color: #fff0f1;
}

.service-card,
.value-card,
.area-card,
.request-form,
.info-card-large,
.mini-feature {
    box-shadow: 0 10px 34px rgba(8, 63, 67, .045);
}

.service-card:hover {
    box-shadow: 0 22px 55px rgba(8, 63, 67, .13);
}

.service-icon,
.contact-icon {
    background: var(--brand-soft);
}

.steps-list li > span {
    box-shadow: 0 8px 18px rgba(15, 101, 104, .18);
}

.bg-dark-section {
    background:
        radial-gradient(circle at 85% 0%, rgba(230, 201, 126, .20), transparent 36%),
        linear-gradient(135deg, #0a4e51 0%, #126c70 100%);
}

.dark-feature {
    background: rgba(255, 255, 255, .07);
    border-color: rgba(255, 255, 255, .18);
}

.final-cta {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}

.site-footer {
    background: linear-gradient(145deg, #073b3f 0%, #0b4b4f 100%);
}

.media-section {
    background: #f1f8f7;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.photo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.photo-card {
    position: relative;
    overflow: hidden;
    min-height: 250px;
    border-radius: 22px;
    background: #dfeeed;
    box-shadow: 0 16px 42px rgba(8, 63, 67, .10);
}

.photo-card img {
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
    transition: transform .45s ease;
}

.photo-card:hover img {
    transform: scale(1.025);
}

.photo-card::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 34%;
    background: linear-gradient(180deg, transparent, rgba(8, 63, 67, .38));
    pointer-events: none;
}

.video-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(8, 63, 67, .08);
}

.video-frame {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #0a4e51, #16787c);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.video-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #0a4e51;
}

.video-placeholder {
    padding: 1.25rem;
    color: #fff;
    text-align: center;
}

.video-placeholder strong,
.video-placeholder span {
    display: block;
}

.video-placeholder strong {
    font-size: 1.05rem;
}

.video-placeholder span {
    margin-top: .35rem;
    color: rgba(255, 255, 255, .78);
    font-size: .82rem;
}

.video-card-body {
    padding: 1.2rem 1.25rem 1.35rem;
}

.video-card-body h3 {
    margin-bottom: .55rem;
}

.video-card-body p {
    margin: 0;
    font-size: .92rem;
}

.upload-note {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: 1rem;
    padding: .65rem .85rem;
    border-radius: 12px;
    background: var(--accent-soft);
    color: #675425;
    font-size: .84rem;
}

@media (min-width: 576px) {
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .photo-grid {
        grid-template-columns: 1.15fr .85fr .85fr 1.15fr;
        grid-auto-rows: 280px;
    }

    .photo-card,
    .photo-card img {
        min-height: 280px;
    }

    .photo-card:nth-child(1),
    .photo-card:nth-child(4) {
        transform: translateY(18px);
    }
}


/* v1.0.6 — червена бранд идентичност и ясно стартиране на видеата */
:root {
    --brand: #d7193f;
    --brand-dark: #aa102f;
    --brand-soft: #fff0f4;
    --ink: #27272c;
    --muted: #696b73;
    --line: #eadde1;
    --surface: #ffffff;
    --dark: #30343a;
    --danger: #d7193f;
    --shadow: 0 20px 60px rgba(125, 18, 48, .10);
}

body {
    background: #fffdfd;
}

.bg-soft-red {
    background: linear-gradient(135deg, #fff3f6 0%, #ffffff 52%, #fff8f9 100%);
}

.emergency-bar {
    background: var(--brand-dark);
}

.site-header {
    box-shadow: 0 8px 26px rgba(125, 18, 48, .06);
}

.hero-section {
    background: #f7eef1;
}

.hero-overlay {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, .97) 0%,
        rgba(255, 255, 255, .92) 38%,
        rgba(255, 255, 255, .66) 62%,
        rgba(255, 255, 255, .08) 100%
    );
}

.hero-card,
.hero-card h1 {
    color: var(--ink);
}

.hero-card h1 {
    text-shadow: none;
}

.hero-lead {
    color: #4f5159;
}

.hero-badge {
    color: var(--brand-dark);
    background: rgba(255, 255, 255, .94);
    border-color: rgba(215, 25, 63, .22);
    box-shadow: 0 10px 28px rgba(125, 18, 48, .08);
}

.hero-points {
    color: #3c3d43;
}

.hero-points .icon {
    color: var(--brand);
}

.hero-warning {
    color: #6f2638;
    background: rgba(255, 240, 244, .94);
    border-left-color: var(--brand);
}

.hero-warning strong {
    color: var(--brand-dark);
}

.btn-brand {
    box-shadow: 0 10px 28px rgba(215, 25, 63, .22);
}

.trust-item .icon,
.service-icon .icon,
.contact-icon .icon,
.check-list .icon,
.mini-feature .icon {
    color: var(--brand);
}

.steps-list li > span {
    box-shadow: 0 8px 18px rgba(215, 25, 63, .18);
}

.media-section {
    background: #fff6f8;
}

.photo-card {
    background: #f4e7eb;
    box-shadow: 0 16px 42px rgba(125, 18, 48, .09);
}

.photo-card::after {
    background: linear-gradient(180deg, transparent, rgba(71, 25, 36, .30));
}

.bg-dark-section {
    background:
        radial-gradient(circle at 85% 0%, rgba(215, 25, 63, .13), transparent 36%),
        linear-gradient(135deg, #34383e 0%, #41464d 100%);
}

.text-red-light,
.dark-feature > span {
    color: #ff9aae !important;
}

.final-cta {
    background: linear-gradient(115deg, #b31235 0%, #d7193f 58%, #ad1132 100%);
}

.site-footer {
    background: linear-gradient(145deg, #30343a 0%, #3d4148 100%);
}

.page-hero,
.legal-hero {
    background:
        radial-gradient(circle at 85% 15%, rgba(215, 25, 63, .11), transparent 30%),
        linear-gradient(135deg, #fff 0%, #fff4f6 100%);
    border-bottom-color: var(--line);
}

.mobile-request {
    background: #3f454d;
}

.back-to-top {
    box-shadow: 0 12px 30px rgba(215, 25, 63, .24);
}

.video-card {
    border-color: rgba(215, 25, 63, .14);
    box-shadow: 0 14px 38px rgba(125, 18, 48, .09);
}

.video-frame {
    position: relative;
    background: linear-gradient(135deg, #8f1732, #d7193f);
}

.video-player {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-player::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(24, 24, 27, .08), rgba(24, 24, 27, .38));
    transition: opacity .2s ease;
}

.video-player.is-playing::after {
    opacity: 0;
}

.video-frame video {
    display: block;
    background: #2c2d31;
}

.video-play-button {
    position: absolute;
    z-index: 2;
    inset: 0;
    width: 100%;
    border: 0;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    color: #fff;
    background: transparent;
    cursor: pointer;
}

.video-play-button:hover .video-play-icon,
.video-play-button:focus-visible .video-play-icon {
    transform: scale(1.08);
    background: var(--brand-dark);
}

.video-play-button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -5px;
}

.video-play-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--brand);
    border: 4px solid rgba(255, 255, 255, .92);
    box-shadow: 0 14px 35px rgba(0, 0, 0, .28);
    transition: transform .2s ease, background .2s ease;
}

.video-play-icon .icon {
    width: 1.65rem;
    height: 1.65rem;
    margin-left: .18rem;
}

.video-play-label {
    padding: .48rem .8rem;
    border-radius: 999px;
    color: #fff;
    background: rgba(34, 34, 38, .78);
    font-size: .9rem;
    font-weight: 850;
    letter-spacing: .01em;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .16);
}

.video-placeholder {
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    background: linear-gradient(135deg, #a71535, #d7193f);
}

.video-placeholder .video-play-icon {
    width: 62px;
    height: 62px;
    margin-bottom: .35rem;
}

@media (max-width: 767px) {
    .hero-image {
        background-position: 64% center;
    }

    .hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(255, 255, 255, .97) 0%,
            rgba(255, 255, 255, .94) 58%,
            rgba(255, 255, 255, .78) 100%
        );
    }

    .min-vh-hero {
        min-height: 700px;
    }
}


/* v1.0.7 — вертикални видеа без изрязване */
/* v1.0.8 — production copy cleanup */
.video-card {
    max-width: 390px;
    margin-inline: auto;
}

.video-frame {
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
    aspect-ratio: 9 / 16;
    border-radius: 20px 20px 0 0;
    background: #27272c;
}

.video-player,
.video-frame video {
    width: 100%;
    height: 100%;
}

.video-frame video {
    object-fit: contain;
    object-position: center;
}

.video-play-button {
    border-radius: inherit;
}

@media (max-width: 575.98px) {
    .video-card,
    .video-frame {
        max-width: 100%;
    }
}


/* v1.0.9 — brand logo and production copy */
.navbar-brand img,
.footer-logo {
    object-fit: contain;
    object-position: left center;
}

.navbar-brand img {
    max-height: 78px;
}

.footer-logo {
    max-height: 110px;
}


/* v1.0.10 — нова заглавна снимка, разширена галерия и промо изображения */
.hero-image {
    background-image: var(--hero-image, url('../img/lineiki24-1.webp'));
    background-position: center;
}

.photo-grid {
    align-items: stretch;
}

.photo-card {
    appearance: none;
    width: 100%;
    padding: 0;
    border: 0;
    color: inherit;
    text-align: left;
    cursor: zoom-in;
    isolation: isolate;
}

.photo-card:focus-visible {
    outline: 4px solid rgba(215, 25, 63, .28);
    outline-offset: 4px;
}

.photo-card img {
    display: block;
}

.photo-card-zoom {
    position: absolute;
    right: .8rem;
    bottom: .8rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .5rem .68rem;
    border: 1px solid rgba(255, 255, 255, .56);
    border-radius: 999px;
    background: rgba(17, 19, 23, .68);
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    line-height: 1;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .25s ease, transform .25s ease, background-color .25s ease;
    backdrop-filter: blur(10px);
}

.photo-card-zoom .icon {
    width: 1rem;
    height: 1rem;
}

.photo-card:hover .photo-card-zoom,
.photo-card:focus-visible .photo-card-zoom {
    opacity: 1;
    transform: translateY(0);
}

.gallery-toggle-wrap {
    display: flex;
    justify-content: center;
    margin-top: 1.4rem;
}

.gallery-toggle {
    display: none;
}

body.gallery-open {
    overflow: hidden;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: clamp(.75rem, 2vw, 1.5rem);
}

.gallery-lightbox[hidden] {
    display: none !important;
}

.gallery-lightbox-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    border: 0;
    background: rgba(8, 10, 13, .9);
    cursor: zoom-out;
    backdrop-filter: blur(12px);
}

.gallery-lightbox-dialog {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    width: min(1380px, 100%);
    max-height: calc(100vh - 2rem);
}

.gallery-lightbox-figure {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 24px;
    background: #111419;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .52);
}

.gallery-lightbox-image {
    display: block;
    width: 100%;
    height: min(78vh, 860px);
    object-fit: contain;
    background: #111419;
}

.gallery-lightbox-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .85rem 1.05rem;
    color: rgba(255, 255, 255, .9);
    font-size: .88rem;
}

.gallery-lightbox-meta [data-gallery-counter] {
    flex: 0 0 auto;
    color: rgba(255, 255, 255, .62);
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    background: rgba(17, 20, 25, .72);
    color: #fff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .24);
    transition: background-color .2s ease, transform .2s ease;
    backdrop-filter: blur(10px);
}

.gallery-lightbox-close:hover,
.gallery-lightbox-nav:hover {
    background: var(--brand);
    transform: scale(1.04);
}

.gallery-lightbox-close {
    position: absolute;
    top: .75rem;
    right: .75rem;
    z-index: 3;
    width: 46px;
    height: 46px;
}

.gallery-lightbox-nav {
    width: 52px;
    height: 52px;
    margin: .75rem;
}

.promo-media-section {
    padding: clamp(1.2rem, 3vw, 2.5rem) 0;
    background: #fff;
}

.promo-media-card {
    display: block;
    overflow: hidden;
    height: 100%;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(45, 23, 30, .09);
    transition: transform .25s ease, box-shadow .25s ease;
}

.promo-media-card:hover,
.promo-media-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 24px 58px rgba(45, 23, 30, .14);
}

.promo-media-card:focus-visible {
    outline: 4px solid rgba(215, 25, 63, .24);
    outline-offset: 4px;
}

.promo-media-card img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 767.98px) {
    .hero-image {
        background-position: center top;
    }

    .photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .65rem;
    }

    .photo-card,
    .photo-card img {
        min-height: 0;
        height: 100%;
        aspect-ratio: 1 / 1;
    }

    .photo-card:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
        transform: none;
    }

    .gallery-mobile-extra {
        display: none;
    }

    .photo-grid.is-expanded .gallery-mobile-extra {
        display: block;
    }

    .gallery-toggle {
        display: inline-flex;
    }

    .photo-card-zoom {
        right: .5rem;
        bottom: .5rem;
        padding: .45rem;
        opacity: 1;
        transform: none;
    }

    .photo-card-zoom span {
        display: none;
    }

    .gallery-lightbox {
        padding: .5rem;
    }

    .gallery-lightbox-dialog {
        grid-template-columns: 1fr;
        width: 100%;
        max-height: calc(100vh - 1rem);
    }

    .gallery-lightbox-figure {
        border-radius: 18px;
    }

    .gallery-lightbox-image {
        height: min(76vh, 720px);
    }

    .gallery-lightbox-nav {
        position: absolute;
        bottom: 3.8rem;
        z-index: 3;
        width: 46px;
        height: 46px;
        margin: 0;
    }

    .gallery-lightbox-prev {
        left: .75rem;
    }

    .gallery-lightbox-next {
        right: .75rem;
    }

    .gallery-lightbox-meta {
        padding: .8rem 4rem .8rem 1rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .photo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .photo-card:nth-child(n) {
        transform: none;
    }
}

@media (min-width: 992px) {
    .photo-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-auto-rows: 230px;
    }

    .photo-card,
    .photo-card img {
        min-height: 230px;
    }

    .photo-card:nth-child(n) {
        transform: none;
    }

    .photo-card:nth-child(1) {
        grid-column: span 2;
        grid-row: span 2;
    }

    .photo-card:nth-child(6),
    .photo-card:nth-child(10) {
        grid-column: span 2;
    }
}

@media (hover: none) {
    .photo-card-zoom {
        opacity: 1;
        transform: none;
    }
}
