/* CSS actualizado con las mejoras solicitadas */

/* Variables y reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --dark-gradient: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    --light-gradient: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    --success-gradient: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%);
    --phone-gradient: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    --whatsapp-gradient: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    
    --primary-color: #667eea;
    --secondary-color: #f5576c;
    --accent-color: #4facfe;
    --dark-color: #2c3e50;
    --light-color: #f8fafc;
    --text-dark: #2d3748;
    --text-light: #718096;
    --white: #ffffff;
    
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--light-color);
    padding-top: 80px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

h1, h2, h3 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Botones modernos */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-md);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    transform: translateY(0);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: var(--secondary-gradient);
    color: var(--white);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-tertiary {
    background: var(--accent-gradient);
    color: var(--white);
}


.btn-tertiary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-phone {
    background: var(--phone-gradient);
    color: var(--white);
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
}

.btn-phone:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Navbar moderna */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo img {
    height: 35px;
    margin-right: 15px;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin: 0 0.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
    z-index: -1;
    border-radius: var(--radius-md);
}

.nav-links a:hover::before,
.nav-links a.active::before {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
    transform: translateY(-1px);
}

.burger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.burger div {
    width: 25px;
    height: 3px;
    background: var(--primary-gradient);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.burger.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger.toggle .line2 {
    opacity: 0;
}

.burger.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Sección de Servicio de Drones como Hero */
.drone-service.main-hero {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%), 
                url('../img/imagen1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-blend-mode: overlay;
    text-align: center;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    color: var(--white);
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.drone-service.main-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1), transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.1), transparent 50%);
    z-index: 1;
}

.drone-service.main-hero .container {
    position: relative;
    z-index: 2;
}

.drone-service.main-hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.drone-service.main-hero p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
}

.drone-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.drone-icon {
    margin-bottom: 1rem;
}

.drone-icon i {
    font-size: 3rem;
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.drone-features {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
}

.drone-features .feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 130px;
    transition: all 0.3s ease;
}

.drone-features .feature-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.drone-features .feature-item i {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: var(--white);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.drone-features .feature-item span {
    font-weight: 600;
    color: var(--white);
    font-size: 1rem;
}

/* Sección de propiedades moderna */
.properties {
    background: var(--light-color);
    padding: 4rem 0;
    position: relative;
}

.properties h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-color);
    position: relative;
}

.properties h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: var(--radius-sm);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.property-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    transform: translateY(0);
    cursor: pointer;
}

.property-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    border-radius: var(--radius-lg);
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.property-card:hover::before {
    opacity: 0.05;
}

.property-image {
    height: 220px;
    overflow: hidden;
    position: relative;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-card:hover .property-image img {
    transform: scale(1.1);
}

.property-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary-gradient);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
}

.property-info {
    padding: 1.75rem;
    position: relative;
    z-index: 2;
}

.property-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
    font-weight: 700;
}

.location {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.location i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
    font-size: 1rem;
}

.property-info .property-features {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.property-info .property-features span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.85rem;
    color: var(--text-light);
    background: rgba(102, 126, 234, 0.1);
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius-sm);
}

.property-info .property-features span i {
    font-size: 0.8rem;
    color: var(--primary-color);
}

.price {
    font-size: 1.4rem;
    font-weight: 800;
    background: var(--accent-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.25rem;
}

/* Botones de acción en las tarjetas */
.property-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.property-actions .btn {
    flex: 1;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.property-actions .btn-phone {
    flex: 0 0 auto;
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.property-actions .btn-phone i {
    font-size: 0.9rem;
}

/* Páginas de detalle de propiedades */
.property-detail {
    padding: 6rem 0 4rem;
    background: var(--light-color);
}

.property-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.property-header h1 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.property-location {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 1.1rem;
}

.property-location i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

/* Galería mejorada con carrusel */
.gallery {
    margin-bottom: 3rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.gallery-main {
    height: 400px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-lg);
    position: relative;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border: none;
    padding: 1rem;
    cursor: pointer;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-controls:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: 1rem;
}

.gallery-next {
    right: 1rem;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
    max-height: 120px;
    overflow-x: auto;
    padding: 0.5rem 0;
}

.gallery-thumb {
    height: 80px;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.gallery-thumb.active {
    border-color: var(--primary-color);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.gallery-thumb:hover img {
    opacity: 0.8;
}

/* Video de propiedad */
.property-video {
    margin-bottom: 3rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.property-video h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    text-align: center;
}

.video-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #000;
}

.property-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

/* Contenido de la propiedad */
.property-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.property-details {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

/* Características en vertical */
.property-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(102, 126, 234, 0.05);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.feature-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.feature-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.feature-name {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
}

.property-description {
    margin-bottom: 2rem;
}

.property-description h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.property-description ul {
    list-style: none;
    padding: 0;
}

.property-description ul li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.property-description ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-gradient);
    font-weight: bold;
}

/* Sidebar */
.property-sidebar {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    align-self: start;
    position: sticky;
    top: 100px;
}

.sidebar-price {
    font-size: 2rem;
    font-weight: 700;
    background: var(--accent-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.contact-owner h3 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.owner-info {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(102, 126, 234, 0.05);
    border-radius: var(--radius-lg);
}

.owner-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
    border: 3px solid var(--primary-color);
}

.owner-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.owner-name {
    font-weight: 600;
    color: var(--dark-color);
}

.owner-title {
    font-size: 0.9rem;
    color: var(--text-light);
}

.sidebar-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    text-align: center;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.contact-button i {
    font-size: 1.2rem;
}

.btn-whatsapp {
    background: var(--whatsapp-gradient);
    color: var(--white);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-phone {
    background: var(--phone-gradient);
    color: var(--white);
}

.btn-phone:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-email {
    background: var(--dark-gradient);
    color: var(--white);
}

.btn-email:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-back {
    margin-top: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* About section */
.about {
    padding: 4rem 0;
    background: var(--white);
    text-align: center;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(74, 172, 254, 0.05), transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(102, 126, 234, 0.05), transparent 50%);
}

.about .container {
    position: relative;
    z-index: 2;
}

.about h2 {
    color: var(--dark-color);
    margin-bottom: 2rem;
}

.about-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.about p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: var(--primary-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.stat-item p {
    color: var(--text-light);
    margin: 0;
    font-weight: 600;
}

/* Contact section */
.contact {
    background: var(--dark-gradient);
    padding: 5rem 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1), transparent 70%);
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.contact > p {
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease;
    min-width: 250px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--accent-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-item h3 {
    color: var(--white);
    margin: 1rem 0 0.5rem;
    font-size: 1.2rem;
}

.contact-item p {
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.contact-item .btn {
    margin-top: 0;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Footer moderno */
footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 3rem 0 2rem;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-gradient);
    border-radius: var(--radius-sm);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--white);
}

.footer-logo h3 {
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
    background: var(--primary-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Paginación moderna */
.pagination-container {
    text-align: center;
    margin-top: 3rem;
}

.property-card.hidden {
    display: none;
}

#loadMoreBtn {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    min-width: 200px;
    border-radius: var(--radius-xl);
}

/* Servicio de Drones en la página de detalle */
.detail-drone-service {
    background: linear-gradient(135deg, #f1faee 0%, #a8dadc 100%);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    margin-top: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.detail-drone-service h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.detail-drone-service p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

/* Media Queries para Responsive */
@media screen and (max-width: 1024px) {
    .properties-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .contact-info {
        gap: 2rem;
    }
    
    .drone-service.main-hero {
        background-attachment: scroll;
    }
    
    .property-content {
        grid-template-columns: 1fr;
    }
    
    .property-sidebar {
        position: static;
        margin-top: 2rem;
    }
}

@media screen and (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .navbar {
        padding: 1rem 5%;
    }
    
    .nav-links {
        position: fixed;
        right: 0;
        height: 100vh;
        top: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 70%;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 2rem;
        box-shadow: var(--shadow-xl);
    }
    
    .nav-links li {
        margin: 1rem 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        width: 100%;
        padding: 1rem;
        font-size: 1.2rem;
    }
    
    .burger {
        display: block;
    }
    
    .nav-active {
        transform: translateX(0);
    }
    
    .drone-service.main-hero {
        padding: 4rem 0;
        min-height: 50vh;
    }
    
    .drone-features {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .drone-features .feature-item {
        min-width: 200px;
        width: 100%;
        max-width: 300px;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .property-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .property-actions .btn-phone {
        min-width: auto;
    }
    
    .gallery-thumbs {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .property-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-item {
        min-width: auto;
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .container {
        width: 95%;
        padding: 1rem 0;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .nav-links {
        width: 85%;
    }
    
    .drone-service.main-hero {
        padding: 3rem 0;
        min-height: 45vh;
    }
    
    .drone-features .feature-item {
        padding: 1.5rem 1rem;
    }
    
    .property-info {
        padding: 1.5rem;
    }
    
    .property-info .property-features {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .property-features {
        grid-template-columns: 1fr;
    }
    
    .gallery-thumbs {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-item {
        padding: 1.5rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .sidebar-contact {
        gap: 0.75rem;
    }
}

/* Animaciones y estados de carga */
.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--white);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estados de accesibilidad */
.btn:focus,
button:focus,
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Soporte para modo de alto contraste */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0066cc;
        --secondary-color: #cc0066;
        --text-dark: #000000;
        --text-light: #333333;
    }
}

/* Soporte para movimiento reducido */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Estilos de impresión */
@media print {
    .navbar,
    .burger,
    .btn,
    .social-links,
    footer {
        display: none !important;
    }
    
    .drone-service.main-hero {
        background: var(--white) !important;
        color: var(--text-dark) !important;
    }
    
    .property-card {
        break-inside: avoid;
        margin-bottom: 1rem;
    }
}



/* Botón WhatsApp */
.btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: var(--white);
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
    flex: 0 0 auto;
    min-width: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Forzar colores en desktop */
@media screen and (min-width: 769px) {
    .btn-phone {
        background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%) !important;
        color: white !important;
    }
    
    .btn-whatsapp {
        background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
        color: white !important;
    }
    
    /* Tooltip para mostrar número en desktop */
    .btn-phone[data-phone]:hover::after {
        content: attr(data-phone);
        position: absolute;
        bottom: 100%;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0, 0, 0, 0.8);
        color: white;
        padding: 0.5rem;
        border-radius: 4px;
        font-size: 0.8rem;
        white-space: nowrap;
        z-index: 1000;
        margin-bottom: 5px;
    }
    
    .btn-phone {
        position: relative;
    }
}

/* Ajustes para móvil */
@media screen and (max-width: 768px) {
    .property-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .property-actions .btn {
        flex: none;
        width: 100%;
    }
}


