/* ===================================================
   Alquiastur Inmobiliaria — Estilos principales
   =================================================== */

/* Variables */
:root {
  --primary: #0b6b7a;
  --primary-light: #1899ab;
  --accent: #f0c800;
  --accent-hover: #f5d620;
  --bg: #f0f7f8;
  --bg-card: #ffffff;
  --text: #1a202c;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --shadow-sm: 0 1px 4px rgba(0,0,0,.06);
  --shadow: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.15);
  --radius: 10px;
  --radius-lg: 16px;
  --transition: .25s ease;
  --header-h: 70px;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Poppins', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* Tipografía */
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
.section-title { text-align: center; margin-bottom: .5rem; }
.section-subtitle { text-align: center; color: var(--text-muted); margin-bottom: 3rem; font-size: 1.05rem; }
.section { padding: 5rem 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

/* ── HEADER ── */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--primary);
  height: var(--header-h);
  display: flex; align-items: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.logo { display: flex; align-items: center; gap: .75rem; }
.logo-icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-icon svg { width: 46px; height: 46px; }
.logo-text { line-height: 1.1; }
.logo-text strong { display: block; color: #fff; font-size: 1.2rem; font-family: 'Playfair Display', serif; font-weight: 700; }
.logo-text span { display: block; margin-top: .25rem; color: var(--accent); font-size: .75rem; font-weight: 500; letter-spacing: .04em; }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a {
  color: rgba(255,255,255,.85); font-size: .9rem; font-weight: 500;
  transition: color var(--transition); position: relative; padding-bottom: 2px;
}
.nav a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--accent); transform: scaleX(0);
  transition: transform var(--transition);
}
.nav a:hover, .nav a.active { color: #fff; }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav-cta {
  background: var(--accent); color: #fff !important; padding: .5rem 1.25rem;
  border-radius: 50px; font-size: .875rem !important; font-weight: 600 !important;
  transition: background var(--transition) !important;
}
.nav-cta:hover { background: var(--accent-hover) !important; }
.nav-cta::after { display: none !important; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 30px; cursor: pointer; padding: 4px;
}
.hamburger span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: var(--transition); }

/* Mobile nav */
.mobile-nav {
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: var(--primary); z-index: 999;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2rem; transform: translateX(100%); transition: transform .3s ease;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { color: #fff; font-size: 1.4rem; font-weight: 600; font-family: 'Playfair Display', serif; }
.mobile-nav a:hover { color: var(--accent); }

/* ── HERO ── */
.hero {
  min-height: calc(100vh - var(--header-h));
  background: linear-gradient(135deg, #073d46 0%, #0b6b7a 50%, #0a5362 100%);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8920a' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 1; max-width: 750px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(200,146,10,.15); border: 1px solid rgba(200,146,10,.3);
  color: var(--accent); padding: .35rem 1rem; border-radius: 50px;
  font-size: .8rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: 1.5rem;
}
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero h1 span { color: var(--accent); }
.hero p { color: rgba(255,255,255,.75); font-size: 1.1rem; margin-bottom: 2.5rem; max-width: 560px; }
.hero-stats { display: flex; gap: 2.5rem; margin-top: 3rem; }
.hero-stat span { display: block; }
.hero-stat .num { color: var(--accent); font-size: 2rem; font-weight: 700; font-family: 'Playfair Display', serif; line-height: 1; }
.hero-stat .lbl { color: rgba(255,255,255,.7); font-size: .8rem; margin-top: .25rem; }

/* ── BUSCADOR HERO ── */
.search-box {
  background: var(--bg-card); border-radius: var(--radius-lg);
  padding: 1.5rem 2rem; box-shadow: var(--shadow-lg);
  margin-top: 2.5rem;
}
.search-box h3 { margin-bottom: 1.25rem; color: var(--primary); font-size: 1.05rem; }
.search-row { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 1rem; align-items: end; }
.search-field label { display: block; font-size: .75rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .4rem; }
.search-field select,
.search-field input {
  width: 100%; padding: .7rem 1rem; border: 2px solid var(--border);
  border-radius: var(--radius); font-size: .925rem; background: var(--bg);
  color: var(--text); transition: border-color var(--transition);
  -webkit-appearance: none; appearance: none;
}
.search-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .75rem center; padding-right: 2.5rem; }
.search-field select:focus, .search-field input:focus { outline: none; border-color: var(--primary-light); }
.search-btn {
  background: var(--accent); color: #fff;
  padding: .75rem 1.75rem; border-radius: var(--radius);
  font-size: .95rem; font-weight: 600;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.search-btn:hover { background: var(--accent-hover); transform: translateY(-1px); }

/* ── CATEGORÍAS ── */
.categories { background: var(--bg-card); }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
.cat-card {
  background: var(--bg); border-radius: var(--radius);
  padding: 1.5rem 1rem; text-align: center;
  border: 2px solid transparent; cursor: pointer;
  transition: all var(--transition);
}
.cat-card:hover, .cat-card.active {
  border-color: var(--accent); background: rgba(200,146,10,.06);
  transform: translateY(-3px); box-shadow: var(--shadow);
}
.cat-icon { font-size: 2rem; margin-bottom: .6rem; display: block; }
.cat-name { font-size: .85rem; font-weight: 600; color: var(--primary); }
.cat-count { font-size: .75rem; color: var(--text-muted); margin-top: .15rem; }

/* ── TARJETA DE PROPIEDAD ── */
.props-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.prop-card {
  background: var(--bg-card); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer; position: relative;
}
.prop-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.prop-img {
  height: 220px; overflow: hidden; position: relative;
  background: var(--primary);
}
.prop-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.prop-card:hover .prop-img img { transform: scale(1.05); }
.prop-badges { position: absolute; top: .75rem; left: .75rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.badge {
  padding: .3rem .75rem; border-radius: 50px;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
}
.badge-venta { background: var(--accent); color: #fff; }
.badge-alquiler { background: #10b981; color: #fff; }
.badge-destacado { background: var(--primary); color: #fff; }
.badge-tipo { background: rgba(255,255,255,.9); color: var(--primary); }
.prop-body { padding: 1.25rem 1.5rem; }
.prop-precio {
  font-size: 1.5rem; font-weight: 700; color: var(--primary);
  font-family: 'Playfair Display', serif; margin-bottom: .4rem;
}
.prop-titulo { font-size: .95rem; font-weight: 600; color: var(--text); margin-bottom: .5rem; line-height: 1.4; font-family: 'Poppins', sans-serif; }
.prop-loc { font-size: .8rem; color: var(--text-muted); margin-bottom: .9rem; display: flex; align-items: center; gap: .3rem; }
.prop-stats { display: flex; gap: 1.25rem; padding-top: .9rem; border-top: 1px solid var(--border); }
.prop-stat { display: flex; align-items: center; gap: .35rem; font-size: .8rem; color: var(--text-muted); }
.prop-stat i { color: var(--primary-light); }
.prop-ref { position: absolute; bottom: .7rem; right: 1rem; font-size: .68rem; color: var(--border); font-weight: 600; }
.no-results { text-align: center; padding: 4rem 1rem; color: var(--text-muted); }
.no-results i { font-size: 3rem; display: block; margin-bottom: 1rem; opacity: .3; }

/* ── PAGINACIÓN ── */
.pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 3rem; flex-wrap: wrap; }
.page-btn {
  width: 40px; height: 40px; border-radius: var(--radius); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .875rem; font-weight: 600; color: var(--text-muted);
  transition: all var(--transition); cursor: pointer; background: var(--bg-card);
}
.page-btn:hover, .page-btn.active { border-color: var(--primary); color: var(--primary); background: rgba(13,33,55,.06); }
.page-btn.active { background: var(--primary); color: #fff; }

/* ── SERVICIOS ── */
.services { background: #073d46; }
.services .section-title, .services .section-subtitle { color: #fff; }
.services .section-subtitle { color: rgba(255,255,255,.65); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.service-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: all var(--transition);
}
.service-card:hover { background: rgba(255,255,255,.1); transform: translateY(-3px); }
.service-icon {
  width: 56px; height: 56px; background: rgba(200,146,10,.2);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.25rem; color: var(--accent);
}
.service-card h3 { color: #fff; margin-bottom: .6rem; font-size: 1.1rem; font-family: 'Poppins', sans-serif; font-weight: 600; }
.service-card p { color: rgba(255,255,255,.65); font-size: .875rem; line-height: 1.65; }

/* ── NOSOTROS ── */
.about { background: var(--bg-card); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-img {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  min-height: 400px; display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
}
.about-badge {
  display: inline-block; background: rgba(200,146,10,.1); color: var(--accent);
  padding: .35rem .9rem; border-radius: 50px; font-size: .8rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1.25rem;
}
.about-text h2 { margin-bottom: 1rem; }
.about-text p { color: var(--text-muted); margin-bottom: 1rem; line-height: 1.75; }
.about-features { margin-top: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.about-feat { display: flex; align-items: center; gap: .6rem; font-size: .875rem; font-weight: 500; }
.about-feat i { color: var(--accent); }

/* ── POR QUÉ ELEGIRNOS ── */
.why { background: var(--bg); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; }
.why-card {
  background: var(--bg-card); border-radius: var(--radius-lg); padding: 2rem;
  text-align: center; box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.why-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.why-num {
  font-size: 2.8rem; font-weight: 700; font-family: 'Playfair Display', serif;
  color: var(--accent); line-height: 1; margin-bottom: .5rem;
}
.why-card h3 { margin-bottom: .5rem; font-size: 1rem; font-family: 'Poppins', sans-serif; font-weight: 600; }
.why-card p { font-size: .85rem; color: var(--text-muted); }

/* ── CONTACTO ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info { padding: 2rem 0; }
.contact-info h2 { margin-bottom: 1rem; }
.contact-info p { color: var(--text-muted); margin-bottom: 2rem; }
.contact-item {
  display: flex; align-items: flex-start; gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-item-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: rgba(200,146,10,.1); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 1.1rem;
}
.contact-item-text strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: .25rem; }
.contact-item-text a { color: var(--primary); font-weight: 500; transition: color var(--transition); }
.contact-item-text a:hover { color: var(--accent); }
.hours-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; font-size: .875rem; }
.hours-grid .day { color: var(--text-muted); }
.hours-grid .time { font-weight: 600; }
.contact-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.contact-map iframe { width: 100%; height: 320px; border: none; display: block; }
.contact-form-wrap { background: var(--bg-card); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); }
.contact-form-wrap h3 { margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: .4rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: .75rem 1rem; border: 2px solid var(--border);
  border-radius: var(--radius); font-size: .925rem;
  transition: border-color var(--transition); background: var(--bg);
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--primary-light); background: #fff; }
.form-group textarea { min-height: 110px; resize: vertical; }
.form-check { margin-bottom: 1rem; }
.check-label { display: flex; align-items: flex-start; gap: .5rem; font-size: .85rem; color: var(--text-muted); cursor: pointer; line-height: 1.4; }
.check-label input[type="checkbox"] { margin-top: .15rem; flex-shrink: 0; accent-color: var(--primary); width: 15px; height: 15px; cursor: pointer; }
.check-label a { color: var(--primary-light); text-decoration: underline; }
.form-submit {
  width: 100%; padding: .85rem; background: var(--accent); color: #fff;
  border-radius: var(--radius); font-size: 1rem; font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}
.form-submit:hover { background: var(--accent-hover); transform: translateY(-1px); }
.whatsapp-btn {
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  width: 100%; padding: .85rem; background: #25D366; color: #fff;
  border-radius: var(--radius); font-size: 1rem; font-weight: 600;
  transition: background var(--transition); margin-top: .75rem;
}
.whatsapp-btn:hover { background: #1ebe5d; }

/* ── FOOTER ── */
.footer { background: #041f25; color: rgba(255,255,255,.75); padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 2rem; }
.footer-brand { }
.footer-logo { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.footer-logo .logo-icon { width: 38px; height: 38px; }
.footer-logo .logo-icon svg { width: 38px; height: 38px; }
.footer-logo strong { color: #fff; font-family: 'Playfair Display', serif; font-size: 1.15rem; }
.footer-brand p { font-size: .875rem; line-height: 1.7; max-width: 280px; }
.footer-social { display: flex; gap: .75rem; margin-top: 1.25rem; }
.footer-social a {
  width: 36px; height: 36px; background: rgba(255,255,255,.08);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  transition: background var(--transition); color: #fff;
}
.footer-social a:hover { background: var(--accent); }
.footer-col h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; font-family: 'Poppins', sans-serif; }
.footer-col li { margin-bottom: .5rem; }
.footer-col a { font-size: .875rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .8rem; flex-wrap: wrap; gap: .5rem;
}
.footer-bottom a:hover { color: var(--accent); }

/* ── BREADCRUMB ── */
.breadcrumb {
  background: var(--primary); padding: .75rem 0;
  font-size: .8rem; color: rgba(255,255,255,.6);
}
.breadcrumb a { color: rgba(255,255,255,.6); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--accent); }

/* ── PÁGINA PROPIEDADES ── */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 3rem 0; color: #fff;
}
.page-hero h1 { margin-bottom: .5rem; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.page-hero p { color: rgba(255,255,255,.7); font-size: .95rem; }
.listing-layout { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; align-items: start; }
.filters-panel {
  background: var(--bg-card); border-radius: var(--radius-lg);
  padding: 1.75rem; box-shadow: var(--shadow-sm); position: sticky; top: 90px;
}
.filters-panel h3 { font-size: 1rem; margin-bottom: 1.5rem; font-family: 'Poppins', sans-serif; display: flex; align-items: center; justify-content: space-between; }
.filter-reset { font-size: .75rem; color: var(--accent); font-weight: 500; font-family: 'Poppins', sans-serif; cursor: pointer; }
.filter-group { margin-bottom: 1.25rem; }
.filter-group label { display: block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: .5rem; }
.filter-group select,
.filter-group input {
  width: 100%; padding: .6rem .85rem; border: 2px solid var(--border);
  border-radius: 8px; font-size: .875rem; background: var(--bg);
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .65rem center;
  padding-right: 2rem;
}
.filter-group select:focus, .filter-group input:focus { outline: none; border-color: var(--primary-light); }
.filter-group input[type="number"] { background-image: none; }
.filter-apply {
  width: 100%; padding: .7rem; background: var(--primary); color: #fff;
  border-radius: 8px; font-weight: 600; font-size: .875rem;
  transition: background var(--transition); margin-top: .5rem;
}
.filter-apply:hover { background: var(--primary-light); }
.filters-toggle {
  display: none; background: var(--primary); color: #fff;
  padding: .7rem 1.25rem; border-radius: var(--radius);
  font-weight: 600; font-size: .875rem; gap: .5rem; align-items: center;
  margin-bottom: 1rem;
}
.listing-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; flex-wrap: wrap; gap: .75rem; }
.listing-count { font-size: .9rem; color: var(--text-muted); }
.listing-count strong { color: var(--primary); }
.sort-select {
  padding: .5rem .9rem; border: 2px solid var(--border);
  border-radius: 8px; font-size: .875rem; background: var(--bg-card);
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .65rem center;
  padding-right: 2rem;
}

/* ── DETALLE PROPIEDAD ── */
.detail-layout { display: grid; grid-template-columns: 1fr 360px; gap: 2rem; align-items: start; }
.gallery { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 2rem; position: relative; }
.gallery-main { height: 420px; background: var(--primary); position: relative; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: .5rem; margin-top: .5rem; }
.gallery-thumb { width: 80px; height: 60px; border-radius: 6px; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: border-color var(--transition); flex-shrink: 0; }
.gallery-thumb.active { border-color: var(--accent); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-info { background: var(--bg-card); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); margin-bottom: 1.5rem; }
.detail-info h1 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); margin: .75rem 0; }
.detail-precio { font-size: 2rem; font-weight: 700; color: var(--accent); font-family: 'Playfair Display', serif; }
.detail-stats { display: flex; flex-wrap: wrap; gap: 1.25rem; padding: 1.25rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin: 1rem 0; }
.detail-stat { display: flex; align-items: center; gap: .5rem; font-size: .875rem; }
.detail-stat i { color: var(--accent); }
.detail-stat strong { font-weight: 600; }
.detail-features { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 1.25rem; }
.detail-feat { display: flex; align-items: center; gap: .5rem; font-size: .85rem; padding: .5rem; background: var(--bg); border-radius: 8px; }
.detail-feat i { color: var(--accent); width: 18px; text-align: center; }
.detail-feat.no { opacity: .4; }
.detail-description { background: var(--bg-card); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); }
.detail-description h3 { margin-bottom: 1rem; font-family: 'Poppins', sans-serif; font-size: 1.05rem; }
.detail-description p { color: var(--text-muted); line-height: 1.8; }
.detail-sidebar .contact-form-wrap { position: sticky; top: 90px; }

/* ── TOAST / ALERT ── */
.toast {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 9999;
  background: var(--primary); color: #fff; padding: 1rem 1.5rem;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  font-size: .9rem; transform: translateY(100px); opacity: 0;
  transition: all .3s ease; pointer-events: none;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { background: #10b981; }
.toast.error { background: #ef4444; }

/* ── LANG SWITCHER ── */
.lang-switcher { display: flex; align-items: center; gap: .3rem; }
.lang-btn {
  background: none; border: 1px solid rgba(255,255,255,.35); color: rgba(255,255,255,.7);
  padding: .25rem .55rem; border-radius: 5px; font-size: .72rem; font-weight: 700;
  cursor: pointer; transition: all var(--transition); font-family: inherit;
}
.lang-btn:hover { color: #fff; border-color: rgba(255,255,255,.65); }
.lang-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.mobile-nav .lang-switcher { flex-direction: row; justify-content: center; }

/* ── UTILS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--accent); color: #fff;
  padding: .8rem 1.75rem; border-radius: var(--radius);
  font-size: .95rem; font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 2px solid var(--border); color: var(--text);
  padding: .75rem 1.5rem; border-radius: var(--radius);
  font-size: .9rem; font-weight: 600;
  transition: all var(--transition);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.accent { color: var(--accent); }
.section-divider { width: 60px; height: 3px; background: var(--accent); margin: .75rem auto 1rem; border-radius: 2px; }
.section-divider.left { margin-left: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-img { min-height: 280px; }
  .contact-grid { grid-template-columns: 1fr; }
  .listing-layout { grid-template-columns: 1fr; }
  .filters-panel { position: static; display: none; }
  .filters-panel.open { display: block; }
  .filters-toggle { display: flex; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-sidebar .contact-form-wrap { position: static; }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .search-row { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .gallery-main { height: 260px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .search-box { padding: 1.25rem; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .props-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .detail-features { grid-template-columns: 1fr; }
}
