/* ==========================================================================
   LOTES BUENOS AIRES - PREMIUM V2
   ========================================================================== */

/* ===== Variables ===== */
:root {
    /* Colors */
    --green-900: #14532D;
    --green-800: #166534;
    --green-700: #15803D;
    --green-600: #16A34A;
    --green-100: #DCFCE7;
    --green-50: #F0FDF4;

    --gray-900: #111827;
    --gray-800: #1F2937;
    --gray-700: #374151;
    --gray-600: #4B5563;
    --gray-500: #6B7280;
    --gray-400: #9CA3AF;
    --gray-300: #D1D5DB;
    --gray-200: #E5E7EB;
    --gray-100: #F3F4F6;
    --gray-50: #F9FAFB;

    --white: #FFFFFF;
    --black: #000000;

    --whatsapp: #25D366;
    --whatsapp-dark: #128C7E;

    /* Typography */
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-gap: 6rem;

    /* Effects */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition: 0.2s ease;
}

/* ===== Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

/* ===== Utilities ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-500);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: var(--white);
}

.btn-whatsapp:hover {
    background: var(--whatsapp-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--green-700);
    border: 2px solid var(--green-700);
}

.btn-outline:hover {
    background: var(--green-700);
    color: var(--white);
}

.btn-light {
    background: var(--white);
    color: var(--gray-900);
}

.btn-light:hover {
    background: var(--gray-100);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

/* ===== Announcement Bar ===== */
.announcement-bar {
    background: var(--green-800);
    color: var(--white);
    padding: 10px 0;
    text-align: center;
    font-size: 0.9rem;
}

.announcement-bar strong {
    color: var(--green-100);
}

/* ===== Header ===== */
.header {
    position: sticky;
    top: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--gray-900);
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: color var(--transition);
}

.nav-link:hover {
    color: var(--green-700);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--green-700);
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.header-cta:hover {
    background: var(--green-800);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    max-height: 700px;
    display: flex;
    align-items: flex-end;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-bottom: 4rem;
    color: var(--white);
}

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-desc {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 500px;
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ===== Trust Bar ===== */
.trust-bar {
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    padding: 20px 0;
}

.trust-items {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-700);
}

.trust-item svg {
    color: var(--green-600);
}

/* ===== Property Section ===== */
.property-section {
    padding: var(--section-gap) 0;
}

.property-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.property-gallery {
    position: sticky;
    top: 100px;
}

.gallery-main {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 12px;
}

.gallery-main img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.gallery-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--gray-900);
    box-shadow: var(--shadow-md);
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
}

.thumb {
    flex: 1;
    padding: 0;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition);
    background: none;
}

.thumb img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.thumb:hover,
.thumb.active {
    border-color: var(--green-600);
}

/* Property Info */
.property-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--green-100);
    color: var(--green-800);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 12px;
}

.property-info h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gray-500);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.property-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.spec-item {
    text-align: center;
}

.spec-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
}

.spec-label {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.property-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--gray-700);
}

.feature svg {
    color: var(--green-600);
    flex-shrink: 0;
}

/* Pricing Box */
.pricing-box {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.pricing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-200);
}

.pricing-label {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.pricing-amount {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
}

.pricing-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.option {
    position: relative;
    padding: 16px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all var(--transition);
}

.option:hover {
    border-color: var(--green-600);
}

.option.featured {
    background: var(--green-50);
    border-color: var(--green-600);
}

.option-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 2px 10px;
    background: var(--green-600);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 50px;
    white-space: nowrap;
}

.option-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.option-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--green-700);
}

.option-price small {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-500);
}

.option-detail {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 4px;
}

.pricing-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.property-cta {
    display: flex;
    gap: 12px;
}

.property-cta .btn {
    flex: 1;
}

/* ===== Process Section ===== */
.process-section {
    padding: var(--section-gap) 0;
    background: var(--gray-50);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.step {
    text-align: center;
}

.step-number {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-700);
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50%;
}

.step h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.step p {
    font-size: 0.95rem;
    color: var(--gray-600);
}

/* ===== Location Section ===== */
.location-section {
    padding: var(--section-gap) 0;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.location-info h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.location-desc {
    color: var(--gray-600);
    margin-bottom: 24px;
}

.location-times {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
}

.time-item {
    padding: 16px 20px;
    background: var(--green-50);
    border-radius: var(--radius-md);
    text-align: center;
}

.time-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green-700);
}

.time-label {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.location-nearby h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.location-nearby li {
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-200);
    color: var(--gray-600);
}

.location-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 400px;
    box-shadow: var(--shadow-lg);
}

.location-map iframe {
    width: 100%;
    height: 100%;
}

/* ===== Testimonials ===== */
.testimonials-section {
    padding: var(--section-gap) 0;
    background: var(--gray-50);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.testimonial-content p {
    font-size: 1rem;
    color: var(--gray-700);
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--green-100);
    color: var(--green-700);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-info strong {
    display: block;
    font-size: 0.95rem;
    color: var(--gray-900);
}

.author-info span {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ===== FAQ Section ===== */
.faq-section {
    padding: var(--section-gap) 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.faq-item summary {
    padding: 20px 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gray-900);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--gray-400);
    transition: transform var(--transition);
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 0 0 20px;
    color: var(--gray-600);
}

/* ===== About Section ===== */
.about-section {
    padding: var(--section-gap) 0;
    background: var(--gray-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-content h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.about-content p {
    color: var(--gray-600);
    margin-bottom: 12px;
}

.about-stats {
    display: flex;
    gap: 32px;
    margin-top: 32px;
}

.about-stat {
    text-align: center;
}

.about-stat .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--green-700);
}

.about-stat .stat-label {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

/* ===== Final CTA ===== */
.final-cta {
    padding: var(--section-gap) 0;
    background: var(--green-800);
    color: var(--white);
    text-align: center;
}

.final-cta h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.final-cta>p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.cta-phones {
    font-size: 0.95rem;
    opacity: 0.8;
}

.cta-phones a {
    color: inherit;
    text-decoration: underline;
}

/* ===== Footer ===== */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 48px 0 24px;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 32px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    max-width: 280px;
}

.footer-links a,
.footer-contact a,
.footer-contact span {
    display: block;
    margin-bottom: 8px;
    transition: color var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--gray-800);
    text-align: center;
    font-size: 0.85rem;
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {

    .property-grid,
    .location-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .property-gallery {
        position: static;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-gap: 4rem;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px 24px;
        border-top: 1px solid var(--gray-200);
        box-shadow: var(--shadow-lg);
    }

    .nav.active {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        height: 60vh;
        min-height: 400px;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .trust-items {
        gap: 24px;
    }

    .trust-item span {
        display: none;
    }

    .property-specs,
    .pricing-options,
    .property-features {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .location-times {
        flex-direction: column;
    }

    .about-stats {
        flex-direction: column;
        gap: 16px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        max-width: 100%;
    }
}