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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 30%, #f1f8ff 70%, #f8f9fa 100%);
    background-attachment: fixed;
    padding: 12px;
    min-height: 100vh;
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

.logo-container {
    text-align: center;
    margin-bottom: 10px;
}

.logo {
    max-width: 150px;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: clamp(29px, 8vw, 37px);
}

.form-card {
    background: white;
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: clamp(11px, 3.5vw, 30px);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="datetime-local"],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: clamp(11px, 3.5vw, 30px);
    font-family: inherit;
    transition: border-color 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #3498db;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.checkbox-group:hover {
    background: #e9ecef;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    cursor: pointer;
    flex-shrink: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 2px solid #3498db;
    border-radius: 4px;
    position: relative;
    background: white;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.checkbox-group input[type="checkbox"]:checked {
    background: #3498db;
    border-color: #3498db;
}

.checkbox-group input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
}

.checkbox-label {
    flex: 1;
    font-weight: 500;
    color: #2c3e50;
    cursor: pointer;
}

.checkbox-price {
    font-weight: 600;
    color: #27ae60;
    margin-left: 10px;
}

.counter-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 15px;
}

.counter-label {
    flex: 1;
    font-weight: 500;
    color: #2c3e50;
    font-size: clamp(11px, 3.5vw, 30px);
    margin-bottom: 12px;
}

.counter-controls {
    display: flex;
    align-items: center;
    gap: 18px;
}

.counter-btn {
    width: 30px;
    height: 30px;
    border: 2px solid #3498db;
    background: white;
    color: #3498db;
    border-radius: 50%;
    font-size: clamp(11px, 3.5vw, 30px);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.counter-btn:hover {
    background: #3498db;
    color: white;
}

.counter-btn:active {
    transform: scale(0.95);
}

.counter-value {
    min-width: 20px;
    text-align: center;
    font-weight: 600;
    font-size: clamp(14px, 3.5vw, 18px);
    color: #2c3e50;
}

.counter-total {
    font-weight: 600;
    color: #27ae60;
    margin-left: 12px;
    min-width: 10px;
    text-align: right;
}

.price-summary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 16px;
    padding: 25px;
    margin-top: 30px;
    margin-bottom: 20px;
}

.price-summary h3 {
    margin-bottom: 20px;
    font-size: clamp(18px, 3.5vw, 24px);
}

.price-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.price-line:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.total-line {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    font-size: clamp(18px, 3.5vw, 24px);
    font-weight: bold;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.success-message {
    display: none;
    background: #d4edda;
    border: 2px solid #c3e6cb;
    color: #155724;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    font-size: 1.1em;
    font-weight: 500;
    margin-top: 20px;
}

.success-message.show {
    display: block;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    font-size: clamp(14px, 5vw, 30px);
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

@media (min-width: 768px) {
    .form-card {
        padding: 40px;
    }

    /*h1 {
        font-size: 2.5em;
    }*/

    .logo {
        max-width: 180px;
    }

    .price-summary {
        position: sticky;
        top: 20px;
    }
}