/* ===== Variables ===== */
:root {
    --color-primary: #0d9488;
    --color-primary-dark: #0f766e;
    --color-primary-light: #ccfbf1;
    --color-text: #1e293b;
    --color-text-muted: #64748b;
    --color-bg: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-border: #e2e8f0;
    --color-notice-bg: #fef3c7;
    --color-notice-text: #92400e;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --transition: 0.2s ease;
}

/* ===== Reset & base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-dark); }

/* ===== Layout ===== */
.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}
.container-narrow {
    max-width: 640px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background-color var(--transition), color var(--transition), box-shadow var(--transition);
}
.btn-primary {
    background: var(--color-primary);
    color: #fff;
}
.btn-primary:hover {
    background: var(--color-primary-dark);
    box-shadow: var(--shadow);
}
.btn-secondary {
    background: var(--color-bg);
    color: var(--color-text);
    border: 2px solid var(--color-border);
}
.btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}
.btn-block { width: 100%; }

/* ===== Hero ===== */
.hero {
    padding: 80px 0 100px;
    text-align: center;
    background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}
.hero-inner {
    max-width: 880px;
    margin: 0 auto;
}
.hero-logo {
    max-width: 360px;
    max-height: 280px;
    width: auto;
    height: auto;
    margin: 0 auto 24px;
    display: block;
}
.hero-image-wrap {
    margin-top: 48px;
    text-align: center;
    display: flex;
    justify-content: center;
}
.hero-image {
    min-width: min(760px, 100%);
    max-width: 100%;
    width: auto;
    height: auto;
    margin: 0 auto;
    display: block;
}
.hero-title {
    margin: 0 0 16px;
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--color-text);
}
.hero-lead {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 500;
    color: var(--color-text);
}
.hero-sub {
    margin: 0 0 32px;
    font-size: 1.0625rem;
    color: var(--color-text-muted);
    line-height: 1.65;
}
.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

/* ===== Sections ===== */
.section {
    padding: 80px 0;
}
.section-alt {
    background: var(--color-bg-alt);
}
.section-label {
    margin: 0 0 8px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
}
.section-title {
    margin: 0 0 16px;
    font-size: clamp(1.75rem, 4vw, 2.05rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: var(--color-text);
}
.section-lead {
    margin: 0 0 40px;
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 560px;
}

/* ===== Feature grid ===== */
.section-features .section-label,
.section-features .section-title,
.section-features .section-lead {
    text-align: center;
}
.section-features .section-lead {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 48px;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.feature-card {
    padding: 28px 24px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), border-color var(--transition);
}
.feature-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--color-primary-light);
}
.feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.125rem;
    border-radius: 8px;
}
.feature-card h3 {
    margin: 0 0 8px;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
}
.feature-card p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ===== Two-column blocks ===== */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.two-col-reverse .two-col-content { order: 2; }
.two-col-reverse .two-col-visual { order: 1; }
.two-col-content .section-title { margin-bottom: 12px; }
.two-col-content .section-lead { margin-bottom: 24px; }
.check-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 1rem;
    color: var(--color-text);
}
.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230d9488'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/contain no-repeat;
}
.two-col-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}
.visual-card {
    width: 100%;
    max-width: 320px;
    padding: 32px 28px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.visual-card-muted {
    background: var(--color-primary-light);
    border-color: rgba(13, 148, 136, 0.2);
}
.section-image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    width: 100%;
}
.section-image {
    max-width: 100%;
    width: min(400px, 100%);
    height: auto;
    margin: 0 auto;
    display: block;
}
.visual-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
}
.visual-card p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--color-text);
    line-height: 1.6;
}

/* ===== Reasons grid ===== */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 16px;
}
.reason-item {
    padding: 24px;
    background: var(--color-bg);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
}
.reason-item h4 {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
}
.reason-item p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.55;
}

/* ===== Testimonial ===== */
.section-testimonial {
    padding: 64px 0;
}
.testimonial {
    margin: 0;
    padding: 40px 32px;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}
.testimonial p {
    margin: 0 0 20px;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--color-text);
}
.testimonial footer {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}
.testimonial-credits {
    margin-top: 0;
    padding-top: 24px;
    text-align: center;
    font-size: 12px;
    line-height: 1.6;
    color: #94a3b8;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Flyer ===== */
.section-flyer {
    text-align: center;
}
.section-flyer .section-label,
.section-flyer .section-title,
.section-flyer .section-lead {
    text-align: center;
}
.section-flyer .section-lead {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 32px;
}
.flyer-wrap {
    margin-top: 16px;
}
.flyer-link {
    display: inline-block;
    text-decoration: none;
    color: inherit;
}
.flyer-link:hover .flyer-image {
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-light);
}
.flyer-image {
    max-width: 100%;
    width: min(600px, 100%);
    height: auto;
    display: block;
    margin: 0 auto 20px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: box-shadow var(--transition), border-color var(--transition);
}
.flyer-download {
    margin-top: 8px;
}

/* ===== Contact form ===== */
.section-contact {
    padding: 80px 0 100px;
}
.section-contact .section-title {
    margin-bottom: 12px;
}
.section-contact .section-lead {
    margin-bottom: 32px;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 40px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
}
.optional {
    font-weight: 400;
    color: var(--color-text-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 14px;
    font-family: var(--font-sans);
    font-size: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-bg);
    color: var(--color-text);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 40px;
    min-height: 48px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    background-color: var(--color-bg);
}
.form-group select:hover {
    border-color: #cbd5e1;
}
.form-group select:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230d9488' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
.form-group select option {
    padding: 12px 14px;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-text);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}
.form-group textarea {
    resize: vertical;
    min-height: 100px;
}
.form-status {
    margin: 0 0 16px;
    padding: 12px 16px;
    font-size: 0.9375rem;
    border-radius: 8px;
    display: none;
}
.form-status:not(:empty) {
    display: block;
}
.form-status--success {
    background: #d1fae5;
    color: #065f46;
}
.form-status--error {
    background: #fee2e2;
    color: #991b1b;
}
.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.form-actions .btn {
    flex: 0 0 auto;
}
.form-note {
    margin: 16px 0 0;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-align: center;
}

/* ===== Notice banner ===== */
.notice-banner {
    padding: 16px 0;
    background: var(--color-notice-bg);
    color: var(--color-notice-text);
    font-size: 0.875rem;
    text-align: center;
}
.notice-banner strong { margin-right: 4px; }

/* ===== Footer ===== */
.site-footer {
    background: var(--color-text);
    color: #94a3b8;
    padding: 56px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-logo {
    margin-bottom: 16px;
    opacity: 0.9;
    max-height: 52px;
    width: auto;
}
.footer-brand p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    max-width: 280px;
}
.footer-brand p a {
    color: #94a3b8;
    text-decoration: none;
}
.footer-brand p a:hover {
    color: #fff;
    text-decoration: underline;
}
.btn-footer {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 20px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.btn-footer:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}
.footer-links h4 {
    margin: 0 0 16px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #e2e8f0;
}
.footer-links a {
    display: block;
    margin-bottom: 10px;
    font-size: 0.9375rem;
    color: #94a3b8;
}
.footer-links a:hover {
    color: #fff;
}
.footer-bottom {
    padding: 24px 24px 32px;
}
.footer-bottom p {
    margin: 0;
    font-size: 0.875rem;
    color: #64748b;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .two-col {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .two-col-reverse .two-col-content,
    .two-col-reverse .two-col-visual {
        order: unset;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 56px 0 72px;
    }
    .section {
        padding: 56px 0;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .contact-form {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-brand p {
        max-width: none;
    }
    .footer-logo {
        max-height: 80px;
        margin-left: auto;
        margin-right: auto;
    }
}
