:root {
    --milan-dark: #1f2933;
    --milan-text: #344054;
    --milan-muted: #667085;
    --milan-light: #f7f7f2;
    --milan-white: #ffffff;
    --milan-yellow: #d6a51d;
    --milan-yellow-hover: #efbd32;
    --milan-border: #e4e7ec;
    --milan-shadow: 0 18px 50px rgba(15, 23, 42, 0.10);
    --milan-radius: 24px;
}

/* ==========================================================================
   Base
========================================================================== */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    padding-top: 72px;
    margin: 0;
    background: var(--milan-light);
    color: var(--milan-text);
    font-family: Georgia, "Times New Roman", serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body,
p,
a,
li,
input,
textarea,
button,
select {
    font-family: Georgia, "Times New Roman", serif;
}

a {
    color: inherit;
    text-decoration: none;
    text-shadow: none;
}

a:hover {
    text-decoration: none;
}

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

section {
    position: relative;
}

.container {
    max-width: 1180px;
}

main {
    overflow: hidden;
}

#top,
#services,
#service2,
#about,
#contacts,
#form,
#feed {
    scroll-margin-top: 90px;
}

/* ==========================================================================
   Header
========================================================================== */

.milan-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    height: 72px;
    background: var(--milan-white);
    border-bottom: 1px solid var(--milan-border);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}

.milan-header__inner {
    height: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.milan-header__logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.milan-header__logo img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    display: block;
}

.milan-header__nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1 1 auto;
}

.milan-header__nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 999px;
    color: var(--milan-dark);
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    text-shadow: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.milan-header__nav a:hover {
    background: var(--milan-light);
    color: var(--milan-dark);
}

.milan-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.milan-header__icon-link {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--milan-dark);
    background: var(--milan-light);
    text-decoration: none;
    text-shadow: none;
    transition: background 0.2s ease;
}

.milan-header__icon-link svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.milan-header__icon-link span {
    display: none;
}

.milan-header__icon-link:hover {
    background: #ecece6;
    color: var(--milan-dark);
}

.milan-header__order {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--milan-yellow);
    color: #111111;
    font-size: 14px;
    line-height: 1;
    font-weight: 900;
    white-space: nowrap;
    text-decoration: none;
    text-shadow: none;
    box-shadow: 0 8px 22px rgba(214, 165, 29, 0.28);
    transition: background 0.2s ease, transform 0.2s ease;
}

.milan-header__order:hover {
    background: var(--milan-yellow-hover);
    color: #111111;
    transform: translateY(-1px);
}

.milan-header__menu {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    padding: 0;
    flex: 0 0 auto;
    cursor: pointer;
}

.milan-header__menu span {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    background: var(--milan-dark);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.milan-header__menu.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.milan-header__menu.is-active span:nth-child(2) {
    opacity: 0;
}

.milan-header__menu.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Hero
========================================================================== */

.milan-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    background-image: url("../assets/fullimage1.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.milan-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(15, 23, 42, 0.82) 0%,
            rgba(15, 23, 42, 0.62) 48%,
            rgba(15, 23, 42, 0.28) 100%
        );
    z-index: 1;
}

.milan-hero__inner {
    position: relative;
    z-index: 2;
    padding-top: 70px;
    padding-bottom: 70px;
}

.milan-hero__content {
    max-width: 720px;
    color: #ffffff;
}

.milan-hero__label {
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 8px 15px;
    border-radius: 999px;
    background: rgba(214, 165, 29, 0.18);
    color: #f4c84a;
    font-size: 15px;
    font-weight: 900;
}

.milan-hero h1 {
    margin: 0 0 22px;
    color: #ffffff;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 18px rgba(0,0,0,0.35);
}

.milan-hero p {
    max-width: 620px;
    margin: 0 0 30px;
    color: rgba(255,255,255,0.9);
    font-size: 21px;
    line-height: 1.5;
}

.milan-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.milan-hero__button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 26px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 900;
    text-decoration: none;
    text-shadow: none;
}

.milan-hero__button--primary {
    background: var(--milan-yellow);
    color: #111111;
}

.milan-hero__button--primary:hover {
    background: var(--milan-yellow-hover);
    color: #111111;
}

.milan-hero__button--secondary {
    background: rgba(255,255,255,0.14);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.32);
}

.milan-hero__button--secondary:hover {
    background: rgba(255,255,255,0.24);
    color: #ffffff;
}

/* ==========================================================================
   Section headings
========================================================================== */

.section-heading {
    max-width: 820px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-heading h1,
.section-heading h2,
.welcome-text .title,
#testimonials .title {
    margin: 0 0 16px;
    color: var(--milan-dark);
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.section-heading p,
.welcome-text p {
    margin: 0;
    color: var(--milan-muted);
    font-size: 18px;
    line-height: 1.6;
}

.section-heading--dark h2,
.section-heading--dark p {
    color: var(--milan-white);
}

.section-heading--dark p {
    color: rgba(255,255,255,0.86);
}

/* ==========================================================================
   Materials section
========================================================================== */

.materials-section {
    background: var(--milan-light);
    padding: 86px 0 76px;
}

.materials-grid {
    display: flex;
    flex-wrap: wrap;
}

.material-card {
    height: calc(100% - 28px);
    margin-bottom: 28px;
    padding: 24px;
    background: var(--milan-white);
    border: 1px solid rgba(228, 231, 236, 0.9);
    border-radius: var(--milan-radius);
    box-shadow: var(--milan-shadow);
    text-align: center;
    overflow: hidden;
}

.material-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 22px;
}

.material-card h4 {
    margin: 0 0 10px;
    color: var(--milan-dark);
    font-size: 24px;
    line-height: 1.2;
    font-weight: 900;
}

.material-card p {
    margin: 0;
    color: var(--milan-muted);
    font-size: 16px;
    line-height: 1.55;
}

/* Старі класи service-item можуть мати зайві стилі */
.service-item {
    background: transparent;
    box-shadow: none;
}

/* ==========================================================================
   Delivery / equipment services
========================================================================== */

.delivery-section {
    padding: 86px 0;
    background:
        linear-gradient(rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.82)),
        url("../assets/fullimage6.jpg") center / cover no-repeat;
}

.service-grid {
    display: flex;
    flex-wrap: wrap;
}

.service-card {
    height: calc(100% - 28px);
    margin-bottom: 28px;
    padding: 18px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: var(--milan-radius);
    box-shadow: 0 18px 50px rgba(0,0,0,0.22);
    backdrop-filter: blur(4px);
}

.service-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 18px;
    display: block;
}

/* ==========================================================================
   About
========================================================================== */

.about-section {
    padding: 82px 0;
    background: var(--milan-white);
}

.about-section .welcome-text {
    max-width: 900px;
    margin: 0 auto;
    padding: 36px;
    background: var(--milan-light);
    border-radius: var(--milan-radius);
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.about-section .welcome-text p + p {
    margin-top: 18px;
}

/* ==========================================================================
   Contacts
========================================================================== */

.contacts-section {
    padding: 82px 0;
    background: var(--milan-light);
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 28px;
}

.contacts-card {
    padding: 28px;
    background: var(--milan-white);
    border-radius: var(--milan-radius);
    box-shadow: var(--milan-shadow);
}

.contacts-card h4 {
    margin: 0 0 14px;
    color: var(--milan-dark);
    font-size: 24px;
    line-height: 1.2;
    font-weight: 900;
}

.contacts-card p {
    margin: 0 0 8px;
    color: var(--milan-text);
    font-size: 18px;
    line-height: 1.5;
}

.contacts-card a {
    color: var(--milan-dark);
    font-weight: 800;
    text-shadow: none;
}

.contacts-card a:hover {
    color: #9b7410;
}

.contacts-note {
    color: var(--milan-muted) !important;
    font-size: 15px !important;
}

.route-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    margin-top: 10px;
    border-radius: 999px;
    background: var(--milan-yellow);
    color: #111111 !important;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
}

.route-button:hover {
    background: var(--milan-yellow-hover);
    color: #111111 !important;
}

.map-card {
    padding: 12px;
    background: var(--milan-white);
    border-radius: var(--milan-radius);
    box-shadow: var(--milan-shadow);
}

.map-card iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
    border-radius: 18px;
}

/* ==========================================================================
   Form
========================================================================== */

.forms {
    background: var(--milan-white);
    padding: 82px 0;
}

.forms .section-heading {
    max-width: 720px;
    margin: 0 auto 34px;
}

.forms .section-heading h2 {
    font-size: clamp(30px, 4vw, 42px);
}

.forms .section-heading p {
    font-size: 17px;
}

.simple-order-form {
    max-width: 620px;
    margin: 0 auto;
    padding: 28px;
    background: var(--milan-white);
    border-radius: var(--milan-radius);
    box-shadow: var(--milan-shadow);
    border: 1px solid rgba(228, 231, 236, 0.9);
}

.simple-order-form .form-group {
    margin-bottom: 16px;
}

.simple-order-form label {
    display: block;
    margin-bottom: 7px;
    color: var(--milan-dark);
    font-size: 15px;
    font-weight: 900;
}

.simple-order-form label span {
    color: #c98a00;
}

.simple-order-form .form-control,
.simple-order-form textarea {
    width: 100%;
    height: 48px;
    padding: 10px 14px;
    background: var(--milan-white);
    border: 1px solid #d0d5dd;
    border-radius: 14px;
    color: var(--milan-dark);
    font-size: 15px;
    line-height: 1.4;
    box-shadow: none;
}

.simple-order-form textarea {
    min-height: 88px;
    height: auto;
    resize: vertical;
}

.simple-order-form .form-control:focus,
.simple-order-form textarea:focus {
    border-color: var(--milan-yellow);
    outline: none;
    box-shadow: 0 0 0 3px rgba(214, 165, 29, 0.18);
}

.simple-order-form input::placeholder,
.simple-order-form textarea::placeholder {
    color: #aab2bf;
    opacity: 1;
    font-size: 14px;
    font-weight: 400;
}

.form-policy {
    margin: 8px 0 20px;
    color: var(--milan-muted);
    font-size: 14px;
    line-height: 1.5;
}

.simple-order-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 26px;
    background: var(--milan-yellow);
    border: 0;
    border-radius: 999px;
    color: #111111;
    font-size: 15px;
    font-weight: 900;
    text-transform: none;
    cursor: pointer;
}

.simple-order-form__submit:hover {
    background: var(--milan-yellow-hover);
    color: #111111;
}

.simple-order-form__submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-result {
    margin-top: 16px;
    font-size: 15px;
    font-weight: 800;
}

.form-result--success {
    color: #027a48;
}

.form-result--error {
    color: #b42318;
}

/* ==========================================================================
   Testimonials
========================================================================== */

.feed {
    padding: 82px 0;
    background: var(--milan-light);
}

#testimonials .title {
    text-align: center;
    margin-bottom: 34px;
}

#testimonials .title span {
    color: var(--milan-dark);
}

.inner-testimonial {
    max-width: 620px;
    margin: 0 auto;
    padding: 32px;
    background: var(--milan-white);
    border-radius: var(--milan-radius);
    box-shadow: var(--milan-shadow);
    text-align: center;
}

.inner-testimonial img {
    width: 96px !important;
    height: 96px;
    object-fit: contain;
    margin: 0 auto 18px;
}

.city-name {
    margin: 0 0 14px;
    color: var(--milan-dark);
    font-size: 22px;
    font-weight: 900;
}

.text-testimonial {
    margin: 0;
    color: var(--milan-muted);
    font-size: 18px;
    line-height: 1.55;
}

/* ==========================================================================
   Footer
========================================================================== */

.milan-footer {
    padding: 42px 0;
    background:
        linear-gradient(rgba(247,247,242,0.9), rgba(247,247,242,0.9)),
        url("../assets/images/2.png") center / cover no-repeat;
    color: var(--milan-dark);
    text-align: center;
}

.milan-footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.milan-footer__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 900;
}

.milan-footer__brand img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.milan-footer__phone {
    color: var(--milan-dark);
    font-size: 18px;
    font-weight: 900;
    text-shadow: none;
}

.milan-footer__copy {
    margin: 0;
    color: var(--milan-muted);
    font-size: 15px;
}

.milan-footer__copy a {
    color: var(--milan-dark);
    font-weight: 900;
}

/* ==========================================================================
   Compatibility with old template CSS
========================================================================== */

.text-white {
    color: var(--milan-white) !important;
}

.btn-success {
    background: var(--milan-yellow);
    border-color: var(--milan-yellow);
    color: #111111;
    border-radius: 999px;
    font-weight: 900;
    text-shadow: none;
}

.btn-success:hover {
    background: var(--milan-yellow-hover);
    border-color: var(--milan-yellow-hover);
    color: #111111;
}

.owl-carousel .owl-item img {
    display: block;
}

/* ==========================================================================
   Responsive
========================================================================== */

@media (max-width: 991px) {
    .milan-header__nav a {
        padding: 0 8px;
        font-size: 13px;
    }

    .milan-header__order {
        padding: 0 18px;
    }

    .material-card img {
        height: 240px;
    }

    .service-card img {
        height: 220px;
    }
}

@media (max-width: 767px) {
    html {
        scroll-padding-top: 76px;
    }

    body {
        padding-top: 64px;
    }

    #top,
    #services,
    #service2,
    #about,
    #contacts,
    #form,
    #feed {
        scroll-margin-top: 76px;
    }

    .milan-header {
        height: 64px;
    }

    .milan-header__inner {
        padding: 0 8px;
        gap: 8px;
    }

    .milan-header__menu {
        display: block;
        order: 1;
    }

    .milan-header__logo {
        order: 2;
    }

    .milan-header__logo img {
        width: 44px;
        height: 44px;
    }

    .milan-header__actions {
        order: 3;
        margin-left: auto;
        gap: 6px;
    }

    .milan-header__icon-link {
        width: 38px;
        height: 38px;
        background: transparent;
    }

    .milan-header__icon-link svg {
        width: 25px;
        height: 25px;
    }

    .milan-header__order {
        min-height: 36px;
        padding: 0 13px;
        font-size: 12px;
        box-shadow: none;
    }

    .milan-header__nav {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px;
        background: var(--milan-white);
        border-bottom: 1px solid var(--milan-border);
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    }

    .milan-header__nav.is-open {
        display: flex;
    }

    .milan-header__nav a {
        justify-content: flex-start;
        min-height: 44px;
        padding: 0 14px;
        border-radius: 12px;
        font-size: 15px;
    }


#owl-demo .item img {
    object-position: center;
}


    .materials-section,
    .delivery-section,
    .about-section,
    .contacts-section,
    .forms,
    .feed {
        padding: 56px 0;
    }

    .section-heading {
        text-align: left;
        margin-bottom: 28px;
    }

    .section-heading h1,
    .section-heading h2,
    .welcome-text .title,
    #testimonials .title {
        font-size: 30px;
        line-height: 1.18;
    }

    .section-heading p,
    .welcome-text p {
        font-size: 16px;
        line-height: 1.55;
    }

    .materials-grid,
    .service-grid {
        display: block;
    }

    .material-card,
    .service-card {
        margin-bottom: 20px;
        padding: 16px;
        border-radius: 20px;
    }

    .material-card img,
    .service-card img {
        height: 210px;
        border-radius: 16px;
    }

    .material-card h4 {
        font-size: 22px;
    }

    .about-section .welcome-text {
        padding: 24px 18px;
        border-radius: 20px;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .contacts-card {
        padding: 22px 18px;
        border-radius: 20px;
    }

    .map-card {
        padding: 8px;
        border-radius: 20px;
    }

    .map-card iframe {
        height: 260px;
        border-radius: 16px;
    }

    .forms .section-heading {
        text-align: left;
        margin-bottom: 24px;
    }

    .simple-order-form {
        padding: 20px 14px;
        border-radius: 20px;
    }

    .simple-order-form .form-control,
    .simple-order-form textarea {
        height: 44px;
        font-size: 14px;
    }

    .simple-order-form textarea {
        min-height: 78px;
    }

    .simple-order-form__submit {
        width: 100%;
    }

    .inner-testimonial {
        padding: 26px 18px;
        border-radius: 20px;
    }

    .text-testimonial {
        font-size: 16px;
    }
}

@media (max-width: 380px) {
    .milan-header__order {
        padding: 0 10px;
        font-size: 11px;
    }

    .milan-header__icon-link {
        width: 36px;
        height: 36px;
    }

    .milan-header__logo img {
        width: 40px;
        height: 40px;
    }

}

@media (max-width: 991px) {
    .milan-hero {
        min-height: 500px;
        background-position: center;
    }
}

@media (max-width: 767px) {
    .milan-hero {
        min-height: 540px;
        align-items: flex-end;
        background-position: center;
    }

    .milan-hero__overlay {
        background:
            linear-gradient(
                180deg,
                rgba(15, 23, 42, 0.34) 0%,
                rgba(15, 23, 42, 0.74) 52%,
                rgba(15, 23, 42, 0.94) 100%
            );
    }

    .milan-hero__inner {
        padding-top: 80px;
        padding-bottom: 42px;
    }

    .milan-hero__label {
        font-size: 13px;
        margin-bottom: 14px;
    }

    .milan-hero h1 {
        font-size: 36px;
        line-height: 1.08;
        margin-bottom: 16px;
    }

    .milan-hero p {
        font-size: 17px;
        line-height: 1.45;
        margin-bottom: 22px;
    }

    .milan-hero__actions {
        flex-direction: column;
    }

    .milan-hero__button {
        width: 100%;
        min-height: 48px;
    }
}