/*
 * Finca La Vertiente - Modern CSS
 * Modernized version maintaining the original aesthetic
 */

/* ==========================================
   CSS Custom Properties (Variables)
   ========================================== */
:root {
    /* Colors - keeping original palette */
    --color-primary: #e89980;
    --color-primary-light: #ecaa96;
    --color-primary-dark: #e4886a;
    --color-accent-green: #7fcdb8;
    --color-accent-blue: #90b0ba;
    --color-accent-gold: #e5cb95;
    
    /* Neutrals */
    --color-dark: #444;
    --color-text: #646464;
    --color-text-light: #777;
    --color-text-muted: #999;
    --color-border: #e5e5e5;
    --color-bg: #f5f5f5;
    --color-bg-alt: #f0f0f0;
    --color-white: #fff;
    
    /* Typography */
    --font-family: 'Source Sans 3', 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 50%;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-slower: 0.8s ease;
    
    /* Container */
    --container-max: 1200px;
    --container-padding: 1.5rem;
    
    /* Header */
    --header-height: 70px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: var(--font-weight-light);
    line-height: 1.7;
    color: var(--color-text-light);
    background-color: var(--color-bg);
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary-dark);
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ==========================================
   Typography
   ========================================== */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-text);
    font-weight: var(--font-weight-light);
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.5rem, 3vw, 1.875rem); letter-spacing: -0.015em; }
h4 { font-size: clamp(1.125rem, 2vw, 1.25rem); }

p {
    margin-bottom: 1.5em;
}

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

/* ==========================================
   Container
   ========================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ==========================================
   Buttons
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: var(--font-weight-normal);
    line-height: 1;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: 2px solid var(--color-primary);
}

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

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

.btn-outline:hover {
    background-color: var(--color-bg);
    color: var(--color-text);
    border-color: var(--color-text-muted);
}

.btn-light {
    background-color: var(--color-white);
    color: var(--color-text);
    border: 2px solid var(--color-white);
}

.btn-light:hover {
    background-color: transparent;
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--color-white);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* ==========================================
   Header
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: transparent;
    z-index: 1000;
    transition: all var(--transition-base);
}

.header.scrolled {
    background-color: var(--color-dark);
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: var(--font-weight-semibold);
    color: var(--color-white);
    letter-spacing: 0.02em;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.0625rem;
    font-weight: var(--font-weight-medium);
}

.header-phone:hover {
    color: var(--color-white);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    padding: 0.75rem 1.5rem;
    color: var(--color-white);
    font-size: 1.0625rem;
    font-weight: var(--font-weight-medium);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
}

.nav-link.btn {
    margin-left: 0.5rem;
    min-width: auto;
    text-align: center;
    padding: 0.625rem 1.25rem;
    font-size: 1rem;
}

.nav-link.btn.btn-primary {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.5);
}

.nav-link.btn.btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--color-white);
}

/* WhatsApp button in nav */
.nav-btn-whatsapp {
    background-color: var(--color-white) !important;
    color: var(--color-text) !important;
    border-color: var(--color-white) !important;
}

.nav-btn-whatsapp:hover {
    background-color: transparent !important;
    color: var(--color-white) !important;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-dropdown-toggle i {
    font-size: 0.75rem;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 180px;
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu li {
    list-style: none;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--color-text);
    font-size: 1rem;
    transition: all var(--transition-fast);
    border-bottom: 1px solid var(--color-border);
}

.nav-dropdown-menu li:last-child a {
    border-bottom: none;
}

.nav-dropdown-menu a:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    border-radius: 2px;
    transition: all var(--transition-base);
}

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

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

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

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-dark);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

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

.mobile-nav-link {
    color: var(--color-white);
    font-size: 1.5rem;
    padding: 0.75rem 1.5rem;
    transition: all var(--transition-fast);
}

.mobile-nav-link:hover {
    color: var(--color-primary);
}

/* Mobile nav buttons */
.mobile-nav .btn {
    min-width: auto;
    padding: 0.625rem 1.25rem;
    font-size: 1rem;
}

.mobile-nav .btn-light {
    color: var(--color-text) !important;
}

.mobile-nav .btn-light:hover {
    color: var(--color-white) !important;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.4) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
    padding-bottom: 8rem;
    max-width: 800px;
}

.hero-logo {
    max-width: 200px;
    margin: 0 auto 2rem;
}

.hero-title {
    color: var(--color-white);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: var(--font-weight-light);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: var(--font-weight-light);
    margin-bottom: 2rem;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

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

.hero-buttons .btn {
    min-width: 240px;
    text-align: center;
}

.hero-scroll {
    display: none;
}

.scroll-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: var(--color-white);
    font-size: 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    animation: bounce 2s infinite;
    transition: all var(--transition-fast);
}

.scroll-indicator:hover {
    color: var(--color-white);
    border-color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.1);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ==========================================
   Sections
   ========================================== */
.section {
    padding: var(--space-xl) 0;
}

/* First section overlaps the hero */
.section-overlap {
    position: relative;
    margin-top: -18rem;
    padding-top: 0;
    z-index: 10;
}

.section-overlap .card-featured {
    box-shadow: var(--shadow-xl);
}

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

.section-title {
    color: var(--color-text);
    margin-bottom: 0.25em;
}

.section-subtitle {
    color: var(--color-text-light);
    font-size: 1.25rem;
    font-weight: var(--font-weight-normal);
    margin-bottom: 1.5rem;
}

.section-description {
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Centered sections keep max-width */
.text-center .section-description {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* In cards, description aligns with content */
#servicios .section-description {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: none !important;
}

/* ==========================================
   Cards
   ========================================== */
.card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

.card-content {
    padding: var(--space-xl);
}

.card-image {
    overflow: hidden;
}

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

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

.card-featured .card-content {
    padding: var(--space-xl);
}

.card-featured .card-image img {
    border-radius: 0;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.features-grid .card {
    display: flex;
    flex-direction: column;
}

.features-grid .card-image {
    height: 250px;
}

.features-grid .card-image img {
    height: 100%;
}

.features-grid .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.features-grid .card-content h3 {
    color: var(--color-text);
    margin-bottom: 1rem;
}

.features-grid .card-content p {
    flex: 1;
    color: var(--color-text-light);
}

.features-grid .card-content .btn {
    align-self: flex-start;
}

/* ==========================================
   Amenities
   ========================================== */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
}

.amenity {
    text-align: center;
    padding: var(--space-md);
}

.amenity-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-text);
    color: var(--color-white);
    border-radius: var(--radius-full);
    font-size: 2rem;
    transition: all var(--transition-base);
}

.amenity:hover .amenity-icon {
    background-color: var(--color-primary);
    transform: scale(1.05);
}

.amenity h4 {
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.amenity p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ==========================================
   Gallery
   ========================================== */
.gallery-section {
    margin-bottom: var(--space-xl);
}

.gallery-section:last-child {
    margin-bottom: 0;
}

.gallery-section h3 {
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.gallery-description {
    color: var(--color-text-light);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.gallery-main {
    margin-bottom: var(--space-md);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.gallery-main img {
    width: 100%;
    height: auto;
    transition: transform var(--transition-slow);
}

.gallery-main:hover img {
    transform: scale(1.01);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    cursor: pointer;
}

.gallery-grid img:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Quote */
.quote {
    border-left: 4px solid var(--color-primary);
    padding: var(--space-md) var(--space-lg);
    margin: var(--space-lg) 0;
    font-style: italic;
    color: var(--color-text-light);
    background-color: var(--color-bg);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* ==========================================
   Services
   ========================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.services-column h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text);
    margin-bottom: 1rem;
    font-weight: var(--font-weight-semibold);
    font-size: 1.05rem;
}

.services-column h4.mt-lg {
    margin-top: var(--space-xl);
}

.services-column h4 i {
    color: var(--color-primary);
}

.services-list {
    padding-left: 0;
    margin: 0;
}

.services-list li {
    position: relative;
    padding: 0.625rem 0 0.625rem 1.75rem;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.95rem;
    color: var(--color-text-light);
}

.services-list li:last-child {
    border-bottom: none;
}

.services-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

.services-list.warnings li::before {
    content: '!';
    color: var(--color-accent-gold);
}

.services-gallery {
    margin-top: var(--space-lg);
}

/* ==========================================
   Contact Section
   ========================================== */
.section-contact {
    background-color: var(--color-bg-alt);
}

.contact-header {
    margin-bottom: var(--space-xl);
}

.contact-phones {
    display: block;
    margin-top: 1rem;
}

.contact-phones a {
    color: var(--color-primary);
    font-weight: var(--font-weight-normal);
}

.contact-card {
    max-width: 100%;
    margin: 0 auto;
}

.contact-form {
    padding: var(--space-xl) var(--space-2xl);
    max-width: 900px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    font-family: inherit;
    font-size: 1rem;
    color: var(--color-text);
    background-color: var(--color-bg);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(232, 153, 128, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    text-align: center;
    margin-top: var(--space-md);
}

/* ==========================================
   Location Section
   ========================================== */
.section-location {
    background-color: var(--color-bg);
}

/* ==========================================
   Google Reviews Section
   ========================================== */
.google-rating {
    margin: var(--space-lg) 0;
    text-align: center;
}

.google-logo {
    height: 28px;
    margin-bottom: var(--space-md);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.rating-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.rating-score {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1;
}

.rating-stars {
    font-size: 1.5rem;
    color: #fbbc04;
    letter-spacing: 2px;
}

.rating-count {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
}

.review-card {
    padding: var(--space-lg);
    background-color: var(--color-bg);
    border-radius: var(--radius-md);
    text-align: left;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.review-stars {
    color: #fbbc04;
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
    letter-spacing: 2px;
}

.review-text {
    font-style: italic;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.review-author {
    font-weight: 600;
    color: var(--color-text);
}

/* ==========================================
   Location Section
   ========================================== */
.map-container {
    margin: var(--space-lg) 0;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.map-container iframe {
    display: block;
    width: 100%;
    min-height: 400px;
}

.location-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.location-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background-color: var(--color-white);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.location-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.location-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.location-details h4 {
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    color: var(--color-dark);
    margin-bottom: 0.25rem;
}

.location-details p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 840px) {
    .location-info {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background-color: var(--color-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-xl) 0;
    text-align: center;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: var(--space-lg);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: rgba(255, 255, 255, 0.6);
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    font-size: 1.25rem;
    transition: all var(--transition-base);
}

.footer-social a:hover {
    color: var(--color-white);
    background-color: var(--color-primary);
    transform: translateY(-3px);
}

.footer-info {
    margin-bottom: var(--space-lg);
}

.footer-info p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-info strong {
    color: var(--color-white);
    font-weight: var(--font-weight-normal);
}

.footer-afip {
    margin-bottom: var(--space-lg);
}

.footer-afip img {
    margin: 0 auto;
    border-radius: var(--radius-sm);
}

.footer-copyright {
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.footer-copyright a {
    color: var(--color-primary);
}

.footer-copyright a:hover {
    color: var(--color-primary-light);
}

/* ==========================================
   Back to Top Button
   ========================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-full);
    font-size: 1.25rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-3px);
}

/* ==========================================
   Animations
   ========================================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

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

/* Reveal on Scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-slower);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   Responsive Design
   ========================================== */

/* Large Tablets and Small Desktops */
@media (max-width: 1280px) {
    .header-contact {
        display: none;
    }
}

@media (max-width: 1024px) {
    .features-grid {
        gap: var(--space-md);
    }
    
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-overlap {
        margin-top: -16rem;
    }
}

/* Tablets */
@media (max-width: 840px) {
    :root {
        --header-height: 60px;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero-bg {
        background-attachment: scroll;
    }
    
    .section-overlap {
        margin-top: -14rem;
    }
    
    .hero-content {
        padding-bottom: 6rem;
    }
}

/* Mobile */
@media (max-width: 640px) {
    :root {
        --container-padding: 1rem;
        --space-xl: 2rem;
        --space-2xl: 3rem;
        --space-3xl: 4rem;
    }
    
    .section {
        padding: var(--space-lg) 0;
    }
    
    .section-overlap {
        margin-top: -12rem;
    }
    
    .hero-content {
        padding: 1rem;
        padding-bottom: 5rem;
    }
    
    .hero-logo {
        max-width: 150px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .amenities-grid {
        grid-template-columns: 1fr;
        padding: var(--space-lg);
    }
    
    .amenity {
        padding: var(--space-sm);
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid img {
        height: 250px;
    }
    
    .card-content {
        padding: var(--space-lg);
    }
    
    .contact-form {
        padding: var(--space-lg);
    }
    
    .footer-social a {
        width: 45px;
        height: 45px;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

/* Extra Small Devices */
@media (max-width: 400px) {
    body {
        font-size: 15px;
    }
    
    .card-content {
        padding: var(--space-md);
    }
    
    .quote {
        padding: var(--space-sm) var(--space-md);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .hero-bg {
        background-attachment: scroll;
    }
}

