: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;
}

.intro-text {
    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));
}

.compact-pricing-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));
}

.business-grid {
    grid-template-columns: repeat(3, 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);
}

.business-detail-card span {
    display: block;
    margin-bottom: 7px;
    color: #54708f;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.business-detail-card strong {
    display: block;
    margin-bottom: 6px;
    color: #0f2d56;
    font-family: "Sora", sans-serif;
    font-size: 1rem;
}

.business-detail-card a {
    color: var(--brand-blue);
    font-weight: 800;
    text-decoration: none;
}

.price-card strong {
    display: block;
    margin: 10px 0;
    color: #0f766e;
    font-family: "Sora", sans-serif;
    font-size: 1.06rem;
}

.text-link {
    display: inline-flex;
    margin-top: 14px;
    color: var(--brand-blue);
    font-weight: 800;
    text-decoration: none;
}

.text-link:hover {
    color: var(--brand-cyan);
}

.legal-page {
    padding: 68px 0 22px;
}

.legal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 22px;
    align-items: start;
}

.legal-content {
    display: grid;
    gap: 16px;
}

.legal-content .card h2 {
    margin: 0 0 8px;
    color: #0f2d56;
    font-size: 1.18rem;
}

.legal-content .card p {
    margin-bottom: 10px;
}

.legal-content .card p:last-child {
    margin-bottom: 0;
}

.legal-content ul {
    margin: 0;
    padding-left: 20px;
    color: #20375c;
}

.legal-aside {
    position: sticky;
    top: 108px;
}

.legal-aside .card {
    display: grid;
    gap: 10px;
}

.legal-aside p {
    margin: 0;
}

.policy-links {
    display: grid;
    gap: 8px;
    margin-top: 10px;
}

.policy-links a {
    text-decoration: none;
    color: #143762;
    font-weight: 800;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 9px 11px;
    background: #fff;
}

.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;
}

.astro-hero {
    position: relative;
    padding: 68px 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 16%, rgba(184, 131, 54, 0.18), rgba(184, 131, 54, 0) 30%),
        radial-gradient(circle at 88% 8%, rgba(15, 154, 149, 0.14), rgba(15, 154, 149, 0) 32%),
        linear-gradient(135deg, #fffaf2, #eef8ff 58%, #f7fbff);
}

.astro-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 34px;
    align-items: center;
}

.astro-copy {
    position: relative;
}

.astro-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: #102a50;
    font-family: "Sora", sans-serif;
    font-weight: 900;
}

.astro-logo span {
    display: inline-grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    color: #ffffff;
    background:
        radial-gradient(circle at 68% 22%, #ffdca7 0 10px, transparent 11px),
        linear-gradient(145deg, #102a50, #0f9a95);
    box-shadow: 0 18px 32px rgba(15, 42, 80, 0.22);
}

.astro-copy h1 {
    margin: 14px 0;
    max-width: 720px;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.08;
    color: #0b1a32;
}

.astro-countdown {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    border: 1px solid rgba(184, 131, 54, 0.34);
    border-radius: 16px;
    background: #ffffff;
    padding: 12px 16px;
    box-shadow: var(--shadow-soft);
}

.astro-countdown span {
    color: #6a4a22;
    font-weight: 800;
}

.astro-countdown strong {
    color: #0f2d56;
    font-family: "Sora", sans-serif;
    font-size: 1.5rem;
}

.astro-stars span {
    position: absolute;
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #b88336;
    box-shadow: 0 0 22px rgba(184, 131, 54, 0.55);
}

.astro-stars span:nth-child(1) {
    top: 2%;
    right: 18%;
}

.astro-stars span:nth-child(2) {
    top: 48%;
    right: 4%;
    width: 7px;
    height: 7px;
}

.astro-stars span:nth-child(3) {
    bottom: 10%;
    left: 12%;
    width: 8px;
    height: 8px;
}

.astro-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    border: 1px solid rgba(15, 42, 80, 0.12);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-hard);
    padding: clamp(20px, 4vw, 30px);
}

.astro-form h2,
.astro-form p,
.astro-form .wide,
.astro-form button,
.astro-form small {
    grid-column: 1 / -1;
}

.astro-form h2 {
    margin: 0;
    color: #0f2d56;
}

.astro-form p {
    margin: 0 0 4px;
    color: var(--ink-soft);
}

.astro-form label {
    display: grid;
    gap: 6px;
    color: #17345f;
    font-weight: 800;
}

.astro-form input,
.astro-form select,
.astro-form textarea {
    width: 100%;
    border: 1px solid #cddcf2;
    border-radius: 12px;
    background: #ffffff;
    padding: 12px 13px;
    color: var(--ink);
    font: inherit;
}

.astro-form textarea {
    min-height: 92px;
    resize: vertical;
}

.astro-pay-btn {
    width: 100%;
    cursor: pointer;
}

.astro-form small {
    color: var(--ink-soft);
    text-align: center;
}

.thankyou-section {
    min-height: 72vh;
    display: grid;
    align-items: center;
}

.thankyou-wrap {
    display: grid;
    place-items: center;
}

.thankyou-card {
    width: min(820px, 100%);
    border: 1px solid rgba(30, 159, 82, 0.25);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 252, 255, 0.96)),
        radial-gradient(circle at 88% 10%, rgba(30, 159, 82, 0.16), rgba(30, 159, 82, 0));
    box-shadow: var(--shadow-hard);
    padding: clamp(24px, 5vw, 46px);
}

.thankyou-icon {
    display: inline-grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: linear-gradient(140deg, #20b85d, #128f48);
    color: #ffffff;
    font-size: 2rem;
    font-weight: 900;
    box-shadow: 0 16px 28px rgba(18, 143, 72, 0.25);
}

.thankyou-card h1 {
    margin: 14px 0 10px;
    font-size: clamp(2rem, 4.3vw, 3.2rem);
    line-height: 1.12;
    color: #0b1a32;
}

.thankyou-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 26px 0;
}

.thankyou-details div {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff;
    padding: 14px;
}

.thankyou-details span {
    display: block;
    color: #60708a;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.thankyou-details strong {
    display: block;
    margin-top: 5px;
    color: #0f2d56;
    overflow-wrap: anywhere;
}

.thankyou-note {
    border-left: 4px solid var(--success);
    background: #f0fbf4;
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 24px;
}

.thankyou-note h2 {
    margin: 0 0 6px;
    font-size: 1.1rem;
}

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

.astrology-thanks .thankyou-card {
    border-color: rgba(184, 131, 54, 0.28);
}

.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,
    .astro-layout {
        grid-template-columns: 1fr;
    }

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

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

    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-aside {
        position: static;
    }

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

    .thankyou-details {
        grid-template-columns: 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,
    .compact-pricing-grid,
    .project-grid,
    .process-grid,
    .business-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;
    }

    .astro-form {
        grid-template-columns: 1fr;
    }
}
