/* -----------------------------------------
   PALETA & BASE
----------------------------------------- */
:root {
    --color-bg-dark: #0E3A34;
    --color-bg-light: #F2F0EC;
    --color-accent: #C4A26A;
    --color-accent-soft: rgba(196, 162, 106, 0.15);
    --color-text-main: #1B1B1B;
    --color-text-light: #FAF7F3;
    --color-text-muted: #8A8A8A;
    --color-dark: #2E2E2E;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #18493f 0, #0E3A34 45%, #091F1C 100%);
    color: var(--color-text-main);
    min-height: 100vh;
}

/* -----------------------------------------
   NAVBAR
----------------------------------------- */
.navbar-blur {
    background: rgba(9, 31, 28, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(9, 31, 28, 0.92);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    border-color: rgba(255, 255, 255, 0.09);
}

.navbar-brand .brand-text {
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(250, 247, 243, 0.8);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.4rem 0.75rem;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: var(--color-accent);
}

.btn-nav-cta {
    background-color: var(--color-accent);
    border-radius: 999px;
    border: none;
    padding: 0.45rem 1.4rem;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1b1b1b;
}

.btn-nav-cta:hover {
    background-color: #d6b57b;
    color: #111;
}

/* -----------------------------------------
   HERO
----------------------------------------- */
.hero-section {
    min-height: 100vh;
    padding-top: 6rem;
    padding-bottom: 4rem;
    color: var(--color-text-light);
}

.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    color: var(--color-accent);
}

.hero-title {
    font-family: "Playfair Display", "Times New Roman", serif;
    font-weight: 700;
    font-size: clamp(2.4rem, 3.2vw + 1.5rem, 3.5rem);
    line-height: 1.1;
}

.hero-title .highlight {
    color: var(--color-accent);
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(250, 247, 243, 0.8);
    max-width: 34rem;
}

.hero-actions .btn {
    min-width: 180px;
}

.btn-primary-cta {
    background-color: var(--color-accent);
    color: #1b1b1b;
    border-radius: 999px;
    font-weight: 600;
    padding: 0.8rem 1.8rem;
    border: none;
}

.btn-primary-cta:hover {
    background-color: #d6b57b;
    color: #111;
}

.btn-outline-cta {
    border-radius: 999px;
    border: 1px solid rgba(250, 247, 243, 0.5);
    color: var(--color-text-light);
    padding: 0.8rem 1.8rem;
    background: transparent;
}

.btn-outline-cta:hover {
    background-color: rgba(250, 247, 243, 0.08);
    border-color: var(--color-accent);
    color: var(--color-text-light);
}

.hero-meta {
    font-size: 0.9rem;
    color: rgba(250, 247, 243, 0.7);
}

.hero-meta i {
    color: var(--color-accent);
}

/* Hero carousel */
.hero-carousel-wrapper {
    background: rgba(9, 31, 28, 0.75);
    border-radius: 1.5rem;
    padding: 1rem;
    border: 1px solid rgba(196, 162, 106, 0.35);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

#hero-carousel .item img {
    border-radius: 1.2rem;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero-caption {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: rgba(250, 247, 243, 0.8);
}

.hero-note {
    font-size: 0.8rem;
    color: rgba(250, 247, 243, 0.65);
}

/* Owl nav & dots */
#hero-carousel .owl-dots .owl-dot span {
    background: rgba(250, 247, 243, 0.3);
}

#hero-carousel .owl-dots .owl-dot.active span {
    background: var(--color-accent);
}

#hero-carousel .owl-nav button.owl-prev,
#hero-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 999px;
    background: rgba(9, 31, 28, 0.85) !important;
    border: 1px solid rgba(250, 247, 243, 0.35) !important;
    color: #fff !important;
}

#hero-carousel .owl-nav button.owl-prev {
    left: 0.4rem;
}

#hero-carousel .owl-nav button.owl-next {
    right: 0.4rem;
}

/* -----------------------------------------
   SECCIONES GENERALES
----------------------------------------- */
.section {
    padding: 4.5rem 0;
}

.section-light {
    background-color: var(--color-bg-light);
    color: var(--color-text-main);
}

.section-dark {
    background: radial-gradient(circle at top, #14443a 0, #0E3A34 40%, #091F1C 90%);
    color: var(--color-text-light);
}

.section-contact {
    background: linear-gradient(135deg, #0E3A34, #091F1C);
    color: var(--color-text-light);
}

.section-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    color: var(--color-accent);
}

.section-title {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 2rem;
}

.section-subtitle {
    font-size: 0.98rem;
    color: var(--color-text-muted);
    max-width: 36rem;
    margin: 0.5rem auto 0 auto;
}

/* -----------------------------------------
   COLECCIÓN
----------------------------------------- */
.catalog-filters .btn-filter {
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background-color: #fff;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.4rem 0.9rem;
}

.catalog-filters .btn-filter.active {
    background-color: var(--color-accent);
    color: #1b1b1b;
    border-color: var(--color-accent);
}

/* Cards productos */
.product-card {
    border: none;
    background-color: #fff;
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transform: translateY(10px);
    opacity: 0;
    transition:
        transform 0.5s ease,
        box-shadow 0.5s ease,
        opacity 0.5s ease;
}

.product-card img {
    object-fit: cover;
    max-height: 260px;
}

.product-card .card-body {
    padding: 1rem 1.1rem 1.2rem;
}

.product-card .card-title {
    font-weight: 600;
    font-size: 1rem;
}

.product-card .card-text {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* animación al aparecer */
.product-card.visible {
    transform: translateY(0);
    opacity: 1;
}

/* hover */
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

/* -----------------------------------------
   HISTORIA
----------------------------------------- */
.section-dark .section-title {
    color: var(--color-text-light);
}

.text-light-subtle {
    color: rgba(250, 247, 243, 0.75);
}

/* -----------------------------------------
   PROCESO
----------------------------------------- */
.process-card {
    border-radius: 1.2rem;
    background-color: #fff;
    padding: 1.5rem 1.6rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.process-card h3 {
    font-family: "Playfair Display", serif;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.process-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.process-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background-color: var(--color-accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.7rem;
}

.process-icon i {
    color: var(--color-accent);
}

/* -----------------------------------------
   CONTACTO
----------------------------------------- */
.contact-list .link-contact {
    color: var(--color-text-light);
    text-decoration: none;
}

.contact-list .link-contact:hover {
    color: var(--color-accent);
}

.contact-card {
    background-color: rgba(9, 31, 28, 0.88);
    border-radius: 1.5rem;
    padding: 1.8rem 1.7rem;
    border: 1px solid rgba(196, 162, 106, 0.35);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65);
}

.contact-card h3 {
    font-family: "Playfair Display", serif;
    color: var(--color-text-light);
}

.contact-card .form-label {
    font-size: 0.85rem;
    color: rgba(250, 247, 243, 0.85);
}

.contact-card .form-control,
.contact-card .form-select {
    background-color: rgba(9, 31, 28, 0.9);
    border-radius: 999px;
    border: 1px solid rgba(250, 247, 243, 0.25);
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.contact-card textarea.form-control {
    border-radius: 1rem;
    min-height: 120px;
}

.contact-card .form-control:focus,
.contact-card .form-select:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 0.1rem rgba(196, 162, 106, 0.35);
    outline: none;
}

/* -----------------------------------------
   FOOTER
----------------------------------------- */
.site-footer {
    background-color: #050c0b;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .footer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 999px;
    border: 1px solid rgba(250, 247, 243, 0.18);
    margin: 0 0.4rem;
    color: rgba(250, 247, 243, 0.8);
    text-decoration: none;
}

.site-footer .footer-icon:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* -----------------------------------------
   MODAL PRODUCTO
----------------------------------------- */
.modal-product {
    background: radial-gradient(circle at top, #18493f 0, #0E3A34 40%, #091F1C 100%);
    border-radius: 1.5rem;
    border: 1px solid rgba(196, 162, 106, 0.4);
    color: var(--color-text-light);
    position: relative;
}

.modal-product .modal-body {
    padding: 1.8rem;
}

.modal-product .modal-title {
    font-family: "Playfair Display", serif;
    font-weight: 700;
}

.modal-product #modalImage {
    max-height: 360px;
    object-fit: contain;
    border-radius: 1rem;
    border: 1px solid rgba(250, 247, 243, 0.28);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.55);
    transition: transform 0.3s ease;
}

.modal-product #modalImage:hover {
    transform: scale(1.03);
}

.modal-product .modal-footer {
    border-top: 1px solid rgba(250, 247, 243, 0.1);
    padding: 1rem 1.8rem 1.4rem;
}

.modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.8rem;
    z-index: 2;
}

/* Botones circulares */
.btn-circle {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* -----------------------------------------
   ANIMACIONES EN SCROLL
----------------------------------------- */
.reveal-on-scroll,
.product-card {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.5s ease-out,
        transform 0.5s ease-out;
}

.reveal-on-scroll.visible,
.product-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* -----------------------------------------
   RESPONSIVE
----------------------------------------- */
@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 5.5rem;
    }

    .hero-carousel-wrapper {
        margin-top: 1rem;
    }

    .contact-card {
        margin-top: 1rem;
    }
}

@media (max-width: 575.98px) {
    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }
}
