/*
Theme Name: Delgado
Theme URI: https://delgado.cl
Author: Delgado Corporation
Author URI: https://delgado.cl
Description: Tema personalizado para Delgado - Estructuras Metálicas y Acero. El 5to productor más grande de Chile.
Version: 2.23.8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: delgado
Tags: custom-logo, custom-menu, featured-images, full-width-template, one-column, translation-ready

Delgado - Estructuras Metálicas y Acero
*/

@font-face {
    font-family: 'Neue Haas Grotesk Display';
    src: url('assets/fonts/neue-haas-grotesk-display/NeueHaasDisplayXXThin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Grotesk Display';
    src: url('assets/fonts/neue-haas-grotesk-display/NeueHaasDisplayLight.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Grotesk Display';
    src: url('assets/fonts/neue-haas-grotesk-display/NeueHaasDisplayRoman.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Grotesk Display';
    src: url('assets/fonts/neue-haas-grotesk-display/NeueHaasDisplayMediu.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Grotesk Display';
    src: url('assets/fonts/neue-haas-grotesk-display/NeueHaasDisplayBold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-primary: #1a1a1a;
    --color-secondary: #2c3e50;
    --color-accent: #2d3748;
    --color-accent-dark: #1a202c;
    --color-graphite: #2d3748;
    --color-graphite-dark: #1a202c;
    --color-graphite-light: #4a5568;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-bg: #ffffff;
    --color-bg-light: #f8f9fa;
    --color-bg-dark: #1a1a1a;
    --color-border: #e0e0e0;
    --color-white: #ffffff;
    
    --font-primary: 'Neue Haas Grotesk Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Neue Haas Grotesk Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-weight-text: 300;
    --font-weight-heading: 100;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-2xl: 6rem;
    
    --container-width: 1400px;
    --container-padding: 1.5rem;
    
    --transition: all 0.3s ease;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: auto !important;
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: var(--font-weight-text);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-heading);
    font-style: normal;
    -webkit-text-stroke: 0.5px currentColor;
    letter-spacing: 0.01em;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Top Bicolor Line */
.top-line {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    z-index: 1001;
    background-color: #dc2626;
}

/* Header */
.header {
    position: fixed;
    top: 4px;
    left: 0;
    right: 0;
    background-color: transparent;
    z-index: 1000;
    transition: transform 0.3s ease, background-color 0.3s ease;
    transform: translateY(0);
}

.header.has-background {
    background-color: rgba(45, 55, 72, 0.95);
    backdrop-filter: blur(10px);
}

.header.hidden {
    transform: translateY(-100%);
}

body.admin-bar .top-line {
    top: 32px;
}

body.admin-bar .header {
    top: 36px;
}

.header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
    min-height: 70px;
}

.header__logo {
    display: flex;
    align-items: center;
    height: 100%;
    max-height: 70px;
}

.logo {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    height: 100%;
    max-height: 70px;
}

.logo__image,
.logo img,
.custom-logo-link img {
    max-height: 70px;
    height: auto;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
}

.nav__list {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav__link {
    font-weight: 500;
    color: var(--color-white);
    padding: var(--spacing-xs) 0;
    position: relative;
    font-size: 0.875rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav__link:hover {
    color: var(--color-white);
    opacity: 0.8;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-white);
    transition: width 0.3s ease;
}

.nav__link:hover::after {
    width: 100%;
}

.nav__item--has-mega {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #2d3748;
    border-radius: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 0;
    min-width: 1200px;
    max-width: 1400px;
    width: 90vw;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    transform: translateX(-50%) translateY(-10px);
    z-index: 1000;
    margin-top: var(--spacing-sm);
    overflow: hidden;
}

.nav__item--has-mega:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu__container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    min-height: 600px;
}

.mega-menu__left {
    padding: var(--spacing-xl);
    background-color: #2d3748;
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.mega-menu__main-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: var(--font-weight-heading);
    font-style: normal;
    -webkit-text-stroke: 0.5px currentColor;
    letter-spacing: 0.01em;
    color: var(--color-white);
    margin: 0;
    line-height: 1.2;
}

.mega-menu__description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
}

.mega-menu__button {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: #dc2626;
    color: var(--color-white);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: var(--transition);
    width: fit-content;
}

.mega-menu__button:hover {
    background-color: #b91c1c;
    transform: translateX(5px);
}

.mega-menu__additional {
    margin-top: auto;
}

.mega-menu__additional-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-md);
}

.mega-menu__info-item {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.mega-menu__info-item:last-child {
    margin-bottom: 0;
}

.mega-menu__info-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
}

.mega-menu__info-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mega-menu__info-content {
    flex: 1;
}

.mega-menu__info-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 0.25rem;
}

.mega-menu__info-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin: 0;
}

.mega-menu__right {
    background-color: var(--color-white);
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
}

.mega-menu__tabs {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--color-border);
}

.mega-menu__tab {
    background: none;
    border: none;
    padding: var(--spacing-sm) 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.mega-menu__tab::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #dc2626;
    transition: width 0.3s ease;
}

.mega-menu__tab--active {
    color: #dc2626;
}

.mega-menu__tab--active::after {
    width: 100%;
}

.mega-menu__tab:hover {
    color: #dc2626;
}

.mega-menu__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    display: none;
}

.mega-menu__grid--active {
    display: grid;
}

.mega-menu__card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: var(--transition);
}

.mega-menu__card:hover {
    transform: translateY(-5px);
}

.mega-menu__card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: var(--spacing-sm);
}

.mega-menu__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mega-menu__card:hover .mega-menu__card-image img {
    transform: scale(1.1);
}

.mega-menu__card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.header__search {
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.header__search:hover {
    opacity: 0.7;
}

.header__search svg {
    width: 20px;
    height: 20px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--color-white);
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--color-white);
    padding: calc(70px + 4px) 0 var(--spacing-xl);
    overflow: hidden;
}

.hero__video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -3;
    object-fit: cover;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: -2;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(to right, rgba(45, 55, 72, 0.75) 0%, rgba(45, 55, 72, 0.5) 30%, rgba(45, 55, 72, 0.25) 50%, rgba(45, 55, 72, 0.1) 60%, transparent 64%);
    z-index: -1;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: var(--spacing-xl);
    align-items: center;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Ajustar grid cuando no hay slider */
.hero__container:not(:has(.hero__card)) {
    grid-template-columns: 1fr;
    justify-items: center;
}

.hero__container:not(:has(.hero__card)) .hero__content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero__container:not(:has(.hero__card)) .hero__title {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.hero__container:not(:has(.hero__card)) .hero__subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.hero__container:not(:has(.hero__card)) .hero__buttons {
    justify-content: center;
}

.hero--maintenance .hero__container {
    grid-template-columns: 1fr;
    justify-items: center;
}

.hero--maintenance .hero__content,
.hero__content--centered {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.maintenance__logo {
    margin-bottom: var(--spacing-lg);
}

.maintenance__logo a,
.maintenance__logo-link,
.maintenance__logo img,
.maintenance__logo-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-height: 70px;
    width: auto;
    height: auto;
}

.maintenance__logo-link {
    text-decoration: none;
    color: inherit;
}

.hero__content {
    max-width: 700px;
    z-index: 1;
}

/* Cuando no hay slider, centrar el contenido */
.hero__container:not(:has(.hero__card)) .hero__content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: var(--font-weight-heading);
    font-style: normal;
    -webkit-text-stroke: 0.6px currentColor;
    letter-spacing: 0.01em;
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
    color: var(--color-white);
    text-align: left;
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
    line-height: 1.7;
    color: var(--color-white);
    text-align: left;
    max-width: 600px;
}

.hero__buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-top: var(--spacing-lg);
}

.hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.hero__button--red {
    background-color: #dc2626;
    color: var(--color-white);
    border-color: #dc2626;
}

.hero__button--red::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
    z-index: 0;
}

.hero__button--red:hover {
    background-color: #b91c1c;
    border-color: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.hero__button--red:hover::before {
    left: 100%;
}

.hero__button--red span,
.hero__button--red {
    position: relative;
    z-index: 1;
}

.hero__button--white {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.hero__button--white::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: left 0.3s ease;
    z-index: 0;
}

.hero__button--white:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.hero__button--white:hover::before {
    left: 100%;
}

.hero__button--white span,
.hero__button--white {
    position: relative;
    z-index: 1;
}

.hero__card {
    position: relative;
    z-index: 1;
}

.hero-slider {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    padding: 20px;
}

.hero-slider__navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -24px;
    right: -24px;
    display: flex;
    justify-content: space-between;
    z-index: 20;
    pointer-events: none;
}

.hero-slider__arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--color-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    pointer-events: all;
    color: var(--color-graphite);
}

.hero-slider__arrow:hover {
    background-color: var(--color-bg-light);
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.hero-slider__wrapper {
    position: relative;
    overflow: visible;
    width: 100%;
    min-height: 450px;
}

.hero-slider__track {
    position: relative;
    width: 100%;
    min-height: 450px;
}

.hero-slider__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 40px);
    margin: 0 20px;
    display: flex;
    flex-direction: column;
    background-color: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
    opacity: 0.3;
    transform: translateX(20px) scale(0.95);
    z-index: 1;
}

.hero-slider__slide--active {
    opacity: 1;
    transform: translateX(0) scale(1);
    z-index: 10;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.hero-slider__image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.hero-slider__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.hero-slider__image .hero-slider__action {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    z-index: 5;
}

.hero-slider__content {
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-sm);
    flex: 1;
}

.hero-slider__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: var(--font-weight-heading);
    font-style: normal;
    -webkit-text-stroke: 0.5px currentColor;
    letter-spacing: 0.01em;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.hero-slider__text {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.5;
    margin: 0;
}

.hero-slider__button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.95) 0%, rgba(220, 38, 38, 0.3) 50%, transparent 100%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
}

.hero-slider__button:hover {
    background: linear-gradient(135deg, rgba(220, 38, 38, 1) 0%, rgba(220, 38, 38, 0.5) 50%, rgba(220, 38, 38, 0.2) 100%);
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.4);
}

.hero-slider__pagination {
    position: absolute;
    bottom: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: var(--spacing-xs) var(--spacing-sm);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 15;
    transition: bottom 0.3s ease;
}

.hero-slider__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.hero-slider__dot:hover {
    background-color: rgba(0, 0, 0, 0.3);
    transform: scale(1.2);
}

.hero-slider__dot--active {
    background-color: #dc2626;
    width: 20px;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .hero-slider {
        overflow: hidden;
        padding: 10px 0;
    }

    .hero-slider__navigation {
        left: 0;
        right: 0;
        padding: 0 4px;
        pointer-events: none;
    }

    .hero-slider__arrow {
        width: 36px;
        height: 36px;
        pointer-events: all;
    }

    .hero-slider__wrapper,
    .hero-slider__track {
        min-height: 380px;
    }

    .hero-slider__image {
        height: 220px;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-weight: 600;
    text-align: center;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn--primary {
    background-color: var(--color-graphite);
    color: var(--color-bg);
}

.btn--primary:hover {
    background-color: var(--color-graphite-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Sections */
.section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section--people,
.section--careers,
.section--services {
    background-color: var(--color-bg, #ffffff);
    position: relative;
    padding: var(--spacing-xl) 0;
}

.services-presentation {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.services-presentation__selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    background-color: var(--color-bg, #ffffff);
    border-radius: 8px;
    margin-bottom: 0;
}

.services-presentation__tab {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    border: 2px solid rgba(45, 55, 72, 0.1);
    background: var(--color-bg, #ffffff);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(45, 55, 72, 0.6);
    position: relative;
    text-align: left;
}

.services-presentation__tab:hover {
    border-color: rgba(220, 38, 38, 0.3);
    background: rgba(220, 38, 38, 0.05);
    color: rgba(45, 55, 72, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.services-presentation__tab--active {
    border-color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.2);
}

.services-presentation__tab--active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #dc2626;
    border-radius: 8px 0 0 8px;
}

.services-presentation__tab-number {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(45, 55, 72, 0.4);
    min-width: 24px;
    transition: color 0.3s ease;
}

.services-presentation__tab--active .services-presentation__tab-number {
    color: #dc2626;
}

.services-presentation__tab-label {
    flex: 1;
    line-height: 1.4;
}

.services-presentation__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 500px;
}

.services-presentation__media {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-presentation__media-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.services-presentation__steel-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 36%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 2px,
            rgba(255, 255, 255, 0.03) 2px,
            rgba(255, 255, 255, 0.03) 4px
        ),
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            transparent 8px,
            rgba(200, 200, 200, 0.04) 8px,
            rgba(200, 200, 200, 0.04) 9px
        ),
        linear-gradient(
            135deg,
            rgba(220, 220, 220, 0.08) 0%,
            rgba(180, 180, 180, 0.12) 25%,
            rgba(200, 200, 200, 0.06) 50%,
            rgba(190, 190, 190, 0.1) 75%,
            rgba(210, 210, 210, 0.08) 100%
        );
    mix-blend-mode: soft-light;
    opacity: 0.8;
}

.services-presentation__image,
.services-presentation__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.services-presentation__content {
    background-color: var(--color-bg, #ffffff);
    padding: var(--spacing-lg) var(--spacing-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.services-presentation__panel {
    display: none;
    animation: servicesFadeIn 0.4s ease;
}

.services-presentation__panel--active {
    display: block;
}

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

.services-presentation__title {
    font-family: var(--font-heading, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
    font-size: 2.25rem;
    font-weight: var(--font-weight-heading, 100);
    font-style: normal;
    -webkit-text-stroke: 0.5px currentColor;
    letter-spacing: 0.01em;
    color: var(--color-text, #111111);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.services-presentation__paragraph {
    font-family: var(--font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--color-text, #111111);
    margin-bottom: var(--spacing-sm);
    line-height: 1.7;
    text-align: justify;
}

.services-presentation__paragraph:last-of-type {
    margin-bottom: var(--spacing-lg);
}

.services-presentation__cta {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: var(--spacing-md);
}

.services-presentation__cta:hover {
    transform: translateX(5px);
}

.services-presentation__cta-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #dc2626;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.services-presentation__cta:hover .services-presentation__cta-icon {
    background-color: #b91c1c;
    transform: scale(1.05);
}

.services-presentation__cta-icon svg {
    width: 20px;
    height: 20px;
}

.services-presentation__cta-text {
    color: #dc2626;
    font-family: var(--font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
    font-weight: 500;
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 1023px) {
    .services-presentation__grid {
        grid-template-columns: 1fr;
    }

    .section--services {
        padding: var(--spacing-lg) 0;
    }

    .services-presentation {
        gap: var(--spacing-md);
    }

    .services-presentation__media {
        order: 1;
        min-height: 350px;
        padding: var(--spacing-sm);
    }

    .services-presentation__media-wrapper {
        border-radius: 12px;
    }

    .services-presentation__steel-pattern {
        width: 40%;
    }

    .services-presentation__content {
        order: 2;
        padding: var(--spacing-md) var(--spacing-lg);
    }

    .services-presentation__title {
        font-size: 1.75rem;
        margin-bottom: var(--spacing-sm);
    }

    .services-presentation__paragraph {
        font-size: 0.875rem;
        margin-bottom: var(--spacing-xs);
    }

    .services-presentation__paragraph:last-of-type {
        margin-bottom: var(--spacing-md);
    }

    .services-presentation__selector {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: var(--spacing-xs);
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .services-presentation__tab {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 0.75rem;
    }

    .services-presentation__cta-icon {
        width: 40px;
        height: 40px;
    }

    .services-presentation__cta-text {
        font-size: 0.875rem;
    }
}

.section > .container {
    position: relative;
    z-index: 1;
}

.section__header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.section--projects-featured .section__header {
    text-align: left;
    max-width: none;
    margin: 0 0 var(--spacing-xl) 0;
}

.section__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: var(--font-weight-heading);
    font-style: normal;
    -webkit-text-stroke: 0.5px currentColor;
    letter-spacing: 0.01em;
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
}

.section__subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
}

.section__description {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.75;
    margin: 0;
}

.section--projects-featured .section__description {
    max-width: 600px;
}

/* Grid */
.grid {
    display: grid;
    gap: var(--spacing-md);
    position: relative;
    z-index: 1;
}

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

.grid--4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

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

/* Cards */
.card {
    background-color: var(--color-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 15px,
            rgba(45, 55, 72, 0.02) 15px,
            rgba(45, 55, 72, 0.02) 30px
        );
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.card__content {
    position: relative;
    z-index: 1;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card__image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: var(--color-bg-light);
}

.card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card__image img {
    transform: scale(1.1);
}

.card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-graphite) 0%, var(--color-secondary) 100%);
    opacity: 0.8;
}

.card__content {
    padding: var(--spacing-md);
}

.card__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: var(--font-weight-heading);
    font-style: normal;
    -webkit-text-stroke: 0.5px currentColor;
    letter-spacing: 0.01em;
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
}

.card__text {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-sm);
    line-height: 1.7;
}

.card__link {
    color: var(--color-graphite);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.card__link:hover {
    gap: 1rem;
}

.card__link::after {
    content: '→';
    transition: var(--transition);
}

/* Featured Projects - New Design */
.section--projects-featured {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-bg);
}

.section--projects-featured .section__header {
    margin-bottom: var(--spacing-lg);
    text-align: left;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.section--projects-featured .section__header .container {
    max-width: none;
    margin: 0;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

@media (min-width: 1400px) {
    .section--projects-featured .section__header .container {
        padding-left: max(var(--container-padding), calc((100vw - var(--container-width)) / 2 + var(--container-padding)));
    }
}

.featured-projects {
    position: relative;
    width: 100%;
}

.featured-projects__wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: var(--spacing-md) 0 var(--spacing-lg) 0;
    width: 100%;
}

.featured-projects__wrapper::-webkit-scrollbar {
    display: none;
}

.featured-projects__track {
    display: flex;
    gap: var(--spacing-md);
    padding: 0 var(--container-padding);
    width: max-content;
    min-width: 100%;
}

@media (min-width: 1400px) {
    .featured-projects__track {
        padding-left: max(var(--container-padding), calc((100vw - var(--container-width)) / 2 + var(--container-padding)));
    }
}

.featured-project-card {
    position: relative;
    flex-shrink: 0;
    width: 420px;
    height: 520px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: var(--color-graphite);
    display: block;
    text-decoration: none;
    color: inherit;
}

.featured-project-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.featured-project-card__image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.featured-project-card__image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(45, 55, 72, 0.7) 0%, transparent 40%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.featured-project-card:hover .featured-project-card__image::after {
    opacity: 1;
}

.featured-project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-project-card:hover .featured-project-card__image img {
    transform: scale(1.15);
}

.featured-project-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-lg);
    background: linear-gradient(to top, rgba(45, 55, 72, 0.95) 0%, rgba(45, 55, 72, 0.7) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-project-card:hover .featured-project-card__overlay {
    background: linear-gradient(to top, rgba(45, 55, 72, 0.98) 0%, rgba(45, 55, 72, 0.85) 60%, transparent 100%);
    padding-bottom: var(--spacing-xl);
    padding-top: var(--spacing-xl);
}

.featured-project-card__location {
    font-family: 'Neue Haas Grotesk Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #fbbf24;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--spacing-xs);
    opacity: 0.95;
    transition: all 0.3s ease;
}

.featured-project-card:hover .featured-project-card__location {
    color: #fcd34d;
    opacity: 1;
    transform: translateY(-2px);
}

.featured-project-card__title {
    font-family: 'Neue Haas Grotesk Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.625rem;
    font-weight: 100;
    font-style: normal;
    -webkit-text-stroke: 0.5px currentColor;
    letter-spacing: 0.01em;
    color: var(--color-white);
    margin: 0;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.featured-project-card__description {
    font-family: 'Neue Haas Grotesk Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.9375rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin: 0;
    margin-top: var(--spacing-xs);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(-10px);
}

.featured-project-card:hover .featured-project-card__description {
    opacity: 1;
    max-height: 200px;
    transform: translateY(0);
    margin-top: var(--spacing-sm);
}

.featured-project-card:hover .featured-project-card__title {
    transform: translateY(-4px);
    font-size: 1.75rem;
}

.featured-project-card__button {
    position: absolute;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #dc2626;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.5);
    z-index: 3;
    opacity: 0;
    transform: scale(0.8) translateY(10px);
    pointer-events: none;
}

.featured-project-card:hover .featured-project-card__button {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.featured-project-card__button svg {
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease;
}

.featured-projects__pagination {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm) 0;
    padding-left: 0;
}

@media (min-width: 1400px) {
    .featured-projects__pagination {
        padding-left: max(var(--container-padding), calc((100vw - var(--container-width)) / 2 + var(--container-padding)));
    }
}

.featured-projects__nav {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: transparent;
    border: 1.5px solid var(--color-border);
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.featured-projects__nav:hover {
    border-color: var(--color-text);
    color: var(--color-text);
    background-color: var(--color-bg-light);
}

.featured-projects__nav:active {
    transform: scale(0.95);
}

.featured-projects__nav svg {
    width: 16px;
    height: 16px;
}

.featured-projects__counter {
    font-family: 'Neue Haas Grotesk Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--color-text-light);
    min-width: 70px;
    text-align: center;
    letter-spacing: 0.25px;
}

/* Legacy projects-grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.project-card {
    background-color: var(--color-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 15px,
            rgba(45, 55, 72, 0.02) 15px,
            rgba(45, 55, 72, 0.02) 30px
        );
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.project-card__content {
    position: relative;
    z-index: 1;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.project-card__image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: var(--color-bg-light);
    position: relative;
}

.project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-card__image img {
    transform: scale(1.1);
}

.project-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-graphite) 100%);
}

.project-card__content {
    padding: var(--spacing-md);
}

.project-card__location {
    display: inline-block;
    font-size: 0.875rem;
    color: var(--color-graphite);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-xs);
}

.project-card__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: var(--font-weight-heading);
    font-style: normal;
    -webkit-text-stroke: 0.5px currentColor;
    letter-spacing: 0.01em;
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
}

.project-card__description {
    color: var(--color-text-light);
    line-height: 1.7;
}

/* Feature Cards */
.feature-card {
    text-align: center;
    padding: var(--spacing-md);
    background-color: var(--color-bg);
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 20px,
            rgba(45, 55, 72, 0.015) 20px,
            rgba(45, 55, 72, 0.015) 40px
        );
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
    border-radius: 8px;
}

.feature-card__icon,
.feature-card__title,
.feature-card__text {
    position: relative;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-card__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-sm);
    color: var(--color-graphite);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: var(--font-weight-heading);
    font-style: normal;
    -webkit-text-stroke: 0.5px currentColor;
    letter-spacing: 0.01em;
    margin-bottom: var(--spacing-xs);
    color: var(--color-primary);
}

.feature-card__text {
    color: var(--color-text-light);
    line-height: 1.7;
}

/* Company Hero */
.company-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

.company-hero__image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.company-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-hero__content {
    padding: var(--spacing-md);
}

/* Company Presentation Section */
.company-presentation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 600px;
}

.company-presentation__media {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-presentation__media-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.company-presentation__steel-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 36%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    background: 
        repeating-linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.04) 0px,
            transparent 1px,
            transparent 3px,
            rgba(0, 0, 0, 0.015) 3px,
            rgba(0, 0, 0, 0.015) 4px,
            transparent 4px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.02) 0px,
            transparent 1px,
            transparent 8px,
            rgba(0, 0, 0, 0.01) 8px,
            rgba(0, 0, 0, 0.01) 9px,
            transparent 9px
        ),
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.08) 0%,
            transparent 30%,
            rgba(0, 0, 0, 0.03) 70%,
            transparent 100%
        );
    background-size: 100% 6px, 12px 100%, 100% 100%;
    mix-blend-mode: soft-light;
    opacity: 0.85;
}

.company-presentation__image,
.company-presentation__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.company-presentation__play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(220, 38, 38, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.4);
}

.company-presentation__play-btn:hover {
    background-color: #dc2626;
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 12px 32px rgba(220, 38, 38, 0.5);
}

.company-presentation__play-btn svg {
    margin-left: 4px;
}

/* Video Lightbox */
.video-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-lightbox--active {
    opacity: 1;
    visibility: visible;
}

.video-lightbox__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.video-lightbox__content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    z-index: 1;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.video-lightbox--active .video-lightbox__content {
    transform: scale(1);
}

.video-lightbox__close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
}

.video-lightbox__close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.video-lightbox__video {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    background-color: #000;
}

.company-presentation__content {
    background-color: var(--color-bg);
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.company-presentation__title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: var(--font-weight-heading);
    font-style: normal;
    -webkit-text-stroke: 0.5px currentColor;
    letter-spacing: 0.01em;
    color: var(--color-text);
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
}

.company-presentation__paragraph {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 300;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
    line-height: 1.75;
    text-align: justify;
}

.company-presentation__paragraph:last-of-type {
    margin-bottom: var(--spacing-xl);
}

.company-presentation__cta {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-md);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

.company-presentation__cta:hover {
    transform: translateX(5px);
}

.company-presentation__cta-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #dc2626;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.company-presentation__cta:hover .company-presentation__cta-icon {
    background-color: #b91c1c;
    transform: scale(1.05);
}

.company-presentation__cta-icon svg {
    width: 20px;
    height: 20px;
}

.company-presentation__cta-text {
    color: #dc2626;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Info Cards */
.info-card {
    background-color: var(--color-bg);
    padding: var(--spacing-lg);
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--color-graphite);
}

.info-card__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: var(--font-weight-heading);
    font-style: normal;
    -webkit-text-stroke: 0.5px currentColor;
    letter-spacing: 0.01em;
    color: var(--color-graphite);
    margin-bottom: var(--spacing-sm);
}

.info-card__text {
    color: var(--color-text-light);
    line-height: 1.7;
}

/* Infrastructure Section */
.infrastructure-section {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--color-bg-light) 0%, var(--color-bg) 100%);
    border-radius: 12px;
}

.infrastructure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.infrastructure-item {
    text-align: center;
    padding: var(--spacing-md);
    background-color: var(--color-bg);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.infrastructure-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.infrastructure-item__number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-graphite);
    margin-bottom: var(--spacing-xs);
}

.infrastructure-item__label {
    font-size: 0.875rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.product-card {
    background-color: var(--color-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-card__image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card__image img {
    transform: scale(1.1);
}

.product-card__content {
    padding: var(--spacing-md);
    text-align: center;
}

.product-card__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: var(--font-weight-heading);
    font-style: normal;
    -webkit-text-stroke: 0.5px currentColor;
    letter-spacing: 0.01em;
    color: var(--color-primary);
    margin: 0;
}

/* Footer */
.footer {
    background-color: var(--color-graphite);
    color: var(--color-bg);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    position: relative;
    z-index: 10;
    margin-top: 0;
}

.footer__logo {
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.footer__logo-link {
    display: inline-block;
    text-decoration: none;
}

.footer__logo-image {
    height: 50px;
    width: auto;
    display: inline-block;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer__title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: var(--font-weight-heading);
    font-style: normal;
    -webkit-text-stroke: 0.5px currentColor;
    letter-spacing: 0.01em;
    margin-bottom: var(--spacing-sm);
    color: var(--color-bg);
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer__link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
}

.footer__link:hover {
    color: var(--color-bg);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    text-align: center;
}

.footer__contact {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
}

.footer__social {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.footer__social-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
}

.footer__social-link:hover {
    color: var(--color-bg);
}

.footer__legal {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.footer__legal-list {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer__legal-list a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
}

.footer__legal-list a:hover {
    color: var(--color-bg);
}

.footer__copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin-top: var(--spacing-sm);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header__search {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav__list--desktop {
        display: none;
    }

    .hero__container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .hero__content {
        text-align: center;
        max-width: 100%;
    }

    .hero__title,
    .hero__subtitle {
        text-align: center;
    }

    .hero__buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .hero__button {
        width: 100%;
        max-width: 300px;
    }

    .hero__card {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
        --spacing-xl: 3rem;
        --spacing-lg: 2rem;
    }

    .top-line {
        height: 4px;
    }

    body.admin-bar .top-line {
        top: 46px;
    }

    .header {
        top: 4px;
    }

    .header.has-background {
        background-color: rgba(45, 55, 72, 0.95);
        backdrop-filter: blur(10px);
    }

    .header__logo {
        max-height: 60px;
    }

    .logo {
        max-height: 60px;
    }

    .logo__image,
    .logo img,
    .custom-logo-link img {
        max-height: 60px;
        max-width: 150px;
    }

    .header__actions {
        gap: var(--spacing-sm);
    }

    .company-hero {
        grid-template-columns: 1fr;
    }

    .company-hero__image {
        height: 300px;
    }

    .company-presentation {
        grid-template-columns: 1fr;
    }

    .company-presentation__media {
        order: 1;
        min-height: 400px;
        padding: var(--spacing-sm);
    }

    .company-presentation__media-wrapper {
        border-radius: 12px;
    }

    .company-presentation__steel-pattern {
        width: 40%;
    }

    .company-presentation__content {
        order: 2;
        padding: var(--spacing-lg);
    }

    .company-presentation__title {
        font-size: 2rem;
    }

    .infrastructure-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .hero {
        min-height: 90vh;
        padding-top: calc(70px + 2px + var(--spacing-lg));
        padding-bottom: var(--spacing-lg);
    }

    .hero__container {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        padding-left: var(--container-padding);
        padding-right: var(--container-padding);
    }

    .hero__content {
        padding: 0;
    }

    .hero__title {
        text-align: center;
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero__subtitle {
        text-align: center;
        max-width: none;
        font-size: 0.9375rem;
    }

    .hero__card {
        width: 100%;
        max-width: 100%;
    }

    .grid--3,
    .grid--4 {
        grid-template-columns: 1fr;
    }

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

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

    .footer__bottom {
        text-align: left;
    }

    .footer__social,
    .footer__legal {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 1.75rem;
    }

    .section__title {
        font-size: 1.5rem;
    }

    .card__title,
    .project-card__title {
        font-size: 1.25rem;
    }

    .featured-project-card {
        width: 90vw;
        max-width: 340px;
        height: 420px;
    }

    .featured-project-card__title {
        font-size: 1.5rem;
    }

    .featured-project-card:hover .featured-project-card__title {
        font-size: 1.625rem;
    }

    .featured-project-card__description {
        font-size: 0.875rem;
    }

    .featured-project-card__overlay {
        padding: var(--spacing-md);
    }

    .featured-project-card:hover .featured-project-card__overlay {
        padding: var(--spacing-lg);
    }

    .featured-project-card__button {
        width: 48px;
        height: 48px;
        bottom: var(--spacing-md);
        right: var(--spacing-md);
    }

    .featured-project-card__button svg {
        width: 20px;
        height: 20px;
    }

    .featured-projects__track {
        gap: var(--spacing-sm);
        padding: 0 var(--spacing-sm) 0 var(--container-padding);
    }

    .section--projects-featured .section__header {
        text-align: center;
    }

    .section--projects-featured .section__header .container {
        max-width: var(--container-width);
        margin: 0 auto;
        padding-left: var(--container-padding);
        padding-right: var(--container-padding);
    }

    .featured-projects__pagination {
        justify-content: center;
        padding-left: var(--container-padding);
        padding-right: var(--container-padding);
    }
}

/* Single Post Templates */
.main-content {
    min-height: calc(100vh - 200px);
}

.entry-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text);
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-heading);
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.entry-content h2 {
    font-size: 2rem;
}

.entry-content h3 {
    font-size: 1.5rem;
}

.entry-content h4 {
    font-size: 1.25rem;
}

.entry-content ul,
.entry-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

.entry-content a {
    color: var(--color-graphite);
    text-decoration: underline;
}

.entry-content a:hover {
    color: var(--color-graphite-dark);
}

.page-links {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.img-responsive {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   ESTILOS PARA PÁGINAS INTERNAS
   (Servicios, Proyectos, Productos)
   ============================================ */

/* Hero Section Interno */
.internal-hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    margin-top: calc(70px + 4px);
}

.internal-hero__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.internal-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.internal-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(45, 55, 72, 0.85) 0%, rgba(45, 55, 72, 0.5) 50%, rgba(45, 55, 72, 0.2) 100%);
    z-index: -1;
}

.internal-hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0 var(--container-padding) 4rem;
    max-width: var(--container-width);
    margin: 0 auto;
}

.internal-hero__row {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.internal-hero__main {
    flex: 1;
    min-width: 0;
}

@media (min-width: 1024px) {
    .internal-hero__row {
        flex-direction: row;
        align-items: flex-end;
        align-content: flex-end;
        gap: 3rem;
    }

    .internal-hero__main {
        flex: 1;
        min-width: 0;
    }
}

.internal-hero__category {
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    color: #fbbf24;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    display: block;
}

.internal-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: var(--font-weight-heading);
    font-style: normal;
    -webkit-text-stroke: 0.5px currentColor;
    letter-spacing: 0.01em;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.internal-hero__description {
    font-family: var(--font-primary);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    max-width: 800px;
}

.internal-hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.internal-hero__tag {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.375rem 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: #fff;
}

.proyecto-info-card-wrap {
    flex-shrink: 0;
}

.proyecto-info-card__trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #fff;
    background: rgba(45, 55, 72, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.proyecto-info-card__trigger:hover {
    background: rgba(45, 55, 72, 0.8);
    border-color: rgba(255, 255, 255, 0.3);
}

.proyecto-info-card__trigger[aria-expanded="true"] {
    background: rgba(45, 55, 72, 0.85);
    border-color: rgba(251, 191, 36, 0.5);
}

.proyecto-info-card__trigger-icon {
    flex-shrink: 0;
}

.proyecto-info-card {
    flex-shrink: 0;
    max-width: 360px;
}

.proyecto-info-modal__backdrop {
    display: none;
}

.proyecto-info-modal__close {
    display: none;
}

@media (max-width: 1023px) {
    .proyecto-info-card-wrap {
        position: absolute;
        bottom: 1rem;
        left: var(--container-padding);
        right: var(--container-padding);
        display: flex;
        justify-content: flex-start;
    }

    .proyecto-info-card__trigger {
        display: inline-flex;
    }

    .proyecto-info-modal:not(.proyecto-info-modal--open) {
        display: none;
    }

    .proyecto-info-modal--open {
        position: fixed;
        inset: 0;
        z-index: 9999;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1.5rem;
    }

    .proyecto-info-modal--open .proyecto-info-modal__backdrop {
        display: block;
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(4px);
    }

    .proyecto-info-modal--open .proyecto-info-modal__panel {
        position: relative;
        z-index: 1;
        width: 100%;
        max-width: 360px;
        max-height: 85vh;
        overflow-y: auto;
        padding-top: 3rem;
    }

    .proyecto-info-modal--open .proyecto-info-modal__close {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
        width: 2.5rem;
        height: 2.5rem;
        padding: 0;
        color: #fff;
        background: rgba(255, 255, 255, 0.15);
        border: none;
        border-radius: 8px;
        cursor: pointer;
        transition: background 0.2s;
    }

    .proyecto-info-modal--open .proyecto-info-modal__close:hover {
        background: rgba(255, 255, 255, 0.25);
    }

    body.proyecto-info-modal-open {
        overflow: hidden;
    }
}

@media (min-width: 1024px) {
    .proyecto-info-card-wrap {
        width: auto;
        max-width: 360px;
    }

    .proyecto-info-card__trigger {
        display: none;
    }

    .proyecto-info-modal {
        display: block;
    }

    .proyecto-info-modal__panel {
        position: relative;
    }

    .proyecto-info-card {
        display: block;
        max-width: 320px;
    }
}

.proyecto-info-card__inner {
    background: rgba(45, 55, 72, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.proyecto-info-card__item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.proyecto-info-card__item--servicios {
    gap: 0.5rem;
}

.proyecto-info-card__label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.65);
}

.proyecto-info-card__value {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #fff;
}

.proyecto-info-card__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem 0.75rem;
}

.proyecto-info-card__list a {
    font-size: 0.9375rem;
    color: #fbbf24;
    text-decoration: none;
}

.proyecto-info-card__list a:hover {
    color: #fcd34d;
    text-decoration: underline;
}

@media (min-width: 768px) {
    .proyecto-info-card__inner {
        padding: 1.5rem 1.75rem;
    }
}

.proyecto-meta__label {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.proyecto-meta__value {
    font-size: 1rem;
    color: var(--color-text);
    margin: 0;
}

.proyecto-meta__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}

.proyecto-meta__list a {
    color: #dc2626;
    text-decoration: none;
}

.proyecto-meta__list a:hover {
    text-decoration: underline;
}

/* Breadcrumbs */
.breadcrumbs {
    background-color: var(--color-bg-light);
    border-bottom: 1px solid var(--color-border);
    padding: 0.75rem 0;
}

.breadcrumbs__container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.breadcrumbs__list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-light);
}

.breadcrumbs__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumbs__link {
    color: var(--color-text-light);
    transition: color 0.3s ease;
}

.breadcrumbs__link:hover {
    color: #dc2626;
}

.breadcrumbs__separator {
    color: var(--color-text-light);
    opacity: 0.5;
}

.breadcrumbs__current {
    color: #dc2626;
    font-weight: 600;
}

/* Contenido Interno */
.internal-content {
    padding: 5rem 0;
    background-color: var(--color-bg);
}

.internal-content__intro {
    max-width: 900px;
    margin: 0 auto 5rem;
    text-align: center;
}

.internal-content__intro-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: var(--font-weight-heading);
    font-style: normal;
    -webkit-text-stroke: 0.5px currentColor;
    letter-spacing: 0.01em;
    color: var(--color-text);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.internal-content__intro-text {
    font-family: var(--font-primary);
    font-size: 1.125rem;
    font-weight: 300;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.internal-content__intro-text:last-child {
    margin-bottom: 0;
}

/* Secciones Internas */
.internal-section {
    padding: 4rem 0;
    border-top: 1px solid var(--color-border);
}

.internal-section--alt {
    background-color: var(--color-bg-light);
}

.internal-section__container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.internal-section__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.internal-section__grid--no-image {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
}

.internal-section__grid--reverse .internal-section__image {
    order: 2;
}

.internal-section__grid--reverse .internal-section__content {
    order: 1;
}

.internal-section__image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.internal-section__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3/4;
}

.internal-section__category {
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    color: #fbbf24;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

.internal-section__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: var(--font-weight-heading);
    font-style: normal;
    -webkit-text-stroke: 0.5px currentColor;
    letter-spacing: 0.01em;
    color: var(--color-text);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.internal-section__text-wrapper {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 300;
    color: var(--color-text-light);
    line-height: 1.8;
}

.internal-section__text-wrapper p {
    margin-bottom: 1.5rem;
}

.internal-section__text-wrapper p:last-child {
    margin-bottom: 0;
}

.internal-section__text-wrapper h1,
.internal-section__text-wrapper h2,
.internal-section__text-wrapper h3,
.internal-section__text-wrapper h4,
.internal-section__text-wrapper h5,
.internal-section__text-wrapper h6 {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-heading);
    font-style: normal;
    -webkit-text-stroke: 0.5px currentColor;
    letter-spacing: 0.01em;
    color: var(--color-text);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.internal-section__text-wrapper ul,
.internal-section__text-wrapper ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.internal-section__text-wrapper li {
    margin-bottom: 0.5rem;
}

.internal-section__text-wrapper a {
    color: #dc2626;
    text-decoration: underline;
}

.internal-section__text-wrapper a:hover {
    color: #b91c1c;
}

.internal-section__text {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 300;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.internal-section__text:last-child {
    margin-bottom: 0;
}

/* Tarjetas de Características */
.internal-feature-card {
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.internal-feature-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.internal-feature-card__header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.internal-feature-card__image {
    width: 96px;
    height: 96px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.internal-feature-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.internal-feature-card__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: var(--font-weight-heading);
    font-style: normal;
    -webkit-text-stroke: 0.5px currentColor;
    letter-spacing: 0.01em;
    color: var(--color-text);
    margin: 0;
    line-height: 1.2;
}

.internal-feature-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    color: #dc2626;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.internal-feature-card__link:hover {
    gap: 1rem;
    color: #b91c1c;
}

.internal-feature-card__text {
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--color-text-light);
    line-height: 1.7;
    margin: 0;
}

/* Showcase de Proyectos */
.internal-project-showcase {
    background-color: var(--color-bg-light);
    border-radius: 16px;
    padding: 3rem;
    margin-top: 3rem;
}

.internal-project-showcase__text {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 300;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.internal-project-showcase__images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.internal-project-showcase__image {
    border-radius: 8px;
    overflow: hidden;
    height: 160px;
}

.internal-project-showcase__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.internal-project-showcase__link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    color: #dc2626;
    text-decoration: none;
    transition: all 0.3s ease;
}

.internal-project-showcase__link-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #dc2626;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.internal-project-showcase__link:hover .internal-project-showcase__link-icon {
    background-color: #b91c1c;
    transform: scale(1.1);
}

/* Grid de Servicios/Productos */
.internal-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.internal-service-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 320px;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    display: block;
}

.internal-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.internal-service-card__image {
    width: 100%;
    height: 100%;
    position: relative;
}

.internal-service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.internal-service-card:hover .internal-service-card__image img {
    transform: scale(1.1);
}

.internal-service-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.internal-service-card__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: var(--font-weight-heading);
    font-style: normal;
    -webkit-text-stroke: 0.5px currentColor;
    letter-spacing: 0.01em;
    color: #ffffff;
    margin: 0;
}

.internal-service-card__icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #dc2626;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(16px);
    transition: all 0.3s ease;
}

.internal-service-card:hover .internal-service-card__icon {
    opacity: 1;
    transform: translateY(0);
}

/* CTA Section */
.internal-cta {
    text-align: center;
    padding: 5rem 0;
    background-color: var(--color-bg-light);
    border-top: 1px solid var(--color-border);
}

.internal-cta__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: var(--font-weight-heading);
    font-style: normal;
    -webkit-text-stroke: 0.5px currentColor;
    letter-spacing: 0.01em;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.internal-cta__text {
    font-family: var(--font-primary);
    font-size: 1.125rem;
    font-weight: 300;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.internal-cta__buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.internal-cta__button {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.internal-cta__button--primary {
    background-color: #dc2626;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.internal-cta__button--primary:hover {
    background-color: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.4);
}

.internal-cta__button--secondary {
    background-color: var(--color-bg);
    color: var(--color-text);
    border: 1.5px solid var(--color-border);
}

.internal-cta__button--secondary:hover {
    background-color: var(--color-bg-light);
    border-color: var(--color-text);
}

/* Responsive para páginas internas */
@media (max-width: 1024px) {
    .internal-section__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .internal-section__grid--reverse .internal-section__image {
        order: 1;
    }

    .internal-section__grid--reverse .internal-section__content {
        order: 2;
    }

    .internal-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .internal-hero {
        height: 50vh;
        min-height: 400px;
    }

    .internal-hero__content {
        padding: 0 var(--container-padding) 2rem;
    }

    .internal-content {
        padding: 3rem 0;
    }

    .internal-section {
        padding: 3rem 0;
    }

    .internal-services-grid {
        grid-template-columns: 1fr;
    }

    .internal-cta__buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .internal-cta__button {
        text-align: center;
    }
}

/* ========================================
   Bloques Delgado Sections - Compatibilidad
   ======================================== */

/* Asegurar que los bloques del plugin se rendericen correctamente */
.wp-block-delgado-section-hero-image,
section.wp-block-delgado-section-hero-image,
section.delgado-hero-image {
	position: relative !important;
	min-height: 60vh !important;
	display: flex !important;
	align-items: center !important;
	overflow: hidden !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box !important;
}

/* Asegurar que los bloques con alignfull se extiendan correctamente */
.alignfull .wp-block-delgado-section-hero-image,
.alignfull section.delgado-hero-image,
.wp-block-delgado-section-hero-image.alignfull,
section.delgado-hero-image.alignfull,
.wp-block-delgado-section-hero-image:not(.alignwide):not(.alignleft):not(.alignright),
section.delgado-hero-image:not(.alignwide):not(.alignleft):not(.alignright) {
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	position: relative !important;
	left: 0 !important;
	right: 0 !important;
}

/* Escapar de contenedores padre que limitan el ancho */
.container .wp-block-delgado-section-hero-image,
.container section.delgado-hero-image,
.entry-content .wp-block-delgado-section-hero-image,
.entry-content section.delgado-hero-image,
.main-content .wp-block-delgado-section-hero-image,
.main-content section.delgado-hero-image {
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	position: relative !important;
	left: 0 !important;
	right: 0 !important;
}

/* Asegurar que los bloques con alignwide se extiendan correctamente */
.alignwide .wp-block-delgado-section-hero-image,
.alignwide section.delgado-hero-image,
.wp-block-delgado-section-hero-image.alignwide,
section.delgado-hero-image.alignwide {
	max-width: var(--container-width, 1400px) !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Evitar que contenedores del tema limiten los bloques del plugin */
.wp-block-delgado-section-hero-image .container,
section.delgado-hero-image .container,
.wp-block-delgado-section-hero-image > .container,
section.delgado-hero-image > .container {
	max-width: 100% !important;
	width: 100% !important;
	padding: 0 !important;
}

/* Asegurar que los elementos internos del bloque Hero con Imagen funcionen */
.wp-block-delgado-section-hero-image .delgado-hero-image__bg,
section.delgado-hero-image .delgado-hero-image__bg {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	width: 100% !important;
	height: 100% !important;
	z-index: 1 !important;
	overflow: hidden !important;
}

.wp-block-delgado-section-hero-image .delgado-hero-image__overlay,
section.delgado-hero-image .delgado-hero-image__overlay {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	width: 100% !important;
	height: 100% !important;
	z-index: 2 !important;
	pointer-events: none !important;
}

.wp-block-delgado-section-hero-image .delgado-hero-image__inner,
section.delgado-hero-image .delgado-hero-image__inner {
	position: relative !important;
	z-index: 3 !important;
	width: 100% !important;
	max-width: 100% !important;
}

/* Asegurar que el título y contenido se vean en blanco */
.wp-block-delgado-section-hero-image .delgado-hero-image__title,
section.delgado-hero-image .delgado-hero-image__title,
.wp-block-delgado-section-hero-image h2.delgado-hero-image__title,
section.delgado-hero-image h2.delgado-hero-image__title {
	color: #ffffff !important;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
	font-size: clamp( 2rem, 5vw, 3.5rem ) !important;
	font-weight: 100 !important;
	-webkit-text-stroke: 0 !important;
}

/* Sobrescribir estilos del tema para títulos de bloques del plugin */
.entry-content .wp-block-delgado-section-text-image h3.delgado-text-image__title,
.entry-content .wp-block-delgado-section-case-study h3.delgado-case-study__title,
.entry-content .wp-block-delgado-section-hero h2.delgado-section-hero__title,
.entry-content .wp-block-delgado-section-cta h3.delgado-section-cta__title,
.entry-content .wp-block-delgado-section-features h4.delgado-features__title,
.entry-content section.delgado-text-image h3.delgado-text-image__title,
.entry-content section.delgado-case-study h3.delgado-case-study__title,
.entry-content section.delgado-section-hero h2.delgado-section-hero__title,
.entry-content section.delgado-section-cta h3.delgado-section-cta__title,
.entry-content section.delgado-features h4.delgado-features__title,
.wp-block-delgado-section-text-image h3.delgado-text-image__title,
.wp-block-delgado-section-case-study h3.delgado-case-study__title,
.wp-block-delgado-section-hero h2.delgado-section-hero__title,
.wp-block-delgado-section-cta h3.delgado-section-cta__title,
.wp-block-delgado-section-features h4.delgado-features__title,
section.delgado-text-image h3.delgado-text-image__title,
section.delgado-case-study h3.delgado-case-study__title,
section.delgado-section-hero h2.delgado-section-hero__title,
section.delgado-section-cta h3.delgado-section-cta__title,
section.delgado-features h4.delgado-features__title {
	font-size: clamp( 2rem, 5vw, 3.5rem ) !important;
	font-weight: 100 !important;
	-webkit-text-stroke: 0 !important;
	line-height: 1.1 !important;
	letter-spacing: -0.02em !important;
	margin-top: 0 !important;
	margin-bottom: 0.5rem !important;
	color: inherit !important;
	font-family: var(--font-heading, 'Neue Haas Grotesk Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif) !important;
}

.wp-block-delgado-section-hero-image .delgado-hero-image__content,
section.delgado-hero-image .delgado-hero-image__content {
	color: #ffffff !important;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3) !important;
}

.wp-block-delgado-section-hero-image .delgado-hero-image__content p,
section.delgado-hero-image .delgado-hero-image__content p {
	color: #ffffff !important;
}

/* Asegurar que otros bloques del plugin también se rendericen correctamente */
.wp-block-delgado-section-text-image,
section.delgado-text-image,
.wp-block-delgado-section-case-study,
section.delgado-case-study,
.wp-block-delgado-section-stats,
section.delgado-stats,
.wp-block-delgado-section-features,
section.delgado-features,
.wp-block-delgado-section-testimonial,
section.delgado-testimonial,
.wp-block-delgado-section-logos,
section.delgado-logos {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
}

/* Evitar que estilos del tema interfieran con los bloques del plugin */
.wp-block-delgado-section-hero-image .section,
section.delgado-hero-image .section,
.wp-block-delgado-section-hero-image .internal-section,
section.delgado-hero-image .internal-section {
	padding: 0 !important;
	margin: 0 !important;
}
