/* =======================================================================
   1. VARIABLES GLOBALES Y RESET
   ======================================================================= */
:root {
  --color-bg: #000000;
  --color-light: #ffffff;
  --color-gray: #111111;
  --color-text-muted: #888888;
  --color-accent: #ff6600;
  --font-main: "Montserrat", sans-serif;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-gray); border-radius: 4px; border: 1px solid rgba(255, 102, 0, 0.3); }
::-webkit-scrollbar-thumb:hover { background: var(--color-accent); }

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

body {
  font-family: var(--font-main);
  color: var(--color-light);
  background-color: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

@media (pointer: fine) {
  .js-cursor-active, .js-cursor-active a, .js-cursor-active button, .js-cursor-active .faq-question {
    cursor: none !important;
  }
}

/* =======================================================================
   2. INTERFAZ: PRELOADER, PUNTERO Y BOTONES FLOTANTES
   ======================================================================= */
#preloader {
  position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
  background-color: var(--color-bg); z-index: 10000;
  display: flex; justify-content: center; align-items: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.loader-logo {
  height: 45px; width: auto; font-size: 0; letter-spacing: 0;
  animation: logo-pulse 1.5s infinite ease-in-out;
  filter: drop-shadow(0 0 10px rgba(255, 102, 0, 0.3));
}
@keyframes logo-pulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

.cursor {
  position: fixed; width: 8px; height: 8px; background-color: var(--color-accent);
  border-radius: 50%; pointer-events: none; z-index: 99999;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.cursor-follower {
  position: fixed; width: 30px; height: 30px; border: 1px solid rgba(255, 102, 0, 0.5);
  border-radius: 50%; pointer-events: none; z-index: 99998;
  transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}
.cursor.active { opacity: 0; }
.cursor-follower.active {
  transform: scale(2); background-color: rgba(255, 102, 0, 0.1); border-color: var(--color-accent);
}
@media (pointer: coarse) { .cursor, .cursor-follower { display: none !important; } }

.guarantee-badge {
  position: fixed; bottom: 40px; left: 40px; width: 90px; height: 90px;
  z-index: 900; pointer-events: none; animation: rotateText 20s linear infinite;
  opacity: 0; visibility: hidden; transform: translateY(20px); transition: all 0.5s ease;
}
.guarantee-badge.show { opacity: 0.7; visibility: visible; transform: translateY(0); }
.guarantee-badge.show:hover { opacity: 1; }
.badge-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  color: var(--color-accent); font-size: 1.6rem; font-weight: 800;
}
@keyframes rotateText { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.whatsapp-float {
  position: fixed; bottom: 30px; right: 30px; background-color: #25d366; color: white;
  border-radius: 50%; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.4); z-index: 1000;
  opacity: 0; visibility: hidden; transform: translateY(20px); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.whatsapp-float.show { opacity: 1; visibility: visible; transform: translateY(0); }
.whatsapp-float:hover { background-color: #20b858; transform: scale(1.1) translateY(0); }
.whatsapp-float svg { width: 32px; height: 32px; fill: currentColor; }

.scroll-top-btn {
  position: fixed; bottom: 105px; right: 35px; width: 45px; height: 45px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-light); border-radius: 50%; display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; visibility: hidden; transition: 0.3s; z-index: 999; backdrop-filter: blur(5px);
}
.scroll-top-btn.show { opacity: 1; visibility: visible; }
.scroll-top-btn:hover { background: var(--color-accent); border-color: var(--color-accent); transform: translateY(-3px); }

/* =======================================================================
   3. NAVEGACIÓN Y MENÚS
   ======================================================================= */
header {
  position: fixed; top: 0; width: 100%; padding: 30px 10%;
  display: flex; justify-content: space-between; align-items: center; z-index: 102;
  transition: background 0.4s, padding 0.4s, transform 0.4s ease-in-out;
}
header.scrolled {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
  padding: 15px 10%;
}

.logo-link { display: flex; align-items: center; text-decoration: none; }
.main-logo { height: 48px; width: auto; transition: transform 0.3s ease; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5)); }
.main-logo:hover { transform: scale(1.05); }

.nav-links { display: flex; gap: 40px; align-items: center; }
.nav-links > a {
  color: var(--color-light); font-weight: 600; font-size: 0.85rem; text-transform: uppercase;
  letter-spacing: 2px; transition: var(--transition);
}
.nav-links > a:hover { color: var(--color-accent); }
.minimal-arrow { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.5; transition: transform 0.3s ease; margin-left: 2px; }

.dropdown { position: relative; display: inline-block; }
.dropbtn {
  color: var(--color-light); font-weight: 600; font-size: 0.85rem; text-transform: uppercase;
  letter-spacing: 2px; transition: var(--transition); display: flex; align-items: center; gap: 5px; cursor: pointer;
}
.dropdown:hover .dropbtn { color: var(--color-accent); }
.dropdown:hover .minimal-arrow { transform: rotate(180deg); }
.dropdown-content {
  position: absolute; top: 100%; left: 0; min-width: 250px; background-color: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(15px); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 8px;
  padding: 15px 0; margin-top: 15px; opacity: 0; visibility: hidden; transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); z-index: 105;
}
.dropdown::after { content: ""; position: absolute; width: 100%; height: 20px; bottom: -20px; left: 0; }
.dropdown:hover .dropdown-content { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-content a {
  color: var(--color-text-muted); padding: 12px 25px; display: block; font-size: 0.75rem;
  font-weight: 600; text-transform: uppercase; letter-spacing: 2px; transition: all 0.3s ease;
}
.dropdown-content a:hover {
  color: var(--color-light); background-color: rgba(255, 255, 255, 0.03);
  padding-left: 30px; border-left: 2px solid var(--color-accent);
}

.hamburger { display: none; flex-direction: column; cursor: pointer; gap: 6px; z-index: 103; }
.hamburger span { width: 30px; height: 2px; background-color: var(--color-light); transition: var(--transition); transform-origin: left center; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg); }

.mobile-menu-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background-color: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(15px); z-index: 101; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(-20px); transition: all 0.5s ease;
}
.mobile-menu-overlay.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav-links { display: flex; flex-direction: column; text-align: center; gap: 30px; width: 100%; }
.mobile-link { font-size: 1.8rem; font-weight: 800; color: var(--color-light); text-transform: uppercase; letter-spacing: 2px; transition: var(--transition); display: flex; justify-content: center; align-items: center; cursor: pointer; }
.mobile-link:hover { color: var(--color-accent); }
.text-accent { color: var(--color-accent); }

.mobile-dropdown-container { display: flex; flex-direction: column; align-items: center; }
#mobile-drop-btn.active { color: var(--color-accent); }
#mobile-drop-btn.active .minimal-arrow { transform: rotate(180deg); }
.mobile-sub-menu { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, margin 0.4s ease; display: flex; flex-direction: column; gap: 15px; margin-top: 0; opacity: 0; }
.mobile-sub-menu.open { max-height: 400px; margin-top: 20px; opacity: 1; }
.mobile-sublink { font-size: 1rem; font-weight: 600; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 2px; transition: var(--transition); }
.mobile-sublink:hover { color: var(--color-light); }

.reveal-up { opacity: 0; transform: translateY(40px); transition: opacity 1s ease-out, transform 1s ease-out; }
.reveal-up.active { opacity: 1; transform: translateY(0); }

/* =======================================================================
   4. PORTADA PRINCIPAL (HERO)
   ======================================================================= */
.hero, .index-hero {
  position: relative; height: 100svh; width: 100%; display: flex; align-items: flex-end;
  padding-bottom: 12vh; padding-left: 10%; padding-right: 10%; overflow: hidden; background-color: var(--color-bg);
}
.hero-video-bg, .video-background {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 100vw; height: 56.25vw; min-height: 100svh; min-width: 177.77vh; z-index: 1; pointer-events: none;
}
.video-background iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; transform: scale(1.3); }

.hero-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.1) 60%), linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, transparent 40%); z-index: 2;
}
.hero-content { position: relative; z-index: 3; max-width: 900px; }
.hero-title { font-size: 3.8rem; font-weight: 800; line-height: 1.15; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.hero-title span { color: transparent; -webkit-text-stroke: 1.5px var(--color-accent); }
.hero-subtitle { font-size: 1.15rem; font-weight: 300; margin-bottom: 40px; color: var(--color-text-muted); }

.btn-group { display: flex; gap: 20px; }
.btn { padding: 15px 35px; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; transition: var(--transition); border: none; }
.btn-primary { background-color: var(--color-accent); color: var(--color-light); }
.btn-primary:hover { background-color: #d95700; transform: translateY(-2px); }
.btn-secondary { background-color: rgba(255, 255, 255, 0.05); color: var(--color-light); border: 1px solid rgba(255, 255, 255, 0.2); backdrop-filter: blur(5px); }
.btn-secondary:hover { background-color: var(--color-light); color: var(--color-bg); transform: translateY(-2px); }

/* =======================================================================
   5. COMPONENTES: LOGOS, SERVICIOS Y BOTONES
   ======================================================================= */
.social-proof { padding: 80px 0; background-color: #000000; border-top: 1px solid rgba(255, 255, 255, 0.05); border-bottom: 1px solid var(--color-gray); text-align: center; overflow: hidden; }
.social-proof-header h3 { font-size: 1rem; color: #777777; font-weight: 400; margin-bottom: 40px; text-transform: uppercase; letter-spacing: 2px; }
.carousel-container { display: flex; flex-direction: column; gap: 30px; }
.carousel-track { display: flex; width: calc(250px * 24); animation: scroll-left 40s linear infinite; }
.carousel-track.reverse { animation: scroll-right 40s linear infinite; }
.logo-slide { width: 250px; display: flex; align-items: center; justify-content: center; padding: 0 40px; }
.logo-slide img { max-width: 100%; filter: grayscale(100%) brightness(150%) opacity(0.4); transition: var(--transition); }
.logo-slide img:hover { filter: grayscale(100%) brightness(200%) opacity(1); }
@keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-250px * 12)); } }
@keyframes scroll-right { 0% { transform: translateX(calc(-250px * 12)); } 100% { transform: translateX(0); } }

.services-section { display: flex; flex-direction: column; width: 100%; }
.service-row { position: relative; width: 100%; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.service-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; z-index: 1; transform: scale(1.1); animation: camera-pan 20s ease-in-out infinite alternate; }
@keyframes camera-pan { 0% { transform: scale(1.1) translateX(-1.5%); } 100% { transform: scale(1.1) translateX(1.5%); } }
.service-video-bg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100vw; height: 56.25vw; min-height: 100%; min-width: 177.77vh; z-index: 1; pointer-events: none; }
.service-video-bg iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; transform: scale(1.35); }
.service-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to right, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.2) 100%); z-index: 2; }
.service-content { position: relative; z-index: 3; max-width: 700px; padding-left: 10%; }
.service-row.align-right { justify-content: flex-end; }
.service-row.align-right .service-overlay { background: linear-gradient(to left, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.2) 100%); }
.service-row.align-right .service-content { padding-left: 0; padding-right: 10%; }

.service-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; }
.service-desc { font-size: 1.1rem; color: var(--color-text-muted); margin-bottom: 30px; font-weight: 300; }
.canva-badge { display: inline-block; background-color: rgba(255, 255, 255, 0.05); color: var(--color-accent); padding: 8px 15px; border-radius: 2px; font-size: 0.8rem; font-weight: 600; margin-bottom: 20px; letter-spacing: 1px; text-transform: uppercase; border: 1px solid var(--color-accent); }

.service-actions { display: flex; align-items: center; gap: 20px; margin-top: 30px; flex-wrap: wrap; }
.btn-whatsapp { background-color: var(--color-accent); color: var(--color-light); padding: 15px 30px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; border-radius: 4px; display: inline-flex; align-items: center; gap: 10px; transition: 0.3s; border: none; font-size: 0.85rem; }
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(255, 102, 0, 0.3); background-color: var(--color-light); color: var(--color-bg); }
.btn-whatsapp svg { width: 20px; height: 20px; fill: currentColor; }
.link-secondary { color: #cccccc; font-weight: 600; font-size: 0.85rem; letter-spacing: 1px; display: inline-flex; align-items: center; gap: 6px; transition: 0.3s; text-transform: uppercase; }
.link-secondary:hover { color: var(--color-accent); transform: translateX(5px); }

#servicio-1 .service-overlay { background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0) 60%) !important; }
#servicio-1 .service-content { padding-top: 45vh; }
#servicio-1 .service-title, #servicio-1 .service-desc { text-shadow: 0px 4px 15px rgba(0, 0, 0, 0.9); }
#servicio-2 .service-content { padding-top: 35vh; }

/* =======================================================================
   6. SECCIÓN NOSOTROS, EQUIPO Y FAQ
   ======================================================================= */
.nosotros-section { padding: 120px 8%; background: linear-gradient(to bottom, var(--color-bg) 0%, #0a0a0a 100%); text-align: center; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.authority-content { max-width: 900px; margin: 0 auto 80px; text-align: center; }
.authority-content h2 { font-size: 2.5rem; color: var(--color-light); font-weight: 800; text-transform: uppercase; margin-bottom: 25px; line-height: 1.2; }
.authority-content span { color: var(--color-accent); }
.authority-content p { color: #aaaaaa; font-size: 1.1rem; line-height: 1.8; font-weight: 300; }

.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 1200px; margin: 0 auto; }
.diff-item { position: relative; padding: 40px 30px; background-color: var(--color-gray); border-top: 2px solid rgba(255, 102, 0, 0.1); transition: var(--transition); overflow: hidden; text-align: left; }
.diff-item:hover { border-top: 2px solid var(--color-accent); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
.diff-icon { width: 32px; height: 32px; fill: none; stroke: var(--color-accent); stroke-width: 1.5px; margin-bottom: 20px; position: relative; z-index: 2; }
.diff-number { position: absolute; top: -20px; right: 10px; font-size: 8rem; font-weight: 800; color: rgba(255, 255, 255, 0.03); line-height: 1; z-index: 1; transition: var(--transition); }
.diff-item:hover .diff-number { color: rgba(255, 102, 0, 0.05); transform: scale(1.1); }
.diff-item h4 { font-size: 1.2rem; margin-bottom: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; position: relative; z-index: 2; color: var(--color-light); }
.diff-item p { font-size: 0.95rem; font-weight: 300; color: var(--color-text-muted); position: relative; z-index: 2; }

.team-banner { background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0.8) 100%); border: 1px solid rgba(255, 102, 0, 0.3); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 102, 0, 0.05); padding: 45px 30px; border-radius: 12px; max-width: 800px; margin: 80px auto 0; text-align: center; backdrop-filter: blur(10px); position: relative; overflow: hidden; transition: transform 0.3s ease; }
.team-banner:hover { transform: translateY(-5px); border-color: var(--color-accent); }
.team-banner h4 { font-size: 1.4rem; color: var(--color-light); margin-bottom: 12px; text-transform: uppercase; font-weight: 800; letter-spacing: 1px; }
.team-banner p { color: #999; margin-bottom: 30px; font-weight: 300; max-width: 500px; margin-left: auto; margin-right: auto; }
.btn-outline { display: inline-block; border: 1px solid rgba(255, 255, 255, 0.3); color: var(--color-light); padding: 15px 35px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; transition: 0.3s; text-decoration: none; border-radius: 4px; font-size: 0.85rem; }
.btn-outline:hover { background: var(--color-light); color: var(--color-bg); }

.team-avatars { display: flex; justify-content: center; margin-bottom: 20px; }
.team-avatars img, .avatar-more { width: 55px; height: 55px; border-radius: 50%; border: 3px solid #0a0a0a; margin-left: -15px; object-fit: cover; position: relative; z-index: 2; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); }
.team-avatars img:first-child { margin-left: 0; z-index: 3; }
.avatar-more { background: var(--color-accent); color: var(--color-bg); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.2rem; z-index: 1; border-color: #0a0a0a; }

.faq-section { padding: 80px 8%; background-color: var(--color-bg); border-top: 1px solid var(--color-gray); max-width: 1000px; margin: 0 auto; }
.faq-section h2 { font-size: 2.2rem; font-weight: 800; text-transform: uppercase; margin-bottom: 50px; text-align: center; }
.faq-container { display: flex; flex-direction: column; gap: 15px; }
.faq-item { border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 15px; }
.faq-question { display: flex; justify-content: space-between; align-items: center; font-size: 1.1rem; font-weight: 600; color: var(--color-light); padding: 15px 0; transition: var(--transition); cursor: pointer; }
.faq-question:hover { color: var(--color-accent); }
.faq-icon { font-size: 1.5rem; font-weight: 300; transition: transform 0.3s ease; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; }
.faq-answer p { padding: 0 0 15px 0; color: var(--color-text-muted); font-size: 0.95rem; font-weight: 300; }
.faq-item.active .faq-question { color: var(--color-accent); }

/* =======================================================================
   7. CTA FINAL Y FOOTER
   ======================================================================= */
.final-cta { padding: 120px 8%; text-align: center; background: radial-gradient(circle at center, rgba(255, 102, 0, 0.05) 0%, var(--color-bg) 100%); border-top: 1px solid rgba(255, 255, 255, 0.05); }
.final-cta h2 { font-size: 3rem; font-weight: 800; text-transform: uppercase; margin-bottom: 20px; color: var(--color-light); }
.final-cta p { font-size: 1.1rem; color: #999; max-width: 600px; margin: 0 auto 40px; font-weight: 300; }
.final-cta .btn-primary { height: auto; white-space: normal; line-height: 1.5; padding: 18px 30px; display: inline-block; }

footer { padding: 80px 8% 40px; background-color: var(--color-gray); font-size: 0.85rem; color: var(--color-text-muted); }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 1200px; margin: 0 auto 60px; }
.footer-col h5 { color: var(--color-light); font-size: 1rem; margin-bottom: 25px; text-transform: uppercase; letter-spacing: 2px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 15px; }
.footer-col ul li a:hover { color: var(--color-accent); }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255, 255, 255, 0.05); padding-top: 30px; display: flex; justify-content: space-between; max-width: 1200px; margin: 0 auto; }

/* =======================================================================
   8. PÁGINAS LEGALES
   ======================================================================= */
.legal-body { background-color: var(--color-bg); padding-top: 100px; }
.legal-container { max-width: 900px; margin: 0 auto; padding: 60px 8%; background-color: var(--color-gray); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 8px; margin-bottom: 80px; }
.legal-header { border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 30px; margin-bottom: 40px; }
.legal-header h1 { font-size: 2rem; font-weight: 800; text-transform: uppercase; color: var(--color-light); margin-bottom: 10px; }
.legal-header p { color: var(--color-text-muted); font-size: 0.9rem; margin-bottom: 30px; }
.btn-download-pdf { display: inline-flex; align-items: center; gap: 10px; padding: 12px 25px; background-color: rgba(255, 102, 0, 0.1); color: var(--color-accent); border: 1px solid var(--color-accent); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; transition: var(--transition); }
.btn-download-pdf:hover { background-color: var(--color-accent); color: var(--color-bg); }
.legal-section-header { display: flex; align-items: center; gap: 12px; margin-top: 50px; margin-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); padding-bottom: 10px; }
.legal-icon { width: 26px; height: 26px; fill: none; stroke: var(--color-accent); stroke-width: 1.5; }
.legal-section-header h3 { color: var(--color-accent); font-size: 1.3rem; margin: 0; text-transform: uppercase; letter-spacing: 1px; }
.legal-content h4 { color: var(--color-light); font-size: 1.1rem; margin-top: 25px; margin-bottom: 10px; }
.legal-content p, .legal-content ul { color: var(--color-text-muted); font-weight: 300; margin-bottom: 15px; line-height: 1.8; }
.legal-content ul { padding-left: 20px; }
.legal-content ul li { margin-bottom: 8px; }
.legal-content strong { color: var(--color-light); font-weight: 600; }
.legal-important { background-color: rgba(255, 102, 0, 0.05); border-left: 3px solid var(--color-accent); padding: 18px 25px; margin: 25px 0; border-radius: 0 4px 4px 0; }
.legal-important p { margin-bottom: 0; color: var(--color-light); }
.legal-important strong { color: var(--color-accent); letter-spacing: 1px; }

/* =======================================================================
   9. BANNER DE COOKIES
   ======================================================================= */
.cookie-banner { position: fixed; bottom: -100%; left: 0; width: 100%; background-color: rgba(10, 10, 10, 0.98); backdrop-filter: blur(10px); border-top: 2px solid var(--color-accent); padding: 20px 10%; display: flex; justify-content: space-between; align-items: center; gap: 20px; z-index: 10000; transition: bottom 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-shadow: 0 -10px 30px rgba(0,0,0,0.5); }
.cookie-banner.show { bottom: 0; }
.cookie-banner p { color: var(--color-text-muted); font-size: 0.85rem; margin: 0; flex: 1; font-weight: 300; }
.cookie-banner a { color: var(--color-light); text-decoration: underline; font-weight: 600; transition: 0.3s; }
.cookie-banner a:hover { color: var(--color-accent); }
.cookie-banner .btn-primary { font-size: 0.8rem; padding: 12px 30px; border: none; cursor: pointer; }
.cookie-close { position: absolute; top: 5px; right: 15px; background: transparent; border: none; color: var(--color-text-muted); font-size: 1.5rem; cursor: pointer; transition: 0.3s; line-height: 1; }
.cookie-close:hover { color: var(--color-accent); }

/* =======================================================================
   10. DISEÑO RESPONSIVO (MÓVILES Y TABLETS)
   ======================================================================= */
@media (max-width: 768px) {
  /* Cabecera y Menú */
  header { padding: 20px 8% !important; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .main-logo { height: 36px; }

  /* Hero Section */
  .hero, .index-hero { padding-left: 8% !important; padding-right: 8% !important; padding-bottom: 15vh; }
  .hero-title { font-size: 2.2rem !important; line-height: 1.2 !important; }
  .hero-title span { -webkit-text-stroke: 1px var(--color-accent); }
  .btn-group { flex-direction: column; width: 100%; }

  /* Carrusel */
  .social-proof { padding: 50px 0; }
  .carousel-container { gap: 20px; }
  .carousel-track { width: calc(150px * 24); animation: scroll-left-mobile 30s linear infinite; }
  .carousel-track.reverse { animation: scroll-right-mobile 30s linear infinite; }
  .logo-slide { width: 150px; padding: 0 20px; }
  @keyframes scroll-left-mobile { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-150px * 12)); } }
  @keyframes scroll-right-mobile { 0% { transform: translateX(calc(-150px * 12)); } 100% { transform: translateX(0); } }

  /* Servicios */
  .service-row { height: 100vh; align-items: flex-end; }
  .service-content { padding: 40px 20px 50px 20px !important; width: 100%; position: relative; z-index: 3; }
  .service-overlay, .service-row.align-right .service-overlay {
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0.95) 75%, #000000 100%) !important;
  }
  .service-row.align-right { justify-content: flex-start; }
  .service-title { font-size: 1.8rem; }
  .service-actions { flex-direction: column; align-items: flex-start; gap: 15px; }
  .service-row.align-right .service-actions { justify-content: flex-start; align-items: flex-start; }
  .btn-whatsapp { width: 100%; justify-content: center; }

  /* Nosotros y Grillas */
  .nosotros-section { padding: 80px 8%; }
  .authority-content h2 { font-size: 1.8rem; }
  .diff-grid, .footer-grid { grid-template-columns: 1fr; }
  .team-banner { padding: 30px 20px; margin-top: 50px; }
  
  /* CTA Final */
  .final-cta h2 { font-size: 2.2rem; }
  .final-cta .btn-primary { width: 100% !important; padding: 15px 20px !important; }
  
  /* Extras y Flotantes */
  .faq-section { padding: 60px 20px; }
  .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
  .whatsapp-float { bottom: 20px; right: 20px; width: 50px; height: 50px; }
  .scroll-top-btn { bottom: 95px; right: 25px; width: 40px; height: 40px; }
  .guarantee-badge { display: none; }
  .cookie-banner { flex-direction: column; text-align: center; padding: 20px 5%; }
  .cookie-banner .btn-primary { width: 100%; padding: 12px 20px !important; }
}

/* Oculta el separador en pantallas móviles (menos de 480px) */
@media (max-width: 480px) {
    .separator {
        display: none !important;
    }
    /* Esto fuerza a que cada enlace ocupe toda la línea */
    footer div {
        flex-direction: column;
    }
}