/* =============================================
   CAFERSPA – STYLESHEET PRINCIPAL
   Constructora & Servicios Industriales
   ============================================= */

/* ── CSS Custom Properties ── */
:root {
  --gold: #C5A059;
  --gold-dark: #A38036;
  --gold-light: #E8D399;
  --blue: #111111;
  --blue-mid: #F4F5F7;
  --blue-light: #EAECEF;
  --blue-sky: #C5A059;
  --green: #C5A059;
  --green-dark: #A38036;
  --purple: #C5A059;
  --white: #111111;
  --real-white: #FFFFFF;
  --gray-50: #F7F3EE;
  --gray-100: #EDEBE7;
  --gray-200: #E0DDD8;
  --gray-300: #2D2D2D;
  --gray-400: #555555;
  --gray-500: #777777;
  --gray-600: #999999;
  --gray-700: #D0CBC2;
  --gray-800: #F0EDE8;
  --gray-900: #F8F6F3;
  --dark: #F7F3EE;
  --dark-card: #FDFCFB;
  --font-main: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --shadow-sm: 0 4px 20px rgba(0,0,0,0.06);
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 15px 40px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.12);
  --radius: 4px;
  --radius-lg: 8px;
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --nav-height: 80px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: #F7F3EE;
  background-image:
    linear-gradient(135deg, rgba(197,160,89,0.06) 25%, transparent 25%),
    linear-gradient(225deg, rgba(197,160,89,0.06) 25%, transparent 25%),
    linear-gradient(45deg, rgba(197,160,89,0.06) 25%, transparent 25%),
    linear-gradient(315deg, rgba(197,160,89,0.06) 25%, #F7F3EE 25%);
  background-size: 40px 40px;
  background-position: 20px 0, 20px 0, 0 0, 0 0;
  color: #2D2D2D;
  line-height: 1.8;
  overflow-x: hidden;
  font-weight: 300;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── Utility ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section { padding: 120px 0; }

.section-label {
  display: inline-block;
  background: rgba(245,158,11,0.15);
  color: var(--gold);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 100px;
  padding: 6px 18px;
  font-family: var(--font-main);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 60px;
}

.section-title {
  font-family: var(--font-main);
  font-weight: 300;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: 1px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--gray-400);
  line-height: 1.75;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--gray-300);
  margin-bottom: 16px;
}

.text-gold { color: var(--gold); }
.highlight {
  color: var(--gold);
  position: relative;
  display: inline-block;
}
.mt-2 { margin-top: 2rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: 4px;
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark);
  box-shadow: 0 4px 20px rgba(245,158,11,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245,158,11,0.5);
  background: linear-gradient(135deg, #FCD34D, var(--gold));
}

.btn-outline {
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(245,158,11,0.08);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37,211,102,0.5);
}

.btn-lg { padding: 18px 36px; font-size: 1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── PRELOADER ── */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }

.preloader-inner { text-align: center; }
.logo-anim { margin-bottom: 24px; animation: pulse 1.5s ease-in-out infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); opacity:1; } 50% { transform: scale(1.05); opacity:0.8; } }

.preloader-bar {
  width: 200px;
  height: 4px;
  background: var(--gray-800);
  border-radius: 100px;
  margin: 0 auto 16px;
  overflow: hidden;
}
.preloader-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  border-radius: 100px;
  animation: load 2s ease forwards;
}
@keyframes load { 0% { width: 0%; } 100% { width: 100%; } }

.preloader-inner p {
  font-family: var(--font-main);
  font-size: 0.85rem;
  color: var(--gray-400);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ── NAVBAR ── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: var(--transition);
  height: var(--nav-height);
}

#navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(197,160,89,0.2);
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-logo { display: flex; align-items: center; flex-shrink: 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 0.88rem;
  color: #222222;
  padding: 8px 12px;
  border-radius: 4px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.5px;
}
.nav-link:hover,
.nav-link.active { color: var(--gold); }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: var(--gray-800);
  border: 1px solid var(--gray-700);
  border-radius: var(--radius);
  padding: 8px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  box-shadow: var(--shadow-xl);
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: 10px 16px;
  border-radius: 6px;
  font-family: var(--font-main);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--gray-300);
  transition: var(--transition);
}
.dropdown li a:hover { background: rgba(245,158,11,0.1); color: var(--gold); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark);
  border-radius: 8px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.88rem;
  transition: var(--transition);
  margin-left: 8px;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(245,158,11,0.4); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO SLIDER ── */
.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
}

.slider-track { position: relative; width: 100%; height: 100%; }

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 1;
}
.slide.active { opacity: 1; z-index: 2; }

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.75) 60%, rgba(255,255,255,0.5) 100%);
  z-index: 1;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
  z-index: 0;
}
.slide.active .slide-bg { transform: scale(1); }

/* Slide backgrounds using Real Images */
.slide-bg-1 {
  background: url('../img/hero-mantencion-edificios.png') center/cover no-repeat;
}
.slide-bg-2 {
  background: url('../img/hero-reparaciones.png') center/cover no-repeat;
}
.slide-bg-3 {
  background: url('../img/hero-equipos-logisticos.png') center/cover no-repeat;
}

/* Elegant geometric accent */
.slide::before {
  content: '';
  position: absolute;
  right: 5%;
  top: 15%;
  width: 40vw;
  height: 40vw;
  max-width: 600px;
  max-height: 600px;
  border: 1px solid rgba(197, 160, 89, 0.15); /* elegant gold */
  border-radius: 50%;
  animation: morphShape 12s ease-in-out infinite;
  z-index: 1;
}
@keyframes morphShape {
  0%,100% { border-radius: 50%; transform: rotate(0deg) scale(1); }
  50% { border-radius: 40% 60% 60% 40% / 40% 60% 40% 60%; transform: rotate(45deg) scale(1.05); }
}

.slide-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 0 24px 0 calc((100vw - 1280px) / 2 + 24px);
  margin-top: var(--nav-height);
}
@media (max-width: 1280px) { .slide-content { padding-left: 24px; } }

.slide-badge {
  display: inline-block;
  background: rgba(197, 160, 89, 0.05);
  border: 1px solid rgba(197, 160, 89, 0.3);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 4px;
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeInDown 0.7s ease 0.2s both;
}

.slide-title {
  font-family: var(--font-main);
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 20px;
  animation: fadeInUp 0.7s ease 0.4s both;
  letter-spacing: 2px;
}

.slide-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: rgba(30,30,30,0.85);
  max-width: 580px;
  margin-bottom: 32px;
  line-height: 1.7;
  animation: fadeInUp 0.7s ease 0.6s both;
}

.slide-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
  animation: fadeInUp 0.7s ease 0.8s both;
}

.slide-stats {
  display: flex;
  gap: 40px;
  animation: fadeInUp 0.7s ease 1s both;
}

.stat {
  display: flex;
  flex-direction: column;
}
.stat-num {
  font-family: var(--font-main);
  font-weight: 900;
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
}
.stat span:last-of-type {
  font-family: var(--font-main);
  font-weight: 900;
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
}
.stat small {
  font-size: 0.8rem;
  color: var(--gray-400);
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: 0.5px;
}

/* Slider Controls */
.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: var(--white);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.slider-prev { left: 24px; }
.slider-next { right: 24px; }
.slider-prev:hover,
.slider-next:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}

.slider-dots {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 100px;
  background: rgba(255,255,255,0.3);
  border: none;
  transition: var(--transition);
}
.dot.active {
  width: 30px;
  background: var(--gold);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  font-family: var(--font-main);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(255,255,255,0.4);
  border-bottom: 2px solid rgba(255,255,255,0.4);
  transform: rotate(45deg);
  margin: 8px auto 0;
  animation: scrollBounce 1.5s ease-in-out infinite;
}
@keyframes scrollBounce { 0%,100% { transform: rotate(45deg) translateY(0); } 50% { transform: rotate(45deg) translateY(6px); } }

/* ── ABOUT SECTION ── */
.about-section { background: var(--dark); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual { position: relative; }

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius);
}
.img-placeholder svg { width: 100%; height: 100%; }

.about-img-thumb {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 45%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--gray-800);
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
  margin-bottom: 16px;
}

.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
}

.feature-item strong {
  display: block;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: 4px;
}
.feature-item p {
  font-size: 0.82rem;
  color: var(--gray-400);
  line-height: 1.5;
}

/* ── SERVICES ── */
.services-overview { background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%); }

.service-category-title {
  grid-column: 1 / -1;
  padding: 0 0 8px;
  border-bottom: 2px solid rgba(245,158,11,0.2);
  margin-bottom: 8px;
}
.service-category-title h3 {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 12px;
}
.service-category-title h3 i { color: var(--gold); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  border-color: rgba(245,158,11,0.2);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 30px rgba(245,158,11,0.05);
}

.service-card--electric:hover { border-color: rgba(59,130,246,0.3); box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 30px rgba(59,130,246,0.07); }
.service-card--electric::before { background: linear-gradient(90deg, var(--blue-sky), #60A5FA); }
.service-card--market:hover { border-color: rgba(16,185,129,0.3); box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 30px rgba(16,185,129,0.07); }
.service-card--market::before { background: linear-gradient(90deg, var(--green), #34D399); }
.service-card--garden:hover { border-color: rgba(16,185,129,0.3); box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 30px rgba(16,185,129,0.07); }
.service-card--garden::before { background: linear-gradient(90deg, #16A34A, #4ADE80); }
.service-card--moves:hover { border-color: rgba(139,92,246,0.3); }
.service-card--moves::before { background: linear-gradient(90deg, var(--purple), #A78BFA); }

.service-card-icon {
  width: 70px;
  height: 70px;
  background: rgba(245,158,11,0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}
.service-card:hover .service-card-icon { background: rgba(245,158,11,0.15); transform: scale(1.05); }

.electric-icon { background: rgba(59,130,246,0.08); }
.service-card--electric:hover .electric-icon { background: rgba(59,130,246,0.15); }
.market-icon { background: rgba(16,185,129,0.08); }
.service-card--market:hover .market-icon { background: rgba(16,185,129,0.15); }
.garden-icon { background: rgba(22,163,74,0.08); }
.moves-icon { background: rgba(139,92,246,0.08); }

.service-card h4 {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 1.08rem;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--gray-400);
  line-height: 1.65;
  margin-bottom: 18px;
}

.service-list {
  margin-bottom: 20px;
}
.service-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  color: var(--gray-300);
  padding: 5px 0;
}
.service-list li i { color: var(--gold); font-size: 0.7rem; flex-shrink: 0; }

.service-badge {
  display: inline-block;
  background: rgba(59,130,246,0.15);
  border: 1px solid rgba(59,130,246,0.3);
  color: #60A5FA;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-main);
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gold);
  transition: var(--transition);
}
.service-cta:hover { gap: 10px; }

/* ── COUNTER SECTION ── */
.counter-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.counter-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(70,118,140,0.95), rgba(35,72,88,0.98));
  z-index: 0;
}
.counter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(245,158,11,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(59,130,246,0.06) 0%, transparent 60%);
  z-index: 1;
}
.counter-section .container { position: relative; z-index: 2; }

.counters-grid {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.counter-item {
  text-align: center;
  min-width: 140px;
}
.counter-icon {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
  opacity: 0.8;
}
.counter-num {
  font-family: var(--font-main);
  font-weight: 900;
  font-size: 3.2rem;
  color: var(--white);
  line-height: 1;
  display: inline;
}
.counter-plus {
  font-family: var(--font-main);
  font-weight: 900;
  font-size: 2.2rem;
  color: var(--gold);
  display: inline;
}
.counter-label {
  display: block;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--gray-400);
  letter-spacing: 0.5px;
  margin-top: 10px;
  text-transform: uppercase;
}

/* ── PROCESS ── */
.process-section { background: var(--dark); }

.process-grid {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.process-step {
  flex: 1;
  min-width: 160px;
  max-width: 200px;
  text-align: center;
  padding: 24px 16px;
}

.process-num {
  font-family: var(--font-main);
  font-weight: 900;
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.process-icon {
  width: 70px;
  height: 70px;
  background: var(--dark-card);
  border: 2px solid rgba(245,158,11,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
  margin: 0 auto 16px;
  transition: var(--transition);
}
.process-step:hover .process-icon {
  background: rgba(245,158,11,0.1);
  border-color: var(--gold);
  transform: scale(1.1);
}

.process-content h4 {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--white);
  margin-bottom: 8px;
}
.process-content p {
  font-size: 0.8rem;
  color: var(--gray-400);
  line-height: 1.5;
}

.process-connector {
  flex: 0 0 40px;
  height: 2px;
  background: linear-gradient(90deg, rgba(245,158,11,0.4), rgba(245,158,11,0.1));
  position: relative;
}
.process-connector::after {
  content: '';
  position: absolute;
  right: -6px;
  top: -4px;
  border: 5px solid transparent;
  border-left-color: rgba(245,158,11,0.4);
}

/* ── PROJECTS ── */
.projects-section {
  background: linear-gradient(180deg, #36576A 0%, #243F50 100%);
}

.projects-filter {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 10px 22px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--gray-400);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
  background: transparent;
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
}

.project-card {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245,158,11,0.2);
  box-shadow: var(--shadow-xl);
}

.project-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
}
.project-img svg { width: 100%; height: 100%; }

.project-info { padding: 24px; }

.project-tag {
  display: inline-block;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.25);
  color: var(--gold);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-main);
  margin-bottom: 12px;
}

.project-info h4 {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.3;
}
.project-info p {
  font-size: 0.85rem;
  color: var(--gray-400);
  line-height: 1.6;
  margin-bottom: 14px;
}

.project-meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--gray-500);
}
.project-meta i { color: var(--gold); margin-right: 4px; }

/* ── WHY US ── */
.why-section { background: var(--dark); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.why-list { margin-top: 28px; }

.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  margin-bottom: 16px;
  transition: var(--transition);
}
.why-item:hover {
  border-color: rgba(245,158,11,0.2);
  background: rgba(245,158,11,0.03);
}

.why-icon {
  width: 48px;
  height: 48px;
  background: rgba(245,158,11,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
}

.why-item strong {
  display: block;
  font-family: var(--font-main);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.why-item p {
  font-size: 0.85rem;
  color: var(--gray-400);
  line-height: 1.55;
}

.certifications {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 24px;
}
.certifications h4 {
  font-family: var(--font-main);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  font-size: 0.95rem;
}
.cert-list { display: flex; flex-direction: column; gap: 10px; }
.cert-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--gray-300);
}
.cert-item i { color: var(--gold); width: 16px; }

/* ── FAQ ── */
.faq-section { background: var(--dark); }

.faq-grid {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: rgba(245,158,11,0.25); }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  cursor: pointer;
  user-select: none;
  gap: 16px;
}
.faq-question span {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
  flex: 1;
}

.faq-icon {
  font-size: 0.85rem;
  color: var(--gold);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p {
  padding: 0 24px 22px;
  font-size: 0.88rem;
  color: var(--gray-400);
  line-height: 1.7;
}

/* ── CTA SECTION ── */
.cta-section {
  position: relative;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(48,86,102,0.92), rgba(76,125,143,0.9));
  z-index: 0;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(245,158,11,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(59,130,246,0.1) 0%, transparent 60%),
    linear-gradient(135deg, #477991, #243F50);
  z-index: 1;
}
.cta-section .container { position: relative; z-index: 2; }

.cta-content { max-width: 700px; margin: 0 auto; }

.cta-badge {
  display: inline-block;
  background: rgba(245,158,11,0.15);
  border: 1px solid rgba(245,158,11,0.4);
  color: var(--gold);
  padding: 8px 20px;
  border-radius: 100px;
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.cta-content h2 {
  font-family: var(--font-main);
  font-weight: 900;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  line-height: 1.7;
}

.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.cta-trust {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-trust span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-main);
  font-weight: 600;
}
.cta-trust i { color: var(--green); }

/* ── CONTACT ── */
.contact-section { background: var(--dark); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 50px;
  margin-bottom: 60px;
}

.contact-info { display: flex; flex-direction: column; gap: 16px; }

.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  transition: var(--transition);
}
.contact-card:hover { border-color: rgba(245,158,11,0.2); }
.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(245,158,11,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-card strong {
  display: block;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--white);
  margin-bottom: 4px;
}
.contact-card p, .contact-card a {
  font-size: 0.85rem;
  color: var(--gray-400);
  display: block;
}
.contact-card a:hover { color: var(--gold); }
.contact-card small { font-size: 0.75rem; color: var(--gray-500); }

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.social-link {
  width: 40px;
  height: 40px;
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.9rem;
  transition: var(--transition);
}
.social-link:hover { background: var(--gold); border-color: var(--gold); color: var(--dark); }
.social-link.whatsapp-link:hover { background: #25D366; border-color: #25D366; }

/* Form */
.contact-form-wrap {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-header {
  margin-bottom: 28px;
}
.form-header h3 {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 6px;
}
.form-header p {
  font-size: 0.85rem;
  color: var(--gray-400);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--gray-300);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: var(--white);
  font-size: 0.88rem;
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-600); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(245,158,11,0.04);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.1);
}
.form-group select option { background: var(--gray-800); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 110px; }

.form-error {
  display: block;
  font-size: 0.75rem;
  color: #EF4444;
  margin-top: 4px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}
.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--gold);
  margin-top: 1px;
}
.form-check label {
  font-size: 0.82rem;
  color: var(--gray-400);
  line-height: 1.5;
}
.form-check a { color: var(--gold); text-decoration: underline; }

.form-success {
  text-align: center;
  padding: 24px;
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: var(--radius);
  margin-top: 16px;
}
.form-success i {
  font-size: 2rem;
  color: var(--green);
  margin-bottom: 12px;
  display: block;
}
.form-success strong {
  display: block;
  font-family: var(--font-main);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.form-success p { font-size: 0.85rem; color: var(--gray-400); }

/* Map */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
}
.map-placeholder {
  position: relative;
  height: 300px;
  overflow: hidden;
}
.map-svg { width: 100%; height: 100%; object-fit: cover; }
.map-overlay-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(10,15,30,0.7);
  text-align: center;
  padding: 20px;
  gap: 8px;
}
.map-overlay-text i {
  font-size: 2rem;
  color: var(--gold);
  animation: mapBounce 2s ease-in-out infinite;
}
@keyframes mapBounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.map-overlay-text h4 {
  font-family: var(--font-main);
  font-weight: 700;
  color: var(--white);
  font-size: 1.1rem;
}
.map-overlay-text p {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 8px;
}

/* ── FOOTER ── */
.footer { background: #243942; }

.footer-top { padding: 80px 0 60px; border-bottom: 1px solid rgba(255,255,255,0.07); }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin-top: 20px;
  margin-bottom: 24px;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--dark); }

.footer-links h5,
.footer-contact h5 {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}
.footer-links ul li {
  margin-bottom: 10px;
}
.footer-links ul li a {
  font-size: 0.85rem;
  color: var(--gray-400);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links ul li a:hover { color: var(--gold); padding-left: 4px; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.footer-contact-item i {
  color: var(--gold);
  font-size: 0.9rem;
  margin-top: 2px;
  width: 14px;
}
.footer-contact-item span,
.footer-contact-item a {
  font-size: 0.85rem;
  color: var(--gray-400);
  line-height: 1.5;
}
.footer-contact-item a:hover { color: var(--gold); }

.footer-wa {
  margin-top: 20px;
  font-size: 0.85rem;
  padding: 12px 20px;
}

.footer-bottom {
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--gray-600);
}
.footer-bottom a { color: var(--gray-500); }
.footer-bottom a:hover { color: var(--gold); }
.footer-seo-text { font-size: 0.72rem !important; opacity: 0.4; }

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: white;
  z-index: 999;
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  transition: var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.7);
}
.wa-tooltip {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gray-800);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-family: var(--font-main);
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}
.wa-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--gray-800);
  border-right: none;
}
.whatsapp-float:hover .wa-tooltip { opacity: 1; }

/* Pulse animation */
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: waPulse 2s ease-out infinite;
  z-index: -1;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 998;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  pointer-events: none;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.back-to-top:hover { background: var(--gold); border-color: var(--gold); color: var(--dark); }

/* ── ANIMATIONS ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="fade-left"] { transform: translateX(30px); }
[data-aos="zoom-in"] { transform: scale(0.9); }
[data-aos].animated {
  opacity: 1;
  transform: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-img-thumb { width: 35%; }
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .process-connector { display: none; }
  .process-grid { gap: 20px; }
  .counters-grid { gap: 32px; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  .section { padding: 72px 0; }

  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    top: var(--nav-height);
    background: rgba(5,8,16,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-link { font-size: 1.1rem; padding: 14px 24px; width: 100%; text-align: center; justify-content: center; }
  .nav-cta { width: 100%; justify-content: center; margin-left: 0; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; border: none; }

  .slide-content { padding: 0 20px; }
  .slide-btns { flex-direction: column; align-items: flex-start; }
  .slide-stats { gap: 20px; }
  .stat-num, .stat span:last-of-type { font-size: 1.8rem; }

  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }


  .cta-btns { flex-direction: column; align-items: center; }

  .slider-prev, .slider-next { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .counters-grid { gap: 20px; }
  .counter-num { font-size: 2.4rem; }
  .contact-form-wrap { padding: 24px 20px; }
}

/* =============================================
   GALERÍA DE TRABAJOS REALES – CAFERSPA
   ============================================= */

/* -- Sección galería -- */
.gallery-section { background: #FAFAFA; padding: 5rem 0; }

/* -- Filtros -- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin: 0 0 3rem;
}
.gal-filter-btn {
  background: transparent;
  border: 1.5px solid rgba(197,160,89,.35);
  color: #9E9E9E;
  border-radius: 50px;
  padding: .55rem 1.4rem;
  font-family: var(--font-main);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.gal-filter-btn:hover,
.gal-filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
}

/* -- Categoría con header -- */
.gallery-category {
  margin-bottom: 3.5rem;
  transition: var(--transition);
}
.gallery-category.hidden { display: none; }

.gal-cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid rgba(197,160,89,.2);
}
.gal-cat-header h3 {
  font-family: var(--font-main);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 0;
}
.gal-cat-header h3 i { font-size: 1rem; }

/* -- Controles del slider -- */
.gal-cat-controls {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.gal-cat-controls button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(197,160,89,.4);
  background: rgba(197,160,89,.08);
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  transition: var(--transition);
}
.gal-cat-controls button:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}
.gal-counter {
  font-family: var(--font-main);
  font-size: .78rem;
  color: #757575;
  min-width: 50px;
  text-align: center;
}

/* -- Slider wrapper (overflow hidden) -- */
.gal-slider-wrapper {
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.gal-slider {
  display: flex;
  gap: 1rem;
  transition: transform .45s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform;
}

/* -- Tarjeta de imagen -- */
.gal-item {
  position: relative;
  flex: 0 0 calc(25% - .75rem);
  min-width: 220px;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  background: #1A1A1A;
  border: 1px solid rgba(197,160,89,.1);
}
.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.gal-item:hover img {
  transform: scale(1.08);
}

/* -- Overlay al hover -- */
.gal-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 1rem;
  gap: .5rem;
  opacity: 0;
  transition: opacity .35s ease;
}
.gal-item:hover .gal-overlay { opacity: 1; }
.gal-overlay span {
  font-family: var(--font-main);
  font-size: .78rem;
  color: #fff;
  text-align: center;
  font-weight: 500;
  line-height: 1.3;
}
.gal-overlay i {
  font-size: 1.3rem;
  color: var(--gold);
  filter: drop-shadow(0 0 6px rgba(197,160,89,.6));
}

/* =============================================
   LIGHTBOX
   ============================================= */
.gal-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.94);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  backdrop-filter: blur(8px);
}
.gal-lightbox.active {
  opacity: 1;
  pointer-events: all;
}
.gal-lb-content {
  position: relative;
  max-width: 92vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
#galLbImg {
  max-width: 92vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 0 60px rgba(197,160,89,.2);
  transition: opacity .25s ease;
}
#galLbCaption {
  font-family: var(--font-main);
  font-size: .9rem;
  color: var(--gold-light);
  text-align: center;
  letter-spacing: .05em;
}

/* -- Botones lightbox -- */
.gal-lb-close,
.gal-lb-prev,
.gal-lb-next {
  position: fixed;
  background: rgba(197,160,89,.15);
  border: 1.5px solid rgba(197,160,89,.4);
  color: var(--gold);
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  backdrop-filter: blur(4px);
}
.gal-lb-close:hover,
.gal-lb-prev:hover,
.gal-lb-next:hover {
  background: var(--gold);
  color: #000;
}
.gal-lb-close {
  top: 1.2rem;
  right: 1.2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.gal-lb-prev,
.gal-lb-next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
}
.gal-lb-prev { left: 1.2rem; }
.gal-lb-next { right: 1.2rem; }

/* ── Responsive galería ── */
@media (max-width: 1024px) {
  .gal-item { flex: 0 0 calc(33.33% - .67rem); }
}
@media (max-width: 768px) {
  .gal-item { flex: 0 0 calc(50% - .5rem); }
  .gal-cat-header { flex-direction: column; gap: .8rem; align-items: flex-start; }
  .gal-lb-prev { left: .5rem; }
  .gal-lb-next { right: .5rem; }
}
@media (max-width: 480px) {
  .gal-item { flex: 0 0 calc(100% - 0rem); min-width: unset; }
  .gallery-filters { gap: .5rem; }
  .gal-filter-btn { padding: .45rem 1rem; font-size: .78rem; }
}


/* -- Dinamismo del banner (Efecto Ken Burns) -- */
@keyframes kenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.slide.active .slide-bg {
  animation: kenBurns 10s ease-out forwards;
}

/* ── LOGO IMG (PNG transparente) ── */
.nav-logo img {
  height: 58px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}
#preloader .logo-anim img {
  width: min(300px, 80vw);
  height: auto;
  object-fit: contain;
}
footer .nav-logo img,
.footer-logo img {
  width: min(220px, 80vw);
  height: auto;
  object-fit: contain;
}

/* ── IMÁGENES GALERÍA – colores más cálidos y alegres ── */
/* Reduce el dominante azul y satura más los colores */
.gal-item img {
  filter: saturate(1.35) hue-rotate(-15deg) brightness(1.05) contrast(1.08);
  transition: filter 0.4s ease;
}
.gal-item:hover img {
  filter: saturate(1.5) hue-rotate(-15deg) brightness(1.08) contrast(1.1);
}

/* Hero slides: imágenes más cálidas también */
.slide-bg {
  filter: saturate(1.08) hue-rotate(-10deg) brightness(1.1) contrast(.96);
}

/* ── FONDO MODERNO – secciones con patrón alternado ── */
.about-section,
.why-section,
.faq-section,
.contact-section {
  background-color: #FDFCFB;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(197,160,89,0.15) 1px, transparent 0);
  background-size: 28px 28px;
}

.services-overview,
.gallery-section,
.process-section {
  background-color: #F7F3EE;
  background-image:
    linear-gradient(135deg, rgba(197,160,89,0.05) 25%, transparent 25%),
    linear-gradient(225deg, rgba(197,160,89,0.05) 25%, transparent 25%),
    linear-gradient(45deg, rgba(197,160,89,0.05) 25%, transparent 25%),
    linear-gradient(315deg, rgba(197,160,89,0.05) 25%, #F7F3EE 25%);
  background-size: 40px 40px;
  background-position: 20px 0, 20px 0, 0 0, 0 0;
}

/* ── NAVBAR – fondo semitransparente sobre patrón ── */
#navbar.scrolled {
  background: rgba(253,252,251,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(197,160,89,0.2);
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}

/* ── PRELOADER fondo consistente ── */
#preloader {
  background: #F7F3EE;
}

/* ── SERVICE CARDS ── fondo más claro y alegre ── */
.service-card {
  background: #FDFCFB;
  border: 1px solid rgba(197,160,89,0.15);
}
.service-card:hover {
  border-color: rgba(197,160,89,0.4);
  box-shadow: 0 15px 40px rgba(197,160,89,0.15);
}

/* ── Tema definitivo verde agua ── */
:root {
  --theme-bg: #E4F4F1;
  --theme-surface: #F6FBFA;
  --theme-line: #B7D8D2;
  --theme-pattern: rgba(65,157,144,0.12);
}

body {
  background-color: var(--theme-bg);
  background-image:
    linear-gradient(135deg, var(--theme-pattern) 25%, transparent 25%),
    linear-gradient(225deg, var(--theme-pattern) 25%, transparent 25%),
    linear-gradient(45deg, var(--theme-pattern) 25%, transparent 25%),
    linear-gradient(315deg, var(--theme-pattern) 25%, var(--theme-bg) 25%);
}

.about-section,
.why-section,
.faq-section,
.contact-section {
  background-color: var(--theme-surface);
  background-image: radial-gradient(circle at 1px 1px, var(--theme-pattern) 1px, transparent 0);
}

.services-overview,
.gallery-section,
.process-section {
  background-color: var(--theme-bg);
  background-image:
    linear-gradient(135deg, var(--theme-pattern) 25%, transparent 25%),
    linear-gradient(225deg, var(--theme-pattern) 25%, transparent 25%),
    linear-gradient(45deg, var(--theme-pattern) 25%, transparent 25%),
    linear-gradient(315deg, var(--theme-pattern) 25%, var(--theme-bg) 25%);
}

#navbar.scrolled {
  background: color-mix(in srgb, var(--theme-surface) 96%, transparent);
  border-bottom-color: var(--theme-line);
}


/* ── Dirección visual: construcción moderna y formal ── */
.slide-overlay {
  background: transparent;
}

.slide-title {
  color: #FFFFFF;
  text-shadow: 0 2px 14px rgba(10,28,35,.35);
}

.slide-subtitle {
  color: rgba(255,255,255,.92);
  text-shadow: 0 1px 8px rgba(10,28,35,.35);
}

.slide-badge {
  background: rgba(23,49,57,.72);
  border-color: rgba(232,211,153,.75);
  color: #F5D98B;
  backdrop-filter: blur(4px);
}

.slide-content .stat small {
  color: rgba(255,255,255,.82);
  text-shadow: 0 1px 6px rgba(10,28,35,.35);
}


/* Logo transparente visible sobre el hero */
#navbar {
  background: rgba(246,251,250,.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(83,108,110,.16);
}


/* ── Fondo técnico: solo secciones, sin alterar tarjetas ni formularios ── */
body {
  background-color: var(--theme-bg);
  background-image:
    linear-gradient(90deg, var(--theme-pattern) 1px, transparent 1px),
    linear-gradient(var(--theme-pattern) 1px, transparent 1px),
    linear-gradient(135deg, transparent 0 49.5%, rgba(197,160,89,.08) 49.5% 50%, transparent 50%),
    radial-gradient(circle, rgba(197,160,89,.14) 0 2px, transparent 2.5px);
  background-size: 56px 56px, 56px 56px, 100% 100%, 224px 224px;
  background-position: 0 0, 0 0, 0 0, 28px 28px;
}

.about-section,
.why-section,
.faq-section,
.contact-section,
.services-overview,
.gallery-section,
.process-section {
  background-color: var(--theme-bg);
  background-image:
    linear-gradient(90deg, var(--theme-pattern) 1px, transparent 1px),
    linear-gradient(var(--theme-pattern) 1px, transparent 1px),
    linear-gradient(135deg, transparent 0 49.5%, rgba(197,160,89,.08) 49.5% 50%, transparent 50%),
    radial-gradient(circle, rgba(197,160,89,.14) 0 2px, transparent 2.5px);
  background-size: 56px 56px, 56px 56px, 100% 100%, 224px 224px;
  background-position: 0 0, 0 0, 0 0, 28px 28px;
}

/* Presentación del dueño en Sobre Nosotros */
.founder-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0;
  padding: 12px 16px;
  color: var(--blue);
  background: rgba(198,158,79,.1);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .92rem;
}

.founder-note i { color: var(--gold); }

@media (max-width: 768px) {
  .founder-note {
    align-items: flex-start;
    line-height: 1.5;
  }
}


/* ── Acabado final: fondos elegantes y responsive ── */
body {
  background-color: var(--theme-bg);
  background-image:
    radial-gradient(circle at 8% 12%, rgba(197,160,89,.12) 0, transparent 28%),
    radial-gradient(circle at 92% 84%, rgba(78,156,145,.13) 0, transparent 32%),
    linear-gradient(125deg, transparent 0 67%, rgba(255,255,255,.42) 67.2% 67.7%, transparent 68%);
  background-size: auto, auto, 100% 100%;
}

.about-section,
.why-section,
.faq-section,
.contact-section,
.services-overview,
.gallery-section,
.process-section {
  background-color: var(--theme-surface);
  background-image:
    radial-gradient(circle at 8% 12%, rgba(197,160,89,.1) 0, transparent 30%),
    radial-gradient(circle at 92% 84%, rgba(78,156,145,.1) 0, transparent 34%),
    linear-gradient(125deg, transparent 0 67%, rgba(255,255,255,.48) 67.2% 67.7%, transparent 68%);
  background-size: auto, auto, 100% 100%;
}

.counter-section {
  background: linear-gradient(135deg, #EFF8F5 0%, #DDEEEA 100%);
}
.counter-overlay {
  background: radial-gradient(circle at 78% 30%, rgba(197,160,89,.16), transparent 28%);
}
.counter-section::before { opacity: .35; }
.counter-num { color: #29434A; }
.counter-label { color: #53686A; }

.projects-section {
  background: linear-gradient(135deg, #F1F7F5 0%, #DDEBE8 100%);
}

.cta-section {
  background: linear-gradient(135deg, #F4F8F6 0%, #DCEBE8 100%);
}
.cta-overlay { background: transparent; }
.cta-bg {
  background:
    radial-gradient(circle at 22% 45%, rgba(197,160,89,.18), transparent 28%),
    radial-gradient(circle at 78% 55%, rgba(78,156,145,.14), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,.18), transparent);
}
.cta-content h2 { color: #29434A; }
.cta-content p { color: #53686A; }
.cta-trust span { color: #53686A; }

.contact-section {
  background: linear-gradient(135deg, #F3F9F7 0%, #DFEEEB 100%);
}
.map-overlay-text {
  background: rgba(239,248,245,.84);
  color: #29434A;
}
.map-overlay-text h4 { color: #29434A; }
.map-overlay-text p { color: #53686A; }

.footer {
  background: linear-gradient(135deg, #EDF6F3 0%, #D9EAE6 100%);
  color: #29434A;
}
.footer-top { border-bottom-color: rgba(41,67,74,.14); }
.footer-brand p,
.footer-links ul li a,
.footer-contact-item span,
.footer-contact-item a { color: #53686A; }
.footer-links h5,
.footer-contact h5 { color: #29434A; }
.footer-social a {
  background: rgba(41,67,74,.08);
  border-color: rgba(41,67,74,.16);
  color: #53686A;
}
.footer-bottom p { color: #6F8585; }
.footer-bottom a { color: #53686A; }
.footer-seo-text { color: #6F8585 !important; }

.logo-about-panel {
  background: linear-gradient(145deg, #FFFFFF 0%, #E4F1EE 100%);
  border: 1px solid rgba(78,156,145,.24);
}
.logo-about-panel::after {
  border-color: rgba(197,160,89,.34);
}
.logo-about-panel .about-main-ph {
  padding: 42px 34px;
  background: transparent;
  flex-direction: column;
}
.logo-about-panel .about-main-ph img {
  width: min(88%, 420px);
  height: auto;
  object-fit: contain;
  filter: none;
}
.brand-sector {
  display: block;
  margin: 14px auto 0;
  color: #29434A;
  font-family: var(--font-main);
  font-size: clamp(.72rem, 1.4vw, .94rem);
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
}
.about-img-thumb { display: none; }

@media (max-width: 768px) {
  .services-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    overflow-x: auto;
    padding: 6px 4px 18px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .services-grid .service-category-title {
    flex: 0 0 82vw;
    scroll-snap-align: start;
  }
  .services-grid .service-card {
    flex: 0 0 82vw;
    min-width: 82vw;
    scroll-snap-align: start;
  }
  .services-grid::-webkit-scrollbar { height: 6px; }
  .services-grid::-webkit-scrollbar-thumb {
    background: rgba(78,156,145,.55);
    border-radius: 999px;
  }

  .section-title {
    font-size: clamp(1.85rem, 7.5vw, 2.45rem);
    line-height: 1.2;
  }
  .section-desc,
  .section-lead,
  .about-text > p:not(.founder-note),
  .service-card p,
  .contact-card p,
  .contact-card a {
    font-size: .98rem;
    line-height: 1.65;
  }
  .slide-subtitle { font-size: 1rem; line-height: 1.6; }
  .slide-title { font-size: clamp(2rem, 9vw, 3rem); }
  .gal-item {
    flex: 0 0 82vw;
    min-width: 82vw;
  }
  .map-placeholder { height: 240px; }
  .logo-about-panel .about-main-ph { padding: 28px 18px; }
}

@media (max-width: 480px) {
  .container { padding-left: 18px; padding-right: 18px; }
  .section { padding: 64px 0; }
  .counter-section { padding: 72px 0; }
  .counter-num { font-size: 2.5rem; }
  .counter-label { font-size: .8rem; }
  .contact-form-wrap { padding: 24px 20px; }
}


/* ── SERVICIOS: FONDO ARQUITECTÓNICO Y CARRUSEL MÓVIL ── */
.services-overview {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.services-overview::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -250px;
  right: -180px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(197,160,89,.18);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(197,160,89,.035), 0 0 0 74px rgba(78,156,145,.035);
  transform: rotate(-18deg);
  pointer-events: none;
}
.services-overview::after {
  content: '';
  position: absolute;
  z-index: -1;
  left: -8%;
  bottom: 16%;
  width: 64%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(78,156,145,.2), transparent);
  transform: rotate(-12deg);
  pointer-events: none;
}
.services-grid {
  position: relative;
}
.service-carousel-arrow {
  display: none;
  position: absolute;
  z-index: 5;
  top: 50%;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(197,160,89,.5);
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: var(--gold-dark);
  box-shadow: 0 8px 18px rgba(41,67,74,.16);
  transform: translateY(-50%);
  transition: var(--transition);
  cursor: pointer;
}
.service-carousel-arrow:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-50%) scale(1.08);
}
.service-carousel-prev { left: 2px; }
.service-carousel-next { right: 2px; }

@media (max-width: 768px) {
  .service-carousel-arrow { display: flex; }
  .services-grid { scroll-padding-inline: 44px; }
}


/* ── SERVICIOS: TÍTULOS FUERA DEL DESPLAZAMIENTO ── */
.services-overview > .container > .service-category-title {
  margin-top: 3rem;
}
.services-overview > .container > .section-header + .service-category-title {
  margin-top: 0;
}
.services-overview > .container > .service-category-title + .services-grid {
  margin-top: 0 !important;
}

/* ── SERVICIOS: AJUSTE CARRUSEL MÓVIL ── */
@media (max-width: 768px) {
  .services-grid {
    padding: 6px 4px 18px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .services-grid::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }
  .services-overview > .container > .service-category-title {
    margin: 0 0 12px;
    padding-bottom: 8px;
  }
  .service-category-title h3 {
    font-size: 1.15rem;
    line-height: 1.35;
  }
  .service-carousel-arrow {
    top: 50%;
  }
}


/* ── Contraste de textos sobre imágenes ── */
.slide-overlay {
  background: linear-gradient(90deg, rgba(10,29,35,.82) 0%, rgba(10,29,35,.64) 43%, rgba(10,29,35,.28) 74%, rgba(10,29,35,.08) 100%);
}
.slide-title {
  color: #FFFFFF;
  -webkit-text-stroke: .35px rgba(10,28,35,.82);
  text-shadow: 0 2px 0 rgba(10,28,35,.55), 0 4px 14px rgba(10,28,35,.72);
}
.slide-title .highlight {
  color: #F5D98B;
  -webkit-text-stroke: .35px rgba(10,28,35,.9);
  text-shadow: 0 2px 0 rgba(10,28,35,.65), 0 4px 14px rgba(10,28,35,.72);
}
.slide-subtitle {
  color: #FFFFFF;
  text-shadow: 0 1px 0 rgba(10,28,35,.78), 0 3px 12px rgba(10,28,35,.68);
}
.slide-badge {
  background: rgba(10,29,35,.58);
  border-color: rgba(245,217,139,.78);
  color: #FFF7DF;
  text-shadow: 0 1px 5px rgba(10,28,35,.72);
}
.slide-content .stat small {
  color: #FFFFFF;
  text-shadow: 0 1px 6px rgba(10,28,35,.78);
}


/* ── Banner: insignia legible en móviles ── */
@media (max-width: 768px) {
  .slide-badge {
    max-width: 100%;
    padding: 7px 10px;
    font-size: .68rem;
    line-height: 1.35;
    letter-spacing: .65px;
    white-space: normal;
    text-align: left;
  }
  .whatsapp-float {
    right: 18px;
    bottom: 20px;
    width: 56px;
    height: 56px;
  }
}


/* ── Banner móvil: mostrar mejor la zona de pintura ── */
@media (max-width: 768px) {
  .slide-bg-2 {
    background-position: 72% center;
  }
  .slide-2 .slide-overlay {
    background: linear-gradient(90deg, rgba(10,29,35,.72) 0%, rgba(10,29,35,.48) 48%, rgba(10,29,35,.12) 100%);
  }
}


/* ── Carrusel de servicios: flechas fuera del desplazamiento ── */
.services-carousel {
  position: relative;
}
@media (max-width: 768px) {
  .services-carousel {
    width: 100%;
  }
  .services-grid {
    padding-right: 42px;
    padding-left: 42px;
  }
  .service-carousel-arrow {
    z-index: 20;
    width: 42px;
    height: 42px;
    pointer-events: auto;
    touch-action: manipulation;
  }
  .service-carousel-prev { left: 0; }
  .service-carousel-next { right: 0; }
}

/* ── Mapa real de Google ── */
.map-container iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
}
@media (max-width: 768px) {
  .map-container iframe {
    height: 240px;
  }
}

/* ── WhatsApp móvil dentro del viewport ── */
@media (max-width: 768px) {
  .whatsapp-float {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    width: 54px;
    height: 54px;
    margin: 0;
  }
  .whatsapp-float .wa-tooltip {
    display: none;
  }
}

/* ── Flechas táctiles del carrusel ── */
@media (max-width: 768px) {
  .service-carousel-arrow {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }
}


/* ── CTA compacto ── */
.cta-section .cta-btns .btn-lg {
  padding: 12px 24px;
  font-size: .9rem;
}
@media (max-width: 768px) {
  .cta-section .cta-btns .btn-lg {
    padding: 11px 20px;
    font-size: .86rem;
  }
}


/* ── Ajuste final para móviles pequeños ── */
@media (max-width: 768px) {
  .nav-container {
    width: 100%;
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
    gap: 8px;
    overflow: hidden;
  }
  .nav-logo {
    min-width: 0;
    max-width: calc(100% - 48px);
  }
  .nav-logo img {
    width: auto;
    max-width: 100%;
    height: 46px;
  }
  .hamburger {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    padding: 8px;
    margin: 0;
    align-items: center;
    justify-content: center;
  }
  .whatsapp-float {
    right: 12px;
    bottom: 16px;
    width: 52px;
    height: 52px;
    max-width: calc(100vw - 24px);
  }
  .cta-section .cta-btns .btn-lg {
    max-width: calc(100vw - 48px);
    padding: 9px 14px;
    font-size: .78rem;
    line-height: 1.25;
    white-space: normal;
  }
}


/* ── Corrección definitiva de elementos móviles ── */
@media (max-width: 768px) {
  .nav-container {
    position: relative;
    overflow: visible;
    padding-right: 56px;
  }
  .nav-logo {
    max-width: calc(100% - 56px);
  }
  .hamburger {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    z-index: 1002;
  }
  .whatsapp-float {
    position: fixed !important;
    left: auto !important;
    right: 8px !important;
    bottom: 12px !important;
    z-index: 2000;
    transform: none !important;
  }
  .cta-section {
    padding: 56px 0;
  }
  .cta-section .container,
  .cta-content {
    width: 100%;
    max-width: calc(100vw - 32px);
  }
  .cta-badge {
    padding: 6px 12px;
    font-size: .7rem;
    letter-spacing: .5px;
    margin-bottom: 14px;
  }
  .cta-content h2 {
    font-size: 1.55rem;
    line-height: 1.2;
    margin-bottom: 10px;
  }
  .cta-content p {
    font-size: .88rem;
    line-height: 1.5;
    margin-bottom: 18px;
  }
  .cta-btns {
    margin-bottom: 18px;
  }
  .cta-section .cta-btns .btn-lg {
    max-width: calc(100vw - 56px);
    padding: 8px 12px;
    font-size: .74rem;
  }
  .cta-trust {
    gap: 8px 14px;
  }
  .cta-trust span {
    font-size: .7rem;
  }
}


/* ── Controles móviles dentro del marco del viewport ── */
@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  #navbar {
    width: 100%;
    max-width: 100%;
    left: 0;
    right: 0;
    overflow: visible;
  }
  .nav-container {
    width: 100%;
    max-width: 100%;
    padding-left: 10px;
    padding-right: 52px;
  }
  .hamburger {
    right: 6px;
  }
  .whatsapp-float {
    right: 6px !important;
    bottom: 12px !important;
    z-index: 2000;
  }
  .back-to-top {
    right: 6px !important;
    bottom: 78px !important;
    width: 42px;
    height: 42px;
    z-index: 2001;
  }
  .cta-section {
    padding: 44px 0;
  }
}


/* ── Legibilidad y límites de formulario en móvil ── */
.mobile-brand-name {
  display: none;
}

.slide-btns .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,.82);
  background: rgba(10,29,35,.38);
  text-shadow: 0 1px 5px rgba(10,28,35,.85);
}
.slide-btns .btn-outline:hover,
.slide-btns .btn-outline:focus-visible {
  color: #fff;
  border-color: var(--gold-light);
  background: rgba(10,29,35,.58);
}

.contact-form-wrap,
.contact-form {
  min-width: 0;
}
.contact-form .btn-full {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (max-width: 768px) {
  .mobile-brand-name {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-family: var(--font-main);
    font-size: .9rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-shadow: 0 1px 5px rgba(0,0,0,.45);
    pointer-events: none;
  }

  .slide-btns .btn-outline {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  .contact-form-wrap,
  .contact-form,
  .contact-form .btn-full {
    width: 100%;
    max-width: 100%;
  }
  .contact-form .btn-full {
    padding: 11px 12px;
    font-size: .78rem;
    line-height: 1.3;
    min-height: 44px;
    text-align: center;
  }

  .nav-links.open .nav-link {
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,.45);
  }
  .nav-links.open .nav-link:hover,
  .nav-links.open .nav-link.active {
    color: var(--gold-light);
  }
  .nav-links.open .dropdown li a {
    color: rgba(255,255,255,.9);
  }
  .nav-links.open .dropdown li a:hover {
    color: var(--gold-light);
    background: rgba(197,160,89,.16);
  }
  .nav-links.open .nav-cta {
    color: #173039;
  }
}


/* ── Menú móvil claro y marca central ── */
@media (max-width: 768px) {
  .mobile-brand-name {
    color: #111;
    font-size: 1.08rem;
    letter-spacing: 2.5px;
    text-shadow: none;
  }

  .nav-links.open {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 12px 30px rgba(17,17,17,.14);
  }
  .nav-links.open .nav-link {
    color: #222;
    text-shadow: none;
  }
  .nav-links.open .nav-link:hover,
  .nav-links.open .nav-link.active {
    color: var(--gold-dark);
  }
  .nav-links.open .dropdown li a {
    color: #444;
  }
  .nav-links.open .dropdown li a:hover {
    color: var(--gold-dark);
    background: rgba(197,160,89,.12);
  }
}


/* ── Menú móvil completo y desplazable ── */
@media (max-width: 768px) {
  .nav-links.open {
    height: calc(100dvh - var(--nav-height));
    max-height: calc(100dvh - var(--nav-height));
    min-height: calc(100vh - var(--nav-height));
    box-sizing: border-box;
    justify-content: flex-start;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 32px 24px 48px;
  }
}


/* ── BIENVENIDA Y SELECTOR DE VISITANTES ── */
body.dialog-open {
  overflow: hidden;
}

.visitor-welcome[hidden] {
  display: none;
}

.visitor-welcome {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.visitor-welcome__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 25, 31, .74);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .28s ease;
}

.visitor-welcome__panel {
  --welcome-accent: #C5A059;
  position: relative;
  z-index: 1;
  width: min(940px, 100%);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: 34px;
  border: 1px solid rgba(197, 160, 89, .3);
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 5%, rgba(197, 160, 89, .16), transparent 28%),
    linear-gradient(145deg, #fff 0%, #f5f1e9 100%);
  box-shadow: 0 30px 90px rgba(4, 18, 23, .32);
  text-align: center;
  opacity: 0;
  transform: translateY(22px) scale(.97);
  transition: opacity .28s ease, transform .28s ease;
}

.visitor-welcome.is-visible .visitor-welcome__backdrop {
  opacity: 1;
}

.visitor-welcome.is-visible .visitor-welcome__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.visitor-welcome__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(17, 17, 17, .1);
  border-radius: 50%;
  background: rgba(255, 255, 255, .82);
  color: #29434A;
  font-size: 1rem;
  transition: var(--transition);
}

.visitor-welcome__close:hover,
.visitor-welcome__close:focus-visible {
  color: #fff;
  background: #29434A;
  transform: rotate(6deg);
}

.visitor-welcome__brand {
  width: 150px;
  margin: 0 auto 8px;
}

.visitor-welcome__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #9A7738;
  font-family: var(--font-main);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.visitor-welcome h2 {
  margin-bottom: 8px;
  color: #173039;
  font-family: var(--font-main);
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  line-height: 1.15;
}

.visitor-welcome__panel > p {
  max-width: 590px;
  margin: 0 auto 24px;
  color: #53686A;
  font-size: 1rem;
  line-height: 1.6;
}

.visitor-welcome__options {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.visitor-option {
  --option-color: #C5A059;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 18px 10px;
  border: 1px solid color-mix(in srgb, var(--option-color) 34%, #d8d8d8);
  border-radius: 16px;
  background: rgba(255, 255, 255, .78);
  color: #29434A;
  font-family: var(--font-main);
  font-size: .82rem;
  font-weight: 750;
  line-height: 1.2;
  box-shadow: 0 8px 22px rgba(22, 48, 57, .07);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.visitor-option i {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: color-mix(in srgb, var(--option-color) 13%, white);
  color: var(--option-color);
  font-size: 1.35rem;
  transition: transform .25s ease;
}

.visitor-option:hover,
.visitor-option:focus-visible {
  border-color: var(--option-color);
  box-shadow: 0 15px 30px color-mix(in srgb, var(--option-color) 16%, transparent);
  transform: translateY(-5px);
}

.visitor-option:hover i,
.visitor-option:focus-visible i {
  transform: scale(1.08) rotate(-3deg);
}

.visitor-option--market { --option-color: #14866D; }
.visitor-option--hotel { --option-color: #B78A45; }
.visitor-option--school { --option-color: #3F7DBA; }
.visitor-option--institution { --option-color: #53647C; }
.visitor-option--home { --option-color: #9A7738; }

.visitor-welcome__continue {
  margin-top: 18px;
  padding: 8px 14px;
  color: #687A7C;
  font-size: .84rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.visitor-welcome__continue:hover,
.visitor-welcome__continue:focus-visible {
  color: #9A7738;
}

.audience-selector-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 7% 12%, rgba(197, 160, 89, .16), transparent 24%),
    radial-gradient(circle at 92% 85%, rgba(78, 156, 145, .13), transparent 25%),
    linear-gradient(145deg, #102E37 0%, #1B4249 100%);
}

.audience-selector-section::before {
  content: "";
  position: absolute;
  top: 12%;
  right: -90px;
  width: 290px;
  height: 290px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  box-shadow: 0 0 0 35px rgba(255, 255, 255, .025), 0 0 0 75px rgba(255, 255, 255, .018);
}

.audience-selector-section .section-header {
  max-width: 780px;
}

.audience-selector-section .section-title,
.audience-selector-section .section-desc {
  color: #fff;
}

.audience-selector-section .section-desc {
  opacity: .78;
}

.audience-selector-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.audience-selector-card {
  --audience-card-accent: #C5A059;
  min-width: 0;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 22px 22px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .055));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
  color: #fff;
  transition: transform .3s ease, border-color .3s ease, background .3s ease, box-shadow .3s ease;
}

.audience-selector-card__icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: auto;
  border: 1px solid color-mix(in srgb, var(--audience-card-accent) 55%, transparent);
  border-radius: 18px;
  background: color-mix(in srgb, var(--audience-card-accent) 18%, transparent);
  color: color-mix(in srgb, var(--audience-card-accent) 76%, white);
  font-size: 1.45rem;
  transition: transform .3s ease, background .3s ease;
}

.audience-selector-card__content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 30px;
}

.audience-selector-card__content strong {
  font-family: var(--font-main);
  font-size: 1rem;
  line-height: 1.25;
}

.audience-selector-card__content small {
  min-height: 38px;
  color: rgba(255, 255, 255, .65);
  font-size: .78rem;
  line-height: 1.45;
}

.audience-selector-card__arrow {
  margin-top: 18px;
  color: var(--audience-card-accent);
  transition: transform .3s ease;
}

.audience-selector-card:hover,
.audience-selector-card:focus-visible {
  border-color: color-mix(in srgb, var(--audience-card-accent) 60%, transparent);
  background: linear-gradient(155deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .08));
  box-shadow: 0 18px 45px rgba(2, 16, 21, .28);
  transform: translateY(-8px);
}

.audience-selector-card:hover .audience-selector-card__icon,
.audience-selector-card:focus-visible .audience-selector-card__icon {
  background: color-mix(in srgb, var(--audience-card-accent) 28%, transparent);
  transform: rotate(-4deg) scale(1.06);
}

.audience-selector-card:hover .audience-selector-card__arrow,
.audience-selector-card:focus-visible .audience-selector-card__arrow {
  transform: translateX(7px);
}

.audience-selector-card--market { --audience-card-accent: #55D0AF; }
.audience-selector-card--hotel { --audience-card-accent: #E8D399; }
.audience-selector-card--school { --audience-card-accent: #75B7F4; }
.audience-selector-card--institution { --audience-card-accent: #BCC9DA; }
.audience-selector-card--home { --audience-card-accent: #E8D399; }

@media (max-width: 1040px) {
  .visitor-welcome__options,
  .audience-selector-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .audience-selector-card {
    min-height: 220px;
  }
}

@media (max-width: 680px) {
  .visitor-welcome {
    padding: 12px;
  }

  .visitor-welcome__panel {
    max-height: calc(100dvh - 24px);
    padding: 26px 18px 22px;
    border-radius: 18px;
  }

  .visitor-welcome__brand {
    width: 118px;
  }

  .visitor-welcome__panel > p {
    margin-bottom: 18px;
    font-size: .9rem;
  }

  .visitor-welcome__options {
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
  }

  .visitor-option {
    min-height: 103px;
    padding: 12px 8px;
    gap: 8px;
    font-size: .75rem;
  }

  .visitor-option i {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 1.1rem;
  }

  .audience-selector-grid {
    grid-template-columns: 1fr;
  }

  .audience-selector-card {
    min-height: 0;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 15px;
    padding: 18px;
  }

  .audience-selector-card__icon {
    width: 52px;
    height: 52px;
    margin: 0;
    border-radius: 15px;
  }

  .audience-selector-card__content {
    margin: 0;
  }

  .audience-selector-card__content small {
    min-height: 0;
  }

  .audience-selector-card__arrow {
    margin: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .visitor-welcome__backdrop,
  .visitor-welcome__panel,
  .visitor-option,
  .audience-selector-card {
    transition-duration: .01ms;
  }
}
