:root {
  color-scheme: light;
  --ink: #10242a;
  --muted: #54676c;
  --paper: #f8faf7;
  --surface: #ffffff;
  --line: #d7e4df;
  --teal: #0c6d7c;
  --teal-dark: #064a55;
  --mint: #dff4ed;
  --sun: #f6b73f;
  --coral: #e86d4c;
  --blue: #2f78b7;
  --shadow: 0 18px 45px rgba(13, 63, 70, 0.16);
  --radius: 8px;
  --container: min(1120px, calc(100vw - 32px));
  font-family: "Arial", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(246, 183, 63, 0.16), transparent 38%),
    linear-gradient(315deg, rgba(47, 120, 183, 0.12), transparent 44%),
    var(--paper);
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 10px max(16px, calc((100vw - 1120px) / 2));
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(215, 228, 223, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 185px;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--sun);
  color: #502f00;
  font-size: 25px;
  line-height: 1;
  box-shadow: inset 0 -3px 0 rgba(80, 47, 0, 0.12);
}

.brand strong {
  display: block;
  font-size: 1rem;
  line-height: 1.1;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a {
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
}

.nav a:hover,
.nav a:focus-visible {
  background: var(--mint);
  color: var(--teal-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.language-toggle,
.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 8px 13px;
  cursor: pointer;
  white-space: nowrap;
}

.language-toggle:hover,
.header-phone:hover,
.language-toggle:focus-visible,
.header-phone:focus-visible {
  border-color: rgba(12, 109, 124, 0.45);
  box-shadow: 0 0 0 4px rgba(12, 109, 124, 0.12);
  outline: none;
}

.header-phone {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: min(780px, calc(100svh - 72px));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #17363d;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 25, 30, 0.18), rgba(5, 25, 30, 0.72)),
    linear-gradient(0deg, rgba(5, 25, 30, 0.82), rgba(5, 25, 30, 0.18) 58%, rgba(5, 25, 30, 0.42));
}

html[dir="ltr"] .hero__shade {
  background:
    linear-gradient(270deg, rgba(5, 25, 30, 0.18), rgba(5, 25, 30, 0.72)),
    linear-gradient(0deg, rgba(5, 25, 30, 0.82), rgba(5, 25, 30, 0.18) 58%, rgba(5, 25, 30, 0.42));
}

.hero__content {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin: 0 auto;
  padding: 82px 0 58px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #ffe2a6;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.35rem, 6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button--primary {
  background: var(--sun);
  color: #1f1602;
  box-shadow: 0 14px 28px rgba(246, 183, 63, 0.28);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: #ffc860;
}

.button--whatsapp {
  background: #25d366;
  color: #062611;
  box-shadow: 0 14px 28px rgba(37, 211, 102, 0.2);
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.hero__badges span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(8px);
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: 74px 0;
}

.section__heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.section h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.section__heading p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(16, 36, 42, 0.08);
}

.service-card img,
.illustration {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e7f2f1;
}

.service-card > div:not(.illustration) {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.service-pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--teal-dark);
  font-size: 0.9rem;
  font-weight: 800;
}

.solar-card .service-pill {
  background: #fff0c6;
  color: #704100;
}

.ac-card .service-pill {
  background: #dfeefa;
  color: #184f82;
}

.repair-card .service-pill {
  background: #ffe4dc;
  color: #8b2f18;
}

.service-card h3 {
  margin: 0;
  font-size: 1.38rem;
  line-height: 1.18;
}

.service-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.illustration {
  display: grid;
  place-items: center;
  padding: 22px;
}

.illustration svg {
  width: min(100%, 270px);
  height: auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 12;
}

.repair-illustration {
  background: linear-gradient(135deg, #fff4d2, #e1f3ef);
  color: var(--coral);
}

.tool-illustration {
  background: linear-gradient(135deg, #e7f1fb, #fff0df);
  color: var(--blue);
}

.conversion {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1fr);
  gap: 28px;
  align-items: start;
}

.conversion__copy {
  padding: 34px 0;
}

.conversion__copy h2 {
  max-width: 630px;
}

.conversion__copy > p:not(.eyebrow) {
  max-width: 640px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.checklist li {
  position: relative;
  padding-inline-start: 30px;
  color: var(--ink);
}

.checklist li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.45em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: inset 0 0 0 5px #fff;
  border: 1px solid rgba(246, 183, 63, 0.55);
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.lead-form label,
.lead-form .full {
  grid-column: auto;
}

.lead-form .full {
  grid-column: 1 / -1;
}

.lead-form span {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
}

.lead-form textarea {
  min-height: 118px;
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: rgba(12, 109, 124, 0.65);
  box-shadow: 0 0 0 4px rgba(12, 109, 124, 0.12);
  outline: none;
}

.form-note {
  grid-column: 1 / -1;
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.search-terms {
  padding-top: 46px;
}

.terms {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.terms span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid rgba(12, 109, 124, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--teal-dark);
  padding: 8px 12px;
  font-weight: 700;
}

.faq {
  padding-top: 42px;
  padding-bottom: 120px;
}

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

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

.faq-list summary {
  min-height: 56px;
  cursor: pointer;
  padding: 16px 18px;
  color: var(--ink);
  font-weight: 900;
}

.faq-list p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.mobile-callbar {
  position: fixed;
  inset-inline: 12px;
  bottom: 12px;
  z-index: 30;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(215, 228, 223, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 34px rgba(16, 36, 42, 0.22);
  backdrop-filter: blur(12px);
}

.mobile-callbar a {
  display: grid;
  place-items: center;
  min-height: 46px;
  border-radius: var(--radius);
  background: var(--teal);
  color: #fff;
  font-weight: 900;
}

.mobile-callbar a:last-child {
  background: #25d366;
  color: #062611;
}

html[dir="ltr"] .brand {
  flex-direction: row;
}

@media (max-width: 1040px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card {
    min-height: 440px;
  }

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

  .conversion__copy {
    padding-bottom: 0;
  }
}

@media (max-width: 820px) {
  .site-header {
    min-height: 66px;
    padding: 8px 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand small,
  .nav {
    display: none;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

  .header-phone {
    display: none;
  }

  .language-toggle {
    min-height: 38px;
    padding-inline: 12px;
  }

  .hero {
    min-height: 660px;
  }

  .hero__content {
    padding: 58px 0 40px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 12vw, 4rem);
  }

  .section {
    padding: 54px 0;
  }

  .mobile-callbar {
    display: grid;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(calc(100vw - 24px), 1120px);
  }

  .hero {
    min-height: 620px;
  }

  .hero__actions .button {
    flex: 1 1 100%;
  }

  .hero__badges span {
    font-size: 0.9rem;
  }

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

  .service-card {
    min-height: 0;
  }

  .lead-form {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .lead-form label,
  .lead-form .full {
    grid-column: 1 / -1;
  }

  .terms span {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
