/* ============================================================
   MANINGTEC S.A.C. — Styles
   Color: Turquesa #2BB5B2 | Plomo #2D3436 | Blanco
   ============================================================ */

/* ============ RESET & VARIABLES ============ */
:root {
    --turquesa: #2BB5B2;
    --turquesa-dark: #1E8E8B;
    --turquesa-light: #3DD4D1;
    --turquesa-glow: rgba(43, 181, 178, 0.3);
    --plomo: #2D3436;
    --plomo-dark: #111516;
    --plomo-medium: #1a1f20;
    --plomo-light: #232a2c;
    --plomo-lighter: #2e3638;
    --white: #FFFFFF;
    --off-white: #E8ECEF;
    --gray-100: rgba(255, 255, 255, 0.06);
    --gray-200: rgba(255, 255, 255, 0.1);
    --gray-300: #9CA5AB;
    --gray-text: #b0b8bf;
    --danger: #E74C3C;
    --success: #27AE60;
    --font-heading: 'Archivo', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.25);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.35);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.4);
    --shadow-turquesa: 0 8px 30px rgba(43, 181, 178, 0.25);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font-body);
    color: var(--gray-text);
    background: var(--plomo-light);
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(43,181,178,0.12), transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(43,181,178,0.06), transparent 60%);
    background-attachment: fixed;
    overflow-x: hidden;
    line-height: 1.7;
}

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

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

ul { list-style: none; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
}

/* ============ SECTION TAGS & TITLES ============ */
.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--turquesa);
    margin-bottom: 12px;
    position: relative;
    padding-left: 40px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 28px;
    height: 2px;
    background: var(--turquesa);
    transform: translateY(-50%);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--white), var(--turquesa-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
}

.section-title span {
    background: linear-gradient(135deg, var(--turquesa), var(--turquesa-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.section-header .section-tag {
    padding-left: 0;
}

.section-header .section-tag::before {
    display: none;
}

/* ============ BUTTONS ============ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--turquesa);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: 2px solid var(--turquesa);
}

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

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    border: 2px solid rgba(255,255,255,0.5);
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--plomo);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* ============ HEADER ============ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
    padding: 16px 0;
}

.header.scrolled {
    background: rgba(35, 42, 44, 0.97);
    backdrop-filter: blur(12px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.header-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img {
    height: 90px;
    width: auto;
    padding-top: 10px;
    transition: var(--transition);
}

.header.scrolled .logo-img {
    height: 40px;
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-menu > ul > li > a {
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 18px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.nav-menu > ul > li > a:hover,
.nav-menu > ul > li.active > a {
    color: var(--turquesa-light);
    background: rgba(43, 181, 178, 0.1);
}

.nav-menu > ul > li > a i {
    font-size: 0.6rem;
    transition: var(--transition);
}

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

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 320px;
    background: var(--plomo-dark);
    border-radius: var(--radius);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255,255,255,0.05);
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    color: var(--white);
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown li a:hover {
    background: rgba(43, 181, 178, 0.15);
    color: var(--turquesa-light);
    padding-left: 22px;
}

/* Header actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
}

.header-phone i {
    color: var(--turquesa);
    font-size: 1rem;
}

.btn-cotizar {
    background: var(--turquesa);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    transition: var(--transition);
}

.btn-cotizar:hover {
    background: var(--turquesa-dark);
    box-shadow: var(--shadow-turquesa);
    transform: translateY(-2px);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 26px;
    height: 2.5px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

/* ============ HERO ============ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 650px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 8s ease;
}

.slide.active .slide-bg {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26,31,32,0.85) 0%, rgba(26,31,32,0.6) 50%, rgba(43,181,178,0.15) 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 0 60px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.slide.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.slide-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--turquesa-light);
    margin-bottom: 16px;
    padding: 6px 16px;
    border: 1px solid rgba(43, 181, 178, 0.4);
    border-radius: 50px;
    width: fit-content;
}

.slide-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
}

.slide-content p {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    max-width: 550px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.slide-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero controls */
.hero-controls {
    position: absolute;
    bottom: 50px;
    right: 60px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero-prev, .hero-next {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
    background: transparent;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition);
}

.hero-prev:hover, .hero-next:hover {
    border-color: var(--turquesa);
    background: var(--turquesa);
}

.hero-counter {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
}

.hero-counter .current-slide {
    color: var(--turquesa-light);
    font-size: 1.3rem;
}

/* Hero scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 60px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: var(--font-heading);
}

.scroll-line {
    width: 40px;
    height: 2px;
    background: rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--turquesa);
    animation: scrollLine 2s ease infinite;
}

@keyframes scrollLine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ============ FEATURES BAR ============ */
.features-bar {
    background: transparent;
    padding: 50px 0;
    position: relative;
    z-index: 5;
    border-top: 1px solid rgba(43, 181, 178, 0.15);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

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

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-item:hover {
    border-color: rgba(43, 181, 178, 0.2);
    background: rgba(43, 181, 178, 0.05);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--turquesa), var(--turquesa-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-text h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 6px;
}

.feature-text p {
    font-size: 0.85rem;
    color: var(--gray-300);
    line-height: 1.5;
}

/* ============ ABOUT ============ */
.about {
    padding: 50px 0;
    background: transparent;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 30% 50%, rgba(43,181,178,0.10), transparent 60%);
    pointer-events: none;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    width: 85%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
}

.about-img-main img {
    width: 100%;
    display: block;
}

.about-img-secondary {
    width: 55%;
    position: absolute;
    bottom: -30px;
    right: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    z-index: 3;
    border: 4px solid var(--plomo-medium);
}

.about-img-secondary img {
    width: 100%;
    display: block;
}

.about-experience-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--turquesa), var(--turquesa-dark));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 4;
    box-shadow: var(--shadow-turquesa);
    animation: badgePulse 3s ease infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 8px 30px rgba(43, 181, 178, 0.25); }
    50% { box-shadow: 0 8px 40px rgba(43, 181, 178, 0.45); }
}

.exp-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}

.exp-text {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.9);
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
}

.about-content .section-tag {
    margin-bottom: 8px;
}

.about-lead {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--off-white);
    margin-bottom: 16px;
}

.about-content p {
    color: var(--gray-text);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.about-content p strong {
    color: var(--turquesa-light);
}

.about-values {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin: 24px 0;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--off-white);
}

.value-item i {
    color: var(--turquesa);
    font-size: 1rem;
}

.about-milestones {
    display: flex;
    gap: 16px;
    margin: 24px 0 32px;
    flex-wrap: wrap;
}

.milestone {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: var(--plomo-light);
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.06);
}

.milestone-year {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--turquesa);
}

.milestone-text {
    font-size: 0.8rem;
    color: var(--gray-text);
    font-weight: 500;
}

/* ============ SERVICES ============ */
.services {
    padding: 100px 0;
    background: transparent;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 70% 20%, rgba(43,181,178,0.10), transparent 60%);
    pointer-events: none;
}

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

.service-card {
    background: var(--plomo-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.04);
    position: relative;
}

.service-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: rgba(43, 181, 178, 0.3);
}

.service-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 3rem;
    color: rgba(43, 181, 178, 0.1);
    z-index: 2;
    line-height: 1;
}

.service-img {
    position: relative;
    height: 260px;
    overflow: hidden;
}

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

.service-card:hover .service-img img {
    transform: scale(1.05);
}

.service-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(26,31,32,0.4), transparent);
}

.service-body {
    padding: 28px;
}

.service-body h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-body > p {
    color: var(--gray-text);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.service-list {
    margin-bottom: 20px;
}

.service-list li {
    position: relative;
    padding-left: 20px;
    font-size: 0.85rem;
    color: var(--off-white);
    margin-bottom: 6px;
    font-weight: 500;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--turquesa);
}

.service-ctas {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.btn-whatsapp, .btn-contact, .btn-call {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: var(--transition);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #1EBE5A;
    transform: translateY(-2px);
}

.btn-contact {
    background: var(--turquesa);
    color: var(--white);
}

.btn-contact:hover {
    background: var(--turquesa-dark);
    transform: translateY(-2px);
}

.btn-call {
    background: var(--plomo);
    color: var(--white);
}

.btn-call:hover {
    background: var(--plomo-dark);
    transform: translateY(-2px);
}

/* ============ IMPACT BANNER ============ */
.impact-banner {
    position: relative;
    padding: 100px 0;
    background: transparent;
    overflow: hidden;
}

.impact-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(43,181,178,0.12), transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(43,181,178,0.06), transparent 60%);
}

.impact-overlay {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    border: 1px solid rgba(43, 181, 178, 0.08);
    animation: floatCircle 20s ease infinite;
}

@keyframes floatCircle {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-30px, 30px) rotate(180deg); }
}

.impact-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.impact-content .section-tag {
    padding-left: 0;
    color: var(--turquesa-light);
}

.impact-content .section-tag::before {
    display: none;
}

.impact-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--white), var(--turquesa-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.impact-content > p {
    color: var(--gray-300);
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto 40px;
}

.impact-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.impact-badge {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 28px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    text-align: left;
    transition: var(--transition);
}

.impact-badge:hover {
    background: rgba(43, 181, 178, 0.08);
    border-color: rgba(43, 181, 178, 0.2);
}

.impact-badge i {
    font-size: 1.5rem;
    color: var(--turquesa);
    margin-top: 4px;
    flex-shrink: 0;
}

.impact-badge h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 6px;
}

.impact-badge p {
    font-size: 0.85rem;
    color: var(--gray-300);
    line-height: 1.5;
}

/* ============ STATS ============ */
.stats-section {
    padding: 80px 0;
    background: transparent;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

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

.stat-item {
    text-align: center;
    padding: 30px 20px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(43,181,178,0.1), rgba(43,181,178,0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--turquesa);
    font-size: 1.3rem;
}

.stat-item:hover .stat-icon {
    background: linear-gradient(135deg, var(--turquesa), var(--turquesa-dark));
    color: var(--white);
    transition: var(--transition);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    display: inline;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--turquesa);
    display: inline;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray-text);
    font-weight: 500;
    margin-top: 8px;
}

/* ============ PROJECTS ============ */
.projects {
    padding: 100px 0;
    background: transparent;
    position: relative;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 80%, rgba(43,181,178,0.10), transparent 60%);
    pointer-events: none;
}

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

.project-card {
    background: var(--plomo-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255,255,255,0.04);
    transition: var(--transition);
}

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

.project-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

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

.project-overlay {
    position: absolute;
    top: 16px;
    left: 16px;
}

.project-category {
    background: var(--turquesa);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.project-body {
    padding: 24px;
}

.project-body h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1.3;
}

.project-client {
    color: var(--turquesa);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-desc {
    color: var(--gray-text);
    font-size: 0.85rem;
    margin-bottom: 14px;
    line-height: 1.6;
}

.project-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--gray-300);
}

.project-meta span i {
    color: var(--turquesa);
    font-size: 0.75rem;
}

/* ============ GALLERY ============ */
.gallery {
    padding: 100px 0;
    background: transparent;
    position: relative;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 80% 30%, rgba(43,181,178,0.10), transparent 60%);
    pointer-events: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(43, 181, 178, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: var(--white);
    font-size: 1.5rem;
}

.gallery-overlay span {
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ============ LIGHTBOX ============ */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.lightbox-content img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: var(--radius);
}

.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
    background: rgba(43, 181, 178, 0.3);
    color: var(--turquesa-light);
}

/* ============ CLIENTS ============ */
.clients {
    padding: 80px 0;
    background: transparent;
    overflow: hidden;
}

.clients-carousel {
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.clients-carousel::before,
.clients-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.clients-carousel::before {
    left: 0;
    background: linear-gradient(to right, rgba(35,42,44,0.95), transparent);
}

.clients-carousel::after {
    right: 0;
    background: linear-gradient(to left, rgba(35,42,44,0.95), transparent);
}

.clients-track {
    display: flex;
    gap: 30px;
    animation: scrollClients 30s linear infinite;
    width: max-content;
}

@keyframes scrollClients {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.client-card {
    min-width: 180px;
    height: 90px;
    background: var(--plomo-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    border: 1px solid rgba(255,255,255,0.04);
    transition: var(--transition);
}

.client-card:hover {
    border-color: var(--turquesa);
    box-shadow: var(--shadow-sm);
}

.client-card img {
    max-height: 50px;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.8);
    opacity: 0.5;
    transition: var(--transition);
}

.client-card:hover img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

/* ============ CONTACT ============ */
.contact-section {
    padding: 100px 0;
    background: transparent;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 20% 80%, rgba(43,181,178,0.10), transparent 60%);
    pointer-events: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form {
    margin-top: 24px;
}

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

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--off-white);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--white);
    transition: var(--transition);
    background: var(--plomo-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--turquesa);
    background: var(--plomo-lighter);
    box-shadow: 0 0 0 4px rgba(43, 181, 178, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%239CA5AB' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-300);
}

.recaptcha-container {
    margin-bottom: 20px;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--turquesa);
    color: var(--white);
    padding: 14px 36px;
    border-radius: 50px;
    border: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    justify-content: center;
}

.btn-submit:hover {
    background: var(--turquesa-dark);
    box-shadow: var(--shadow-turquesa);
    transform: translateY(-2px);
}

.form-message {
    margin-top: 16px;
    padding: 12px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(39, 174, 96, 0.1);
    color: var(--success);
    border: 1px solid rgba(39, 174, 96, 0.2);
}

.form-message.error {
    display: block;
    background: rgba(231, 76, 60, 0.1);
    color: var(--danger);
    border: 1px solid rgba(231, 76, 60, 0.2);
}

/* Contact Info Card */
.contact-info-card {
    background: var(--plomo-medium);
    border-radius: var(--radius-lg);
    padding: 36px;
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,0.04);
}

.contact-info-card h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 28px;
}

.info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(43, 181, 178, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--turquesa);
    font-size: 1rem;
    flex-shrink: 0;
}

.info-item h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--white);
    margin-bottom: 4px;
}

.info-item p {
    font-size: 0.85rem;
    color: var(--gray-300);
    line-height: 1.5;
}

.info-item p a {
    color: var(--gray-300);
}

.info-item p a:hover {
    color: var(--turquesa-light);
}

.contact-homologacion {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 4px;
}

.contact-homologacion img {
    height: 50px;
    width: auto;
}

.contact-homologacion span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--turquesa-light);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* FAQ */
.faq-section h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 20px;
}

.faq-item {
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    margin-bottom: 10px;
    overflow: hidden;
    transition: var(--transition);
    background: var(--plomo-light);
}

.faq-item.active {
    border-color: rgba(43, 181, 178, 0.3);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--off-white);
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--turquesa);
}

.faq-question i {
    color: var(--turquesa);
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer p {
    padding: 0 20px 16px;
    color: var(--gray-text);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ============ FOOTER ============ */
.footer {
    background: rgba(0,0,0,0.2);
    padding: 60px 0 0;
    border-top: 1px solid rgba(43, 181, 178, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 16px;
    filter: brightness(10);
}

.footer-about p {
    color: var(--gray-300);
    font-size: 0.85rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-300);
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--turquesa);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--turquesa);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--gray-300);
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--turquesa-light);
    padding-left: 6px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--gray-300);
    font-size: 0.85rem;
}

.footer-contact li i {
    color: var(--turquesa);
    margin-top: 3px;
    font-size: 0.8rem;
}

.footer-homologacion img {
    height: 55px;
    width: auto;
    margin-top: 16px;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-300);
    font-size: 0.8rem;
}

/* ============ FLOATING BUTTONS ============ */
.float-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    z-index: 999;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6); }
}

.float-whatsapp:hover {
    transform: scale(1.1);
}

.float-contact {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--turquesa);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    z-index: 999;
    box-shadow: var(--shadow-turquesa);
    transition: var(--transition);
}

.float-contact:hover {
    background: var(--turquesa-dark);
    transform: scale(1.1);
}

.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--plomo);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--turquesa);
}

/* ============ REVEAL ANIMATION ============ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .about-grid {
        gap: 50px;
    }

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

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

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 380px;
        height: 100vh;
        background: var(--plomo-dark);
        padding: 80px 30px 30px;
        transition: right 0.4s ease;
        z-index: 998;
        overflow-y: auto;
        border-left: 1px solid rgba(43, 181, 178, 0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .nav-menu > ul > li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    .nav-menu > ul > li > a {
        padding: 14px 0;
        font-size: 1rem;
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 0 0 10px 16px;
        min-width: 0;
        display: none;
    }

    .has-dropdown.open .dropdown {
        display: block;
    }

    .hamburger {
        display: flex;
    }

    .header-phone {
        display: none;
    }

    .btn-cotizar {
        display: none;
    }

    .hero {
        min-height: 100vh;
    }

    .slide-content {
        padding: 0 24px;
    }

    .hero-controls {
        right: 24px;
        bottom: 30px;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .features-bar .container {
        grid-template-columns: 1fr;
        gap: 16px;
    }

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

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

    .impact-badges {
        grid-template-columns: 1fr;
    }

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

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

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

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .slide-btns {
        flex-direction: column;
    }

    .slide-btns .btn-primary,
    .slide-btns .btn-outline {
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .stat-number {
        font-size: 2.2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .service-ctas {
        flex-direction: column;
    }

    .btn-whatsapp, .btn-contact, .btn-call {
        justify-content: center;
    }

    .about-experience-badge {
        width: 100px;
        height: 100px;
        top: 20px;
        right: 20px;
    }

    .exp-number {
        font-size: 1.6rem;
    }

    .float-whatsapp {
        width: 52px;
        height: 52px;
        bottom: 20px;
        right: 20px;
        font-size: 1.4rem;
    }

    .float-contact {
        width: 48px;
        height: 48px;
        bottom: 20px;
        left: 20px;
        font-size: 1.1rem;
    }

    .back-to-top {
        bottom: 80px;
        right: 20px;
        width: 38px;
        height: 38px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   OREMARC MIGRATED COMPONENTS
   Hero Slider, Services Snake Border, Portfolio, Gallery,
   Modals, Lightbox
   ═══════════════════════════════════════════════════════════════ */

/* ─── HERO SLIDER ─── */
.hero-slider { position: relative; width: 100%; height: 100vh; min-height: 650px; overflow: hidden; background: #000; }
.hero-slider::after { content: ''; position: absolute; inset: 0; z-index: 3; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E"); pointer-events: none; opacity: 0.5; }
.hero-slide { position: absolute; inset: 0; opacity: 0; z-index: 0; transition: opacity 1.2s ease; }
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide.exiting { opacity: 0; z-index: 0; }
.hero-slide .slide-bg { position: absolute; inset: 0px; background-size: cover; background-position: center; will-change: transform; transform: scale(1.0); }
.hero-slide.active .slide-bg { animation-duration: 8s; animation-fill-mode: forwards; animation-timing-function: ease-out; }
.hero-slide[data-kb="zoom-in"].active .slide-bg { animation-name: kbZoomIn; }
.hero-slide[data-kb="pan-right"].active .slide-bg { animation-name: kbPanRight; }
.hero-slide[data-kb="zoom-out"].active .slide-bg { animation-name: kbZoomOut; }
@keyframes kbZoomIn { 0% { transform: scale(1.0); } 100% { transform: scale(1.1) translate(-1%,-1%); } }
@keyframes kbPanRight { 0% { transform: scale(1.0) translateX(-1%); } 100% { transform: scale(1.1) translateX(1%); } }
@keyframes kbZoomOut { 0% { transform: scale(1.0) translate(1%,1%); } 100% { transform: scale(1.1); } }
.hero-slide .slide-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 35%, rgba(0,0,0,0.08) 55%, rgba(0,0,0,0.05) 100%), linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.05) 85%, rgba(0,0,0,0.01) 100%); }
.hero-neon-line { position: absolute; left: 7%; top: 50%; z-index: 5; width: 3px; height: 0; transform: translateY(-50%); background: linear-gradient(180deg, transparent, var(--turquesa), var(--turquesa-light), var(--turquesa), transparent); box-shadow: 0 0 12px var(--turquesa-glow), 0 0 30px rgba(43,181,178,0.15); border-radius: 4px; transition: height 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s; }
.hero-slider.loaded .hero-neon-line { height: 180px; }
.hero-content { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 0 0 0 9%; z-index: 4; max-width: 750px; }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; width: fit-content; background: rgba(0,0,0,0.45); backdrop-filter: blur(12px); border: 1px solid rgba(43,181,178,0.25); padding: 8px 20px; border-radius: var(--radius); font-family: var(--font-heading); font-size: 11px; font-weight: 600; color: var(--turquesa); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 24px; opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.hero-slide.active .hero-tag { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.hero-slide.exiting .hero-tag { opacity: 0; transform: translateY(-20px); transition-delay: 0s; transition-duration: 0.4s; }
.hero-title { font-family: var(--font-heading); font-size: clamp(28px, 3.5vw, 44px); font-weight: 800; line-height: 1.15; letter-spacing: -1px; margin-bottom: 20px; color: #fff; }
.hero-title .word { display: inline-block; opacity: 0; transform: translateY(50px) rotateX(40deg); transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); transform-origin: center bottom; }
.hero-slide.active .hero-title .word { opacity: 1; transform: translateY(0) rotateX(0deg); }
.hero-slide.exiting .hero-title .word { opacity: 0; transform: translateY(-30px) rotateX(-20deg); transition-duration: 0.35s; }
.hero-title .word-highlight { color: var(--turquesa); text-shadow: 0 0 40px rgba(43,181,178,0.25); }
.hero-title .line-break { display: block; width: 0; height: 0; }
.hero-desc { font-size: 17px; color: rgba(255,255,255,0.85); font-weight: 400; line-height: 1.8; margin-bottom: 36px; max-width: 520px; opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.hero-slide.active .hero-desc { opacity: 1; transform: translateY(0); }
.hero-slide.exiting .hero-desc { opacity: 0; transform: translateY(-20px); transition-duration: 0.35s; transition-delay: 0s; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.hero-slide.active .hero-ctas { opacity: 1; transform: translateY(0); }
.hero-slide.exiting .hero-ctas { opacity: 0; transform: translateY(-20px); transition-duration: 0.35s; transition-delay: 0s; }
.hero-ctas .btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; font-size: 14px; font-weight: 600; letter-spacing: .5px; border-radius: 100px; transition: var(--transition); border: none; cursor: pointer; text-decoration: none; font-family: var(--font-body); }
.hero-ctas .btn-primary { background: var(--turquesa); color: #000; }
.hero-ctas .btn-primary:hover { background: #fff; color: #000; transform: translateY(-2px); box-shadow: var(--shadow-turquesa); }
.hero-ctas .btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.hero-ctas .btn-outline:hover { border-color: var(--turquesa); color: var(--turquesa); transform: translateY(-2px); }
.slide-counter { position: absolute; right: 40px; top: 50%; transform: translateY(-50%); z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 6px; font-family: var(--font-heading); }
.counter-current { font-size: 56px; font-weight: 900; color: #fff; line-height: 1; text-shadow: 0 0 30px rgba(43,181,178,0.2); transition: opacity 0.3s ease, transform 0.3s ease; }
.counter-line { width: 2px; height: 40px; background: linear-gradient(180deg, var(--turquesa), rgba(43,181,178,0.1)); border-radius: 2px; box-shadow: 0 0 8px var(--turquesa-glow); }
.counter-total { font-size: 20px; font-weight: 400; color: var(--gray-300); line-height: 1; }
.slider-bottom { position: absolute; bottom: 0; left: 0; right: 0; z-index: 10; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 7% 36px; }
.slider-progress { display: flex; gap: 12px; align-items: center; }
.progress-dot { position: relative; width: 60px; height: 3px; background: rgba(255,255,255,0.12); border-radius: 10px; cursor: pointer; overflow: hidden; }
.progress-dot .fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--turquesa); border-radius: 10px; box-shadow: 0 0 8px var(--turquesa-glow); }
.progress-dot.active .fill { animation: progressFill 7s linear forwards; }
.progress-dot.done .fill { width: 100%; }
@keyframes progressFill { 0% { width: 0; } 100% { width: 100%; } }
.slider-arrows { display: flex; gap: 8px; }
.slider-arrow { width: 50px; height: 50px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #fff; font-size: 16px; transition: var(--transition); backdrop-filter: blur(8px); }
.slider-arrow:hover { background: var(--turquesa); color: #000; border-color: var(--turquesa); }
.hero-bottom-fade { position: absolute; bottom: 0; left: 0; right: 0; height: 200px; background: linear-gradient(0deg, var(--plomo-light), transparent); z-index: 5; pointer-events: none; }
.scroll-hint { position: absolute; bottom: 100px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: 0; animation: fadeInScroll 1s ease 2s forwards; }
@keyframes fadeInScroll { to { opacity: 1; } }
.scroll-hint span { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--gray-300); font-family: var(--font-heading); font-weight: 500; }
.scroll-mouse { width: 22px; height: 34px; border: 2px solid rgba(255,255,255,0.2); border-radius: 11px; position: relative; }
.scroll-mouse::after { content: ''; width: 3px; height: 8px; background: var(--turquesa); border-radius: 3px; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); animation: scrollWheel 2s ease-in-out infinite; }
@keyframes scrollWheel { 0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); } 50% { opacity: 0.3; transform: translateX(-50%) translateY(10px); } }

/* ─── SERVICES — SNAKE BORDER ─── */
.services-oremarc { padding: 100px 0; background: transparent; position: relative; overflow: hidden; }
.services-oremarc::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(ellipse at 70% 20%, rgba(43,181,178,0.10), transparent 60%), radial-gradient(ellipse at 10% 70%, rgba(43,181,178,0.06), transparent 60%); pointer-events: none; }
.services-oremarc .section-subtitle { font-size: 17px; color: var(--gray-text); max-width: 550px; margin: 12px auto 0; line-height: 1.7; text-align: center; }
.srv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 48px; position: relative; z-index: 1; }
@keyframes snakeRotate { 0% { transform: translate(-50%, -50%) rotate(0deg); } 100% { transform: translate(-50%, -50%) rotate(360deg); } }
.srv-card { position: relative; height: 380px; overflow: hidden; cursor: pointer; padding: 3px; background: rgba(43,181,178,0.08); transition: var(--transition); }
.srv-card::before { content: ''; position: absolute; top: 50%; left: 50%; width: 200%; height: 200%; transform: translate(-50%, -50%); background: conic-gradient(transparent 0deg, transparent 200deg, rgba(43,181,178,0.5) 240deg, var(--turquesa) 280deg, var(--turquesa-light) 320deg, #fff 335deg, var(--turquesa-light) 340deg, var(--turquesa) 350deg, transparent 360deg); z-index: 4; animation: snakeRotate 2.5s linear infinite; animation-play-state: paused; opacity: 0; transition: opacity 0.4s ease; }
.srv-card::after { content: ''; position: absolute; inset: -10px; z-index: 0; opacity: 0; transition: opacity 0.5s ease; background: conic-gradient(transparent 0deg, transparent 220deg, rgba(43,181,178,0.15) 270deg, rgba(61,212,209,0.25) 320deg, rgba(43,181,178,0.15) 350deg, transparent 360deg); filter: blur(18px); animation: snakeRotate 2.5s linear infinite; animation-play-state: paused; }
.srv-inner { position: relative; width: 100%; height: 100%; overflow: hidden; z-index: 5; background: var(--plomo-dark); }
.srv-card:hover { transform: translateY(-6px); z-index: 2; background: transparent; }
.srv-card:hover::before { animation-play-state: running; opacity: 1; }
.srv-card:hover::after { animation-play-state: running; opacity: 1; }
.srv-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.7s ease, filter 0.5s ease; }
.srv-card:hover .srv-bg, .proj-card:hover .srv-bg { transform: scale(1.08); filter: brightness(0.6); }
.srv-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.2) 100%); z-index: 1; transition: var(--transition); }
.srv-card:hover .srv-overlay, .proj-card:hover .srv-overlay { background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.1) 100%); }
.srv-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 32px; z-index: 2; }
.srv-number { font-family: var(--font-heading); font-size: 64px; font-weight: 900; color: rgba(43,181,178,0.08); position: absolute; top: 20px; right: 24px; z-index: 2; line-height: 1; transition: var(--transition); }
.srv-card:hover .srv-number, .proj-card:hover .srv-number { color: rgba(43,181,178,0.15); text-shadow: 0 0 30px rgba(43,181,178,0.1); }
.srv-icon { width: 52px; height: 52px; background: rgba(43,181,178,0.1); border: 1px solid rgba(43,181,178,0.2); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 22px; color: var(--turquesa); transition: var(--transition); }
.srv-card:hover .srv-icon, .proj-card:hover .srv-icon { background: var(--turquesa); color: #000; box-shadow: 0 0 20px var(--turquesa-glow), 0 0 40px rgba(43,181,178,0.1); }
.srv-content h3 { font-family: var(--font-heading); font-size: 20px; font-weight: 700; margin-bottom: 8px; color: #fff; transition: var(--transition); }
.srv-card:hover .srv-content h3, .proj-card:hover .srv-content h3 { text-shadow: 0 0 20px rgba(43,181,178,0.15); }
.srv-desc { font-size: 13px; color: var(--gray-text); line-height: 1.6; max-height: 0; overflow: hidden; opacity: 0; transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.srv-card:hover .srv-desc, .proj-card:hover .srv-desc { max-height: 100px; opacity: 1; margin-bottom: 16px; }
.srv-cta { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--turquesa); opacity: 0; transform: translateY(10px); transition: var(--transition); }
.srv-card:hover .srv-cta, .proj-card:hover .srv-cta { opacity: 1; transform: translateY(0); }

/* ─── PORTFOLIO — SNAKE BORDER ─── */
.portfolio-oremarc { padding: 100px 0; background: transparent; position: relative; overflow: hidden; }
.portfolio-oremarc::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(ellipse at 50% 80%, rgba(43,181,178,0.10), transparent 60%), radial-gradient(ellipse at 80% 20%, rgba(43,181,178,0.05), transparent 60%); pointer-events: none; }
.portfolio-oremarc .section-subtitle { font-size: 17px; color: var(--gray-text); max-width: 550px; margin: 12px auto 0; line-height: 1.7; text-align: center; }
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; position: relative; z-index: 1; }
.proj-card { position: relative; height: 380px; overflow: hidden; cursor: pointer; padding: 3px; background: rgba(43,181,178,0.08); transition: var(--transition); }
.proj-card::before { content: ''; position: absolute; top: 50%; left: 50%; width: 200%; height: 200%; transform: translate(-50%, -50%); background: conic-gradient(transparent 0deg, transparent 200deg, rgba(43,181,178,0.5) 240deg, var(--turquesa) 280deg, var(--turquesa-light) 320deg, #fff 335deg, var(--turquesa-light) 340deg, var(--turquesa) 350deg, transparent 360deg); z-index: 4; animation: snakeRotate 2.5s linear infinite; animation-play-state: paused; opacity: 0; transition: opacity 0.4s ease; }
.proj-card::after { content: ''; position: absolute; inset: -10px; z-index: 0; opacity: 0; transition: opacity 0.5s ease; background: conic-gradient(transparent 0deg, transparent 220deg, rgba(43,181,178,0.15) 270deg, rgba(61,212,209,0.25) 320deg, rgba(43,181,178,0.15) 350deg, transparent 360deg); filter: blur(18px); animation: snakeRotate 2.5s linear infinite; animation-play-state: paused; }
.proj-card:hover { transform: translateY(-6px); z-index: 2; background: transparent; }
.proj-card:hover::before { animation-play-state: running; opacity: 1; }
.proj-card:hover::after { animation-play-state: running; opacity: 1; }

/* ─── MODALS ─── */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.92); backdrop-filter: blur(20px); z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.4s ease; }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-box { width: 95%; max-width: 1100px; max-height: 95vh; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 1px solid rgba(43,181,178,0.2); position: relative; transform: translateY(30px) scale(0.95); transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); animation: neonModalBorder 3s ease-in-out infinite alternate; }
.modal-overlay.active .modal-box { transform: translateY(0) scale(1); }
@keyframes neonModalBorder { 0% { box-shadow: 0 0 15px rgba(43,181,178,0.2), 0 0 40px rgba(43,181,178,0.05); } 100% { box-shadow: 0 0 25px rgba(43,181,178,0.4), 0 0 60px rgba(43,181,178,0.1); } }
.modal-close { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; background: rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.1); color: #fff; font-size: 18px; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10; transition: var(--transition); border-radius: 0; }
.modal-close:hover { background: var(--turquesa); color: #000; border-color: var(--turquesa); }
.modal-image { position: relative; overflow: hidden; }
.modal-image img { width: 100%; height: 100%; object-fit: cover; min-height: 500px; }
.modal-number { position: absolute; bottom: 20px; left: 24px; font-family: var(--font-heading); font-size: 120px; font-weight: 900; color: rgba(43,181,178,0.12); line-height: 1; }
.modal-body { background: var(--plomo-light); padding: 48px 40px; overflow-y: auto; display: flex; flex-direction: column; justify-content: center; }
.modal-icon { width: 56px; height: 56px; background: var(--turquesa); display: flex; align-items: center; justify-content: center; font-size: 24px; color: #000; margin-bottom: 20px; box-shadow: 0 0 20px var(--turquesa-glow); }
.modal-body h2 { font-family: var(--font-heading); font-size: 28px; font-weight: 800; margin-bottom: 16px; line-height: 1.2; color: #fff; }
.modal-desc { font-size: 15px; color: var(--gray-text); line-height: 1.8; margin-bottom: 24px; }
.includes-title { font-family: var(--font-heading); font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--turquesa); margin-bottom: 14px; }
.includes-list { list-style: none; padding: 0; margin: 0 0 24px; }
.includes-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 14px; color: var(--gray-text); border-bottom: 1px solid rgba(255,255,255,0.04); }
.includes-list li:last-child { border-bottom: none; }
.includes-list li .li-dot { width: 6px; height: 6px; background: var(--turquesa); flex-shrink: 0; box-shadow: 0 0 8px var(--turquesa-glow); border-radius: 0; }
.modal-actions { display: flex; flex-direction: column; gap: 16px; }
.modal-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.mcta { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; font-family: var(--font-heading); font-size: 13px; font-weight: 700; border: none; cursor: pointer; text-decoration: none; transition: var(--transition); color: #fff; }
.mcta-whatsapp { background: #25D366; color: #000; }
.mcta-whatsapp:hover { background: #20bd5a; transform: translateY(-3px); box-shadow: 0 0 20px rgba(37,211,102,0.5); }
.mcta-contact { background: transparent; color: var(--turquesa); border: 2px solid var(--turquesa); }
.mcta-contact:hover { background: var(--turquesa); color: #000; transform: translateY(-3px); }
.mcta-call { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.15); }
.mcta-call:hover { background: rgba(43,181,178,0.1); border-color: var(--turquesa); color: var(--turquesa-light); transform: translateY(-3px); }
.modal-nav { display: flex; gap: 8px; }
.modal-nav button { width: 40px; height: 40px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: var(--gray-text); font-size: 14px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); }
.modal-nav button:hover { border-color: var(--turquesa); color: var(--turquesa); }
.modal-counter { font-family: var(--font-heading); font-size: 12px; color: var(--gray-300); letter-spacing: 2px; display: flex; align-items: center; margin-left: 12px; }
.modal-counter .mcurrent { color: var(--turquesa); font-weight: 700; font-size: 16px; }

/* ─── GALLERY OREMARC ─── */
.gallery-oremarc { padding: 100px 0; background: transparent; position: relative; overflow: hidden; }
.gallery-oremarc::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(ellipse at 80% 30%, rgba(43,181,178,0.10), transparent 60%), radial-gradient(ellipse at 20% 70%, rgba(43,181,178,0.06), transparent 60%); pointer-events: none; }
.gallery-oremarc .section-subtitle { font-size: 15px; color: var(--gray-300); max-width: 500px; margin: 12px auto 0; line-height: 1.7; text-align: center; }
.gl-glow { position: absolute; border-radius: 50%; filter: blur(120px); pointer-events: none; z-index: 0; }
.gl-glow.g1 { width: 400px; height: 400px; background: rgba(43,181,178,0.03); top: -100px; left: -100px; }
.gl-glow.g2 { width: 350px; height: 350px; background: rgba(43,181,178,0.03); bottom: -80px; right: -80px; }
.gallery-filters { display: flex; justify-content: center; gap: 8px; margin: 36px 0 48px; flex-wrap: wrap; position: relative; z-index: 1; }
.gf-btn { padding: 10px 24px; background: transparent; border: 1px solid var(--plomo-lighter); color: var(--gray-300); font-family: var(--font-heading); font-size: 13px; font-weight: 600; cursor: pointer; transition: var(--transition); position: relative; overflow: hidden; }
.gf-btn::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 0; background: linear-gradient(to top, rgba(43,181,178,0.1), transparent); transition: height 0.4s ease; }
.gf-btn:hover::before { height: 100%; }
.gf-btn:hover { border-color: rgba(43,181,178,0.3); color: #fff; }
.gf-btn.active { border-color: var(--turquesa); color: var(--turquesa); background: rgba(43,181,178,0.06); box-shadow: 0 0 15px rgba(43,181,178,0.1); }
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 10px; position: relative; z-index: 1; }
.gal-grid .gal-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gal-grid .gal-item:nth-child(4) { grid-row: span 2; }
.gal-grid .gal-item:nth-child(7) { grid-column: span 2; }
.gal-grid .gal-item:nth-child(10) { grid-column: span 2; grid-row: span 2; }
.gal-item { position: relative; overflow: hidden; cursor: pointer; border: 1px solid rgba(255,255,255,0.04); transition: var(--transition); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease; }
.gal-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 50%); opacity: 0; transition: opacity 0.4s ease; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; }
.gal-label { font-family: var(--font-heading); font-size: 14px; font-weight: 600; color: #fff; transform: translateY(12px); transition: transform 0.4s ease; }
.gal-cat { font-size: 11px; color: var(--turquesa); letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; margin-bottom: 4px; transform: translateY(12px); transition: transform 0.4s ease 0.05s; }
.gal-expand { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; background: rgba(0,0,0,0.5); border: 1px solid rgba(43,181,178,0.3); display: flex; align-items: center; justify-content: center; color: var(--turquesa); font-size: 14px; z-index: 2; opacity: 0; transform: scale(0.8); transition: var(--transition); backdrop-filter: blur(8px); }
.gal-item::before { content: ''; position: absolute; inset: -1px; border: 2px solid transparent; z-index: 3; pointer-events: none; transition: all 0.5s ease; }
.gal-item:hover { z-index: 5; transform: scale(1.02); }
.gal-item:hover::before { border-color: rgba(43,181,178,0.5); box-shadow: 0 0 12px rgba(43,181,178,0.2); animation: galNeon 2s ease-in-out infinite alternate; }
@keyframes galNeon { 0% { border-color: rgba(43,181,178,0.3); box-shadow: 0 0 8px rgba(43,181,178,0.15); } 100% { border-color: rgba(61,212,209,0.6); box-shadow: 0 0 18px rgba(61,212,209,0.3); } }
.gal-item:hover img { transform: scale(1.1); filter: brightness(0.7); }
.gal-item:hover .gal-overlay { opacity: 1; }
.gal-item:hover .gal-cat, .gal-item:hover .gal-label { transform: translateY(0); }
.gal-item:hover .gal-expand { opacity: 1; transform: scale(1); }
.gal-item.hiding { opacity: 0; transform: scale(0.8); pointer-events: none; transition: all 0.3s ease; }
.gal-item.showing { animation: galItemShow 0.5s ease both; }
@keyframes galItemShow { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }

/* ─── LIGHTBOX ─── */
.lb-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.95); backdrop-filter: blur(24px); z-index: 10000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.4s ease; }
.lb-overlay.active { opacity: 1; visibility: visible; }
.lb-image-wrap { position: relative; max-width: 85vw; max-height: 85vh; }
.lb-image-wrap img { max-width: 85vw; max-height: 85vh; object-fit: contain; border: 1px solid rgba(43,181,178,0.2); box-shadow: 0 0 40px rgba(43,181,178,0.08); transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); transform: scale(0.9); }
.lb-overlay.active .lb-image-wrap img { transform: scale(1); }
.lb-close { position: absolute; top: 24px; right: 24px; width: 50px; height: 50px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: #fff; font-size: 20px; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10; transition: var(--transition); border-radius: 0; }
.lb-close:hover { background: var(--turquesa); color: #000; border-color: var(--turquesa); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); color: #fff; font-size: 18px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); z-index: 10; border-radius: 0; }
.lb-nav:hover { background: rgba(43,181,178,0.1); border-color: rgba(43,181,178,0.3); color: var(--turquesa); }
.lb-prev { left: 24px; } .lb-next { right: 24px; }
.lb-bottom { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 20px; z-index: 10; }
.lb-counter { font-family: var(--font-heading); font-size: 14px; color: var(--gray-300); letter-spacing: 2px; }
.lb-counter .lb-cur { color: var(--turquesa); font-weight: 700; font-size: 18px; }
.lb-title { font-family: var(--font-heading); font-size: 14px; font-weight: 600; color: var(--gray-text); padding: 8px 20px; background: rgba(255,255,255,0.04); border: 1px solid var(--plomo-lighter); }
.lb-thumbs { position: absolute; bottom: 70px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 10; }
.lb-thumb { width: 48px; height: 48px; overflow: hidden; cursor: pointer; border: 2px solid transparent; opacity: 0.4; transition: var(--transition); }
.lb-thumb.active { border-color: var(--turquesa); opacity: 1; box-shadow: 0 0 10px var(--turquesa-glow); }
.lb-thumb:hover { opacity: 0.8; }
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ─── DARK THEME SEPARATORS ─── */
.features-bar { border-top: 1px solid rgba(43,181,178,0.06); border-bottom: 1px solid rgba(43,181,178,0.06); }
.stats-section { border-top: 1px solid rgba(43,181,178,0.06); border-bottom: 1px solid rgba(43,181,178,0.06); }
.clients { border-top: 1px solid rgba(43,181,178,0.06); border-bottom: 1px solid rgba(43,181,178,0.06); }
.footer { border-top: 1px solid rgba(43,181,178,0.08); }

/* ─── RESPONSIVE OREMARC ─── */
@media (max-width: 992px) {
    .modal-box { grid-template-columns: 1fr; max-height: 95vh; overflow-y: auto; }
    .modal-image img { min-height: 250px; max-height: 300px; }
    .srv-grid { grid-template-columns: 1fr 1fr; }
    .proj-grid { grid-template-columns: 1fr; }
    .gal-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
    .gal-grid .gal-item:nth-child(1) { grid-column: span 2; }
    .gal-grid .gal-item:nth-child(4) { grid-row: span 1; }
    .gal-grid .gal-item:nth-child(10) { grid-column: span 1; grid-row: span 1; }
    .lb-thumbs { display: none; }
}
@media (max-width: 768px) {
    .hero-content { padding: 0 24px; padding-bottom: 30%; }
    .slide-counter { right: 20px; }
    .counter-current { font-size: 36px; }
    .srv-grid, .proj-grid { grid-template-columns: 1fr; }
    .proj-card, .srv-card { height: 280px; }
    .gal-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
    .gal-grid .gal-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
    .gal-grid .gal-item:nth-child(7) { grid-column: span 1; }
    .gal-grid .gal-item:nth-child(10) { grid-column: span 2; grid-row: span 1; }
    .modal-body { padding: 32px 24px; }
}
@media (max-width: 480px) {
    .hero-content { padding: 0 20px; padding-bottom: 50%; }
    .hero-title { font-size: 22px; }
    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn { width: 70%; padding: 12px 24px; font-size: 13px; }
    .slider-progress { display: none; }
    .slider-bottom { justify-content: center; }
    .slider-arrows { margin: 0 auto; }
    .srv-card, .proj-card { height: 220px; }
    .srv-content { padding: 16px; }
    .srv-icon { width: 36px; height: 36px; font-size: 16px; margin-bottom: 8px; }
    .srv-content h3 { font-size: 14px; }
    .srv-number { font-size: 32px; top: 8px; right: 12px; }
    .modal-body { padding: 14rem 2rem 3rem; }
    .modal-ctas { flex-direction: column; }
    .mcta { width: 100%; justify-content: center; }
    .modal-body .modal-icon { margin-top: 20px; }
    .modal-body h2 { font-size: 1.25rem; }
    .gal-grid { grid-auto-rows: 140px; }
    .gf-btn { padding: 8px 16px; font-size: 12px; }
}

/* ═══ SCROLL ICON TRACKS (prototipo) ═══ */
.scroll-icon-track {
    position: relative;
    height: 120px;
    overflow: hidden;
    margin: 28px auto;
    max-width: 1320px;
    padding: 0 24px;
}

.track-svg {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(0.3);
    z-index: 5;
    opacity: 0;
}
.track-svg img {
    height: 80px;
    width: auto;
    display: block;
    filter: brightness(0) saturate(100%) invert(60%) sepia(50%) saturate(500%) hue-rotate(135deg) brightness(95%);
}
.track-svg-left { left: 24px; }
.track-svg-right { right: 24px; }
.track-svg-right img { transform: scaleX(-1); }

.track-svg.entered {
    animation: svgEnter 0.8s cubic-bezier(0.16,1,0.3,1) forwards;
}
@keyframes svgEnter {
    0% { opacity:0; transform:translateY(-50%) scale(0.3); }
    100% { opacity:1; transform:translateY(-50%) scale(1); }
}

.track-svg.floating { animation: svgFloat 3s ease-in-out infinite; }
@keyframes svgFloat {
    0%,100% { opacity:0.25; transform:translateY(-50%) scale(1) translateY(0); filter:drop-shadow(0 0 0px transparent); }
    50% { opacity:0.55; transform:translateY(-50%) scale(1) translateY(-6px); filter:drop-shadow(0 0 12px rgba(43,181,178,0.4)); }
}
.track-svg-right.floating { animation: svgFloatR 3s ease-in-out infinite; }
@keyframes svgFloatR {
    0%,100% { opacity:0.25; transform:translateY(-50%) scale(1) translateY(0); filter:drop-shadow(0 0 0px transparent); }
    50% { opacity:0.55; transform:translateY(-50%) scale(1) translateY(-6px); filter:drop-shadow(0 0 12px rgba(43,181,178,0.4)); }
}

.scroll-icon-wrap {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -50px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.4s ease;
    filter: drop-shadow(0 0 8px rgba(43,181,178,0.5)) drop-shadow(0 0 20px rgba(43,181,178,0.15));
}
.scroll-icon-wrap.visible { opacity:1; }
.scroll-icon-wrap img {
    height: 38px;
    width: auto;
    display: block;
    filter: brightness(0) saturate(100%) invert(60%) sepia(80%) saturate(500%) hue-rotate(135deg) brightness(100%);
}

.scroll-icon-wrap::before {
    content:'';
    position:absolute;
    bottom:-8px; left:50%; transform:translateX(-50%);
    width:50px; height:10px;
    background:radial-gradient(ellipse,rgba(43,181,178,0.35) 0%,transparent 70%);
    filter:blur(4px);
    animation:iconGlow 2s ease-in-out infinite;
}
@keyframes iconGlow { 0%,100%{opacity:0.3;} 50%{opacity:1;} }

.scroll-icon-trail {
    position:absolute; top:50%; transform:translateY(-50%);
    height:2px; left:85px; width:0;
    background:linear-gradient(90deg,transparent,rgba(43,181,178,0.3));
    z-index:2; border-radius:2px;
    box-shadow:0 0 6px rgba(43,181,178,0.15);
    transition:width 0.08s linear;
}

.gear-spin img { animation: spinGear 6s linear infinite; }
@keyframes spinGear { 0%{transform:rotate(0deg);} 100%{transform:rotate(360deg);} }

.wrench-wobble img { animation: wobbleWrench 2.5s ease-in-out infinite; }
@keyframes wobbleWrench { 0%,100%{transform:rotate(0deg);} 25%{transform:rotate(-12deg);} 75%{transform:rotate(12deg);} }

@media (max-width: 768px) {
    .scroll-icon-track { height: 80px; margin: 18px auto; }
    .track-svg img { height: 55px; }
    .scroll-icon-wrap img { height: 30px; }
    .scroll-icon-trail { left: 65px; }
}

@media (max-width: 480px) {
    .scroll-icon-track { height: 60px; margin: 12px auto; }
    .track-svg img { height: 40px; }
    .track-svg-left { left: 12px; }
    .track-svg-right { right: 12px; }
    .scroll-icon-wrap img { height: 22px; }
    .scroll-icon-trail { left: 48px; }
}
