:root {
  --navy: #071b33;
  --navy-2: #0a2948;
  --blue: #087dcc;
  --blue-bright: #12a4ed;
  --green: #67bf2f;
  --green-dark: #3d9720;
  --ink: #14233a;
  --muted: #64748b;
  --line: #dfe7ee;
  --soft: #f3f7fa;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(7, 27, 51, .13);
  --container: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--white); font-family: Inter, "Segoe UI", Arial, sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: var(--container); margin-inline: auto; }
.section { padding: 112px 0; }
.skip-link { position: fixed; z-index: 999; top: 10px; left: 10px; transform: translateY(-150%); padding: 10px 16px; border-radius: 8px; background: var(--white); color: var(--navy); }
.skip-link:focus { transform: none; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; color: var(--white); transition: background .25s, box-shadow .25s; }
.site-header.scrolled, .site-header.menu-visible { background: rgba(7, 27, 51, .97); box-shadow: 0 8px 30px rgba(0,0,0,.14); }
.nav-shell { width: min(1340px, calc(100% - 40px)); height: 112px; display: flex; align-items: center; justify-content: space-between; margin: auto; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 210px; }
.brand img { width: 96px; height: 96px; padding: 3px; border-radius: 10px; background: #fff; object-fit: contain; box-shadow: 0 5px 18px rgba(0,0,0,.18); }
.brand span { display: flex; flex-direction: column; line-height: 1.05; }
.brand strong { font-size: 1.18rem; letter-spacing: .15em; }
.brand small { margin-top: 5px; font-size: .58rem; letter-spacing: .08em; opacity: .72; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: clamp(17px, 2vw, 30px); font-size: .88rem; font-weight: 650; }
.main-nav > a:not(.nav-cta) { position: relative; padding: 45px 0 42px; }
.main-nav > a:not(.nav-cta)::after { position: absolute; content: ""; left: 0; bottom: 32px; width: 0; height: 2px; background: var(--green); transition: width .2s; }
.main-nav > a:hover::after, .main-nav > a.active::after { width: 100%; }
.nav-cta { padding: 10px 18px; border: 1px solid rgba(255,255,255,.45); border-radius: 99px; transition: background .2s, border .2s; }
.nav-cta:hover { background: var(--green); border-color: var(--green); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px auto; background: var(--white); transition: .2s; }

.hero { position: relative; min-height: 820px; height: 100svh; max-height: 1040px; display: flex; align-items: center; color: var(--white); overflow: hidden; }
.hero-media { position: absolute; inset: 0; background: url("assets/web/hero-house.webp") center 56% / cover no-repeat; transform: scale(1.015); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,18,35,.94) 0%, rgba(5,27,49,.79) 39%, rgba(4,22,39,.2) 70%, rgba(4,22,39,.1) 100%), linear-gradient(0deg, rgba(4,19,35,.55), transparent 45%); }
.hero-content { position: relative; z-index: 2; padding-top: 65px; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 20px; color: var(--blue); font-size: .73rem; line-height: 1.3; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 34px; height: 2px; background: var(--green); }
.eyebrow.light { color: rgba(255,255,255,.75); }
.hero h1, .section-heading h2, .about-copy h2, .contact-copy h2 { margin: 0; color: var(--navy); font-size: clamp(2.55rem, 5.1vw, 5.2rem); line-height: .98; letter-spacing: -.048em; }
.hero h1 { max-width: 760px; color: var(--white); font-size: clamp(3.6rem, 7.4vw, 7.25rem); }
.hero h1 em { color: var(--green); font-style: normal; }
.hero-lead { max-width: 680px; margin: 30px 0 12px; font-size: clamp(1.22rem, 2vw, 1.65rem); line-height: 1.32; font-weight: 650; }
.hero-copy { max-width: 620px; margin: 0; color: rgba(255,255,255,.72); font-size: 1.02rem; }
.hero-actions { display: flex; gap: 14px; margin-top: 35px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 8px; font-size: .88rem; font-weight: 800; transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--green); color: #09221a; box-shadow: 0 13px 28px rgba(64,151,32,.27); }
.button-primary:hover { background: #79d43b; box-shadow: 0 16px 34px rgba(64,151,32,.38); }
.button-primary svg { width: 19px; fill: currentColor; }
.button-ghost { border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.06); backdrop-filter: blur(5px); color: var(--white); }
.button-ghost:hover { background: rgba(255,255,255,.13); }
.hero-trust { position: absolute; z-index: 3; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3, minmax(160px, 215px)); padding: 23px 36px; background: rgba(255,255,255,.96); color: var(--navy); box-shadow: -18px -12px 50px rgba(4,19,35,.18); }
.hero-trust div { padding: 0 24px; border-left: 1px solid var(--line); }
.hero-trust div:first-child { border-left: 0; }
.hero-trust strong, .hero-trust span { display: block; }
.hero-trust strong { font-size: .92rem; }
.hero-trust span { color: var(--muted); font-size: .72rem; }

.section-heading { margin-bottom: 58px; }
.section-heading.centered { max-width: 760px; margin-inline: auto; text-align: center; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading h2, .about-copy h2, .contact-copy h2 { font-size: clamp(2.45rem, 4.2vw, 4.25rem); }
.section-heading > p:last-child { max-width: 625px; margin: 22px auto 0; color: var(--muted); }
.section-heading.split { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 70px; }
.section-heading.split > p { margin: 0 0 5px; color: var(--muted); }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar { position: relative; padding: 36px 34px 34px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s, border .25s; }
.pillar::before { position: absolute; content: ""; inset: auto 0 0; height: 4px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.pillar:hover { transform: translateY(-7px); border-color: transparent; box-shadow: var(--shadow); }
.pillar:hover::before { transform: scaleX(1); }
.pillar-smart::before { background: var(--blue-bright); }
.pillar-energy::before { background: var(--green); }
.pillar-number { position: absolute; top: 24px; right: 27px; color: #dce6ed; font-size: 2.4rem; font-weight: 850; }
.pillar-icon { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 14px; background: #eaf6ff; color: var(--blue); }
.pillar-icon svg { width: 34px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pillar-energy .pillar-icon { background: #eef9e8; color: var(--green-dark); }
.card-label { margin: 27px 0 5px; color: var(--blue); font-size: .68rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.pillar-energy .card-label { color: var(--green-dark); }
.pillar h3, .solution-card h3, .process-grid h3 { margin: 0; color: var(--navy); font-size: 1.4rem; line-height: 1.25; }
.pillar > p:not(.card-label) { min-height: 78px; color: var(--muted); font-size: .92rem; }
.pillar > a, .solution-body a { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-size: .82rem; font-weight: 800; }
.pillar > a span, .solution-body a span { color: var(--green-dark); font-size: 1.1rem; transition: transform .2s; }
.pillar > a:hover span, .solution-body a:hover span { transform: translateX(4px); }

.solutions { background: var(--soft); }
.filter-bar { display: flex; gap: 9px; margin: -18px 0 30px; }
.filter { padding: 9px 18px; border: 1px solid #cedbe4; border-radius: 99px; background: transparent; color: var(--muted); font-size: .78rem; font-weight: 750; cursor: pointer; }
.filter:hover, .filter.active { border-color: var(--navy); background: var(--navy); color: var(--white); }
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.solution-card { display: flex; flex-direction: column; border: 1px solid #e0e8ee; border-radius: 15px; background: var(--white); overflow: hidden; box-shadow: 0 10px 34px rgba(7,27,51,.05); transition: transform .25s, box-shadow .25s; }
.solution-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.solution-card[hidden] { display: none; }
.solution-image { position: relative; aspect-ratio: 1.45; overflow: hidden; background: #dce4e9; }
.solution-image::after { position: absolute; content: ""; inset: 55% 0 0; background: linear-gradient(transparent, rgba(5,23,41,.45)); }
.solution-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.solution-card:hover img { transform: scale(1.045); }
.solution-image > span { position: absolute; z-index: 1; left: 17px; bottom: 15px; padding: 5px 10px; border-radius: 5px; background: rgba(255,255,255,.92); color: var(--navy); font-size: .61rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.solution-body { display: flex; flex: 1; flex-direction: column; padding: 23px 23px 25px; }
.solution-body p { flex: 1; margin: 10px 0 20px; color: var(--muted); font-size: .86rem; line-height: 1.65; }
.solution-body a { padding-top: 17px; border-top: 1px solid #e8edf1; }

.about { overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(55px, 8vw, 110px); }
.about-visual { position: relative; min-height: 580px; border-radius: 0 var(--radius) var(--radius) 0; }
.about-visual::before { position: absolute; content: ""; z-index: -1; top: -36px; right: 60px; width: 165px; height: 165px; border: 25px solid #edf7e8; border-radius: 50%; }
.about-visual::after { position: absolute; content: ""; z-index: -1; left: -100vw; right: 22%; top: 50px; bottom: -40px; background: var(--soft); }
.about-visual > img { width: 100%; height: 580px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-badge { position: absolute; right: -40px; bottom: 44px; width: 170px; height: 170px; display: grid; align-content: center; justify-content: center; border: 8px solid var(--white); border-radius: 50%; background: var(--green); color: #0b2a20; box-shadow: 0 14px 35px rgba(39,109,17,.26); text-align: center; }
.about-badge span { font-size: 2.5rem; line-height: 1; font-weight: 900; }
.about-badge small { margin-top: 7px; font-size: .7rem; line-height: 1.3; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.about-copy .large { margin: 25px 0 32px; color: var(--muted); font-size: 1.04rem; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 25px; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li > span { flex: 0 0 26px; height: 26px; display: grid; place-items: center; margin-top: 2px; border-radius: 50%; background: #e9f7e3; color: var(--green-dark); font-size: .75rem; font-weight: 900; }
.check-list strong, .check-list small { display: block; }
.check-list strong { color: var(--navy); font-size: .87rem; }
.check-list small { margin-top: 3px; color: var(--muted); font-size: .74rem; line-height: 1.4; }

.process { position: relative; background: var(--navy); color: var(--white); overflow: hidden; }
.process::after { position: absolute; content: "360"; right: -30px; bottom: -130px; color: rgba(255,255,255,.025); font-size: 25rem; line-height: 1; font-weight: 900; }
.inverse h2 { color: var(--white); }
.process-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.process-grid li { position: relative; padding: 20px 35px 10px; border-left: 1px solid rgba(255,255,255,.15); }
.process-grid li:first-child { border-left: 0; }
.process-grid li > span { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 25px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; color: var(--green); font-size: .78rem; font-weight: 850; }
.process-grid h3 { color: var(--white); font-size: 1.22rem; }
.process-grid p { margin-bottom: 0; color: rgba(255,255,255,.62); font-size: .84rem; }

.contact { background: linear-gradient(120deg, #eff5f8 0%, #f8fafb 55%, #edf8e8 100%); }
.contact-shell { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(45px, 8vw, 105px); }
.contact-copy p:not(.eyebrow) { max-width: 600px; margin: 25px 0 30px; color: var(--muted); }
.contact-card { padding: 18px 35px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); font-style: normal; }
.contact-card > a, .contact-card > div { display: flex; gap: 17px; align-items: center; padding: 19px 0; border-bottom: 1px solid var(--line); }
.contact-card > *:last-child { border-bottom: 0; }
.contact-card a:hover strong { color: var(--blue); }
.contact-icon { flex: 0 0 41px; height: 41px; display: grid; place-items: center; border-radius: 10px; background: #edf7fb; color: var(--blue); font-size: 1.15rem; font-weight: 800; }
.contact-card small, .contact-card strong { display: block; }
.contact-card small { color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-card strong { margin-top: 2px; color: var(--navy); font-size: .95rem; transition: color .2s; }

.site-footer { background: #041426; color: var(--white); }
.footer-main { display: grid; grid-template-columns: 1fr 1.2fr .9fr; align-items: center; gap: 55px; padding-block: 55px; }
.footer-brand img { width: 86px; height: 86px; }
.footer-main > p { margin: 0; color: rgba(255,255,255,.55); font-size: .82rem; }
.footer-main nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 30px; font-size: .78rem; font-weight: 650; }
.footer-main nav a:hover { color: var(--green); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-block: 19px; border-top: 1px solid rgba(255,255,255,.11); color: rgba(255,255,255,.4); font-size: .7rem; }
.footer-bottom button { padding: 0 0 0 22px; border: 0; background: transparent; color: inherit; cursor: pointer; }
.footer-bottom button:hover { color: var(--white); }
.floating-whatsapp { position: fixed; z-index: 80; right: 24px; bottom: 24px; width: 56px; height: 56px; display: grid; place-items: center; border: 3px solid var(--white); border-radius: 50%; background: var(--green); color: #0c2d20; box-shadow: 0 10px 30px rgba(24,92,18,.35); transition: transform .2s; }
.floating-whatsapp:hover { transform: translateY(-4px) scale(1.04); }
.floating-whatsapp svg { width: 27px; fill: currentColor; }

.legal-modal { width: min(620px, calc(100% - 30px)); max-height: 80vh; padding: 35px; border: 0; border-radius: 16px; color: var(--ink); box-shadow: 0 30px 100px rgba(0,0,0,.28); }
.legal-modal::backdrop { background: rgba(3,16,30,.72); backdrop-filter: blur(4px); }
.legal-modal h2 { margin: 0 0 15px; color: var(--navy); }
.legal-modal p, .legal-modal li { color: var(--muted); font-size: .88rem; }
.legal-modal .placeholder-note { padding: 12px 15px; border-left: 3px solid var(--green); background: #f1f8ed; color: #335b26; }
.modal-close { position: absolute; top: 12px; right: 15px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--soft); color: var(--navy); font-size: 1.4rem; cursor: pointer; }

@media (max-width: 1060px) {
  .main-nav { gap: 15px; font-size: .78rem; }
  .nav-cta { display: none; }
  .hero-trust { grid-template-columns: repeat(3, 170px); padding-inline: 20px; }
  .hero-trust div { padding-inline: 16px; }
}

@media (max-width: 860px) {
  .section { padding: 84px 0; }
  .menu-toggle { display: block; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { position: fixed; top: 112px; left: 0; right: 0; height: calc(100vh - 112px); display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 25px 30px; background: var(--navy); transform: translateX(100%); transition: transform .3s; }
  .main-nav.open { transform: none; }
  .main-nav > a:not(.nav-cta) { padding: 17px 5px; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 1.05rem; }
  .main-nav > a:not(.nav-cta)::after { display: none; }
  .nav-cta { display: inline-flex; justify-content: center; margin-top: 25px; }
  .hero { min-height: 760px; max-height: 900px; }
  .hero-content { padding-top: 30px; }
  .hero-trust { display: none; }
  .pillar-grid, .solution-grid { grid-template-columns: 1fr 1fr; }
  .pillar-energy { grid-column: 1 / -1; }
  .section-heading.split { grid-template-columns: 1fr; gap: 25px; }
  .about-grid, .contact-shell { grid-template-columns: 1fr; }
  .about-visual { max-width: 630px; min-height: 470px; }
  .about-visual > img { height: 470px; }
  .about-badge { right: -20px; width: 145px; height: 145px; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 35px 0; }
  .process-grid li:nth-child(3) { border-left: 0; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main nav { grid-column: 1 / -1; }
}

@media (max-width: 570px) {
  :root { --container: min(1180px, calc(100% - 28px)); --radius: 15px; }
  html { scroll-padding-top: 70px; }
  .section { padding: 68px 0; }
  .nav-shell { width: calc(100% - 24px); height: 70px; }
  .brand img { width: 47px; height: 47px; }
  .brand strong { font-size: 1rem; }
  .brand small { display: none; }
  .main-nav { top: 70px; height: calc(100vh - 70px); }
  .hero { min-height: 700px; height: 100svh; max-height: 820px; }
  .hero-media { background-position: 63% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(3,18,35,.94), rgba(5,27,49,.64)), linear-gradient(0deg, rgba(4,19,35,.65), transparent); }
  .hero-content { padding-top: 42px; }
  .hero h1 { font-size: clamp(3rem, 13vw, 3.35rem); }
  .hero h1 .mobile-break { display: block; }
  .hero-lead { margin-top: 24px; font-size: 1.16rem; }
  .hero-copy { font-size: .91rem; }
  .hero-actions { flex-direction: column; align-items: stretch; margin-top: 28px; }
  .button { width: 100%; }
  .section-heading { margin-bottom: 40px; }
  .section-heading h2, .about-copy h2, .contact-copy h2 { font-size: 2.5rem; }
  .pillar-grid, .solution-grid { grid-template-columns: 1fr; }
  .pillar-energy { grid-column: auto; }
  .pillar { padding: 29px 26px; }
  .pillar > p:not(.card-label) { min-height: auto; }
  .filter-bar { max-width: 100%; margin-top: -10px; padding-bottom: 4px; overflow-x: auto; }
  .filter { flex: 0 0 auto; }
  .solution-grid { gap: 17px; }
  .about-grid { gap: 57px; }
  .about-visual { min-height: 370px; }
  .about-visual > img { height: 370px; }
  .about-badge { right: -3px; bottom: -35px; width: 120px; height: 120px; border-width: 6px; }
  .about-badge span { font-size: 2rem; }
  .check-list { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; gap: 0; }
  .process-grid li, .process-grid li:nth-child(3) { padding: 20px 0 25px 65px; border-left: 0; border-top: 1px solid rgba(255,255,255,.13); }
  .process-grid li > span { position: absolute; top: 20px; left: 0; width: 42px; height: 42px; margin: 0; }
  .contact-card { padding: 12px 20px; }
  .contact-card > a, .contact-card > div { padding: 15px 0; }
  .footer-main { grid-template-columns: 1fr; gap: 25px; }
  .footer-main nav { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 12px; }
  .footer-bottom button { padding: 0 20px 0 0; }
  .floating-whatsapp { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}






