/* ==========================================================================
   Droneffects — estilos
   ========================================================================== */

:root{
  --bg: #0a0a0c;
  --bg-alt: #121215;
  --bg-elevated: #18181c;
  --text: #f4f1ea;
  --text-muted: #a9a49b;
  --text-dim: #6f6a62;
  --accent: #d3a75e;
  --accent-strong: #e8bd77;
  --accent-soft: rgba(211,167,94,0.14);
  --line: rgba(244,241,234,0.09);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1180px;
  --ease: cubic-bezier(.22,.8,.32,1);
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3{ font-family: var(--serif); font-weight:500; line-height:1.12; margin:0; }
p{ margin:0; }
em{ color: var(--accent); font-style: normal; }

.container{ max-width: var(--container); margin:0 auto; padding: 0 32px; }

.skip-link{
  position:absolute; left:-999px; top:0; background:var(--accent); color:#0a0a0c;
  padding:12px 20px; z-index:999; font-weight:600;
}
.skip-link:focus{ left:16px; top:16px; }

/* ---------- Reveal defensive CSS (must stay visible if JS fails) ---------- */
.reveal[data-split],
.reveal{ opacity:1; transform:none; }
.reveal{
  opacity:0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible{ opacity:1; transform:none; }
.js-ready .reveal{ opacity:0; transform: translateY(24px); }
.js-ready .reveal.is-visible{ opacity:1; transform:none; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 15px 30px; border-radius: 2px; font-weight:600; font-size: .95rem;
  letter-spacing: .01em; border:1px solid transparent; cursor:pointer;
  transition: transform .35s var(--ease), background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.btn-primary{ background: var(--accent); color:#12100a; }
.btn-primary:hover{ background: var(--accent-strong); transform: translateY(-2px); }
.btn-ghost{ border-color: rgba(244,241,234,0.25); color: var(--text); }
.btn-ghost:hover{ border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-outline{ border-color: rgba(244,241,234,0.25); color: var(--text); width:100%; }
.btn-outline:hover{ border-color: var(--accent); color: var(--accent); }
.btn-small{ padding: 10px 20px; font-size: .85rem; }
.btn-full{ width:100%; }

/* ---------- Header ---------- */
.site-header{
  position: fixed; top:0; left:0; right:0; z-index: 200;
  background: transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled{
  background: rgba(10,10,12,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  max-width: var(--container); margin:0 auto; padding: 20px 32px;
  display:flex; align-items:center; justify-content:space-between; gap: 24px;
}
.logo{ font-family: var(--serif); font-size: 1.3rem; letter-spacing: .02em; white-space:nowrap; display:inline-flex; align-items:center; gap:10px; }
.logo-accent{ color: var(--accent); }
.logo-icon{ width: 28px; height: 28px; display:block; }
.main-nav{ display:flex; gap: 30px; flex:1; justify-content:center; }
.main-nav a{ font-size:.92rem; color: var(--text-muted); position:relative; padding: 4px 0; transition: color .3s; }
.main-nav a:hover{ color: var(--text); }
.main-nav a::after{
  content:''; position:absolute; left:0; bottom:-2px; width:0; height:1px; background: var(--accent);
  transition: width .3s var(--ease);
}
.main-nav a:hover::after{ width:100%; }
.header-cta{ white-space:nowrap; }

.nav-toggle{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width:40px; height:40px; background:none; border:none; cursor:pointer; padding:0;
}
.nav-toggle span{ width:22px; height:1.5px; background: var(--text); transition: transform .3s var(--ease), opacity .3s var(--ease); margin:0 auto; }
.nav-toggle.open span:nth-child(1){ transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity:0; }
.nav-toggle.open span:nth-child(3){ transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav{
  position: fixed; inset:0; z-index:190; background: var(--bg);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap: 28px;
  transform: translateY(-100%); transition: transform .45s var(--ease);
}
.mobile-nav.open{ transform: translateY(0); }
.mobile-nav nav{ display:flex; flex-direction:column; align-items:center; gap:22px; }
.mobile-nav a{ font-family: var(--serif); font-size: 1.6rem; }

/* ---------- Hero ---------- */
.hero{
  position:relative; min-height: 100vh; display:flex; flex-direction:column;
  align-items:center; justify-content:center; text-align:center; overflow:hidden;
  padding: 140px 24px 80px;
}
.hero-bg{ position:absolute; inset:0; z-index:0; }
.hero-bg img{
  width:100%; height:100%; object-fit:cover; position:absolute; inset:0;
  transform: scale(1.08); will-change: transform;
}
.hero-scrim{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(10,10,12,.55) 0%, rgba(10,10,12,.72) 55%, rgba(10,10,12,.94) 100%);
}
.hero-content{ position:relative; z-index:2; max-width: 820px; }
.eyebrow{
  text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight:600;
  color: var(--accent); margin-bottom: 18px;
}
.hero-title{ font-size: clamp(2.4rem, 6vw, 4.6rem); margin-bottom: 26px; }
.hero-title .line{ display:block; overflow:hidden; }
.hero-title .split{ display:inline-block; }
.hero-sub{
  font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--text-muted); max-width: 620px;
  margin: 0 auto 36px; line-height:1.65;
}
.hero-actions{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; margin-bottom: 40px; }
.hero-tags{ display:flex; gap: 14px; justify-content:center; flex-wrap:wrap; }
.hero-tags span{
  font-size: .78rem; letter-spacing:.05em; text-transform:uppercase; color: var(--text-dim);
  border: 1px solid var(--line); padding: 8px 16px; border-radius: 2px;
}

.scroll-cue{
  position:absolute; bottom: 34px; left:50%; transform: translateX(-50%); z-index:2;
  width: 1px; height: 46px; background: rgba(244,241,234,0.25); overflow:hidden;
}
.scroll-cue span{
  position:absolute; top:-46px; left:0; width:100%; height:100%; background: var(--accent);
  animation: scrollcue 2.2s ease-in-out infinite;
}
@keyframes scrollcue{
  0%{ top:-46px; } 60%{ top:100%; } 100%{ top:100%; }
}

/* ---------- Marquee ---------- */
.marquee{
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow:hidden; padding: 18px 0; background: var(--bg-alt);
}
.marquee-track{
  display:flex; gap: 24px; white-space:nowrap; width:max-content;
  animation: marquee 26s linear infinite;
}
.marquee-track span{
  font-family: var(--serif); font-size: 1.3rem; color: var(--text-dim); letter-spacing:.04em;
}
.marquee-track span:nth-child(4n-1){ color: var(--accent); }
@keyframes marquee{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section{ padding: 120px 0; position:relative; }
.section-alt{ background: var(--bg-alt); }
.section-head{ max-width: 640px; margin-bottom: 20px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 10px 0 18px; }
.section-lead{ color: var(--text-muted); font-size: 1.05rem; margin-top: 14px; }
.section-body p{ color: var(--text-muted); margin-bottom: 16px; font-size: 1.02rem; }
.section-body p:last-child{ margin-bottom:0; }

.grid-2{ display:grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items:center; }
.grid-2.reverse{ direction: rtl; }
.grid-2.reverse > *{ direction: ltr; }

/* ---------- Compare (problema) ---------- */
.compare{
  max-width: var(--container); margin: 70px auto 0; padding: 0 32px;
  display:grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.compare-item{ margin:0; position:relative; border-radius: 3px; overflow:hidden; aspect-ratio: 4/3; }
.compare-item img,
.compare-item video{ width:100%; height:100%; object-fit:cover; filter: grayscale(.5) brightness(.7); transition: filter .5s; }
.compare-item-accent img,
.compare-item-accent video{ filter:none; }
.compare-item figcaption{
  position:absolute; left:0; right:0; bottom:0; padding: 22px;
  background: linear-gradient(0deg, rgba(0,0,0,.75), transparent);
  font-size: .92rem; color: var(--text-muted);
}
.tag{ display:inline-block; font-size:.7rem; text-transform:uppercase; letter-spacing:.08em; padding: 5px 10px; border-radius:2px; margin-right:8px; margin-bottom:6px; }
.tag-muted{ background: rgba(244,241,234,.1); color: var(--text-muted); }
.tag-accent{ background: var(--accent); color:#12100a; font-weight:700; }

/* ---------- Feature grid ---------- */
.feature-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 30px; margin-top: 60px; }
.feature-card{
  padding: 34px 28px; border: 1px solid var(--line); border-radius: 3px;
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.feature-card:hover{ border-color: var(--accent); transform: translateY(-6px); }
.feature-num{ font-family: var(--serif); color: var(--accent); font-size: 1.4rem; margin-bottom: 16px; }
.feature-card h3{ font-size: 1.2rem; margin-bottom: 10px; }
.feature-card p{ color: var(--text-muted); font-size: .95rem; }

/* ---------- Ventajas ---------- */
.ventajas-media{ border-radius: 3px; overflow:hidden; aspect-ratio: 4/5; }
.ventajas-media img{ width:100%; height:100%; object-fit:cover; }
.check-list{ margin-top: 26px; display:flex; flex-direction:column; gap: 18px; }
.check-list li{ padding-left: 30px; position:relative; color: var(--text-muted); }
.check-list li strong{ color: var(--text); }
.check-list li::before{
  content:'—'; position:absolute; left:0; top:0; color: var(--accent); font-weight:700;
}

/* ---------- Steps ---------- */
.steps{ display:grid; grid-template-columns: repeat(3,1fr); gap: 40px; margin-top: 60px; position:relative; }
.steps::before{
  content:''; position:absolute; top: 22px; left: 10%; right:10%; height:1px; background: var(--line); z-index:0;
}
.step{ position:relative; z-index:1; }
.step-num{
  width: 46px; height:46px; border-radius:50%; background: var(--bg-alt); border:1px solid var(--accent);
  color: var(--accent); font-family: var(--serif); display:flex; align-items:center; justify-content:center;
  margin-bottom: 22px; font-size: 1.1rem;
}
.section-alt .step-num{ background: var(--bg); }
.step h3{ font-size: 1.2rem; margin-bottom: 10px; }
.step p{ color: var(--text-muted); font-size: .95rem; }

/* ---------- Audience ---------- */
.audience-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 50px; }
.audience-card{ border-radius: 3px; overflow:hidden; border: 1px solid var(--line); }
.audience-card img{ width:100%; aspect-ratio: 16/10; object-fit:cover; }
.audience-body{ padding: 28px; }
.audience-body h3{ font-size: 1.25rem; margin-bottom: 12px; }
.audience-body p{ color: var(--text-muted); font-size: .95rem; }

/* ---------- Pricing ---------- */
.pricing-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 26px; margin-top: 56px; align-items:stretch; }
.price-card{
  border: 1px solid var(--line); border-radius: 3px; padding: 38px 30px; display:flex; flex-direction:column;
  position:relative; background: var(--bg);
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.section-alt .price-card{ background: var(--bg-alt); }
.price-card:hover{ transform: translateY(-6px); border-color: rgba(211,167,94,.4); }
.price-featured{ border-color: var(--accent); }
.price-badge{
  position:absolute; top:-13px; left: 30px; background: var(--accent); color:#12100a;
  font-size: .7rem; text-transform:uppercase; letter-spacing:.08em; font-weight:700;
  padding: 5px 12px; border-radius: 2px;
}
.price-card h3{ font-size: 1.3rem; margin-bottom: 6px; }
.price-desc{ color: var(--text-dim); font-size: .88rem; margin-bottom: 22px; }
.price-amount{ font-family: var(--serif); font-size: 2.2rem; color: var(--accent); margin-bottom: 26px; }
.price-amount span{ font-family: var(--sans); font-size: .9rem; color: var(--text-dim); }
.price-card ul{ display:flex; flex-direction:column; gap: 12px; margin-bottom: 30px; flex:1; }
.price-card ul li{ font-size: .9rem; color: var(--text-muted); padding-left: 20px; position:relative; }
.price-card ul li::before{ content:'+'; position:absolute; left:0; color: var(--accent); }

/* ---------- Testimonials ---------- */
.testimonial-slider{ max-width: 760px; margin: 60px auto 0; text-align:center; }
.testimonial-track{ display:flex; overflow-x:auto; scroll-snap-type: x mandatory; gap: 0; scrollbar-width:none; }
.testimonial-track::-webkit-scrollbar{ display:none; }
.testimonial{
  min-width:100%; scroll-snap-align:center; margin:0; padding: 0 10px;
}
.testimonial p{
  font-family: var(--serif); font-size: clamp(1.15rem, 2.4vw, 1.5rem); line-height:1.5; margin-bottom: 26px;
}
.testimonial footer{ color: var(--text-dim); font-size: .9rem; }
.testimonial footer strong{ color: var(--accent); font-weight:600; }
.testimonial-dots{ display:flex; gap:10px; justify-content:center; margin-top: 30px; }
.testimonial-dots button{
  width:8px; height:8px; border-radius:50%; border:none; background: var(--line); cursor:pointer;
  padding:0; transition: background .3s;
}
.testimonial-dots button.active{ background: var(--accent); }

/* ---------- CTA / Contact ---------- */
.cta-section{ position:relative; overflow:hidden; }
.cta-bg{ position:absolute; inset:0; z-index:0; }
.cta-bg img{ width:100%; height:100%; object-fit:cover; }
.cta-section .container{ position:relative; z-index:1; }
.contact-direct{ display:flex; flex-direction:column; gap: 14px; margin-top: 34px; }
.contact-direct a{
  font-family: var(--serif); font-size: 1.3rem; color: var(--text); border-bottom: 1px solid var(--line);
  padding-bottom: 10px; width: fit-content; transition: color .3s, border-color .3s;
}
.contact-direct a:hover{ color: var(--accent); border-color: var(--accent); }

.contact-form{
  background: rgba(18,18,21,.82); backdrop-filter: blur(6px); border: 1px solid var(--line);
  border-radius: 4px; padding: 36px; display:flex; flex-direction:column; gap: 18px;
}
.form-row{ display:flex; flex-direction:column; gap: 8px; }
.form-row label{ font-size: .82rem; color: var(--text-muted); }
.form-row input, .form-row select, .form-row textarea{
  background: rgba(244,241,234,.05); border: 1px solid var(--line); border-radius: 2px;
  padding: 12px 14px; color: var(--text); font-family: var(--sans); font-size: .95rem;
  transition: border-color .3s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus{
  outline:none; border-color: var(--accent);
}
.form-row textarea{ resize: vertical; }
.form-note{ font-size: .78rem; color: var(--text-dim); text-align:center; }

/* ---------- Footer ---------- */
.site-footer{ border-top: 1px solid var(--line); padding: 60px 0 40px; text-align:center; }
.footer-inner{ display:flex; flex-direction:column; align-items:center; gap: 14px; }
.footer-tagline{ color: var(--text-muted); font-size: .92rem; max-width: 400px; }
.footer-contact{ display:flex; gap: 22px; font-size: .88rem; color: var(--text-muted); margin: 10px 0; }
.footer-contact a:hover{ color: var(--accent); }
.footer-copy{ color: var(--text-dim); font-size: .8rem; margin-top: 20px; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float{
  position: fixed; bottom: 26px; right: 26px; z-index: 150;
  width: 56px; height:56px; border-radius:50%; background:#25D366; color:#0a0a0c;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  transition: transform .3s var(--ease);
}
.whatsapp-float:hover{ transform: scale(1.08); }

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .main-nav, .header-cta{ display:none; }
  .nav-toggle{ display:flex; }
  .grid-2, .grid-2.reverse{ grid-template-columns: 1fr; direction: ltr; }
  .compare{ grid-template-columns: 1fr; }
  .feature-grid{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; gap: 50px; }
  .steps::before{ display:none; }
  .audience-grid{ grid-template-columns: 1fr; }
  .pricing-grid{ grid-template-columns: 1fr; }
  .section{ padding: 90px 0; }
}
@media (max-width: 560px){
  .header-inner{ padding: 16px 20px; }
  .hero{ padding-top: 120px; }
  .hero-title{ font-size: clamp(2rem, 9vw, 2.8rem); }
  .contact-form{ padding: 26px 22px; }
  .whatsapp-float{ width:48px; height:48px; bottom: 18px; right: 18px; }
}

/* ---------- Reduced motion: tone down large/looping effects only ---------- */
@media (prefers-reduced-motion: reduce){
  .marquee-track{ animation-duration: 60s; }
  .scroll-cue span{ animation: none; }
  html{ scroll-behavior:auto; }
}
