:root {
  --gold: #f5a623;
  --navy: #001f3f;
  --navy-2: #062b52;
  --green: #4caf50;
  --whatsapp: #25d366;
  --white: #ffffff;
  --paper: #f7f9fc;
  --line: #d9e0ea;
  --muted: #5b677a;
  --ink: #102033;
  --shadow: 0 18px 50px rgba(0, 31, 63, 0.12);
  --shadow-soft: 0 10px 28px rgba(0, 31, 63, 0.08);
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1180px;
  --font-display: "Raleway", Arial, sans-serif;
  --font-body: "Sora", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--muted);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 1rem;
  color: var(--ink);
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.45rem, 7vw, 4.25rem);
}

h2 {
  font-size: clamp(2rem, 4.5vw, 2.7rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

h4 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1.15rem;
}

ul {
  margin: 0;
  padding-left: 1.1rem;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 2000;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius-sm);
  transform: translateY(-140%);
  transition: transform 300ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section--soft {
  background:
    linear-gradient(180deg, rgba(245, 166, 35, 0.06), transparent 34%),
    var(--paper);
}

.section--dark {
  color: rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(circle at 12% 0%, rgba(76, 175, 80, 0.18), transparent 26%),
    linear-gradient(135deg, var(--navy), #04182d);
}

.section--dark h2,
.section--dark h3,
.section--dark strong {
  color: var(--white);
}

.section--dark .eyebrow {
  color: var(--gold);
}

.section__head {
  max-width: 760px;
  margin-bottom: 2.2rem;
}

.section__head p:last-child {
  margin-bottom: 0;
}

.eyebrow {
  margin-bottom: 0.7rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.08rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  line-height: 1.2;
  transition: transform 250ms ease, box-shadow 250ms ease, background 250ms ease, border-color 250ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn:focus-visible,
.nav__link:focus-visible,
.faq-item__question:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid rgba(245, 166, 35, 0.5);
  outline-offset: 3px;
}

.btn--primary {
  color: var(--navy);
  background: var(--gold);
}

.btn--secondary,
.btn--outline {
  color: var(--navy);
  background: var(--white);
  border-color: var(--line);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(217, 224, 234, 0.7);
  transition: box-shadow 250ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 34px rgba(0, 31, 63, 0.1);
}

.header__inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  white-space: nowrap;
}

.brand__mark {
  display: block;
  width: 56px;
  height: auto;
}

.brand__text {
  color: var(--navy);
  font-size: 1.1rem;
}

.nav {
  display: none;
}

.nav__link {
  position: relative;
  padding: 0.6rem 0;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav__link::after {
  position: absolute;
  right: 0;
  bottom: 0.25rem;
  left: 0;
  height: 2px;
  background: var(--green);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms ease;
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}

.header__actions {
  display: none;
}

.menu-toggle {
  display: inline-flex;
  width: 46px;
  height: 46px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 999px;
  transition: transform 250ms ease, opacity 250ms ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  display: flex;
  min-height: calc(100vh - 78px);
  align-items: center;
  background:
    radial-gradient(circle at 78% 18%, rgba(245, 166, 35, 0.25), transparent 24%),
    radial-gradient(circle at 12% 72%, rgba(76, 175, 80, 0.16), transparent 26%),
    linear-gradient(135deg, #ffffff 0%, #f5f9ff 48%, #fff8eb 100%);
}

.hero__grid {
  display: grid;
  align-items: center;
  gap: 2.5rem;
}

.hero__text {
  max-width: 690px;
  color: #3f4f66;
  font-size: 1.08rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.brand-showcase {
  position: relative;
  display: grid;
  min-height: 430px;
  align-content: center;
  justify-items: center;
  overflow: hidden;
  padding: 2rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 249, 252, 0.95));
  border: 1px solid rgba(0, 31, 63, 0.08);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.brand-showcase::before {
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(0, 31, 63, 0.08);
  border-radius: 18px;
  content: "";
}

.brand-showcase img {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
  height: auto;
}

.brand-showcase__line {
  position: relative;
  z-index: 1;
  width: min(260px, 72%);
  height: 3px;
  margin: 1.2rem 0;
  background: linear-gradient(90deg, transparent, var(--gold), var(--green), transparent);
  border-radius: 999px;
}

.brand-showcase__chips {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.brand-showcase__chips span {
  padding: 0.42rem 0.7rem;
  color: var(--navy);
  background: #eef5fb;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}

.metrics {
  padding: clamp(2.8rem, 6vw, 4.5rem) 0;
}

.metrics__grid,
.card-grid,
.feature-grid,
.process-grid,
.resource-grid,
.product-grid {
  display: grid;
  gap: 1rem;
}

.metric {
  min-height: 150px;
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.metric strong {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.12;
}

.metric span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
}

.category-card,
.product-card,
.feature,
.process-card,
.resource-card,
.inquiry-form {
  background: var(--white);
  border: 1px solid rgba(0, 31, 63, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.category-card,
.feature,
.process-card,
.resource-card {
  padding: 1.35rem;
}

.category-card,
.product-card,
.resource-card,
.process-card {
  transition: transform 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}

.category-card:hover,
.product-card:hover,
.resource-card:hover,
.process-card:hover {
  border-color: rgba(245, 166, 35, 0.72);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.card__icon {
  position: relative;
  display: block;
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  background: #fff3dc;
  border: 1px solid rgba(245, 166, 35, 0.34);
  border-radius: 16px;
}

.card__icon::before,
.card__icon::after {
  position: absolute;
  content: "";
}

.card__icon--power::before {
  left: 23px;
  top: 10px;
  width: 10px;
  height: 34px;
  background: var(--gold);
  clip-path: polygon(60% 0, 100% 0, 58% 42%, 100% 42%, 30% 100%, 48% 55%, 0 55%);
}

.card__icon--battery::before {
  left: 13px;
  top: 17px;
  width: 28px;
  height: 22px;
  border: 3px solid var(--green);
  border-radius: 5px;
}

.card__icon--battery::after {
  right: 8px;
  top: 24px;
  width: 5px;
  height: 9px;
  background: var(--green);
  border-radius: 0 3px 3px 0;
}

.card__icon--panel::before {
  left: 10px;
  top: 18px;
  width: 36px;
  height: 23px;
  background: linear-gradient(135deg, var(--navy), #174f88);
  border-radius: 4px;
  transform: skewX(-16deg);
}

.card__icon--trade::before {
  left: 13px;
  top: 15px;
  width: 30px;
  height: 28px;
  border: 3px solid var(--navy);
  border-radius: 5px;
}

.card__icon--trade::after {
  left: 21px;
  top: 9px;
  width: 14px;
  height: 10px;
  border: 3px solid var(--navy);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.category-card a,
.resource-card a {
  color: var(--navy);
  font-weight: 600;
}

.subsection-title {
  margin-top: 2.4rem;
  margin-bottom: 1rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.15rem;
}

.product-card p,
.product-card ul {
  margin-bottom: 0;
}

.product-card .btn {
  margin-top: auto;
}

.badge {
  align-self: flex-start;
  padding: 0.32rem 0.72rem;
  color: var(--navy);
  background: #fff3dc;
  border: 1px solid rgba(245, 166, 35, 0.3);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}

.product-card__visual {
  position: relative;
  min-height: 165px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0, 31, 63, 0.08), rgba(76, 175, 80, 0.1)),
    var(--paper);
  border-radius: var(--radius-sm);
}

.product-card__visual img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center;
}

.product-card__visual::before,
.product-card__visual::after {
  position: absolute;
  content: "";
}

.product-card__visual--inverter::before,
.product-card__visual--outdoor::before {
  left: 50%;
  top: 50%;
  width: 92px;
  height: 112px;
  background: var(--white);
  border: 8px solid var(--navy);
  border-radius: 12px;
  box-shadow: 0 16px 28px rgba(0, 31, 63, 0.18);
  transform: translate(-50%, -50%);
}

.product-card__visual--inverter::after,
.product-card__visual--outdoor::after {
  left: calc(50% - 22px);
  top: calc(50% - 6px);
  width: 44px;
  height: 12px;
  background: var(--green);
  border-radius: 999px;
}

.product-card__visual--battery::before,
.product-card__visual--battery-large::before {
  left: 50%;
  top: 50%;
  width: 120px;
  height: 68px;
  border: 9px solid var(--green);
  border-radius: 13px;
  transform: translate(-50%, -50%);
}

.product-card__visual--battery::after,
.product-card__visual--battery-large::after {
  left: calc(50% + 63px);
  top: calc(50% - 13px);
  width: 12px;
  height: 26px;
  background: var(--green);
  border-radius: 0 6px 6px 0;
}

.product-card__visual--panel::before {
  left: 50%;
  top: 50%;
  width: 160px;
  height: 94px;
  background:
    linear-gradient(90deg, transparent 32%, rgba(255, 255, 255, 0.72) 33%, transparent 34%, transparent 65%, rgba(255, 255, 255, 0.72) 66%, transparent 67%),
    linear-gradient(0deg, transparent 48%, rgba(255, 255, 255, 0.72) 49%, transparent 50%),
    linear-gradient(135deg, var(--navy), #1b5e96);
  border: 8px solid #082744;
  border-radius: 10px;
  transform: translate(-50%, -50%) skewX(-12deg);
}

.about__grid,
.contact {
  display: grid;
  gap: 2rem;
}

.about__features {
  align-content: start;
}

.feature {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.feature h3 {
  font-size: 1.1rem;
}

.process-card span {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--navy);
  background: var(--gold);
  border-radius: 50%;
  font-weight: 700;
}

.faq {
  max-width: 920px;
}

.faq__list {
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-item__question {
  display: flex;
  width: 100%;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  text-align: left;
}

.faq-item__question span {
  flex: 0 0 auto;
  color: var(--green);
  font-size: 1.5rem;
  transition: transform 250ms ease;
}

.faq-item.is-open .faq-item__question span {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease;
}

.faq-item.is-open .faq-item__answer {
  max-height: 420px;
}

.faq-item__answer p {
  padding: 0 1.1rem 1.15rem;
  margin: 0;
}

.contact a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: rgba(245, 166, 35, 0.7);
}

.contact-list {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.35rem;
  padding: 0;
  list-style: none;
}

.location-map {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 30%, rgba(245, 166, 35, 0.26), transparent 22%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
}

.location-map__grid {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 38px 38px;
}

.location-map__road {
  position: absolute;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  box-shadow: inset 0 0 0 2px rgba(0, 31, 63, 0.12);
}

.location-map__road--main {
  left: -10%;
  top: 53%;
  width: 122%;
  height: 26px;
  transform: rotate(-11deg);
}

.location-map__road--main::after {
  position: absolute;
  inset: 11px 0 auto;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 18px, transparent 18px 34px);
  content: "";
}

.location-map__road--cross {
  left: 57%;
  top: -12%;
  width: 24px;
  height: 125%;
  background: rgba(76, 175, 80, 0.78);
  transform: rotate(18deg);
}

.location-map__pin {
  position: absolute;
  left: 50%;
  top: 40%;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  background: var(--white);
  border: 5px solid var(--gold);
  border-radius: 50% 50% 50% 8px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.22);
  transform: translate(-50%, -50%) rotate(-45deg);
}

.location-map__pin span {
  display: block;
  width: 20px;
  height: 20px;
  background: var(--green);
  border-radius: 50%;
  transform: rotate(45deg);
}

.location-map__label {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  padding: 0.95rem 1rem;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.94);
  border-left: 4px solid var(--green);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
}

.location-map__label strong,
.location-map__label span {
  display: block;
}

.location-map__label strong {
  color: var(--navy);
}

.location-map__label span {
  font-size: 0.9rem;
}

.inquiry-form {
  display: grid;
  gap: 0.75rem;
  padding: 1.25rem;
  color: var(--muted);
}

.inquiry-form h3 {
  color: var(--ink);
}

.inquiry-form label {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.75rem 0.85rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.inquiry-form textarea {
  resize: vertical;
}

.inquiry-form .is-invalid {
  border-color: #d92d20;
}

.form-note {
  margin: 0;
  font-size: 0.9rem;
}

[data-captcha-question] {
  color: var(--gold);
  font-weight: 700;
}

.footer {
  padding: 3.5rem 0 1.5rem;
  color: rgba(255, 255, 255, 0.78);
  background: #06172b;
}

.footer .brand {
  width: fit-content;
  margin-bottom: 1rem;
  padding: 0;
  background: transparent;
  border-radius: var(--radius-sm);
}

.footer .brand__text {
  color: var(--white);
}

.footer__grid {
  display: grid;
  gap: 1.5rem;
}

.footer h3 {
  color: var(--white);
  font-size: 1rem;
}

.footer a {
  display: block;
  margin-bottom: 0.55rem;
}

.footer__bottom {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__bottom p {
  margin: 0;
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 3000;
  max-width: min(360px, calc(100vw - 2rem));
  padding: 0.9rem 1rem;
  color: var(--white);
  background: var(--navy);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 250ms ease, transform 250ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0) scale(0.98);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

@media (max-width: 767px) {
  .nav {
    position: fixed;
    top: 78px;
    right: 1rem;
    left: 1rem;
    display: grid;
    max-height: 0;
    overflow: hidden;
    padding: 0 1rem;
    background: var(--white);
    border: 1px solid transparent;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: max-height 250ms ease, padding 250ms ease, border-color 250ms ease;
  }

  .nav.is-open {
    max-height: 420px;
    padding: 0.85rem 1rem;
    border-color: var(--line);
  }

  .nav__link {
    min-height: 44px;
    border-bottom: 1px solid var(--line);
  }

  .nav__link:last-child {
    border-bottom: 0;
  }

  .hero__actions .btn,
  .inquiry-form .btn {
    width: 100%;
  }

  .brand-showcase {
    min-height: 340px;
  }

  .brand-showcase img {
    width: min(100%, 285px);
  }
}

@media (min-width: 640px) {
  .metrics__grid,
  .card-grid,
  .product-grid,
  .process-grid,
  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 768px) {
  .hero__grid,
  .about__grid,
  .contact {
    grid-template-columns: 1fr 1fr;
  }

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

@media (min-width: 1024px) {
  .nav {
    display: flex;
    align-items: center;
    gap: 1.35rem;
  }

  .header__actions {
    display: flex;
    align-items: center;
  }

  .menu-toggle {
    display: none;
  }

  .metrics__grid,
  .card-grid--four,
  .resource-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .product-grid--single {
    grid-template-columns: minmax(0, 0.5fr);
  }

  .footer__grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
  }
}

/* Enhanced visual system */
.section {
  padding: 6rem 0;
}

.container {
  width: min(100% - 4rem, var(--container));
}

h1 {
  max-width: 850px;
  font-size: clamp(2.8rem, 7vw, 4rem);
  line-height: 1.2;
}

h1 span,
.section__head h2 {
  background: linear-gradient(135deg, var(--navy), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section--dark .section__head h2,
.section--dark h2 {
  background: none;
  color: var(--white);
}

.btn {
  min-height: 48px;
  padding: 0.9rem 1.25rem;
  transition: transform 300ms ease, box-shadow 300ms ease, background 300ms ease, color 300ms ease, border-color 300ms ease;
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold), #ffbd45);
  box-shadow: 0 12px 28px rgba(245, 166, 35, 0.25);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  color: var(--white);
  background: var(--navy);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.btn--whatsapp:hover,
.btn--whatsapp:focus-visible {
  background: var(--green);
}

.nav__cta {
  display: none;
}

.hero {
  background:
    radial-gradient(circle at 78% 18%, rgba(245, 166, 35, 0.24), transparent 26%),
    radial-gradient(circle at 16% 78%, rgba(76, 175, 80, 0.13), transparent 28%),
    linear-gradient(135deg, #f7f9fc 0%, #ffffff 42%, #fff4db 100%);
}

.solar-hero {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(245, 247, 250, 0.96));
  border: 1px solid rgba(0, 31, 63, 0.09);
  border-radius: 24px;
  box-shadow: var(--shadow);
  transform: translateZ(0);
}

.solar-hero__sun {
  position: absolute;
  top: 46px;
  right: 58px;
  width: 116px;
  height: 116px;
  background: radial-gradient(circle, #ffd771 0 34%, var(--gold) 35% 68%, rgba(245, 166, 35, 0.25) 69%);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(245, 166, 35, 0.12), 0 0 58px rgba(245, 166, 35, 0.44);
  animation: heroPulse 3s ease-in-out infinite;
}

.solar-hero__orbit {
  position: absolute;
  border: 1px dashed rgba(0, 31, 63, 0.16);
  border-radius: 50%;
}

.solar-hero__orbit--one {
  inset: 54px 70px 76px 58px;
  animation: orbitTurn 16s linear infinite;
}

.solar-hero__orbit--two {
  inset: 105px 110px 118px 96px;
  animation: orbitTurn 22s linear reverse infinite;
}

.solar-hero__panel {
  position: absolute;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  width: 168px;
  height: 96px;
  padding: 9px;
  background: #082744;
  border: 7px solid #061f38;
  border-radius: 10px;
  box-shadow: 0 22px 38px rgba(0, 31, 63, 0.22);
}

.solar-hero__panel span {
  background: linear-gradient(145deg, #123b6f, #1a6aa9);
  border-radius: 3px;
}

.solar-hero__panel--one {
  left: 50px;
  bottom: 88px;
  transform: perspective(620px) rotateX(55deg) rotateZ(-12deg);
  animation: floatPanel 4.8s ease-in-out infinite;
}

.solar-hero__panel--two {
  right: 88px;
  bottom: 86px;
  transform: perspective(620px) rotateX(55deg) rotateZ(10deg);
  animation: floatPanel 5.6s ease-in-out infinite reverse;
}

.solar-hero__device {
  position: absolute;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 1px solid rgba(0, 31, 63, 0.12);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.solar-hero__device--battery {
  left: 58px;
  top: 116px;
  width: 96px;
  height: 120px;
}

.solar-hero__device--battery i {
  width: 48px;
  height: 72px;
  border: 7px solid var(--green);
  border-radius: 8px;
}

.solar-hero__device--battery b {
  position: absolute;
  top: 18px;
  width: 22px;
  height: 7px;
  background: var(--green);
  border-radius: 7px 7px 0 0;
}

.solar-hero__device--inverter {
  left: 50%;
  top: 142px;
  width: 112px;
  height: 138px;
  transform: translateX(-50%);
}

.solar-hero__device--inverter i {
  width: 58px;
  height: 78px;
  border: 8px solid var(--navy);
  border-radius: 10px;
}

.solar-hero__device--inverter b {
  position: absolute;
  width: 44px;
  height: 10px;
  background: var(--gold);
  border-radius: 999px;
}

.solar-hero__flow {
  position: absolute;
  left: 18%;
  right: 18%;
  top: 62%;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--green) 0 20px, transparent 20px 34px);
  border-radius: 999px;
  animation: energyFlow 1.2s linear infinite;
}

.solar-hero__brand {
  position: absolute;
  right: 24px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.8rem;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 31, 63, 0.08);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  font-size: 0.82rem;
  font-weight: 600;
}

.solar-hero__brand img {
  width: 38px;
}

.product-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  border-radius: 16px;
}

.product-card:hover {
  transform: translateY(-10px);
}

.product-card .badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 10px 24px rgba(0, 31, 63, 0.12);
}

.product-card__visual {
  min-height: 0;
  border-radius: 0;
}

.product-card__visual img {
  height: 220px;
  transition: transform 500ms ease;
}

.product-card:hover .product-card__visual img {
  transform: scale(1.045);
}

.product-card h4,
.product-card p,
.product-card ul,
.product-card .btn {
  margin-right: 1.25rem;
  margin-left: 1.25rem;
}

.product-card h4 {
  margin-top: 1.25rem;
  margin-bottom: 0.2rem;
  color: var(--navy);
}

.product-card__subtitle {
  margin-bottom: 0.75rem;
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 600;
}

.product-card ul {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
  padding: 0.85rem 0 0.85rem 1.1rem;
  border-left: 4px solid var(--gold);
  list-style-position: inside;
}

.product-card .btn {
  width: calc(100% - 2.5rem);
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
}

.faq-item__question:hover {
  background: #fff8eb;
}

.faq-item.is-open {
  border-color: rgba(245, 166, 35, 0.65);
}

.inquiry-form {
  border-top: 5px solid var(--gold);
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  padding: 1rem;
  transition: border-color 250ms ease, box-shadow 250ms ease;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.14);
}

.field-error {
  display: none;
  margin-top: -0.45rem;
  color: #c9362b;
  font-size: 0.82rem;
}

.field-error.is-visible {
  display: block;
}

.form-success {
  display: none;
  padding: 0.75rem 0.85rem;
  color: #1f6b2d;
  background: rgba(76, 175, 80, 0.12);
  border: 1px solid rgba(76, 175, 80, 0.28);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.form-success.is-visible {
  display: block;
}

.resource-card {
  position: relative;
  display: flex;
  min-height: 310px;
  flex-direction: column;
  overflow: hidden;
  padding: 1.6rem;
}

.resource-card::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 86% 8%, rgba(245, 166, 35, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(76, 175, 80, 0.08), transparent 44%);
  content: "";
  opacity: 0;
  transition: opacity 300ms ease;
}

.resource-card::after {
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 100px;
  height: 100px;
  background: rgba(245, 166, 35, 0.13);
  border-radius: 50%;
  content: "";
  transform: scale(0.72);
  transition: transform 300ms ease;
}

.resource-card:hover {
  border-color: rgba(245, 166, 35, 0.8);
  box-shadow: 0 24px 58px rgba(0, 31, 63, 0.16);
  transform: translateY(-10px);
}

.resource-card:hover::before {
  opacity: 1;
}

.resource-card:hover::after {
  transform: scale(1.35);
}

.resource-card h3,
.resource-card p,
.resource-card a,
.resource-card__icon {
  position: relative;
  z-index: 1;
}

.resource-card__icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 1.1rem;
  place-items: center;
  background: #fff3dc;
  border: 1px solid rgba(245, 166, 35, 0.38);
  border-radius: 16px;
  transition: transform 300ms ease, background 300ms ease;
}

.resource-card:hover .resource-card__icon {
  background: var(--gold);
  transform: rotate(-5deg) scale(1.08);
}

.resource-card__icon::before,
.resource-card__icon::after {
  position: absolute;
  content: "";
}

.resource-card__icon--inverter::before {
  width: 24px;
  height: 32px;
  border: 4px solid var(--navy);
  border-radius: 6px;
}

.resource-card__icon--inverter::after {
  width: 18px;
  height: 5px;
  background: var(--green);
  border-radius: 999px;
}

.resource-card__icon--battery::before {
  width: 30px;
  height: 22px;
  border: 4px solid var(--green);
  border-radius: 5px;
}

.resource-card__icon--battery::after {
  right: 10px;
  width: 5px;
  height: 10px;
  background: var(--green);
  border-radius: 0 4px 4px 0;
}

.resource-card__icon--panel::before {
  width: 34px;
  height: 24px;
  background: linear-gradient(135deg, var(--navy), #1b5e96);
  border: 4px solid #082744;
  border-radius: 5px;
  transform: skewX(-14deg);
}

.resource-card__icon--bulk::before {
  width: 30px;
  height: 26px;
  border: 4px solid var(--navy);
  border-radius: 6px;
}

.resource-card__icon--bulk::after {
  top: 12px;
  width: 16px;
  height: 10px;
  border: 4px solid var(--navy);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.resource-card h3 {
  font-size: 1.45rem;
}

.resource-card p {
  margin-bottom: 1.4rem;
}

.resource-card__cta {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: auto;
  padding: 0.78rem 1rem;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), #ffbd45);
  border-radius: var(--radius-sm);
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(245, 166, 35, 0.2);
  transition: transform 300ms ease, background 300ms ease, color 300ms ease, box-shadow 300ms ease;
}

.resource-card__cta span {
  transition: transform 300ms ease;
}

.resource-card:hover .resource-card__cta {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 14px 28px rgba(0, 31, 63, 0.18);
}

.resource-card:hover .resource-card__cta span {
  transform: translateX(4px);
}

@keyframes heroPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@keyframes orbitTurn {
  to { transform: rotate(360deg); }
}

@keyframes floatPanel {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}

@keyframes energyFlow {
  to { background-position: 34px 0; }
}

@media (max-width: 767px) {
  .container {
    width: min(100% - 2rem, var(--container));
  }

  .section {
    padding: 3rem 0;
  }

  body.menu-open::before {
    position: fixed;
    inset: 78px 0 0;
    z-index: 900;
    background: rgba(0, 31, 63, 0.38);
    content: "";
  }

  .nav {
    right: 0;
    left: 0;
    z-index: 1001;
    border-radius: 0 0 16px 16px;
  }

  .nav__link {
    padding: 1rem;
    border-left: 4px solid transparent;
    font-weight: 700;
  }

  .nav__link:hover,
  .nav__link.is-active {
    color: var(--navy);
    background: #fff8eb;
    border-left-color: var(--gold);
  }

  .nav__cta {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    margin-top: 0.85rem;
    color: var(--navy);
    background: linear-gradient(135deg, var(--gold), #ffbd45);
    border-radius: var(--radius-sm);
    font-weight: 700;
  }

  .solar-hero {
    min-height: 390px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .section {
    padding: 4rem 0;
  }

  .container {
    width: min(100% - 3rem, var(--container));
  }
}

@media (min-width: 1024px) {
  .nav__cta {
    display: none;
  }

  .contact {
    align-items: start;
  }

  .inquiry-form {
    position: sticky;
    top: 100px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
