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

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #1e2a3e;
    line-height: 1.5;
}

/* === Container === */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 28px;
    font-weight: 600;
    border-radius: 40px;
    text-decoration: none;
    transition: 0.25s ease;
    cursor: pointer;
    border: none;
    font-size: 14px;
}

.btn-primary {
    background: #1a5f9e;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    padding: 10px 28px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 14px;
    transition: 0.25s ease;
}

.btn-primary:hover {
    background: #0e4572;
    transform: translateY(-2px);
}

/* === Section titles === */
.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-sub {
    text-align: center;
    color: #5e6f8d;
    max-width: 700px;
    margin: 0 auto 20px;
}

/* === Product grid & card (shared) === */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 20px;
}
.product-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
    border: 1px solid #edf2f7;
    text-align: center;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.1);
}
.product-img {
    height: 200px;
    background: #fafcfd;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.product-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}
.product-info {
    padding: 16px;
}
.product-info h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 500;
}
.product-info h3 a {
    color: #1e2a3e;
    text-decoration: none;
}
.product-desc {
    font-size: 0.85rem;
    color: #5b7a9a;
}

/* === Form styles (shared) === */
.page-section {
    padding: 28px 0;
}
.inquiry-section {
    background: linear-gradient(125deg, #f0f7ff 0%, #ffffff 100%);
}
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: space-between;
}
.contact-info {
    flex: 1;
    min-width: 260px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.contact-icon {
    width: 44px;
    height: 44px;
    background: #eef2ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a5f9e;
    font-size: 18px;
}
.contact-text h4 {
    font-weight: 700;
    margin-bottom: 4px;
}
.contact-text p,
.contact-text a {
    color: #2c3e50;
    text-decoration: none;
}
.contact-text a:hover {
    color: #1a5f9e;
}
.form-card {
    flex: 1.5;
    max-width: 900px;
    margin: 0 auto;
    background: #f8fafd;
    border-radius: 28px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}
.inquiry-card {
    background: white;
    border-radius: 32px;
    padding: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}
.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}
.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}
label {
    font-weight: 500;
    font-size: 14px;
}
input, select, textarea {
    padding: 12px 16px;
    border: 1px solid #cfdfed;
    border-radius: 28px;
    font-family: inherit;
    font-size: 14px;
    width: 100%;
}
textarea {
    resize: vertical;
}
.form-message {
    padding: 12px;
    border-radius: 24px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
}
.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* === Footer - global === */
.footer {
    background: #0a2240;
    color: #a8c4dc;
    padding: 38px 0;
    text-align: center;
    margin-top: 16px;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.footer-links a {
    color: #cbd5e6;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}
.footer-links a:hover,
.footer-links a.active {
    color: white;
}
.footer p {
    font-size: 13px;
}

/* === Responsive - common === */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .product-img {
        height: 160px;
        padding: 12px;
    }
    .product-info h3 {
        font-size: 0.9rem;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .section-sub {
        margin-bottom: 20px;
    }
    .contact-grid {
        flex-direction: column;
        gap: 20px;
    }
    .contact-info, .form-card {
        flex: auto;
        width: 100%;
    }
    .form-card, .inquiry-card {
        padding: 16px;
        border-radius: 20px;
    }
    .form-row {
        flex-direction: column;
        gap: 12px;
    }
    .form-group {
        margin-bottom: 14px;
        gap: 6px;
    }
    input, select, textarea {
        font-size: 16px;
        padding: 10px 14px;
    }
    .contact-item {
        margin-bottom: 18px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    .product-grid {
        gap: 12px;
    }
    .product-img {
        height: 130px;
    }
    .form-card, .inquiry-card {
        padding: 14px;
    }
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .contact-text h4 {
        font-size: 0.95rem;
    }
}
