:root {
  --ink: #0a1f3d;          /* primary deep navy */
  --ink-2: #14305f;        /* navy hover */
  --ink-soft: #4a5d7d;     /* secondary text */
  --paper: #f6f1ea;        /* warm off-white */
  --paper-2: #ebe4d7;      /* warmer card */
  --paper-3: #e1d9c8;
  --line: #d6cdba;
  --red: #b8423a;          /* warm brick red */
  --red-2: #9b3530;
  --red-soft: #e9c8c4;
  --white: #ffffff;
  --shadow-soft: 0 1px 2px rgba(10,31,61,0.04), 0 8px 24px -8px rgba(10,31,61,0.08);
  --shadow-lift: 0 2px 4px rgba(10,31,61,0.06), 0 24px 60px -20px rgba(10,31,61,0.18);

  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --container: 1240px;
  --pad-x: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* type */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 500;
}
.eyebrow-ink { color: var(--ink); opacity: 0.65; }
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5.2vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0;
}
.section-title em {
  font-style: italic;
  color: var(--red);
}
.section-sub {
  font-size: clamp(15px, 1.1vw, 17px);
  color: var(--ink-soft);
  max-width: 56ch;
  line-height: 1.55;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease, border-color .25s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover { background: var(--ink-2); transform: translateY(-1px); box-shadow: var(--shadow-lift); }
.btn-red {
  background: var(--red);
  color: var(--paper);
}
.btn-red:hover { background: var(--red-2); transform: translateY(-1px); box-shadow: 0 18px 40px -16px rgba(184,66,58,0.5); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.nav-cta .btn-ghost { color: #25D366; border-color: #25D366; }
.nav-cta .btn-ghost:hover { background: #25D366; color: var(--white); border-color: #25D366; }
.btn-ghost-light {
  background: transparent;
  color: var(--paper);
  border-color: rgba(246,241,234,0.4);
}
.btn-ghost-light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ====== NAV ====== */
.nav-wrap {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,241,234,0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav-wrap.scrolled { border-color: var(--line); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--serif); font-size: 22px;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.04em;
}
.brand-name { line-height: 1; }
.brand-name small {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 4px;
}
.nav-links {
  display: flex; gap: 28px;
  font-size: 14px;
  color: var(--ink);
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; right: 100%;
  bottom: 0; height: 1px; background: var(--red);
  transition: right .3s ease;
}
.nav-links a:hover { color: var(--red); }
.nav-links a:hover::after { right: 0; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { height: 44px; padding: 0 18px; font-size: 14px; }
.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  align-items: center; justify-content: center;
}
.menu-toggle svg { width: 18px; height: 18px; }
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0;
  background: var(--paper);
  z-index: 100;
  display: flex; flex-direction: column;
  padding: 28px var(--pad-x);
  overflow: hidden;
  transform: translateY(-100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform .4s cubic-bezier(.4,0,.2,1), visibility 0s linear .4s;
}
.mobile-menu.open {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition: transform .4s cubic-bezier(.4,0,.2,1), visibility 0s linear 0s;
}
.mobile-menu-top {
  display: flex; justify-content: space-between; align-items: center; height: 78px;
}
.mobile-menu nav {
  margin-top: 40px;
  display: flex; flex-direction: column; gap: 4px;
}
.mobile-menu nav a {
  font-family: var(--serif);
  font-size: 40px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  letter-spacing: -0.02em;
}
.mobile-menu .btn { margin-top: 32px; align-self: flex-start; }

/* ====== HERO ====== */
.hero {
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(40px, 5vw, 80px);
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: stretch;
}
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-left h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 4.5vw, 80px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin: 28px 0 0;
}
.hero-left h1 em {
  font-style: italic;
  color: var(--red);
}
.hero-left h1 .stroke {
  background: linear-gradient(to right, var(--ink), var(--ink));
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-meta {
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.hero-meta .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(184,66,58,0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(184,66,58,0.18); }
  50% { box-shadow: 0 0 0 8px rgba(184,66,58,0.06); }
}
.hero-meta .label {
  font-family: var(--mono);
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--ink-soft);
}
.hero-actions {
  margin-top: 36px;
  display: flex; gap: 12px; flex-wrap: wrap;
}
.hero-right {
  display: flex; flex-direction: column; gap: 24px;
}
.hero-image-wrap {
  position: relative;
  flex: 1;
  min-height: 0;
  border-radius: 4px;
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-image-tag {
  position: absolute; left: 18px; bottom: 18px;
  background: var(--paper);
  padding: 10px 14px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  display: flex; align-items: center; gap: 8px;
}
.hero-image-tag .red-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.hero-stats {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero-avatars {
  display: flex;
}
.hero-avatars span {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  margin-left: -10px;
  border: 2px solid var(--paper);
}
.hero-avatars span:first-child { margin-left: 0; background: var(--red); }
.hero-avatars span:nth-child(3) { background: var(--ink-soft); }
.hero-avatars .plus { background: var(--paper); color: var(--ink); border-color: var(--ink); font-size: 10px; }
.hero-stats p {
  margin: 0; font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.45;
}
.hero-stats p strong { color: var(--ink); font-weight: 600; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-right { order: 2; }
  .hero-image-wrap { aspect-ratio: 4 / 3; }
}

/* hero ticker */
.ticker {
  margin-top: 60px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--paper);
}
.ticker-track {
  display: flex; gap: 0;
  animation: ticker 36s linear infinite;
  white-space: nowrap;
}
.ticker-item {
  padding: 22px 36px;
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 32px);
  letter-spacing: -0.015em;
  color: var(--ink);
}
.ticker-item .star { color: var(--red); font-size: 16px; }
.ticker-item em { font-style: italic; color: var(--red); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ====== ABOUT ====== */
.about {
  padding: clamp(80px, 9vw, 140px) 0;
  position: relative;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
}
.about-left { position: sticky; top: 100px; }
.about-left h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 24px 0 24px;
}
.about-left h2 em { color: var(--red); font-style: italic; }
.about-bullets {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 28px;
}
.about-bullets span {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13px;
  background: var(--paper);
}
.about-bullets span:nth-child(2) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.about-bullets span:nth-child(3) { background: var(--red); color: var(--paper); border-color: var(--red); }

/* chat card */
.chat-card {
  background: var(--white);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow-lift);
  border: 1px solid rgba(10,31,61,0.06);
  position: relative;
}
.chat-card::before {
  content: '';
  position: absolute;
  inset: -1px -1px auto -1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--paper-2), transparent);
  border-radius: 18px 18px 0 0;
  opacity: 0.4;
  pointer-events: none;
}
.chat-head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--paper-3);
  margin-bottom: 16px;
  position: relative;
}
.chat-head-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 13px; font-weight: 500;
}
.chat-head-info b { font-size: 14px; font-weight: 600; display: block; }
.chat-head-info small { font-size: 11.5px; color: var(--ink-soft); }
.chat-head-status {
  margin-left: auto;
  display: flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--ink-soft);
}
.chat-head-status .dot {
  width: 6px; height: 6px; border-radius: 50%; background: #1ea672;
}
.chat-msgs { display: flex; flex-direction: column; gap: 10px; }
.msg {
  max-width: 78%;
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.45;
  animation: msgIn .5s cubic-bezier(.2,.7,.3,1) both;
}
.msg.client {
  background: var(--paper-2);
  color: var(--ink);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.msg.me {
  background: var(--ink);
  color: var(--paper);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.msg small {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  opacity: 0.55;
  font-family: var(--mono);
  letter-spacing: 0.08em;
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.chat-typing {
  display: inline-flex; gap: 4px;
  padding: 12px 14px;
  background: var(--paper-2);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.chat-typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink-soft);
  animation: bounce 1.4s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}
.chat-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--paper-3);
  display: flex; gap: 8px;
}
.chat-footer .input {
  flex: 1;
  background: var(--paper);
  border: 1px solid var(--paper-3);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--ink-soft);
}
.chat-footer .send-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--red);
  color: var(--paper);
  display: grid; place-items: center;
}

@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-left { position: static; }
}

/* ====== STATS ====== */
.stats {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(800px 400px at 90% -10%, rgba(184,66,58,0.18), transparent 60%);
  pointer-events: none;
}
.stats-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 40px; margin-bottom: 64px; flex-wrap: wrap;
}
.stats-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1; letter-spacing: -0.02em;
  margin: 16px 0 0;
  max-width: 18ch;
}
.stats-head h2 em { font-style: italic; color: var(--red-soft); }
.stats-head .eyebrow { color: var(--red-soft); }
.stats-head p { color: rgba(246,241,234,0.65); max-width: 30ch; margin: 0; font-size: 15px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(246,241,234,0.12);
  border: 1px solid rgba(246,241,234,0.12);
}
.stat {
  padding: 36px 32px;
  background: var(--ink);
  display: flex; flex-direction: column; gap: 16px;
  min-height: 240px;
  position: relative;
  overflow: hidden;
}
.stat-num {
  font-family: var(--serif);
  font-size: clamp(72px, 9vw, 128px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-weight: 400;
}
.stat-num .plus { color: var(--red); font-style: italic; }
.stat-label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(246,241,234,0.55);
}
.stat-desc {
  font-size: 14px;
  color: rgba(246,241,234,0.78);
  margin-top: auto;
  line-height: 1.5;
}
.stat-rating {
  display: flex; align-items: center; gap: 10px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(246,241,234,0.14);
}
.stat-rating .stars { color: var(--red); letter-spacing: 2px; font-size: 12px; }
.stat-rating small { font-family: var(--mono); font-size: 11px; color: rgba(246,241,234,0.6); }
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat { min-height: 200px; }
}

/* ====== SERVICES ====== */
.services {
  padding: clamp(80px, 10vw, 140px) 0;
}
.services-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 64px;
}
.services-head h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 5.4vw, 76px); line-height: 0.98;
  letter-spacing: -0.022em; margin: 0;
}
.services-head h2 em { color: var(--red); font-style: italic; }
.services-head .right { padding-bottom: 12px; }
.service-list { display: flex; flex-direction: column; }
.service-row {
  display: grid;
  grid-template-columns: 80px 1fr 1.2fr 60px;
  gap: 24px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  align-items: start;
  position: relative;
  cursor: pointer;
  transition: padding .35s ease;
}
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row:hover { padding-left: 8px; }
.service-row::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0; bottom: 0;
  background: linear-gradient(to right, rgba(184,66,58,0.04), transparent 60%);
  opacity: 0; transition: opacity .35s ease;
  pointer-events: none;
}
.service-row:hover::before { opacity: 1; }
.service-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--red);
  padding-top: 6px;
}
.service-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0;
}
.service-desc {
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}
.service-arrow {
  width: 48px; height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid; place-items: center;
  justify-self: end;
  align-self: center;
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.service-row:hover .service-arrow {
  background: var(--ink); color: var(--paper); border-color: var(--ink); transform: rotate(-45deg);
}
.service-images {
  grid-column: 2 / 4;
  display: none;
  gap: 16px;
  margin-top: 24px;
}
.service-images.open { display: grid; grid-template-columns: 1fr 1fr; animation: fadeIn .4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px);} to { opacity: 1; transform: translateY(0);} }
.service-images img { aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; }
@media (max-width: 880px) {
  .services-head { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 50px 1fr 36px; }
  .service-desc { grid-column: 2 / 3; margin-top: 12px; }
  .service-arrow { width: 36px; height: 36px; }
}

/* ====== VALUATION ====== */
.valuation {
  background: var(--paper-2);
  padding: clamp(48px, 6vw, 80px) 0;
  position: relative;
}
.valuation-head {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
  align-items: end;
}
.valuation-head h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 6vw, 88px); line-height: 0.96;
  letter-spacing: -0.022em; margin: 16px 0 0;
}
.valuation-head h2 em { font-style: italic; color: var(--red); }
.valuation-head p { color: var(--ink-soft); font-size: 16px; max-width: 50ch; margin: 0; }
.valuation-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: stretch;
}
.val-card {
  background: var(--paper);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}
.val-card-img {
  position: relative;
  aspect-ratio: 16/11;
  overflow: hidden;
}
.val-card-img img { width: 100%; height: 100%; object-fit: cover; }
.val-card-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,31,61,0.5), transparent 50%);
}
.val-card-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--paper);
  padding: 6px 12px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  z-index: 2;
}
.val-card-overlay {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  display: flex; justify-content: space-between; align-items: end;
  color: var(--paper);
  z-index: 2;
}
.val-card-overlay .label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
}
.val-card-overlay .price {
  font-family: var(--serif); font-size: 28px; line-height: 1; letter-spacing: -0.01em;
}
.val-form {
  padding: 28px;
  display: flex; flex-direction: column;
  gap: 12px;
}
.val-form h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 26px; letter-spacing: -0.015em; margin: 0 0 6px;
}
.val-form p { color: var(--ink-soft); font-size: 14px; margin: 0 0 6px; }
.field {
  position: relative;
  display: flex; flex-direction: column;
}
.field label {
  font-family: var(--mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.field input, .field select {
  background: var(--paper-2);
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 12px 14px;
  font: inherit; font-size: 14px; color: var(--ink);
  transition: border-color .2s ease, background .2s ease;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--ink); background: var(--white); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.val-form .btn { margin-top: 6px; height: 48px; }
.val-guide-list {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.val-guide-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--ink);
  padding: 10px 14px;
  background: var(--paper-2);
  border-radius: 8px;
  counter-increment: guide-step;
}
.val-guide-list li::before {
  content: counter(guide-step);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--red);
  min-width: 20px;
}
.val-guide-list { counter-reset: guide-step; }
.val-form .btn { height: 52px; }
.val-disclaimer {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-top: 4px;
}

.val-side {
  display: flex; flex-direction: column; gap: 24px;
}
.val-side-card {
  background: var(--ink); color: var(--paper);
  border-radius: 8px;
  padding: 24px;
  flex: 1;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.val-side-card.red { background: var(--red); }
.val-side-card .big {
  font-family: var(--serif);
  font-size: clamp(64px, 8vw, 108px);
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.val-side-card .big em { font-style: italic; }
.val-side-card h4 {
  font-family: var(--serif); font-weight: 400;
  font-size: 22px; line-height: 1.15; margin: 14px 0 0;
  max-width: 16ch;
}
.val-side-card ul { list-style: none; padding: 0; margin: 12px 0 0; }
.val-side-card ul li {
  padding: 7px 0;
  font-size: 14px;
  border-top: 1px solid rgba(246,241,234,0.15);
  display: flex; align-items: center; gap: 10px;
}
.val-side-card ul li::before {
  content: '';
  width: 14px; height: 1px;
  background: var(--paper);
  flex-shrink: 0;
}
.val-side-card.red ul li::before { background: var(--paper); }
.val-side-card .label-top {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  opacity: 0.6;
}

@media (max-width: 900px) {
  .valuation-head, .valuation-grid { grid-template-columns: 1fr; }
}

/* ====== CASOS / WORK ====== */
.work { padding: clamp(80px, 10vw, 140px) 0; }
.work-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 40px; margin-bottom: 64px; flex-wrap: wrap;
}
.work-head h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 5.4vw, 76px); line-height: 0.98;
  letter-spacing: -0.02em; margin: 16px 0 0; max-width: 18ch;
}
.work-head h2 em { font-style: italic; color: var(--red); }
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.work-card {
  display: flex; flex-direction: column;
  cursor: pointer;
}
.work-img {
  aspect-ratio: 4/5;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  background: var(--paper-2);
  margin-bottom: 18px;
}
.work-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s cubic-bezier(.2,.7,.3,1);
}
.work-card:hover .work-img img { transform: scale(1.05); }
.work-img-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--paper);
  padding: 6px 10px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
}
.work-img-status {
  position: absolute; top: 14px; right: 14px;
  background: var(--red); color: var(--paper);
  padding: 6px 10px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
}
.work-card h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 24px; line-height: 1.1; letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.work-card p {
  color: var(--ink-soft); font-size: 14px; line-height: 1.55;
  margin: 0 0 16px;
}
.work-card-stats {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: auto;
}
.work-card-stats span {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  background: var(--paper);
}
.work-card-stats span:first-child {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
}
@media (max-width: 880px) { .work-grid { grid-template-columns: 1fr; } }

/* ====== TESTIMONIALS ====== */
.testimonials {
  background: var(--paper-2);
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
}
.t-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 24px; margin-bottom: 56px; flex-wrap: wrap;
}
.t-head h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 0.98; letter-spacing: -0.02em; margin: 16px 0 0;
  max-width: 14ch;
}
.t-head h2 em { font-style: italic; color: var(--red); }
.t-nav { display: flex; gap: 12px; align-items: center; }
.t-arrow {
  width: 52px; height: 52px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background .25s ease, color .25s ease;
}
.t-arrow:hover { background: var(--ink); color: var(--paper); }
.t-arrow:disabled { opacity: 0.3; cursor: not-allowed; }
.t-counter { font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; margin: 0 8px; }
.t-viewport { overflow: hidden; }
.t-track {
  display: flex;
  transition: transform .6s cubic-bezier(.2,.7,.3,1);
}
.t-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}
.t-portrait {
  aspect-ratio: 4/5;
  border-radius: 6px;
  overflow: hidden;
  background: var(--paper-3);
}
.t-portrait img { width: 100%; height: 100%; object-fit: cover; }
.t-quote { padding: 12px 0; }
.t-quote-mark {
  font-family: var(--serif);
  font-size: 96px;
  line-height: 0.6;
  color: var(--red);
  margin-bottom: 8px;
  display: block;
}
.t-quote-text {
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  font-weight: 400;
  margin: 0 0 32px;
  max-width: 32ch;
}
.t-author { display: flex; align-items: center; gap: 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.t-author-mark {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 12px;
}
.t-author b { display: block; font-size: 15px; font-weight: 600; }
.t-author small { font-size: 12px; color: var(--ink-soft); font-family: var(--mono); letter-spacing: 0.08em; }
@media (max-width: 880px) {
  .t-slide { grid-template-columns: 1fr; }
  .t-portrait { aspect-ratio: 16/11; }
}

/* ====== FAQ ====== */
.faq { padding: clamp(80px, 10vw, 140px) 0; }
.faq-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.faq-left { position: sticky; top: 100px; }
.faq-left h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 5.4vw, 68px); line-height: 0.98;
  letter-spacing: -0.02em; margin: 16px 0 24px;
}
.faq-left h2 em { font-style: italic; color: var(--red); }
.faq-left p { color: var(--ink-soft); margin: 0 0 28px; font-size: 16px; max-width: 32ch; }
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  cursor: pointer;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex; justify-content: space-between; align-items: start; gap: 24px;
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.25; letter-spacing: -0.01em;
}
.faq-toggle {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  display: grid; place-items: center;
  flex-shrink: 0;
  font-size: 18px; line-height: 1;
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.faq-item.open .faq-toggle {
  background: var(--red); color: var(--paper); border-color: var(--red);
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .5s cubic-bezier(.2,.7,.3,1), padding .3s ease;
  color: var(--ink-soft); font-size: 15px; line-height: 1.6;
}
.faq-item.open .faq-a {
  max-height: 220px;
  padding-top: 16px;
}
@media (max-width: 880px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-left { position: static; }
}

/* ====== CTA ====== */
.cta {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0;
  overflow: hidden;
  color: var(--paper);
  isolation: isolate;
}
.cta::before {
  content: '';
  position: absolute; inset: 0;
  background: url('assets/casas/cta-fundo.jpg') center/cover no-repeat;
  z-index: -2;
  filter: grayscale(0.4) contrast(1.05);
}
.cta::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(10,31,61,0.92), rgba(10,31,61,0.7) 50%, rgba(184,66,58,0.55));
  z-index: -1;
}
.cta-grid {
  display: grid; grid-template-columns: 1fr auto;
  gap: 40px; align-items: end;
}
.cta h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 6.5vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.022em;
  margin: 24px 0 0;
  max-width: 16ch;
}
.cta h2 em { font-style: italic; }
.cta .eyebrow { color: var(--red-soft); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 880px) { .cta-grid { grid-template-columns: 1fr; } }

/* ====== FOOTER ====== */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(60px, 7vw, 100px) 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(246,241,234,0.15);
}
.footer-brand {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1; letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.footer-brand em { font-style: italic; color: var(--red-soft); }
.footer-tag { font-size: 14px; color: rgba(246,241,234,0.6); margin: 0; max-width: 28ch; }
.footer-col h4 {
  font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.18em;
  color: rgba(246,241,234,0.5); margin: 0 0 20px; font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14.5px; transition: color .2s ease; }
.footer-col a:hover { color: var(--red-soft); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px; flex-wrap: wrap; gap: 16px;
  font-family: var(--mono); font-size: 11px;
  color: rgba(246,241,234,0.55);
  letter-spacing: 0.08em;
}
.footer-bottom .legal { display: flex; gap: 24px; }
.footer-bottom a:hover { color: var(--paper); }
@media (max-width: 880px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* whatsapp float */
.whatsapp {
  position: fixed; right: 22px; bottom: 22px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(37,211,102,0.45);
  z-index: 60;
  transition: transform .25s ease;
}
.whatsapp:hover { transform: scale(1.06); }
.whatsapp svg { width: 28px; height: 28px; color: white; }

/* fade-in on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* helpers */
.divider { height: 1px; background: var(--line); }

/* brand name responsive variants (default = desktop) */
.brand-name-full { display: inline; }
.brand-name-short { display: none; }

/* ====== Mobile refinements (<=768px) ====== */
@media (max-width: 768px) {
  /* Header: keep brand name on one line + perfectly circular avatar */
  .nav { height: 64px; }
  .brand { font-size: 16px; gap: 10px; min-width: 0; flex: 1 1 auto; }
  .brand-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
  }
  .brand-name-full { display: none; }
  .brand-name-short { display: inline; }
  .brand-name small { font-size: 8.5px; letter-spacing: 0.16em; margin-top: 3px; }
  .brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
  }
  .nav-cta { flex-shrink: 0; gap: 8px; }
  .nav-cta .btn-red { padding: 0 12px; font-size: 12px; height: 38px; }
  .nav-cta .btn-red .arrow { display: none; }

  /* Hero: remove excess whitespace above content */
  .hero { padding-top: 12px; padding-bottom: 32px; }
  .hero-left h1 { margin-top: 14px; }
  .hero-actions { margin-top: 24px; }
  .hero-stats { padding: 14px 0; }

  /* Casos vendidos: horizontal scroll-snap carousel */
  .work-grid {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 18px;
    scrollbar-width: thin;
    scrollbar-color: var(--line) transparent;
  }
  .work-grid::-webkit-scrollbar { height: 4px; }
  .work-grid::-webkit-scrollbar-track { background: transparent; }
  .work-grid::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
  .work-card {
    flex: 0 0 85vw;
    min-width: 85vw;
    scroll-snap-align: start;
  }
}
