* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: linear-gradient(180deg, #081223 0%, #0b1a2f 38%, #f5f8fc 38%, #f5f8fc 100%);
    color: #0e1726;
    line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 1rem; color: #081223; }
ul { margin: 0; padding-left: 1.2rem; }

.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(820px, 100%); }
.center { text-align: center; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 99;
    background: rgba(7, 20, 38, 0.82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-wrap {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    min-height: 82px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
}
.brand img { width: 180px; height: auto; }
.brand div { display: none; }
.main-nav { display: flex; justify-content: center; }
.nav-list, .sub-menu, .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.nav-list {
    display: flex;
    gap: 26px;
    align-items: center;
}
.nav-list > li > a {
    color: rgba(255,255,255,0.88);
    font-weight: 500;
}
.nav-list > li > a:hover, .header-phone:hover { color: #fff; }
.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}
.header-phone {
    color: rgba(255,255,255,0.78);
    font-size: 0.95rem;
}

.mobile-nav-toggle {
    display: none;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
}
.mobile-nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
}

.hero {
    color: #fff;
    padding: 90px 0 70px;
    background-size: cover;
    background-position: center;
}
.hero-grid, .split-grid {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 32px;
    align-items: center;
}
.hero-copy h1 {
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}
.hero-copy p, .page-hero p, .section-head p { color: rgba(255,255,255,0.78); }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(25,181,196,0.14);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.hero-actions, .cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 26px 0;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 14px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
    background: linear-gradient(135deg, var(--primary), #00d2ff);
    color: #041422;
    box-shadow: 0 16px 30px rgba(25, 181, 196, .2);
}
.btn-outline {
    border-color: rgba(255,255,255,.22);
    color: #fff;
    background: transparent;
}
.btn-outline.dark {
    border-color: rgba(8,18,35,.12);
    color: #081223;
}
.btn.full { width: 100%; }

.hero-stats, .metrics-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}
.metric-card {
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
}
.metric-card.centered { text-align: center; background: #fff; box-shadow: var(--shadow); border-color: rgba(8,18,35,.06); }
.metric-card strong {
    display: block;
    font-size: 1.6rem;
    color: inherit;
}
.metric-card span {
    color: inherit;
    opacity: .84;
}
.hero-panel .glass-card {
    padding: 28px;
    border-radius: 28px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 60px rgba(2, 8, 17, 0.35);
}
.hero-panel h3 { color: #fff; font-size: 1.55rem; }
.stack-list { display: grid; gap: 14px; }
.mini-feature {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255,255,255,0.06);
}
.mini-feature span { font-size: 1.4rem; }
.mini-feature strong { display: block; color: #fff; margin-bottom: 6px; }
.mini-feature p { margin: 0; color: rgba(255,255,255,0.72); }

.section {
    padding: 86px 0;
}
.section-alt {
    background: #f5f8fc;
}
.section-head {
    margin-bottom: 30px;
}
.section-head h2 {
    font-size: clamp(1.7rem, 3vw, 3rem);
    max-width: 720px;
}
.row-between {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
}
.card-grid {
    display: grid;
    gap: 22px;
}
.card-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.info-card, .testimonial-card, .content-card, .sidebar-card, .form-card, .timeline-card, .quote-box, .result-card {
    background: #fff;
    border-radius: 24px;
    padding: 26px;
    box-shadow: var(--shadow);
}
.info-card.tall { min-height: 300px; }
.icon-badge {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(25,181,196,.12);
    margin-bottom: 18px;
    font-size: 1.4rem;
}
.inline-link {
    color: var(--primary);
    font-weight: 700;
}
.inline-link.light { color: #fff; }
.feature-list, .faq-list, .mini-list, .contact-list, .result-list {
    display: grid;
    gap: 14px;
}
.feature-line {
    display: flex;
    gap: 14px;
    padding: 16px 18px;
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--shadow);
}
.feature-line span { font-size: 1.4rem; }
.image-card {
    padding: 14px;
    border-radius: 28px;
    background: rgba(255,255,255,0.78);
    box-shadow: var(--shadow);
}
.timeline-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.timeline-card {
    position: relative;
    overflow: hidden;
}
.step-no {
    display: inline-flex;
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 800;
}
.portfolio-grid, .gallery-grid, .media-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.project-card {
    position: relative;
    min-height: 380px;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.project-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 28px;
    background: linear-gradient(180deg, rgba(7,20,38,0) 0%, rgba(7,20,38,.92) 100%);
    color: #fff;
}
.project-overlay h2, .project-overlay h3 { color: #fff; }
.project-overlay span {
    display: inline-flex;
    margin-bottom: 10px;
    color: rgba(255,255,255,.75);
}
.testimonial-card p { font-size: 1.06rem; color: #334155; }
.stars { color: #ffb800; margin-bottom: 12px; }

.faq-item {
    border: 1px solid rgba(8,18,35,.08);
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
}
.faq-question {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 20px 22px;
    text-align: left;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}
.faq-answer {
    display: none;
    padding: 0 22px 20px;
    color: #475569;
}
.faq-item.open .faq-answer { display: block; }

.blog-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.blog-card img, .post-row img, .article-cover {
    width: 100%;
    height: 240px;
    object-fit: cover;
}
.blog-card-body, .post-row > div {
    padding: 22px;
}
.blog-card-body span, .post-meta { color: var(--primary); font-weight: 700; display: inline-block; margin-bottom: 10px; }
.post-list {
    display: grid;
    gap: 18px;
}
.post-row {
    display: grid;
    grid-template-columns: 280px 1fr;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.post-meta-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: rgba(255,255,255,.74);
    font-size: .94rem;
}
.content-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: start;
}
.sidebar-card h3, .sticky-panel h3, .quote-box h3 { margin-bottom: 1rem; }
.mini-list a {
    display: block;
    padding: 14px 16px;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow);
}
.sticky-panel {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 110px;
}
.quote-box {
    background: linear-gradient(180deg, #081223, #10233f);
    color: #fff;
}
.quote-box p { color: rgba(255,255,255,.75); }
.client-logo-box, .map-frame {
    background: #fff;
    border-radius: 24px;
    padding: 20px;
    box-shadow: var(--shadow);
}
.map-frame iframe {
    width: 100%;
    min-height: 260px;
    border: 0;
    border-radius: 18px;
}
.prose > * + * { margin-top: 1rem; }
.prose h2, .prose h3 { margin-top: 1.4rem; }
.prose ul { padding-left: 1.2rem; }
.form-card, .search-form {
    display: grid;
    gap: 16px;
}
.field-grid {
    display: grid;
    gap: 16px;
}
.field-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
label span {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
}
input, select, textarea {
    width: 100%;
    border: 1px solid rgba(8,18,35,.12);
    background: #fff;
    border-radius: 14px;
    padding: 14px 16px;
    font: inherit;
    color: #0e1726;
}
textarea { resize: vertical; }
.hidden-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.search-form { grid-template-columns: 1fr auto; }
.breadcrumb-bar {
    padding: 16px 0;
    background: #081223;
    color: rgba(255,255,255,.72);
}
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: .95rem;
}
.page-hero {
    padding: 72px 0 34px;
    color: #fff;
    background: #081223;
}
.page-hero h1 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 4rem);
}
.page-hero p { max-width: 760px; }
.meta-chip-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}
.meta-chip {
    display: inline-flex;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    color: #fff;
}
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.tag-list span, .share-box a {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(25,181,196,.1);
    color: #0f5160;
    font-weight: 700;
}
.share-box {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
    align-items: center;
}
.result-group + .result-group { margin-top: 24px; }
.result-card strong { display: inline-block; margin-bottom: 8px; }
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}
.social-links a {
    color: rgba(255,255,255,.8);
}
.site-footer {
    background: #081223;
    color: rgba(255,255,255,.78);
    padding-top: 62px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr .8fr 1fr;
    gap: 24px;
}
.footer-brand img { width: 190px; margin-bottom: 18px; }
.site-footer h4 { color: #fff; margin-bottom: 1rem; }
.footer-links a, .footer-contact a {
    display: block;
    padding: 8px 0;
    color: rgba(255,255,255,.75);
}
.footer-contact { list-style: none; padding: 0; }
.footer-contact span {
    display: block;
    color: rgba(255,255,255,.42);
    font-size: .85rem;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 0;
    margin-top: 28px;
    border-top: 1px solid rgba(255,255,255,.08);
}
.floating-whatsapp {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 99;
    padding: 14px 18px;
    border-radius: 999px;
    background: #22c55e;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(34, 197, 94, .3);
}
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}
.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow);
}
.pagination .is-current {
    background: var(--primary);
    color: #051522;
}

@media (max-width: 1080px) {
    .card-grid.three,
    .portfolio-grid,
    .timeline-grid,
    .footer-grid,
    .content-with-sidebar,
    .hero-grid,
    .split-grid {
        grid-template-columns: 1fr;
    }
    .hero-stats, .metrics-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .post-row { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
    body { background: linear-gradient(180deg, #081223 0%, #0b1a2f 28%, #f5f8fc 28%, #f5f8fc 100%); }
    .header-wrap { grid-template-columns: auto auto; }
    .main-nav {
        position: fixed;
        top: 82px;
        left: 16px;
        right: 16px;
        padding: 18px;
        border-radius: 24px;
        background: rgba(7,20,38,.98);
        box-shadow: var(--shadow);
        display: none;
    }
    .main-nav.open { display: block; }
    .nav-list { flex-direction: column; align-items: flex-start; }
    .mobile-nav-toggle { display: block; justify-self: end; }
    .header-actions { display: none; }
    .field-grid.two, .hero-stats, .metrics-strip { grid-template-columns: 1fr; }
    .page-hero, .section { padding: 64px 0; }
    .hero { padding: 72px 0 54px; }
    .footer-bottom, .row-between { flex-direction: column; align-items: flex-start; }
}
