
/* Layout: hero a sangre → franja de proyectos en obra → RIBERA como "sitio dentro del sitio" (verde río) → entregados → contacto. Una sola identidad, cálida y sobria. */
:root {
  --ink: #1f2a24;
  --muted: #5f6a62;
  --paper: #f5f2ea;
  --surface: #ffffff;
  --line: #ddd5c8;
  --accent: #b8845a;
  --accent-dark: #7b573e;
  --forest: #23382e;
  --forest-2: #2f4a3d;
  --sand: #f0c99b;
  --earth: #33291f;
  --earth-2: #46392c;
  --on-dark: #f5f2ea;
  --on-dark-muted: rgba(245, 242, 234, 0.7);
  --on-dark-line: rgba(245, 242, 234, 0.16);
  --shadow: 0 20px 60px rgba(31, 42, 36, 0.12);
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: min(1160px, calc(100% - 32px));
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: var(--display);
  font-stretch: 80%;
  text-wrap: balance;
  letter-spacing: -0.01em;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  z-index: 20;
  top: calc(14px + env(safe-area-inset-top, 0px));
  left: 50%;
  transform: translateX(-50%);
  width: var(--wrap);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 10px 8px 12px;
  color: var(--on-dark);
  background: rgba(31, 42, 36, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.brand-mark {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  color: var(--ink); background: var(--paper);
  border-radius: 50%;
  font-family: var(--display); font-weight: 800;
}
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
  transition: background 0.2s;
}
.nav a:hover { background: rgba(255, 255, 255, 0.14); }
.nav a.nav-cta { background: var(--paper); color: var(--ink); font-weight: 600; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 860px);
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 140px 16px 72px;
  background: var(--forest);
}
.hero-image, .hero-overlay { position: absolute; inset: 0; }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: 65% center; }
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(20, 26, 22, 0.88) 0%, rgba(20, 26, 22, 0.55) 45%, rgba(20, 26, 22, 0.05) 100%),
    linear-gradient(0deg, rgba(20, 26, 22, 0.6) 0%, rgba(20, 26, 22, 0) 45%);
}
.hero-content { position: relative; width: min(1160px, 100%); margin: 0 auto; color: var(--on-dark); }
.eyebrow, .kicker {
  margin: 0 0 14px;
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.eyebrow { color: var(--sand); }
.kicker { color: var(--accent-dark); }
h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 6.6rem);
  font-weight: 800;
  line-height: 0.92;
}
.hero-copy { max-width: 600px; margin-bottom: 30px; color: rgba(255,255,255,0.84); font-size: clamp(1.05rem, 2vw, 1.22rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s, background 0.2s;
}
.button:hover { transform: translateY(-2px); }
.button.primary { color: var(--ink); background: var(--paper); }
.button.ghost { color: var(--on-dark); border: 1px solid rgba(255,255,255,0.42); }
.button.dark { color: var(--on-dark); background: var(--ink); }
.button.sand { color: var(--ink); background: var(--sand); }

/* ---------- Sections ---------- */
.section { width: var(--wrap); margin: 0 auto; padding-block: 96px; }
h2 { margin-bottom: 18px; font-size: clamp(2.2rem, 4.6vw, 4rem); font-weight: 750; line-height: 0.98; }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 62ch; }

.intro { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: min(8vw, 90px); align-items: start; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 34px; border-top: 1px solid var(--line); }
.fact { padding: 18px 16px 0 0; }
.fact strong { display: block; font-family: var(--display); font-stretch: 80%; font-size: 2.6rem; font-weight: 750; line-height: 1; font-variant-numeric: tabular-nums; }
.fact span { color: var(--muted); font-size: 0.9rem; }

.section-heading { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 30px; flex-wrap: wrap; }
.section-heading h2 { margin-bottom: 0; }
.section-heading p { margin: 0; max-width: 40ch; color: var(--muted); }

/* ---------- Project cards ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.project-card {
  display: flex; flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: transform 0.25s;
}
.project-card:hover { transform: translateY(-4px); }
.project-visual {
  position: relative;
  min-height: 270px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  padding: 24px;
  color: var(--on-dark);
}
.project-visual.ribera {
  background:
    linear-gradient(160deg, rgba(31,42,36,0.92), rgba(184,132,90,0.25)),
    linear-gradient(135deg, #41594e, #c7ae87);
}
.project-visual.ruka {
  background:
    linear-gradient(160deg, rgba(31,42,36,0.9), rgba(47,74,61,0.25)),
    linear-gradient(135deg, #8f9a8c, #4a3f35);
}
.project-visual .name { font-family: var(--display); font-stretch: 75%; font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 800; line-height: 0.86; text-transform: uppercase; }
.pill {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.24);
  white-space: nowrap;
}
.project-body { display: flex; flex-direction: column; gap: 14px; flex: 1; padding: 26px; }
.project-body p { margin: 0; color: var(--muted); }
.spec-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; padding-block: 14px; border-block: 1px solid var(--line); }
.spec-row div { min-width: 0; }
.spec-row dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.spec-row dd { margin: 2px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.card-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent-dark); }
.card-link .arrow { transition: transform 0.2s; }
.project-card:hover .arrow { transform: translateX(4px); }
.external-note { font-size: 0.82rem; color: var(--muted); }

/* ---------- RIBERA (sección propia) ---------- */
.ribera-section { background: var(--forest); color: var(--on-dark); }
.ribera-inner { width: var(--wrap); margin: 0 auto; padding-block: 104px; display: grid; gap: 72px; }
.ribera-section .kicker { color: var(--sand); }
.ribera-top { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: min(7vw, 80px); align-items: end; }
.ribera-logo {
  margin: 0 0 18px;
  font-family: var(--display); font-stretch: 75%;
  font-size: clamp(4.4rem, 14vw, 10rem);
  font-weight: 800; line-height: 0.82; letter-spacing: 0.01em;
  color: var(--on-dark);
}
.ribera-tag { font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--sand); margin: 0 0 6px; font-weight: 500; }
.ribera-addr { margin: 0; color: var(--on-dark-muted); }
.ribera-top .lead { color: var(--on-dark-muted); margin: 0; }

.finance {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  border: 1px solid var(--on-dark-line); border-radius: 10px;
}
.finance div { padding: 26px; min-width: 0; }
.finance div + div { border-left: 1px solid var(--on-dark-line); }
.finance strong { display: block; font-family: var(--display); font-stretch: 78%; font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 750; line-height: 1; color: var(--sand); font-variant-numeric: tabular-nums; }
.finance span { color: var(--on-dark-muted); font-size: 0.95rem; }

.sub-h { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; margin-bottom: 22px; line-height: 1; }
.units { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.unit {
  display: flex; flex-direction: column; gap: 12px;
  padding: 22px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--on-dark-line);
  border-radius: 10px;
  min-width: 0;
}
.unit h4 { margin: 0; font-family: var(--display); font-stretch: 80%; font-size: 1.35rem; font-weight: 700; line-height: 1.05; }
.unit .type { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sand); }
.unit .big { font-family: var(--display); font-stretch: 78%; font-size: 2.4rem; font-weight: 750; line-height: 1; font-variant-numeric: tabular-nums; }
.unit .big small { font-size: 1rem; font-weight: 500; color: var(--on-dark-muted); }
.unit dl { margin: 0; display: grid; gap: 6px; font-size: 0.9rem; }
.unit dl div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--on-dark-line); padding-bottom: 6px; }
.unit dt { color: var(--on-dark-muted); }
.unit dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; }
.unit p { margin: 0; font-size: 0.86rem; color: var(--on-dark-muted); }

.why { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 34px; }
.why h4 { margin: 0 0 8px; font-family: var(--display); font-stretch: 80%; font-size: 1.4rem; font-weight: 700; color: var(--sand); }
.why p { margin: 0; color: var(--on-dark-muted); }

.ribera-cta {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center;
  padding: 36px;
  background: var(--forest-2);
  border-radius: 10px;
}
.ribera-cta h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; margin-bottom: 10px; line-height: 1.02; }
.ribera-cta p { margin: 0; color: var(--on-dark-muted); }
.docs { display: grid; gap: 10px; }
.doc-link {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--on-dark-line);
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s;
}
.doc-link:hover { background: rgba(255,255,255,0.08); }
.doc-link span:last-child { color: var(--sand); font-size: 0.85rem; font-weight: 500; }

/* ---------- Entregados ---------- */
.delivered-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.done {
  display: flex; flex-direction: column; gap: 12px;
  padding: 26px;
  border-top: 3px solid var(--ink);
  background: var(--surface);
  border-radius: 0 0 10px 10px;
}
.done h3 { margin: 0; font-size: 2rem; font-weight: 750; line-height: 1; }
.done .where { margin: 0; font-weight: 600; }
.done p { margin: 0; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.tags span { font-size: 0.78rem; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: 1fr 0.9fr; gap: 48px; align-items: center; }
.contact-panel {
  display: grid;
  padding: 10px 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.contact-row { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-row:last-child { border-bottom: 0; }
.contact-row small { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.contact-row a, .contact-row span { font-size: 1.12rem; font-weight: 600; overflow-wrap: anywhere; user-select: all; }
.contact-row a:hover { color: var(--accent-dark); }

.footer {
  width: var(--wrap);
  margin: 0 auto;
  padding-block: 28px 40px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px;
  color: var(--muted); font-size: 0.92rem;
  border-top: 1px solid var(--line);
}
.footer p { margin: 0; }
.footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
.footer a:hover { color: var(--ink); }

.wa-float {
  position: fixed; z-index: 30;
  right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366; color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.wa-float svg { width: 28px; height: 28px; }

/* ---------- RUKA UNO (sección propia, tono tierra) ---------- */
.ruka-section { background: var(--earth); }
.ruka-section .ribera-cta { background: var(--earth-2); }
.ruka-section .ribera-logo { font-size: clamp(4rem, 12vw, 8.6rem); }
.units.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.price { display: inline-block; align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--sand); color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.amenities { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.amenities span { padding: 7px 14px; border: 1px solid var(--on-dark-line); border-radius: 999px; font-size: 0.88rem; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; border-top: 1px solid var(--on-dark-line); }
.timeline li { position: relative; padding: 22px 18px 0 0; min-width: 0; }
.timeline li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--sand); }
.timeline time { display: block; font-family: var(--display); font-stretch: 80%; font-size: 1.15rem; font-weight: 700; color: var(--sand); margin-bottom: 4px; }
.timeline p { margin: 0 0 22px; font-size: 0.9rem; color: var(--on-dark-muted); }
.timeline li.now time::after { content: " · último avance"; font-family: var(--body); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark); }
@media (max-width: 980px) { .timeline { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 520px) { .timeline, .units.two { grid-template-columns: 1fr; } }

@media (max-width: 980px) {
  .units { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 780px) {
  .site-header { display: grid; justify-items: center; border-radius: 22px; padding: 10px; }
  .nav { width: 100%; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .nav a { padding: 8px 4px; text-align: center; font-size: 0.74rem; }
  .hero { min-height: 760px; padding: 170px 16px 52px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(20,26,22,0.88), rgba(20,26,22,0.4)), linear-gradient(0deg, rgba(20,26,22,0.7), rgba(20,26,22,0.1)); }
  .section { padding-block: 68px; }
  .ribera-inner { padding-block: 72px; gap: 52px; }
  .intro, .contact, .projects-grid, .delivered-grid, .ribera-top, .why, .ribera-cta { grid-template-columns: 1fr; }
  .finance { grid-template-columns: 1fr; }
  .finance div + div { border-left: 0; border-top: 1px solid var(--on-dark-line); }
  .project-visual { min-height: 210px; }
  .ribera-cta { padding: 24px; }
}
@media (max-width: 520px) {
  .units { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr 1fr; }
  .fact strong { font-size: 2rem; }
  .spec-row { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Agregados v3: páginas separadas ---------- */
.nav a[aria-current="page"] { background: rgba(255,255,255,0.18); }
.project-visual.photo { background-size: cover; background-position: center; }
.project-visual.photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,26,22,0.78), rgba(20,26,22,0) 60%); }
.project-visual > * { position: relative; }

.page-hero { position: relative; min-height: min(78vh, 760px); display: grid; align-items: end; overflow: hidden; padding: 150px 16px 64px; background: var(--forest); }
.page-hero .hero-image { object-position: center 40%; }
.page-hero.earth { background: var(--earth); }
.crumb { display: inline-flex; gap: 8px; margin-bottom: 18px; font-size: 0.85rem; color: rgba(255,255,255,0.75); }
.crumb a:hover { color: #fff; }

.gallery { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 12px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: 8px; background: rgba(255,255,255,0.05); min-width: 0; }
.gallery img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform 0.4s; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { padding: 10px 12px; font-size: 0.85rem; color: var(--on-dark-muted); }
.gallery .w3 { grid-column: span 3; }
.gallery .w2 { grid-column: span 2; }

.unit-media { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.unit-media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.unit-plan { background: #f1ede6; border-radius: 6px; padding: 8px; }
.unit-plan img { display: block; width: 100%; max-height: 260px; object-fit: contain; }

.price-wrap { overflow-x: auto; border: 1px solid var(--on-dark-line); border-radius: 10px; }
.price-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 0.92rem; font-variant-numeric: tabular-nums; }
.price-table th { position: sticky; top: 0; text-align: right; padding: 12px 14px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-muted); background: var(--earth-2); }
.price-table th:nth-child(-n+3) { text-align: left; }
.price-table td { padding: 10px 14px; text-align: right; border-top: 1px solid var(--on-dark-line); }
.price-table td:nth-child(-n+3) { text-align: left; }
.price-table tr.floor td { padding-top: 16px; font-family: var(--display); font-stretch: 80%; font-size: 1.05rem; font-weight: 700; color: var(--sand); text-align: left; }
.price-table tr.sold td { color: rgba(245,242,234,0.38); }
.state { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.state.ok { background: rgba(120, 190, 140, 0.18); color: #a9e0b9; }
.state.no { background: rgba(255,255,255,0.06); color: rgba(245,242,234,0.5); }
.price-notes { display: grid; gap: 4px; margin-top: 16px; font-size: 0.9rem; color: var(--on-dark-muted); }
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.filter button { font: inherit; font-size: 0.88rem; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--on-dark-line); background: transparent; color: var(--on-dark); cursor: pointer; }
.filter button[aria-pressed="true"] { background: var(--sand); color: var(--ink); border-color: var(--sand); }

.progress { display: grid; gap: 28px; }
.progress-step { display: grid; grid-template-columns: 180px 1fr; gap: 28px; padding-top: 22px; border-top: 1px solid var(--on-dark-line); }
.progress-step time { font-family: var(--display); font-stretch: 80%; font-size: 1.5rem; font-weight: 700; color: var(--sand); line-height: 1.1; }
.progress-step time small { display: block; margin-top: 6px; font-family: var(--body); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark); }
.progress-step p { margin: 0 0 14px; color: var(--on-dark-muted); max-width: 70ch; }
.progress-photos { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.progress-photos img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }

.done-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: -26px -26px 6px; }
.done-photos img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.done-photos.single { grid-template-columns: 1fr; }
.done { overflow: hidden; }
.done-noimg { margin: -26px -26px 6px; aspect-ratio: 8 / 3; display: grid; place-items: center; background: var(--line); color: var(--muted); font-size: 0.85rem; }

@media (max-width: 980px) {
  .gallery { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gallery .w3, .gallery .w2 { grid-column: span 1; }
  .gallery .wide { grid-column: span 2; }
  .progress-photos { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .progress-step { grid-template-columns: 1fr; gap: 10px; }
  .page-hero { min-height: 620px; padding: 180px 16px 48px; }
}
@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery .wide { grid-column: span 1; }
}
.ribera-inner > * { min-width: 0; }

/* ---------- Logos y colores de marca ---------- */
.logo-h1 { margin-bottom: 26px; line-height: 0; }
.logo-h1 img { display: block; height: clamp(120px, 17vw, 200px); width: auto; max-width: 100%; }
.logo-h1.wide img { height: auto; width: clamp(260px, 42vw, 560px); }
.card-logo { display: block; height: clamp(84px, 10vw, 120px); width: auto; max-width: 70%; filter: drop-shadow(0 2px 12px rgba(0,0,0,0.35)); }
.card-logo.wide { height: auto; width: clamp(180px, 22vw, 280px); }
.ruka-section, .page-hero.earth { --earth: #20345f; --earth-2: #2b4475; --sand: #faebe8; }

/* ---------- Logo Atencio Desarrollos ---------- */
.brand-logo { display: block; height: 30px; width: auto; margin-left: 8px; }
.hero-logo { display: block; width: clamp(180px, 22vw, 260px); height: auto; margin-bottom: 28px; }
.footer-brand { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-brand img { height: 28px; width: auto; }
@media (max-width: 780px) { .brand-logo { height: 26px; margin: 2px 0 4px; } }
.hero h1 { font-size: clamp(2.8rem, 6.5vw, 5.4rem); }
