/* =========================================================
   PERÍMETRO · Arquitectura y Construcción
   Hoja de estilos del sitio
   ---------------------------------------------------------
   Color de acento: amarillo del logo (#E0C72C).
   El amarillo se usa como fondo y como marca, nunca como
   texto sobre blanco (no tendría contraste suficiente).
   ========================================================= */

:root {
  --ink: #1A1A1A;          /* Negro concreto / antracita */
  --ink-2: #2B2B2A;
  --white: #FFFFFF;
  --concrete: #E5E5E5;     /* Gris concreto claro */
  --concrete-2: #F4F4F3;
  --muted: #555553;        /* texto secundario, contraste AA sobre blanco */
  --muted-dark: #B9B9B6;   /* texto secundario sobre antracita */
  --line: #D6D6D3;
  --line-dark: #3A3A38;
  --accent: #E0C72C;       /* Amarillo del logo PERÍMETRO */
  --accent-hover: #C9B01F;
  --accent-ink: #1A1A1A;   /* texto sobre amarillo */
  --error: #A3261B;

  --font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(72px, 10vw, 136px);
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1); /* ease-out-quint */

  --z-header: 100;
  --z-float: 200;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; text-wrap: balance; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 5px var(--accent); }
.hero :focus-visible, .sisbal :focus-visible, .equipo :focus-visible, .site-footer :focus-visible, .site-header:not(.is-solid) :focus-visible { outline-color: var(--white); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--white); padding: 10px 16px; z-index: var(--z-float); }
.skip:focus { left: 8px; }

/* ---------- Tipografía de sección ---------- */
.title { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 600; max-width: 20ch; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); font-weight: 300; line-height: 1.6; max-width: 60ch; }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .lead { margin-top: 0; }

/* Línea de plano con marca "+" — tomada de la línea base del logo */
.rule {
  position: relative;
  height: 1px;
  background: var(--ink);
  margin: 28px 0 28px 6px;
  max-width: 420px;
  transform-origin: left center;
}
.rule::before, .rule::after {
  content: "";
  position: absolute;
  background: var(--ink);
}
.rule::before { left: -6px; top: -1px; width: 13px; height: 3px; }
.rule::after { left: -1px; top: -6px; width: 3px; height: 13px; }
.rule-light, .rule-light::before, .rule-light::after { background: var(--white); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--accent-hover); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  color: var(--white);
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.brand { display: block; width: 168px; flex-shrink: 0; }
.brand img { width: 100%; }
.logo-dark { display: none; }
.site-header.is-solid { background: var(--white); color: var(--ink); border-bottom-color: var(--line); }
.site-header.is-solid .logo-light { display: none; }
.site-header.is-solid .logo-dark { display: block; }

.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.nav a { font-size: 0.86rem; font-weight: 500; text-decoration: none; letter-spacing: 0.02em; position: relative; padding-block: 6px; }
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:not(.nav-cta):hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
.nav-cta { background: var(--accent); color: var(--accent-ink); padding: 10px 18px !important; border-radius: var(--radius); font-weight: 600 !important; }
.nav-cta:hover { background: var(--accent-hover); }

.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 84px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); color: var(--ink);
    padding: 8px var(--gutter) 28px;
    border-bottom: 1px solid var(--line);
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    transition: clip-path .45s var(--ease), visibility 0s linear .45s;
  }
  .nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .45s var(--ease); }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a::after { display: none; }
  .nav-cta { margin-top: 20px; text-align: center; border-bottom: 0 !important; }
  .site-header.menu-open { background: var(--white); color: var(--ink); }
  .site-header.menu-open .logo-light { display: none; }
  .site-header.menu-open .logo-dark { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--white); background: var(--ink); overflow: hidden;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(26,26,26,.55) 0%, rgba(26,26,26,0) 28%),
    linear-gradient(0deg, rgba(26,26,26,.88) 0%, rgba(26,26,26,.55) 40%, rgba(26,26,26,.1) 75%);
}
.hero-content { position: relative; padding-top: 140px; }
.hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.6rem); font-weight: 600; letter-spacing: -0.02em; max-width: 15ch; line-height: 1.05; }
.hero-lede { margin-top: 24px; font-size: clamp(1.02rem, 1.4vw, 1.2rem); font-weight: 300; max-width: 52ch; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-foot { position: relative; display: flex; align-items: center; gap: 18px; padding-block: 48px 36px; }
.hero-foot p { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; color: rgba(255,255,255,.82); }
.plan-mark { position: relative; flex: 1; height: 1px; background: rgba(255,255,255,.5); order: 2; }
.plan-mark::after { content: "+"; position: absolute; right: -4px; top: -13px; font-size: 18px; font-weight: 300; color: var(--white); }

/* ---------- Estudio ---------- */
.estudio-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.estudio-text > p + p { margin-top: 18px; max-width: 62ch; color: var(--muted); }
.mvv { margin: 48px 0 0; display: grid; gap: 28px; }
.mvv div { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding-top: 22px; border-top: 1px solid var(--line); }
.mvv dt { font-weight: 600; font-size: 0.9rem; }
.mvv dd { margin: 0; color: var(--muted); max-width: 58ch; }
.values { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.values span { color: var(--ink); font-weight: 500; font-size: 0.92rem; padding: 4px 12px; background: var(--concrete-2); border-radius: 999px; }
.estudio-figure { margin: 0; position: sticky; top: 112px; }
.estudio-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.estudio-figure blockquote { margin: 0; background: var(--ink); color: var(--white); padding: 32px; position: relative; margin-top: -72px; margin-left: clamp(24px, 4vw, 56px); }
.estudio-figure blockquote p { font-size: 1.02rem; font-weight: 300; line-height: 1.6; }
.estudio-figure cite { display: block; margin-top: 18px; font-style: normal; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; color: var(--muted-dark); }

/* ---------- Servicios ---------- */
.servicios { background: var(--concrete-2); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); counter-reset: s; }
.steps li { padding: 32px 28px 8px 0; position: relative; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.step-n { display: inline-block; font-size: 3.2rem; font-weight: 300; line-height: 1; color: var(--ink); margin-bottom: 28px; padding-bottom: 10px; border-bottom: 4px solid var(--accent); }
.steps h3 { font-size: 1.25rem; margin-bottom: 12px; }
.steps p { color: var(--muted); font-size: 0.95rem; }
.extra-service { margin-top: 56px; padding: 32px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 240px 1fr; gap: 24px; }
.extra-service h3 { font-size: 1.25rem; }
.extra-service p { color: var(--muted); max-width: 64ch; }

/* ---------- Sisbal ---------- */
.sisbal { background: var(--ink); color: var(--white); }
.sisbal-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.sisbal-logo { width: 150px; margin-bottom: 36px; }
.sisbal-text p { color: rgba(255,255,255,.82); max-width: 46ch; margin-bottom: 32px; }
.sisbal-media { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 12px; }
.ph-a { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
.ph-b, .ph-c { aspect-ratio: 4 / 3; }

/* contenedor de foto clicable (abre visor) */
.ph { display: block; padding: 0; border: 0; background: var(--concrete); cursor: zoom-in; overflow: hidden; position: relative; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph::after { content: ""; position: absolute; inset: 0; border: 0 solid var(--accent); transition: border-width .3s var(--ease); pointer-events: none; }
.ph:hover::after, .ph:focus-visible::after { border-width: 4px; }

/* ---------- Proyectos ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter {
  min-height: 42px; padding: 0 20px; border: 1px solid var(--line); background: var(--white); border-radius: 999px;
  font-size: 0.88rem; font-weight: 500; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }

.project-list { border-top: 1px solid var(--ink); }
.project-list li {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr) minmax(0, 1.6fr) 120px;
  gap: 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line);
  transition: background-color .25s var(--ease);
}
.project-list li:hover { background: var(--concrete-2); }
.project-list li[hidden] { display: none; }
.project-list h3 { font-size: 1.05rem; font-weight: 600; }
.project-list .loc { font-size: 0.9rem; color: var(--muted); }
.project-list .scope { font-size: 0.92rem; color: var(--muted); }
.project-list .area { text-align: right; font-weight: 600; font-size: 0.95rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (hover: hover) { .project-list li { padding-inline: 12px; margin-inline: -12px; } }

.gallery-title { margin: clamp(72px, 9vw, 112px) 0 28px; font-size: 1.4rem; }
.gallery { columns: 3 280px; column-gap: 12px; }
.gallery .ph { width: 100%; margin-bottom: 12px; break-inside: avoid; }
.gallery .ph img { height: auto; }

/* ---------- Modelos ---------- */
.modelos { background: var(--concrete-2); }
.models { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(20px, 3vw, 32px); }
.model { background: var(--white); border: 1px solid var(--line); padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 28px; }
.model h3 { font-size: 1.8rem; font-weight: 600; }
.model-data { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0 0; border-top: 1px solid var(--ink); padding-top: 18px; }
.model-data dt { font-size: 0.78rem; color: var(--muted); font-weight: 500; }
.model-data dd { margin: 4px 0 0; font-weight: 600; font-size: 1rem; }
.model-levels { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.model h4 { font-size: 0.95rem; margin-bottom: 10px; }
.model-levels li, .specs li { font-size: 0.92rem; color: var(--muted); padding: 6px 0; border-bottom: 1px solid var(--concrete); }
.model details { border-top: 1px solid var(--line); padding-top: 16px; }
.model summary { cursor: pointer; font-weight: 600; font-size: 0.92rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.model summary::-webkit-details-marker { display: none; }
.model summary::after { content: "+"; font-size: 1.3rem; font-weight: 300; transition: transform .3s var(--ease); }
.model details[open] summary::after { transform: rotate(45deg); }
.specs { margin-top: 12px; columns: 2 200px; column-gap: 24px; }
.specs li { break-inside: avoid; }
.model .btn { align-self: flex-start; margin-top: auto; }

/* ---------- Equipo ---------- */
.equipo { background: var(--ink); color: var(--white); }
.equipo .lead { color: rgba(255,255,255,.82); }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.team-group h3 { font-size: 0.9rem; font-weight: 600; color: var(--muted-dark); padding-bottom: 16px; border-bottom: 1px solid var(--line-dark); }
.team-group li { padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.team-group strong { display: block; font-weight: 600; font-size: 1.05rem; }
.team-group span { display: block; color: var(--muted-dark); font-size: 0.9rem; margin-top: 2px; }
.clients { margin-top: clamp(64px, 8vw, 104px); display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding-top: 32px; border-top: 1px solid var(--line-dark); }
.clients h3 { font-size: 1.1rem; }
.clients p { font-size: clamp(1.05rem, 1.6vw, 1.35rem); font-weight: 300; line-height: 1.7; color: rgba(255,255,255,.9); max-width: 60ch; }

/* ---------- Contacto ---------- */
.contacto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
.contact-list { margin-top: 40px; border-top: 1px solid var(--ink); }
.contact-list li { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contact-list span { font-size: 0.85rem; color: var(--muted); }
.contact-list a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.social { display: flex; flex-wrap: wrap; gap: 6px 20px; }

.form { background: var(--concrete-2); padding: clamp(28px, 4vw, 48px); display: grid; gap: 20px; align-content: start; }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.85rem; font-weight: 600; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1px solid #BDBDB9; border-radius: var(--radius);
  padding: 12px 14px; min-height: 48px; width: 100%;
  transition: border-color .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.field [aria-invalid="true"] { border-color: var(--error); }
.form-error { color: var(--error); font-size: 0.9rem; font-weight: 500; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form-actions .btn { flex: 1 1 auto; white-space: nowrap; }

.contact-side { display: grid; gap: 12px; align-content: start; }
.address { line-height: 1.6; }
.contact-list .map-link { display: inline-block; margin-top: 8px; font-size: 0.88rem; color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.map { background: var(--concrete); aspect-ratio: 16 / 10; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(1) contrast(1.05); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--white); padding-block: 56px 40px; border-top: 1px solid var(--line-dark); }
.footer-inner { display: grid; grid-template-columns: 220px 1fr auto; gap: 32px; align-items: center; }
.motto { font-weight: 300; color: rgba(255,255,255,.85); }
.footer-addr { font-size: 0.85rem; color: var(--muted-dark); margin-top: 6px; }
.legal { font-size: 0.85rem; color: var(--muted-dark); }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: var(--z-float);
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--white); box-shadow: 0 4px 8px rgba(0,0,0,.18);
  transition: background-color .3s var(--ease);
}
.wa-float:hover { background: var(--accent); color: var(--ink); }

/* ---------- Visor ---------- */
.lightbox { border: 0; padding: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; background: rgba(20,20,20,.96); color: var(--white); }
.lightbox::backdrop { background: rgba(20,20,20,.6); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; display: grid; gap: 14px; justify-items: center; padding: 64px 72px; }
.lightbox img { max-width: min(1400px, 100%); max-height: calc(100vh - 160px); width: auto; object-fit: contain; }
.lightbox figcaption { font-size: 0.9rem; color: rgba(255,255,255,.8); }
.lb-btn { position: absolute; background: none; border: 0; color: var(--white); font-size: 2.4rem; font-weight: 300; width: 56px; height: 56px; cursor: pointer; line-height: 1; }
.lb-btn:hover { color: var(--accent); }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }

/* ---------- Movimiento ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-img { animation: settle 2.4s var(--ease) both; }
  .hero h1, .hero-lede, .hero-actions { animation: rise 1s var(--ease) both; }
  .hero-lede { animation-delay: .12s; }
  .hero-actions { animation-delay: .24s; }
  .plan-mark { animation: draw 1.4s var(--ease) .4s both; transform-origin: left; }

  /* revelado: el contenido es visible por defecto; solo se oculta si JS marcó .will-reveal */
  .will-reveal { opacity: 0; transform: translateY(18px); }
  .will-reveal.is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .rule.will-reveal { opacity: 1; transform: scaleX(0); }
  .rule.will-reveal.is-in { transform: scaleX(1); transition: transform 1.1s var(--ease); }
  .project-list li.is-filtered-in { animation: rise .5s var(--ease) both; }
}
@keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 24px; }
  .project-list li { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) 110px; }
  .project-list .loc { grid-column: 1; grid-row: 2; margin-top: -16px; }
  .project-list .scope { grid-column: 2; grid-row: 1 / span 2; }
  .project-list .area { grid-column: 3; grid-row: 1; }
}
@media (max-width: 960px) {
  .estudio-grid, .sisbal-grid, .contacto-grid { grid-template-columns: 1fr; }
  .estudio-figure { position: static; }
  .estudio-figure img { aspect-ratio: 16 / 10; }
  .team { grid-template-columns: 1fr 1fr; }
  .team-group:last-child { grid-column: 1 / -1; }
  .footer-inner { grid-template-columns: 1fr; gap: 16px; }
  .footer-inner img { width: 200px; }
}
@media (max-width: 680px) {
  .header-inner { height: 72px; }
  .nav { inset: 72px 0 auto 0; }
  html { scroll-padding-top: 72px; }
  .brand { width: 140px; }
  .hero-foot p { font-size: 0.7rem; letter-spacing: 0.1em; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 28px 0 8px; border-left: 0; }
  .steps li + li { border-top: 1px solid var(--line); margin-top: 0; }
  .step-n { margin-bottom: 16px; font-size: 2.6rem; }
  .extra-service, .clients { grid-template-columns: 1fr; }
  .mvv div { grid-template-columns: 1fr; gap: 6px; }
  .project-list li { grid-template-columns: 1fr auto; gap: 6px 16px; }
  .project-list h3 { grid-column: 1; grid-row: 1; }
  .project-list .area { grid-column: 2; grid-row: 1; }
  .project-list .loc { grid-column: 1 / -1; grid-row: 2; margin-top: 0; }
  .project-list .scope { grid-column: 1 / -1; grid-row: 3; }
  .model-levels, .model-data { grid-template-columns: 1fr; }
  .model-data { gap: 8px; }
  .model-data div { display: flex; justify-content: space-between; gap: 12px; }
  .model-data dd { margin: 0; text-align: right; }
  .team { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
  .estudio-figure blockquote { margin-left: 16px; margin-top: -40px; padding: 24px; }
  .sisbal-media { grid-template-columns: 1fr 1fr; }
  .lightbox figure { padding: 56px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; }
  .form-actions .btn { flex: 1 1 100%; }
}
