/* =========================================
   1) Design Tokens
   ========================================= */
:root {
    --bg: #f5f7fa;
    --surface: #ffffff;
    --surface-2: #eef2f6;
    --text: #0f1b2d;
    --muted: #607086;
    --accent: #2f6fae;
    --accent-2: #275f97;
    --border: #d6dee8;
    --header-bg: #0e2341;
    --header-border: #233c5d;
    --footer-bg: #13263f;
    --footer-text: #d7e0ea;
}

/* =========================================
   2) Base / Reset
   ========================================= */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.7;
    background: var(--bg);
    color: var(--text);
    overflow-x: clip;
}

/* =========================================
   3) Layout Utilities
   ========================================= */
.container {
    width: min(1100px, 92%);
    margin: 0 auto;
}

.section {
    padding: 72px 20px;
    text-align: center;
}

.page-section:nth-of-type(even) {
    background: var(--surface-2);
}

/* =========================================
   4) Reusable Utilities
   ========================================= */
.text-muted {
    color: var(--muted);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

/* =========================================
   5) Header / Navigation
   ========================================= */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid var(--header-border);
    background: rgba(14, 35, 65, 0.94);
    backdrop-filter: blur(10px);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
}

.logo img {
    height: 62px;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(215, 224, 234, 0.35);
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
}

.nav-toggle-bar {
    width: 18px;
    height: 2px;
    background: #f2f7fc;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-links {
    display: flex;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #e7eef7;
    font-weight: 500;
    letter-spacing: 0.2px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
    color: var(--accent-2);
}

.footer-links .nav-link {
    color: var(--muted);
}

.has-dropdown .dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    display: none;
    min-width: 280px;
    margin: 0;
    padding: 10px;
    list-style: none;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 12px 26px rgba(17, 32, 52, 0.16);
}

.has-dropdown.dropdown-open .dropdown-menu {
    display: block;
}

.dropdown-link {
    display: block;
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--text);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-link:hover {
    background: #e9f1fa;
    color: var(--accent-2);
}

/* =========================================
   6) Hero
   ========================================= */
.hero {
    position: relative;
    padding: 120px 20px 110px;
    text-align: center;
    border-bottom: 1px solid var(--header-border);
    background:
        linear-gradient(135deg, rgba(14, 35, 65, 0.78), rgba(39, 95, 151, 0.54)),
        url("../images/hero-background.jpg") center/cover no-repeat;
    color: #f6f9fd;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.eyebrow {
    margin: 0 0 14px;
    color: #c7dbef;
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0 0 18px;
    font-size: clamp(1.9rem, 3.4vw, 3.3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.5px;
}

.hero-subtitle {
    margin: 0;
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    color: #e5edf7;
}

/* =========================================
   7) Main Content
   ========================================= */
.section h2 {
    margin: 0 0 18px;
    font-size: clamp(1.6rem, 2.5vw, 2.25rem);
    line-height: 1.25;
}

.section > .container > p {
    max-width: 760px;
    margin: 0 auto;
}

.section-split {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 30px;
    align-items: center;
}

.section-text {
    text-align: left;
}

.section-text > p {
    margin: 0;
}

.who-we-are-copy p {
    line-height: 1.78;
    max-width: 66ch;
}

.who-we-are-copy p + p {
    margin-top: 14px;
}

.who-we-are-split {
    align-items: stretch;
}

.who-we-are-figure {
    height: 100%;
}

.who-we-are-figure img {
    height: 100%;
    min-height: 0;
    object-fit: contain;
    background: #f2f6fb;
}

.section-figure,
.section-support-figure {
    margin: 0;
}

.section-figure img,
.section-support-figure img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid var(--border);
    border-radius: 14px;
}

.section-support-figure {
    margin-top: 28px;
    margin-inline: auto;
    width: 100%;
}

.section-support-figure--services {
    max-width: 1000px;
}

.services-image-gallery {
    display: grid;
    gap: 14px;
}

.services-image-row {
    display: grid;
    gap: 14px;
}

.services-image-row--square {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-image-row--landscape {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.services-image-gallery a {
    display: block;
}

.gallery-link {
    cursor: zoom-in;
}

.services-image-gallery img {
    width: 100%;
    display: block;
    height: auto;
    object-fit: contain;
}

.gallery-modal[hidden] {
    display: none;
}

.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 12000;
}

.gallery-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 39, 0.8);
}

.gallery-modal-panel {
    position: relative;
    z-index: 1;
    height: 100%;
    width: min(1200px, 96vw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 24px 10px 18px;
}

.gallery-modal-image {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    max-height: calc(100vh - 120px);
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #f2f6fb;
}

.gallery-control {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
    width: 46px;
    height: 46px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 1.6rem;
    line-height: 1;
}

.gallery-prev {
    grid-column: 1;
    grid-row: 1;
}

.gallery-next {
    grid-column: 3;
    grid-row: 1;
}

.gallery-close {
    position: absolute;
    top: 20px;
    right: 14px;
    z-index: 2;
    font-size: 1.8rem;
}

.gallery-help {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0;
    text-align: center;
    font-size: 0.95rem;
}

.section-support-figure--contact {
    max-width: 720px;
}

.section-inline-figure {
    margin: 22px 0 0;
}

.section-inline-figure img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border: 1px solid var(--border);
    border-radius: 14px;
}

.section-visual-transition {
    padding: 0 20px;
}

.section-support-figure--transition {
    margin-top: 0;
    max-width: 100%;
}

.why-summary {
    max-width: none;
    white-space: nowrap;
}

.why-images-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    align-items: start;
}

.why-image {
    margin: 0;
    padding: 0;
}

.why-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border: 1px solid var(--border);
    border-radius: 14px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
}

.service-card {
    padding: 22px 20px;
    text-align: left;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(17, 32, 52, 0.06);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card h3 {
    margin: 0 0 10px;
    font-size: 1.1rem;
}

.service-card p {
    margin: 0;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(47, 111, 174, 0.55);
    box-shadow: 0 14px 24px rgba(17, 32, 52, 0.14);
}

.service-card-link {
    display: inline-block;
    margin-top: 14px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.service-card-link:hover {
    color: var(--accent-2);
}

.section-intro {
    max-width: 860px;
    margin: 0 auto 24px;
}

.service-card--platform-feature {
    grid-column: span 3;
    padding: 26px;
    border: 1px solid #cfdae7;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff, #f5f8fc);
    box-shadow: 0 10px 24px rgba(17, 32, 52, 0.07);
}

.service-card--platform-feature h3 {
    margin: 0 0 8px;
    font-size: clamp(1.3rem, 2.1vw, 1.75rem);
    line-height: 1.3;
    text-align: center;
}

.platforms-subtext {
    margin: 0 auto 20px;
    font-weight: 500;
    color: #526b88;
    text-align: center;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.platform-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    min-height: 100%;
    padding: 24px 22px;
    border: 1px solid #ccd8e6;
    border-radius: 14px;
    background: #fdfefe;
    box-shadow: 0 8px 18px rgba(17, 32, 52, 0.06);
}

.platform-card h4 {
    margin: 0 0 10px;
    font-size: 1.12rem;
    line-height: 1.35;
    color: #122845;
}

.platform-card p {
    margin: 0;
    line-height: 1.74;
}

.platform-btn {
    margin-top: 16px;
}

.cta-section {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--header-border);
    background: #eaf0f6;
}

.cta-actions {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border-radius: 10px;
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    border-color: rgba(47, 111, 174, 0.5);
    color: var(--accent-2);
}

.btn-primary {
    border-color: transparent;
    background: linear-gradient(90deg, #2f6fae, #3b82c4);
    color: #f7fbff;
}

.btn-primary:hover {
    border-color: transparent;
    color: #ffffff;
    background: linear-gradient(90deg, #275f97, #3577b5);
}

.content-card {
    padding: 28px 24px;
    text-align: left;
    border: 1px solid #d6e0ec;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(17, 32, 52, 0.06);
}

.content-card h3 {
    margin-top: 0;
}

.content-list {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}

.content-list li + li {
    margin-top: 8px;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.form-card {
    text-align: left;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field--full {
    grid-column: 1 / -1;
}

.form-label {
    font-weight: 600;
    font-size: 0.95rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #ffffff;
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: 2px solid rgba(47, 111, 174, 0.26);
    border-color: rgba(47, 111, 174, 0.55);
}

.form-textarea {
    min-height: 140px;
    resize: vertical;
}

.form-feedback {
    margin-bottom: 14px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #ffffff;
    color: var(--text);
}

.form-feedback.is-success {
    border-color: rgba(80, 200, 120, 0.6);
    color: #b5f5cc;
}

.form-feedback.is-error {
    border-color: rgba(255, 112, 112, 0.6);
    color: #ffd0d0;
}

.honeypot-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-actions {
    margin-top: 14px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.whatsapp-float img {
    display: block;
    width: 52px;
    height: auto;
}

.whatsapp-float:hover img {
    filter: brightness(1.04);
}

/* =========================================
   8) Footer
   ========================================= */
.site-footer {
    padding: 50px 20px 20px;
    border-top: 1px solid #1f3a5b;
    background: var(--footer-bg);
    color: var(--footer-text);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
    align-items: start;
}

.footer-brand img {
    height: 68px;
    margin-bottom: 12px;
}

.footer-brand .text-muted {
    max-width: 320px;
    color: #c9d5e2;
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.75;
    letter-spacing: 0.2px;
}

.footer-brand p,
.footer-contact p,
.footer-bottom p {
    margin: 0;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links h4,
.footer-contact h4 {
    margin: 0 0 8px;
    font-size: 1rem;
    color: #f1f6fb;
}

.footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid #294568;
    text-align: center;
    font-size: 0.9rem;
}

.footer-contact {
    font-style: normal;
}

/* =========================================
   9) Responsive
   ========================================= */
@media (max-width: 768px) {
    .nav-inner {
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 12px;
        padding: 10px 0 8px;
    }

    .site-nav.is-menu-open .nav-links {
        display: flex;
    }

    .has-dropdown .dropdown-menu {
        position: static;
        display: none;
        min-width: 0;
        margin-top: 8px;
        padding: 6px;
        box-shadow: none;
    }

    .has-dropdown.dropdown-open .dropdown-menu {
        display: block;
    }

    .site-nav.is-menu-open .nav-toggle-bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .site-nav.is-menu-open .nav-toggle-bar:nth-child(2) {
        opacity: 0;
    }

    .site-nav.is-menu-open .nav-toggle-bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero {
        padding: 80px 20px;
    }

    .section-split {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-text {
        text-align: center;
    }

    .who-we-are-copy p {
        max-width: 100%;
    }

    .who-we-are-figure img {
        height: auto;
        min-height: 0;
        object-fit: contain;
    }

    .section-support-figure--services,
    .section-support-figure--contact,
    .section-support-figure--transition {
        max-width: 100%;
    }

    .services-image-gallery {
        gap: 12px;
    }

    .services-image-row--square,
    .services-image-row--landscape {
        grid-template-columns: 1fr;
    }

    .gallery-modal-panel {
        width: 100%;
        padding: 18px 8px 14px;
        grid-template-columns: 44px minmax(0, 1fr) 44px;
    }

    .gallery-control {
        width: 40px;
        height: 40px;
    }

    .why-summary {
        white-space: normal;
    }

    .why-images-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section {
        padding: 52px 15px;
    }

    .service-card {
        text-align: center;
    }

    .service-card--platform-feature {
        grid-column: span 1;
        padding: 20px 16px;
    }

    .platforms-grid {
        grid-template-columns: 1fr;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        right: 15px;
        bottom: 15px;
    }

    .whatsapp-float img {
        width: 44px;
    }
}



.site-footer .text-muted,
.site-footer .footer-links .nav-link {
    color: #bfd0e1;
}

.site-footer .footer-links .nav-link:hover {
    color: #ffffff;
}



