/* HSG Ingeniería S.A.S. — estilo corporativo. Hoja única, sin dependencias externas. */
:root {
  --ink: #26292d;          /* gris carbón (del logo) */
  --ink-2: #33373c;
  --text: #3a3f45;
  --muted: #6b7178;
  --paper: #ffffff;
  --surface: #f6f5f2;      /* blanco cálido */
  --line: #e4e2dd;
  --brand: #f05a0a;        /* naranja del logo: acentos */
  --brand-btn: #c4470a;    /* naranja accesible para botones con texto blanco */
  --brand-btn-hover: #a83d08;
  --brand-text: #b3440b;   /* naranja accesible para texto sobre blanco */
  --ok: #1f7a4d;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(38,41,45,.05), 0 10px 30px rgba(38,41,45,.08);
  --wrap: 1200px;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --font-head: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
}

*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 120px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { transition: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.7; color: var(--text); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a { color: var(--brand-text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1.18; color: var(--ink); margin: 0 0 .55em; font-weight: 600; letter-spacing: -.012em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
h2 { font-size: clamp(1.65rem, 2.8vw, 2.3rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
ul, ol { padding-left: 1.25em; margin: 0 0 1.1em; }
li { margin-bottom: .4em; }
strong { color: var(--ink); font-weight: 600; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Barra superior + cabecera ---------- */
.topbar { background: var(--ink); color: #c9cdd2; font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: flex-end; gap: 28px; padding: 7px 0; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--brand); }
.topbar span { color: #9aa0a6; }
.topbar .wrap { align-items: center; }
.topbar .social { margin: 0 0 0 -8px; gap: 2px; }
.topbar .social a { width: 26px; height: 26px; border: 0; color: #c9cdd2; }
.topbar .social a:hover { color: var(--brand); }
.topbar .social svg { width: 14px; height: 14px; }
@media (max-width: 700px) { .topbar .hide-sm, .topbar .social { display: none; } .topbar .wrap { justify-content: center; gap: 18px; } }
.follow { display: flex; align-items: center; gap: 16px; margin: 4px 0 28px; }
.follow .social { margin: 0; }
.follow .social a { border-color: var(--line); color: var(--ink); background: #fff; }
.follow .social a:hover { border-color: var(--brand); color: var(--brand-text); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255,255,255,.9); backdrop-filter: blur(12px); } }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 88px; }
.logo { display: inline-flex; flex-shrink: 0; }
.logo img { height: 66px; width: auto; }
.nav { margin-left: auto; }
.nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav li { margin: 0; position: relative; }
.nav a, .nav summary { display: block; padding: 10px 13px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96rem; cursor: pointer; }
.nav > ul > li > a, .nav summary { border-bottom: 2px solid transparent; }
.nav > ul > li > a:hover, .nav summary:hover { color: var(--brand-text); }
.nav a[aria-current="page"] { color: var(--brand-text); border-bottom-color: var(--brand); }
.nav summary { list-style: none; display: flex; align-items: center; gap: 7px; }
.nav summary::-webkit-details-marker { display: none; }
.nav summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.nav details[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.nav .sub { list-style: none; margin: 0; padding: 10px 0; position: absolute; top: calc(100% + 10px); left: 0; min-width: 280px; background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--brand); box-shadow: var(--shadow); }
.nav .sub a { padding: 9px 20px; font-size: .95rem; }
.nav .sub a:hover { background: var(--surface); color: var(--brand-text); }
.nav .cta-nav a { background: var(--brand-btn); color: #fff; margin-left: 10px; padding: 11px 20px; border-radius: var(--radius); border: 0; font-weight: 600; }
.nav .cta-nav a:hover { background: var(--brand-btn-hover); color: #fff; }
.menu-btn { display: none; margin-left: auto; background: transparent; border: 1px solid var(--line); color: var(--ink); border-radius: var(--radius); padding: 10px 14px; font: inherit; font-weight: 500; cursor: pointer; align-items: center; }
.menu-btn span { display: inline-block; width: 18px; height: 1.5px; background: currentColor; position: relative; margin-right: 10px; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: currentColor; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }

@media (max-width: 1140px) {
  .header-row { min-height: 72px; }
  .logo img { height: 48px; }
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100vh - 72px); overflow-y: auto; }
  .nav.is-open { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; padding: 8px 20px 24px; gap: 0; }
  .nav a, .nav summary { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line) !important; }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); }
  .nav .sub { position: static; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
  .nav .cta-nav a { margin: 18px 0 0; text-align: center; border-bottom: 0 !important; }
}

/* ---------- Migas de pan ---------- */
.crumbs { background: var(--surface); border-bottom: 1px solid var(--line); font-size: .88rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0; padding: 12px 0; color: var(--muted); }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: #b5b2ab; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand-text); text-decoration: underline; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border-radius: var(--radius); font-weight: 600; font-size: 1rem; text-decoration: none; border: 1.5px solid transparent; line-height: 1.2; cursor: pointer; font-family: inherit; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.btn-primary { background: var(--brand-btn); color: #fff; }
.btn-primary:hover { background: var(--brand-btn-hover); color: #fff; }
.btn-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--brand-text); }
.link-arrow::after { content: " →"; }
.link-arrow:hover { color: var(--ink); }

/* ---------- Hero con fotografía ---------- */
.hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(24,26,29,.9) 0%, rgba(24,26,29,.72) 42%, rgba(24,26,29,.25) 100%); }
.hero .wrap { padding: 120px 0 128px; }
.hero .hero-text { max-width: 680px; }
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.22rem; color: rgba(255,255,255,.88); max-width: 60ch; }
.hero .btn-row { margin-top: 34px; }
.hero .eyebrow { color: #fff; }
.hero .eyebrow::before { background: var(--brand); }
.page-hero .wrap { padding: 84px 0 88px; }
.page-hero h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
@media (max-width: 800px) {
  .hero::before { background: linear-gradient(180deg, rgba(24,26,29,.55) 0%, rgba(24,26,29,.82) 70%); }
  .hero .wrap { padding: 72px 0 80px; }
  .page-hero .wrap { padding: 56px 0 60px; }
}
/* Hero sin foto (páginas legales) */
.hero-plain { background: var(--surface); border-bottom: 1px solid var(--line); }
.hero-plain .wrap { padding: 64px 0 56px; }

.eyebrow { display: flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-text); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--brand); }

/* Banda de normas bajo el hero */
.standards { background: #fff; border-bottom: 1px solid var(--line); }
.standards ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.standards li { margin: 0; padding: 26px 24px; border-left: 1px solid var(--line); }
.standards li:first-child { border-left: 0; padding-left: 0; }
.standards strong { display: block; font-size: 1rem; }
.standards span { font-size: .9rem; color: var(--muted); }
@media (max-width: 900px) { .standards ul { grid-template-columns: 1fr 1fr; } .standards li { border-left: 0; padding: 18px 0; border-top: 1px solid var(--line); } .standards li:nth-child(-n+2) { border-top: 0; } }

/* ---------- Secciones ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--surface); }
.section-dark { background: var(--ink); color: #c9cdd2; }
.section-dark h2, .section-dark h3, .section-dark strong { color: #fff; }
.section-head { max-width: 780px; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 1.12rem; }
.section-dark .section-head p { color: #aeb3b9; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; margin-bottom: 44px; }
.head-row .section-head { margin-bottom: 0; }
@media (max-width: 700px) { .section { padding: 64px 0; } .section-head { margin-bottom: 32px; } }

/* Respuesta directa (citable por buscadores e IA) */
.answer { border-left: 3px solid var(--brand); background: var(--surface); padding: 22px 26px; margin: 0 0 34px; font-size: 1.07rem; }
.answer p:last-child { margin-bottom: 0; }

/* ---------- Rejillas y tarjetas ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--paper); border: 1px solid var(--line); padding: 30px; }
.card h3, .card .h3 { font-size: 1.2rem; margin-bottom: .45em; }
.card p { color: var(--muted); margin-bottom: .9em; }
.card p:last-child { margin-bottom: 0; }

.tile { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: box-shadow .2s ease, border-color .2s ease; }
.tile:hover { box-shadow: var(--shadow); border-color: #d6d3cc; color: inherit; }
.tile .media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); }
.tile .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tile:hover .media img { transform: scale(1.03); }
.tile .body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.tile h3, .tile .h3 { font-size: 1.18rem; margin-bottom: .4em; }
.tile p { color: var(--muted); font-size: .98rem; margin-bottom: 1em; }
.tile .link-arrow { margin-top: auto; }
.tile .kicker { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-text); margin-bottom: 8px; }

/* Bloque destacado (servicio principal) */
.feature { display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; background: #fff; border: 1px solid var(--line); }
.feature .media { min-height: 100%; }
.feature .media img { width: 100%; height: 100%; object-fit: cover; }
.feature .body { padding: 56px; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } .feature .media { aspect-ratio: 16/10; } .feature .body { padding: 34px 26px; } }

/* Lista de servicios con flecha */
.service-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.service-list li { margin: 0; border-bottom: 1px solid var(--line); }
.service-list a { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; padding: 22px 4px; text-decoration: none; color: var(--ink); }
.service-list a strong { font-size: 1.1rem; font-weight: 600; }
.service-list a span { grid-column: 1; color: var(--muted); font-size: .97rem; }
.service-list a::after { content: "→"; grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--brand); font-size: 1.3rem; transition: transform .2s ease; }
.service-list a:hover strong { color: var(--brand-text); }
.service-list a:hover::after { transform: translateX(4px); }

/* Pasos */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 0; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.steps li { counter-increment: step; padding: 34px 32px; margin: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-head); font-weight: 300; font-size: 2.2rem; line-height: 1; color: var(--brand); margin-bottom: 18px; }
.steps h3 { font-size: 1.12rem; }
.steps p { margin: 0; color: var(--muted); font-size: .98rem; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }

/* Lista con viñeta de verificación */
.check { list-style: none; padding: 0; }
.check li { position: relative; padding-left: 30px; margin-bottom: .7em; }
.check li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }

/* Diseño en dos columnas */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-top { align-items: start; }
.split-wide { grid-template-columns: 1.5fr 1fr; align-items: start; gap: 64px; }
.split .photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 900px) { .split .photo img { aspect-ratio: 16 / 10; } }
@media (max-width: 900px) { .split, .split-wide { grid-template-columns: 1fr; gap: 36px; } }
.aside-box { background: var(--surface); border-top: 3px solid var(--brand); padding: 32px; position: sticky; top: 112px; }
.aside-box h2, .aside-box h3 { font-size: 1.18rem; }
.aside-box ul:not(.check) { padding-left: 1.1em; }

/* Contenido de artículos */
.prose { max-width: 780px; }
.prose h2 { margin-top: 1.9em; font-size: clamp(1.4rem, 2.3vw, 1.8rem); }
.prose h3 { margin-top: 1.4em; }
.prose > :first-child { margin-top: 0; }
.table-wrap { overflow-x: auto; margin-bottom: 1.5em; border: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; font-size: .97rem; margin: 0; }
.prose th, .prose td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--surface); color: var(--ink); font-weight: 600; }
.prose tr:last-child td { border-bottom: 0; }
.note { font-size: .92rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 32px; }
.updated { font-size: .88rem; color: var(--muted); }

/* Preguntas frecuentes */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; color: var(--ink); padding: 22px 40px 22px 0; position: relative; font-size: 1.06rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; border-right: 1.5px solid var(--brand); border-bottom: 1.5px solid var(--brand); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:hover { color: var(--brand-text); }
.faq details > div { padding: 0 0 22px; color: var(--text); max-width: 72ch; }
.faq details > div p:last-child { margin-bottom: 0; }

/* Datos de empresa */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { padding: 26px 24px; border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; padding-left: 0; }
.facts dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 600; }
.facts dd { margin: 6px 0 0; font-weight: 600; color: var(--ink); font-size: 1.12rem; }
@media (max-width: 800px) { .facts { grid-template-columns: 1fr 1fr; } .facts div { border-left: 0; padding: 18px 0; } }

/* Banda final de llamado a la acción */
.cta-band { background: var(--ink); color: #c9cdd2; }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; padding: 64px 0; }
.cta-band h2 { color: #fff; margin: 0 0 8px; font-size: clamp(1.5rem, 2.6vw, 2.05rem); }
.cta-band p { margin: 0; }

/* Formularios */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: block; font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: 6px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; color: var(--text); padding: 13px 14px; border: 1px solid #cfccc5; border-radius: var(--radius); background: #fff; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--ink); outline: 2px solid rgba(240,90,10,.25); outline-offset: 0; }
.form textarea { min-height: 150px; resize: vertical; }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); font-weight: 400; }
.form .consent input { width: 18px; height: 18px; margin-top: 4px; flex-shrink: 0; accent-color: var(--brand-btn); }
.form .hp { position: absolute; left: -9999px; }
.form-msg { padding: 14px 16px; font-weight: 600; }
.form-msg.ok { background: #e7f4ec; color: var(--ok); }
.form-msg.err { background: #fbeceb; color: #a12a1a; }

.contact-list { list-style: none; padding: 0; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.contact-list svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--brand); margin-top: 3px; }
.contact-list strong { display: block; }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.tag-list li { margin: 0; border: 1px solid var(--line); background: #fff; padding: 7px 14px; font-size: .9rem; color: var(--ink); }
.section-alt .tag-list li { background: #fff; }

/* Proyectos */
.project .media { aspect-ratio: 3 / 2; }

/* Pies de foto */
figure { margin: 0; }
figure.media, figure.photo { position: relative; }
figure.media figcaption, figure.photo figcaption, .gallery figcaption { position: absolute; left: 0; bottom: 0; background: rgba(24,26,29,.82); color: #fff; font-size: .8rem; letter-spacing: .04em; padding: 8px 14px; }

/* Logos de clientes */
.logos { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: #fff; }
.logos li { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 26px 14px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; min-height: 168px; }
.logos img { max-height: 72px; max-width: 100%; width: auto; height: auto; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .78; transition: filter .25s ease, opacity .25s ease; }
.logos li:hover img { filter: none; opacity: 1; }
.logos span { font-size: .78rem; line-height: 1.35; color: var(--muted); }
.logos li.on-dark { background: var(--ink); }
.logos li.on-dark img { filter: none; opacity: .9; }
.logos li.on-dark span { color: #c9cdd2; }
.logos li.text-only strong { font-family: var(--font-head); font-size: 2rem; font-weight: 300; color: var(--brand); line-height: 1; }
@media (max-width: 1100px) { .logos { grid-template-columns: repeat(4, minmax(0,1fr)); } }
@media (max-width: 640px) { .logos { grid-template-columns: repeat(2, minmax(0,1fr)); } .logos li { min-height: 140px; } }

/* Galería de obra */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, 260px); gap: 12px; }
.gallery figure { position: relative; overflow: hidden; background: var(--surface); }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; } .gallery figure { aspect-ratio: 4/3; } .gallery figure:first-child { grid-column: span 2; grid-row: auto; } }

/* Cotizador rápido por WhatsApp */
.quick-quote { background: var(--surface); border-top: 3px solid var(--brand); padding: 32px; margin-top: 8px; }
.quick-quote h3 { margin-bottom: .3em; }
.quick-quote p { color: var(--muted); }

/* ---------- Pie de página ---------- */
.site-footer { background: #1f2124; color: #a9aeb4; font-size: .95rem; }
.site-footer a { color: #e3e5e8; text-decoration: none; }
.site-footer a:hover { color: var(--brand); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 48px; padding: 72px 0 48px; }
.footer-grid h2 { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 18px; font-weight: 600; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid address { font-style: normal; line-height: 1.8; }
.footer-logo img { height: 64px; width: auto; }
.footer-about { margin-top: 20px; max-width: 34ch; }
.social { display: flex; gap: 8px; margin-top: 22px; }
.social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #3a3e43; color: #e3e5e8; }
.social a:hover { border-color: var(--brand); color: var(--brand); }
.social svg { width: 17px; height: 17px; }
.footer-bottom { border-top: 1px solid #33363a; padding: 22px 0 30px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .86rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.wa-float:hover { color: #fff; background: #1ebe5a; }
.wa-float svg { width: 28px; height: 28px; }

/* Utilidades */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; } .center { text-align: center; }
.lead-dark { font-size: 1.15rem; color: var(--muted); }
.legal h2 { font-size: 1.3rem; margin-top: 1.8em; }
.photo-credit { font-size: .8rem; color: var(--muted); margin-top: 8px; }

@media print { .topbar, .site-header, .wa-float, .cta-band { display: none; } body { font-size: 12pt; } }
