:root {
  --navy: #061736;
  --navy-2: #0b234f;
  --blue: #075bd8;
  --blue-soft: #eaf4ff;
  --orange: #f26b10;
  --green: #19b75b;
  --green-dark: #0d8d43;
  --line: #d9e5f2;
  --text: #172238;
  --muted: #637083;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(6, 23, 54, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 10px clamp(18px, 5vw, 72px);
  color: #dcecff;
  background: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.topbar p {
  margin: 0;
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.topbar-contact span {
  color: #6faee9;
}

.topbar a {
  color: #9fd3ff;
  transition: color .2s ease;
}

.topbar a:hover {
  color: #ffffff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand img {
  width: 230px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--navy);
}

.nav a {
  padding: 10px 11px;
  border-radius: 4px;
}

.nav a:hover {
  color: var(--white);
  background: var(--blue);
}

.header-whatsapp,
.button-whatsapp {
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  box-shadow: 0 14px 30px rgba(25, 183, 91, 0.24);
}

.header-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
  padding: clamp(54px, 7vw, 96px) clamp(18px, 5vw, 72px) 44px;
  background:
    radial-gradient(circle at top left, rgba(7, 91, 216, 0.18), transparent 36%),
    linear-gradient(135deg, #f8fbff 0%, #ffffff 56%, #edf6ff 100%);
}

.kicker {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(26px, 3vw, 50px);
  line-height: 1.1;
  letter-spacing: 0;
}

.audience {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 24px 0 0;
  color: var(--navy-2);
  font-size: clamp(18px, 2.1vw, 24px);
  font-weight: 900;
}

.audience span {
  width: 5px;
  height: 5px;
  background: var(--orange);
  border-radius: 50%;
}

.lead {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 2px solid transparent;
  border-radius: 5px;
  font-weight: 900;
  text-align: center;
}

.button-outline {
  color: var(--navy);
  background: var(--white);
  border-color: var(--line);
  box-shadow: 0 10px 24px rgba(6, 23, 54, 0.08);
}

.hero-photo {
  position: relative;
  min-height: clamp(440px, 42vw, 620px);
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(to bottom, transparent 58%, rgba(6, 23, 54, 0.76)),
    url("assets/climatizacion-collage-2.png") center / cover;
  box-shadow: var(--shadow);
}

.hero-photo::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 6px;
}

.photo-badge {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  padding: 20px;
  color: var(--white);
  background: rgba(6, 23, 54, 0.82);
  border-left: 5px solid var(--orange);
  border-radius: 6px;
  backdrop-filter: blur(10px);
}

.photo-badge strong,
.photo-badge span {
  display: block;
}

.photo-badge strong {
  font-size: 20px;
}

.photo-badge span {
  margin-top: 6px;
  color: #dcecff;
  line-height: 1.5;
}

.trust-cards-section {
  padding: 40px clamp(18px, 5vw, 72px);
  background: #fff;
  display: flex;
  justify-content: center;
}

.trust-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;

  width: 100%;
  max-width: 1200px;
}

.card{
    background:#fff;
    border:1px solid var(--line);
    border-radius:8px;
    padding:28px;
    box-shadow:0 12px 28px rgba(6,23,54,.08);
    transition:.3s;
}

.card:hover{
    transform:translateY(-6px);
    box-shadow:0 20px 45px rgba(6,23,54,.15);
}

.card h3{
    margin-top:0;
    color:var(--navy);
    font-size:22px;
}

.card p{
    color:var(--muted);
    line-height:1.6;
}

.section {
  padding: clamp(76px, 8vw, 112px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 680px;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: 0;
}

.section-heading > p:not(.kicker) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.services {
  padding-top: clamp(92px, 9vw, 128px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 300px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(6, 23, 54, 0.08);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 26px;
  color: var(--white);
  background: var(--orange);
  border-radius: 50%;
  font-weight: 900;
}

.service-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 23px;
}

.service-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.work-section {
  background: #f7fbff;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.feature-collage {
  overflow: hidden;
  margin-bottom: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-collage img {
  width: 100%;
  height: auto;
}

.gallery-item {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(6, 23, 54, 0.12);
}

.gallery-item:nth-child(1),
.gallery-item:nth-child(2) {
  grid-column: span 3;
}

.gallery-item:nth-child(n+3) {
  grid-column: span 2;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 45%, rgba(6, 23, 54, 0.84));
}

.gallery-item span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 1;
  color: var(--white);
  font-weight: 900;
}

.gallery-item.split {

  background-image: url("assets/trabajo-1.jpg.png");

  background-position: 78% 18%;

}

.gallery-item.instruments {
  background-image: url("assets/trabajo-2.jpg.png");
  background-position: 72% 55%;
}

.gallery-item.exterior {

   background-image: url("assets/trabajo-3.jpg.png");

   background-position: 49% 77%;

}

.gallery-item.cassette {
  background-image: url("assets/trabajo-4.jpg.png");
  background-position: 62% 47%;
}

.gallery-item.office {
  background-image: url("assets/trabajo-5.jpg.png");
  background-position: 19% 10%;
}

.gallery-item.industry {
  background-image: url("assets/trabajo-6.jpg.png");
  background-position: 92% 91%;
}


.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.78fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.about-copy p:not(.kicker),
.coverage-content p,
.final-cta p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.about-panel {
  padding: 32px;
  color: var(--white);
  background: linear-gradient(145deg, var(--navy), var(--blue));
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-panel strong {
  display: block;
  font-size: 24px;
}

.about-panel p {
  color: #dcecff;
  line-height: 1.65;
}

.about-panel ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.about-panel li {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--orange);
  border-radius: 4px;
  font-weight: 800;
}

.brands {
  background: var(--blue-soft);
}

.brand-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.brand-strip span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 14px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 20px;
  font-weight: 900;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.review-grid article {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(6, 23, 54, 0.08);
}

.review-grid strong {
  display: block;
  color: var(--navy);
  font-size: 21px;
}

.review-grid strong::before {
  content: "★★★★★";
  display: block;
  margin-bottom: 14px;
  color: var(--orange);
  font-size: 16px;
  letter-spacing: 0;
}

.review-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.coverage {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 28px;
  align-items: stretch;
  background:
    linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.96)),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=85") center / cover;
}

.map-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 300px;
  padding: clamp(28px, 4vw, 46px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(6, 23, 54, 0.92), rgba(7, 91, 216, 0.82)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.12) 0 1px, transparent 1px 22px);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.map-card span {
  color: #9fd3ff;
  font-weight: 900;
  text-transform: uppercase;
}

.map-card strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

.map-card p {
  max-width: 420px;
  color: #dcecff;
  line-height: 1.65;
}

.final-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: clamp(58px, 7vw, 88px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background: linear-gradient(125deg, var(--navy), var(--blue));
}

.final-cta h2,
.final-cta .kicker {
  color: var(--white);
}

.final-cta p {
  color: #dcecff;
}

.final-actions {
  display: grid;
  gap: 12px;
  min-width: 260px;
}

.phone-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-radius: 5px;
  font-size: 20px;
  font-weight: 900;
}

.footer {
  color: #dcecff;
  background: #030d20;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 34px;
  padding: 42px clamp(18px, 5vw, 72px);
}

.footer img {
  width: 300px;
  margin-bottom: 18px;
  padding: 12px;
  background: var(--white);
  border-radius: 8px;
}

.footer h3 {
  margin: 0 0 16px;
  color: var(--white);
}

.footer p,
.footer a {
  display: block;
  margin: 0 0 10px;
  color: #dcecff;
  line-height: 1.6;
}

.footer-bottom {
  padding: 18px clamp(18px, 5vw, 72px);
  color: #9fb3cf;
  background: #010713;
  font-size: 14px;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-radius: 50%;
  box-shadow: 0 18px 45px rgba(25, 183, 91, 0.45);
  animation: floatPulse 2.8s ease-in-out infinite;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 22px 60px rgba(25, 183, 91, 0.55);
}

.floating-whatsapp svg {
  width: 44px;
  height: 44px;
  display: block;
  flex: 0 0 44px;
}


.floating-whatsapp span {
  font-size: 0;
}

.floating-whatsapp span::before {
  content: "💬";
  font-size: 22px;
}

.floating-whatsapp strong {
  position: absolute;
  right: 78px;
  width: 240px;
  padding: 12px 14px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.floating-whatsapp:hover strong {
  opacity: 1;
  transform: translateX(0);
}

@keyframes floatPulse {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .header-whatsapp {
    justify-self: start;
  }

  .hero,
  .about,
  .coverage,
  .final-cta,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .topbar {
    flex-direction: column;
  }

  .brand img {
    width: 210px;
  }

  .nav {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .nav a {
    background: var(--blue-soft);
    text-align: center;
  }

  .header-whatsapp,
  .button,
  .phone-link {
    width: 100%;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 42px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .audience {
    gap: 8px;
    font-size: 17px;
  }

  .lead {
    font-size: 17px;
  }

  .hero-photo {
    min-height: 390px;
  }

  .service-grid,
  .review-grid,
  .brand-strip,
  .trust-cards {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(n+3) {
    grid-column: auto;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
  }

  .floating-whatsapp strong {
    display: none;
  }
}