/* ===== CSS Variables & Reset ===== */
:root {
    --primary: #0f2b46;
    --primary-light: #1a3d5c;
    --accent: #f59e0b;
    --accent-hover: #d97706;
    --accent-light: #fbbf24;
    --accent-glow: rgba(245, 158, 11, 0.3);
    --surface: #f8fafc;
    --surface-dark: #0b1929;
    --surface-card: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-light: #94a3b8;
    --text-white: #f1f5f9;
    --border: #e2e8f0;
    --whatsapp: #25d366;
    --whatsapp-hover: #1da851;
    --call: #ef4444;
    --call-hover: #dc2626;
    --gradient-hero: linear-gradient(135deg, rgba(15, 43, 70, 0.92) 0%, rgba(15, 43, 70, 0.75) 50%, rgba(15, 43, 70, 0.6) 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --gradient-dark: linear-gradient(135deg, #0f2b46 0%, #1a3d5c 100%);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Tajawal', sans-serif;
    color: var(--text-primary);
    background: var(--surface);
    line-height: 1.7;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Floating Buttons ===== */
.floating-call,
.floating-whatsapp {
    position: fixed;
    z-index: 1000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    animation: float-pulse 2s ease-in-out infinite;
}

.floating-call {
    bottom: 100px;
    left: 24px;
    background: var(--call);
}

.floating-call:hover {
    background: var(--call-hover);
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(239, 68, 68, 0.4);
}

.floating-whatsapp {
    bottom: 24px;
    left: 24px;
    background: var(--whatsapp);
    animation-delay: 0.5s;
}

.floating-whatsapp:hover {
    background: var(--whatsapp-hover);
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

@keyframes float-pulse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(15, 43, 70, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.3rem;
    color: white;
    transition: var(--transition);
}

.logo:hover {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-accent);
    color: var(--primary) !important;
    padding: 10px 20px;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 24px;
    height: 2.5px;
    background: white;
    border-radius: 2px;
    transition: var(--transition);
}

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

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 140px 24px 80px;
    max-width: 850px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--accent-light);
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: white;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 640px;
    margin: 0 auto 36px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 1.05rem;
    font-family: 'Tajawal', sans-serif;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--primary);
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: white;
}

.btn-whatsapp:hover {
    background: var(--whatsapp-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.15rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.stat {
    text-align: center;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
}

.stat-text {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.3;
    margin-bottom: 6px;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 400;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    animation: bounce 2s infinite;
}

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

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

/* ===== Features Strip ===== */
.features-strip {
    background: var(--primary);
    padding: 0;
    position: relative;
    z-index: 3;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.feature-item {
    padding: 36px 24px;
    text-align: center;
    color: white;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.feature-item:last-child {
    border-left: none;
}

.feature-item:hover {
    background: rgba(245, 158, 11, 0.08);
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: rgba(245, 158, 11, 0.12);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    transition: var(--transition);
}

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

.feature-item h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.feature-item p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== Section Header ===== */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-hover);
    padding: 6px 20px;
    border-radius: var(--radius-xl);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 16px;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto;
}

/* ===== Services Section ===== */
.services {
    padding: 100px 0;
    background: var(--surface);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--surface-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

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

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.service-content {
    padding: 28px;
}

.service-icon {
    width: 48px;
    height: 48px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-hover);
    margin-bottom: 16px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient-accent);
    color: white;
}

.service-content h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.service-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===== Gallery Section ===== */
.gallery {
    padding: 100px 0;
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 16px;
}

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

.gallery-item-large {
    grid-column: span 2;
    grid-row: span 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 43, 70, 0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-overlay span {
    color: white;
    font-weight: 700;
    font-size: 1rem;
}

/* ===== Areas Section ===== */
.areas {
    padding: 100px 0;
    background: var(--surface);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.area-card {
    background: var(--surface-card);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.area-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.area-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-hover);
    transition: var(--transition);
}

.area-card:hover .area-icon {
    background: var(--gradient-accent);
    color: white;
    transform: scale(1.1);
}

.area-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.area-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.area-features {
    text-align: right;
}

.area-features li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.area-features li:last-child {
    border-bottom: none;
}

.area-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.areas-extra {
    text-align: center;
    padding: 36px;
    background: var(--surface-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.areas-extra h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.areas-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.area-tag {
    background: rgba(245, 158, 11, 0.08);
    color: var(--accent-hover);
    padding: 8px 18px;
    border-radius: var(--radius-xl);
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(245, 158, 11, 0.15);
    transition: var(--transition);
}

.area-tag:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-2px);
}

/* ===== CTA Section ===== */
.cta-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 43, 70, 0.95) 0%, rgba(15, 43, 70, 0.85) 100%);
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 28px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.cta-phone {
    margin-bottom: 32px;
}

.cta-phone a {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--accent);
    letter-spacing: 2px;
    transition: var(--transition);
    direction: ltr;
    display: inline-block;
}

.cta-phone a:hover {
    color: var(--accent-light);
    transform: scale(1.05);
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FAQ Section ===== */
.faq {
    padding: 100px 0;
    background: var(--surface);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--surface-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    text-align: right;
    padding: 24px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: inherit;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent-hover);
}

.faq-icon {
    flex-shrink: 0;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question {
    color: var(--primary);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 24px;
    background: rgba(15, 43, 70, 0.02);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 24px 24px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===== Contact Section ===== */
.contact {
    padding: 100px 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.contact-card {
    text-align: center;
    padding: 40px 28px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.contact-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-hover);
    transition: var(--transition);
}

.contact-icon-whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: var(--whatsapp);
}

.contact-icon-location {
    background: rgba(15, 43, 70, 0.08);
    color: var(--primary);
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
}

.contact-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.contact-link {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-hover);
    margin-bottom: 8px;
    transition: var(--transition);
}

a.contact-link:hover {
    color: var(--accent);
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ===== Footer ===== */
.footer {
    background: var(--surface-dark);
    color: var(--text-white);
    padding: 64px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 14px;
}

.footer-brand p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    max-width: 320px;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: white;
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.55);
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links ul li a:hover {
    color: var(--accent);
    padding-right: 8px;
}

.footer-services ul li {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.95rem;
}

.footer-phone {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 12px;
    direction: ltr;
    text-align: right;
    transition: var(--transition);
}

.footer-phone:hover {
    color: var(--accent-light);
}

.footer-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--whatsapp);
    font-weight: 600;
    transition: var(--transition);
}

.footer-whatsapp:hover {
    color: var(--whatsapp-hover);
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ===== SEO Content (Hidden) ===== */
.seo-content {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== Animations ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 200px;
    }
    
    .gallery-item-large {
        grid-column: span 1;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 43, 70, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        gap: 4px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        padding: 12px 16px;
        width: 100%;
        text-align: center;
    }
    
    .nav-cta {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-text {
        font-size: 1.3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand p {
        max-width: 100%;
    }
    
    .area-features {
        text-align: center;
    }
    
    .footer-phone {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .stat-divider {
        width: 50px;
        height: 1px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .floating-call,
    .floating-whatsapp {
        width: 52px;
        height: 52px;
    }
    
    .floating-call {
        bottom: 84px;
        left: 16px;
    }
    
    .floating-whatsapp {
        bottom: 16px;
        left: 16px;
    }
}
