/* ==========================================================================
   DESTREZA MARKETING PRODUCTIVO - ECOSISTEMA CORPORATIVO (OBSIDIAN + NEON CYAN)
   Mismo esquema visual y colores de https://destrezamarketing.com/
   ========================================================================== */

:root {
  --bg-dark: #050505;
  --bg-card: #0f0f0f;
  --bg-elevated: #141418;
  --neon-cyan: #0bf1f4;
  --neon-cyan-dim: rgba(11, 241, 244, 0.14);
  --text-white: #ffffff;
  --text-gray: #b0b0b0;
  --text-light: #dcdce0;
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-cyan: rgba(11, 241, 244, 0.35);
  --glow: 0 0 18px rgba(11, 241, 244, 0.35);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-white);
  overflow-x: hidden;
  line-height: 1.65;
  padding-top: 96px;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  line-height: 1.15;
}

a { color: inherit; }

.container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-cyan { color: var(--neon-cyan); text-shadow: var(--glow); }
.text-center { text-align: center; }

/* --- TOP BAR & HEADER (IDÉNTICO A INDEX.HTML) --- */
.agency-bar {
  background: var(--neon-cyan);
  color: #000;
  padding: 7px 0;
  font-weight: 800;
  text-align: center;
  font-size: 0.74rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
}

header.site-header {
  padding: 13px 0;
  background: rgba(5, 5, 5, 0.96);
  border-bottom: 1px solid rgba(11, 241, 244, 0.14);
  position: fixed;
  top: 30px;
  left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(12px);
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.logo img {
  height: 50px;
  width: auto;
  display: block;
}

.desktop-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: nowrap;
}

.desktop-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  transition: 0.25s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--neon-cyan);
  text-shadow: var(--glow);
}

.nav-highlight {
  color: var(--neon-cyan) !important;
  border: 1px solid rgba(11, 241, 244, 0.45);
  padding: 5px 11px;
  border-radius: 4px;
}

.btn-header-cta {
  background: var(--neon-cyan);
  color: #000;
  padding: 10px 22px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  border-radius: 4px;
  font-size: 0.84rem;
  box-shadow: var(--glow);
  transition: 0.25s;
}

.btn-header-cta:hover { transform: scale(1.04); }

.hamburger {
  display: none;
  font-size: 1.7rem;
  color: var(--neon-cyan);
  cursor: pointer;
  background: none;
  border: none;
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.98);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  z-index: 1005;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}

.mobile-menu-overlay.active { transform: translateX(0); }

.mobile-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
}

.close-menu {
  position: absolute;
  top: 22px;
  right: 25px;
  font-size: 2.3rem;
  color: var(--neon-cyan);
  cursor: pointer;
}

@media (max-width: 1024px) {
  .desktop-nav, .btn-header-cta { display: none; }
  .hamburger { display: block; }
}

@media (max-width: 768px) {
  body { padding-top: 72px; }
  .agency-bar { display: none; }
  header.site-header { top: 0; }
  .logo img { height: 40px; }
}

/* --- BOTONES --- */
.btn-neon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--neon-cyan);
  border: 2px solid var(--neon-cyan);
  color: #000;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  transition: 0.25s;
  box-shadow: var(--glow);
  cursor: pointer;
  border-radius: 6px;
  font-size: 0.92rem;
}

.btn-neon:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(11, 241, 244, 0.7);
}

.btn-neon-outline {
  background: transparent;
  color: var(--neon-cyan);
}

.btn-neon-outline:hover {
  background: var(--neon-cyan);
  color: #000;
}

.btn-wa-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  background: #25d366;
  color: #fff;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
  transition: 0.25s;
}

.btn-wa-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}

/* --- HERO INTERIOR --- */
.eco-hero {
  position: relative;
  padding: 76px 0 68px;
  background:
    radial-gradient(ellipse 70% 50% at 20% 20%, rgba(11, 241, 244, 0.14), transparent 70%),
    radial-gradient(ellipse 50% 50% at 85% 80%, rgba(11, 241, 244, 0.08), transparent 65%),
    #050505;
  border-bottom: 1px solid rgba(11, 241, 244, 0.18);
}

.eco-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}

@media (max-width: 920px) {
  .eco-hero-grid { grid-template-columns: 1fr; }
}

.geo-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 50px;
  background: var(--neon-cyan-dim);
  border: 1px solid var(--border-cyan);
  color: var(--neon-cyan);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.eco-hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.eco-hero-lead {
  font-size: 1.12rem;
  color: var(--text-light);
  margin-bottom: 26px;
}

.eco-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.eco-hero-img {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-cyan);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.65);
}

.eco-hero-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.kpi-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 580px) {
  .kpi-strip { grid-template-columns: 1fr; }
}

.kpi-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--neon-cyan);
  border-radius: 10px;
  padding: 12px 14px;
}

.kpi-box strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  color: var(--neon-cyan);
}

.kpi-box span {
  font-size: 0.82rem;
  color: var(--text-gray);
}

/* --- SECCIONES Y TARJETAS --- */
.eco-section {
  padding: 72px 0;
}

.eco-section-alt {
  background: #09090c;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 44px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-head p {
  color: var(--text-gray);
  font-size: 1.05rem;
}

.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

@media (max-width: 960px) {
  .cards-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .cards-grid-3, .cards-grid-2 { grid-template-columns: 1fr; }
}

.eco-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--neon-cyan);
  border-radius: 14px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: 0.25s;
}

.eco-card:hover {
  transform: translateY(-4px);
  border-color: var(--neon-cyan);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.5);
}

.eco-card-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--neon-cyan-dim);
  color: var(--neon-cyan);
  border: 1px solid var(--border-cyan);
  padding: 4px 11px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.eco-card h3 {
  font-size: 1.2rem;
  color: var(--text-white);
}

.eco-card p {
  font-size: 0.96rem;
  color: #ccc;
}

.eco-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.eco-list li {
  font-size: 0.92rem;
  color: var(--text-light);
  padding-left: 18px;
  position: relative;
}

.eco-list li::before {
  content: "▸";
  color: var(--neon-cyan);
  position: absolute;
  left: 0;
}

/* Timeline (Historia) */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

@media (max-width: 768px) {
  .timeline-grid { grid-template-columns: 1fr; }
}

.timeline-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--neon-cyan);
  border-radius: 12px;
  padding: 22px;
}

.timeline-year {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  color: var(--neon-cyan);
  font-size: 0.88rem;
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* --- FAQ --- */
.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item[open] { border-color: var(--neon-cyan); }

.faq-item summary {
  padding: 18px 20px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::after {
  content: '+';
  color: var(--neon-cyan);
  font-size: 1.4rem;
}

.faq-item[open] summary::after { content: '−'; }

.faq-content {
  padding: 0 20px 18px;
  color: var(--text-gray);
  font-size: 0.96rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

/* --- FORMULARIO COMPACTO UNIFICADO (ESQUEMA DESTREZA) --- */
.contact-section {
  padding: 76px 0;
  background: #060608;
  border-top: 2px solid var(--neon-cyan);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.form-box {
  background: var(--bg-card);
  border: 1px solid var(--border-cyan);
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

.form-box h3 {
  font-size: 1.45rem;
  margin-bottom: 8px;
}

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

@media (max-width: 600px) {
  .form-row-2 { grid-template-columns: 1fr; }
  .form-box { padding: 22px; }
}

.form-group { margin-bottom: 14px; }

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: var(--neon-cyan);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 11px 13px;
  background: #070709;
  border: 1px solid #2b2b34;
  color: #fff;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 0 3px rgba(11, 241, 244, 0.14);
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.privacy-box {
  background: rgba(11, 241, 244, 0.06);
  border: 1px solid rgba(11, 241, 244, 0.28);
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 6px;
}

.privacy-check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.86rem;
  color: #e4e4e7;
}

.privacy-check-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--neon-cyan);
  flex-shrink: 0;
}

.privacy-summary {
  font-size: 0.77rem;
  color: #a1a1aa;
  margin: 6px 0 0 28px;
}

.privacy-link-btn {
  background: none;
  border: none;
  color: var(--neon-cyan);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

.form-alert {
  display: none;
  margin-top: 12px;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-alert.is-error {
  display: block;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #fecaca;
}

/* --- MODALES --- */
.eco-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.eco-modal-overlay.is-open { display: flex; }

.eco-modal-card {
  background: #101014;
  border: 1px solid var(--neon-cyan);
  border-radius: 18px;
  width: 100%;
  max-width: 540px;
  padding: 32px;
  position: relative;
  color: #fff;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75);
  max-height: 90vh;
  overflow-y: auto;
}

.eco-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: #1f1f26;
  border: none;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
}

.eco-modal-summary {
  background: #070709;
  border: 1px solid #27272a;
  border-radius: 10px;
  padding: 14px;
  margin: 14px 0 20px;
  font-size: 0.9rem;
  color: #d4d4d8;
}

/* --- WHATSAPP FLOTANTE & FOOTER --- */
.floating-wa {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 950;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  padding: 13px 20px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  transition: 0.25s;
}

.floating-wa:hover { transform: translateY(-3px); }

@media (max-width: 600px) {
  .floating-wa span { display: none; }
  .floating-wa { padding: 14px; border-radius: 50%; }
}

footer.site-footer {
  padding: 46px 0;
  text-align: center;
  border-top: 1px solid #222;
  background: #000;
  color: #777;
  font-size: 0.84rem;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  border-bottom: 1px solid #1f1f1f;
  padding-bottom: 18px;
}

.footer-nav a {
  color: #999;
  text-decoration: none;
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 700;
  transition: 0.25s;
}

.footer-nav a:hover { color: var(--neon-cyan); }

