
:root {
  --bg: #171b22;
  --bg-2: #1d222b;
  --bg-3: #242a35;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-2: rgba(255, 255, 255, 0.085);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.20);
  --text: #f4f7fb;
  --muted: #b6c0cf;
  --blue: #1597ff;
  --blue-2: #54c7ff;
  --blue-dark: #0759a5;
  --warm: #ff9b3d;
  --warm-soft: #ffd08a;
  --green: #35d47d;
  --danger: #ff5e5e;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.30);
  --radius: 30px;
  --radius-lg: 46px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -5;
  background:
    radial-gradient(circle at 18% 16%, rgba(21, 151, 255, 0.22), transparent 30%),
    radial-gradient(circle at 86% 12%, rgba(255, 155, 61, 0.13), transparent 28%),
    radial-gradient(circle at 88% 82%, rgba(84, 199, 255, 0.10), transparent 35%),
    linear-gradient(135deg, #171b22 0%, #202632 45%, #171b22 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -4;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.72), rgba(0,0,0,0.20));
}

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

button,
input,
textarea {
  font-family: inherit;
}

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

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .08;
  z-index: -3;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(23, 27, 34, 0.76);
  backdrop-filter: blur(22px);
}

.header-logo{
    width: 54px;
    height: 54px;
    object-fit: contain;
    display: block;
}

.navbar {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
}

.logo-symbol {
  width: 56px;
  height: 56px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  background:
    conic-gradient(from 210deg, var(--blue), var(--blue-2), var(--warm), var(--blue));
  box-shadow:
    0 0 28px rgba(21, 151, 255, 0.34),
    inset 0 0 0 1px rgba(255,255,255,.18);
}

.logo-symbol::before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 16px;
  background: var(--bg);
}

.logo-symbol::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  left: 15px;
  top: 15px;
  border: 5px solid white;
  border-left-color: var(--warm);
  filter: drop-shadow(0 0 12px rgba(84, 199, 255, .8));
}

.logo-text strong {
  display: block;
  font-size: 16px;
  letter-spacing: .4px;
  text-transform: uppercase;
}

.logo-text span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #dde8f7;
  font-size: 14px;
  font-weight: 800;
}

.nav-menu a {
  position: relative;
  opacity: .84;
  transition: .25s ease;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 0;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue), var(--warm));
  transition: .25s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  opacity: 1;
  color: #fff;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

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

.icon-button {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.055);
  color: white;
  cursor: pointer;
  transition: .25s ease;
}

.icon-button:hover {
  transform: translateY(-2px);
  border-color: rgba(84,199,255,.4);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  transition: .28s cubic-bezier(.2,.8,.2,1);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: white;
  box-shadow: 0 16px 42px rgba(21,151,255,.26);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 52px rgba(21,151,255,.38);
}

.btn-ghost {
  background: rgba(255,255,255,.06);
  color: white;
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  transform: translateY(-3px);
  border-color: rgba(84,199,255,.36);
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: calc(100vh - 86px);
  display: grid;
  align-items: center;
  padding: 88px 0 72px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 54px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(84,199,255,.26);
  background: rgba(84,199,255,.08);
  color: #e7f7ff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .8px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.kicker i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px rgba(53,212,125,.9);
}

.hero h1,
.page-hero h1 {
  max-width: 780px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: .92;
  letter-spacing: -4px;
}

.gradient-text {
  background: linear-gradient(90deg, #fff 0%, var(--blue-2) 45%, var(--warm-soft) 100%);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-text {
  max-width: 660px;
  margin: 24px 0 34px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 38px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 690px;
}

.stat {
  min-height: 112px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255,255,255,.055);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.stat strong {
  display: block;
  font-size: 27px;
  margin-bottom: 5px;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.climate-visual {
  min-height: 620px;
  position: relative;
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.visual-orbit {
  width: min(520px, 90vw);
  height: min(520px, 90vw);
  border-radius: 50%;
  position: absolute;
  border: 1px solid rgba(255,255,255,.10);
  animation: rotateSlow 22s linear infinite;
}

.visual-orbit::before,
.visual-orbit::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

.visual-orbit::before {
  top: 36px;
  left: 92px;
  background: var(--blue-2);
  box-shadow: 0 0 25px rgba(84,199,255,.85);
}

.visual-orbit::after {
  right: 52px;
  bottom: 92px;
  background: var(--warm);
  box-shadow: 0 0 25px rgba(255,155,61,.75);
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.ac-render {
  width: min(490px, 86vw);
  height: 305px;
  position: relative;
  transform: rotateX(9deg) rotateY(-18deg);
  transform-style: preserve-3d;
  animation: floatMachine 5s ease-in-out infinite;
}

@keyframes floatMachine {
  0%,100% { transform: rotateX(9deg) rotateY(-18deg) translateY(0); }
  50% { transform: rotateX(7deg) rotateY(-15deg) translateY(-18px); }
}

.ac-body {
  position: absolute;
  inset: 36px 0 auto 0;
  height: 142px;
  border-radius: 34px;
  background: linear-gradient(180deg, #f7f9fc, #c4cedb);
  box-shadow:
    0 40px 80px rgba(0,0,0,.36),
    inset 0 -22px 34px rgba(0,0,0,.13);
}

.ac-body::before {
  content: "";
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 30px;
  height: 14px;
  border-radius: 999px;
  background: #6b7686;
  box-shadow: inset 0 -4px 7px rgba(0,0,0,.28);
}

.ac-body::after {
  content: "FERNANDEZ";
  position: absolute;
  right: 34px;
  top: 28px;
  color: #5b6675;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.6px;
}

.air-stream {
  position: absolute;
  left: 50%;
  top: 190px;
  width: 380px;
  height: 250px;
  transform: translateX(-50%);
  filter: blur(.1px);
}

.air-stream span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 210px;
  border-radius: 999px;
  background: linear-gradient(to bottom, rgba(84,199,255,0), rgba(84,199,255,.75), rgba(255,155,61,.42), rgba(255,155,61,0));
  transform-origin: top;
  opacity: .72;
  animation: airPulse 3.2s ease-in-out infinite;
}

.air-stream span:nth-child(1) { transform: rotate(-32deg); animation-delay: 0s; }
.air-stream span:nth-child(2) { transform: rotate(-18deg); animation-delay: .2s; }
.air-stream span:nth-child(3) { transform: rotate(-4deg); animation-delay: .4s; }
.air-stream span:nth-child(4) { transform: rotate(10deg); animation-delay: .6s; }
.air-stream span:nth-child(5) { transform: rotate(24deg); animation-delay: .8s; }
.air-stream span:nth-child(6) { transform: rotate(38deg); animation-delay: 1s; }

@keyframes airPulse {
  0%,100% { height: 150px; opacity: .28; }
  50% { height: 245px; opacity: .92; }
}

.float-panel {
  position: absolute;
  z-index: 3;
  min-width: 190px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(30,36,47,.72);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(20px);
  box-shadow: 0 22px 52px rgba(0,0,0,.28);
}

.float-panel strong {
  display: block;
  font-size: 24px;
  margin-bottom: 4px;
}

.float-panel span {
  color: var(--muted);
  font-size: 13px;
}

.float-panel.one {
  left: 4%;
  bottom: 19%;
  animation: floatPanel 4.5s ease-in-out infinite;
}

.float-panel.two {
  right: 0;
  top: 18%;
  animation: floatPanel 4.8s ease-in-out infinite reverse;
}

@keyframes floatPanel {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.scroll-hint::after {
  content: "";
  display: block;
  width: 2px;
  height: 36px;
  margin: 10px auto 0;
  border-radius: 99px;
  background: linear-gradient(to bottom, var(--blue-2), transparent);
  animation: scrollLine 1.5s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(.4); opacity: .35; }
  50% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(.4); opacity: .35; }
}

.section {
  padding: 96px 0;
  position: relative;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 40px;
}

.section-title small {
  display: inline-block;
  color: var(--blue-2);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 10px;
}

.section-title h2 {
  max-width: 780px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -2.4px;
}

.section-title p {
  max-width: 420px;
  color: var(--muted);
  line-height: 1.68;
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255,255,255,.035);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeMove 22s linear infinite;
}

.marquee span {
  padding: 22px 34px;
  color: #d8e5f7;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.marquee span::before {
  content: "✦";
  color: var(--blue-2);
  margin-right: 18px;
}

@keyframes marqueeMove {
  to { transform: translateX(-50%); }
}


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

/* =========================================
   PREMIUM SERVICE CARDS CON IMAGENES
========================================= */

.service-grid.premium-grid{
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

.service-grid.premium-grid .service-card{
  min-height:auto;
  padding:0;
  border-radius:32px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.052);
  backdrop-filter:blur(16px);
  position:relative;
  overflow:hidden;
  transition:.35s cubic-bezier(.2,.8,.2,1);
}

.service-grid.premium-grid .service-card::before{
  display:none;
}

.service-grid.premium-grid .service-card:hover{
  transform:translateY(-10px);
  border-color:rgba(84,199,255,.35);
  background:rgba(255,255,255,.075);
}

.service-image{
  position:relative;
  width:100%;
  height:240px;
  overflow:hidden;
}

.service-image::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    to top,
    rgba(6,10,18,.96) 0%,
    rgba(6,10,18,.32) 45%,
    rgba(0,0,0,0) 100%
  );
}

.service-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .7s ease;
}

.service-grid.premium-grid .service-card:hover .service-image img{
  transform:scale(1.08);
}

.service-content{
  padding:28px;
}

.service-content h3{
  font-size:31px;
  line-height:1.08;
  margin-bottom:14px;
  color:#fff;
  font-weight:800;
  letter-spacing:-1px;
}

.service-content p{
  color:var(--muted);
  line-height:1.7;
  font-size:15px;
}

.service-grid.premium-grid .service-icon{
  display:none !important;
}

/* ESTILO ORIGINAL PARA EL RESTO */

.service-grid:not(.premium-grid) .service-card {
  min-height: 310px;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.052);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  transition: .32s cubic-bezier(.2,.8,.2,1);
}

.service-grid:not(.premium-grid) .service-card::before {
  content: "";
  position: absolute;
  inset: auto -60px -70px auto;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(84,199,255,.20), transparent 68%);
  transition: .32s ease;
}

.service-grid:not(.premium-grid) .service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(84,199,255,.35);
  background: rgba(255,255,255,.075);
}

.service-grid:not(.premium-grid) .service-card:hover::before {
  transform: scale(1.2);
}

.service-grid:not(.premium-grid) .service-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  margin-bottom: 70px;
  background: rgba(84,199,255,.10);
  border: 1px solid rgba(84,199,255,.20);
  font-size: 28px;
}

.service-grid:not(.premium-grid) .service-card h3 {
  font-size: 24px;
  line-height: 1.12;
  margin-bottom: 12px;
}

.service-grid:not(.premium-grid) .service-card p {
  color: var(--muted);
  line-height: 1.62;
}

@media (max-width:1040px){

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

}

@media (max-width:720px){

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

  .service-image{
    height:210px;
  }

  .service-content{
    padding:22px;
  }

  .service-content h3{
    font-size:1.6rem;
  }

}

.big-feature {

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.feature-copy {
  min-height: 520px;
  padding: 44px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 18%, rgba(84,199,255,.16), transparent 32%),
    rgba(255,255,255,.052);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.feature-copy h2 {
  font-size: clamp(34px, 5vw, 62px);
  line-height: .98;
  letter-spacing: -2.5px;
  margin-bottom: 22px;
}

.feature-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
  margin-bottom: 30px;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #eaf3ff;
  font-weight: 800;
}

.feature-list li::before {
  content: "✓";
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 0 18px rgba(21,151,255,.28);
}

.feature-visual{
    position:relative;
    overflow:hidden;
    border-radius:36px;
    border:1px solid var(--line);
    background:rgba(255,255,255,.04);
    backdrop-filter:blur(18px);
    padding:0;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: steps;
}

.process-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.052);
  position: relative;
  overflow: hidden;
  counter-increment: steps;
}

.process-card::before {
  content: "0" counter(steps);
  display: block;
  font-size: 52px;
  font-weight: 900;
  color: rgba(255,255,255,.09);
  margin-bottom: 40px;
}

.process-card::after {
  content: "";
  position: absolute;
  inset: auto 24px 24px auto;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(84,199,255,.20), rgba(255,155,61,.13));
  border: 1px solid var(--line);
}

.process-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.process-card p {
  color: var(--muted);
  line-height: 1.62;
}

.page-hero {
  padding: 110px 0 78px;
  border-bottom: 1px solid var(--line);
}

.page-hero p {
  max-width: 720px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.page-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 26px;
  align-items: start;
}

.sticky-panel {
  position: sticky;
  top: 116px;
  padding: 34px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.055);
  backdrop-filter: blur(18px);
}

.sticky-panel h2 {
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -1.4px;
  margin-bottom: 14px;
}

.sticky-panel p {
  color: var(--muted);
  line-height: 1.68;
  margin-bottom: 24px;
}

.detail-list {
  display: grid;
  gap: 18px;
}

.detail-card {
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.052);
  transition: .28s ease;
}

.detail-card:hover {
  transform: translateY(-6px);
  border-color: rgba(84,199,255,.32);
  background: rgba(255,255,255,.074);
}

.detail-card h3 {
  font-size: 28px;
  margin-bottom: 12px;
}

.detail-card p {
  color: var(--muted);
  line-height: 1.68;
}

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

.project-tile {
  min-height: 430px;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(to top, rgba(23,27,34,.92), rgba(23,27,34,.20)),
    radial-gradient(circle at 50% 26%, rgba(84,199,255,.27), transparent 30%),
    rgba(255,255,255,.052);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow);
  transition: .32s ease;
}

.project-tile:hover {
  transform: translateY(-9px);
  border-color: rgba(84,199,255,.35);
}

.project-tile::before {
  content: "";
  position: absolute;
  width: 250px;
  height: 110px;
  border-radius: 28px;
  background: linear-gradient(180deg, #f7fbff, #c4cfdd);
  left: 50%;
  top: 74px;
  transform: translateX(-50%) rotate(-4deg);
  box-shadow: 0 28px 60px rgba(0,0,0,.35);
}

.project-tile.hot {
  background:
    linear-gradient(to top, rgba(23,27,34,.92), rgba(23,27,34,.20)),
    radial-gradient(circle at 50% 26%, rgba(255,155,61,.25), transparent 30%),
    rgba(255,255,255,.052);
}

.project-tile h3,
.project-tile p,
.project-tile span {
  position: relative;
  z-index: 2;
}

.project-tile span {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  color: #dff5ff;
  background: rgba(84,199,255,.11);
  border: 1px solid rgba(84,199,255,.20);
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 14px;
}

.project-tile h3 {
  font-size: 30px;
  line-height: 1.06;
  margin-bottom: 12px;
}

.project-tile p {
  color: var(--muted);
  line-height: 1.62;
}

.contact-layout {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 24px;
}

.contact-card,
.contact-form {
  padding: 38px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.055);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.contact-card h2,
.contact-form h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.04;
  letter-spacing: -1.8px;
  margin-bottom: 16px;
}

.contact-card p {
  color: var(--muted);
  line-height: 1.72;
  margin-bottom: 28px;
}

.contact-items {
  display: grid;
  gap: 14px;
}

.contact-item {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.045);
}

.contact-item strong {
  display: block;
  margin-bottom: 5px;
}

.contact-item span {
  color: var(--muted);
}

.form-grid {
  display: grid;
  gap: 14px;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(23,27,34,.78);
  color: white;
  outline: none;
  border-radius: 20px;
  padding: 16px 18px;
  font-size: 15px;
}

.form-grid textarea {
  min-height: 145px;
  resize: vertical;
}

.form-grid input::placeholder,
.form-grid textarea::placeholder {
  color: #8995a7;
}

.footer {
  padding: 58px 0 34px;
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,.10);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr .7fr .9fr;
  gap: 28px;
}

.footer h3,
.footer h4 {
  margin-bottom: 14px;
}

.footer p,
.footer a,
.footer span {
  display: block;
  color: var(--muted);
  line-height: 1.8;
  font-size: 14px;
}

.footer-bottom {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 110;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-size: 30px;
  background: linear-gradient(135deg, #22d66f, #0b9848);
  box-shadow: 0 20px 50px rgba(34,214,111,.34);
  border: 1px solid rgba(255,255,255,.22);
  animation: whatsappPulse 2.6s ease-in-out infinite;
}

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

.reveal {
  opacity: 0;
  transform: translateY(36px);
  filter: blur(8px);
  transition:
    opacity .9s cubic-bezier(.2,.8,.2,1),
    transform .9s cubic-bezier(.2,.8,.2,1),
    filter .9s cubic-bezier(.2,.8,.2,1);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-46px);
  filter: blur(8px);
  transition: .9s cubic-bezier(.2,.8,.2,1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(46px);
  filter: blur(8px);
  transition: .9s cubic-bezier(.2,.8,.2,1);
}

.reveal-left.show,
.reveal-right.show {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}

.stagger > * {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(8px);
  transition: .8s cubic-bezier(.2,.8,.2,1);
}

.stagger.show > * {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.stagger.show > *:nth-child(1) { transition-delay: .05s; }
.stagger.show > *:nth-child(2) { transition-delay: .13s; }
.stagger.show > *:nth-child(3) { transition-delay: .21s; }
.stagger.show > *:nth-child(4) { transition-delay: .29s; }
.stagger.show > *:nth-child(5) { transition-delay: .37s; }
.stagger.show > *:nth-child(6) { transition-delay: .45s; }

@media (max-width: 1040px) {
  .nav-menu,
  .nav-actions .btn-primary {
    display: none;
  }

  .mobile-menu {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  body.nav-open .nav-menu {
    position: fixed;
    top: 76px;
    left: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(12,18,27,.96);
    backdrop-filter: blur(18px);
    z-index: 9999;
    box-shadow: 0 18px 50px rgba(0,0,0,.45);
  }

  body.nav-open .nav-menu a {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    text-align: center;
  }

  .hero-inner,
  .big-feature,
  .page-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .process,
  .project-showcase {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .sticky-panel {
    position: relative;
    top: auto;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .navbar {
    height: 76px;
    padding-inline: 10px;
  }

  .logo-symbol {
    width: 48px;
    height: 48px;
    border-radius: 17px;
  }

  .header-logo {
    width: 46px;
    height: 46px;
  }

  .logo-text strong {
    font-size: 12px;
  }

  .logo-text span {
    font-size: 9px;
  }

  .hero {
    min-height: auto;
    padding: 58px 0 74px;
  }

  .hero h1,
  .page-hero h1 {
    letter-spacing: -2px;
    font-size: clamp(38px, 11vw, 54px);
    line-height: .98;
  }

  .hero-text,
  .page-hero p {
    font-size: 15px;
    line-height: 1.7;
  }

  .hero-stats,
  .service-grid,
  .process,
  .project-showcase,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 66px 0;
  }

  .section-title {
    display: block;
    text-align: center;
  }

  .section-title h2 {
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1.05;
  }

  .section-title p {
    margin-top: 14px;
    font-size: 14px;
  }

  .climate-visual {
    min-height: 420px;
  }

  .float-panel.one {
    left: 0;
    bottom: 12%;
  }

  .float-panel.two {
    right: 0;
    top: 10%;
  }

  .feature-copy,
  .contact-card,
  .contact-form {
    padding: 24px;
    border-radius: 28px;
  }

  .footer-bottom {
    display: block;
    text-align: center;
  }

  .whatsapp-float {
    width: 58px;
    height: 58px;
    right: 15px;
    bottom: 15px;
  }
}

/* ===== Mejoras premium para climatización integral ===== */
.hero-premium .climate-visual {
  background:
    radial-gradient(circle at 50% 32%, rgba(255,155,61,.16), transparent 28%),
    radial-gradient(circle at 52% 66%, rgba(21,151,255,.22), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.025));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,.05);
  overflow: hidden;
}

.hero-premium .climate-visual::before {
  content: "";
  position: absolute;
  inset: 36px;
  border-radius: 42px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.02)),
    radial-gradient(circle at 22% 28%, rgba(255,255,255,.12), transparent 20%);
  opacity: .32;
  transform: perspective(700px) rotateX(58deg) rotateZ(-8deg);
  bottom: 34px;
  top: auto;
  height: 170px;
}

.boiler-render {
  position: absolute;
  width: 122px;
  height: 172px;
  right: 62px;
  top: 118px;
  border-radius: 26px;
  background:
    linear-gradient(145deg, #eef5ff, #aebccc),
    linear-gradient(90deg, transparent 50%, rgba(0,0,0,.08) 50%);
  box-shadow: 0 24px 58px rgba(0,0,0,.28), inset 0 0 0 1px rgba(255,255,255,.75);
  animation: floatMini 5.6s ease-in-out infinite;
}

.boiler-render::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 28px;
  height: 40px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(21,151,255,.82), rgba(84,199,255,.42));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.45);
}

.boiler-render::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 24px;
  height: 10px;
  border-radius: 99px;
  background: rgba(23,27,34,.55);
  box-shadow: 0 -22px 0 rgba(23,27,34,.28), 0 -44px 0 rgba(23,27,34,.20);
}

.boiler-render span {
  position: absolute;
  left: 22px;
  bottom: -44px;
  width: 10px;
  height: 48px;
  border-radius: 99px;
  background: linear-gradient(180deg, rgba(255,255,255,.65), rgba(84,199,255,.25));
  box-shadow: 33px 0 0 rgba(255,255,255,.42), 66px 0 0 rgba(255,155,61,.40);
}

.radiator-render {
  position: absolute;
  left: 66px;
  bottom: 90px;
  width: 176px;
  height: 98px;
  display: flex;
  gap: 8px;
  padding: 9px;
  border-radius: 24px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 22px 50px rgba(0,0,0,.24);
  animation: floatMini 6.3s ease-in-out infinite reverse;
}

.radiator-render span {
  flex: 1;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(198,211,224,.54));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), 0 0 22px rgba(255,155,61,.10);
}

@keyframes floatMini {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

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

.soft-band {
  position: relative;
}

.soft-band::before {
  content: "";
  position: absolute;
  inset: 42px 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(255,155,61,.12), transparent 26%),
    radial-gradient(circle at 78% 70%, rgba(21,151,255,.16), transparent 32%),
    rgba(255,255,255,.025);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  pointer-events: none;
}

.product-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.product-strip article {
  min-height: 172px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255,255,255,.095), rgba(255,255,255,.035));
  box-shadow: 0 20px 54px rgba(0,0,0,.20);
  position: relative;
  overflow: hidden;
}

.product-strip article::before {
  content: "";
  position: absolute;
  width: 96px;
  height: 96px;
  right: -18px;
  bottom: -22px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(21,151,255,.32), rgba(255,155,61,.18));
  filter: blur(.2px);
  transform: rotate(16deg);
}

.product-strip strong {
  display: block;
  font-size: 20px;
  margin-bottom: 10px;
}

.product-strip span {
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.climate-room{
    position:relative;
    overflow:hidden;
    border-radius:36px;
    min-height:780px;
    border:1px solid var(--line);
    background:rgba(255,255,255,.04);
    backdrop-filter:blur(18px);
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0;
}

.climate-room img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.project-tile.floor::before{
  background: linear-gradient(
    135deg,
    rgba(255,155,61,.76),
    rgba(255,208,138,.34)
  );
}

.project-tile.pool::before{
  background: linear-gradient(
    135deg,
    rgba(84,199,255,.78),
    rgba(21,151,255,.28)
  );
}

.project-tile.smart::before{
  background: linear-gradient(
    135deg,
    rgba(53,212,125,.65),
    rgba(21,151,255,.24)
  );
}

.project-tile.service::before{
  background: linear-gradient(
    135deg,
    rgba(255,255,255,.42),
    rgba(84,199,255,.18)
  );
}

.project-lab{
  background:
    radial-gradient(circle at 22% 28%, rgba(21,151,255,.26), transparent 30%),
    radial-gradient(circle at 72% 64%, rgba(255,155,61,.18), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
}

.project-lab::before{
  background:
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(135deg, rgba(21,151,255,.35), rgba(255,155,61,.20));

  background-size:
    34px 34px,
    34px 34px,
    auto;
}

/* =========================
   WHATSAPP FLOAT
========================= */

.whatsapp-float{
  position: fixed;

  right: 24px;
  bottom: 24px;

  width: 72px;
  height: 72px;

  border-radius: 50%;

  background: #25D366;

  display: flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;

  box-shadow:
    0 10px 30px rgba(37,211,102,.35);

  z-index: 999;

  transition: .3s ease;

  padding: 0;
}

.whatsapp-float:hover{
  transform: translateY(-4px) scale(1.05);

  box-shadow:
    0 18px 40px rgba(37,211,102,.45);
}

.whatsapp-float svg{
  width: 38px;
  height: 38px;

  display: block;

  fill: #ffffff;

  flex-shrink: 0;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1040px){

  .premium-grid,
  .product-strip{
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid-modern,
  .products-grid-modern,
  .projects-grid{
    grid-template-columns: repeat(2, 1fr);
  }

  .boiler-render{
    right: 54px;
  }

  .radiator-render{
    left: 44px;
  }

}

@media (max-width: 720px){

  .premium-grid,
  .product-strip{
    grid-template-columns: 1fr;
  }

  .services-grid-modern,
  .products-grid-modern,
  .projects-grid{
    grid-template-columns: 1fr !important;
  }

  .services-hero-copy,
  .projects-hero-content{
    margin-left: 0 !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    max-width: 100% !important;
  }

  .services-hero-copy h1,
  .projects-hero-content h1{
    font-size: clamp(38px, 11vw, 54px) !important;
    line-height: .98 !important;
    letter-spacing: -2px !important;
  }

  .services-hero-copy p,
  .projects-hero-content p{
    font-size: 15px !important;
    line-height: 1.7 !important;
    max-width: 100% !important;
  }

  .service-square-card,
  .product-visual-card,
  .project-card{
    min-height: auto !important;
    border-radius: 26px;
  }

  .service-square-card h3,
  .product-card-content h3,
  .project-card-content h3{
    font-size: 26px !important;
  }

  .service-square-card p,
  .product-card-content p,
  .project-card-content p{
    font-size: 14px !important;
  }

  .product-visual-card img,
  .project-card img{
    height: 210px !important;
  }

  .hero-actions{
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn{
    width: 100%;
    justify-content: center;
  }

  .boiler-render{
    right: 26px;
    top: 100px;

    transform: scale(.86);
  }

  .radiator-render{
    left: 22px;
    bottom: 90px;

    transform: scale(.88);
    transform-origin: left bottom;
  }

  .product-strip article{
    min-height: 145px;
  }

  .room-window,
  .room-radiator{
    right: 24px;
  }

  .whatsapp-float{
    width: 64px;
    height: 64px;

    right: 18px;
    bottom: 18px;
  }

  .whatsapp-float svg{
    width: 32px;
    height: 32px;
  }

  /* =========================================================
   HERO MOBILE FIX
   SERVICIOS + PROYECTOS
========================================================= */

@media (max-width: 768px){

  .services-hero-modern,
  .projects-hero-modern{
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 90px;

    align-items: flex-start;
  }

  .services-hero-grid,
  .projects-hero-grid{
    min-height: auto;

    display: flex;
    align-items: flex-start;
  }

  .services-hero-copy,
  .projects-hero-copy{
    width: 100%;
    max-width: 100%;

    margin-left: 0;
    margin-right: 0;

    padding-top: 0;
    padding-bottom: 0;
    padding-left: 26px;
    padding-right: 26px;

    position: relative;
    z-index: 5;
  }

  .services-hero-copy h1,
  .projects-hero-copy h1{
    font-size: clamp(42px, 11vw, 64px);

    line-height: .92;
    letter-spacing: -2px;

    max-width: 100%;

    margin-bottom: 22px;
  }

  .services-hero-copy p,
  .projects-hero-copy p{
    font-size: 17px;
    line-height: 1.65;

    max-width: 100%;

    margin-bottom: 28px;
  }

  .services-hero-visual,
  .projects-hero-visual{
    background-position: center center;

    opacity: .92;
  }

  .services-hero-modern::after,
  .projects-hero-modern::after{
    height: 180px;
  }

  .hero-actions{
    width: 100%;

    display: flex;
    flex-direction: column;

    gap: 14px;
  }

  .hero-actions .btn{
    width: 100%;

    justify-content: center;
    text-align: center;
  }

}
