/* ════════════════════════════════════════════════
   ENCÉNTRICA DIGITAL LAB by AIVORIQ
   Aesthetic: technical magazine · grid columns
   numbered sections · italic contrast · clip-path
   ════════════════════════════════════════════════ */

/* ── ANTIQUE LEGACY ── */
@font-face{font-family:'Antique Legacy';src:url('../fonts/Antique-Legacy-Thin/AntiqueLegacy-Thin.woff2')format('woff2'),url('../fonts/Antique-Legacy-Thin/AntiqueLegacy-Thin.woff')format('woff');font-weight:100;font-display:swap}
@font-face{font-family:'Antique Legacy';src:url('../fonts/Antique-Legacy-Light/AntiqueLegacy-Light.woff2')format('woff2'),url('../fonts/Antique-Legacy-Light/AntiqueLegacy-Light.woff')format('woff');font-weight:300;font-display:swap}
@font-face{font-family:'Antique Legacy';src:url('../fonts/Antique-Legacy-Light-Italic/AntiqueLegacy-LightItalic.woff2')format('woff2'),url('../fonts/Antique-Legacy-Light-Italic/AntiqueLegacy-LightItalic.woff')format('woff');font-weight:300;font-style:italic;font-display:swap}
@font-face{font-family:'Antique Legacy';src:url('../fonts/Antique-Legacy-Book/AntiqueLegacy-Book.woff2')format('woff2'),url('../fonts/Antique-Legacy-Book/AntiqueLegacy-Book.woff')format('woff');font-weight:350;font-display:swap}
@font-face{font-family:'Antique Legacy';src:url('../fonts/Antique-Legacy-Regular/AntiqueLegacy-Regular.woff2')format('woff2'),url('../fonts/Antique-Legacy-Regular/AntiqueLegacy-Regular.woff')format('woff');font-weight:400;font-display:swap}
@font-face{font-family:'Antique Legacy';src:url('../fonts/Antique-Legacy-Italic/AntiqueLegacy-Italic.woff2')format('woff2'),url('../fonts/Antique-Legacy-Italic/AntiqueLegacy-Italic.woff')format('woff');font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:'Antique Legacy';src:url('../fonts/Antique-Legacy-Medium/AntiqueLegacy-Medium.woff2')format('woff2'),url('../fonts/Antique-Legacy-Medium/AntiqueLegacy-Medium.woff')format('woff');font-weight:500;font-display:swap}
@font-face{font-family:'Antique Legacy';src:url('../fonts/Antique-Legacy-Bold/AntiqueLegacy-Bold.woff2')format('woff2'),url('../fonts/Antique-Legacy-Bold/AntiqueLegacy-Bold.woff')format('woff');font-weight:700;font-display:swap}

/* ── THEINHARDT MONO ── */
@font-face{font-family:'Theinhardt Mono';src:url('../fonts/Theinhardt-Mono-Regular/TheinhardtMono-Regular.woff2')format('woff2'),url('../fonts/Theinhardt-Mono-Regular/TheinhardtMono-Regular.woff')format('woff');font-weight:400;font-display:swap}
@font-face{font-family:'Theinhardt Mono';src:url('../fonts/Theinhardt-Mono-Light/TheinhardtMono-Light.woff2')format('woff2'),url('../fonts/Theinhardt-Mono-Light/TheinhardtMono-Light.woff')format('woff');font-weight:300;font-display:swap}
@font-face{font-family:'Theinhardt Mono';src:url('../fonts/Theinhardt-Mono-Medium/TheinhardtMono-Medium.woff2')format('woff2'),url('../fonts/Theinhardt-Mono-Medium/TheinhardtMono-Medium.woff')format('woff');font-weight:500;font-display:swap}

/* ════════════════════════════════════════════════
   VARIABLES
   ════════════════════════════════════════════════ */
:root {
  --at:  #C16950;
  --iv:  #FCF9EE;
  --mn:  #757A82;
  --lq:  #E5E3DD;
  --bk:  #000;
  --dk:  #080808;
  --mid: #1A1A1A;
  --f:   'Antique Legacy', Arial, sans-serif;
  --m:   'Theinhardt Mono', 'Courier New', monospace;
  --e:   cubic-bezier(.25,.46,.45,.94);
  --s:   cubic-bezier(.16,1,.3,1);
  /* Grid de columnas magazine: 12 col */
  --col: calc((100vw - 128px) / 12);
}

/* ════════════════════════════════════════════════
   RESET
   ════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f);
  background: var(--dk);
  color: var(--iv);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ════════════════════════════════════════════════
   NAV — estilo magazine: número de página + marca
   Diferente: fondo transparente con borde, sin cambio
   de color al scroll. Logo centrado.
   ════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 56px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 48px;
  border-bottom: 0.5px solid rgba(255,255,255,.07);
  background: rgba(8,8,8,.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Los puntos del símbolo */
.nav-dots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}
.nav-dots span { display: block; width: 5px; height: 5px; background: var(--at); }

.nav-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

.nav-brand {
  font-family: var(--f);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--iv);
}

.nav-sub {
  font-family: var(--m);
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--at);
  text-transform: uppercase;
}

.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-family: var(--m);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  transition: color .2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--iv); }

.nav-links a.active { color: var(--at); }

.nav-contact-btn {
  font-family: var(--m);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--bk) !important;
  background: var(--at);
  padding: 7px 16px;
  transition: opacity .2s !important;
}

.nav-contact-btn:hover { opacity: .85; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 18px;
  height: 0.5px;
  background: var(--iv);
  transition: .3s;
}

/* ════════════════════════════════════════════════
   HERO — pantalla completa con grid visible
   Diferente: números de línea como en un editor
   de código, degradado diagonal
   ════════════════════════════════════════════════ */
.hero {
  min-height: 100svh;
  padding-top: 56px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--dk);
}

/* Imagen / fondo del hero:
   En index.html <style>: .hero-bg-img { background-image: url('img/hero.jpg'); }
*/
.hero-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-bg-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(8,8,8,.9) 0%, rgba(8,8,8,.5) 55%, rgba(193,105,80,.15) 100%);
}

/* Líneas verticales de columna — efecto magazine grid */
.hero-grid-lines {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-grid-lines span {
  border-right: 0.5px solid rgba(255,255,255,.025);
}

.hero-body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 64px 48px 80px;
}

/* Número de sección XL decorativo */
.hero-sec-num {
  position: absolute;
  top: 80px;
  right: 48px;
  font-family: var(--m);
  font-size: clamp(80px, 14vw, 200px);
  font-weight: 300;
  color: rgba(255,255,255,.03);
  line-height: 1;
  letter-spacing: -4px;
  pointer-events: none;
  user-select: none;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-eyebrow-line {
  width: 48px;
  height: 0.5px;
  background: var(--at);
}

.hero-eyebrow-text {
  font-family: var(--m);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--at);
}

/* Título con mix regular + italic */
.hero-h1 {
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -.5px;
  max-width: 800px;
  margin-bottom: 40px;
}

.hero-h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--at);
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-desc {
  font-size: 15px;
  font-weight: 300;
  color: rgba(252,249,238,.45);
  line-height: 1.8;
  max-width: 400px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-shrink: 0;
}

.hero-stat-val {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 100;
  color: var(--at);
  line-height: 1;
  display: block;
}

.hero-stat-label {
  font-family: var(--m);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(252,249,238,.3);
  display: block;
  margin-top: 4px;
}

/* Franja inferior del hero */
.hero-strip {
  position: relative;
  z-index: 2;
  background: var(--at);
  display: flex;
  align-items: center;
  gap: 0;
  overflow: hidden;
  height: 44px;
}

.hero-strip-track {
  display: flex;
  animation: strip 25s linear infinite;
  white-space: nowrap;
}

.hero-strip-item {
  font-family: var(--m);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--bk);
  padding: 0 36px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero-strip-item::after {
  content: '×';
  opacity: .4;
}

@keyframes strip {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ════════════════════════════════════════════════
   LAYOUT BASE
   ════════════════════════════════════════════════ */
.w { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.w--full { padding: 0; }

.pad    { padding: 96px 0; }
.pad-sm { padding: 64px 0; }
.pad-lg { padding: 128px 0; }

/* ════════════════════════════════════════════════
   SECTION HEADER — estilo magazine con número
   ════════════════════════════════════════════════ */
.sec-head {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 64px;
  padding-bottom: 24px;
  border-bottom: 0.5px solid rgba(255,255,255,.07);
}

.sec-num {
  font-family: var(--m);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--at);
  padding-top: 6px;
  flex-shrink: 0;
  min-width: 32px;
}

.sec-head-text {}

.sec-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -.5px;
}

.sec-title em {
  font-style: italic;
  color: var(--at);
}

.sec-sub {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,.4);
  line-height: 1.7;
  margin-top: 12px;
  max-width: 560px;
}

/* Para sección en fondo claro */
.sec-sub--dark { color: rgba(0,0,0,.45); }
.sec-title--dark { color: var(--bk); }

/* ════════════════════════════════════════════════
   ABOUT — columnas tipo periódico
   ════════════════════════════════════════════════ */
.about-cols {
  display: grid;
  grid-template-columns: 1fr 2px 1fr 2px 280px;
  gap: 40px;
  align-items: start;
}

.about-divider {
  background: rgba(255,255,255,.06);
  align-self: stretch;
}

.about-col-body {
  font-size: 15px;
  font-weight: 300;
  color: rgba(252,249,238,.55);
  line-height: 1.85;
}

.about-col-body p + p { margin-top: 16px; }

.about-col-body strong {
  color: var(--iv);
  font-weight: 400;
}

.about-panel {
  background: var(--at);
  padding: 32px 28px;
  position: relative;
}

.about-panel-num {
  font-size: 72px;
  font-weight: 100;
  color: rgba(0,0,0,.2);
  line-height: 1;
  position: absolute;
  top: 16px;
  right: 20px;
}

.about-panel-val {
  font-size: 48px;
  font-weight: 100;
  color: var(--bk);
  line-height: 1;
  margin-bottom: 4px;
}

.about-panel-label {
  font-family: var(--m);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(0,0,0,.5);
}

.about-panel-tag {
  font-family: var(--m);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(0,0,0,.4);
  padding: 6px 10px;
  border: 0.5px solid rgba(0,0,0,.2);
  display: inline-block;
  margin-top: 16px;
}

/* ════════════════════════════════════════════════
   TESTIMONIOS — estilo pull-quote
   ════════════════════════════════════════════════ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.06);
}

.testimonial-card {
  background: var(--dk);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  transition: background .3s;
}

.testimonial-card:hover { background: var(--mid); }

.quote-mark {
  font-family: var(--f);
  font-size: 80px;
  font-weight: 100;
  color: var(--at);
  line-height: .7;
  margin-bottom: 16px;
  display: block;
  opacity: .4;
}

.testimonial-text {
  font-size: 15px;
  font-weight: 300;
  font-style: italic;
  color: rgba(252,249,238,.65);
  line-height: 1.75;
  margin-bottom: 28px;
}

.testimonial-author-name {
  font-size: 14px;
  font-weight: 400;
  color: var(--iv);
  margin-bottom: 2px;
}

.testimonial-author-role {
  font-family: var(--m);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--at);
}

/* Foto pequeña */
.testimonial-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin-bottom: 16px;
  border: 1px solid rgba(193,105,80,.3);
}

.testimonial-photo-ph {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--mn);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--m);
  font-size: 9px;
  color: rgba(255,255,255,.3);
}

/* ════════════════════════════════════════════════
   SERVICIOS — grid con clip-path reveal en hover
   ════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.06);
}

.service-card {
  background: var(--dk);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: background .25s;
}

/* Fondo de color que hace clip-path reveal */
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--at);
  clip-path: circle(0% at 50% 50%);
  transition: clip-path .5s var(--s);
  z-index: 0;
}

.service-card:hover::before {
  clip-path: circle(140% at 50% 50%);
}

.service-card > * { position: relative; z-index: 1; }

.service-card-num {
  font-family: var(--m);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--at);
  margin-bottom: 32px;
  display: block;
  transition: color .3s;
}

.service-card:hover .service-card-num { color: rgba(0,0,0,.5); }

.service-card-title {
  font-size: 20px;
  font-weight: 300;
  color: var(--iv);
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -.2px;
  transition: color .3s;
}

.service-card:hover .service-card-title { color: var(--bk); }

.service-card-desc {
  font-size: 13px;
  font-weight: 300;
  color: rgba(252,249,238,.4);
  line-height: 1.7;
  transition: color .3s;
}

.service-card:hover .service-card-desc { color: rgba(0,0,0,.65); }

.service-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-family: var(--m);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--at);
  transition: color .3s, gap .2s;
}

.service-card:hover .service-card-arrow {
  color: var(--bk);
  gap: 14px;
}

.service-card-arrow::after { content: '→'; }

/* Tarjeta featured (más grande) */
.service-card--lg {
  grid-column: span 2;
  background: var(--mid);
}

/* ════════════════════════════════════════════════
   PARTNERS — logos en fila
   ════════════════════════════════════════════════ */
.partners-strip {
  border-top: 0.5px solid rgba(255,255,255,.06);
  border-bottom: 0.5px solid rgba(255,255,255,.06);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  gap: 0;
  overflow: hidden;
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 48px;
  animation: strip 20s linear infinite;
  white-space: nowrap;
  flex-shrink: 0;
}

.partner-item {
  font-family: var(--m);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.2);
  white-space: nowrap;
  transition: color .2s;
  flex-shrink: 0;
}

.partner-item:hover { color: rgba(255,255,255,.6); }

/* ════════════════════════════════════════════════
   GALERÍA — masonry irregular
   ════════════════════════════════════════════════ */
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  grid-auto-flow: dense;
  gap: 3px;
}

.gallery-cell {
  overflow: hidden;
  position: relative;
  background: var(--mid);
  cursor: pointer;
}

.gallery-cell:nth-child(3n+1) { grid-row: span 2; }
.gallery-cell:nth-child(5n+2) { grid-column: span 2; }

.gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--e), filter .4s;
  filter: grayscale(20%);
}

.gallery-cell:hover img {
  transform: scale(1.06);
  filter: none;
}

.gallery-cell-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,8,8,0);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  transition: background .3s;
}

.gallery-cell:hover .gallery-cell-overlay { background: rgba(8,8,8,.4); }

.gallery-cell-label {
  font-family: var(--m);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--iv);
  opacity: 0;
  transform: translateY(6px);
  transition: all .3s;
}

.gallery-cell:hover .gallery-cell-label {
  opacity: 1;
  transform: none;
}

/* Placeholder cuando no hay imagen */
.gallery-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mid);
}

.gallery-ph span {
  font-family: var(--m);
  font-size: 9px;
  letter-spacing: 2px;
  color: rgba(255,255,255,.1);
  text-transform: uppercase;
}

/* ════════════════════════════════════════════════
   EQUIPO — list row style
   Diferente: filas horizontales en vez de cards
   ════════════════════════════════════════════════ */
.team-list {
  border-top: 0.5px solid rgba(255,255,255,.07);
}

.team-row {
  display: grid;
  grid-template-columns: 60px 1fr 200px auto;
  align-items: center;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 0.5px solid rgba(255,255,255,.07);
  transition: background .2s;
  cursor: default;
}

.team-row:hover { background: rgba(255,255,255,.02); }

.team-row-idx {
  font-family: var(--m);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--at);
}

.team-row-name {
  font-size: 20px;
  font-weight: 300;
  color: var(--iv);
}

.team-row-role {
  font-family: var(--m);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
}

.team-row-mark {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  opacity: 0;
  transition: opacity .2s;
}

.team-row-mark span { display: block; width: 5px; height: 5px; background: var(--at); }
.team-row:hover .team-row-mark { opacity: 1; }

/* EQUIPO extendido */
.team-body-text {
  font-size: 15px;
  font-weight: 300;
  color: rgba(252,249,238,.5);
  line-height: 1.85;
}

.team-body-text p + p { margin-top: 16px; }
.team-body-text strong { color: var(--iv); font-weight: 400; }

/* EQUIPO — photo cards grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 56px;
}

.team-card {
  position: relative;
  overflow: hidden;
  background: var(--dk);
}

.team-card-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: grayscale(15%);
  transition: transform .7s var(--s), filter .4s;
}

.team-card:hover .team-card-img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.team-card-info {
  padding: 20px 24px 26px;
  border-top: 2px solid var(--at);
}

.team-card-idx {
  font-family: var(--m);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--at);
  display: block;
  margin-bottom: 10px;
}

.team-card-name {
  font-size: 18px;
  font-weight: 300;
  color: var(--iv);
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: -.2px;
}

.team-card-role {
  font-family: var(--m);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
}

@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 2px; }
}

/* ════════════════════════════════════════════════
   CONTACTO — split con mapa
   ════════════════════════════════════════════════ */
.contact-ways {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.06);
}

.contact-way {
  background: var(--dk);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background .2s;
}

.contact-way:hover { background: var(--mid); }

.contact-way-icon {
  font-family: var(--m);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--at);
  margin-bottom: 8px;
}

.contact-way-title {
  font-size: 22px;
  font-weight: 300;
  color: var(--iv);
  letter-spacing: -.2px;
}

.contact-way-detail {
  font-size: 14px;
  font-weight: 300;
  color: rgba(252,249,238,.45);
  line-height: 1.7;
}

.contact-way-detail a {
  color: rgba(252,249,238,.45);
  transition: color .2s;
  display: block;
}

.contact-way-detail a:hover { color: var(--iv); }

.contact-form-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--iv);
}

.contact-form-left {
  padding: 80px 56px;
  background: var(--iv);
}

.contact-map-right {
  position: relative;
  background: var(--lq);
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-map-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.map-link {
  font-family: var(--m);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(0,0,0,.35);
  transition: color .2s;
  text-decoration: none;
}

.map-link:hover { color: var(--at); }

/* Form estilo flat */
.ff { margin-bottom: 24px; }

.ff label {
  display: block;
  font-family: var(--m);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(0,0,0,.35);
  margin-bottom: 10px;
}

.ff input,
.ff textarea,
.ff select {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,.12);
  background: transparent;
  padding: 10px 0;
  font-family: var(--f);
  font-size: 15px;
  font-weight: 300;
  color: var(--bk);
  outline: none;
  transition: border-color .2s;
  border-radius: 0;
  -webkit-appearance: none;
}

.ff input:focus,
.ff textarea:focus { border-color: var(--at); }
.ff textarea { min-height: 100px; resize: none; }

.ff-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
}

.ff-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 28px;
}

.ff-check input { width: auto; border: none; border-bottom: none; padding: 0; accent-color: var(--at); cursor: pointer; flex-shrink: 0; margin-top: 3px; }
.ff-check label { font-size: 12px; color: rgba(0,0,0,.4); line-height: 1.6; cursor: pointer; }
.ff-check label a { color: var(--at); }

/* ════════════════════════════════════════════════
   BOTONES
   ════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--m);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 28px;
  cursor: pointer;
  border: none;
  transition: all .25s var(--e);
}

.btn-line {
  display: block;
  width: 20px;
  height: 0.5px;
  background: currentColor;
  transition: width .25s var(--s);
  flex-shrink: 0;
}

.btn:hover .btn-line { width: 32px; }

.btn--at   { background: var(--at); color: var(--bk); }
.btn--at:hover { background: rgba(193,105,80,.85); }
.btn--iv   { background: var(--iv); color: var(--bk); }
.btn--iv:hover { background: var(--lq); }
.btn--bk   { background: var(--bk); color: var(--iv); }
.btn--bk:hover { background: var(--mid); }
.btn--out  { background: transparent; color: var(--iv); border: 0.5px solid rgba(255,255,255,.2); }
.btn--out:hover { border-color: var(--iv); }
.btn--out-bk { background: transparent; color: var(--bk); border: 0.5px solid rgba(0,0,0,.2); }
.btn--out-bk:hover { background: var(--bk); color: var(--iv); }

/* ════════════════════════════════════════════════
   PAGE HERO — interior
   ════════════════════════════════════════════════ */
.page-hero {
  padding: 120px 48px 64px;
  position: relative;
  background: var(--dk);
  border-bottom: 0.5px solid rgba(255,255,255,.06);
  overflow: hidden;
}

.page-hero-num {
  position: absolute;
  right: 48px;
  top: 64px;
  font-family: var(--m);
  font-size: clamp(100px, 18vw, 280px);
  font-weight: 100;
  color: rgba(255,255,255,.025);
  line-height: 1;
  pointer-events: none;
}

.page-hero-label {
  font-family: var(--m);
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--at);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.page-hero-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 0.5px;
  background: var(--at);
}

.page-hero-h1 {
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -1.5px;
  max-width: 700px;
}

.page-hero-h1 em { font-style: italic; color: var(--at); }

.page-hero-sub {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,.4);
  max-width: 520px;
  line-height: 1.75;
  margin-top: 20px;
}

/* ════════════════════════════════════════════════
   LIGHTBOX
   ════════════════════════════════════════════════ */
#lb {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8,8,8,.97);
  z-index: 999;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#lb.on { display: flex; }
#lb img { max-width: 90vw; max-height: 90vh; object-fit: contain; }

/* ════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════ */
.footer {
  background: var(--dk);
  border-top: 0.5px solid rgba(255,255,255,.06);
}

.footer-inner {
  display: grid;
  grid-template-columns: 240px 1fr 1fr 1fr;
  gap: 48px;
  padding: 64px 48px;
  border-bottom: 0.5px solid rgba(255,255,255,.06);
}

.footer-brand { }

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.footer-wordmark {
  font-family: var(--f);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--iv);
  text-transform: uppercase;
}

.footer-wordmark em {
  font-style: italic;
  color: var(--at);
}

.footer-byline {
  font-family: var(--m);
  font-size: 8px;
  letter-spacing: 2px;
  color: rgba(255,255,255,.2);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}

.footer-tagline {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,.2);
  line-height: 1.6;
}

.footer-col h5 {
  font-family: var(--m);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--at);
  margin-bottom: 20px;
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,.3);
  line-height: 2.2;
  transition: color .2s;
}

.footer-col a:hover { color: var(--iv); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 48px;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-copy {
  font-family: var(--m);
  font-size: 9px;
  letter-spacing: 1px;
  color: rgba(255,255,255,.15);
}

.footer-legal {
  font-family: var(--m);
  font-size: 9px;
  letter-spacing: 1px;
  color: rgba(255,255,255,.12);
  line-height: 1.6;
}

/* ════════════════════════════════════════════════
   ANIMACIONES
   ════════════════════════════════════════════════ */
.r { /* reveal */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s var(--s), transform .65s var(--s);
}

.r.in { opacity: 1; transform: none; }

.r-l { /* reveal left */
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity .65s var(--s), transform .65s var(--s);
}

.r-l.in { opacity: 1; transform: none; }

.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
.d4 { transition-delay: .4s; }

/* ════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .about-cols { grid-template-columns: 1fr 1fr; }
  .about-divider { display: none; }
  .about-panel { grid-column: span 2; display: flex; gap: 32px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card--lg { grid-column: span 2; }
  .gallery-masonry { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .contact-form-section { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav { padding: 0 20px; grid-template-columns: auto 1fr auto; }
  .nav-center { display: none; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 56px; left: 0; right: 0;
    background: rgba(8,8,8,.98);
    padding: 24px;
    gap: 16px;
    border-bottom: 0.5px solid rgba(255,255,255,.06);
  }
  .nav-burger { display: flex; }
  .hero-body { padding: 40px 20px 56px; }
  .hero-stats { display: none; }
  .w { padding: 0 20px; }
  .pad { padding: 64px 0; }
  .pad-lg { padding: 80px 0; }
  .page-hero { padding: 96px 20px 48px; }
  .page-hero-num { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card--lg { grid-column: span 1; }
  .gallery-masonry { grid-template-columns: repeat(2, 1fr); }
  .gallery-cell:nth-child(3n+1) { grid-row: span 1; }
  .gallery-cell:nth-child(5n+2) { grid-column: span 1; }
  .contact-ways { grid-template-columns: 1fr; }
  .team-row { grid-template-columns: 40px 1fr; }
  .team-row-role { display: none; }
  .team-row-mark { display: none; }
  .footer-inner { grid-template-columns: 1fr; padding: 40px 20px; }
  .footer-bottom { padding: 14px 20px; flex-direction: column; text-align: center; }
  .sec-head { flex-direction: column; gap: 12px; }
  .about-cols { grid-template-columns: 1fr; }
  .contact-form-left { padding: 48px 20px; }
}

@media (max-width: 480px) {
  .hero-stats { display: none; }
  .gallery-masonry { grid-template-columns: 1fr; }
}
