@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');

:root { color-scheme:light; --ink:#242424; --red:#c72019; --edge:#e9e5e1; }
* { box-sizing:border-box; }
[hidden] { display:none !important; }
body { margin:0; color:var(--ink); background:#fff; font:1rem/1.55 "DM Sans",system-ui,sans-serif; }
a { color:inherit; text-underline-offset:.22em; }
:focus-visible { outline:2px solid var(--red); outline-offset:4px; }
img { max-width:100%; height:auto; vertical-align:middle; }
.wrap { width:min(100% - 2rem, 70rem); margin-inline:auto; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.bar { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding-block:1.15rem; }
header { position:relative; z-index:2; background:white; }
header img { width:15rem; }
nav { display:flex; gap:clamp(.7rem,2.6vw,2.55rem); flex-wrap:wrap; align-items:center; font-size:.96rem; }
nav a { text-decoration:none; }
nav a:hover, summary:hover { color:var(--red); }
summary { cursor:pointer; }
.products { position:relative; }
.products summary { list-style:none; display:flex; align-items:center; justify-content:space-between; gap:.65rem; }
.products summary::-webkit-details-marker { display:none; }
.products summary::after { content:""; width:.38rem; height:.38rem; border:solid currentColor; border-width:0 1.5px 1.5px 0; transform:rotate(-45deg); flex:none; }
.products > summary::after,.product-menu details[open] > summary::after { transform:rotate(45deg); }
.products[open] > summary { color:var(--red); }
.products > summary { padding-block:.5rem; }
.product-menu { position:absolute; z-index:3; top:calc(100% + .35rem); left:0; width:21rem; max-height:min(72vh,36rem); overflow:auto; overscroll-behavior:contain; padding:.4rem; background:#fff; border:1px solid var(--edge); border-top:2px solid var(--red); box-shadow:0 12px 25px #0002; border-radius:0 0 .45rem .45rem; }
.product-menu ul { list-style:none; margin:0; padding:0; }
.product-menu a,.product-menu summary { padding:.56rem .8rem; border-radius:.25rem; font-size:.9rem; line-height:1.35; }
.product-menu a { display:block; }
.product-menu a:hover,.product-menu summary:hover,.product-menu details[open] > summary { background:#fbf1ef; color:var(--red); }
.product-menu > a { color:var(--red); font-weight:700; border-bottom:1px solid var(--edge); border-radius:0; }
.product-menu details > ul { margin:.15rem 0 .35rem .75rem; padding-left:.35rem; border-left:1px solid var(--edge); }
.showcase { background:#090909; padding:1.9rem 0 2.45rem; }
.showcase-grid { display:grid; grid-template-columns:2.27fr 1fr; gap:clamp(.8rem,2.4vw,2.4rem); align-items:center; }
.slider { position:relative; aspect-ratio:1250/550; background:#141414; }
.slider img,.featured { width:100%; display:block; }
.slider button { position:absolute; top:50%; transform:translateY(-50%); border:0; border-radius:50%; width:2.4rem; height:2.4rem; cursor:pointer; background:#1119; color:white; font-size:2rem; line-height:1; display:grid; place-items:center; padding:0 0 .22rem; }
.slider button:hover { background:#a91d17; }
[data-prev] { left:.6rem; }
[data-next] { right:.6rem; }
.catalog { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1.75rem 1.25rem; padding-block:4rem 3.5rem; }
.category { display:block; border:1px solid var(--edge); border-radius:.45rem; overflow:hidden; text-decoration:none; background:white; transition:box-shadow .2s,border-color .2s; }
.category:hover { border-color:#ce605a; box-shadow:0 6px 20px #0001; color:var(--red); }
.category img { width:100%; aspect-ratio:1.46; object-fit:contain; background:#faf9f8; }
.category span { display:block; padding:.8rem .5rem; text-align:center; font-weight:600; }
h1,h2,h3 { line-height:1.18; }
h1 { font-size:clamp(2.2rem,5vw,4.2rem); letter-spacing:-.045em; margin:.35em 0; }
.button { display:inline-block; padding:.7rem 1.1rem; border-radius:.35rem; background:var(--red); color:#fff; font-weight:700; text-decoration:none; }
.page-heading { padding-block:2rem 1rem; }
.page-heading > a { color:var(--red); }
.content { padding-bottom:3rem; overflow-x:auto; }
.content img { max-height:26rem; object-fit:contain; }
.content table { width:100%; border-collapse:collapse; background:white; }
.table-scroll { overflow-x:auto; margin-block:1rem 2rem; }
th,td { text-align:left; padding:.45rem .7rem; border:1px solid var(--edge); }
tr:first-child { background:#f6f3f1; }
.contact { display:flex; gap:1rem; flex-wrap:wrap; align-items:center; min-height:6rem; }
footer { background:#282828; color:#fff; }
footer .bar { min-height:7rem; flex-wrap:wrap; }
.contact-links { display:flex; gap:.55rem; }
.contact-links a { padding:.5rem .75rem; border:1px solid #ffffff5c; border-radius:.3rem; text-decoration:none; }
.contact-links a:hover { background:#fff; color:#222; }
@media(max-width:760px) {
  header .bar { flex-wrap:wrap; padding-block:.8rem; }
  header img { width:12rem; }
  nav { gap:.6rem 1rem; }
  .products { position:static; }
  .product-menu { top:100%; left:1rem; width:min(21rem,calc(100% - 2rem)); max-height:65vh; }
  .catalog { grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; padding-top:2rem; }
  .showcase { padding-block:1rem; }
}
@media(max-width:390px) {
  .showcase-grid { grid-template-columns:1fr; }
  .featured { display:none; }
}

.catalog-page-heading h1 { margin:.45rem 0 0; padding:.7rem 1rem; background:#080808; color:#fff; text-align:center; font-size:clamp(1.55rem,3vw,2.2rem); letter-spacing:-.02em; }
.catalog-content { color:#354b5f; }
.product-spec { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,2.05fr); gap:clamp(1rem,2vw,2rem); align-items:start; margin:0 0 2.5rem; }
.product-spec-photos { display:grid; gap:.7rem; align-self:center; }
.product-spec-photos figure { margin:0; }
.product-spec-photos img { display:block; width:100%; max-height:21rem; object-fit:contain; }
.product-spec-info { min-width:0; }
.product-spec-info :is(h2,h3,h4) { margin:0 0 1rem; font-size:clamp(1.35rem,2.5vw,2rem); }
.product-spec-info .table-scroll { margin:0; }
.catalog-content th,.catalog-content td { border-color:#dedede; padding:.8rem .9rem; }
.catalog-content th { text-align:center; background:#fafafa; }
.catalog-content tbody tr:first-child { background:white; }
@media(max-width:760px) {
  .product-spec { grid-template-columns:minmax(0,1fr); gap:.75rem; }
  .product-spec-photos { max-width:21rem; width:100%; justify-self:center; }
  .product-spec-photos img { max-height:15rem; }
  .catalog-content th,.catalog-content td { padding:.6rem .65rem; }
}

header nav > a[aria-current="page"] { color:var(--red); box-shadow:0 2px 0 var(--red); padding-block:.5rem; }
.catalog-page-heading { padding-top:clamp(1.25rem,4vw,3rem); }
.client-logos { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); justify-items:center; align-items:center; min-height:14rem; padding:0 0 3.5rem; }
.client-logos img { width:auto; max-width:min(100%,11rem); max-height:9.5rem; }
.contact-form { width:min(100%,43rem); margin:1rem auto 3rem; }
.contact-form p { text-align:center; }
footer { background:#303030; color:#ddd; }
.footer-bar { min-height:12.5rem; display:grid; grid-template-columns:1fr 1fr 1fr; align-items:center; gap:1rem; }
.footer-name { justify-self:end; }
.contact-links a { display:grid; width:3.125rem; height:3.125rem; place-items:center; border:0; padding:0; color:#fff; }
.contact-links a:hover { color:#fff; filter:brightness(.85); }
.contact-links svg { width:1.65rem; height:1.65rem; }
.contact-links .footer-phone { background:#e10b05; }
.contact-links .footer-whatsapp { background:#16833f; }
@media(max-width:600px) {
  .footer-bar { grid-template-columns:1fr; justify-items:center; min-height:0; padding-block:1.5rem; }
  .footer-name { justify-self:center; }
}

.company-grid { display:grid; grid-template-columns:minmax(0, 2fr) minmax(0, 3fr); gap:clamp(1.25rem,4vw,3rem); align-items:start; padding:0 0 3.5rem; color:#354b5f; }
.company-grid h2 { margin:0 0 1rem; font-size:clamp(1.35rem,2.6vw,2rem); }
.company-foundation { padding:clamp(1rem,3vw,1.7rem); background:#faf7f6; border-top:3px solid var(--red); }
.company-foundation h2 { font-size:1.05rem; margin-bottom:.4rem; }
.company-foundation time { display:block; font-size:clamp(1.55rem,3vw,2.45rem); font-weight:700; line-height:1.15; }
.company-grid p { line-height:1.72; margin:0 0 1.15rem; }
.company-foundation p { margin:1rem 0 0; }
.history-tabs { margin:0; min-width:0; padding:0; border:0; }
.history-picker { display:flex; gap:.35rem; }
.history-picker label { position:relative; }
.history-picker input { position:absolute; inset:0; width:100%; height:100%; margin:0; opacity:0; cursor:pointer; }
.history-picker span { display:block; border:1px solid transparent; border-radius:.35rem .35rem 0 0; padding:.65rem 1.1rem; font-weight:700; }
.history-picker input:checked + span { background:#faf7f6; border-color:var(--edge); color:var(--red); }
.history-picker input:focus-visible + span { outline:2px solid var(--red); outline-offset:2px; }
.history-panel { border:1px solid var(--edge); padding:clamp(1rem,3vw,1.75rem); }
.history-panel > :last-child { margin-bottom:0; }
.history-tabs:has(input[value="1"]:checked) [data-part="2"], .history-tabs:has(input[value="2"]:checked) [data-part="1"] { display:none; }
@media(max-width:700px) { .company-grid { grid-template-columns:minmax(0,1fr); } }
