@font-face {
  font-family: "LatoLocal";
  src: url("../fonts/lato-v23-latin-regular1.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "LatoLocal";
  src: url("../fonts/lato-v23-latin-7001.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "RobotoLocal";
  src: url("../fonts/roboto-v30-latin-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}

:root {
  --blue: #25227e;
  --blue-dark: #17145d;
  --yellow: #fff794;
  --text: #222222;
  --muted: #6a6a6a;
  --line: #fcee21;
  --paper: #fafafa;
  --white: #ffffff;
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.17);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--white);
  font-family: "LatoLocal", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

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

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

.container {
  width: min(1080px, calc(100% - 40px));
  margin-inline: auto;
}

.section-anchor {
  scroll-margin-top: 92px;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 82px;
  padding: 0 clamp(24px, 7vw, 115px);
  color: var(--white);
  border-bottom: 3px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  color: var(--blue);
  background: var(--white);
  border-color: var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.brand {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  padding: 8px;
  background: var(--white);
  border-radius: 50%;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: "RobotoLocal", Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.main-nav a {
  padding: 12px 0;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.main-nav a:hover {
  opacity: 0.65;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 690px;
  padding: 120px 0 70px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.12) 55%, rgba(0, 0, 0, 0.42)),
    url("../images/alambrados_providencia-banner-111.jpg") center / cover no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(300px, 420px);
  justify-content: space-between;
  gap: 48px;
  align-items: center;
}

.hero-copy p {
  max-width: 400px;
  margin: 0 0 18px;
  font-family: "RobotoLocal", Arial, sans-serif;
  font-size: 23px;
  line-height: 1.4;
}

.hero-copy h1 {
  margin: 0 0 20px;
  color: var(--yellow);
  font-size: 31px;
  line-height: 1.1;
  font-weight: 700;
}

.whatsapp-card {
  display: block;
  max-width: 416px;
}

.hero-gallery {
  position: relative;
  display: grid;
  align-items: end;
  justify-items: center;
  min-height: 438px;
}

.slide {
  grid-area: 1 / 1;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.slide.is-active {
  opacity: 1;
}

.slide img {
  width: min(395px, 82vw);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.dots {
  z-index: 2;
  grid-area: 1 / 1;
  display: flex;
  gap: 10px;
  align-self: end;
  padding-bottom: 12px;
}

.dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
  cursor: pointer;
}

.dots button.is-active {
  background: var(--white);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 16px;
  width: 62px;
  transform: translateX(-50%);
}

.products {
  padding: 92px 0 70px;
}

.section-title {
  margin: 0 0 30px;
  color: var(--blue);
  font-size: clamp(31px, 5vw, 58px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 3px;
  text-align: center;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 464px);
  gap: clamp(28px, 7vw, 70px);
  align-items: center;
}

.product-copy h3 {
  margin: 0 0 22px;
  color: var(--blue);
  font-size: 25px;
  line-height: 1.25;
  font-weight: 700;
}

.product-copy p {
  margin: 0 0 18px;
  font-size: 18px;
}

.list-title {
  color: var(--blue);
  font-weight: 700;
}

.check-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 18px;
}

.check-list li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--blue);
  font-weight: 900;
}

.feature-photo img,
.about-card img,
.contact-photo img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.feature-photo {
  margin: 0;
}

.gallery-block {
  margin-top: 72px;
}

.gallery-title {
  margin: 0 0 22px;
  color: var(--blue);
  font-size: clamp(54px, 12vw, 105px);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}

.gallery-slider {
  position: relative;
  width: min(650px, 100%);
  margin: 0 auto;
  padding-bottom: 44px;
}

.gallery-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 650 / 488;
  overflow: hidden;
  background: #e8e8e8;
  border-radius: 8px;
}

.gallery-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.gallery-stage img.is-active {
  opacity: 1;
}

.slider-button {
  position: absolute;
  z-index: 2;
  bottom: 0;
  display: grid;
  place-items: center;
  width: 54px;
  height: 36px;
  border: 0;
  color: var(--blue);
  background: transparent;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.slider-button.prev {
  right: 166px;
}

.slider-button.next {
  right: 0;
}

.counter {
  position: absolute;
  right: 64px;
  bottom: 4px;
  min-width: 92px;
  margin: 0;
  color: var(--blue);
  text-align: center;
  font-weight: 700;
}

.about {
  padding: 78px 0 64px;
  color: var(--white);
  background:
    linear-gradient(rgba(0, 0, 0, 0.54), rgba(0, 0, 0, 0.6)),
    url("../images/alambrados_providencia-banner-22.jpg") center / cover no-repeat;
}

.about .section-title {
  color: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 6vw, 70px);
}

.about-card img {
  height: 250px;
  box-shadow: none;
}

.about-card h3 {
  margin: 22px 0 16px;
  color: var(--yellow);
  font-size: 24px;
  text-align: center;
  text-transform: uppercase;
}

.about-card p {
  margin: 0 0 14px;
  font-size: 17px;
}

.security-banner {
  min-height: 620px;
  padding: 175px 20px 110px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.32)),
    url("../images/alambrados_providencia-banner_6.jpg") center / cover no-repeat;
}

.security-card {
  width: min(668px, 100%);
  margin: 0 auto;
  padding: 24px 44px 28px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.42);
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-align: center;
}

.security-card img {
  width: 207px;
  height: 109px;
  margin: 0 auto 8px;
  object-fit: contain;
}

.security-card p {
  margin: 0;
  font-size: clamp(26px, 4.5vw, 40px);
  line-height: 1.2;
  font-weight: 700;
}

.clients {
  padding: 46px 0 70px;
}

.clients .section-title {
  margin-bottom: 36px;
}

.client-logos {
  display: grid;
  gap: 32px;
  justify-items: center;
}

.client-logos img {
  max-height: 72px;
  width: auto;
}

.contact {
  padding: 88px 0 74px;
  background: linear-gradient(#fafafa, #ffffff);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 405px) minmax(260px, 445px);
  gap: clamp(34px, 8vw, 90px);
  align-items: center;
}

.contact-copy h2 {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 36px;
  line-height: 1.15;
}

.contact-copy > p {
  margin: 0 0 34px;
  max-width: 330px;
  color: var(--muted);
  font-size: 17px;
}

.contact-list {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.contact-list img {
  width: 59px;
  max-height: 64px;
  object-fit: contain;
}

.contact-list a,
.contact-list span {
  color: var(--blue);
  overflow-wrap: anywhere;
  font-size: 18px;
  font-weight: 700;
}

.contact-photo {
  margin: 0;
}

.contact-photo img {
  max-height: 524px;
  object-position: center;
}

.floating-whatsapp {
  position: fixed;
  z-index: 45;
  right: 21px;
  bottom: 20px;
  display: grid;
  place-items: center;
  width: 100px;
  height: 100px;
  transition: transform 0.2s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-4px);
}

.site-footer {
  padding-top: 44px;
  background: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: clamp(30px, 10vw, 160px);
  align-items: center;
}

.footer-grid img {
  max-height: 112px;
  object-fit: contain;
}

.footer-grid p {
  margin: 0;
  color: var(--text);
  font-size: 19px;
  letter-spacing: 1px;
}

.copyright {
  margin: 36px 0 0;
  padding: 16px 20px 22px;
  color: var(--blue);
  font-size: 12px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 820px) {
  .site-header {
    height: 82px;
    padding: 0 38px;
  }

  .brand {
    width: 66px;
    height: 66px;
  }

  .menu-toggle {
    display: block;
    color: currentColor;
  }

  .main-nav {
    position: fixed;
    top: 82px;
    left: 0;
    display: none;
    width: 100%;
    justify-content: center;
    gap: 18px;
    padding: 14px 18px;
    color: var(--blue);
    background: var(--white);
    border-bottom: 3px solid var(--line);
    font-size: 12px;
  }

  .main-nav.is-open {
    display: flex;
  }

  .hero {
    min-height: 1020px;
    padding-top: 120px;
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.44)),
      url("../images/alambrados_providencia-banner-1112.jpg");
  }

  .hero-grid,
  .split,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy p,
  .hero-copy h1,
  .whatsapp-card {
    margin-inline: auto;
  }

  .hero-gallery {
    min-height: 330px;
  }

  .products {
    padding-top: 72px;
  }

  .split {
    gap: 28px;
  }

  .product-copy {
    order: 2;
  }

  .feature-photo {
    order: 1;
    width: min(330px, 100%);
    margin-inline: auto;
  }

  .about-card img {
    height: auto;
    max-height: 290px;
  }

  .security-banner {
    min-height: 520px;
    padding-top: 126px;
  }

  .contact-copy {
    text-align: center;
  }

  .contact-copy > p {
    margin-inline: auto;
  }

  .contact-list {
    width: min(410px, 100%);
    margin-inline: auto;
    text-align: left;
  }

  .contact-photo {
    width: min(330px, 100%);
    margin-inline: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(380px, calc(100% - 32px));
  }

  .site-header {
    padding: 0 28px;
  }

  .main-nav {
    gap: 10px;
    font-size: 11px;
    letter-spacing: 1px;
  }

  .hero {
    min-height: 1100px;
  }

  .hero-copy p {
    max-width: 230px;
    font-size: 26px;
    line-height: 1.35;
  }

  .hero-copy h1 {
    font-size: 30px;
  }

  .whatsapp-card {
    max-width: 328px;
  }

  .gallery-title {
    font-size: 64px;
  }

  .gallery-slider {
    padding-bottom: 42px;
  }

  .slider-button.prev {
    right: auto;
    left: 58px;
  }

  .slider-button.next {
    right: 58px;
  }

  .counter {
    right: 50%;
    width: 86px;
    transform: translateX(50%);
  }

  .security-card {
    padding: 18px 18px 24px;
  }

  .contact-list li {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
  }

  .contact-list img {
    width: 48px;
  }

  .contact-list a,
  .contact-list span {
    font-size: 16px;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 16px;
    width: 64px;
    height: 64px;
  }
}
