@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;700;800&display=swap');

:root {
    --bg: #eef2f7;
    --text: #172235;
    --nav: #0d1625;
    --card: #ffffff;
    --accent: #ff8c2a;
    --accent-strong: #e97200;
    --muted: #627088;
    --line: #d9e1eb;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Manrope', sans-serif;
    color: var(--text);
    background: radial-gradient(circle at 10% 10%, #f9fbff 0%, #eef2f7 48%, #dde5f1 100%);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(13, 22, 37, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.logo img {
    height: 70px;
    width: auto;
}

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-list a {
    display: inline-block;
    text-decoration: none;
    color: #f4f7fc;
    font-weight: 600;
    border-radius: 999px;
    padding: 10px 14px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-list a:hover {
    background-color: rgba(255, 255, 255, 0.14);
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
}

.theme-switch {
    position: relative;
    display: inline-block;
    width: 54px;
    height: 30px;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    inset: 0;
    cursor: pointer;
    background-color: #6d7789;
    transition: .3s;
    border-radius: 999px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--accent);
}

input:checked + .slider:before {
    transform: translateX(24px);
}

.section {
    flex: 1;
    max-width: 1120px;
    width: calc(100% - 40px);
    margin: 22px auto 18px auto;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background:
        linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)),
        url('/images/pxfuel 2.jpg') center/cover no-repeat;
    box-shadow: 0 16px 40px rgba(12, 22, 37, 0.1);
    line-height: 1.8;
}

.section h1,
.section h2 {
    line-height: 1.25;
    margin-bottom: 12px;
}

.section p {
    margin-bottom: 12px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent-strong);
    font-size: 0.82rem;
    margin-bottom: 8px;
}

.lead {
    font-size: 1.08rem;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

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

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

.btn-primary:hover {
    background: var(--accent-strong);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid #c8d4e5;
}

.btn-secondary:hover {
    background: #eef3fa;
}

.about-image {
    display: block;
    width: min(100%, 440px);
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.results-strip {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.result-item {
    padding: 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #dce5f2;
}

.result-item strong {
    display: block;
    margin-bottom: 4px;
}

.result-item span {
    color: var(--muted);
}

.trust-block {
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid #dce5f2;
    border-radius: 12px;
    padding: 14px;
}

.trust-block h2 {
    margin-bottom: 4px;
}

.testimonial {
    margin-top: 14px;
    border-left: 4px solid var(--accent);
    padding: 10px 0 10px 14px;
}

.testimonial p {
    margin-bottom: 4px;
    font-style: italic;
}

.testimonial span {
    color: var(--muted);
    font-size: 0.92rem;
}

.service {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid #e4e9f1;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 14px;
}

.service-title {
    margin: 0 0 2px 0;
}

.service ul {
    margin-left: 18px;
}

.case-studies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.case-study {
    background-color: rgba(255, 255, 255, 0.82);
    border: 1px solid #e1e8f3;
    border-radius: 12px;
    padding: 16px;
}

.case-study h2 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.case-study ul {
    margin-left: 18px;
}

.case-study li {
    margin-bottom: 6px;
}

.case-study a {
    color: var(--accent-strong);
    font-weight: 700;
    text-decoration: none;
}

.case-study a:hover,
.case-study a:focus {
    text-decoration: underline;
}

.contact {
    padding: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #ced8e6;
    border-radius: 8px;
    font: inherit;
}

input[type="submit"] {
    padding: 12px 15px;
    background-color: var(--accent);
    width: 100%;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: white;
    font-weight: 700;
    transition: background-color 0.2s ease;
}

input[type="submit"]:hover {
    background-color: var(--accent-strong);
}

.our-details {
    margin-top: 12px;
    color: var(--muted);
}

.our-details p {
    margin-bottom: 8px;
}

.our-details strong {
    display: inline;
    color: var(--text);
    margin-right: 6px;
}

.our-details a {
    text-decoration: none;
    color: inherit;
}

.our-details a:hover,
.our-details a:focus {
    text-decoration: underline;
}

footer {
    flex-shrink: 0;
    background-color: #0d1625;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer p {
    text-align: center;
    color: #dde7f7;
    font-size: 0.92em;
    padding: 14px 0;
}

.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1200;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: transparent;
    text-decoration: none;
    transition: transform 0.2s ease;
}

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

.wa-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.wa-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.18));
}

.whatsapp-mobile-bar {
    display: none;
}

.hamburger {
    width: 30px;
    height: 3px;
    background-color: #ffffff;
    position: relative;
    transition: all 0.3s ease-in-out;
    display: none;
    cursor: pointer;
}

.hamburger::before,
.hamburger::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    transition: all 0.3s ease-in-out;
}

.hamburger::before {
    transform: translateY(-9px);
}

.hamburger::after {
    transform: translateY(9px);
}

body.dark-theme {
    --bg: #0d1522;
    --text: #e8effa;
    --nav: #ff8c2a;
    --card: #111c2b;
    --line: #2c3a4e;
    --muted: #bdc8d8;
    background: radial-gradient(circle at 10% 10%, #172437 0%, #0f1826 48%, #0a121e 100%);
}

body.dark-theme nav {
    background: rgba(13, 22, 37, 0.95);
}

body.dark-theme .nav-list a:hover {
    background-color: rgba(255, 255, 255, 0.14);
    color: #fff;
}

body.dark-theme .section {
    background:
        linear-gradient(rgba(8, 15, 26, 0.82), rgba(8, 15, 26, 0.82)),
        url('/images/pxfuel.jpg') center/cover no-repeat;
    border-color: var(--line);
}

body.dark-theme .service,
body.dark-theme .case-study {
    background: rgba(18, 29, 46, 0.72);
    border-color: #32435a;
}

body.dark-theme .btn-secondary {
    border-color: #384b63;
    color: #e8effa;
}

body.dark-theme .btn-secondary:hover {
    background: #152336;
}

body.dark-theme .result-item,
body.dark-theme .trust-block {
    background: rgba(18, 29, 46, 0.72);
    border-color: #32435a;
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .about-image {
        width: min(100%, 500px);
    }

    .results-strip {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    nav .container {
        position: relative;
    }

    .hamburger {
        display: block;
        margin-left: auto;
    }

    .nav-list {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        right: 20px;
        width: min(260px, calc(100vw - 40px));
        background: #111d31;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 12px;
        padding: 10px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
    }

    .nav-list.active {
        display: flex;
    }

    .theme-toggle {
        margin-left: 0;
    }

    .section {
        width: calc(100% - 24px);
        margin: 14px auto;
        padding: 20px;
        border-radius: 14px;
    }

    .whatsapp-float {
        display: none;
    }

    .whatsapp-mobile-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1200;
        display: block;
        text-align: center;
        text-decoration: none;
        background: #25d366;
        color: #06220f;
        font-weight: 700;
        font-size: 0.92rem;
        padding: 10px 14px;
        box-shadow: 0 -6px 16px rgba(0, 0, 0, 0.2);
    }

    body {
        padding-bottom: 46px;
    }
}
