/* ==========================================================================
   RESET Y VARIABLES (Paleta corporativa adaptada al Logo)
   ========================================================================== */
:root {
    --primary: #008075;         /* Verde corporativo extraído del logo */
    --primary-hover: #00665e;   /* Oscuro para interacción */
    --primary-light: #e6f2f1;  /* Fondo suave verde */
    --secondary: #0b2523;       /* Verde noche elegante */
    --accent: #10b981;
    --bg-light: #f8fafc;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

body {
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ==========================================================================
   NAVEGACIÓN CON LOGO REAL
   ========================================================================== */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e2e8f0;
    z-index: 100;
    padding: 12px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.brand-sub {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 2px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    transition: var(--transition);
}

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

.btn-nav {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 50px;
}

.btn-nav:hover {
    background: var(--primary-hover) !important;
}

/* ==========================================================================
   SECCIÓN HERO
   ========================================================================== */
.hero {
    padding: 70px 0 90px;
    background: linear-gradient(135deg, #f0fdfa 0%, #e6f2f1 100%);
}

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

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--white);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 50px;
    margin-bottom: 20px;
    border: 1px solid #b2dfdb;
}

.hero h1 {
    font-size: 2.8rem;
    line-height: 1.15;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 20px -5px rgba(0, 128, 117, 0.4);
}

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

.btn-secondary {
    background-color: var(--white);
    color: var(--secondary);
    border: 1px solid #cbd5e1;
}

.btn-secondary:hover {
    background-color: #f1f5f9;
}

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

.hero-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.hero-card-tag {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--white);
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 12px;
}

.tag-icon {
    font-size: 1.8rem;
}

/* ==========================================================================
   SECCIÓN SERVICIOS DETALLADOS
   ========================================================================== */
.services {
    padding: 100px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px;
}

.section-title h2 {
    font-size: 2.25rem;
    color: var(--secondary);
    margin-bottom: 12px;
}

.section-title p {
    color: var(--text-muted);
}

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

.service-card {
    background: var(--bg-light);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

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

.card-image {
    height: 200px;
    width: 100%;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.card-body {
    padding: 28px;
}

.card-body h3 {
    font-size: 1.3rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.card-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.service-list {
    list-style: none;
}

.service-list li {
    font-size: 0.88rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.service-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 800;
}

/* ==========================================================================
   NUESTRO EQUIPO Y GALERÍA
   ========================================================================== */
.team-section {
    padding: 80px 0;
    background: var(--primary-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.team-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.team-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
}

.team-card h4 {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.team-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.gallery-section {
    padding: 80px 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    height: 250px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

/* ==========================================================================
   SECCIÓN CONTACTO DIRECTO (Sin Dirección)
   ========================================================================== */
.contact-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.contact-card-main {
    background: var(--secondary);
    color: var(--white);
    padding: 50px 40px;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.contact-card-main h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.contact-card-main p {
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto 40px;
}

.contact-channels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.contact-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: var(--white);
    text-align: left;
    transition: var(--transition);
}

.contact-box:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.c-icon {
    font-size: 2rem;
}

.contact-box strong {
    display: block;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.contact-box p {
    margin: 0;
    font-weight: 700;
    color: var(--white);
    font-size: 1.05rem;
}

/* ==========================================================================
   BOTÓN WHATSAPP FLOTANTE
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: var(--white);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: #061514;
    color: var(--white);
    padding: 60px 0 40px;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.quote {
    font-size: 1.2rem;
    font-style: italic;
    max-width: 700px;
    color: #94a3b8;
    line-height: 1.6;
}

.copyright {
    font-size: 0.85rem;
    color: #64748b;
    border-top: 1px solid #1e293b;
    padding-top: 24px;
    width: 100%;
}

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.1rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
    }

    .hero-card-tag {
        position: relative;
        bottom: 0;
        left: 0;
        margin-top: 16px;
    }

    .nav-links {
        display: none;
    }
}