body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    color: #333;
    background: linear-gradient(180deg, #fff, #fef4f3);
    overflow-x: hidden;
}

/* ====== HEADER ====== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
    gap: 10px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.logo {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #e0665d;
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.modal-content {
    background: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    text-align: center;
}

.close {
    float: right;
    font-size: 22px;
    cursor: pointer;
}

.modal input,
.modal button {
    width: 90%;
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.modal button {
    background: #e0665d;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.container {
    max-width: 1200px;
    /* ширина сайта на больших экранах */
    margin: 0 auto;
    /* центрирование */
    padding: 0 20px;
    /* небольшой отступ слева и справа */
}

/* ====== NAVIGATION ====== */
nav a {
    margin: 0 12px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s;
}

nav a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: #e0665d;
    transition: width 0.3s;
}

nav a:hover {
    color: #e0665d;
}

nav a:hover::after {
    width: 100%;
}

/* ====== BUTTONS ====== */
.btn {
    border: 2px solid #e0665d;
    padding: 8px 18px;
    border-radius: 25px;
    text-decoration: none;
    color: #e0665d;
    font-weight: bold;
    white-space: nowrap;
    transition: all 0.3s;
}

.btn:hover {
    background: #e0665d;
    color: #fff;
    box-shadow: 0 4px 10px rgba(224, 102, 93, 0.3);
}

/* ====== HERO ====== */
.hero {
    width: 100%;
    height: calc(100vh - 70px);
    overflow: hidden;
    position: relative;
}

.hero-text {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1;
    font-size: 48px;
    font-weight: bold;
    color: #fff;

    /* обводка текста */
    -webkit-text-stroke: 2px #000;
    /* чёрная обводка */
}

@media (max-width: 992px) {
  .hero {
    height: 350px;
  }
  .hero-text {
    font-size: 32px;
  }
}

/* телефоны */
@media (max-width: 600px) {
  .hero {
    height: 250px;
  }
  .hero-text {
    font-size: 36px;
  }
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    filter: brightness(0.9);
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('wave.svg') no-repeat bottom center / cover;
}

/* ====== SECTION TITLE ====== */
.section-title {
    text-align: center;
    margin: 60px 20px 30px;
    font-size: 30px;
    font-weight: bold;
    color: #222;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    margin: 12px auto 0;
    background: #e0665d;
    border-radius: 2px;
}

/* ====== CARDS ====== */
.cards {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    padding: 20px;
}

.card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    max-width: 300px;
    overflow: hidden;
    text-align: center;
    flex: 1 1 250px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s;
}

.card:hover img {
    transform: scale(1.05);
}

.card h3 {
    margin: 15px 0 10px;
    color: #e0665d;
    font-size: 18px;
    text-transform: uppercase;
}

.card a {
    display: inline-block;
    margin: 15px 0 20px;
    padding: 8px 15px;
    border: 2px solid #e0665d;
    border-radius: 20px;
    text-decoration: none;
    color: #e0665d;
    font-weight: bold;
    transition: all 0.3s;
}

.card a:hover {
    background: #e0665d;
    color: #fff;
}

/* ====== FOOTER ====== */
footer {
    text-align: center;
    padding: 30px 20px;
    background: #f5f5f5;
    margin-top: 50px;
    font-size: 14px;
    color: #555;
    position: relative;
}

footer::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 40px;
    background: url('wave-footer.svg') no-repeat top center / cover;
}

/* ====== MOBILE ====== */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    nav {
        width: 100%;
        margin: 10px 0;
        text-align: left;
    }

    nav a {
        display: inline-block;
        margin: 5px 10px 5px 0;
    }

    .hero {
        height: auto;
    }

    .hero img {
        height: auto;
        max-height: 70vh;
    }

    .phone-btn {
        position: fixed;
        bottom: 15px;
        right: 15px;
        background: #e0665d;
        color: #fff;
        border: none;
        border-radius: 50px;
        padding: 12px 18px;
        font-size: 16px;
        text-decoration: none;
        font-weight: bold;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
}