/* =====================================================
   PW REALTORS · 2026
   Estilos principales del sitio (Veedoo-inspired)
   ===================================================== */

/* ====== VARIABLES · PW Realtors Brand ====== */
:root {
  /* Neutros */
  --ink: #1D1D1B;           /* Negro profundo — textos principales */
  --ink-soft: #2B2B2B;      /* Carbón — ink alternativo */
  --body: #3A3A38;          /* Cuerpo de texto */
  --muted: #7A7A76;         /* Texto secundario */
  --muted-light: #A8A8A2;
  --line: #E8E4DA;          /* Bordes neutros (basados en arena) */
  --line-soft: #F2EFE8;
  --bg: #FFFFFF;
  --bg-soft: #F5EFE3;       /* Arena clara — secciones alternas */
  --bg-card: #FAF7F0;

  /* Marca (dorado) */
  --brand: #C9A84C;         /* Dorado principal */
  --brand-dark: #A88B38;    /* Dorado más oscuro (hover) */
  --brand-soft: #F5EFE3;    /* Arena clara como fondo soft */
  --brand-mid: #E8C96A;     /* Dorado claro */
  --sand: #D6C4A0;          /* Arena media (acentos) */

  /* Estado */
  --success: #7A9D6A;
  --warn: #D6A04C;
  --danger: #C14A4A;

  /* Sombras neutras (más cálidas, menos azules) */
  --shadow-sm: 0 1px 2px rgba(29,29,27,0.05);
  --shadow: 0 4px 20px rgba(29,29,27,0.06);
  --shadow-md: 0 10px 30px rgba(29,29,27,0.08);
  --shadow-lg: 0 20px 50px rgba(29,29,27,0.12);

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --container: 1320px;
}

/* ====== RESET ====== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }
ul { list-style: none; }

.font-serif { font-family: 'DM Serif Display', serif; }
.hidden-mobile { display: flex; }
@media (max-width: 768px) { .hidden-mobile { display: none; } }

/* ====== LAYOUT ====== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { padding: 90px 0; }
@media (max-width: 768px) { section { padding: 60px 0; } }

/* ====== HEADINGS ====== */
h1, h2, h3, h4, h5 { font-family: 'DM Serif Display', serif; color: var(--ink); font-weight: 400; line-height: 1.15; }
h1 { font-size: clamp(36px, 5vw, 58px); }
h2 { font-size: clamp(30px, 4vw, 46px); }
h3 { font-size: clamp(22px, 2.5vw, 28px); }
p { color: var(--body); }
em.accent { font-style: italic; color: var(--brand); }

/* ====== ANIMATIONS ====== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { animation: fadeUp 0.8s ease-out both; }

/* ====== BUTTONS ====== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: var(--radius-sm); font-weight: 600; font-size: 14px; transition: all 0.2s; cursor: pointer; border: 1px solid transparent; }
.btn-primary { background: var(--brand); color: var(--ink); border-color: var(--brand); }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(201,168,76,0.35); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: var(--ink-soft); border-color: var(--ink-soft); }

/* ====== TOP BAR ====== */
.topbar { background: var(--ink-soft); color: #A8A8A2; font-size: 13px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 44px; }
.topbar a { transition: color 0.2s; }
.topbar a:hover { color: #fff; }
.topbar-divider { width: 1px; height: 14px; background: rgba(255,255,255,0.12); }
.social-icon { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,0.06); transition: all 0.2s; }
.social-icon:hover { background: var(--brand); color: var(--ink); }
@media (max-width: 768px) { .topbar { display: none; } }

/* ====== NAVBAR ====== */
.navbar { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; transition: box-shadow 0.3s; }
.navbar.scrolled { box-shadow: var(--shadow); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 44px; width: auto; display: block; }
@media (max-width: 640px) {
  .logo img { height: 38px; }
}
.nav-links { display: flex; align-items: center; gap: 36px; margin-left: 48px; flex: 1; justify-content: flex-end; }
.nav-link { color: var(--ink); font-weight: 500; font-size: 15px; padding: 8px 0; position: relative; display: inline-flex; align-items: center; gap: 4px; transition: color 0.2s; }
.nav-link:hover { color: var(--brand); }
.nav-link.active { color: var(--brand); }
.nav-link.active::after { content: ''; position: absolute; bottom: -24px; left: 50%; transform: translateX(-50%); width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.menu-btn { width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--line); display: none; align-items: center; justify-content: center; color: var(--ink); background: #fff; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
@media (max-width: 1024px) {
  .nav-links { display: none; position: absolute; top: 78px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px; border-bottom: 1px solid var(--line); margin-left: 0; gap: 10px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links .nav-link.active::after { display: none; }
  .menu-btn { display: inline-flex; }
}

/* ====== HERO ====== */
.hero { position: relative; height: 720px; max-height: 90vh; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(29,29,27,0.2) 0%, rgba(29,29,27,0.7) 100%); }
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 40px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.85; margin-bottom: 22px; }
.hero-eyebrow::before { content: ''; width: 24px; height: 1px; background: #fff; }
.hero-title { color: #fff; font-size: clamp(38px, 5.5vw, 70px); line-height: 1.05; max-width: 860px; margin-bottom: 40px; font-family: 'DM Serif Display', serif; font-weight: 400; }
.hero-title em { font-style: italic; color: var(--brand-mid); }
/* Search bar del hero */
.search-bar { background: #fff; border-radius: 16px; padding: 12px; max-width: 1040px; box-shadow: var(--shadow-lg); }
.search-tabs { display: flex; gap: 4px; padding: 4px 8px 10px; border-bottom: 1px solid var(--line-soft); flex-wrap: wrap; }
.search-tab { padding: 8px 16px; border-radius: 999px; font-size: 13px; color: var(--muted); font-weight: 500; transition: all 0.2s; }
.search-tab.active { background: var(--ink); color: var(--brand-mid); }
.search-form { display: flex; align-items: stretch; }
.search-fields { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 0; padding-top: 8px; flex: 1; }
.search-field { padding: 10px 18px; border-right: 1px solid var(--line-soft); }
.search-field:last-of-type { border-right: none; }
.search-field label { display: block; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.search-field input, .search-field select { width: 100%; border: none; outline: none; font-size: 14px; color: var(--ink); font-weight: 500; background: transparent; appearance: none; -webkit-appearance: none; cursor: pointer; }
.search-btn { background: var(--brand); color: var(--ink); padding: 0 32px; border-radius: 12px; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; margin-left: 12px; cursor: pointer; transition: background 0.2s; }
.search-btn:hover { background: var(--brand-mid); }
@media (max-width: 900px) {
  .search-form { flex-direction: column; }
  .search-fields { grid-template-columns: 1fr; }
  .search-field { border-right: none; border-bottom: 1px solid var(--line-soft); }
  .search-btn { margin: 12px 0 0; width: 100%; justify-content: center; padding: 16px; }
}

/* Trust indicators */
.trust-row { margin-top: 40px; display: flex; align-items: center; gap: 40px; color: #fff; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.trust-item strong { color: var(--brand-mid); font-size: 15px; }
.trust-divider { width: 1px; height: 20px; background: rgba(255,255,255,0.2); }

/* ====== SECTION HEAD ====== */
.section-head { text-align: center; margin-bottom: 56px; }
.section-eyebrow { display: inline-block; font-size: 12px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--brand); font-weight: 600; margin-bottom: 14px; }

/* ====== CATEGORIES ====== */
.categories { background: var(--bg-soft); }
.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
@media (max-width: 1200px) { .category-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .category-grid { grid-template-columns: repeat(2, 1fr); } }
.category-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 20px; text-align: center; transition: all 0.3s; cursor: pointer; }
.category-card:hover { border-color: var(--brand); transform: translateY(-6px); box-shadow: var(--shadow-md); }
.category-icon { width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 16px; background: var(--brand-soft); display: flex; align-items: center; justify-content: center; color: var(--brand); transition: all 0.3s; }
.category-card:hover .category-icon { background: var(--brand); color: var(--ink); }
.category-name { font-family: 'DM Serif Display', serif; color: var(--ink); font-size: 20px; margin-bottom: 4px; }
.category-count { font-size: 12px; color: var(--muted); letter-spacing: 0.1em; }

/* ====== WELCOME ====== */
.welcome-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: center; }
@media (max-width: 900px) { .welcome-grid { grid-template-columns: 1fr; gap: 40px; } }
.welcome-image { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; max-width: 540px; }
.welcome-image img { width: 100%; height: 100%; object-fit: cover; }
.welcome-badge { position: absolute; bottom: 24px; left: 24px; right: 24px; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border-radius: 16px; padding: 14px 18px; display: flex; align-items: center; gap: 10px; }
.welcome-content h2 { margin-bottom: 20px; max-width: 500px; }
.welcome-content h2 em { color: var(--brand); font-style: italic; }
.welcome-content p { margin-bottom: 32px; max-width: 500px; }
.welcome-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 36px; }
@media (max-width: 500px) { .welcome-features { grid-template-columns: 1fr; } }
.welcome-feature { display: flex; gap: 14px; padding: 18px; background: var(--bg-soft); border-radius: var(--radius); }
.welcome-feature-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.welcome-feature h4 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.welcome-feature p { font-size: 13px; color: var(--muted); margin: 0; }
.welcome-cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.call-link { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; }
.call-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--brand-soft); display: inline-flex; align-items: center; justify-content: center; color: var(--brand); }
.call-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }

/* ====== PROPERTY CARDS ====== */
.properties { background: var(--bg); }
.property-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.property-tab { padding: 10px 22px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--body); transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.property-tab.active { background: var(--brand); border-color: var(--brand); color: var(--ink); }
.property-tab:hover:not(.active) { border-color: var(--brand); color: var(--brand); }
.property-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1100px) { .property-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .property-grid { grid-template-columns: 1fr; } }
.property-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: all 0.3s; }
.property-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.property-image { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.property-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.property-card:hover .property-image img { transform: scale(1.06); }
.property-price { position: absolute; top: 14px; left: 14px; background: var(--brand); color: var(--ink); padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 13px; box-shadow: 0 4px 12px rgba(201,168,76,0.4); }
.property-save { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; background: rgba(255,255,255,0.95); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--ink); transition: all 0.2s; cursor: pointer; }
.property-save:hover { background: var(--brand); color: var(--ink); }
.property-save.saved { background: var(--brand); color: var(--ink); }
.property-save.saved svg { fill: currentColor; }
.property-body { padding: 22px; }
.property-title { font-family: 'DM Serif Display', serif; font-size: 20px; color: var(--ink); margin-bottom: 8px; }
.property-title a { color: inherit; }
.property-title a:hover { color: var(--brand); }
.property-location { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.property-specs { display: flex; align-items: center; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--body); flex-wrap: wrap; }
.property-spec { display: flex; align-items: center; gap: 6px; }
.property-spec svg { color: var(--muted); }
.properties-footer { text-align: center; margin-top: 48px; }

/* ====== SINGLE POINT ====== */
.single-point { background: var(--bg-soft); }
.sp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .sp-grid { grid-template-columns: 1fr; } }
.sp-head { margin-bottom: 32px; }
.sp-head h2 em { color: var(--brand); font-style: italic; }
.sp-list { display: flex; flex-direction: column; gap: 16px; }
.sp-item { display: grid; grid-template-columns: 110px 1fr auto; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px; transition: all 0.2s; }
.sp-item:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.sp-item img { width: 110px; height: 90px; object-fit: cover; border-radius: 12px; }
.sp-info h4 { font-family: 'DM Serif Display', serif; font-size: 18px; color: var(--ink); margin-bottom: 6px; }
.sp-location { color: var(--muted); font-size: 12px; display: flex; align-items: center; gap: 4px; margin-bottom: 8px; }
.sp-meta { display: flex; gap: 12px; font-size: 12px; color: var(--body); }
.sp-price { font-family: 'DM Serif Display', serif; font-size: 20px; color: var(--brand); }
.sp-map { position: relative; height: 520px; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(135deg, #F5EFE3, #E8D9B8); border: 1px solid var(--line); }
.sp-map-placeholder { position: absolute; inset: 0; background-image: linear-gradient(rgba(29,29,27,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(29,29,27,0.05) 1px, transparent 1px); background-size: 40px 40px; }
.sp-pin { position: absolute; transform: translate(-50%, -100%); cursor: pointer; }
.sp-pin-marker { width: 48px; height: 48px; background: var(--brand); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(201,168,76,0.4); transition: transform 0.2s; }
.sp-pin:hover .sp-pin-marker { transform: rotate(-45deg) scale(1.15); }
.sp-pin-marker span { transform: rotate(45deg); color: var(--ink); font-size: 11px; font-weight: 700; }
.sp-map-fullbtn { position: absolute; bottom: 20px; right: 20px; background: #fff; border-radius: 12px; padding: 10px 16px; box-shadow: var(--shadow); font-size: 13px; font-weight: 600; color: var(--ink); }

/* ====== DESTINATIONS ====== */
.destinations { background: var(--ink-soft); color: #fff; }
.destinations h2 { color: #fff; }
.destinations .section-eyebrow { color: var(--brand-mid); }
.dest-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 20px; }
@media (max-width: 900px) { .dest-grid { grid-template-columns: 1fr 1fr; } }
.dest-card { position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; display: block; }
.dest-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s; }
.dest-card:hover img { transform: scale(1.08); }
.dest-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(15,23,41,0.85) 100%); }
.dest-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; z-index: 2; color: #fff; }
.dest-info h3 { color: #fff; font-size: 24px; margin-bottom: 4px; }
.dest-info p { color: rgba(255,255,255,0.75); font-size: 13px; margin: 0; }

/* ====== CTA BANNER (marquee) ====== */
.cta-banner { background: var(--brand); color: var(--ink); padding: 28px 0; overflow: hidden; }
.cta-track { display: flex; gap: 50px; white-space: nowrap; animation: marquee 40s linear infinite; width: max-content; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.cta-item { display: flex; align-items: center; gap: 16px; font-family: 'DM Serif Display', serif; font-size: 26px; color: var(--ink); flex-shrink: 0; }
.cta-item svg { width: 28px; height: 28px; opacity: 0.8; }

/* ====== HAPPY HOMEOWNERS ====== */
.homeowners-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .homeowners-grid { grid-template-columns: 1fr; } }
.homeowners-image { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; }
.homeowners-image img { width: 100%; height: 100%; object-fit: cover; }
.homeowners-badge { position: absolute; top: 24px; right: 24px; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border-radius: 16px; padding: 18px 22px; }
.homeowners-badge .stars { color: var(--brand); font-size: 14px; letter-spacing: 2px; margin-bottom: 4px; }
.homeowners-badge .rating { color: var(--brand); font-weight: 700; font-size: 24px; font-family: 'DM Serif Display', serif; }
.homeowners-content h2 em { color: var(--brand); font-style: italic; }
.homeowners-content p { margin: 20px 0 32px; }
.homeowners-testimonials { background: var(--bg-soft); border-radius: var(--radius-lg); padding: 28px; position: relative; }
.testimonial-text { font-family: 'DM Serif Display', serif; font-size: 20px; line-height: 1.5; color: var(--ink); margin-bottom: 24px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial-author h5 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.testimonial-author p { color: var(--muted); font-size: 12px; margin: 0; }

/* ====== TEAM ====== */
.team { background: var(--bg-soft); }
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
@media (max-width: 1024px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
.team-card { text-align: center; }
.team-image { position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin-bottom: 18px; border: 4px solid #fff; box-shadow: var(--shadow); transition: all 0.3s; }
.team-card:hover .team-image { border-color: var(--brand); transform: scale(1.05); }
.team-image img { width: 100%; height: 100%; object-fit: cover; }
.team-card h4 { font-family: 'DM Serif Display', serif; font-size: 20px; color: var(--ink); margin-bottom: 4px; }
.team-card p { font-size: 12px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin: 0; }

/* ====== BLOG ====== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: all 0.3s; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.blog-image { aspect-ratio: 16/10; overflow: hidden; display: block; }
.blog-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.blog-card:hover .blog-image img { transform: scale(1.06); }
.blog-body { padding: 26px; }
.blog-meta { display: flex; gap: 14px; font-size: 11px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.blog-meta span { display: flex; align-items: center; gap: 5px; }
.blog-card h4 { font-family: 'DM Serif Display', serif; font-size: 22px; color: var(--ink); margin-bottom: 14px; line-height: 1.3; }
.blog-card h4 a:hover { color: var(--brand); }
.readmore { color: var(--brand); font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }

/* ====== PAGE BANNER (para páginas interiores) ====== */
.page-banner { background: var(--ink-soft); color: #fff; padding: 60px 0 80px; position: relative; overflow: hidden; }
.page-banner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at top right, rgba(201,168,76,0.18), transparent 60%); }
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: #fff; max-width: 700px; }
.page-banner h1 em { color: var(--brand-mid); font-style: italic; }
.page-banner p { color: rgba(255,255,255,0.7); max-width: 540px; margin-top: 16px; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 14px; }
.breadcrumb a { color: inherit; }
.breadcrumb .current { color: var(--brand-mid); }

/* ====== FILTERS BAR ====== */
.filters-bar { padding: 28px 0; border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 78px; z-index: 40; }
.filters-form { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.filters-tabs { display: flex; gap: 4px; background: var(--bg-soft); padding: 4px; border-radius: 12px; }
.filters-form select, .filters-form input[type="text"] { padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; }
.filters-form input[type="text"] { min-width: 200px; flex: 1; }
.filters-sort { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.filters-sort select { padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; }

/* ====== PROPERTY DETAIL ====== */
.gallery-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; border-radius: var(--radius-lg); overflow: hidden; height: 540px; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; transition: transform 0.6s; }
.gallery-grid img:hover { transform: scale(1.02); }
.gallery-grid > div:first-child { grid-row: span 2; }
.gallery-more { position: relative; cursor: pointer; }
.gallery-more-overlay { position: absolute; inset: 0; background: rgba(15,23,41,0.6); display: flex; align-items: center; justify-content: center; color: #fff; font-family: 'DM Serif Display', serif; font-size: 24px; transition: background 0.2s; }
.gallery-more:hover .gallery-more-overlay { background: rgba(15,23,41,0.75); }
@media (max-width: 768px) { .gallery-grid { grid-template-columns: 1fr; grid-template-rows: 300px repeat(2, 150px); height: auto; } .gallery-grid > div:first-child { grid-row: auto; } }

.property-detail-layout { display: grid; grid-template-columns: 1fr 380px; gap: 48px; }
@media (max-width: 1024px) { .property-detail-layout { grid-template-columns: 1fr; } }
.property-detail-main > div { margin-bottom: 40px; }
.property-quick-specs { display: flex; gap: 20px; margin-top: 18px; flex-wrap: wrap; font-size: 14px; color: var(--body); }
.property-quick-specs span { display: flex; gap: 6px; align-items: center; }
.specs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 640px) { .specs-grid { grid-template-columns: repeat(2, 1fr); } }
.spec-box { border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.spec-box .label { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.spec-box .value { font-family: 'DM Serif Display', serif; font-size: 18px; color: var(--ink); }
.amenities-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 30px; }
.amenity-item { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; font-size: 14px; }

.property-sidebar { position: sticky; top: 120px; align-self: start; }
.price-card { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 28px; margin-bottom: 16px; }.price-card .label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brand-mid); margin-bottom: 6px; }
.price-card .price { font-family: 'DM Serif Display', serif; font-size: 42px; line-height: 1; margin-bottom: 6px; }
.price-card .price-sub { font-size: 12px; color: rgba(255,255,255,0.6); margin-bottom: 20px; }
.whatsapp-btn { display: flex; justify-content: center; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,0.2); color: #fff; padding: 12px; border-radius: 8px; margin-top: 10px; font-weight: 600; font-size: 14px; text-decoration: none; }
.whatsapp-btn:hover { background: rgba(255,255,255,0.1); }
.agent-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; margin-bottom: 16px; }
.agent-header { display: flex; gap: 12px; margin-bottom: 16px; }
.agent-header img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.agent-info-row { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; font-size: 13px; color: var(--body); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.form-card h4 { font-family: 'DM Serif Display', serif; font-size: 22px; color: var(--ink); margin-bottom: 6px; }
.form-card p { font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.form-card form { display: flex; flex-direction: column; gap: 10px; }
.form-card input, .form-card textarea { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; font-family: inherit; }
.form-card input:focus, .form-card textarea:focus { outline: none; border-color: var(--brand); }

/* ====== SELL PAGE ====== */
.sell-hero { background: linear-gradient(135deg, #F5EFE3 0%, #E8D9B8 100%); padding: 80px 0 100px; }
.sell-hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .sell-hero-grid { grid-template-columns: 1fr; } }
.sell-hero h1 em { color: var(--brand); font-style: italic; }
.sell-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; padding-top: 30px; border-top: 1px solid rgba(0,0,0,0.08); }
.sell-stat-num { font-family: 'DM Serif Display', serif; font-size: 32px; color: var(--ink); }
.sell-stat-label { font-size: 11px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }
.sell-hero img { border-radius: var(--radius-lg); width: 100%; }

.steps-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
@media (max-width: 1024px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .steps-grid { grid-template-columns: 1fr; } }
.step-card { text-align: center; padding: 28px 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: all 0.2s; }
.step-card:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.step-num { font-family: 'DM Serif Display', serif; font-size: 44px; color: var(--brand); font-style: italic; margin-bottom: 10px; }
.step-card h4 { font-family: 'DM Serif Display', serif; font-size: 18px; color: var(--ink); margin-bottom: 8px; }
.step-card p { font-size: 13px; color: var(--body); line-height: 1.6; margin: 0; }

.valuation { background: var(--ink-soft); color: #fff; }
.valuation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
@media (max-width: 900px) { .valuation-grid { grid-template-columns: 1fr; } }
.valuation h2 { color: #fff; }
.valuation h2 em { color: var(--brand-mid); font-style: italic; }
.valuation .section-eyebrow { color: var(--brand-mid); }
.valuation p { color: rgba(255,255,255,0.7); }
.valuation-checks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.valuation-checks li { display: flex; gap: 12px; align-items: flex-start; color: #fff; }
.valuation-checks svg { flex-shrink: 0; margin-top: 2px; }
.valuation-form { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 32px; }
.valuation-form form { display: flex; flex-direction: column; gap: 14px; }
.valuation-form input, .valuation-form select, .valuation-form textarea { padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; font-family: inherit; width: 100%; }
.valuation-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.valuation-form .row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
@media (max-width: 500px) { .valuation-form .row, .valuation-form .row-3 { grid-template-columns: 1fr; } }

/* ====== CONTACT PAGE ====== */
.contact-grid { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: start; }
@media (max-width: 1100px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-channels { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 120px; }
@media (max-width: 1100px) { .contact-channels { position: static; } }
.contact-channel { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: all 0.2s; cursor: pointer; }
.contact-channel:hover { border-color: var(--brand); }
.contact-channel-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-channel h4 { font-family: 'DM Serif Display', serif; font-size: 18px; color: var(--ink); margin-bottom: 2px; }
.contact-channel p { font-size: 14px; color: var(--body); margin: 0; }
.contact-form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; }
.contact-form-wrap h3 { margin-bottom: 8px; }
.contact-form-wrap > p { margin-bottom: 24px; color: var(--muted); }
.contact-form-wrap form { display: flex; flex-direction: column; gap: 14px; }
.contact-form-wrap input, .contact-form-wrap select, .contact-form-wrap textarea { padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; font-family: inherit; }
.contact-form-wrap .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 500px) { .contact-form-wrap .row { grid-template-columns: 1fr; } }
.contact-map { margin-top: 60px; height: 400px; border-radius: var(--radius-lg); background: linear-gradient(135deg, #F5EFE3, #E8D9B8); position: relative; overflow: hidden; border: 1px solid var(--line); }
.contact-map-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(29,29,27,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(29,29,27,0.05) 1px, transparent 1px); background-size: 40px 40px; }
.contact-map-pin { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -100%); }
.contact-map-pin > div { width: 48px; height: 48px; background: var(--brand); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 4px 14px rgba(201,168,76,0.4); }
.contact-map-card { position: absolute; bottom: 20px; left: 20px; background: #fff; border-radius: 12px; padding: 16px 20px; box-shadow: var(--shadow); }
.contact-map-card .label { font-size: 11px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; }
.contact-map-card .address { font-family: 'DM Serif Display', serif; font-size: 18px; color: var(--ink); }

/* ====== ABOUT ====== */
.about-hero-img img { width: 100%; aspect-ratio: 16/7; object-fit: cover; border-radius: var(--radius-lg); }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 768px) { .values-grid { grid-template-columns: 1fr; } }
.value-card { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); display: flex; gap: 20px; }
.value-num { font-family: 'DM Serif Display', serif; font-size: 48px; color: var(--brand); font-style: italic; flex-shrink: 0; line-height: 1; }
.value-card h3 { margin-bottom: 10px; }

/* ====== PAGINATION ====== */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 60px; flex-wrap: wrap; }
.pagination .btn { padding: 10px 16px; }

/* ====== FOOTER ====== */
.footer { background: var(--ink-soft); color: #A8A8A2; padding: 80px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 50px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.08); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 500px) { .footer-top { grid-template-columns: 1fr; } }
.footer h5 { color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px; font-weight: 700; margin-bottom: 20px; }
.footer ul li { margin-bottom: 12px; font-size: 14px; }
.footer ul li a:hover { color: var(--brand); }
.footer-desc { max-width: 320px; margin: 14px 0 18px; color: rgba(255,255,255,0.6); }
.footer-apps { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.footer-apps-label { font-size: 12px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.18em; }
.app-badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; transition: all 0.2s; max-width: 180px; }
.app-badge:hover { background: rgba(255,255,255,0.1); border-color: var(--brand); }
.app-badge .small { font-size: 10px; opacity: 0.7; }
.app-badge .big { font-size: 14px; color: #fff; font-weight: 600; line-height: 1; }
.newsletter-input { display: flex; gap: 0; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; overflow: hidden; margin-bottom: 16px; }
.newsletter-input input { flex: 1; background: transparent; border: none; outline: none; padding: 12px 16px; color: #fff; font-size: 14px; }
.newsletter-input input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-input button { background: var(--brand); color: var(--ink); padding: 0 20px; font-weight: 600; font-size: 13px; cursor: pointer; }
.newsletter-input button:hover { background: var(--brand-mid); }
.contact-footer { margin-top: 24px; }
.contact-footer .label { color: #fff; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.contact-footer .lines { font-size: 13px; line-height: 1.9; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 28px 0; font-size: 13px; flex-wrap: wrap; gap: 16px; }
.footer-bottom-links { display: flex; gap: 24px; }

/* ====== UTILITY ====== */
.text-center { text-align: center; }

/* =====================================================
   PW REALTORS · FORMULARIO DE CONTACTO AVANZADO
   ===================================================== */

.pw-form-wrap {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
}
@media (max-width: 560px) {
  .pw-form-wrap { padding: 1.5rem 1rem; }
}

.pw-form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  width: 100%;
  padding: 3rem 3rem;
  position: relative;
  overflow: hidden;
}
.pw-form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
}
.pw-form-card::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}
@media (max-width: 560px) {
  .pw-form-card { padding: 2rem 1.5rem; }
}

/* Header interno del form */
.pw-form-header { margin-bottom: 2.5rem; position: relative; z-index: 1; }
.pw-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 20px;
  padding: 4px 12px;
  margin-bottom: 1rem;
}
.pw-badge-dot {
  width: 5px; height: 5px;
  background: var(--brand);
  border-radius: 50%;
  animation: pw-pulse 2s ease-in-out infinite;
}
@keyframes pw-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.pw-form-title {
  font-family: 'DM Serif Display', serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.pw-form-subtitle {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 400;
}

/* Separador de sección */
.pw-section-sep {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 2rem 0 1.2rem;
  position: relative;
  z-index: 1;
}
.pw-section-sep-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  white-space: nowrap;
}
.pw-section-sep-line {
  flex: 1;
  height: 1px;
  background: rgba(201,168,76,0.2);
}

/* Grid */
.pw-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; position: relative; z-index: 1; }
.pw-grid-1 { display: grid; grid-template-columns: 1fr; gap: 14px; position: relative; z-index: 1; }
@media (max-width: 560px) { .pw-grid-2 { grid-template-columns: 1fr; } }

/* Field */
.pw-field { display: flex; flex-direction: column; gap: 6px; }
.pw-field label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.pw-form-card input[type="text"],
.pw-form-card input[type="email"],
.pw-form-card input[type="tel"],
.pw-form-card select,
.pw-form-card textarea {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.pw-form-card input::placeholder,
.pw-form-card textarea::placeholder { color: var(--muted-light); }
.pw-form-card input:focus,
.pw-form-card select:focus,
.pw-form-card textarea:focus {
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}
.pw-form-card select {
  cursor: pointer;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9A84C' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.pw-form-card select option { background: #fff; color: var(--ink); }
.pw-form-card textarea { resize: vertical; min-height: 90px; line-height: 1.6; }

/* Chips */
.pw-chips-group { display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 1; }
.pw-chip { cursor: pointer; user-select: none; margin: 0; }
.pw-chip input[type="radio"],
.pw-chip input[type="checkbox"] { display: none; }
.pw-chip-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--body);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
}
.pw-chip-label:hover {
  border-color: var(--brand);
  color: var(--ink);
  background: #fff;
}
.pw-chip input:checked + .pw-chip-label {
  border-color: var(--brand);
  background: rgba(201,168,76,0.12);
  color: var(--brand-dark);
  font-weight: 600;
}
.pw-chip-check {
  width: 14px; height: 14px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  transition: all 0.15s;
}
.pw-chip input:checked + .pw-chip-label .pw-chip-check::after { content: '✓'; }

/* Urgencia cards */
.pw-urgency-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; position: relative; z-index: 1; }
@media (max-width: 560px) { .pw-urgency-group { grid-template-columns: 1fr; } }
.pw-urgency-card { cursor: pointer; margin: 0; }
.pw-urgency-card input { display: none; }
.pw-urgency-face {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  display: block;
}
.pw-urgency-face:hover {
  border-color: var(--brand);
  background: #fff;
  transform: translateY(-1px);
}
.pw-urgency-card input:checked + .pw-urgency-face {
  border-color: var(--brand);
  background: rgba(201,168,76,0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(201,168,76,0.18);
}
.pw-urgency-icon {
  font-size: 20px;
  display: block;
  margin-bottom: 6px;
  filter: grayscale(0.5);
}
.pw-urgency-card input:checked + .pw-urgency-face .pw-urgency-icon { filter: grayscale(0); }
.pw-urgency-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--body);
  display: block;
  margin-bottom: 2px;
  transition: color 0.2s;
}
.pw-urgency-card input:checked + .pw-urgency-face .pw-urgency-title { color: var(--brand-dark); }
.pw-urgency-sub {
  font-size: 10.5px;
  color: var(--muted);
  display: block;
  line-height: 1.3;
}

/* Presupuesto slider */
.pw-budget-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.pw-budget-value {
  font-family: 'DM Serif Display', serif;
  font-size: 1.8rem;
  color: var(--brand-dark);
  font-weight: 400;
}
.pw-budget-label { font-size: 11px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.pw-form-card input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  outline: none;
  border: none;
  box-shadow: none;
  padding: 0;
}
.pw-form-card input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--brand);
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--brand), 0 2px 6px rgba(201,168,76,0.35);
  transition: box-shadow 0.2s;
}
.pw-form-card input[type="range"]::-webkit-slider-thumb:hover {
  box-shadow: 0 0 0 1px var(--brand), 0 0 0 6px rgba(201,168,76,0.18);
}
.pw-form-card input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--brand);
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--brand), 0 2px 6px rgba(201,168,76,0.35);
}
.pw-budget-range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}
.pw-budget-range-labels span { font-size: 10.5px; color: var(--muted); font-weight: 500; }

/* Privacidad */
.pw-privacy-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 1.5rem;
  position: relative;
  z-index: 1;
}
.pw-custom-checkbox {
  width: 18px; height: 18px;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.pw-custom-checkbox:hover { border-color: var(--brand); }
.pw-custom-checkbox.checked {
  background: var(--brand);
  border-color: var(--brand);
}
.pw-custom-checkbox svg { display: none; }
.pw-custom-checkbox.checked svg { display: block; }
.pw-privacy-text {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.pw-privacy-text a {
  color: var(--brand-dark);
  text-decoration: underline;
  font-weight: 600;
}
.pw-privacy-text a:hover { color: var(--brand); }

/* Botón submit */
.pw-btn-submit {
  width: 100%;
  margin-top: 1.4rem;
  padding: 16px 24px;
  background: var(--brand);
  border: none;
  border-radius: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 1;
}
.pw-btn-submit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 60%);
  pointer-events: none;
}
.pw-btn-submit:not(:disabled):hover {
  background: var(--brand-mid);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.35);
}
.pw-btn-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.pw-btn-submit svg { flex-shrink: 0; position: relative; z-index: 1; }

.pw-form-footer {
  text-align: center;
  margin-top: 1.2rem;
  font-size: 11.5px;
  color: var(--muted-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
  z-index: 1;
}
.pw-form-footer svg { stroke: var(--muted-light); }

/* Éxito */
.pw-success-state {
  display: none;
  text-align: center;
  padding: 2rem 0;
}
.pw-success-state.active { display: block; }
.pw-success-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(201,168,76,0.12);
  border: 1px solid var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
}
.pw-success-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.8rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.pw-success-sub { font-size: 13px; color: var(--muted); }


/* ====== LIGHTBOX ====== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(29, 29, 27, 0.95);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lightbox.open {
  display: flex;
  opacity: 1;
}
.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.lightbox-image {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: lightboxFade 0.3s ease;
}
@keyframes lightboxFade {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}
.lightbox-caption {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  text-align: center;
  max-width: 600px;
}
.lightbox-counter {
  color: var(--brand-mid);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 10;
  backdrop-filter: blur(8px);
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--ink);
}
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* Cursor indicator on gallery images */
.gallery-grid img { cursor: zoom-in; }

/* Prevent body scroll when lightbox open */
body.lightbox-open { overflow: hidden; }

@media (max-width: 640px) {
  .lightbox { padding: 20px; }
  .lightbox-close { top: 16px; right: 16px; width: 44px; height: 44px; }
  .lightbox-prev { left: 8px; width: 44px; height: 44px; }
  .lightbox-next { right: 8px; width: 44px; height: 44px; }
  .lightbox-image { max-height: 75vh; }
}
