/* LimpiezaPro España - Elegant Andalusian Design */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Lato:wght@300;400;500;600&display=swap');

/* CSS Variables - Mediterranean Color Palette */
:root {
    --primary-gold: #d4af37;
    --spanish-red: #c0392b;
    --mediterranean-blue: #3498db;
    --dark-blue-gray: #2c3e50;
    --warm-white: #fdf6e3;
    --validation-green: #27ae60;
    --terracotta: #cd853f;
    --olive-green: #8fbc8f;
    --azure-blue: #87ceeb;
    --golden-yellow: #ffd700;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;

    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;

    /* Shadows */
    --card-shadow: 0 10px 30px rgba(0,0,0,0.1);
    --hover-shadow: 0 15px 40px rgba(0,0,0,0.15);

    /* Transitions */
    --smooth-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.8rem; }

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Header & Navigation */
.main-header {
    background: rgba(253, 246, 227, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--smooth-transition);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-gold);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--smooth-transition);
}

.logo:hover {
    transform: scale(1.05);
    color: #b8941f;
}

.logo::before {
    content: "✨";
    font-size: 1.5rem;
    animation: sparkle 2s ease-in-out infinite alternate;
}

@keyframes sparkle {
    0% { transform: rotate(0deg) scale(1); }
    100% { transform: rotate(10deg) scale(1.1); }
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin: 0;
}

.main-nav a {
    text-decoration: none;
    color: var(--dark-blue-gray);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--smooth-transition);
    position: relative;
    padding: 0.8rem 1.5rem;
    display: block;
    border-radius: 8px;
    margin: 0 0.2rem;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0.3rem;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: var(--smooth-transition);
    transform: translateX(-50%);
    border-radius: 2px;
}

.main-nav a:hover {
    color: var(--primary-gold);
    background: rgba(212, 175, 55, 0.08);
    transform: translateY(-1px);
}

.main-nav a.active {
    color: var(--primary-gold);
    background: rgba(212, 175, 55, 0.12);
    font-weight: 600;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 60%;
}

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

.phone-number {
    font-weight: 600;
    color: var(--spanish-red);
    font-size: 1.2rem;
    text-decoration: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--smooth-transition);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold) 0%, #b8941f 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

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

.btn-outline:hover {
    background: var(--primary-gold);
    color: white;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--warm-white) 0%, #f0e6d2 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: -50%;
    width: 100%;
    height: 100%;
    background: url('../images/hero-cleaning-team.jpg') center/cover;
    opacity: 0.1;
    transform: skewX(-15deg);
}

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

.hero-text h1 {
    color: var(--dark-blue-gray);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

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

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #555;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services Section */
.services-section {
    padding: var(--section-padding);
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: var(--dark-blue-gray);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    transition: var(--smooth-transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--spanish-red));
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-gold), #b8941f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.service-card h3 {
    color: var(--dark-blue-gray);
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.service-features {
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.feature-item i {
    color: var(--validation-green);
    font-size: 0.8rem;
}

.service-price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

/* Contact Form Section */
.contact-form-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #f8f4e6 0%, var(--warm-white) 100%);
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-header h2 {
    color: var(--dark-blue-gray);
    margin-bottom: 1rem;
}

.cleaning-contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--smooth-transition);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

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

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.form-note {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Quote Calculator */
.quote-calculator {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--card-shadow);
    margin: 2rem 0;
    border: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
    overflow: hidden;
}

.quote-calculator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--spanish-red), var(--mediterranean-blue));
}

.calculator-header {
    text-align: center;
    margin-bottom: 3rem;
}

.calculator-header h3 {
    color: var(--dark-blue-gray);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.calculator-header p {
    color: #666;
    font-size: 1.1rem;
}

.calculator-form {
    display: grid;
    gap: 2rem;
}

.calc-row {
    margin-bottom: 2rem;
}

.calc-row label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--dark-blue-gray);
    font-size: 1.1rem;
}

.calc-row select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    background: white;
    transition: var(--smooth-transition);
    cursor: pointer;
}

.calc-row select:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.calc-row input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #e0e0e0;
    outline: none;
    -webkit-appearance: none;
    margin: 1rem 0;
}

.calc-row input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-gold);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: var(--smooth-transition);
}

.calc-row input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.calc-row input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-gold);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.range-value {
    display: inline-block;
    background: var(--primary-gold);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.1rem;
    margin-left: 1rem;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--smooth-transition);
    border: 2px solid transparent;
}

.checkbox-group label:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--primary-gold);
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-gold);
}

.calc-result {
    background: linear-gradient(135deg, var(--primary-gold) 0%, #b8941f 100%);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    margin-top: 3rem;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.calc-result::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.price-display {
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.price-amount {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: block;
    margin-bottom: 0.5rem;
}

.price-unit {
    font-size: 1.3rem;
    opacity: 0.9;
    font-weight: 500;
}

.price-details {
    opacity: 0.9;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

.price-breakdown {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.price-breakdown h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.price-breakdown > div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* Footer */
.main-footer {
    background: var(--dark-blue-gray);
    color: white;
    padding: 3rem 0 2rem;
}

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

.footer-section h4 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

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

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: var(--smooth-transition);
}

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

/* Responsive Design - Desktop Only */
@media (max-width: 1440px) {
    .container { max-width: 1000px; }
    h1 { font-size: 3rem; }
    h2 { font-size: 2.4rem; }
}

@media (max-width: 1024px) {
    .container { max-width: 900px; }
    .hero-content { grid-template-columns: 1fr; gap: 2rem; }
    .form-row { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* AOS Animation Overrides */
[data-aos="fade-up"] {
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.6s ease-out;
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
    opacity: 1;
}

/* Icons */
.icon-home::before { content: "🏠"; }
.icon-office::before { content: "🏢"; }
.icon-tools::before { content: "🧹"; }
.icon-check::before { content: "✓"; }
.icon-calendar::before { content: "📅"; }
.icon-shield::before { content: "🛡️"; }
.icon-phone::before { content: "📞"; }