/*
Theme Name: IG Inmobiliaria
Theme URI: https://github.com/stitch_lg_real_estate_identity
Description: Plantilla de WordPress para IG Inmobiliaria con estilos locales optimizados para hosting.
Version: 1.1.0
Author: IG Inmobiliaria
Author URI: https://github.com/stitch_lg_real_estate_identity
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ig-inmobiliaria
Tags: real-estate, custom-menu, custom-logo, featured-images, translation-ready
*/

/* Custom CSS Styles from design guidelines */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.hero-gradient {
    background:
        linear-gradient(90deg, rgba(30, 59, 54, 0.94) 0%, rgba(30, 59, 54, 0.82) 42%, rgba(30, 59, 54, 0.48) 100%),
        linear-gradient(180deg, rgba(30, 59, 54, 0.28) 0%, rgba(30, 59, 54, 0.82) 100%);
}

.hero-copy-shadow {
    text-shadow: 0 5px 28px rgba(0, 0, 0, 0.58);
}

.text-balance {
    text-wrap: balance;
}

body {
    background-color: #FFFFFF;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

::selection {
    background: #fbb03b;
    color: #1e3b36;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(251, 176, 59, 0.85);
    outline-offset: 3px;
}

/* Local utility layer replacing Tailwind CDN for production hosting. */
:root {
    --ig-deep: #1e3b36;
    --ig-gold: #FBB03B;
    --ig-green: #76C043;
    --ig-slate: #232E3A;
    --ig-surface: #f8f9fa;
    --ig-surface-container: #edeeef;
    --ig-surface-lowest: #ffffff;
    --ig-surface-variant: #e1e3e4;
    --ig-outline: #d4c2c8;
    --ig-text-muted: #504349;
    --ig-white: #ffffff;
}

html {
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

img,
video,
svg {
    display: block;
}

body {
    margin: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    color: var(--ig-slate);
    font-family: "Work Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

input,
textarea,
button {
    font: inherit;
}

input,
textarea {
    border: 1px solid var(--ig-outline);
    padding: 0.75rem 1rem;
}

/* Production-safe header and hero */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    border-bottom: 1px solid rgba(212, 194, 200, 0.7);
    background: rgba(255, 255, 255, 0.96);
    color: var(--ig-deep);
    backdrop-filter: blur(10px);
}

.admin-bar .site-header {
    top: 32px;
}

.site-header-inner {
    display: flex;
    width: min(100%, 80rem);
    min-height: 4.75rem;
    align-items: center;
    gap: clamp(1rem, 2vw, 2.5rem);
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
}

.site-brand {
    display: flex;
    flex: 0 1 13rem;
    min-width: 0;
    align-items: center;
}

.custom-logo-link {
    display: inline-flex;
    max-width: 100%;
    align-items: center;
}

.site-logo,
.custom-logo {
    display: block;
    width: auto;
    max-width: min(12rem, 34vw);
    height: clamp(2.65rem, 4vw, 3.5rem);
    max-height: 3.5rem;
    object-fit: contain;
}

.primary-nav {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-end;
}

.primary-menu {
    display: flex;
    align-items: center;
    gap: clamp(1.4rem, 3vw, 3rem);
    margin: 0;
    padding: 0;
}

.primary-menu .menu-item {
    list-style: none;
}

.nav-link {
    color: var(--ig-slate);
    font-family: "Work Sans", system-ui, sans-serif;
    font-size: 0.94rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    white-space: nowrap;
    transition: color 180ms ease;
}

.header-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: clamp(0.65rem, 1.5vw, 1.25rem);
}

.header-whatsapp-link {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    color: var(--ig-deep);
    transition: color 180ms ease, transform 180ms ease;
}

.header-whatsapp-link:hover {
    color: var(--ig-green);
    transform: translateY(-1px);
}

.header-whatsapp-link svg {
    width: 1.55rem;
    height: 1.55rem;
}

.home-hero {
    position: relative;
    display: flex;
    min-height: clamp(620px, 88vh, 880px);
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}

.home-hero-video,
.home-hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.home-hero-video {
    z-index: -2;
    object-fit: cover;
}

.home-hero-overlay {
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(30, 59, 54, 0.95) 0%, rgba(30, 59, 54, 0.86) 44%, rgba(30, 59, 54, 0.48) 100%),
        linear-gradient(180deg, rgba(30, 59, 54, 0.26) 0%, rgba(30, 59, 54, 0.82) 100%);
}

.home-hero-inner {
    width: min(100%, 80rem);
    margin: 0 auto;
    padding: clamp(5rem, 9vw, 8rem) clamp(1.25rem, 5vw, 5rem);
}

.home-hero-copy {
    max-width: 62rem;
}

.home-hero-kicker {
    display: inline-flex;
    margin-bottom: clamp(1.2rem, 2.5vw, 2rem);
    color: var(--ig-gold);
    font-family: "Work Sans", system-ui, sans-serif;
    font-size: clamp(0.78rem, 1.4vw, 1rem);
    font-weight: 800;
    letter-spacing: 0.28em;
    text-shadow: 0 5px 28px rgba(0, 0, 0, 0.58);
    text-transform: uppercase;
}

.home-hero-title {
    max-width: 60rem;
    margin: 0 0 clamp(2rem, 4vw, 3rem);
    color: #ffffff;
    font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(2.65rem, 6vw, 5.25rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.02;
    text-shadow: 0 5px 28px rgba(0, 0, 0, 0.58);
    text-wrap: balance;
}

.home-hero-cta {
    display: inline-flex;
    min-height: 3.35rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.35rem;
    padding: 0 2.1rem;
    background: var(--ig-gold);
    color: var(--ig-deep);
    font-family: "Work Sans", system-ui, sans-serif;
    font-size: 0.92rem;
    font-weight: 900;
    letter-spacing: 0.03em;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
    transition: filter 180ms ease, transform 180ms ease;
}

.home-hero-cta:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

/* Layout */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { inset: 0; }
.top-0 { top: 0; }
.top-4 { top: 1rem; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.bottom-8 { bottom: 2rem; }
.left-0 { left: 0; }
.left-4 { left: 1rem; }
.left-8 { left: 2rem; }
.-bottom-6 { bottom: -1.5rem; }
.-left-6 { left: -1.5rem; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hidden { display: none; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.text-center { text-align: center; }
.overflow-hidden { overflow: hidden; }
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.h-auto { height: auto; }
.full-width { width: 100%; }
.max-w-md { max-width: 28rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.my-6 { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-12 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-9 { margin-bottom: 2.25rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.ml-2 { margin-left: 0.5rem; }
.pb-1 { padding-bottom: 0.25rem; }
.pt-4 { padding-top: 1rem; }
.pt-8 { padding-top: 2rem; }
.pt-16 { padding-top: 4rem; }
.pb-8 { padding-bottom: 2rem; }
.pb-20 { padding-bottom: 5rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-9 { padding-left: 2.25rem; padding-right: 2.25rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.px-margin-mobile { padding-left: 1rem; padding-right: 1rem; }
.py-section-gap { padding-top: 4rem; padding-bottom: 4rem; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-12 > * + * { margin-top: 3rem; }
.gap-stack-md { gap: 1.5rem; }

/* Sizing */
.h-6 { height: 1.5rem; }
.w-6 { width: 1.5rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.w-12 { width: 3rem; }
.h-14 { height: 3.5rem; }
.w-14 { width: 3.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.w-64 { width: 16rem; }
.h-64 { height: 16rem; }
.min-h-\[680px\] { min-height: 680px; }
.h-\[88vh\] { height: 88vh; }
.max-h-\[500px\] { max-height: 500px; }
.aspect-square { aspect-ratio: 1 / 1; }
.aspect-\[4\/3\] { aspect-ratio: 4 / 3; }
.aspect-\[21\/9\] { aspect-ratio: 21 / 9; }

/* Typography */
.font-body-lg,
.font-body-md,
.font-label-md,
.font-label-sm {
    font-family: "Work Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.font-headline-xl,
.font-headline-lg,
.font-headline-md {
    font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.text-body-lg { font-size: 18px; line-height: 28px; font-weight: 400; }
.text-body-md { font-size: 16px; line-height: 24px; font-weight: 400; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-label-md { font-size: 14px; line-height: 20px; letter-spacing: 0.02em; font-weight: 600; }
.text-label-sm { font-size: 12px; line-height: 16px; letter-spacing: 0.05em; font-weight: 500; }
.text-headline-lg { font-size: 40px; line-height: 48px; font-weight: 800; }
.text-headline-md { font-size: 26px; line-height: 34px; font-weight: 800; }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.font-extrabold { font-weight: 800; }
.italic { font-style: italic; }
.uppercase { text-transform: uppercase; }
.underline { text-decoration-line: underline; }
.underline-offset-4 { text-underline-offset: 4px; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.leading-6 { line-height: 1.5rem; }
.leading-7 { line-height: 1.75rem; }
.leading-8 { line-height: 2rem; }
.leading-none { line-height: 1; }
.opacity-60 { opacity: 0.6; }
.opacity-70 { opacity: 0.7; }
.opacity-80 { opacity: 0.8; }
.opacity-90 { opacity: 0.9; }

/* Colors */
.bg-warm-white { background-color: var(--ig-white); }
.bg-surface { background-color: var(--ig-surface); }
.bg-surface-container { background-color: var(--ig-surface-container); }
.bg-surface-container-lowest { background-color: var(--ig-surface-lowest); }
.bg-deep-plum { background-color: var(--ig-deep); }
.bg-golden-asset { background-color: var(--ig-gold); }
.bg-living-green { background-color: var(--ig-green); }
.bg-surface-container-low { background-color: #f3f7f5; }
.text-deep-plum { color: var(--ig-deep); }
.text-golden-asset { color: var(--ig-gold); }
.text-living-green { color: var(--ig-green); }
.text-slate-gray { color: var(--ig-slate); }
.text-warm-white { color: var(--ig-white); }
.text-on-surface-variant { color: var(--ig-text-muted); }
.border { border-width: 1px; border-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-b-2 { border-bottom-width: 2px; border-bottom-style: solid; }
.border-8 { border-width: 8px; border-style: solid; }
.border-outline-variant { border-color: var(--ig-outline); }
.border-surface-variant { border-color: var(--ig-surface-variant); }
.border-deep-plum { border-color: var(--ig-deep); }
.border-warm-white { border-color: var(--ig-white); }

/* Effects and shapes */
.rounded { border-radius: 0.125rem; }
.rounded-lg { border-radius: 0.25rem; }
.rounded-xl { border-radius: 0.5rem; }
.rounded-full { border-radius: 9999px; }
.rounded-t-xl { border-top-left-radius: 0.5rem; border-top-right-radius: 0.5rem; }
.shadow-sm { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }
.shadow-md { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); }
.shadow-lg { box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12); }
.shadow-xl { box-shadow: 0 18px 36px rgba(0, 0, 0, 0.14); }
.shadow-2xl { box-shadow: 0 25px 55px rgba(0, 0, 0, 0.22); }
.backdrop-blur { backdrop-filter: blur(10px); }
.transition-all { transition: all 180ms ease; }
.transition-colors { transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease; }
.transition-opacity { transition: opacity 180ms ease; }
.transition-shadow { transition: box-shadow 180ms ease; }
.transition-transform { transition: transform 220ms ease; }
.duration-500 { transition-duration: 500ms; }
.scale-90 { transform: scale(0.9); }
.cursor-pointer { cursor: pointer; }

/* Arbitrary utility tokens used by templates */
[class~="bg-warm-white/95"] { background-color: rgba(255, 255, 255, 0.95); }
[class~="border-outline-variant/70"] { border-color: rgba(212, 194, 200, 0.7); }
[class~="bg-golden-asset/20"] { background-color: rgba(251, 176, 59, 0.2); }
[class~="bg-living-green/20"] { background-color: rgba(118, 192, 67, 0.2); }
[class~="bg-living-green/10"] { background-color: rgba(118, 192, 67, 0.1); }
[class~="bg-warm-white/10"] { background-color: rgba(255, 255, 255, 0.1); }
[class~="text-slate-gray/30"] { color: rgba(35, 46, 58, 0.3); }
[class~="text-slate-gray/60"] { color: rgba(35, 46, 58, 0.6); }
[class~="text-slate-gray/70"] { color: rgba(35, 46, 58, 0.7); }
[class~="text-warm-white/90"] { color: rgba(255, 255, 255, 0.9); }
[class~="shadow-black/20"] { box-shadow: 0 25px 55px rgba(0, 0, 0, 0.2); }
[class~="hover:shadow-[#1e3b36]/10"]:hover { box-shadow: 0 18px 36px rgba(30, 59, 54, 0.1); }
[class~="bg-[#f3f7f5]"] { background-color: #f3f7f5; }
[class~="bg-[#edf5f2]"] { background-color: #edf5f2; }
[class~="border-[#d6e4df]"] { border-color: #d6e4df; }
[class~="bg-[linear-gradient(135deg,rgba(255,255,255,0.08),rgba(255,255,255,0)_45%)]"] {
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0) 45%);
}
[class~="text-[clamp(0.78rem,1.5vw,1rem)]"] { font-size: clamp(0.78rem, 1.5vw, 1rem); }
[class~="text-[clamp(2.35rem,5.4vw,4.8rem)]"] { font-size: clamp(2.35rem, 5.4vw, 4.8rem); }
[class~="text-[clamp(2rem,4vw,3rem)]"] { font-size: clamp(2rem, 4vw, 3rem); }
[class~="text-[17px]"] { font-size: 17px; }
[class~="text-[18px]"] { font-size: 18px; }
[class~="text-[13px]"] { font-size: 13px; }
[class~="text-[28px]"] { font-size: 28px; }
[class~="text-[12px]"] { font-size: 12px; }
[class~="leading-[1.02]"] { line-height: 1.02; }
[class~="tracking-[0.28em]"] { letter-spacing: 0.28em; }
[class~="tracking-[0.22em]"] { letter-spacing: 0.22em; }
[class~="tracking-[0.12em]"] { letter-spacing: 0.12em; }
[class~="tracking-[0.08em]"] { letter-spacing: 0.08em; }
[class~="tracking-[0.16em]"] { letter-spacing: 0.16em; }
[class~="tracking-[-0.03em]"] { letter-spacing: -0.03em; }
[class~="tracking-[-0.02em]"] { letter-spacing: -0.02em; }
[class~="tracking-[-0.01em]"] { letter-spacing: -0.01em; }
[class~="active:scale-95"]:active { transform: scale(0.95); }
[class~="active:scale-[0.98]"]:active { transform: scale(0.98); }

/* Hover and group states */
[class~="hover:text-deep-plum"]:hover { color: var(--ig-deep); }
[class~="hover:text-living-green"]:hover { color: var(--ig-green); }
[class~="hover:text-golden-asset"]:hover { color: var(--ig-gold); }
[class~="hover:opacity-80"]:hover { opacity: 0.8; }
[class~="hover:opacity-90"]:hover { opacity: 0.9; }
[class~="hover:brightness-105"]:hover { filter: brightness(1.05); }
[class~="hover:brightness-110"]:hover { filter: brightness(1.1); }
[class~="hover:shadow-md"]:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); }
[class~="hover:shadow-lg"]:hover { box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12); }
[class~="hover:shadow-xl"]:hover { box-shadow: 0 18px 36px rgba(0, 0, 0, 0.14); }
.group:hover [class~="group-hover:scale-105"] { transform: scale(1.05); }
.group:hover [class~="group-hover:scale-110"] { transform: scale(1.1); }

.material-symbols-outlined.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    font-size: 40px;
    line-height: 1;
    overflow: hidden;
    text-align: center;
}

.brand-visual {
    background:
        radial-gradient(circle at 30% 25%, rgba(251, 176, 59, 0.22), transparent 32%),
        linear-gradient(135deg, #eef6f3 0%, #ffffff 46%, #dfece7 100%);
}

.brand-visual .material-symbols-outlined {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(30, 59, 54, 0.9);
    font-size: clamp(6rem, 18vw, 12rem);
    line-height: 1;
}

.property-placeholder {
    min-height: 100%;
    background:
        linear-gradient(135deg, rgba(30, 59, 54, 0.1), rgba(30, 59, 54, 0.02)),
        #edf5f2;
}

.property-placeholder-commercial {
    background:
        linear-gradient(135deg, rgba(251, 176, 59, 0.22), rgba(30, 59, 54, 0.04)),
        #f6f2e8;
}

.property-placeholder .material-symbols-outlined {
    color: rgba(30, 59, 54, 0.82);
    font-size: clamp(4rem, 8vw, 6rem);
    line-height: 1;
}

.nav-link,
.mobile-nav-link {
    position: relative;
}

.menu-item {
    list-style: none;
}

.nav-link.is-active,
.mobile-nav-link.is-active {
    color: var(--ig-deep);
    font-weight: 700;
}

.nav-link::after {
    position: absolute;
    right: 0;
    bottom: -0.45rem;
    left: 0;
    height: 2px;
    background: var(--ig-deep);
    content: "";
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 180ms ease;
}

.nav-link.is-active::after {
    transform: scaleX(1);
}

.mobile-nav-link {
    color: var(--ig-slate);
    min-width: 0;
    gap: 0.125rem;
    font-size: 0.68rem;
    transition: color 180ms ease, transform 180ms ease;
}

.mobile-nav-link .material-symbols-outlined {
    font-size: 1.35rem;
}

.promotion-header-badge,
.promotion-floating-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: 2px solid rgba(251, 176, 59, 0.45);
    border-radius: 999px;
    background: var(--ig-gold);
    color: var(--ig-deep);
    font-family: "Work Sans", system-ui, sans-serif;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(251, 176, 59, 0.28);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.promotion-header-badge {
    min-height: 2.5rem;
    padding: 0 1rem;
}

.promotion-header-badge:hover,
.promotion-floating-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(251, 176, 59, 0.34);
}

.promotion-header-badge .material-symbols-outlined,
.promotion-floating-badge .material-symbols-outlined {
    font-size: 1.1rem;
}

.promotion-floating-badge {
    position: fixed;
    right: 1rem;
    bottom: 5.25rem;
    z-index: 60;
    min-height: 2.7rem;
    padding: 0 1rem;
}

.mobile-nav-link.is-active {
    color: var(--ig-green);
    transform: scale(0.92);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.properties-hero {
    padding-top: clamp(5rem, 10vw, 9rem);
    padding-bottom: clamp(4rem, 8vw, 7rem);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255,255,255,0) 42%),
        var(--ig-deep);
}

.properties-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.property-list-card {
    overflow: hidden;
    border: 1px solid #d6e4df;
    border-radius: 0.25rem;
    background: var(--ig-white);
    transition: box-shadow 180ms ease, transform 180ms ease;
}

.property-list-card:hover {
    box-shadow: 0 18px 36px rgba(30, 59, 54, 0.1);
    transform: translateY(-2px);
}

.property-list-media {
    display: flex;
    min-height: 240px;
    aspect-ratio: 4 / 3;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #edf5f2;
}

.property-list-media > .material-symbols-outlined {
    color: rgba(30, 59, 54, 0.82);
    font-size: clamp(4rem, 8vw, 6rem);
}

.property-list-content {
    padding: 1.5rem;
}

.property-list-type {
    display: inline-flex;
    margin-bottom: 1rem;
    color: var(--ig-green);
    font-family: "Work Sans", system-ui, sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.property-list-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--ig-surface-variant);
    color: var(--ig-deep);
    font-family: "Work Sans", system-ui, sans-serif;
    font-size: 0.875rem;
}

.property-card {
    position: relative;
}

.property-card-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.property-card .p-6,
.property-card .relative {
    position: relative;
}

.property-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.property-card-price,
.property-list-price,
.single-property-price {
    display: block;
    color: var(--ig-gold);
    font-family: "Manrope", system-ui, sans-serif;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.property-card-price {
    margin-bottom: 0;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    line-height: 1;
}

.property-list-price {
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    line-height: 1.1;
}

.single-property-price {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
}

.property-whatsapp-button,
.single-whatsapp-button {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border-radius: 0.45rem;
    background: #25d366;
    color: #ffffff;
    font-family: "Work Sans", system-ui, sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: transform 180ms ease, filter 180ms ease;
}

.property-whatsapp-button:hover,
.single-whatsapp-button:hover {
    filter: brightness(0.96);
    transform: translateY(-1px);
}

.property-whatsapp-button {
    flex: 0 0 auto;
    min-height: 2.45rem;
    padding: 0 0.85rem;
}

.single-whatsapp-button {
    margin-top: 1.5rem;
    min-height: 3.25rem;
    padding: 0 1.25rem;
}

.single-whatsapp-button .material-symbols-outlined,
.property-whatsapp-button .material-symbols-outlined {
    font-size: 1.2rem;
}

.property-gallery {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 2rem 0 0.85rem;
}

.property-gallery-main,
.property-gallery-thumb {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    border: 0;
    border-radius: 0.5rem;
    padding: 0;
    background: #edf5f2;
    cursor: pointer;
}

.property-gallery-main {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
}

.property-gallery-main img,
.property-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 260ms ease;
}

.property-gallery-main:hover img,
.property-gallery-thumb:hover img {
    transform: scale(1.03);
}

.property-gallery-badge {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    border-radius: 999px;
    padding: 0.5rem 0.9rem;
    background: rgba(30, 59, 54, 0.88);
    color: #ffffff;
    font-family: "Work Sans", system-ui, sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.property-gallery-thumbs {
    display: grid;
    gap: 0.75rem;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.property-gallery-thumb {
    aspect-ratio: 16 / 10;
}

.property-gallery-modal[hidden] {
    display: none;
}

body.gallery-modal-open {
    overflow: hidden;
}

.property-gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(8, 18, 16, 0.92);
}

.property-gallery-modal figure {
    width: min(1080px, 100%);
    margin: 0;
    text-align: center;
}

.property-gallery-modal img {
    max-width: 100%;
    max-height: 82vh;
    border-radius: 0.35rem;
    object-fit: contain;
}

.property-gallery-modal figcaption {
    margin-top: 0.8rem;
    color: #ffffff;
    font-family: "Work Sans", system-ui, sans-serif;
    font-weight: 700;
}

.property-gallery-close,
.property-gallery-nav {
    position: fixed;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    cursor: pointer;
}

.property-gallery-close {
    top: 1rem;
    right: 1rem;
    width: 3rem;
    height: 3rem;
}

.property-gallery-nav {
    top: 50%;
    width: 3.25rem;
    height: 3.25rem;
    transform: translateY(-50%);
}

.property-gallery-prev {
    left: 1rem;
}

.property-gallery-next {
    right: 1rem;
}

.single-property-content .wp-block-gallery,
.single-property-content .gallery {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.single-property-content img {
    height: auto;
    border-radius: 0.4rem;
}

.single-property-description {
    margin-top: 1rem;
    border: 1px solid #d6e4df;
    border-radius: 0.5rem;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    background:
        linear-gradient(135deg, rgba(30, 59, 54, 0.045), rgba(251, 176, 59, 0.06)),
        #ffffff;
    box-shadow: 0 18px 44px rgba(30, 59, 54, 0.06);
}

.single-property-eyebrow {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--ig-green);
    font-family: "Work Sans", system-ui, sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.single-property-description h2 {
    margin: 0 0 1.25rem;
    color: var(--ig-deep);
    font-family: "Manrope", system-ui, sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.55rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.single-property-content {
    color: #334155;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.9;
}

.single-property-content p {
    margin: 0 0 1.15rem;
}

.single-property-content p:first-child {
    color: var(--ig-deep);
    font-size: clamp(1.15rem, 1.7vw, 1.35rem);
    font-weight: 700;
    line-height: 1.65;
}

.single-property-content strong,
.single-property-content b {
    color: var(--ig-deep);
    font-weight: 800;
}

.gallery-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-tile {
    display: flex;
    min-height: 220px;
    align-items: center;
    justify-content: center;
    border: 1px solid #d6e4df;
    border-radius: 0.25rem;
    background:
        linear-gradient(135deg, rgba(251, 176, 59, 0.16), rgba(30, 59, 54, 0.04)),
        #fff;
}

.gallery-tile .material-symbols-outlined {
    color: rgba(30, 59, 54, 0.82);
    font-size: clamp(4rem, 8vw, 6rem);
}

.testimonials-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.testimonial-card {
    border: 1px solid #d6e4df;
    border-radius: 0.25rem;
    padding: 2rem;
    background: var(--ig-white);
    box-shadow: 0 12px 30px rgba(30, 59, 54, 0.06);
}

.testimonial-card p {
    color: var(--ig-text-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.testimonial-card strong,
.testimonial-card span {
    display: block;
}

.testimonial-card strong {
    margin-top: 1.25rem;
    color: var(--ig-deep);
}

.testimonial-card span {
    margin-top: 0.25rem;
    color: rgba(35, 46, 58, 0.68);
    font-size: 0.875rem;
}

.stars {
    margin-bottom: 1rem;
    color: var(--ig-gold);
    letter-spacing: 0.12em;
}

.promotion-hero {
    padding-top: clamp(5rem, 9vw, 8rem);
    padding-bottom: clamp(4rem, 7vw, 6rem);
    background:
        radial-gradient(circle at 80% 10%, rgba(251, 176, 59, 0.22), transparent 34%),
        linear-gradient(135deg, rgba(30, 59, 54, 0.96), rgba(20, 43, 39, 0.98));
    color: #ffffff;
}

.promotion-hero-grid {
    display: grid;
    gap: 2rem;
}

.promotion-eyebrow {
    display: inline-flex;
    margin-bottom: 1rem;
    color: var(--ig-gold);
    font-family: "Work Sans", system-ui, sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.promotion-hero h1,
.promotion-section-heading h2,
.promotion-prize-card h2,
.promotion-steps h2 {
    font-family: "Manrope", system-ui, sans-serif;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.promotion-hero h1 {
    max-width: 780px;
    margin: 0 0 1rem;
    font-size: clamp(3rem, 8vw, 6.5rem);
    line-height: 0.92;
}

.promotion-hero p {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    line-height: 1.65;
}

.promotion-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

.promotion-stats span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 0.65rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.86);
    font-family: "Work Sans", system-ui, sans-serif;
    font-weight: 700;
}

.promotion-stats strong {
    color: #ffffff;
}

.promotion-prize-card,
.promotion-steps,
.promotion-alert {
    border: 1px solid #d6e4df;
    border-radius: 0.5rem;
    background: #ffffff;
    color: var(--ig-deep);
    box-shadow: 0 18px 44px rgba(30, 59, 54, 0.1);
}

.promotion-prize-card {
    padding: 2rem;
}

.promotion-prize-card .material-symbols-outlined {
    color: var(--ig-gold);
    font-size: 3rem;
}

.promotion-prize-card h2,
.promotion-steps h2 {
    margin: 0.75rem 0;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.promotion-prize-card p,
.promotion-steps li,
.promotion-section-heading p,
.promotion-alert p {
    color: var(--ig-text-muted);
    line-height: 1.7;
}

.promotion-prize-card strong {
    display: inline-flex;
    margin-top: 1rem;
    color: var(--ig-gold);
    font-size: 1.4rem;
}

.promotion-transfer-note {
    margin-top: 1rem;
    border-left: 3px solid var(--ig-gold);
    padding-left: 0.85rem;
    font-size: 0.95rem;
}

.promotion-section {
    padding-top: clamp(3.5rem, 7vw, 6rem);
    padding-bottom: clamp(4rem, 7vw, 6rem);
}

.promotion-layout {
    display: grid;
    gap: 2rem;
}

.promotion-section-heading {
    max-width: 780px;
    margin-bottom: 2rem;
}

.promotion-section-heading h2 {
    margin: 0 0 0.75rem;
    color: var(--ig-deep);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.04;
}

.promotion-ticket-form {
    display: grid;
    gap: 1.5rem;
}

.raffle-number-grid {
    display: grid;
    gap: 0.55rem;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    max-height: 540px;
    overflow: auto;
    padding: 0.25rem;
    scrollbar-color: var(--ig-gold) #eef3f0;
}

.raffle-number {
    position: relative;
}

.raffle-number input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.raffle-number span {
    display: flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    border: 1px solid #d6e4df;
    border-radius: 0.4rem;
    background: #ffffff;
    color: var(--ig-deep);
    font-family: "Work Sans", system-ui, sans-serif;
    font-weight: 800;
    cursor: pointer;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.raffle-number input:checked + span {
    border-color: var(--ig-gold);
    background: var(--ig-gold);
    color: var(--ig-deep);
    transform: translateY(-1px);
}

.raffle-number.is-sold span {
    border-color: #d8d8d8;
    background: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
    text-decoration: line-through;
}

.raffle-number.is-reserved span {
    border-color: rgba(251, 176, 59, 0.45);
    background: #fff7e8;
    color: #b7791f;
    cursor: not-allowed;
}

.raffle-number.is-cart span {
    border-color: rgba(30, 59, 54, 0.3);
    background: #e9f3f0;
    color: var(--ig-deep);
    cursor: not-allowed;
}

.promotion-selection-summary {
    margin: 0;
    color: var(--ig-text-muted);
    font-family: "Work Sans", system-ui, sans-serif;
    font-weight: 700;
}

.promotion-selection-summary [data-raffle-count] {
    color: var(--ig-gold);
    font-size: 1.25rem;
}

.promotion-buy-button,
.promotion-cart-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border: 0;
    border-radius: 0.5rem;
    background: var(--ig-gold);
    color: var(--ig-deep);
    font-family: "Work Sans", system-ui, sans-serif;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.promotion-buy-button {
    min-height: 3.5rem;
    padding: 0 1.5rem;
    cursor: pointer;
}

.promotion-steps,
.promotion-alert {
    padding: 1.75rem;
}

.promotion-steps ol {
    display: grid;
    gap: 0.85rem;
    margin: 1.2rem 0;
    padding-left: 1.2rem;
}

.promotion-cart-link {
    min-height: 3rem;
    padding: 0 1.25rem;
}

.promotion-mechanics {
    margin-top: clamp(3rem, 6vw, 5rem);
    border-top: 1px solid #d6e4df;
    padding-top: clamp(2rem, 4vw, 3.5rem);
}

.promotion-mechanics-grid {
    display: grid;
    gap: 1rem;
}

.promotion-mechanics-grid article {
    border: 1px solid #d6e4df;
    border-radius: 0.5rem;
    padding: 1.4rem;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(30, 59, 54, 0.05);
}

.promotion-mechanics-grid span {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--ig-green);
    font-family: "Work Sans", system-ui, sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.promotion-mechanics-grid strong {
    display: block;
    color: var(--ig-deep);
    font-family: "Manrope", system-ui, sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
}

.promotion-mechanics-grid p {
    margin: 0;
    color: var(--ig-text-muted);
    line-height: 1.7;
}

/* Form states */
[class~="focus:ring-deep-plum"]:focus,
[class~="focus:border-deep-plum"]:focus {
    border-color: var(--ig-deep);
    box-shadow: 0 0 0 3px rgba(30, 59, 54, 0.15);
}

/* Footer logo descendant utilities */
[class~="[&_img]:h-16"] img { height: 4rem; }
[class~="[&_img]:w-auto"] img { width: auto; }
[class~="[&_img]:mx-auto"] img { margin-left: auto; margin-right: auto; }

/* Responsive utilities */
@media (min-width: 640px) {
    [class~="sm:px-8"] { padding-left: 2rem; padding-right: 2rem; }
}

@media (min-width: 768px) {
    [class~="md:hidden"] { display: none; }
    [class~="md:block"] { display: block; }
    [class~="md:flex"] { display: flex; }
    [class~="md:grid-cols-2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    [class~="md:grid-cols-3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    [class~="md:flex-row"] { flex-direction: row; }
    [class~="md:justify-between"] { justify-content: space-between; }
    [class~="md:items-end"] { align-items: flex-end; }
    [class~="md:h-14"] { height: 3.5rem; }
    [class~="md:w-14"] { width: 3.5rem; }
    [class~="md:h-20"] { height: 5rem; }
    [class~="md:h-[calc(100vh-4rem)]"] { height: calc(100vh - 4rem); }
    [class~="md:mb-6"] { margin-bottom: 1.5rem; }
    [class~="md:mb-7"] { margin-bottom: 1.75rem; }
    [class~="md:mb-8"] { margin-bottom: 2rem; }
    [class~="md:mb-10"] { margin-bottom: 2.5rem; }
    [class~="md:mb-12"] { margin-bottom: 3rem; }
    [class~="md:p-8"] { padding: 2rem; }
    [class~="md:text-[18px]"] { font-size: 18px; }

    .properties-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .promotion-hero-grid,
    .promotion-layout {
        grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.7fr);
        align-items: start;
    }

    .raffle-number-grid {
        grid-template-columns: repeat(10, minmax(0, 1fr));
    }

    .promotion-mechanics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .property-gallery {
        gap: 1rem;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-auto-rows: clamp(160px, 15vw, 230px);
        margin-bottom: 1.25rem;
    }

    .property-gallery-main {
        grid-column: span 2;
        grid-row: span 2;
        height: 100%;
        aspect-ratio: auto;
    }

    .property-gallery-thumbs {
        display: grid;
        grid-column: span 2;
        grid-row: span 2;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(2, minmax(0, 1fr));
        height: 100%;
    }

    .property-gallery-thumb {
        height: 100%;
        aspect-ratio: auto;
    }

    .single-property-content .wp-block-gallery,
    .single-property-content .gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    [class~="lg:grid-cols-2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    [class~="lg:grid-cols-3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    [class~="lg:px-20"] { padding-left: 5rem; padding-right: 5rem; }

    .properties-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .site-header-inner {
        min-height: 4rem;
        gap: 0.8rem;
        padding-right: 0.9rem;
        padding-left: 0.9rem;
    }

    .site-brand {
        flex: 1 1 auto;
    }

    .site-logo,
    .custom-logo {
        max-width: min(9.5rem, 42vw);
        height: 2.75rem;
    }

    .primary-nav {
        display: none;
    }

    .header-actions {
        gap: 0.55rem;
    }

    .promotion-header-badge {
        min-height: 2.35rem;
        padding: 0 0.85rem;
        font-size: 0.68rem;
    }

    .home-hero {
        min-height: clamp(560px, 86vh, 760px);
    }

    .home-hero-inner {
        padding: clamp(4rem, 14vw, 6rem) 1.25rem;
    }

    .home-hero-title {
        max-width: 42rem;
        font-size: clamp(2.5rem, 11vw, 4.2rem);
        letter-spacing: -0.025em;
    }

    .home-hero-overlay {
        background:
            linear-gradient(90deg, rgba(30, 59, 54, 0.95) 0%, rgba(30, 59, 54, 0.88) 64%, rgba(30, 59, 54, 0.68) 100%),
            linear-gradient(180deg, rgba(30, 59, 54, 0.25) 0%, rgba(30, 59, 54, 0.84) 100%);
    }
}

@media (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

@media (max-width: 380px) {
    .promotion-header-badge {
        width: 2.45rem;
        padding: 0;
        font-size: 0;
    }

    .promotion-header-badge .material-symbols-outlined {
        font-size: 1.18rem;
    }

    .site-logo,
    .custom-logo {
        max-width: 8.2rem;
    }
}
