/* Layout base */
.container {
    width: min(1200px, 90vw);
    margin: 0 auto;
}

.section {
    padding: 100px 5vw;
}

.section__header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.85rem;
    color: var(--gold);
    margin-bottom: 12px;
    font-weight: 700;
}

.lede {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2f3e45;
}

.btn-primary {
    background: var(--teal);
    color: var(--cream);
    box-shadow: 0 12px 24px rgba(30, 77, 89, 0.18);
}

.btn-secondary {
    background: var(--gold);
    color: var(--cream);
    box-shadow: 0 10px 20px rgba(138, 112, 63, 0.15);
}

.btn-ghost {
    background: rgba(30, 77, 89, 0.08);
    color: var(--teal);
    border-color: transparent;
}

.ghost-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--teal);
    font-weight: 600;
    text-decoration: none;
    position: relative;
}

.ghost-link::after {
    content: "→";
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.ghost-link::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background: var(--teal);
    transition: width 0.2s ease;
}

.ghost-link:hover::after {
    transform: translateX(4px);
}

.ghost-link:hover::before {
    width: 100%;
}

/* Hero */
.hero {
    padding: 40px 5vw 80px;
    background: linear-gradient(135deg, rgba(247, 239, 234, 0.9), rgba(30, 77, 89, 0.05));
}

.hero__inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
    width: min(1200px, 90vw);
    margin: 0 auto;
}

.hero__text h1 {
    color: var(--teal);
    font-size: clamp(2.4rem, 4vw, 3.5rem);
    line-height: 1.15;
}

.hero__text .lede {
    margin: 12px 0 24px;
    max-width: 560px;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 18px;
}

.hero__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero__pills span {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(30, 77, 89, 0.08);
    color: #1f2d33;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid rgba(30, 77, 89, 0.12);
}

.hero__visual {
    position: relative;
    min-height: 360px;
    display: grid;
    place-items: center;
}

.hero__image {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(30, 77, 89, 0) 55%, rgba(30, 77, 89, 0.32) 100%),
        linear-gradient(145deg, rgba(30, 77, 89, 0.35), rgba(138, 112, 63, 0.25)),
        url("images/Fondo%20hero.webp") center 30% / cover no-repeat;
    box-shadow: 0 20px 45px rgba(0,0,0,0.1);
}

.hero__card {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 8%;
    width: 75%;
    background: rgba(247, 239, 234, 0.92);
    border: 1px solid rgba(30, 77, 89, 0.08);
    border-radius: 24px;
    padding: 18px 18px 20px;
    box-shadow: 0 18px 38px rgba(0,0,0,0.1);
    backdrop-filter: blur(4px);
}

.hero__card .badge {
    display: inline-block;
    padding: 8px 14px;
    background: rgba(138, 112, 63, 0.12);
    color: var(--gold);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.hero__card h3 {
    margin-bottom: 8px;
    color: var(--teal);
    font-size: 1.3rem;
    letter-spacing: 0.01em;
}

.hero__card p {
    margin-bottom: 10px;
    color: #2f3e45;
    font-size: 1rem;
}

.hero__card .price {
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 8px;
}

.hero__floating {
    position: absolute;
    top: 8%;
    right: 6%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero__floating span {
    background: rgba(30, 77, 89, 0.92);
    color: var(--cream);
    padding: 8px 14px;
    border-radius: 14px;
    font-size: 0.95rem;
    box-shadow: 0 10px 30px rgba(30, 77, 89, 0.25);
}

/* Colecciones */
.collections {
    background: var(--cream);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.category-card {
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(30, 77, 89, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.category-card .card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-card p {
    margin: 0 0 6px 0;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(0,0,0,0.12);
}

/* Highlights */
.highlights {
    background: linear-gradient(135deg, rgba(30, 77, 89, 0.06), rgba(138, 112, 63, 0.08));
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.highlight {
    background: rgba(255,255,255,0.9);
    border-radius: 16px;
    padding: 22px;
    border: 1px solid rgba(30, 77, 89, 0.08);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.highlight h3 {
    margin-bottom: 10px;
}

/* Productos destacados */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.product-card {
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(30, 77, 89, 0.08);
    box-shadow: 0 16px 36px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.product-img {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
}

.product-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-body .badge {
    align-self: flex-start;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(138, 112, 63, 0.12);
    color: var(--gold);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.product-body h3 {
    margin: 0;
}

.product-body p {
    margin: 0 0 4px 0;
}

/* Story */
.story {
    background: var(--cream);
}

.story__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    align-items: center;
}

.bullets {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}

.bullets span {
    background: rgba(30, 77, 89, 0.08);
    border-radius: 12px;
    padding: 12px 14px;
    font-weight: 600;
    color: #1f2d33;
}

.story__panel {
    background: linear-gradient(160deg, rgba(30, 77, 89, 0.92), rgba(30, 77, 89, 0.82));
    color: var(--cream);
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 18px 44px rgba(0,0,0,0.12);
}

.story__panel h3 {
    color: var(--cream);
    margin-bottom: 8px;
}

.story__panel .lede {
    color: rgba(247, 239, 234, 0.9);
}

.story__panel .ghost-link {
    color: #fefcf9;
}

.panel__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
}

/* CTA final */
.cta {
    background: linear-gradient(110deg, #1e4d59 0%, #1e4d59 45%, #8a703f 100%);
    color: #f9f3ec;
    padding: 70px 5vw;
}

.cta__inner {
    width: min(1100px, 90vw);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.cta h2 {
    color: #fefcf9;
    margin-bottom: 8px;
}

.cta p {
    color: #f4ece4;
    opacity: 0.92;
}

.cta .eyebrow {
    color: #c5b188;
}

.cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cta .btn {
    color: #fefcf9;
}

/* Responsive */
@media (max-width: 1100px) {
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .hero__visual {
        order: -1;
        min-height: 320px;
    }
    .hero__card {
        right: 6%;
        width: 70%;
    }
    .card-grid,
    .product-grid,
    .highlight-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .story__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .section {
        padding: 70px 5vw;
    }
    .hero {
        padding-top: 20px;
    }
    .card-grid,
    .product-grid,
    .highlight-grid {
        grid-template-columns: 1fr;
    }
    .hero__card {
        position: relative;
        inset: 0;
        width: 100%;
        margin-top: 20px;
    }
    .hero__floating {
        position: relative;
        flex-direction: row;
        gap: 10px;
        justify-content: center;
        top: auto;
        right: auto;
        margin-top: 12px;
        margin-bottom: 4px;
    }
    .hero__image {
        aspect-ratio: 3 / 4;
    }
}
