:root {
    --primary: #153a63;
    --secondary: #2e8f86;
    --accent: #e6b470;
    --bg: #f4f7fb;
    --text: #1f2f40;
    --muted: #607286;
    --white: #ffffff;
    --border: #d7e1ed;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
}

img {
    max-width: 100%;
}

.container {
    width: min(1100px, 92%);
    margin: 0 auto;
}

.site-header {
    background: rgb(255 255 255 / 92%);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.brand {
    text-decoration: none;
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.brand img {
    display: block;
    height: 52px;
    width: auto;
    max-width: min(220px, 42vw);
    object-fit: contain;
}

.brand span {
    line-height: 1;
}

.nav-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
}

.nav-list a {
    text-decoration: none;
    color: var(--text);
    padding: 0.45rem 0.85rem;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.nav-list a:hover,
.nav-list a.is-active {
    background: var(--primary);
    color: var(--white);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--white);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.nav-toggle:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}

.nav-toggle-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
    .site-nav {
        transition: none;
    }

    .nav-toggle-bar {
        transition: none;
    }
}

.hero {
    color: var(--white);
    padding: 5.5rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    letter-spacing: 0.2px;
}

.hero p {
    max-width: 700px;
    margin: 0;
    color: #e0ebfb;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 2rem;
}

.hero-home {
    background-image:
        linear-gradient(90deg, rgb(15 42 71 / 80%) 0%, rgb(18 52 86 / 60%) 45%, rgb(18 52 86 / 30%) 100%),
        url("../images/banner.jpg");
    background-size: cover, cover;
    background-repeat: no-repeat, no-repeat;
    background-position: center, center;
    background-color: #153a63;
}

.hero-content {
    max-width: 700px;
}

.section {
    padding: 3.4rem 0;
}

.section h1 {
    margin-top: 0;
    color: var(--primary);
}

.section h2 {
    color: var(--primary);
    margin-top: 0;
}

h1,
h2,
h3 {
    letter-spacing: 0.2px;
}

.section-intro {
    max-width: 760px;
    color: var(--muted);
}

.section-intro-full {
    max-width: 100%;
    text-align: justify;
}

.delivery-page-lead {
    max-width: 100%;
}

.delivery-page-cards {
    margin-top: 1.35rem;
}

.quality-page-lead {
    max-width: 100%;
}

.quality-page-cards {
    margin-top: 1.35rem;
    align-items: start;
}

.contact-page-lead {
    max-width: 100%;
    margin-bottom: 0;
}

.contact-page-details {
    margin-top: 1.25rem;
    align-items: stretch;
}

.contact-page-form {
    margin-top: 1.35rem;
}

.contact-page-details .card p:last-child {
    margin-bottom: 0;
}

.contact-page-details .card .list li:last-child {
    margin-bottom: 0;
}

.products-intro {
    padding-bottom: 1rem;
}

.products-grid-section {
    padding-top: 1rem;
}

.grid {
    display: grid;
    gap: 1.25rem;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.35rem;
    box-shadow: 0 8px 26px rgb(18 58 99 / 8%);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgb(18 58 99 / 14%);
}

.card h3 {
    margin-top: 0;
    color: var(--primary);
}

.card h2 {
    margin-top: 0.2rem;
    margin-bottom: 0.6rem;
    color: var(--primary);
}

.list {
    margin: 0;
    padding-left: 1.1rem;
}

.list li {
    margin-bottom: 0.4rem;
}

.highlight {
    border-left: 5px solid var(--secondary);
    background: #eef8f6;
    padding: 1rem;
    border-radius: 8px;
}

.surface {
    background: #eaf1fa;
}

.metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.metric {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1rem 1.1rem;
    text-align: center;
}

.metric strong {
    display: block;
    font-size: 1.5rem;
    color: var(--primary);
}

.metric span {
    color: var(--muted);
    font-size: 0.95rem;
}

.cta {
    display: inline-block;
    margin-top: 1rem;
    background: var(--accent);
    color: #1e2933;
    text-decoration: none;
    padding: 0.7rem 1.1rem;
    border-radius: 10px;
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.2s ease;
}

.cta:hover {
    background: #edbf82;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgb(35 43 52 / 22%);
}

form .field {
    margin-bottom: 0.9rem;
}

label {
    font-weight: 600;
    display: block;
    margin-bottom: 0.3rem;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.65rem 0.7rem;
    font: inherit;
    color: var(--text);
    background: #fff;
}

textarea {
    min-height: 130px;
    resize: vertical;
}

.button {
    border: 0;
    cursor: pointer;
}

.alert {
    border-radius: 8px;
    padding: 0.75rem 0.9rem;
    margin-bottom: 1rem;
}

.alert-success {
    background: #e8f7ee;
    border: 1px solid #9ad4ab;
}

.alert-error {
    background: #fff0f0;
    border: 1px solid #e7a5a5;
}

.site-footer {
    margin-top: 3rem;
    background: #102c49;
    color: #d7e3f4;
    padding: 2rem 0;
}

.footer-inner p {
    margin: 0.25rem 0;
}

.media-card {
    overflow: hidden;
    padding: 0;
}

.media-card img {
    width: 100%;
    display: block;
    border-bottom: 1px solid var(--border);
    background: #f2f6fc;
    transition: transform 0.35s ease;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.media-card:hover img {
    transform: scale(1.03);
}

.media-card .card-content {
    padding: 1.1rem 1.2rem 1.2rem;
}

.about-split {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 1.4rem;
    align-items: stretch;
}

.about-intro {
    padding-bottom: 1.2rem;
}

.about-intro h1 {
    margin-bottom: 0.7rem;
    font-size: clamp(2rem, 3.3vw, 2.6rem);
    color: var(--primary);
}

.about-intro .section-intro {
    max-width: 100%;
    margin: 0;
    font-size: 1.06rem;
    line-height: 1.75;
    text-align: justify;
}

.about-main {
    padding-top: 1rem;
}

.about-image {
    border-radius: 16px;
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: 0 8px 26px rgb(18 58 99 / 7%);
    padding: 0.7rem;
}

.about-image img {
    width: 100%;
    display: block;
    border-radius: 12px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.quality-banner {
    background: linear-gradient(140deg, #123b63, #225a8c);
    border-radius: 18px;
    padding: 1.4rem 1.5rem;
    color: #fff;
}

.quality-banner h2 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.quality-banner p {
    margin: 0.5rem 0 0;
    color: #dce8f8;
}

@media (max-width: 760px) {
    .header-inner {
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem 0.75rem;
        padding: 0.45rem 0;
    }

    .brand {
        flex: 1 1 auto;
        min-width: 0;
    }

    .brand img {
        height: 40px;
        max-width: min(220px, calc(100vw - 5.5rem));
    }

    .nav-toggle {
        display: inline-flex;
        flex-shrink: 0;
    }

    .site-nav {
        flex-basis: 100%;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease, padding 0.25s ease, border-color 0.2s ease;
        padding: 0;
        border-top: 1px solid transparent;
    }

    .site-nav.is-open {
        max-height: 24rem;
        padding: 0.65rem 0 0.35rem;
        border-top-color: var(--border);
    }

    .site-nav .nav-list {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 0.2rem;
    }

    .site-nav .nav-list a {
        display: block;
        padding: 0.7rem 0.95rem;
        border-radius: 10px;
        text-align: left;
    }

    .container {
        width: min(1100px, 94%);
    }

    .section {
        padding: 1.45rem 0;
    }

    .section > .container > h1 + p,
    .section > .container > h1 + .section-intro {
        margin-top: 0;
    }

    form .field {
        margin-bottom: 0.65rem;
    }

    main > .section:first-of-type {
        padding-top: 1rem;
    }

    .hero + .section {
        padding-top: 1rem;
    }

    .hero {
        padding: 3rem 0 2.5rem;
    }

    .hero-grid {
        gap: 1.15rem;
    }

    .hero h1 {
        margin-bottom: 0.75rem;
    }

    .cta {
        margin-top: 0.65rem;
    }

    .grid {
        gap: 0.8rem;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 1rem 1.05rem;
    }

    .card:hover {
        transform: none;
    }

    .media-card .card-content {
        padding: 0.85rem 1rem 1rem;
    }

    .about-intro {
        padding-bottom: 0.35rem;
    }

    .about-intro h1 {
        margin-bottom: 0.5rem;
        font-size: clamp(1.55rem, 5.2vw, 2.2rem);
    }

    .about-intro .section-intro {
        line-height: 1.62;
        text-align: left;
    }

    .about-main {
        padding-top: 0.35rem;
    }

    .about-split {
        gap: 0.85rem;
    }

    .about-image {
        padding: 0.45rem;
    }

    .products-intro {
        padding-bottom: 0.25rem;
    }

    .products-grid-section {
        padding-top: 0.35rem;
    }

    .products-intro + .products-grid-section {
        padding-top: 0.5rem;
    }

    .about-intro + .about-main {
        padding-top: 0.5rem;
    }

    .section-intro-full {
        text-align: left;
    }

    .quality-banner {
        padding: 1rem 1.15rem;
    }

    .site-footer {
        margin-top: 1.75rem;
        padding: 1.25rem 0;
    }

    .metrics {
        gap: 0.75rem;
    }

    .metric {
        padding: 0.85rem 0.95rem;
    }

    .highlight {
        padding: 0.85rem;
    }

    .delivery-page-cards {
        margin-top: 1rem;
    }

    .quality-page-cards,
    .contact-page-details,
    .contact-page-form {
        margin-top: 1rem;
    }

    .hero-home {
        background-image:
            linear-gradient(180deg, rgb(15 42 71 / 82%) 0%, rgb(18 52 86 / 62%) 55%, rgb(18 52 86 / 48%) 100%),
            url("../images/banner.jpg");
        background-size: cover, cover;
        background-repeat: no-repeat, no-repeat;
        background-position: center, center;
    }

    .about-split {
        grid-template-columns: 1fr;
    }
}
