* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: #132b32;
    background:
        radial-gradient(circle at 14% 6%, rgba(0, 169, 214, .13), transparent 30%),
        linear-gradient(180deg, #f7fcfd 0%, #eef8fb 42%, #ffffff 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

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

.site-header {
    position: fixed;
    top: 18px;
    left: clamp(14px, 4vw, 56px);
    right: clamp(14px, 4vw, 56px);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 14px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: rgba(2, 39, 50, .38);
    box-shadow: 0 20px 60px rgba(0, 20, 26, .16);
    backdrop-filter: blur(18px);
    transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
    animation: headerDrop .7s ease both;
}

.site-header.is-scrolled {
    background: rgba(2, 57, 71, .88);
    box-shadow: 0 18px 50px rgba(2, 57, 71, .22);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand img {
    width: 54px;
    height: 54px;
    border: 2px solid rgba(255, 255, 255, .54);
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 34px rgba(0, 169, 214, .55);
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 1rem;
    line-height: 1.1;
}

.brand small {
    max-width: 240px;
    color: rgba(255, 255, 255, .76);
    font-size: .76rem;
    line-height: 1.25;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .91rem;
    font-weight: 700;
}

.main-nav a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 8px;
    color: rgba(255, 255, 255, .82);
    transition: color .2s ease, background .2s ease;
}

.main-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .11);
}

.login-link {
    border: 1px solid rgba(255, 255, 255, .26);
    background: rgba(255, 255, 255, .08);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, .12);
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: #fff;
}

.hero {
    position: relative;
    min-height: 94vh;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, .82fr);
    align-items: center;
    gap: clamp(28px, 5vw, 76px);
    padding: 138px clamp(20px, 6vw, 86px) 78px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 84% 20%, rgba(0, 198, 255, .45), transparent 28%),
        radial-gradient(circle at 18% 90%, rgba(40, 226, 182, .12), transparent 32%),
        linear-gradient(135deg, #00171d 0%, #023947 44%, #00697f 100%);
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 130px;
    background: linear-gradient(to bottom, transparent, #f7fcfd);
    pointer-events: none;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, #000 42%, transparent 92%);
    opacity: .9;
}

.hero-content,
.hero-visual {
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: heroCopyIn .9s ease .08s both;
}

.hero-visual {
    animation: heroVisualIn 1s ease .2s both;
}

.eyebrow {
    width: fit-content;
    margin: 0 0 16px;
    padding: 8px 12px;
    border: 1px solid rgba(0, 169, 214, .24);
    border-radius: 8px;
    color: var(--primary);
    background: rgba(0, 169, 214, .08);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    max-width: 880px;
    margin: 0;
    font-size: 5.35rem;
    line-height: .92;
    letter-spacing: 0;
}

.hero-text {
    max-width: 720px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, .78);
    font-size: 1.18rem;
    line-height: 1.75;
}

.hero-actions,
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 20px;
    border-radius: 8px;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.btn-primary {
    color: #00232c;
    background: linear-gradient(135deg, #72e8ff, var(--primary));
    box-shadow: 0 18px 42px rgba(0, 169, 214, .3);
    background-size: 160% 160%;
    animation: softShine 5s ease infinite;
}

.btn-ghost {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .08);
}

.hero-visual {
    display: grid;
    justify-items: center;
    gap: 22px;
}

.logo-orbit {
    position: relative;
    width: min(440px, 82vw);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .18), transparent 34%),
        rgba(255, 255, 255, .07);
    box-shadow: inset 0 0 90px rgba(0, 169, 214, .22), 0 34px 90px rgba(0, 0, 0, .28);
    animation: floatLogo 5.8s ease-in-out infinite;
}

.logo-orbit::before,
.logo-orbit::after {
    content: "";
    position: absolute;
    inset: 34px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
}

.logo-orbit::after {
    inset: -18px;
    border-color: rgba(0, 169, 214, .28);
    animation: orbitPulse 3.8s ease-in-out infinite;
}

.logo-orbit img {
    position: relative;
    z-index: 1;
    width: 76%;
    border-radius: 50%;
    filter: drop-shadow(0 22px 38px rgba(0, 0, 0, .3));
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    width: min(440px, 100%);
}

.tech-stack span {
    min-height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    color: rgba(255, 255, 255, .88);
    background: rgba(255, 255, 255, .09);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .12);
    font-weight: 800;
    animation: chipFloat 4.4s ease-in-out infinite;
}

.tech-stack span:nth-child(2) {
    animation-delay: .25s;
}

.tech-stack span:nth-child(3) {
    animation-delay: .5s;
}

.tech-stack span:nth-child(4) {
    animation-delay: .75s;
}

.section {
    padding: clamp(70px, 9vw, 116px) clamp(20px, 6vw, 86px);
}

.section-heading {
    max-width: 820px;
    margin-bottom: 38px;
}

.section-heading h2,
.contact h2 {
    margin: 0;
    color: var(--secondary);
    font-size: 3.35rem;
    line-height: 1.04;
    letter-spacing: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .82fr);
    gap: clamp(26px, 5vw, 68px);
    align-items: start;
}

.lead,
.contact p {
    margin: 0;
    color: #536d74;
    font-size: 1.08rem;
    line-height: 1.78;
}

.highlight-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.highlight-list span,
.stat,
.service-card,
.project-card {
    border: 1px solid rgba(0, 169, 214, .14);
    border-radius: 8px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 18px 55px rgba(9, 58, 70, .08);
}

.highlight-list span {
    position: relative;
    padding: 16px 16px 16px 44px;
    color: #173941;
    font-weight: 800;
}

.highlight-list span::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 19px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 6px rgba(0, 169, 214, .12);
}

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

.stat {
    min-height: 150px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform .2s ease, box-shadow .2s ease;
}

.stat:hover,
.service-card:hover,
.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 70px rgba(9, 58, 70, .13);
}

.stat strong {
    display: block;
    color: var(--primary);
    font-size: 2.8rem;
    line-height: 1;
}

.stat span {
    color: #557079;
    font-weight: 700;
}

.services {
    background:
        radial-gradient(circle at 85% 4%, rgba(0, 169, 214, .13), transparent 26%),
        #edf8fb;
}

.service-grid,
.project-grid,
.plan-grid,
.testimonial-grid,
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.service-card {
    position: relative;
    min-height: 250px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.service-card::after {
    content: "";
    position: absolute;
    width: 90px;
    height: 90px;
    right: -34px;
    top: -34px;
    border-radius: 50%;
    background: rgba(0, 169, 214, .11);
    transition: transform .35s ease, opacity .35s ease;
}

.service-card:hover::after {
    opacity: .75;
    transform: scale(1.45);
}

.service-card.featured {
    color: #fff;
    border-color: transparent;
    background:
        radial-gradient(circle at 100% 0%, rgba(114, 232, 255, .3), transparent 34%),
        linear-gradient(145deg, var(--secondary), #006b83);
}

.service-card h3,
.project-card h3 {
    margin: 0 0 12px;
    font-size: 1.27rem;
    color: inherit;
}

.service-card p,
.project-card p {
    margin: 0;
    color: #58747b;
    line-height: 1.68;
}

.service-card.featured p {
    color: rgba(255, 255, 255, .78);
}

.service-card a {
    width: fit-content;
    margin-top: 22px;
    color: var(--primary);
    font-weight: 800;
}

.badge {
    width: fit-content;
    margin-bottom: 18px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .15);
    font-size: .76rem;
    font-weight: 800;
}

.project-card {
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.project-media {
    height: 220px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 50% 44%, rgba(114, 232, 255, .28), transparent 34%),
        linear-gradient(145deg, #023947, #011f28);
}

.project-media img {
    transition: transform .25s ease;
}

.project-card:hover .project-media img {
    transform: scale(1.06) rotate(-2deg);
}

.project-media img {
    width: 136px;
    height: 136px;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, .28);
    border-radius: 50%;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .24);
}

.project-body {
    padding: 24px;
}

.project-body > span {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--primary);
    font-size: .82rem;
    font-weight: 800;
}

.project-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 22px;
    color: #627981;
    font-weight: 800;
}

.project-footer a {
    color: var(--secondary);
}

.plans {
    background: #f7fcfd;
}

.plan-card,
.testimonial-card,
.quote-form {
    border: 1px solid rgba(0, 169, 214, .14);
    border-radius: 8px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 18px 55px rgba(9, 58, 70, .08);
}

.plan-card {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    padding: 28px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.plan-card:hover,
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 70px rgba(9, 58, 70, .13);
}

.plan-card > span {
    width: fit-content;
    margin-bottom: 16px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #006b83;
    background: rgba(0, 169, 214, .1);
    font-weight: 800;
}

.plan-card h3,
.testimonial-card strong {
    margin: 0 0 12px;
    color: var(--secondary);
    font-size: 1.28rem;
}

.plan-card p,
.testimonial-card p {
    margin: 0;
    color: #58747b;
    line-height: 1.68;
}

.plan-card ul {
    display: grid;
    gap: 10px;
    margin: 22px 0;
    padding: 0;
    list-style: none;
}

.plan-card li {
    position: relative;
    padding-left: 24px;
    color: #36535b;
    font-weight: 700;
}

.plan-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
}

.plan-card .btn {
    margin-top: auto;
}

.testimonials {
    background:
        radial-gradient(circle at 12% 12%, rgba(0, 169, 214, .1), transparent 28%),
        #edf8fb;
}

.testimonial-card {
    padding: 26px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.blog {
    background: #f7fcfd;
}

.blog-card {
    display: flex;
    flex-direction: column;
    min-height: 330px;
    padding: 24px;
    border: 1px solid rgba(0, 169, 214, .14);
    border-radius: 8px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 18px 55px rgba(9, 58, 70, .08);
}

.blog-card img {
    width: 100%;
    aspect-ratio: 1.8;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 16px;
}

.blog-card span {
    color: var(--primary);
    font-size: .82rem;
    font-weight: 800;
}

.blog-card h3 {
    margin: 12px 0;
    color: var(--secondary);
}

.blog-card p {
    color: #58747b;
    line-height: 1.65;
}

.blog-card a {
    margin-top: auto;
    color: var(--secondary);
    font-weight: 800;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-list details {
    border: 1px solid rgba(0, 169, 214, .14);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 42px rgba(9, 58, 70, .07);
}

.faq-list summary {
    cursor: pointer;
    padding: 18px 20px;
    color: var(--secondary);
    font-weight: 800;
}

.faq-list p {
    margin: 0;
    padding: 0 20px 20px;
    color: #58747b;
    line-height: 1.7;
}

.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 40;
    display: inline-flex;
    align-items: center;
    min-height: 50px;
    padding: 14px 18px;
    border-radius: 999px;
    color: #00232c;
    background: linear-gradient(135deg, #72e8ff, var(--primary));
    box-shadow: 0 18px 42px rgba(0, 169, 214, .3);
    font-weight: 800;
}

.testimonial-card p {
    margin-bottom: 22px;
    font-size: 1.02rem;
}

.testimonial-card strong,
.testimonial-card span {
    display: block;
}

.testimonial-card span {
    color: #6b858c;
}

.quote {
    background: #fff;
}

.quote-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: clamp(20px, 4vw, 34px);
}

.quote-form label {
    display: grid;
    gap: 8px;
    color: #36535b;
    font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #cce4ea;
    border-radius: 8px;
    color: #132f36;
    background: #fff;
    font: inherit;
}

.quote-form textarea {
    resize: vertical;
}

.quote-form .full {
    grid-column: 1 / -1;
}

.hidden-field {
    position: absolute;
    left: -9999px;
}

.form-success {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 8px;
    color: #0f5132;
    background: #d1e7dd;
    font-weight: 800;
}

.contact {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 30px;
    align-items: center;
    margin: 0 clamp(20px, 6vw, 86px) clamp(64px, 8vw, 100px);
    padding: clamp(34px, 5vw, 60px);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    color: #fff;
    overflow: hidden;
    background:
        radial-gradient(circle at 92% 12%, rgba(114, 232, 255, .27), transparent 30%),
        linear-gradient(145deg, var(--secondary), #006b83);
    box-shadow: 0 28px 80px rgba(2, 57, 71, .18);
}

.contact::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: .55;
}

.contact > * {
    position: relative;
    z-index: 1;
}

.contact h2,
.contact p {
    color: #fff;
}

.contact-actions {
    justify-content: flex-end;
    margin: 0;
}

.contact-actions span {
    width: 100%;
    color: rgba(255, 255, 255, .75);
    text-align: right;
}

.social-links {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.social-links a,
footer div a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    color: rgba(255, 255, 255, .9);
    background: rgba(255, 255, 255, .08);
    font-size: .86rem;
    font-weight: 800;
}

footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px clamp(20px, 6vw, 86px);
    color: #5b737a;
    border-top: 1px solid #d8edf2;
    background: #fff;
}

footer div {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

footer div a {
    color: #35535b;
    border-color: #d8edf2;
    background: #f5fbfd;
}

.maintenance-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 80% 20%, rgba(0, 169, 214, .25), transparent 30%),
        linear-gradient(135deg, #00171d, #00697f);
}

.maintenance-page {
    width: min(680px, calc(100% - 32px));
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    color: #fff;
    text-align: center;
    background: rgba(255, 255, 255, .08);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .22);
    backdrop-filter: blur(16px);
}

.maintenance-page img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 18px;
}

.maintenance-page h1 {
    font-size: 3rem;
}

.maintenance-page p {
    color: rgba(255, 255, 255, .8);
    line-height: 1.7;
}

.project-detail {
    min-height: 100vh;
    display: grid;
    gap: 22px;
    align-content: center;
    width: min(980px, 100%);
    margin: 0 auto;
    padding: clamp(32px, 7vw, 86px) clamp(20px, 5vw, 52px);
}

.project-detail h1 {
    color: var(--secondary);
}

.project-detail > img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(9, 58, 70, .13);
}

.project-detail > p {
    color: #536d74;
    font-size: 1.15rem;
    line-height: 1.8;
}

.project-detail .btn-ghost {
    width: fit-content;
    color: var(--secondary);
    border-color: #d8edf2;
    background: #fff;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease var(--delay, 0ms), transform .7s ease var(--delay, 0ms);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes headerDrop {
    from {
        opacity: 0;
        transform: translateY(-14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroCopyIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroVisualIn {
    from {
        opacity: 0;
        transform: translateY(28px) scale(.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes floatLogo {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes orbitPulse {
    0%,
    100% {
        opacity: .55;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.04);
    }
}

@keyframes chipFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

@keyframes softShine {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 980px) {
    h1 {
        font-size: 4.1rem;
    }

    .section-heading h2,
    .contact h2 {
        font-size: 2.75rem;
    }

    .stat strong {
        font-size: 2.45rem;
    }

    .hero,
    .about-grid,
    .contact {
        grid-template-columns: 1fr;
    }

    .service-grid,
    .project-grid,
    .plan-grid,
    .testimonial-grid,
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-actions,
    .contact-actions span,
    .social-links {
        justify-content: flex-start;
        text-align: left;
    }
}

@media (max-width: 760px) {
    h1 {
        font-size: 2.7rem;
    }

    .hero-text {
        font-size: 1.02rem;
    }

    .section-heading h2,
    .contact h2 {
        font-size: 2.05rem;
    }

    .stat strong {
        font-size: 2rem;
    }

    .site-header {
        top: 10px;
        left: 10px;
        right: 10px;
        padding: 10px;
    }

    .brand img {
        width: 48px;
        height: 48px;
    }

    .brand small {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        border: 1px solid rgba(255, 255, 255, .15);
        border-radius: 8px;
        background: rgba(2, 57, 71, .98);
        box-shadow: 0 18px 45px rgba(0, 20, 26, .22);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a,
    .login-link {
        justify-content: center;
        text-align: center;
    }

    .hero {
        min-height: auto;
        padding-top: 118px;
    }

    .tech-stack,
    .highlight-list,
    .stats-grid,
    .service-grid,
    .project-grid,
    .plan-grid,
    .testimonial-grid,
    .blog-grid,
    .quote-form {
        grid-template-columns: 1fr;
    }

    .quote-form .full {
        grid-column: auto;
    }

    .logo-orbit {
        width: min(330px, 86vw);
    }

    .hero-actions .btn,
    .contact-actions .btn {
        width: 100%;
    }

    footer {
        flex-direction: column;
    }
}


/* Portfólio ML ProWeb 2026 */
:root {
  --page-max: 1280px;
  --ink: #10252d;
  --muted: #617981;
  --line: rgba(10, 92, 111, .14);
  --surface: rgba(255, 255, 255, .92);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
}
::selection { color: #fff; background: #087f9d; }
body { color: var(--ink); background: #f6fbfc; }
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(0, 130, 158, .08) 1px, transparent 1px);
  background-size: 24px 24px;
  content: "";
  mask-image: linear-gradient(to bottom, #000, transparent 65%);
}
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(0, 169, 214, .28);
  outline-offset: 3px;
}

.site-header {
  right: auto;
  left: 50%;
  width: min(var(--page-max), calc(100% - 32px));
  min-height: 76px;
  padding: 10px 12px 10px 14px;
  border-color: rgba(255, 255, 255, .16);
  border-radius: 20px;
  background: rgba(3, 27, 36, .7);
  box-shadow: 0 18px 55px rgba(0, 15, 20, .22);
  transform: translateX(-50%);
  animation: none;
}
.site-header.is-scrolled {
  background: rgba(3, 37, 48, .94);
  box-shadow: 0 14px 40px rgba(0, 22, 29, .2);
}
.brand img {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .35);
  box-shadow: 0 0 28px rgba(0, 196, 240, .32);
}
.brand strong { font-size: .95rem; letter-spacing: -.01em; }
.brand small { margin-top: 3px; font-size: .69rem; }
.main-nav { gap: 2px; font-size: .78rem; }
.main-nav a {
  position: relative;
  min-height: 40px;
  padding: 8px 9px;
  border-radius: 10px;
}
.main-nav a.is-active { color: #fff; background: rgba(255, 255, 255, .1); }
.main-nav a.is-active::after {
  position: absolute;
  right: 10px;
  bottom: 4px;
  left: 10px;
  height: 2px;
  border-radius: 99px;
  background: #46d7f4;
  content: "";
}
.main-nav .login-link {
  gap: 7px;
  margin-left: 4px;
  padding-inline: 13px;
  border-color: rgba(93, 225, 249, .36);
  background: rgba(0, 169, 214, .15);
}
.login-link i { font-style: normal; font-size: .9rem; }

.hero {
  min-height: 100svh;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .82fr);
  gap: clamp(38px, 6vw, 90px);
  padding: 150px max(24px, calc((100vw - var(--page-max)) / 2)) 105px;
  background:
    radial-gradient(circle at 83% 26%, rgba(32, 211, 238, .34), transparent 25%),
    radial-gradient(circle at 12% 82%, rgba(20, 184, 166, .14), transparent 27%),
    linear-gradient(135deg, #020f14 0%, #032e3a 47%, #065c70 100%);
}
.hero::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(1, 18, 24, .2), transparent 55%);
  content: "";
}
.hero::after { height: 95px; background: linear-gradient(to bottom, transparent, #f6fbfc); }
.hero-bg { background-size: 58px 58px; opacity: .55; }
.hero .eyebrow {
  margin-bottom: 20px;
  border-color: rgba(99, 223, 247, .28);
  color: #8eeafe;
  background: rgba(14, 151, 181, .12);
}
h1 {
  max-width: 760px;
  font-size: clamp(3.4rem, 6.4vw, 6rem);
  line-height: .98;
  letter-spacing: -.055em;
}
.hero-text { max-width: 650px; margin-top: 25px; font-size: 1.08rem; line-height: 1.72; }
.hero-actions { margin-top: 32px; }
.btn { min-height: 50px; padding: 13px 21px; border-radius: 13px; }
.btn-primary { color: #00232c; box-shadow: 0 16px 38px rgba(0, 169, 214, .25); }
.btn-ghost { border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); }
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 16px;
  margin-top: 27px;
}
.hero-proof span { display: inline-flex; align-items: center; gap: 7px; color: rgba(255, 255, 255, .68); font-size: .75rem; font-weight: 700; }
.hero-proof i {
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  color: #061e27;
  background: #61e2f8;
  font-size: .66rem;
  font-style: normal;
}

.hero-visual { gap: 18px; perspective: 1200px; }
.logo-orbit {
  width: min(510px, 44vw);
  aspect-ratio: 1.18;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04)),
    rgba(0, 27, 35, .55);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 35px 90px rgba(0, 0, 0, .3);
  transform: rotateY(-7deg) rotateX(3deg);
  animation: deviceFloat 6s ease-in-out infinite;
}
.logo-orbit::before {
  inset: 16px 16px auto;
  height: 30px;
  border: 0;
  border-radius: 12px 12px 4px 4px;
  background:
    radial-gradient(circle at 12px 50%, #fb7185 0 3px, transparent 4px),
    radial-gradient(circle at 25px 50%, #fbbf24 0 3px, transparent 4px),
    radial-gradient(circle at 38px 50%, #34d399 0 3px, transparent 4px),
    rgba(255, 255, 255, .08);
}
.logo-orbit::after {
  inset: 54px 16px 16px;
  border-color: rgba(255, 255, 255, .08);
  border-radius: 8px 8px 18px 18px;
  background:
    linear-gradient(90deg, rgba(96, 224, 247, .14) 34%, transparent 34%),
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: auto, 100% 38px;
  animation: none;
}
.logo-orbit img {
  z-index: 2;
  width: 40%;
  border: 5px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
}
.tech-stack { width: min(510px, 100%); gap: 8px; }
.tech-stack span {
  min-height: 42px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .06);
  font-size: .72rem;
  letter-spacing: .08em;
}

.section {
  position: relative;
  padding: clamp(76px, 9vw, 122px) max(24px, calc((100vw - var(--page-max)) / 2));
}
.section > .section-heading,
.section > .about-grid,
.section > .service-grid,
.section > .project-grid,
.section > .plan-grid,
.section > .testimonial-grid,
.section > .blog-grid,
.section > .faq-list,
.section > .quote-form,
.section > .form-success { max-width: var(--page-max); margin-right: auto; margin-left: auto; }
.section-heading { margin-bottom: 45px; }
.section-heading .eyebrow { margin-bottom: 13px; border: 0; background: rgba(0, 169, 214, .09); }
.section-heading h2, .contact h2 {
  max-width: 850px;
  font-size: clamp(2.35rem, 4.2vw, 4.15rem);
  line-height: 1.04;
  letter-spacing: -.045em;
}
.lead, .contact p { line-height: 1.8; }
.about { background: #f6fbfc; }
.about-grid { align-items: center; }
.highlight-list span, .stat, .service-card, .project-card {
  border-color: var(--line);
  border-radius: var(--radius-sm);
}
.highlight-list span { background: rgba(255, 255, 255, .72); }
.stat { min-height: 164px; border-radius: var(--radius-md); background: #fff; box-shadow: 0 15px 45px rgba(4, 57, 70, .07); }

.services {
  background:
    radial-gradient(circle at 90% 7%, rgba(0, 169, 214, .12), transparent 23%),
    #edf7f9;
}
.service-grid { counter-reset: services; gap: 16px; }
.service-card {
  counter-increment: services;
  min-height: 280px;
  padding: 29px;
  border-radius: var(--radius-md);
}
.service-card::before {
  content: "0" counter(services);
  width: fit-content;
  margin-bottom: 46px;
  color: rgba(3, 57, 71, .32);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .1em;
}
.service-card.featured::before { color: rgba(255, 255, 255, .5); }
.service-card .badge { position: absolute; top: 24px; right: 24px; }
.service-card h3 { font-size: 1.35rem; letter-spacing: -.02em; }

.portfolio { background: #f8fcfd; }
.project-grid { gap: 20px; }
.project-card { border-radius: var(--radius-md); background: #fff; box-shadow: 0 16px 48px rgba(4, 57, 70, .075); }
.project-media { height: 250px; padding: 24px; background: linear-gradient(145deg, #062a36, #075d70); }
.project-placeholder { display: grid; width: 100%; height: 100%; place-items: center; }
.project-placeholder > strong {
  position: absolute;
  right: 22px;
  bottom: 18px;
  color: rgba(255, 255, 255, .55);
  font-size: .68rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.project-window {
  display: grid;
  width: 82%;
  height: 78%;
  grid-template-columns: 28% 1fr;
  grid-template-rows: 22px 36% 1fr;
  gap: 9px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px;
  background: rgba(255, 255, 255, .09);
  box-shadow: 0 22px 45px rgba(0, 0, 0, .25);
  transform: perspective(600px) rotateY(-5deg);
}
.project-window-bar { display: flex; grid-column: 1 / -1; gap: 5px; }
.project-window-bar i { width: 6px; height: 6px; border-radius: 50%; background: #67e8f9; opacity: .7; }
.project-window-nav { grid-row: 2 / 4; border-radius: 7px; background: rgba(255, 255, 255, .09); }
.project-window-hero { border-radius: 7px; background: linear-gradient(120deg, rgba(103, 232, 249, .42), rgba(255, 255, 255, .08)); }
.project-window-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.project-window-grid i { border-radius: 6px; background: rgba(255, 255, 255, .1); }
.project-body { padding: 26px; }

.plans { background: #edf7f9; }
.plan-card, .testimonial-card, .quote-form, .blog-card {
  border-color: var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 45px rgba(4, 57, 70, .07);
}
.plan-card { min-height: 390px; }
.plan-card:nth-child(2) { border-color: rgba(0, 169, 214, .35); box-shadow: 0 20px 55px rgba(0, 122, 151, .12); transform: translateY(-8px); }
.testimonial-card { position: relative; padding: 31px; }
.testimonial-card::before { display: block; margin-bottom: 14px; color: var(--primary); content: "“"; font-size: 3rem; font-weight: 900; line-height: .6; }
.blog-card { min-height: 350px; }
.faq-list { max-width: 900px !important; }
.faq-list details { border-radius: var(--radius-sm); box-shadow: 0 10px 30px rgba(4, 57, 70, .055); }
.faq-list summary { position: relative; padding: 21px 58px 21px 22px; list-style: none; }
.faq-list summary::after { position: absolute; top: 17px; right: 20px; color: var(--primary); content: "+"; font-size: 1.5rem; }
.faq-list details[open] summary::after { content: "−"; }

.quote {
  background:
    radial-gradient(circle at 10% 20%, rgba(0, 169, 214, .1), transparent 22%),
    #f8fcfd;
}
.quote-form { padding: clamp(24px, 4vw, 42px); }
.quote-form input, .quote-form select, .quote-form textarea { border-radius: 12px; background: #fbfeff; }
.contact {
  width: min(var(--page-max), calc(100% - 48px));
  margin: 0 auto clamp(70px, 8vw, 105px);
  padding: clamp(36px, 5vw, 64px);
  border-radius: var(--radius-lg);
}
footer { padding-inline: max(24px, calc((100vw - var(--page-max)) / 2)); }
.whatsapp-float { gap: 8px; border: 1px solid rgba(255, 255, 255, .65); }
.whatsapp-float::before { display: inline-grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; color: #fff; background: #16a34a; content: "W"; font-size: .72rem; font-weight: 900; }

@keyframes deviceFloat {
  0%, 100% { transform: rotateY(-7deg) rotateX(3deg) translateY(0); }
  50% { transform: rotateY(-4deg) rotateX(1deg) translateY(-10px); }
}
@media (max-width: 1120px) {
  .main-nav { font-size: .73rem; }
  .main-nav a { padding-inline: 7px; }
  .brand small { display: none; }
}
@media (max-width: 980px) {
  .site-header { width: calc(100% - 24px); }
  .hero { grid-template-columns: 1fr; padding-right: max(24px, calc((100vw - 760px) / 2)); padding-left: max(24px, calc((100vw - 760px) / 2)); }
  .hero-content { text-align: center; }
  .hero-content .eyebrow, .hero-actions, .hero-proof { justify-content: center; margin-right: auto; margin-left: auto; }
  .hero-text { margin-right: auto; margin-left: auto; }
  .logo-orbit { width: min(560px, 82vw); }
  .plan-card:nth-child(2) { transform: none; }
}
@media (max-width: 760px) {
  .site-header { top: 8px; left: 50%; right: auto; width: calc(100% - 16px); border-radius: 16px; }
  .main-nav { top: 70px; border-radius: 16px; }
  .main-nav a { min-height: 43px; }
  .hero { padding-top: 120px; padding-bottom: 78px; }
  h1 { font-size: clamp(2.75rem, 14vw, 4rem); }
  .hero-proof { display: grid; justify-items: start; width: fit-content; }
  .logo-orbit { width: min(410px, 90vw); border-radius: 22px; }
  .tech-stack { grid-template-columns: repeat(2, 1fr); }
  .section { padding-right: 18px; padding-left: 18px; }
  .section-heading { margin-bottom: 30px; }
  .contact { width: calc(100% - 28px); border-radius: 24px; }
  .project-media { height: 220px; }
  .whatsapp-float { right: 12px; bottom: 12px; min-height: 46px; padding: 11px 14px; font-size: .8rem; }
}


.quote-form label.is-invalid input,
.quote-form label.is-invalid textarea {
  border-color: #d63b3b;
  box-shadow: 0 0 0 3px rgba(214, 59, 59, 0.12);
}

.form-status {
  display: none;
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.form-status.is-success,
.form-status.is-error {
  display: block;
}

.form-status.is-success {
  color: #075c3a;
  background: #e7f8ef;
}

.form-status.is-error {
  color: #8e2222;
  background: #fff0f0;
}

.quote-form button[disabled] {
  cursor: wait;
  opacity: 0.72;
}

/* Blog: cards de leitura */
.blog { background: radial-gradient(circle at 86% 8%, rgba(0, 169, 214, .15), transparent 24%), #f7fcfd; }
.blog-grid { align-items: stretch; }
.blog-card { position: relative; min-height: 390px; padding: 22px; overflow: hidden; border: 1px solid rgba(0, 169, 214, .18); border-radius: 22px; background: rgba(255, 255, 255, .96); box-shadow: 0 16px 42px rgba(9, 58, 70, .08); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.blog-card:hover { transform: translateY(-7px); border-color: rgba(0, 169, 214, .42); box-shadow: 0 24px 58px rgba(9, 58, 70, .15); }
.blog-card img { width: calc(100% + 44px); max-width: none; aspect-ratio: 1.72; margin: -22px -22px 20px; border-radius: 0; object-fit: cover; }
.blog-card span { display: inline-flex; align-self: flex-start; gap: 6px; margin-bottom: 12px; padding: 7px 10px; border-radius: 999px; color: var(--secondary); background: rgba(0, 169, 214, .12); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }
.blog-card h3 { margin: 0; color: var(--secondary); font-size: clamp(1.18rem, 1.8vw, 1.42rem); line-height: 1.25; }
.blog-card p { display: -webkit-box; margin: 13px 0 22px; overflow: hidden; color: #58747b; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.blog-card a { display: inline-flex; align-items: center; gap: 8px; width: fit-content; margin: auto 0 0; padding: 10px 0; color: var(--secondary); font-weight: 800; }
.blog-card a::after { content: "→"; color: var(--primary); font-size: 1.2em; transition: transform .2s ease; }
.blog-card a:hover::after { transform: translateX(4px); }
.post-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 24px 0; }
.post-gallery img { width: 100%; height: 100%; min-height: 180px; margin: 0; border-radius: 16px; object-fit: cover; }
.post-gallery img:first-child:last-child { grid-column: 1 / -1; max-height: 460px; }
@media (max-width: 720px) { .blog-card { min-height: 360px; } .post-gallery { grid-template-columns: 1fr; } .post-gallery img { min-height: 200px; } }

/* Ícones das redes sociais */
.social-links .social-link, footer div .social-link { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-width:38px; min-height:38px; padding:7px 10px; border-radius:12px; transition:transform .2s ease, background .2s ease, color .2s ease; }
.social-link:hover { transform:translateY(-3px); }
.social-icon { width:18px; height:18px; display:grid; place-items:center; color:currentColor; font-family:Arial,sans-serif; font-size:17px; font-weight:900; line-height:1; }
.social-instagram .social-icon::before { content:"◎"; font-size:24px; font-weight:400; }
.social-facebook .social-icon::before { content:"f"; font-family:Arial,sans-serif; font-size:21px; font-weight:900; }
.social-youtube .social-icon::before { content:"▶"; font-size:14px; }
.social-linkedin .social-icon::before { content:"in"; font-size:14px; font-weight:900; }
.social-instagram:hover { color:#fff; border-color:#d74780; background:#d74780; }
.social-facebook:hover { color:#fff; border-color:#1877f2; background:#1877f2; }
.social-youtube:hover { color:#fff; border-color:#ff0033; background:#ff0033; }
.social-linkedin:hover { color:#fff; border-color:#0a66c2; background:#0a66c2; }
footer .social-link { width:38px; padding:7px; }
footer .social-link .social-label { display:none; }

/* O rodapé mantém apenas as redes; o acesso ao painel fica no menu superior. */
footer div { align-items:center; }
footer .social-link { flex:0 0 38px; }

/* Ícones sociais com identidade visual */
.social-instagram { color:#fff !important; border-color:transparent !important; background:linear-gradient(135deg,#833ab4,#e1306c,#f77737) !important; }
.social-facebook { color:#fff !important; border-color:#1877f2 !important; background:#1877f2 !important; }
.social-instagram .social-icon { position:relative; width:17px; height:17px; border:2px solid currentColor; border-radius:5px; }
.social-instagram .social-icon::before { content:""; position:absolute; width:5px; height:5px; top:4px; left:4px; border:2px solid currentColor; border-radius:50%; }
.social-instagram .social-icon::after { content:""; position:absolute; width:2px; height:2px; top:2px; right:2px; border-radius:50%; background:currentColor; }
.social-facebook .social-icon::before { content:"f"; font-size:20px; }
.social-link:hover { filter:brightness(1.06); }
