/* =====================================================
   oLmo Arquitectos — Design System
   Paleta: tonos pastel blanquecinos, crema, marfil
   Sin negros puros — todo warm y limpio
   ===================================================== */

:root {
  /* Tipografía */
  --font: 'Courier New', Courier, monospace;

  /* Fondos */
  --bg:      #FAFAF8;        /* blanco cálido principal */
  --bg2:     #F3F1EC;        /* superficies suaves */
  --bg3:     #EAE7E0;        /* tarjetas, inputs */

  /* Texto — nunca negro puro */
  --text:    #2E2C28;        /* casi negro cálido */
  --text2:   #6B6760;        /* secundario */
  --text3:   #A09C96;        /* terciario */

  /* Acento */
  --gold:    #B8924F;

  /* Secciones "oscuras": ahora beige oscuro cálido, no negro */
  --dark:    #3A3730;

  /* Bordes */
  --border:  #DDD9D0;

  /* Altura del nav */
  --nav-h:   116px;

  /* Animación */
  --ease: cubic-bezier(.4,0,.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.7; }
img  { display: block; max-width: 100%; }
a    { color: inherit; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-thumb { background: var(--border); }

/* =====================================================
   NAVEGACIÓN
   ===================================================== */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 900;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 52px;
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}

/* Logo sobre hero oscuro */
.nav-logo-mark,
.nav-logo-sub,
.nav-links a {
  color: rgba(255,255,255,.85);
  transition: color .25s;
}

/* Con scroll */
.nav.is-scrolled {
  background: rgba(250,250,248,.97);
  box-shadow: 0 1px 0 var(--border);
  backdrop-filter: blur(8px);
}

/* Logo */
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-mark {
  font-family: var(--font); font-size: 20px; font-weight: 700;
  letter-spacing: -.01em; line-height: 1;
  color: #fff;
  transition: color .25s;
}
.nav-logo-pipe {
  width: 1px; height: 14px;
  background: rgba(255,255,255,.3);
  transition: background .25s;
}
.nav-logo-sub {
  font-family: var(--font); font-size: 10px; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(255,255,255,.55);
  transition: color .25s;
}

/* Scrolled: colores cálidos oscuros */
.nav.is-scrolled .nav-logo-mark { color: var(--text); }
.nav.is-scrolled .nav-logo-pipe { background: var(--border); }
.nav.is-scrolled .nav-logo-sub  { color: var(--text2); }

/* Links */
.nav-links { display: flex; align-items: center; gap: 38px; list-style: none; }
.nav-links a {
  font-family: var(--font); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; text-decoration: none;
  color: rgba(255,255,255,.7);
  transition: color .25s;
  position: relative; padding-bottom: 3px;
}
.nav-links a::after {
  content: ''; position: absolute;
  left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-links a:hover          { color: #fff; }
.nav-links a.active         { color: #fff; }
.nav-links a:hover::after,
.nav-links a.active::after  { transform: scaleX(1); }

/* Scrolled: links cálidos */
.nav.is-scrolled .nav-links a        { color: var(--text2); }
.nav.is-scrolled .nav-links a:hover  { color: var(--text);  }
.nav.is-scrolled .nav-links a.active { color: var(--text);  }

/* Burger */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-burger span {
  display: block; width: 22px; height: 1px;
  background: #fff; transition: background .25s;
}
.nav.is-scrolled .nav-burger span { background: var(--text); }

/* Mobile overlay — beige oscuro cálido en lugar de negro */
.nav-mobile {
  display: none; position: fixed; inset: 0; z-index: 800;
  background: rgba(58,55,48,.97);
  flex-direction: column; align-items: center; justify-content: center; gap: 36px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font); font-size: 12px; letter-spacing: .2em;
  text-transform: uppercase; text-decoration: none;
  color: rgba(255,255,255,.7); transition: color .2s;
}
.nav-mobile a:hover { color: #fff; }

/* =====================================================
   HERO
   Fondo oscuro (imagen). Texto siempre blanco.
   ===================================================== */

.hero {
  position: relative;
  height: 100svh; min-height: 580px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 52px 72px;
  overflow: hidden;
}

/* Fondo del hero: beige oscuro cálido, no negro puro */
.hero-bg { position: absolute; inset: 0; background: var(--dark); }

.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.8s ease;
}
.hero-slide.active { opacity: 1; }

/* Gradiente sutil */
.hero-grad {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(42,40,34,.82) 0%,
    rgba(42,40,34,.22) 55%,
    rgba(42,40,34,.05) 100%
  );
  z-index: 1;
}

.hero-body { position: relative; z-index: 2; max-width: 660px; }

.hero-tag {
  display: block; font-size: 10px; letter-spacing: .26em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
}
.hero-h1 {
  font-size: clamp(36px, 5.5vw, 72px); font-weight: 700;
  line-height: 1.05; color: #fff; letter-spacing: -.02em; margin-bottom: 20px;
}
.hero-sub {
  font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.8;
}

/* Dots */
.hero-dots {
  position: absolute; bottom: 36px; right: 52px; z-index: 2;
  display: flex; gap: 6px; align-items: center;
}
.hero-dots .d {
  width: 18px; height: 1.5px; background: rgba(255,255,255,.3);
  cursor: pointer; transition: all .3s;
}
.hero-dots .d.on { width: 36px; background: #fff; }

/* Indicador scroll */
.hero-scroll {
  position: absolute; left: 52px; bottom: 30px; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  font-size: 9px; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(255,255,255,.4);
}
.hero-scroll-line {
  width: 40px; height: 1px; background: rgba(255,255,255,.2);
  overflow: hidden; position: relative;
}
.hero-scroll-line::after {
  content: ''; position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: rgba(255,255,255,.7);
  animation: scroll-anim 2.2s ease infinite;
}
@keyframes scroll-anim { to { left: 100%; } }

/* =====================================================
   LAYOUT HELPERS
   ===================================================== */

.wrap {
  max-width: 1360px; margin: 0 auto; padding: 0 52px;
}

.section { padding: 88px 0; }

/* Cabecera de sección */
.sec-head {
  display: flex; align-items: flex-end;
  justify-content: space-between; gap: 24px;
  flex-wrap: wrap; margin-bottom: 52px;
}
.sec-eyebrow {
  font-size: 10px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--text2); margin-bottom: 8px;
}
.sec-title {
  font-size: clamp(26px, 3vw, 44px); font-weight: 700;
  letter-spacing: -.02em; line-height: 1.1; color: var(--text);
}

/* =====================================================
   FILTROS
   ===================================================== */

.filters { display: flex; gap: 6px; flex-wrap: wrap; }

.filter-btn {
  font-family: var(--font); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; padding: 7px 16px; cursor: pointer;
  border: 1px solid var(--border); background: var(--bg); color: var(--text2);
  transition: all .2s;
}
.filter-btn:hover { border-color: var(--text); color: var(--text); }
/* Activo: beige oscuro cálido en lugar de negro */
.filter-btn.on    { background: var(--dark); border-color: var(--dark); color: #fff; }

/* =====================================================
   GRID DE PROYECTOS
   ===================================================== */

.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.pcard {
  position: relative; aspect-ratio: 4/3;
  overflow: hidden; cursor: pointer; background: var(--bg3);
}

.pcard.big { grid-column: span 2; aspect-ratio: 16/9; }

.pcard-img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 1s var(--ease);
}

/* Placeholder cuando no hay imagen — crema cálida visible */
.pcard-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #E8E4DA 0%, #D8D3C7 100%);
}
.pcard-ph svg { width: 40px; height: 40px; opacity: .35; color: var(--text2); }

/* Overlay al hacer hover */
.pcard-ov {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(42,40,34,.85) 0%,
    rgba(42,40,34,.25) 45%,
    transparent 68%
  );
  opacity: 0; transition: opacity .35s;
}

.pcard:hover .pcard-ov  { opacity: 1; }
.pcard:hover .pcard-img { transform: scale(1.05); }

.pcard-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 22px 24px 20px;
  opacity: 0; transform: translateY(5px);
  transition: opacity .3s, transform .35s var(--ease);
}
.pcard:hover .pcard-info { opacity: 1; transform: none; }

.pcard-cat  { font-size: 9px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 5px; }
.pcard-name { font-size: 17px; font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: 3px; }
.pcard-loc  { font-size: 11px; color: rgba(255,255,255,.6); }

/* Icono de flecha */
.pcard-arrow {
  position: absolute; top: 18px; right: 18px;
  width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center; color: #fff;
  opacity: 0; transition: opacity .3s;
}
.pcard:hover .pcard-arrow { opacity: 1; }

/* =====================================================
   MODAL DE PROYECTO
   ===================================================== */

.modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; background: rgba(42,40,34,.96);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.modal.open { opacity: 1; pointer-events: all; }

/* Galería — fondo crema oscura, no negro */
.modal-gal {
  flex: 1; position: relative; overflow: hidden;
  background: #2A2820;
}
.modal-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
  opacity: 0; transition: opacity .45s;
}
.modal-img.on { opacity: 1; }

/* Controles de galería */
.modal-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 100%; display: flex; justify-content: space-between; padding: 0 18px; z-index: 2;
}
.modal-nav-btn {
  width: 40px; height: 40px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.2); background: rgba(42,40,34,.45); color: #fff;
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.modal-nav-btn:hover { background: rgba(255,255,255,.12); }

.modal-dots {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 5px;
}
.modal-dots span { width: 5px; height: 5px; background: rgba(255,255,255,.3); cursor: pointer; }
.modal-dots span.on { background: #fff; }

/* Panel lateral — beige cálido oscuro, no negro */
.modal-panel {
  width: 340px; min-width: 340px;
  background: #2E2B24;
  padding: 52px 36px; display: flex; flex-direction: column;
  overflow-y: auto; position: relative;
}
.modal-cls {
  position: absolute; top: 16px; right: 16px;
  width: 34px; height: 34px; cursor: pointer; z-index: 2;
  border: 1px solid rgba(255,255,255,.15); background: none; color: #fff;
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.modal-cls:hover { background: rgba(255,255,255,.08); }

.modal-tag   { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.modal-title { font-size: 24px; font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: 30px; font-family: var(--font); }

.modal-metas { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.modal-meta label {
  display: block; font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.5); margin-bottom: 4px; font-family: var(--font);
}
.modal-meta span { font-size: 13px; color: rgba(255,255,255,.85); font-family: var(--font); }

.modal-divider { height: 1px; background: rgba(255,255,255,.08); margin: 24px 0; }

/* =====================================================
   CABECERA DE PÁGINAS INTERIORES
   ===================================================== */

.page-hdr {
  background: var(--dark);
  padding: calc(var(--nav-h) + 52px) 52px 60px;
  position: relative; overflow: hidden;
}
.page-hdr-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; opacity: .1;
}
.page-hdr-eyebrow {
  font-size: 10px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.page-hdr-title {
  font-size: clamp(30px, 4.5vw, 58px); font-weight: 700;
  color: #fff; letter-spacing: -.02em; line-height: 1.1; position: relative; z-index: 1;
}
.page-hdr-eyebrow { position: relative; z-index: 1; }

/* =====================================================
   PÁGINA: ARQUITECTO
   ===================================================== */

.about-layout {
  display: grid; grid-template-columns: 280px 1fr;
  gap: 72px; align-items: start;
}

.about-photo-col { position: sticky; top: calc(var(--nav-h) + 28px); }
.about-photo-box {
  aspect-ratio: 3/4; background: var(--bg3); overflow: hidden;
  border: 1px solid var(--border);
}
.about-photo-box img { width: 100%; height: 100%; object-fit: cover; }

.about-photo-name {
  font-size: 16px; font-weight: 700; color: var(--text); margin-top: 16px;
  font-family: var(--font);
}
.about-photo-role { font-size: 11px; color: var(--text2); margin-top: 4px; font-family: var(--font); }

.about-block { margin-bottom: 52px; }

.about-block-label {
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--text2); font-family: var(--font);
  padding-bottom: 12px; border-bottom: 1px solid var(--border); margin-bottom: 22px;
}
.about-lead {
  font-size: 19px; font-weight: 700; line-height: 1.45;
  color: var(--text); margin-bottom: 16px; font-family: var(--font);
}
.about-text { font-size: 14px; line-height: 1.9; color: var(--text2); font-family: var(--font); }
.about-text p + p { margin-top: 14px; }

/* Timeline */
.tl { display: flex; flex-direction: column; }
.tl-row {
  display: grid; grid-template-columns: 108px 1fr; gap: 20px;
  padding: 20px 0; border-bottom: 1px solid var(--border);
}
.tl-row:last-child { border-bottom: none; }
.tl-period { font-size: 10px; color: var(--text2); line-height: 1.6; padding-top: 2px; font-family: var(--font); }
.tl-co     { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 3px; font-family: var(--font); }
.tl-role   { font-size: 11px; color: var(--text2); margin-bottom: 2px; font-family: var(--font); }
.tl-loc    { font-size: 11px; color: var(--text2); font-family: var(--font); }

/* =====================================================
   PÁGINA: UBICACIÓN
   ===================================================== */

.loc-wrap { }

.loc-grid { display: grid; grid-template-columns: 360px 1fr; min-height: calc(640px + var(--nav-h)); }

.loc-panel {
  background: var(--dark); padding: calc(var(--nav-h) + 52px) 44px 64px;
  display: flex; flex-direction: column; justify-content: flex-start;
}
.loc-eyebrow {
  font-size: 10px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px; font-family: var(--font);
}
.loc-title {
  font-size: 28px; font-weight: 700; color: #fff;
  line-height: 1.2; letter-spacing: -.01em; margin-bottom: 48px; font-family: var(--font);
}
.loc-items { display: flex; flex-direction: column; gap: 24px; }
.loc-item  { display: flex; gap: 14px; align-items: flex-start; }
.loc-icon  {
  width: 34px; height: 34px; flex-shrink: 0; margin-top: 1px;
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
}
.loc-icon svg { width: 14px; height: 14px; color: var(--gold); }
.loc-item-label {
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.55); margin-bottom: 4px; font-family: var(--font);
}
.loc-item-val { font-size: 13px; color: rgba(255,255,255,.85); line-height: 1.65; font-family: var(--font); }
.loc-item-val a { color: rgba(255,255,255,.85); text-decoration: none; }
.loc-item-val a:hover { color: #fff; }

#map { width: 100%; height: 100%; }

/* =====================================================
   PÁGINA: TASACIONES
   ===================================================== */

.tas-layout { display: grid; grid-template-columns: 1fr 360px; gap: 72px; align-items: start; }

.tas-lead { font-size: 21px; font-weight: 700; line-height: 1.45; color: var(--text); margin-bottom: 28px; font-family: var(--font); }
.tas-text  { font-size: 14px; line-height: 1.9; color: var(--text2); font-family: var(--font); }
.tas-text p + p { margin-top: 18px; }
.tas-text strong { color: var(--text); font-weight: 700; }
.tas-text a { color: var(--text); font-weight: 700; }
.tas-text a:hover { text-decoration: underline; }

.tas-hl {
  border-left: 2px solid var(--gold); padding: 16px 22px;
  background: var(--bg2); margin: 28px 0;
}
.tas-hl p { font-size: 17px; font-weight: 700; color: var(--text); line-height: 1.4; font-family: var(--font); }

/* Grid de ventajas */
.tas-features { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 40px; }
.tas-feat { background: var(--bg2); padding: 22px 20px; }
.tas-feat-name { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--text2); margin-bottom: 7px; font-family: var(--font); }
.tas-feat-desc { font-size: 13px; color: var(--text2); line-height: 1.6; font-family: var(--font); }

/* CTA lateral — beige oscuro cálido */
.tas-cta { background: var(--dark); padding: 40px 32px; position: sticky; top: calc(var(--nav-h) + 24px); }
.tas-cta-title { font-size: 22px; font-weight: 700; color: #fff; line-height: 1.25; margin-bottom: 28px; font-family: var(--font); }

.cta-item { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
.cta-item:last-of-type { margin-bottom: 28px; padding-bottom: 0; border-bottom: none; }
.cta-item-icon {
  width: 30px; height: 30px; flex-shrink: 0; background: rgba(255,255,255,.05);
  display: flex; align-items: center; justify-content: center;
}
.cta-item-icon svg { width: 13px; height: 13px; color: var(--gold); }
.cta-item a { font-size: 13px; color: rgba(255,255,255,.7); text-decoration: none; transition: color .2s; font-family: var(--font); }
.cta-item a:hover { color: #fff; }

.cta-badge { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); }
.cta-badge-label { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 8px; font-family: var(--font); }
.cta-badge-val   { font-size: 13px; color: rgba(255,255,255,.7); line-height: 1.7; font-family: var(--font); }

/* =====================================================
   PÁGINA: CONTACTO
   ===================================================== */

.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 72px; align-items: start; }

.contact-hl  { font-size: 30px; font-weight: 700; line-height: 1.2; color: var(--text); margin-bottom: 14px; font-family: var(--font); }
.contact-sub { font-size: 14px; color: var(--text2); line-height: 1.85; margin-bottom: 44px; font-family: var(--font); }

.contact-items { display: flex; flex-direction: column; gap: 22px; }
.contact-item  { display: flex; gap: 14px; align-items: flex-start; }
.contact-icon  {
  width: 36px; height: 36px; flex-shrink: 0;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; transition: all .25s;
}
.contact-item:hover .contact-icon { border-color: var(--text); background: var(--bg2); }
.contact-icon svg { width: 14px; height: 14px; color: var(--text2); transition: color .25s; }
.contact-item:hover .contact-icon svg { color: var(--text); }
.contact-item-label { font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--text2); margin-bottom: 3px; font-family: var(--font); }
.contact-item-val   { font-size: 14px; color: var(--text); line-height: 1.6; font-family: var(--font); }
.contact-item-val a { text-decoration: none; }
.contact-item-val a:hover { text-decoration: underline; }

/* Formulario */
.form-box   { background: var(--bg2); padding: 44px; border: 1px solid var(--border); }
.form-title { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 28px; font-family: var(--font); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grp { margin-bottom: 18px; }
.form-grp label {
  display: block; font-size: 9px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--text2); margin-bottom: 7px;
  font-family: var(--font);
}
.form-grp input,
.form-grp textarea {
  width: 100%; padding: 11px 13px;
  border: 1px solid var(--border); background: var(--bg);
  color: var(--text); font-family: var(--font); font-size: 14px;
  outline: none; resize: none; transition: border-color .2s;
}
.form-grp input:focus,
.form-grp textarea:focus { border-color: var(--text); }
.form-grp textarea { height: 120px; }

.form-submit {
  width: 100%; padding: 13px; font-family: var(--font);
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase; cursor: pointer;
  background: var(--dark); color: #fff; border: none; transition: opacity .2s;
}
.form-submit:hover { opacity: .8; }
.form-submit:disabled { opacity: .5; cursor: not-allowed; }

.form-ok { display: none; text-align: center; padding: 36px 0; }
.form-ok svg { width: 40px; height: 40px; color: var(--text); margin: 0 auto 14px; }
.form-ok h3  { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 8px; font-family: var(--font); }
.form-ok p   { font-size: 13px; color: var(--text2); font-family: var(--font); }

/* =====================================================
   FOOTER
   Beige oscuro cálido en lugar de negro
   ===================================================== */

.footer { background: var(--dark); padding: 60px 52px 36px; }
.footer-inner { max-width: 1360px; margin: 0 auto; }

.footer-top {
  display: grid; grid-template-columns: 1fr 160px 220px; gap: 60px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 28px;
}
.footer-brand-name { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 12px; font-family: var(--font); }
.footer-brand-text { font-size: 12px; color: rgba(255,255,255,.4); line-height: 1.8; max-width: 280px; font-family: var(--font); }

.footer-col-label {
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.45); margin-bottom: 18px; font-family: var(--font);
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 13px; color: rgba(255,255,255,.5); text-decoration: none; transition: color .2s;
  font-family: var(--font);
}
.footer-links a:hover { color: rgba(255,255,255,.85); }

.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; align-items: start;
}
.footer-copy { font-size: 10px; color: rgba(255,255,255,.25); line-height: 1.85; font-family: var(--font); }

.footer-social {
  display: flex; gap: 24px; align-items: center;
}
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-social a:hover {
  color: var(--gold);
  transform: translateY(-2px);
}
.footer-social svg { width: 18px; height: 18px; }

/* =====================================================
   BOTONES
   ===================================================== */

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border: none;
  padding: 13px 26px; line-height: 1; transition: opacity .2s;
}
.btn:hover { opacity: .8; }

.btn-dark { background: var(--dark); color: #fff; }
.btn-line { background: transparent; border: 1px solid var(--text); color: var(--text); }
.btn-cta  { background: var(--dark); color: #fff; display: flex; justify-content: center; width: 100%; }

/* =====================================================
   UTILIDADES
   ===================================================== */

.fade-up {
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.fade-up.in { opacity: 1; transform: none; }

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 1100px) {
  .proj-grid { grid-template-columns: 1fr 1fr; }
  .pcard.big { grid-column: span 2; }
  .tas-layout { grid-template-columns: 1fr; }
  .tas-cta { position: static; }
  .about-layout { grid-template-columns: 240px 1fr; gap: 48px; }
}

@media (max-width: 900px) {
  .wrap   { padding: 0 24px; }
  .nav    { padding: 0 24px; }
  .hero   { padding: 0 24px 64px; }
  .hero-scroll { left: 24px; }
  .hero-dots   { right: 24px; }
  .about-layout { grid-template-columns: 1fr; }
  .about-photo-col { position: static; }
  .loc-grid { grid-template-columns: 1fr; }
  .loc-panel { padding: calc(var(--nav-h) + 32px) 24px 48px; min-height: auto; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .page-hdr { padding: calc(var(--nav-h) + 36px) 24px 44px; }
  .footer { padding: 48px 24px 32px; }
}

@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .proj-grid { grid-template-columns: 1fr; }
  .pcard.big { grid-column: span 1; aspect-ratio: 4/3; }
  .modal { flex-direction: column; }
  .modal-gal { min-height: 55vw; flex: 1; }
  .modal-panel { width: 100%; min-width: 0; padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .form-box { padding: 28px 20px; }
  .footer-bottom { flex-direction: column; }
}

/* =====================================================
   NUEVAS ADICIONES: LOGO EN NAV Y REDES SOCIALES
   ===================================================== */

/* Logo imagen en la navegación */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.nav-logo-img {
  height: 100px;
  width: auto;
  object-fit: contain;
}
@media (max-width: 680px) {
  .nav-logo-img {
    height: 70px;
  }
}

/* Eliminamos la antigua clase de desarrollo con logo (si existe) */
.footer-dev-credit,
.footer-dev-logo {
  display: none;
}