:root {
    --bg: #f6fbfc;
    --card: #ffffff;
    --accent: #0b98a4;
    --accent-2: #06425c;
    --muted: #5b6b72;
    --radius: 12px;
    --maxw: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    font-family: Inter, system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    background: #7EA3CC !important;
    color: var(--accent-2);
}

/* Container */
.container {
    max-width: var(--maxw);
    margin: 30px auto;
    padding: 0 20px;
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand__logo {
    width: 150px;
    height: 68px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(11, 152, 164, 0.12);
}

.brand__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand__title h1 {
    font-size: 20px;
    letter-spacing: 0.2px;
}

.brand__subtitle {
    font-size: 13px;
    color: var(--muted);
}

.nav {
    display: flex;
    gap: 12px;
    align-items: center;
}

.nav a {
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--accent-2);
    font-weight: 600;
}

.nav a.btn {
    background: var(--accent);
    color: #fff;
}

/* Hero */
.hero {
    display: flex;
    gap: 20px;
    align-items: center;
    background: linear-gradient(90deg, #ffffff, #f0fbfa);
    padding: 26px;
    border-radius: var(--radius);
    box-shadow: 0 12px 40px rgba(6, 54, 65, 0.05);
}

.hero__left {
    flex: 1;
}

.hero__title {
    font-size: 28px;
    margin-bottom: 8px;
}

.hero__lead {
    color: var(--muted);
    margin-bottom: 12px;
}

.hero__cta {
    display: flex;
    gap: 10px;
}

.hero__img {
    width: 220px;
    height: 140px;
    border-radius: 10px;
    overflow: hidden;
}

.hero__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Grid / Cards */
.filters {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 18px;
}

.input, select, button {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #e6f3f3;
}

.button {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 10px 14px;
    border-radius: 10px;
}

.grid {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

.card {
    background: var(--card);
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #eef6f6;
    box-shadow: 0 10px 30px rgba(6, 54, 65, 0.04);
}

/* Card Images */
.card img {
    width: 100%;
    height: 600px; /* desktop default height */
    object-fit: cover; /* desktop cover */
    border-radius: 8px;
}

.card h3 {
    margin-top: 8px;
    font-size: 16px;
}

.card .meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

/* Modal */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(3, 25, 31, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 120;
}

.modal {
    width: 920px;
    max-width: 96%;
    background: var(--card);
    border-radius: 14px;
    padding: 18px;
}

.modal .row {
    display: flex;
    gap: 12px;
}

.modal img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 8px;
}

.form-row {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.form-row input, textarea {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #e9f2f2;
}

.whatsapp-btn {
    background: #25D366;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
}

/* Service / Info Pages */
.card--panel {
    padding: 18px;
    border-radius: 12px;
    background: linear-gradient(180deg, #fff, #f7fbfa);
    box-shadow: 0 12px 28px rgba(6, 54, 65, 0.04);
}

.info-list {
    list-style: none;
    padding-left: 0;
}

.info-list li {
    margin: 8px 0;
    color: var(--muted);
}

/* Footer */
.footer {
    width: 100%;
    margin: 0;
    padding: 40px 40px;
    background: #052C46;
    color: #E8F4FF;
    border-radius: 0;
    border-top: none;
}

/* Utilities */
.flex {
    display: flex;
    align-items: center;
}

.center {
    text-align: center;
}

.small {
    font-size: 13px;
    color: var(--muted);
}

.mt-12 {
    margin-top: 12px;
}

/* Service Cards */
.service-hero {
    padding: 22px;
    border-radius: 14px;
    background: linear-gradient(90deg, #e9fbfb, #ffffff);
    box-shadow: 0 18px 50px rgba(6, 54, 65, 0.06);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.service-card {
    background: #fff;
    padding: 18px;
    border-radius: 12px;
    border: 1px solid #eef6f6;
}

.service-card h4 {
    margin-bottom: 8px;
}

.service-card p {
    color: var(--muted);
}

/* Form Focus */
.input, textarea, select {
    outline: none;
}

.input:focus, textarea:focus, select:focus {
    box-shadow: 0 6px 18px rgba(11, 152, 164, 0.08);
    border-color: var(--accent);
}

/* ======================================
          RESPONSIVE FIXES (Safe No Crop)
====================================== */

/* Desktop */
@media (min-width: 901px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: var(--maxw);
        margin: 0 auto;
    }

    .card img {
        height: 600px; /* full desktop height */
        object-fit: cover;
    }
}

/* Tablet / Small Screens */
@media (max-width: 900px) {
    .grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .card img {
        height: auto;
        width: 100%;
        aspect-ratio: 4/3;  /* maintain ratio, no crop */
        object-fit: contain;
    }

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero__left {
        width: 100%;
    }

    .hero__img {
        width: 100%;
        height: auto;
        margin-top: 16px;
    }
}

/* Mobile Screens */
@media (max-width: 520px) {
    .grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .card img {
        height: auto;
        width: 100%;
        aspect-ratio: 4/3;
        object-fit: contain;
    }

    .service-cards {
        grid-template-columns: 1fr;
    }

    .hero__title { font-size: 22px; }
    .hero__lead { font-size: 14px; }
    .hero__cta {
        flex-direction: column;
        gap: 10px;
        justify-content: center;
    }

    .nav {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }
}
