:root {
  --blue: #075ab8;
  --blue-dark: #03468f;
  --text: #0d0d0d;
  --muted: #f1f1f1;
  --overlay: rgba(20, 52, 86, 0.48);
  --shadow: 0 3px 6px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #fff;
}

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

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

.site-header {
  height: 98px;
  background: #fff;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 10;
}

.header-inner {
  width: min(1020px, calc(100% - 72px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo img {
  width: 174px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 5vw, 76px);
  font-size: 16px;
}

.main-nav a {
  position: relative;
  padding: 12px 0 8px;
  line-height: 1;
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--blue);
}

.btn-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 5px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.nav-quote {
  padding: 6px 9px;
  font-size: 16px;
}

.page-home .site-header,
.page-location .site-header,
.page-services .site-header,
.page-clients .site-header,
.page-quote .site-header {
  height: 100px;
}

.hero {
  min-height: calc(100vh - 100px);
  position: relative;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay);
}

.home-hero {
  background-image: url("imageninstlaciones/2 PATIOS 1.jpg");
  display: grid;
  grid-template-rows: 1fr auto;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  align-self: center;
  text-align: center;
  color: #fff;
  padding-top: 70px;
}

.hero-title {
  margin: 0;
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1;
  font-weight: 800;
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.28);
}

.hero-subtitle {
  margin: 8px 0 44px;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.25;
  font-weight: 500;
}

.hero-cta {
  min-width: 136px;
  min-height: 42px;
  font-size: 18px;
}

.stats-bar {
  position: relative;
  z-index: 1;
  min-height: 104px;
  background: rgba(238, 238, 238, 0.84);
  display: grid;
  align-items: center;
}

.stats-grid {
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.stat-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.stat-icon {
  width: 46px;
  height: 46px;
  object-fit: contain;
  justify-self: center;
}

.stat-icon-wide {
  width: 58px;
}

.stat-text {
  font-size: 18px;
  line-height: 1.05;
}

.stat-text strong {
  display: block;
  font-size: 18px;
  letter-spacing: 0;
}

.content-page {
  min-height: calc(100vh - 98px);
  padding: 88px 0;
}

.two-column {
  width: min(1010px, calc(100% - 72px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 340px 1fr;
  align-items: center;
  gap: 118px;
}

.blue-title {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 38px;
  line-height: 1;
  font-weight: 800;
  text-shadow: 0 3px 2px rgba(0, 0, 0, 0.22);
}

.plain-copy {
  margin: 0;
  font-size: 16px;
  line-height: 1.42;
}

.rounded-photo {
  width: 100%;
  height: 244px;
  object-fit: cover;
  border-radius: 22px;
}

.about-page {
  padding-bottom: 0;
}

.about-location-section {
  margin-top: 88px;
}

.location-panel {
  min-height: 520px;
  position: relative;
  background-image: linear-gradient(rgba(225, 234, 244, 0.62), rgba(225, 234, 244, 0.62)), url("imageninstlaciones/2 PATIOS 1.jpg");
  background-size: cover;
  background-position: center 62%;
}

.map-card,
.weather-card,
.about-summary-card {
  position: absolute;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.28));
}

.map-card {
  top: 70px;
  left: max(48px, calc((100vw - 1010px) / 2));
  width: min(530px, calc(100% - 96px));
}

.map-card h2,
.weather-card h2,
.about-summary-card h2 {
  width: max-content;
  min-width: 140px;
  margin: 0 0 -8px -28px;
  padding: 8px 26px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  text-align: center;
  position: relative;
  z-index: 2;
}

.map-card iframe {
  width: 100%;
  height: 268px;
  border: 10px solid #fff;
  border-radius: 9px;
  background: #e6eef4;
}

.weather-card {
  right: max(48px, calc((100vw - 1010px) / 2));
  bottom: 32px;
  width: min(500px, calc(100% - 96px));
}

.weather-card h2 {
  min-width: 180px;
  margin-left: 0;
}

.weather-body {
  min-height: 112px;
  padding: 24px 28px 14px;
  border-radius: 0 0 12px 12px;
  background: rgba(255, 255, 255, 0.96);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.weather-main {
  display: flex;
  align-items: center;
  gap: 8px;
}

.weather-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d9dde3, #f8f8f8);
  box-shadow: inset -8px -8px 0 rgba(174, 183, 193, 0.5);
}

.weather-main strong {
  font-size: 39px;
  line-height: 1;
}

.weather-main span:last-child,
.weather-detail {
  font-size: 12px;
  line-height: 1.15;
}

.weather-detail {
  text-align: right;
}

.weather-detail p {
  margin: 0;
}

.weather-tabs {
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid #e3e3e3;
  border-radius: 0 0 12px 12px;
  padding: 0 28px 12px;
  display: flex;
  gap: 34px;
  font-size: 11px;
}

.weather-tabs .active {
  border-bottom: 3px solid #ffc928;
  padding-bottom: 4px;
}

.team-panel {
  min-height: 500px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #d7e4f5;
}

.team-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0.42;
}

.time-section {
  padding: 42px 24px;
  background: #f5f7fa;
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 360px));
  justify-content: center;
  gap: 34px;
}

.time-card {
  min-height: 206px;
  padding: 20px 18px 16px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.14);
  text-align: center;
  overflow: hidden;
}

.time-card h2 {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 24px;
  line-height: 1.12;
  font-weight: 800;
}

.time-card h2 span {
  display: block;
  margin-bottom: 4px;
  color: #777;
  font-size: 16px;
  font-weight: 700;
}

.time-card iframe {
  width: 100%;
  height: 115px;
  border: 0;
  pointer-events: none;
}

.about-summary-card {
  width: min(350px, calc(100% - 48px));
  position: relative;
}

.about-summary-card h2 {
  min-width: 230px;
  margin: 0 auto -8px;
  font-size: 25px;
}

.about-summary-card p {
  margin: 0;
  padding: 22px 24px 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  font-size: 14px;
  line-height: 1.32;
}

.partner-logos {
  min-height: 220px;
  padding: 48px clamp(28px, 10vw, 150px);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 80px;
}

.partner-logos img {
  max-width: min(230px, 38vw);
  max-height: 120px;
  object-fit: contain;
}

.services-hero {
  min-height: calc(100vh - 100px);
  background-image: url("imageninstlaciones/2 NAVE A.JPG");
  padding: 42px 0 54px;
}

.services-title {
  position: relative;
  z-index: 1;
  margin: 0 0 88px;
  text-align: center;
  color: #fff;
  font-size: 52px;
  font-weight: 800;
  text-shadow: 0 5px 0 rgba(0, 0, 0, 0.34);
}

.service-cards {
  position: relative;
  z-index: 1;
  width: min(790px, calc(100% - 42px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 126px;
}

.service-card {
  background: rgba(232, 232, 232, 0.92);
  border-radius: 6px;
  min-height: 282px;
  padding: 74px 30px 30px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.26);
  position: relative;
}

.service-card img {
  position: absolute;
  top: -70px;
  left: -28px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.65);
}

.service-card:nth-child(2) img {
  left: -22px;
}

.service-card h2 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 31px;
  line-height: 1;
  font-weight: 800;
}

.service-card ul {
  margin: 0 0 24px 18px;
  padding: 0;
  font-size: 23px;
  line-height: 1.18;
}

.service-card li::marker {
  color: var(--blue);
}

.small-action {
  padding: 6px 10px;
  font-size: 14px;
}

.detail-section {
  width: min(680px, calc(100% - 78px));
  margin: 0 auto;
  padding: 34px 0 44px;
}

.detail-section[hidden] {
  display: none;
}

.detail-title {
  color: var(--blue);
  font-size: 22px;
  margin: 0 0 22px;
  font-weight: 800;
}

.service-row {
  display: grid;
  grid-template-columns: 304px 1fr;
  gap: 98px;
  align-items: center;
  margin-bottom: 16px;
}

.service-row img {
  width: 304px;
  height: 161px;
  border-radius: 15px;
  object-fit: cover;
}

.service-text h3 {
  margin: 0 0 2px;
  font-size: 16px;
  line-height: 1;
}

.service-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.08;
}

.detail-nav {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.detail-nav.left {
  justify-content: flex-start;
  margin-top: 40px;
}

.complementarios .service-row {
  grid-template-columns: 330px 1fr;
  gap: 58px;
  align-items: start;
  margin-bottom: 24px;
}

.complementarios .service-row img {
  width: 330px;
  height: 180px;
}

.complementarios .service-text p {
  font-size: 14px;
  line-height: 1.13;
  margin-bottom: 12px;
}

.complementarios .service-text .mini {
  font-size: 12px;
  line-height: 1.15;
}

.clients-hero {
  min-height: calc(100vh - 100px);
  background-image: url("imagenpbodega/1 JOSE LUIS.JPG");
  display: flex;
  align-items: center;
}

.clients-panel-wrap {
  position: relative;
  z-index: 1;
  width: min(704px, calc(100% - 84px));
  margin: 0 auto;
}

.feedback-card {
  width: 252px;
  background: #fff;
  border-radius: 7px;
  padding: 12px;
}

.feedback-card h1,
.quote-card h1 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 16px;
  line-height: 1.1;
  font-weight: 800;
}

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

.form-grid.two {
  grid-template-columns: 1fr 1fr;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  width: 100%;
  border: 1.5px solid var(--blue);
  border-radius: 3px;
  padding: 5px 7px;
  font: inherit;
  font-size: 11px;
  min-height: 18px;
}

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

.form-submit {
  min-height: 18px;
  font-size: 11px;
  margin-top: 4px;
}

.quote-hero {
  min-height: calc(100vh - 100px);
  background-image: url("imagenpbodega/2 BODEGA 1.JPG");
  display: flex;
  align-items: center;
}

.quote-layout {
  position: relative;
  z-index: 1;
  width: min(630px, calc(100% - 64px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 236px;
  align-items: center;
  gap: 48px;
}

.quote-message {
  color: #fff;
}

.quote-message h1 {
  margin: 0 0 18px;
  max-width: 320px;
  font-size: 30px;
  line-height: 1.18;
  font-weight: 800;
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.28);
}

.cert-badge {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #0071c8;
  background: rgba(255, 255, 255, 0.64);
  font-size: 22px;
  font-weight: 800;
  font-style: italic;
}

.cert-logo {
  width: 112px;
  height: auto;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.18));
}

.quote-card {
  background: #fff;
  border-radius: 6px;
  padding: 14px 12px;
}

.quote-card .form-grid textarea {
  min-height: 38px;
}

.whatsapp {
  background: #23b900;
}

.quote-thanks {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 50;
  transform: translate(-50%, -50%);
  width: min(420px, calc(100% - 40px));
  padding: 22px 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--blue);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.18;
  text-align: center;
}

.nav-toggle {
  display: none;
}

@media (max-width: 820px) {
  .site-header,
  .page-home .site-header,
  .page-location .site-header,
  .page-services .site-header,
  .page-clients .site-header,
  .page-quote .site-header {
    height: auto;
    min-height: 86px;
  }

  .header-inner {
    width: min(100% - 30px, 720px);
    flex-wrap: wrap;
    padding: 16px 0;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    flex-wrap: wrap;
  }

  .logo img {
    width: 142px;
  }

  .hero,
  .services-hero,
  .clients-hero,
  .quote-hero {
    min-height: 720px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    padding: 18px 0;
  }

  .two-column,
  .quote-layout,
  .service-cards,
  .service-row,
  .complementarios .service-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .two-column {
    width: min(100% - 36px, 580px);
    padding-top: 12px;
  }

  .about-location-section {
    margin-top: 52px;
  }

  .location-panel {
    min-height: 700px;
    display: grid;
    align-content: start;
    gap: 34px;
    padding: 48px 18px;
  }

  .map-card,
  .weather-card {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .map-card h2,
  .weather-card h2,
  .about-summary-card h2 {
    margin-left: 0;
    font-size: 22px;
  }

  .map-card iframe {
    height: 260px;
  }

  .weather-body,
  .weather-tabs {
    padding-left: 18px;
    padding-right: 18px;
  }

  .weather-body {
    align-items: flex-start;
    flex-direction: column;
  }

  .weather-detail {
    text-align: left;
  }

  .weather-tabs {
    gap: 18px;
    flex-wrap: wrap;
  }

  .team-panel {
    min-height: 440px;
  }

  .team-photo {
    object-position: 48% 16%;
  }

  .partner-logos {
    min-height: 190px;
    padding: 34px 24px;
    gap: 32px;
  }

  .time-section {
    grid-template-columns: 1fr;
    padding: 34px 18px;
  }

  .services-title {
    margin-bottom: 92px;
  }

  .service-cards {
    width: min(100% - 36px, 410px);
  }

  .service-card {
    margin-bottom: 70px;
  }

  .detail-section {
    width: min(100% - 34px, 560px);
  }

  .service-row img,
  .complementarios .service-row img {
    width: 100%;
    height: auto;
    aspect-ratio: 304 / 161;
  }

  .clients-panel-wrap,
  .quote-layout {
    width: min(100% - 34px, 480px);
  }

  .feedback-card,
  .quote-card {
    width: 100%;
  }
}
