:root {
    --navy: #1f2349;
    --orange: #e94e1b;
    --sky: #49c0e3;
    --white: #ffffff;
    --cream: #fbfaf7;
    --sand: #f4eee8;
    --text: #25304e;
    --muted: #61708e;
    --line: rgba(31, 35, 73, 0.12);
    --shadow: 0 24px 60px rgba(31, 35, 73, 0.12);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(73, 192, 227, 0.16), transparent 28%),
        radial-gradient(circle at top right, rgba(233, 78, 27, 0.12), transparent 24%),
        linear-gradient(180deg, #fffdfa 0%, #f9f6f0 100%);
}

body.menu-open {
    overflow: hidden;
}

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

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

p {
    margin: 0;
    line-height: 1.75;
}

h1,
h2,
h3,
strong,
.brand-text strong,
.button,
.eyebrow,
.card-index,
.stat-chip {
    font-family: 'Sora', sans-serif;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.1;
    color: var(--navy);
}

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

.container {
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
}

.section-pad {
    padding: 4.75rem 0;
}

.site-shell {
    position: relative;
    overflow: hidden;
}

.site-shell::before,
.site-shell::after {
    content: '';
    position: fixed;
    inset: auto auto 10% -120px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(73, 192, 227, 0.08);
    filter: blur(18px);
    pointer-events: none;
}

.site-shell::after {
    inset: 12% -100px auto auto;
    background: rgba(233, 78, 27, 0.08);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(16px);
    background: linear-gradient(180deg, rgba(255, 253, 250, 0.96) 0%, rgba(255, 252, 247, 0.88) 100%);
    box-shadow: 0 10px 28px rgba(31, 35, 73, 0.05);
}

.site-header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -34px;
    height: 34px;
    background: linear-gradient(180deg, rgba(255, 252, 247, 0.88) 0%, rgba(255, 252, 247, 0) 100%);
    pointer-events: none;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 92px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
}

.brand-logo {
    width: 168px;
    height: auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.brand-text small {
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: lowercase;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.4rem;
}

.site-nav a {
    padding: 0.8rem 1rem;
    border-radius: 999px;
    color: var(--navy);
    font-weight: 700;
    font-size: 0.94rem;
    transition: 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
    background: var(--navy);
    color: var(--white);
}

.nav-toggle {
    display: none;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 16px;
    background: var(--navy);
    padding: 0.9rem;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 0.33rem 0;
    background: var(--white);
    border-radius: 999px;
}

.hero-grid,
.split-grid,
.footer-grid,
.contact-grid {
    display: grid;
    gap: 2rem;
}

.hero-grid,
.split-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
}

.hero-copy h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
    letter-spacing: -0.06em;
    max-width: 11ch;
}

.lead {
    margin-top: 1.4rem;
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 60ch;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1rem;
    color: var(--orange);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: '';
    width: 36px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--sky), var(--orange));
}

.cta-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0.95rem 1.4rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 700;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 16px 30px rgba(233, 78, 27, 0.22);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(31, 35, 73, 0.16);
    color: var(--navy);
}

.hero-panel {
    position: relative;
    min-height: 520px;
}

.hero-card,
.page-hero-card,
.highlight-card,
.contact-card,
.contact-form,
.service-card,
.feature-item,
.value-card,
.neighborhood-panel {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(31, 35, 73, 0.08);
    box-shadow: var(--shadow);
}

.hero-card {
    position: relative;
    height: 100%;
    border-radius: var(--radius-xl);
    padding: 2rem;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(244, 238, 232, 0.88)),
        var(--white);
}

.hero-card::before {
    content: '';
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(31, 35, 73, 0.96) 0%, rgba(31, 35, 73, 0.82) 58%, rgba(31, 35, 73, 0) 59%);
    opacity: 0.92;
}

.hero-card::after {
    content: '';
    position: absolute;
    inset: 1.4rem;
    border: 1px dashed rgba(73, 192, 227, 0.38);
    border-radius: calc(var(--radius-xl) - 8px);
}

.hero-card h2 {
    position: relative;
    z-index: 1;
    max-width: 10ch;
    font-size: clamp(2rem, 4vw, 3rem);
}

.hero-card p,
.hero-tags,
.stat-chip {
    position: relative;
    z-index: 1;
}

.hero-card p {
    margin-top: 1rem;
    max-width: 34ch;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.5rem;
}

.hero-tags span,
.stat-chip {
    display: inline-flex;
    width: fit-content;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    color: var(--navy);
    background: rgba(73, 192, 227, 0.14);
    font-size: 0.78rem;
    font-weight: 700;
}

.hero-float {
    position: absolute;
    left: 1.3rem;
    bottom: 1.3rem;
    padding: 0.8rem 1rem;
    border-radius: 18px;
    background: var(--navy);
    color: var(--white);
    font-family: 'Sora', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-head {
    margin-bottom: 1.5rem;
}

.section-head h2 {
    max-width: 14ch;
    font-size: clamp(2rem, 3vw, 3.2rem);
    letter-spacing: -0.05em;
}

.cards-grid,
.values-grid {
    display: grid;
    gap: 1.35rem;
}

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

.service-card {
    position: relative;
    padding: 1.7rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: auto -40px -40px auto;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(73, 192, 227, 0.12);
}

.service-card h3 {
    margin-top: 0.8rem;
    font-size: 1.55rem;
}

.service-card p {
    margin-top: 1rem;
    color: var(--muted);
}

.service-card a {
    display: inline-flex;
    margin-top: 1.4rem;
    color: var(--orange);
    font-weight: 800;
}

.card-index {
    color: var(--navy);
    font-size: 0.8rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.tonal-section,
.soft-panel {
    background: linear-gradient(180deg, rgba(73, 192, 227, 0.08), rgba(255, 255, 255, 0));
}

.feature-stack {
    display: grid;
    gap: 1rem;
}

.feature-item,
.value-card {
    padding: 1.4rem;
    border-radius: var(--radius-md);
}

.feature-item strong,
.value-card h3 {
    display: block;
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.neighborhood-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    border-radius: var(--radius-xl);
    padding: 2rem;
    background:
        linear-gradient(120deg, rgba(31, 35, 73, 0.95), rgba(31, 35, 73, 0.88)),
        var(--navy);
    color: var(--white);
}

.neighborhood-panel h2,
.neighborhood-panel .eyebrow,
.neighborhood-panel p {
    color: var(--white);
}

.neighborhood-panel .eyebrow::before {
    background: linear-gradient(90deg, var(--sky), var(--white));
}

.page-hero-card {
    padding: 2.3rem;
    border-radius: var(--radius-xl);
}

.page-hero-card h1 {
    max-width: 13ch;
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    letter-spacing: -0.05em;
}

.service-layout article p {
    margin-bottom: 1.2rem;
}

.check-list {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.4rem;
}

.check-list li {
    position: relative;
    padding-left: 1.8rem;
}

.check-list li::before {
    content: '';
    position: absolute;
    top: 0.55rem;
    left: 0;
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sky), var(--orange));
}

.highlight-card {
    border-radius: var(--radius-xl);
    padding: 2rem;
}

.highlight-card h3 {
    margin: 1rem 0 0.8rem;
    font-size: 2rem;
}

.mini-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.8rem;
}

.mini-stats strong {
    display: block;
    color: var(--orange);
    font-size: 1.5rem;
}

.mini-stats span {
    display: block;
    margin-top: 0.3rem;
    color: var(--muted);
}

.compact-center {
    text-align: center;
}

.compact-center h2 {
    margin-inline: auto;
}

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

.contact-card,
.contact-form {
    border-radius: var(--radius-xl);
    padding: 2rem;
}

.contact-list {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.contact-list li {
    display: grid;
    gap: 0.2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

.contact-list span {
    color: var(--muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.phone-stack {
    display: grid;
    gap: 0.35rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    width: fit-content;
}

.social-link-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex: 0 0 auto;
}

.social-link-instagram {
    color: var(--orange);
    font-weight: 700;
}

.field,
.field-row {
    display: grid;
    gap: 0.5rem;
}

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

.contact-form {
    gap: 1rem;
}

.contact-form h2,
.contact-card h2 {
    margin-bottom: 1.4rem;
}

.field + .field,
.field-row,
.field-row + .field {
    margin-top: 1rem;
}

label {
    font-weight: 700;
    color: var(--navy);
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid rgba(31, 35, 73, 0.16);
    border-radius: 16px;
    padding: 0.95rem 1rem;
    font: inherit;
    color: var(--text);
    background: rgba(255, 255, 255, 0.95);
}

textarea {
    resize: vertical;
}

small {
    color: #bc3412;
    font-weight: 700;
}

.form-alert {
    padding: 1rem 1.1rem;
    border-radius: 16px;
    margin-bottom: 1rem;
}

.form-alert.success {
    background: rgba(73, 192, 227, 0.12);
    color: var(--navy);
}

.site-footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(31, 35, 73, 0.08);
    background: rgba(255, 255, 255, 0.72);
}

.footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    align-items: start;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-brand strong {
    display: block;
    color: var(--orange);
    font-size: 1.3rem;
}

.footer-brand-logo {
    width: 132px;
    height: auto;
}

.footer-brand p,
.footer-copy,
.footer-links a,
.footer-links li {
    color: var(--muted);
}

.footer-copy {
    max-width: 30ch;
    margin-top: 1rem;
}

.footer-links {
    display: grid;
    gap: 0.55rem;
    margin-top: 1rem;
}

.footer-phone-link {
    display: inline-flex;
}

.footer-links a:hover {
    color: var(--orange);
}

.whatsapp-sticky {
    position: fixed;
    right: 1.4rem;
    bottom: 1.4rem;
    z-index: 45;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(180deg, #2ee071 0%, #1fb95b 100%);
    color: var(--white);
    box-shadow: 0 18px 36px rgba(31, 185, 91, 0.34);
    transition: transform 180ms ease, box-shadow 180ms ease;
    animation: whatsapp-pulse 2.6s ease-in-out infinite;
}

.whatsapp-sticky:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 22px 42px rgba(31, 185, 91, 0.42);
}

.whatsapp-sticky img {
    width: 30px;
    height: 30px;
    display: block;
}

@keyframes whatsapp-pulse {
    0%, 100% {
        box-shadow: 0 18px 36px rgba(31, 185, 91, 0.34);
    }

    50% {
        box-shadow: 0 18px 36px rgba(31, 185, 91, 0.34), 0 0 0 10px rgba(46, 224, 113, 0.12);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 550ms ease, transform 550ms ease;
}

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

@media (max-width: 1080px) {
    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-grid,
    .split-grid,
    .footer-grid,
    .contact-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        min-height: 420px;
    }
}

@media (max-width: 860px) {
    .nav-toggle {
        display: inline-block;
    }

    .site-nav {
        position: fixed;
        top: 92px;
        right: 1rem;
        left: 1rem;
        display: none;
        flex-direction: column;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(31, 35, 73, 0.08);
        border-radius: 24px;
        box-shadow: var(--shadow);
    }

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

    .header-row {
        min-height: 80px;
    }
}

@media (max-width: 720px) {
    .section-pad {
        padding: 3.7rem 0;
    }

    .hero-copy h1,
    .page-hero-card h1,
    .section-head h2 {
        max-width: unset;
    }

    .cards-grid,
    .values-grid,
    .field-row {
        grid-template-columns: 1fr;
    }

    .neighborhood-panel {
        align-items: start;
        flex-direction: column;
    }

    .hero-card::before {
        width: 180px;
        height: 180px;
    }

    .whatsapp-sticky {
        right: 1rem;
        bottom: 1rem;
        width: 58px;
        height: 58px;
    }

    .whatsapp-sticky img {
        width: 27px;
        height: 27px;
    }
}
