/* ═══════════════════════════════════════════════════════════════════
   DE LUNA ARQUITECTOS — main.css
   Paleta: crema cálida / carbón / oro arquitectónico
   Tipografía: Cormorant Garamond (display) + Inter (body)
═══════════════════════════════════════════════════════════════════ */

/* ── Variables ───────────────────────────────────────────────────── */
:root {
  --cream:       #F7F4EF;
  --cream-dark:  #EDE8E0;
  --charcoal:    #1C1C1C;
  --charcoal-80: rgba(28,28,28,.80);
  --warm-gray:   #6B6560;
  --gold:        #B8976A;
  --gold-light:  #D4B48A;
  --white:       #FFFFFF;
  --black:       #0A0A0A;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --space-xs:  .5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  8rem;

  --radius-sm: 2px;
  --radius-md: 4px;

  --transition: 0.4s cubic-bezier(.25,.46,.45,.94);
  --transition-fast: 0.2s ease;

  --header-h: 72px;
  --container: 1240px;
}

/* ── Reset ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { background: none; border: none; cursor: pointer; font: inherit; }
input, textarea, select {
  font: inherit;
  color: inherit;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ── Container ───────────────────────────────────────────────────── */
.container {
  width: min(var(--container), calc(100% - 3rem));
  margin-inline: auto;
}

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 2rem;
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
}
.btn-large { padding: 1.1rem 2.5rem; font-size: 1rem; }

/* ── Section headers ─────────────────────────────────────────────── */
.section-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-header { text-align: center; margin-bottom: var(--space-lg); }
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--charcoal);
  margin-bottom: 1.25rem;
}
.section-lead {
  max-width: 56ch;
  margin-inline: auto;
  color: var(--warm-gray);
  font-size: 1.05rem;
}

/* ── Reveal animations ───────────────────────────────────────────── */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: .15s !important; }
.delay-2 { transition-delay: .30s !important; }
.delay-3 { transition-delay: .45s !important; }

/* ═══════════════════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: rgba(247,244,239,.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
}
.header-inner {
  width: min(var(--container), calc(100% - 3rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.site-logo { display: block; }
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-de {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: .02em;
  color: var(--white);
  transition: color var(--transition);
}
.logo-arq {
  font-family: var(--font-body);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
}
.scrolled .logo-de { color: var(--charcoal); }

/* Nav */
.nav-list {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-list a {
  font-family: var(--font-body);
  font-size: .8125rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  transition: color var(--transition-fast);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.nav-list a:hover {
  color: var(--white);
  border-color: var(--gold);
}
.scrolled .nav-list a { color: var(--warm-gray); }
.scrolled .nav-list a:hover { color: var(--charcoal); }
.nav-cta {
  padding: .5rem 1.25rem !important;
  border: 1px solid rgba(255,255,255,.4) !important;
  border-radius: var(--radius-sm);
  color: var(--white) !important;
}
.scrolled .nav-cta {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
}
.nav-cta:hover {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  color: var(--white) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}
.hamburger span {
  display: block;
  height: 1.5px;
  background: var(--white);
  transition: var(--transition);
  transform-origin: center;
}
.scrolled .hamburger span { background: var(--charcoal); }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
  transform: scale(1.05);
  animation: heroZoom 8s ease forwards;
}
.hero-slide.active {
  opacity: 1;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.0); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,10,10,.72) 0%,
    rgba(10,10,10,.45) 50%,
    rgba(10,10,10,.3) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--container), calc(100% - 3rem));
  margin-inline: auto;
  padding-top: var(--header-h);
}
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 300;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 1.75rem;
}
.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold-light);
}
.hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,.82);
  margin-bottom: 2.5rem;
  max-width: 52ch;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.5);
  font-size: .6875rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: scrollDrop 1.8s ease-in-out infinite;
}
@keyframes scrollDrop {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Hero dots */
.hero-dots {
  position: absolute;
  bottom: 2.5rem;
  right: 3rem;
  z-index: 2;
  display: flex;
  gap: .5rem;
}
.hero-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  transition: var(--transition-fast);
  padding: 0;
}
.hero-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 3px;
}

/* ═══════════════════════════════════════════════════════════════════
   STATS BAND
═══════════════════════════════════════════════════════════════════ */
.stats-band {
  background: var(--charcoal);
  padding: var(--space-lg) 0;
}
.stats-inner {
  width: min(var(--container), calc(100% - 3rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat {
  text-align: center;
  padding: 1.5rem 3rem;
  flex: 1;
  min-width: 180px;
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: .4rem;
}
.stat-label {
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,.12);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   SERVICIOS
═══════════════════════════════════════════════════════════════════ */
.servicios {
  padding: var(--space-xl) 0;
  background: var(--cream);
}
.servicios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
}
.servicio-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--cream-dark);
}
.servicio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,.1);
}
.sc-image {
  height: 220px;
  background-image: var(--card-img);
  background-size: cover;
  background-position: center;
  transition: transform .6s ease;
}
.servicio-card:hover .sc-image {
  transform: scale(1.03);
}
.sc-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.sc-icon {
  width: 40px; height: 40px;
  color: var(--gold);
}
.sc-icon svg { width: 100%; height: 100%; }
.sc-body h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.2;
}
.sc-list {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.sc-list li {
  font-size: .9rem;
  color: var(--warm-gray);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}
.sc-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .6em;
  width: 6px; height: 1px;
  background: var(--gold);
}
.sc-list li strong {
  color: var(--charcoal);
  font-weight: 500;
}
.sc-body p {
  font-size: .9375rem;
  color: var(--warm-gray);
  line-height: 1.7;
}
.servicio-card--wide {
  grid-column: 1 / -1;
  flex-direction: row;
}
.servicio-card--wide .sc-image {
  width: 45%;
  min-height: 280px;
  height: auto;
  flex-shrink: 0;
}
.servicio-card--wide .sc-body {
  padding: 2.5rem;
}

/* ═══════════════════════════════════════════════════════════════════
   PROYECTOS
═══════════════════════════════════════════════════════════════════ */
.proyectos {
  padding: var(--space-xl) 0;
  background: var(--cream-dark);
}
.proyecto-feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  margin-bottom: 6rem;
  overflow: hidden;
}
.proyecto-feature:last-child { margin-bottom: 0; }
.proyecto-feature--reverse {
  grid-template-columns: 1fr 1.1fr;
  direction: rtl;
}
.proyecto-feature--reverse > * { direction: ltr; }

.pf-images {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr auto;
  gap: .3rem;
  overflow: hidden;
}
.pf-img-main { overflow: hidden; }
.pf-img-main img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  transition: transform .8s ease;
}
.pf-img-main:hover img { transform: scale(1.03); }

.pf-img-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .3rem;
}
.pf-img-grid img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  transition: transform .5s ease;
}
.pf-img-grid img:hover { transform: scale(1.05); }

.pf-info {
  background: var(--charcoal);
  padding: 4rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}
.pf-tag {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}
.pf-info h3 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1.15;
}
.pf-info p {
  font-size: .9375rem;
  color: rgba(255,255,255,.65);
  line-height: 1.75;
}
.pf-meta {
  margin-top: .5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.25rem;
}
.pf-meta li {
  font-size: .8125rem;
  color: rgba(255,255,255,.55);
  display: flex;
  gap: .75rem;
}
.pf-meta strong {
  color: var(--gold-light);
  font-weight: 500;
  min-width: 80px;
}

/* ═══════════════════════════════════════════════════════════════════
   PROCESO
═══════════════════════════════════════════════════════════════════ */
.proceso {
  padding: var(--space-xl) 0;
  background: var(--white);
}
.proceso-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.paso {
  flex: 1;
  padding: 2.5rem 2rem;
  border-top: 2px solid var(--cream-dark);
  transition: border-color var(--transition-fast);
}
.paso:hover { border-color: var(--gold); }
.paso-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 300;
  color: var(--cream-dark);
  line-height: 1;
  margin-bottom: 1.25rem;
}
.paso h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: .75rem;
}
.paso p {
  font-size: .9rem;
  color: var(--warm-gray);
  line-height: 1.7;
}
.paso-arrow {
  font-size: 1.5rem;
  color: var(--gold);
  padding: 2.5rem 0;
  padding-top: 3rem;
  flex-shrink: 0;
  align-self: flex-start;
  opacity: .5;
}

/* ═══════════════════════════════════════════════════════════════════
   SOBRE MÍ
═══════════════════════════════════════════════════════════════════ */
.sobre-mi {
  padding: var(--space-xl) 0;
  background: var(--cream);
}
.sobre-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.si-main { overflow: hidden; border-radius: var(--radius-md); }
.si-main img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform .8s ease;
}
.si-main:hover img { transform: scale(1.03); }
.si-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .4rem;
  margin-top: .4rem;
}
.si-secondary img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: transform .5s ease;
}
.si-secondary img:hover { transform: scale(1.04); }

.sobre-text { display: flex; flex-direction: column; gap: 1.25rem; }
.sobre-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.1;
}
.sobre-text p {
  font-size: .9375rem;
  color: var(--warm-gray);
  line-height: 1.8;
}
.sobre-quote {
  border-left: 3px solid var(--gold);
  padding-left: 1.5rem;
  margin: .5rem 0;
}
.sobre-quote p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.5;
}
.sobre-checks { display: flex; flex-direction: column; gap: .5rem; }
.sobre-checks li {
  font-size: .875rem;
  color: var(--charcoal);
  padding-left: 1.5rem;
  position: relative;
}
.sobre-checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

/* ═══════════════════════════════════════════════════════════════════
   CTA BAND
═══════════════════════════════════════════════════════════════════ */
.cta-band {
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
}
.cta-band-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.cta-band:hover .cta-band-bg { transform: scale(1); }
.cta-band-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,.82), rgba(28,28,28,.7));
}
.cta-band-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.cta-band-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--white);
}
.cta-band-inner p {
  color: rgba(255,255,255,.75);
  max-width: 52ch;
  line-height: 1.75;
}

/* ═══════════════════════════════════════════════════════════════════
   CONTACTO
═══════════════════════════════════════════════════════════════════ */
.contacto {
  padding: var(--space-xl) 0;
  background: var(--white);
}
.contacto-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}
.contacto-info { display: flex; flex-direction: column; gap: 1.25rem; }
.ci-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--cream);
  border-radius: var(--radius-md);
  border: 1px solid var(--cream-dark);
  transition: border-color var(--transition-fast);
}
.ci-card:hover { border-color: var(--gold); }
.ci-icon {
  width: 36px; height: 36px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: .1rem;
}
.ci-icon svg { width: 100%; height: 100%; }
.ci-card h4 {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-bottom: .35rem;
}
.ci-card a, .ci-card p {
  font-size: .9375rem;
  color: var(--charcoal);
  transition: color var(--transition-fast);
}
.ci-card a:hover { color: var(--gold); }

/* Form */
.contacto-form {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  border: 1px solid var(--cream-dark);
}
.form-fields { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--warm-gray);
}
.form-group label span { color: var(--gold); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: .875rem 1rem;
  background: var(--white);
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  transition: border-color var(--transition-fast);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-check {
  flex-direction: row !important;
  align-items: center;
  gap: .75rem;
}
.form-check input[type="checkbox"] {
  width: 18px; height: 18px;
  flex-shrink: 0;
  accent-color: var(--gold);
  padding: 0;
  border: none;
}
.form-check label {
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: .875rem;
  color: var(--warm-gray);
}
.form-check label a { color: var(--gold); text-decoration: underline; }
.form-feedback {
  margin-bottom: 1rem;
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  display: none;
}
.form-feedback.success {
  display: block;
  background: rgba(107,101,96,.08);
  color: var(--charcoal);
  border: 1px solid rgba(184,151,106,.4);
}
.form-feedback.error {
  display: block;
  background: rgba(180,60,60,.06);
  color: #8B2020;
  border: 1px solid rgba(180,60,60,.3);
}

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════════ */
.site-footer {
  background: #3a3733;
  color: rgba(255,255,255,.65);
}
.footer-inner {
  width: min(var(--container), calc(100% - 3rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding: 5rem 0 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-brand .footer-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.footer-brand .logo-de {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--white);
}
.footer-tagline {
  font-size: .9rem;
  line-height: 1.6;
  margin-bottom: .5rem;
}
.footer-location { font-size: .8rem; color: var(--gold); letter-spacing: .1em; }
.footer-nav h4, .footer-contact h4 {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer-nav ul, .footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.footer-nav a, .footer-contact a, .footer-contact p {
  font-size: .875rem;
  transition: color var(--transition-fast);
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--gold); }

/* Kit Digital banner */
.footer-kit {
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding: 2.5rem 0;
}
.footer-kit-inner {
  width: min(var(--container), calc(100% - 3rem));
  margin-inline: auto;
  display: flex;
  justify-content: center;
}
.footer-kit img {
  max-width: 100%;
  width: 1000px;
  height: auto;
}

@media (max-width: 768px) {
  .footer-kit img { width: 100%; }
}

.footer-bottom {
  width: min(var(--container), calc(100% - 3rem));
  margin-inline: auto;
  padding: 1.75rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: .8rem;
}
.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-legal a { transition: color var(--transition-fast); }
.footer-legal a:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════════════════════════
   LEGAL PAGES
═══════════════════════════════════════════════════════════════════ */
.page-legal {
  padding: calc(var(--header-h) + 4rem) 0 6rem;
  min-height: 70vh;
}
.legal-header { margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--cream-dark); }
.legal-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--charcoal);
}
.legal-body { max-width: 72ch; }
.legal-body h2 { font-family: var(--font-display); font-size: 1.75rem; font-weight: 400; margin: 2rem 0 .75rem; }
.legal-body h3 { font-size: 1rem; font-weight: 600; margin: 1.5rem 0 .5rem; }
.legal-body p  { margin-bottom: 1rem; font-size: .9375rem; color: var(--warm-gray); line-height: 1.8; }
.legal-body ul { margin-bottom: 1rem; padding-left: 1.5rem; }
.legal-body li { margin-bottom: .4rem; font-size: .9375rem; color: var(--warm-gray); list-style: disc; }
.legal-back { margin-top: 3rem; }
.legal-back a { color: var(--gold); font-size: .875rem; letter-spacing: .05em; }
.legal-back a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .servicios-grid { grid-template-columns: 1fr; }
  .servicio-card--wide { flex-direction: column; }
  .servicio-card--wide .sc-image { width: 100%; height: 240px; }
  .proyecto-feature, .proyecto-feature--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .pf-info { padding: 3rem 2.5rem; }
  .sobre-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --space-xl: 5rem; }
  .hamburger { display: flex; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(247,244,239,.98);
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 999;
  }
  .site-nav.open { transform: translateX(0); }
  .nav-list { flex-direction: column; gap: 2rem; text-align: center; }
  .nav-list a { font-size: 1rem; color: var(--charcoal) !important; }
  .nav-cta { border-color: var(--gold) !important; color: var(--gold) !important; }
  .hero-title { font-size: clamp(2.5rem, 10vw, 4.5rem); }
  .hero-sub .br-desktop { display: none; }
  .stats-inner { gap: 0; }
  .stat { padding: 1.5rem 1rem; min-width: 140px; }
  .stat-divider { display: none; }
  .proceso-steps { flex-direction: column; gap: 0; }
  .paso-arrow { display: none; }
  .paso { padding: 1.5rem 0; }
  .contacto-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; padding: 3.5rem 0 2.5rem; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 1rem; }
  .pf-img-grid { grid-template-columns: repeat(2, 1fr); }
  .pf-img-grid img { height: 100px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .sobre-layout { gap: 2.5rem; }
  .si-secondary img { height: 120px; }
  .servicios-grid { gap: 1rem; }
  .contacto-form { padding: 1.5rem; }
}
