/* ==========================================================================
   Tete Castells - Luxury Editorial Landing Page
   Aesthetic Reference: Vogue & Cabana Magazine
   ========================================================================== */

/* --- Variables --- */
:root {
    /* Brand Colors provided by User */
    --color-brand-primary: #f4dcc5; /* Warm Beige / Cream */
    --color-brand-secondary: #605f5b; /* Warm Grey / Taupe */
    
    /* Utility Colors */
    --color-bg: #FCFBF9; /* Very subtle off-white for luxury feel */
    --color-text-dark: #1A1A1A; /* Soft black for readability */
    --color-white: #FFFFFF;
    --color-gold-accent: #C5A880; /* Complementary elegant accent */

    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Borders */
    --border-fine: 1px solid var(--color-brand-secondary);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.6;
    color: var(--color-text-dark);
    background-color: var(--color-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--color-text-dark);
    line-height: 1.2;
}

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

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

ul {
    list-style: none;
}

/* --- Layout Utilities --- */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: 4.5rem 0; /* Reduced from 8rem for tighter spacing */
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.object-cover { object-fit: cover; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.justify-center { justify-content: center; }

/* Decorators */
.decorative-line {
    width: 60px;
    height: 1px;
    background-color: var(--color-brand-secondary);
    margin: var(--spacing-md) 0;
}
.decorative-line.mx-auto {
    margin: var(--spacing-md) auto;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-style: italic;
    letter-spacing: 0.02em;
}

.ampersand {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--color-brand-secondary);
    font-weight: 300;
}

/* --- Header & Navigation (Vogue/Cabana Editorial Alignment) --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: background-color 0.4s ease, border-bottom 0.4s ease;
    padding: var(--spacing-sm) 0;
    background-color: rgba(252, 251, 249, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: var(--border-fine);
}

.header-inner {
    display: flex;
    flex-direction: row;
    justify-content: space-between; /* Logo on Left, Nav on Right */
    align-items: center;
    width: 100%;
    position: relative;
}

/* Logo Sizing and Positioning (Aligned Left) */
.header-logo-container {
    display: flex;
    align-items: center;
}

.logo-link {
    display: block;
}

.header-logo {
    height: 130px; /* Significantly larger isologo in the menu */
    width: auto;
    object-fit: contain;
    transition: all 0.4s ease;
}

.header.scrolled .header-logo {
    height: 100px; /* larger scrolled state too */
}

/* Desktop Navigation Menu (Aligned Right) */
.nav {
    display: none; /* Hidden on mobile */
}

@media (min-width: 1024px) {
    .nav {
        display: block;
    }
}

.nav-list {
    display: flex;
    gap: var(--spacing-lg);
}

.nav-item {
    position: relative;
    padding: 10px 0;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding-bottom: 4px;
    color: var(--color-brand-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
}

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

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

.arrow {
    font-size: 0.65rem;
    transition: transform 0.3s ease;
}

/* Dropdown Menus (Desktop) */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--color-bg);
    border: var(--border-fine);
    padding: var(--spacing-sm) 0;
    min-width: 220px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
    z-index: 10;
    display: flex;
    flex-direction: column;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

.nav-item:hover .nav-link .arrow {
    transform: rotate(180deg);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 8px 24px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-brand-secondary);
    text-align: center;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background-color: var(--color-brand-primary);
    color: var(--color-text-dark);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn span {
    display: block;
    width: 30px;
    height: 1px;
    background-color: var(--color-brand-secondary);
    margin: 8px 0;
    transition: 0.3s ease;
}

.mobile-menu-btn.active span {
    background-color: var(--color-text-dark);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile layout reordering (Logo left, Hamburger right) */
@media (max-width: 1023px) {
    .header-inner {
        justify-content: space-between; /* Logo left, Hamburger right */
    }
    .header-logo-container {
        order: 1; /* Logo on the left */
    }
    .mobile-menu-btn {
        order: 2; /* Hamburger on the right */
        position: relative;
        left: 0;
        top: 0;
    }
    .header-logo {
        height: 95px; /* Larger mobile isologo */
    }
    .header.scrolled .header-logo {
        height: 75px;
    }
}

/* Mobile Navigation Overlay */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-brand-primary);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    overflow-y: auto;
    padding: 80px 0;
}

.mobile-nav.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-inner {
    width: 100%;
    max-width: 400px;
    margin: auto;
}

.mobile-nav-list {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-link {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--color-text-dark);
    font-style: italic;
}

/* Mobile Accordions */
.mobile-dropdown-btn {
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-style: italic;
    color: var(--color-text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0;
}

.mobile-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    margin-top: var(--spacing-xs);
}

.mobile-dropdown.active .mobile-dropdown-menu {
    max-height: 300px;
}

.mobile-dropdown .arrow {
    font-size: 1rem;
    transition: transform 0.4s ease;
}

.mobile-dropdown.active .arrow {
    transform: rotate(180deg);
}

.mobile-sublink {
    display: block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-brand-secondary);
    padding: var(--spacing-xs) 0;
}

/* --- Hero Section (Vogue Cover Aesthetic) --- */
.hero {
    position: relative;
    height: 75vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0 var(--spacing-md);
    margin-top: calc(85px + var(--spacing-md)); /* Fit below header */
}

@media (max-width: 1024px) {
    .hero {
        margin: 0;
        margin-top: 0;
        height: 100vh;
    }
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.45); /* Highlight white typography */
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    max-width: 700px;
    padding: 0 var(--spacing-md);
    margin: 0 auto; /* Keep it centered */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Vogue Cover Headline Styling */
.hero-title {
    font-size: clamp(2rem, 6.5vw, 6.5rem);
    font-weight: 300; /* Ultra thin */
    text-transform: uppercase;
    letter-spacing: 0.18em; /* Wide spacing */
    margin-bottom: 0.5rem;
    color: var(--color-white);
    text-shadow: 0 4px 15px rgba(0,0,0,0.15);
    white-space: nowrap; /* Forces text to remain on a single line */
    text-align: center;
    width: 100%;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.35em; /* Extremely wide tracking */
    font-weight: 400;
    color: var(--color-brand-primary);
    text-align: center;
}

/* --- Scroll Indicator ("deslizá") --- */
.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-white);
    gap: 8px;
}

.scroll-text {
    font-family: var(--font-body);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 400;
    opacity: 0.85;
}

.scroll-indicator .line {
    width: 1px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.25);
    display: block;
    position: relative;
    overflow: hidden;
}

.scroll-indicator .line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-brand-primary);
    animation: scrollLine 2s infinite ease-in-out;
}

@keyframes scrollLine {
    0% { transform: translateY(-100%); }
    50% { transform: translateY(0); }
    100% { transform: translateY(100%); }
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

@media (min-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-xl);
    }
}

.about-text {
    font-size: 1.1rem;
    color: var(--color-brand-secondary);
}

.image-frame {
    position: relative;
    padding: var(--spacing-sm);
    border: var(--border-fine);
}

.about-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 3/4;
}

/* --- Editorial Gallery Section (Cabana Style Grid) --- */
.editorial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem; /* Tighter margins on mobile */
    padding: 0 var(--spacing-sm);
    margin-top: 2.5rem; /* Reduced from 4rem for tighter spacing */
}

.gallery {
    padding-top: 1rem; /* minimal spacing specifically above Nuestro Trabajo */
}

.grid-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

/* Tablet Layout (4-column grid, items span 2) */
@media (min-width: 768px) {
    .editorial-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem; /* Tighter margins on tablet */
        padding: 0 var(--spacing-md);
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .grid-item {
        grid-column: span 2;
        max-width: none;
        margin: 0;
    }
}

/* Desktop Layout (6-column grid, items span 2) */
@media (min-width: 1024px) {
    .editorial-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 1.5rem; /* Tighter margins on desktop */
        max-width: 1200px;
    }
    
    .grid-item {
        grid-column: span 2;
    }
}

.grid-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    border: 4px solid var(--color-bg); /* Reduced border frame */
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
}

.grid-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 26, 0.45); /* slightly darker overlay for high legibility at first glance */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1; /* always visible */
    transition: background-color 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.overlay-content {
    text-align: center;
    color: var(--color-white);
    padding: 0 var(--spacing-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateY(0); /* always centered */
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.category-title {
    font-size: 2.2rem;
    font-style: italic;
    margin-bottom: 0;
    position: relative;
    display: inline-block;
    color: var(--color-brand-primary); /* Elegant cream color by default for high readability */
    text-shadow: 0 2px 10px rgba(0,0,0,0.35);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background-color: var(--color-brand-primary);
    transition: width 0.5s ease;
}

.category-desc {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(10px);
    transition: opacity 0.5s ease 0.1s, max-height 0.5s ease, transform 0.5s ease 0.1s;
}

/* Hover Effects */
.grid-item:hover .grid-img {
    transform: scale(1.05);
}

.grid-item:hover .grid-overlay {
    background-color: rgba(96, 95, 91, 0.85); /* brand secondary topo color on hover */
}

.grid-item:hover .category-title {
    transform: translateY(-8px);
}

.grid-item:hover .category-title::after {
    width: 60px;
}

.grid-item:hover .category-desc {
    opacity: 1;
    max-height: 50px; /* expands to show description */
    transform: translateY(0);
    margin-top: 10px;
}

/* Background Block helper */
.bg-brand {
    background-color: var(--color-brand-primary);
}

/* --- Footer (Vogue Minimalist Light Editorial Layout) --- */
.footer {
    background-color: var(--color-bg); /* Matches the body background perfectly */
    color: var(--color-text-dark); /* Dark text for high contrast */
    padding: 5rem 0 3rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(96, 95, 91, 0.2); /* elegant thin rule */
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    border-bottom: 1px solid rgba(96, 95, 91, 0.2);
    padding-bottom: 3rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr; /* Symmetrical 3 columns */
        gap: var(--spacing-lg);
        align-items: flex-start;
    }
}

.footer-logo-block {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
    align-self: flex-start;
    opacity: 0.95;
}

.footer-brand-title {
    font-size: 1.8rem;
    color: var(--color-text-dark);
    letter-spacing: 0.05em;
    font-weight: 300;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.footer-tagline {
    font-family: var(--font-body);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.20em;
    color: var(--color-brand-secondary);
    line-height: 1.4;
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    color: var(--color-text-dark);
    font-weight: 500;
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-brand-secondary);
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--color-gold-accent);
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    line-height: 1.6;
    color: var(--color-brand-secondary);
}

.footer-contact-info a {
    color: var(--color-brand-secondary);
    transition: color 0.3s ease;
}

.footer-contact-info a:hover {
    color: var(--color-gold-accent);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-body);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-brand-secondary);
    opacity: 0.8;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

/* --- Animations --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Gallery Sub-page Styles (Seamless Collage Grid) --- */
.gallery-hero {
    text-align: center;
    padding: 5rem 0 3rem;
    margin-top: 100px;
}

.gallery-hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-style: italic;
    margin-bottom: var(--spacing-xs);
}

.gallery-hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-brand-secondary);
}

.collage-section {
    width: 100%;
    padding: 0;
    margin: 0;
}

.collage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
    gap: 0; /* NO space or margin between images */
    padding: 0;
    margin: 0;
}

@media (min-width: 600px) {
    .collage-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on tablet */
    }
}

@media (min-width: 1024px) {
    .collage-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 columns on desktop */
    }
}

@media (min-width: 1400px) {
    .collage-grid {
        grid-template-columns: repeat(5, 1fr); /* 5 columns on large screen */
    }
}

.collage-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1; /* uniform square aspect ratio */
    cursor: pointer;
}

.collage-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    display: block;
}

.collage-item:hover .collage-img {
    transform: scale(1.06);
}

.collage-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 26, 0);
    transition: background-color 0.4s ease;
    pointer-events: none;
}

.collage-item:hover::after {
    background-color: rgba(26, 26, 26, 0.15); /* subtle dark screen overlay on hover */
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 26, 0.96);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    box-shadow: 0 15px 50px rgba(0,0,0,0.6);
    border: 8px solid var(--color-bg);
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 2.8rem;
    font-weight: 300;
    cursor: pointer;
    z-index: 201;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--color-brand-primary);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 3rem;
    cursor: pointer;
    z-index: 201;
    padding: 20px;
    transition: color 0.3s ease;
}

.lightbox-nav:hover {
    color: var(--color-white);
}

.lightbox-prev {
    left: 15px;
}

.lightbox-next {
    right: 15px;
}

/* --- Contact Section --- */
.contact-section {
    background-color: var(--color-bg);
    border-top: 1px solid rgba(96, 95, 91, 0.15);
    padding-bottom: 5rem;
}

.contact-header {
    margin-bottom: var(--spacing-lg);
}

.contact-subtitle {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--color-brand-secondary);
    max-width: 600px;
    margin: var(--spacing-sm) auto 0;
    line-height: 1.6;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1.8fr 1fr; /* 1.8 for form, 1 for info */
        gap: var(--spacing-xl);
    }
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr; /* side-by-side on desktop */
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    font-family: var(--font-body);
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(96, 95, 91, 0.3);
    background-color: var(--color-white);
    color: var(--color-text-dark);
    transition: border-color 0.3s ease;
    border-radius: 0; /* clean sharp corners for premium aesthetic */
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-brand-secondary);
}

/* Styled Select Wrapper for custom arrow styling */
.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper::after {
    content: '\25BE'; /* Downward triangle arrow */
    font-size: 0.75rem;
    color: var(--color-brand-secondary);
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.form-group select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    padding-right: 2.5rem;
}

.form-submit-container {
    margin-top: 1rem;
}

.btn-submit {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 500;
    padding: 1rem 2.5rem;
    background-color: var(--color-brand-secondary);
    color: var(--color-white);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

@media (min-width: 768px) {
    .btn-submit {
        width: auto;
    }
}

.btn-submit:hover {
    background-color: var(--color-brand-primary);
    color: var(--color-text-dark);
}

.contact-info-column {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.whatsapp-card {
    border: 1px solid rgba(96, 95, 91, 0.15);
    padding: var(--spacing-md);
    background-color: var(--color-bg);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.card-title {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-text-dark);
}

.card-text {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--color-brand-secondary);
    line-height: 1.6;
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
    padding: 1rem;
    background-color: #25D366;
    color: var(--color-white);
    transition: background-color 0.3s ease;
    width: 100%;
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
}

.whatsapp-icon {
    display: block;
}

/* --- Floating WhatsApp Widget --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background-color: #799881; /* Verde WhatsApp desaturado y grisáceo */
    color: var(--color-white) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(121, 152, 129, 0.35);
    z-index: 999;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
}

.whatsapp-float:hover {
    background-color: var(--color-brand-secondary); /* fades to Gris Topo on hover */
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(96, 95, 91, 0.3);
    color: var(--color-white) !important;
}

.whatsapp-float-icon {
    width: 26px;
    height: 26px;
}

/* --- Spotify Playlist Banner Section --- */
.spotify-section {
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.spotify-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2.5rem var(--spacing-md);
    background-color: var(--color-bg);
    border: 1px solid rgba(96, 95, 91, 0.15);
    text-align: center;
    align-items: center;
    justify-content: center;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.spotify-card:hover {
    border-color: rgba(96, 95, 91, 0.35);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

@media (min-width: 768px) {
    .spotify-card {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        padding: 3rem var(--spacing-lg);
        align-items: center;
    }
}

.spotify-card-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.spotify-tag {
    font-family: var(--font-body);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-brand-secondary);
    font-weight: 500;
}

.spotify-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-style: italic;
    font-weight: 300;
    line-height: 1.4;
    color: var(--color-text-dark);
}

.btn-spotify-chic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
    padding: 0.85rem 1.75rem;
    border: 1px solid var(--color-brand-secondary);
    color: var(--color-brand-secondary);
    background-color: transparent;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    white-space: nowrap;
}

.btn-spotify-chic:hover {
    background-color: #799881; /* Matches the eucalyptus/sage WhatsApp green for cool cohesion */
    color: var(--color-white);
    border-color: #799881;
}

.spotify-play-icon {
    display: block;
}

/* --- Workshops Section (Miss Maggie's style) --- */
.workshops-section {
    padding: 1.5rem 0 !important; /* override default .section padding for tighter display */
}

.workshops-grid {
    display: grid;
    grid-template-columns: 1fr;
    border: 1px solid rgba(96, 95, 91, 0.15); /* elegant border surrounding the grid */
    overflow: hidden;
}

@media (min-width: 992px) {
    .workshops-grid {
        grid-template-columns: 1fr 1fr; /* side-by-side */
    }
}

.workshops-text-column {
    background-color: #263628; /* deep dark forest green */
    color: #FCFBF9; /* cream/light text */
    padding: 2rem var(--spacing-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

@media (min-width: 992px) {
    .workshops-text-column {
        padding: 3.5rem var(--spacing-lg);
    }
}

.workshops-tag {
    font-family: var(--font-body);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-brand-primary); /* cream brand accent */
    margin-bottom: 1rem;
    font-weight: 500;
}

.workshops-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-style: italic;
    color: var(--color-brand-primary); /* cream brand accent */
    line-height: 1.2;
}

.decorative-line-light {
    width: 60px;
    height: 1px;
    background-color: var(--color-brand-primary);
    margin: 1.5rem 0;
}

.workshops-desc {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(252, 251, 249, 0.85); /* highly readable off-white */
    font-weight: 300;
}

.workshops-image-column {
    width: 100%;
    height: 100%;
}

.workshops-image-wrapper {
    width: 100%;
    height: 100%;
    min-height: 250px; /* ensure image is tall on mobile */
}

.workshops-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (min-width: 992px) {
    .workshops-image-wrapper {
        min-height: 380px;
    }
}
