/* =========================================
   1) Design Tokens
   ========================================= */
:root {
    --bg: #0b0f16;
    --surface: #101826;
    --surface-2: #0f1420;
    --text: #e7ecf3;
    --muted: #9aa6b2;
    --accent: #3aa6ff;
    --accent-2: #6dd6ff;
    --border: #1f2a3a;
}

/* =========================================
   2) Base / Reset
   ========================================= */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
    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(--border);
    background: rgba(11, 15, 22, 0.9);
    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 var(--border);
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
}

.nav-toggle-bar {
    width: 18px;
    height: 2px;
    background: var(--text);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-links {
    display: flex;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text);
    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: var(--surface);
    box-shadow: 0 12px 26px rgba(3, 12, 24, 0.45);
}

.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: rgba(58, 166, 255, 0.12);
    color: var(--accent-2);
}

/* =========================================
   6) Hero
   ========================================= */
.hero {
    position: relative;
    padding: 120px 20px 110px;
    text-align: center;
    border-bottom: 1px solid var(--border);
    background:
        linear-gradient(180deg, rgba(11, 15, 22, 0.85), rgba(11, 15, 22, 0.95)),
    url("../images/hero-background.png") center/cover no-repeat;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--accent-2);
    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);
}

/* =========================================
   7) Main Content
   ========================================= */
.section h2 {
    margin: 0 0 18px;
    font-size: clamp(1.5rem, 2.4vw, 2.2rem);
}

.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;
}

.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: 620px;
}

.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: 22px;
    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: var(--surface);
    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(58, 166, 255, 0.6);
    box-shadow: 0 16px 30px rgba(3, 12, 24, 0.45);
}

.service-card-link {
    display: inline-block;
    margin-top: 14px;
    color: var(--accent-2);
    text-decoration: none;
    font-weight: 600;
}

.service-card-link:hover {
    color: var(--accent);
}

.section-intro {
    max-width: 860px;
    margin: 0 auto 24px;
}

.cta-section {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}

.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(58, 166, 255, 0.6);
    color: var(--accent-2);
}

.btn-primary {
    border-color: transparent;
    background: linear-gradient(90deg, #2389dc, #3aa6ff);
    color: #f7fbff;
}

.btn-primary:hover {
    border-color: transparent;
    color: #ffffff;
    background: linear-gradient(90deg, #2f94e5, #50b5ff);
}

.content-card {
    padding: 28px 24px;
    text-align: left;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
}

.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: #0d1421;
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: 2px solid rgba(58, 166, 255, 0.35);
    border-color: rgba(58, 166, 255, 0.7);
}

.form-textarea {
    min-height: 140px;
    resize: vertical;
}

.form-feedback {
    margin-bottom: 14px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #0d1421;
    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 var(--border);
    background: #0a0e15;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
    align-items: start;
}

.footer-brand img {
    height: 60px;
    margin-bottom: 14px;
}

.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;
}

.footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    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;
    }

    .section-support-figure--services,
    .section-support-figure--contact,
    .section-support-figure--transition {
        max-width: 100%;
    }

    .why-summary {
        white-space: normal;
    }

    .why-images-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section {
        padding: 52px 15px;
    }

    .service-card {
        text-align: center;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        right: 15px;
        bottom: 15px;
    }

    .whatsapp-float img {
        width: 44px;
    }
}
