/* ACL Engineering — sitio estático. Colores de marca: negro + dorado (logo). */
:root {
  --ink: #0b0b0c;
  --ink-2: #16171a;
  --gold: #c9a24a;
  --gold-2: #e2c070;
  --paper: #f7f5f0;
  --text: #1e1f22;
  --muted: #5d6068;
  --line: #e5e1d8;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 650; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.eyebrow { color: var(--gold); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; margin-bottom: .6rem; }
.muted { color: var(--muted); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }

/* Header */
.site-header { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 20; border-bottom: 1px solid #222; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 92px; }
.site-header .brand { display: inline-flex; align-items: center; }
.site-header .brand img { height: 84px; width: auto; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: #e9e6df; text-decoration: none; font-size: .95rem; }
.nav a:hover { color: var(--gold-2); }
.nav .cta { background: var(--gold); color: var(--ink); padding: 9px 14px; border-radius: 8px; font-weight: 700; }
.nav .cta:hover { background: var(--gold-2); color: var(--ink); }
.nav-toggle { display: none; background: none; border: 1px solid #444; color: #fff; border-radius: 8px; padding: 8px 10px; font-size: 1rem; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 92px; background: var(--ink); flex-direction: column; align-items: stretch; padding: 12px 20px 18px; gap: 14px; border-bottom: 1px solid #222; }
  .nav.open { display: flex; }
}

/* Hero */
.hero { background: radial-gradient(1200px 500px at 80% -10%, #2a2410 0%, var(--ink) 55%); color: #fff; padding: 72px 0 64px; }
.hero .lead { color: #cfcabd; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.btn { display: inline-block; padding: 12px 18px; border-radius: 10px; text-decoration: none; font-weight: 700; border: 1px solid transparent; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost { border-color: #555; color: #fff; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2b2f; }
.hero .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip { font-size: .8rem; color: #e3dfd5; border: 1px solid #3a3a3a; border-radius: 999px; padding: 5px 11px; }

/* Sections */
section { padding: 64px 0; }
section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.dark { background: var(--ink); color: #fff; }
section.dark .muted, section.dark .lead { color: #c9c5bb; }
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.card .icon { width: 40px; height: 40px; color: var(--gold); margin-bottom: 12px; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--gold); }
.card ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); font-size: .95rem; }
.dark .card { background: var(--ink-2); border-color: #2a2a2a; }
.dark .card ul { color: #bdb8ad; }

.zones { display: flex; flex-wrap: wrap; gap: 10px; }
.zones span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: .95rem; }
.dark .zones span { background: #1d1e22; border-color: #333; }

.projects { columns: 2; column-gap: 28px; padding-left: 18px; color: var(--muted); }
@media (max-width: 600px) { .projects { columns: 1; } }
.brands { display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 600; color: var(--muted); }

.steps { counter-reset: s; display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); display: block; color: var(--gold); font-weight: 800; font-size: 1.4rem; margin-bottom: 6px; }

details { border-bottom: 1px solid var(--line); padding: 12px 0; }
summary { cursor: pointer; font-weight: 650; }
details p { margin: 8px 0 0; color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
@media (max-width: 800px) { .contact { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.contact-list a { color: #fff; text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--gold-2); }
.contact-list small { display: block; color: #a9a49a; font-weight: 400; }
.form { background: var(--ink-2); border: 1px solid #2a2a2a; border-radius: 14px; padding: 20px; display: grid; gap: 12px; }
.form label { font-size: .85rem; color: #cfcabd; display: grid; gap: 6px; }
.form input, .form select, .form textarea { width: 100%; background: #0f1012; color: #fff; border: 1px solid #333; border-radius: 8px; padding: 10px 12px; font: inherit; }
.form textarea { min-height: 100px; resize: vertical; }

/* Footer */
.site-footer { background: #070708; color: #a9a49a; padding: 34px 0; font-size: .9rem; border-top: 1px solid #1d1d1d; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
.site-footer a { color: #d5d0c5; text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 14px; }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 18px; bottom: 18px; background: #25d366; color: #fff; border-radius: 999px; padding: 12px 16px; font-weight: 700; text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,.25); display: flex; align-items: center; gap: 8px; z-index: 30; }
.wa-float svg { width: 20px; height: 20px; }

/* Páginas internas */
.page-hero { background: var(--ink); color: #fff; padding: 56px 0 44px; }
.page-hero .lead { color: #cfcabd; }
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 20px; }
.breadcrumb { font-size: .85rem; color: #a9a49a; margin-bottom: 10px; }
.breadcrumb a { color: #d5d0c5; text-decoration: none; }

/* Imágenes de servicio y galería de obra */
.hero.has-photo { position: relative; overflow: hidden; background: var(--ink); }
.hero.has-photo .wrap { position: relative; z-index: 1; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,11,12,.92) 0%, rgba(11,11,12,.75) 45%, rgba(11,11,12,.25) 100%); }
.hero.has-photo .wrap { z-index: 2; }
.card.has-photo { padding: 0; overflow: hidden; }
.card.has-photo img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.card.has-photo .body { padding: 20px 22px 22px; }
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.gallery figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery figcaption { font-size: .72rem; color: var(--muted); padding: 6px 8px; line-height: 1.3; }
.gallery .tall img { object-position: top; }
.brand-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; align-items: center; }
@media (max-width: 900px) { .brand-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .brand-strip { grid-template-columns: repeat(2, 1fr); } }
.brand-strip .brand { background: #fff; border: 1px solid var(--line); border-radius: 12px; height: 72px; display: flex; align-items: center; justify-content: center; padding: 10px 14px; }
.brand-strip .brand img { max-height: 36px; width: auto; max-width: 100%; filter: grayscale(1); opacity: .8; transition: .2s; }
.brand-strip .brand:hover img { filter: none; opacity: 1; }
.brand-strip .wordmark { font-weight: 800; letter-spacing: .08em; color: #3a3b40; font-size: 1.05rem; text-transform: uppercase; }
.brand-strip .wordmark.serif { font-family: Georgia, "Times New Roman", serif; letter-spacing: .02em; text-transform: none; font-weight: 700; }
.brand-strip .wordmark.light { font-weight: 400; letter-spacing: .3em; }
.brand-strip .wordmark small { display: block; font-size: .6rem; letter-spacing: .2em; font-weight: 600; color: var(--muted); text-align: center; }

.page-hero.has-photo { position: relative; overflow: hidden; }
.page-hero.has-photo .hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.page-hero.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,11,12,.94) 0%, rgba(11,11,12,.8) 50%, rgba(11,11,12,.35) 100%); }
.page-hero.has-photo .wrap { position: relative; z-index: 2; }
