:root {
    color-scheme: light dark;
    --bg: #f7fafc;
    --card: #ffffff;
    --accent: #0f7b9f;
    --accent-dark: #0a556e;
    --text: #1f2933;
    --muted: #627380;
    --border: #d6dde3;
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    width: min(1000px, 90vw);
    margin: 0 auto 4rem;
}

.hero {
    width: min(1000px, 90vw);
    margin: 3rem auto;
    background: linear-gradient(120deg, #0f7b9f, #14b8a6);
    border-radius: 20px;
    padding: 2.5rem;
    color: white;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: center;
}

.hero__content {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.hero__logo {
    max-width: 220px;
    width: 100%;
    height: auto;
    background: #ffffff;
    border-radius: 18px;
    padding: 0.8rem 1.2rem;
    box-shadow: 0 15px 35px rgba(15, 123, 159, 0.25);
}

.hero h1 {
    margin: .2rem 0 1rem;
    font-size: clamp(2.2rem, 4vw, 3rem);
}

.hero__badge {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    width: 140px;
    height: 140px;
    display: grid;
    place-items: center;
    text-align: center;
    font-weight: 600;
    font-size: 2.3rem;
}

.hero__badge small {
    display: block;
    font-size: 0.9rem;
    letter-spacing: .1em;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
}

.tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tab {
    flex: 1;
    padding: 0.9rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.tab.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.tab-panel {
    display: none;
}

.tab-panel.visible {
    display: block;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

label {
    font-weight: 600;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    color: var(--muted);
}

.form-hint {
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--muted);
}

input,
textarea,
select {
    padding: 0.8rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    font-size: 1rem;
    background: white;
    color: var(--text);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.card {
    background: var(--card);
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 20px 45px rgba(15, 123, 159, 0.08);
}

.preference-card {
    gap: 0.5rem;
}

.card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.children-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.child-card {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.8rem;
}

.child-card header {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

button {
    border: none;
    cursor: pointer;
}

.primary {
    align-self: flex-start;
    padding: 0.9rem 1.8rem;
    border-radius: 999px;
    background: var(--accent);
    color: white;
    font-size: 1rem;
    font-weight: 600;
}

.primary:hover {
    background: var(--accent-dark);
}

.ghost {
    background: transparent;
    border: 1px dashed var(--accent);
    color: var(--accent);
    border-radius: 999px;
    padding: 0.6rem 1.2rem;
    font-weight: 600;
}

.danger {
    background: none;
    color: #b91c1c;
}

.checkbox-field {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    color: var(--text);
    font-size: 1.05rem;
    padding: 0.8rem 1rem;
    border: 2px solid rgba(15, 123, 159, 0.2);
    border-radius: 12px;
    background: rgba(15, 123, 159, 0.04);
}

.checkbox-field input {
    width: auto;
    accent-color: var(--accent);
    transform: scale(1.3);
}

.feedback {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 12px;
    background: #ecfdf5;
    color: #065f46;
    display: none;
}

.feedback.error {
    background: #fef2f2;
    color: #991b1b;
}

.skeleton {
    height: 220px;
    border-radius: 14px;
    background: linear-gradient(90deg, #e3edf3 25%, #f5f9fb 50%, #e3edf3 75%);
    background-size: 200% 100%;
    animation: pulse 1.4s ease infinite;
}

footer {
    margin-top: auto;
    padding: 2rem 0;
    text-align: center;
    color: var(--muted);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
    margin: 1.5rem 0;
}

.info-grid ul {
    padding-left: 1.1rem;
    margin: 0.5rem 0 0;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.media-card {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.3rem;
    background: rgba(15, 123, 159, 0.05);
    color: inherit;
    text-decoration: none;
}

.media-card iframe {
    width: 100%;
    min-height: 180px;
    border: none;
    border-radius: 12px;
}

.pdf-card {
    padding: 0;
    overflow: hidden;
}

.pdf-card iframe {
    min-height: 260px;
    border-radius: 16px 16px 0 0;
}

.pdf-card__meta {
    padding: 1rem 1.2rem;
}

.pdf-card__meta small {
    color: var(--muted);
}

.pdf-card__actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.2rem 1.2rem;
}

.pdf-card__actions a {
    text-decoration: none;
    color: var(--accent);
    font-weight: 600;
}

.fact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.fact-card {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    padding: 1rem;
    backdrop-filter: blur(6px);
}

.fact-card small {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    color: var(--muted);
}

.fact-card strong {
    display: block;
    margin-top: 0.4rem;
    font-size: 1rem;
    color: var(--text);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.price-card {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.2rem;
    background: white;
    box-shadow: 0 10px 30px rgba(15, 123, 159, 0.08);
}

.price-card header {
    margin-bottom: 0.6rem;
}

.price-card .price {
    margin: 0.2rem 0 0;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent);
}

.notice {
    border-left: 4px solid var(--accent);
    background: rgba(15, 123, 159, 0.08);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

@keyframes pulse {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

@media (max-width: 700px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero__content {
        flex-direction: column;
    }

    .hero__badge {
        width: 110px;
        height: 110px;
        font-size: 1.8rem;
    }
}
.form-hint.warning {
    color: #b45309;
    font-weight: 600;
}

.warning-banner {
    border: 2px solid #b45309;
    border-radius: 12px;
    padding: 0.9rem 1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: #7c2d12;
    background: #fff7ed;
    font-size: 1rem;
    text-align: center;
}

.warning-banner.warning-full {
    border-color: #b91c1c;
    color: #7f1d1d;
    background: #fef2f2;
}

.warning-banner.warning-error {
    border-color: #92400e;
    color: #78350f;
    background: #fffbeb;
}
