/* CRITERIO — Curaduría Inmobiliaria (editorial) */

:root {
  /* Alineado al oro del logo CRITERIO */
  --gold: #B59B6D;
  --gold-pale: #D4C9A8;
  --gold-deep: #8C7340;
  --ink: #1A1A18;
  --ink-soft: #3D3D38;
  --ink-muted: #6B6B63;
  --parchment: #F2EDE4;
  --parchment-dark: #E8E1D5;
  --bone: #FAF8F4;
  --forest: #2B3228;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Libre Franklin", "Helvetica Neue", sans-serif;
  --grain: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bone);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--gold); color: var(--bone); }
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: var(--grain);
  background-repeat: repeat;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.5;
}

@keyframes revealUp {
  from { opacity: 0; transform: translate3d(0, 60px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes expandWidth { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.rv { opacity: 0; }
.rv.in { animation: revealUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.rv.in.d1 { animation-delay: 0.12s; }
.rv.in.d2 { animation-delay: 0.24s; }
.rv.in.d3 { animation-delay: 0.36s; }
.rv.in.d4 { animation-delay: 0.48s; }
.rv.in.d5 { animation-delay: 0.6s; }

nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 16px 48px;
  min-height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: padding 0.35s ease, min-height 0.35s ease, box-shadow 0.35s ease;
  /* Fondo siempre: el menú cruza el hero oscuro; sin esto el texto gris desaparece */
  background: rgba(250, 248, 244, 0.97);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  box-shadow: 0 1px 0 rgba(26, 26, 24, 0.08);
}
nav .nav-links li { list-style: none; }
nav.scrolled {
  padding: 12px 48px;
  min-height: 64px;
  background: rgba(250, 248, 244, 0.99);
  box-shadow: 0 2px 16px rgba(26, 26, 24, 0.08);
}
.nav-brand { display: flex; align-items: center; text-decoration: none; }
/* Logo horizontal (PNG) */
.nav-brand img {
  display: block;
  width: auto;
  height: auto;
  max-height: 52px;
  max-width: min(300px, 55vw);
  object-fit: contain;
  object-position: left center;
}
nav.scrolled .nav-brand img { max-height: 44px; max-width: min(280px, 52vw); }
.nav-links { display: flex; gap: 36px; align-items: center; list-style: none; }
.nav-links a {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--gold-deep); }
.nav-cta-link {
  color: var(--ink) !important;
  font-weight: 600 !important;
  padding: 10px 0;
  border-bottom: 2px solid var(--gold);
}
.nav-links a[aria-current="page"] {
  color: var(--gold-deep);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 8px;
}
.nav-links a.nav-cta-link[aria-current="page"] {
  color: var(--ink) !important;
  border-bottom-color: var(--gold);
}
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span { display: block; width: 22px; height: 1px; background: var(--ink); margin: 5px 0; transition: all 0.3s; }

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 160px 80px 80px;
  position: relative;
  background: var(--bone);
}
.hero-left::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold-pale), transparent);
}
.hero-eyebrow {
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
  animation: fadeIn 1s 0.3s both;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 36px;
  animation: revealUp 1.2s 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero h1 em { font-style: italic; color: var(--gold-deep); }
.hero-line {
  width: 64px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 32px;
  transform-origin: left;
  animation: expandWidth 0.8s 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-text {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--ink-muted);
  font-weight: 300;
  max-width: 420px;
  margin-bottom: 48px;
  animation: revealUp 1s 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-actions { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; animation: revealUp 1s 1.3s cubic-bezier(0.16, 1, 0.3, 1) both; }

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--gold);
  color: var(--bone);
  padding: 18px 40px;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.btn-gold::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold-deep);
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-gold:hover::before { transform: translateY(0); }
.btn-gold span, .btn-gold svg { position: relative; z-index: 1; }
.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 18px 0;
  border-bottom: 1px solid rgba(140, 115, 64, 0.45);
  transition: all 0.4s;
}
.btn-line:hover { color: var(--gold-deep); border-color: var(--gold-deep); }
.hero .btn-line { color: var(--ink-soft); font-weight: 600; }
.hero .btn-line:hover { color: var(--gold-deep); }

.hero-right { position: relative; background: var(--ink); overflow: hidden; min-height: 50vh; }
.hero-right-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(22, 20, 18, 0.88) 0%, rgba(18, 18, 16, 0.82) 45%, rgba(30, 35, 28, 0.85) 100%),
    url("/img/hero.png?v=3") center / cover no-repeat;
  opacity: 1;
}
.hero-right-content {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 80px 60px;
}
.hero-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
  padding: 22px 20px;
  background: rgba(8, 8, 8, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-stat { border-left: 1px solid rgba(212, 180, 130, 0.45); padding-left: 18px; animation: revealUp 1s both; }
.hero-stat:nth-child(1) { animation-delay: 1.4s; }
.hero-stat:nth-child(2) { animation-delay: 1.55s; }
.hero-stat-num {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  color: #f2e8dc;
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}
.hero-stat-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 248, 240, 0.88);
  margin-top: 10px;
  line-height: 1.45;
}
.hero-marquee {
  font-family: var(--serif);
  font-size: 0.88rem;
  font-style: italic;
  color: rgba(255, 248, 240, 0.82);
  letter-spacing: 0.06em;
  animation: fadeIn 1s 1.8s both;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
.strip { padding: 22px 0; background: #141210; overflow: hidden; position: relative; border-top: 1px solid rgba(255, 255, 255, 0.06); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.strip-inner { display: flex; animation: marquee 30s linear infinite; white-space: nowrap; }
.strip-item {
  font-family: var(--sans);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 500;
  color: #ebe4d8;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0 40px;
}
.strip-dot { color: #b59b6d; padding: 0 10px; opacity: 0.85; font-weight: 400; }

.philosophy { padding: 160px 0; position: relative; background: var(--bone); }
.philosophy-layout {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 120px;
  align-items: start;
}
.philosophy-sticky { position: sticky; top: 120px; }
.philo-tag {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 24px;
}
.philo-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 3.5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 28px;
}
.philo-title em { font-style: italic; color: var(--gold-deep); }
.philo-line { width: 48px; height: 1px; background: var(--gold); margin-bottom: 28px; }
.philo-text { font-size: 0.92rem; line-height: 1.9; color: var(--ink-muted); font-weight: 300; max-width: 460px; }
.philo-quote {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-top: 48px;
  padding-left: 28px;
  border-left: 2px solid var(--gold-pale);
  max-width: 420px;
}
.philosophy-pillars { display: grid; gap: 0; }
.pillar {
  padding: 48px 0;
  border-bottom: 1px solid var(--parchment-dark);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: start;
}
.pillar:first-child { border-top: 1px solid var(--parchment-dark); }
.pillar-num { font-family: var(--serif); font-size: 3rem; font-weight: 500; color: #9a7d52; line-height: 1; }
.pillar-content h3 { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; color: var(--ink); margin-bottom: 12px; }
.pillar-content p { font-size: 0.82rem; line-height: 1.8; color: var(--ink-muted); font-weight: 300; }

.services { background: var(--ink); padding: 160px 0; position: relative; overflow: hidden; }
.services::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(179, 148, 85, 0.06), transparent 70%);
  pointer-events: none;
}
.services-wrap { max-width: 1400px; margin: 0 auto; padding: 0 48px; }
.services-header { margin-bottom: 100px; max-width: 640px; }
.services-header .philo-tag { color: #e5d9c4; }
.services-header .philo-title { color: var(--parchment); }
.services-header .philo-title em { color: var(--gold-pale); }
.services-header .philo-text { color: rgba(242, 237, 228, 0.78); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(179, 148, 85, 0.08);
}
.svc { background: var(--ink); padding: 52px 40px; position: relative; transition: background 0.6s; }
.svc:hover { background: rgba(179, 148, 85, 0.05); }
.svc-icon { font-size: 1.6rem; margin-bottom: 28px; display: block; opacity: 0.8; }
.svc-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-pale);
  border: 1px solid rgba(179, 148, 85, 0.25);
  padding: 3px 10px;
  font-weight: 400;
}
.svc h3 { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; color: var(--parchment); margin-bottom: 16px; line-height: 1.3; }
.svc p { font-size: 0.8rem; line-height: 1.85; color: rgba(242, 237, 228, 0.68); font-weight: 400; }

.developments { padding: 160px 0; background: var(--parchment); position: relative; }
.dev-wrap { max-width: 1400px; margin: 0 auto; padding: 0 48px; }
.dev-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 80px; flex-wrap: wrap; gap: 20px; }
.dev-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 1fr; gap: 24px; align-items: start; }
.dev-grid .dev-card:nth-child(2) { margin-top: 80px; }
.dev-card {
  background: var(--bone);
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
}
.dev-card:hover { transform: translateY(-6px); box-shadow: 0 32px 64px rgba(26, 26, 24, 0.08); }
.dev-img { position: relative; overflow: hidden; }
.dev-card:nth-child(1) .dev-img { aspect-ratio: 3/4; }
.dev-card:nth-child(2) .dev-img { aspect-ratio: 1/1; }
.dev-card:nth-child(3) .dev-img { aspect-ratio: 4/5; }
.dev-img-bg {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.dev-card:hover .dev-img-bg { transform: scale(1.05); }
.dev-status {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--gold);
  color: var(--bone);
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 7px 16px;
}
.dev-roi-tag {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(26, 26, 24, 0.85);
  backdrop-filter: blur(8px);
  padding: 12px 16px;
  text-align: right;
}
.dev-roi-num { font-family: var(--serif); font-size: 1.6rem; color: var(--gold-pale); font-weight: 400; line-height: 1; }
.dev-roi-label { font-size: 0.52rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(242, 237, 228, 0.75); margin-top: 4px; font-weight: 500; }
.dev-body { padding: 28px 24px; }
.dev-loc {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 8px;
}
.dev-name { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; color: var(--ink); margin-bottom: 16px; line-height: 1.25; }
.dev-meta { display: flex; gap: 20px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--parchment-dark); }
.dev-meta-item { font-size: 0.7rem; color: var(--ink-muted); }
.dev-meta-item span {
  display: block;
  font-size: 0.52rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 3px;
  font-weight: 500;
}

.process { padding: 160px 0; background: var(--bone); overflow: hidden; }
.process-wrap { max-width: 1400px; margin: 0 auto; padding: 0 48px; }
.process-header { text-align: center; margin-bottom: 100px; }
.process-header .philo-tag { display: flex; justify-content: center; align-items: center; gap: 12px; }
.process-header .philo-tag::before,
.process-header .philo-tag::after {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold-pale);
}
.process-timeline { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.process-timeline::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: var(--gold-pale);
  opacity: 0.5;
}
.step { text-align: center; padding: 0 20px; position: relative; }
.step-circle {
  width: 80px;
  height: 80px;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 400;
  background: var(--bone);
  position: relative;
  z-index: 2;
  transition: all 0.5s;
}
.step:hover .step-circle { background: var(--gold); color: var(--bone); }
.step h3 { font-family: var(--serif); font-size: 1.1rem; font-weight: 500; color: var(--ink); margin-bottom: 12px; }
.step p { font-size: 0.8rem; line-height: 1.75; color: var(--ink-soft); font-weight: 400; max-width: 240px; margin: 0 auto; }

.markets { padding: 160px 0; background: var(--parchment); }
.markets-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 100px;
  align-items: start;
}
.market-card {
  display: grid;
  grid-template-columns: 56px 1fr 32px;
  gap: 20px;
  align-items: center;
  padding: 28px 24px;
  background: var(--bone);
  margin-bottom: 12px;
  border: 1px solid transparent;
  transition: all 0.4s;
  cursor: default;
}
.market-card:hover, .market-card.active { border-color: var(--gold-pale); box-shadow: 0 8px 32px rgba(26, 26, 24, 0.04); }
.market-card.active { border-color: var(--gold); }
.market-flag {
  font-size: 1.8rem;
  width: 48px;
  height: 48px;
  background: var(--parchment);
  display: flex;
  align-items: center;
  justify-content: center;
}
.market-card h3 { font-family: var(--serif); font-size: 1.1rem; font-weight: 500; color: var(--ink); }
.market-card p { font-size: 0.78rem; color: var(--ink-soft); font-weight: 400; margin-top: 4px; line-height: 1.6; }
.market-arrow { font-family: var(--serif); color: var(--gold); font-size: 1.2rem; }

.blog { padding: 160px 0; background: var(--parchment); }
.blog-wrap { max-width: 1400px; margin: 0 auto; padding: 0 48px; }
.blog-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 72px; flex-wrap: wrap; gap: 20px; }
.blog-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.blog-featured {
  background: var(--bone);
  overflow: hidden;
  cursor: default;
  transition: all 0.6s;
}
.blog-featured:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(26, 26, 24, 0.06); }
.blog-featured-img {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--ink) 0%, var(--forest) 100%);
  position: relative;
  overflow: hidden;
}
.blog-cat {
  background: var(--gold);
  color: var(--bone);
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 14px;
  position: absolute;
  top: 20px;
  left: 20px;
}
.blog-featured-body { padding: 36px 32px; }
.blog-featured h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; line-height: 1.3; color: var(--ink); margin-bottom: 16px; }
.blog-featured p { font-size: 0.82rem; line-height: 1.8; color: var(--ink-muted); font-weight: 300; margin-bottom: 20px; }
.blog-date {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}
.blog-side { display: flex; flex-direction: column; gap: 24px; }
.blog-small {
  background: var(--bone);
  padding: 28px;
  cursor: default;
  transition: all 0.4s;
  border: 1px solid transparent;
  flex: 1;
}
.blog-small:hover { border-color: var(--gold-pale); }
.blog-cat-inline {
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}
.blog-small h3 { font-family: var(--serif); font-size: 1.1rem; font-weight: 500; color: var(--ink); margin-bottom: 10px; line-height: 1.35; }
.blog-small p { font-size: 0.75rem; line-height: 1.7; color: var(--ink-muted); font-weight: 300; margin-bottom: 12px; }

.trust { padding: 120px 0; background: var(--ink); position: relative; }
.trust::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(179, 148, 85, 0.06), transparent 60%);
}
.trust-wrap { max-width: 1400px; margin: 0 auto; padding: 0 48px; position: relative; z-index: 2; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(179, 148, 85, 0.08); }
.trust-stat { background: var(--ink); text-align: center; padding: 56px 24px; }
.trust-num { font-family: var(--serif); font-size: clamp(2rem, 3vw, 3.2rem); font-weight: 400; color: var(--gold-pale); line-height: 1; margin-bottom: 10px; letter-spacing: -0.02em; }
.trust-label { font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(242, 237, 228, 0.58); font-weight: 400; }

.cta { padding: 200px 0; background: var(--bone); text-align: center; position: relative; overflow: hidden; }
/* Fondo suave sin letra marca (antes “F” legacy) */
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 85% 65% at 50% 48%, rgba(181, 155, 109, 0.1), transparent 68%);
  pointer-events: none;
}
.cta .btn-line {
  color: var(--ink-soft);
  font-weight: 500;
  border-bottom-color: rgba(140, 115, 64, 0.55);
}
.cta .btn-line:hover { color: var(--gold-deep); border-color: var(--gold-deep); }
.cta-wrap { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; padding: 0 24px; }
.cta .philo-text { max-width: 480px; margin: 0 auto 48px; text-align: center; color: var(--ink-soft); font-weight: 400; }
.cta-note { font-size: 0.75rem; color: var(--ink-soft); font-weight: 500; }

/* Logo horizontal en pie (PNG oro sobre fondo oscuro) */
.footer-brand-wrap {
  display: inline-block;
  margin-bottom: 12px;
}
.footer-brand-wrap .nav-brand img {
  display: block;
  max-height: 48px;
  max-width: min(280px, 85vw);
  object-fit: contain;
}

footer { background: var(--ink); padding: 80px 0 48px; }
.footer-wrap { max-width: 1400px; margin: 0 auto; padding: 0 48px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-brand-text { font-size: 0.8rem; line-height: 1.8; color: rgba(242, 237, 228, 0.82); font-weight: 400; margin-top: 16px; max-width: 300px; }
.footer-col h4 { font-family: var(--serif); font-size: 0.9rem; font-weight: 500; color: var(--gold-pale); margin-bottom: 20px; }
.footer-col a {
  display: block;
  color: rgba(242, 237, 228, 0.82);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  margin-bottom: 10px;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--gold-pale); }
.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(179, 148, 85, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.68rem;
  color: rgba(242, 237, 228, 0.65);
  font-weight: 400;
}
.footer-social { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-social a {
  color: rgba(242, 237, 228, 0.72);
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.footer-social a:hover { color: var(--gold-pale); }

.wa-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
  z-index: 90;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}
.wa-float:hover { transform: scale(1.08) translateY(-2px); box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45); }
.wa-float svg { width: 26px; height: 26px; fill: white; }

@media (max-width: 1024px) {
  nav { padding: 20px 24px; }
  nav.scrolled { padding: 14px 24px; }
  .hero { grid-template-columns: 1fr; }
  .hero-left { padding: 140px 48px 80px; }
  .hero-right { min-height: 50vh; }
  .hero-right-content { padding: 48px; }
  .philosophy-layout { grid-template-columns: 1fr; gap: 60px; }
  .philosophy-sticky { position: static; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .dev-grid { grid-template-columns: 1fr 1fr; }
  .dev-grid .dev-card:nth-child(2) { margin-top: 0; }
  .process-timeline { grid-template-columns: repeat(2, 1fr); gap: 48px; }
  .process-timeline::before { display: none; }
  .markets-wrap { grid-template-columns: 1fr; gap: 48px; }
  .blog-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-brand img { max-height: 36px; max-width: min(220px, 58vw); }
  nav.scrolled .nav-brand img { max-height: 32px; max-width: min(200px, 55vw); }
  nav .nav-links { display: none; }
  nav .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bone);
    padding: 28px;
    gap: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  }
  .hamburger { display: block; }
  .hero-left { padding: 120px 24px 60px; }
  .hero-right-content { padding: 36px 24px; }
  .hero-stat-row { grid-template-columns: 1fr; gap: 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .dev-grid { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; justify-content: center; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-gold, .btn-line { justify-content: center; text-align: center; }
  .dev-header { flex-direction: column; align-items: flex-start; }
  .blog-header { flex-direction: column; align-items: flex-start; }
  .cta { padding: 120px 0; }
  .philosophy-layout, .services-wrap, .dev-wrap, .process-wrap, .markets-wrap, .blog-wrap, .trust-wrap, .footer-wrap { padding: 0 24px; }
}
