/* 
 * Fiorella Vigil - Coaching & Alquimia
 * Clean, Modern, Responsive CSS
 */

/* Local Fonts */
@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../fuentes/Cormorant_Garamond/CormorantGaramond-VariableFont_wght.ttf') format('truetype');
    font-weight: 300 700;
    font-style: normal;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../fuentes/Cormorant_Garamond/CormorantGaramond-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 300 700;
    font-style: italic;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fuentes/montserrat/Montserrat-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fuentes/montserrat/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fuentes/montserrat/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fuentes/montserrat/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fuentes/montserrat/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

:root {
    /* Color Palette */
    --primary: #E29490;
    /* Pastel cálido principal */
    --primary-light: #FADAD8;
    --secondary: #DEB3B2;
    /* Navbar sólida */
    --accent: #C5A065;
    /* Dorado mate */
    --cream: #FAF9F6;
    /* Neutro cremoso */
    --warm-gray: #4A4444;
    /* Gris cálido oscuro */
    --text-main: #4A4444;
    --text-light: #8A8181;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.95);

    /* Fonts (Names match local definitions) */
    --font-serif: 'Cormorant Garamond', serif;
    /* Changed from Playfair Display if needed, user said Cormorant in request */
    --font-sans: 'Montserrat', sans-serif;

    /* Spacing */
    --spacing-container: 1200px;
    /* Reduced slightly for better readabilty */
    --spacing-section: 6rem;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--warm-gray);
    background-color: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center {
    text-align: center;
}

.uppercase {
    text-transform: uppercase;
}

.font-bold {
    font-weight: 700;
}

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

.text-accent {
    color: var(--accent);
}

.bg-cream {
    background-color: var(--cream);
}

.bg-white {
    background-color: var(--white);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: var(--spacing-container);
    height: 60px;
    /* Reduced from 80px */
    background-color: rgba(222, 179, 178, 0.85);
    /* Slightly more transparent */
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-radius: 50px;
    /* Pill shape */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Subtle border instead of bottom line */
    padding: 0 1.5rem;
}

.navbar.scrolled {
    top: 0.5rem;
    /* Reduced top gap slightly */
    height: 50px;
    /* Reduced from 70px */
    background-color: rgba(222, 179, 178, 0.95);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
    width: 90%;
    /* Shrinks slightly on scroll for effect */
}

/* Smart Hide: Moves navbar up out of view */
.navbar.navbar-hidden {
    transform: translate(-50%, -200%);
    /* Maintain X centering, move Y up */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
}

.nav-logo h1 {
    font-size: 1.5rem;
    letter-spacing: 0.02em;
}

.nav-logo span {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    opacity: 0.8;
    display: block;
    font-family: var(--font-sans);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--white);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.btn-cta {
    background-color: var(--white);
    color: var(--secondary);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--white);
    min-width: 220px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    /* Stronger shadow */
    z-index: 2000;
    /* Higher Z-index */
    border-radius: 1rem;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    /* Gap handled by pseudo-element usually, but let's try close */
    opacity: 0;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Invisible bridge to prevent closing when moving mouse */
.dropdown-content::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.dropdown-content a {
    color: var(--text-main);
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    transition: all 0.2s;
    text-align: left;
    /* Better for lists */
    font-family: var(--font-sans);
}

.dropdown-content a:hover {
    background-color: #FFF5F5;
    /* Light pink hover */
    color: var(--primary);
    padding-left: 1.8rem;
    /* Slide effect */
}

.menu-toggle {
    display: none;
    color: var(--white);
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
}

/* Reviews Styles */
.reviews-section {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.review-card {
    background: transparent;
    padding: 0;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid #f9f9f9;
    padding-bottom: 2rem;
}

.review-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.review-header h4 {
    font-size: 1rem;
    color: var(--text-main);
    margin: 0;
    font-weight: 600;
}

.review-date {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.1rem;
}

.review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 0.75rem;
    color: #eec170;
    /* Gold color for stars */
}

.review-stars .material-symbols-outlined {
    font-size: 1.1rem;
    font-variation-settings: 'FILL' 1;
}

.review-text {
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.6;
    font-style: italic;
    background: #fdfdfd;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #f0f0f0;
}

/* Hero Section */
.hero {
    padding-top: 180px;
    padding-bottom: 6rem;
    position: relative;
    overflow: hidden;
    background: url('../images/fondo-mesa.webp');
    background-size: cover;
    background-position: center;
}

.hero-blobs .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 10s infinite ease-in-out;
}

.hero-blobs .blob-1 {
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background-color: rgba(226, 148, 144, 0.2);
    /* Primary opacity */
}

.hero-blobs .blob-2 {
    bottom: -50px;
    left: -50px;
    width: 500px;
    height: 500px;
    background-color: rgba(197, 160, 101, 0.1);
    /* Accent opacity */
    animation-delay: 2s;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 1.5rem;
}

.hero-subtitle::before {
    content: '';
    display: block;
    width: 3rem;
    height: 1px;
    background-color: var(--accent);
}

.hero-title {
    font-size: 4rem;
    color: var(--warm-gray);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-title span {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--primary);
    display: block;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--text-light);
    font-weight: 300;
    margin-bottom: 2.5rem;
    max-width: 700px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    height: 3.5rem;
    padding: 0 2.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    box-shadow: 0 20px 40px rgba(226, 148, 144, 0.2);
}

.btn-primary:hover {
    background-color: #d88581;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: var(--white);
    border: 1px solid #EBE5E5;
    color: var(--warm-gray);
    height: 3.5rem;
    padding: 0 2.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.hero-image-wrapper {
    position: relative;
    perspective: 1000px;
    /* Enable 3D space */
}

/* ... existing shape code ... */

.hero-image {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 10rem 10rem 3rem 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.6s ease;
    /* Bouncy but smooth */
}

/* Modern 3D Hover Effect */
.hero-image-wrapper:hover .hero-image {
    transform: rotateY(-10deg) rotateX(5deg) scale(1.02);
    box-shadow: -20px 30px 60px -10px rgba(0, 0, 0, 0.2),
        0 0 0 4px rgba(226, 148, 144, 0.1);
    /* Subtle ring */
}

/* Sections General */
.section {
    padding: var(--spacing-section) 0;
    content-visibility: auto;
    contain-intrinsic-size: 800px;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-tag {
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    color: var(--warm-gray);
    margin-bottom: 1.5rem;
}

#alquimia {
    background-image: radial-gradient(circle at 30% 70%, rgba(173, 216, 230, 0.35), transparent 60%),
        radial-gradient(circle at 70% 30%, rgba(255, 182, 193, 0.4), transparent 60%);
}

#servicios {
    background-image: url('../images/Fondo-ladrillos.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Services / Features Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.card {
    background-color: var(--white);
    /* White pops against cream bg */
    padding: 2.5rem;
    border-radius: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    /* Subtle default depth */
}

.card:hover {
    background-color: #FFF5F5;
    /* Very subtle warm tint */
    transform: translateY(-8px);
    border-color: rgba(226, 148, 144, 0.1);
    box-shadow: 0 20px 50px rgba(226, 148, 144, 0.15);
    /* Pinkish glow shadow */
}

.card.highlight {
    background-color: #FFF5F5;
    border: 1px solid rgba(226, 148, 144, 0.2);
    box-shadow: 0 15px 35px rgba(226, 148, 144, 0.1);
}

.card-label {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--accent);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-bottom-left-radius: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Premium Card Design for Services */
.card-premium {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(226, 148, 144, 0.3);
    /* Subtle pink border */
    background: linear-gradient(180deg, #FFFFFF 0%, #FAFAFA 100%);
    box-shadow: 0 20px 40px -10px rgba(226, 148, 144, 0.1);
}

.card-premium:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 30px 60px -15px rgba(226, 148, 144, 0.2);
    border-color: var(--primary);
}

.card-premium h3 {
    font-size: 1.75rem;
    color: var(--primary);
    /* Highlight title */
    margin-bottom: 1.25rem;
}

.card-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--white);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: contain;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--warm-gray);
}

.card p {
    color: var(--text-light);
    font-weight: 300;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.card-list {
    margin-bottom: 2rem;
}

.card-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

/* Updated check icon style for consistency */
.check-icon {
    width: 16px;
    /* Reduced from 1.25rem (~20px) to 16px per user feedback */
    height: 16px;
    object-fit: contain;
    flex-shrink: 0;
}

.card-list .check-icon {
    /* Inherits size, but ensures alignment in list */
    margin-top: 0.2rem;
    /* Optical alignment with text line-height */
}

/* About Section */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    /* Modern Organic Shape */
    border-radius: 20rem 20rem 2rem 2rem;
    aspect-ratio: 4/5;
    object-fit: cover;
    width: 100%;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.05);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1.02);
}

.about-image img:hover {
    transform: scale(1.03) translateY(-10px);
    box-shadow: 30px 40px 80px rgba(226, 148, 144, 0.2);
    /* Colored shadow on hover */
    border-radius: 2rem 20rem 2rem 20rem;
    /* Morphing shape on hover */
}


}

.about-image::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid rgba(197, 160, 101, 0.3);
    border-radius: 50%;
    transform: rotate(6deg) scale(1.05);
    /* Slightly bigger ring */
    pointer-events: none;
    width: 80%;
    margin: 0 auto;
}

.about-stats {
    position: absolute;
    bottom: 2.5rem;
    right: 10%;
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary);
}

.about-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--warm-gray);
}

.badge span {
    color: var(--accent);
}

/* Workshops */
.workshop-card {
    background: var(--white);
    border-radius: 1.5rem;
    padding: 1.5rem;
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s;
}

.workshop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.workshop-img {
    width: 33%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 1rem;
}

.workshop-content {
    flex: 1;
}

.workshop-content p {
    text-align: justify;
}

.workshop-date {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

/* Ebooks */
.ebook-card {
    cursor: pointer;
    text-align: center;
}

.ebook-cover-wrapper {
    background-color: rgba(226, 148, 144, 0.1);
    padding: 2rem;
    border-radius: 50% 50% 1rem 1rem;
    /* Dome shape */
    margin-bottom: 1.5rem;
    transition: background-color 0.3s;
}

.ebook-card:hover .ebook-cover-wrapper {
    background-color: rgba(226, 148, 144, 0.2);
}

.ebook-cover {
    width: 75%;
    margin: 0 auto;
    border-radius: 0 5px 5px 0;
    box-shadow: 5px 10px 20px rgba(0, 0, 0, 0.15);
    transform: perspective(800px) rotateY(-15deg);
    transition: transform 0.3s;
}

.ebook-card:hover .ebook-cover {
    transform: perspective(800px) rotateY(-5deg) translateY(-10px);
}

/* Blog */
.blog-card {
    margin-bottom: 2rem;
}

.blog-img-wrapper {
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 1rem;
    aspect-ratio: 4/3;
}

.blog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

.blog-card:hover img {
    transform: scale(1.05);
}

.blog-meta {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

/* Contact */
.contact-container {
    background: var(--white);
    border-radius: 3rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
}

.contact-info {
    background-color: rgba(222, 179, 178, 0.2);
    padding: 4rem;
    width: 40%;
}

.contact-form-wrapper {
    padding: 4rem;
    width: 60%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(226, 148, 144, 0.3);
    background-color: #FAFAFA;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
}

textarea.form-control {
    resize: none;
    height: 150px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.icon-circle {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

/* Footer */
footer {
    background-color: var(--warm-gray);
    color: var(--white);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 3rem;
}

.footer-col h4 {
    font-size: 1.125rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary);
}

/* Animation Keyframes */
@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(0, 20px);
    }

    100% {
        transform: translate(0, 0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    opacity: 0;
    animation: fadeUp 0.8s ease-out forwards;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 90px;
        left: 0;
        width: 100%;
        background-color: var(--secondary);
        flex-direction: column;
        padding: 2rem;
        clip-path: circle(0% at 100% 0);
        transition: clip-path 0.5s ease-in-out;
    }

    .nav-menu.active {
        clip-path: circle(150% at 100% 0);
    }

    .menu-toggle {
        display: block;
    }

    .hero-grid,
    .about-split {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
        /* Center grid items if any */
    }

    /* Force vertical stacking and centering */
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-subtitle {
        justify-content: center;
        /* Center the line and text */
        margin-bottom: 1rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* ---------------- */
/* WORKSHOP PAGE STYLES (AVARTON INSPIRED) */
/* ---------------- */

/* Page Header */
.page-header {
    /* Default Overlay Color (Dark) */
    --header-overlay: rgba(0, 0, 0, 0.5);

    background: linear-gradient(var(--header-overlay), var(--header-overlay)), url('../images/fondo-mesa.webp');
    background-size: cover;
    background-position: bottom;
    color: white;
    padding: 8rem 0 1rem 0;
    text-align: left;
    position: relative;
    margin-top: 0px;
    min-height: 55vh;
    display: flex;
    align-items: flex-end;
}

/* Modifiers using CSS Variables */
.header-amor {
    --header-overlay: rgba(226, 148, 144, 0.8);
}

.header-dinero {
    --header-overlay: rgba(20, 60, 40, 0.8);
}

.header-navidad {
    --header-overlay: rgba(100, 20, 20, 0.7);
}

.header-negatividad {
    --header-overlay: rgba(45, 20, 45, 0.8);
}

.header-talleres {
    --header-overlay: rgba(74, 68, 68, 0.7);
}

/* Ensure container inside header behaves correctly as flex item */
.page-header .container {
    width: 100%;
}

/* Ensure navbar sits on top */
.navbar {
    z-index: 1000;
}

.badge-accent {
    background-color: var(--accent);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.page-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    max-width: 800px;
    color: white;
    /* Ensure text is visible */
}

.page-meta {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    opacity: 0.9;
    color: white;
}

.page-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Course Layout */
.course-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    /* Main Content | Sidebar */
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 10;
}

@media (max-width: 900px) {
    .course-layout {
        grid-template-columns: 1fr;
    }

    .course-sidebar {
        position: static;
        margin-top: 3rem;
    }
}

/* Tabs */
.course-tabs {
    display: flex;
    gap: 2rem;
    border-bottom: 1px solid #eee;
    margin-bottom: 2.5rem;
}

.course-tabs a {
    padding-bottom: 1rem;
    font-weight: 600;
    color: var(--text-light);
    border-bottom: 2px solid transparent;
    text-decoration: none;
}

.course-tabs a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Content Blocks */
.content-block {
    margin-bottom: 3rem;
}

.content-block h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #d88581;
    /* User requested color */
    font-weight: 700;
    /* Bold */
}

.content-block p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Checklist Grid */
.checklist-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    list-style: none;
    padding: 0;
}

.checklist-grid li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-main);
}

.check-mark {
    color: var(--primary);
    font-size: 1.2rem;
}

/* Requirements */
.requirement-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f9f9f9;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    /* Reduced from 1rem */
    border-radius: 0.5rem;
    font-weight: 500;
    color: var(--text-main);
}

/* ... (skip unmodified parts if possible or include context) ... */

/* Reviews Styles */
.reviews-section {
    margin-top: 2rem;
    /* Reduced top margin */
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.review-card {
    background: transparent;
    padding: 0;
    margin-bottom: 0.5rem;
    /* Reduced from 1.5rem */
    border-bottom: 1px solid #f9f9f9;

    /* Reduced padding bottom */
}

/* Sticky Sidebar */
.course-sidebar {
    position: sticky;
    top: 20px;
    /* Adjusted to sit nicely below typical navbar height */
    height: fit-content;
    align-self: start;
    /* Ensures it sticks from the top */
}

.sidebar-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.video-preview {
    position: relative;
    cursor: pointer;
    background: #000;
}

.video-preview img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.video-preview:hover img {
    opacity: 0.6;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: white;
    border: none;
    border-radius: 50%;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
    cursor: pointer;
}

.video-preview:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.1);
}

.sidebar-body {
    padding: 1.5rem;
    /* Reduced padding */
}

.price-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.discount-badge {
    background-color: var(--primary);
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
}

.price-tag {
    display: flex;
    align-items: center;
    gap: 1rem;
    /* Margin removed as it's handled by container */
}

.current-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
}

.original-price {
    font-size: 1.25rem;
    text-decoration: line-through;
    color: var(--text-light);
    opacity: 0.7;
}

.course-meta {
    margin-bottom: 2rem;
    list-style: none;
    padding: 0;
}

.course-meta li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    /* Reduced padding */
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
    color: var(--text-main);
}

.course-meta li span:first-child {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-weight: 500;
}

.btn-primary-full {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    background-color: var(--primary);
    color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    transition: background 0.3s;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-primary-full:hover {
    background-color: var(--primary-dark);
}

.btn-wishlist {
    width: 100%;
    background: transparent;
    border: 1px solid #eee;
    padding: 0.75rem;
    border-radius: 0.5rem;
    color: var(--text-light);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.btn-wishlist:hover {
    background: #fafafa;
    border-color: #ddd;
    color: var(--primary);
}

/* Reviews Styles */
/* Reviews Styles */
.reviews-section {
    margin-top: 3rem;
    /* Reduced top margin */
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.review-card {
    background: transparent;
    padding: 0;
    margin-bottom: 0.75rem;
    /* Reduced margin between reviews */
    border-bottom: 1px solid #f9f9f9;
    padding-bottom: 0.75rem;
    /* Reduced padding bottom */
}

/* Catalog Grid */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.catalog-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.catalog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.catalog-thumb {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.catalog-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.catalog-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.catalog-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    line-height: 1.3;
}

.catalog-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-top: auto;
    /* Push to bottom */
    margin-bottom: 1rem;

    .old-price {
        text-decoration: line-through;
        color: var(--text-light);
        font-weight: 300;
        opacity: 0.7;
        font-size: 16px;
    }

    .discount-badge {
        background: var(--primary);
        color: white;
        padding: 0.25rem 0.5rem;
        border-radius: 0.25rem;
        font-size: 12px;
        font-weight: 700;
    }
}

.btn-catalog {
    display: block;
    width: 100%;
    text-align: center;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
}

/* Mobile Navbar Fix: Hide text, keep logo */
@media (max-width: 568px) {
    .nav-logo div {
        display: none;
    }

    .navbar {
        height: 60px;
        padding: 0 1rem;
    }
}

/* Product Gallery */
.product-gallery {
    margin-bottom: 3rem;
}

.main-image-container {
    width: 100%;
    aspect-ratio: 1/1;
    /* Square for products usually works well, or 4/5 */
    background-color: #f9f9f9;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.thumbnails-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.thumb {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 0.5rem;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.thumb:hover,
.thumb.active {
    opacity: 1;
    border-color: var(--primary);
    transform: translateY(-2px);
}