:root {
  --wp: #7C3AED;
  --wp-dark: #5b21b6;
  --bg: #f9fafb;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --nav-text: #6b7280;
  --nav-hover-bg: #f3e8ff;
}

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
}

.web-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Navbar ── */
.web-nav {
  z-index: 50;
}

/* Dynamic header columns */
.hdr-col {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  min-width: 0;
  flex-shrink: 0;
}

.hdr-col .nav-links {
  position: static;
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  margin: 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 20px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-brand img { display: block; }

.nav-slogan {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  max-width: 200px;
  line-height: 1.3;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
}

.nav-links a {
  display: block;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--nav-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: background .15s, color .15s;
}

.nav-links a:hover, .nav-links a.active {
  background: var(--nav-hover-bg);
  color: var(--wp);
}

.btn-admin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #111;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: background .15s;
  white-space: nowrap;
}

.btn-admin:hover { background: #222; }

/* ── Hero ── */
.web-hero {
  background: linear-gradient(135deg, #111111 0%, #2d1b69 60%, #7C3AED 100%);
  padding: 80px 0 90px;
}

.hero-content {
  text-align: center;
  color: #fff;
}

.hero-content h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -.5px;
}

.hero-content p {
  font-size: 18px;
  color: rgba(255,255,255,.75);
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--wp);
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}

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

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 28px;
}

.section-header h2 {
  font-size: 22px;
  font-weight: 800;
  color: #111;
}

/* ── Property cards ── */
.prop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.prop-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .2s, box-shadow .2s;
  display: block;
}

.prop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(124,58,237,.12);
}

.prop-img {
  height: 180px;
  background: linear-gradient(135deg, #1f1235 0%, #7C3AED 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  color: rgba(255,255,255,.35);
}

.prop-body { padding: 18px; }
.prop-tipo { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--wp); margin-bottom: 6px; }
.prop-titulo { font-size: 16px; font-weight: 700; color: #111; margin-bottom: 6px; line-height: 1.3; }
.prop-dir { font-size: 13px; color: var(--muted); margin-bottom: 12px; }

.prop-features {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px;
}

.prop-features span { display: flex; align-items: center; gap: 4px; }
.prop-precio { font-size: 20px; font-weight: 800; color: var(--wp); }
.prop-precio span { font-size: 13px; font-weight: 500; color: var(--muted); }

/* ── Detail page ── */
.prop-img-detail {
  height: 320px;
  background: linear-gradient(135deg, #1f1235 0%, #7C3AED 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: rgba(255,255,255,.3);
}

.detail-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.dchip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #f3e8ff;
  color: var(--wp);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.detail-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

.detail-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 10px; color: #333; }
.detail-card p  { font-size: 14px; color: #555; line-height: 1.7; }

.price-card {
  background: #fff;
  border: 2px solid var(--wp);
  border-radius: 14px;
  padding: 24px;
  position: sticky;
  top: 80px;
}

.price-label { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); font-weight: 700; }
.price-value  { font-size: 32px; font-weight: 800; color: var(--wp); line-height: 1.2; margin-top: 4px; }

.contact-btn {
  width: 100%;
  background: var(--wp);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .15s;
}

.contact-btn:hover { background: var(--wp-dark); }

/* ── Chips filter ── */
.web-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  background: #fff;
  border: 1.5px solid var(--border);
  color: var(--muted);
  transition: all .15s;
}

.web-chip:hover, .web-chip.active {
  background: var(--wp);
  border-color: var(--wp);
  color: #fff;
}

/* ── Footer ── */
.web-footer {
  background: #111;
  margin-top: 60px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding: 48px 24px 40px;
  max-width: 1160px;
  margin: 0 auto;
}

.footer-brand { max-width: 340px; }

.footer-empresa {
  font-weight: 700;
  color: rgba(255,255,255,.8);
  font-size: 15px;
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  line-height: 1.7;
  margin: 0 0 16px;
}

.footer-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.65);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  text-decoration: none;
  transition: background .15s, color .15s;
}

.social-link:hover { background: var(--wp); color: #fff; }

.footer-contact { display: flex; flex-direction: column; gap: 10px; }

.footer-contact-item {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact-item i { color: var(--wp); width: 14px; text-align: center; }

.footer-copy {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,.25);
  padding: 16px 24px;
  border-top: 1px solid rgba(255,255,255,.08);
}

/* ── Maya chatbot ── */
#maya-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}

/* Maya sprite — frame 444×444 px, sheet 1332×888 px (3 cols × 2 rows)
   Display: 60×60 px → background-size 180×120 px                     */
#maya-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  background-color: transparent;
  background-size: 180px 120px;
  background-position: 0 0;
  background-repeat: no-repeat;
  box-shadow: 0 6px 24px rgba(0,0,0,.30);
  transition: transform .2s;
}

#maya-toggle.maya-playing {
  animation: maya-sprite-anim 1.0s steps(1) 1 forwards;
}

@keyframes maya-sprite-anim {
  0%     { background-position:    0     0; }
  16.67% { background-position:  -60px   0; }
  33.33% { background-position: -120px   0; }
  50%    { background-position:    0   -60px; }
  66.67% { background-position:  -60px -60px; }
  83.33%,
  100%   { background-position: -120px -60px; }
}

#maya-toggle:hover { transform: scale(1.06); }

#maya-box {
  display: none;
  position: absolute;
  bottom: 76px;
  right: 0;
  width: 340px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  overflow: hidden;
  flex-direction: column;
}

#maya-box.open { display: flex; }

#maya-header {
  background: var(--wp);
  color: #fff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 14px;
}

#maya-header small { font-size: 10px; font-weight: 400; opacity: .8; display: block; }

#maya-messages {
  flex: 1;
  padding: 14px;
  max-height: 300px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.maya-msg {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 85%;
}

.maya-msg span {
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
}

.maya-msg-bot { align-self: flex-start; }
.maya-msg-bot span { background: #f3e8ff; color: #1f1235; border-bottom-left-radius: 4px; }

.maya-msg-user { align-self: flex-end; flex-direction: row-reverse; }
.maya-msg-user span { background: var(--wp); color: #fff; border-bottom-right-radius: 4px; }

.maya-typing span { background: #f3e8ff; color: #999; font-style: italic; }

#maya-input-area {
  padding: 10px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
}

#maya-input {
  flex: 1;
  padding: 9px 12px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  outline: none;
  font-family: inherit;
}

#maya-input:focus { border-color: var(--wp); }

#maya-send {
  width: 38px;
  height: 38px;
  background: var(--wp);
  border: none;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background .15s;
}

#maya-send:hover { background: var(--wp-dark); }

/* ── Mobile nav toggle ── */
.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 8px;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 8px 0;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  display: block;
  padding: 10px 20px;
  color: var(--nav-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid #f3f4f6;
}

.nav-mobile a:hover { background: var(--nav-hover-bg); color: var(--wp); }

/* Mobile dropdown groups */
.nav-mobile-group { display: flex; flex-direction: column; }

.nav-mobile-group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  color: var(--nav-text);
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-bottom: 1px solid #f3f4f6;
  background: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  font-family: inherit;
}

.nav-mobile-group-toggle:hover { background: var(--nav-hover-bg); color: var(--wp); }

.nav-mobile-group-toggle i { transition: transform .2s; font-size: 11px; }

.nav-mobile-group.open .nav-mobile-group-toggle { color: var(--wp); }
.nav-mobile-group.open .nav-mobile-group-toggle i { transform: rotate(180deg); }

.nav-mobile-sub { display: none; flex-direction: column; background: #f9fafb; }
.nav-mobile-group.open .nav-mobile-sub { display: flex; }

.nav-mobile-sub a {
  padding-left: 36px;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid #f3f4f6;
}

.nav-mobile-sub a:hover { background: var(--nav-hover-bg); color: var(--wp); }

/* ── Navbar dropdown ── */
.nav-dropdown { position: relative; }

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  min-width: 180px;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  z-index: 200;
  padding: 6px;
}

.nav-dropdown:hover .nav-dropdown-menu { display: block; }

.nav-dropdown-menu li { list-style: none; }

.nav-dropdown-menu a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: background .12s, color .12s;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  background: var(--nav-hover-bg);
  color: var(--wp);
}

/* ── Web Slider ── */
.web-slider {
  position: relative;
  overflow: hidden;
  height: 520px;
  background: #111;
  user-select: none;
}

.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  z-index: 1;
  will-change: opacity, transform;
}

.slide.active { opacity: 1; z-index: 2; }

/* Slide overlay */
.slide-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 60px 60px 80px;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.2) 60%, transparent 100%);
  color: #fff;
}

.slide-titulo {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 10px;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
  max-width: 600px;
}

.slide-desc {
  font-size: 16px;
  color: rgba(255,255,255,.85);
  margin: 0 0 20px;
  max-width: 500px;
  line-height: 1.6;
}

.slide-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wp);
  color: #fff;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: background .15s, transform .15s;
}

.slide-link:hover { background: var(--wp-dark); transform: translateY(-2px); }

/* Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(4px);
  border: 1.5px solid rgba(255,255,255,.3);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}

.slider-arrow:hover { background: rgba(124,58,237,.7); border-color: transparent; }
.slider-prev { left: 16px; }
.slider-next { right: 16px; }

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s, width .2s;
}

.slider-dot.active {
  background: #fff;
  width: 24px;
  border-radius: 4px;
}


/* ── Page content styles ── */
.pagina-contenido {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}

.pagina-contenido h2 { font-size: 22px; font-weight: 700; margin: 28px 0 12px; color: #111; }
.pagina-contenido h3 { font-size: 18px; font-weight: 700; margin: 22px 0 10px; color: #222; }
.pagina-contenido p  { margin-bottom: 16px; }
.pagina-contenido ul, .pagina-contenido ol { margin: 0 0 16px 20px; }
.pagina-contenido li { margin-bottom: 6px; }
.pagina-contenido a  { color: var(--wp); text-decoration: underline; }
.pagina-contenido strong { font-weight: 700; }
.pagina-contenido em { font-style: italic; }

/* ── Page Builder (public output) ── */
.pb-section { position: relative; }

.pb-full-container { width: 100%; padding: 0; }

.pb-cols {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.pb-col { min-width: 0; }

/* Heading */
.pb-el-heading {
  margin: 0 0 10px;
  line-height: 1.3;
  font-weight: 700;
}

/* Paragraph */
.pb-el-paragraph {
  line-height: 1.8;
  font-size: 15px;
  color: #333;
}
.pb-el-paragraph p  { margin-bottom: 12px; }
.pb-el-paragraph p:last-child { margin-bottom: 0; }
.pb-el-paragraph ul,
.pb-el-paragraph ol  { margin: 0 0 12px 20px; }
.pb-el-paragraph li  { margin-bottom: 4px; }
.pb-el-paragraph a   { color: var(--wp); }
.pb-el-paragraph strong { font-weight: 700; }
.pb-el-paragraph em     { font-style: italic; }

/* Image */
.pb-el-image { }
.pb-el-image img { height: auto; display: block; }

/* Video */
.pb-el-video { margin: 4px 0; }
.pb-video-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
  border-radius: 8px;
}
.pb-video-wrap iframe,
.pb-video-wrap video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}
.pb-ratio-16-9 { padding-top: 56.25%; }
.pb-ratio-4-3  { padding-top: 75%; }

/* ══════════════════════════════════════════════════
   ALERTAS WEB
══════════════════════════════════════════════════ */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-left: 5px solid;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  animation: alertFadeIn .25s ease;
}
@keyframes alertFadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: translateY(0); }
}
.alert::before {
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}
.alert-success {
  background: #f0fdf4;
  border-color: #bbf7d0;
  border-left-color: #22c55e;
  color: #15803d;
}
.alert-success::before { content: '\f058'; color: #22c55e; }

.alert-error, .alert-danger {
  background: #fef2f2;
  border-color: #fecaca;
  border-left-color: #ef4444;
  color: #b91c1c;
}
.alert-error::before, .alert-danger::before { content: '\f057'; color: #ef4444; }

.alert-warning {
  background: #fffbeb;
  border-color: #fde68a;
  border-left-color: #f59e0b;
  color: #b45309;
}
.alert-warning::before { content: '\f071'; color: #f59e0b; }

.alert-info {
  background: #eff6ff;
  border-color: #bfdbfe;
  border-left-color: #3b82f6;
  color: #1d4ed8;
}
.alert-info::before { content: '\f05a'; color: #3b82f6; }
.pb-ratio-1-1  { padding-top: 100%; }
.pb-ratio-21-9 { padding-top: 42.86%; }

/* Slider inside page builder — height set via inline style from PHP */
.pb-slider { max-width: 100%; }

/* Separator */
.pb-el-separator hr {
  border: 0;
}

/* List */
.pb-el-list ul,
.pb-el-list ol {
  padding-left: 22px;
  line-height: 1.9;
  margin: 0;
}
.pb-el-list li { margin-bottom: 4px; }

.pb-list-custom ul { list-style: none; padding-left: 0; }
.pb-list-custom li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 4px;
}
.pb-list-custom li.pb-li-check::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: .8em;
  position: absolute; left: 0; top: 4px;
  color: var(--wp);
}
.pb-list-custom li.pb-li-arrow::before {
  content: '→';
  position: absolute; left: 0; top: 0;
  font-weight: 700;
  color: var(--wp);
}
.pb-list-custom li.pb-li-star::before {
  content: '★';
  position: absolute; left: 0; top: 0;
  font-size: .9em;
  color: var(--wp);
}
.pb-list-custom li:not([class])::before { content: none; }

/* Button */
.pb-el-button       { display: flex; flex-wrap: wrap; }
.pb-btn-align-left   { justify-content: flex-start; }
.pb-btn-align-center { justify-content: center; }
.pb-btn-align-right  { justify-content: flex-end; }

.pb-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  transition: opacity .15s, transform .15s, box-shadow .15s;
  cursor: pointer;
  white-space: nowrap;
}
.pb-btn:hover {
  opacity: .87;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
}
.pb-btn-sm  { padding: 7px 16px; font-size: 13px; }
.pb-btn-md  { padding: 11px 22px; font-size: 15px; }
.pb-btn-lg  { padding: 14px 30px; font-size: 17px; }
.pb-btn-xl  { padding: 18px 36px; font-size: 19px; }

/* Spacer */
.pb-el-spacer { display: block; flex-shrink: 0; }

/* Icon */
.pb-el-icon { line-height: 1; margin: 4px 0; }

/* Raw HTML */
.pb-el-html { }

/* ── Mobile elements: ocultos en desktop, visibles solo en móvil ── */
.mobile-bottom-nav { display: none; }
.mobile-overlay    { display: none; }
.mobile-drawer     { display: none; }

/* ── Responsive: mobile app-like experience ── */
@media (max-width: 768px) {

  /* Space for fixed bottom nav */
  body { padding-bottom: 68px; }

  /* Compact header */
  .web-nav .web-container { height: 56px !important; padding: 0 12px !important; }

  /* Hide all header columns except the first (logo) */
  .hdr-col               { display: none !important; }
  .hdr-col:first-child   { display: flex !important; flex: 1 !important; width: auto !important; }

  /* Desktop nav: hidden */
  .nav-links             { display: none !important; }

  /* Old mobile dropdown: replaced by drawer */
  .nav-mobile            { display: none !important; }

  /* Hamburger button: visible and well-sized */
  .nav-mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    font-size: 22px;
    color: var(--text);
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
  }

  /* Hero */
  .hero-content h1 { font-size: 26px; }
  .hero-content p  { font-size: 15px; }

  /* Properties: single column */
  .prop-grid { grid-template-columns: 1fr; }

  /* Price card: not sticky on mobile */
  .price-card { position: static; }

  /* Maya: raised above bottom nav */
  #maya-widget { bottom: 80px; right: 12px; }
  #maya-box    { width: calc(100vw - 24px); right: 0; bottom: 76px; }

  /* Footer */
  .footer-inner { flex-direction: column; }
  .footer-brand { max-width: 100%; }
  .footer-copy  { text-align: center; }

  /* Slider */
  .web-slider    { height: 300px; }
  .pb-slider     { height: 260px !important; }
  .slide-overlay { padding: 24px 20px 60px; }
  .slide-titulo  { font-size: 22px; }
  .slide-desc    { font-size: 13px; }
  .slider-arrow  { width: 36px; height: 36px; font-size: 13px; }

  /* Page builder: stack columns */
  .pb-cols { flex-direction: column; gap: 20px !important; }
  .pb-col  { flex: 0 0 100% !important; max-width: 100% !important; width: 100% !important; }

  /* Container padding */
  .web-container { padding: 0 16px; }

  /* ═══ Bottom navigation bar ═══ */
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: #fff;
    border-top: 1.5px solid var(--border);
    box-shadow: 0 -4px 20px rgba(0,0,0,.09);
    height: 64px;
    align-items: stretch;
    /* Safe area for phones with home indicator */
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .mbn-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--muted);
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    padding: 8px 2px;
    transition: color .15s;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    min-width: 0;
    position: relative;
    -webkit-tap-highlight-color: transparent;
  }

  .mbn-item i {
    font-size: 22px;
    line-height: 1;
    display: block;
  }

  .mbn-item span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    padding: 0 4px;
    line-height: 1.2;
  }

  .mbn-item.active { color: var(--wp); }

  .mbn-item.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 22%;
    right: 22%;
    height: 3px;
    background: var(--wp);
    border-radius: 0 0 4px 4px;
  }

  /* ═══ Drawer overlay ═══ */
  .mobile-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 400;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, visibility .25s;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }

  .mobile-overlay.open { opacity: 1; visibility: visible; }

  /* ═══ Slide-in drawer ═══ */
  .mobile-drawer {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(300px, 85vw);
    background: #fff;
    z-index: 401;
    transform: translateX(-100%);
    transition: transform .28s cubic-bezier(.25,.46,.45,.94);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 4px 0 32px rgba(0,0,0,.18);
  }

  .mobile-drawer.open { transform: translateX(0); }

  .drawer-header {
    padding: 18px 16px 14px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    gap: 12px;
  }

  .drawer-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f3f4f6;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 17px;
    flex-shrink: 0;
    transition: background .15s;
    -webkit-tap-highlight-color: transparent;
  }

  .drawer-close:active { background: #e5e7eb; }

  .drawer-nav {
    flex: 1;
    overflow-y: auto;
    padding: 6px 0;
    -webkit-overflow-scrolling: touch;
  }

  .drawer-nav a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 20px;
    color: var(--text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid #f3f4f6;
    transition: background .12s, color .12s;
    -webkit-tap-highlight-color: transparent;
  }

  .drawer-nav a:active,
  .drawer-nav a.active {
    background: var(--nav-hover-bg);
    color: var(--wp);
  }

  .drawer-nav a .di {
    width: 22px;
    text-align: center;
    color: var(--wp);
    font-size: 15px;
    flex-shrink: 0;
  }

  /* Drawer dropdown group */
  .drawer-group-toggle {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 20px;
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid #f3f4f6;
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    transition: background .12s, color .12s;
    -webkit-tap-highlight-color: transparent;
  }

  .drawer-group-toggle:active,
  .drawer-group.open .drawer-group-toggle {
    color: var(--wp);
    background: var(--nav-hover-bg);
  }

  .drawer-group-toggle .di {
    width: 22px;
    text-align: center;
    color: var(--wp);
    font-size: 15px;
    flex-shrink: 0;
  }

  .drawer-group-toggle .drawer-chevron {
    margin-left: auto;
    font-size: 11px;
    transition: transform .22s;
    flex-shrink: 0;
    color: var(--muted);
  }

  .drawer-group.open .drawer-chevron { transform: rotate(180deg); }

  .drawer-sub {
    display: none;
    flex-direction: column;
    background: #f9fafb;
    border-bottom: 1px solid #f3f4f6;
  }

  .drawer-group.open .drawer-sub { display: flex; }

  .drawer-sub a {
    padding-left: 56px;
    font-size: 14px;
    color: var(--muted);
    border-bottom: 1px solid #f0f0f0;
  }

  .drawer-sub a:last-child { border-bottom: none; }

  .drawer-sub a .di { color: var(--muted); font-size: 12px; }
}
