/* 
   EO CLEANING SERVICES - STYLESHEET
   Author: Antigravity AI
   Paleta basada en Logo: Azul Oscuro (#003B73), Azul Brillante (#0099E5), Verde Fresco (#279A27)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- VARIABLES / DESIGN SYSTEM --- */
:root {
    --primary-blue: #003B73;
    --primary-blue-rgb: 0, 59, 115;
    --accent-blue: #0099E5;
    --accent-blue-rgb: 0, 153, 229;
    --accent-green: #279A27;
    --accent-green-rgb: 39, 154, 39;
    --accent-green-hover: #1e7a1e;
    
    --text-dark: #0f172a;
    --text-muted: #475569;
    --text-light: #f8fafc;
    
    --bg-pure: #ffffff;
    --bg-light: #f8fafc;
    --bg-soft-blue: #f0f7ff;
    --bg-soft-green: #f0fdf4;
    
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(0, 59, 115, 0.08);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-full: 9999px;
    
    --max-width: 1280px;
}

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

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-pure);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary-blue);
}

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

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 59, 115, 0.2);
    border-radius: var(--border-radius-full);
    border: 2px solid var(--bg-light);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

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

.section-padding {
    padding: 7rem 0;
}

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

.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--border-radius-full);
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.badge-blue {
    background-color: var(--bg-soft-blue);
    color: var(--accent-blue);
    border: 1.5px solid rgba(0, 153, 229, 0.2);
}

.badge-green {
    background-color: var(--bg-soft-green);
    color: var(--accent-green);
    border: 1.5px solid rgba(39, 154, 39, 0.2);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

.highlight-blue {
    color: var(--accent-blue);
}

.highlight-green {
    color: var(--accent-green);
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-full);
    cursor: pointer;
    transition: var(--transition-bounce);
    font-family: var(--font-heading);
    border: none;
    outline: none;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(0, 59, 115, 0.2);
}

.btn-primary:hover {
    background-color: var(--accent-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 153, 229, 0.3);
}

.btn-secondary {
    background-color: var(--accent-green);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(39, 154, 39, 0.2);
}

.btn-secondary:hover {
    background-color: var(--accent-green-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(39, 154, 39, 0.3);
}

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

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: var(--text-light);
    transform: translateY(-3px);
}

/* --- HEADER & NAVIGATION --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 1.5rem 0;
}

.header.scrolled {
    padding: 0.8rem 0;
    background-color: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

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

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

.logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.header.scrolled .logo img {
    height: 40px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-blue);
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text span:last-child {
    font-size: 0.75rem;
    color: var(--accent-green);
    letter-spacing: 2px;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 0.3rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-blue);
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--accent-blue);
}

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

.nav-cta {
    display: block;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--primary-blue);
    border-radius: var(--border-radius-full);
    transition: var(--transition-smooth);
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    padding-top: 10rem;
    padding-bottom: 7rem;
    background: radial-gradient(circle at 80% 20%, rgba(0, 153, 229, 0.08) 0%, rgba(39, 154, 39, 0.03) 50%, rgba(255, 255, 255, 0) 100%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
    line-height: 1.1;
}

.hero-title span {
    display: inline-block;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.hero-features {
    display: flex;
    gap: 2rem;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 550;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.hero-feature-item svg {
    color: var(--accent-green);
    flex-shrink: 0;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.hero-image-container {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 59, 115, 0.15);
    border: 4px solid var(--bg-pure);
    transform: rotate(2deg);
    transition: var(--transition-smooth);
}

.hero-image-container:hover {
    transform: rotate(0deg) scale(1.02);
}

.hero-image-container img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

/* Floating Decorative Elements */
.shape-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
    opacity: 0.6;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: rgba(0, 153, 229, 0.15);
    top: -50px;
    right: -100px;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: rgba(39, 154, 39, 0.1);
    bottom: -50px;
    left: -50px;
}

.sparkle-element {
    position: absolute;
    color: var(--accent-green);
    animation: float-sparkle 3s ease-in-out infinite alternate;
}

.sparkle-1 { top: 15%; right: 45%; font-size: 1.5rem; }
.sparkle-2 { bottom: 20%; right: 10%; font-size: 2rem; animation-delay: 1.5s; }

/* --- STATS SECTION --- */
.stats {
    background-color: var(--primary-blue);
    padding: 3.5rem 0;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-blue);
    margin-bottom: 0.2rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- SERVICES SECTION --- */
.services {
    background-color: var(--bg-light);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--bg-pure);
    border-radius: var(--border-radius-md);
    padding: 3rem 2.2rem;
    box-shadow: 0 10px 30px rgba(0, 59, 115, 0.03);
    border: 1px solid rgba(0, 59, 115, 0.05);
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-green));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 59, 115, 0.08);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--border-radius-md);
    background-color: var(--bg-soft-blue);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: var(--transition-bounce);
}

.service-card:hover .service-icon {
    background-color: var(--accent-blue);
    color: var(--text-light);
    transform: rotateY(180deg);
}

.service-card:nth-child(even) .service-icon {
    background-color: var(--bg-soft-green);
    color: var(--accent-green);
}

.service-card:nth-child(even):hover .service-icon {
    background-color: var(--accent-green);
    color: var(--text-light);
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.service-link {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-blue);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-card:nth-child(even) .service-link {
    color: var(--accent-green);
}

.service-link svg {
    transition: var(--transition-smooth);
}

.service-card:hover .service-link svg {
    transform: translateX(5px);
}

/* --- WHY CHOOSE US --- */
.why-us {
    background-color: var(--bg-pure);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.why-features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.why-feature-card {
    padding: 1.8rem;
    border-radius: var(--border-radius-md);
    background-color: var(--bg-light);
    transition: var(--transition-smooth);
    border-left: 4px solid var(--accent-blue);
}

.why-feature-card:nth-child(even) {
    border-left-color: var(--accent-green);
}

.why-feature-card:hover {
    background-color: var(--bg-pure);
    box-shadow: 0 10px 30px rgba(0, 59, 115, 0.05);
    transform: translateY(-3px);
}

.why-feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.why-feature-title {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.why-feature-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.why-image-collage {
    position: relative;
    display: flex;
    justify-content: center;
}

.collage-circle {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 59, 115, 0.1) 0%, rgba(39, 154, 39, 0.1) 100%);
    position: absolute;
    z-index: 1;
}

.collage-logo-img {
    z-index: 2;
    background: white;
    padding: 2rem;
    border-radius: 50%;
    box-shadow: 0 15px 35px rgba(0, 59, 115, 0.1);
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float-slow 6s ease-in-out infinite alternate;
}

.collage-logo-img img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* --- TESTIMONIALS SECTION --- */
.testimonials {
    background-color: var(--bg-soft-blue);
}

.testimonials-slider {
    position: relative;
    max-width: 850px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card {
    flex: 0 0 100%;
    background-color: var(--bg-pure);
    border-radius: var(--border-radius-lg);
    padding: 4rem 3rem;
    box-shadow: 0 15px 40px rgba(0, 59, 115, 0.05);
    position: relative;
    text-align: center;
}

.quote-icon {
    position: absolute;
    top: 2rem;
    left: 3rem;
    color: rgba(0, 153, 229, 0.15);
    font-size: 5rem;
    font-family: serif;
    line-height: 0;
}

.testimonial-text {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 1rem auto;
    border: 3px solid var(--accent-blue);
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.testimonial-role {
    font-size: 0.85rem;
    color: var(--accent-green);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.testimonials-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--bg-pure);
    border: 1px solid rgba(0, 59, 115, 0.1);
    color: var(--primary-blue);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 10px rgba(0, 59, 115, 0.05);
}

.testimonials-btn:hover {
    background-color: var(--accent-blue);
    color: var(--text-light);
    transform: scale(1.1);
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(0, 59, 115, 0.2);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot.active {
    width: 24px;
    background-color: var(--accent-blue);
    border-radius: 4px;
}

/* --- CONTACT SECTION --- */
.contact {
    background-color: var(--bg-pure);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
}

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

.contact-info-title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.contact-info-desc {
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}

.contact-detail-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-md);
    background-color: var(--bg-soft-blue);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-content h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.contact-detail-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-form-container {
    background-color: var(--bg-light);
    padding: 3.5rem 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 15px 40px rgba(0, 59, 115, 0.04);
    border: 1px solid rgba(0, 59, 115, 0.05);
}

.form-group {
    margin-bottom: 1.8rem;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-blue);
}

.form-input {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid rgba(0, 59, 115, 0.1);
    background-color: var(--bg-pure);
    border-radius: var(--border-radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: var(--transition-smooth);
    outline: none;
}

.form-input::placeholder {
    color: #94a3b8;
}

.form-input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 4px rgba(0, 153, 229, 0.15);
}

textarea.form-input {
    resize: vertical;
    min-height: 130px;
}

/* Form validation states (via JS) */
.form-input.valid {
    border-color: var(--accent-green);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23279A27'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 1.25rem;
    padding-right: 3rem;
}

.form-input.invalid {
    border-color: #ef4444;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ef4444'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 1.25rem;
    padding-right: 3rem;
}

.form-error-msg {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 0.4rem;
    display: none;
    font-weight: 500;
}

.form-input.invalid + .form-error-msg {
    display: block;
}

/* Success Modal & Submit Animations */
.btn-submit-wrapper {
    position: relative;
}

.btn-submit-text.hidden {
    opacity: 0;
}

.spinner {
    display: none;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 1s ease-in-out infinite;
    position: absolute;
    left: calc(50% - 12px);
    top: calc(50% - 12px);
}

.spinner.show {
    display: block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.success-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.success-modal-overlay.show {
    opacity: 1;
    pointer-events: all;
}

.success-modal {
    background-color: var(--bg-pure);
    border-radius: var(--border-radius-lg);
    padding: 3.5rem 3rem;
    text-align: center;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.85);
    transition: var(--transition-bounce);
}

.success-modal-overlay.show .success-modal {
    transform: scale(1);
}

.success-modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--bg-soft-green);
    color: var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem auto;
    font-size: 2.5rem;
    box-shadow: 0 10px 20px rgba(39, 154, 39, 0.15);
}

.success-modal-title {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    font-weight: 800;
}

.success-modal-text {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* --- FOOTER --- */
.footer {
    background-color: #0c1424;
    color: rgba(255, 255, 255, 0.7);
    padding: 6rem 0 2.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 5rem;
    margin-bottom: 4rem;
}

.footer-brand .logo-text {
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.footer-desc {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

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

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

.footer-title {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.8rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-link a:hover {
    color: var(--accent-blue);
    padding-left: 5px;
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-contact-item {
    display: flex;
    gap: 0.8rem;
    font-size: 0.95rem;
}

.footer-contact-item svg {
    color: var(--accent-green);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a:hover {
    color: var(--accent-blue);
}

/* --- ANIMATIONS (Intersection Observer classes) --- */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Custom Animations */
@keyframes float-slow {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-15px) rotate(3deg); }
}

@keyframes float-sparkle {
    0% { transform: scale(0.8) rotate(0deg); opacity: 0.5; }
    100% { transform: scale(1.2) rotate(180deg); opacity: 1; }
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    .hero-grid, .why-grid, .contact-grid {
        gap: 3rem;
    }
    .hero-image-container img {
        height: 380px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 1.5rem;
    }
    .stat-item {
        border-right: none;
    }
    .stat-item:nth-child(even) {
        border-right: none;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3.5rem;
    }
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 5rem 0;
    }
    .menu-toggle {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--bg-pure);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        z-index: 1000;
        transition: var(--transition-smooth);
        padding: 2rem;
    }
    .nav-menu.active {
        right: 0;
    }
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    .nav-cta {
        display: none; /* Mobiles handle CTA differently or in menu */
    }
    .nav-menu .btn {
        margin-top: 1rem;
        width: 100%;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    .hero-desc {
        margin: 0 auto 2.5rem auto;
    }
    .hero-btns {
        justify-content: center;
    }
    .hero-features {
        justify-content: center;
        flex-wrap: wrap;
    }
    .hero-image-container img {
        height: 320px;
    }
    .why-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .why-image-collage {
        order: -1;
    }
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .footer-brand {
        grid-column: span 1;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    .footer-bottom-links {
        justify-content: center;
    }
    .testimonial-card {
        padding: 3rem 1.5rem;
    }
    .quote-icon {
        font-size: 3.5rem;
        top: 1.5rem;
        left: 1.5rem;
    }
    .contact-form-container {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.4rem;
    }
    .hero-btns {
        flex-direction: column;
        align-items: stretch;
    }
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .collage-circle {
        width: 300px;
        height: 300px;
    }
    .collage-logo-img {
        width: 200px;
        height: 200px;
        padding: 1.2rem;
    }
}
