/* ============================================
   EL SANTUARIO — Styles
   ============================================ */

/* Material Symbols */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

/* Hide scrollbars */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ── Navbar ── */
#main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    background: rgba(245, 243, 238, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
#main-nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(26, 36, 30, 0.10);
}
.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    max-width: 1440px;
    margin: 0 auto;
}
.nav-logo {
    font-size: 1.5rem;
    font-family: "Noto Serif", serif;
    font-weight: 600;
    letter-spacing: -0.05em;
    color: #1A241E;
    text-decoration: none;
}
.nav-links {
    display: none;
    align-items: center;
    gap: 3rem;
}
@media (min-width: 768px) {
    .nav-links { display: flex; }
}
.nav-links a {
    font-family: "Noto Serif", serif;
    font-size: 1.125rem;
    letter-spacing: 0.05em;
    color: rgba(26,36,30,0.60);
    text-decoration: none;
    transition: color 0.5s;
}
.nav-links a.active {
    color: #1A241E;
    border-bottom: 1px solid rgba(26,36,30,0.20);
    padding-bottom: 4px;
}
.nav-links a:hover { color: #1A241E; }
.btn-primary {
    background: #1A241E;
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-family: "Manrope", sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s, transform 0.2s;
}
.btn-primary:hover { opacity: 0.9; }
.btn-primary:active { transform: scale(0.95); }

/* ── Mobile Menu ── */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}
@media (min-width: 768px) { .hamburger { display: none; } }
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #1A241E;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 3rem;
    border-top: 1px solid rgba(26,36,30,0.08);
    background: rgba(245,243,238,0.98);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
    font-family: "Noto Serif", serif;
    font-size: 1rem;
    color: #1A241E;
    text-decoration: none;
    letter-spacing: 0.05em;
}

/* ── Hero ── */
#hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
#hero .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
#hero .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(26,36,30,0.50), transparent, #fbf9f4);
}
#hero .hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 1.5rem;
    max-width: 56rem;
}
.hero-eyebrow {
    font-family: "Manrope", sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: rgba(251,249,244,0.90);
    display: block;
    margin-bottom: 1.5rem;
}
.hero-title {
    font-family: "Noto Serif", serif;
    color: #fbf9f4;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 2.5rem;
    font-size: clamp(3rem, 8vw, 6rem);
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.hero-title em { font-weight: 400; }
.hero-btns {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}
@media (min-width: 768px) { .hero-btns { flex-direction: row; } }
.btn-light {
    background: #fbf9f4;
    color: #1A241E;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    font-family: "Manrope", sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border: none;
    cursor: pointer;
    transition: transform 0.5s;
}
.btn-light:hover { transform: scale(1.05); }
.btn-outline-light {
    background: transparent;
    color: #fbf9f4;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    font-family: "Manrope", sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border: 1px solid rgba(251,249,244,0.30);
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: background 0.5s;
}
.btn-outline-light:hover { background: rgba(251,249,244,0.10); }

/* ── Seasonal Banner ── */
#seasonal-banner {
    background: #1A241E;
    padding: 2rem 0;
    overflow: hidden;
}
.banner-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
}
@media (min-width: 768px) { .banner-inner { flex-direction: row; } }
.banner-icon { font-size: 2.5rem; color: #cceacf; }
.banner-title {
    font-family: "Noto Serif", serif;
    font-size: 1.5rem;
    color: #fbf9f4;
}
.banner-sub {
    font-family: "Manrope", sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #9DAEA0;
}
.countdown {
    display: flex;
    gap: 1rem;
    align-items: center;
}
.countdown-unit { text-align: center; }
.countdown-num {
    background: #2C362F;
    color: #fbf9f4;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-family: "Noto Serif", serif;
    font-size: 1.25rem;
    min-width: 3rem;
    display: block;
    text-align: center;
}
.countdown-label {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: #9DAEA0;
    display: block;
    margin-top: 4px;
}
.btn-coupon {
    background: #cceacf;
    color: #062010;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-family: "Manrope", sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border: none;
    cursor: pointer;
    transition: filter 0.2s;
}
.btn-coupon:hover { filter: brightness(1.10); }

/* ── Services Carousel ── */
#services {
    padding: 8rem 3rem;
    overflow: hidden;
    background: #fbf9f4;
}
.section-header {
    max-width: 1440px;
    margin: 0 auto 4rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.section-title {
    font-family: "Noto Serif", serif;
    font-style: italic;
    font-size: clamp(2rem, 4vw, 3.25rem);
    color: #1A241E;
    margin-bottom: 1rem;
}
.section-subtitle {
    font-family: "Manrope", sans-serif;
    color: #434843;
    font-size: 1.125rem;
}
.carousel-nav {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}
.carousel-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    border: 1px solid #c3c8c1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1A241E;
    background: transparent;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}
.carousel-btn:hover {
    background: #1A241E;
    color: #fbf9f4;
}
.carousel-track-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    overflow: hidden;
}
.carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding-bottom: 3rem;
}
.service-card {
    /* Exactly 1/3 of wrapper minus gaps: (100% - 2*gap) / 3 */
    flex: 0 0 calc((100% - 4rem) / 3);
    min-width: 0;
}
@media (max-width: 900px) {
    .service-card {
        flex: 0 0 calc((100% - 2rem) / 2);
    }
}
@media (max-width: 580px) {
    .service-card {
        flex: 0 0 100%;
    }
}
.service-img-wrap {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
}
.service-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}
.service-card:hover .service-img-wrap img { transform: scale(1.10); }
.service-book-btn {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background: rgba(251,249,244,0.90);
    backdrop-filter: blur(8px);
    color: #1A241E;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    transition: background 0.3s, color 0.3s;
}
.service-book-btn:hover { background: #1A241E; color: #fbf9f4; }
.service-info { display: flex; justify-content: space-between; align-items: flex-start; }
.service-name {
    font-family: "Noto Serif", serif;
    font-size: 1.5rem;
    color: #1A241E;
    margin-bottom: 4px;
}
.service-duration {
    font-family: "Manrope", sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #434843;
}
.service-price {
    font-family: "Noto Serif", serif;
    font-size: 1.5rem;
    color: #1A241E;
    white-space: nowrap;
}

/* Carousel dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}
.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background: #c3c8c1;
    border: none;
    cursor: pointer;
    transition: background 0.3s, width 0.3s;
    padding: 0;
}
.carousel-dot.active {
    background: #1A241E;
    width: 24px;
}

/* ── Products Grid ── */
#products {
    padding: 8rem 3rem;
    background: #f5f3ee;
}
.products-header {
    text-align: center;
    margin-bottom: 6rem;
}
.products-title {
    font-family: "Noto Serif", serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    color: #1A241E;
    margin-bottom: 1.5rem;
}
.products-divider {
    width: 6rem;
    height: 1px;
    background: rgba(26,36,30,0.20);
    margin: 0 auto;
}
.products-grid {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem 2rem;
}
@media (min-width: 768px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.product-card { display: flex; flex-direction: column; }
.product-img-wrap {
    background: #fbf9f4;
    aspect-ratio: 1/1;
    border-radius: 0.5rem;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}
.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.5s;
}
.product-card:hover .product-img-wrap img { transform: scale(1.05); }
.product-img-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26,36,30,0.05);
    opacity: 0;
    transition: opacity 0.3s;
}
.product-card:hover .product-img-overlay { opacity: 1; }
.product-cat {
    font-family: "Manrope", sans-serif;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #4e6953;
}
.product-name {
    font-family: "Noto Serif", serif;
    font-size: 1.25rem;
    color: #1A241E;
}
.product-desc {
    font-family: "Manrope", sans-serif;
    color: #434843;
    font-size: 0.875rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    margin-top: auto;
}
.product-price {
    font-family: "Noto Serif", serif;
    font-size: 1.25rem;
    color: #1A241E;
}
.btn-cart {
    background: #1A241E;
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-family: "Manrope", sans-serif;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border: none;
    cursor: pointer;
    transition: filter 0.2s;
    white-space: nowrap;
}
.btn-cart:hover { filter: brightness(1.25); }

/* ── Appointment CTA ── */
#appointment {
    position: relative;
    padding: 8rem 3rem;
    overflow: hidden;
}
#appointment .appt-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
#appointment .appt-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#appointment .appt-overlay {
    position: absolute;
    inset: 0;
    background: rgba(251,249,244,0.90);
    backdrop-filter: blur(4px);
}
.appt-content {
    position: relative;
    z-index: 10;
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
}
.appt-title {
    font-family: "Noto Serif", serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    color: #1A241E;
    margin-bottom: 2rem;
}
.appt-desc {
    font-family: "Manrope", sans-serif;
    font-size: 1.25rem;
    color: #434843;
    margin-bottom: 3rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}
.appt-cta-wrap {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    background: #f0eee9;
    padding: 1rem 3rem;
    border-radius: 9999px;
}
@media (min-width: 640px) { .appt-cta-wrap { flex-direction: row; } }
.appt-cta-label {
    font-family: "Manrope", sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #1A241E;
    font-weight: 700;
    white-space: nowrap;
}
.btn-calendar {
    background: #1A241E;
    color: #fff;
    padding: 1rem 3rem;
    border-radius: 9999px;
    font-family: "Manrope", sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border: none;
    cursor: pointer;
    transition: transform 0.3s;
    white-space: nowrap;
}
.btn-calendar:hover { transform: scale(1.05); }

/* ── Footer ── */
footer {
    margin-top: 6rem;
    background: #f0eee9;
    padding: 4rem 3rem;
    width: 100%;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 80rem;
    margin: 0 auto;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-logo {
    font-family: "Noto Serif", serif;
    font-style: italic;
    font-size: 1.25rem;
    color: #1A241E;
    margin-bottom: 1.5rem;
    display: block;
}
.footer-tagline {
    color: rgba(26,36,30,0.70);
    max-width: 20rem;
    font-family: "Manrope", sans-serif;
    font-size: 0.875rem;
}
.footer-links-title {
    font-family: "Manrope", sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #1A241E;
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links a {
    font-family: "Manrope", sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(26,36,30,0.70);
    text-decoration: none;
    transition: opacity 0.3s;
}
.footer-links a:hover { opacity: 0.70; }
.footer-newsletter-title {
    font-family: "Manrope", sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #1A241E;
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
}
.footer-newsletter-desc {
    font-family: "Manrope", sans-serif;
    color: rgba(26,36,30,0.70);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}
.footer-input-row {
    display: flex;
    border-bottom: 1px solid rgba(26,36,30,0.20);
    padding-bottom: 0.5rem;
    align-items: center;
}
.footer-email-input {
    background: transparent;
    border: none;
    outline: none;
    font-family: "Manrope", sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #1A241E;
    flex: 1;
    placeholder-color: rgba(26,36,30,0.40);
}
.footer-email-input::placeholder { color: rgba(26,36,30,0.40); }
.footer-submit {
    background: none;
    border: none;
    cursor: pointer;
    color: #1A241E;
    display: flex;
    align-items: center;
    transition: opacity 0.2s;
}
.footer-submit:hover { opacity: 0.7; }
.footer-bottom {
    max-width: 80rem;
    margin: 6rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(26,36,30,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }
.footer-copy {
    font-family: "Manrope", sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(26,36,30,0.70);
}
.footer-icons {
    display: flex;
    gap: 2rem;
}
.footer-icons .material-symbols-outlined { color: rgba(26,36,30,0.30); }

/* ── Responsive tweaks ── */
@media (max-width: 768px) {
    .nav-inner { padding: 1.25rem 1.5rem; }
    #services, #products, #appointment { padding: 5rem 1.5rem; }
    footer { padding: 3rem 1.5rem; }
    #seasonal-banner .banner-inner { padding: 0 1.5rem; }
    .hero-title { font-size: clamp(2.5rem, 10vw, 4rem); }
    .section-header { flex-direction: column; align-items: flex-start; }
}
