:root {
    --bg-color: #ffffff;
    --text-primary: #0f0f1a;
    --text-secondary: #3b3b45;
    --navy: #07053d;
    --magenta: #ffc800; /* warm yellow accent */
    --red: #f31830;
    --yellow: #f8b45f;
    --turquoise: #2f9f9a;
    --olive: #7b735c;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Poppins', 'Lato', sans-serif;
    --spacing-unit: 1.75rem;
    --bg: #fbf7f1;
    --ink: #1e1f22;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg-color);
}

/* Animated background */
canvas#bg {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
    pointer-events: none;
}

.vignette {
    position: fixed;
    inset: -20%;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(
        closest-side at 50% 50%,
        rgba(251, 247, 241, 0) 0%,
        rgba(251, 247, 241, 0.55) 60%,
        rgba(251, 247, 241, 0.9) 100%
    );
}

@media (prefers-reduced-motion: reduce) {
    .vignette {
        display: none;
    }
}

h1,
h2,
h3,
h4 {
    color: var(--text-primary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
    position: relative;
    z-index: 2;
}

/* Header */
header {
    padding: 1.75rem 0;
    width: 100%;
    position: relative;
    z-index: 10;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    position: relative;
}

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

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--navy) 50%, var(--yellow) 50%);
    box-shadow: 0 10px 25px rgba(7, 5, 61, 0.18);
}

.logo {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--text-primary);
}

.logo-name {
    color: var(--magenta);
}

.logo-sep {
    margin: 0 0.4rem;
    color: var(--text-primary);
}

.logo-sub {
    color: var(--text-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    padding: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-toggle:active {
    transform: scale(0.98);
    
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.25s ease;
}

.nav-link:hover {
    color: var(--magenta);
}

/* Hero Section */
.hero {
    padding: 4rem 0 3rem;

}

.hero h1 {
    font-size: 4em;
    margin: 1em 0 0.5em;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
    justify-items: center;
}

.hero-text {
    max-width: 880px;
    text-align: center;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

h1 {
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: clamp(2.6rem, 4vw, 3.8rem);
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.highlight {
    color: var(--magenta);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.shape-cluster {
    display: flex;
    justify-content: center;
}

.shape-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 120px);
    grid-template-rows: repeat(3, 120px);
    gap: 14px;
}

.shape {
    width: 100%;
    height: 100%;
}

.navy-pill {
    grid-area: 1 / 1 / 2 / 2;
    background: var(--navy);
    border-radius: 40px 10px 40px 10px;
}

.olive-diamond {
    grid-area: 1 / 2 / 2 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.olive-diamond::before {
    content: '';
    width: 90px;
    height: 90px;
    background: var(--olive);
    transform: rotate(45deg);
    display: block;
}

.yellow-half {
    grid-area: 1 / 3 / 3 / 4;
    background: var(--yellow);
    border-radius: 0 70px 70px 0;
}

.outline-square {
    grid-area: 2 / 1 / 3 / 2;
    border: 12px solid var(--red);
    background: #ffffff;
    border-radius: 6px;
}

.magenta-circle {
    grid-area: 2 / 2 / 3 / 3;
    background: var(--magenta);
    border-radius: 50%;
}

.magenta-triangle {
    grid-area: 3 / 2 / 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.magenta-triangle::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-top: 90px solid var(--magenta);
}

.red-corner {
    grid-area: 3 / 1 / 4 / 2;
    background: var(--red);
    border-radius: 0 60px 60px 0;
}

.red-bottom {
    grid-area: 3 / 3 / 4 / 4;
    background: var(--red);
    border-radius: 60px 0 0 0;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    justify-content: center;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    max-width: 520px;
    margin-top: 3em;
    margin-left: auto;
    margin-right: auto;
    justify-items: center;
}

.stat {
    background: #ffffff;
    border: 1px solid #ececf4;
    border-radius: 14px;
    padding: 1rem 1.25rem;
    box-shadow: 0 12px 40px rgba(15, 15, 26, 0.05);
}

.stat-number {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--magenta);
}

.stat-label {
    display: block;
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    font-family: var(--font-sans);
    letter-spacing: 0.02em;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.25s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-solid {
    background: var(--magenta);
    color: #ffffff;
    border-color: var(--magenta);
    

}

.btn-solid:hover {
    background: #e2b200;
    border-color: #e2b200;
    transform: translateY(-1px);
    
}

.btn-outline {
    border-color: var(--magenta);
    
    background: transparent;
}

.btn-outline:hover {
    background: var(--magenta);
    color: var(--text-primary);
    transform: translateY(-1px);
    
}

/* Sections General */
section {
    padding: 4.5rem 0;
    text-align: center;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-sans);
    font-weight: 800;
    letter-spacing: -0.01em;
}

/* About Gestalt */
.intro-text {
    font-size: 1.05rem;
    max-width: 820px;
    text-align: center;
    line-height: 1.75;
    margin-left: auto;
    margin-right: auto;
}

/* Bio Section with Photo */
.bio-section {
    background: transparent;
}

.bio-container {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 3.5rem;
    align-items: center;
    justify-items: center;
    text-align: left;
}

.bio-image-wrapper {
    position: relative;
}

.bio-image img {
    width: 100%;
    height: auto;
    max-width: 460px;
    border-radius: 12px;
    display: block;
    object-fit: cover;
    box-shadow: 0 18px 40px rgba(7, 5, 61, 0.08);
}

#oferta {
    margin-top:6em;
}

/* Offer */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.offer-card {
    padding: 2rem;



    text-align: center;
}

.offer-card:hover {

}

.offer-card h3 {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    margin-bottom: 0.85rem;
    font-weight: 700;
}

.offer-card h3::after {
    content: '';
    display: block;
    width: 46px;
    height: 3px;
    background: var(--magenta);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

/* Contact */
.contact-section {
    text-align: center;
    max-width: 820px;
    margin: 6em auto;
}

.contact-info {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    line-height: 1.9;
    color: var(--text-secondary);
}

footer {
    padding: 3rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .shape-grid {
        grid-template-columns: repeat(3, 100px);
        grid-template-rows: repeat(3, 100px);
        gap: 12px;
    }
}

@media (max-width: 768px) {

    .hero h1 {
    font-size: 3em;
    margin: 1em 0 0.5em;
}
    header {
        padding: 1.25rem 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-actions {
        position: fixed;
        inset: 0;
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: #ffffff;
        padding: 24px;
        gap: 0.9rem;
        z-index: 30;
    }

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

    .hero {
        padding: 3rem 0 2rem;
    }

    h1 {
        font-size: 2.3rem;
    }

    .hero-stats {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .hero-stats > :last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
    }

    .bio-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .shape-grid {
        grid-template-columns: repeat(3, 90px);
        grid-template-rows: repeat(3, 90px);
        gap: 10px;
    }
}
