:root {
    --primary-color: #2a5f8a;
    --secondary-color: #3a7ca5;
    --accent-color: #5cb3ff;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #333;
    --surface-card: #ffffff;
    --surface-tint: #f4f8fc;
    --shadow-soft: 0 8px 24px rgba(26, 60, 92, 0.1);
    --shadow-hover: 0 14px 36px rgba(26, 60, 92, 0.18);
    --border-radius: 8px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}
html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

a,
button,
input,
summary {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
    outline: 3px solid rgba(92, 179, 255, 0.55);
    outline-offset: 3px;
    border-radius: 6px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Современное меню навигации */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0 0;
    position: relative;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    margin-left: 15px;
}

.logo-img {
    margin-right: 10px;
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
}

nav {
    margin-right: 20px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 0;
    position: relative;
    display: flex;
    align-items: center;
}

nav ul li a i {
    margin-right: 8px;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

nav ul li a:hover:after {
    width: 100%;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
}
.header-cont {
    background-color: #f0f4f8;
}

.header-contacts {
    display: flex;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    gap: 150px;
    
}
.header-contacts-phone a, .header-contacts-mail a {
    text-decoration: none;
     color: var(--dark-color);
    font-weight: 500;
    cursor: pointer;
    font-size: 15px;
}



/* Герой с современным дизайном */
.hero {
    background: url('../img/bg.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    padding-bottom: 80px;
    margin-top: 70px;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--light-color), transparent);
    z-index: 1;
}

.hero__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    position: relative;
    z-index: 2;
    margin-bottom: -100px;
    padding: 0 20px 20px;
}

.hero .container {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    padding: 2%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 800px;
    width: 100%;
    backdrop-filter: blur(5px);
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: 700;
}

.hero p {
    display: inline-block;
    font-size: 22px;
    font-weight: 600;
    margin: 0 5px 8px;
    color: var(--primary-color);
    background: rgba(92, 179, 255, 0.13);
    border: 1.5px solid rgba(92, 179, 255, 0.45);
    border-radius: 999px;
    padding: 5px 16px;
    letter-spacing: 0.2px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #5cb3ff 0%, #4898df 100%);
    color: white;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: var(--transition);
    box-shadow: 0 6px 18px rgba(92, 179, 255, 0.32);
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn i {
    margin-left: 8px;
}

.btn:hover {
    background: linear-gradient(135deg, #55aaf5 0%, #3f8fd4 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(65, 143, 212, 0.35);
}

/* Таймер с формой */
.countdown-form {
    padding: 60px 0;
    background-color: #f0f4f8;
}

.countdown-form .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.countdown-form__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.countdown-form__countdown {
    max-width: 800px;
    background: linear-gradient(135deg, #4aa1e6 0%, #3a7ca5 100%);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

.countdown-form__title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    text-transform: uppercase;
    text-align: center;
}

.countdown-form__timer {
    display: flex;
    gap: 35px;
    margin-bottom: 10px;
    justify-content: center;
}

.timer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    position: relative;
}

.timer-unit {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1;
    position: relative;
}

.timer-unit-text {
    display: inline-block;
    text-align: center;
}

.timer-unit::after {
    content: ':';
    position: absolute;
    right: -15px;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    font-size: 48px;
    font-weight: 700;
}

.timer-item:last-child .timer-unit::after {
    content: '';
}

.timer-label {
    font-size: 14px;
    color: #000000;
    text-transform: uppercase;
    text-align: center;
}

.countdown-form__form {
    max-width: 540px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.countdown-form__form-input-wrapper {
    display: flex;
    gap: 30px;
}

.form-input,
.form-button {
    max-width: 270px;
    padding: 15px;
    font-size: 16px;
    border-radius: var(--border-radius);
}

.form-input {
    border: 1px solid rgba(42, 95, 138, 0.32);
    background: #ffffff;
    outline: none;
    transition: var(--transition);
}

.form-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(92, 179, 255, 0.18);
}

.form-button {
    background: linear-gradient(135deg, #5cb3ff 0%, #4a9ce3 100%);
    color: #ffffff;
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: var(--transition);
}

.form-button:hover {
    background: linear-gradient(135deg, #4d9be2 0%, #2a5f8a 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(42, 95, 138, 0.28);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-color);
}

.checkbox-text {
    line-height: 1.45;
}

.checkbox-text a {
    color: var(--primary-color);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 2px;
}

.checkbox-text a:hover {
    color: var(--accent-color);
}

.form-checkbox input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin-top: 2px;
}

.form-status {
    min-height: 20px;
    font-size: 13px;
    color: var(--primary-color);
}

/* Секции с современным дизайном */
.features {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-color);
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 0.4px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.feature-item {
    background: var(--surface-card);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(42, 95, 138, 0.08);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.feature-item:focus-within {
    box-shadow: 0 0 0 3px rgba(92, 179, 255, 0.25), 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 48px;
    color: #3f8fd4;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at 30% 30%, rgba(92, 179, 255, 0.28), rgba(92, 179, 255, 0.08));
    border-radius: 50%;
}
.feature-item-text {
    min-height: 75px;
}

.feature-item h3 {
    font-size: 22px;
    margin-bottom: 2%;
    color: var(--primary-color);
}

/* Карточка катера */
.boat-card {
    background: radial-gradient(circle at top right, rgba(92, 179, 255, 0.08), transparent 40%), var(--light-color);
    padding: 90px 0 50px;
}

.boat-card a {
    text-decoration: none;
    color: inherit;
}

.boat-card__content {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.95fr);
    gap: 28px;
    align-items: stretch;
    position: relative;
}

.boat-card__content::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 22px;
    background: linear-gradient(130deg, rgba(92, 179, 255, 0.14), rgba(58, 124, 165, 0.08));
    z-index: 0;
    pointer-events: none;
}

.boat-card__left,
.boat-card__right {
    position: relative;
    z-index: 1;
}

.boat-card__left {
    min-width: 0;
    display: flex;
    align-items: center;
}

.boat-card__title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.boat-card__subtitle {
    font-size: 16px;
    color: #3d7aa5;
    margin-bottom: 22px;
    cursor: pointer;
    transition: var(--transition);
}

.boat-card__subtitle:hover {
    color: var(--primary-color);
}

.boat-card__subtitle .arrow {
    font-size: 18px;
    margin-left: 6px;
}

.boat-card__media {
    position: relative;
    height: clamp(300px, 34vw, 420px);
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 14px 34px rgba(26, 60, 92, 0.22);
    width: 100%;
    height: 100%;    
}

.boat-card__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(185deg, rgba(5, 20, 35, 0) 45%, rgba(5, 20, 35, 0.46) 100%);
    z-index: 1;
    pointer-events: none;
}

.boat-card__media-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 104px;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #fff;
    background: linear-gradient(135deg, rgba(42, 95, 138, 0.82), rgba(61, 131, 177, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 8px 18px rgba(26, 60, 92, 0.33);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.boat-card__media-chips {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.boat-card__media-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2px;
    color: #f2f8ff;
    background: rgba(17, 41, 64, 0.58);
    border: 1px solid rgba(185, 224, 255, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.boat-card__media-chip i {
    color: #8ecbff;
}

.boat-card__image {
    width: 100%;
    height: 100%;
    display: flex;
    
}

.boat-card__image img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 16px;
    box-shadow: 0 16px 34px rgba(26, 60, 92, 0.2);
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
}

.boat-card__right {
    min-width: 0;
}

.boat-card__panel {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 22px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.96) 0%, rgba(242, 249, 255, 0.96) 100%);
    border: 1px solid rgba(42, 95, 138, 0.16);
    border-radius: 16px;
    box-shadow: 0 16px 30px rgba(26, 60, 92, 0.16);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.boat-card__price {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(92, 179, 255, 0.36);
    border-radius: 12px;
    padding: 16px 18px;
    text-align: left;
    position: relative;
    box-shadow: 0 6px 16px rgba(56, 120, 170, 0.1);
}

.price-discount {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-color);
    background: #ffffff;
    padding: 5px 10px;
    border-radius: 5px;
    position: absolute;
    top: -15px;
    right: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.price-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 6px;
    text-transform: uppercase;
    line-height: 1.2;
}

.price-subtitle {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.35px;
    line-height: 1.45;
    color: var(--dark-color);
    text-transform: uppercase;
}

.boat-card__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.boat-card__meta-item {
    background: linear-gradient(180deg, rgba(92, 179, 255, 0.12), rgba(92, 179, 255, 0.06));
    border: 1px solid rgba(42, 95, 138, 0.12);
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transform: translateY(0);
    transition: transform 0.35s ease, box-shadow 0.35s ease, background-color 0.35s ease;
}

.boat-card__meta-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #567186;
    letter-spacing: 0.4px;
}

.boat-card__meta-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}

.boat-card__features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.boat-card__feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    border: 1px solid rgba(42, 95, 138, 0.1);
    transform: translateX(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.boat-card__feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    font-size: 18px;
    line-height: 1;
    color: var(--primary-color);
    background: linear-gradient(180deg, #ffffff 0%, #eef5fc 100%);
    border: 1px solid rgba(42, 95, 138, 0.15);
    border-radius: 50%;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.boat-card__feature-item p {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.35px;
    color: var(--text-color);
}

.boat-card__button {
    background: linear-gradient(135deg, #5cb3ff 0%, #4a9ce3 100%);
    color: #ffffff;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    margin-top: auto;
    width: 100%;
    letter-spacing: 0.35px;
    position: relative;
    overflow: hidden;
}

.boat-card__button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -130%;
    width: 120%;
    height: 100%;
    background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.38) 45%, transparent 100%);
    transition: left 0.55s ease;
}

.boat-card__button:hover {
    background: linear-gradient(135deg, #4d9be2 0%, #2a5f8a 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(42, 95, 138, 0.28);
}

.boat-card__button:hover::before {
    left: 110%;
}

.boat-card__content:hover .boat-card__image img,
.boat-card__content:focus-within .boat-card__image img {
    transform: scale(1.03);
    filter: saturate(1.04);
}

.boat-card__content:hover .boat-card__media-badge,
.boat-card__content:focus-within .boat-card__media-badge {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(26, 60, 92, 0.32);
}

.boat-card__content:hover .boat-card__media-chip,
.boat-card__content:focus-within .boat-card__media-chip {
    transform: translateY(-1px);
}

.boat-card__content:hover .boat-card__panel,
.boat-card__content:focus-within .boat-card__panel {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(26, 60, 92, 0.18);
    border-color: rgba(42, 95, 138, 0.22);
}

.boat-card__content:hover .boat-card__meta-item,
.boat-card__content:focus-within .boat-card__meta-item {
    background: rgba(92, 179, 255, 0.12);
    box-shadow: 0 6px 14px rgba(26, 60, 92, 0.1);
}

.boat-card__content:hover .boat-card__meta-item:nth-child(1),
.boat-card__content:focus-within .boat-card__meta-item:nth-child(1) {
    transform: translateY(-2px);
}

.boat-card__content:hover .boat-card__meta-item:nth-child(2),
.boat-card__content:focus-within .boat-card__meta-item:nth-child(2) {
    transform: translateY(-1px);
}

.boat-card__feature-item:hover,
.boat-card__feature-item:focus-within {
    transform: translateX(3px);
    border-color: rgba(61, 131, 177, 0.32);
    box-shadow: 0 6px 14px rgba(26, 60, 92, 0.1);
}

.boat-card__feature-item:hover .boat-card__feature-icon,
.boat-card__feature-item:focus-within .boat-card__feature-icon {
    transform: scale(1.04);
    box-shadow: 0 4px 10px rgba(26, 60, 92, 0.14);
}

/* Галерея */
.gallery {
    padding: 50px 0 100px;
    background-color: #f0f4f8;
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.tab-btn {
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    padding: 10px 20px;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn:focus-visible,
.spec-tab-btn:focus-visible,
.slider-btn:focus-visible {
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(92, 179, 255, 0.35);
}

.slider-wrapper {
    position: relative;
}

.slider-container {
    position: relative;
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    display: none;
}

.slider-container.active {
    display: block;
}

.slider {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
    will-change: transform;
    gap: 10px;
}

.slider-slide {
    flex: 0 0 300px;
    max-width: 300px;
    box-sizing: border-box;
}

.slider-slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: var(--border-radius);
    border: 1px solid rgba(42, 95, 138, 0.12);
    transition: var(--transition);
    cursor: pointer;
}

.slider-slide:hover img {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.slider-slide img.zoomed {
    transform: scale(1.5);
    z-index: 10;
    position: relative;
}

.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 5px;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 14px rgba(26, 60, 92, 0.2);
    pointer-events: auto;
}

.slider-btn:hover {
    background: var(--accent-color);
    color: white;
    transform: scale(1.1);
}

.slider-container--transitioning .slider-btn {
    pointer-events: none;
}

.slider-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.slider-modal img {
    max-width: 90%;
    max-height: 90%;
}
.slider-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Видео */
.section.videos {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.videos-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.video-item {
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    flex: 0 0 40%;
    max-width: 400px;
    max-width: 300px;

}

.video-wide   {
    width: 100%;
    aspect-ratio: 9 / 16;
}

/* Таблица с современным дизайном */
.specs {
    background: var(--light-color);
    padding: 100px 0;
    position: relative;
}
.spec-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}
.spec-tab-btn {
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    padding: 10px 20px;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.spec-tab-btn.active {
    color: var(--primary-color);
}

.spec-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.spec-tab-btn:hover {
    color: var(--primary-color);
}

.specs-gallery {
    overflow: hidden;
    display: none;
}
.specs-gallery.active {
    display: block;
}
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
    
}

.spec-card {
    background: linear-gradient(180deg, #ffffff 0%, #f6fafe 100%);
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(42, 95, 138, 0.08);
    box-shadow: 0 6px 18px rgba(26, 60, 92, 0.08);
    transition: all 0.3s ease;
}

.spec-card:hover {
    background: linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(26, 60, 92, 0.13);
}

.spec-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3f8fd4;
    font-size: 24px;
    flex-shrink: 0;
    background: radial-gradient(circle at 30% 30%, rgba(92, 179, 255, 0.3), rgba(92, 179, 255, 0.1));
    border-radius: 12px;
    transition: all 0.3s ease;
}

.spec-card:hover .spec-icon {
    color: #4aa1e6;
    transform: scale(1.1);
}

.spec-content {
    flex-grow: 1;
}

.spec-value {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.2;
    margin-bottom: 5px;
   
}

.spec-label {
    display: block;
    font-size: 16px;
    color: var(--text-color);
    opacity: 0.7;
    line-height: 1.4;
}

/* Карточки комплектаций */
.packages {
    background-color: #f0f4f8;
    padding: 100px 0;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.package-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(42, 95, 138, 0.1);
    display: flex;
    flex-direction: column;
    min-height: 500px;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.package-header {
    background: linear-gradient(140deg, #2a5f8a 0%, #3d83b1 100%);
    color: white;
    padding: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.package-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
}

.package-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.package-price {
    font-size: 32px;
    font-weight: 700;
    margin: 10px 0;
    color: #cfe9ff;
    position: relative;
    z-index: 1;
}

.package-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.package-features {
    list-style: none;
    margin-bottom: 30px;
}

.package-features li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features li i {
    color: var(--accent-color);
    margin-right: 10px;
    font-size: 18px;
}
.package-features li a {
    display: inline-flex; /* Принудительно делаем <a> flex-контейнером */
    align-items: center; /* Выравниваем содержимое <a> по центру */
    text-decoration: underline;
    color: inherit;
   
    
}

.package-btn {
    background: linear-gradient(135deg, #5cb3ff 0%, #4a9ce3 100%);
    color: #ffffff;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    margin-top: auto;
}

.package-btn:hover {
    background: linear-gradient(135deg, #55aaf5 0%, #3f8fd4 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(65, 143, 212, 0.35);
}

/* Sertificate */
.sert {
    padding: 50px 0 100px;
    background-color: #f0f4f8;
    margin-top: 100px;
}
.sert-title {
    text-align: center;
   
    margin-bottom: 60px;
    color: var(--primary-color);
    font-size: 36px;
    font-weight: 700;
}
.sert-img img {
    max-width: 100%;
    height: 400px;
    width: auto;
    display: block;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    object-fit: cover;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #f8f8f8;
}

.about .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.about__content {
    display: flex;
    align-items: stretch;
    gap: 30px;
}

.about__content:not(:last-child) {
    margin-bottom: 0;
}

.about__image-wrapper {
    flex: 1;
    max-width: 50%;
    display: flex;
}

.about__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.about__image:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.about__info {
    flex: 1;
    max-width: 50%;
    padding: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(42, 95, 138, 0.08);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 24px rgba(26, 60, 92, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about__title {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.about__subtitle {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.about__text {
    font-size: 18px;
    color: var(--text-color);
    line-height: 1.8;
    letter-spacing: 0.2px;
    margin-bottom: 15px;
}

.about__text:last-child {
    margin-bottom: 0;
}

.about__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about__list-item {
    font-size: 18px;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.about__list-item::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 20px;
}

.about__list-item strong {
    color: var(--primary-color);
    font-weight: 600;
}

.about__list-item:last-child {
    margin-bottom: 0;
}

/* CTA секция */
.cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 50px 0;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.05)" d="M0,0 L100,0 L100,100 L0,100 Z" /></svg>');
    background-size: cover;
    opacity: 0.1;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
    position: relative;
}

.cta p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
    position: relative;
}

footer {
    background-color: var(--dark-color);
    color: white;
    padding: 80px 0 30px;
    position: relative;
    width: 100%;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.foooter-law {
    list-style: none;
}

.footer-column h3 {
    color: var(--accent-color);
    margin-bottom: 25px;
    font-size: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-color);
}

.footer-column p,
.footer-column ul {
    opacity: 0.8;
}

.footer-column ul {
    list-style: none;
    margin-top: 20px;
}

.footer-column ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.footer-column ul li i {
    margin-right: 10px;
    color: var(--accent-color);
    width: 20px;
    text-align: center;
}

.footer-column ul li a {
    color: #ddd;
    text-decoration: none;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    margin-right: 15px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 0;
}

/* FAQ */
.faq {
    padding: 50px 0;
    background: linear-gradient(180deg, #e6f0fa 0%, #f0f4f8 100%);
}

.faq .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.faq__list {
    display: grid;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.faq__item {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(42, 95, 138, 0.08);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 22px rgba(26, 60, 92, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq__item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.faq__question {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-color);
    cursor: pointer;
    background: transparent;
    transition: var(--transition);
    position: relative;
}

.faq__question::-webkit-details-marker {
    display: none;
}

.faq__question::after {
    content: '';
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235cb3ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: cover;
    margin-left: auto;
    transition: transform 0.3s ease;
}

.faq__item[open] .faq__question::after {
    transform: rotate(180deg);
}

.faq__question:hover,
.faq__question:focus {
    background: #f0f4f8;
    color: var(--primary-color);
    outline: none;
}

.faq__icon {
    color: var(--accent-color);
    transition: var(--transition);
}

.faq__item[open] .faq__icon,
.faq__question:hover .faq__icon,
.faq__question:focus .faq__icon {
    color: var(--primary-color);
    transform: scale(1.1);
}

.faq__answer {
    padding: 20px 24px 24px 56px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background: rgba(92, 179, 255, 0.03);
    border-top: 1px solid rgba(42, 95, 138, 0.08);
    font-style: italic;
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal--active {
    display: flex;
    opacity: 1;
}

.modal__content {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-radius: var(--border-radius);
    border: 1px solid rgba(42, 95, 138, 0.12);
    box-shadow: 0 20px 50px rgba(26, 60, 92, 0.28);
    padding: 30px;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: scale(0.7);
    transition: transform 0.3s ease;
}
.modal__content p {
    font-size: 16px;
    color: var(--text-color);
    text-align: center;
    margin-top: 10px;
}

.modal--active .modal__content {
    transform: scale(1);
}

.modal__close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

.modal__close:hover {
    color: var(--primary-color);
}

.modal__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
}

.modal__form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal__form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.modal__label {
    font-size: 14px;
    color: var(--text-color);
    font-weight: 600;
}

.modal__input {
    padding: 12px;
    font-size: 16px;
    border: 2px solid var(--text-color);
    border-radius: var(--border-radius);
    outline: none;
    transition: var(--transition);
}

.modal__input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(92, 179, 255, 0.18);
}

.modal__input::placeholder,
.form-input::placeholder {
    color: #6b7785;
}

.modal__submit {
    padding: 12px;
    background: var(--accent-color);
    color: #ffffff;
    border: none;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.modal__submit:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.modal__submit:disabled,
.form-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}


    /* Messenger */
.messenger {
    position: fixed;
    bottom: 74px;
    right: 34px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    /* background: linear-gradient(135deg, var(--accent), var(--teal)); */
    display: grid;
    gap: 10px;
    place-items: center;
    box-shadow: 0 12px 32px rgba(255, 122, 41, 0.24);
    z-index: 9999;
}

.messenger-link {
    display: flex;
}

.messenger img {
    width: 60px;
    height: 60px;
    display: block;
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeIn 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* Медиа-запросы */
@media (max-width: 992px) {
    .section {
        padding: 80px 0;
    }

    .logo span {
        font-size: 24px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
        padding: 4px 14px;
    }

    nav ul li {
        margin-left: 15px;
    }

    nav ul li:first-child {
        display: none;
    }
    .hero .container {
        max-width: 600px;
        max-height: 300px;
    }
    .countdown-form__title {
        font-size: 20px;
    }
    .timer-unit {
        font-size: 35px;
    }
    .timer-unit::after {
        font-size: 35px;
    }
    .countdown-form__form {
        justify-content: space-between;
    }
    .countdown-form__form-input-wrapper {
        flex-direction: column;
        
    }
    .form-input, .form-button {
        min-width: 100%;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .boat-card__content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .boat-card__media {
        height: 340px;
    }

    .boat-card__right {
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
    }

    .boat-card__panel {
        min-height: auto;
    }

    .boat-card__content::before {
        inset: -4px;
        border-radius: 18px;
    }

    .slider-container {
        width: 620px;
    }
    .slider-slide {
        cursor: pointer;
    }

    .slider-slide img {
        height: 180px;
    }

    .section-title {
        font-size: 28px;
    }

    .faq__question {
        font-size: 16px;
        padding: 16px 20px;
        gap: 10px;
    }

    .faq__answer {
        font-size: 14px;
        padding: 16px 20px 20px 46px;
    }

    .specs-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 25px;
    }
    .spec-icon {
        width: 40px;
        height: 40px;
    }
    .spec-value {
        font-size: 25px;
    }
    .spec-label {
        font-size: 14px;
    }

    .about__content {
        flex-direction: column;
        gap: 20px;
    }

    .about__content:not(:last-child) {
        margin-bottom: 20px;
    }

    .about__image-wrapper,
    .about__info {
        max-width: 100%;
        width: 100%;
    }

    .about__image {
        height: auto;
    }

    .about__title {
        font-size: 28px;
    }

    .about__subtitle {
        font-size: 20px;
    }
}

@media (max-width: 800px) {
    .messenger,
    .messenger img {
        width: clamp(48px, 7.5vw, 60px);
        height: clamp(48px, 7.5vw, 60px);
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 20px;
        transform: translateY(-150%);
        transition: var(--transition);
        z-index: 999;
    }

    nav.active {
        transform: translateY(0);
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 0 0 15px 0;
    }

    nav ul li a {
        padding: 10px;
    }

    .hero .container {
        padding: 30px;
        transform: translateY(20px);
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 15px;
        padding: 4px 12px;
    }

    .section-title {
        font-size: 30px;
    }

    .countdown-form__content {
        flex-direction: column;
        gap: 40px;
    }

    .countdown-form__countdown,
    .countdown-form__form {
        max-width: 480px;
        width: 100%;
    }

    .countdown-form__form-input-wrapper {
        flex-direction: column;
        gap: 15px;
    }

    .form-input,
    .form-button {
        max-width: 100%;
    }

    .specs {
        padding: 80px 0;
    }

    .specs-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 25px;
    }

    .spec-value {
        font-size: 28px;
    }

    .spec-label {
        font-size: 14px;
    }

    .spec-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .about {
        padding: 80px 0;
    }

    .boat-card__content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .boat-card__meta {
        grid-template-columns: 1fr;
    }

    .boat-card__media {
        height: 300px;
    }

    .boat-card__media-chips {
        left: 10px;
        right: 10px;
        bottom: 10px;
        gap: 6px;
    }

    .boat-card__media-chip {
        font-size: 11px;
        padding: 5px 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@media (max-width: 650px) {
    .hero {
        min-height: max(720px, calc(100svh - 70px));
        padding-bottom: 24px;
        background-image: url('../img/bg-mobile.jpg');
        background-position: center top;
    }

    .hero__bottom {
        gap: 16px;
        margin-bottom: 0;
        padding: 0 16px 16px;
    }

    .hero .container {
        padding: 25px;
        max-width: 500px;
        max-height: none;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 13px;
        padding: 3px 11px;
        margin: 0 4px 6px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 26px;
    }

    .packages-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
        justify-items: center; /* Центрируем элементы внутри сетки */
    }

    .feature-item {
        max-width: 300px; /* Ограничиваем ширину каждого блока */
        width: 100%; /* Гарантируем, что блок не превысит max-width */
        /* max-height: 200px; */
    }


    

    .slider-container {
        width: 100%;
    }

    .slider-slide {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .slider {
        gap: 0;
    }

    .tab-btn {
        font-size: 16px;
        padding: 8px 15px;
    }

    .slider-slide img {
        height: 150px;
    }

    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
 
    .specs-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
    }

    .spec-tabs {
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 28px;
    }

    .spec-tab-btn {
        flex: 1 1 140px;
        min-height: 44px;
        padding: 10px 12px;
        font-size: 16px;
    }

    .countdown-form__timer {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: clamp(6px, 4vw, 20px);
    }

    .timer-unit,
    .timer-unit::after {
        font-size: clamp(30px, 9vw, 36px);
    }

    .timer-unit::after {
        right: clamp(-10px, -2.5vw, -6px);
    }

    .faq__list {
        gap: 12px;
    }

    .faq__question {
        font-size: 14px;
        padding: 12px 16px;
        gap: 8px;
    }

    .faq__question::after {
        width: 14px;
        height: 14px;
    }

    .faq__answer {
        font-size: 13px;
        padding: 12px 16px 16px 38px;
    }

    .faq__icon {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 576px) {
    .hero .container {
        padding: 20px;
        max-width: 400px;
        max-height: none;
    }
    .boat-card {
        padding: 40px 0;
    }

    .boat-card__title {
        font-size: 28px;
    }

    .boat-card__subtitle {
        font-size: 14px;
    }

    .boat-card__button {
        padding: 12px 20px;
        font-size: 14px;
    }

    .boat-card__panel {
        padding: 16px;
        border-radius: 12px;
    }

    .boat-card__media-badge {
        top: 10px;
        left: 10px;
        padding: 5px 10px;
        font-size: 12px;
        min-width: 78px;
    }

    .boat-card__media {
        height: 240px;
    }

    .boat-card__image img {
        border-radius: 12px;
    }

    .boat-card__content::before {
        display: none;
    }

    .price-title {
        font-size: 20px;
    }

    .price-subtitle {
        font-size: 12px;
    }

    .countdown-form {
        padding: 40px 0;
    }

    .countdown-form__title {
        font-size: 20px;
    }

    .timer-label {
        font-size: 12px;
    }

    .header-contacts {
        flex-wrap: wrap;
        gap: 4px 16px;
        padding-inline: 12px;
    }

    .form-button {
        padding: 12px;
        font-size: 14px;
    }

    .spec-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .spec-value {
        font-size: 24px;
    }

    .about {
        padding: 40px 0;
    }

    .about__title {
        font-size: 24px;
    }

    .about__subtitle {
        font-size: 18px;
    }

    .about__text {
        font-size: 14px;
    }

    .modal__content {
        padding: 20px;
    }

    .modal__title {
        font-size: 20px;
    }

    .modal__input,
    .modal__submit {
        font-size: 14px;
    }
}


@media (max-width: 380px) {
    .container,
    .countdown-form .container,
    .footer-container,
    .copyright {
        padding-inline: 12px;
    }

    .hero h1 {
        font-size: 24px;
        line-height: 1.25;
        margin-bottom: 14px;
    }

    .hero p {
        font-size: 12px;
        padding: 3px 8px;
    }

    .countdown-form__countdown {
        padding: 16px 10px;
    }

    .countdown-form__title {
        font-size: 18px;
        line-height: 1.3;
    }

    .countdown-form__timer {
        gap: 4px;
    }

    .timer-unit,
    .timer-unit::after {
        font-size: clamp(26px, 9vw, 32px);
    }

    .timer-unit::after {
        right: -5px;
    }

    .timer-label {
        font-size: 10px;
    }

    .spec-tabs {
        display: grid;
        grid-template-columns: 1fr;
    }

    .spec-tab-btn {
        width: 100%;
    }

    .footer-container {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 299px) {
    .hero__bottom {
        padding-inline: 10px;
    }

    .hero .container {
        padding: 16px 10px;
    }

    .hero h1 {
        font-size: 21px;
    }

    .countdown-form__title {
        font-size: 16px;
    }

    .countdown-form__timer {
        gap: 2px;
    }

    .timer-unit,
    .timer-unit::after {
        font-size: 25px;
    }

    .timer-label {
        font-size: 9px;
        letter-spacing: -0.2px;
    }

    .slider-btn {
        width: 44px;
        height: 44px;
    }
}
