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

body {
    font-family: Arial, sans-serif;
    color: #0f2747;
    background: #f5f7fa;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

header {
    background: #fff;
    border-bottom: 1px solid #ddd;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    height: 40px;
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #0f2747;
    font-weight: bold;
}

.hero {
    background: linear-gradient(135deg, #0f2747, #1f4f82);
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 40px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.btn {
    background: #f39c12;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.services {
    padding: 60px 0;
    text-align: center;
}

.services h2 {
    margin-bottom: 40px;
    font-size: 28px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.card h3 {
    margin-bottom: 15px;
}

.contact {
    background: #fff;
    padding: 60px 0;
    text-align: center;
}

.contact a {
    color: #f39c12;
    text-decoration: none;
}

.contact-sub {
    color: #555;
    margin-bottom: 36px;
    font-size: 16px;
}

.contact-form {
    max-width: 620px;
    margin: 0 auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 14px;
    font-weight: bold;
    color: #0f2747;
}

.form-group input,
.form-group textarea {
    padding: 10px 14px;
    border: 1px solid #ccd3de;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    color: #0f2747;
    background: #f5f7fa;
    transition: border-color 0.2s, box-shadow 0.2s;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f39c12;
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.18);
}

.contact-btn {
    align-self: flex-end;
    border: none;
    cursor: pointer;
    font-size: 15px;
}

.form-status-success,
.form-status-error {
    margin: 0;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 15px;
}

.form-status-success {
    background: #eaf6ec;
    color: #2d7a3a;
    border: 1px solid #b5debb;
}

.form-status-error {
    background: #fdecea;
    color: #b71c1c;
    border: 1px solid #f5c6c6;
}

@media (max-width: 560px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    .contact-btn {
        align-self: stretch;
        text-align: center;
    }
}

/* ── Products carousel ── */

.products {
    padding: 60px 0;
    text-align: center;
    background: #eef2f8;
}

.products h2 {
    margin-bottom: 40px;
    font-size: 28px;
}

.carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.carousel-viewport {
    overflow: hidden;
    flex: 1;
}

.carousel-track {
    display: flex;
    gap: 20px;
    width: 100%;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.product-card {
    flex: 0 0 calc((100% - 40px) / 3);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.09);
    overflow: hidden;
    text-align: left;
}

.product-img-wrap {
    height: 220px;
    overflow: hidden;
    background: #dde4f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* SilentMiles 2×2 mosaic */
.silentmiles-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 3px;
    background: #0f2747;
    padding: 0;
}

.silentmiles-wrap img {
    object-fit: cover;
}

.product-info {
    padding: 16px 20px;
}

.product-info h3 {
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #0f2747;
}

.product-info p {
    font-size: 14px;
    color: #666;
}

.carousel-btn {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: #0f2747;
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.15s;
}

.carousel-btn:hover:not(:disabled) {
    background: #f39c12;
    transform: scale(1.08);
}

.carousel-btn:disabled {
    opacity: 0.22;
    cursor: default;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #b0bbc9;
    cursor: pointer;
    border: none;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.dot.active {
    background: #0f2747;
    transform: scale(1.4);
}

@media (max-width: 768px) {
    .product-card {
        flex: 0 0 calc((100% - 20px) / 2);
    }
}

@media (max-width: 500px) {
    .product-card {
        flex: 0 0 100%;
    }
    .carousel-btn {
        width: 34px;
        height: 34px;
        font-size: 22px;
    }
}

/* ── Footer ── */

footer {
    background: #0f2747;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}