/* ===================================
   ROTO RUTER - ESTILOS PRINCIPALES
   =================================== */

:root {
    --yellow-primary: #FFD000;
    --yellow-dark: #E6BB00;
    --yellow-light: #FFF4CC;
    --black: #1A1A1A;
    --black-light: #2D2D2D;
    --gray: #4A4A4A;
    --gray-light: #F5F5F5;
    --white: #FFFFFF;
    --emergency-red: #DC2626;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Work Sans', sans-serif;
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 140px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    font-size: 16px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--yellow-primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--yellow-dark);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--black);
    transition: all 0.3s ease;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 180px 20px 100px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--black) 0%, var(--black-light) 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255, 208, 0, 0.03) 10px,
            rgba(255, 208, 0, 0.03) 20px
        );
    animation: slideBackground 20s linear infinite;
}

@keyframes slideBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 20px); }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    line-height: 0.9;
    margin-bottom: 20px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.title-line-0 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: 0.1em;
    animation: slideInLeft 0.8s ease-out 0.1s both;
}

.title-line-1 {
    color: var(--yellow-primary);
    animation: slideInLeft 0.8s ease-out 0.3s both;
}

.title-line-2 {
    color: var(--white);
    animation: slideInRight 0.8s ease-out 0.5s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--yellow-primary);
    font-weight: 600;
    margin-bottom: 40px;
    animation: fadeIn 1s ease-out 0.6s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--white);
}

.feature-icon {
    font-size: 2.5rem;
    background: rgba(255, 208, 0, 0.15);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--yellow-primary);
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 208, 0, 0.25);
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 1s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: 'Work Sans', sans-serif;
}

.btn-primary {
    background: var(--yellow-primary);
    color: var(--black);
    box-shadow: 0 8px 20px rgba(255, 208, 0, 0.3);
}

.btn-primary:hover {
    background: var(--yellow-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 208, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--black);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--yellow-primary);
    font-size: 0.9rem;
    animation: fadeIn 1s ease-out 1.5s both;
    z-index: 1;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--yellow-primary);
    animation: scrollDown 1.5s ease-in-out infinite;
}

@keyframes scrollDown {
    0%, 100% { transform: translateY(0); opacity: 0; }
    50% { opacity: 1; }
}

/* ===================================
   SECTIONS GENERALES
   =================================== */

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--black);
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: var(--yellow-primary);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    margin-top: 25px;
}

/* ===================================
   SERVICIOS SECTION
   =================================== */

.servicios {
    padding: 100px 20px;
    background: var(--gray-light);
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.servicio-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.servicio-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--yellow-primary);
}

.servicio-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    filter: grayscale(0.3);
    transition: all 0.3s ease;
}

.servicio-card:hover .servicio-icon {
    filter: grayscale(0);
    transform: scale(1.2);
}

.servicio-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--black);
}

.servicio-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* ===================================
   NOSOTROS SECTION
   =================================== */

.nosotros {
    padding: 100px 20px;
    background: var(--white);
}

.nosotros-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.nosotros-description {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--gray);
    margin-bottom: 40px;
}

.nosotros-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--yellow-light);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.05);
    background: var(--yellow-primary);
}

.stat-number {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--black);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 5px;
}

.nosotros-features {
    display: grid;
    gap: 20px;
}

.feature-box {
    background: var(--gray-light);
    padding: 25px;
    border-radius: 10px;
    border-left: 5px solid var(--yellow-primary);
    transition: all 0.3s ease;
}

.feature-box:hover {
    background: var(--yellow-light);
    transform: translateX(10px);
}

.feature-box h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    color: var(--black);
    margin-bottom: 10px;
}

.feature-box p {
    color: var(--gray);
}

/* ===================================
   GALERÍA SECTION
   =================================== */

.galeria {
    padding: 100px 20px;
    background: var(--black);
    color: var(--white);
}

.galeria .section-title {
    color: var(--white);
}

.galeria .section-subtitle {
    color: var(--yellow-primary);
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.galeria-item {
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.galeria-item:hover {
    transform: scale(1.05);
}

.galeria-item:hover img {
    transform: scale(1.1);
}

.galeria-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--black-light) 0%, var(--gray) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border: 2px dashed var(--yellow-primary);
}

.placeholder-icon {
    font-size: 3rem;
    opacity: 0.5;
}

.galeria-placeholder p {
    color: var(--yellow-primary);
    font-weight: 600;
}

.galeria-note {
    text-align: center;
    color: var(--yellow-primary);
    font-style: italic;
    margin-top: 20px;
}

/* ===================================
   CONTACTO SECTION
   =================================== */

.contacto {
    padding: 100px 20px;
    background: var(--gray-light);
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    border-left: 5px solid var(--yellow-primary);
    transition: all 0.3s ease;
}

.info-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.info-card.emergency {
    background: linear-gradient(135deg, var(--emergency-red) 0%, #B91C1C 100%);
    color: var(--white);
    border-left-color: var(--yellow-primary);
}

.info-card.emergency h3 {
    color: var(--white);
}

.info-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--black);
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-card h3 i {
    color: var(--yellow-primary);
    font-size: 1.3rem;
}

.emergency h3 i {
    color: var(--yellow-primary);
    animation: pulse-icon 2s infinite;
}

@keyframes pulse-icon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-list a {
    color: var(--black);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.info-list a:hover {
    color: var(--yellow-dark);
    transform: translateX(5px);
}

.emergency .info-list a {
    color: var(--white);
    font-size: 1.3rem;
}

.emergency .info-list a:hover {
    color: var(--yellow-primary);
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: var(--white);
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.contacto-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.contacto-form h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--black);
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #E5E5E5;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Work Sans', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--yellow-primary);
    box-shadow: 0 0 0 3px rgba(255, 208, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background: var(--black);
    color: var(--white);
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 100px;
    margin-bottom: 15px;
}

.footer-logo p {
    color: var(--yellow-primary);
    font-weight: 600;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--yellow-primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--yellow-primary);
    transform: translateX(5px);
}

.footer-contact p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ===================================
   WHATSAPP FLOAT BUTTON
   =================================== */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    background: #20BA5A;
    transform: scale(1.1);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 90px;
        left: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 30px;
        box-shadow: var(--shadow-md);
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nosotros-content,
    .contacto-grid {
        grid-template-columns: 1fr;
    }
    
    .nosotros-stats {
        grid-template-columns: 1fr;
    }
    
    .hero-features {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hero-cta {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .servicios-grid {
        grid-template-columns: 1fr;
    }
    
    .galeria-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .title-line-0 {
        font-size: 1.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
    
    .logo {
        height: 100px;
    }
}