@font-face {
    font-family: 'Gruppo';
    src: url('Gruppo/Gruppo-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: 'Gruppo', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    z-index: 1000;
    transition: padding 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 30px 0 50px 0;
}

.header.scrolled {
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: flex-direction 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled .header-container {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

/* Logo Container */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: margin-top 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: auto;
    margin-top: 30px;
    order: 2;
    position: relative;
    transform: translateX(0);
}

.header.scrolled .logo-container {
    margin-top: 0;
    justify-content: center;
    order: 1;
    position: relative;
    left: 0;
    transform: translateX(0);
}

.logo-graphic {
    display: flex;
    align-items: center;
}

.logo-graphic svg {
    display: block;
}

/* Estilos para logo como imagen */
.logo-image {
    height: 120px;
    width: auto;
    transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1), width 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    transform-origin: center;
}

.header.scrolled .logo-image {
    height: 55px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-title {
    font-size: 62px;
    font-weight: 300;
    letter-spacing: 2px;
    line-height: 1;
    margin: 0;
    transition: font-size 0.5s cubic-bezier(0.4, 0, 0.2, 1), letter-spacing 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-subtitle {
    font-size: 23px;
    font-weight: 300;
    letter-spacing: 3px;
    text-align: center;
    margin: 0;
    transition: font-size 0.5s cubic-bezier(0.4, 0, 0.2, 1), letter-spacing 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled .logo-title {
    font-size: 42px;
}

.header.scrolled .logo-subtitle {
    font-size: 21px;
}

.header.scrolled .logo-graphic svg {
    width: 40px;
    height: 55px;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    transition: gap 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    order: 1;
    margin: 0 auto;
    width: 100%;
}

.header.scrolled .nav-menu {
    gap: 30px;
    order: 2;
    margin: 0;
    width: auto;
}

.nav-link {
    text-decoration: none;
    color: #000000;
    font-size: 23px;
    font-weight: 300;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    opacity: 0.7;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #000000;
    transition: width 0.3s ease;
}

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

/* Main Content */
.main-content {
    margin-top: 280px;
    padding: 0;
    transition: margin-top 0.3s ease;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body.scrolled .main-content {
    margin-top: 120px;
}

/* Sección de Galería de Imágenes */
.image-gallery-section {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    max-width: 100%;
}

.image-gallery-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.image-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

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

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Sección NOSOTROS */
.nosotros-section {
    width: 100%;
    min-height: 100vh;
    padding: 100px 0;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    margin: 0;
}

.nosotros-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.nosotros-content {
    display: flex;
    flex-direction: column;
}

.nosotros-title {
    font-size: 62px;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 40px;
    color: #000000;
    position: relative;
    padding-bottom: 20px;
}

.nosotros-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #000000;
}

.nosotros-intro {
    font-size: 23px;
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 1.8;
    text-transform: uppercase;
    margin-bottom: 50px;
    color: #000000;
    max-width: 90%;
}

.nosotros-features {
    display: flex;
    flex-direction: column;
}

.feature-block {
    padding: 0;
    margin: 0;
    display: block;
}

.feature-title {
    font-size: 23px;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin: 0;
    color: #000000;
    text-transform: none;
    position: relative;
    padding-bottom: 20px;
    line-height: 1.3;
    display: block;
    box-sizing: border-box;
    height: auto;
    min-height: 0;
}

.feature-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #000000;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.feature-description {
    font-size: 23px;
    font-weight: 400;
    letter-spacing: 0.3px;
    line-height: 1.6;
    color: #000000;
    text-transform: none;
    margin: 20px 0 0 0;
    padding: 0;
    display: block;
    box-sizing: border-box;
}

.feature-divider {
    width: 100%;
    height: 1px;
    background-color: #000000;
    margin: 30px 0;
}

.nosotros-image {
    width: 100%;
    height: 100%;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.nosotros-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Sección NUESTROS SERVICIOS */
.servicios-section {
    width: 100%;
    min-height: 100vh;
    padding: 100px 0;
    background-color: #ffffff;
}

.servicios-title {
    font-size: 62px;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 80px;
    color: #000000;
}

.servicios-carousel {
    width: 100%;
    padding: 0 40px;
    display: flex;
    gap: 0;
    align-items: stretch;
    height: 600px;
    position: relative;
    overflow: visible;
}

.servicio-item {
    flex: 1;
    position: relative;
    overflow: visible;
    cursor: pointer;
    transition: flex 0.6s ease;
    background-color: #ffffff;
    border-right: 1px solid #000000;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.servicio-item:last-child {
    border-right: none;
}

.servicio-item.active {
    flex: 3;
}

.servicio-image-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: none;
}

.servicio-item.active .servicio-image-container {
    display: block;
}

.servicio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.servicio-item.active .servicio-image {
    transform: scale(1.05);
}

.servicio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    padding: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    box-sizing: border-box;
    max-width: 100%;
    overflow: visible;
    overflow-wrap: normal;
    word-break: normal;
}

.servicio-item.active .servicio-overlay {
    opacity: 1;
    transform: translateY(0);
}

.servicio-title {
    font-size: 31px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0;
    line-height: 1.4;
    word-wrap: normal;
    overflow-wrap: normal;
    word-break: normal;
    max-width: 100%;
    hyphens: none;
    white-space: normal;
}

/* Título vertical para servicios inactivos */
.servicio-title-vertical {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    padding: 20px;
    position: relative;
    box-sizing: border-box;
    overflow: visible;
    min-height: 0;
    min-width: 0;
    overflow-wrap: normal;
    word-break: normal;
}

.servicio-item.active .servicio-title-vertical {
    display: none;
}

.servicio-title-text {
    font-size: 23px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #000000;
    margin: 0;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    word-wrap: normal;
    overflow-wrap: normal;
    word-break: normal;
    max-width: 100%;
    max-height: 100%;
    hyphens: none;
    white-space: normal;
    line-break: auto;
    text-align: center;
    display: block;
    width: auto;
    height: auto;
    min-width: 0;
    word-spacing: normal;
    text-rendering: optimizeLegibility;
}

/* Asegurar que los <br> funcionen en texto vertical */
.servicio-title-text br {
    display: block;
    line-height: 0.5em;
}

/* Sección Hero con imagen de fondo */
.hero-section {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 40px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.hero-subtitle {
    font-size: 23px;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0;
}

.hero-title {
    font-size: 62px;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 0 0;
    line-height: 1.2;
}

.hero-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: #ffffff;
    color: #000000;
    text-decoration: none;
    font-size: 23px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 1px solid #ffffff;
    margin-top: 0;
}

.hero-button:hover {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

/* Sección Casas de Lujo */
.luxury-section {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.luxury-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.luxury-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.luxury-content {
    position: relative;
    z-index: 2;
    padding: 0 40px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 0;
    text-align: right;
}

.luxury-subtitle {
    font-size: 23px;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0;
}

.luxury-title {
    font-size: 83px;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 0 0;
    line-height: 1.2;
}

.luxury-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: #ffffff;
    color: #000000;
    text-decoration: none;
    font-size: 23px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 1px solid #000000;
    margin-top: 0;
}

.luxury-button:hover {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

/* Sección Alcance Nacional */
.alcance-section {
    width: 100%;
    min-height: 100vh;
    padding: 100px 0;
    background-color: #ffffff;
    position: relative;
}

.alcance-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

.alcance-header {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 100px;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    flex-wrap: nowrap;
}

.mapa-mexico {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 50%;
}

.mapa-mexico:hover {
    transform: scale(1.02);
}

.mapa-img {
    width: 100%;
    max-width: 700px;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.alcance-title {
    font-size: 47px;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #000000;
    margin: 0;
    line-height: 1.3;
    flex: 1 1 auto;
    min-width: 300px;
    max-width: 50%;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    word-wrap: normal;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    white-space: normal;
    text-align: left;
}

.alcance-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    align-items: start;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.alcance-features::before,
.alcance-features::after {
    content: '';
    display: none;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    padding: 0 40px;
    position: relative;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.feature-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #000000;
    transition: opacity 0.3s ease;
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.icono-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-text {
    font-size: 21px;
    font-weight: 400;
    line-height: 1.6;
    color: #000000;
    margin: 0;
    text-align: left;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-text {
    color: #333333;
}

/* Animación de entrada suave */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sección Proceso */
.proceso-section {
    width: 100%;
    min-height: 100vh;
    padding: 100px 0;
    background-color: #ffffff;
}

.proceso-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

.proceso-title {
    font-size: 83px;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #000000;
    margin: 0 0 30px 0;
    text-align: left;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.proceso-section.visible .proceso-title {
    opacity: 1;
    transform: translateY(0);
}

.proceso-subtitle {
    font-size: 21px;
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 1.8;
    color: #000000;
    margin: 0 0 80px 0;
    max-width: 900px;
    text-align: left;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.proceso-section.visible .proceso-subtitle {
    opacity: 1;
    transform: translateY(0);
}

.proceso-timeline {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 180px 0 180px 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
}

.proceso-section.visible .proceso-timeline {
    opacity: 1;
    transform: translateY(0);
}

.timeline-line-container {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 1;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s;
}

.proceso-section.visible .timeline-line-container {
    opacity: 1;
}

.timeline-line {
    width: calc(100% - 30px);
    height: 2px;
    background-color: #000000;
    position: relative;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1) 0.6s;
}

.proceso-section.visible .timeline-line {
    transform: scaleX(1);
}

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

@keyframes drawLine {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

.timeline-line {
    width: calc(100% - 30px);
    height: 2px;
    background-color: #000000;
    position: relative;
}

.timeline-arrow {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid #000000;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.proceso-step {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    min-height: 500px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animaciones escalonadas para cada paso cuando la sección es visible */
.proceso-section.visible .proceso-step.step-1 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
}

.proceso-section.visible .proceso-step.step-2 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1s;
}

.proceso-section.visible .proceso-step.step-3 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.2s;
}

.proceso-section.visible .proceso-step.step-4 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.4s;
}

.proceso-section.visible .proceso-step.step-5 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.6s;
}

.step-connector {
    position: absolute;
    left: 50%;
    z-index: 1;
    transform: translateX(-50%);
    width: 2px;
}

/* Puntos impares (1, 3, 5) arriba - más separación */
.step-1 .step-connector,
.step-3 .step-connector,
.step-5 .step-connector {
    height: 160px;
    top: calc(50% - 160px);
}

/* Puntos pares (2, 4) abajo - más separación */
.step-2 .step-connector,
.step-4 .step-connector {
    height: 100px;
    top: 50%;
}

.step-marker {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #000000;
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scale(0);
    z-index: 3;
    border: 2px solid #000000;
    box-shadow: 0 0 0 1px #000000;
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animaciones escalonadas para los marcadores cuando la sección es visible */
.proceso-section.visible .step-1 .step-marker {
    transform: translateX(-50%) scale(1);
    opacity: 1;
    transition-delay: 1s;
}

.proceso-section.visible .step-2 .step-marker {
    transform: translateX(-50%) scale(1);
    opacity: 1;
    transition-delay: 1.2s;
}

.proceso-section.visible .step-3 .step-marker {
    transform: translateX(-50%) scale(1);
    opacity: 1;
    transition-delay: 1.4s;
}

.proceso-section.visible .step-4 .step-marker {
    transform: translateX(-50%) scale(1);
    opacity: 1;
    transition-delay: 1.6s;
}

.proceso-section.visible .step-5 .step-marker {
    transform: translateX(-50%) scale(1);
    opacity: 1;
    transition-delay: 1.8s;
}

.step-marker::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #ffffff;
}

/* Puntos impares arriba - al final de la línea conectora */
.step-1 .step-marker,
.step-3 .step-marker,
.step-5 .step-marker {
    top: calc(50% - 160px);
}

/* Puntos pares abajo - más separados de la línea */
.step-2 .step-marker,
.step-4 .step-marker {
    top: calc(50% + 107px);
}

.step-content {
    text-align: center;
    max-width: 220px;
    padding: 0 10px;
    width: 100%;
}

/* Contenido arriba para puntos impares - empieza después del punto */
.step-1 .step-content,
.step-3 .step-content,
.step-5 .step-content {
    margin-top: 0;
    margin-bottom: auto;
    position: absolute;
    top: calc(50% - 400px);
    left: 50%;
    transform: translateX(-50%);
}

/* Contenido abajo para puntos pares - empieza después del punto */
.step-2 .step-content,
.step-4 .step-content {
    margin-top: auto;
    margin-bottom: 0;
    position: absolute;
    top: calc(50% + 125px);
    left: 50%;
    transform: translateX(-50%);
}

.step-title {
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #000000;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.step-description {
    font-size: 21px;
    font-weight: 400;
    letter-spacing: 0.3px;
    line-height: 1.6;
    color: #000000;
    margin: 0;
}

.step-title {
    font-size: 21px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #000000;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.step-description {
    font-size: 17px;
    font-weight: 300;
    letter-spacing: 0.2px;
    line-height: 1.5;
    color: #666666;
    margin: 0;
}

/* Sección Contacto */
.contacto-section {
    width: 100%;
    min-height: 100vh;
    padding: 100px 0 0 0;
    background-color: #ffffff;
}

.contacto-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

.contacto-title {
    font-size: 62px;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #000000;
    margin: 0 0 80px 0;
    line-height: 1.3;
}

.contacto-title-indent {
    display: inline-block;
    margin-left: 40px;
}

.contacto-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1000px;
}

.contacto-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contacto-label {
    font-size: 23px;
    font-weight: 400;
    letter-spacing: 1px;
    color: #000000;
    text-transform: uppercase;
}

.contacto-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contacto-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contacto-icon svg {
    width: 24px;
    height: 24px;
}

.contacto-info {
    flex: 1;
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 15px 20px;
}

.contacto-info p {
    font-size: 21px;
    font-weight: 400;
    color: #000000;
    margin: 0;
    line-height: 1.5;
}

/* Sección Mapa */
.mapa-section {
    width: 100%;
    padding: 0 0 100px 0;
    background-color: #ffffff;
    margin-top: 0;
}

.mapa-container {
    width: 100%;
    max-width: 100%;
    height: 500px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.google-map {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Sección Formulario de Contacto */
.formulario-section {
    width: 100%;
    padding: 100px 0;
    background-color: #f5f5f5;
}

.formulario-container {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    box-sizing: border-box;
}

.contacto-form {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group-full {
    grid-column: 1 / -1;
    margin-bottom: 40px;
}

.form-label {
    font-size: 23px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #333333;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.form-input {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 2px solid #000000;
    background-color: transparent;
    font-size: 21px;
    font-weight: 400;
    color: #000000;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    border-bottom-color: #666666;
}

.form-textarea {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 2px solid #000000;
    background-color: transparent;
    font-size: 21px;
    font-weight: 400;
    color: #000000;
    outline: none;
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-textarea:focus {
    border-bottom-color: #666666;
}

.form-submit {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.submit-button {
    padding: 15px 60px;
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #000000;
    border-radius: 4px;
    font-size: 21px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: #000000;
    color: #ffffff;
}

/* Footer con formas de pago y redes sociales */
.footer-section {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.footer-payment {
    width: 100%;
    padding: 60px 0;
    background-color: #ffffff;
}

.footer-payment-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.payment-text {
    font-size: 21px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #000000;
    text-align: center;
    margin: 0;
    line-height: 1.6;
}

.payment-logos {
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-image {
    height: 120px;
    width: auto;
    display: block;
}

.footer-social {
    width: 100%;
    padding: 60px 0;
    background-color: #000000;
}

.footer-social-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-icons {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.social-icon:hover {
    opacity: 0.7;
}

.social-img {
    width: 40px;
    height: 40px;
    display: block;
}

.section {
    min-height: 100vh;
    padding: 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    font-size: 47px;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.section p {
    font-size: 21px;
    font-weight: 300;
    line-height: 1.8;
}

/* Responsive - Tablets grandes */
@media (max-width: 1024px) {
    .header-container {
        padding: 0 30px;
    }

    .nosotros-container {
        padding: 0 30px;
    }

    .servicios-carousel {
        padding: 0 30px;
    }

    .alcance-container {
        padding: 0 30px;
    }

    .proceso-container {
        padding: 0 30px;
    }

    .contacto-container {
        padding: 0 30px;
    }

    .formulario-container {
        padding: 0 30px;
    }

    .mapa-container {
        padding: 0 30px;
    }

    .footer-payment-container,
    .footer-social-container {
        padding: 0 30px;
    }

    .alcance-header {
        flex-direction: row;
        gap: 30px;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
    }

    .mapa-mexico {
        flex: 0 0 45%;
        max-width: 45%;
        display: flex;
        justify-content: center;
    }

    .mapa-img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .alcance-title {
        flex: 1 1 50%;
        min-width: 250px;
        text-align: left;
        font-size: 42px;
        max-width: 50%;
    }
}

/* Responsive - Tablets y móviles */
@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
        flex-direction: column;
        gap: 20px;
    }

    .header.scrolled .header-container {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 15px;
    }

    .logo-container {
        position: relative;
        left: 0;
        transform: translateX(0);
    }

    .header.scrolled .logo-container {
        position: relative;
    }

    .logo-image {
        height: 80px;
    }

    .header.scrolled .logo-image {
        height: 35px;
    }

    .header.scrolled .nav-menu {
        gap: 15px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .logo-title {
        font-size: 47px;
    }

    .logo-subtitle {
        font-size: 21px;
    }

    .main-content {
        margin-top: 250px;
    }

    .nosotros-section {
        padding: 60px 0;
    }

    .nosotros-container {
        padding: 0 20px;
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .nosotros-title {
        font-size: 47px;
    }

    .nosotros-intro {
        max-width: 100%;
        font-size: 21px;
    }

    .nosotros-image {
        min-height: 400px;
        order: -1;
    }

    .servicios-section {
        padding: 60px 0;
    }

    .servicios-title {
        font-size: 42px;
        margin-bottom: 40px;
    }

    .servicios-carousel {
        flex-direction: column;
        height: auto;
        gap: 0;
        padding: 0 20px;
    }

    .servicio-item {
        flex: 1;
        min-height: 200px;
        border-right: none;
        border-bottom: 1px solid #000000;
    }

    .servicio-item:last-child {
        border-bottom: none;
    }

    .servicio-item.active {
        flex: 1;
        min-height: 400px;
    }

    .servicio-title-vertical {
        min-height: 200px;
    }

    .servicio-title-text {
        writing-mode: horizontal-tb;
        transform: rotate(0deg);
        font-size: 21px;
        word-wrap: normal;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }

    .servicio-overlay {
        opacity: 1;
        transform: translateY(0);
        padding: 30px 20px;
    }

    .servicio-title {
        font-size: 23px;
        word-wrap: normal;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }

    .hero-section {
        height: 80vh;
    }

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

    .hero-subtitle {
        font-size: 23px;
        letter-spacing: 2px;
    }

    .hero-title {
        font-size: 47px;
        letter-spacing: 2px;
    }

    .hero-button {
        padding: 12px 30px;
        font-size: 21px;
    }

    .luxury-section {
        height: 80vh;
    }

    .luxury-content {
        padding: 0 20px;
        gap: 0;
    }

    .luxury-subtitle {
        font-size: 23px;
        letter-spacing: 2px;
    }

    .luxury-title {
        font-size: 47px;
        letter-spacing: 2px;
    }

    .luxury-button {
        padding: 12px 30px;
        font-size: 21px;
    }

    .alcance-section {
        padding: 60px 0;
    }

    .alcance-container {
        padding: 0 20px;
    }

    .alcance-header {
        flex-direction: row;
        gap: 20px;
        margin-bottom: 50px;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }

    .mapa-mexico {
        flex: 0 0 45%;
        max-width: 45%;
        display: flex;
        justify-content: center;
    }

    .mapa-img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    
    .alcance-title {
        text-align: left;
        font-size: 31px;
        letter-spacing: 2px;
        padding-top: 0;
        flex: 1 1 50%;
        max-width: 50%;
        min-width: 200px;
        word-wrap: normal;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
        white-space: normal;
    }
    
    .feature-card {
        padding: 0 20px;
    }
    
    .feature-card:not(:last-child)::after {
        display: none;
    }

    .alcance-features {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-card {
        gap: 20px;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
    }

    .feature-text {
        font-size: 23px;
    }

    .proceso-section {
        padding: 60px 0;
    }

    .proceso-container {
        padding: 0 20px;
    }

    .proceso-title {
        font-size: 47px;
    }

    .proceso-subtitle {
        font-size: 23px;
        margin-bottom: 50px;
    }

    .proceso-timeline {
        flex-direction: column;
        padding: 40px 0;
        gap: 0;
        align-items: stretch;
        position: relative;
    }

    .timeline-line-container {
        display: none !important;
    }

    .timeline-line {
        display: none !important;
    }

    .timeline-arrow {
        display: none !important;
    }

    .proceso-step {
        width: 100%;
        max-width: 100%;
        min-height: auto !important;
        position: relative !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 20px;
        padding: 30px 0;
        border-bottom: 1px solid #e0e0e0;
        flex: none !important;
    }

    .proceso-step:last-child {
        border-bottom: none;
    }

    /* Ocultar todos los SVG y conectores */
    .proceso-step svg,
    .step-connector,
    .proceso-step .step-connector,
    .proceso-step > svg {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        position: absolute !important;
        left: -9999px !important;
    }

    .step-marker {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        margin: 0 !important;
        flex-shrink: 0;
        width: 24px;
        height: 24px;
        margin-top: 5px;
        order: 1;
    }

    .step-content {
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important;
        flex: 1;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        order: 2;
    }

    /* Resetear todos los estilos específicos de pasos */
    .step-1 .step-content,
    .step-2 .step-content,
    .step-3 .step-content,
    .step-4 .step-content,
    .step-5 .step-content {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        margin: 0 !important;
    }

    .step-1 .step-marker,
    .step-2 .step-marker,
    .step-3 .step-marker,
    .step-4 .step-marker,
    .step-5 .step-marker {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
    }

    .step-title {
        font-size: 23px;
        margin-bottom: 10px;
        margin-top: 0;
    }

    .step-description {
        font-size: 23px;
        margin: 0;
    }

    .contacto-section {
        padding: 60px 0;
    }

    .contacto-container {
        padding: 0 20px;
    }

    .contacto-title {
        font-size: 42px;
        letter-spacing: 2px;
        margin-bottom: 50px;
    }

    .contacto-title-indent {
        margin-left: 20px;
    }

    .contacto-items {
        gap: 25px;
    }

    .contacto-label {
        font-size: 21px;
    }

    .contacto-icon {
        width: 45px;
        height: 45px;
    }

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

    .contacto-info {
        padding: 12px 15px;
    }

    .contacto-info p {
        font-size: 23px;
    }

    .formulario-section {
        padding: 60px 0;
    }

    .formulario-container {
        padding: 0 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }

    .form-group-full {
        margin-bottom: 30px;
    }

    .form-submit {
        margin-top: 40px;
    }

    .submit-button {
        padding: 12px 50px;
        font-size: 23px;
    }

    .footer-payment {
        padding: 40px 0;
    }

    .footer-payment-container {
        padding: 0 20px;
        gap: 30px;
    }

    .payment-text {
        font-size: 23px;
    }

    .payment-image {
        height: 80px;
    }

    .footer-social {
        padding: 40px 0;
    }

    .footer-social-container {
        padding: 0 20px;
    }

    .social-icons {
        gap: 30px;
    }

    .social-img {
        width: 35px;
        height: 35px;
    }

    .image-gallery-section {
        height: 70vh;
    }

    .header {
        padding: 20px 0 40px 0;
    }

    .header.scrolled {
        padding: 15px 0;
    }

    .main-content {
        margin-top: 200px;
    }

    body.scrolled .main-content {
        margin-top: 100px;
    }
}

/* Responsive - Móviles pequeños */
@media (max-width: 480px) {
    .header-container {
        padding: 0 15px;
    }

    .header.scrolled .header-container {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    .nav-menu {
        gap: 15px;
        font-size: 12px;
    }

    .nav-link {
        font-size: 12px;
    }

    .logo-title {
        font-size: 36px;
    }

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

    .logo-image {
        height: 60px;
    }

    .header.scrolled .logo-image {
        height: 30px;
    }

    .header.scrolled .nav-menu {
        gap: 10px;
    }

    .header.scrolled .nav-link {
        font-size: 11px;
    }

    .header.scrolled .logo-title {
        font-size: 28px;
    }

    .header.scrolled .logo-subtitle {
        font-size: 10px;
    }

    .main-content {
        margin-top: 180px;
    }

    .nosotros-section {
        padding: 40px 0;
    }

    .nosotros-container {
        padding: 0 15px;
        gap: 30px;
    }

    .nosotros-title {
        font-size: 36px;
        margin-bottom: 30px;
    }

    .nosotros-intro {
        font-size: 18px;
        margin-bottom: 40px;
    }

    .nosotros-image {
        min-height: 300px;
    }

    .feature-title {
        font-size: 18px;
    }

    .feature-description {
        font-size: 18px;
    }

    .servicios-section {
        padding: 40px 0;
    }

    .servicios-title {
        font-size: 36px;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .servicios-carousel {
        padding: 0 15px;
    }

    .servicio-item {
        min-height: 150px;
    }

    .servicio-item.active {
        min-height: 300px;
    }

    .servicio-title-vertical {
        min-height: 150px;
    }

    .servicio-title-text {
        font-size: 18px;
        word-wrap: normal;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }

    .servicio-title {
        font-size: 20px;
        word-wrap: normal;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }

    .servicio-overlay {
        padding: 20px 15px;
    }

    .hero-section {
        height: 70vh;
    }

    .hero-content {
        padding: 0 15px;
        gap: 0;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-button {
        padding: 10px 25px;
        font-size: 16px;
    }

    .luxury-section {
        height: 70vh;
    }

    .luxury-content {
        padding: 0 15px;
        gap: 0;
    }

    .luxury-subtitle {
        font-size: 18px;
    }

    .luxury-title {
        font-size: 36px;
    }

    .luxury-button {
        padding: 10px 25px;
        font-size: 16px;
    }

    .alcance-section {
        padding: 40px 0;
    }

    .alcance-container {
        padding: 0 15px;
    }

    .alcance-header {
        flex-direction: row;
        gap: 15px;
        margin-bottom: 40px;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }

    .mapa-mexico {
        flex: 0 0 40%;
        max-width: 40%;
        display: flex;
        justify-content: center;
    }

    .mapa-img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .alcance-title {
        font-size: 20px;
        text-align: left;
        flex: 1 1 55%;
        max-width: 55%;
        min-width: 180px;
        padding: 0;
        line-height: 1.4;
        letter-spacing: 1px;
        word-wrap: normal;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
        white-space: normal;
    }

    .feature-text {
        font-size: 18px;
    }

    .proceso-section {
        padding: 40px 0;
    }

    .proceso-container {
        padding: 0 15px;
    }

    .proceso-title {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .proceso-subtitle {
        font-size: 18px;
        margin-bottom: 40px;
    }

    .proceso-timeline {
        padding: 30px 0;
        gap: 0;
        align-items: stretch;
    }

    .proceso-step {
        padding: 25px 0;
        gap: 15px;
        display: flex !important;
        flex-direction: row !important;
    }

    /* Asegurar que todos los SVG estén ocultos en móviles pequeños */
    .proceso-step svg,
    .step-connector,
    .proceso-step .step-connector {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
    }

    .step-marker {
        width: 20px;
        height: 20px;
        margin-top: 3px;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
    }

    .step-content {
        text-align: left !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
    }

    .step-title {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .step-description {
        font-size: 18px;
    }

    .contacto-section {
        padding: 40px 0;
    }

    .contacto-container {
        padding: 0 15px;
    }

    .contacto-title {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .contacto-title-indent {
        margin-left: 15px;
    }

    .contacto-label {
        font-size: 18px;
    }

    .contacto-info p {
        font-size: 18px;
    }

    .formulario-section {
        padding: 40px 0;
    }

    .formulario-container {
        padding: 0 15px;
    }

    .form-label {
        font-size: 16px;
    }

    .form-input,
    .form-textarea {
        font-size: 18px;
    }

    .submit-button {
        padding: 10px 40px;
        font-size: 18px;
    }

    .footer-payment {
        padding: 30px 0;
    }

    .footer-payment-container {
        padding: 0 15px;
        gap: 20px;
    }

    .payment-image {
        height: 60px;
    }

    .footer-social {
        padding: 30px 0;
    }

    .footer-social-container {
        padding: 0 15px;
    }

    .social-icons {
        gap: 20px;
    }

    .social-img {
        width: 30px;
        height: 30px;
    }

    .image-gallery-section {
        height: 60vh;
    }

    .mapa-container {
        padding: 0 15px;
        height: 400px;
    }
}

/* Botón flotante de WhatsApp */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #ffffff;
}

.whatsapp-button:hover {
    background-color: #20BA5A;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-button svg {
    width: 32px;
    height: 32px;
}

/* Responsive para botón de WhatsApp */
@media (max-width: 768px) {
    .whatsapp-button {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-button svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .whatsapp-button {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-button svg {
        width: 24px;
        height: 24px;
    }
}
