:root {
  --ink: #102235;
  --muted: #5d6b79;
  --line: #d9e2e6;
  --paper: #ffffff;
  --soft: #f4f8f6;
  --solar: #f7a600;
  --solar-deep: #e66f00;
  --blue: #00618f;
  --green: #27815a;
  --dark: #081926;
  --shadow: 0 18px 48px rgba(8, 25, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 226, 230, 0.8);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 188px;
  height: 48px;
  max-width: 188px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #263849;
  font-size: 0.95rem;
}

.nav-links a {
  padding: 8px 0;
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 0;
}

.nav-dropdown > a {
  padding: 0;
}

.nav-dropdown > a::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: -18px;
  z-index: 80;
  min-width: 270px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 11px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 760;
}

.dropdown-menu a:hover {
  background: var(--soft);
  color: var(--blue);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 1.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 750;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #111b20;
  background: linear-gradient(135deg, #ffd35a, var(--solar));
  box-shadow: 0 12px 26px rgba(247, 166, 0, 0.25);
}

.button-dark {
  color: #fff;
  background: var(--ink);
}

.button-ghost {
  color: var(--ink);
  border-color: rgba(16, 34, 53, 0.18);
  background: rgba(255, 255, 255, 0.86);
}

.button-whatsapp {
  color: #fff;
  background: var(--green);
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: stretch;
  color: #fff;
  overflow: hidden;
  background: #0c2435;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 24%, rgba(247, 166, 0, 0.24), transparent 28%),
    linear-gradient(90deg, rgba(8, 25, 38, 0.96), rgba(8, 25, 38, 0.78) 42%, rgba(8, 25, 38, 0.18)),
    url("assets/brand/solar-panels-generic.jpg") center/cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 190px;
  background: linear-gradient(180deg, transparent, rgba(8, 25, 38, 0.84));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 104px 0 86px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 48px;
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #fff7db;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  font-weight: 700;
}

.hero h1,
.page-hero h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(2.65rem, 6vw, 5.35rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero p {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.22rem;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.proof-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 48px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
}

.metric {
  min-height: 112px;
  padding: 20px;
  background: rgba(8, 25, 38, 0.34);
}

.metric strong {
  display: block;
  color: #fff;
  font-size: 1.7rem;
}

.metric span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

.quote-panel {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.quote-panel h2 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.quote-panel p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.98rem;
}

.panel-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
}

.panel-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  color: #263849;
  font-weight: 700;
}

.panel-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 9px;
  border-radius: 999px;
  background: var(--solar);
}

.quick-form {
  display: grid;
  gap: 10px;
}

input,
textarea,
select {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

input[type="file"] {
  min-height: auto;
  padding: 10px 0 0;
  border: 0;
  background: transparent;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.file-field {
  width: 100%;
  min-height: 64px;
  padding: 12px 13px;
  border: 1px dashed rgba(16, 34, 53, 0.28);
  border-radius: 8px;
  background: #fff;
}

.file-field span {
  display: block;
  color: var(--ink);
  font-weight: 800;
}

.section {
  padding: 86px 0;
}

.proof-ribbon {
  position: relative;
  z-index: 2;
  margin-top: -46px;
}

.proof-ribbon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid rgba(217, 226, 230, 0.92);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.proof-ribbon-item {
  min-height: 132px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.proof-ribbon-item:last-child {
  border-right: 0;
}

.proof-ribbon-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1;
}

.proof-ribbon-item span {
  color: var(--muted);
  font-size: 0.94rem;
}

.section-soft {
  background: var(--soft);
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.55fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 38px;
}

.kicker {
  margin: 0 0 8px;
  color: var(--solar-deep);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.3rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.section-heading p,
.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card,
.project-card,
.info-card,
.step,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(16, 34, 53, 0.06);
}

.service-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #00a1c7);
  font-weight: 850;
}

.service-card:nth-child(2) .icon,
.service-card:nth-child(5) .icon {
  background: linear-gradient(135deg, var(--solar), var(--solar-deep));
}

.service-card:nth-child(3) .icon,
.service-card:nth-child(6) .icon {
  background: linear-gradient(135deg, var(--green), #58b17e);
}

.service-card h2,
.service-card h3,
.project-card h2,
.project-card h3,
.info-card h2,
.info-card h3,
.step h2,
.step h3,
.contact-card h2,
.contact-card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  line-height: 1.2;
}

.service-card p,
.project-card p,
.info-card p,
.step p,
.contact-card p {
  margin: 0;
  color: var(--muted);
}

.service-card a {
  margin-top: auto;
  padding-top: 22px;
  color: var(--blue);
  font-weight: 800;
}

.info-card a {
  display: inline-flex;
  width: fit-content;
  margin-top: 18px;
  color: var(--ink);
  font-weight: 850;
  border-bottom: 2px solid var(--solar);
}

.info-card-link {
  position: relative;
  display: block;
  min-height: 100%;
  padding-right: 58px;
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.info-card-link::after {
  content: "→";
  position: absolute;
  right: 22px;
  top: 22px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 170, 0, 0.14);
  color: var(--solar-deep);
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease;
}

.info-card-link:hover,
.info-card-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 170, 0, 0.72);
  box-shadow: 0 18px 42px rgba(16, 34, 53, 0.1);
}

.info-card-link:hover::after,
.info-card-link:focus-visible::after {
  transform: translateX(3px);
  background: rgba(255, 170, 0, 0.24);
}

.info-card-link:focus-visible {
  outline: 3px solid rgba(255, 170, 0, 0.32);
  outline-offset: 3px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.article-card {
  position: relative;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(8, 25, 38, 0.36), rgba(8, 25, 38, 0.92)),
    url("assets/brand/solar-panels-generic.jpg") center/cover;
  box-shadow: 0 16px 40px rgba(16, 34, 53, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.article-card:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(8, 25, 38, 0.32), rgba(8, 25, 38, 0.9)),
    url("assets/brand/solar-panels-grid.png") center/cover;
}

.article-card:nth-child(4) {
  background:
    linear-gradient(180deg, rgba(8, 25, 38, 0.34), rgba(8, 25, 38, 0.9)),
    url("assets/brand/solar-icon.jpg") center/cover;
}

.article-card-featured {
  grid-column: span 2;
  background:
    linear-gradient(180deg, rgba(8, 25, 38, 0.32), rgba(8, 25, 38, 0.92)),
    url("assets/brand/solar-panels-grid.png") center/cover;
}

.article-card::after {
  content: "→";
  position: absolute;
  top: 22px;
  right: 22px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--dark);
  background: var(--solar);
  font-weight: 900;
}

.article-card:hover,
.article-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(16, 34, 53, 0.18);
}

.article-card span {
  width: fit-content;
  color: var(--solar);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-card h2 {
  max-width: 640px;
  margin: 0;
  color: #fff;
  font-size: clamp(1.35rem, 2.1vw, 2.25rem);
  line-height: 1.05;
}

.article-card p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.32fr);
  gap: 42px;
  align-items: start;
}

.article-body {
  max-width: 780px;
}

.article-body h2 {
  margin: 38px 0 12px;
  font-size: clamp(1.45rem, 2.1vw, 2.2rem);
}

.article-body p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.article-callout,
.article-side {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(16, 34, 53, 0.08);
}

.article-callout {
  margin-top: 34px;
  padding: 24px;
  border-left: 4px solid var(--solar);
}

.article-callout strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.1rem;
}

.article-side {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 14px;
  padding: 24px;
}

.article-side h3,
.article-side p {
  margin: 0;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(360px, 0.75fr);
  gap: 48px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(16, 34, 53, 0.06);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 22px;
  color: var(--ink);
  font-weight: 850;
}

.faq-list p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
  line-height: 1.7;
}

.technical-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 211, 90, 0.18), rgba(255, 255, 255, 0)),
    #fff;
}

.technical-panel h3 {
  margin: 0 0 22px;
  font-size: 1.55rem;
}

.technical-panel ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.technical-panel li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.equipment-strip {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(16, 34, 53, 0.06);
}

.equipment-strip > p {
  margin: 0 0 18px;
  color: var(--muted);
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.equipment-item {
  min-height: 132px;
  padding: 18px;
  border: 1px solid rgba(16, 34, 53, 0.12);
  border-radius: 8px;
  background: var(--soft);
}

.equipment-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1rem;
}

.equipment-item span {
  display: block;
  color: var(--muted);
  font-size: 0.94rem;
}

.diagnostic-band {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8, 25, 38, 0.98), rgba(0, 97, 143, 0.82));
}

.diagnostic-band .kicker,
.diagnostic-band h2 {
  color: #fff;
}

.diagnostic-band .lead {
  color: rgba(255, 255, 255, 0.78);
}

.diagnostic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.diagnostic-item {
  min-height: 178px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.diagnostic-item strong {
  display: block;
  margin-bottom: 12px;
  color: #fff;
  font-size: 1.05rem;
}

.diagnostic-item span {
  color: rgba(255, 255, 255, 0.74);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
  gap: 54px;
  align-items: center;
}

.media-frame {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  color: #263849;
}

.check-list li::before {
  content: "✓";
  color: var(--green);
  font-weight: 900;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.step {
  min-height: 210px;
  padding: 22px;
}

.step-number {
  display: block;
  margin-bottom: 34px;
  color: var(--solar-deep);
  font-weight: 900;
  font-size: 0.95rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.projects-filter-section {
  padding-bottom: 0;
}

.project-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 34, 53, 0.08);
}

.project-filter {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--soft);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.project-filter:hover,
.project-filter:focus-visible {
  border-color: var(--solar);
  transform: translateY(-1px);
}

.project-filter.is-active {
  border-color: var(--solar);
  color: var(--dark);
  background: var(--solar);
}

.project-case.is-hidden {
  display: none;
}

.project-card {
  overflow: hidden;
}

.project-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.project-card div {
  padding: 20px;
}

.featured-project {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.featured-project-media {
  min-height: 440px;
  background: var(--soft);
}

.featured-project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-carousel {
  position: relative;
  overflow: hidden;
}

.project-carousel img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.project-carousel img.is-active {
  opacity: 1;
}

.project-carousel-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(7, 28, 42, 0.72);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.project-carousel-control:hover,
.project-carousel-control:focus-visible {
  background: rgba(255, 181, 16, 0.95);
  color: var(--ink);
}

.project-carousel-prev {
  left: 18px;
}

.project-carousel-next {
  right: 18px;
}

.project-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 2;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.project-carousel-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  cursor: pointer;
}

.project-carousel-dot.is-active {
  width: 24px;
  background: var(--sun);
}

.featured-project-body {
  padding: 34px;
}

.featured-project-body h2,
.featured-project-body h3 {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 2.3vw, 2.35rem);
  line-height: 1.06;
}

.featured-project-body p {
  margin: 0 0 18px;
  color: var(--muted);
}

.project-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 22px 0;
}

.project-stat {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.project-stat strong {
  display: block;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.05;
}

.project-stat span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.84rem;
}

.more-projects {
  margin-top: 20px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tag {
  padding: 5px 8px;
  border-radius: 999px;
  color: #18455a;
  background: #e7f4f6;
  font-size: 0.78rem;
  font-weight: 750;
}

.simulator-band {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8, 25, 38, 0.96), rgba(0, 97, 143, 0.84)),
    url("assets/brand/solar-panels-generic.jpg") center/cover;
}

.simulator-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 0.55fr);
  gap: 44px;
  align-items: center;
}

.simulator-band .lead {
  color: rgba(255, 255, 255, 0.78);
}

.mini-calculator {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
}

.result-box {
  margin: 18px 0;
  padding: 18px;
  border-radius: 8px;
  background: #eef8f1;
  color: #153c2b;
}

.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0;
}

.recommendation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0 10px;
}

.result-grid .result-box {
  margin: 0;
}

.recommendation-grid .result-box {
  margin: 0;
  background: #fff8e3;
  color: #4a3300;
}

.result-box strong {
  display: block;
  font-size: 2rem;
  line-height: 1.1;
}

.recommendation-grid .result-box strong {
  font-size: 1.45rem;
}

.simulator-card h2,
.lead-form h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
}

.lead-form {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.lead-form p {
  margin: 0 0 18px;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 0.5fr);
  gap: 34px;
}

.split > .button,
.simulator-layout > .button,
.contact-layout > .button {
  width: fit-content;
  min-width: 180px;
  align-self: center;
  justify-self: start;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-form .full,
.quick-form .full {
  grid-column: 1 / -1;
}

.contact-card {
  padding: 26px;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 20px 0 0;
}

.contact-list a,
.contact-list span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 750;
}

.contact-list a.button-whatsapp {
  justify-content: center;
  color: #fff;
  border-color: var(--green);
  background: var(--green);
}

.site-footer {
  padding: 44px 0;
  color: rgba(255, 255, 255, 0.74);
  background: var(--dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  margin-bottom: 8px;
  color: #fff;
  font-size: 1.85rem;
  font-weight: 900;
  line-height: 1;
}

.footer-brand span {
  color: var(--solar);
}

.footer-brand small {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-hero {
  padding: 84px 0 72px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8, 25, 38, 0.95), rgba(8, 25, 38, 0.66)),
    url("assets/brand/solar-panels-generic.jpg") center/cover;
}

.page-hero p {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.15rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.info-card {
  padding: 24px;
}

.notice {
  padding: 18px;
  border-left: 4px solid var(--solar);
  border-radius: 8px;
  background: #fff7df;
  color: #65410a;
}

.form-message {
  min-height: 24px;
  color: var(--green);
  font-weight: 800;
}

@media (max-width: 980px) {
  .nav-actions .button-ghost {
    display: none;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 14px;
    border-bottom: 1px solid var(--line);
  }

  .nav-dropdown {
    display: block;
    padding: 0;
  }

  .nav-dropdown > a {
    display: block;
    padding: 14px;
    border-bottom: 1px solid var(--line);
  }

  .dropdown-menu {
    position: static;
    display: none;
    min-width: 0;
    padding: 4px 0 8px 14px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    transform: none;
  }

  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown:focus-within .dropdown-menu {
    display: none;
    opacity: 0;
    visibility: hidden;
  }

  .nav-dropdown.is-open .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
  }

  .nav-dropdown.is-open > a::after {
    transform: translateY(2px) rotate(225deg);
  }

  .dropdown-menu a {
    padding: 10px 14px;
    border-bottom: 0;
    color: var(--muted);
    font-size: 0.92rem;
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .hero-content,
  .section-heading,
  .split,
  .simulator-layout,
  .contact-layout,
  .featured-project,
  .article-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 70px 0 58px;
  }

  .featured-project-media,
  .project-carousel {
    min-height: 340px;
  }

  .services-grid,
  .steps,
  .projects-grid,
  .detail-grid,
  .article-grid,
  .proof-ribbon-grid,
  .diagnostic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-card-featured {
    grid-column: span 2;
  }

  .article-side {
    position: static;
  }

}

@media (max-width: 640px) {
  .nav-shell {
    width: min(100% - 24px, 1180px);
  }

  .brand img {
    width: 156px;
    height: 40px;
    max-width: 156px;
  }

  .nav-actions .button-primary {
    display: none;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(8, 25, 38, 0.92), rgba(8, 25, 38, 0.72)),
      url("assets/brand/solar-panels-generic.jpg") center/cover;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.45rem, 14vw, 3.6rem);
  }

  .hero p {
    font-size: 1.05rem;
  }

  .hero-metrics,
  .proof-ribbon-grid,
  .services-grid,
  .steps,
  .projects-grid,
  .detail-grid,
  .article-grid,
  .equipment-grid,
  .diagnostic-grid,
  .project-stats,
  .result-grid,
  .recommendation-grid,
  .contact-form,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .article-card,
  .article-card-featured {
    grid-column: span 1;
  }

  .project-filter-bar {
    gap: 8px;
    padding: 10px;
  }

  .project-filter {
    flex: 1 1 calc(50% - 8px);
    padding: 0 12px;
  }

  .featured-project-media,
  .project-carousel {
    min-height: 280px;
  }

  .project-carousel-control {
    width: 38px;
    height: 38px;
  }

  .project-carousel-prev {
    left: 12px;
  }

  .project-carousel-next {
    right: 12px;
  }

  .proof-ribbon {
    margin-top: 0;
  }

  .proof-ribbon-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-ribbon-item:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 62px 0;
  }

  .quote-panel {
    padding: 20px;
  }

  .button {
    width: 100%;
  }

}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.counter-animating {
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .button,
  .info-card-link,
  .article-card,
  .project-card,
  .project-carousel img {
    transition: none;
  }
}
