/* =========================
   CONFIGURACIÓN GENERAL
========================= */

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

:root {

    --beige: #F2E6D8;

    --green: #78835A;

    --purple: #6B587D;

    --gold: #C5A15A;

    --dark: #20251F;

    --cream: #FFF9F1;

    --white: #FFFFFF;

}

body {

    font-family: "DM Sans", sans-serif;

    background: var(--beige);

    color: var(--dark);

}


/* =========================
   MENÚ LATERAL
========================= */

.sidebar {

    position: fixed;

    left: 0;

    top: 0;

    width: 250px;

    height: 100vh;

    padding: 45px 30px;

    background: var(--beige);

    border-right: 1px solid rgba(32, 37, 31, 0.15);

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    z-index: 1000;

}


.logo-area {

    text-align: center;

}


.logo-area img {

    width: 120px;

    max-height: 100px;

    object-fit: contain;

}


.logo-area p {

    font-size: 11px;

    letter-spacing: 2px;

    margin-top: 8px;

    color: var(--purple);

}


.sidebar nav {

    display: flex;

    flex-direction: column;

    gap: 18px;

}


.sidebar nav a {

    text-decoration: none;

    color: var(--dark);

    font-family: "Playfair Display", serif;

    font-size: 16px;

    transition: 0.3s;

    position: relative;

}


.sidebar nav a::before {

    content: "";

    width: 0;

    height: 1px;

    background: var(--gold);

    position: absolute;

    left: 0;

    bottom: -5px;

    transition: 0.3s;

}


.sidebar nav a:hover {

    color: var(--purple);

}


.sidebar nav a:hover::before {

    width: 35px;

}


.sidebar-footer {

    text-align: center;

}


.sidebar-footer span {

    display: block;

    font-weight: 700;

    letter-spacing: 3px;

    color: var(--green);

}


.sidebar-footer small {

    display: block;

    margin-top: 6px;

    font-size: 10px;

}



/* =========================
   CONTENIDO
========================= */

.main-content {

    margin-left: 250px;

    padding: 0 70px;

}


.section {

    min-height: 100vh;

    padding: 110px 20px;

    max-width: 1200px;

    margin: auto;

}



/* =========================
   HERO
========================= */

.hero {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 80px;

}


.hero-text {

    width: 50%;

}


.small-title {

    color: var(--gold);

    letter-spacing: 4px;

    font-size: 12px;

    font-weight: 600;

}


.hero h1 {

    font-family: "Playfair Display", serif;

    font-size: clamp(80px, 12vw, 170px);

    line-height: 0.9;

    color: var(--purple);

    margin: 20px 0 10px;

}


.hero h2 {

    font-size: 25px;

    color: var(--green);

    margin-bottom: 25px;

}


.hero p {

    max-width: 550px;

    line-height: 1.8;

    color: #555;

}


.button {

    display: inline-block;

    margin-top: 30px;

    padding: 14px 28px;

    background: var(--purple);

    color: white;

    border: none;

    text-decoration: none;

    cursor: pointer;

    border-radius: 30px;

    transition: 0.3s;

}


.button:hover {

    background: var(--green);

    transform: translateY(-3px);

}


.hero-character {

    width: 45%;

    display: flex;

    justify-content: center;

}


.blob {

    width: 400px;

    height: 480px;

    background: var(--green);

    border-radius: 48% 52% 55% 45% / 45% 40% 60% 55%;

    display: flex;

    align-items: flex-end;

    justify-content: center;

    overflow: hidden;

    position: relative;

}


.blob::before {

    content: "";

    position: absolute;

    width: 330px;

    height: 330px;

    background: var(--gold);

    border-radius: 50%;

    top: -90px;

    right: -80px;

}


.blob img {

    width: 90%;

    height: 90%;

    object-fit: contain;

    position: relative;

    z-index: 2;

}



/* =========================
   TÍTULOS
========================= */

.section-title {

    display: flex;

    align-items: center;

    gap: 20px;

    margin-bottom: 55px;

}


.section-title span {

    font-size: 13px;

    color: var(--gold);

    letter-spacing: 2px;

}


.section-title h2 {

    font-family: "Playfair Display", serif;

    font-style: italic;

    font-size: 48px;

    font-weight: 500;

}


.section-title::after {

    content: "";

    height: 1px;

    flex: 1;

    background: var(--gold);

    margin-left: 20px;

}



/* =========================
   TARJETAS
========================= */

.content-card {

    background: var(--cream);

    border-radius: 24px;

    padding: 35px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 45px;

    align-items: center;

    box-shadow: 0 15px 40px rgba(80, 65, 45, 0.08);

}


.content-card.reverse {

    grid-template-columns: 1fr 1fr;

}


.image-box {

    width: 100%;

    min-height: 360px;

    border-radius: 18px;

    overflow: hidden;

    background: #e5d6c4;

}


.image-box img {

    width: 100%;

    height: 100%;

    min-height: 360px;

    object-fit: cover;

    display: block;

    transition: 0.5s;

}


.image-box:hover img {

    transform: scale(1.04);

}


.text-box {

    padding: 20px;

}


.label {

    color: var(--gold);

    font-size: 11px;

    letter-spacing: 3px;

    font-weight: 700;

}


.text-box h3 {

    font-family: "Playfair Display", serif;

    font-size: 34px;

    margin: 15px 0 20px;

    color: var(--purple);

}


.text-box p {

    color: #626262;

    line-height: 1.8;

    margin-bottom: 15px;

}



/* =========================
   PALETA
========================= */

.color-palette {

    display: flex;

    gap: 12px;

    margin-top: 25px;

}


.color {

    width: 60px;

    height: 60px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;

}


.color span {

    position: absolute;

    top: 70px;

    font-size: 9px;

    width: 80px;

    text-align: center;

}


.color-beige {

    background: #F2E6D8;

    border: 1px solid #ddd;

}


.color-green {

    background: #78835A;

}


.color-purple {

    background: #6B587D;

}


.color-gold {

    background: #C5A15A;

}



/* =========================
   IDEA
========================= */

.idea-container {

    background: var(--purple);

    color: white;

    border-radius: 30px;

    padding: 70px;

    display: flex;

    align-items: center;

    gap: 60px;

}


.idea-number {

    font-family: "Playfair Display", serif;

    font-size: 130px;

    font-style: italic;

    color: var(--gold);

}


.idea-container h3 {

    font-family: "Playfair Display", serif;

    font-size: 35px;

    margin-bottom: 20px;

}


.idea-container p {

    line-height: 1.8;

    max-width: 600px;

    opacity: 0.85;

}



/* =========================
   GALERÍA
========================= */

.gallery {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 30px;

}


.gallery-card {

    background: var(--cream);

    border-radius: 20px;

    overflow: hidden;

    box-shadow: 0 10px 30px rgba(0,0,0,0.06);

}


.gallery-card img {

    width: 100%;

    height: 500px;

    object-fit: cover;

}


.gallery-info {

    padding: 25px;

}


.gallery-info h3 {

    font-family: "Playfair Display", serif;

    font-size: 25px;

    color: var(--purple);

    margin-bottom: 8px;

}


.gallery-info p {

    color: #777;

}



/* =========================
   MOCKUP
========================= */

.mockup-grid {

    display: grid;

    grid-template-columns: 1fr;

}


.mockup-card {

    background: var(--cream);

    padding: 30px;

    border-radius: 25px;

}


.mockup-card img {

    width: 100%;

    max-height: 600px;

    object-fit: contain;

}


.mockup-card h3 {

    font-family: "Playfair Display", serif;

    font-size: 28px;

    color: var(--purple);

    margin-top: 20px;

}


.mockup-card p {

    margin-top: 10px;

    color: #666;

}



/* =========================
   PROTOTIPO
========================= */

.prototype {

    background: var(--green);

    border-radius: 30px;

    padding: 50px;

    color: white;

    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 50px;

    align-items: center;

}


.prototype-text h3 {

    font-family: "Playfair Display", serif;

    font-size: 42px;

    margin: 15px 0;

}


.prototype-text p {

    line-height: 1.8;

    opacity: 0.9;

}


.prototype-image {

    border-radius: 20px;

    overflow: hidden;

}


.prototype-image img {

    width: 100%;

    display: block;

}



/* =========================
   FOOTER
========================= */

footer {

    max-width: 1200px;

    margin: auto;

    padding: 70px 20px;

    border-top: 1px solid rgba(32,37,31,0.2);

    display: flex;

    justify-content: space-between;

}


footer h2 {

    font-family: "Playfair Display", serif;

    font-size: 40px;

    color: var(--purple);

}


footer p {

    color: #666;

    margin-top: 5px;

}



/* =========================
   ESTRELLAS DECORATIVAS
========================= */

.star {

    position: fixed;

    color: var(--gold);

    font-size: 24px;

    z-index: 0;

}


.star-one {

    top: 80px;

    right: 80px;

}


.star-two {

    bottom: 100px;

    right: 60px;

}


.star-three {

    top: 50%;

    left: 270px;

    color: var(--purple);

}



/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1000px) {

    .sidebar {

        width: 200px;

    }

    .main-content {

        margin-left: 200px;

        padding: 0 30px;

    }

    .hero {

        gap: 30px;

    }

    .blob {

        width: 300px;

        height: 380px;

    }

}


@media (max-width: 750px) {

    .sidebar {

        position: relative;

        width: 100%;

        height: auto;

        border-right: none;

        border-bottom: 1px solid rgba(0,0,0,0.1);

        padding: 25px;

    }

    .sidebar nav {

        flex-direction: row;

        flex-wrap: wrap;

        justify-content: center;

        margin: 25px 0;

        gap: 12px 20px;

    }

    .main-content {

        margin-left: 0;

        padding: 0 15px;

    }

    .section {

        padding: 80px 10px;

    }

    .hero {

        flex-direction: column;

        text-align: center;

    }

    .hero-text {

        width: 100%;

    }

    .hero-character {

        width: 100%;

    }

    .content-card,

    .content-card.reverse,

    .prototype {

        grid-template-columns: 1fr;

    }

    .gallery {

        grid-template-columns: 1fr;

    }

    .idea-container {

        flex-direction: column;

        text-align: center;

        padding: 45px 25px;

    }

    .section-title h2 {

        font-size: 36px;

    }

    footer {

        flex-direction: column;

        gap: 30px;

    }

}