
/* ===================================
   CSS RESET & BASE STYLES
   =================================== */

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

:root {
    --color-gold: #C9A962;
    --color-gold-dark: #B8963D;
    --color-black: #1A1A1A;
    --color-beige: #F5F1E8;
    --color-white: #FFFFFF;
    --color-gray-50: #F9FAFB;
    --color-gray-100: #F3F4F6;
    --color-gray-200: #E5E7EB;
    --color-gray-400: #9CA3AF;
    --color-text: #2D2D2D;
    --color-text-light: #6B6B6B;
    --color-green: #25D366;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

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

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ===================================
   LAYOUT
   =================================== */

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

.section {
    padding: 5rem 0;
}

@media (min-width: 1024px) {
    .section {
        padding: 7rem 0;
    }
}

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

.section-gray {
    background-color: var(--color-gray-50);
}

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

/* ===================================
   NAVBAR
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

.navbar-logo img {
    height: 3.5rem;
    width: 3.5rem;
    border-radius: 50%;
    object-fit: cover;
}

.navbar-links {
    display: none;
    gap: 2rem;
}

@media (min-width: 768px) {
    .navbar-links {
        display: flex;
    }
}

.navbar-link {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.025em;
    color: var(--color-text);
    transition: color 0.2s;
    position: relative;
}

.navbar:not(.scrolled) .navbar-link {
    color: var(--color-white);
}

.navbar-link:hover,
.navbar-link.active {
    color: var(--color-gold);
}

.btn-whatsapp-nav {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background-color: var(--color-gold);
    color: var(--color-white);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 9999px;
    transition: background-color 0.2s;
}

@media (min-width: 768px) {
    .btn-whatsapp-nav {
        display: inline-flex;
    }
}

.btn-whatsapp-nav:hover {
    background-color: var(--color-gold-dark);
}

.navbar-toggle {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    padding: 0.5rem;
    color: var(--color-text);
}

@media (min-width: 768px) {
    .navbar-toggle {
        display: none;
    }
}

.navbar:not(.scrolled) .navbar-toggle {
    color: var(--color-white);
}

.navbar-toggle span {
    width: 1.5rem;
    height: 2px;
    background-color: currentColor;
    transition: all 0.3s;
}

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

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

.navbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

@media (max-width: 767px) {
    .navbar-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 5rem;
        left: 0;
        right: 0;
        background-color: var(--color-white);
        padding: 1.5rem 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .navbar-links.active .navbar-link {
        color: var(--color-text);
        padding: 0.5rem 0;
    }
}

/* ===================================
   HERO
   =================================== */

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroZoom 1.5s ease-out;
}

@keyframes heroZoom {
    from {
        transform: scale(1.1);
    }
    to {
        transform: scale(1);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 56rem;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
    animation: heroFadeIn 0.8s ease-out 0.3s both;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

@media (min-width: 640px) {
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1.5rem;
    height: 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 9999px;
    display: flex;
    justify-content: center;
    padding-top: 0.5rem;
    animation: heroFadeIn 1s ease-out 1.2s both;
}

.scroll-indicator-dot {
    width: 0.375rem;
    height: 0.375rem;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: scrollBounce 1.5s infinite;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(8px);
    }
}

/* ===================================
   BUTTONS
   =================================== */

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background-color: var(--color-gold);
    color: var(--color-white);
    font-weight: 500;
    border-radius: 9999px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: var(--color-gold-dark);
}

.btn-primary svg {
    transition: transform 0.3s;
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    display: block;
    width: 100%;
    padding: 0.75rem;
    text-align: center;
    border: 2px solid var(--color-gold);
    color: var(--color-gold);
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: var(--color-gold);
    color: var(--color-white);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--color-white);
    font-weight: 500;
    border-radius: 9999px;
    transition: all 0.3s;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* ===================================
   ABOUT SECTION
   =================================== */

.about-content {
    max-width: 48rem;
    margin: 0 auto 4rem;
    text-align: center;
}

.section-title {
    font-size: 1.875rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
}

.about-text {
    font-size: 1.125rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

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

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    text-align: center;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: rgba(201, 169, 98, 0.1);
    border-radius: 50%;
    margin-bottom: 1.25rem;
    color: var(--color-gold);
}

.feature-title {
    font-size: 1.25rem;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--color-text-light);
}

/* ===================================
   SECTION HEADER
   =================================== */

.section-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .section-header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.section-subtitle {
    color: var(--color-text-light);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-gold);
    font-weight: 500;
    transition: gap 0.3s;
}

.link-arrow:hover {
    gap: 0.75rem;
}

/* ===================================
   PROPERTIES GRID
   =================================== */

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

@media (min-width: 768px) {
    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .properties-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.property-card {
    background-color: var(--color-white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-4px);
}

.property-image-wrapper {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

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

.property-card:hover .property-image {
    transform: scale(1.05);
}

.property-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.75rem;
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 9999px;
}

.badge-sale {
    background-color: var(--color-gold);
}

.badge-rent {
    background-color: var(--color-black);
}

.property-price-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 1rem;
}

.property-price {
    color: var(--color-white);
    font-size: 1.25rem;
    font-weight: 600;
}

.property-price-period {
    font-size: 0.875rem;
    font-weight: 400;
    opacity: 0.8;
}

.property-content {
    padding: 1.25rem;
}

.property-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.3s;
}

.property-card:hover .property-title {
    color: var(--color-gold);
}

.property-address {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--color-text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.property-address svg {
    flex-shrink: 0;
}

.property-features {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--color-text-light);
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
}

.property-feature {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

/* ===================================
   CTA SECTION
   =================================== */

.cta-content {
    max-width: 56rem;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.cta-title {
    font-size: 1.875rem;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .cta-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .cta-title {
        font-size: 3rem;
    }
}

.cta-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background-color: var(--color-black);
    color: var(--color-white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    height: 5rem;
    width: 5rem;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.institutional-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.institutional-logo {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
}

.footer-heading {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-link {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

.footer-link svg {
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.footer-link:hover {
    color: var(--color-gold);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.social-link:hover {
    background-color: var(--color-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0;
}

@media (min-width: 768px) {
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* ===================================
   WHATSAPP FLOATING BUTTON
   =================================== */

.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--color-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: var(--color-white);
    z-index: 40;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    background-color: #20BA5A;
    transform: scale(1.1);
}

/* ===================================
   PROPERTIES PAGE
   =================================== */

.properties-header {
    padding-top: 8rem;
    padding-bottom: 1rem;
    background-color: var(--color-white);
}

.properties-header-title {
    font-size: 1.875rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .properties-header-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .properties-header-title {
        font-size: 3rem;
    }
}

.properties-header-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
}

/* ===================================
   FILTERS
   =================================== */

.filters-card {
    background-color: var(--color-white);
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

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

@media (min-width: 1024px) {
    .filters-grid {
        grid-template-columns: repeat(5, 1fr);
        align-items: end;
    }
}

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

.filter-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.filter-select,
.filter-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-gray-200);
    border-radius: 0.5rem;
    color: var(--color-text);
    font-size: 0.875rem;
    transition: all 0.2s;
}

.filter-select:focus,
.filter-input:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.1);
}

.filter-input::placeholder {
    color: var(--color-gray-400);
}

.filter-input-wrapper {
    position: relative;
}

.filter-input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-gray-400);
}

.filter-input-with-icon {
    padding-left: 2.5rem;
}

.btn-clear-filters {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    color: var(--color-text-light);
    transition: color 0.2s;
}

.btn-clear-filters:hover {
    color: var(--color-text);
}

/* ===================================
   NO RESULTS
   =================================== */

.no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 4rem 1rem;
}

.no-results-icon {
    width: 5rem;
    height: 5rem;
    background-color: var(--color-gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--color-gray-400);
}

.no-results-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.no-results-text {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   RESPONSIVE UTILITIES
   =================================== */

@media (max-width: 767px) {
    .section {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }
}
.footer-made-by {
    margin-top: 10px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    text-align: center;
}

.footer-made-by a {
    color: inherit;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-made-by a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-made-by .heart {
    color: #e63946;
    margin: 0 2px;
}
.institutional-logos {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.institutional-image {
    height: 38px;
    width: auto;
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.institutional-image:hover {
    opacity: 1;
    transform: translateY(-2px);
}
/* Logos de instituciones / agencias (footer) */
.institutional-logos{
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 16px;
  max-width: 320px;           /* evita que se estire raro */
}

.institutional-image{
  height: 34px;               /* tamaño uniforme */
  width: auto;
  max-width: 140px;           /* frena logos gigantes tipo "Martilleros BA" */
  object-fit: contain;
  display: block;

  opacity: .9;
  filter: grayscale(100%) brightness(1.1); /* opcional: look más pro */
  transition: opacity .25s ease, transform .25s ease, filter .25s ease;
}

.institutional-image:hover{
  opacity: 1;
  transform: translateY(-2px);
  filter: grayscale(0%) brightness(1.05);
}

/* En mobile, que no explote */
@media (max-width: 520px){
  .institutional-logos{ max-width: 100%; }
  .institutional-image{
    height: 30px;
    max-width: 120px;
  }
}
/* =========================
   FOOTER FIX (desktop grid)
   Pegalo al final del styles.css
   ========================= */

/* Si tu .container quedó chico por otro css, esto lo normaliza */
.container{
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* Footer base */
.footer{
  width: 100%;
  background: #0f0f0f; /* ajustá si tu footer usa otro */
}

/* Grid real en escritorio */
.footer .footer-grid{
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 48px !important;
  align-items: start !important;
}

/* Columnas */
.footer .footer-column{
  min-width: 0;
}

/* Logos instituciones (PNG) */
.footer .institutional-logos{
  display: flex !important;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 14px;
}

.footer .institutional-image{
  height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.9;
  filter: grayscale(100%);
  transition: opacity .2s ease, filter .2s ease, transform .2s ease;
}

.footer .institutional-image:hover{
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-1px);
}

/* Footer bottom no debe apilar raro */
.footer .footer-bottom{
  width: 100%;
}

.footer .footer-bottom-content{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  justify-content: space-between;
}

/* Tablet: 2 columnas */
@media (max-width: 980px){
  .footer .footer-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 32px !important;
  }
}

/* Mobile: 1 columna */
@media (max-width: 560px){
  .footer .footer-grid{
    grid-template-columns: 1fr !important;
  }

  .footer .footer-bottom-content{
    flex-direction: column;
    align-items: flex-start;
  }
}
/* ===== CTA CALCULADORA (estilo hero oscuro) ===== */
.calc-cta {
  padding: 64px 0;
  background:
    radial-gradient(1200px 600px at 50% 0%, rgba(255,255,255,.06), transparent 55%),
    linear-gradient(180deg, #0f0f0f, #0a0a0a);
}

/* Card principal */
.calc-cta-card {
  background: rgba(255,255,255,.04);
  border-radius: 28px;
  padding: 44px 40px;
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(4px);
  box-shadow: 0 28px 80px rgba(0,0,0,.55);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

/* Texto */
.calc-cta-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.08;
  color: #ffffff;
  margin: 0 0 10px 0;
  letter-spacing: -0.02em;
}

.calc-cta-subtitle {
  font-family: "Inter", sans-serif;
  color: rgba(255,255,255,.72);
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  max-width: 54ch;
}

/* ===== BOTÓN DORADO (mismo color que WhatsApp) ===== */
.calc-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;

  background: #d2af5f;
  color: #111;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 14px;

  border: none;
  cursor: pointer;
  white-space: nowrap;

  box-shadow: 0 8px 20px rgba(210,175,95,.35);
  transition: background .2s ease, transform .15s ease, box-shadow .15s ease;
}

.calc-cta-btn:hover {
  background: #c6a24f;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(210,175,95,.45);
}

.calc-cta-btn:active {
  transform: translateY(0);
}

/* Flecha */
.calc-cta-arrow {
  transition: transform .25s ease;
}

/* Estado abierto */
.calc-cta-btn.is-open .calc-cta-arrow {
  transform: rotate(180deg);
}

/* ===== PANEL DESPLEGABLE ===== */
.calc-panel {
  background:
    radial-gradient(1200px 600px at 50% 0%, rgba(255,255,255,.04), transparent 55%),
    linear-gradient(180deg, #0f0f0f, #0a0a0a);

  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}

.calc-panel.is-open {
  grid-template-rows: 1fr;
}

.calc-panel > .container {
  overflow: hidden;
}

/* Card blanca interna */
.calc-wrapper {
  margin-top: 22px;
  background: #ffffff;
  border-radius: 24px;
  padding: 28px;
  border: 1px solid #e8e4da; /* beige del sitio */
  box-shadow: 0 22px 55px rgba(15,15,15,.08);
}

.calc-frame {
  margin-top: 18px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.calc-frame iframe {
  width: 100%;
  height: 650px;
  border: 0;
  display: block;
}

@media (max-width: 860px) {
  .calc-cta-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 22px;
  }

  .calc-cta-btn {
    width: 100%;
    justify-content: center;
  }
}
.calc-cta,
.calc-panel{
  background: #1A1A1A !important; 
}

.property-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 14px 0 18px;
}

.property-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #6b7280;
  text-align: center;
  line-height: 1.1;
}

.property-feature svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
}

.property-feature strong {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}
.property-card.reveal {
  opacity: 0;
  transform: translateY(18px);
  will-change: opacity, transform;
}

.property-card.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  animation: fadeIn 0.65s ease-out both;
}

@media (prefers-reduced-motion: reduce) {
  .property-card.reveal {
    opacity: 1;
    transform: none;
  }
  .property-card.reveal.is-visible {
    animation: none;
  }
}
.section.section-gray {
    padding-top: 2.5rem;
}
/* =========================
   CONSULTAS (SECTION + FORM)
   ========================= */

.consultas-header{
  max-width: 54rem;
  margin: 0 auto 2.25rem;
  text-align: center;
}

.consultas-alert{
  max-width: 980px;
  margin: 0 auto 18px;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 0.95rem;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.75);
}
.consultas-alert.ok{
  border-color: rgba(37,211,102,.25);
}
.consultas-alert.err{
  border-color: rgba(225,29,72,.22);
}

.consultas-card{
  max-width: 980px;
  margin: 0 auto;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(15,15,15,.06);
  padding: 26px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;

  /* animación integrada con tu observer (se la damos también) */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.consultas-card.is-visible{
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 980px){
  .consultas-card{
    grid-template-columns: 0.9fr 1.1fr;
    padding: 34px;
    gap: 28px;
  }
}

.consultas-mini-kicker{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: 10px;
}
.consultas-mini-kicker::before{
  content:"";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 0 0 6px rgba(201,169,98,.14);
}

.consultas-title{
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  margin: 0 0 10px 0;
  color: var(--color-text);
  letter-spacing: -0.02em;
}
.consultas-text{
  color: var(--color-text-light);
  margin: 0 0 14px 0;
  line-height: 1.75;
}

.consultas-whatsapp{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(37,211,102,.25);
  background: rgba(37,211,102,.06);
  color: #0b3a1f;
  font-weight: 600;
  font-size: .9rem;
  transition: transform .2s ease, background .2s ease;
}
.consultas-whatsapp:hover{
  transform: translateY(-1px);
  background: rgba(37,211,102,.10);
}
.consultas-whatsapp .dot{
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--color-green);
}

.consultas-form{
  width: 100%;
}

.consultas-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 700px){
  .consultas-grid{
    grid-template-columns: 1fr 1fr;
  }
  .consultas-field-full{
    grid-column: 1 / -1;
  }
}

.consultas-label{
  display: block;
  font-size: .86rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.consultas-input,
.consultas-textarea{
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-gray-200);
  border-radius: 14px;
  color: var(--color-text);
  font-size: .95rem;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, transform .15s ease;
}

.consultas-textarea{
  resize: vertical;
  min-height: 140px;
}

.consultas-input:focus,
.consultas-textarea:focus{
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201,169,98,.14);
}

.consultas-hint{
  margin-top: 8px;
  font-size: .82rem;
  color: var(--color-text-light);
}

.consultas-submit{
  margin-top: 16px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--color-gold);
  color: #111;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(201,169,98,.30);
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.consultas-submit:hover{
  background: var(--color-gold-dark);
  color: #111;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(201,169,98,.34);
}
.consultas-submit svg{
  transition: transform .2s ease;
}
.consultas-submit:hover svg{
  transform: translateX(3px);
}

/* honeypot invisible */
.hp-field{
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}
 .contact-section{ padding:48px 0; }
  .contact-shell{ width:min(1040px, calc(100% - 48px)); margin:0 auto; }
  .contact-head{ text-align:center; margin-bottom:18px; }
  .contact-head h2{
    font-family:"Playfair Display", serif;
    font-weight:700; letter-spacing:-0.02em;
    font-size:clamp(32px, 3vw, 44px);
    margin:0 0 8px 0;
  }
  .contact-head p{ margin:0; opacity:.78; font-size:15px; line-height:1.6; }

  .contact-card{
    background:#fff;
    border:1px solid rgba(0,0,0,.08);
    border-radius:22px;
    box-shadow:0 20px 50px rgba(0,0,0,.06);
    padding:22px;
  }

  .contact-top{
    padding-bottom:16px;
    border-bottom:1px solid rgba(0,0,0,.08);
    margin-bottom:18px;
    text-align:center;
  }

  .contact-kicker{
    display:inline-flex; align-items:center; gap:10px;
    font-size:12px; letter-spacing:.12em; text-transform:uppercase;
    opacity:.75; margin-bottom:10px;
  }
  .contact-kicker .dot{
    width:10px; height:10px; border-radius:999px;
    background:#c9a24d;
    box-shadow:0 0 0 5px rgba(201,162,77,.18);
  }

  .contact-title{
    font-family:"Playfair Display", serif;
    font-weight:700;
    font-size:24px;
    letter-spacing:-0.02em;
    margin:0 0 8px 0;
  }
  .contact-desc{
    margin:0 auto 14px auto;
    max-width:720px;
    opacity:.8;
    line-height:1.7;
  }

  .wa-btn{
    display:inline-flex; align-items:center; gap:10px;
    padding:11px 14px;
    border-radius:999px;
    border:1px solid rgba(0,0,0,.12);
    background:rgba(0,0,0,.02);
    color:inherit;
    text-decoration:none;
    font-weight:600;
    transition:.2s ease;
  }
  .wa-btn:hover{ background:rgba(0,0,0,.04); transform:translateY(-1px); }
  .wa-ico{
    width:10px; height:10px; border-radius:999px;
    background:#c9a24d;
    box-shadow:0 0 0 5px rgba(201,162,77,.16);
    display:inline-block;
  }

  .contact-formWrap{ display:flex; justify-content:center; }
  .contact-form{ width:min(760px, 100%); }

  .field{ margin-bottom:14px; }
  .field label{
    display:block;
    font-weight:600;
    font-size:13px;
    margin:0 0 8px 0;
    opacity:.9;
  }
  .field input,
  .field textarea{
    width:100%;
    border:1px solid rgba(0,0,0,.12);
    border-radius:14px;
    padding:12px 14px;
    outline:none;
    transition:.2s ease;
    font-family:inherit;
    background:#fff;
  }
  .field textarea{ resize:vertical; min-height:140px; }
  .field input:focus,
  .field textarea:focus{
    border-color:rgba(201,162,77,.75);
    box-shadow:0 0 0 6px rgba(201,162,77,.16);
  }
  .field small{
    display:block;
    margin-top:8px;
    font-size:12px;
    opacity:.7;
  }

  .grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }

  .btn-send{
    width:100%;
    height:52px;
    border:0;
    border-radius:999px;
    background:#c9a24d;
    color:#111;
    font-weight:700;
    letter-spacing:.02em;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    cursor:pointer;
    transition:.2s ease;
  }
  .btn-send:hover{ filter:brightness(.98); transform:translateY(-1px); }
  .btn-send .arrow{ font-size:18px; }

  @media (max-width:720px){
    .contact-shell{ width:min(1040px, calc(100% - 28px)); }
    .contact-card{ padding:16px; }
    .grid-2{ grid-template-columns:1fr; }
  }
  /* =========================
   CONSULTAS (SECCIÓN)
========================= */
.consultas-section{
  padding: 72px 0;
}
.consultas-shell{
  width: min(980px, 92%);
  margin: 0 auto;
}
.consultas-head{
  text-align: center;
  margin-bottom: 18px;
}
.consultas-head h2{
  font-family: "Playfair Display", serif;
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 0 0 8px;
}
.consultas-head p{
  margin: 0;
  opacity: .82;
  line-height: 1.55;
}

.consultas-card{
  border-radius: 22px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: 0 18px 55px rgba(2,6,23,.08);
  overflow: hidden;
}

/* parte superior (info) */
.consultas-top{
  padding: 26px 26px 18px;
  border-bottom: 1px solid rgba(15,23,42,.08);
  background:
    radial-gradient(700px 260px at 50% 0%, rgba(201,162,77,.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.86));
}
.consultas-kicker{
  display:flex;
  gap:10px;
  align-items:center;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .85;
  margin-bottom: 10px;
}
.consultas-kicker .dot{
  width:10px; height:10px;
  border-radius: 999px;
  background: rgba(201,162,77,1);
  box-shadow: 0 0 0 4px rgba(201,162,77,.18);
}
.consultas-title{
  margin: 0 0 8px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.consultas-desc{
  margin: 0 0 14px;
  opacity: .85;
  line-height: 1.55;
  max-width: 70ch;
}

/* WhatsApp: sin verde, estilo premium */
.wa-btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 14px;
  background: rgba(2,6,23,.06);
  border: 1px solid rgba(2,6,23,.10);
  color: rgba(2,6,23,.92);
  text-decoration: none;
  font-weight: 700;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.wa-btn:hover{
  transform: translateY(-1px);
  background: rgba(2,6,23,.08);
  border-color: rgba(2,6,23,.16);
}
.wa-ico{
  width: 14px; height: 14px;
  border-radius: 4px;
  background: rgba(201,162,77,1);
  box-shadow: 0 0 0 4px rgba(201,162,77,.20);
}

/* form centrado y compacto */
.consultas-formWrap{
  padding: 22px 26px 26px;
}
.consultas-form{
  width: min(720px, 100%);
  margin: 0 auto;
}
.grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field label{
  display:block;
  font-weight: 700;
  margin: 0 0 6px;
  opacity: .92;
}
.field input,
.field textarea{
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.14);
  background: rgba(255,255,255,.95);
  padding: 12px 12px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea{ resize: vertical; min-height: 140px; }
.field input:focus,
.field textarea:focus{
  border-color: rgba(201,162,77,.65);
  box-shadow: 0 0 0 4px rgba(201,162,77,.18);
}
.field small{
  display:block;
  margin-top: 6px;
  opacity: .75;
  line-height: 1.35;
}

.btn-send{
  margin-top: 12px;
  width: 100%;
  border: 0;
  border-radius: 16px;
  padding: 14px 16px;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(135deg, rgba(201,162,77,1), rgba(177,18,23,.95));
  color: #fff;
  box-shadow: 0 16px 40px rgba(2,6,23,.14);
  transition: transform .15s ease, filter .15s ease;
}
.btn-send:hover{ transform: translateY(-1px); filter: brightness(1.02); }
.btn-send .arrow{ margin-left: 6px; }

.consultas-alert{
  width: min(720px, 100%);
  margin: 14px auto 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(2,6,23,.10);
  background: rgba(2,6,23,.04);
}
.consultas-alert.ok{
  border-color: rgba(34,197,94,.22);
  background: rgba(34,197,94,.10);
  color: #166534;
}
.consultas-alert.err{
  border-color: rgba(220,38,38,.22);
  background: rgba(220,38,38,.08);
  color: #b91c1c;
}

/* honeypot oculto */
.hp-field{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  overflow:hidden;
}

@media (max-width: 720px){
  .consultas-top,
  .consultas-formWrap{ padding: 18px; }
  .grid-2{ grid-template-columns: 1fr; }
}
/* =========================
   CONSULTAS (rework)
========================= */
.consultas-card--stack{
  display:flex;
  flex-direction:column;
  gap:22px;
}

.consultas-intro{
  padding:4px 2px 2px;
  text-align:center;
  max-width: 820px;
  margin: 0 auto;
}

.consultas-mini-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  opacity:.9;
  margin-bottom:10px;
}

.consultas-mini-kicker .kdot{
  width:9px;
  height:9px;
  border-radius:999px;
  background: rgba(201,162,77,.95); /* dorado */
  box-shadow: 0 0 0 5px rgba(201,162,77,.14);
}

.consultas-title{
  margin:0;
}

.consultas-text{
  max-width: 760px;
  margin: 10px auto 0;
  opacity:.9;
}

/* WhatsApp pill premium (sin verde) */
.consultas-whatsapp-pill{
  margin:14px auto 0;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  border-radius:999px;
  text-decoration:none;
  font-weight:800;
  letter-spacing:-.01em;

  color: rgba(18,18,18,.92);
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(201,162,77,.55);
  box-shadow: 0 16px 36px rgba(0,0,0,.06);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.consultas-whatsapp-pill .wa-ico{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:999px;
  color:#111;
  background: rgba(201,162,77,.22);
  border: 1px solid rgba(201,162,77,.35);
}

.consultas-whatsapp-pill .wa-arrow{
  display:inline-flex;
  margin-left:2px;
  opacity:.85;
}

.consultas-whatsapp-pill:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.78);
  box-shadow: 0 20px 44px rgba(0,0,0,.09);
}

/* Form centrado y con ancho prolijo */
.consultas-form--center{
  width: min(760px, 100%);
  margin: 0 auto;
}

/* opcional: que el botón quede centrado (si tu .consultas-submit ya era block, ignoralo) */
.consultas-form--center .consultas-submit{
  margin: 14px auto 0;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  width: 100%;
  max-width: 340px;
}
