/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; transition: color 0.2s; }
img { max-width: 100%; height: auto; }

/* ===== HEADER ===== */
.header {
    background: #fff;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    border-bottom: 3px solid #cc0000;
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 20px;
}
.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-icon {
    height: 80px;
    width: auto;
}
.logo-name {
    height: 38px;
    width: auto;
}
.logo-text {
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.logo-text .subtitle {
    font-size: 14px;
    letter-spacing: 4px;
    color: #666;
}
.logo-text .phone {
    font-size: 16px;
    color: #cc0000;
    font-weight: 600;
    margin-top: 2px;
}
.logo-text .phone span {
    color: #333;
}

/* Navigation */
.nav {
    display: flex;
    gap: 5px;
}
.nav a {
    color: #555;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
}
.nav a:hover, .nav a.active {
    color: #cc0000;
    background: rgba(204,0,0,0.05);
}

/* Mobile menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #333;
    font-size: 28px;
    cursor: pointer;
    padding: 5px;
}

/* ===== HERO SLIDER ===== */
.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
    height: 430px;
}
.hero-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-slide.active {
    opacity: 1;
}
.hero-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.hero-slide .overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.35) 100%);
}
.hero-slide .caption {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

/* Slider controls */
.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.hero-dots span {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: background 0.3s;
}
.hero-dots span.active {
    background: #fff;
}
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    font-size: 28px;
    padding: 12px 16px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
    border-radius: 4px;
}
.hero-arrow:hover { background: rgba(0,0,0,0.7); }
.hero-arrow.prev { left: 15px; }
.hero-arrow.next { right: 15px; }

/* Progress bar */
.hero-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: #cc0000;
    z-index: 10;
    transition: width linear;
}

/* ===== SECTIONS ===== */
.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Three columns */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.card {
    background: #fff;
    border-radius: 8px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 3px solid #cc0000;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.card-icon {
    font-size: 48px;
    margin-bottom: 15px;
}
.card h3 {
    font-size: 20px;
    color: #cc0000;
    margin-bottom: 12px;
}
.card p {
    color: #555;
    font-size: 15px;
    line-height: 1.7;
}

/* ===== ABOUT STRIP ===== */
.about-strip {
    background: #333;
    color: #fff;
    padding: 50px 20px;
    text-align: center;
}
.about-strip .inner {
    max-width: 800px;
    margin: 0 auto;
}
.about-strip h2 {
    font-size: 28px;
    margin-bottom: 15px;
}
.about-strip p {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.8;
}

/* ===== CATALOG ===== */
.catalog-section {
    background: #2a2a2a;
    min-height: 80vh;
    padding: 40px 20px;
}
.catalog-section h2 {
    text-align: center;
    color: #cc0000;
    font-size: 32px;
    margin-bottom: 10px;
}
.catalog-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #cc0000;
    margin: 12px auto 0;
}
.catalog-desc {
    text-align: center;
    color: #ccc;
    font-size: 16px;
    max-width: 700px;
    margin: 15px auto 30px;
    line-height: 1.7;
}
.pdf-container {
    max-width: 900px;
    margin: 0 auto;
    background: #3a3a3a;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.pdf-container iframe {
    width: 100%;
    height: 80vh;
    border: none;
}
.pdf-download {
    text-align: center;
    margin-top: 20px;
}
.pdf-download a {
    display: inline-block;
    background: #cc0000;
    color: #fff;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s;
}
.pdf-download a:hover {
    background: #a00;
}

/* ===== CONTACT ===== */
.contact-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}
.contact-info h2 {
    font-size: 28px;
    color: #cc0000;
    margin-bottom: 25px;
}
.contact-info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}
.contact-info-item .icon {
    font-size: 22px;
    min-width: 30px;
    text-align: center;
    color: #cc0000;
}
.contact-info-item .text strong {
    display: block;
    color: #333;
    margin-bottom: 3px;
}
.contact-info-item .text span {
    color: #555;
}
.contact-info-item .text a {
    color: #cc0000;
}
.contact-info-item .text a:hover {
    color: #900;
}

/* Contact form */
.contact-form h2 {
    font-size: 28px;
    color: #cc0000;
    margin-bottom: 25px;
}
.form-group {
    margin-bottom: 18px;
}
.form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    font-size: 14px;
}
.form-group label .req {
    color: #cc0000;
}
.form-group label .opt {
    color: #888;
    font-weight: 400;
    font-style: italic;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s;
    background: #fff;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #cc0000;
    box-shadow: 0 0 0 3px rgba(204,0,0,0.1);
}
.form-group textarea {
    height: 150px;
    resize: vertical;
}
.btn-enviar {
    background: #cc0000;
    color: #fff;
    border: none;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}
.btn-enviar:hover {
    background: #a00;
    transform: translateY(-1px);
}

/* Alert messages */
.alert {
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 15px;
}
.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ===== FOOTER ===== */
.footer {
    background: #222;
    color: #aaa;
    text-align: center;
    padding: 25px 20px;
    font-size: 14px;
}
.footer a {
    color: #cc0000;
}
.footer a:hover {
    color: #fff;
}

/* ===== MAP ===== */
.map-section {
    width: 100%;
    height: 350px;
    background: #ddd;
}
.map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .cards { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-slide .caption { font-size: 28px; bottom: 50px; }
}

@media (max-width: 768px) {
    .header-inner { flex-wrap: wrap; }
    .nav {
        display: none;
        flex-direction: column;
        width: 100%;
        padding-top: 10px;
    }
    .nav.open { display: flex; }
    .nav a { padding: 10px 15px; }
    .menu-toggle { display: block; }
    .logo-text .subtitle { font-size: 11px; }
    .hero-slide .caption { font-size: 22px; bottom: 45px; }
    .cards { grid-template-columns: 1fr; }
    .section { padding: 40px 15px; }
    .pdf-container { display: none; }
    .catalog-section { min-height: auto; padding: 60px 20px; }
}

@media (max-width: 480px) {
    .logo-icon { height: 40px; }
    .logo-name { height: 22px; }
    .hero-slide .caption { font-size: 18px; bottom: 40px; }
    .hero-arrow { padding: 8px 12px; font-size: 20px; }
}
