:root {
    --primary-color: #4a6ee0;
    --primary-light: #6a8aec;
    --primary-dark: #3a5bc7;
    --secondary-color: #8e6bc9;
    --accent-color: #ff7e5f;
    --accent-light: #ff9e87;
    --neutral-light: #f8f9fa;
    --neutral-medium: #e9ecef;
    --neutral-dark: #495057;
    --text-color: #333333;
    --text-light: #6c757d;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 6px 16px rgba(0, 0, 0, 0.12);
    --border-radius: 10px;
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', 'Roboto', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
header {
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    z-index: 100;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.3"/></svg>');
    background-size: 200px;
    opacity: 0.1;
    pointer-events: none;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    font-size: 2.5rem;
    background: rgba(255, 255, 255, 0.2);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.logo h1 {
    font-size: 2.2rem;
    margin-bottom: 5px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tagline {
    font-size: 1.2rem;
    max-width: 600px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.location-badge {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Контакты в шапке */
.header-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    pointer-events: auto !important;
}

.contact-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
    pointer-events: auto !important;
}

header a, header button, .contact-btn {
    pointer-events: auto !important;
    z-index: 10;
    position: relative;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

.contact-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contact-btn:active {
    transform: translateY(0);
}

.contact-btn.phone {
    background: rgba(52, 152, 219, 0.3);
    border-color: rgba(52, 152, 219, 0.5);
}

.contact-btn.max {
    background: rgba(138, 43, 226, 0.3);
    border-color: rgba(138, 43, 226, 0.5);
}

.contact-btn.telegram {
    background: rgba(0, 136, 204, 0.3);
    border-color: rgba(0, 136, 204, 0.5);
}

.consult-btn {
    background: linear-gradient(135deg, var(--accent-color) 0%, #f85a3a 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(255, 126, 95, 0.3);
    pointer-events: auto !important;
}

.consult-btn:hover {
    background: linear-gradient(135deg, #f85a3a 0%, #e04a2d 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 126, 95, 0.4);
}

/* Main App Container */
.app-container {
    display: grid;
    grid-template-columns: 300px 1fr 380px;
    gap: 25px;
    margin-bottom: 40px;
}

.panel {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.panel:hover {
    box-shadow: var(--shadow-hover);
}

.panel-header {
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.panel-header i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.panel-content {
    padding: 20px;
}

.tool-group {
    margin-bottom: 30px;
}

.tool-group h3 {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--neutral-medium);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.tool-group h3 i {
    margin-right: 8px;
    color: var(--secondary-color);
}

.tool-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.tool-btn {
    padding: 15px;
    background-color: var(--white);
    color: var(--text-color);
    border: 1px solid var(--neutral-medium);
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.tool-btn:hover {
    background-color: var(--neutral-light);
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.tool-btn.active {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 4px 8px rgba(74, 110, 224, 0.3);
}

.tool-btn i {
    font-size: 24px;
    margin-bottom: 8px;
}

/* Editor Panel */
.editor-panel {
    display: flex;
    flex-direction: column;
    min-height: 950px;
}

/* Toolbar - ТРИ СТРОКИ */
.editor-toolbar {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--neutral-medium);
}

.toolbar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.toolbar-full-width {
    width: 100%;
    height: 48px;
    font-size: 16px;
    font-weight: 600;
}

.toolbar-controls {
    justify-content: flex-end;
    flex-wrap: wrap;
}

/* Toolbar Buttons (Undo/Redo/Save/Load/Zoom) */
.toolbar-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: white;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
    flex-shrink: 0;
}

.toolbar-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(74, 110, 224, 0.3);
}

.toolbar-btn:disabled {
    background: var(--neutral-medium);
    color: var(--text-light);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.toolbar-divider {
    width: 1px;
    height: 42px;
    background: var(--neutral-medium);
    margin: 0 5px;
    flex-shrink: 0;
}

.zoom-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--neutral-light);
    padding: 5px 10px;
    border-radius: 8px;
    flex-shrink: 0;
}

.zoom-controls .toolbar-btn {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
}

.zoom-controls .toolbar-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

#zoomLevel {
    font-weight: 600;
    color: var(--text-color);
    min-width: 50px;
    text-align: center;
    font-size: 14px;
}

.editor-container {
    flex: 1;
    border: 1px solid var(--neutral-medium);
    border-radius: 8px;
    background-color: var(--white);
    position: relative;
    overflow: auto;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    min-height: 850px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#editorCanvas {
    display: block;
    cursor: default;
}

.canvas-not-supported {
    color: var(--danger-color);
    font-size: 1.2rem;
    text-align: center;
    padding: 20px;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    font-size: 13px;
    color: var(--text-light);
    background: var(--neutral-light);
    padding: 10px 15px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--neutral-dark);
}

input, select, textarea, button {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--neutral-medium);
    border-radius: 8px;
    font-size: 15px;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 110, 224, 0.1);
}

button {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

button:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(74, 110, 224, 0.3);
}

button:disabled {
    background: var(--neutral-medium);
    color: var(--text-light);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-danger {
    background: linear-gradient(135deg, #ff7e5f 0%, #f85a3a 100%);
}

.btn-danger:hover:not(:disabled) {
    background: linear-gradient(135deg, #f85a3a 0%, #e04a2d 100%);
}

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
}

.btn-success:hover:not(:disabled) {
    background: linear-gradient(135deg, #1e7e34 0%, #145523 100%);
}

.element-list {
    margin-top: 10px;
    max-height: 220px;
    overflow-y: auto;
    border: 1px solid var(--neutral-medium);
    border-radius: 8px;
}

.element-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid var(--neutral-medium);
    cursor: pointer;
    transition: var(--transition);
}

.element-item:hover {
    background-color: var(--neutral-light);
}

.element-item:last-child {
    border-bottom: none;
}

.element-item.selected {
    background-color: rgba(74, 110, 224, 0.1);
    border-left: 4px solid var(--primary-color);
}

.delete-btn {
    background: var(--danger-color);
    width: auto;
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 6px;
}

.summary {
    margin-top: 20px;
    padding: 20px;
    background-color: var(--neutral-light);
    border-radius: 8px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.total {
    font-weight: bold;
    font-size: 1.1rem;
    border-top: 1px solid var(--neutral-medium);
    padding-top: 12px;
    margin-top: 12px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 8px;
    transition: var(--transition);
}

.checkbox-item:hover {
    background-color: var(--neutral-light);
}

.checkbox-item input[type="checkbox"] {
    width: auto;
    transform: scale(1.2);
}

.checkbox-item label {
    margin-bottom: 0;
    font-weight: normal;
    cursor: pointer;
}

.work-indicators {
    display: flex;
    gap: 4px;
    align-items: center;
}

.work-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.slopes-indicator {
    width: 10px;
    height: 10px;
    border-radius: 2px;
    display: inline-block;
}

/* Receipt Styles */
.receipt-container {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 0;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--neutral-medium);
    overflow: hidden;
}

.receipt-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    padding: 25px;
    text-align: center;
}

.receipt-content {
    padding: 25px;
    font-family: 'Courier New', monospace;
}

.receipt-work-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.receipt-work-details {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.receipt-work-name {
    flex: 2;
    text-align: left;
}

.receipt-work-calculation {
    flex: 2;
    text-align: center;
}

.receipt-work-cost {
    flex: 1;
    text-align: right;
}

.receipt-divider {
    border-bottom: 1px dashed #ddd;
    margin-bottom: 10px;
}

.receipt-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px dashed var(--neutral-medium);
}

.receipt-section:last-child {
    border-bottom: none;
}

.receipt-section-header {
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    padding: 12px;
    background-color: var(--neutral-light);
    border-radius: 8px;
}

.receipt-room-header {
    font-weight: bold;
    margin-bottom: 15px;
    padding: 12px;
    background-color: rgba(74, 110, 224, 0.1);
    border-radius: 8px;
    text-align: center;
}

.receipt-subtotal {
    font-weight: bold;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px dashed var(--neutral-medium);
}

.receipt-total {
    font-weight: bold;
    font-size: 1.3rem;
    text-align: center;
    margin-top: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 10px;
    border: 2px dashed #4caf50;
}

.receipt-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px dashed var(--neutral-medium);
    font-size: 0.9em;
    color: var(--text-light);
}

.receipt-actions {
    padding: 20px;
    background-color: var(--neutral-light);
    border-top: 1px solid var(--neutral-medium);
}

.sharing-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-max {
    background: linear-gradient(135deg, #8a2be2 0%, #6a1cb9 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    flex: 1;
    min-width: 200px;
    justify-content: center;
}

.btn-max:hover {
    background: linear-gradient(135deg, #6a1cb9 0%, #551694 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(138, 43, 226, 0.3);
}

.btn-copy {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    flex: 1;
    min-width: 200px;
    justify-content: center;
}

.btn-copy:hover {
    background: linear-gradient(135deg, #495057 0%, #343a40 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(108, 117, 125, 0.3);
}

.btn-print {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    flex: 1;
    min-width: 200px;
    justify-content: center;
}

.btn-print:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #2a4bb5 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(74, 110, 224, 0.3);
}

.feedback-section {
    text-align: center;
    margin: 40px 0;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--border-radius);
    border: 1px solid var(--neutral-medium);
    box-shadow: var(--shadow);
}

.btn-feedback {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    padding: 16px 28px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(74, 110, 224, 0.25);
    margin-bottom: 15px;
}

.btn-feedback:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #2a4bb5 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(74, 110, 224, 0.35);
}

.feedback-note {
    font-size: 0.95rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
    font-style: italic;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 2% auto;
    padding: 0;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    padding: 25px;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    position: relative;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    width: auto;
    padding: 5px 10px;
}

.close-modal:hover {
    color: var(--accent-light);
    background: none;
    transform: none;
    box-shadow: none;
}

.modal-body {
    padding: 30px;
}

.info-notice {
    background: #e7f3ff;
    border-left: 4px solid var(--primary-color);
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 4px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.info-notice i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 2px;
}

.info-notice p {
    margin: 0;
    color: var(--neutral-dark);
    font-size: 0.95rem;
}

.form-actions {
    margin-top: 30px;
    text-align: center;
}

.btn-submit {
    background: linear-gradient(135deg, #00b894 0%, #00a085 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 184, 148, 0.3);
}

.btn-submit:hover:not(:disabled) {
    background: linear-gradient(135deg, #00a085 0%, #008b74 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 184, 148, 0.4);
}

/* Notification */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--success-color);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition);
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #2a4bb5 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Print Styles */
@media print {
    /* Скрываем всё по умолчанию */
    body * {
        visibility: hidden;
    }
    /* Показываем только шапку, смету и секцию обратной связи */
    header, .receipt-container, .feedback-section,
    header *, .receipt-container *, .feedback-section * {
        visibility: visible;
    }
    /* Скрываем ненужные элементы интерфейса */
    .app-container, .panel, canvas, .toolbar, .controls, .modal, .notification,
    .receipt-actions, .sharing-buttons, .btn-max, .btn-copy, .btn-print, .btn-feedback,
    #loadProjectInput, #scrollToTopBtn {
        display: none !important;
    }
    /* Естественное позиционирование */
    header, .receipt-container, .feedback-section {
        position: static;
        margin: 0;
        padding: 10px;
        background: white !important;
        color: black !important;
        box-shadow: none;
        border: none;
    }
    .receipt-content {
        font-size: 10pt;
        line-height: 1.4;
    }
    body {
        background: white;
        color: black;
        margin: 0;
        padding: 10mm;
    }
    @page {
        margin: 1.5cm;
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    .header-contacts {
        align-items: center;
        width: 100%;
    }
    .contact-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .contact-buttons {
        flex-direction: column;
        width: 100%;
    }
    .contact-btn {
        justify-content: center;
    }
    .logo h1 {
        font-size: 1.8rem;
    }
    .tagline {
        font-size: 1rem;
    }
}