/* ReTIG public website — concrete, charcoal, machinery yellow */
:root {
    --concrete: #E4E5E1;
    --concrete-2: #D5D7D1;
    --charcoal: #23262B;
    --ink: #2E3238;
    --muted: #5C6168;
    --yellow: #F2B705;
    --yellow-dark: #C99600;
    --laterite: #A4482A;
    --white: #FFFFFF;
    --head: 'Archivo', 'Arial Narrow', Arial, sans-serif;
    --body: 'Public Sans', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--concrete); color: var(--ink); font: 400 1rem/1.6 var(--body); }
img { max-width: 100%; display: block; }
a { color: var(--laterite); text-underline-offset: 3px; }
a:hover { color: var(--charcoal); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--head); font-stretch: 125%; color: var(--charcoal); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 6.5vw, 3.9rem); font-weight: 900; }
h2 { font-size: clamp(1.45rem, 3.6vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; font-stretch: 112%; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--yellow); color: var(--charcoal); padding: 8px 14px; z-index: 100; font-weight: 700; }
.skip:focus { top: 8px; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }

/* ---------- header ---------- */
.site-header { background: var(--charcoal); color: var(--white); position: sticky; top: 0; z-index: 50; border-bottom: 4px solid var(--yellow); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 66px; flex-wrap: wrap; }
.brand { flex: 1 1 0; display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; padding: 8px 0; min-width: 0; }
.brand img { flex: 0 0 auto; height: 44px; width: auto; max-width: 120px; object-fit: contain; background: var(--white); padding: 3px; border-radius: 4px; }
.brand > span { display: flex; flex-direction: column; min-width: 0; }
.brand-name { font-family: var(--head); font-stretch: 125%; font-weight: 900; font-size: 1.2rem; line-height: 1.1; }
.brand-tag { font-size: .8rem; color: #B9BDC2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand:hover { color: var(--yellow); }
.menu-btn { background: none; border: 2px solid #4A4F57; color: var(--white); font-size: 1.5rem; line-height: 1; padding: 4px 9px; border-radius: 4px; cursor: pointer; }
.site-nav { display: none; flex-basis: 100%; flex-direction: column; padding: 4px 0 14px; }
.site-nav.open { display: flex; }
.site-nav a { color: #E9EAEC; text-decoration: none; padding: 10px 2px; font-weight: 600; border-bottom: 1px solid #353940; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--yellow); }
.site-nav .nav-call { margin-top: 10px; border: 0; background: var(--yellow); color: var(--charcoal); padding: 10px 14px; border-radius: 4px; text-align: center; }
.site-nav .nav-call:hover { background: var(--white); color: var(--charcoal); }
@media (min-width: 900px) {
    .menu-btn { display: none; }
    .brand { flex: 0 1 auto; }
    .site-nav { display: flex; flex-direction: row; flex-basis: auto; align-items: center; gap: 4px; padding: 0; }
    .site-nav a { border: 0; padding: 8px 12px; }
    .site-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--yellow); }
    .site-nav .nav-call { margin: 0 0 0 10px; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 1rem/1.2 var(--body); padding: 13px 22px; border-radius: 4px; text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-yellow { background: var(--yellow); color: var(--charcoal); border-color: var(--yellow); }
.btn-yellow:hover { background: var(--charcoal); border-color: var(--charcoal); color: var(--yellow); }
.btn-line { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn-line:hover { background: var(--charcoal); color: var(--white); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- hero with the yard price board ---------- */
.hero { padding: 44px 0 52px; }
.hero-grid { display: grid; gap: 34px; align-items: center; }
.hero-text h1 { max-width: 14ch; }
.hero-solo .hero-text h1 { max-width: 18ch; }
@media (min-width: 900px) {
    .hero { padding: 76px 0 84px; }
    .hero-grid { grid-template-columns: 1.25fr 1fr; gap: 56px; }
    .hero-solo { grid-template-columns: 1fr; }
}
.hero-board { display: flex; flex-direction: column; gap: 10px; }
.board { background: var(--yellow); color: var(--charcoal); padding: 22px 22px 18px; border-radius: 6px; border: 3px solid var(--charcoal); box-shadow: 8px 8px 0 var(--charcoal); position: relative; }
.board::before, .board::after { content: ""; position: absolute; top: 12px; width: 10px; height: 10px; border-radius: 50%; background: var(--charcoal); opacity: .75; }
.board::before { left: 12px; }
.board::after { right: 12px; }
.board-title { font-family: var(--head); font-stretch: 125%; font-weight: 900; font-size: 1.5rem; line-height: 1.1; text-align: center; padding-bottom: 12px; border-bottom: 3px solid var(--charcoal); margin-bottom: 4px; }
.board-table { width: 100%; border-collapse: collapse; }
.board-table td { padding: 10px 2px; border-bottom: 2px dashed rgba(35, 38, 43, .35); font-size: 1.05rem; font-weight: 600; }
.board-table td:last-child { text-align: right; font-family: var(--head); font-stretch: 112%; font-weight: 900; font-size: 1.5rem; white-space: nowrap; }
.board-table tr:last-child td { border-bottom: 0; }
.block-size { font-family: var(--head); font-weight: 900; font-size: 1.35rem; }
.board-table-sm td { padding: 7px 2px; font-size: .95rem; }
.board-table-sm td:last-child { font-size: 1.1rem; }
.per { font-family: var(--body); font-size: .8rem; font-weight: 600; }
.board-sub { font-family: var(--head); font-stretch: 125%; font-weight: 800; font-size: 1.1rem; margin-top: 16px; padding-top: 12px; border-top: 3px solid var(--charcoal); }
.board-note { font-size: .82rem; margin-top: 12px; padding-top: 10px; border-top: 2px solid var(--charcoal); }
.board-link { align-self: flex-end; font-weight: 700; color: var(--charcoal); margin-top: 6px; }

/* ---------- bands ---------- */
.band { padding: 48px 0; }
.band-white { background: var(--white); }
.band-dark { background: var(--charcoal); color: #D9DBDE; }
.band-dark h2 { color: var(--white); }
@media (min-width: 900px) { .band { padding: 72px 0; } }
.head-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.head-row h2 { margin: 0; }
.head-row a { font-weight: 700; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.cta-row p { max-width: 56ch; margin: 0; }

/* services list (home) */
.svc-list { list-style: none; margin: 18px 0 0; padding: 0; border-top: 2px solid var(--charcoal); }
.svc-list li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid #B8BBB4; }
.svc-list i { flex: 0 0 auto; font-size: 1.45rem; width: 48px; height: 48px; display: grid; place-items: center; color: var(--white); background: var(--c, var(--charcoal)); border-radius: 4px; }
.svc-list h3 { margin: 2px 0 4px; }
.svc-list p { margin: 0; color: var(--muted); max-width: 70ch; }
@media (min-width: 900px) {
    .svc-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
}

/* project grid */
.proj-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.proj { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--white); border: 1px solid #C9CCC5; border-radius: 4px; overflow: hidden; }
.band-white .proj { background: var(--concrete); border-color: var(--concrete-2); }
.proj:hover { border-color: var(--charcoal); color: var(--ink); }
.proj:hover h3 { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.proj-img { aspect-ratio: 4 / 3; background: var(--concrete-2); display: grid; place-items: center; overflow: hidden; }
.proj-img img { width: 100%; height: 100%; object-fit: cover; }
.proj-img i { font-size: 3rem; color: #9DA19A; }
.proj-body { padding: 14px 16px 16px; }
.proj-body h3 { margin-bottom: 4px; }
.meta { font-size: .88rem; color: var(--muted); margin: 0 0 8px; }
.progress { height: 8px; background: #C9CCC5; border-radius: 2px; overflow: hidden; margin: 6px 0 6px; }
.progress span { display: block; height: 100%; background: var(--yellow); box-shadow: inset -2px 0 0 var(--charcoal); }

/* ---------- inner pages ---------- */
.page-head { background: var(--charcoal); padding: 40px 0 34px; }
.page-head h1 { color: var(--white); margin-bottom: .25em; }
.page-head .lead { color: #B9BDC2; margin: 0; }
.back { display: inline-flex; gap: 6px; color: var(--yellow); text-decoration: none; font-weight: 600; margin-bottom: 14px; }
.back:hover { color: var(--white); }

.svc-detail { display: grid; gap: 0; border-top: 2px solid var(--charcoal); }
.svc-detail article { display: flex; gap: 18px; padding: 26px 0; border-bottom: 1px solid #B8BBB4; border-left: 0; }
.svc-detail article > i { flex: 0 0 auto; width: 58px; height: 58px; display: grid; place-items: center; font-size: 1.7rem; color: var(--white); background: var(--c, var(--charcoal)); border-radius: 4px; }
.svc-detail h2 { font-size: clamp(1.25rem, 3vw, 1.6rem); margin-bottom: 6px; }
.svc-detail p { max-width: 68ch; color: var(--ink); }
.svc-detail a { font-weight: 700; }
.svc-detail article:target { background: var(--white); box-shadow: -16px 0 0 var(--white), 16px 0 0 var(--white); }

.proj-detail { display: grid; gap: 30px; }
@media (min-width: 900px) { .proj-detail { grid-template-columns: 1.7fr 1fr; align-items: start; } }
.main-photo { margin: 0; background: var(--charcoal); border-radius: 4px; overflow: hidden; }
.main-photo img { width: 100%; max-height: 560px; object-fit: contain; margin: 0 auto; }
.main-photo figcaption { color: #D9DBDE; font-size: .9rem; padding: 8px 12px; }
.main-photo figcaption:empty { display: none; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.thumbs button { padding: 0; border: 2px solid transparent; background: none; border-radius: 3px; cursor: pointer; width: 84px; height: 64px; overflow: hidden; }
.thumbs button:hover, .thumbs button:focus-visible { border-color: var(--yellow); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.no-photo { aspect-ratio: 16 / 9; background: var(--concrete-2); display: grid; place-items: center; font-size: 4rem; color: #9DA19A; border-radius: 4px; }
.summary { margin-top: 20px; font-size: 1.05rem; max-width: 70ch; }
.proj-side { background: var(--white); padding: 22px; border-radius: 4px; border-top: 6px solid var(--yellow); }
.big-pct { font-family: var(--head); font-stretch: 125%; font-weight: 900; font-size: 3.4rem; line-height: 1; color: var(--charcoal); }
.proj-side .progress { height: 12px; }
.phases { list-style: none; margin: 16px 0 22px; padding: 0; counter-reset: ph; }
.phases li { counter-increment: ph; display: flex; justify-content: space-between; gap: 10px; padding: 8px 0 8px 32px; border-bottom: 1px solid #E3E4E0; font-size: .93rem; position: relative; }
.phases li::before { content: counter(ph); position: absolute; left: 0; top: 7px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 700; background: var(--concrete); color: var(--muted); }
.phases li span:last-child { color: var(--muted); white-space: nowrap; }
.phases .ph-ongoing::before { background: var(--yellow); color: var(--charcoal); }
.phases .ph-ongoing span:last-child { color: var(--charcoal); font-weight: 700; }
.phases .ph-completed::before { background: var(--charcoal); color: var(--white); content: "✓"; }
.phases .ph-completed span:first-child { color: var(--muted); }
.proj-side .btn { width: 100%; }

.prices-wrap { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .prices-wrap { grid-template-columns: minmax(0, 1.1fr) 1fr; gap: 64px; } }
.prices-wrap .board { max-width: 560px; }
.prices-side p { max-width: 52ch; }

.about-wrap { display: grid; gap: 36px; }
@media (min-width: 900px) { .about-wrap { grid-template-columns: 1.6fr 1fr; gap: 64px; } }
.about-text p { font-size: 1.08rem; max-width: 66ch; }
.about-text p:first-child { font-size: 1.25rem; color: var(--charcoal); }
.about-side { border-top: 2px solid var(--charcoal); padding-top: 14px; }
.about-side h2 { font-size: 1.15rem; margin-top: 18px; }
.about-side ul { padding-left: 18px; margin: 0; }

.contact-wrap { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact-wrap { grid-template-columns: 1.5fr 1fr; gap: 64px; } }
.contact-form { display: grid; gap: 16px; background: var(--white); padding: 22px; border-radius: 4px; }
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; color: var(--charcoal); }
.contact-form input, .contact-form select, .contact-form textarea { font: 400 1rem/1.4 var(--body); color: var(--ink); background: var(--white); border: 2px solid #B8BBB4; border-radius: 4px; padding: 11px 12px; width: 100%; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--charcoal); outline: 3px solid var(--yellow); outline-offset: 0; }
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form .btn { justify-self: start; }
.two { display: grid; gap: 16px; }
@media (min-width: 600px) { .two { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 16px; border-radius: 4px; margin-bottom: 16px; font-weight: 600; }
.notice.ok { background: #DDEFE2; color: #1D5B33; border-left: 6px solid #2E8B4E; }
.notice.err { background: #F6E1DA; color: #7A2E17; border-left: 6px solid var(--laterite); }
.contact-side h2 { font-size: 1.15rem; margin: 22px 0 8px; }
.contact-side h2:first-child { margin-top: 0; }
.big-link { display: block; font-family: var(--head); font-stretch: 115%; font-weight: 800; font-size: 1.5rem; color: var(--charcoal); text-decoration: none; margin-bottom: 6px; }
.big-link:hover { color: var(--laterite); }
.contact-side .btn { margin-top: 8px; }

/* ---------- footer ---------- */
.site-footer { background: #1A1C20; color: #AEB2B8; padding: 44px 0 0; font-size: .93rem; }
.site-footer a { color: #E9EAEC; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer-grid { display: grid; gap: 28px; padding-bottom: 32px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot-name { font-family: var(--head); font-stretch: 125%; font-weight: 900; font-size: 1.35rem; color: var(--white); margin-bottom: 6px; }
.foot-head { font-weight: 700; color: var(--yellow); margin-bottom: 8px; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 16px; padding-bottom: 20px; border-top: 1px solid #33363C; font-size: .85rem; }

.wa-float { position: fixed; right: 16px; bottom: 16px; width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: var(--white); display: grid; place-items: center; font-size: 1.7rem; z-index: 60; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); text-decoration: none; }
.wa-float:hover { color: var(--white); background: #1EB257; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }