
/* ============================================
   КОПИЦЕНТР CMYK58 - ОСНОВНЫЕ СТИЛИ
   ============================================ */

/* ---------- БАЗОВЫЕ НАСТРОЙКИ ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #f8f8f8;
    color: #333333;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

img:not([src]),
img[src=""] {
    visibility: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* ============================================
   HEADER / ШАПКА
   ============================================ */
.header {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 200px;
    padding: 20px;
    gap: 30px;
    flex-wrap: wrap;
}

.header-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: end;
    text-align: center;
    flex: 1 1 250px;
    min-width: 250px;
    max-width: 350px;
}

.work-hours {
    font-size: clamp(14px, 2vw, 25px);
    font-weight: 600;
    line-height: 1.1;
    color: #333;
    letter-spacing: 2px;
    margin-bottom: 12px;
    white-space: nowrap;
}

.header-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 5px;
    justify-content: center;
    letter-spacing: 1px;
    flex-wrap: wrap;
}

.contact-icon {
    width: clamp(16px, 2vw, 22px);
    height: clamp(16px, 2vw, 22px);
    min-width: 16px;
    min-height: 16px;
    flex-shrink: 0;
    object-fit: contain;
    display: inline-block;
}

.contact-link,
.contact-phone {
    color: #333;
    font-weight: 600;
    font-size: clamp(14px, 2vw, 25px);
    transition: color 0.2s ease;
    white-space: nowrap;
}

.contact-link:hover,
.contact-phone:hover {
    color: #b1b1b1;
    text-decoration: underline;
}

.header-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 1 auto;
    min-width: 280px;
}

.logo {
    font-size: clamp(32px, 6vw, 90px);
    font-weight: 800;
    line-height: 1.1;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-align: center;
    white-space: nowrap;
}

.header-right {
    text-align: left;
    font-size: 14px;
    line-height: 1.4;
    color: #3a3a3a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 15px;
    flex: 1 1 250px;
    min-width: 250px;
    max-width: 350px;
}

.branches-list {
    list-style: none;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.branch-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
}

.branch-icons {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-right: 10px;
    margin-top: 2px;
    flex-shrink: 0;
}

.branch-icons img {
    width: clamp(12px, 1.5vw, 16px);
    height: clamp(12px, 1.5vw, 16px);
    min-width: 12px;
    min-height: 12px;
    display: block;
}

.branch-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    overflow: hidden;
}

.branch-address,
.branch-email {
    font-size: clamp(10px, 1.2vw, 13px);
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================
   HERO / УСЛУГИ
   ============================================ */
.hero {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    background: linear-gradient(135deg, #3a3a3a 0%, #5a5a5a 100%);
    padding: 15px 30px;
    color: #fff;
}

.hero-item {
    flex: 1;
    text-align: center;
}

.hero-title {
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-text {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #f5f5f5;
}

/* ============================================
   PORTFOLIO / ПОРТФОЛИО
   ============================================ */
.portfolio {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-top: 30px;
    font-size: 32px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: #2c3e50;
}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.carousel {
    flex: 1;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.carousel-track {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 calc(100% / 3);
    max-width: calc(100% / 3);
    padding: 0 10px;
    box-sizing: border-box;
}

.carousel-slide.clone {
    opacity: 1;
}

.slide-content {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

.slide-content img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #ddd;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    color: #333;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: #333;
    color: white;
    border-color: #333;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s;
}

.indicator.active {
    background: #333;
}

/* ============================================
   PRICING / ПРАЙС-ЛИСТ
   ============================================ */
.pricing {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title-main {
    text-align: center;
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 30px;
    text-transform: uppercase;
    color: #2c3e50;
}

.pricing-row {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.pricing-col {
    flex: 1 1 calc(50% - 20px);
    min-width: 300px;
}

.pricing-col-full {
    flex: 1 1 100%;
}

.mt-25 {
    margin-top: 25px;
}

.mt-40 {
    margin-top: 40px;
}

.pricing-category {
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ccc;
    text-transform: uppercase;
}

.pricing-subcategory {
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    margin: 20px 0 10px;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.price-table-digital thead,
.price-table-photo thead,
.price-table-cards thead {
    display: table-header-group;
}

.price-table-digital tbody,
.price-table-photo tbody,
.price-table-cards tbody {
    display: table-row-group;
}

.price-table-digital tr,
.price-table-photo tr,
.price-table-cards tr {
    display: table-row;
}

.price-table-digital th,
.price-table-photo th,
.price-table-cards th,
.price-table-digital td,
.price-table-photo td,
.price-table-cards td {
    display: table-cell;
    padding: 8px 10px;
    text-align: center;
}

.price-table-digital td:first-child,
.price-table-photo td:first-child,
.price-table-cards td:first-child {
    text-align: center;
    font-weight: 700;
    padding-left: 15px;
}

.price-table-digital td,
.price-table-photo td,
.price-table-cards td {
    background: #e8e8e8;
}

.price-table-digital tr:nth-child(even) td,
.price-table-photo tr:nth-child(even) td,
.price-table-cards tr:nth-child(even) td {
    background: #f5f5f5;
    text-align: center;
}

.table-subheader td {
    text-align: center !important;
    font-weight: 700;
    padding: 12px;
    background: #e0e0e0 !important;
}

@media screen and (min-width: 1024px) {
    .price-table-digital,
    .price-table-photo,
    .price-table-cards {
        table-layout: fixed;
    }

    .price-table-digital thead tr,
    .price-table-photo thead tr,
    .price-table-cards thead tr {
        display: flex;
    }

    .price-table-digital thead th,
    .price-table-photo thead th,
    .price-table-cards thead th {
        flex: 1;
        text-align: center;
        padding: 8px 4px;
        font-weight: 400;
        color: #333;
        font-size: 13px;
    }

    .price-table-digital thead th:first-child,
    .price-table-photo thead th:first-child,
    .price-table-cards thead th:first-child {
        flex: 0 0 80px;
    }

    .price-table-digital tbody tr,
    .price-table-photo tbody tr,
    .price-table-cards tbody tr {
        display: flex;
        align-items: stretch;
    }

    .price-table-digital tbody td,
    .price-table-photo tbody td,
    .price-table-cards tbody td {
        flex: 1;
        text-align: center;
        padding: 8px 4px;
        background: #e8e8e8;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .price-table-digital tbody td:first-child,
    .price-table-photo tbody td:first-child,
    .price-table-cards tbody td:first-child {
        flex: 0 0 80px;
        font-weight: 700;
        text-align: left;
        padding-left: 15px;
        justify-content: flex-start;
    }

    .price-table-digital tbody tr:nth-child(even) td,
    .price-table-photo tbody tr:nth-child(even) td,
    .price-table-cards tbody tr:nth-child(even) td {
        background: #f5f5f5;
    }

    .table-subheader {
        display: flex !important;
        width: 100%;
    }

    .table-subheader td {
        flex: 1 1 100% !important;
        text-align: center !important;
        font-weight: 700;
        padding: 12px;
        background: #e0e0e0 !important;
        justify-content: center !important;
    }
}

.price-table-simple {
    width: 100%;
    border-collapse: collapse;
}

.price-table-simple td {
    padding: 8px 15px;
    background: #e8e8e8;
    vertical-align: middle;
}

.price-table-simple tr:nth-child(even) td {
    background: #f5f5f5;
}

.price-table-simple td:first-child {
    text-align: left;
    font-weight: 400;
}

.price-table-simple td:last-child {
    text-align: right;
    font-weight: 600;
}

.price-table-two-col {
    width: 100%;
    border-collapse: collapse;
}

.price-table-two-col th,
.price-table-two-col td {
    padding: 8px 15px;
    text-align: center;
    background: #e8e8e8;
    vertical-align: middle;
    font-weight: 700;
}

.price-table-two-col tr:nth-child(even) td {
    background: #f5f5f5;
}

.price-table-two-col td:last-child {
    text-align: center;
}

@media screen and (min-width: 1024px) {
    .price-table-two-col thead tr {
        display: flex;
    }

    .price-table-two-col thead th {
        flex: 1;
        text-align: left;
        padding: 8px 15px;
        font-weight: 400;
        color: #333;
    }

    .price-table-two-col tbody tr {
        display: flex;
        align-items: stretch;
    }

    .price-table-two-col tbody td {
        flex: 1;
        padding: 8px 15px;
        background: #e8e8e8;
        display: flex;
        align-items: center;
    }

    .price-table-two-col tbody td:first-child {
        justify-content: flex-start;
    }

    .price-table-two-col tbody td:last-child {
        justify-content: flex-end;
        font-weight: 600;
    }

    .price-table-two-col tr:nth-child(even) td {
        background: #f5f5f5;
    }
}

.price-table-thick {
    width: 100%;
    border-collapse: collapse;
}

.price-table-thick th {
    background: #f0f0f0;
    padding: 8px 10px;
    text-align: center;
    font-weight: 400;
}

.price-table-thick td {
    padding: 8px 10px;
    text-align: center;
    background: #e8e8e8;
    vertical-align: middle;
}

.price-table-thick tr:nth-child(even) td {
    background: #f5f5f5;
}

.price-table-thick td:first-child {
    text-align: left;
    font-weight: 400;
    padding-left: 15px;
}

.price-table-design,
.price-table-text {
    width: 100%;
    border-collapse: collapse;
}

.price-table-design td,
.price-table-text td {
    padding: 12px 15px;
    background: #e8e8e8;
    vertical-align: middle;
}

.price-table-design tr:nth-child(even) td,
.price-table-text tr:nth-child(even) td {
    background: #f5f5f5;
}

.price-table-design td:first-child {
    width: 80%;
    font-weight: 400;
}

.price-table-design td:last-child {
    text-align: right;
    font-weight: 700;
}

.price-table-text td:first-child {
    width: 70%;
    font-weight: 400;
}

.price-table-text td:last-child {
    text-align: right;
    font-weight: 700;
}

.price-notes {
    margin-top: 20px;
    font-size: 12px;
    line-height: 1.6;
    color: #555;
    padding-left: 20px;
}

.price-notes li {
    margin-bottom: 5px;
}

.price-note-text {
    font-size: 12px;
    margin-top: 10px;
    color: #555;
}

.price-phone-note {
    text-align: center;
    margin-bottom: 15px;
    font-size: 14px;
}

.price-phone-note a {
    color: #ef4444;
    font-weight: 600;
}

/* ============================================
   CONTACTS / КОНТАКТЫ
   ============================================ */
.contacts {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.contacts-title {
    font-size: 36px;
    font-weight: 700;
    color: #111;
    margin-bottom: 12px;
    text-align: center;
}

.contacts-subtitle {
    font-size: 18px;
    color: #666;
    text-align: center;
    margin-bottom: 48px;
}

.map-wrapper {
    display: flex;
    gap: 0;
    height: 500px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.branches-sidebar {
    width: 280px;
    background: #fff;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
    padding: 32px 0;
    overflow-y: auto;
}

#map {
    flex: 1;
    min-height: 300px;
}

.branch-btn {
    width: 100%;
    height: 88px;
    border: none;
    background: none;
    padding: 16px 24px;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-left: 3px solid transparent;
    color: #555;
    transition: all 0.2s ease;
    text-align: left;
    font-family: inherit;
}

.branch-btn:hover {
    color: #000;
    background: #f8f9fa;
    border-left-color: #ef4444;
}

.branch-btn.active {
    color: #ef4444;
    border-left-color: #ef4444;
    background: #fef2f2;
    font-weight: 500;
}

.branch-btn-address {
    font-weight: 600;
    color: #000;
    margin-bottom: 4px;
    font-size: 14px;
}

.branch-btn-email {
    font-size: 13px;
    color: #666;
    margin-bottom: 2px;
}

.branch-btn-time {
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

.leaflet-control-attribution,
.leaflet-control {
    display: none !important;
}

/* ============================================
   FOOTER / ПОДВАЛ
   ============================================ */
.footer {
    text-align: center;
    padding: 20px;
    font-size: 14px;
    color: #666;
    border-top: 1px solid #ddd;
    margin-top: 40px;
}

/* ============================================
   АДАПТИВНАЯ ВЕРСТКА
   ============================================ */

@media (max-width: 1440px) and (min-width: 768px) {
    .header {
        flex-wrap: nowrap;
        gap: 20px;
        padding: 20px;
    }

    .header-mob {
        display: none;
    }

    .header-left {
        flex: 0 1 280px;
        min-width: 200px;
    }

    .header-center {
        flex: 0 0 auto;
        min-width: 0;
    }

    .logo {
        font-size: clamp(36px, 6vw, 70px);
    }

    .header-right {
        flex: 0 1 280px;
        min-width: 200px;
    }

    .work-hours {
        font-size: clamp(14px, 1.8vw, 20px);
    }

    .contact-link,
    .contact-phone {
        font-size: clamp(14px, 1.8vw, 20px);
    }

    .branch-address,
    .branch-email {
        font-size: clamp(9px, 1.2vw, 12px);
    }

    .pricing-row {
        gap: 30px;
    }

    .pricing-col {
        flex: 1 1 100%;
    }

    .price-table {
        font-size: 13px;
    }

    .carousel-slide {
        flex-basis: calc(100% / 2);
        max-width: calc(100% / 2);
    }


}
@media (max-width: 1230px) and (min-width: 1060px) {
    .slide-content img {
        height: 500px;
    }
}
@media (max-width: 1440px) and (min-width: 1230px) {
    .slide-content img {
        height: 590px;
    }
}
@media (max-width: 1230px) and (min-width: 1000px) {
    .slide-content img {
        height: 430px;
    }
}
@media (max-width: 1000px) and (min-width: 897px) {
    .slide-content img {
        height: 390px;
    }
}
@media screen and (max-width: 767px) {
    .header {
        display: none;
    }

    .header-mob {
        display: flex;
        align-items: center;
        height: 100px;
        background-color: #f8f8f8;
        position: relative;
        margin-left: 25px;
    }

    .logo-mob {
        font-size: 36px;
        font-weight: 800;
        text-align: center;
        line-height: 1.1;
        width: 77%;
        justify-content: center;
    }

    .burger-menu {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        padding: 5px;
        z-index: 1001;
        display: grid;
    }

    .burger-line {
        width: 25px;
        height: 3px;
        background-color: #333;
        margin: 3px 0;
    }

    .burger-menu.open .burger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .burger-menu.open .burger-line:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.open .burger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .mobile-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        width: 100%;
        padding: 20px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        max-height: 0;
        opacity: 0;
        overflow-y: auto;
        transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
    }

    .mobile-menu.open {
        display: block;
        max-height: 80vh;
        opacity: 1;
    }

    .work-hours-mob {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 15px;
        font-size: 16px;
        padding: 8px 0;
        border-bottom: 1px solid #eee;
    }

    .work-hours,
    .phone,
    .website {
        margin-bottom: 15px;
        font-size: 16px;
        padding: 8px 0;
        border-bottom: 1px solid #eee;
    }

    .daily-text {
        font-size: 12px;
        color: #666;
        text-transform: uppercase;
        letter-spacing: 2px;
    }

    .hours-text {
        font-size: 20px;
        font-weight: bold;
        color: #333;
        margin-top: 5px;
    }

    .phone-icon,
    .website-icon,
    .address-item,
    .mail-item {
        display: flex;
        align-items: center;
    }

    .phone-icon img,
    .website-icon img,
    .address-item img,
    .mail-item img {
        width: 20px;
        height: 20px;
        margin-right: 10px;
    }

    .address-list {
        list-style: none;
    }

    .address-list li {
        margin-bottom: 20px;
        padding-bottom: 10px;
        border-bottom: 1px solid #eee;
    }

    .address-item,
    .mail-item {
        margin-bottom: 5px;
    }

    .mail-item {
        margin-top: 10px;
    }

    .branch-info {
        align-items: flex-start;
        text-align: left;
        min-width: auto;
    }

    .branch-address,
    .branch-email {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    .hero {
        flex-direction: column;
        gap: 20px;
        padding: 25px 20px;
    }

    .hero-item {
        text-align: center;
        padding: 10px 0;
    }

    .hero-title {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .hero-text {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 0;
    }

    .carousel-slide {
        flex-basis: 100%;
        max-width: 100%;
        padding: 0 5px;
    }

    .slide-content img {
        height: 590px;
    }

    .pricing-row {
        flex-direction: column;
        gap: 30px;
    }

    .pricing-col {
        flex: 1 1 100%;
        min-width: auto;
        width: 100%;
    }

    .price-table {
        font-size: 13px;
    }

    .map-wrapper {
        flex-direction: column;
        height: 700px;
    }

    .branches-sidebar {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        padding: 15px;
        gap: 10px;
        box-shadow: none;
        border-bottom: 1px solid #eee;
        height: auto;
        flex-shrink: 0;
    }

    .branch-btn {
        width: 100%;
        height: auto;
        min-height: 70px;
        border-left: none;
        border-bottom: 3px solid transparent;
        border-radius: 8px;
        padding: 12px;
        margin: 0;
    }

    .branch-btn:hover,
    .branch-btn.active {
        border-left-color: transparent;
        border-bottom-color: #ef4444;
    }

    #map {
        height: 500px;
        width: 100%;
        min-height: 400px;
    }

    .price-table-digital,
    .price-table-photo,
    .price-table-cards {
        display: inline-table;
        overflow-x: auto;
        white-space: nowrap;
    }

    .price-table-digital table,
    .price-table-photo table,
    .price-table-cards table {
        min-width: 500px;
    }

    .footer {
        display: block;
        text-align: center;
        padding: 20px;
        font-size: 14px;
        color: #666;
        border-top: 1px solid #ddd;
        margin-top: 40px;
    }
}

@media (max-width: 360px) {
    .logo {
        font-size: clamp(24px, 8vw, 32px);
    }

    .work-hours {
        font-size: clamp(12px, 4vw, 16px);
    }

    .contact-link,
    .contact-phone {
        font-size: clamp(12px, 4vw, 16px);
    }

    .branch-address,
    .branch-email {
        font-size: clamp(9px, 3vw, 11px);
    }

    .hero {
        gap: 15px;
        padding: 20px 15px;
    }

    .hero-item {
        padding: 8px 0;
    }

    .hero-title {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .hero-text {
        font-size: 13px;
        line-height: 1.4;
    }

    .section-title,
    .section-title-main {
        font-size: 24px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .carousel-wrapper {
        gap: 10px;
    }

    .carousel-slide {
        flex-basis: 100%;
        max-width: 100%;
        padding: 0 5px;
    }

    .slide-content img {
        height: 250px;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .carousel-indicators {
        margin-top: 15px;
    }

    .pricing {
        padding: 0 10px;
    }

    .pricing-category {
        font-size: 14px;
    }

    .price-table {
        font-size: 12px;
    }

    .price-table th,
    .price-table td {
        padding: 5px 6px;
    }

    .price-notes {
        font-size: 11px;
        padding-left: 15px;
    }

    .contacts {
        padding: 20px 15px;
    }

    .contacts-title {
        font-size: 28px;
    }

    .contacts-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .map-wrapper {
        height: auto;
    }

    .branches-sidebar {
        display: flex;
        flex-direction: column;
        padding: 15px;
        gap: 8px;
    }

    .branch-btn {
        width: 100%;
        min-height: 70px;
        padding: 10px 15px;
    }

    .branch-btn-address {
        font-size: 13px;
    }

    .branch-btn-email {
        font-size: 12px;
    }

    #map {
        height: 350px;
        min-height: 300px;
    }

    .price-table-design td:first-child,
    .price-table-text td:first-child {
        width: 60%;
    }

    .footer {
        padding: 15px;
        font-size: 12px;
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 20px;
    }

    .hero-title {
        font-size: 18px;
    }

    .hero-text {
        font-size: 12px;
    }

    .slide-content img {
        height: 220px;
    }

    .price-table {
        font-size: 11px;
    }

    .price-table th,
    .price-table td {
        padding: 4px 5px;
    }

    .price-table-simple td {
        padding-left: 8px;
        padding-right: 8px;
    }

    .price {
        padding-right: 8px;
    }

    #map {
        height: 300px;
    }
}

@media (min-width: 1440px) {
    .portfolio {
        max-width: 1600px;
    }

    .header-mob {
        display: none;
    }

    .carousel-slide {
        flex-basis: calc(100% / 3);
        max-width: calc(100% / 3);
    }

    .slide-content img {
        height: 450px;
    }

    .hero {
        max-width: 100%;
        margin: 0 auto;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .hero-item {
        flex: 1 1 30%;
    }

    .map-wrapper {
        height: 350px;
        flex-direction: row;
    }

    .branches-sidebar {
        width: 200px;
        display: flex;
        flex-direction: column;
    }

    #map {
        height: 100%;
    }
}

@media (hover: none) and (pointer: coarse) {
    .carousel-btn {
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.95);
    }

    .branch-btn {
        min-height: 44px;
    }
}

@media print {
    .carousel-wrapper,
    .map-wrapper,
    .carousel-btn,
    .carousel-indicators {
        display: none !important;
    }

    .pricing-row {
        page-break-inside: avoid;
    }

    .price-table {
        page-break-inside: auto;
    }

    .price-table tr {
        page-break-inside: avoid;
        page-break-after: auto;
    }

    .pricing {
        max-width: 100%;
    }
}
