@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,650;12..96,800&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  color-scheme: light;
  --ink: #102a31;
  --muted: #506368;
  --night: #09252e;
  --green: #d8fa70;
  --blue: #d9eeff;
  --yellow: #ffeb9a;
  --teal: #b6eedb;
  --line: #dce6e2;
  --display: 'Bricolage Grotesque', 'Arial', sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font: 400 1rem/1.55 var(--body); }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #1673d5; outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); line-height: 1.01; letter-spacing: -.045em; text-wrap: balance; }
h1 { font-size: clamp(3.15rem, 6.3vw, 6.8rem); font-weight: 800; }
h2 { font-size: clamp(2.55rem, 5.4vw, 5rem); font-weight: 800; }
h3 { font-size: clamp(1.42rem, 2.3vw, 2.05rem); font-weight: 800; }
.wrap { width: min(100% - 2 * clamp(1.25rem, 5vw, 5rem), 1320px); margin-inline: auto; }
.section { padding-block: clamp(4.1rem, 8vw, 7.5rem); }
.visually-hidden, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { z-index: 5; position: absolute; left: .75rem; top: .75rem; background: white; color: var(--ink); padding: .7rem 1rem; }

.header { background: #fff; }
.header-inner { min-height: 88px; display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; padding-block: .5rem; flex: 0 0 auto; }
.brand img { width: 134px; height: auto; }
nav { display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.8rem); }
nav a { font-weight: 700; text-decoration: none; }
nav a:not(.button):hover { text-decoration: underline; text-underline-offset: .38em; }
.menu { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .72rem 1.3rem; border: 1px solid transparent; border-radius: 999px; font-weight: 750; text-decoration: none; transition: background .18s, color .18s, border-color .18s; }
.button-dark { background: var(--night); color: #fff; }
.button-dark:hover { background: #185564; }
.button-lime { color: var(--night); background: var(--green); }
.button-lime:hover { background: #e7ffa3; }
.button-light { color: #fff; border-color: #a5c1c0; }
.button-light:hover { background: #234853; }

.hero { background: var(--night); color: #fff; overflow: hidden; }
.hero-inner { min-height: min(610px, 57vw); display: grid; grid-template-columns: 47% 53%; max-width: 1680px; margin-inline: auto; }
.hero-content { position: relative; z-index: 1; align-self: center; padding: 3.75rem 1.15rem 4.4rem max(clamp(1.25rem, 5vw, 5rem), calc((min(100vw, 1680px) - 1320px) / 2)); }
.eyebrow { font-size: .875rem; letter-spacing: .105em; text-transform: uppercase; font-weight: 750; display: flex; align-items: center; gap: .55rem; margin-bottom: 1.05rem; }
.eyebrow span { display: inline-block; width: 9px; height: 9px; flex: 0 0 9px; background: #56820e; transform: rotate(45deg); border-radius: 1px; }
.hero .eyebrow { color: #d5e2df; }
.hero .eyebrow span { background: var(--green); }
.hero h1 { text-wrap: initial; }
.hero em { color: var(--green); font-style: normal; }
.intro { margin-top: 1.35rem; max-width: 33ch; font-size: clamp(1rem, 1.7vw, 1.25rem); color: #d5e2df; }
.actions { margin-top: 1.75rem; display: flex; gap: .65rem; flex-wrap: wrap; }
.hero-image { position: relative; min-height: 100%; background: #859a9d; isolation: isolate; }
.hero-image::after { content: ''; inset: 0; position: absolute; pointer-events: none; background: linear-gradient(90deg,#09252e 0%,#09252e22 24%,transparent 47%), linear-gradient(0deg,#082a3666,transparent 46%); }
.hero-image img { width: 100%; height: 100%; position: absolute; object-fit: cover; object-position: 52% 58%; }
.sectors { background: var(--green); }
.sector-list { display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; min-height: 70px; gap: .65rem; }
.sector-list span { display: flex; align-items: center; gap: .6rem; font-size: clamp(.875rem, 1.35vw, 1rem); font-weight: 750; }
.sector-list i { width: 11px; height: 11px; display: inline-block; flex: 0 0 11px; border: 2px solid #336b4b; border-radius: 50%; }

.company { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 6vw, 7rem); align-items: end; }
.company-text { max-width: 49ch; color: var(--muted); font-size: clamp(1.04rem, 1.65vw, 1.22rem); }
.company-text p + p { margin-top: .85rem; }
.solutions { background: #f4f8f6; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1.1rem 3rem; margin-bottom: 2rem; }
.section-head > p { max-width: 35ch; color: var(--muted); }

.solution-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: .9rem; }
.service { min-height: 245px; padding: clamp(1.1rem, 2.4vw, 2rem); display: flex; flex-direction: column; align-items: start; border-radius: 1.1rem; }
.lime { background: #e1f7a9; }
.blue { background: var(--blue); }
.yellow { background: var(--yellow); }
.teal { background: var(--teal); }
.service p { margin-top: .75rem; color: #24444a; }
.service-icon { width: 34px; height: 34px; position: relative; display: block; margin-bottom: 1.55rem; color: #193d45; }
.service-icon::before, .service-icon::after { content: ''; position: absolute; }
.solar::before { inset: 7px; border-radius: 50%; border: 2px solid currentColor; }
.solar::after { inset: 0; border-radius: 50%; border: 2px dashed currentColor; }
.electric { background: currentColor; clip-path: polygon(56% 0, 11% 57%, 41% 57%, 35% 100%, 91% 35%, 59% 35%, 67% 0); }
.industrial::before { inset: 4px; border: 2px solid currentColor; border-radius: 6px; background: repeating-linear-gradient(0deg, transparent 0 4px, currentColor 4px 6px, transparent 6px 9px); background-clip: content-box; padding: 5px; }
.industrial::after { height: 2px; width: 34px; background: currentColor; bottom: 0; left: 0; }
.safety { background: currentColor; clip-path: polygon(50% 0%, 89% 16%, 89% 51%, 77% 75%, 50% 100%, 23% 75%, 11% 51%, 11% 16%); }
.safety::after { width: 12px; height: 7px; border: solid var(--teal); border-width: 0 0 2px 2px; transform: rotate(-45deg); top: 12px; left: 11px; }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.filters button { padding: .45rem 1rem; min-height: 44px; background: white; color: var(--ink); border: 1px solid #a9bab5; border-radius: 999px; cursor: pointer; font-weight: 700; }
.filters button:hover { background: #eff7f2; }
.filters button[aria-pressed=true] { background: var(--night); color: #fff; border-color: var(--night); }
.project-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.15rem; }
.project { border: 1px solid var(--line); border-radius: 1.1rem; overflow: hidden; min-width: 0; }
.project img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }
.project[data-category=industria] img { object-position: 50% 62%; }
.project-copy { padding: 1.28rem clamp(1.05rem, 3vw, 2rem) 1.6rem; }
.tag { display: inline-block; border-radius: 999px; padding: .2rem .7rem; margin-bottom: .75rem; font-size: .875rem; font-weight: 750; }
.project-copy p { color: var(--muted); margin-top: .55rem; }
.contact { background: linear-gradient(115deg,#e7f88e,#bdeec4 49%,#a8dfff); }
.contact-inner { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem 3rem; padding-block: clamp(3rem,7vw,6rem); }
.contact-action { display: flex; align-items: flex-start; flex-direction: column; gap: .7rem; }
.email { font-weight: 700; text-underline-offset: .2em; }
.footer { background: var(--night); color: white; }
.footer .wrap { display: flex; justify-content: space-between; gap: .65rem 1rem; flex-wrap: wrap; padding-block: 1.3rem; }
.footer a { text-underline-offset: .25em; }

@media (max-width: 1030px) {
  .hero-inner { grid-template-columns: 50% 50%; }
  .hero-content { padding-block: 3.5rem; }
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .header-inner { min-height: 72px; flex-wrap: wrap; gap: 0 1rem; }
  .brand img { width: 108px; }
  .menu { display: inline-flex; align-items: center; min-height: 44px; padding: .42rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 750; cursor: pointer; }
  nav { width: 100%; flex-wrap: wrap; gap: .55rem 1rem; padding-block: .3rem 1rem; }
  nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .menu:not([hidden])[aria-expanded=false] + nav { display: none; }
  .hero-inner { grid-template-columns: minmax(0,1fr); }
  .hero-content { padding: 2.7rem 1.25rem 2rem; }
  .hero h1 { max-width: 11ch; }
  .hero-image { aspect-ratio: 16/9; min-height: 0; }
  .hero-image::after { background: linear-gradient(180deg,#09252e 0%,transparent 28%); }
  .desktop { display: none; }
  .sector-list { grid-template-columns: repeat(2, 1fr); padding-block: .9rem; }
  .company { grid-template-columns: minmax(0,1fr); }
  .section-head, .contact-inner { flex-direction: column; align-items: flex-start; }
  .project-grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 470px) {
  .solution-grid { grid-template-columns: minmax(0,1fr); }
  .service { min-height: 0; }
  .service h3 br { display: none; }
  .service-icon { margin-bottom: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
