:root {
    --accent: #39597d;
    --accent-dim: #3A7FCC;
}

.container {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(20,32,46,0.75)),
        url('img/steel_structure.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 100%);
}

/* Header */
header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0px;
    z-index: 10;
}

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

.logo-mark {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.logo-mark span {
    display: block;
    height: 2px;
    background: white;
}

.logo-mark span:nth-child(1) { width: 20px; }
.logo-mark span:nth-child(2) { width: 14px; }
.logo-mark span:nth-child(3) { width: 20px; }

.logo-text {
    color: white;
    font-weight: 500;
    font-size: 18px;
    letter-spacing: 3px;
    text-decoration: none;
}

.nav-main {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-main a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-main a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: white;
    transition: width 0.3s ease;
}

.nav-main a:hover::after {
    width: 100%;
}

.nav-main a.btn-contact {
    border: 1px solid white;
    padding: 8px 20px;
    margin-left: 20px;
}

.nav-main a.btn-contact::after {
    display: none;
}

.nav-main a.btn-contact:hover {
    background: #fff;
    border-color: var(--accent);
    color: #0F1115;
}

/* Hero Content */
.hero-content {
    padding: 0 0px 80px;
    z-index: 10;
}

.hero-content h1,
.hero-content p,
.hero-content .view-models {
    max-width: 480px;
}

.hero-content h1 {
    color: white;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 24px;
}

.hero-content p strong {
    font-weight: 500;
    color: white;
}

.view-models {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.4);
    transition: all 0.3s ease;
}

.view-models:hover {
    border-bottom-color: white;
    gap: 16px;
}

.view-models::after {
    content: '→';
    font-size: 14px;
    transition: transform 0.3s ease;
}

.view-models:hover::after {
    transform: translateX(4px);
}


/* Responsive */
@media (max-width: 1400px) {
    .hero-content {
        padding: 0 40px 80px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    .nav-main {
        gap: 20px;
    }

    .nav-main a {
        font-size: 12px;
    }

    .nav-main a.btn-contact {
        padding: 6px 14px;
        margin-left: 10px;
    }

    .hero-content {
        padding: 0 20px 60px;
    }

    .hero-content h1,
    .hero-content p,
    .hero-content .view-models {
        max-width: none;
    }

    .hero-content h1 {
        font-size: 26px;
    }

    .hero-content p {
        font-size: 12px;
    }
}

@media (max-width: 640px) {
    .nav-main a:not(.btn-contact) {
        display: none;
    }

    .nav-main a.btn-contact {
        margin-left: 0;
    }

    .logo-text {
        font-size: 16px;
    }
}

/* ========================================
   SECCION 2: LA DIFERENCIA
======================================== */
.diferencia {
    background: #F5F5F7;
    padding: 120px 40px;
}

.diferencia-header {
    max-width: 600px;
    margin-bottom: 80px;
}

.diferencia-header span {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 2px;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.diferencia-header h2 {
    font-size: 36px;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

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

.diferencia-card {
    position: relative;
}

.diferencia-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.diferencia-icon {
    width: 48px;
    height: 48px;
    margin: 32px 0 24px 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.diferencia-icon svg {
    width: 100%;
    height: 100%;
    stroke: #1a1a1a;
    stroke-width: 1.5;
    fill: none;
}

.diferencia-card h3 {
    font-size: 18px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.diferencia-card p {
    font-size: 14px;
    font-weight: 300;
    color: #555;
    line-height: 1.7;
}

.diferencia-card .metric {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 500;
    color: #1a1a1a;
}

/* Diferencia Responsive */
@media (max-width: 900px) {
    .diferencia-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
}

@media (max-width: 640px) {
    .diferencia {
        padding: 80px 20px;
    }

    .diferencia-header {
        margin-bottom: 60px;
    }

    .diferencia-header h2 {
        font-size: 28px;
    }

    .diferencia-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

/* ========================================
   SECCION 2.5: SERVICIOS
======================================== */
.servicios {
    background: #0F1115;
    padding: 120px 40px;
}

.servicios-header {
    max-width: 600px;
    margin-bottom: 80px;
}

.servicios-header span {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 2px;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.servicios-header h2 {
    font-size: 36px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #222;
}

.servicio-card {
    background: #0F1115;
    padding: 48px 40px;
    position: relative;
    transition: all 0.4s ease;
}

.servicio-card:hover {
    background: #14161a;
}

.servicio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.4s ease;
}

.servicio-card:hover::before {
    width: 60px;
}

.servicio-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--accent);
    margin-bottom: 24px;
    display: block;
}

.servicio-card h3 {
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.servicio-card p {
    font-size: 14px;
    font-weight: 300;
    color: #888;
    line-height: 1.7;
    margin-bottom: 24px;
}

.servicio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.servicio-tags span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.5px;
    color: #666;
    border: 1px solid #333;
    padding: 6px 10px;
    transition: all 0.3s ease;
}

.servicio-card:hover .servicio-tags span {
    border-color: #444;
    color: #888;
}

/* Servicios Responsive */
@media (max-width: 900px) {
    .servicios-grid {
        grid-template-columns: 1fr;
    }

    .servicio-card {
        padding: 40px 32px;
    }
}

@media (max-width: 640px) {
    .servicios {
        padding: 80px 20px;
    }

    .servicios-header h2 {
        font-size: 28px;
    }

    .servicio-card {
        padding: 32px 24px;
    }
}

/* ========================================
   SECCION 3: PROYECTOS (BLIND PORTFOLIO)
======================================== */
.proyectos {
    background: #F5F5F7;
    padding: 120px 40px;
}

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

.proyectos-header-text {
    max-width: 500px;
}

.proyectos-header span {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 2px;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.proyectos-header h2 {
    font-size: 36px;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.proyectos-header-link {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 8px;
    transition: all 0.3s ease;
}

.proyectos-header-link:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.proyectos-header-link::after {
    content: '→';
}

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

.proyecto-card {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #e0e0e0;
}

.proyecto-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.75) saturate(0.9);
    transition: all 0.5s ease;
}

.proyecto-card:hover img {
    filter: brightness(0.9) saturate(1);
    transform: scale(1.03);
}

.proyecto-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0) 100%);
    transition: all 0.4s ease;
}

.proyecto-card:hover .proyecto-card-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0) 100%);
}

.proyecto-card-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 1px;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.proyecto-card-tonnage {
    font-family: 'JetBrains Mono', monospace;
    font-size: 32px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: -1px;
}

.proyecto-card-tonnage span {
    font-size: 14px;
    color: #fff;
    margin-left: 4px;
    font-weight: 400;
}

.proyecto-card-type {
    font-size: 13px;
    color: #777;
    font-weight: 300;
}

.proyecto-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent);
    transition: all 0.4s ease;
}

.proyecto-card:hover::after {
    width: 60px;
}

/* Proyecto card static info (always visible) */
.proyecto-card-static {
    position: absolute;
    top: 16px;
    left: 16px;
}

.proyecto-card-static span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    background: rgba(0,0,0,0.5);
    padding: 4px 8px;
}

/* Proyectos Responsive */
@media (max-width: 900px) {
    .proyectos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .proyectos-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .proyectos {
        padding: 80px 20px;
    }

    .proyectos-header h2 {
        font-size: 28px;
    }

    .proyectos-grid {
        grid-template-columns: 1fr;
    }

    .proyecto-card-tonnage {
        font-size: 24px;
    }
}

/* ========================================
   SECCION 3.5: TESTIMONIOS
======================================== */
.testimonios {
    background: #0F1115;
    padding: 120px 40px;
}

.testimonios-header {
    max-width: 600px;
    margin-bottom: 80px;
}

.testimonios-header span {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 2px;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.testimonios-header h2 {
    font-size: 36px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

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

.testimonio-card {
    background: #222228;
    padding: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 320px;
}

.testimonio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 60px;
    background: var(--accent);
}

.testimonio-quote {
    font-size: 15px;
    font-weight: 300;
    color: #ccc;
    line-height: 1.8;
    flex: 1;
    position: relative;
    z-index: 1;
}

.testimonio-author {
    border-top: 1px solid #333;
    padding-top: 20px;
    margin-top: auto;
}

.testimonio-info h4 {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 4px;
}

.testimonio-info p {
    font-size: 12px;
    color: #888;
    font-weight: 300;
}

.testimonio-info p strong {
    color: #aaa;
    font-weight: 500;
}

/* Testimonios Responsive */
@media (max-width: 900px) {
    .testimonios-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .testimonios {
        padding: 80px 20px;
    }

    .testimonios-header h2 {
        font-size: 28px;
    }

    .testimonio-card {
        padding: 32px 24px;
        min-height: auto;
    }
}

/* ========================================
   SECCION 4: FUNDADORES
======================================== */
.fundadores {
    background: #F5F5F7;
    padding: 120px 40px;
}

.fundadores-header {
    max-width: 600px;
    margin-bottom: 80px;
}

.fundadores-header span {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 2px;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.fundadores-header h2 {
    font-size: 36px;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.fundadores-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.fundador-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    align-items: start;
}

.fundador-photo {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #e0e0e0;
}

.fundador-photo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid #1a1a1a;
    pointer-events: none;
}

.fundador-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.fundador-card:hover .fundador-photo img {
    filter: grayscale(0%);
}

.fundador-info {
    padding-top: 20px;
}

.fundador-info h3 {
    font-size: 22px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.fundador-info .role {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 1px;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}

.fundador-info p {
    font-size: 14px;
    font-weight: 300;
    color: #555;
    line-height: 1.7;
    margin-bottom: 24px;
}

.fundador-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fundador-credentials span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.5px;
    color: #1a1a1a;
    background: #fff;
    border: 1px solid #ddd;
    padding: 6px 12px;
}

/* Fundadores Responsive */
@media (max-width: 1100px) {
    .fundador-card {
        grid-template-columns: 160px 1fr;
        gap: 30px;
    }
}

@media (max-width: 900px) {
    .fundadores-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .fundador-card {
        grid-template-columns: 180px 1fr;
    }
}

@media (max-width: 640px) {
    .fundadores {
        padding: 80px 20px;
    }

    .fundadores-header {
        margin-bottom: 60px;
    }

    .fundadores-header h2 {
        font-size: 28px;
    }

    .fundador-card {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .fundador-photo {
        max-width: 200px;
    }
}

/* ========================================
   SECCION 5: FOOTER / CONTACTO
======================================== */
.contacto {
    background: #0F1115;
    padding: 120px 40px 60px 40px;
}

.contacto-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 100px;
}

.contacto-left h2 {
    font-size: 42px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.contacto-left p {
    font-size: 15px;
    font-weight: 300;
    color: #888;
    line-height: 1.7;
    max-width: 400px;
}

.contacto-right {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-top: 10px;
}

.contacto-item {
    border-left: 1px solid #333;
    padding-left: 24px;
}

.contacto-item span {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 1.5px;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.contacto-item a {
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contacto-item a:hover {
    color: #888;
}

/* Section CTA - reutilizable */
.section-cta {
    text-align: start;
    margin-top: 60px;
}

.section-cta a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #0F1115;
    color: #0F1115;
    transition: all 0.3s ease;
}

.section-cta a:hover {
    background: #0F1115;
    color: #fff;
}

.section-cta a::after {
    content: '→';
}

/* Variante para fondos oscuros */
.section-cta--light a {
    border-color: #fff;
    color: #fff;
}

.section-cta--light a:hover {
    background: #fff;
    color: #0F1115;
}

.contacto-cta {
    margin-top: 20px;
}

.contacto-cta a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    border: 1px solid #fff;
    padding: 14px 28px;
    transition: all 0.3s ease;
}

.contacto-cta a:hover {
    background: #fff;
    color: #0F1115;
}

.contacto-cta a::after {
    content: '→';
}

/* Footer */
.footer {
    border-top: 1px solid #222;
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.footer-logo .logo-mark span {
    background: #fff;
}

.footer-logo .logo-text {
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 3px;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer-legal {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.footer-legal p {
    font-size: 12px;
    color: #555;
}

/* Footer Social */
.footer-social {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    border-color: #555;
    background: #1a1a1a;
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: #555;
    transition: fill 0.3s ease;
}

.footer-social a:hover svg {
    fill: #fff;
}

.footer-credit {
    padding-top: 24px;
    text-align: center;
}

.footer-credit a {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.5px;
    color: #444;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-credit a:hover {
    color: #888;
}

.footer-credit a strong {
    color: #666;
    font-weight: 500;
}

.footer-credit a:hover strong {
    color: var(--accent);
}

/* Contacto Responsive */
@media (max-width: 900px) {
    .contacto-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contacto-left h2 {
        font-size: 32px;
    }

    .footer {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }

    .footer-right {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 16px;
    }

    .footer-legal {
        align-items: flex-start;
    }

}

@media (max-width: 640px) {
    .contacto {
        padding: 80px 20px 40px 20px;
    }

    .contacto-content {
        margin-bottom: 60px;
    }

    .contacto-left h2 {
        font-size: 28px;
    }

    .contacto-item a {
        font-size: 16px;
    }
}