/* ========================================
   DRONE MEDELLIN — styles.css
   Fiel al diseño original dronemedellin.com.co
   ======================================== */

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

:root {
  --blue:      #265cdc;
  --blue-dark: #1a45b0;
  --dark:      #1b1b1b;
  --gray-bg:   #f7f7f7;
  --gray-bg2:  #fafafa;
  --white:     #ffffff;
  --text:      #333333;
  --text-light:#666666;
  --overlay:   rgba(51,51,51,0.72);
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Lato', sans-serif;
  --transition:0.3s ease;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.7; }
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* --- Buttons --- */
.btn-blue {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 30px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-full { width: 100%; text-align: center; }

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: transparent;
  transition: background var(--transition), padding var(--transition);
}
.navbar.scrolled {
  background: rgba(27,27,27,0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo-img  { height: 42px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--blue); }

.btn-nav {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 9px 20px !important;
  border-radius: 4px;
}
.btn-nav:hover { background: var(--blue-dark) !important; }

.nav-clima {
  background: rgba(255,255,255,0.12);
  border-radius: 4px;
  padding: 6px 12px !important;
  font-size: 0.85rem;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
.nav-clima:hover { background: rgba(255,255,255,0.22) !important; color: var(--white) !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }
.nav-close { display: none; }

/* ---- Language toggle ---- */
.lang-toggle {
  background: none;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 4px;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 5px 10px;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  flex-shrink: 0;
  transition: border-color var(--transition);
}
.lang-toggle:hover { border-color: rgba(255,255,255,0.75); }
.lang-opt { opacity: 0.45; transition: opacity var(--transition); }
.lang-opt.active { opacity: 1; }
.lang-sep { opacity: 0.3; font-size: 0.7rem; }

/* ========================================
   HERO — video de fondo pantalla completa
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}
.hero-video-wrap {
  position: absolute;
  inset: -10%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hero-video-wrap iframe {
  width: 100%; height: 100%;
  transform: scale(1.15);
}
.hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.15);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: rgba(0,0,0,0.55);
}
.hero-content {
  position: relative; z-index: 3;
  max-width: 820px;
  padding-top: 80px;
  color: var(--white);
}
.hero-content h1 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.hero-content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  max-width: 620px;
  margin-bottom: 36px;
  line-height: 1.75;
}

/* ========================================
   SERVICIOS HEADER
   ======================================== */
.services-intro {
  background: var(--blue);
  padding: 70px 0 60px;
  text-align: center;
  color: var(--white);
}
.services-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 12px;
}
.services-sub {
  font-size: 1.05rem;
  opacity: 0.88;
}

/* ========================================
   SERVICIOS PANELES — imagen de fondo
   ======================================== */
.services-panels { display: flex; flex-direction: column; }

.panel-row { display: flex; }

.panel {
  flex: 1;
  min-height: 480px;
  position: relative;
  overflow: hidden;
}
.panel-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  color: transparent;
  font-size: 0;
}

.panel-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: var(--overlay);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 110px 40px 40px;
  color: var(--white);
  transition: background var(--transition);
}
.panel:hover .panel-overlay { background: rgba(38,92,220,0.78); }

.panel-overlay h2,
.panel-overlay h3 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.panel-overlay p {
  font-size: 1rem;
  opacity: 0.92;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 460px;
}

/* Video Promocional - full width */
.panel-full { flex: none; width: 100%; min-height: 520px; background: var(--dark); }

.panel-full-overlay {
  flex-direction: column;
  justify-content: center;
  padding: 60px 5%;
}
.panel-full-inner {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}
.panel-video-embed {
  flex: 1;
  aspect-ratio: 16/9;
  min-width: 0;
}
.panel-video-embed iframe { width: 100%; height: 100%; border-radius: 6px; }

.panel-full-text { flex: 1; min-width: 0; }
.panel-full-text h2,
.panel-full-text h3 { font-family: var(--font-head); font-size: 1.8rem; font-weight: 900; margin-bottom: 16px; color: var(--white); text-transform: uppercase; }
.panel-full-text p  { opacity: 0.92; line-height: 1.75; margin-bottom: 24px; color: var(--white); }

/* Lite YouTube facade */
.lite-youtube {
  position: relative;
  cursor: pointer;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16/9;
}
.lite-youtube-poster {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: filter 0.2s ease;
}
.lite-youtube:hover .lite-youtube-poster { filter: brightness(0.85); }
.lite-youtube-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  opacity: 0.95;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.lite-youtube:hover .lite-youtube-play { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
.lite-youtube iframe { width: 100%; height: 100%; border: 0; }

/* ========================================
   NOSOTROS
   ======================================== */
.about {
  background: var(--white);
  overflow: hidden;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-end;
}
.about-photo {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.about-photo img {
  height: 480px;
  width: auto;
  display: block;
}

.about-label {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.about-text {
  padding: 80px 60px 80px 0;
}
.about-text p {
  color: var(--text-light);
  font-size: 1.15rem;
  line-height: 1.85;
  margin-bottom: 20px;
}
.about-cite {
  font-family: var(--font-head) !important;
  font-weight: 700 !important;
  font-style: italic;
  color: var(--dark) !important;
  font-size: 1.05rem !important;
  margin-bottom: 32px !important;
}

/* ========================================
   TESTIMONIOS
   ======================================== */
.brands {
  background: #0d0d0d;
  padding: 80px 0 70px;
  text-align: center;
  overflow: hidden;
}
.section-label {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 10px;
}
.brands h2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0;
}
.brands-marquee {
  margin-top: 48px;
  overflow: hidden;         /* fallback Safari < 16 */
  overflow-x: clip;
  overflow-y: visible;
  padding: 40px 0;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.brands-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: brand-scroll 45s linear infinite;
}
/* brand-item hover pause handled by JS */
.brand-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  cursor: pointer;
}
.brand-item img {
  height: 38px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.6;
  transform: scale(1);
  transform-origin: center bottom;
  transition: opacity 0.25s ease, filter 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.brand-item img:hover {
  opacity: 1;
  filter: none;
  transform: scale(1.65);
}
.brand-item span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.3s;
}
.brand-item span:hover { color: rgba(255, 255, 255, 0.9); }
@keyframes brand-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========================================
   REVIEWS / RESEÑAS
   ======================================== */
.reviews {
  background: var(--gray-bg);
  padding: 90px 0;
  position: relative;
}
.reviews .container { max-width: 1100px; }
.reviews h2 { text-align: center; margin-bottom: 40px; }

/* Summary Badge */
.reviews-summary {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}
.rating-badge {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 40px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.rating-badge:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.rating-number {
  font-size: 4rem;
  font-weight: 900;
  font-family: var(--font-head);
  color: var(--blue);
  line-height: 1;
  margin-bottom: 12px;
}
.stars {
  font-size: 1.8rem;
  color: #fbbf24;
  margin-bottom: 8px;
  letter-spacing: 4px;
}
.stars .star { display: inline-block; transition: transform 0.2s; }
.stars .star.filled { color: #fbbf24; }
.stars .star:not(.filled) { color: #d1d5db; }
.rating-badge:hover .stars .star { transform: scale(1.15); }
.rating-count {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 20px;
}
.btn-review {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
}
.btn-review:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

/* Carousel */
.reviews-carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 60px;
}
.reviews-track {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar { display: none; }

/* Review Card */
.review-card {
  flex: 0 0 100%;
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  scroll-snap-align: center;
  transition: box-shadow 0.3s;
}
.review-card:hover { box-shadow: 0 4px 25px rgba(0,0,0,0.1); }
.review-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.review-author-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gray-bg);
}
.review-author-info { flex: 1; }
.review-author-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 4px;
}
.review-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}
.review-stars {
  color: #fbbf24;
  font-size: 1rem;
  letter-spacing: 2px;
}
.review-time {
  font-size: 0.8rem;
  color: var(--text-light);
}
.review-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 16px;
}
.review-original-badge {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--text-light);
  background: var(--gray-bg);
  padding: 4px 10px;
  border-radius: 4px;
  margin-top: 8px;
}

/* See More Card */
.review-card-see-more {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}
.review-card-see-more:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.see-more-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: var(--white);
  padding: 20px;
}
.see-more-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.see-more-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s;
}
.review-card-see-more:hover .see-more-icon {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}
.see-more-icon svg {
  width: 32px;
  height: 32px;
}
.see-more-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.see-more-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: 0.02em;
}
.see-more-subtitle {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Carousel Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--blue);
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
  transition: all 0.3s;
  z-index: 10;
}
.carousel-btn:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-50%) scale(1.1);
}
.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }
.carousel-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.carousel-btn:disabled:hover {
  background: var(--white);
  color: var(--blue);
  transform: translateY(-50%);
}

/* Loading State */
.review-loading {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  scroll-snap-align: center;
}
.loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--gray-bg);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.review-loading p {
  margin-top: 16px;
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Google Attribution */
.google-attribution {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
  font-size: 0.85rem;
  color: var(--text-light);
}
.google-attribution img {
  display: inline-block;
  vertical-align: middle;
}

/* Responsive */
@media (max-width: 768px) {
  .reviews { padding: 60px 0; }
  .reviews-summary { margin-bottom: 40px; }
  .rating-badge { padding: 28px 32px; }
  .reviews-carousel { padding: 0 50px; }
  .reviews-track { gap: 20px; }
  .rating-number { font-size: 3rem; }
  .stars { font-size: 1.5rem; letter-spacing: 2px; }
  .review-card { 
    padding: 24px 20px; 
  }
  .review-author-photo {
    width: 48px;
    height: 48px;
  }
  .review-author-name {
    font-size: 1rem;
  }
  .review-text {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  .carousel-btn { 
    width: 40px; 
    height: 40px; 
    font-size: 1.5rem; 
  }
  .see-more-icon {
    width: 56px;
    height: 56px;
  }
  .see-more-title {
    font-size: 1.1rem;
  }
  .see-more-subtitle {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .reviews { padding: 50px 0; }
  .reviews-summary { margin-bottom: 30px; }
  .rating-badge { 
    padding: 24px 28px;
    border-radius: 12px;
  }
  .reviews-carousel { 
    display: grid;
    grid-template-areas:
      "track track"
      "prev  next";
    grid-template-columns: 1fr 1fr;
    padding: 0 16px;
    gap: 16px 0;
  }
  .reviews-track { 
    grid-area: track;
    gap: 16px;
  }
  .rating-number { font-size: 2.5rem; }
  .stars { font-size: 1.25rem; letter-spacing: 1px; }
  .rating-count { font-size: 0.85rem; }
  .btn-review { 
    font-size: 0.8rem;
    padding: 10px 24px;
  }
  .review-card { 
    padding: 20px 16px;
    border-radius: 10px;
  }
  .review-header {
    gap: 12px;
    margin-bottom: 12px;
  }
  .review-author-photo {
    width: 44px;
    height: 44px;
  }
  .review-author-name {
    font-size: 0.95rem;
  }
  .review-text {
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 12px;
  }
  .review-stars {
    font-size: 0.9rem;
    letter-spacing: 1px;
  }
  .review-time {
    font-size: 0.75rem;
  }
  .review-original-badge {
    font-size: 0.7rem;
    padding: 3px 8px;
  }
  .carousel-btn { 
    position: static;
    transform: none;
    width: 44px; 
    height: 44px; 
    font-size: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  }
  .carousel-btn.prev {
    grid-area: prev;
    justify-self: center;
  }
  .carousel-btn.next {
    grid-area: next;
    justify-self: center;
  }
  .carousel-btn:hover {
    transform: scale(1.05);
  }
  .carousel-btn:disabled:hover {
    transform: none;
  }
  .see-more-icon {
    width: 48px;
    height: 48px;
  }
  .see-more-icon svg {
    width: 28px;
    height: 28px;
  }
  .see-more-title {
    font-size: 1rem;
  }
  .see-more-subtitle {
    font-size: 0.8rem;
  }
}

/* ========================================
   CONTACTO
   ======================================== */
.contact {
  background: var(--white);
  padding: 90px 0;
}
.contact-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.contact-centered h2 {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 16px;
}
.contact-centered > p {
  color: var(--text-light);
  margin-bottom: 36px;
  line-height: 1.75;
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #25d366;
  color: #fff !important;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 18px 44px;
  border-radius: 6px;
  box-shadow: 0 6px 24px rgba(37,211,102,0.35);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  margin-bottom: 40px;
  text-decoration: none;
}
.btn-whatsapp svg { flex-shrink: 0; }
.btn-whatsapp:hover {
  background: #1aab55;
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(37,211,102,0.45);
  color: #fff !important;
}
.contact-centered .contact-list { align-items: center; margin-bottom: 28px; }
.contact-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.contact-list a {
  display: flex; align-items: center; gap: 12px;
  color: var(--text-light);
  font-size: 0.95rem;
  transition: color var(--transition);
}
.contact-list a:hover { color: var(--blue); }

.social-row { display: flex; gap: 16px; }
.social-row a {
  width: 42px; height: 42px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), transform var(--transition);
}
.social-row a:hover { background: var(--blue-dark); transform: translateY(-2px); }

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.55);
  text-align: center;
  padding: 28px 0;
  font-size: 0.85rem;
  font-family: var(--font-body);
}

/* ========================================
   CLIMA FLOAT
   ======================================== */
.clima-float {
  position: fixed; bottom: 28px; left: 28px; z-index: 999;
  background: linear-gradient(135deg, #56CCF2 0%, #2F80ED 100%);
  width: 68px; height: 68px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(47,128,237,0.45);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: clima-float-pulse 3s ease-in-out infinite;
}
.clima-float:hover { 
  transform: scale(1.1); 
  box-shadow: 0 6px 28px rgba(47,128,237,0.65);
  animation: none;
}
.clima-float div {
  animation: clima-icon-bounce 2s ease-in-out infinite;
}
.clima-float:hover div {
  animation: none;
}

@keyframes clima-float-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(47,128,237,0.45); }
  50% { box-shadow: 0 6px 24px rgba(47,128,237,0.6); }
}

@keyframes clima-icon-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* ========================================
   WHATSAPP FLOAT
   ======================================== */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  background: #25d366;
  width: 58px; height: 58px;
  border-radius: 50%;
  border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.65); }

/* ========================================
   WHATSAPP SERVICE PICKER MODAL
   ======================================== */

/* 3.1 Overlay */
.wa-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1100;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 180ms ease-out;
}
.wa-modal-overlay.is-open {
  opacity: 1; pointer-events: auto;
}

/* 3.2 Card */
.wa-modal-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  max-width: 400px;
  width: calc(100% - 32px);
  transform: scale(0.96);
  opacity: 0;
  transition: transform 180ms ease-out, opacity 180ms ease-out;
  position: relative;
}

/* 3.3 Card open state */
.wa-modal-overlay.is-open .wa-modal-card {
  transform: scale(1);
  opacity: 1;
}

/* 3.4 Header */
.wa-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.wa-modal-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
  line-height: 1.3;
}
.wa-modal-close {
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  color: #888;
  line-height: 1;
  transition: color var(--transition), background var(--transition);
}
.wa-modal-close:hover { color: var(--dark); background: #f0f0f0; }
.wa-modal-subtitle {
  font-size: 0.875rem;
  color: #555;
  margin: 0 0 18px;
  line-height: 1.45;
}

/* 3.5 Service checkboxes */
.wa-service-list {
  list-style: none;
  padding: 0; margin: 0 0 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.wa-service-option {
  display: flex; align-items: center; gap: 10px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1.5px solid #e8e8e8;
  transition: border-color var(--transition), background var(--transition);
  user-select: none;
}
.wa-service-option:hover { border-color: var(--blue); background: #eef2fd; }
.wa-service-option:has(input:checked) { border-color: var(--blue); background: #eef2fd; }
.wa-service-option input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--blue);
  cursor: pointer;
  flex-shrink: 0;
}
.wa-service-icon {
  font-size: 1.35rem;
  line-height: 1;
  color: #777;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  transition: color var(--transition), font-variation-settings var(--transition);
  flex-shrink: 0;
}
.wa-service-option:has(input:checked) .wa-service-icon {
  color: var(--blue);
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
.wa-service-label { font-size: 0.9rem; font-weight: 500; color: var(--dark); }

/* 3.6 CTA button */
.wa-modal-cta {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px 20px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.wa-modal-cta-icon { width: 20px; height: 20px; flex-shrink: 0; }
.wa-modal-cta:hover:not(:disabled) { background: #1ebe5d; transform: translateY(-1px); }

/* 3.7 CTA disabled state */
.wa-modal-cta:disabled { opacity: 0.45; cursor: not-allowed; }

/* 3.8 Responsive mobile */
@media (max-width: 480px) {
  .wa-modal-card {
    width: calc(100% - 16px);
    padding: 20px 16px;
    max-height: 90dvh;
    overflow-y: auto;
  }
}

/* ========================================
   ACCESIBILIDAD — skip link
   ======================================== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 8px;
  background: var(--blue);
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  z-index: 2000;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 8px; }

/* ========================================
   POR QUÉ ELEGIRNOS
   ======================================== */
.why-us {
  background: var(--gray-bg2);
  padding: 80px 0;
  text-align: center;
}
.why-us h2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 50px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: left;
}
.why-grid li {
  background: var(--white);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  border-left: 4px solid var(--blue);
}
.why-grid strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--blue);
  margin-bottom: 10px;
}
.why-grid span {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ========================================
   INDUSTRIAS
   ======================================== */
.industries {
  background: var(--white);
  padding: 80px 0;
  text-align: center;
}
.industries h2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 40px;
}
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: left;
}
.industries-grid article {
  padding: 24px;
  border: 1px solid #ececec;
  border-radius: 8px;
  transition: border-color var(--transition), transform var(--transition);
}
.industries-grid article:hover { border-color: var(--blue); transform: translateY(-3px); }
.industries-grid h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 10px;
}
.industries-grid p {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ========================================
   COBERTURA
   ======================================== */
.coverage {
  background: var(--gray-bg);
  padding: 80px 0;
  text-align: center;
}
.coverage h2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
}
.coverage-intro {
  color: var(--text-light);
  max-width: 720px;
  margin: 0 auto 44px;
  line-height: 1.7;
}
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: left;
}
.coverage-grid > div {
  background: var(--white);
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.05);
}
.coverage-grid h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--blue);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.coverage-grid ul { list-style: none; padding: 0; }
.coverage-grid li {
  color: var(--text-light);
  font-size: 0.92rem;
  padding: 4px 0;
  border-bottom: 1px dashed #eee;
}
.coverage-grid li:last-child { border-bottom: 0; }

/* ========================================
   FAQ
   ======================================== */
.faq {
  background: var(--white);
  padding: 80px 0;
  text-align: center;
}
.faq h2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 40px;
}
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
}
.faq-list details {
  background: var(--gray-bg2);
  border-radius: 8px;
  padding: 18px 22px;
  margin-bottom: 14px;
  border-left: 3px solid var(--blue);
  transition: background var(--transition);
}
.faq-list details[open] { background: #eef3ff; }
.faq-list summary {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--blue);
  transition: transform var(--transition);
}
.faq-list details[open] summary::after { content: '−'; }
.faq-list p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-top: 12px;
}

/* ========================================
   FOOTER mejorado
   ======================================== */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: left;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 18px;
}
.footer-grid strong {
  display: block;
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.95rem;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-grid p, .footer-grid a {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  line-height: 1.7;
}
.footer-grid a:hover { color: #fff; }
.footer-copy { font-size: 0.8rem; opacity: 0.85; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .panel-full-inner { flex-direction: column; gap: 32px; }
  .panel-video-embed { width: 100%; }
  .panel-full { min-height: auto; }
  .panel-full-overlay { padding: 48px 5%; }
  .about-inner { grid-template-columns: 1fr; gap: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-text { padding: 40px 24px; }
  .about-photo { justify-content: center; }
  .about-photo img { height: 380px; }
  .brands-track { gap: 40px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .coverage-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* ── Navbar ── */
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: fixed; inset: 0;
    background: rgba(27,27,27,0.98);
    flex-direction: column; align-items: center; justify-content: center;
    gap: 22px; z-index: 999;
    overflow-y: auto; padding: 28px 0;
  }
  .nav-links.open { display: flex; }
  .nav-close {
    display: block;
    position: absolute; top: 20px; right: 20px;
    background: none; border: none; cursor: pointer;
    color: var(--white); padding: 8px; border-radius: 50%;
    line-height: 1; transition: background var(--transition);
  }
  .nav-close:hover { background: rgba(255,255,255,0.12); }
  .nav-links a { font-size: 1rem; }
  .nav-links .lang-toggle { font-size: 0.9rem; padding: 8px 18px; }

  /* ── Container ── */
  .container { padding: 0 18px; }

  /* ── Hero ── */
  .hero-content { padding-top: 60px; }
  .hero-content p { font-size: 0.95rem; margin-bottom: 28px; }

  /* ── Services intro ── */
  .services-intro { padding: 52px 0 44px; }

  /* ── Services panels ── */
  .panel-row { flex-direction: column; }
  .panel { min-height: 340px; }
  .panel-overlay { padding: 50px 20px 28px; }
  .panel-overlay h2,
  .panel-overlay h3 { font-size: 1.3rem; margin-bottom: 10px; }
  .panel-overlay p { font-size: 0.93rem; margin-bottom: 18px; }
  .panel-full-text h2,
  .panel-full-text h3 { font-size: 1.4rem; }

  /* ── Why us ── */
  .why-us { padding: 60px 0; }
  .why-us h2 { margin-bottom: 32px; }

  /* ── Industries ── */
  .industries { padding: 60px 0; }
  .industries h2 { margin-bottom: 28px; }

  /* ── Coverage ── */
  .coverage { padding: 60px 0; }
  .coverage-intro { margin-bottom: 32px; }

  /* ── FAQ ── */
  .faq { padding: 60px 0; }
  .faq h2 { margin-bottom: 28px; }

  /* ── About ── */
  .form-row-2 { grid-template-columns: 1fr; }
  .about-photo img {
    width: 100%; height: 260px;
    object-fit: cover; object-position: top center;
    max-width: none;
  }

  /* ── Contact ── */
  .contact { padding: 68px 0; }
  .btn-whatsapp { padding: 15px 24px; font-size: 1rem; }

  /* ── Brands ── */
  .brands { padding: 60px 0 52px; }

  /* ── Float + grids ── */
  .clima-float { bottom: 16px; left: 16px; width: 62px; height: 62px; }
  .whatsapp-float { bottom: 16px; right: 16px; width: 52px; height: 52px; }
  .why-grid, .industries-grid, .coverage-grid, .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  /* ── Container ── */
  .container { padding: 0 16px; }

  /* ── Hero ── */
  .hero-content { padding-top: 52px; }
  .hero-content h1 { font-size: clamp(1.65rem, 8vw, 2.4rem); }
  .hero-content p { font-size: 0.88rem; margin-bottom: 22px; }
  .btn-blue { padding: 11px 22px; font-size: 0.82rem; }

  /* ── Services intro ── */
  .services-intro { padding: 42px 0 36px; }
  .services-title { font-size: 1.4rem; }
  .services-sub { font-size: 0.95rem; }

  /* ── Panels ── */
  .panel { min-height: 300px; }
  .panel-overlay { padding: 36px 16px 22px; }
  .panel-overlay h2,
  .panel-overlay h3 { font-size: 1.15rem; margin-bottom: 8px; }
  .panel-overlay p { font-size: 0.9rem; margin-bottom: 16px; }
  .panel-full-text h2,
  .panel-full-text h3 { font-size: 1.2rem; }
  .panel-full-overlay { padding: 36px 4%; }

  /* ── Sections ── */
  .why-us { padding: 52px 0; }
  .why-us h2 { margin-bottom: 26px; font-size: 1.4rem; }
  .why-grid li { padding: 20px 18px; }
  .industries { padding: 52px 0; }
  .industries h2 { margin-bottom: 22px; }
  .coverage { padding: 52px 0; }
  .coverage-intro { margin-bottom: 24px; }
  .faq { padding: 52px 0; }
  .faq h2 { margin-bottom: 22px; }

  /* ── About ── */
  .about-text { padding: 28px 0; }
  .about-text p { font-size: 1rem; }
  .about-photo img { height: 220px; }

  /* ── Brands ── */
  .brands { padding: 48px 0 40px; }

  /* ── Contact ── */
  .contact { padding: 56px 0; }
  .contact-centered h2 { font-size: 1.6rem; }
  .contact-centered > p { font-size: 0.95rem; margin-bottom: 28px; }
  .btn-whatsapp {
    padding: 13px 18px;
    font-size: 0.9rem;
    gap: 10px;
    margin-bottom: 28px;
  }

  /* ── Footer ── */
  .footer-grid { gap: 20px; }
  .footer-grid strong { font-size: 0.88rem; }

  /* ── Float buttons ── */
  .clima-float { bottom: 12px; left: 12px; width: 58px; height: 58px; }
  .whatsapp-float { bottom: 12px; right: 12px; width: 48px; height: 48px; }
}
