* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #172333;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1150px;
    margin: auto;
}


/* =========================
   ШАПКА
========================= */

header {
    position: absolute;
    width: 100%;
    z-index: 10;
    padding: 22px 0;
    color: white;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 2px;
}

.logo span {
    color: #55d5ff;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    font-size: 15px;
    transition: 0.3s;
}

nav a:hover {
    color: #55d5ff;
}

.header-button {
    border: 1px solid white;
    padding: 10px 22px;
    border-radius: 25px;
}

.header-button:hover {
    background-color: white;
    color: #1688c9;
}


/* =========================
   ГЛАВНЫЙ ЭКРАН
========================= */

.hero {
    height: 700px;

    background:
        linear-gradient(
            90deg,
            rgba(5, 28, 45, 0.85),
            rgba(5, 28, 45, 0.35)
        ),
        url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1800&q=85");

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;

    color: white;
}

.hero-content {
    width: 90%;
    max-width: 1150px;
    margin: auto;
}

.small-title {
    color: #55d5ff;
    font-size: 13px;
    letter-spacing: 3px;
    font-weight: bold;
}

.hero h1 {
    font-size: 70px;
    line-height: 1.05;
    margin: 20px 0;
}

.hero h1 span {
    color: #55d5ff;
}

.hero-text {
    width: 500px;
    max-width: 100%;
    color: #e4edf2;
    font-size: 18px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.main-button {
    display: inline-block;
    background-color: #1688c9;
    color: white;
    padding: 15px 28px;
    border-radius: 30px;
    font-weight: bold;
    transition: 0.3s;
}

.main-button:hover {
    background-color: #0c6da5;
    transform: translateY(-2px);
}

.second-button {
    padding: 14px 27px;
    border: 1px solid white;
    border-radius: 30px;
}

.second-button:hover {
    background-color: white;
    color: #1688c9;
}


/* =========================
   ПОИСК
========================= */

.search-section {
    margin-top: -55px;
    position: relative;
}

.search-box {
    width: 90%;
    max-width: 1050px;
    margin: auto;

    background-color: white;
    border-radius: 15px;

    padding: 20px 25px;

    display: flex;
    align-items: center;
    gap: 25px;

    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.search-item > span {
    font-size: 25px;
}

.search-item small {
    color: #8b96a3;
}

.search-item p {
    margin: 4px 0 0;
    font-weight: bold;
}

.search-button {
    background-color: #1688c9;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: bold;
}


/* =========================
   СЕКЦИИ
========================= */

section {
    scroll-margin-top: 20px;
}

.tours {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 45px;
}

.section-title p,
.section-name {
    color: #1688c9;
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: bold;
}

.section-title h2 {
    font-size: 42px;
    margin: 10px 0;
}

.section-title span {
    color: #7c8792;
}


/* =========================
   КАРТОЧКИ ТУРОВ
========================= */

.tour-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.tour-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.tour-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.13);
}

.tour-image {
    height: 270px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.tour-image span {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: white;
    color: #1688c9;
    padding: 7px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.turkey {
    background-image: url("https://images.unsplash.com/photo-1524231757912-21f4fe3a7200?auto=format&fit=crop&w=700&q=80");
}

.maldives {
    background-image: url("https://images.unsplash.com/photo-1573843981267-be1999ff37cd?auto=format&fit=crop&w=700&q=80");
}

.italy {
    background-image: url("https://images.unsplash.com/photo-1529260830199-42c24126f198?auto=format&fit=crop&w=700&q=80");
}

.thailand {
    background-image: url("https://images.unsplash.com/photo-1528181304800-259b08848526?auto=format&fit=crop&w=700&q=80");
}

.tour-info {
    padding: 20px;
}

.tour-name {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tour-name h3 {
    font-size: 22px;
    margin: 0;
}

.tour-name strong {
    color: #1688c9;
    font-size: 14px;
}

.tour-info p {
    color: #727d88;
    line-height: 1.6;
}

.tour-info a {
    color: #1688c9;
    font-weight: bold;
}


/* =========================
   О НАС
========================= */

.about {
    background-color: #f3f8fb;
    padding: 100px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-size: 45px;
    line-height: 1.15;
    margin: 15px 0 25px;
}

.about-text h2 span {
    color: #1688c9;
}

.about-text p {
    color: #6d7780;
    line-height: 1.8;
}

.about-text .main-button {
    margin-top: 15px;
}

.stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat {
    background-color: white;
    padding: 35px 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.stat strong {
    display: block;
    color: #1688c9;
    font-size: 38px;
    margin-bottom: 5px;
}

.stat span {
    color: #727d88;
}


/* =========================
   СПЕЦПРЕДЛОЖЕНИЕ
========================= */

.offer {
    padding: 80px 0;
    background:
        linear-gradient(
            90deg,
            rgba(8, 83, 126, 0.95),
            rgba(22, 136, 201, 0.85)
        ),
        url("https://images.unsplash.com/photo-1500534623283-312aade485b7?auto=format&fit=crop&w=1600&q=80");

    background-size: cover;
    background-position: center;

    color: white;
}

.offer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.offer-content p {
    color: #70dcff;
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: bold;
}

.offer-content h2 {
    font-size: 42px;
    margin: 10px 0;
}

.offer-content span {
    color: #d8edf6;
}

.offer-button {
    background-color: white;
    color: #1688c9;
    padding: 16px 25px;
    border-radius: 30px;
    font-weight: bold;
    white-space: nowrap;
}


/* =========================
   РЕГИСТРАЦИЯ
========================= */

.registration {
    padding: 100px 0;
    background-color: #f5f8fa;
}

.registration-box {
    max-width: 950px;
    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;

    background-color: white;
    padding: 55px;
    border-radius: 20px;

    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.registration-text h2 {
    font-size: 42px;
    line-height: 1.15;
}

.registration-text > p:last-child {
    color: #707b85;
    line-height: 1.7;
}

form label {
    display: block;
    margin: 12px 0 6px;
    font-weight: bold;
}

form input {
    width: 100%;
    padding: 13px;
    border: 1px solid #d5dce1;
    border-radius: 7px;
    font-size: 15px;
    outline: none;
}

form input:focus {
    border-color: #1688c9;
}

form button {
    width: 100%;
    margin-top: 22px;
    padding: 14px;

    border: none;
    border-radius: 7px;

    background-color: #1688c9;
    color: white;

    font-size: 16px;
    font-weight: bold;

    cursor: pointer;
}

form button:hover {
    background-color: #0c6da5;
}

.form-info {
    text-align: center;
    color: #999;
    font-size: 12px;
    margin-top: 12px;
}


/* =========================
   КОНТАКТЫ
========================= */

.contacts {
    padding: 90px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.contact-card {
    text-align: center;
    padding: 30px;
    border: 1px solid #e3e8ec;
    border-radius: 12px;
}

.contact-card span {
    font-size: 30px;
}

.contact-card h3 {
    margin-bottom: 5px;
}

.contact-card p {
    color: #727d88;
}


/* =========================
   FOOTER
========================= */

footer {
    background-color: #102b3d;
    color: white;
    padding: 25px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    color: #9eabb4;
    font-size: 14px;
}


/* =========================
   АДАПТИВНОСТЬ
========================= */

@media (max-width: 900px) {

    nav {
        gap: 12px;
    }

    nav a {
        font-size: 13px;
    }

    .tour-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .registration-box {
        grid-template-columns: 1fr;
    }

    .search-box {
        flex-wrap: wrap;
    }

    .search-item {
        min-width: 40%;
    }
}


@media (max-width: 650px) {

    header {
        position: relative;
        background-color: #102b3d;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-button {
        display: none;
    }

    .hero {
        height: 600px;
    }

    .hero h1 {
        font-size: 45px;
    }

    .hero-text {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 200px;
    }

    .search-section {
        margin-top: 0;
        padding: 20px 0;
        background-color: #f5f8fa;
    }

    .search-box {
        flex-direction: column;
        align-items: stretch;
    }

    .search-item {
        min-width: 100%;
    }

    .tour-grid {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 34px;
    }

    .about-text h2 {
        font-size: 35px;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .offer-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .offer-content h2 {
        font-size: 35px;
    }

    .registration-box {
        padding: 30px 20px;
    }

    .registration-text h2 {
        font-size: 34px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
/* PONyTAIL-UPDATE-2026-09-03 */
.blog {
  padding: 100px 0;
  background-color: #f9fcfe;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.blog-card {
  background-color: #ffffff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.13);
}

.blog-image {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.blog-image span {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: #1688c9;
  color: #ffffff;
  padding: 7px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
}

.blog-1 {
  background-image: url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=700&q=80");
}

.blog-2 {
  background-image: url("https://images.unsplash.com/photo-1500534623283-312aade485b7?auto=format&fit=crop&w=700&q=80");
}

.blog-3 {
  background-image: url("https://images.unsplash.com/photo-1528181304800-259b08848526?auto=format&fit=crop&w=700&q=80");
}

.blog-info {
  padding: 20px;
}

.blog-info h3 {
  font-size: 22px;
  margin: 0 0 10px;
}

.blog-info p {
  color: #727d88;
  line-height: 1.6;
  margin: 0 0 14px;
}

.blog-link {
  color: #1688c9;
  font-weight: bold;
}

.tour-info a:hover,
.blog-link:hover {
  text-decoration: underline;
}

input[type="text"]:focus,
input[type="tel"]:focus {
  border-color: #1688c9;
  box-shadow: 0 0 0 3px rgba(22, 136, 201, 0.12);
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 650px) {
  .blog {
    padding: 70px 0;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }
}
/* PONyTAIL-AUTH-2026-09-03 */
.auth {
  padding: 100px 0;
  background-color: #f5f8fa;
}
.auth-box {
  max-width: 950px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background-color: #ffffff;
  padding: 55px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}
.auth-text h2 {
  font-size: 42px;
  line-height: 1.15;
  margin: 10px 0 15px;
}
.auth-text p {
  color: #707b85;
  line-height: 1.7;
}
.stay {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  font-weight: normal;
}
.stay input {
  width: auto;
}
.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 14px;
}
.auth-links a {
  color: #1688c9;
  font-weight: bold;
}
.auth-links a:hover {
  text-decoration: underline;
}
.form-error {
  color: #d64545;
  font-size: 13px;
  margin-top: 12px;
  text-align: center;
}
.form-ok {
  color: #2a9d4a;
  font-size: 13px;
  margin-top: 12px;
  text-align: center;
}
.auth-welcome {
  text-align: center;
}
.auth-welcome h3 {
  font-size: 30px;
  margin: 0 0 10px;
}
.auth-welcome p {
  color: #707b85;
  margin: 0 0 20px;
}
@media (max-width: 650px) {
  .auth-box {
    grid-template-columns: 1fr;
    padding: 30px 20px;
    gap: 25px;
  }
}