/* Premium Kiev Climate Corporate Style */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --bg-main: #ffffff;
    --bg-soft: #f8fafc;
    --txt-navy: #0f172a;
    --txt-muted: #475569;
    --brand-blue: #0284c7;
    --brand-blue-hover: #0369a1;
    --brand-green: #16a34a;
    --border-color: #e2e8f0;
    --radius-md: 8px;
    --radius-lg: 16px;
}

body {
    background-color: var(--bg-main);
    color: var(--txt-navy);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Навігація */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--txt-navy);
    letter-spacing: -0.5px;
}
.logo span { color: var(--brand-blue); }

.phone-link {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--txt-navy);
    text-decoration: none;
    transition: color 0.2s;
}
.phone-link:hover { color: var(--brand-blue); }

/* Секції */
section { 
    padding: 5rem 1.5rem; 
    border-bottom: 1px solid var(--border-color);
}
.section-alt { background-color: var(--bg-soft); }
.container { max-width: 1200px; margin: 0 auto; }

.section-head {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4.5rem auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -1.2px;
    line-height: 1.2;
    margin-bottom: 0.8rem;
}

.section-subtitle {
    color: var(--txt-muted);
    font-size: 1.1rem;
}

/* Головний екран */
.hero {
    background: linear-gradient(180deg, #f0fdf4 0%, var(--bg-main) 100%);
    padding: 7rem 1.5rem;
    text-align: center;
}

.hero-tag {
    background: #dcfce7;
    color: #166534;
    padding: 0.4rem 1.2rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--txt-muted);
    max-width: 750px;
    margin: 0 auto 2.5rem auto;
}

.btn-main {
    background: var(--brand-blue);
    color: white;
    padding: 1.2rem 2.6rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background 0.15s;
    width: 100%;
}
.btn-main:hover { background: var(--brand-blue-hover); }

/* Картки переваг та проблем (Сітка) */
.grid-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.card-item {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.01);
}
.card-item h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 0.6rem; }
.card-item p { color: var(--txt-muted); font-size: 1rem; }
.card-item .tag { color: var(--brand-blue); font-weight: 700; font-size: 0.85rem; margin-bottom: 0.5rem; display: block; text-transform: uppercase; }

/* Інженерний Прайс-лист */
.table-container {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
}

.price-table th {
    background: var(--bg-soft);
    color: var(--txt-muted);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 1.2rem 1.5rem;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border-color);
}

.price-table td {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 1rem;
}

.price-table tr:last-child td { border-bottom: none; }
.price-table tr:hover td { background: var(--bg-soft); }

.work-name { font-weight: 700; display: block; }
.work-desc { font-size: 0.85rem; color: var(--txt-muted); display: block; margin-top: 0.2rem; }
.work-price { font-weight: 900; color: var(--brand-blue); font-size: 1.1rem; text-align: right; }

/* Фотогалерея робіт */
.photo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.photo-card {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.photo-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.photo-info { padding: 1.5rem; }
.photo-info h4 { font-size: 1.2rem; font-weight: 800; margin-bottom: 0.4rem; }
.photo-info p { font-size: 0.9rem; color: var(--txt-muted); }

/* Калькулятор по моделях / BTU */
.calc-wrapper {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 700px;
    margin: 0 auto;
}

.select-group { margin-bottom: 1.5rem; }
.select-group label { display: block; font-size: 0.9rem; font-weight: 700; margin-bottom: 0.5rem; text-transform: uppercase; color: var(--txt-muted); }
.calc-wrapper select {
    width: 100%; padding: 1.1rem; border-radius: var(--radius-md); border: 1px solid var(--border-color); font-size: 1rem; font-weight: 600; background: var(--bg-soft); color: var(--txt-navy); -webkit-appearance: none;
}

.screen-box {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    padding: 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    margin-top: 2rem;
}
.screen-price { font-size: 3rem; font-weight: 900; color: var(--brand-blue); }

/* Повноцінний підвал з контактами */
.contacts-section {
    background: var(--bg-main);
    padding: 5rem 1.5rem;
}

.contacts-layout {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.info-side h3, .form-side h3 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.line-item { margin-bottom: 1.5rem; }
.line-item label { display: block; font-size: 0.8rem; color: var(--txt-muted); text-transform: uppercase; margin-bottom: 0.3rem; font-weight: 700; }
.line-item p, .line-item a { font-size: 1.2rem; font-weight: 700; color: var(--txt-navy); text-decoration: none; }
.line-item a:hover { color: var(--brand-blue); }

.form-side {
    background: var(--bg-soft);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.form-side input {
    width: 100%; padding: 1.1rem; border-radius: var(--radius-md); border: 1px solid var(--border-color); margin-bottom: 1.2rem; font-size: 1rem; background: var(--bg-main);
}
.form-side input:focus { border-color: var(--brand-blue); outline: none; }

.btn-green {
    background: var(--brand-green); color: white; width: 100%; padding: 1.1rem; font-size: 1.1rem; font-weight: 700; border-radius: var(--radius-md); border: none; cursor: pointer; transition: background 0.15s;
}
.btn-green:hover { background: #15803d; }

footer {
    background: var(--txt-navy);
    color: #94a3b8;
    padding: 3rem 1.5rem;
    text-align: center;
    font-size: 0.85rem;
}

/* 💻 Адаптація під екрани комп'ютерів */
@media (min-width: 768px) {
    .hero h1 { font-size: 4rem; max-width: 900px; }
    .btn-main { width: auto; }
    .grid-layout.cols-3 { grid-template-columns: repeat(3, 1fr); }
    .photo-grid { grid-template-columns: 1fr 1fr; }
    .contacts-layout { grid-template-columns: 1.1fr 0.9fr; display: grid; }
}
