/* ==========================================
   HACIENDA HATO VERDE - CUSTOM STYLES
   ========================================== */

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    max-width: 100%;
}

:root {
    /* Colors */
    --primary-color: #2d5016;
    --primary-dark: #1a3009;
    --primary-light: #4a7c2a;
    --secondary-color: #c8a165;
    --secondary-dark: #a68444;
    --accent-color: #8b4513;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --text-gray: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #dee2e6;
    --overlay-dark: rgba(0, 0, 0, 0.5);
    --overlay-light: rgba(45, 80, 22, 0.8);

    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Playfair Display', serif;

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

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: var(--spacing-sm);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-primary-light {
    background-color: var(--text-light);
    color: var(--primary-color);
    border-color: var(--text-light);
}

.btn-primary-light:hover {
    background-color: var(--secondary-color);
    color: var(--text-light);
    border-color: var(--secondary-color);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

.btn-outline-light:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-normal);
    background-color: transparent;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: var(--spacing-sm) 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: var(--transition-normal);
}

.header.scrolled .logo-img {
    height: 45px;
}

.header.scrolled .logo {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    position: relative;
    transition: var(--transition-normal);
}

.header.scrolled .nav-link {
    color: var(--text-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.btn-contact {
    background-color: var(--secondary-color);
    color: var(--text-light);
    border-radius: var(--radius-md);
    padding: var(--spacing-xs) var(--spacing-md);
}

.btn-whatsapp {
    background-color: #25d366;
    color: var(--text-light);
}

.btn-whatsapp:hover {
    background-color: #1ebe5d;
}

.btn-contact::after {
    display: none;
}

.btn-contact:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    transition: var(--transition-normal);
}

.header.scrolled .menu-toggle span {
    background-color: var(--primary-color);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/hacienda-hatoverde-2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.7), rgba(0, 0, 0, 0.5));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
    max-width: 900px;
    padding: 0 var(--spacing-md);
}

.hero-kicker {
    display: inline-block;
    font-size: 0.875rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-xl);
    margin-bottom: var(--spacing-sm);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    margin-bottom: var(--spacing-lg);
    font-weight: 300;
}

.page-hero .section-label {
    color: var(--accent-color);
}

.page-hero .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.page-hero.rooms-hero {
    background-image: linear-gradient(130deg, rgba(25, 46, 12, 0.75), rgba(25, 46, 12, 0.2)), url('../images/habitacion-matrimonial.jpeg');
    background-position: center, center;
    background-size: cover, cover;
    background-repeat: no-repeat, no-repeat;
}

.page-hero.rooms-hero::before {
    background: rgba(18, 34, 9, 0.65);
}

.page-hero .hero-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    margin-bottom: var(--spacing-lg);
    font-weight: 300;
}

.page-hero .hero-title {
    font-size: clamp(2.3rem, 5vw, 3.8rem);
    color: var(--text-light);
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
    line-height: 1.1;
}

.page-hero .hero-subtitle {
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.page-hero .hero-kicker {
    display: none;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-light);
    animation: bounce 2s infinite;
    z-index: 2;
}

/* ==========================================
   HABITACIONES PAGE LAYOUT
   ========================================== */
.rooms-overview {
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    background-color: var(--bg-white);
}

.rooms-overview-content {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    color: var(--text-gray);
}

.rooms-collection {
    padding: 0 0 var(--spacing-xxl);
    background-color: var(--bg-light);
}

.rooms-collection .container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.room-suite {
    display: grid;
    gap: var(--spacing-xl);
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    align-items: center;
    background-color: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.room-suite:not(:last-child)::after {
    content: '';
    position: absolute;
    inset: auto 12% -32px 12%;
    height: 1px;
    background: linear-gradient(90deg, rgba(0,0,0,0), rgba(200,161,101,0.35), rgba(0,0,0,0));
}

.room-gallery {
    display: grid;
    gap: var(--spacing-sm);
}

.room-gallery .primary-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.room-gallery .primary-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.room-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: var(--spacing-sm);
}

.room-thumbnails img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.room-thumbnails img:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

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

.room-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-lg);
    background-color: rgba(200, 161, 101, 0.15);
    color: var(--secondary-dark);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.room-title {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin: 0;
}

.room-summary {
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.7;
}

.room-meta-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--spacing-sm);
    padding: 0;
    margin: 0;
    list-style: none;
}

.room-meta-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.room-meta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(70, 123, 39, 0.1);
    color: var(--primary-color);
}

.room-includes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--spacing-sm);
    margin: 0;
    padding: 0;
    list-style: none;
}

.room-includes li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: 700;
}

.room-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.room-actions .btn {
    flex: 1;
    min-width: 220px;
    text-align: center;
}

.rooms-amenities {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-white);
}

.amenities-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--spacing-lg);
}

@media (max-width: 1024px) {
    .amenities-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .amenities-list {
        grid-template-columns: 1fr;
    }
}

.amenity-item {
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    background-color: var(--bg-light);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    transition: var(--transition-normal);
    height: 100%;
}

.amenity-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.amenity-icon {
    font-size: 2rem;
}

.scroll-indicator span {
    display: block;
    font-size: 0.875rem;
    margin-bottom: var(--spacing-xs);
}

.arrow-down {
    width: 30px;
    height: 30px;
    border-left: 2px solid var(--text-light);
    border-bottom: 2px solid var(--text-light);
    transform: rotate(-45deg);
    margin: 0 auto;
}

/* ==========================================
   SECTION STYLES
   ========================================== */
.section-label {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-sm);
}

.section-title {
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.section-description {
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
    color: var(--text-gray);
    font-size: 1.125rem;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-footer {
    text-align: center;
    margin-top: var(--spacing-xl);
}

/* ==========================================
   ABOUT PREVIEW SECTION
   ========================================== */
.about-preview {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    align-items: center;
}

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content {
    padding: var(--spacing-md);
}

.section-text {
    color: var(--text-gray);
    margin-bottom: var(--spacing-md);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.feature-item {
    text-align: center;
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
}

.feature-item:hover {
    background-color: var(--bg-light);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.feature-item h3 {
    font-size: 1rem;
    margin-bottom: var(--spacing-xs);
    color: var(--primary-color);
}

.feature-item p {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin: 0;
}

/* ==========================================
   HIGHLIGHTS SECTION
   ========================================== */
.highlights {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-light);
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

.highlight-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.highlight-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.highlight-card h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.highlight-card p {
    color: var(--text-gray);
    margin: 0;
}

/* ==========================================
   ROOMS PREVIEW SECTION
   ========================================== */
.rooms-preview {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-white);
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-lg);
}

.room-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    transition: var(--transition-normal);
}

.room-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

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

.room-card-body {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.room-card-body h3 {
    color: var(--primary-color);
    margin: 0;
}

.room-card-body p {
    color: var(--text-gray);
    margin: 0;
}

.room-card-body .room-meta {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: var(--secondary-color);
}

/* ==========================================
   EXPERIENCES SECTION
   ========================================== */
.experiences {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-light);
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-lg);
}

.experience-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.experience-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

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

.experience-card-body {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.experience-card-body h3 {
    color: var(--primary-color);
    margin: 0;
}

.experience-card-body p {
    color: var(--text-gray);
    margin: 0;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-image {
    height: 250px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: var(--spacing-md);
}

.service-content h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.service-content p {
    color: var(--text-gray);
    margin-bottom: var(--spacing-md);
}

.service-link {
    color: var(--secondary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: var(--transition-normal);
}

.service-link:hover {
    color: var(--secondary-dark);
    gap: var(--spacing-sm);
}

/* ==========================================
   GALLERY PREVIEW SECTION
   ========================================== */
.gallery-preview {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-sm);
}

.gallery-item {
    position: relative;
    height: 300px;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 80, 22, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-title {
    color: var(--text-light);
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
}

/* ==========================================
   TESTIMONIALS SECTION
   ========================================== */
.testimonials {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-light);
}

.testimonials .section-label {
    color: var(--secondary-color);
}

.testimonials .section-title {
    color: var(--text-light);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.testimonial-stars {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.testimonial-author strong {
    color: var(--text-light);
}

.testimonial-author span {
    color: var(--secondary-color);
    font-size: 0.875rem;
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta {
    padding: var(--spacing-xl) 0;
    background-image: url('../images/evento-jardin.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 80, 22, 0.85);
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-title {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
}

.footer-text {
    color: #b0b0b0;
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.social-link:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-subtitle {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
    font-size: 1.125rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-links a {
    color: #b0b0b0;
    transition: var(--transition-normal);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: var(--spacing-xs);
}

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

.footer-contact li {
    display: flex;
    gap: var(--spacing-sm);
    align-items: flex-start;
    color: #b0b0b0;
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 4px;
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-bottom p {
    color: #b0b0b0;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: var(--spacing-md);
}

.footer-bottom-links a {
    color: #b0b0b0;
    font-size: 0.875rem;
    transition: var(--transition-normal);
}

/* ==========================================
   WHATSAPP FLOAT BUTTON
   ========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition-normal);
    animation: pulse 2s infinite;
}
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        max-width: 100vw;
        height: calc(100vh - 70px);
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        padding: var(--spacing-lg) 0;
        transition: var(--transition-normal);
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        color: var(--text-dark);
        font-size: 1.125rem;
        width: 100%;
        text-align: center;
    }

    .menu-toggle {
        display: flex;
        z-index: 1000;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .header.scrolled .menu-toggle span {
        background-color: var(--primary-color);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xl: 3rem;
        --spacing-lg: 2rem;
    }

    .hero {
        min-height: 500px;
    }

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

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

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

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

    .testimonials-slider {
        grid-template-columns: 1fr;
    }

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

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
        max-width: 100%;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }

    .service-image {
        height: 200px;
    }

    .gallery-item {
        height: 250px;
    }

    h1 {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }

    h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    h3 {
        font-size: clamp(1.25rem, 5vw, 1.5rem);
    }
}

/* ==========================================
   UTILITIES
   ========================================== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

/* ==========================================
   PAGE HEADER COMMON STYLES
   ========================================== */
.page-header {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    margin-top: 0;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}

.page-header .container {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 20px 40px;
}

.page-hero-content {
    text-align: center;
    color: white;
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 20px 40px;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #2d5f46;
    margin-bottom: 1rem;
    opacity: 0.95;
}

/* Section label en headers con fondo oscuro */
.page-header .section-label,
.hero .section-label,
.cta .section-label {
    color: #E8F5E9;
}

.page-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
}

.page-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Service Cards with Better Icons */
.service-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    color: white;
    background: #2d5f46;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: #1a3d2e;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(45, 95, 70, 0.3);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.service-description {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: #555;
    display: flex;
    align-items: center;
}

.service-features li .checkmark {
    color: #2d5f46;
    margin-right: 0.5rem;
    font-weight: bold;
}

/* Services Page Sections */
.services-intro {
    padding: 80px 0 40px;
    background: #f9fafb;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-content .section-label {
    color: #2d5f46;
}

.intro-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.intro-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #555;
}

.services-section {
    padding: 60px 0;
    background: white;
}
