
@font-face {
    font-family: "PixellariCyrillic";
    src: url("https://cdn.jsdelivr.net/gh/YuRaNnNzZZ/PixellariCyrillic@master/Pixellari.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

h1, h2, .hero-title, .form-title, .benefits-title, .faq-title, .logo {
    font-family: "PixellariCyrillic", monospace;
    color: #FF8D04;
    font-weight: 200;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.5;
}

.duck_text_logo {
  font-size: 22px;
  }
  
/* Шапка */
.header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eee;
}

.header-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

.logo-img-link {
    display: block;
    line-height: 0;
}

.logo-img {
    display: block;
    height: 2.5rem;
    width: auto;
    object-fit: contain;
}

.nav_link_text {
  text-decoration: none;
  color: #00000082;
}

.nav_link_text:hover {
  color: black;
}

.nav_link {
  gap: 60px;
  display: flex;
}

/* Кнопка на основе изображения: по центру — любой текст */
.btn {
    display: inline-block;
    padding: 14px 1.5rem;
    border: none;
    background: url("../images/button.png") no-repeat center;
    background-size: 100% 100%;
    color: #00318D;
    font-family: "PixellariCyrillic", monospace;
    font-size: 18px;
    text-decoration: none;
    text-align: center;
    line-height: 1.5;
    text-transform: uppercase;
    cursor: pointer;
    box-sizing: border-box;
    transition: transform 0.2s ease, opacity 0.2s ease;
  width: 153px;
  height: 60px;
}

.btn:hover {
    transform: translateY(-4px) scale(1.03);
    opacity: 1;
}

.btn:active {
    transform: translateY(-1px) scale(1.01);
    opacity: 0.95;
}

.btn-header {
    background: url("../images/button.png") no-repeat center;
    background-size: 100% 100%;
    color: #00318D;
}

.btn-header:hover {
    background: url("../images/button.png") no-repeat center;
    background-size: 100% 100%;
    color: #00318D;
}

/* Главный блок */
.hero {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    text-align: center;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background-image: radial-gradient(circle, rgba(0, 49, 141, 0.15) 1px, transparent 1px);
    background-size: 24px 24px;
    background-position: 0 0;
    z-index: -1;
    pointer-events: none;
}

.hero-duck {
    position: absolute;
    right: 2rem;
    top: 65%;
    width: 180px;
    height: auto;
    pointer-events: none;
    z-index: 999;
    animation: duckFloatRight 12s ease-in-out infinite;
}

.hero-duck-left {
    position: absolute;
    left: -2rem;
    top: 4rem;
    width: 170px;
    height: auto;
    pointer-events: none;
    z-index: -1;
    animation: duckFloat 12s ease-in-out infinite;
}

@keyframes duckFloat {
    0%, 100% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }
    25% {
        transform: translateX(0.5rem) translateY(-1rem) rotate(-5deg);
    }
    50% {
        transform: translateX(1rem) translateY(0) rotate(5deg);
    }
    75% {
        transform: translateX(0.5rem) translateY(1rem) rotate(-5deg);
    }
}

@keyframes duckFloatRight {
    0%, 100% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }
    25% {
        transform: translateX(-0.5rem) translateY(-1rem) rotate(5deg);
    }
    50% {
        transform: translateX(-1rem) translateY(0) rotate(-5deg);
    }
    75% {
        transform: translateX(-0.5rem) translateY(1rem) rotate(5deg);
    }
}

@media (max-width: 700px) {
    .hero-duck {
        display: none;
    }

    .hero-duck-left {
        display: none;
    }
    
    .nav_link {
 display: none;
}


}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    margin-top: 100px;
}

.hero-text {
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
    color: #444444c7;
    text-transform: uppercase;
}

.btn-hero {
    margin-top: 0.5rem;
}

/* Блок преимуществ */
.benefits {
    background-color: #00318D;
    color: #fff;
}

.benefits-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.benefits-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.benefits-intro {
    max-width: 60ch;
    margin-bottom: 2rem;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    background: rgba(0, 0, 0, 0.15);
    padding: 1rem 1rem 1rem 1rem;
    border-radius: 6px;
}

.benefit-item-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.benefit-item-text {
    font-size: 0.95rem;
    line-height: 1.6;
}

.benefit-icon {
    float: left;
    width: 72px;
    height: 72px;
    margin-right: 8px;
}

.benefit-item::after {
    content: "";
    display: block;
    clear: both;
}

@media (max-width: 700px) {
    .benefits-inner {
        padding: 2rem 1rem;
    }

    .benefit-icon {
        width: 56px;
    }
    
    .hero-title {
  font-size: 2rem;
  margin-top: 22px;
      margin-bottom: 40px;
  }
  
  .hero-text {
  margin-bottom: 3.5rem;
  }
}

/* Форма */
.form-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    border-top: 1px solid #eee;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-title {
    font-size: 3rem;
    max-width: 30ch;
    line-height: 1.3;
    font-weight: 200;
}

.form-intro {
    color: #666;
    font-size: 0.95rem;
}

.form-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.form-duck {
    width: 500px;
    height: auto;
    flex-shrink: 0;
    object-fit: contain;
    transform: rotate(8deg);
}

@media (max-width: 700px) {
    .form-wrapper {
        flex-direction: column;
        align-items: center;
    }
    
    .form-duck {
        width: 200px;
        order: -1;
    }
    
    .form-group input,
    .form-group textarea {
        min-width: auto;
    }
}

/* Стили формы — меняй переменные для визуала */
.form-section {
    --form-label-color: #333;
    --form-label-font-size: 1rem;
    --form-label-font-weight: 500;
    --form-input-color: #333;
    --form-input-bg: #fff;
    --form-input-border: 1px solid #ccc;
    --form-input-border-radius: 4px;
    --form-input-padding: 0.5rem 0.75rem;
    --form-input-font-size: 1rem;
    --form-input-focus-border-color: #00318D;
    --form-input-invalid-border-color: #c00;
    --form-placeholder-color: #999;
}

.form-fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--form-label-color);
    font-size: var(--form-label-font-size);
    font-weight: var(--form-label-font-weight);
}

.form-group input,
.form-group textarea {
    width: 100%;
    min-width: 300px;
    padding: var(--form-input-padding);
    border: var(--form-input-border);
    border-radius: var(--form-input-border-radius);
    font: inherit;
    font-size: var(--form-input-font-size);
    color: var(--form-input-color);
    background: var(--form-input-bg);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--form-input-focus-border-color);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--form-placeholder-color);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-group input:invalid.submitted,
.form-group textarea:invalid.submitted {
    border-color: var(--form-input-invalid-border-color);
}

.btn-submit {
    min-width: 140px;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 4px;
}

.form-message.success {
    background: #e8f5e9;
    color: #2e7d32;
}

.form-message.error {
    background: #ffebee;
    color: #c62828;
}

/* Секция статистики */
.stats-section {
    display: flex;
    align-items: center;
    min-height: 60vh;
    background-color: #fff;
    color: #333;
}

.stats-inner {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.stats-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.stats-title {
    font-size: 3rem;
    max-width: 30ch;
    line-height: 1.3;
    font-weight: 200;
}

.stats-intro {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    max-width: 50ch;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.stats-grid .stat-item {
    padding: 1.5rem;
}

.stats-grid .stat-item:nth-child(1),
.stats-grid .stat-item:nth-child(3) {
    border-right: 1px solid rgba(0, 0, 0, 0.12);
}

.stats-grid .stat-item:nth-child(1),
.stats-grid .stat-item:nth-child(2) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.stat-value {
    display: block;
    font-family: "PixellariCyrillic", monospace;
    font-size: 2.25rem;
    color: #FF8D04;
    margin-bottom: 0.35rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

@media (max-width: 700px) {
    .stats-title {
        max-width: none;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid .stat-item:nth-child(1),
    .stats-grid .stat-item:nth-child(2),
    .stats-grid .stat-item:nth-child(3) {
        border: none;
    }

    .stat-value {
        font-size: 1.75rem;
    }
}




/* FAQ секция */
.faq-section {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    border-top: 1px solid #eee;
    min-height: 100vh;
}

.faq-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background-color: #F5F8FF;
    z-index: -1;
    pointer-events: none;
}

.faq-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.faq-header {
    text-align: center;
    margin-bottom: 2rem;
}

.faq-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.faq-intro {
    color: #666;
    font-size: 0.95rem;
}

.faq-accordion {
    width: 100%;
    max-width: 700px;
    margin-bottom: 2rem;
}

.faq-item {
    border-bottom: 1px solid #eee;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    padding: 1rem 0;
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: #FF8D04;
}

.faq-question::after {
    content: "+";
    font-size: 1.5rem;
    font-weight: 300;
    color: #FF8D04;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 0 1rem 0;
    color: #666;
    line-height: 1.6;
}

.faq-duck {
    width: 250px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 700px) {
    .faq-accordion {
        max-width: 100%;
    }
    
    .faq-duck {
        width: 180px;
    }
}

/* Футер */
.footer {
    border-top: 1px solid #eee;
    padding: 2rem 1.5rem;
}

.footer-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.footer-copyright {
    color: #666;
    font-size: 0.9rem;
}
