
:root {
  --green: #12833a;
  --green-bright: #2db957;
  --green-dark: #063e20;
  --text: #252525;
  --muted: #666;
  --line: #dedede;
  --max: 1680px;
  --shadow: 8px 10px 13px rgba(0,0,0,.25);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.container { width: min(var(--max), calc(100% - 64px)); margin-inline: auto; }
.site-header { background: #fff; }
.header-inner {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.brand img { width: min(300px, 52vw); }
.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 30px;
  cursor: pointer;
}
.main-nav { display: flex; gap: 34px; align-items: center; }
.main-nav a { text-decoration: none; font-size: 16px; }
.main-nav a:hover, .main-nav a.active { color: var(--green); }

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
}
h1, h2, h3 { line-height: 1.15; font-weight: 500; margin-top: 0; }
h1 { font-size: clamp(36px, 4vw, 64px); }
h2 { font-size: clamp(30px, 3vw, 46px); }
h3 { font-size: 24px; }
p { margin: 0 0 18px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 4px;
  text-decoration: none;
  background: #000;
  color: #fff;
  border: 0;
  cursor: pointer;
  font: inherit;
  text-transform: uppercase;
}
.button.green { background: var(--green); }
.button + .button { margin-left: 8px; }
.button:hover { filter: brightness(1.08); }

.hero {
  position: relative;
  min-height: 690px;
  margin: 0 8px;
  background:
    linear-gradient(rgba(0,18,42,.32), rgba(0,18,42,.32)),
    url("../images/hero-fotovoltaico.webp") center 47%/cover no-repeat;
}
.hero-panel {
  position: absolute;
  left: 6.5%;
  bottom: 8%;
  width: min(1000px, 72%);
  padding: 24px 34px 30px;
  color: #fff;
  background: rgba(5, 17, 33, .72);
}
.hero-panel .eyebrow { color: #1dd061; margin-bottom: 20px; }
.hero-panel h1 {
  max-width: 1050px;
  margin-bottom: 24px;
  font-size: clamp(34px, 3.3vw, 58px);
  text-transform: uppercase;
}

.section { padding: 72px 0; }
.section-tight { padding: 45px 0; }
.intro-heading { max-width: 1500px; margin: 0 auto 45px; }
.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.1fr;
  gap: 110px;
  align-items: start;
}
.home-big-image img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.home-side-images { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.home-side-images img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.home-copy { margin-top: 26px; font-size: 18px; max-width: 830px; }

.process-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
  align-items: center;
  margin-bottom: 45px;
}
.process-head p { max-width: 1100px; font-size: 18px; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}
.process-card {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  padding: 38px 38px 30px;
  background: #f7fbf7;
}
.process-card::before {
  content: "";
  position: absolute;
  inset: -10%;
  background: url("../images/thermoclima-symbol.png") center/140% no-repeat;
  opacity: .055;
}
.process-card > * { position: relative; z-index: 1; }
.process-card h3 { font-size: 27px; margin-bottom: 55px; }
.process-card .ghost { color: rgba(255,255,255,.75); border-bottom: 1px solid #222; padding-bottom: 3px; margin-bottom: 18px; }

.cta-band {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  max-width: 1550px;
  margin: 0 auto;
  color: #fff;
}
.cta-form-side {
  position: relative;
  overflow: hidden;
  padding: 28px 34px;
  background: var(--green-dark);
}
.cta-form-side::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: url("../images/thermoclima-symbol.png") center/90% no-repeat;
  opacity: .12;
}
.cta-form-side > * { position: relative; z-index: 1; }
.cta-info-side { padding: 40px; background: var(--green); }
.cta-info-side .button { width: min(100%, 360px); margin: 0 0 12px; }
.fake-form {
  margin-top: 34px;
  padding: 0;
  background: rgba(255,255,255,.82);
  color: #222;
}
.fake-form input, .fake-form textarea {
  width: 100%;
  padding: 12px 4px;
  border: 0;
  border-bottom: 1px solid #777;
  background: transparent;
  font: inherit;
}
.fake-form textarea { min-height: 58px; resize: vertical; }
.form-note { margin: 12px 0; font-size: 14px; }
.form-disabled {
  width: 100%;
  border-radius: 0;
}
.form-status { margin: 12px 0 0; font-size: 14px; color: #fff; }

.page-hero { padding: 52px 0 24px; }
.page-hero p { max-width: 1000px; font-size: 18px; }

.service-list { padding: 10px 0 80px; }
.service-block {
  position: relative;
  min-height: 600px;
  margin: 0 0 14px;
}
.service-photo {
  width: 52%;
  height: 595px;
  object-fit: cover;
}
.service-card {
  position: absolute;
  z-index: 2;
  left: 44.5%;
  right: 2.5%;
  top: 140px;
  min-height: 315px;
  padding: 28px 32px 24px;
  background: #fff;
  border-radius: 5px;
  box-shadow: var(--shadow);
}
.service-card h2 {
  padding-right: 130px;
  color: var(--green);
  font-size: 24px;
  text-transform: uppercase;
}
.service-icons {
  position: absolute;
  right: 28px;
  top: 25px;
  display: flex;
  gap: 15px;
}
.service-icons img { width: 48px; height: 48px; object-fit: contain; }
.service-card strong { font-weight: 700; }

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 70px;
  align-items: center;
}
.about-copy p { font-size: 18px; }
.about-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 45px;
}
.feature {
  padding: 28px;
  background: #f7faf7;
  border-top: 4px solid var(--green);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.contact-intro p { max-width: 1450px; font-size: 17px; }
.contact-grid {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 70px;
  align-items: start;
}
.contact-details { font-size: 18px; }
.contact-details a { color: var(--green); }
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #aaa;
  padding: 13px 2px;
  font: inherit;
}
.contact-form textarea { min-height: 80px; resize: vertical; }
.contact-form .button { width: 100%; border-radius: 0; margin-top: 18px; }
.temp-warning {
  margin: 14px 0 4px;
  padding: 12px 14px;
  background: #f4f4f4;
  border-left: 4px solid var(--green);
  font-size: 14px;
}

.site-footer { padding: 54px 0 18px; background: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .65fr .75fr;
  gap: 80px;
  align-items: start;
}
.footer-brand img { width: 290px; margin-bottom: 16px; }
.footer-title { font-size: 25px; margin-bottom: 20px; }
.footer-links a { display: block; text-decoration: none; margin: 8px 0; }
.footer-contact a { display: block; color: var(--green); text-decoration: none; margin: 6px 0; }
.legal {
  margin-top: 58px;
  text-align: center;
  font-size: 12px;
  line-height: 1.45;
}
.legal a { text-decoration: none; }

.privacy {
  max-width: 900px;
  padding: 50px 0 90px;
}
.privacy .notice {
  padding: 18px 20px;
  background: #f4f4f4;
  border-left: 4px solid var(--green);
}

@media (max-width: 1050px) {
  .container { width: min(100% - 36px, var(--max)); }
  .intro-grid { gap: 38px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band { grid-template-columns: 1fr; }
  .service-photo { width: 58%; }
  .service-card { left: 36%; right: 1.5%; }
  .feature-grid, .gallery { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .header-inner { min-height: 86px; }
  .brand img { width: 225px; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    z-index: 20;
    top: 86px;
    left: 0;
    right: 0;
    padding: 18px 24px 24px;
    background: #fff;
    box-shadow: 0 9px 14px rgba(0,0,0,.1);
    flex-direction: column;
    align-items: flex-start;
  }
  .main-nav.open { display: flex; }
  .hero { min-height: 540px; margin: 0; }
  .hero-panel { left: 18px; right: 18px; bottom: 22px; width: auto; padding: 20px; }
  .hero-panel h1 { font-size: 34px; }
  .section { padding: 48px 0; }
  .intro-grid, .about-grid, .contact-grid, .process-head { grid-template-columns: 1fr; gap: 30px; }
  .home-side-images { margin-top: 0; }
  .process-grid, .feature-grid, .gallery { grid-template-columns: 1fr; }
  .process-card { min-height: 0; }
  .service-block { min-height: 0; margin-bottom: 48px; }
  .service-photo { width: 100%; height: 390px; }
  .service-card {
    position: relative;
    left: auto; right: auto; top: auto;
    width: calc(100% - 30px);
    margin: -65px auto 0;
    min-height: 0;
  }
  .service-card h2 { padding-right: 0; margin-top: 65px; }
  .service-icons { left: 32px; right: auto; top: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .legal { text-align: left; margin-top: 38px; }
  .button + .button { margin-left: 0; margin-top: 8px; }
}
