/* ===================================
   CARPAS MUÑOZ - ESTILOS PROFESIONALES
   Diseño Corporativo y Elegante
   ================================== */

/* Reset y Variables CSS */
:root {
    --primary-color: #FF6B00;
    --primary-dark: #CC5500;
    --secondary-color: #1a1a2e;
    --secondary-dark: #0f0f1e;
    --accent-color: #FF8C00;
    --text-dark: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --bg-light: #f5f5f5;
    --bg-dark: #1a1a2e;
    --bg-white: #ffffff;
    --success-color: #28a745;
    --whatsapp-color: #25D366;
    --border-color: #dddddd;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 3px 10px rgba(0,0,0,0.12);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

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

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

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1.2rem;
    color: var(--secondary-color);
}

h1 { font-size: 2.75rem; font-weight: 700; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.35rem; }
h5 { font-size: 1.15rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
}

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

a:hover {
    color: var(--primary-dark);
}

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

/* Container System */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    width: 100%;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-sm {
    padding: 50px 0;
}

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

/* Header & Navigation */
.site-header {
    background: var(--bg-white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
}

.site-header.scrolled {
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

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

.logo-img {
    width: 50px;
    height: 50px;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--primary-color);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.main-nav a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 0;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--primary-color);
    color: var(--bg-white) !important;
    padding: 12px 28px !important;
    border-radius: 4px;
    font-weight: 600;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-cta::after {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 26px;
    height: 3px;
    background: var(--secondary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: var(--bg-white);
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><path d="M0 0L100 100M100 0L0 100" stroke="rgba(255,107,0,0.05)" stroke-width="1"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    color: var(--bg-white);
    font-size: 3.5rem;
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-highlight {
    color: var(--primary-color);
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 35px;
    line-height: 1.7;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--bg-white);
    border-color: var(--bg-white);
}

.btn-secondary:hover {
    background: var(--bg-white);
    color: var(--primary-color);
}

.btn-whatsapp {
    background: var(--whatsapp-color);
    color: var(--bg-white);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-color: var(--whatsapp-color);
}

.btn-whatsapp:hover {
    background: #1da851;
    border-color: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.btn-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Cards */
.card {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-color);
}

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

.card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-body {
    padding: 30px;
}

.card-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-weight: 600;
}

.card-text {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

/* Grid System */
.grid {
    display: grid;
    gap: 30px;
}

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

/* Breadcrumbs */
.breadcrumb {
    padding: 18px 0;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
}

.breadcrumb-list li:not(:last-child)::after {
    content: '›';
    color: var(--text-muted);
}

.breadcrumb-list a {
    color: var(--text-light);
}

.breadcrumb-list a:hover {
    color: var(--primary-color);
}

.breadcrumb-list li:last-child {
    color: var(--primary-color);
    font-weight: 500;
}

/* Features / Benefits */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    text-align: center;
    padding: 35px 25px;
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.feature-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    position: relative;
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 400;
}

.feature-icon.icon-check::before {
    content: '';
    width: 20px;
    height: 10px;
    border-left: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    transform: rotate(-45deg);
    position: absolute;
}

.feature-icon.icon-tent::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 20px solid var(--primary-color);
}

.feature-icon.icon-umbrella::before {
    content: '';
    width: 24px;
    height: 24px;
    border: 3px solid var(--primary-color);
    border-bottom: none;
    border-radius: 24px 24px 0 0;
    position: absolute;
    top: 15px;
}

.feature-icon.icon-umbrella::after {
    content: '';
    width: 3px;
    height: 12px;
    background: var(--primary-color);
    position: absolute;
    bottom: 12px;
}

.feature-icon.icon-truck::before {
    content: '';
    width: 24px;
    height: 16px;
    border: 3px solid var(--primary-color);
    border-radius: 2px;
    position: absolute;
}

.feature-icon.icon-truck::after {
    content: '';
    width: 6px;
    height: 6px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    position: absolute;
    bottom: 14px;
    left: 22px;
}

.feature-icon.icon-location::before {
    content: '';
    width: 16px;
    height: 22px;
    border: 3px solid var(--primary-color);
    border-radius: 16px 16px 0 0;
    position: absolute;
    top: 14px;
}

.feature-icon.icon-location::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    top: 20px;
}

.feature-icon.icon-dollar::before {
    content: '$';
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.feature-icon.icon-clock::before {
    content: '';
    width: 24px;
    height: 24px;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    position: absolute;
}

.feature-icon.icon-clock::after {
    content: '';
    width: 2px;
    height: 10px;
    background: var(--primary-color);
    position: absolute;
    top: 18px;
    transform-origin: bottom;
}

.feature-icon.icon-star::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 18px solid var(--primary-color);
    position: absolute;
    top: 16px;
}

.feature-icon.icon-star::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 18px solid var(--primary-color);
    position: absolute;
    bottom: 16px;
    transform: rotate(180deg);
}

.feature-icon.icon-building::before {
    content: '';
    width: 20px;
    height: 24px;
    border: 3px solid var(--primary-color);
    border-radius: 2px;
    position: absolute;
    top: 14px;
}

.feature-icon.icon-building::after {
    content: '';
    width: 6px;
    height: 6px;
    border: 2px solid var(--primary-color);
    position: absolute;
    top: 20px;
}

.feature-icon.icon-light::before {
    content: '';
    width: 16px;
    height: 16px;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    position: absolute;
    top: 18px;
}

.feature-icon.icon-light::after {
    content: '';
    width: 3px;
    height: 8px;
    background: var(--primary-color);
    position: absolute;
    bottom: 14px;
}

.feature-icon.icon-floor::before {
    content: '';
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    position: absolute;
    top: 22px;
}

.feature-icon.icon-floor::after {
    content: '';
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    position: absolute;
    bottom: 22px;
}

.feature-icon.icon-fire::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 20px solid var(--primary-color);
    border-radius: 4px;
    position: absolute;
    top: 16px;
}

.feature-icon.icon-home::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-bottom: 12px solid var(--primary-color);
    position: absolute;
    top: 16px;
}

.feature-icon.icon-home::after {
    content: '';
    width: 16px;
    height: 12px;
    border: 3px solid var(--primary-color);
    border-top: none;
    position: absolute;
    bottom: 16px;
}

.feature-icon.icon-ring::before {
    content: '';
    width: 12px;
    height: 12px;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    position: absolute;
    top: 20px;
}

.feature-icon.icon-ring::after {
    content: '';
    width: 16px;
    height: 3px;
    background: var(--primary-color);
    position: absolute;
    bottom: 20px;
}

.feature-icon.icon-cake::before {
    content: '';
    width: 20px;
    height: 16px;
    border: 3px solid var(--primary-color);
    border-radius: 0 0 4px 4px;
    position: absolute;
    bottom: 16px;
}

.feature-icon.icon-cake::after {
    content: '';
    width: 3px;
    height: 8px;
    background: var(--primary-color);
    position: absolute;
    top: 16px;
}

.feature-icon.icon-grad::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 10px solid var(--primary-color);
    position: absolute;
    top: 18px;
}

.feature-icon.icon-grad::after {
    content: '';
    width: 16px;
    height: 3px;
    background: var(--primary-color);
    position: absolute;
    bottom: 22px;
}

.feature-icon.icon-ball::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    position: absolute;
}

.feature-icon.icon-store::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top: 10px solid var(--primary-color);
    position: absolute;
    top: 16px;
}

.feature-icon.icon-store::after {
    content: '';
    width: 20px;
    height: 14px;
    border: 3px solid var(--primary-color);
    border-top: none;
    position: absolute;
    bottom: 14px;
}

.feature-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-weight: 600;
}

/* Footer */
.site-footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.8);
    padding: 70px 0 30px;
    border-top: 3px solid var(--primary-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h3 {
    color: var(--bg-white);
    margin-bottom: 25px;
    font-size: 1.15rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 1.2rem;
    transition: var(--transition);
}

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

/* Contact Form */
.contact-form {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

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

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background: #1da851;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.bg-light { background: var(--bg-light); }
.bg-white { background: var(--bg-white); }
.bg-primary { background: var(--primary-color); }
.bg-secondary { background: var(--secondary-color); }

/* Responsive Design */
@media (max-width: 992px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 2rem; }
    
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    
    .hero { padding: 80px 0 60px; }
    .hero h1 { font-size: 2.75rem; }
    
    .section { padding: 60px 0; }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 78px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 78px);
        background: var(--bg-white);
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        padding: 30px;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .hero h1 { font-size: 2.25rem; }
    .hero p { font-size: 1.05rem; }
    
    .btn-group {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

@media (max-width: 480px) {
    html { font-size: 15px; }
    
    .container {
        padding: 0 15px;
    }
    
    .hero h1 { font-size: 1.9rem; }
    .hero { padding: 60px 0 50px; }
    
    .section { padding: 50px 0; }
    
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 1.6rem;
    }
}
