/* Shared CSS for subpages (legal, neumaticos-buscar, about, faq, services) */
/* Self-hosted Outfit font */
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/outfit-variable.woff2') format('woff2');
}
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/fonts/outfit-variable.woff2') format('woff2');
}
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/outfit-variable.woff2') format('woff2');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
body {
    font-family: 'Outfit', Arial, sans-serif;
    line-height: 1.6;
    padding-top: 70px;
    background: url('/img/background-image.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #ffffff;
    min-height: 100vh;
    font-size: 16px;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: #111;
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
    z-index: 1000;
    height: 70px;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 1rem;
}
.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.nav-logo img {
    height: 50px;
    width: auto;
    display: block;
}
.nav-menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    align-items: center;
    flex-wrap: nowrap;
}
.nav-menu li {
    display: flex;
    align-items: center;
}
.nav-menu li a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 16px;
}
.nav-menu li a:hover {
    color: #ff4e4e;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
}
.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

@media (max-width: 900px) {
    .hamburger {
        display: flex;
    }
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #111;
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }
    .nav-menu.active {
        display: flex;
    }
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    .hamburger.active span:nth-child(4) {
        opacity: 0;
    }
}

/* Main container */
.container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.85);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

h1 {
    color: #ff4e4e;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}
h2 {
    color: #ff4e4e;
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #ff4e4e;
    padding-bottom: 0.5rem;
}
h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}
p, li {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1rem;
}
ul, ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}
li {
    margin-bottom: 0.5rem;
}
strong {
    color: #ff4e4e;
    font-weight: bold;
}
a {
    color: #ff4e4e;
    text-decoration: underline;
    transition: color 0.3s ease;
}
a:hover {
    color: #cc3030;
}

/* Tables */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    overflow: hidden;
}
.info-table th,
.info-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 16px;
}
.info-table th {
    background: rgba(255, 78, 78, 0.3);
    font-weight: bold;
    color: #fff;
}
.info-table tr:last-child td {
    border-bottom: none;
}

/* Boxes */
.highlight-box {
    background: rgba(255, 78, 78, 0.12);
    border-left: 4px solid #ff4e4e;
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 5px;
}
.contact-box {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid #ff4e4e;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}
.last-updated {
    text-align: center;
    font-style: italic;
    color: #ccc;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-back {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: #ff4e4e;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
}
.btn-back:hover {
    background: #cc3030;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 78, 78, 0.3);
    color: white;
}

/* Footer */
footer {
    background: #111;
    color: #ffffff;
    width: 100%;
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
    margin-top: 3rem;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding-bottom: 1rem;
}
.footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.footer-section h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
.footer-section p, .footer-list {
    color: #ccc;
    font-size: 1rem;
}
.footer-list {
    list-style: none;
    padding: 0;
    width: 100%;
}
.footer-list li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-list a {
    color: #ff4e4e;
    text-decoration: none;
    padding: 0.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}
.footer-list a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}
.footer-list i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}
.footer-collaborations {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    align-items: center;
}
.collab-banner {
    width: 100%;
    max-width: 150px;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}
.collab-banner:hover {
    transform: scale(1.1);
}
.footer-bottom {
    padding-top: 1rem;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-bottom p {
    margin: 0;
}
.footer-bottom a {
    color: #ff4e4e;
    text-decoration: underline;
    transition: color 0.3s ease;
}
.footer-bottom a:hover {
    color: #ffffff;
}

/* ── FAQ Page ── */
.faq-hero {
    text-align: center;
    padding: 40px 24px 20px;
}
.faq-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px 60px;
}
.faq-category {
    margin-bottom: 40px;
}
.faq-category-title {
    border-bottom: none;
    font-size: 1.5rem;
    margin-bottom: 16px;
}
.gradient-text {
    background: linear-gradient(135deg, #ff4e4e, #ff8e63);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.faq-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 18px 20px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
    transition: background 0.2s;
}
.faq-question:hover {
    background: rgba(255,78,78,0.08);
}
.faq-question .icon {
    font-size: 20px;
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 12px;
}
.faq-question[aria-expanded="true"] .icon {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-answer-inner {
    padding: 0 20px 18px;
    color: #ccc;
    line-height: 1.7;
}
.faq-answer-inner a {
    color: #ff4e4e;
}
.faq-cta {
    text-align: center;
    padding: 40px 0;
}

/* ── About Page ── */
.about-hero {
    text-align: center;
    padding: 40px 24px 20px;
}
.about-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px 60px;
}
.about-section {
    margin-bottom: 48px;
}
.about-section h2 {
    border-bottom: 2px solid #ff4e4e;
    padding-bottom: 8px;
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}
.value-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 24px;
}
.value-card h3 {
    color: #ff4e4e;
    margin-bottom: 8px;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}
.team-member {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}
.team-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255,78,78,0.2);
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}
.team-member h3 {
    color: #fff;
    margin-bottom: 4px;
}
.team-role {
    color: #ff4e4e;
    font-weight: 600;
    font-size: 14px;
}
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 20px;
}
.equipment-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}
.equipment-item .eq-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

/* ── Service Pages ── */
.service-hero {
    text-align: center;
    padding: 40px 24px 20px;
}
.service-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px 60px;
}
.service-section {
    margin-bottom: 40px;
}
.price-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
}
.price-card h3 {
    color: #ff4e4e;
}
.service-cta {
    text-align: center;
    padding: 40px 0;
}

/* Responsive */
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .container {
        margin: 1rem;
        padding: 1.5rem;
    }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    .info-table { font-size: 16px; }
    .info-table th,
    .info-table td { padding: 0.75rem; }
}
@media (max-width: 480px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
    .footer-section h3 { font-size: 1.1rem; }
    .collab-banner { max-width: 120px; }
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.2rem; }
    .values-grid, .team-grid { grid-template-columns: 1fr; }
    .equipment-grid { grid-template-columns: 1fr 1fr; }
}
