/* ==========================================================================
   1. VARIABLES & THEMING
   ========================================================================== */
:root {
    /* Fonts */
    --default-font: 'Comfortaa', cursive;
    --heading-font: 'Comfortaa', cursive;
    --nav-font: 'Comfortaa', cursive;

    /* Base Colors */
    --color-mp-black: #000000;
    --color-mp-white: #FFFFFF;
    --color-mp-green: #7AAF2F;
    --color-mp-brown: #663C00;
    --color-mp-olive: #A8BA2A;

    /* Accent Reds */
    --color-mp-red-1: #D81E1E; /* Было 57%, стало 87% насыщенности */
    --color-mp-red-2: #B04C4C; /* Насыщенность ≈ 57% */
    --color-mp-red-3: #660000; /* Насыщенность = 100% */

    /* Transparent Mixes */
    --color-mp-transparent: color-mix(in srgb, var(--color-mp-white), transparent 0);

    --color-mp-white-transparent: color-mix(in srgb, var(--color-mp-white), transparent 40%);
    --color-mp-white-transparent-0: color-mix(in srgb, var(--color-mp-white), transparent 25%);
    --color-mp-white-transparent-1: color-mix(in srgb, var(--color-mp-white), transparent 5%);

    --color-mp-green-transparent: color-mix(in srgb, var(--color-mp-green), transparent 40%);
    --color-mp-green-transparent-1: color-mix(in srgb, var(--color-mp-green), transparent 94%);
    --color-mp-green-transparent-2: color-mix(in srgb, var(--color-mp-green), transparent 20%);
    --color-mp-green-transparent-3: color-mix(in srgb, var(--color-mp-green), transparent 25%);

    --color-mp-brown-transparent: color-mix(in srgb, var(--color-mp-brown), transparent 40%);
    --color-mp-brown-transparent-1: color-mix(in srgb, var(--color-mp-brown), transparent 98%);
    --color-mp-brown-transparent-2: color-mix(in srgb, var(--color-mp-brown), transparent 90%);
    --color-mp-brown-transparent-3: color-mix(in srgb, var(--color-mp-brown), transparent 70%);

    --color-mp-black-transparent: color-mix(in srgb, var(--color-mp-black), transparent 40%);
    --color-mp-black-transparent-1: color-mix(in srgb, var(--color-mp-black), transparent 50%);
    --color-mp-black-transparent-2: color-mix(in srgb, var(--color-mp-black), transparent 75%);
    --color-mp-black-transparent-3: color-mix(in srgb, var(--color-mp-black), transparent 90%);

    /* Theme Mapping */
    --background-color: var(--color-mp-white); /* Background color for the entire website, including individual sections */
    --default-color: var(--color-mp-brown); /* Default color used for the majority of the text content across the entire website */
    --heading-color: var(--color-mp-brown); /* Color for headings, subheadings and title throughout the website */
    --accent-color: var(--color-mp-green); /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
    --surface-color: var(--color-mp-white); /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
    --contrast-color: var(--color-mp-white); /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */

    /* Navigation Mapping */
    --nav-color: var(--color-mp-white); /* The default color of the main navmenu links */
    --nav-hover-color: var(--color-mp-brown); /* Applied to main navmenu links when they are hovered over or active */
    --nav-mobile-background-color: var(--color-mp-green); /* Used as the background color for mobile navigation menu */
    --nav-dropdown-background-color: var(--color-mp-white); /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
    --nav-dropdown-color: var(--color-mp-brown); /* Used for navigation links of the dropdown items in the navigation menu. */
    --nav-dropdown-hover-color: var(--color-mp-brown); /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */

    /* Border Radius */
    --border-radius-huge: 35px;
    --border-radius-extra: 20px;
    --border-radius-large: 10px;
    --border-radius-medium: 8px;
    --border-radius-small: 5px;
    --border-radius-tiny: 3px;

    /* Misc */
    --font-size-submenu: 18px;
    --bs-body-bg: var(--color-mp-white);
}

/* ==========================================================================
   2. TYPOGRAPHY & FONTS
   ========================================================================== */

/* comfortaa-300 - cyrillic_cyrillic-ext_latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Comfortaa';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/comfortaa-v47-cyrillic_cyrillic-ext_latin_latin-ext-300.woff2') format('woff2');
}
/* comfortaa-regular - cyrillic_cyrillic-ext_latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Comfortaa';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/comfortaa-v47-cyrillic_cyrillic-ext_latin_latin-ext-regular.woff2') format('woff2');
}
/* comfortaa-500 - cyrillic_cyrillic-ext_latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Comfortaa';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/comfortaa-v47-cyrillic_cyrillic-ext_latin_latin-ext-500.woff2') format('woff2');
}
/* comfortaa-600 - cyrillic_cyrillic-ext_latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Comfortaa';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/comfortaa-v47-cyrillic_cyrillic-ext_latin_latin-ext-600.woff2') format('woff2');
}
/* comfortaa-700 - cyrillic_cyrillic-ext_latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Comfortaa';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/comfortaa-v47-cyrillic_cyrillic-ext_latin_latin-ext-700.woff2') format('woff2');
}

/* Global Typography Elements */
.h4, h4 {
    font-size: 1.3rem;
    font-weight: bold;
}

@media (min-width: 1200px) {
    .h4, h4 {
        font-size: 1.3rem;
        font-weight: bold;
    }
}

p.lead {
    font-size: 1.25rem !important;
    font-weight: 300 !important;
}

span {
    color: var(--color-mp-brown);
}

.content p {
    color: var(--default-color) !important;
}


/* ==========================================================================
   3. GLOBAL STYLES, HELPERS & UTILITIES
   ========================================================================== */

/* Spacing & Utilities */
.no-last-margin > *:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.mp-text-small{
    font-size: 0.9rem !important;
}

.mp-radius-huge {
    border-radius: var(--border-radius-huge) !important;
}

@media (max-width: 768px) {
    .mp-radius-mobile {
        border-radius: 0 !important;
    }
}

.mp-shadow{
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

/* Backgrounds & Colors Helpers */
.color-mp-white-transparent {
    color: var(--color-mp-white-transparent);
}

.color-mp-attention {
    color: var(--color-mp-red-2);
}

.color-mp-green {
    color: var(--color-mp-green) !important;
}

.bg-mp-white-transparent-1 {
    background-color: var(--color-mp-white-transparent-1);
}

.light-background {
    background-color: var(--color-mp-brown-transparent-1);
}

/* Common UI Elements */
hr.divider {
    border: 0;
    height: 1px;
    background-color: var(--color-mp-green);
    width: 100%;
    margin: 2rem 0;
}

.section-title {
    padding-bottom: 50px;
}

.section-title h2, .section-title h1 {
    position: relative;
    font-size: 42px;
    font-weight: 700;
    background: none;
    -webkit-text-fill-color: initial;
    background-clip: unset;
    color: var(--color-mp-brown);
    margin: 0;
}

.section-title .title-shape {
    color: var(--color-mp-brown);
    width: 180px;
    height: auto;
    opacity: 0.3;
}

.section-title p {
    color: var(--color-mp-brown);
}


/* ==========================================================================
   4. LINKS & BUTTONS
   ========================================================================== */

/* Global Links */
a {
    color: var(--accent-color);
    display: inline-block; /* Обязательно для работы transform */
    transition: all 0.3s ease; /* Плавность для цвета и движения */

    text-decoration: underline;
    text-decoration-thickness: 1px; /* Делает линию тонкой. Можно использовать 0.5px */
    text-underline-offset: 3px; /* Опционально: немного отодвигает линию от текста, чтобы она не перечеркивала буквы вроде "у" или "р" */
}

a:hover {
    color: var(--accent-color) !important;
    transform: translateY(-2px); /* Поднимаем ссылку на 2 пикселя вверх */
    text-decoration: none; /* Убираем подчеркивание при наведении */
}

.promotions a:hover, .services a:hover, .portfolio a:hover {
    transform: none;
}

/* Special Links (Back/Front) */
.backlink, .frontlink {
    transition: 0.3s ease-in-out;
    display: inline-flex !important;
}

.backlink:hover {
    transform: translateX(-10px);
}

.frontlink:hover {
    transform: translateX(10px);
}

.frontlink a:hover, .backlink a:hover {
    transform: none;
}

@media (max-width: 575px) {
    .backlink, .frontlink {
        transition: none;
    }
    .backlink:hover, .frontlink:hover {
        transform: none;
    }
}

/* Global Buttons */
.btn.mp-buttons {
    background-color: var(--color-mp-green);
    border-color: var(--color-mp-green);
    color: var(--color-mp-white);
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn.mp-buttons:hover, .btn.mp-buttons:active {
    background-color: color-mix(in srgb, var(--color-mp-green), transparent 15%);
    border-color: color-mix(in srgb, var(--color-mp-green), transparent 15%);
    transform: translateY(-2px);
}

a.btn.btn-primary:hover, a.btn.btn-outline:hover, a.btn.mp-buttons:hover {
    color: var(--color-mp-white) !important;
}

/* CTA Buttons */
.cta .cta-buttons .btn {
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta .cta-buttons .btn.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--contrast-color);
}

.cta .cta-buttons .btn.btn-outline {
    border: 2px solid color-mix(in srgb, var(--accent-color), transparent 70%);
    color: var(--accent-color);
    background: transparent;
}

.cta .cta-buttons .btn.btn-primary:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
    border-color: color-mix(in srgb, var(--accent-color), transparent 15%);
    transform: translateY(-2px);
}

.cta .cta-buttons .btn.btn-outline:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: translateY(-2px);
}


/* ==========================================================================
   5. HEADER & NAVIGATION
   ========================================================================== */

.header {
    background-color: var(--color-mp-transparent);
}

.header .header-container {
    background: var(--color-mp-green);
    box-shadow: 0 0 3rem var(--color-mp-black-transparent-2);
}

.header .header-social-links {
    padding: 0;
}

.header .header-social-links a {
    padding: 0 5px 0 5px;
    color: var(--color-mp-white);
    font-size: 20px;
}

@media (max-width: 340px) {
    .header .header-social-links a {
        padding: 0 2px 0 2px;
    }
}

.header .header-social-links a:hover {
    color: var(--color-mp-brown) !important;
}

header a, .navmenu a:focus {
    text-decoration: none !important;
}

header a:hover {
    color: var(--color-mp-brown) !important;
    transform: none;
}

@media (max-width: 1200px) {
    .navmenu ul {
        border-radius: var(--border-radius-huge);
    }
    .navmenu a, .navmenu a:focus {
        justify-content: center;
        padding: 16px 20px;
        text-decoration: none !important;
        color: var(--color-mp-white);
        font-size: 1.5rem;
    }
    .navmenu a:hover, .navmenu .active, .navmenu .active:focus {
        color: var(--color-mp-brown);
    }
    .mobile-nav-active .navmenu > ul {
        align-self: start;
    }
}

/* Breadcrumbs */
.page-title .breadcrumbs .breadcrumb .breadcrumb-item {
    color: var(--color-mp-green);
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item.active {
    color: var(--color-mp-brown);
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: var(--color-mp-green);
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item a:hover, .page-title .breadcrumbs .breadcrumb .breadcrumb-item a:active {
    color: var(--color-mp-brown);
}

.breadcrumbs a:hover{
    transform: none;
}


/* ==========================================================================
   6. FOOTER & SCROLL-TOP
   ========================================================================== */

.footer {
    color: var(--default-color);
    background-color: var(--color-mp-white);
    background-image: url("/user/themes/mila-pro/assets/footer-bg-summer.png");
    background-repeat: no-repeat;
    background-position: center;
    background-position-y: bottom;
    padding: 40px 0;
}

.scroll-top {
    z-index: 999;
    box-shadow: 0 0 2rem var(--color-mp-black-transparent-2);
}


/* ==========================================================================
   7. PAGE: HOME
   ========================================================================== */

/* Hero Section */
.hero-tagline {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-mp-brown);
    margin-bottom: 3rem;
    text-shadow: 0 0 1rem var(--color-mp-black-transparent-2);
}

.hero-title {
    font-weight: 700 !important;
    font-size: 3.0rem !important;
    line-height: 1.1 !important;
    margin-bottom: 3rem !important;
    max-width: 90% !important;
}

.highlight-text {
    color: var(--color-mp-green);
    text-shadow: 0 0 1rem var(--color-mp-black-transparent-3);
}

.hero-desc {
    font-size: 1.15rem !important;
    font-weight: 400 !important;
    margin-bottom: 3rem !important;
    margin-top: 2rem !important;
    max-width: 80% !important;
}

.hero-disclaimer {
    font-size: 0.9rem;
    color: var(--color-mp-black-transparent-1);
}

.hero-disclaimer a:link, .hero-disclaimer a:visited {
    color: var(--color-mp-black-transparent-1);
    text-decoration: underline;
}

.hero-disclaimer a:hover {
    color: var(--color-mp-green);
    text-decoration: underline;
}

@media (max-width: 1200px) {
    .hero-title, .hero-desc {
        max-width: 100% !important;
    }
}

/* Problems Section */
.problems .problems-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    padding: 0 2rem;
}

.problems .problems-item h3{
    margin-top: 2rem;
}

.problems .problems-item p{
    margin-top: 0.5rem;
    font-weight: 500;
    padding: 0 1rem;
    color: var(--color-mp-brown-transparent);
}

/* About Section */
.about .about-image img {
    box-shadow: none !important;
}

.signature {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.signature .signature-image {
  max-width: 150px;
}

.signature .signature-info h4 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.signature .signature-info p {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0;
}

.signature .signature-image img{
    max-width: 100px !important;
    width: 70px;
    height: 70px;
    border: 1px solid var(--color-mp-green);
    padding: 2px;
    border-radius: 50%;
    transition: 0.3s;
}

.signature .signature-image img:hover, .signature .signature-image img:focus {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px color-mix(in srgb, var(--color-mp-black), transparent 80%);
    filter: unset;
}

.about .personal-info .info-item .label{
    color: var(--color-mp-brown-transparent);
    font-size: 1.25rem !important;
}

/* Grid Titles & Wrappers */
.grid-title{
    border: 1px solid var(--color-mp-brown-transparent);
    padding: 1rem;
    background-color: var(--color-mp-brown-transparent-1);
}

.grid-title p{
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--color-mp-brown-transparent);
}

.img-wrapper {
    width: 100%;
    height: 300px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/* ==========================================================================
   8. PAGE: SPECIALIST & RESUME
   ========================================================================== */

.resume .resume-wrapper .timeline .timeline-item .timeline-left .period {
    color: var(--color-mp-green);
    font-size: 1.6rem;
    font-weight: bolder;
}

.resume .resume-wrapper .timeline .timeline-item .timeline-right .description {
    color: var(--color-mp-brown);
    margin-bottom: 0.8rem;
}

.resume .resume-wrapper .timeline .timeline-item .timeline-right .description:hover {
    color: var(--color-mp-brown);
}

.resume .resume-wrapper .timeline .timeline-item .timeline-right .position {
    color: var(--color-mp-green);
    margin-bottom: 16px;
}

.timeline-diplomas, .timeline-pics{
    box-shadow: 0 0 20px color-mix(in srgb, var(--color-mp-black), transparent 95%);
    border-radius: var(--border-radius-huge);
    text-align: center;
    padding: 1.5rem;
}

.timeline-diplomas .timeline-diplomas-item img, .timeline-pics .timeline-pics-item img{
    border-radius: var(--border-radius-medium);
    border: 1px solid var(--color-mp-green-transparent);
    transition: 0.3s;
    opacity: 1;
    max-height: 100px !important;
    width: auto;
    filter: grayscale(100%);
}

.timeline-pics .timeline-pics-item img{
    border: unset;
    max-height: 200px !important;
    filter: unset;
}

.timeline-diplomas .timeline-diplomas-item img:hover, .timeline-pics .timeline-pics-item img:hover{
    transform: translateY(-5px);
    opacity: 1;
    box-shadow: 0 3px 10px color-mix(in srgb, var(--color-mp-black), transparent 80%);
    filter: unset;
}

.blog-item-specialist{
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius-huge);
    padding: 2rem;
}

.blog-item-specialist-text{
    font-size: 15px;
    margin: 0;
}

.blog-item-specialist-date{
    font-size: 12px;
    color: var(--color-mp-brown);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bolder;
    display: block;
    margin-bottom: 10px;
}


/* ==========================================================================
   9. PAGE: SERVICES & SERVICE DETAILS
   ========================================================================== */

/* Service Cards */
.services .servies-title {
    font-size: 2.0rem;
    margin-top: 60px;
}

@media (max-width: 460px) {
    .services .servies-title {
        font-size: 1.4rem;
        margin-top: 40px;
    }
}

.services .srv-card {
    border-radius: var(--border-radius-huge);
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.1s ease-in-out;
}

.services .srv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.services .srv-card .srv-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 6;
}

@media (max-width: 992px) {
    .services .srv-card .srv-image {
        aspect-ratio: 16 / 9;
    }
}

.services .srv-card .srv-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services .srv-card .srv-image img:hover {
    opacity: 1;
}

.services .srv-card .srv-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    padding-left: 0;
}

.services .srv-card .srv-overlay p, .services .srv-card .srv-overlay p.sub {
    font-size: 1.5rem;
    margin: 0;
    color: var(--color-mp-white);
}

.services .srv-card .srv-overlay p.sub {
    font-size: 1rem;
    font-weight: bolder;
}

.services .srv-card .srv-overlay .srv-label{
    background-color: var(--color-mp-brown-transparent-3);
    border-radius: 0 100px 100px 0;
    padding: 16px;
    padding-right: 35px;
}

.srv-label p.sub, .srv-label p{
    color: var(--color-mp-white);
}

.related-services-links {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    border-radius: 50px;
    text-align: center;
}

/* Service Details */
.service-details .service-details-slider {
    border-radius: var(--border-radius-huge);
}

.service-item-image {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-details .service-info, .service-details .related-services {
    border-radius: var(--border-radius-huge);
}

.service-details .service-info .info-item h5 {
    color: var(--color-mp-green);
    font-size: 1.5em;
    font-weight: bold;
}

.service-details .service-info .info-item p {
    margin-bottom: 10px;
}

.service-details .service-info .info-item p:last-child {
    margin-bottom: 0;
}

.service-details .related-services .service-item {
    margin-bottom: 0;
    padding-bottom: 25px;
    border: 0;
}

.service-details .content h3 {
    margin-bottom: 20px;
    margin-top: 40px;
}

.service-details .content h4 {
    margin-bottom: 10px;
    margin-top: 25px;
}

.service-details .related-services .service-item h5 a {
    color: var(--color-mp-green);
    transition: 0.3s;
}

.service-details .related-services .service-item h5 a:hover {
    color: var(--color-mp-green-transparent-3);
    text-decoration: none;
}

.service-details .related-services .service-item h5 {
    font-size: 18px;
    margin-bottom: 3px;
}

/* Service Pricing */
.price-row {
    margin-bottom: 20px;
}

.price-row:last-child {
    margin-bottom: 0;
}

.price-name {
    font-weight: bold;
    font-size: 26px;
    color: var(--color-mp-green);
}

.price-desc {
    font-weight: normal;
    font-size: 16px;
    color: var(--color-mp-brown);
}

.price-delimiter {
    font-size: 0.5rem;
    color: color-mix(in srgb, var(--color-mp-brown), transparent 85%);
}

.price-sum {
    font-weight: bold;
    font-size: 26px;
    color: var(--color-mp-green);
}

.price-currency {
    font-weight: normal;
    font-size: 16px;
    color: var(--color-mp-brown);
}


/* ==========================================================================
   10. PAGE: TESTIMONIALS (REVIEWS)
   ========================================================================== */

p.label-comment{
    font-size: 0.7rem;
    color: var(--color-mp-brown-transparent);
}

.review-card {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius-huge);
    padding: 2rem;
}

.review-card-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: var(--color-mp-green);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-mp-white);
    padding-top: 0.49rem;
}

.review-card-avatar i{
    font-size: 2.2rem;
}

.review-card-name {
    color: var(--color-mp-brown);
    font-size: 1.5rem;
}

.review-card-date, .review-card-type{
    font-size: 14px;
    font-weight: bolder;
    color: var(--color-mp-brown);
    text-transform: uppercase;
}

.review-card-type{
    color: var(--color-mp-green);
    font-weight: 400;
}

.review-card-text{
    padding: 0;
    margin: 0;
}

.review-card-text p{
    margin-top: 1rem;
    font-size: 1rem;
}

.review-card-text p:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
}


/* ==========================================================================
   11. PAGE: PROMOTIONS
   ========================================================================== */

.promotions .promo-card{
    border-radius: var(--border-radius-huge);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    opacity: 0.9;
    padding: 2rem;
}

.promotions .promo-card:hover{
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.promo-image{
    border-radius: var(--border-radius-extra);
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 6;
}

.promotions .promo-card .promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promotions .promo-card .promo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding-bottom: 30px;
    padding-right: 20px;
    border-radius: var(--border-radius-extra);
}

.promotions .promo-card .promo-overlay .promo-label{
    background-color: var(--color-mp-green-transparent);
    border-radius: 0 100px 100px 0;
    padding: 20px;
    padding-right: 35px;
    box-shadow: 0 0 3em var(--color-mp-white-transparent);
}

.promotions .promo-card .promo-overlay p {
    font-size: 1.5rem;
    margin: 0;
    color: var(--color-mp-white);
}

.promo-label .promo-date, .promo-label .promo-date-end{
    color: var(--color-mp-white);
    border: var(--color-mp-green) solid 1px;
    background-color: var(--color-mp-green);
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: bolder;
    padding: 0.5rem 1rem;
    padding-top: 0.7rem;
    border-radius: var(--border-radius-huge);
}

.promo-label .promo-date-end{
    background-color: var(--color-mp-red-2);
    border: none;
}

@media (max-width: 1199px) {
    .promo-image { aspect-ratio: 16 / 9; }
}

@media (max-width: 992px) {
    .promo-image { aspect-ratio: 16 / 10; }
    .promotions .promo-card .promo-overlay p { font-size: 1rem !important; }
    .promo-label .promo-date, .promo-label .promo-date-end{ font-size: 0.6rem; font-weight: bold; }
}

@media (max-width: 767px) {
    .promo-image { aspect-ratio: 16 / 12; }
}

@media (max-width: 429px) {
    .promotions .promo-card{
        margin-top: 24px;
        box-shadow: unset;
        background-color: var(--color-mp-transparent) !important;
        padding: 0;
        border-radius: var(--border-radius-huge);
    }
    .promo-image {
        aspect-ratio: 16 / 16;
        border-radius: var(--border-radius-huge) !important;
    }
    .promotions .promo-card .promo-overlay p { font-size: 1rem; }
}

.promo-title h2{
    border-radius: var(--border-radius-huge);
    border: 1px solid var(--color-mp-brown-transparent);
    padding: 1rem;
    text-align: center;
    background: var(--color-mp-brown-transparent-1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.promo-text, .promo-important{
    border-radius: var(--border-radius-huge);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    background: var(--color-mp-white);
}

.promo-important{
    background: var(--color-mp-green-transparent-1);
    border: 1px solid var(--color-mp-green-transparent);
}

.promo-period{
    margin: 0;
    margin-top: 2rem;
    padding: 0.5rem;
    border-radius: var(--border-radius-huge);
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    font-weight: bolder;
    text-transform: uppercase;
}


/* ==========================================================================
   12. PAGE: BLOG & PORTFOLIO
   ========================================================================== */

.portfolio-overlay a {
    text-decoration: none;
}

.portfolio-overlay a:hover {
    color: var(--color-mp-white) !important;
}

.portfolio .portfolio-card {
    border-radius: var(--border-radius-huge);
}

.portfolio .portfolio-card .portfolio-image {
    aspect-ratio: 16 / 9;
}

.portfolio .portfolio-card .portfolio-content .portfolio-datetag{
    display: flex !important;            /* d-flex */
    justify-content: space-between !important; /* justify-content-between */
    align-items: flex-start !important;        /* align-items-start */
}

@media (min-width: 768px) and (max-width: 992px) {
    .portfolio .portfolio-card .portfolio-content .portfolio-datetag {
        display: flex !important;
        flex-direction: column !important; /* Выстраивает элементы в колонку */
        align-items: flex-start !important; /* Выравнивает по левому краю */
    }
}

.portfolio .portfolio-card .portfolio-content .category, .portfolio .portfolio-card .portfolio-content .date {
    font-size: 1rem;
    color: var(--color-mp-brown);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 300;
    display: block;
    margin-bottom: 10px;
}

.portfolio .portfolio-card .portfolio-content .date {
    font-weight: bolder;
}

.portfolio .portfolio-card .portfolio-content h3:hover {
    color: unset;
}

.portfolio .portfolio-card .portfolio-content h3 {
    font-size: 1.4rem;
    margin: 0 0 15px;
    font-weight: 600;
    transition: unset;
}

.portfolio .portfolio-card .portfolio-overlay .portfolio-actions a {
    font-size: 21px;
    width: auto;
    border-radius: 999px;
    padding: 1rem;
}

.portfolio .portfolio-card .portfolio-overlay .portfolio-actions a:hover {
    transform: none !important;
}

.portfolio .portfolio-filters li {
    font-size: 1rem;
}

.portfolio .portfolio-card .portfolio-content p {
    font-size: 1rem;
    color:  var(--color-mp-brown);
}

.blog-summary{
    font-weight: bold;
    font-size: 1.5rem;
}

/* Category Chips */
.category-chips {
    max-width: 85%;
}

@media (min-width: 768px) and (max-width: 992px) {
    .category-chips {
        max-width: none !important;
        padding-bottom: 0.8rem;
    }
}


.category-chip {
    display: inline-block;
    padding: 0.25rem 0.65rem 0.15rem 0.65rem;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--color-mp-green);
    background-color: var(--color-mp-green-transparent-1);
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    white-space: nowrap;
}


/* ==========================================================================
   13. PAGE: BOOKING & FORMS
   ========================================================================== */

.contact .contact-form .form-control, .contact .contact-form .form-select {
    color: var(--color-mp-brown);
}

/* Map Modals */
@media (min-width: 768px) {
    .modal-90-percent {
        max-width: 90vw;
        height: 90vh;
        margin-top: 5vh;
        margin-bottom: 5vh;
        --bs-modal-margin: 0.5rem;
    }
    .modal-90-percent .modal-content {
        height: 100%;
    }
}

/* Form Animations & Grouping */
.animated-textarea {
    transition: height 0.3s ease-out;
    field-sizing: content;
}

#contactInputGroup,
#firstTimeCheckboxGroup {
    transition: all 0.5s ease-in-out;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);
    margin-top: 0 !important;
}

#contactInputGroup.show-input,
#firstTimeCheckboxGroup.show-input {
    max-height: 120px;
    opacity: 1;
    transform: translateY(0);
    margin-top: 1.2rem !important;
    padding-bottom: 0.3rem;
    padding-top: 0.3rem;
}

.form-check .form-check-input {
    margin-left: -1rem !important;
    margin-right: 0.6rem !important;
    margin-top: 0.1rem !important;
}

/* Form Success State */
.form-success i{
    color: var(--color-mp-green) !important;
}

.form-success h3, .form-success p{
    color: var(--color-mp-brown) !important;
}


/* ==========================================================================
   14. PAGE: RULES (PRIVACY / TERMS)
   ========================================================================== */

.rules-content {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius-huge);
    padding: 4em;
}

.rules-content h2, .rules-content h3 {
    margin-top: 3rem;
}

.rules-content h4 {
    margin-top: 2rem;
}

.rules-content p{
    margin-top: 1rem;
}

.rules-content ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.rules-content h3:first-child, .rules-content h2:first-child, .rules-content p:first-child, .rules-content ul:first-child {
    margin-top: 0;
}

/* ==========================================================================
   15. MISCELLANEOUS (SNOW ETC)
   ========================================================================== */

#snow-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}