:root {
    --navy: #092c57;
    --blue: #0d4c8f;
    --gold: #d7a83e;
    --red: #c92525;
    --ink: #142238;
    --muted: #65748a;
    --bg: #f6f8fb;
    --white: #ffffff;
    --line: #e5eaf0;
    --shadow: 0 18px 45px rgba(8, 37, 72, 0.10);
}

* {
    box-sizing: border-box;
}

/* =========================
   GLOBAL IMAGE SAFETY
   Prevent logos/content images from overflowing the page
   ========================= */

img {
    max-width: 100%;
    height: auto;
    display: block;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}


html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "DM Sans", sans-serif;
    color: var(--ink);
    background: #ffffff;
    line-height: 1.65;
}

.container {
    width: min(1160px, 92%);
    margin: auto;
}

/* =========================
   TYPOGRAPHY
   ========================= */

h1,
h2,
h3,
h4 {
    font-family: "Plus Jakarta Sans", sans-serif;
    line-height: 1.15;
    margin: 0 0 16px;
}

h1 {
    font-size: clamp(38px, 5.3vw, 68px);
}

h2 {
    font-size: clamp(28px, 3.6vw, 44px);
}

h3 {
    font-size: 22px;
}

p {
    color: var(--muted);
    margin: 0 0 16px;
}

/* =========================
   HEADER / NAVIGATION
   ========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.nav-wrap {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--navy);
    flex-shrink: 0;
}

.brand img {
    width: 200px;
    max-width: 200px;
    height: 58px;
    max-height: 58px;
    object-fit: contain;
    object-position: left center;
    display: block;
}

/*
   Kept for compatibility with the old header.
   It will no longer be visible when the logo image is used.
*/
.brand-mark {
    display: none;
}

.brand strong {
    display: block;
    font-family: "Plus Jakarta Sans";
    font-size: 17px;
}

.brand small {
    display: block;
    font-size: 10px;
    color: var(--muted);
    font-weight: 600;
}

.nav {
    display: flex;
    align-items: center;
    gap: 23px;
}

.nav a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s ease;
}

.nav a:hover {
    color: var(--blue);
}

.nav-cta {
    background: var(--navy) !important;
    color: #fff !important;
    padding: 11px 16px;
    border-radius: 9px;
}

.nav-cta:hover {
    background: var(--gold) !important;
    color: var(--ink) !important;
}

.menu-btn {
    display: none;
    border: 0;
    background: none;
    font-size: 25px;
    cursor: pointer;
    color: var(--navy);
}

/* =========================
   HERO
   ========================= */

.hero {
    background:
        radial-gradient(circle at 90% 10%, rgba(215, 168, 62, 0.24), transparent 30%),
        linear-gradient(115deg, #06244a 0%, #0d4c8f 65%, #0c3869 100%);
    color: #fff;
    padding: 90px 0 70px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 55px;
    align-items: center;
}

.hero h1 {
    max-width: 730px;
}

.hero p {
    color: #dce8f5;
    font-size: 18px;
    max-width: 650px;
}

.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1.7px;
    font-size: 12px;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 16px;
}

.buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 20px;
    border-radius: 9px;
    text-decoration: none;
    font-weight: 800;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: #fff;
    color: var(--navy);
}

.btn-gold {
    background: var(--gold);
    color: #142238;
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
}

.hero-card {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.hero-card img,
.visual {
    width: 100%;
    height: 330px;
    object-fit: cover;
    border-radius: 17px;
    background: linear-gradient(135deg, #e8f0f8, #cdd9e8);
}

/* =========================
   PAGE / CONTENT LOGOS
   ========================= */

.page-logo {
    width: min(420px, 100%);
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin: 0 auto 25px;
}

.about-logo,
.company-logo,
.content-logo {
    max-width: min(420px, 100%);
    height: auto;
    object-fit: contain;
}

/* =========================
   SECTIONS
   ========================= */

.section {
    padding: 80px 0;
}

.section.alt {
    background: var(--bg);
}

.section-head {
    max-width: 720px;
    margin-bottom: 36px;
}

.section-head.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* =========================
   CARDS / SERVICES
   ========================= */

.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

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

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 8px 24px rgba(9, 44, 87, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.service-card {
    min-height: 230px;
}

.icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: #e9f2fb;
    color: var(--blue);
    display: grid;
    place-items: center;
    font-size: 23px;
    margin-bottom: 20px;
}

.card a {
    color: var(--blue);
    font-weight: 800;
    text-decoration: none;
}

/* =========================
   CORE VALUES
   ========================= */

.values {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.value {
    padding: 20px;
    background: #fff;
    border-radius: 15px;
    border: 1px solid var(--line);
    text-align: center;
}

.value b {
    display: block;
    margin-bottom: 5px;
}

/* =========================
   PRODUCTS
   ========================= */

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product {
    border: 1px solid var(--line);
    border-radius: 17px;
    overflow: hidden;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.product-img {
    height: 190px;
    background: linear-gradient(135deg, #eaf1f8, #d4e0ed);
    display: grid;
    place-items: center;
    color: #59708a;
    font-weight: 800;
}

.product-body {
    padding: 20px;
}

.tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    color: var(--blue);
    background: #edf5fc;
    border-radius: 30px;
    padding: 5px 9px;
    margin-bottom: 9px;
}

/* =========================
   QUOTE / FORMS
   ========================= */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.quote-box {
    background: var(--navy);
    color: #fff;
    border-radius: 22px;
    padding: 35px;
}

.quote-box p {
    color: #d7e3f1;
}

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

.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.field.full {
    grid-column: 1 / -1;
}

.field label {
    font-weight: 700;
    font-size: 13px;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid #d7dee7;
    border-radius: 9px;
    font: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(13, 76, 143, 0.10);
}

.field textarea {
    min-height: 130px;
    resize: vertical;
}

.form-card {
    background: #fff;
    border: 1px solid var(--line);
    padding: 28px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* =========================
   PAGE HERO
   ========================= */

.page-hero {
    padding: 65px 0;
    background: linear-gradient(110deg, #082e5a, #0d4c8f);
    color: #fff;
}

.page-hero p {
    color: #dbe8f5;
    max-width: 680px;
}

.page-hero h1 {
    font-size: 48px;
}

/* =========================
   TESTIMONIALS
   ========================= */

.testimonial {
    padding: 25px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
}

.testimonial strong {
    display: block;
    margin-top: 15px;
}

/* =========================
   FOOTER
   ========================= */

.footer {
    background: #071d37;
    color: #cbd8e6;
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 35px;
    padding-bottom: 45px;
}

.footer h4 {
    color: #fff;
}

.footer a {
    display: block;
    color: #cbd8e6;
    text-decoration: none;
    margin: 7px 0;
}

.footer-brand strong {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px;
    text-align: center;
    font-size: 13px;
}

/* =========================
   WHATSAPP
   ========================= */

.wa-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #20b958;
    color: #fff;
    text-decoration: none;
    padding: 13px 17px;
    border-radius: 50px;
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 60;
}

/* =========================
   NOTICES
   ========================= */

.notice {
    padding: 12px 16px;
    border-radius: 9px;
    background: #eaf8ef;
    color: #12642d;
    margin-bottom: 18px;
}

.error {
    background: #fff0f0;
    color: #8c2020;
}

/* =========================
   ADMIN
   ========================= */

.admin-wrap {
    min-height: 100vh;
    background: var(--bg);
    padding: 35px 0;
}

.admin-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 25px;
}

.admin-side,
.admin-main {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px;
}

.admin-side a {
    display: block;
    text-decoration: none;
    color: var(--ink);
    padding: 10px;
    border-radius: 8px;
}

.admin-side a:hover {
    background: var(--bg);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}

.btn-sm {
    padding: 7px 10px;
    border-radius: 7px;
    font-size: 12px;
}

.danger {
    background: #ffe8e8;
    color: #9a2020;
}

.pill {
    padding: 4px 8px;
    border-radius: 20px;
    background: #edf5fc;
    font-size: 11px;
    font-weight: 800;
}

/* =========================
   TABLET
   ========================= */

@media (max-width: 900px) {

    .nav {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .menu-open .nav {
        display: flex;
        position: absolute;
        top: 88px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px;
        flex-direction: column;
        align-items: stretch;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
    }

    .hero-grid,
    .split,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cards-3,
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 600px) {

    .nav-wrap {
        min-height: 76px;
    }

    .brand img {
        width: 160px;
        max-width: 160px;
        height: 52px;
        max-height: 52px;
        object-fit: contain;
        object-position: left center;
    }

    .menu-open .nav {
        top: 76px;
    }

    .section {
        padding: 58px 0;
    }

    .cards,
    .cards-3,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .values {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .field.full {
        grid-column: auto;
    }

    .hero {
        padding: 65px 0 50px;
    }

    .hero h1 {
        font-size: clamp(36px, 11vw, 52px);
    }

    .page-hero {
        padding: 50px 0;
    }

    .page-hero h1 {
        font-size: 38px;
    }

    .hero-card {
        padding: 15px;
    }

    .hero-card img,
    .visual {
        height: 260px;
    }

    .wa-float {
        right: 14px;
        bottom: 14px;
        padding: 11px 14px;
        font-size: 13px;
    }
}
