/* ================================================================
   PENICÓ URBANOS DESARROLLOS — Main Stylesheet
   ================================================================ */

/* ── CSS Variables ── */
:root {
    --olive: #8B9A3E;
    --olive-dark: #6B7830;
    --olive-light: #A8B85A;
    --cream: #F5F0E8;
    --cream-dark: #EAE3D2;
    --dark: #1A1A1A;
    --gray-900: #222222;
    --gray-700: #444444;
    --gray-500: #777777;
    --gray-300: #CCCCCC;
    --gray-100: #F2F2F2;
    --white: #FFFFFF;
    --font-sans: 'Montserrat', sans-serif;
    --font-serif: 'Cormorant Garamond', serif;
    --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.16);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--dark);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--dark);
    color: var(--white);
}

.section-cream {
    background: var(--cream);
}

/* ── Animations ── */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.revealed {
    opacity: 1 !important;
    transform: none !important;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.btn:hover::before {
    transform: translateX(0);
}

.btn-primary {
    background: var(--olive);
    color: var(--white);
    border-color: var(--olive);
}

.btn-primary:hover {
    background: var(--olive-dark);
    border-color: var(--olive-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 154, 62, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

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

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

.btn-outline-light:hover {
    border-color: var(--olive-light);
    color: var(--olive-light);
}

.btn-ghost {
    background: transparent;
    color: var(--olive);
    border-color: var(--olive);
}

.btn-ghost:hover {
    background: var(--olive);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ── Section Headers ── */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--olive);
    margin-bottom: 1rem;
    position: relative;
    padding: 0 1.5rem;
}

.section-label::before,
.section-label::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 32px;
    height: 1px;
    background: var(--olive);
}

.section-label::before {
    right: 100%;
    margin-right: -1.5rem;
}

.section-label::after {
    left: 100%;
    margin-left: -1.5rem;
}

.section-dark .section-label {
    color: var(--olive-light);
}

.section-dark .section-label::before,
.section-dark .section-label::after {
    background: var(--olive-light);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--dark);
}

.section-dark .section-title {
    color: var(--white);
}

.section-cream .section-title {
    color: var(--dark);
}

.section-title em {
    color: var(--olive);
    font-style: italic;
}

.section-dark .section-title em {
    color: var(--olive-light);
}

.section-subtitle {
    max-width: 640px;
    margin: 1.5rem auto 0;
    color: var(--gray-500);
    font-size: 1rem;
}

.section-dark .section-subtitle {
    color: var(--gray-300);
}

/* ================================================================
   NAVBAR
   ================================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(26, 26, 26, 0.96);
    backdrop-filter: blur(20px);
    padding: 0.75rem 0;
    box-shadow: 0 2px 40px rgba(0, 0, 0, 0.25);
}

.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: block;
}

.logo-img {
    height: 52px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.5));
    transition: height var(--transition);
    border-radius: 4px;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    transition: color var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--olive-light);
    transition: width var(--transition);
}

.nav-link:hover {
    color: var(--white);
}

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

.nav-cta {
    background: var(--olive);
    color: var(--white) !important;
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius-sm);
    letter-spacing: 0.08em;
}

.nav-cta:hover {
    background: var(--olive-dark);
}

.nav-cta::after {
    display: none;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transform: scale(1.05);
    transition: transform 8s ease;
}

.hero-bg.loaded {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(26, 26, 26, 0.85) 0%,
            rgba(26, 26, 26, 0.6) 50%,
            rgba(139, 154, 62, 0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
    padding-top: 100px;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--olive-light);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 500;
    color: var(--white);
    line-height: 0.95;
    margin-bottom: 2rem;
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

.hero-title .accent-line {
    color: var(--olive-light);
    font-style: italic;
}

.hero-subtitle {
    max-width: 540px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    z-index: 2;
    animation: float 2s ease-in-out infinite;
}

.hero-scroll-indicator span {
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    writing-mode: horizontal-tb;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(1);
    }

    50% {
        opacity: 1;
        transform: scaleY(0.5);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-8px);
    }
}

.hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.75rem 2rem;
    gap: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.stat-num {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--olive-light);
    line-height: 1;
}

.stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.12);
}

/* ================================================================
   NOSOTROS
   ================================================================ */
.nosotros-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.nosotros-intro {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.nosotros-text p {
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.nosotros-values {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.value-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--cream);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--olive);
}

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

.value-item h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.value-item p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin: 0;
}

/* Team cards */
.nosotros-team {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
}

.team-card {
    background: var(--cream);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    transition: all var(--transition);
    border: 1px solid transparent;
}

.team-card:hover {
    border-color: var(--olive);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.team-avatar {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--olive-light);
}

.avatar-icon {
    width: 28px;
    height: 28px;
}

.team-info h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
}

.team-title {
    font-size: 0.8rem;
    color: var(--olive);
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.team-desc {
    font-size: 0.85rem;
    color: var(--gray-700);
}

.team-image-bg {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    height: 180px;
}

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

.team-image-bg:hover img {
    transform: scale(1.05);
}

.team-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
}

.team-image-overlay span {
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ================================================================
   PROYECTOS
   ================================================================ */
.proyecto-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.proyecto-featured-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.proyecto-featured-image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.proyecto-featured-image:hover img {
    transform: scale(1.03);
}

.proyecto-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--olive);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border-radius: 100px;
}

.proyecto-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--olive-light);
    margin-bottom: 1rem;
}

.proyecto-location svg {
    width: 14px;
    height: 14px;
}

.proyecto-name {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.proyecto-name span {
    display: block;
    font-weight: 300;
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.55);
}

.proyecto-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.8;
}

.proyecto-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 2rem;
}

.proyecto-stat {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    transition: background var(--transition);
}

.proyecto-stat:hover {
    background: rgba(139, 154, 62, 0.2);
}

.pstat-num {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--olive-light);
}

.pstat-label {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    text-align: center;
}

.proyecto-amenities {
    margin-bottom: 2rem;
}

.proyecto-amenities h4 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 1rem;
}

.amenities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.amenity-tag {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.06);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--transition);
}

.amenity-tag:hover {
    background: rgba(139, 154, 62, 0.15);
    border-color: var(--olive);
    color: var(--white);
}

.amenity-tag svg {
    width: 14px;
    height: 14px;
    min-width: 14px;
    color: var(--olive-light);
}

.proyecto-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Proyectos coming */
.proyectos-coming {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 64px;
}

.coming-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    text-align: center;
    transition: all var(--transition);
}

.coming-card:hover {
    background: rgba(139, 154, 62, 0.1);
    border-color: rgba(139, 154, 62, 0.3);
    transform: translateY(-4px);
}

.coming-icon {
    width: 56px;
    height: 56px;
    background: rgba(139, 154, 62, 0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--olive-light);
    margin: 0 auto 1.25rem;
}

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

.coming-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.coming-card p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* ================================================================
   GALLERY
   ================================================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 64px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: pointer;
}

.gallery-large {
    grid-row: 1 / 3;
}

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

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

.gallery-large img {
    height: 480px;
}

.gallery-item:not(.gallery-large) img {
    height: 232px;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transform: translateY(100%);
    transition: transform var(--transition);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Ubicación */
.ubicacion-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 3rem;
}

.ubicacion-info h3 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.ubicacion-address {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    font-size: 0.875rem;
    color: var(--gray-700);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.ubicacion-address svg {
    width: 16px;
    height: 16px;
    min-width: 16px;
    color: var(--olive);
    margin-top: 2px;
}

.ubicacion-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ubicacion-highlights li {
    font-size: 0.875rem;
    color: var(--gray-700);
    padding-left: 1.25rem;
    position: relative;
}

.ubicacion-highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--olive);
}

.mapa-placeholder {
    background: var(--cream-dark);
    border-radius: var(--radius-md);
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--olive);
    transition: all var(--transition);
}

.mapa-placeholder:hover {
    background: rgba(139, 154, 62, 0.08);
}

.mapa-inner {
    text-align: center;
    color: var(--gray-500);
}

.mapa-inner svg {
    width: 36px;
    height: 36px;
    color: var(--olive);
    margin: 0 auto 0.75rem;
}

.mapa-inner p {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
}

.mapa-inner span {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* ================================================================
   PROCESO
   ================================================================ */
.proceso-timeline {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 3rem;
    align-items: start;
}

.proceso-step {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--olive);
    transition: transform var(--transition), box-shadow var(--transition);
}

.proceso-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.proceso-step-num {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 300;
    color: var(--olive);
    opacity: 0.25;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.proceso-duration {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--olive);
    margin-bottom: 0.75rem;
    background: rgba(139, 154, 62, 0.1);
    display: inline-block;
    padding: 0.3rem 0.75rem;
    border-radius: 100px;
}

.proceso-step h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 1rem;
}

.proceso-desc {
    color: var(--gray-700);
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

.proceso-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.proceso-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--gray-700);
}

.proceso-list li svg {
    width: 16px;
    height: 16px;
    min-width: 16px;
    color: var(--olive);
    margin-top: 2px;
}

.proceso-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-top: 4rem;
}

.connector-line {
    width: 2px;
    height: 80px;
    background: linear-gradient(to bottom, var(--olive), var(--olive-light));
}

.connector-total {
    background: var(--olive);
    color: var(--white);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    text-align: center;
    min-width: 80px;
}

.connector-total span {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1;
}

.connector-total small {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.8;
}

/* ================================================================
   CTA BANNER
   ================================================================ */
.cta-banner {
    position: relative;
    padding: 120px 0;
    text-align: center;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.88) 0%, rgba(139, 154, 62, 0.4) 100%);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 400;
    color: var(--white);
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.cta-content h2 em {
    color: var(--olive-light);
    font-style: italic;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    max-width: 540px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

/* ================================================================
   CONTACTO
   ================================================================ */
.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contacto-intro {
    color: var(--gray-700);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contacto-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contacto-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--cream);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    border: 1px solid transparent;
}

.contacto-card:hover {
    border-color: var(--olive);
    transform: translateX(4px);
}

.contacto-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--dark);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--olive-light);
}

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

.contacto-card-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 0.1rem;
}

.contacto-card-value {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
}

.contacto-social p {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--cream);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-700);
    transition: all var(--transition);
    border: 1px solid transparent;
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.social-link:hover {
    background: var(--olive);
    color: var(--white);
    border-color: var(--olive);
    transform: translateY(-3px);
}

/* Form */
.contacto-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--cream-dark);
}

.form-group {
    margin-bottom: 1.25rem;
    position: relative;
}

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

.form-row .form-group {
    margin-bottom: 0;
}

label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

input,
select,
textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--dark);
    background: var(--gray-100);
    transition: all var(--transition);
    outline: none;
    appearance: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--olive);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(139, 154, 62, 0.12);
}

input.error,
textarea.error {
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.12);
}

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

.field-error {
    display: none;
    font-size: 0.75rem;
    color: #e53e3e;
    margin-top: 0.35rem;
}

.field-error.visible {
    display: block;
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.btn-icon {
    width: 18px;
    height: 18px;
    transition: transform var(--transition);
}

.btn:hover .btn-icon {
    transform: translateX(3px);
}

.form-success {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(139, 154, 62, 0.1);
    border: 1px solid var(--olive);
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    margin-top: 1rem;
}

.form-success svg {
    width: 24px;
    height: 24px;
    color: var(--olive);
    min-width: 24px;
}

.form-success p {
    font-size: 0.9rem;
    color: var(--dark);
    font-weight: 500;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
    background: var(--gray-900);
    color: rgba(255, 255, 255, 0.6);
    padding-top: 64px;
}

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

.footer-logo {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
    margin-bottom: 1.25rem;
    border-radius: 4px;
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.7;
}

.footer-links h5,
.footer-proyectos h5,
.footer-contact h5 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.footer-links ul,
.footer-proyectos ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a,
.footer-proyectos a {
    font-size: 0.875rem;
    transition: color var(--transition);
}

.footer-links a:hover,
.footer-proyectos a:hover {
    color: var(--olive-light);
}

.footer-contact p {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-bottom p {
    font-size: 0.75rem;
}

/* ================================================================
   BACK TO TOP
   ================================================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--olive);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(16px);
    transition: all var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

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

.back-to-top:hover {
    background: var(--olive-dark);
    transform: translateY(-4px);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
    .nosotros-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .proyecto-featured {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .proyecto-featured-image img {
        height: 360px;
    }

    .proceso-timeline {
        grid-template-columns: 1fr;
    }

    .proceso-connector {
        flex-direction: row;
        padding-top: 0;
    }

    .connector-line {
        width: 60px;
        height: 2px;
    }

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

@media (max-width: 768px) {
    .section {
        padding: 72px 0;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--dark);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        z-index: 999;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .nav-hamburger {
        display: flex;
        z-index: 1000;
        position: relative;
    }

    .hero-title {
        font-size: clamp(2.8rem, 10vw, 4rem);
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .stat-divider {
        display: none;
    }

    .nosotros-grid,
    .proyecto-featured,
    .contacto-grid {
        grid-template-columns: 1fr;
    }

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

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

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .gallery-large {
        grid-row: auto;
    }

    .gallery-large img,
    .gallery-item img {
        height: 220px;
    }

    .ubicacion-block {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .proceso-timeline {
        grid-template-columns: 1fr;
    }

    .proceso-connector {
        display: none;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .contacto-form {
        padding: 1.75rem;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .proyecto-cta {
        flex-direction: column;
    }
}