/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Color Palette */
    --color-primary: #0f4c81;        /* Premium corporate deep blue */
    --color-primary-light: #1d6fa5;  /* Secondary blue */
    --color-accent: #0052cc;         /* Bright interactive blue */
    --color-accent-bg: #e6f0fa;      /* Very soft blue for cards/badges */
    --color-success: #25d366;       /* WhatsApp Green */
    --color-info: #0088cc;          /* Telegram Blue */
    --color-text-dark: #1e293b;     /* Slate dark for titles */
    --color-text-body: #475569;     /* Slate gray for paragraphs */
    --color-bg-light: #f8fafc;      /* Soft page backgrounds */
    --color-bg-white: #ffffff;      /* Pure white */
    --color-border: #e2e8f0;        /* Light gray borders */
    
    /* Typography */
    --font-headings: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Borders */
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-body);
    background-color: var(--color-bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    color: var(--color-text-dark);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container--narrow {
    max-width: 800px;
}

/* Section Common Styles */
.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--color-bg-light);
}

.text-accent {
    color: var(--color-accent);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    display: inline-block;
    color: var(--color-accent);
    font-family: var(--font-headings);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-top: 5px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-headings);
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

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

.btn--primary:hover {
    background-color: #0043b8;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--outline {
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
    background-color: transparent;
}

.btn--outline:hover {
    background-color: var(--color-accent-bg);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--full {
    display: flex;
    width: 100%;
}

/* ==========================================================================
   TOP BAR & HEADER NAVIGATION
   ========================================================================== */
.top-bar {
    background-color: var(--color-primary);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar__content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar__item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar__icon {
    width: 16px;
    height: 16px;
    color: var(--color-bg-white);
}

/* Header */
.header {
    background-color: var(--color-bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition-smooth);
}

.header--scrolled {
    box-shadow: var(--shadow-md);
    padding: 5px 0;
}

.header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo__icon-box {
    width: 42px;
    height: 42px;
    background-color: var(--color-accent-bg);
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.logo:hover .logo__icon-box {
    transform: rotate(360deg);
    background-color: var(--color-accent);
    color: var(--color-bg-white);
}

.logo__svg {
    width: 26px;
    height: 26px;
}

.logo__text {
    display: flex;
    flex-direction: column;
}

.logo__brand {
    font-family: var(--font-headings);
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1;
    color: var(--color-primary);
    letter-spacing: 0.5px;
}

.logo__sub {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-body);
    font-weight: 600;
    margin-top: 2px;
}

/* Navigation Menu */
.nav__list {
    display: flex;
    gap: 25px;
}

.nav__link {
    font-family: var(--font-headings);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-dark);
    position: relative;
    padding: 8px 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition-smooth);
}

.nav__link:hover {
    color: var(--color-accent);
}

.nav__link:hover::after {
    width: 100%;
}

.header__contact {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.header__phone {
    font-family: var(--font-headings);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-accent);
}

.header__phone:hover {
    color: var(--color-primary-light);
}

.header__hours {
    font-size: 0.75rem;
    color: var(--color-text-body);
    font-weight: 500;
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    z-index: 110;
}

.nav-toggle__bar {
    width: 100%;
    height: 3px;
    background-color: var(--color-text-dark);
    border-radius: 3px;
    transition: var(--transition-smooth);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    padding: 80px 0;
    overflow: hidden;
}

.hero__content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;
}

.hero__title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 20px;
    line-height: 1.15;
}

.hero__subtitle {
    font-size: 1.15rem;
    color: var(--color-text-body);
    margin-bottom: 30px;
}

.hero__badge {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--color-accent);
    color: var(--color-bg-white);
    padding: 15px 20px;
    border-radius: var(--border-radius-md);
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
}

.hero__badge-icon {
    flex-shrink: 0;
    background-color: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__badge-text {
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.3;
}

.hero__list {
    margin-bottom: 35px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.hero__list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text-dark);
}

.hero__checkmark {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.hero__buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero__image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero__image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 8px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    pointer-events: none;
    z-index: 1;
}

.hero__image {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.hero__image-wrapper:hover .hero__image {
    transform: scale(1.03);
}

/* ==========================================================================
   STATS BAR
   ========================================================================== */
.stats {
    background-color: var(--color-primary);
    color: var(--color-bg-white);
    padding: 40px 0;
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stats__card {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stats__icon-wrapper {
    background-color: rgba(255, 255, 255, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-bg-white);
}

.stats__info {
    display: flex;
    flex-direction: column;
}

.stats__number {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.stats__label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 2px;
}

/* ==========================================================================
   WHY CHOOSE US (ПОЧЕМУ НАМ ДОВЕРЯЮТ)
   ========================================================================== */
.why-us__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-us__card {
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 35px 30px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.why-us__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 82, 204, 0.2);
}

.why-us__icon-box {
    background-color: var(--color-accent-bg);
    color: var(--color-accent);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.why-us__icon {
    width: 26px;
    height: 26px;
}

.why-us__card-title {
    font-size: 1.15rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.why-us__card-text {
    font-size: 0.9rem;
    color: var(--color-text-body);
}

/* ==========================================================================
   SERVICES (УСЛУГИ)
   ========================================================================== */
.services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.services__card {
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.services__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.services__image-box {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.services__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.services__card:hover .services__image {
    transform: scale(1.06);
}

.services__info {
    padding: 25px 20px;
}

.services__title {
    font-size: 1.25rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.services__text {
    font-size: 0.875rem;
    color: var(--color-text-body);
}

/* ==========================================================================
   COMBINED PRICES, TERMS & DELIVERY
   ========================================================================== */
.details-section__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 0.9fr;
    gap: 30px;
    align-items: start;
}

.details-card {
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--color-border);
    padding: 35px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.details-card__title {
    font-size: 1.4rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-accent-bg);
}

/* Prices Table */
.table-responsive {
    overflow-x: auto;
    margin-bottom: 20px;
}

.prices-table {
    width: 100%;
    border-collapse: collapse;
}

.prices-table th, .prices-table td {
    padding: 14px 10px;
    text-align: left;
}

.prices-table th {
    font-family: var(--font-headings);
    font-weight: 700;
    color: var(--color-text-dark);
    border-bottom: 2px solid var(--color-border);
    font-size: 0.85rem;
    text-transform: uppercase;
}

.prices-table td {
    border-bottom: 1px solid var(--color-border);
    font-size: 0.95rem;
}

.prices-table tr:last-child td {
    border-bottom: none;
}

.price-val {
    font-weight: 700;
    color: var(--color-accent);
    text-align: right;
}

.details-card__disclaimer {
    font-size: 0.8rem;
    color: var(--color-text-body);
    margin-bottom: 25px;
    line-height: 1.4;
}

/* Terms Checklist */
.terms-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.terms-list__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.terms-list__icon {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 3px;
}

.terms-list__item span {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-dark);
}

/* Delivery Schedule */
.delivery-schedule {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
}

.delivery-schedule__zone {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.delivery-schedule__zone-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-text-dark);
}

.delivery-schedule__days {
    display: flex;
    gap: 10px;
}

.day-badge {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--color-bg-light);
    color: var(--color-text-body);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.delivery-schedule__zone:nth-child(1) .day-badge {
    background-color: var(--color-accent-bg);
    color: var(--color-accent);
    border-color: rgba(0, 82, 204, 0.2);
}

.delivery-schedule__zone:nth-child(2) .day-badge {
    background-color: #f1f5f9;
    color: var(--color-primary);
    border-color: rgba(15, 76, 129, 0.2);
}

.delivery-footer {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px dashed var(--color-border);
}

.delivery-footer__icon {
    width: 28px;
    height: 28px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.delivery-footer__text {
    font-size: 0.825rem;
    line-height: 1.4;
}

/* ==========================================================================
   WHO WE WORK WITH (С КАКИМИ ОБЪЕКТАМИ)
   ========================================================================== */
.formats__grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 15px;
}

.formats__item {
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 20px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.formats__item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 82, 204, 0.3);
}

.formats__icon-wrapper {
    width: 50px;
    height: 50px;
    background-color: var(--color-bg-light);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.formats__item:hover .formats__icon-wrapper {
    background-color: var(--color-accent);
    color: var(--color-bg-white);
}

.formats__icon {
    width: 22px;
    height: 22px;
}

.formats__name {
    font-family: var(--font-headings);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-dark);
}

/* ==========================================================================
   SEO TEXT SECTION
   ========================================================================== */
.seo-text {
    background-color: var(--color-bg-light);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.seo-text__title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
}

.seo-text__content p {
    margin-bottom: 15px;
    font-size: 0.925rem;
    line-height: 1.7;
    text-align: justify;
}

.seo-text__content p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   FAQ SECTION (ОТВЕТЫ НА ВОПРОСЫ)
   ========================================================================== */
.faq__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    align-items: start;
}

.faq__col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(0, 82, 204, 0.2);
}

.faq-item__trigger {
    width: 100%;
    padding: 20px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-text-dark);
    transition: var(--transition-smooth);
}

.faq-item__icon {
    position: relative;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.faq-item__icon::before, .faq-item__icon::after {
    content: '';
    position: absolute;
    background-color: var(--color-accent);
    transition: var(--transition-smooth);
}

/* Horizontal line */
.faq-item__icon::before {
    top: 7px;
    left: 0;
    width: 16px;
    height: 2px;
}

/* Vertical line */
.faq-item__icon::after {
    top: 0;
    left: 7px;
    width: 2px;
    height: 16px;
}

.faq-item__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-item__body p {
    padding: 0 20px 20px 20px;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--color-text-body);
}

/* Active FAQ state */
.faq-item--active {
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}

.faq-item--active .faq-item__trigger {
    color: var(--color-accent);
}

.faq-item--active .faq-item__icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-item--active .faq-item__icon::before {
    transform: rotate(180deg);
}

/* ==========================================================================
   CONTACTS, FORM & MAP SECTION
   ========================================================================== */
.contacts-section__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

/* Contacts Column */
.contacts-info {
    display: flex;
    flex-direction: column;
}

.contacts-info__title {
    font-size: 1.75rem;
    margin-bottom: 30px;
    position: relative;
}

.contacts-info__title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--color-accent);
}

.contacts-info__list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contacts-info__item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.contacts-info__icon {
    width: 22px;
    height: 22px;
    color: var(--color-accent);
    margin-top: 4px;
    flex-shrink: 0;
}

.contacts-info__label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-body);
    font-weight: 600;
}

.contacts-info__value {
    display: block;
    font-family: var(--font-headings);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-top: 2px;
}

a.contacts-info__value:hover {
    color: var(--color-accent);
}

/* Form Container */
.form-container {
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.form-container__title {
    font-size: 1.4rem;
    margin-bottom: 25px;
    text-align: center;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lead-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.lead-form__group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lead-form__group label {
    font-size: 0.825rem;
    font-weight: 700;
    color: var(--color-text-dark);
}

.lead-form__group input, .lead-form__group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-dark);
    background-color: var(--color-bg-light);
    transition: var(--transition-smooth);
}

.lead-form__group input:focus, .lead-form__group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background-color: var(--color-bg-white);
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.1);
}

.lead-form__consent {
    font-size: 0.75rem;
    color: var(--color-text-body);
    line-height: 1.4;
}

.policy-link {
    color: var(--color-accent);
    text-decoration: underline;
}

.policy-link:hover {
    color: var(--color-primary);
}

.form-status {
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    margin-top: 10px;
    min-height: 20px;
}

.form-status--success {
    color: #2e7d32;
}

.form-status--error {
    color: #c62828;
}

/* Honey-pot Spam Protection Field */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* Map Container (Span across full width on grid bottom) */
.map-container {
    grid-column: 1 / -1;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    height: 350px;
}

.lazy-map {
    width: 100%;
    height: 100%;
    background-color: #e2e8f0;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    color: var(--color-text-body);
}

.map-placeholder:hover {
    background: linear-gradient(135deg, #cbd5e1 0%, #94a3b8 100%);
    color: var(--color-text-dark);
}

.map-placeholder__icon {
    width: 40px;
    height: 40px;
}

.map-placeholder span {
    font-family: var(--font-headings);
    font-size: 0.9rem;
    font-weight: 700;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: var(--color-primary);
    color: rgba(255, 255, 255, 0.8);
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
}

.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer__link:hover {
    color: var(--color-bg-white);
    text-decoration: underline;
}

/* ==========================================================================
   FLOATING WIDGETS
   ========================================================================== */
.floating-widgets {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 99;
}

.widget-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-bg-white);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
}

.widget-btn svg {
    width: 26px;
    height: 26px;
}

.widget-btn--wa {
    background-color: var(--color-success);
}

.widget-btn--wa:hover {
    background-color: #1ebe57;
    transform: scale(1.1);
}

.widget-btn--tg {
    background-color: var(--color-info);
}

.widget-btn--tg:hover {
    background-color: #0077b3;
    transform: scale(1.1);
}

.widget-btn--top {
    background-color: var(--color-text-dark);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.widget-btn--top.visible {
    opacity: 0.9;
    visibility: visible;
    transform: translateY(0);
}

.widget-btn--top:hover {
    background-color: var(--color-accent);
    opacity: 1;
    transform: scale(1.1);
}

/* ==========================================================================
   PRIVACY POLICY MODAL
   ========================================================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.modal--open {
    opacity: 1;
    visibility: visible;
}

.modal__content {
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius-lg);
    width: 100%;
    max-width: 600px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
    transform: scale(0.9);
    transition: var(--transition-smooth);
    max-height: 85vh;
    overflow-y: auto;
}

.modal--open .modal__content {
    transform: scale(1);
}

.modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    line-height: 1;
    color: var(--color-text-body);
    transition: var(--transition-smooth);
}

.modal__close:hover {
    color: var(--color-text-dark);
}

.modal__title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-right: 30px;
}

.modal__body p {
    margin-bottom: 15px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.modal__body p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1200px) {
    .hero__title {
        font-size: 2.5rem;
    }
    
    .why-us__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .details-section__grid {
        grid-template-columns: 1.1fr 1fr;
    }
    
    .details-card--delivery {
        grid-column: 1 / -1;
    }
    
    .formats__grid {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .faq__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faq__col:nth-child(3) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 992px) {
    .top-bar {
        display: none; /* Hide top bar on smaller screens to prioritize viewport space */
    }
    
    .hero__content {
        grid-template-columns: 1fr;
    }
    
    .hero__right {
        order: -1; /* Image moves to top on mobile/tablet */
        max-width: 600px;
        margin: 0 auto;
    }
    
    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .formats__grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .contacts-section__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    /* Navigation Toggle Activation */
    .nav-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--color-bg-white);
        padding: 40px;
        z-index: 105;
        transform: translateX(100%);
        transition: var(--transition-smooth);
        box-shadow: inset 0 10px 15px -3px rgba(0,0,0,0.05);
    }
    
    .nav--open {
        transform: translateX(0);
    }
    
    .nav__list {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .nav__link {
        font-size: 1.25rem;
    }
    
    .header__contact {
        margin-left: auto;
        margin-right: 20px;
    }
    
    .hero__title {
        font-size: 1.5rem;
    }
    
    .hero__list {
        grid-template-columns: 1fr;
    }
    
    .why-us__grid {
        grid-template-columns: 1fr;
    }
    
    .services__grid {
        grid-template-columns: 1fr;
    }
    
    .details-section__grid {
        grid-template-columns: 1fr;
    }
    
    .formats__grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .faq__grid {
        grid-template-columns: 1fr;
    }
    
    .faq__col:nth-child(3) {
        grid-column: span 1;
    }
    
    .form-container {
        padding: 25px;
    }
    
    .lead-form__row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header__hours {
        display: none;
    }
    
    .header__phone {
        display: none;
        
    }
    
    .stats__grid {
        grid-template-columns: 1fr;
    }
    
    .formats__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .floating-widgets {
        bottom: 20px;
        right: 20px;
    }
    
    .widget-btn {
        width: 46px;
        height: 46px;
    }
    
    .widget-btn svg {
        width: 22px;
        height: 22px;
    }
}
