/* ==========================================================================
   Lotus Inmobiliaria - Main Stylesheet
   Premium Real Estate Website - Paraguay
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. DESIGN TOKENS
   -------------------------------------------------------------------------- */

:root {
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Brand palette */
    --primary: #263e5d;           /* Dark Blue - main brand */
    --primary-light: #2b4566;     /* Blue - lighter variant */
    --primary-hover: #1c2f47;     /* Darker for hover states */
    --accent: #ffd088;            /* Pastel Orange - accent/highlight */
    --accent-hover: #f0be6a;      /* Darker accent for hover */
    --accent-subtle: rgba(255, 208, 136, 0.15); /* Subtle accent bg */

    /* Backgrounds & text */
    --bg: #f7f7f6;                /* Warm light gray */
    --bg-alt: #e8e7e7;            /* Light gray - alt sections */
    --fg: #263e5d;                /* Dark blue text */
    --fg-light: #4a5e78;          /* Lighter text */
    --card: #FFFFFF;
    --muted: #6b7d94;
    --muted-bg: #eeeeed;
    --border: #d8d7d6;
    --border-accent: rgba(255, 208, 136, 0.4);

    /* Status */
    --status-disponible: #28a745;
    --status-reservado: #ffc107;
    --status-vendido: #dc3545;

    /* Effects */
    --shadow: 0 4px 24px rgba(38, 62, 93, 0.08);
    --shadow-hover: 0 12px 36px rgba(38, 62, 93, 0.14);
    --shadow-gold: 0 4px 20px rgba(255, 208, 136, 0.25);

    /* Layout */
    --radius: 16px;
    --radius-sm: 12px;
    --radius-xs: 8px;
    --header-h: 72px;
    --max-w: 1200px;
}

/* --------------------------------------------------------------------------
   1. RESET & BASE
   -------------------------------------------------------------------------- */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 8px);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--fg);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

ul, ol {
    list-style: none;
}

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

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--fg);
}

/* --------------------------------------------------------------------------
   2. LAYOUT: CONTAINER
   -------------------------------------------------------------------------- */

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

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

/* --------------------------------------------------------------------------
   3. HEADER
   -------------------------------------------------------------------------- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: var(--primary);
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 24px rgba(38, 62, 93, 0.2);
    background: var(--primary-hover);
}

.header-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
}

.header-logo img {
    height: 44px;
    width: auto;
    filter: brightness(0) invert(1);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header-nav a {
    font-size: 0.925rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    padding: 4px 0;
    transition: color 0.3s ease;
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
    transition: width 0.3s ease;
}

.header-nav a:hover,
.header-nav a.active {
    color: #fff;
}

.header-nav a:hover::after,
.header-nav a.active::after {
    width: 100%;
}

.header-cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: var(--accent);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.header-cta:hover {
    background: var(--accent-hover);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.desktop-only {
    display: flex;
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    z-index: 1010;
}

/* Mobile navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--primary);
    box-shadow: 0 8px 24px rgba(38, 62, 93, 0.2);
    padding: 16px 24px 24px;
    transform: translateY(-10px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
    z-index: 999;
}

.mobile-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav a {
    display: block;
    padding: 14px 0;
    font-size: 1.05rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.mobile-nav a:last-child {
    border-bottom: none;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--accent);
    padding-left: 8px;
}

.mobile-wa {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 14px 20px !important;
    background: #25D366;
    color: #fff !important;
    border-radius: var(--radius-sm);
    font-weight: 600;
    justify-content: center;
    border-bottom: none !important;
}

.mobile-wa:hover {
    padding-left: 20px !important;
    opacity: 0.92;
}

/* --------------------------------------------------------------------------
   4. HERO
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    overflow: hidden;
    background: url('/public/img/hero-background.jpg') center/cover no-repeat;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(19, 78, 74, 0.70) 0%,
        rgba(38, 62, 93, 0.55) 50%,
        rgba(19, 78, 74, 0.75) 100%
    );
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 780px;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.15;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.hero__subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 36px;
    line-height: 1.7;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.hero__cta {
    display: inline-flex;
}

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease,
                transform 0.2s ease, box-shadow 0.3s ease;
    text-decoration: none;
    line-height: 1.4;
}

.btn:hover {
    transform: translateY(-2px);
}

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

/* Primary - filled teal */
.btn--primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn--primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #fff;
    box-shadow: 0 8px 24px rgba(38, 62, 93, 0.25);
}

/* Outline - teal border */
.btn--outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn--outline:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 24px rgba(38, 62, 93, 0.2);
}

/* Secondary - outline white (hero) */
.btn--secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}

.btn--secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff;
}

/* Sizes */
.btn--lg {
    padding: 16px 40px;
    font-size: 1.05rem;
}

.btn--sm {
    padding: 10px 22px;
    font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   6. SECTIONS BASE
   -------------------------------------------------------------------------- */

.section {
    padding: 80px 0;
}

.section--alt {
    background: var(--bg-alt);
}

/* Also support old class from blog-single.php */
.page-section {
    padding: 80px 24px;
    max-width: var(--max-w);
    margin: 0 auto;
}

.alt-bg {
    background: var(--bg-alt);
}

.section__title,
.section-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    color: var(--fg);
    margin-bottom: 16px;
    position: relative;
}

.section__title::after,
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    border-radius: 2px;
    margin: 16px auto 0;
}

.section__subtitle,
.section-subtitle {
    text-align: center;
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.section__empty {
    text-align: center;
    color: var(--muted);
    font-size: 1rem;
    padding: 40px 0;
}

.section__actions {
    text-align: center;
    margin-top: 40px;
}

/* --------------------------------------------------------------------------
   7. LOT CARDS (Fracciones)
   -------------------------------------------------------------------------- */

.lot-card {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255, 208, 136, 0.3);
    box-shadow: 0 2px 12px rgba(38, 62, 93, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.lot-card__img-wrap {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.lot-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.lot-card:hover .lot-card__img {
    transform: scale(1.05);
}

.lot-card__badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(38, 62, 93, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 20px;
    letter-spacing: 0.02em;
}

.lot-card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.lot-card__name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--fg);
    margin-bottom: 8px;
}

.lot-card__desc {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lot-card__price {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 600;
    background: linear-gradient(135deg, #F0FDFA, #E8F5F2);
    border-radius: var(--radius-xs);
    padding: 12px 16px;
    margin-bottom: 20px;
}

.lot-card__price strong {
    font-size: 1.1rem;
}

.lot-card__btn {
    margin-top: auto;
    align-self: flex-start;
}

/* --------------------------------------------------------------------------
   8. SWIPER OVERRIDES
   -------------------------------------------------------------------------- */

.loteamiento-carousel {
    padding-bottom: 16px;
}

.swiper-container {
    overflow: hidden;
    position: relative;
}

.swiper-slide {
    height: auto;
}

.swiper-button-prev,
.swiper-button-next {
    width: 44px;
    height: 44px;
    background: var(--card);
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(38, 62, 93, 0.1);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: var(--primary);
    box-shadow: 0 4px 16px rgba(38, 62, 93, 0.2);
}

.swiper-button-prev:hover::after,
.swiper-button-next:hover::after {
    color: #fff;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--border-accent);
    opacity: 1;
    transition: background 0.3s ease, transform 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: var(--primary);
    transform: scale(1.2);
}

/* --------------------------------------------------------------------------
   9. ABOUT SECTION
   -------------------------------------------------------------------------- */

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

.about__text {
    font-size: 1.02rem;
    color: var(--muted);
    line-height: 1.75;
}

.about__text p {
    margin-bottom: 20px;
}

.about__heading {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--fg);
    margin-bottom: 20px;
}

.about__highlight {
    background: linear-gradient(135deg, #F0FDFA, #E8F5F2);
    border-left: 4px solid var(--primary);
    padding: 16px 20px;
    border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
    font-weight: 500;
    color: var(--primary);
}

.about__video {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(38, 62, 93, 0.1);
    aspect-ratio: 16 / 9;
    margin-top: 24px;
}

.about__video video,
.about__video iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

.about__pillars {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pillar-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 208, 136, 0.4);
    border-radius: var(--radius);
    padding: 28px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(38, 62, 93, 0.1);
}

.pillar-card__title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--fg);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pillar-card__title i {
    color: var(--primary);
    font-size: 1.2rem;
}

.pillar-card p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.65;
}

/* --------------------------------------------------------------------------
   10. BLOG CARDS
   -------------------------------------------------------------------------- */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.blog-card {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255, 208, 136, 0.3);
    box-shadow: 0 2px 12px rgba(38, 62, 93, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.blog-card__img-wrap,
.blog-card__image {
    display: block;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.blog-card__img-wrap img,
.blog-card__image img,
.blog-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card__img-wrap img,
.blog-card:hover .blog-card__image img,
.blog-card:hover .blog-card__img {
    transform: scale(1.05);
}

.blog-card__tag {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(38, 62, 93, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}

.blog-card__body,
.blog-card__content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card__body h3,
.blog-card__content h3,
.blog-card__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--fg);
    margin-bottom: 10px;
    line-height: 1.35;
}

.blog-card__content h3 a {
    color: var(--fg);
    transition: color 0.3s ease;
}

.blog-card__content h3 a:hover {
    color: var(--primary);
}

.blog-card__excerpt,
.blog-card__content p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    transition: gap 0.3s ease, color 0.3s ease;
    margin-top: auto;
}

.blog-card__link:hover {
    gap: 10px;
    color: var(--primary-light);
}

.blog-card__link i {
    transition: transform 0.3s ease;
}

.blog-card__link:hover i {
    transform: translateX(2px);
}

/* --------------------------------------------------------------------------
   11. CONTACT FORM
   -------------------------------------------------------------------------- */

.contact-form {
    background: var(--card);
    border-radius: var(--radius);
    padding: 36px;
    border: 1px solid rgba(255, 208, 136, 0.3);
    box-shadow: var(--shadow);
}

.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.contact-form__group {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.contact-form__label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--fg);
    margin-bottom: 6px;
}

.contact-form__input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg);
    border: 1.5px solid rgba(255, 208, 136, 0.5);
    border-radius: 10px;
    color: var(--fg);
    font-size: 0.925rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.contact-form__input::placeholder {
    color: #99B2AD;
}

.contact-form__input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(38, 62, 93, 0.1);
}

.contact-form__textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form__actions {
    text-align: center;
    margin-top: 8px;
}

.contact-form__actions .btn {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
}

/* --------------------------------------------------------------------------
   12. FAQ
   -------------------------------------------------------------------------- */

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 208, 136, 0.4);
}

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

.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--fg);
    cursor: pointer;
    list-style: none;
    transition: color 0.3s ease;
}

.faq-item__question::-webkit-details-marker {
    display: none;
}

.faq-item__question::after {
    content: '';
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-left: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F766E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-item__question::after {
    transform: rotate(180deg);
}

.faq-item__question:hover {
    color: var(--primary);
}

.faq-item__answer {
    padding: 0 0 20px;
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.7;
    animation: faqOpen 0.3s ease;
}

.faq-item__answer p {
    margin-bottom: 8px;
}

.faq-item__answer p:last-child {
    margin-bottom: 0;
}

@keyframes faqOpen {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --------------------------------------------------------------------------
   12b. BREADCRUMBS
   -------------------------------------------------------------------------- */

.breadcrumb { padding: calc(var(--header-h) + 12px) 0 12px; font-size: 0.85rem; }
.breadcrumb .container { max-width: 800px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumb li { display: flex; align-items: center; color: #999; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: #ccc; }
.breadcrumb a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb--map { position: absolute; top: var(--header-h, 72px); left: 0; z-index: 10; padding: 8px 16px; background: rgba(255,255,255,0.95); border-radius: 0 0 8px 0; }
.breadcrumb--map ol { gap: 4px; }
.breadcrumb--map li, .breadcrumb--map a { font-size: 0.8rem; }

/* --------------------------------------------------------------------------
   13. FOOTER
   -------------------------------------------------------------------------- */

.site-footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.85);
    padding: 64px 24px 0;
}

.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

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

.footer-logo {
    height: 80px;
    width: 80px;
    object-fit: contain;
}

.footer-slogan {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.65);
    max-width: 320px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    padding: 6px 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 6px;
}

.footer-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-contact a i {
    color: var(--accent);
    width: 18px;
    text-align: center;
}

.footer-contact a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 24px;
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #fff;
}

/* --------------------------------------------------------------------------
   14. WHATSAPP FAB
   -------------------------------------------------------------------------- */

.whatsapp-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: waPulse 2.5s infinite;
    font-size: 1.7rem;
    color: #fff;
}

.whatsapp-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
    animation-play-state: paused;
    color: #fff;
}

.whatsapp-fab svg {
    width: 30px;
    height: 30px;
    color: #fff;
}

@keyframes waPulse {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
    }
    50% {
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35),
                    0 0 0 12px rgba(37, 211, 102, 0.1);
    }
}

/* --------------------------------------------------------------------------
   15. BLOG LISTING & ARTICLE PAGES
   -------------------------------------------------------------------------- */

.blog-hero {
    position: relative;
    text-align: center;
    padding: 60px 24px 60px;
    background: linear-gradient(135deg, var(--fg) 0%, var(--primary) 100%);
    color: #fff;
}
/* When no breadcrumb precedes the hero (homepage), restore original padding */
main > .blog-hero:first-child { padding-top: 140px; }

.blog-hero h1 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.blog-hero .section-title {
    color: #fff;
}

.blog-hero .section-title::after {
    background: linear-gradient(90deg, rgba(255,255,255,0.6), rgba(255,255,255,0.3));
}

.blog-hero .section-subtitle,
.blog-hero .section__subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.blog-hero--article {
    padding: 50px 24px 50px;
}

.blog-hero--article h1 {
    font-size: 2.5rem;
    max-width: 800px;
    margin: 0 auto 16px;
    line-height: 1.2;
}

.blog-hero--article .blog-card__tag {
    margin-bottom: 16px;
}

.article-meta {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Article page */
.blog-article {
    padding: 60px 24px 80px;
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
}

.article-hero-img {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 40px;
    max-height: 480px;
    width: 100%;
    object-fit: cover;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2D4A47;
}

.article-content p {
    margin-bottom: 24px;
}

.article-content h2 {
    font-size: 1.6rem;
    text-align: left;
    margin: 48px 0 16px;
    padding-left: 20px;
    border-left: 4px solid var(--primary);
}

.article-content h2::after {
    display: none;
}

.article-content h3 {
    font-size: 1.3rem;
    margin: 36px 0 12px;
}

.article-content ul,
.article-content ol {
    padding-left: 24px;
    margin-bottom: 24px;
}

.article-content ul {
    list-style: disc;
}

.article-content ol {
    list-style: decimal;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content blockquote {
    border-left: 4px solid var(--primary-light);
    background: var(--bg);
    padding: 20px 24px;
    margin: 32px 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--primary);
}

.article-content img {
    border-radius: var(--radius-sm);
    margin: 32px 0;
}

.article-content a {
    color: var(--primary);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(38, 62, 93, 0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.3s ease;
}

.article-content a:hover {
    text-decoration-color: var(--primary);
}

/* Share buttons */
.article-share {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 24px 0;
    margin: 40px 0;
    border-top: 1px solid rgba(255, 208, 136, 0.3);
    border-bottom: 1px solid rgba(255, 208, 136, 0.3);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--fg);
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: var(--radius-xs);
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    transition: opacity 0.3s ease, transform 0.2s ease;
}

.share-btn:hover {
    opacity: 0.88;
    transform: translateY(-2px);
    color: #fff;
}

.share-btn--wa {
    background: #25D366;
}

.share-btn--fb {
    background: #1877F2;
}

/* Article CTA */
.article-cta {
    background: linear-gradient(135deg, var(--bg), #E8F5F2);
    border: 1px solid rgba(255, 208, 136, 0.5);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    margin-top: 48px;
}

.article-cta h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--fg);
    margin-bottom: 10px;
}

.article-cta p {
    color: var(--muted);
    margin-bottom: 24px;
    font-size: 1rem;
}

.article-cta .btn {
    margin: 0 6px;
}

/* --------------------------------------------------------------------------
   16. 404 PAGE
   -------------------------------------------------------------------------- */

.error-404__number {
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --------------------------------------------------------------------------
   17. UTILITIES
   -------------------------------------------------------------------------- */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-muted { color: var(--muted); }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Lot status pills */
.status-disponible { color: var(--status-disponible); }
.status-reservado { color: var(--status-reservado); }
.status-vendido { color: var(--status-vendido); }

.bg-disponible { background-color: var(--status-disponible); }
.bg-reservado { background-color: var(--status-reservado); }
.bg-vendido { background-color: var(--status-vendido); }

/* --------------------------------------------------------------------------
   18. ANIMATIONS
   -------------------------------------------------------------------------- */

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   19. RESPONSIVE - TABLET (max-width: 768px)
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
    .header-nav,
    .header-cta,
    .desktop-only {
        display: none;
    }

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

    .mobile-nav {
        display: block;
    }

    /* Hero */
    .hero {
        min-height: 70vh;
        padding: 100px 20px 60px;
    }

    .hero__title {
        font-size: 2.4rem;
    }

    .hero__subtitle {
        font-size: 1.05rem;
    }

    /* Sections */
    .section {
        padding: 56px 0;
    }

    .page-section {
        padding: 56px 20px;
    }

    .section__title,
    .section-title {
        font-size: 1.85rem;
    }

    /* About */
    .about {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Blog */
    .blog-grid {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-form__row {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-slogan {
        max-width: none;
    }

    .footer-contact a {
        justify-content: center;
    }

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

    /* Blog pages */
    .blog-hero h1,
    .blog-hero--article h1 {
        font-size: 2rem;
    }

    .article-content h2 {
        font-size: 1.35rem;
    }

    /* Swiper */
    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   20. RESPONSIVE - MOBILE (max-width: 480px)
   -------------------------------------------------------------------------- */

@media (max-width: 480px) {
    html {
        scroll-padding-top: var(--header-h);
    }

    /* Hero */
    .hero {
        min-height: 70vh;
        padding: 100px 16px 60px;
    }

    .hero__title {
        font-size: 1.9rem;
    }

    .hero__subtitle {
        font-size: 0.95rem;
    }

    .hero__cta {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    /* Sections */
    .section {
        padding: 40px 0;
    }

    .page-section {
        padding: 40px 16px;
    }

    .section__title,
    .section-title {
        font-size: 1.6rem;
    }

    .section__subtitle,
    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 32px;
    }

    /* Cards */
    .lot-card__img-wrap {
        height: 200px;
    }

    .lot-card__body {
        padding: 18px;
    }

    /* Contact */
    .contact-form {
        padding: 24px 18px;
    }

    /* FAQ */
    .faq-item__question {
        font-size: 0.95rem;
        padding: 16px 0;
    }

    /* Blog */
    .blog-article {
        padding: 40px 16px 60px;
    }

    .article-content {
        font-size: 1rem;
        line-height: 1.75;
    }

    .blog-hero h1,
    .blog-hero--article h1 {
        font-size: 1.7rem;
    }

    .article-cta {
        padding: 28px 20px;
    }

    .article-cta .btn {
        display: block;
        margin: 8px 0;
        width: 100%;
    }

    /* WhatsApp FAB */
    .whatsapp-fab {
        width: 52px;
        height: 52px;
        bottom: 20px;
        right: 20px;
        font-size: 1.4rem;
    }

    .whatsapp-fab svg {
        width: 26px;
        height: 26px;
    }

    /* 404 */
    .error-404__number {
        font-size: 5rem;
    }
}

/* --------------------------------------------------------------------------
   21. PRINT
   -------------------------------------------------------------------------- */

@media print {
    .site-header,
    .site-footer,
    .whatsapp-fab,
    .mobile-menu-btn,
    .mobile-nav {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
        font-size: 12pt;
    }

    .section,
    .page-section {
        padding: 20px 0;
    }

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

    a {
        text-decoration: underline;
    }
}
