/* =========================================================
   MOVITEK — Landing page
   ========================================================= */

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
ul { list-style: none; }

:root {
  --color-primary: #F6C00E;
  --color-secondary: #F2F4F5;
  --color-dark: #34383C;
  --color-white: #FFFFFF;
  --font-main: 'Montserrat', sans-serif;
  --shadow-soft: 0 5px 10px rgba(52, 56, 60, 0.5);
  --header-height: 90px;
}

body {
  font-family: var(--font-main);
  line-height: 1.15;
  letter-spacing: 0;
  color: var(--color-dark);
  background: var(--color-primary);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 40px;
}

section { position: relative; }

/* =========================================================
   Reusable — Arrow button (corner-arrowhead + expanding line)
   ========================================================= */
.btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 215px;
  width: auto;
  max-width: 100%;
  height: 48px;
  background: var(--color-primary);
  color: var(--color-dark);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 21px;
  line-height: 1;
  text-decoration: none;
  padding: 0 20px;
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: background-color .3s ease, color .3s ease;
}
.btn-arrow-label { white-space: nowrap; }
.btn-arrow-icon {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 16px;
  flex-shrink: 0;
}
.btn-arrow-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 11px;
  height: 11px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.btn-arrow-icon-line {
  position: absolute;
  top: 50%;
  right: 1px;
  width: 0;
  height: 3px;
  background: currentColor;
  transform: translateY(-50%);
  transition: width .3s ease;
}
.btn-arrow:hover, .btn-arrow:focus-visible {
  background: var(--color-dark);
  color: var(--color-primary);
}
.btn-arrow:hover .btn-arrow-icon-line,
.btn-arrow:focus-visible .btn-arrow-icon-line { width: 20px; }

/* Standalone carousel arrows (reuse same style, no label/box) */
.carousel-arrow {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.carousel-arrow .btn-arrow-icon { width: 24px; height: 18px; }
.carousel-arrow .btn-arrow-icon::after { width: 13px; height: 13px; border-width: 3px; }
.carousel-arrow .btn-arrow-icon-line { height: 3px; }
.carousel-arrow:hover .btn-arrow-icon-line { width: 24px; }
.btn-arrow-icon-left { transform: scaleX(-1); }

.carousel-arrow-lg { width: 52px; height: 52px; }
.carousel-arrow-lg .btn-arrow-icon { width: 32px; height: 24px; }
.carousel-arrow-lg .btn-arrow-icon::after { width: 16px; height: 16px; border-width: 4px; }
.carousel-arrow-lg .btn-arrow-icon-line { height: 4px; }
.carousel-arrow-lg:hover .btn-arrow-icon-line { width: 32px; }

/* =========================================================
   Reusable — Animated line
   ========================================================= */
@keyframes line-fill {
  0%   { width: 0%; }
  100% { width: 100%; }
}
.animated-line {
  position: relative;
  width: 634px;
  max-width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
  margin-top: 50px;
}
.hero-text-box .animated-line { background: rgba(52, 56, 60, 0.1); }
.animated-line span {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: var(--color-primary);
  animation: line-fill 4s linear infinite;
}
.animated-line.line-once span { animation: line-fill 4s linear 1 forwards; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(52, 56, 60, 0.19);
  transition: background .35s ease;
}
.site-header.scrolled { background: var(--color-dark); }

.header-inner {
  max-width: 1600px;
  margin: 0 auto;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}
.logo-img { height: 43px; width: auto; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: 40px; margin-right: 40px; }
.main-nav a {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 19px;
  color: var(--color-white);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--color-primary);
  transition: width .3s ease;
}
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 22px; }
.icon-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--color-white);
  width: 21px; height: 21px;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
}
.burger-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px; height: 18px;
}
.burger-toggle span {
  display: block; width: 100%; height: 2px;
  background: var(--color-white);
  transition: transform .3s ease, opacity .3s ease;
}
.burger-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger-toggle.open span:nth-child(2) { opacity: 0; }
.burger-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Search bar */
.search-bar {
  max-height: 0;
  overflow: hidden;
  background: rgba(52, 56, 60, 0.8);
  transition: max-height .35s ease;
}
.site-header.scrolled .search-bar { background: var(--color-dark); }
.search-bar.open { max-height: 350px; }
.search-bar-inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.search-bar-icon { color: var(--color-white); flex-shrink: 0; }
.search-bar-inner input {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,.4);
  color: var(--color-white);
  font-family: var(--font-main);
  font-size: 20px;
  padding: 8px 4px;
  outline: none;
}
.search-bar-inner input::placeholder { color: rgba(255,255,255,.6); }
.search-close {
  background: transparent; border: none; color: var(--color-white);
  font-size: 42px; cursor: pointer; line-height: 1;
}
.search-results {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 40px 16px;
  max-height: 220px;
  overflow-y: auto;
}
.search-results li a {
  display: block;
  color: var(--color-white);
  text-decoration: none;
  padding: 8px 0;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 14px;
}
.search-results li a strong { color: var(--color-primary); }
.search-results .no-results { color: rgba(255,255,255,.6); font-size: 14px; padding: 8px 0; }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: min(360px, 85vw);
  height: 100vh;
  background: var(--color-dark);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform .35s ease;
  display: flex;
  align-items: center;
  padding: 40px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  position: absolute;
  top: 28px; right: 28px;
  width: 30px; height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}
.mobile-menu-close span {
  position: absolute;
  top: 50%; left: 50%;
  width: 24px; height: 2px;
  background: var(--color-white);
}
.mobile-menu-close span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.mobile-menu-close span:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }
.mobile-menu ul { width: 100%; display: flex; flex-direction: column; gap: 30px; }
.mobile-menu li { width: 100%; }
.mobile-menu a {
  color: var(--color-white);
  text-decoration: none;
  font-size: 26px;
  font-weight: 700;
}
.mobile-menu-line {
  width: 100%;
  max-width: 90px;
  height: 3px;
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.15);
}
.mobile-menu-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease;
  z-index: 1050;
}
.mobile-menu-overlay.open { opacity: 1; pointer-events: auto; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  width: 100%;
  /*height: 100vh;*/
  min-height: 706px;
  overflow: hidden;
}
.hero-slideshow { position: absolute; inset: 0; }
.hero-slideshow .slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: top center;
  opacity: 0;
  transition: opacity .5s ease;
}
.hero-slideshow .slide.active { opacity: 1; }
.hero-slideshow::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(52,56,60,.15), rgba(52,56,60,0) 40%);
}

.hero-overlay-content {
  position: absolute;
  left: 0; right: 335px; bottom: 175px;
}
.hero-text-box {
  background: var(--color-white);
  padding: 48px 50px;
  max-width: 630px;
  box-shadow: var(--shadow-soft);
}
.hero-eyebrow {
  font-weight: 400;
  color: var(--color-dark);
  font-size: 18px;
  margin-bottom: 12px;
}
.hero-title {
  font-weight: 800;
  color: var(--color-dark);
  font-size: 48px;
  line-height: 1.15;
  margin-bottom: 28px;
  max-width: 560px;
}

/* =========================================================
   Phrase carousel
   ========================================================= */
/*.phrase-carousel-section { background: var(--color-dark); }*/
.phrase-carousel {
  max-width: 1520px;
  margin: 0 auto;
  min-height: 125px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  box-shadow: var(--shadow-soft);
  position: relative;
  top: -60px;
  background-color: #34383C;
}
.phrase-track {
  flex: 1;
  position: relative;
  min-height: 0px;
  overflow: hidden;
}
.phrase-slide {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transition: opacity .5s ease;
}
.phrase-slide.active { opacity: 1; position: relative; }
.phrase-text-1 {
  font-size: 14px; font-weight: 600; color: var(--color-white);
  text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px;
}
.phrase-text-2 {
  font-size: 20px; font-weight: 700; color: var(--color-white);
  max-width: 900px;
}

/* =========================================================
   Soluciones de elevacion
   ========================================================= */
.soluciones { margin: 25px; }
.soluciones-inner {
  display: flex;
  max-width: 1520px;
  min-height: 614px;
  margin: 0 auto;
  box-shadow: var(--shadow-soft);
}
.soluciones-text {
  flex: 1 1 50%;
  min-width: 0;
  background: var(--color-dark);
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
}
.soluciones-text h2 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 50px;
  max-width: 380px;
}
.soluciones-gallery {
  flex: 1 1 50%;
  min-width: 0;
  background: var(--color-secondary);
  position: relative;
  overflow: hidden;
  min-height: 300px;
}
.soluciones-gallery img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 50px;
  opacity: 0;
  transition: opacity 1s ease;
}
.soluciones-gallery img.active { opacity: 1; }

/* =========================================================
   Dropdown carousels
   ========================================================= */
.dropdown-section {
  max-width: 1600px;
  margin: 70px auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0 40px;
}
.dropdown-item { background: var(--color-secondary); box-shadow: var(--shadow-soft); margin: 2px 0px; }
.dropdown-header {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  min-height: 90px;
  padding: 20px 30px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}
.dropdown-icon { width: 26px; height: 26px; flex-shrink: 0; color: var(--color-dark); }
.dropdown-title {
  flex: 1;
  font-family: var(--font-main);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-dark);
}
.dropdown-arrow {
  position: relative;
  width: 16px; height: 16px;
  flex-shrink: 0;
}
.dropdown-arrow::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 13px; height: 13px;
  border-top: 3px solid var(--color-dark);
  border-right: 3px solid var(--color-dark);
  transform: translate(-50%, -50%) rotate(135deg);
  transition: transform .3s ease;
}
.dropdown-item.open .dropdown-arrow::after { transform: translate(-50%, -50%) rotate(-45deg); }

.dropdown-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.dropdown-item.open .dropdown-body { max-height: 585px; }
.dropdown-body-inner {
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 24px 40px 28px;
  text-align: left;
  gap: 18px;
}
.dropdown-carousel-images {
  position: relative;
  width: 100%;
  max-width: 1440px;
  height: 500px;
  margin: 0 auto;
}
.dropdown-carousel-images img {
  position: absolute; inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .6s ease;
}
.dropdown-carousel-images img.active { opacity: 1; }
.dropdown-carousel-text {
  position: relative;
  width: 100%;
  max-width: 1440px;
  min-height: 24px;
  margin: 0 auto;
  text-align: left;
}
.dropdown-carousel-text p {
  position: absolute; left: 0; right: 0; top: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-dark);
  text-align: left;
  opacity: 0;
  transition: opacity .5s ease;
}
.dropdown-carousel-text p.active { opacity: 1; position: relative; }

/* =========================================================
   Product galleries
   ========================================================= */
.products-section { max-width: 1520px; margin: 20px auto 70px; padding: 0 40px; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.product-gallery {
  background: var(--color-secondary);
  box-shadow: var(--shadow-soft);
  width: 100%;
  max-width: 720px;
  height: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform .4s ease, box-shadow .4s ease;
}
.product-gallery.active { transform: scale(1.02); z-index: 2; box-shadow: 0 18px 40px rgba(52,56,60,.6); }
.product-gallery .gallery-stage {
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-gallery .gallery-stage img {
  position: absolute;
  max-width: 66%;
  max-height: 66%;
  object-fit: contain;
  opacity: 0;
  transition: opacity .6s ease, transform .6s ease;
  transform: scale(1);
}
.product-gallery .gallery-stage img.active { opacity: 1; }
.product-gallery.active .gallery-stage img.active { transform: scale(1.06); }
.product-gallery h3 {
  flex: 0 0 auto;
  font-size: 24px; font-weight: 700; color: var(--color-dark);
  margin: 22px 0; text-align: center;
}
.product-gallery .carousel-arrow {
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  color: var(--color-dark);
}
.product-gallery.active .carousel-arrow { opacity: 1; pointer-events: auto; }
.product-gallery .carousel-arrow-left { left: 8px; }
.product-gallery .carousel-arrow-right { right: 8px; }

/* =========================================================
   Contact form
   ========================================================= */
.contact-form-section { padding: 0px 0px; }
.contact-form-inner { max-width: 1520px; margin: 0 auto; padding: 0 40px; }
.contact-form-title-ctn { background: var(--color-secondary); width: 100%; min-height: 90px; padding: 25px; margin-bottom: 25px; box-shadow: var(--shadow-soft); display: flex; align-items: center; }
.contact-form-title {
  font-size: 28px; font-weight: 800; color: var(--color-dark);
}
.form-row { margin-bottom: 20px; }
.form-row-split { display: flex; gap: 20px; }
.form-row-split .form-row { flex: 1; margin-bottom: 0; }
.contact-form-section input,
.contact-form-section textarea {
  width: 100%;
  height: 90px;
  border: none;
  padding: 0 26px;
  font-family: var(--font-main);
  font-size: 16px;
  color: var(--color-dark);
  box-shadow: var(--shadow-soft);
  background: var(--color-white);
  outline: none;
}
.contact-form-section textarea { height: 160px; padding: 22px 26px; resize: vertical; }
.contact-form-section input::placeholder,
.contact-form-section textarea::placeholder { color: #8a8f94; }
.contact-form-section input.invalid,
.contact-form-section textarea.invalid { box-shadow: 0 0 0 2px #c62828, var(--shadow-soft); }
.form-row-submit { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; background: var(--color-secondary); width: 100%; min-height: 100px; padding: 25px; box-shadow: var(--shadow-soft);}
.form-feedback { font-weight: 600; font-size: 15px; color: var(--color-dark); }
.form-feedback.success { color: #1b5e20; }
.form-feedback.error { color: #c62828; }

/* =========================================================
   CTA — Contactar
   ========================================================= */
.cta-section {
  margin: 25px;
}
.cta-container {
  display: flex;
  max-width: 1520px;
  max-height: 500px;
  margin: 70px auto;
  box-shadow: var(--shadow-soft);
}
.cta-text {
  flex: 1 1 50%;
  min-width: 0;
  background: var(--color-dark);
  color: var(--color-white);
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cta-text h2 { font-size: 48px; font-weight: 800; margin-bottom: 28px; }
.cta-image {
  flex: 1 1 50%;
  min-width: 0;
  background: var(--color-secondary);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 320px;
}
.cta-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   Buildings gallery + info carousel
   ========================================================= */
.buildings-section { width: 100%; overflow: hidden; }
.buildings-gallery {
  position: relative;
  width: 100%;
  height: 78vh;
  min-height: 500px;
  overflow: hidden;
}
.buildings-gallery img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 2s ease-in-out, transform 4.2s ease-in-out;
}
.buildings-gallery img.active { opacity: 1; transform: scale(1); }

.buildings-info-carousel {
  position: relative;
  margin-top: -75px;
  width: 100%;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 40px;
  z-index: 5;
}
.buildings-progress { width: 100%; height: 4px; background: rgba(255,255,255,.2); }
.buildings-progress span { display: block; height: 100%; width: 0; background: var(--color-primary); }
.buildings-progress span.animate { animation: line-fill 4s linear; }
.buildings-info-inner {
  background: var(--color-dark);
  min-height: 125px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  box-shadow: var(--shadow-soft);
}
.buildings-info-track {
  flex: 1;
  position: relative;
  min-height: 0px;
  overflow: hidden;
  max-width: 900px;
}
.building-info-slide {
  position: absolute; inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 125px;
  flex-wrap: wrap;
  opacity: 0;
  transition: opacity .5s ease;
}
.building-info-slide.active { opacity: 1; position: relative; }
.building-info-item {
  display: flex; align-items: center; gap: 8px;
  color: var(--color-white); font-size: 20px; font-weight: 700; white-space: nowrap;
}
.building-info-item svg { color: var(--color-primary); flex-shrink: 0; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--color-dark); padding: 60px 40px 50px; margin-top: 50px; }
.footer-inner {
  max-width: 1520px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 20px;
}
.footer-left p { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 20px; font-weight: 600; color: var(--color-white); }
.footer-left a { color: var(--color-white); text-decoration: none; }
.footer-left svg { flex-shrink: 0; color: var(--color-primary); }
.footer-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 20px; }
.footer-logo { width: 122px; height: 84px; object-fit: contain; }
.footer-tagline { font-size: 48px; font-weight: 800; color: var(--color-white); }
.footer-line { max-width: 1520px; margin: 0px auto; }
.footer-line-svg { display: block; width: 100%; height: auto; overflow: visible; }
.footer-line-path { fill: none; stroke: #F6C00E; stroke-width: 6; stroke-linecap: round; }

/* =========================================================
   WhatsApp floating button
   ========================================================= */
@keyframes whatsapp-pulse {
  0%   { transform: scale(1); opacity: .55; }
  22%  { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}
.whatsapp-float {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #57d264;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(52, 56, 60, .4);
  z-index: 900;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.whatsapp-float:hover, .whatsapp-float:focus-visible {
  transform: scale(1.08);
  box-shadow: 0 8px 22px rgba(52, 56, 60, .45);
}
.whatsapp-float-icon { position: relative; z-index: 1; }
.whatsapp-float-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #57d264;
  animation: whatsapp-pulse 4.5s ease-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float-ring { animation: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1300px) {
  .phrase-carousel,
  .dropdown-section, .products-section, .contact-form-inner,
  .buildings-info-carousel, .footer-inner { padding-left: 24px; padding-right: 24px; padding-bottom: 30px;}
  .container { padding-right: 24px; padding-bottom: 30px; }
  .header-inner { padding-left: 24px; padding-right: 24px; }
}

@media (max-width: 1024px) {
  .main-nav { display: none; }
  .burger-toggle { display: flex; }
  .hero { min-height: 600px; }
  .hero-overlay-content { right: 24px; bottom: 100px; }
  .hero-text-box { max-width: 620px; }
  .hero-title { font-size: 44px; }
  .phrase-text-2 { font-size: 18px; }
  .phrase-carousel { top: -40px;}
  .soluciones-text h2, .cta-text h2 { font-size: 44px; margin-bottom: 50px;}
  .product-gallery { height: 520px; }
  .cta-container { max-height: none; }
  .dropdown-carousel-images { height: 240px; }
  .dropdown-item.open .dropdown-body { max-height: 420px; }
  .footer-tagline { font-size: 34px; margin-top: 20px;}
  .buildings-info-inner { flex-wrap: wrap; }
  .building-info-item { font-size: 18px; }
  .building-info-slide { gap: 50px; }
  .footer-right { display: inline-block; }
}

@media (max-width: 900px) {
  .soluciones { margin-top: 50px; }
  .soluciones-inner, .cta-container { flex-direction: column; }
  .soluciones-gallery, .cta-image { min-height: 475px;}
  .products-grid { grid-template-columns: 1fr; }
  .product-gallery { height: 480px; }
  .hero-overlay-content { right: 20px; }
  .hero-text-box { max-width: 100%; }
  .cta-image img { width: 100%;}
  .footer-left p { font-size: 18px; }
  .whatsapp-float { width: 56px; height: 56px; right: 20px; bottom: 20px; }
  .whatsapp-float-icon { width: 28px; height: 28px; }
}

@media (max-width: 768px) {
  .header-inner { padding: 0 20px; height: 72px; }
  .logo-img { height: 34px; }
  .hero { min-height: 620px; }
  .hero-overlay-content { right: 16px; /*bottom: 30px;*/ }
  .hero-text-box { padding: 50px; max-width: 100%; }
  .hero-title { font-size: 36px; }
  .hero-eyebrow { font-size: 15px; }
  .btn-arrow { min-width: 0; width: auto; height: 44px; }
  .animated-line { height: 4px; }
  .phrase-carousel { top: -20px; padding: 14px; gap: 4px;}
  .phrase-text-2 { font-size: 15px; }
  .soluciones-text, .cta-text { padding: 60px 26px; }
  .soluciones-text h2, .cta-text h2 { font-size: 36px; margin-bottom: 50px; }
  .dropdown-section, .products-section { padding: 0 20px; }
  .dropdown-title { font-size: 22px; }
  .dropdown-header { min-height: 72px; padding: 14px 18px; }
  .dropdown-body-inner { padding: 18px 20px 22px; gap: 14px; }
  .dropdown-carousel-images { height: 200px; }
  .dropdown-carousel-text p { font-size: 15px; }
  .dropdown-item.open .dropdown-body { max-height: 380px; }
  .product-gallery { height: 440px; }
  .contact-form-inner { padding: 0 20px; }
  .contact-form-section { padding: 0px 0; }
  .contact-form-title-ctn { padding: 18px 20px; }
  .form-row-submit { padding: 18px 20px; }
  .form-row-split { flex-direction: column; gap: 20px; }
  .contact-form-section input, .contact-form-section textarea { height: 64px; }
  .contact-form-section textarea { height: 130px; }
  .footer-inner { flex-direction: column; align-items: flex-start; padding-bottom: 35px;}
  .footer-right { align-items: flex-start; text-align: left; }
  .footer-left p { font-size: 18px; }
  .footer-tagline { font-size: 34px; }
  .buildings-info-carousel { margin-top: -90px; padding: 0 20px; }
  .buildings-info-inner { min-height: 125px; padding: 12px; flex-wrap: wrap; }
  .building-info-slide { gap: 24px; }
  .building-info-item { font-size: 16px; }
}

@media (max-width: 480px) {
  .hero { min-height: 570px; }
  .hero-title { font-size: 34px; }
  .hero-text-box { padding: 22px; }
  .soluciones-text h2, .cta-text h2 { font-size: 34px; }
  .btn-arrow { min-width: 0; height: 44px; font-size: 16px; padding: 0 16px; gap: 8px; }
  .btn-arrow-icon { width: 16px; height: 13px; }
  .btn-arrow-icon::after { width: 9px; height: 9px; border-width: 2px; }
  .btn-arrow:hover .btn-arrow-icon-line, .btn-arrow:focus-visible .btn-arrow-icon-line { width: 16px; }
  .products-section, .dropdown-section { padding: 0 16px; }
  .product-gallery { height: 360px; }
  .dropdown-carousel-images { height: 150px; }
  .dropdown-body-inner { padding: 16px 16px 18px; gap: 12px; }
  .dropdown-carousel-text p { font-size: 14px; }
  .dropdown-item.open .dropdown-body { max-height: 300px; }
  .contact-form-title { font-size: 24px; }
  .building-info-item { font-size: 13px; }
  .building-info-slide { gap: 16px; row-gap: 10px; }
  .whatsapp-float { width: 50px; height: 50px; right: 16px; bottom: 16px; }
  .whatsapp-float-icon { width: 25px; height: 25px; }
}
