/* ═══════════════════════════════════════════
   N'ICE LOFT Renovation — Design System
   Proekt «Kachestvenno i Serdito»
   ═══════════════════════════════════════════ */

:root {
    /* Core palette — deep charcoal with warm accents */
    --bg: #0a0b0f;
    --bg-alt: #111318;
    --card-bg: #16181f;
    --card-bg-hover: #1c1f28;
    --border: #2a2d38;
    --border-glow: #3b3f4f;
    --text: #e8e9ed;
    --text-muted: #7a7d8a;
    --text-dim: #4a4d58;
    --accent: #6c8cff;
    --accent-soft: rgba(108, 140, 255, 0.12);
    --accent-glow: rgba(108, 140, 255, 0.25);
    --green: #4ade80;
    --green-soft: rgba(74, 222, 128, 0.1);
    --red: #f87171;
    --red-soft: rgba(248, 113, 113, 0.1);
    --orange: #fb923c;
    --orange-soft: rgba(251, 146, 60, 0.1);
    --gold: #fbbf24;

    /* Spacing */
    --section-pad: 100px;
    --container-max: 1200px;

    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --mono: 'JetBrains Mono', monospace;

    /* Transitions */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --fast: 0.2s;
    --med: 0.4s;
    --slow: 0.7s;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ═══════════════ HERO ═══════════════ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(108, 140, 255, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 80%, rgba(74, 222, 128, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(108, 140, 255, 0.03) 0%, transparent 70%);
    animation: heroPulse 8s ease-in-out infinite alternate;
}

@keyframes heroPulse {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.5;
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 2;
    animation: fadeUp 1s var(--ease);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.badge {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid var(--border);
    border-radius: 40px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 32px;
    backdrop-filter: blur(8px);
    background: rgba(22, 24, 31, 0.6);
}

.hero h1 {
    font-size: clamp(42px, 8vw, 84px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.hero h1 .accent {
    background: linear-gradient(135deg, var(--accent), #a78bfa, var(--green));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-sub {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-muted);
    max-width: 550px;
    margin: 0 auto 48px;
    line-height: 1.5;
}

.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-val {
    font-size: 32px;
    font-weight: 800;
    font-family: var(--mono);
    color: var(--accent);
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-btn {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--accent), #818cf8);
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all var(--med) var(--ease);
    box-shadow: 0 4px 30px rgba(108, 140, 255, 0.3);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(108, 140, 255, 0.45);
}

/* ═══════════════ NAV ═══════════════ */

.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 11, 15, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    gap: 8px;
    padding: 12px 24px;
    overflow-x: auto;
    scrollbar-width: none;
}

.nav-inner::-webkit-scrollbar { display: none; }

.nav-link {
    padding: 8px 18px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    white-space: nowrap;
    transition: all var(--fast) var(--ease);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
    background: var(--accent-soft);
}

/* ═══════════════ SECTIONS ═══════════════ */

.section {
    padding: var(--section-pad) 0;
}

.section.dark {
    background: var(--bg-alt);
}

.section.accent-section {
    background: linear-gradient(135deg, #0f1729, #0a1628, #0d1b2e);
    border-top: 1px solid rgba(108, 140, 255, 0.15);
    border-bottom: 1px solid rgba(108, 140, 255, 0.15);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-soft);
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.section-desc {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ═══════════════ FLOOR PLAN ═══════════════ */

.layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.main-layout {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    position: sticky;
    top: 80px;
}

.floor-plan-svg svg {
    width: 100%;
    height: auto;
    max-height: 600px;
}

.layout-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all var(--med) var(--ease);
}

.detail-card:hover {
    border-color: var(--accent);
    background: var(--card-bg-hover);
    transform: translateX(8px);
}

.detail-card.warn {
    border-color: rgba(251, 146, 60, 0.3);
    background: var(--orange-soft);
}

.detail-card.warn:hover {
    border-color: var(--orange);
}

.detail-icon {
    font-size: 28px;
    margin-bottom: 4px;
}

.detail-card h3 {
    font-size: 18px;
    font-weight: 700;
}

.detail-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ═══════════════ BUDGET TABLE ═══════════════ */

.budget-table {
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

.budget-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    padding: 16px 24px;
    align-items: center;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    transition: background var(--fast);
}

.budget-row:last-child {
    border-bottom: none;
}

.budget-row:hover:not(.header):not(.total) {
    background: var(--card-bg-hover);
}

.budget-row.header {
    background: var(--card-bg);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.budget-row.total {
    background: linear-gradient(135deg, var(--accent-soft), rgba(74, 222, 128, 0.08));
    font-weight: 700;
    font-size: 16px;
}

.work-name {
    display: flex;
    align-items: center;
    gap: 10px;
}

.work-icon {
    font-size: 20px;
}

.usual {
    color: var(--text-muted);
    text-decoration: line-through;
    text-decoration-color: var(--red);
}

.ours {
    color: var(--green);
    font-weight: 600;
    font-family: var(--mono);
}

.saved {
    color: var(--green);
    font-weight: 700;
    font-family: var(--mono);
}

/* ═══════════════ MATERIALS ═══════════════ */

.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.mat-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    transition: all var(--med) var(--ease);
    position: relative;
    overflow: hidden;
}

.mat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--green));
    opacity: 0;
    transition: opacity var(--med);
}

.mat-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.mat-card:hover::before {
    opacity: 1;
}

.mat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.mat-category {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mat-save {
    background: var(--green-soft);
    color: var(--green);
    font-size: 13px;
    font-weight: 700;
    font-family: var(--mono);
    padding: 4px 12px;
    border-radius: 8px;
}

.mat-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

.mat-prices {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.mat-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-radius: 8px;
}

.mat-price.old {
    background: var(--red-soft);
}

.mat-price.new {
    background: var(--green-soft);
}

.mat-price .store {
    font-size: 13px;
    color: var(--text-muted);
}

.mat-price .price {
    font-family: var(--mono);
    font-weight: 600;
    font-size: 14px;
}

.mat-price.old .price {
    color: var(--red);
    text-decoration: line-through;
}

.mat-price.new .price {
    color: var(--green);
}

.mat-tip {
    font-size: 13px;
    color: var(--text-muted);
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border-left: 3px solid var(--accent);
    line-height: 1.5;
}

/* ═══════════════ SAVINGS DASHBOARD ═══════════════ */

.savings-dashboard {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 64px;
}

.savings-ring {
    position: relative;
    width: 240px;
    height: 240px;
    margin: 0 auto;
}

.ring-svg {
    width: 100%;
    height: 100%;
    transform: rotate(0deg);
}

.progress-ring {
    animation: ringFill 2s var(--ease) forwards;
}

@keyframes ringFill {
    from { stroke-dashoffset: 534; }
    to { stroke-dashoffset: 200; }
}

.ring-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.ring-percent {
    display: block;
    font-size: 42px;
    font-weight: 900;
    font-family: var(--mono);
    color: var(--green);
}

.ring-label {
    font-size: 14px;
    color: var(--text-muted);
}

.savings-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.savings-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid transparent;
}

.savings-row.total-row {
    border: 1px solid var(--green);
    background: var(--green-soft);
    margin-top: 8px;
}

.savings-row.save-row {
    border: 1px solid var(--accent);
    background: var(--accent-soft);
}

.sb-label {
    font-size: 14px;
    color: var(--text-muted);
}

.sb-val {
    font-family: var(--mono);
    font-weight: 600;
    font-size: 16px;
}

.sb-val.old {
    color: var(--text-muted);
    text-decoration: line-through;
}

.sb-val.green {
    color: var(--green);
}

.sb-val.mega-green {
    color: var(--green);
    font-size: 22px;
    font-weight: 800;
}

.sb-val.mega-save {
    color: var(--accent);
    font-size: 22px;
    font-weight: 800;
}

.total-row .sb-label,
.save-row .sb-label {
    font-weight: 700;
    color: var(--text);
    font-size: 15px;
}

/* Pro Tips */
.pro-tips h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 28px;
    text-align: center;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}

.tip {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: all var(--med) var(--ease);
}

.tip:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.tip-num {
    font-family: var(--mono);
    font-size: 24px;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.5;
    flex-shrink: 0;
    width: 36px;
}

.tip p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.tip p strong {
    color: var(--text);
}

/* ═══════════════ TIMELINE ═══════════════ */

.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--green));
}

.tl-item {
    position: relative;
    padding-left: 60px;
    padding-bottom: 48px;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideIn 0.6s var(--ease) forwards;
}

.tl-item:nth-child(1) { animation-delay: 0.1s; }
.tl-item:nth-child(2) { animation-delay: 0.2s; }
.tl-item:nth-child(3) { animation-delay: 0.3s; }
.tl-item:nth-child(4) { animation-delay: 0.4s; }
.tl-item:nth-child(5) { animation-delay: 0.5s; }
.tl-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes slideIn {
    to { opacity: 1; transform: translateX(0); }
}

.tl-marker {
    position: absolute;
    left: 12px;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--bg);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.tl-content {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    transition: all var(--med) var(--ease);
}

.tl-content:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.tl-week {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tl-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 8px 0;
}

.tl-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ═══════════════ CONTACTS ═══════════════ */

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.contact-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all var(--med) var(--ease);
}

.contact-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.contact-icon {
    font-size: 36px;
    margin-bottom: 8px;
}

.contact-card h3 {
    font-size: 16px;
    font-weight: 700;
}

.contact-card p {
    font-size: 13px;
    color: var(--text-muted);
}

.contact-phone {
    color: var(--accent);
    text-decoration: none;
    font-family: var(--mono);
    font-weight: 600;
    font-size: 15px;
    padding: 6px 16px;
    background: var(--accent-soft);
    border-radius: 8px;
    transition: background var(--fast);
}

.contact-phone:hover {
    background: var(--accent-glow);
}

.contact-loc {
    font-size: 12px;
    color: var(--text-dim);
}

/* ═══════════════ FOOTER ═══════════════ */

.footer {
    padding: 48px 0;
    text-align: center;
    border-top: 1px solid var(--border);
}

.footer p {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-sub {
    font-size: 12px !important;
    color: var(--text-dim) !important;
    margin-top: 6px;
}

/* ═══════════════ RESPONSIVE ═══════════════ */

@media (max-width: 900px) {
    :root {
        --section-pad: 64px;
    }

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

    .main-layout {
        position: static;
    }

    .budget-row {
        grid-template-columns: 1.5fr 1fr 1fr;
        font-size: 13px;
    }

    .budget-row .work-vol,
    .budget-row.header span:nth-child(2) {
        display: none;
    }

    .savings-dashboard {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        gap: 24px;
    }
}

@media (max-width: 600px) {
    .budget-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 16px;
    }

    .budget-row.header {
        display: none;
    }

    .budget-row .usual,
    .budget-row .ours,
    .budget-row .saved {
        text-align: left;
    }

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

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

/* ═══════════════ SCROLL REVEAL ═══════════════ */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════ VERIFIED PRICES ═══════════════ */

.price.verified {
    color: var(--green);
    font-weight: 600;
    font-family: var(--mono);
}

.price.verified::before {
    content: '✓ ';
    color: var(--green);
    font-size: 11px;
}

.mat-calc {
    font-size: 13px;
    color: var(--text-muted);
    padding: 8px 12px;
    background: rgba(74, 222, 128, 0.05);
    border-radius: 8px;
    margin-top: 10px;
    border-left: 3px solid var(--green);
}

.mat-calc strong {
    color: var(--green);
    font-family: var(--mono);
}

a.link {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px dashed var(--accent);
    transition: opacity var(--fast);
}

a.link:hover {
    opacity: 0.7;
}

/* ═══════════════ SOURCE NOTES ═══════════════ */

.source-note {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 32px;
}

.source-note p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.source-note a {
    color: var(--accent);
    text-decoration: none;
}

.source-note em {
    color: var(--text);
}

.source-link a {
    color: var(--accent);
    text-decoration: none;
    font-size: 13px;
}

.source-link a:hover {
    text-decoration: underline;
}

.rate {
    font-size: 13px;
    font-family: var(--mono);
    color: var(--text-muted);
}

.profi-note {
    background: var(--accent-soft);
    border: 1px solid rgba(108, 140, 255, 0.2);
    border-radius: 14px;
    padding: 20px 24px;
    margin-top: 32px;
}

.profi-note p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.profi-note a {
    color: var(--accent);
    text-decoration: none;
}

.profi-note strong {
    color: var(--text);
}

/* ═══════════════ SCENARIOS ═══════════════ */

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.scenario-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    transition: all var(--med) var(--ease);
}

.scenario-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.budget-scenario { border-top: 3px solid var(--green); }
.mid-scenario { border-top: 3px solid var(--accent); }
.comfort-scenario { border-top: 3px solid var(--gold); }
.regional-scenario { border-top: 3px solid var(--orange); }
.scenario-header {
    text-align: center;
    margin-bottom: 20px;
}

.scenario-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 8px;
}

.scenario-header h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 4px;
}

.scenario-desc {
    font-size: 13px;
    color: var(--text-muted);
}

.scenario-items {
    flex: 1;
}

.sc-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 13px;
    color: var(--text-muted);
}

.sc-row span:last-child {
    font-family: var(--mono);
    font-weight: 500;
    color: var(--text);
}

.scenario-total {
    display: flex;
    justify-content: space-between;
    padding: 16px 0 8px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    margin-top: 12px;
    font-weight: 700;
    font-size: 15px;
}

.total-val {
    font-family: var(--mono);
    font-size: 20px;
    font-weight: 800;
}

.budget-scenario .total-val { color: var(--green); }
.mid-scenario .total-val { color: var(--accent); }
.comfort-scenario .total-val { color: var(--gold); }

.scenario-perm2 {
    text-align: center;
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 8px;
    font-family: var(--mono);
}

/* ═══════════════ CHAT QUOTES ═══════════════ */

.chat-quotes {
    margin-top: 48px;
}

.chat-quotes h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 24px;
    text-align: center;
}

.quotes-list {
    display: grid;
    gap: 16px;
}

.quotes-list blockquote {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: 12px;
    padding: 20px 24px;
}

.quotes-list blockquote p {
    font-size: 15px;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 8px;
}

.quotes-list cite {
    font-size: 12px;
    color: var(--text-dim);
    font-style: normal;
}

/* ═══════════════ USEFUL LINKS ═══════════════ */

.useful-links {
    margin-top: 48px;
}

.useful-links h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 24px;
    text-align: center;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.ulink {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    transition: all var(--med) var(--ease);
}

.ulink:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.ul-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.ul-name {
    font-weight: 700;
    color: var(--text);
    font-size: 15px;
}

.ul-desc {
    font-size: 12px;
    color: var(--text-muted);
}

.ulink > span:nth-child(2),
.ulink > span:nth-child(3) {
    display: block;
}

/* Hero quote */
.hero-quote {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px 24px;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-quote p {
    font-size: 14px;
    color: var(--text);
    margin-bottom: 4px;
}

.quote-src {
    font-size: 11px;
    color: var(--text-dim);
}

/* Materials links */
.mat-price a {
    color: var(--accent);
    text-decoration: none;
}

.mat-price a:hover {
    text-decoration: underline;
}

/* ═══════════════ RESPONSIVE (new) ═══════════════ */

@media (max-width: 900px) {
    .scenarios-grid {
        grid-template-columns: 1fr;
    }
    
    .budget-row {
        grid-template-columns: 1fr 1fr;
        font-size: 13px;
    }

    .budget-row .rate,
    .budget-row .work-vol,
    .budget-row.header span:nth-child(2),
    .budget-row.header span:nth-child(3) {
        display: none;
    }
}
