/* Nuestrogar investor site. Palette and type from public-site/nuestrogar-brand.jsx */
:root {
  --indigo: #14284B;
  --indigo-mid: #25457A;
  --jade: #1B8A6B;
  --jade-light: #2FAE88;
  --clay: #C4633A;
  --clay-light: #E08A5C;
  --sand: #F0E9DC;
  --paper: #FBF9F5;
  --ink: #1A2233;
  --muted: #5E6A80;
  --line: #E4E0D6;
  --card: #FFFFFF;
  --display: "Outfit", "Quicksand", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--clay-light); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--card); padding: 8px 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 249, 245, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--indigo); letter-spacing: -0.02em; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 600; }
.nav a:hover { color: var(--indigo); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang { font-size: 14px; font-weight: 700; color: var(--muted); text-decoration: none; padding: 6px 8px; border-radius: 8px; }
.lang:hover { background: var(--sand); color: var(--indigo); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--body); font-weight: 700; font-size: 16px;
  padding: 13px 22px; border-radius: 10px; text-decoration: none;
  border: 2px solid transparent; transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--clay); color: #fff; }
.btn-primary:hover { background: #B0552F; }
.btn-ghost { border-color: rgba(240, 233, 220, 0.45); color: var(--sand); }
.btn-ghost:hover { background: rgba(240, 233, 220, 0.1); }
.btn-small { padding: 9px 16px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero { background: var(--indigo); color: var(--sand); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--clay-light); margin-bottom: 18px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 60px); font-weight: 700; color: #fff; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--clay-light); }
.hero .lede { font-size: 19px; color: rgba(240, 233, 220, 0.86); max-width: 34em; margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-note { font-size: 14px; color: rgba(240, 233, 220, 0.62); }

/* WhatsApp -> listing visual */
.demo { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; }
.chat, .listing { border-radius: var(--radius); }
.chat { background: #0E1E3A; padding: 16px; border: 1px solid rgba(255,255,255,0.08); }
.chat-label, .listing-label { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 12px; }
.chat-label { color: rgba(240,233,220,0.55); }
.bubble { background: #1F3A2F; color: #E8F3EC; font-size: 13px; line-height: 1.35; padding: 8px 11px; border-radius: 12px 12px 12px 4px; margin-bottom: 8px; width: fit-content; max-width: 100%; }
.bubble.photo { background: #233452; color: rgba(240,233,220,0.75); }
.arrow { color: var(--clay-light); font-size: 26px; font-weight: 700; }
.listing { background: var(--paper); color: var(--ink); overflow: hidden; box-shadow: 0 24px 48px rgba(0,0,0,0.28); }
.listing-photo { height: 104px; background: linear-gradient(135deg, var(--sand) 0%, #E6D7BE 100%); position: relative; }
.listing-photo svg { position: absolute; inset: 0; margin: auto; opacity: .55; }
.listing-body { padding: 14px; }
.listing-label { color: var(--jade); margin-bottom: 6px; }
.price { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--indigo); }
.listing-title { font-size: 14px; font-weight: 700; margin: 2px 0; }
.listing-meta { font-size: 12.5px; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: #E3F2EC; color: var(--jade); }
.tag.clay { background: #F8E7DE; color: var(--clay); }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
section.alt { background: var(--sand); }
.section-head { max-width: 44em; margin-bottom: 48px; }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--clay); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(30px, 3.8vw, 42px); color: var(--indigo); margin-bottom: 16px; }
.section-head p { font-size: 18px; color: var(--muted); }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { font-size: 20px; color: var(--indigo); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 16px; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; background: #E3F2EC; color: var(--jade); }
.card .icon.clay { background: #F8E7DE; color: var(--clay); }
.card .icon.indigo { background: #E2E8F3; color: var(--indigo); }
.num { font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--clay); margin-bottom: 8px; }

/* Pricing table */
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { text-align: left; padding: 15px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 800; background: var(--paper); }
tr:last-child td { border-bottom: 0; }
td.price-cell { font-family: var(--display); font-weight: 700; color: var(--indigo); white-space: nowrap; }
td .sub { display: block; color: var(--muted); font-size: 14px; }
.callout { margin-top: 24px; padding: 20px 24px; border-left: 4px solid var(--jade); background: var(--card); border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 48px; }
.stat { border-top: 3px solid var(--indigo); padding-top: 14px; }
.stat-value { font-family: var(--display); font-weight: 700; font-size: 36px; color: var(--indigo); line-height: 1.1; }
.stat-label { font-size: 14.5px; color: var(--muted); margin-top: 4px; }

/* Roadmap */
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.phase { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.phase-status { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; margin-bottom: 14px; }
.status-done { background: #E3F2EC; color: var(--jade); }
.status-next { background: #F8E7DE; color: var(--clay); }
.status-later { background: #E2E8F3; color: var(--indigo-mid); }
.phase h3 { font-size: 20px; color: var(--indigo); margin-bottom: 12px; }
.phase ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15.5px; }
.phase li { margin-bottom: 6px; }

/* Founder */
.founder { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.founder h2 { font-size: clamp(30px, 3.8vw, 42px); color: var(--indigo); margin-bottom: 16px; }
.founder .quote { font-family: var(--display); font-size: 22px; line-height: 1.4; color: var(--indigo); border-left: 4px solid var(--clay); padding-left: 20px; margin-top: 24px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; }
.checks li::before { content: ""; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--jade) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat; }
.checks strong { color: var(--indigo); }
.checks span { color: var(--muted); }

/* Raise */
.raise { background: var(--indigo); color: var(--sand); }
.raise .section-head h2 { color: #fff; }
.raise .section-head p { color: rgba(240,233,220,0.8); }
.raise .kicker { color: var(--clay-light); }
.raise .card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); }
.raise .card h3 { color: #fff; }
.raise .card p, .raise .card li { color: rgba(240,233,220,0.8); }
.raise .card ul { margin: 0; padding-left: 18px; font-size: 16px; }
.raise .card li { margin-bottom: 6px; }
.contact { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: 32px; border-radius: var(--radius); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); }
.contact h3 { font-size: 24px; color: #fff; margin-bottom: 4px; }
.contact p { color: rgba(240,233,220,0.75); }
.contact .btns { margin-left: auto; display: flex; flex-wrap: wrap; gap: 12px; }

/* Footer */
.site-footer { padding: 40px 0 56px; font-size: 13.5px; color: var(--muted); }
.site-footer .row { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-bottom: 20px; }
.site-footer .row a { color: var(--muted); }
.disclaimer { font-size: 12.5px; line-height: 1.55; max-width: 62em; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav { display: none; }
  .header-actions { margin-left: auto; }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 64px; gap: 44px; }
  .grid-3, .phases { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .founder { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  section { padding: 64px 0; }
  .site-header .wrap { gap: 12px; }
  .header-actions .btn { display: none; }
  .grid-2, .grid-3, .phases { grid-template-columns: 1fr; }
  .demo { grid-template-columns: 1fr; }
  .arrow { transform: rotate(90deg); justify-self: center; }
  .contact { padding: 24px; }
  .contact .btns { margin-left: 0; }
  th, td { padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}

/* Company attribution under the product name */
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-by { font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; color: var(--muted); margin-top: 3px; }
.team-intro { font-size: 18px; color: var(--muted); }
