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

:root {
    --green-dark: #1a3a28;
    --green: #2D5A3D;
    --green-light: #3d7a54;
    --green-pale: #e8f5ec;
    --green-xpale: #f2f9f3;
    --cream: #F5F0E8;
    --cream-light: #FAFAF7;
    --cream-dark: #E8E0D0;
    --text: #1a2e22;
    --text-muted: #5a7a64;
    --text-light: #8aa896;
    --white: #FFFFFF;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 4px 24px rgba(26, 58, 40, 0.08);
    --shadow-lg: 0 12px 48px rgba(26, 58, 40, 0.12);
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    color: var(--text);
    background: var(--cream-light);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.15;
    color: var(--green-dark);
}

em { font-style: italic; }

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

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

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

/* ── Layout ── */
.layout {
    display: flex;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    margin-left: 240px;
    min-height: 100vh;
}

/* ── Side Navigation ── */
.side-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 240px;
    height: 100vh;
    background: var(--green-dark);
    color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    overflow-y: auto;
}

.nav-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 40px 28px;
    width: 100%;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--cream);
    text-align: center;
    transition: var(--transition);
}

.nav-logo:hover { color: var(--cream); }

.nav-logo span {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.nav-logo em {
    font-style: italic;
    font-weight: 400;
    opacity: 0.8;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.nav-links li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: rgba(245, 240, 232, 0.6);
    transition: var(--transition);
}

.nav-links li a span {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.5;
    min-width: 22px;
}

.nav-links li a:hover,
.nav-links li a.active {
    background: rgba(245, 240, 232, 0.1);
    color: var(--cream);
}

.nav-links li a.active { color: var(--cream); }

.nav-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding-top: 20px;
    border-top: 1px solid rgba(245, 240, 232, 0.15);
}

.nav-phone, .nav-email {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(245, 240, 232, 0.5);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-phone:hover, .nav-email:hover {
    background: rgba(245, 240, 232, 0.08);
    color: rgba(245, 240, 232, 0.85);
}

/* ── Progress Bar ── */
.progress-bar {
    position: fixed;
    top: 0;
    left: 240px;
    right: 0;
    height: 3px;
    background: transparent;
    z-index: 90;
}

.progress-bar::after {
    content: '';
    display: block;
    height: 100%;
    width: var(--scroll, 0%);
    background: linear-gradient(90deg, var(--green), var(--green-light));
    transition: width 0.1s linear;
}

/* ── Sections ── */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-light);
    margin-bottom: 16px;
    position: relative;
    padding: 0 16px;
}

.section-tag::before, .section-tag::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 24px;
    height: 1px;
    background: var(--green-light);
    opacity: 0.4;
}

.section-tag::before { left: -8px; }
.section-tag::after { right: -8px; }

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.section-footer {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 48px;
    flex-wrap: wrap;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--green);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(45, 90, 61, 0.3);
}

.btn-primary:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 90, 61, 0.35);
}

.btn-ghost {
    background: transparent;
    color: var(--green);
    border: 1.5px solid var(--green);
}

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

.btn-full { width: 100%; }

/* ── Hero ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--cream-light) 0%, var(--green-xpale) 50%, var(--cream) 100%);
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(45, 90, 61, 0.04) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(45, 90, 61, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text { padding-right: 20px; }

.hero-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-light);
    background: var(--green-pale);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 28px;
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    margin-bottom: 24px;
    color: var(--green-dark);
}

.hero h1 em {
    color: var(--green);
    position: relative;
}

.hero h1 em::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 8px;
    background: rgba(45, 90, 61, 0.12);
    border-radius: 4px;
    z-index: -1;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 32px;
    align-items: center;
}

.stat-number {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--green);
    line-height: 1;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--cream-dark);
}

.hero-image {
    position: relative;
    height: 600px;
}

.hero-img-main {
    width: 100%;
    height: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-img-float {
    position: absolute;
    bottom: -20px;
    left: -40px;
    width: 260px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}

.hero-img-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.float-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--white);
    color: var(--green-dark);
    font-size: 0.78rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ── Servicios ── */
.servicios {
    background: var(--white);
}

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

.servicio-card {
    background: var(--cream-light);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.servicio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green), var(--green-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.servicio-card:hover {
    background: var(--white);
    border-color: rgba(45, 90, 61, 0.1);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.servicio-card:hover::before { transform: scaleX(1); }

.servicio-icon {
    width: 56px;
    height: 56px;
    background: var(--green-pale);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    margin-bottom: 20px;
    transition: var(--transition);
}

.servicio-card:hover .servicio-icon {
    background: var(--green);
    color: var(--white);
}

.servicio-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--green-dark);
}

.servicio-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 20px;
}

.servicio-link {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--green);
    transition: var(--transition);
}

.servicio-link:hover { color: var(--green-dark); }

/* ── Propiedades ── */
.propiedades {
    background: linear-gradient(180deg, var(--cream-light) 0%, var(--green-xpale) 100%);
}

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

.propiedad-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: block;
}

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

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

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

.propiedad-card:hover .propiedad-img img { transform: scale(1.06); }

.propiedad-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 5px 14px;
    border-radius: 50px;
    background: var(--white);
    color: var(--green-dark);
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.badge-venta { color: var(--green); }
.badge-alquiler { color: #b8860b; }

.propiedad-tag {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: var(--green-dark);
    color: var(--cream);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 5px 14px;
    border-radius: 50px;
}

.propiedad-info {
    padding: 20px 22px 24px;
}

.propiedad-info h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--green-dark);
    transition: var(--transition);
}

.propiedad-card:hover .propiedad-info h3 { color: var(--green); }

.propiedad-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.propiedad-details {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.propiedad-details span {
    font-size: 0.8rem;
    color: var(--text-light);
    background: var(--cream);
    padding: 4px 10px;
    border-radius: 50px;
}

/* ── Nosotros ── */
.nosotros {
    background: var(--white);
}

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

.nosotros-images {
    position: relative;
    height: 560px;
}

.nosotros-img-main {
    width: 75%;
    height: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.nosotros-img-accent {
    position: absolute;
    bottom: -20px;
    right: 0;
    width: 55%;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}

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

.nosotros-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    background: var(--green);
    color: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 500;
    box-shadow: var(--shadow);
}

.nosotros-content .section-tag { text-align: left; }

.nosotros-content h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin-bottom: 24px;
}

.nosotros-content > p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 16px;
}

.nosotros-values {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 36px;
}

.valor {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

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

.valor h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--green-dark);
    margin-bottom: 4px;
}

.valor p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ── Zona ── */
.zona {
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
    color: var(--cream);
}

.zona .section-tag { color: rgba(245, 240, 232, 0.6); }
.zona .section-tag::before,
.zona .section-tag::after { background: rgba(245, 240, 232, 0.3); }
.zona h2 { color: var(--cream); }
.zona .section-desc { color: rgba(245, 240, 232, 0.7); }

.zona-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.zona-text > p {
    font-size: 1rem;
    color: rgba(245, 240, 232, 0.75);
    line-height: 1.85;
    margin-bottom: 36px;
}

.zona-bars {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.zona-bar-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: rgba(245, 240, 232, 0.85);
}

.zona-bar-track {
    height: 6px;
    background: rgba(245, 240, 232, 0.15);
    border-radius: 3px;
    overflow: hidden;
}

.zona-bar-fill {
    height: 100%;
    width: var(--w);
    background: linear-gradient(90deg, var(--cream), rgba(245, 240, 232, 0.8));
    border-radius: 3px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.zona-images {
    position: relative;
    height: 480px;
}

.zona-img-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.zona-img-1 img, .zona-img-2 img, .zona-img-3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zona-img-2 {
    position: absolute;
    top: 40px;
    right: 0;
    width: 55%;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow);
    z-index: 1;
}

.zona-img-3 {
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 50%;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow);
    z-index: 3;
}

/* ── Contacto ── */
.contacto {
    background: var(--cream-light);
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contacto-info h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin-bottom: 20px;
}

.contacto-info > p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 40px;
}

.contacto-datos {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.dato {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.dato-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--green-pale);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
}

.dato strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--green-dark);
    margin-bottom: 4px;
}

.dato p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.dato a {
    color: var(--green);
    transition: var(--transition);
}

.dato a:hover { color: var(--green-dark); }

.contacto-form-wrap {
    background: var(--white);
    border-radius: var(--radius);
    padding: 44px;
    box-shadow: var(--shadow);
}

.contacto-form h3 {
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.form-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    padding: 12px 16px;
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    background: var(--cream-light);
    color: var(--text);
    transition: var(--transition);
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(45, 90, 61, 0.1);
}

.form-group textarea { resize: vertical; }

.form-privacy {
    font-size: 0.78rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 16px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success.show { display: block; }
.contacto-form.hide { display: none; }

.success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: var(--green-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.form-success p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

/* ── Footer ── */
.footer {
    background: var(--green-dark);
    color: var(--cream);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--cream);
}

.footer-brand p {
    font-size: 0.88rem;
    color: rgba(245, 240, 232, 0.6);
    line-height: 1.75;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 20px;
    letter-spacing: 0.04em;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links ul li a {
    font-size: 0.88rem;
    color: rgba(245, 240, 232, 0.55);
    transition: var(--transition);
}

.footer-links ul li a:hover { color: var(--cream); }

.footer-contact p {
    font-size: 0.88rem;
    color: rgba(245, 240, 232, 0.55);
    line-height: 1.8;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
}

.footer-contact a {
    color: rgba(245, 240, 232, 0.55);
    transition: var(--transition);
}

.footer-contact a:hover { color: var(--cream); }

.footer-bottom {
    border-top: 1px solid rgba(245, 240, 232, 0.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(245, 240, 232, 0.4);
}

/* ── Mobile Menu ── */
.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 200;
    width: 48px;
    height: 48px;
    background: var(--green-dark);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 12px;
    box-shadow: var(--shadow);
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--cream);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-btn.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }

.mobile-menu-btn.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26, 58, 40, 0.6);
    backdrop-filter: blur(4px);
    z-index: 149;
}

.mobile-overlay.show { display: block; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .side-nav { width: 200px; }
    .main-content { margin-left: 200px; }
    .progress-bar { left: 200px; }
    .hero-grid { gap: 40px; }
    .servicios-grid { grid-template-columns: repeat(2, 1fr); }
    .propiedades-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .side-nav {
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .side-nav.open { transform: translateX(0); }

    .main-content { margin-left: 0; }
    .progress-bar { left: 0; }

    .mobile-menu-btn { display: flex; }

    .section { padding: 72px 0; }

    .hero {
        min-height: auto;
        padding: 100px 0 80px;
    }

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

    .hero-image {
        display: none;
    }

    .hero-stats { gap: 20px; }

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

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

    .nosotros-grid,
    .zona-content,
    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .nosotros-images { height: 360px; }

    .zona-images { height: 320px; }

    .zona-img-1 { width: 55%; }
    .zona-img-2 { width: 50%; }
    .zona-img-3 { width: 45%; }

    .contacto-form-wrap { padding: 28px; }

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

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

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

@media (max-width: 480px) {
    .container { padding: 0 18px; }

    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; text-align: center; }

    .hero-stats { flex-direction: column; align-items: flex-start; gap: 16px; }
    .stat-divider { width: 40px; height: 1px; }

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

    .section-header { margin-bottom: 44px; }
}

/* ── Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }
