/* ==========
   Базовые переменные и сброс
   ========== */

:root {
    --iriska-bg: #f5f7fb;
    --iriska-bg-alt: #0b1120;
    --iriska-card: #0f172a;
    --iriska-card-light: #ffffff;
    --iriska-text: #0b1120;
    --iriska-text-muted: #64748b;
    --iriska-accent: #e38b24;      /* медный/оранжевый как на корпусе */
    --iriska-accent-soft: #f8cb8f;
    --iriska-glow: #35d3ff;        /* неоновый голубой из глаз */
    --border-subtle: rgba(148, 163, 184, 0.35);
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-pill: 999px;
    --shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.25);
    --shadow-card: 0 10px 28px rgba(15, 23, 42, 0.18);
    --transition-fast: 0.15s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body.theme-iriska {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top left, #111827 0, #020617 38%, #020617 55%, #020617 100%);
    color: #e5e7eb;
    line-height: 1.6;
}

/* ==========
   Контейнеры и структура
   ========== */

.container {
    width: 90%;
    max-width: 1140px;
    margin: 0 auto;
}

.site-header {
    padding: 20px 0 60px;
}

.site-header-compact {
    padding-bottom: 20px;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

/* ==========
   Логотип и навигация
   ========== */

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #f9fafb;
}

.logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 0%, var(--iriska-accent-soft), var(--iriska-accent));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    color: #020617;
    box-shadow: 0 0 14px rgba(227, 139, 36, 0.8);
}

.logo-text {
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 14px;
}

.main-nav a {
    color: #e5e7eb;
    text-decoration: none;
    margin-left: 18px;
    font-size: 14px;
    opacity: 0.9;
    position: relative;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--iriska-glow), var(--iriska-accent));
    transition: width var(--transition-fast);
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-highlight {
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(227, 139, 36, 0.8);
    background: rgba(15, 23, 42, 0.6);
}

/* ==========
   Hero
   ========== */

.hero {
    padding-bottom: 60px;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 32px;
    align-items: center;
}

.hero-kicker {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--iriska-accent-soft);
    margin-bottom: 10px;
}

.hero h1 {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 14px;
}

.hero-lead {
    font-size: 15px;
    color: #cbd5f5;
    margin-bottom: 20px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.hero-note {
    font-size: 12px;
    color: #9ca3af;
}

/* ==========
   Кнопки
   ========== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-pill);
    padding: 10px 20px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.btn-primary {
    background: linear-gradient(135deg, var(--iriska-glow), var(--iriska-accent));
    color: #020617;
    box-shadow: 0 12px 28px rgba(53, 211, 255, 0.45);
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(53, 211, 255, 0.6);
}

.btn-ghost {
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.7);
    color: #e5e7eb;
}

.btn-ghost:hover {
    background: rgba(15, 23, 42, 0.8);
}

.btn-outline {
    border: 1px solid var(--iriska-accent);
    color: var(--iriska-accent-soft);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(227, 139, 36, 0.1);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ==========
   Hero robot card
   ========== */

.hero-visual {
    display: flex;
    justify-content: center;
}

.robot-card {
    background: radial-gradient(circle at top, rgba(53, 211, 255, 0.15), rgba(15, 23, 42, 0.95));
    border-radius: 26px;
    padding: 18px 18px 16px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(15, 23, 42, 0.9);
    max-width: 380px;
}

.robot-image {
    width: 100%;
    border-radius: 22px;
    display: block;
    background: #020617;
    object-fit: cover;
}

.robot-card-body {
    margin-top: 14px;
}

.robot-card-body h2 {
    font-size: 18px;
    margin-bottom: 6px;
}

.robot-card-body p {
    font-size: 13px;
    color: #cbd5f5;
    margin-bottom: 10px;
}

.robot-stats-list {
    list-style: none;
    font-size: 12px;
    color: #e5e7eb;
}

.robot-stats-list li {
    margin-bottom: 4px;
}

.robot-stats-list span {
    color: var(--iriska-accent-soft);
}

/* ==========
   Секции и сетки
   ========== */

.section {
    padding: 55px 0;
}

.section-alt {
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), #020617 70%);
}

.section-title {
    font-size: 24px;
    margin-bottom: 6px;
    text-align: left;
}

.section-subtitle {
    font-size: 14px;
    color: #cbd5f5;
    max-width: 640px;
    margin-bottom: 26px;
}

.section .section-title,
.section .section-subtitle {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
    margin-top: 6px;
}

.feature-card {
    background: rgba(15, 23, 42, 0.9);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    border: 1px solid rgba(30, 64, 175, 0.6);
    box-shadow: var(--shadow-card);
}

.feature-card h3 {
    font-size: 16px;
    margin-bottom: 6px;
    color: #e5e7eb;
}

.feature-card p {
    font-size: 13px;
    color: #cbd5f5;
}

/* ==========
   Двухколоночные блоки
   ========== */

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 28px;
    align-items: flex-start;
}

.pill-card {
    background: rgba(15, 23, 42, 0.92);
    border-radius: var(--radius-lg);
    padding: 20px 22px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    box-shadow: var(--shadow-card);
}

.checklist {
    list-style: none;
    margin-bottom: 16px;
    color: #e5e7eb;
    font-size: 14px;
}

.checklist li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 6px;
}

.checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--iriska-glow);
}

/* ==========
   Page hero / story
   ========== */

.page {
    background: radial-gradient(circle at 0 0, #111827 0, #020617 45%, #020617 100%);
}

.page-hero {
    padding: 40px 0 10px;
}

.page-hero-inner {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
}

.page-hero h1 {
    font-size: 28px;
    margin-bottom: 6px;
}

.page-lead {
    font-size: 14px;
    color: #cbd5f5;
    max-width: 640px;
}

.label-pill {
    border-radius: var(--radius-pill);
    border: 1px solid rgba(148, 163, 184, 0.7);
    padding: 6px 14px;
    font-size: 12px;
    color: #e5e7eb;
    background: rgba(15, 23, 42, 0.7);
}

/* Story */

.story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
}

.story-block {
    background: rgba(15, 23, 42, 0.95);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    border: 1px solid rgba(30, 64, 175, 0.5);
}

.story-block h2 {
    font-size: 18px;
    margin-bottom: 8px;
}

.story-block p {
    font-size: 14px;
    color: #d1d5db;
    margin-bottom: 8px;
}

.story-highlight {
    border-color: var(--iriska-accent);
    box-shadow: var(--shadow-soft);
}

/* ==========
   Order page
   ========== */

.numbered-list {
    counter-reset: step;
    list-style: none;
    margin-bottom: 18px;
}

.numbered-list li {
    counter-increment: step;
    margin-bottom: 8px;
    padding-left: 26px;
    font-size: 14px;
    position: relative;
    color: #e5e7eb;
}

.numbered-list li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--iriska-glow), var(--iriska-accent));
    color: #020617;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.muted {
    font-size: 13px;
    color: #9ca3af;
}

.form-card {
    background: rgba(15, 23, 42, 0.96);
    border-radius: var(--radius-lg);
    padding: 20px 22px;
    border: 1px solid rgba(30, 64, 175, 0.7);
    box-shadow: var(--shadow-soft);
}

.order-form {
    margin-top: 10px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

label {
    font-size: 12px;
    color: #e5e7eb;
    margin-bottom: 4px;
}

input,
select,
textarea {
    border-radius: 10px;
    border: 1px solid #374151;
    background: #020617;
    color: #e5e7eb;
    font-size: 13px;
    padding: 7px 9px;
    outline: none;
}

input::placeholder,
textarea::placeholder {
    color: #6b7280;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

.form-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
    align-items: center;
}

.form-note {
    font-size: 11px;
    color: #9ca3af;
}

/* ==========
   About us
   ========== */

.team-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 28px;
    align-items: flex-start;
}

.media-card {
    background: rgba(15, 23, 42, 0.95);
    border-radius: var(--radius-lg);
    padding: 16px 18px;
    border: 1px solid rgba(30, 64, 175, 0.7);
    box-shadow: var(--shadow-card);
}

.media-image {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    display: block;
}

.media-caption {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 8px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}

.person-card {
    background: rgba(15, 23, 42, 0.96);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    border: 1px solid rgba(148, 163, 184, 0.6);
}

.person-photo {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    margin-bottom: 10px;
}

.person-card h3 {
    font-size: 16px;
    margin-bottom: 6px;
}

.person-card p {
    font-size: 13px;
    color: #d1d5db;
}

.contact-line {
    font-size: 13px;
    margin-top: 8px;
}

.contact-line a {
    color: var(--iriska-glow);
    text-decoration: none;
}

/* QR / контакты */

.contact-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 24px;
    align-items: center;
}

.qr-card {
    background: rgba(15, 23, 42, 0.96);
    border-radius: var(--radius-lg);
    padding: 16px 18px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    text-align: center;
}

.qr-image {
    width: 200px;
    max-width: 100%;
    border-radius: 12px;
    background: #ffffff;
}

.qr-caption {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 6px;
}

/* ==========
   Support page
   ========== */

.support-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 28px;
    align-items: flex-start;
}

.support-card {
    background: rgba(15, 23, 42, 0.96);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    border: 1px solid rgba(227, 139, 36, 0.7);
    box-shadow: var(--shadow-soft);
}

.support-card h2 {
    margin-bottom: 8px;
}

.support-card p {
    font-size: 14px;
    color: #e5e7eb;
    margin-bottom: 10px;
}

.support-method {
    margin-bottom: 14px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px dashed rgba(148, 163, 184, 0.8);
}

.support-method h3 {
    font-size: 15px;
    margin-bottom: 4px;
}

.requisite {
    font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 13px;
    color: #e5e7eb;
}

/* CTA */

.cta-panel {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    background: linear-gradient(135deg, rgba(53, 211, 255, 0.2), rgba(227, 139, 36, 0.3));
    border-radius: var(--radius-lg);
    padding: 20px 22px;
    border: 1px solid rgba(227, 139, 36, 0.8);
}

/* ==========
   Footer
   ========== */

.site-footer {
    border-top: 1px solid rgba(15, 23, 42, 0.95);
    background: #020617;
    padding: 18px 0;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    font-size: 12px;
    color: #9ca3af;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    margin-left: 12px;
    font-size: 12px;
}

.footer-links a:hover {
    color: var(--iriska-glow);
}

/* ==========
   Адаптивность
   ========== */

@media (max-width: 900px) {
    .hero-inner,
    .two-column,
    .team-intro-grid,
    .contact-panel,
    .support-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .page-hero-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 720px) {
    .main-nav {
        display: none;
    }

    .site-header {
        padding-bottom: 30px;
    }

    .hero {
        padding-bottom: 30px;
    }

    .section {
        padding: 40px 0;
    }

    .story-block,
    .form-card,
    .pill-card,
    .media-card,
    .support-card,
    .qr-card {
        padding: 16px;
    }

    .hero h1 {
        font-size: 26px;
    }

}
