/* ===== VARIABLES & THEME ===== */
:root {
    /* Colors */
    --primary: #FFB800; /* Construction Yellow */
    --primary-hover: #E5A600;
    --dark: #0f172a; /* Slate 900 */
    --dark-secondary: #1e293b; /* Slate 800 */
    --gray: #64748b;
    --light-gray: #f8fafc;
    --white: #ffffff;
    --whatsapp: #25D366;
    --whatsapp-hover: #128C7E;
    
    /* Typography */
    --font-main: 'Inter', sans-serif;
    
    /* Utility */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.15);
    
    /* Layout */
    --nav-height: 100px;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

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

.section-padding {
    padding: 100px 0;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--dark);
}

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

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

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

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

.btn-outline:hover {
    border-color: var(--dark);
    background-color: var(--dark);
    color: var(--white);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--dark);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    border-radius: var(--radius-sm);
    color: var(--dark);
    font-size: 1.25rem;
}

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

.nav-links a:not(.btn) {
    font-weight: 600;
    color: var(--gray);
}

.nav-links a:not(.btn):hover {
    color: var(--primary);
}

.hamburger {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--dark);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--white);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transition: right 0.4s ease;
}

.mobile-menu.active {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 2rem;
    cursor: pointer;
}

.mobile-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark);
}

/* ===== HERO SECTION ===== */
.hero {
    padding-top: calc(var(--nav-height) + 60px);
    padding-bottom: 80px;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--dark);
}

.highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: var(--primary);
    opacity: 0.3;
    z-index: -1;
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 500px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(255, 184, 0, 0.15);
    color: var(--dark);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 184, 0, 0.3);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.stats {
    display: flex;
    gap: 32px;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-item h3 {
    font-size: 1.5rem;
    color: var(--dark);
}

.stat-item span {
    font-size: 0.875rem;
    color: var(--gray);
    font-weight: 500;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-placeholder {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-lg);
}

.floating-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    animation: float 4s ease-in-out infinite;
}

.floating-card i {
    font-size: 2rem;
    color: var(--primary);
}

.floating-card div {
    display: flex;
    flex-direction: column;
}

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

/* ===== SERVICES SECTION ===== */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--gray);
    font-size: 1.125rem;
}

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

.service-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 184, 0, 0.3);
}

.service-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(255, 184, 0, 0.1);
    color: var(--primary-hover);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 24px;
}

.service-image {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}

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

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

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--gray);
}

/* ===== ABOUT SECTION ===== */
.about {
    background-color: var(--light-gray);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

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

.profile-card {
    background: var(--white);
    padding: 16px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    max-width: 320px;
}

.profile-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.profile-info h4 {
    font-size: 1.25rem;
    color: var(--dark);
}

.profile-info p {
    color: var(--gray);
    font-weight: 500;
}

.experience-badge {
    position: absolute;
    right: -20px;
    top: -20px;
    background-color: var(--primary);
    color: var(--dark);
    padding: 24px;
    border-radius: var(--radius-full);
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.experience-badge h2 {
    font-size: 1.75rem;
    line-height: 1;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    line-height: 1.2;
}

.about-content > p {
    color: var(--gray);
    font-size: 1.125rem;
    margin-bottom: 40px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.features-list li {
    display: flex;
    gap: 20px;
}

.features-list i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 4px;
}

.features-list strong {
    display: block;
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.features-list p {
    color: var(--gray);
}

/* ===== COVERAGE SECTION ===== */
.coverage-box {
    background-color: var(--dark);
    border-radius: var(--radius-lg);
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    color: var(--white);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.coverage-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,184,0,0.1));
    pointer-events: none;
}

.coverage-content h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.coverage-content p {
    color: #94a3b8;
    margin-bottom: 32px;
    font-size: 1.125rem;
    max-width: 500px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag {
    padding: 8px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.coverage-icon {
    font-size: 12rem;
    color: rgba(255, 255, 255, 0.05);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--dark-secondary);
    color: var(--white);
    padding: 80px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.footer-brand p {
    color: #94a3b8;
    max-width: 400px;
}

.footer-contact h4 {
    font-size: 1.25rem;
    margin-bottom: 24px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #94a3b8;
    margin-bottom: 16px;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #64748b;
    font-size: 0.875rem;
}

/* ===== FLOATING WA ===== */
.floating-wa {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-wa:hover {
    transform: scale(1.1);
    background-color: var(--whatsapp-hover);
    color: white;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===== ANIMATIONS & UTILS ===== */
.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}
.fade-in.visible {
    opacity: 1;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease-out;
}
.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 2.75rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about-container { grid-template-columns: 1fr; gap: 40px; }
    .about-image { margin-bottom: 20px; }
    .experience-badge { right: 0; top: 0; }
    .coverage-box { flex-direction: column; text-align: center; padding: 40px; }
    .tags { justify-content: center; }
    .coverage-icon { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: block; }
    .hero-container { grid-template-columns: 1fr; }
    .hero-content { text-align: center; }
    .hero-content p { margin: 0 auto 32px; }
    .hero-actions { justify-content: center; }
    .stats { justify-content: center; }
    .floating-card { bottom: 10px; left: 10px; right: 10px; animation: none; }
    .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 2.25rem; }
    .section-header h2 { font-size: 2rem; }
    .stats { flex-direction: column; gap: 16px; align-items: center; }
}
