:root {
  --primary: #1f2329;
  --secondary: #323841;
  --gold: #d4b184;
  --gold-dark: #b58b57;
  --gold-soft: #f6e7d4;
  --orange: #f57c22;
  --orange-dark: #dd5d00;
  --orange-soft: #fff1e4;
  --text: #22262c;
  --muted: #6b7280;
  --bg: #ffffff;
  --soft: #f7f5f1;
  --line: rgba(31, 35, 41, 0.12);
  --shadow: 0 20px 55px rgba(20, 25, 31, 0.12);
  --shadow-soft: 0 12px 32px rgba(20, 25, 31, 0.08);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.topbar {
  background: var(--primary);
  color: #fff;
  font-size: .92rem;
}

.topbar-inner {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 10px 0;
}

.topbar-links,
.topbar-social,
.menu,
.cta-group,
.hero-actions,
.hero-strip,
.property-meta,
.footer-links,
.detail-actions,
.filters-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar-links,
.topbar-social {
  gap: 18px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 96px;
  height: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid rgba(245,124,34,.18);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  padding: 6px 10px;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-copy strong {
  display: block;
  color: var(--primary);
  font-size: 1.06rem;
}

.brand-copy span {
  display: block;
  color: var(--muted);
  font-size: .92rem;
}

.menu {
  justify-content: center;
  align-items: center;
}

.menu a {
  padding: 10px 0;
  font-weight: 600;
  color: var(--secondary);
  position: relative;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width .25s ease;
}

.menu a:hover::after,
.menu a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--primary);
  border-radius: 999px;
  position: relative;
  transition: all .2s ease;
}

.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.is-open span::after { top: 0; transform: rotate(-45deg); }

.mobile-cta { display: none; }

.btn,
button {
  border: 1px solid transparent;
  border-radius: 14px;
  min-height: 46px;
  padding: 0 18px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(20, 25, 31, 0.08);
}

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

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

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--gold-dark));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(221, 93, 0, 0.18);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--orange-dark), var(--gold-dark));
  box-shadow: 0 16px 34px rgba(221, 93, 0, 0.22);
}

.btn-secondary {
  background: rgba(255,255,255,.92);
  color: var(--primary);
  border: 1px solid rgba(31, 35, 41, 0.12);
  box-shadow: 0 8px 18px rgba(20, 25, 31, 0.05);
}

.btn-secondary:hover {
  background: #fff8f2;
  border-color: rgba(245,124,34,.28);
  color: var(--orange-dark);
}

.btn-small {
  min-height: 40px;
  padding: 0 14px;
  font-size: .88rem;
  border-radius: 12px;
}
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(100deg, rgba(26,31,36,.82), rgba(26,31,36,.58)),
    url('img/brand/hero-home.jpg') center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(239,127,57,.22), transparent 26%),
    radial-gradient(circle at 78% 18%, rgba(184,154,106,.18), transparent 30%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.18fr .92fr;
  gap: 40px;
  align-items: end;
  padding: 116px 0 92px;
}

.eyebrow {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  font-weight: 600;
}

.hero h1 {
  margin: 0 0 18px;
  max-width: 11ch;
  font-size: clamp(2.6rem, 6vw, 4.9rem);
  line-height: .98;
}

.hero p {
  max-width: 62ch;
  margin: 0 0 28px;
  color: rgba(255,255,255,.88);
  font-size: 1.06rem;
  line-height: 1.75;
}

.hero-strip {
  margin-top: 24px;
  gap: 20px;
  color: rgba(255,255,255,.82);
  font-weight: 600;
}

.hero-card,
.card,
.stat,
.service,
.contact-panel,
.form-panel,
.property-card,
.info-card,
.filter-card,
.detail-main,
.detail-sidebar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
}

.property-card,
.service,
.filter-card,
.detail-sidebar {
  position: relative;
}

.property-card::before,
.service::before,
.filter-card::before,
.detail-sidebar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--gold));
}

.hero-card {
  padding: 26px;
  color: var(--text);
}

.hero-card h3,
.section-head h2,
.page-hero h1,
.feature-card h2,
.service h3,
.contact-panel h3,
.form-panel h3 {
  margin-top: 0;
  color: var(--primary);
}

.hero-card > p,
.section-head p,
.page-hero p,
.service p,
.contact-panel p,
.form-panel p,
.stat span,
.info-card p {
  color: var(--muted);
  line-height: 1.7;
}

.search-grid,
.form-grid,
.filters-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full { grid-column: 1 / -1; }

.field label {
  color: var(--secondary);
  font-size: .9rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  outline: none;
}

.field textarea {
  min-height: 130px;
  padding: 14px 16px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(239,127,57,.85);
  box-shadow: 0 0 0 4px rgba(239,127,57,.12);
}

.section { padding: 84px 0; }
.section-soft { background: var(--soft); }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.section-head h2,
.page-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.page-hero {
  padding: 76px 0 26px;
  background: linear-gradient(180deg, #fff4eb, var(--soft) 48%, #fff);
}

.page-hero p {
  margin: 0;
  max-width: 68ch;
}

.chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.chip {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--orange-soft);
  border: 1px solid rgba(245,124,34,.22);
  color: var(--secondary);
  font-weight: 700;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 22px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
}

.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.property-card {
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

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

.property-media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

.property-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.property-card:hover .property-media img {
  transform: scale(1.05);
}

.property-badge,
.property-type {
  position: absolute;
  top: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 800;
}

.property-badge {
  left: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
}

.property-type {
  right: 16px;
  color: var(--primary);
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(239,127,57,.16);
}

.property-body { padding: 22px; }

.property-location {
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
}

.property-price {
  color: var(--primary);
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.property-body h3 {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 1.18rem;
}

.property-body p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.68;
}

.property-meta {
  gap: 12px 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--secondary);
  font-weight: 600;
  font-size: .95rem;
}

.property-meta span { white-space: nowrap; }

.property-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.property-actions .btn {
  flex: 1 1 180px;
}

.feature-card {
  background: linear-gradient(135deg, var(--primary), #181d23);
  color: #fff;
  padding: 32px;
  border-top: 4px solid var(--orange);
}

.feature-card p {
  color: rgba(255,255,255,.82);
  line-height: 1.8;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 26px;
}

.feature-list div {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  font-weight: 600;
}

.media-card {
  min-height: 480px;
  border-radius: 30px;
  overflow: hidden;
  background: url('img/brand/about.jpg') center/cover no-repeat;
  box-shadow: var(--shadow);
  position: relative;
}

.media-card::after {
  content: "Berazategui • Barrio Marítimo";
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: var(--primary);
  font-weight: 700;
}

.stat,
.service,
.info-card,
.contact-panel,
.form-panel,
.filter-card,
.detail-main,
.detail-sidebar {
  padding: 28px;
}

.stat strong {
  display: block;
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 10px;
}

.service-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--orange-soft), #ffd2b4);
  color: var(--orange-dark);
  font-weight: 800;
}

.cta-banner {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 24px;
  align-items: center;
  padding: 34px;
  border-radius: 32px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #171c22);
  box-shadow: var(--shadow);
  border-left: 5px solid var(--orange);
}

.cta-banner h3 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
}

.cta-banner p {
  margin: 0;
  color: rgba(255,255,255,.82);
  line-height: 1.75;
}

.contact-panel { background: var(--soft); }

.contact-info-list {
  display: grid;
  gap: 14px;
}

.contact-item {
  padding: 16px 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
}

.contact-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--primary);
}

.contact-item span { color: var(--muted); }

.notice {
  margin-top: 18px;
  padding: 16px 18px;
  border-left: 4px solid var(--orange);
  border-radius: 14px;
  background: var(--orange-soft);
  color: var(--secondary);
}

.map-card {
  min-height: 320px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.filter-card { margin-bottom: 28px; }
.filters-grid { align-items: end; }

.results-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.results-empty {
  padding: 32px;
  border: 1px dashed var(--line);
  border-radius: 24px;
  background: var(--soft);
  color: var(--muted);
  text-align: center;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 24px;
}

.carousel {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background: var(--soft);
  border: 1px solid var(--line);
}

.carousel-main {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #eee;
}

.carousel-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-nav {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  pointer-events: none;
}

.carousel-btn {
  pointer-events: auto;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.5);
  background: rgba(31,35,41,.45);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  display: grid;
  place-items: center;
}

.carousel-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px,1fr));
  gap: 10px;
  padding: 14px;
  background: #fff;
}

.carousel-thumb {
  border: 2px solid transparent;
  border-radius: 14px;
  overflow: hidden;
  padding: 0;
  min-height: auto;
  background: none;
}

.carousel-thumb img {
  width: 100%;
  height: 80px;
  object-fit: cover;
}

.carousel-thumb.active {
  border-color: var(--orange);
}

.detail-title {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
}

.detail-price {
  margin: 0 0 16px;
  color: var(--primary);
  font-size: 1.8rem;
  font-weight: 800;
}

.detail-summary {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.8;
}

.detail-data {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
  margin: 20px 0;
}

.detail-data .info-card { padding: 18px 20px; }

.detail-data strong {
  display: block;
  color: var(--primary);
  margin-bottom: 4px;
}

.detail-gallery-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: .94rem;
}

.detail-actions {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.detail-actions .btn {
  width: 100%;
  min-height: 48px;
}

.footer {
  margin-top: 24px;
  padding: 28px 0;
  background: var(--primary);
  color: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer small {
  display: block;
  max-width: 820px;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
}

.floating-wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  background: #25d366;
  color: #fff;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
  border: 3px solid #fff;
}

.hide { display: none !important; }

.detail-address {
  margin: -6px 0 10px;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.6;
}

.hero-strip span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(245,124,34,.16);
  border: 1px solid rgba(245,124,34,.28);
}

.btn-secondary:hover {
  border-color: rgba(245,124,34,.35);
  color: var(--orange-dark);
}

.location-pop-card {
  background: linear-gradient(135deg, #fff7f0, #fff);
  border: 1px solid rgba(245,124,34,.18);
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.location-pop-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--orange), var(--gold));
}

.location-pop-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange-dark);
  font-weight: 800;
  border: 1px solid rgba(245,124,34,.18);
  margin-bottom: 18px;
}

.location-pop-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.location-pop-copy h2 {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.location-pop-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.location-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.location-map-frame {
  min-height: 280px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(245,124,34,.12);
  box-shadow: var(--shadow-soft);
}

.location-map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
}

@media (max-width: 1100px) {
  .hero-inner,
  .two-cols,
  .cta-banner,
  .detail-layout {
    grid-template-columns: 1fr;
  }

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

  .nav {
    grid-template-columns: auto 1fr auto;
  }

  .cta-group {
    display: none;
  }
}

@media (max-width: 860px) {
  .topbar { display: none; }

  .nav {
    grid-template-columns: auto auto;
    min-height: 74px;
    padding: 12px 0;
  }

  .brand-mark {
    width: 84px;
    height: 52px;
    padding: 5px 8px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    justify-self: end;
  }

  .menu-wrap {
    grid-column: 1 / -1;
    display: none;
    padding: 8px 0 14px;
  }

  .menu-wrap.open { display: block; }

  .menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
  }

  .menu a {
    padding: 14px 12px;
    border-radius: 14px;
  }

  .menu a::after { display: none; }

  .menu a.active,
  .menu a:hover {
    background: var(--soft);
  }

  .mobile-cta {
    display: grid;
    gap: 10px;
    margin-top: 12px;
  }

  .hero-inner { padding: 82px 0 68px; }
  .hero h1 { max-width: 12ch; }

  .search-grid,
  .form-grid,
  .grid-3,
  .grid-4,
  .filters-grid,
  .detail-data {
    grid-template-columns: 1fr;
  }

  .section { padding: 68px 0; }
  .media-card { min-height: 340px; }
  .footer-inner { align-items: flex-start; }
  .carousel-thumb img { height: 68px; }

  .location-pop-card { padding: 22px; }
  .location-map-frame,
  .location-map-frame iframe {
    min-height: 240px;
  }

	.property-actions .btn,
.detail-actions .btn {
  width: 100%;
  flex: 1 1 100%;
  }
	
}
/* Filtros nuevos: Mascotas y Ocupantes */
.field-group {
  display: grid;
  gap: 8px;
}

.field-group label {
  color: var(--secondary);
  font-size: .9rem;
  font-weight: 700;
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  outline: none;
  appearance: none;
}

.field-group textarea {
  min-height: 130px;
  padding: 14px 16px;
  resize: vertical;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border-color: rgba(239,127,57,.85);
  box-shadow: 0 0 0 4px rgba(239,127,57,.12);
}

/* Flecha prolija para selects */
.field-group select,
.field select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--orange-dark) 50%),
    linear-gradient(135deg, var(--orange-dark) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}