:root {
    --bg: #f4f8ff;
    --surface: #ffffff;
    --surface-muted: #f8fbff;
    --ink: #0b1a32;
    --ink-soft: #4a5b78;
    --line: #d6e1f2;
    --brand-navy: #0f2c53;
    --brand-blue: #1f67c6;
    --brand-cyan: #0f9a95;
    --brand-gold: #b88336;
    --success: #1e9f52;
    --shadow-soft: 0 16px 40px rgba(12, 32, 60, 0.09);
    --shadow-hard: 0 26px 54px rgba(12, 32, 60, 0.16);
    --radius-lg: 20px;
    --radius-md: 14px;
    --container: 1160px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Manrope", sans-serif;
    color: var(--ink);
    line-height: 1.7;
    background:
        radial-gradient(circle at 8% 0%, rgba(79, 185, 250, 0.2), rgba(79, 185, 250, 0) 33%),
        radial-gradient(circle at 90% 14%, rgba(15, 154, 149, 0.15), rgba(15, 154, 149, 0) 38%),
        radial-gradient(circle at 74% 100%, rgba(184, 131, 54, 0.13), rgba(184, 131, 54, 0) 36%),
        var(--bg);
    overflow-x: hidden;
}

.grain {
    pointer-events: none;
    position: fixed;
    inset: 0;
    background-image: repeating-radial-gradient(circle at 0 0, transparent 0, transparent 11px, rgba(17, 58, 109, 0.018) 12px);
    z-index: -1;
}

.preloader {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    background: linear-gradient(160deg, #f8fbff, #eef4ff);
    z-index: 120;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
    color: #18335b;
    position: relative;
}

.preloader-inner::before {
    content: "";
    position: absolute;
    inset: -18px;
    border: 2px solid rgba(31, 103, 198, 0.22);
    border-top-color: rgba(15, 154, 149, 0.65);
    border-radius: 26px;
    animation: spin-ring 1.2s linear infinite;
}

.preloader-inner img {
    width: min(190px, 50vw);
    height: auto;
    filter: drop-shadow(0 10px 22px rgba(17, 44, 83, 0.2));
}

.preloader-inner p {
    margin: 16px 0 0;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.container {
    width: min(var(--container), 92vw);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(14px);
    background: rgba(248, 252, 255, 0.84);
    border-bottom: 1px solid rgba(12, 38, 77, 0.08);
}

.nav-wrap {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.brand-logo {
    width: clamp(136px, 15vw, 180px);
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(13, 39, 77, 0.12);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    padding: 2px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 27px;
    height: 2px;
    margin: 5px 0;
    background: var(--ink);
}

.nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav a {
    text-decoration: none;
    color: #1a2c47;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.nav a.active {
    color: var(--brand-blue);
}

.hero {
    padding: 88px 0 58px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 34px;
    align-items: start;
}

.hero-copy h1,
h1,
h2,
h3,
h4,
summary {
    font-family: "Sora", sans-serif;
}

.hero-copy h1 {
    margin: 12px 0 18px;
    line-height: 1.15;
    font-size: clamp(2rem, 4.7vw, 3.45rem);
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, #071f3b 3%, #124b86 48%, #0f9a95 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1px solid #c6d8f5;
    color: #1e3f6a;
    background: linear-gradient(145deg, #ffffff, #f4f9ff);
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 800;
}

.lead {
    color: var(--ink-soft);
    font-size: 1.08rem;
    max-width: 66ch;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0 30px;
}

.pill {
    border: 1px solid #cfdcf1;
    border-radius: 999px;
    padding: 8px 14px;
    background: linear-gradient(170deg, #ffffff, #f2f8ff);
    font-size: 0.88rem;
    font-weight: 700;
    color: #20416d;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.trust-row {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.trust-row span {
    font-size: 0.88rem;
    color: #28456d;
    font-weight: 700;
    position: relative;
    padding-left: 14px;
}

.trust-row span::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand-cyan);
    position: absolute;
    left: 0;
    top: 9px;
}

.btn {
    display: inline-block;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(140deg, var(--brand-navy), var(--brand-blue));
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 12px 22px;
    font-size: 0.94rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(14, 63, 126, 0.24);
}

.btn-outline {
    background: #ffffff;
    color: #17345f;
    border-color: #c8daf4;
}

.btn-small {
    padding: 10px 17px;
}

.btn-whatsapp {
    background: linear-gradient(140deg, #22b55f, #16954b);
    border-color: #148643;
    color: #ffffff;
}

.btn-whatsapp:hover {
    box-shadow: 0 16px 28px rgba(13, 138, 62, 0.3);
}

.btn-whatsapp-outline {
    border-color: #14944a;
    color: #10753b;
}

.btn-whatsapp-outline:hover {
    background: linear-gradient(140deg, #22b55f, #16954b);
    border-color: #148643;
    color: #ffffff;
}

.nav a.btn-whatsapp,
.nav a.btn-whatsapp:visited,
.nav a.btn-whatsapp:hover,
.nav a.btn-whatsapp:focus {
    color: #ffffff;
}

.hero-stats {
    background: linear-gradient(155deg, #081f3c, #0f3667 68%, #0c6b88);
    color: #ecf4ff;
    border: 1px solid rgba(122, 173, 248, 0.35);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-hard);
    padding: 28px;
}

.hero-stats h3 {
    margin-top: 0;
    margin-bottom: 14px;
    font-size: 1.25rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid rgba(196, 221, 255, 0.27);
}

.stat-item:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.stat-item strong {
    font-size: 0.97rem;
}

.stat-item span {
    color: rgba(237, 248, 255, 0.8);
    font-size: 0.88rem;
    text-align: right;
}

.section {
    padding: 72px 0;
}

.section-head {
    margin-bottom: 24px;
    max-width: 760px;
}

.section-head h2 {
    margin: 0 0 10px;
    font-size: clamp(1.5rem, 3.2vw, 2.2rem);
    letter-spacing: -0.01em;
    color: #0d2a4e;
}

.section-head p {
    margin: 0;
    color: var(--ink-soft);
}

.grid {
    display: grid;
    gap: 18px;
}

.service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: linear-gradient(170deg, #ffffff, #f5f9ff);
    padding: 22px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 40px rgba(15, 44, 80, 0.16);
    border-color: #bfd3f1;
}

.card h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    color: #0f2d56;
}

.card p {
    margin: 0;
    color: var(--ink-soft);
}

.project-list {
    margin: 0;
    padding-left: 20px;
    display: grid;
    gap: 8px;
    color: #20375c;
}

.city-seo-grid .card {
    min-height: 100%;
}

.keyword-chip-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.keyword-chip {
    display: inline-flex;
    align-items: center;
    border: 1px solid #c6d8f2;
    background: linear-gradient(165deg, #ffffff, #edf4ff);
    color: #15355f;
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.35;
}

.office-card p {
    margin: 0 0 14px;
}

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

.city-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
}

.city-list a {
    display: block;
    text-decoration: none;
    color: #152f56;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.city-list a:hover {
    transform: translateY(-2px);
    border-color: #9ac0f5;
    box-shadow: 0 14px 26px rgba(21, 51, 92, 0.12);
}

.city-list span {
    display: block;
    margin-top: 4px;
    color: #526886;
    font-size: 0.84rem;
    line-height: 1.45;
}

.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(135deg, rgba(15, 154, 149, 0.16), rgba(31, 103, 198, 0.16));
    color: #17406e;
}

.faq {
    display: grid;
    gap: 14px;
}

.faq details {
    border-radius: 14px;
    border: 1px solid var(--line);
    padding: 15px 17px;
    background: linear-gradient(170deg, #ffffff, #f6faff);
}

.faq summary {
    cursor: pointer;
    font-weight: 700;
    color: #12335f;
}

.faq p {
    color: #4f607a;
    margin: 10px 0 0;
}

.cta {
    border-radius: 24px;
    padding: 38px;
    color: #f0f7ff;
    background:
        linear-gradient(135deg, #091d38, #0f3767 54%, #0f6f87),
        radial-gradient(circle at 90% 15%, rgba(184, 131, 54, 0.5), rgba(184, 131, 54, 0));
    box-shadow: var(--shadow-hard);
    border: 1px solid rgba(145, 190, 255, 0.28);
}

.cta h2 {
    margin-top: 0;
    margin-bottom: 10px;
}

.cta p {
    margin-top: 0;
    color: rgba(235, 246, 255, 0.88);
}

.cta .btn {
    margin-top: 6px;
    background: linear-gradient(140deg, #e28f2f, #b36f24);
    color: #fff;
}

.cta .btn-whatsapp {
    background: linear-gradient(140deg, #22b55f, #16954b);
    border-color: #148643;
}

.breadcrumb {
    margin-bottom: 14px;
    font-size: 0.9rem;
    color: #576b87;
}

.breadcrumb a {
    text-decoration: none;
    color: #355988;
}

.site-footer {
    margin-top: 66px;
    background: linear-gradient(160deg, #071f3c, #0e315c 70%, #0f5370);
    color: #e5f1ff;
    border-top: 1px solid rgba(176, 207, 255, 0.2);
    padding: 44px 0 22px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 20px;
}

.site-footer h3,
.site-footer h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #f3f8ff;
}

.site-footer p {
    color: rgba(230, 242, 255, 0.82);
}

.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer li {
    margin-bottom: 8px;
}

.site-footer a {
    color: #d4e8ff;
    text-decoration: none;
}

.footer-bottom {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(176, 207, 255, 0.24);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

@keyframes spin-ring {
    to {
        transform: rotate(1turn);
    }
}

@media (max-width: 980px) {
    .hero-grid,
    .city-layout {
        grid-template-columns: 1fr;
    }

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

    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .hero {
        padding-top: 72px;
    }

    .menu-toggle {
        display: inline-block;
    }

    .nav {
        position: absolute;
        top: 76px;
        left: 4vw;
        right: 4vw;
        padding: 14px;
        border-radius: 14px;
        border: 1px solid #cddcf2;
        box-shadow: var(--shadow-soft);
        background: rgba(255, 255, 255, 0.99);
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .nav.open {
        display: flex;
    }

    .service-grid,
    .project-grid,
    .process-grid,
    .city-list {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }
}
