/* ─── LEYTONCARS THEME VARIABLES & BASE ─── */
:root {
    --background: #0a0a0a;
    --foreground: #ffffff;
    --accent: #ff6b00; /* Racing Orange */
    --accent-muted: #cc5600;
    --surface: #121212;
    --surface-border: #242424;
    --glass: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.07);
    --text-muted: #a0a0a0;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--background);
    color: var(--foreground);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent);
}

.accent {
    color: var(--accent);
}

/* Glassmorphism */
.glass {
    background: var(--glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--glass-border);
}

/* ─── HEADER & NAVBAR ─── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    color: #fff;
    line-height: 1.1;
}

.accent-text {
    color: var(--accent);
}

.logo-subtext {
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.4em;
    font-weight: 600;
    margin-top: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.92rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: #fff;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-trigger {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

.dropdown-trigger:hover {
    color: #fff;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    width: 480px;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.nav-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.mega-menu-item {
    padding: 12px;
    border-radius: 8px;
    transition: background 0.3s;
}

.mega-menu-item:hover {
    background: rgba(255, 107, 0, 0.05);
}

.mega-menu-item h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.mega-menu-item p {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.nav-cta-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-cta {
    background: var(--accent);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 10px 24px;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(255, 107, 0, 0.2);
}

.nav-cta:hover {
    background: var(--accent-muted);
    color: #fff;
    transform: translateY(-1px);
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
}

.mobile-navigation {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    padding: 24px;
    flex-direction: column;
    gap: 20px;
    border-top: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.mobile-navigation a {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    padding-bottom: 10px;
}

.mobile-cta {
    background: var(--accent);
    color: #fff !important;
    text-align: center;
    padding: 12px;
    border-radius: 6px;
    border-bottom: none !important;
}

/* ─── HERO SECTION ─── */
.hero-section {
    position: relative;
    padding: 180px 20px 120px;
    text-align: center;
    overflow: hidden;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 107, 0, 0.08);
    border: 1px solid rgba(255, 107, 0, 0.25);
    border-radius: 100px;
    padding: 8px 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.4rem, 7vw, 4.8rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary-rect {
    background: var(--accent);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 14px 36px;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.3);
}

.btn-primary-rect:hover {
    background: var(--accent-muted);
    color: #fff;
    transform: translateY(-2px);
}

.btn-secondary-rect {
    background: transparent;
    border: 1px solid var(--surface-border);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 14px 36px;
    border-radius: 6px;
}

.btn-secondary-rect:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: var(--text-muted);
}

.hero-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 55% at 50% 0%, rgba(255, 107, 0, 0.07) 0%, transparent 70%);
    z-index: 1;
}

/* ─── PHILOSOPHY SECTION ─── */
.philosophy-section {
    padding: 80px 20px;
}

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

.philosophy-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    display: block;
    margin-bottom: 8px;
}

.philosophy-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #fff;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.philosophy-card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    padding: 40px 30px;
    transition: all 0.3s;
}

.philosophy-card:hover {
    border-color: rgba(255, 107, 0, 0.2);
    transform: translateY(-5px);
}

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(255, 107, 0, 0.05);
    border: 1px solid rgba(255, 107, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 24px;
}

.philosophy-card h3 {
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 12px;
}

.philosophy-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ─── BEFORE AFTER SLIDER (TRANSFORMATION) ─── */
.spotlight-section, .spotlight-archive-section {
    padding: 80px 20px;
    background: rgba(255, 107, 0, 0.01);
}

.spotlight-header, .spotlight-header-archive {
    text-align: center;
    margin-bottom: 40px;
}

.spotlight-header h2, .spotlight-header-archive h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #fff;
    margin-bottom: 8px;
}

.spotlight-header p, .spotlight-header-archive p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.before-after-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.before-after-container {
    position: relative;
    width: 100%;
    height: 550px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--surface-border);
    user-select: none;
}

.img-after, .img-before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.img-after img, .img-before img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.img-before {
    width: 50%; /* Inicialmente recortado al 50% */
    overflow: hidden;
    z-index: 2;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.label-before, .label-after {
    position: absolute;
    bottom: 20px;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(4px);
    border: 1px solid var(--glass-border);
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
}

.label-before {
    left: 20px;
}

.label-after {
    right: 20px;
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: #fff;
    z-index: 3;
    cursor: ew-resize;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.handle-button {
    width: 44px;
    height: 44px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    border: 3px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.handle-line {
    width: 2px;
    background: #fff;
    flex: 1;
}

/* ─── SERVICES SUMMARY ─── */
.services-summary-section {
    padding: 80px 20px;
}

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

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #fff;
}

.services-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-summary-card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-summary-card h3 {
    font-size: 1.25rem;
    color: #fff;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 12px;
    align-self: flex-start;
}

.service-summary-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.service-summary-card a {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
}

.service-summary-card a:hover {
    color: #fff;
}

/* ─── FEATURED PROJECTS (HOME) ─── */
.featured-projects-section {
    padding: 80px 20px;
}

.featured-projects-container {
    max-width: 1200px;
    margin: 0 auto;
}

.featured-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.featured-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #fff;
}

.btn-text {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-text:hover {
    color: #fff;
}

.featured-grid, .projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.featured-card, .project-card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s;
}

.card-image-wrapper, .project-image-wrapper {
    position: relative;
    height: 420px;
    overflow: hidden;
}

.featured-image, .project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.featured-card:hover .featured-image, .project-card:hover .project-image {
    transform: scale(1.05);
}

.card-overlay, .project-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.5) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    gap: 10px;
}

.project-cat, .project-card-cat {
    align-self: flex-start;
    background: rgba(255, 107, 0, 0.1);
    border: 1px solid rgba(255, 107, 0, 0.3);
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 4px;
}

.featured-card h3, .project-card-title {
    font-size: 1.25rem;
    color: #fff;
}

.project-card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.project-btn, .project-card-viewbtn {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 4px;
    align-self: flex-start;
    margin-top: 8px;
}

.project-btn:hover, .project-card-viewbtn:hover {
    background: var(--accent);
    color: #fff;
}

/* ─── GENERAL ARCHIVES & PUBLIC PAGES ─── */
.main-content {
    padding: 140px 20px 80px;
}

.archive-header {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.archive-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: #fff;
    margin-bottom: 12px;
}

.archive-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
}

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

/* ─── PUBLIC SPARE PARTS CATALOG (REPUESTOS) ─── */
.repuestos-hero {
    position: relative;
    padding: 150px 20px 80px;
    text-align: center;
    overflow: hidden;
}

.filters-section {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.filters-container {
    display: flex;
    gap: 16px;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    padding: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.search-wrapper {
    flex: 1;
    min-width: 260px;
    position: relative;
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-input {
    width: 100%;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid var(--surface-border);
    padding: 12px 16px 12px 42px;
    border-radius: 8px;
    color: #fff;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s;
}

.search-input:focus {
    border-color: var(--accent);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-icon {
    color: var(--text-muted);
}

.select-filter {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid var(--surface-border);
    padding: 12px 36px 12px 16px;
    border-radius: 8px;
    color: #fff;
    font-size: 0.9rem;
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a0a0a0' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    transition: border-color 0.3s;
}

.select-filter:focus {
    border-color: var(--accent);
}

.select-filter option {
    background: #121212;
    color: #fff;
}

.results-count {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 12px;
}

.catalog-section {
    padding: 0 20px;
}

.repuestos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.repuesto-card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
}

.repuesto-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 0, 0.25);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.repuesto-card-header {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.05) 0%, rgba(255, 107, 0, 0.01) 100%);
    padding: 24px 24px 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid var(--surface-border);
}

.repuesto-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: rgba(255, 107, 0, 0.06);
    border: 1px solid rgba(255, 107, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.estado-badge {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
}

.badge-usado {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.badge-nuevo {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.badge-remanufacturado {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.repuesto-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.repuesto-card-title {
    font-size: 1.05rem;
    color: #fff;
    line-height: 1.35;
}

.repuesto-card-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.repuesto-card-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.meta-item-repuesto {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.meta-item-repuesto svg {
    color: var(--accent);
    width: 14px;
    height: 14px;
}

.repuesto-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--surface-border);
}

.repuesto-precio {
    font-size: 1.22rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.01em;
}

.repuesto-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 8px 14px;
    border-radius: 6px;
}

.repuesto-contact-btn:hover {
    background: var(--accent);
    color: #fff;
}

.empty-state-repuestos {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn-clear-filters {
    background: transparent;
    border: 1px solid var(--surface-border);
    color: #fff;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 0.88rem;
    margin-top: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-clear-filters:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ─── PUBLIC BLOG LISTING (BLOG) ─── */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.blog-card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 0, 0.25);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.blog-card-image-wrapper {
    height: 220px;
    position: relative;
    overflow: hidden;
    background: #000;
}

.blog-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image {
    transform: scale(1.04);
}

.blog-card-image-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 0, 0.02);
    border-bottom: 1px solid var(--surface-border);
}

.blog-card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(4px);
    border: 1px solid var(--glass-border);
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
}

.blog-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.blog-card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.blog-card-meta svg {
    width: 12px;
    height: 12px;
    color: var(--accent);
}

.blog-card-title {
    font-size: 1.12rem;
    color: #fff;
    line-height: 1.35;
}

.blog-card-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-read-more {
    margin-top: auto;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 4px;
}

.blog-card:hover .blog-read-more {
    color: #fff;
}

/* Paginación */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a, .pagination span {
    padding: 10px 16px;
    border-radius: 6px;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.pagination .current {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.pagination a:hover {
    border-color: var(--accent);
    color: #fff;
}

/* ─── SINGLE POST VIEW (LECTURA INMERSIVA DE BLOG) ─── */
.single-post-container {
    max-width: 900px;
    margin: 0 auto;
}

.single-post-hero {
    height: 420px;
    width: 100%;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--surface-border);
    margin-bottom: 40px;
}

.hero-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-cover-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #121212 0%, #050505 100%);
}

.hero-cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 30%, rgba(10, 10, 10, 0.9) 100%);
}

.single-post-content-wrapper {
    padding: 0 24px;
}

.single-post-category {
    align-self: flex-start;
    background: var(--accent);
    color: #fff;
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 16px;
}

.single-post-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: #fff;
    line-height: 1.2;
    margin-bottom: 16px;
}

.single-post-meta {
    display: flex;
    gap: 24px;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--surface-border);
    padding-bottom: 24px;
    margin-bottom: 30px;
}

.single-post-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.single-post-meta svg {
    color: var(--accent);
    width: 14px;
    height: 14px;
}

.single-post-body {
    font-size: 1.08rem;
    line-height: 1.8;
    color: #dddddd;
}

.single-post-body p {
    margin-bottom: 24px;
}

.single-post-body h2 {
    font-size: 1.5rem;
    color: #fff;
    margin: 40px 0 20px;
    border-bottom: 1px solid var(--surface-border);
    padding-bottom: 8px;
}

.single-post-body h3 {
    font-size: 1.25rem;
    color: var(--accent);
    margin: 30px 0 16px;
}

.single-post-body ul, .single-post-body ol {
    margin: 0 0 24px 24px;
}

.single-post-body li {
    margin-bottom: 8px;
}

.single-post-footer {
    margin-top: 50px;
    border-top: 1px solid var(--surface-border);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.single-post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.tag-label {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-right: 8px;
    font-weight: 600;
}

.single-post-tags a {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--surface-border);
    color: var(--text-muted);
    font-size: 0.78rem;
    padding: 4px 12px;
    border-radius: 4px;
}

.single-post-tags a:hover {
    border-color: var(--accent);
    color: #fff;
}

.btn-back-blog {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--surface-border);
    color: var(--text-muted);
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 600;
}

.btn-back-blog:hover {
    border-color: var(--text-muted);
    color: #fff;
}

/* ─── FOOTER ─── */
.footer {
    background: #080808;
    border-top: 1px solid var(--surface-border);
    padding: 80px 20px 40px;
    color: var(--text-muted);
}

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

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    color: #fff;
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 320px;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--surface-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s;
}

.footer-socials a:hover {
    color: #fff;
    border-color: var(--accent);
    background: rgba(255, 107, 0, 0.05);
}

.footer-title {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 24px;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-list a {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.footer-list a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 0.88rem;
}

.accent-icon {
    color: var(--accent);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a:hover {
    color: #fff;
}

/* Botón Flotante de WhatsApp */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    z-index: 999;
    transition: all 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background: #20ba5a;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .philosophy-grid, .services-summary-grid, .featured-grid, .projects-grid, .posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .before-after-container {
        height: 420px;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 70px;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .nav-links, .nav-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-section {
        padding: 140px 16px 80px;
    }
    
    .philosophy-grid, .services-summary-grid, .featured-grid, .projects-grid, .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .before-after-container {
        height: 300px;
    }
    
    .single-post-hero {
        height: 260px;
    }
    
    .single-post-content-wrapper {
        padding: 0;
    }
}

/* ─── MODAL DE SOLICITUD DE REPUESTOS ─── */
.repuestos-solicitar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.repuestos-solicitar-btn:hover {
    background: var(--accent-muted);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 107, 0, 0.35);
}

.repuestos-cta-section {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    padding: 60px 20px;
    text-align: center;
    max-width: 1200px;
    margin: 60px auto 40px;
    position: relative;
    overflow: hidden;
}

.repuestos-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.repuestos-cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.repuestos-cta-icon {
    color: var(--accent);
    opacity: 0.8;
}

.repuestos-cta-content h2 {
    font-size: 1.8rem;
    color: #fff;
    margin: 0;
}

.repuestos-cta-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0 0 10px;
}

/* Modal Overlay & Box */
.repuestos-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: repuestosFadeIn 0.3s ease;
}

.repuestos-modal-content {
    background: rgba(18, 18, 18, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 107, 0, 0.05);
    border-radius: 12px;
    width: 100%;
    max-width: 550px;
    padding: 32px;
    position: relative;
    animation: repuestosSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.repuestos-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 16px;
}

.repuestos-modal-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0;
}

.repuestos-modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
    padding: 4px;
}

.repuestos-modal-close:hover {
    color: var(--accent);
}

.repuestos-modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.repuestos-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.repuestos-form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.repuestos-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.repuestos-modal-form input[type="text"],
.repuestos-modal-form textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 12px 16px;
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.2s ease;
    width: 100%;
}

.repuestos-modal-form input[type="text"]:focus,
.repuestos-modal-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 107, 0, 0.02);
    box-shadow: 0 0 12px rgba(255, 107, 0, 0.15);
}

.repuestos-modal-form textarea {
    resize: vertical;
}

.repuestos-submit-btn {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 14px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    text-align: center;
}

.repuestos-submit-btn:hover {
    background: var(--accent-muted);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.25);
}

@keyframes repuestosFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes repuestosSlideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 576px) {
    .repuestos-modal-content {
        padding: 24px 20px;
    }
    
    .repuestos-form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .repuestos-cta-section {
        padding: 40px 16px;
        margin: 40px auto 20px;
    }
}

/* ─── PÁGINA DE NOSOTROS (E-E-A-T) ─── */
.nosotros-main {
    padding-top: 140px;
    min-height: 100vh;
    background: #000;
}

.nosotros-header {
    text-align: center;
    margin-bottom: 80px;
}

.nosotros-tag {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: 700;
    font-size: 0.9rem;
}

.nosotros-title {
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 900;
    margin-top: 10px;
    color: #fff;
}

.nosotros-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
}

.nosotros-textblock h2 {
    font-size: 2.2rem;
    margin-bottom: 24px;
    line-height: 1.2;
    color: #fff;
}

.nosotros-textblock p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.nosotros-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.nosotros-stat-item {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
}

.nosotros-stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 8px;
}

.nosotros-stat-label {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    font-weight: 700;
}

.nosotros-workshop {
    height: 500px;
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1486006920555-c77dcf18193c?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    position: relative;
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.nosotros-workshop-overlay {
    background: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px;
    max-width: 600px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
}

.nosotros-workshop-overlay h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 16px;
}

.nosotros-workshop-overlay p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .nosotros-header {
        margin-bottom: 40px;
    }
    
    .nosotros-content {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 60px;
    }
    
    .nosotros-workshop {
        height: 400px;
    }
    
    .nosotros-workshop-overlay {
        padding: 24px;
    }
}

/* ==========================================================================
   ─── ENRIQUE LEYTON PROFILE PAGE ───
   ========================================================================== */
.enrique-main {
    min-height: 100vh;
    background: #000;
    color: #fff;
    padding-top: 140px;
    overflow-x: hidden;
}

.enrique-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.enrique-tag {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 20px;
}

.enrique-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    line-height: 1.1;
    background: linear-gradient(to bottom, #fff, #999);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 30px;
}

.enrique-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    color: #ccc;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.enrique-quote-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.enrique-quote-container {
    max-width: 900px;
    margin: 60px auto 100px auto;
    padding: 50px;
    position: relative;
    background: rgba(255, 107, 0, 0.03);
    border-left: 4px solid var(--accent);
    border-radius: 4px 24px 24px 4px;
}

.enrique-quote {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-style: italic;
    font-weight: 600;
    line-height: 1.4;
    color: #eee;
    margin-bottom: 20px;
    border: none;
    padding: 0;
    background: none;
}

.enrique-author {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
}

.enrique-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}

.enrique-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.enrique-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.enrique-story-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 25px;
    background: linear-gradient(45deg, #fff, #bbb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.enrique-story-content p {
    color: #aaa;
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.enrique-timeline {
    max-width: 1000px;
    margin: 0 auto 120px auto;
    padding: 0 20px;
}

.enrique-timeline-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #fff;
}

.enrique-timeline-wrapper {
    position: relative;
    padding-left: 40px;
}

.enrique-timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), transparent);
}

.enrique-timeline-item {
    position: relative;
    margin-bottom: 60px;
}

.enrique-timeline-item:last-child {
    margin-bottom: 0;
}

.enrique-timeline-dot {
    position: absolute;
    left: -51px;
    top: 6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #000;
    border: 4px solid var(--accent);
    box-shadow: 0 0 10px var(--accent);
}

.enrique-timeline-year {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 10px;
}

.enrique-timeline-content h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: #fff;
}

.enrique-timeline-content p {
    color: #888;
    font-size: 1.1rem;
    line-height: 1.7;
}

.enrique-philosophy {
    background: linear-gradient(to bottom, #000, #0c0c0c);
    padding: 100px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.enrique-philosophy-container {
    max-width: 1200px;
    margin: 0 auto;
}

.enrique-philosophy-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #fff;
}

.enrique-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.enrique-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    transition: all 0.4s ease;
}

.enrique-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.05);
}

.enrique-card-icon {
    color: var(--accent);
    margin-bottom: 25px;
}

.enrique-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #fff;
}

.enrique-card p {
    color: #888;
    font-size: 1.05rem;
    line-height: 1.7;
}

.enrique-cta {
    text-align: center;
    padding: 120px 20px;
    background: #000;
}

.enrique-cta-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    color: #fff;
}

.enrique-cta-desc {
    color: #888;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.enrique-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.enrique-primary-btn {
    display: inline-block;
    background: var(--accent);
    color: #000;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.enrique-primary-btn:hover {
    background: #fff;
    color: #000;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
}

.enrique-secondary-btn {
    display: inline-block;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.enrique-secondary-btn:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.enrique-story-btn {
    display: inline-block;
    background: transparent;
    border: 1px solid var(--accent);
    color: #fff;
    padding: 14px 28px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin-top: 20px;
    cursor: pointer;
}

.enrique-story-btn:hover {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.4);
}

@media (max-width: 900px) {
    .enrique-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .enrique-grid-reverse {
        display: flex;
        flex-direction: column-reverse;
    }
}

@media (max-width: 768px) {
    .enrique-main {
        padding-top: 100px;
    }
    .enrique-hero {
        margin-bottom: 40px;
    }
    .enrique-quote-container {
        padding: 30px 20px;
        margin: 40px auto 60px auto;
    }
    .enrique-timeline-wrapper {
        padding-left: 24px;
    }
    .enrique-timeline-dot {
        left: -35px;
        width: 16px;
        height: 16px;
        top: 8px;
    }
    .enrique-card {
        padding: 30px;
    }
}

/* ==========================================================================
   ─── SINGLE PROYECTO PAGE ───
   ========================================================================== */
.single-proyecto-main {
    min-height: 100vh;
    background: #000;
    color: #fff;
    padding-top: 120px;
    overflow-x: hidden;
}

.project-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 40px 20px;
    text-align: center;
    position: relative;
}

.project-tag {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 15px;
}

.project-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(to bottom, #fff, #999);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.project-hero-line {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 0 auto;
    border-radius: 2px;
}

.project-hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.project-details-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 100px 20px;
    position: relative;
    z-index: 1;
}

.project-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: start;
}

.project-info-col h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: #fff;
    border-left: 3px solid var(--accent);
    padding-left: 12px;
}

.project-description {
    color: #bbb;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.project-description p {
    margin-bottom: 20px;
}

.project-meta-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project-meta-box .meta-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.project-meta-box .meta-item i {
    color: var(--accent);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.project-meta-box .meta-item strong {
    display: block;
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-meta-box .meta-item span {
    font-size: 1.05rem;
    color: #eee;
    font-weight: 600;
}

.project-cta-block {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.08) 0%, rgba(0, 0, 0, 0) 100%);
    border: 1px solid rgba(255, 107, 0, 0.15);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
}

.project-cta-block p {
    color: #ccc;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.project-wa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--accent);
    color: #000;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.project-wa-btn:hover {
    background: #fff;
    color: #000;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.project-media-col {
    position: sticky;
    top: 120px;
}

.project-single-image {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    aspect-ratio: 16/10;
}

.project-single-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-hint {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-top: 15px;
}

@media (max-width: 900px) {
    .project-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .project-media-col {
        position: static;
    }
}

