/* 
   ELECTRO IVÁN - Estilos Oficiales (PHP Nativo)
   Paleta: Azul Eléctrico y Blanco
*/

:root {
    --primary: #00d4ff; /* Azul Eléctrico */
    --primary-dark: #008eb4;
    --bg-dark: #0a0a0f;
    --bg-card: #161621;
    --text-white: #ffffff;
    --text-gray: #a0a0b0;
    --white: #ffffff;
}

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

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

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

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

/* Header */
.header {
    background-color: rgba(10, 10, 15, 0.95);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

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

.logo-img {
    height: 50px;
}

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

.logo-icon {
    font-size: 1.6rem;
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
}

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

.nav a {
    color: var(--text-white);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 600;
    transition: color 0.3s;
}

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

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

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(10, 10, 15, 0.8), rgba(10, 10, 15, 0.8)), url('https://images.unsplash.com/photo-1581092160562-40aa08e78837?auto=format&fit=crop&q=80&w=1920') no-repeat center center/cover;
    text-align: center;
    padding-top: 80px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Buttons */
.btn {
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
}

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

.btn-secondary {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

.btn-block {
    width: 100%;
    text-align: center;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1.1rem;
}

/* Servicios */
.servicios {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.servicio-card {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: border-color 0.3s;
}

.servicio-card:hover {
    border-color: var(--primary);
}

.servicio-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.servicio-card h3 {
    margin-bottom: 15px;
}

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

/* Contacto */
.contacto {
    padding: 100px 0;
    background-color: #0f0f18;
}

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

.contacto-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-list {
    margin-top: 30px;
}

.contact-list li {
    margin-bottom: 15px;
    color: var(--text-gray);
}

.contacto-form {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: #21212d;
    border: 1px solid #333;
    color: #fff;
    border-radius: 5px;
    font-family: inherit;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* Footer */
.footer {
    padding: 60px 0;
    text-align: center;
    background-color: var(--bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer .small {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-top: 10px;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-lead {
    font-size: 1.15rem;
    color: var(--text-gray);
    max-width: 720px;
    margin: 0 auto 30px;
}

.hero-lead strong {
    color: var(--primary);
    font-weight: 700;
}

.hero-badges {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-top: 30px;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.section-lead {
    text-align: center;
    color: var(--text-gray);
    max-width: 720px;
    margin: -40px auto 50px;
    font-size: 1.05rem;
}

.marcas-section {
    padding: 80px 0;
    background-color: #0f0f18;
    text-align: center;
}

.marcas-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-top: 20px;
}

.marca-badge {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 3px;
    padding: 16px 32px;
    border: 1px solid var(--primary);
    border-radius: 8px;
    background: rgba(0, 212, 255, 0.05);
    color: var(--primary);
    font-weight: 700;
}

.page-body {
    padding-top: 120px;
    padding-bottom: 60px;
}

.page-section {
    padding: 40px 0 60px;
}

.page-section .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.page-section.page-center .section-title {
    text-align: center;
}

.page-subtitle {
    font-size: 1.4rem;
    margin: 32px 0 12px;
    color: var(--white);
    letter-spacing: 1.5px;
}

.page-text {
    color: var(--text-gray);
    max-width: 820px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.page-center {
    text-align: center;
}

.page-center .page-text {
    margin-left: auto;
    margin-right: auto;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
}

.contact-list a {
    color: var(--text-gray);
    text-decoration: none;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    text-align: left;
    margin-bottom: 32px;
}

.footer-brand {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 3px;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.footer-heading {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.footer a {
    color: var(--text-gray);
    text-decoration: none;
}

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

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.breadcrumbs {
    margin-bottom: 24px;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
}

.breadcrumbs li + li::before {
    content: '›';
    margin-right: 8px;
    color: var(--primary);
}

.breadcrumbs a {
    color: var(--text-gray);
    text-decoration: none;
}

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

.breadcrumbs [aria-current="page"] { color: var(--white); }

.page-lead {
    font-size: 1.15rem;
    color: #d2d2de;
    max-width: 820px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.feature-list {
    list-style: none;
    padding: 0;
    max-width: 820px;
    margin-bottom: 24px;
}

.feature-list li {
    padding: 12px 16px;
    border-left: 3px solid var(--primary);
    background: rgba(0, 212, 255, 0.04);
    margin-bottom: 10px;
    color: #cfcfd8;
    border-radius: 0 8px 8px 0;
}

.feature-list li strong { color: var(--white); }

.process-steps {
    list-style: none;
    counter-reset: step;
    padding: 0;
    max-width: 900px;
    margin-bottom: 24px;
}

.process-steps li {
    counter-increment: step;
    padding: 16px 20px 16px 64px;
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    margin-bottom: 12px;
    color: #cfcfd8;
}

.process-steps li::before {
    content: counter(step);
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: #000;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-steps li strong { color: var(--white); display: block; margin-bottom: 4px; }

.bullet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.bullet-item {
    background: var(--bg-card);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.bullet-item strong {
    display: block;
    color: var(--white);
    margin-bottom: 6px;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1.5px;
    font-size: 0.95rem;
}

.bullet-item p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin: 0;
}

.bullet-icon {
    display: inline-block;
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.faq-list {
    max-width: 900px;
    margin-bottom: 24px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 10px;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--white);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    color: var(--primary);
    font-size: 1.4rem;
    line-height: 1;
}

.faq-item[open] summary::after { content: '−'; }

.faq-item p {
    color: var(--text-gray);
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.servicio-card-link {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.servicio-card-link h3 { margin-bottom: 12px; color: var(--white); }

.servicio-card-link p {
    color: var(--text-gray);
    margin-bottom: 16px;
    flex-grow: 1;
}

.link-arrow {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
}

.link-arrow:hover { text-decoration: underline; }

.cta-strip {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(0, 142, 180, 0.04));
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    text-align: center;
    margin-top: 40px;
}

.cta-strip h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.cta-strip p {
    color: var(--text-gray);
    max-width: 640px;
    margin: 0 auto 24px;
}

.zone-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
    max-width: 900px;
}

.zone-chip {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.map-wrap {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    margin-top: 20px;
    max-width: 1000px;
}

.brand-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.brand-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 14px;
    padding: 32px;
}

.brand-title {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 4px;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.brand-lead {
    color: #d2d2de;
    margin-bottom: 20px;
    line-height: 1.7;
}

/* SVG Icons */
.svg-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.servicio-card:hover .svg-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.6));
}

/* History Gallery (about.php) */
.history-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.history-img-wrap {
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.history-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    filter: grayscale(100%) sepia(50%) hue-rotate(-20deg) contrast(1.1);
    transition: filter 0.5s ease, transform 0.5s ease;
    display: block;
}

.history-img-wrap:hover .history-img {
    filter: grayscale(0%) sepia(0%) hue-rotate(0deg) contrast(1);
    transform: scale(1.05);
}

/* Service Images */
.service-image-wrap {
    margin: 30px auto;
    max-width: 800px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.service-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .nav { display: none; }
    .contacto-wrapper { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.2rem; }
    .section-title { font-size: 1.8rem; }
    .hero-badges { gap: 12px; font-size: 0.85rem; }
    .page-subtitle { font-size: 1.2rem; }
    .brand-title { font-size: 1.4rem; }
}
