:root {
  --site-header-height: 72px;
  --primary-red: #e31b2d;
  --dark-gradient-start: rgb(107, 106, 110);
  --dark-gradient-mid: rgb(88, 88, 91);
  --dark-gradient-end: rgb(42, 42, 43);
  --bg: #edf1f5;
  --bg-soft: #f7f9fc;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --text: #111827;
  --muted: #4b5563;
  --line: rgba(15, 23, 42, 0.16);
  --brand: var(--primary-red);
  --brand-strong: #c81625;
  --ink-accent: #7f1d1d;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.14);
  --shadow-soft: 0 8px 24px rgba(15, 23, 42, 0.1);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% -4%, rgba(227, 27, 45, 0.14), rgba(227, 27, 45, 0) 33%),
    linear-gradient(130deg, #f8fafc 0%, #eef2f7 52%, #f4f7fb 100%);
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.55;
  min-height: 100vh;
}

img,
svg {
  max-width: 100%;
  display: block;
}

.icon-mask {
  display: inline-block;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  background-color: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.icon-mask--xs {
  width: 0.72rem;
  height: 0.72rem;
}

.icon-mask--sm {
  width: 0.95rem;
  height: 0.95rem;
}

.icon-mask--md {
  width: 1.35rem;
  height: 1.35rem;
}

.icon-mask--lg {
  width: 2.1rem;
  height: 2.1rem;
}

a {
  color: inherit;
}

.site-bg-shape {
  position: fixed;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(1px);
  z-index: -2;
}

.shape-a {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(227, 27, 45, 0.24), rgba(227, 27, 45, 0));
  top: -70px;
  left: -40px;
}

.shape-b {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(42, 42, 43, 0.2), rgba(42, 42, 43, 0));
  right: -120px;
  top: 320px;
}

.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  backdrop-filter: blur(12px);
  background: linear-gradient(135deg, rgba(88, 88, 91, 0.95) 0%, rgba(75, 75, 78, 0.95) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.header-row {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(130deg, #f03c4b, var(--brand));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
}

.brand-copy {
  display: inline-flex;
  flex-direction: column;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #ffffff;
}

.brand-copy small {
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.75);
}

.site-nav {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 1.15rem;
}

.site-nav a {
  text-decoration: none;
  font-weight: 600;
  color: #ffffff;
  position: relative;
  font-size: 0.96rem;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -4px;
  height: 2px;
  background: var(--brand);
  transition: right 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #ffd9dd;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  right: 0;
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  width: 42px;
  height: 42px;
  padding: 9px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 999px;
  background: #ffffff;
}

.menu-toggle span + span {
  margin-top: 6px;
}

.site-main {
  padding: 1.6rem 0 2.8rem;
}

.site-footer {
  margin-top: 1.4rem;
  padding: 64px 0 0;
  border-top: 0;
  background-color: #182233;
  color: #ffffff;
  font-family: Inter, Arial, Helvetica, sans-serif;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.site-footer-col h3 {
  margin: 0 0 0.5rem;
  color: #ffffff;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}

.site-footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.site-footer-col li,
.site-footer-col a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  text-decoration: none;
}

.site-footer-col a:hover,
.site-footer-col a:focus-visible {
  color: #ffffff;
}

.site-footer-logo {
  text-decoration: none;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.site-footer-logo span {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.site-footer-logo strong {
  letter-spacing: 0.08em;
  font-size: 1.02rem;
}

.site-footer-logo small {
  margin-top: 0.16rem;
  letter-spacing: 0.2em;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer-description {
  margin: 0.65rem 0 0;
  max-width: 32ch;
}

.site-footer-social {
  margin-top: 0.7rem;
  display: inline-flex;
  gap: 0.45rem;
}

.site-footer-social a {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
}

.site-footer-social .icon-mask {
  width: 16px;
  height: 16px;
}

.site-footer-social a:hover,
.site-footer-social a:focus-visible {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.52);
}

.site-footer-bottom {
  margin-top: 1rem;
  padding: 0.8rem 0 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.site-footer-bottom p {
  margin: 0;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.72);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  line-height: 1.15;
}

.display,
.detail-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.display {
  font-size: clamp(2.2rem, 5.3vw, 4.2rem);
}

.detail-title {
  font-size: clamp(1.8rem, 3.7vw, 2.9rem);
}

.kicker {
  margin: 0 0 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
  color: #b91c1c;
}

.lead {
  color: #374151;
  max-width: 54ch;
}

.card {
  border: 1px solid rgba(15, 23, 42, 0.11);
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 253, 0.92));
  box-shadow: var(--shadow-soft);
}

.hero {
  margin-bottom: 1.4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 1rem;
}

.hero-copy {
  border: 1px solid rgba(15, 23, 42, 0.11);
  border-radius: 28px;
  padding: clamp(1rem, 2.6vw, 2rem);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 251, 0.94));
  box-shadow: var(--shadow);
}

.hero-media {
  margin: 1.15rem 0 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(21, 21, 21, 0.15);
}

.hero-media-image {
  width: 100%;
  height: clamp(210px, 28vw, 330px);
  object-fit: cover;
}

.pill-stats {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.pill {
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(227, 27, 45, 0.22);
  background: rgba(227, 27, 45, 0.06);
  font-size: 0.8rem;
  font-weight: 600;
  color: #7f1d1d;
}

.search-shell {
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(242, 246, 251, 0.92));
  padding: 1rem;
  box-shadow: var(--shadow);
}

.search-title {
  margin: 0 0 0.7rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.search-grid {
  display: grid;
  gap: 0.72rem;
}

.search-price-range {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.62rem;
}

.search-grid label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: #3d4249;
}

.search-grid input,
.search-grid select,
.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  color: #1f2328;
  font: inherit;
  font-size: 0.95rem;
  padding: 0.66rem 0.72rem;
}

.search-grid input:focus,
.search-grid select:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(227, 27, 45, 0.25);
  border-color: rgba(227, 27, 45, 0.42);
}

.search-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.section-block {
  margin: 0 0 1.3rem;
}

.section-head {
  margin-bottom: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
}

.notice {
  margin: 0;
  font-size: 0.85rem;
  padding: 0.4rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(227, 27, 45, 0.22);
  background: rgba(227, 27, 45, 0.08);
  color: #7f1d1d;
}

.lead-banner {
  margin-bottom: 0.85rem;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.property-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.14);
}

.image-shell,
.gallery-main,
.gallery-thumb {
  position: relative;
  color: #f4f7fa;
  isolation: isolate;
  overflow: hidden;
  display: block;
}

.image-shell {
  min-height: 188px;
  text-decoration: none;
}

.property-cover {
  width: 100%;
  height: 205px;
  object-fit: cover;
  display: block;
}

.image-shell::before,
.gallery-main::before,
.gallery-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.32)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.07) 0 12px, transparent 12px 24px);
  z-index: -1;
}

.tone-1 {
  background: linear-gradient(120deg, #6b6a6e, #2a2a2b 62%, #e31b2d);
}

.tone-2 {
  background: linear-gradient(120deg, #58585b, #2a2a2b 60%, #c81625);
}

.tone-3 {
  background: linear-gradient(120deg, #4b4b4e, #1f1f21 56%, #8f111c);
}

.tone-4 {
  background: linear-gradient(120deg, #6f6f73, #2f2f32 56%, #da2232);
}

.badge {
  position: absolute;
  top: 0.62rem;
  left: 0.62rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #7f1d1d;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.32rem 0.58rem;
}

.image-caption {
  position: absolute;
  left: 0.62rem;
  bottom: 0.62rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.property-body {
  padding: 0.9rem;
}

.property-top {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
}

.property-top h3 {
  margin: 0;
  font-size: 1.03rem;
}

.property-top h3 a {
  text-decoration: none;
}

.price,
.price-box {
  margin: 0;
  color: #991b1b;
  font-weight: 800;
}

.meta-row {
  margin: 0.7rem 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.meta-row li {
  font-size: 0.8rem;
  padding: 0.32rem 0.52rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(248, 250, 253, 0.9);
}

.property-cta-row {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  flex-wrap: wrap;
}

.meta-row.wide li {
  font-size: 0.86rem;
}

.dual-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.panel {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.11);
  padding: 1rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(242, 246, 251, 0.86));
  box-shadow: var(--shadow-soft);
}

.owner-capture {
  margin: 0 0 1.2rem;
}

.owner-capture-copy {
  max-width: 70ch;
}

.capture-list {
  margin: 0.7rem 0 0;
  padding-left: 1.1rem;
  color: #374151;
}

.capture-list li + li {
  margin-top: 0.34rem;
}

.zone-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.zone-card {
  display: grid;
  gap: 0.62rem;
}

.zone-card h3 {
  margin: 0;
}

.zone-media {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.14);
}

.zone-media img {
  width: 100%;
  height: 165px;
  object-fit: cover;
}

.seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.52rem;
}

.seo-links a {
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.36rem 0.58rem;
  border-radius: 999px;
  border: 1px solid rgba(227, 27, 45, 0.2);
  background: rgba(227, 27, 45, 0.06);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(140deg, var(--brand), var(--brand-strong));
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  padding: 0.64rem 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(227, 27, 45, 0.3);
}

.btn-ghost {
  color: #111827;
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(227, 27, 45, 0.24);
}

.header-cta {
  margin-left: 0.4rem;
}

.cta-row {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.text-link {
  color: var(--ink-accent);
  font-size: 0.9rem;
  text-underline-offset: 3px;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.82rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  font-size: 0.87rem;
  margin-bottom: 0.7rem;
}

.breadcrumb a {
  color: #7f1d1d;
  text-decoration: none;
}

.detail-hero {
  margin-bottom: 0.85rem;
}

.detail-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.price-box {
  border-radius: 14px;
  border: 1px solid rgba(227, 27, 45, 0.22);
  background: rgba(227, 27, 45, 0.08);
  padding: 0.68rem 0.82rem;
  white-space: nowrap;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.56rem;
  margin-bottom: 0.85rem;
}

.gallery-main {
  min-height: 300px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.14);
}

.gallery-side {
  display: grid;
  gap: 0.56rem;
}

.gallery-thumb {
  min-height: 96px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.14);
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.list-check {
  margin: 0.7rem 0 0;
  padding-left: 1.05rem;
}

.list-check li + li {
  margin-top: 0.32rem;
}

.contact-card {
  position: sticky;
  top: 92px;
}

.contact-form {
  display: grid;
  gap: 0.55rem;
}

.detail-cta-stack {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.52rem;
}

.article-layout,
.local-landing {
  max-width: 920px;
}

.premium-article,
.premium-landing {
  display: grid;
  gap: 1rem;
}

.article-header,
.article-body {
  max-width: 76ch;
}

.article-excerpt {
  font-size: 1.05rem;
}

.article-meta {
  margin: 0 0 0.35rem;
}

.blog-hub {
  display: grid;
  gap: 0.95rem;
}

.site-main:has(.blog-hub) {
  padding-top: 73px;
}

.site-main:has(.premium-article) {
  padding-top: 73px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.blog-card h2 {
  margin-bottom: 0.5rem;
}

.blog-card h2 a {
  text-decoration: none;
}

.landing-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 0.95rem;
  align-items: start;
}

.landing-hero-media {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(21, 21, 21, 0.14);
}

.landing-hero-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.landing-advantages {
  margin: 0;
  padding-left: 1.1rem;
  color: #374151;
}

.landing-advantages li + li {
  margin-top: 0.34rem;
}

.article-cta {
  margin-top: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(2px);
}

@media (min-width: 960px) {
  .detail-layout {
    grid-template-columns: 1.1fr 0.6fr;
    align-items: start;
  }
}

@media (max-width: 960px) {
  .header-cta {
    display: none;
  }

  .site-nav {
    position: absolute;
    right: 1rem;
    top: 74px;
    width: min(320px, calc(100% - 2rem));
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(88, 88, 91, 0.98) 0%, rgba(75, 75, 78, 0.98) 100%);
    box-shadow: var(--shadow-soft);
    padding: 0.8rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }

  body.nav-open .site-nav {
    display: inline-flex;
  }

  .menu-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .properties-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dual-panels {
    grid-template-columns: 1fr;
  }

  .zone-grid,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-head {
    grid-template-columns: 1fr;
  }

  .site-footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(var(--max-width), calc(100% - 1.15rem));
  }

  .site-main {
    padding-top: 1.1rem;
  }

  .properties-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-main {
    min-height: 210px;
  }

  .detail-head {
    flex-direction: column;
  }

  .search-price-range {
    grid-template-columns: 1fr;
  }

  .zone-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* Home visual migration from Camiglia_nueva_web_html-main */
.site-main {
  padding-top: 0;
}

.header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 82px;
  z-index: 999;
  background: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 24px rgba(42, 42, 43, 0.34);
  backdrop-filter: blur(12px);
}

.header.site-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(227, 27, 45, 0) 0%, rgba(227, 27, 45, 0.9) 50%, rgba(227, 27, 45, 0) 100%);
  opacity: 0.82;
  pointer-events: none;
}

.header__row {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  width: 52px;
  height: auto;
}

.logo-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.logo-camiglia {
  font-family: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.2em;
  margin-right: -0.2em;
  color: #111827;
}

.logo-sub {
  margin-top: 0.16rem;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.logo-dash {
  width: 30px;
  height: 2px;
  background: var(--brand);
}

.logo-propiedades {
  font-family: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
  font-size: 0.62rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.29em;
  margin-right: -0.29em;
  color: #4b5563;
}

.navigation {
  margin-left: auto;
  display: block;
}

.menu {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu a {
  text-decoration: none;
  color: #1f2937;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.navigation a::after {
  content: none;
}

.menu a.is-active,
.menu a:hover,
.menu a:focus-visible {
  color: var(--brand);
}

.social {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.separador-vertical {
  width: 1px;
  height: 20px;
  background: rgba(17, 24, 39, 0.2);
}

.social__link {
  color: #4b5563;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social__link .icon-mask {
  width: 1.5rem;
  height: 1.5rem;
}

.social__link:hover,
.social__link:focus-visible {
  color: var(--brand);
}

.menu-button {
  display: none;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
  width: 40px;
  height: 40px;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}

.hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
/* //quiero que beneficios esté centrado y tenga  los bordes redondeados */
.beneficios {
  width: 70vw;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: visible;
  min-height: clamp(520px, 72vh, 760px);
  margin-top: 0;
  padding: clamp(92px, 11vw, 132px) 0 clamp(200px, 17vw, 245px);
  background-color: #ffffff;
  color: #2a2a2b;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 45%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(227, 27, 45, 0.08), transparent 55%),
    rgba(255, 255, 255, 0.72);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 0.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7b1d28;
}

.hero-title {
  margin: 0;
  max-width: 13ch;
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 1.08;
  font-weight: 600;
  color: #2a2a2b;
  font-family: "Cormorant Garamond", Georgia, serif;
}

.hero-subtitle {
  margin: 1.1rem 0 0;
  max-width: 54ch;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.65;
  color: #4b5563;
}

.hero-search {
  position: absolute;
  left: 50%;
  bottom: clamp(-80px, -7vw, -64px);
  transform: translateX(-50%);
  z-index: 3;
  width: min(1120px, calc(100% - 2rem));
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
}

.hero-search__panel {
  display: grid;
  grid-template-columns: 1.15fr 1.15fr 1fr 1fr auto;
  gap: 0.75rem;
  align-items: end;
}

.hero-search__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.hero-search__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #6b7280;
  letter-spacing: 0.02em;
}

.hero-search__field select,
.hero-search__field input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background-color: #ffffff;
  color: #182233;
  padding: 0.65rem 0.75rem;
  font-size: 0.95rem;
}

.hero-search__field select:focus,
.hero-search__field input:focus {
  outline: none;
  border-color: #182233;
  box-shadow: 0 0 0 3px rgba(24, 34, 51, 0.12);
}

.hero-search__button {
  min-height: 48px;
  border: 1px solid var(--brand);
  border-radius: 8px;
  background: var(--brand);
  color: #ffffff;
  padding: 0.65rem 1rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.hero-search__button:hover {
  background: #111827;
}

.hero-search__prices {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid #e5e7eb;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.hero-search__prices-label {
  margin-right: 0.2rem;
  font-size: 0.82rem;
  color: #6b7280;
  font-weight: 600;
}

.hero-search__price {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #f9fafb;
  color: #182233;
  padding: 0.48rem 0.75rem;
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}

.hero-search__price:hover,
.hero-search__price:focus-visible {
  border-color: #c62828;
  color: #c62828;
  background: #ffffff;
}

.hero-search__actions {
  margin-top: 0.65rem;
}

.beneficios {
  padding-top: clamp(92px, 10vw, 112px);
  padding-bottom: clamp(24px, 3.2vw, 32px);
  background: #182233;
}

.beneficios__row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}

.beneficio {
  padding: 0.35rem 0.75rem;
  box-shadow: none;
  text-align: center;
  color: rgba(255, 255, 255, 0.95);
}

.beneficio + .beneficio {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.beneficio__icon {
  width: 27px;
  height: 27px;
  margin: 0 auto 0.52rem;
  color: rgba(255, 255, 255, 0.9);
}

.beneficio__icon svg {
  width: 100%;
  height: 100%;
}

.beneficio__title {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.34;
  letter-spacing: 0.02em;
  color: #ffffff;
}

@media (max-width: 1024px) {
  .menu {
    gap: 0.7rem;
  }

  .menu a {
    font-size: 0.7rem;
  }

  .hero {
    min-height: clamp(560px, 78vh, 820px);
    padding-bottom: clamp(230px, 22vw, 300px);
  }

  .hero-search__panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-search__button {
    grid-column: span 2;
  }

  .beneficios__row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem 0;
  }

  .beneficio {
    padding: 0.45rem 0.72rem;
  }

  .beneficio:nth-child(4) {
    border-left: 0;
  }
}

@media (max-width: 840px) {
  .navigation {
    position: absolute;
    top: 82px;
    right: 1rem;
    width: min(340px, calc(100% - 2rem));
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    padding: 0.85rem;
    display: none;
  }

  .navigation.is-open {
    display: block;
  }

  body.nav-open .site-nav.navigation,
  body.nav-open .navigation.is-open {
    display: block;
  }

  .menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .social {
    display: none;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: clamp(580px, 82vh, 880px);
    padding-top: 96px;
    padding-bottom: 320px;
  }

  .hero-title {
    max-width: 11ch;
  }

  .hero-search {
    width: calc(100% - 1.25rem);
    bottom: -72px;
    padding: 0.85rem;
    border-radius: 10px;
  }

  .hero-search__panel {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .hero-search__button {
    grid-column: auto;
    width: 100%;
  }

  .hero-search__prices {
    gap: 0.45rem;
  }

  .beneficios {
    padding-top: 86px;
    padding-bottom: 24px;
  }

  .beneficios__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem 0;
  }

  .beneficio {
    padding: 0.42rem 0.58rem;
  }

  .beneficio:nth-child(3),
  .beneficio:nth-child(5) {
    border-left: 0;
  }

  .beneficio:nth-child(5) {
    grid-column: 1 / -1;
    max-width: 280px;
    margin: 0 auto;
  }

  .beneficio__icon {
    width: 25px;
    height: 25px;
  }

  .beneficio__title {
    font-size: 0.72rem;
  }
}

/* Home sections parity with maquetado index */
.values-bar {
  position: relative;
  z-index: 1;
  padding-top: 90px;
  padding-bottom: 24px;
  background: #ffffff;
}

.values-bar .container {
  position: relative;
  z-index: 3;
}

.values-bar__list {
  list-style: none;
  margin-top: -50px;
  padding: 70px 18px;
  background: #182233;
  border-radius: 12px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  box-shadow: 0 10px 30px rgba(24, 34, 51, 0.22);
}

.values-bar__item {
  min-width: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.values-bar__item svg {
  width: 24px;
  height: 24px;
  color: #c62828;
  flex-shrink: 0;
}

.values-bar__item p {
  margin: 0;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.featured-properties {
  background: #f9f9f9;
  padding: 72px 0;
  font-family: Arial, Helvetica, sans-serif;
}

.featured-properties__header {
  text-align: center;
  margin-bottom: 36px;
}

.featured-properties__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: #c62828;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.featured-properties__line {
  width: 28px;
  height: 2px;
  background: #c62828;
  display: inline-block;
}

.featured-properties__title {
  margin: 0;
  color: #182233;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
}

.featured-properties__subtitle {
  margin: 10px 0 0;
  color: #6b7280;
  font-size: 16px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.featured-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.featured-carousel__viewport {
  flex: 1 1 auto;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.featured-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.featured-carousel__empty {
  color: #6b7280;
  font-size: 15px;
  padding: 24px 0;
}

.featured-carousel .featured-grid {
  display: flex;
  gap: 24px;
  width: max-content;
}

.featured-carousel .featured-grid .property-card {
  flex: 0 0 clamp(260px, 24vw, 300px);
  scroll-snap-align: start;
}

.featured-carousel__arrow {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #182233;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(24, 34, 51, 0.1);
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.featured-carousel__arrow .icon-mask {
  width: 18px;
  height: 18px;
}

.featured-carousel__arrow:hover:not(:disabled) {
  background: #182233;
  color: #ffffff;
}

.featured-carousel__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.featured-properties .property-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(24, 34, 51, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.featured-properties .property-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(24, 34, 51, 0.12);
}

.featured-properties .property-card__media {
  position: relative;
  height: 210px;
}

.featured-properties .property-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured-properties .badge {
  position: absolute;
  top: 12px;
  padding: 6px 10px;
  border-radius: 6px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.featured-properties .badge--accent {
  left: auto;
  right: 12px;
  background: #c62828;
}

.featured-properties .badge--dark {
  right: auto;
  left: 12px;
  background: #182233;
}

.featured-properties .property-card__body {
  padding: 16px 16px 18px;
}

.featured-properties .property-card__title {
  margin: 0 0 8px;
  color: #182233;
  font-size: 20px;
  font-weight: 700;
}

.featured-properties .property-card__title a {
  color: inherit;
  text-decoration: none;
}

.featured-properties .property-card__location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 14px;
  color: #6b7280;
  font-size: 14px;
}

.featured-properties .property-card__location .icon-mask {
  width: 16px;
  height: 16px;
  color: #c62828;
  flex-shrink: 0;
}

.featured-properties .property-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  color: #6b7280;
  font-size: 13px;
}

.featured-properties .property-card__features span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.featured-properties .property-card__features .icon-mask {
  width: 15px;
  height: 15px;
  color: #6b7280;
}

.featured-properties .property-card__price {
  margin: 0;
  color: #1e5e4a;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
}

.featured-properties__cta {
  text-align: center;
  margin-top: 34px;
}

.featured-properties__button {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid #182233;
  background: #ffffff;
  color: #182233;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.featured-properties__button:hover {
  background: #182233;
  color: #ffffff;
}

.about-us,
.services {
  background: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
}

.section-kicker {
  margin: 0 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-kicker__line {
  width: 28px;
  height: 2px;
  background: #c62828;
}

.section-kicker--center {
  justify-content: center;
}

.about-us {
  padding: 72px 0;
}

.about-us__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  align-items: center;
}

.about-us__title {
  margin: 0 0 16px;
  color: #182233;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
}

.about-us__text {
  margin: 0 0 24px;
  color: #6b7280;
  font-size: 16px;
  line-height: 1.7;
  max-width: 62ch;
}

.about-us__button {
  display: inline-block;
  padding: 12px 22px;
  border: 1px solid #c62828;
  color: #c62828;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.about-us__button:hover {
  background: #c62828;
  color: #ffffff;
}

.about-us__media {
  border-radius: 12px;
  overflow: hidden;
  min-height: 340px;
  background: #f4f4f4;
}

.about-us__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.services {
  padding: 72px 0;
}

.services__header {
  text-align: center;
  margin-bottom: 30px;
}

.services__title {
  margin: 0;
  color: #182233;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 28px 16px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(24, 34, 51, 0.08);
}

.service-card .icon-mask {
  width: 34px;
  height: 34px;
  color: #c62828;
  margin-bottom: 14px;
}

.service-card h3 {
  margin: 0;
  color: #182233;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-transform: uppercase;
}

.cta-banner {
  background: #ffffff;
  padding: 28px 0 56px;
}

.cta-banner__inner {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #182233;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  padding: 42px 40px;
  isolation: isolate;
}

.cta-banner__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(24, 34, 51, 0.84), rgba(24, 34, 51, 0.84)), url("../images/home/casa3.webp") center/cover no-repeat;
  z-index: -1;
}

.cta-banner__left,
.cta-banner__right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-banner__line {
  width: 34px;
  height: 2px;
  background: #c62828;
  display: inline-block;
}

.cta-banner__title {
  margin: 12px 0;
  color: #ffffff;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
  font-weight: 700;
  max-width: 16ch;
}

.cta-banner__text {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.6;
  max-width: 40ch;
}

.cta-banner__button {
  display: inline-block;
  align-self: flex-start;
  padding: 12px 22px;
  border-radius: 8px;
  background: #c62828;
  color: #ffffff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.cta-banner__button:hover {
  background: #a32020;
  transform: translateY(-1px);
}

@media (max-width: 1024px) {
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-us__grid {
    grid-template-columns: 1fr;
  }

  .services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .values-bar__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .cta-banner__inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 34px 24px;
  }

  .cta-banner__left,
  .cta-banner__right {
    align-items: center;
  }

  .cta-banner__title,
  .cta-banner__text {
    max-width: none;
  }

  .cta-banner__button {
    align-self: center;
  }
}

@media (max-width: 640px) {
  .featured-carousel .featured-grid .property-card {
    flex-basis: 82vw;
  }

  .featured-carousel__arrow {
    width: 38px;
    height: 38px;
  }

  .featured-properties,
  .about-us,
  .services {
    padding: 56px 0;
  }

  .featured-grid,
  .services__grid,
  .values-bar__list {
    grid-template-columns: 1fr;
  }

  .featured-properties .property-card__media {
    height: 220px;
  }

  .about-us__media {
    min-height: 260px;
  }
}

/* Mobile-first responsive layer */
.container {
  width: min(var(--max-width), calc(100% - 1rem));
}

.header.site-header {
  height: auto;
  min-height: 72px;
}

.header__row,
.header-row {
  min-height: 72px;
  gap: 12px;
}

.logo,
.brand,
.site-nav,
.navigation,
.hero-content,
.hero-search,
.properties-grid,
.featured-grid,
.services__grid,
.zone-grid,
.blog-grid,
.cta-banner__inner {
  min-width: 0;
}

.site-main {
  padding: 0.9rem 0 2rem;
}

.navigation,
.site-nav.navigation {
  position: fixed;
  top: 72px;
  right: 0.75rem;
  left: 0.75rem;
  width: auto;
  margin-left: 0;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  padding: 0.85rem;
  display: none;
  z-index: 1000;
}

.navigation.is-open,
body.nav-open .site-nav.navigation,
body.nav-open .navigation.is-open {
  display: block;
}

.menu {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.menu-button,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.menu-button .icon-mask {
  width: 1.35rem;
  height: 1.35rem;
  background-color: currentColor;
}

.social,
.header-cta {
  display: none;
}

.hero,
.hero-sales {
  min-height: clamp(560px, 78vh, 880px);
}

.hero-grid,
.detail-head,
.dual-panels,
.landing-head,
.about-us__grid,
.cta-banner__inner,
.properties-grid,
.zone-grid,
.blog-grid,
.featured-grid,
.services__grid,
.values-bar__list,
.site-footer-grid,
.gallery-grid,
.search-price-range,
.hero-search__panel {
  grid-template-columns: 1fr;
}

.section-head,
.trust-strip {
  flex-direction: column;
  align-items: flex-start;
}

.hero-search {
  width: calc(100% - 1.25rem);
  bottom: -72px;
  padding: 0.85rem;
  border-radius: 10px;
}

.hero-search__button {
  width: 100%;
}

.beneficios {
  width: 100%;
  border-radius: 0;
}

/* Home hero mirrors the approved static design. */
.hero {
  overflow: hidden;
  margin-top: calc(var(--site-header-height) - 0.9rem);
  min-height: auto;
  padding: 20px 0 18px;
  color: #ffffff;
}

.hero-image {
  object-position: 70% 42%;
}

.hero::before {
  background: linear-gradient(
    0deg,
    rgba(10, 18, 30, 0.78) 0%,
    rgba(10, 18, 30, 0.56) 38%,
    rgba(10, 18, 30, 0.24) 72%,
    rgba(1, 9, 22, 0.14) 100%
  );
}

.hero-content {
  width: 100%;
  max-width: 560px;
  margin-top: clamp(2.5rem, 9vh, 5rem);
}

.hero-eyebrow {
  margin: 0.7rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.hero-title {
  max-width: 14ch;
  font-size: clamp(1.45rem, 7vw, 1.85rem);
  line-height: 1.14;
  font-weight: 700;
  text-wrap: balance;
  color: #ffffff;
}

.hero-subtitle {
  margin: 0.95rem 0 0;
  max-width: 34ch;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.94);
}

.hero-search {
  position: relative;
  left: auto;
  bottom: auto;
  transform: none;
  width: 100%;
  margin-top: 1rem;
  padding: 9px;
  border: 1px solid rgba(24, 34, 51, 0.12);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(24, 34, 51, 0.1);
}

.hero-search__panel {
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.hero-search__field {
  display: grid;
  gap: 0.38rem;
}

.hero-search__label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #182233;
}

.hero-search__field select {
  min-height: 40px;
  border-color: #d7dde5;
  padding: 0.45rem 0.65rem;
  font-size: 0.9rem;
}

.hero-search__field select:hover {
  border-color: #c4ceda;
}

.hero-search__field select:focus-visible {
  outline: 2px solid transparent;
  border-color: #c62828;
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.16);
}

.hero-search__field:nth-child(3),
.hero-search__button {
  grid-column: 1 / -1;
}

.hero-search__button {
  min-height: 40px;
  border-color: #c62828;
  border-radius: 8px;
  background: #c62828;
  padding: 0.45rem 0.8rem;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.hero-search__button svg {
  width: 16px;
  height: 16px;
}

.hero-search__button:hover {
  background: #c62828;
  filter: brightness(0.95);
}

.hero-search__button:focus-visible {
  outline: 2px solid transparent;
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.22);
}

@media (max-width: 992px) {
  :root {
    --site-header-height: 72px;
  }
}

@media (min-width: 641px) {
  .hero {
    min-height: auto;
    padding: 26px 0 22px;
  }

  .hero-content {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    max-width: 560px;
    margin-top: clamp(3.5rem, 12vh, 7rem);
  }

  .hero-search {
    position: relative;
    width: 100%;
    margin-top: 1rem;
    padding: 10px;
  }

  .hero-search__panel {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .hero-search__button {
    grid-column: 1 / -1;
  }

  .hero-image {
    object-position: 58% 44%;
  }
}

@media (min-width: 993px) {
  .hero {
    min-height: calc(100svh - var(--site-header-height) - 10rem);
    padding: clamp(42px, 7vh, 72px) 0 clamp(124px, 16vh, 162px);
  }

  .hero-content {
    position: absolute;
    left: 50%;
    bottom: clamp(156px, 18vh, 190px);
    transform: translateX(-50%);
    width: min(920px, calc(100% - 2rem));
    max-width: none;
    margin: 0;
  }

  .hero-search {
    position: absolute;
    left: 50%;
    bottom: clamp(20px, 4.4vh, 40px);
    transform: translateX(-50%);
    width: min(920px, calc(100% - 2rem));
    margin-top: 0;
    padding: 14px;
  }

  .hero-search__panel {
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 0.65rem;
  }

  .hero-search__field:nth-child(3),
  .hero-search__button {
    grid-column: auto;
  }

  .hero-search__button {
    width: auto;
    min-height: 46px;
    padding: 0.62rem 1rem;
    font-size: 0.94rem;
  }

  .hero-search__field select {
    min-height: 46px;
    padding: 0.62rem 0.78rem;
    font-size: 0.95rem;
  }

  .hero-search__label {
    font-size: 0.74rem;
  }
}

.beneficios__row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 0;
}

.beneficio:nth-child(3),
.beneficio:nth-child(5) {
  border-left: 0;
}

.beneficio:nth-child(5) {
  grid-column: 1 / -1;
  max-width: 280px;
  margin: 0 auto;
}

.contact-card {
  position: static;
}

@media (max-width: 380px) {
  .logo-img {
    width: 44px;
  }

  .logo-camiglia {
    font-size: 1.1rem;
  }

  .logo-propiedades {
    font-size: 0.58rem;
    letter-spacing: 0.15em;
  }

  .hero-search {
    width: calc(100% - 0.75rem);
    padding: 0.7rem;
  }
}

@media (min-width: 640px) {
  .container {
    width: min(var(--max-width), calc(100% - 1.5rem));
  }

  .properties-grid,
  .zone-grid,
  .blog-grid,
  .featured-grid,
  .services__grid,
  .values-bar__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-search__panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-search__button {
    grid-column: span 2;
  }
}

@media (min-width: 900px) {
  .navigation,
  .site-nav.navigation {
    position: static;
    inset: auto;
    width: auto;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
    display: block;
  }

  .menu {
    flex-direction: row;
    align-items: center;
    gap: 1.1rem;
  }

  .menu-button,
  .menu-toggle {
    display: none;
  }

  .social {
    display: flex;
  }

  .site-footer-grid {
    grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
  }

  .hero-grid,
  .landing-head,
  .about-us__grid,
  .cta-banner__inner,
  .gallery-grid,
  .detail-head,
  .dual-panels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-search__panel {
    grid-template-columns: 1.15fr 1.15fr 1fr 1fr auto;
  }

  .hero-search__button {
    grid-column: auto;
    width: auto;
  }

  .beneficios__row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
  }

  .beneficio + .beneficio {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }

  .beneficio:nth-child(5) {
    grid-column: auto;
    max-width: none;
  }
}

@media (min-width: 1200px) {
  .featured-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 993px) {
  .hero {
    min-height: calc(100svh - 50px);
  }

  .hero-search__panel {
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 0.65rem;
  }

  .hero-search__button {
    grid-column: auto;
  }

  .services__grid,
  .values-bar__list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .properties-grid,
  .zone-grid,
  .blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  #hero.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    margin-top: calc(var(--site-header-height) - 0.9rem);
    min-height: 0;
    padding: 0 0 1.25rem;
    background: #182233;
  }

  #hero .hero-media {
    grid-area: 1 / 1;
    position: relative;
    inset: auto;
    height: auto;
  }

  #hero .hero-image {
    height: auto;
    aspect-ratio: 896 / 1200;
    object-fit: contain;
    object-position: center;
  }

  #hero::before {
    display: none;
  }

  #hero .hero-content {
    grid-area: 1 / 1;
    align-self: end;
    max-width: none;
    margin: 0;
    padding: 2rem 1rem 1rem;
    background: linear-gradient(180deg, transparent, rgba(10, 18, 30, 0.88));
  }

  #hero .hero-search {
    grid-area: 2 / 1;
    width: calc(100% - 2rem);
    margin: 1rem auto 0;
  }
}
