@import url("https://fonts.googleapis.com/css2?family=Spectral:wght@400;500;600;700&family=Archivo:wght@400;500;600;700&display=swap");

:root {
  --hueso: #F1ECE3;
  --greige: #D9D0C2;
  --tinta: #1A1714;
  --naranja: #E4571B;
  --verde: #3F7D4F;
  --font-title: "Spectral", serif;
  --font-body: "Archivo", sans-serif;
}

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

body {
  margin: 0;
  background: var(--hueso);
  color: var(--tinta);
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.55;
}

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0;
  color: var(--tinta);
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

button, input, select, textarea {
  font-family: var(--font-body);
  font-size: 1rem;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--naranja);
  outline-offset: 2px;
}

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

.section-heading {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 46px;
}

.section-heading .num {
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--naranja);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

.section-heading h2 {
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  position: relative;
  padding-bottom: 10px;
}

.section-heading h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  background: var(--naranja);
}

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--naranja);
  font-weight: 600;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--hueso);
  border-bottom: 1px solid var(--greige);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo-bars rect { fill: var(--tinta); }
.logo-bars rect.acc { fill: var(--naranja); }
.logo-mark { height: 44px; width: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }

.logo-word {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  color: var(--tinta);
}
.logo-word .o-orange { color: var(--naranja); }

.logo-sub {
  font-family: var(--font-body);
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  color: var(--tinta);
  text-transform: uppercase;
  margin-top: 2px;
}

.main-nav { display: flex; align-items: center; gap: 20px; }
.main-nav ul { display: flex; flex-wrap: nowrap; list-style: none; gap: 16px; margin: 0; padding: 0; }

.main-nav a {
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
  padding-bottom: 5px;
  position: relative;
  transition: color 0.3s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--naranja);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(.2,.7,.2,1);
}

.main-nav a:hover,
.main-nav a.active { color: var(--naranja); }
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }

.search-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--tinta);
  padding: 4px;
  display: flex;
}
.search-icon-btn:hover { color: var(--naranja); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--tinta);
  border-radius: 4px;
  padding: 8px 10px;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--tinta);
  position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

.header-bar { background: var(--naranja); color: var(--hueso); }

.header-bar .container {
  display: flex;
  gap: 28px;
  padding: 6px 24px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.header-bar .wa { display: inline-flex; align-items: center; gap: 6px; }

.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--tinta);
}

.hero-skyline {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,23,20,0.42), rgba(26,23,20,0.72));
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--hueso);
  padding: 40px 24px;
  width: 100%;
  max-width: 720px;
}

.hero-content .logo-word,
.hero-content .logo-sub { color: var(--hueso); }
.hero-content .logo-word .o-orange { color: var(--naranja); }

.hero-logo { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 26px; }
.hero-logo-mark { width: 108px; height: auto; }
.hero-logo .logo-word { font-size: 2.1rem; }
.hero-logo .logo-sub { font-size: 0.68rem; letter-spacing: 0.2em; margin-top: 6px; }

.hero-content p.tagline {
  margin: 10px 0 28px;
  font-size: 1.05rem;
  opacity: 0.92;
}

.quick-search {
  display: flex;
  background: var(--hueso);
  border: 2px solid var(--naranja);
  border-radius: 4px;
  overflow: hidden;
  max-width: 620px;
  margin: 0 auto;
}

.quick-search input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 16px 18px;
  color: var(--tinta);
  font-size: 1rem;
}
.quick-search input::placeholder { color: #756b60; }

.quick-search button {
  border: none;
  background: var(--naranja);
  color: var(--hueso);
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0 26px;
  cursor: pointer;
  transition: background 0.2s;
}
.quick-search button:hover { background: var(--tinta); }

.main-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 52px;
  padding: 88px 24px;
  max-width: 1180px;
  margin: 0 auto;
  align-items: start;
}

.search-sidebar {
  background: #fff;
  border: 1px solid var(--greige);
  border-radius: 6px;
  padding: 28px 24px;
  position: sticky;
  top: 100px;
}

.search-sidebar h3 {
  font-size: 1.2rem;
  color: var(--naranja);
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.search-sidebar h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 3px;
  background: var(--naranja);
}

.field { margin-bottom: 16px; }

.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  color: var(--tinta);
}

.field input,
.field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--greige);
  border-radius: 4px;
  background: var(--hueso);
  color: var(--tinta);
}

.field-row { display: flex; gap: 12px; }
.field-row .field { flex: 1; }

.btn {
  display: inline-block;
  border: none;
  border-radius: 4px;
  padding: 13px 22px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-align: center;
}

.btn-block { width: 100%; }
.btn-tinta { background: var(--tinta); color: var(--hueso); }
.btn-tinta:hover { background: var(--naranja); }
.btn-naranja { background: var(--naranja); color: var(--hueso); }
.btn-naranja:hover { background: var(--tinta); }
.btn-outline { background: transparent; color: var(--tinta); border: 1px solid var(--tinta); }
.btn-outline:hover { border-color: var(--naranja); color: var(--naranja); }

.properties-section { max-width: 1180px; margin: 0 auto; padding: 88px 24px; }
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.property-card {
  background: #fff;
  border: 1px solid var(--greige);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.property-card:hover {
  transform: translateY(-4px);
  border-color: var(--naranja);
  box-shadow: 0 6px 18px rgba(26,23,20,0.08);
}

.property-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--greige);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tinta);
  opacity: 0.85;
}
.property-photo svg { width: 64px; height: 64px; opacity: 0.5; }

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hueso);
  border-radius: 0;
}
.badge-naranja { background: var(--naranja); }
.badge-verde { background: var(--verde); }
.badge-tinta { background: var(--tinta); }

.property-body { padding: 20px; }
.property-title { font-size: 1.15rem; margin-bottom: 8px; }
.property-meta { font-size: 0.85rem; color: #4b453e; margin: 0 0 14px; }

.property-icons {
  display: flex;
  gap: 18px;
  list-style: none;
  padding: 10px 0;
  margin: 0 0 14px;
  border-top: 1px solid var(--greige);
  border-bottom: 1px solid var(--greige);
}
.property-icons li { display: flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--tinta); }
.property-icons svg { width: 18px; height: 18px; }

.property-price {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--naranja);
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: #4b453e;
  border: 1px dashed var(--greige);
  border-radius: 6px;
}

.services { background: var(--greige); padding: 96px 24px; }

.services-list {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-item { border-top: 1px solid rgba(26,23,20,0.2); padding-top: 18px; }

.service-item .num {
  font-family: var(--font-title);
  color: var(--naranja);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}
.service-item h3 { font-size: 1.25rem; margin-bottom: 6px; }
.service-item p { margin: 0; color: #35312c; }

.cta { padding: 104px 24px; text-align: center; }
.cta-icon { width: 48px; height: 48px; margin: 0 auto 16px; color: var(--naranja); }
.cta h2 { font-size: 2.3rem; font-weight: 500; letter-spacing: -0.015em; margin-bottom: 14px; }
.cta p { max-width: 520px; margin: 0 auto 24px; color: #4b453e; }

.page-hero {
  background: var(--tinta);
  color: var(--hueso);
  padding: 64px 24px 48px;
  text-align: center;
}
.page-hero .eyebrow { color: var(--naranja); }
.page-hero h1 { color: var(--hueso); font-size: 2.2rem; margin-top: 10px; }
.page-hero p { color: #d8d1c7; max-width: 560px; margin: 12px auto 0; }

.about-content { max-width: 900px; margin: 0 auto; padding: 64px 24px; }
.about-content > p { font-size: 1.05rem; margin-bottom: 20px; }
.about-content blockquote {
  margin: 32px 0;
  padding: 20px 24px;
  border-left: 3px solid var(--naranja);
  background: #fff;
  font-family: var(--font-title);
  font-size: 1.2rem;
}

.founder-card {
  display: flex;
  gap: 24px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--greige);
  border-radius: 6px;
  padding: 28px;
  margin-top: 40px;
}

.founder-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--tinta);
  color: var(--naranja);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.founder-card h3 { font-size: 1.2rem; }
.founder-card .role { color: var(--naranja); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; margin: 4px 0 8px; }
.founder-card p { margin: 0; color: #4b453e; }

.contact-layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
}
.contact-layout h1 { font-size: 2rem; margin-bottom: 20px; }
.contact-layout h4 { font-size: 1.05rem; margin: 24px 0 8px; }
.contact-layout ul { padding-left: 20px; margin: 8px 0; }
.contact-layout ul li { margin-bottom: 6px; }

.contact-form {
  margin-top: 28px;
  background: #fff;
  border: 1px solid var(--greige);
  border-radius: 6px;
  padding: 26px;
}
.contact-form .field-row { flex-wrap: wrap; }

.form-note { font-size: 0.78rem; color: #6b6459; margin-top: 10px; }

.form-success {
  display: none;
  background: #eef4ee;
  border: 1px solid var(--verde);
  color: #2c5a38;
  padding: 12px 16px;
  border-radius: 4px;
  margin-top: 14px;
  font-size: 0.9rem;
}
.form-success.visible { display: block; }

.contact-card {
  background: var(--tinta);
  color: var(--hueso);
  border-radius: 6px;
  padding: 28px;
  height: fit-content;
}
.contact-card h3 {
  color: var(--hueso);
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 20px;
}
.contact-card h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 3px;
  background: var(--naranja);
}
.contact-card .item { margin-bottom: 18px; }
.contact-card .item .label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--naranja);
  font-weight: 700;
  margin-bottom: 4px;
}
.contact-card .socials { display: flex; gap: 14px; margin-top: 16px; }
.contact-card .socials a {
  border: 1px solid rgba(241,236,227,0.4);
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 0.8rem;
  transition: border-color 0.2s, color 0.2s;
}
.contact-card .socials a:hover { border-color: var(--naranja); color: var(--naranja); }

.site-footer { background: var(--tinta); color: var(--hueso); padding: 56px 24px 0; }

.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 40px;
  padding-bottom: 40px;
  align-items: start;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--hueso);
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 16px;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: var(--naranja);
}
.footer-col p, .footer-col li, .footer-col a { color: #c9c2b7; font-size: 0.88rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a:hover { color: var(--naranja); }

.footer-logo-invert { margin-top: 0; opacity: 0.9; }
.footer-logo-invert .logo-word { color: var(--hueso); }
.footer-logo-invert .logo-word .o-orange { color: var(--naranja); }
.footer-logo-invert .logo-sub { color: #c9c2b7; }

.footer-cta-icon { width: 32px; height: 32px; color: var(--naranja); margin-bottom: 12px; }

.footer-bar {
  background: var(--naranja);
  color: var(--hueso);
  text-align: center;
  padding: 14px 24px;
  font-size: 0.8rem;
  font-weight: 600;
}
.footer-bar .dev-credit { font-weight: 500; opacity: 0.92; }
.footer-bar .dev-credit a { color: var(--hueso); text-decoration: underline; text-underline-offset: 2px; transition: color 0.18s; }
.footer-bar .dev-credit a:hover { color: var(--tinta); }

.wa-widget { position: fixed; bottom: 24px; right: 24px; z-index: 200; }

.wa-button {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  transition: transform 0.2s;
}
.wa-button:hover { transform: scale(1.06); }
.wa-button svg { width: 30px; height: 30px; color: #fff; }

.wa-panel {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 300px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.25);
  overflow: hidden;
  display: none;
}
.wa-panel.open { display: block; }

.wa-panel-header { background: #075E54; color: #fff; padding: 14px 16px; }
.wa-panel-header strong { display: block; font-size: 0.95rem; }
.wa-panel-header span { font-size: 0.75rem; opacity: 0.85; }

.wa-panel-body { padding: 16px; background: #ECE5DD; }
.wa-bubble { background: #fff; padding: 10px 12px; border-radius: 8px; font-size: 0.85rem; margin-bottom: 12px; }

.wa-panel-footer { display: flex; border-top: 1px solid var(--greige); }
.wa-panel-footer input { flex: 1; border: none; padding: 12px; font-size: 0.85rem; }
.wa-panel-footer button {
  border: none;
  background: #25D366;
  color: #fff;
  padding: 0 16px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.8rem;
}

.section { padding: 56px 24px; max-width: 1180px; margin: 0 auto; }

@media (max-width: 900px) {
  .main-nav ul { display: none; }
  .nav-toggle { display: block; }
  .main-layout { grid-template-columns: 1fr; }
  .search-sidebar { position: static; }
  .property-grid { grid-template-columns: repeat(2, 1fr); }
  .services-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .main-nav.open ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--hueso);
    border-bottom: 1px solid var(--greige);
    padding: 16px 24px;
    gap: 14px;
    z-index: 50;
  }
}

@media (max-width: 600px) {
  .property-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-bar .container { flex-direction: column; gap: 4px; padding: 8px 24px; }
  .quick-search { flex-direction: column; }
  .quick-search button { padding: 14px; }
  .founder-card { flex-direction: column; text-align: center; }
}

/* Contact page (Nowan-style) */
.ct-wrap { max-width: 1180px; margin: 0 auto; padding: 48px 24px 64px; }

.ct-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 46px; }
.ct-card {
  background: #fff;
  border: 1px solid var(--greige);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.ct-card:hover { border-color: var(--naranja); box-shadow: 0 6px 18px rgba(26,23,20,0.07); }
.ct-icon {
  width: 58px; height: 58px; border-radius: 50%;
  background: #F7E3D8; color: var(--naranja);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.ct-icon svg { width: 26px; height: 26px; }
.ct-card h3 { color: var(--naranja); font-size: 1.2rem; margin-bottom: 8px; }
.ct-card p { color: #4b453e; font-size: 0.9rem; margin: 0 0 22px; }

.btn-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: 30px;
  padding: 12px 26px; font-weight: 600; font-size: 0.85rem;
  font-family: var(--font-body); cursor: pointer;
  margin-top: auto; transition: background 0.2s, color 0.2s;
}
.btn-pill-tinta { background: var(--tinta); color: var(--hueso); }
.btn-pill-tinta:hover { background: var(--naranja); color: #fff; }
.btn-pill-naranja { background: var(--naranja); color: #fff; align-self: flex-start; }
.btn-pill-naranja:hover { background: var(--tinta); color: var(--hueso); }

.ct-form-map { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: stretch; }
.ct-form h2 { color: var(--naranja); font-size: 1.8rem; margin-bottom: 8px; }
.ct-form .lead { color: #6b6459; font-size: 0.92rem; line-height: 1.6; margin: 0 0 22px; }
.ct-form form { display: flex; flex-direction: column; gap: 14px; }

.ct-pill {
  width: 100%;
  border: 1px solid var(--greige);
  background: #fff; color: var(--tinta);
  font-family: var(--font-body); font-size: 0.95rem;
  padding: 14px 20px; border-radius: 28px;
}
.ct-pill::placeholder { color: #8a8175; }
.ct-pill:focus { outline: 2px solid var(--naranja); outline-offset: 1px; }
textarea.ct-pill { border-radius: 18px; resize: vertical; min-height: 120px; }

.ct-map {
  border: 1px solid var(--greige);
  border-radius: 16px; overflow: hidden;
  min-height: 440px;
}
.ct-map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; display: block; }

.ct-success {
  display: none;
  background: #eef4ee; border: 1px solid var(--verde); color: #2c5a38;
  padding: 12px 16px; border-radius: 10px; font-size: 0.9rem; margin-top: 6px;
}
.ct-success.visible { display: block; }

@media (max-width: 860px) {
  .ct-cards { grid-template-columns: 1fr; }
  .ct-form-map { grid-template-columns: 1fr; }
  .ct-map { min-height: 320px; }
  .ct-map iframe { min-height: 320px; }
}

/* Property cards v2 (image-forward, dynamic) */
.property-card { display: flex; flex-direction: column; border-radius: 16px; }
.property-card { border-color: #ece6db; transition: transform 0.5s cubic-bezier(.2,.7,.2,1), border-color 0.4s, box-shadow 0.5s; }
.property-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(26,23,20,0.11); }

.pc-img { position: relative; height: 300px; overflow: hidden; }
.pc-photo {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: #cfc7ba;
  transition: transform 0.9s cubic-bezier(.2,.7,.2,1);
}
.property-card:hover .pc-photo { transform: scale(1.06); }
.pc-photo svg { width: 74px; height: 74px; color: #a89f90; opacity: 0.7; }

.pc-band { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; background: rgba(20,17,15,0.55); }
.pc-loc { display: flex; align-items: center; gap: 5px; color: #F1ECE3; font-size: 0.75rem; margin-bottom: 3px; opacity: 0.92; }
.pc-loc svg { width: 12px; height: 12px; flex-shrink: 0; }
.pc-title { color: #fff; font-family: var(--font-title); font-size: 1.15rem; font-weight: 600; line-height: 1.15; margin: 0; }

.pc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pc-meta { font-size: 0.82rem; color: #6b6459; margin: 0; }
.pc-specs {
  display: flex; gap: 16px; list-style: none; padding: 9px 0; margin: 0;
  border-top: 1px solid #eee4d7; border-bottom: 1px solid #eee4d7;
}
.pc-specs li { display: flex; align-items: center; gap: 5px; font-size: 0.82rem; color: var(--tinta); }
.pc-specs svg { width: 16px; height: 16px; }
.pc-body .property-price { margin: 0; }
.pc-btn { margin-top: auto; width: 100%; }

.badge { border-radius: 20px; }

/* Button movement */
.btn { transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, transform 0.35s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-pill { transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease; }
.btn-pill:hover { transform: translateY(-2px); }

/* Scroll reveal (deslizamiento lateral) */
body { overflow-x: hidden; }
.reveal { opacity: 0; transform: translateX(-64px); transition: opacity 1.05s cubic-bezier(.16,.84,.34,1), transform 1.05s cubic-bezier(.16,.84,.34,1); }
.reveal.from-right { transform: translateX(64px); }
.reveal.from-bottom { transform: translateY(44px); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .property-card:hover, .btn:hover, .btn-pill:hover, .ct-card:hover { transform: none; }
  .property-card:hover .pc-photo { transform: none; }
}

/* Header: colapsar menu antes para que no se superponga con el logo */
.logo-word { white-space: nowrap; }
@media (max-width: 1080px) {
  .main-nav ul { display: none; }
  .nav-toggle { display: block; }
  .main-nav.open ul {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--hueso); border-bottom: 1px solid var(--greige);
    padding: 16px 24px; gap: 14px; z-index: 50;
  }
}

/* Property card link */
.pc-link { display: block; color: inherit; }

/* Property detail page */
.pd-wrap { max-width: 1180px; margin: 0 auto; padding: 30px 24px 64px; }
.pd-loading { text-align: center; color: #6b6459; padding: 60px 0; }
.pd-back { display: inline-flex; align-items: center; gap: 6px; color: #6b6459; font-size: 0.85rem; font-weight: 600; margin-bottom: 20px; }
.pd-back:hover { color: var(--naranja); }
.pd-back svg { display: block; }

.pd-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 34px; align-items: start; }

.pd-main { width: 100%; border-radius: 16px; overflow: hidden; background: #ece7dd; display: flex; align-items: center; justify-content: center; max-height: 520px; }
.pd-main img { width: 100%; height: auto; max-height: 520px; object-fit: contain; display: block; }
.pd-noimg { display: flex; align-items: center; justify-content: center; height: 100%; color: #8a8175; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pd-thumbs img { width: 86px; height: 64px; object-fit: cover; border-radius: 9px; cursor: pointer; border: 2px solid transparent; transition: border-color .2s; }
.pd-thumbs img:hover { border-color: var(--greige); }
.pd-thumbs img.active { border-color: var(--naranja); }

.pd-info { background: #fff; border: 1px solid var(--greige); border-radius: 16px; padding: 26px; position: sticky; top: 100px; }
.pd-op { position: static; display: inline-block; margin-bottom: 12px; }
.pd-title { font-family: var(--font-title); font-size: 1.7rem; line-height: 1.15; margin: 0 0 8px; }
.pd-loc { display: flex; align-items: center; gap: 6px; color: #6b6459; font-size: 0.9rem; margin-bottom: 14px; }
.pd-loc svg { width: 15px; height: 15px; }
.pd-price { font-family: var(--font-title); font-weight: 600; font-size: 2rem; color: var(--naranja); margin-bottom: 18px; }

.pd-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid #eee4d7; border-bottom: 1px solid #eee4d7; margin-bottom: 20px; }
.pd-spec { display: flex; align-items: center; gap: 10px; }
.pd-spec svg { width: 22px; height: 22px; color: var(--naranja); flex-shrink: 0; }
.pd-spec strong { display: block; font-size: 1rem; }
.pd-spec span { font-size: 0.78rem; color: #6b6459; }

.pd-cta { display: flex; flex-direction: column; gap: 10px; }
.pd-cta .btn-pill { width: 100%; }

.pd-amen { margin-top: 40px; }
.pd-amen h3, .pd-desc h3 { font-family: var(--font-title); font-size: 1.3rem; margin-bottom: 14px; position: relative; padding-bottom: 8px; }
.pd-amen h3::after, .pd-desc h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; background: var(--naranja); }
.pd-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.pd-chip { background: #fff; border: 1px solid var(--greige); border-radius: 24px; padding: 8px 16px; font-size: 0.85rem; }

.pd-desc { margin-top: 40px; max-width: 760px; }
.pd-desc p { color: #35312c; line-height: 1.7; margin: 0; }

.pd-empty { text-align: center; padding: 70px 20px; }
.pd-empty h1 { font-size: 1.8rem; margin-bottom: 10px; }
.pd-empty p { color: #6b6459; margin-bottom: 22px; }

@media (max-width: 860px) {
  .pd-grid { grid-template-columns: 1fr; }
  .pd-info { position: static; }
}

/* Home: tira de servicios editorial */
.home-services { border-top: 1px solid var(--greige); border-bottom: 1px solid var(--greige); background: var(--hueso); padding-top: 84px; }
.hs-wrap { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.hs-item { padding: 58px 32px; border-right: 1px solid var(--greige); }
.hs-item:last-child { border-right: none; }
.hs-n { font-family: var(--font-title); font-size: 0.9rem; color: var(--naranja); letter-spacing: 0.1em; }
.hs-item h3 { font-family: var(--font-title); font-size: 1.55rem; font-weight: 500; margin: 14px 0 10px; }
.hs-item p { color: #8a8175; font-size: 0.92rem; margin: 0; }

/* Home: bloque quienes somos editorial */
.home-about { max-width: 1180px; margin: 0 auto; padding: 110px 24px; }
.ha-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.ha-txt .eyebrow { display: block; margin-bottom: 22px; }
.ha-txt h2 { font-family: var(--font-title); font-size: 2.6rem; font-weight: 500; letter-spacing: -0.015em; line-height: 1.08; margin-bottom: 24px; max-width: 15ch; }
.ha-txt > p { color: #6b6459; max-width: 46ch; margin: 0; }
.ha-txt blockquote { font-family: var(--font-title); font-style: italic; font-size: 1.5rem; color: var(--tinta); border-left: 2px solid var(--naranja); padding-left: 22px; margin: 30px 0 0; }
.ha-portrait { aspect-ratio: 4 / 5; background: var(--greige); border-radius: 10px; position: relative; overflow: hidden; display: flex; align-items: flex-end; }
.ha-avatar { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-title); font-size: 128px; color: #c4bbac; }
.ha-nm { position: relative; z-index: 2; width: 100%; padding: 32px; background: linear-gradient(180deg, rgba(26,23,20,0), rgba(26,23,20,0.6)); color: #fff; }
.ha-nm b { font-family: var(--font-title); font-weight: 500; font-size: 1.4rem; display: block; }
.ha-nm span { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; }

@media (max-width: 900px) {
  .hs-wrap { grid-template-columns: 1fr 1fr; }
  .hs-item:nth-child(2) { border-right: none; }
  .hs-item { border-bottom: 1px solid var(--greige); }
  .ha-wrap { grid-template-columns: 1fr; gap: 40px; }
  .home-about { padding: 72px 24px; }
}
@media (max-width: 560px) {
  .hs-wrap { grid-template-columns: 1fr; }
  .hs-item { border-right: none; }
}

/* Tasaciones: formulario de valoracion */
.val-section { padding: 96px 24px; background: var(--greige); }
.val-wrap { max-width: 620px; margin: 0 auto; text-align: center; }
.val-wrap .section-heading { justify-content: center; margin-bottom: 16px; }
.val-wrap .section-heading h2 { font-size: 2rem; }
.val-wrap .section-heading h2::after { left: 50%; transform: translateX(-50%); }
.val-sub { color: #6b6459; margin: 0 auto 32px; max-width: 48ch; }
.val-form { background: #fff; border: 1px solid #ece6db; border-radius: 16px; padding: 34px; text-align: left; }
.val-form .field { margin-bottom: 16px; }
.val-form label { display: block; font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: #6b6459; margin-bottom: 7px; }
.val-check { display: flex; align-items: center; gap: 9px; font-size: 0.85rem; text-transform: none; letter-spacing: 0; color: #4b453e; font-weight: 400; margin: 4px 0 20px; }
.val-check input { width: 16px; height: 16px; accent-color: var(--naranja); flex-shrink: 0; }
.val-form .btn-pill { width: 100%; justify-content: center; }
.val-form .ct-success { margin-top: 14px; }

/* ==================== TEMA OSCURO (todo el sitio) ==================== */
body { background: #100f0d; color: #e7e2d7; }
h1, h2, h3, h4 { color: #f3eee3; }

/* Header */
.site-header { background: #17150f; border-bottom-color: #2b2820; }
.logo-word, .logo-sub { color: #f3eee3; }
.main-nav a { color: #cec7b8; }
.nav-toggle { border-color: #cec7b8; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { background: #cec7b8; }
.search-icon-btn { color: #cec7b8; }

/* Superficies (tarjetas, formularios, paneles claros -> oscuros) */
.property-card, .ct-card, .contact-form, .val-form, .founder-card,
.contact-card, .pd-info, .about-content blockquote, .search-sidebar, .pd-main, .pd-chip {
  background: #1a1814; border-color: #2c2925;
}
.pc-photo, .ha-portrait { background: #211e19; }

/* Bordes internos */
.pc-specs, .property-icons, .pd-specs, .pd-chips, .empty-state { border-color: #2c2925; }
.pc-specs li, .property-icons li { color: #e7e2d7; }
.service-item { border-top-color: #2c2925; }
.hs-item { border-color: #2b2820; }

/* Textos apagados -> claros */
.pc-meta, .cta p, .hs-item p, .val-sub, .service-item p, .form-note,
.pd-spec span, .pd-loc, .pd-back, .founder-card p, .ha-txt > p, .about-content > p,
.contact-layout p, .contact-layout li, .empty-state, .pd-desc p { color: #a89f90; }

/* Secciones con fondo claro -> oscuro */
.services { background: #17150f; }
.home-services { background: #100f0d; border-color: #2b2820; }
.val-section { background: #17150f; }
.cta { background: #100f0d; }

/* Citas / titulos oscuros -> claros */
.ha-txt blockquote, .about-content blockquote { color: #f3eee3; }
.pd-title { color: #f3eee3; }

/* Inputs */
.ct-pill, .field input, .field select { background: #201d18; border-color: #34302a; color: #e7e2d7; }
.ct-pill::placeholder, .field input::placeholder { color: #7f7668; }

/* Botones oscuros -> contorno claro que se llena de naranja al hover */
.btn-tinta, .btn-pill-tinta, .btn-outline { background: transparent; color: #f3eee3; border: 1px solid #4a443b; }
.btn-tinta:hover, .btn-pill-tinta:hover, .btn-outline:hover { background: var(--naranja); border-color: var(--naranja); color: #fff; }

/* Badges tinta -> visibles en oscuro */
.badge-tinta { background: #2c2925; color: #e7e2d7; }

/* Iconos redondeados de contacto */
.ct-icon { background: #2a201a; }

/* Titulos de seccion centrados */
.section-heading { justify-content: center; text-align: center; }
.section-heading h2::after { left: 50%; transform: translateX(-50%); }

/* Mapas en oscuro */
.ct-map { border-color: #2c2925; }
.ct-map iframe { filter: invert(0.92) hue-rotate(180deg) brightness(0.95) contrast(0.9); }

/* Mapa en la publicacion de propiedad */
.pd-map-sec { margin-top: 44px; }
.pd-map-sec h3 { font-family: var(--font-title); font-size: 1.3rem; margin-bottom: 14px; position: relative; padding-bottom: 8px; color: #f3eee3; }
.pd-map-sec h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; background: var(--naranja); }
.pd-map { min-height: 360px; }
.pd-map iframe { min-height: 360px; }

/* Footer: barra de newsletter */
.foot-news { max-width: 1180px; margin: 0 auto; padding: 46px 24px 34px; display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; border-bottom: 1px solid rgba(247,244,239,.1); }
.fn-title { font-family: var(--font-title); font-size: 1.95rem; font-weight: 500; color: #f3eee3; letter-spacing: -0.01em; line-height: 1.1; }
.fn-title span { color: var(--naranja); display: block; }
.fn-form { display: flex; align-items: center; flex: 1; max-width: 480px; min-width: 260px; }
.fn-form input { flex: 1; background: transparent; border: none; border-bottom: 1px solid rgba(247,244,239,.35); color: #f3eee3; padding: 13px 4px; font-size: 1rem; }
.fn-form input::placeholder { color: #8f887b; }
.fn-form input:focus { outline: none; border-bottom-color: var(--naranja); }
.fn-form button { background: var(--naranja); border: none; color: #fff; width: 56px; height: 48px; margin-left: 14px; border-radius: 4px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .3s, color .3s, transform .3s; flex-shrink: 0; }
.fn-form button:hover { background: #fff; color: var(--naranja); transform: translateY(-2px); }
.fn-form button svg { width: 20px; height: 20px; }
.fn-ok { display: none; color: #7fce9c; font-size: 0.9rem; width: 100%; margin-top: 8px; }
.fn-ok.show { display: block; }
@media (max-width: 760px) {
  .foot-news { flex-direction: column; align-items: flex-start; gap: 18px; }
  .fn-form { width: 100%; max-width: none; }
}

/* ===== Arreglos movil: menu desplegable oscuro + logos que se adaptan ===== */
@media (max-width: 1080px) {
  .main-nav.open ul { background: #17150f; border-bottom-color: #2b2820; }
  .main-nav.open a { color: #e7e2d7; }
  .main-nav.open a.active { color: var(--naranja); }
}
@media (max-width: 640px) {
  .logo-mark { height: 34px; }
  .logo-word { font-size: 0.98rem; }
  .logo-sub { font-size: 0.46rem; letter-spacing: 0.1em; }
  .hero-logo-mark { width: 74px; }
  .hero-logo .logo-word { font-size: 1.45rem; }
  .hero-logo .logo-sub { font-size: 0.58rem; letter-spacing: 0.14em; }
}
@media (max-width: 380px) {
  .logo-word { font-size: 0.86rem; }
  .hero-logo .logo-word { font-size: 1.2rem; }
}

/* Hero: carrusel de fotos de inicio */
.hero-slides { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.6s ease; }
.hero-slide.active { opacity: 1; }
