:root {
  --color-black: #0b0d10;
  --color-dark: #11161c;
  --color-panel: #171d24;
  --color-soft: #f4f6f8;
  --color-white: #ffffff;
  --color-text: #20242a;
  --color-muted: #67707c;
  --color-line: #d9dee5;
  --color-metal: #aeb7c2;
  --color-orange: #f58220;
  --color-orange-dark: #c75d0b;
  --color-whatsapp: #25d366;
  --color-phone: #1877f2;
  --shadow-soft: 0 18px 50px rgba(7, 10, 14, 0.14);
  --shadow-dark: 0 26px 80px rgba(0, 0, 0, 0.34);
  --radius: 8px;
  --container: 1180px;
  --header-height: 62px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--color-text);
  background: var(--color-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

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

svg,
iframe {
  max-width: 100%;
}

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

button {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

.section--soft {
  background:
    linear-gradient(180deg, rgba(244, 246, 248, 0.96), rgba(255, 255, 255, 0.98));
}

.section--dark {
  color: var(--color-white);
  background:
    linear-gradient(135deg, rgba(245, 130, 32, 0.08), transparent 28%),
    linear-gradient(180deg, #0b0d10, #141a21 62%, #0f1318);
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--color-orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading--left {
  margin-inline: 0;
  text-align: left;
}

.section-heading h2,
.two-column h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(1.78rem, 3vw, 2.75rem);
  line-height: 1.13;
}

.section-heading p:last-child {
  margin: 14px 0 0;
  color: var(--color-muted);
}

.section--dark .section-heading p:last-child {
  color: #c9d1da;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  color: var(--color-white);
  background: rgba(11, 13, 16, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.navbar {
  position: relative;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  font-weight: 900;
}

.logo__image {
  width: min(260px, 30vw);
  height: auto;
  object-fit: contain;
}

.footer-logo__image {
  width: min(340px, 100%);
  height: auto;
  object-fit: contain;
}

.brand-mark {
  position: relative;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--color-white);
  background: linear-gradient(145deg, #222a33, #0d1117);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 10px 24px rgba(245, 130, 32, 0.18);
  font-size: 1.34rem;
  line-height: 1;
}

.brand-mark span {
  position: absolute;
  right: 6px;
  bottom: 5px;
  width: 10px;
  height: 20px;
  background: var(--color-orange);
  clip-path: polygon(56% 0, 100% 0, 66% 44%, 100% 44%, 30% 100%, 48% 55%, 13% 55%);
}

.logo__text,
.footer-logo__text {
  min-width: 0;
  color: var(--color-white);
  white-space: nowrap;
  font-size: 0.92rem;
  line-height: 1.16;
}

.logo__text strong {
  display: block;
  color: var(--color-metal);
  font-size: 0.78rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 9px 10px;
  border-radius: var(--radius);
  color: #d7dde4;
  font-size: 0.78rem;
  font-weight: 850;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-white);
  background: rgba(245, 130, 32, 0.16);
}

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

.header-phone {
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 900;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  background: var(--color-white);
}

.hero {
  position: relative;
  min-height: 670px;
  display: flex;
  align-items: center;
  color: var(--color-white);
  background:
    linear-gradient(90deg, rgba(7, 9, 12, 0.96) 0%, rgba(13, 17, 23, 0.86) 46%, rgba(13, 17, 23, 0.48) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.5)),
    url("img/solar-panel-installation.webp") center / cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 24%, rgba(245, 130, 32, 0.18) 24.2%, transparent 24.8% 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 90px);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: center;
  gap: 46px;
}

.hero h1 {
  margin: 0;
  max-width: 790px;
  font-size: clamp(2.25rem, 5.2vw, 4.75rem);
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.hero__text {
  max-width: 650px;
  margin: 22px 0 0;
  color: #dce3eb;
  font-size: clamp(1rem, 1.8vw, 1.16rem);
}

.hero__slogan {
  display: inline-flex;
  max-width: 100%;
  margin: 22px 0 0;
  padding: 9px 12px;
  border-left: 3px solid var(--color-orange);
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.hero__actions,
.cta-strip__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 900;
  text-align: center;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  filter: brightness(1.04);
  transform: translateY(-2px);
}

.btn--small {
  min-height: 40px;
  padding: 9px 14px;
  font-size: 0.78rem;
}

.btn--primary {
  color: #17110b;
  background: linear-gradient(135deg, var(--color-orange), #ffb15f);
  box-shadow: 0 14px 35px rgba(245, 130, 32, 0.26);
}

.btn--secondary {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn--ghost {
  color: var(--color-white);
  background: rgba(0, 0, 0, 0.24);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn--call {
  color: var(--color-white);
  background: var(--color-phone);
}

.btn--whatsapp {
  color: #07180d;
  background: var(--color-whatsapp);
}

.hero__panel {
  min-height: 350px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
    rgba(12, 16, 22, 0.72);
  box-shadow: var(--shadow-dark);
  backdrop-filter: blur(14px);
}

.hero__visual {
  aspect-ratio: 16 / 10;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.hero-stat,
.quote-card__list {
  margin-inline: 14px;
}

.hero-stat span {
  color: var(--color-orange);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 1;
}

.hero-stat p {
  max-width: 260px;
  margin: 4px 0 28px;
  color: #d6dde6;
  font-weight: 800;
}

.quote-card__list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.quote-card__list li {
  position: relative;
  padding: 14px 14px 14px 36px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 800;
}

.quote-card__list li::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 21px;
  width: 9px;
  height: 9px;
  background: var(--color-orange);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 46px;
  align-items: start;
}

.content-box {
  color: var(--color-muted);
  font-size: 1.02rem;
}

.content-box p:first-child {
  margin-top: 0;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.feature-list span {
  min-width: 0;
  padding: 13px 14px;
  border-left: 3px solid var(--color-orange);
  border-radius: var(--radius);
  color: var(--color-text);
  background: var(--color-soft);
  font-weight: 800;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  background: #161c24;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.service-card:hover {
  border-color: rgba(245, 130, 32, 0.46);
  transform: translateY(-6px);
}

.service-card img {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.service-card__body {
  padding: 22px;
}

.service-card__icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: var(--radius);
  color: #11161c;
  background: var(--color-orange);
  font-weight: 950;
}

.service-card h3 {
  margin: 16px 0 8px;
  font-size: 1.04rem;
  line-height: 1.25;
}

.service-card p {
  margin: 0;
  color: #c9d1da;
}

.service-card__link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--color-orange);
  font-weight: 900;
}

.why-grid,
.process-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

.why-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.why-grid article,
.process-grid article,
.contact-card {
  min-width: 0;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.why-grid article {
  padding: 26px;
}

.why-grid h3,
.contact-card h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.why-grid p {
  margin: 0;
  color: var(--color-muted);
}

.process-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.process-grid article {
  position: relative;
  padding: 22px 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(244, 246, 248, 0.96));
}

.process-grid span {
  display: block;
  color: var(--color-orange);
  font-weight: 950;
}

.process-grid h3 {
  margin: 10px 0 0;
  font-size: 0.88rem;
  line-height: 1.28;
}

.cta-strip {
  padding: 76px 0;
  color: var(--color-white);
  background:
    linear-gradient(120deg, rgba(245, 130, 32, 0.2), transparent 34%),
    linear-gradient(135deg, #0b0d10, #181f27 62%, #0f1318);
}

.cta-strip__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, auto);
  align-items: center;
  gap: 34px;
}

.cta-strip h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.12;
}

.cta-strip p:last-child {
  max-width: 620px;
  margin: 14px 0 0;
  color: #d4dbe3;
}

.cta-strip__actions {
  justify-content: flex-end;
  margin-top: 0;
}

.contact-layout {
  display: grid;
  gap: 28px;
}

.contact-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.contact-card {
  padding: 28px;
}

.contact-card--accent {
  color: var(--color-white);
  background:
    linear-gradient(135deg, rgba(245, 130, 32, 0.2), transparent 34%),
    linear-gradient(145deg, #121820, #0c1015);
  border-color: rgba(255, 255, 255, 0.1);
}

.contact-card--accent p {
  color: #d4dbe3;
}

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

.contact-list li {
  display: grid;
  gap: 3px;
}

.contact-list strong {
  color: var(--color-text);
}

.contact-list span,
.contact-list a {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--color-muted);
}

.contact-list a {
  color: var(--color-orange-dark);
  font-weight: 850;
}

.map-frame {
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-soft);
  box-shadow: var(--shadow-soft);
}

.map-frame iframe {
  width: 100%;
  min-height: 360px;
  display: block;
  border: 0;
}

.floating-actions {
  position: fixed;
  right: max(12px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 110;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floating-btn {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.floating-btn:hover {
  transform: translateY(-2px);
}

.floating-btn img {
  width: 25px;
  height: 25px;
}

.floating-btn--phone {
  background: var(--color-phone);
}

.floating-btn--whatsapp {
  background: var(--color-whatsapp);
}

.site-footer {
  padding: 58px 0 24px;
  color: var(--color-white);
  background: #0b0d10;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(160px, 0.65fr) minmax(190px, 0.8fr) minmax(190px, 0.8fr);
  gap: 30px;
  align-items: start;
}

.footer-brand p {
  max-width: 420px;
  margin: 18px 0 0;
  color: #cbd3dc;
}

.footer-column h3 {
  margin: 0 0 14px;
  color: var(--color-white);
  font-size: 0.98rem;
}

.footer-column ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  color: #cbd3dc;
  list-style: none;
}

.footer-column a {
  color: #cbd3dc;
  overflow-wrap: anywhere;
}

.footer-column a:hover {
  color: var(--color-orange);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd3dc;
}

.footer-bottom p {
  margin: 0;
}

.digital-signature a {
  color: var(--color-orange);
}

@media (max-width: 1120px) {
  .header-actions {
    display: none;
  }

  .process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  :root {
    --header-height: 62px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: calc(var(--header-height) - 2px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: var(--radius);
    background: rgba(11, 13, 16, 0.98);
    box-shadow: var(--shadow-dark);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-link {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    padding: 86px 0 78px;
  }

  .hero__grid,
  .two-column,
  .cta-strip__inner,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero__panel {
    min-height: auto;
  }

  .service-grid,
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-strip__actions {
    justify-content: flex-start;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 60px;
  }

  .container {
    width: min(100% - 24px, var(--container));
  }

  main > .section:not(.hero) > .container,
  .cta-strip > .container,
  .site-footer > .container {
    width: calc(100% - 84px);
    margin-left: 12px;
    margin-right: 72px;
  }

  .site-header .container {
    width: min(100% - 24px, var(--container));
    margin-inline: auto;
  }

  .section {
    padding: 64px 0;
  }

  .logo__text {
    max-width: calc(100vw - 104px);
    white-space: normal;
    font-size: 0.82rem;
  }

  .logo__image {
    width: min(170px, calc(100vw - 108px));
  }

  .logo__text strong {
    font-size: 0.68rem;
  }

  .brand-mark {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .hero {
    padding: 70px 0 62px;
    background-position: 60% center;
  }

  .hero h1 {
    font-size: clamp(2rem, 13vw, 2.78rem);
  }

  .hero__actions,
  .cta-strip__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    padding-inline: 12px;
  }

  .hero__panel,
  .service-card__body,
  .why-grid article,
  .contact-card {
    padding: 20px;
  }

  .feature-list,
  .service-grid,
  .why-grid,
  .process-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .service-card img {
    aspect-ratio: 16 / 10;
  }

  .floating-actions {
    right: 10px;
    bottom: 10px;
    gap: 8px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .floating-btn {
    width: 48px;
    height: 48px;
  }

  .floating-btn img {
    width: 23px;
    height: 23px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 360px) {
  .container {
    width: min(100% - 20px, var(--container));
  }

  .hero__slogan {
    font-size: 0.78rem;
  }

  .logo__text {
    max-width: calc(100vw - 96px);
  }
}
