/* =============================================
   LOCOMOTIVO — Page-Specific Styles
   ============================================= */

/* --- HOME: Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img,
.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(10, 10, 10, 0.95) 0%,
            rgba(10, 10, 10, 0.7) 50%,
            rgba(10, 10, 10, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    padding: var(--space-4xl) 0;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: var(--space-xl);
    animation: fadeInDown 0.8s ease both;
}

.hero-label span {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: var(--radius-full);
    animation: pulse 2s ease-in-out infinite;
}

.hero h1 {
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-desc {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
    max-width: 520px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-decoration {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    z-index: 0;
}

.hero-circle {
    position: absolute;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 77, 0, 0.1);
}

.hero-circle-1 {
    width: 100%;
    height: 100%;
    animation: pulse 4s ease-in-out infinite;
}

.hero-circle-2 {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    animation: pulse 4s ease-in-out infinite 1s;
}

.hero-circle-3 {
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    border-color: rgba(255, 77, 0, 0.2);
    animation: pulse 4s ease-in-out infinite 2s;
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + var(--space-3xl));
        padding-bottom: var(--space-3xl);
    }

    .hero-decoration {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        text-align: center;
        justify-content: center;
    }
}

.services-preview .service-card {
    text-align: center;
}

.services-preview .service-icon {
    margin: 0 auto var(--space-lg);
}

/* --- PRICING --- */
.pricing-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.pricing-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 700px;
}

.pricing-table thead th {
    padding: var(--space-lg) var(--space-xl);
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    background: var(--bg-secondary);
    border-bottom: 2px solid var(--border);
}

.pricing-table thead th:first-child {
    text-align: left;
    border-radius: var(--radius-md) 0 0 0;
}

.pricing-table thead th:last-child {
    border-radius: 0 var(--radius-md) 0 0;
}

.pricing-table thead th.featured-col {
    background: rgba(255, 77, 0, 0.08);
    color: var(--accent);
}

.pricing-table tbody td {
    padding: var(--space-md) var(--space-xl);
    text-align: center;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.pricing-table tbody td:first-child {
    text-align: left;
    color: var(--text-primary);
    font-weight: 500;
}

.pricing-table tbody td.featured-col {
    background: rgba(255, 77, 0, 0.02);
}

.pricing-table tbody tr:last-child td {
    border-bottom: none;
}

.pricing-table .check-icon {
    color: var(--success);
}

.pricing-table .cross-icon {
    color: var(--text-muted);
}

/* --- PORTFOLIO --- */
.portfolio-filters {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
    color: #fff;
    background: var(--accent);
    border-color: var(--accent);
}

/* --- ABOUT --- */
.founder-section {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-3xl);
    align-items: center;
}

.founder-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3/4;
    position: relative;
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.founder-content h2 {
    margin-bottom: var(--space-lg);
}

.founder-content p {
    margin-bottom: var(--space-lg);
    font-size: 1.05rem;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .founder-section {
        grid-template-columns: 1fr;
    }

    .founder-image {
        max-width: 400px;
        margin: 0 auto;
    }
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.philosophy-card {
    padding: var(--space-2xl);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-base);
}

.philosophy-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.philosophy-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
    background: var(--accent-subtle);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.philosophy-icon svg {
    width: 32px;
    height: 32px;
    color: var(--accent);
}

.philosophy-card h3 {
    margin-bottom: var(--space-sm);
}

@media (max-width: 768px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
}

/* --- CONTACT --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-subtle);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 22px;
    height: 22px;
    color: var(--accent);
}

.contact-info-item p {
    font-size: 0.95rem;
}

.contact-info-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 2px;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* --- SERVICES --- */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse>* {
    direction: ltr;
}

.service-detail-visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--bg-card);
    border: 1px solid var(--border);
}

.service-detail-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-feature-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.service-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.service-feature svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

@media (max-width: 768px) {
    .service-detail {
        grid-template-columns: 1fr;
    }

    .service-detail.reverse {
        direction: ltr;
    }
}