/* AEROVIGIA-DRONES · styles v2.6.4 — subir ?v= al cambiar CSS */
:root {
  --navy: #001f3f;
  --navy-deep: #0a1628;
  --royal: #007bff;
  --royal-bright: #4da3ff;
  --royal-light: #66b3ff;
  --silver: #c0c8d4;
  --silver-light: #e8ecf2;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --whatsapp: #25d366;
  --whatsapp-bright: #3dff85;
  --whatsapp-dark: #128c7e;
  --card-bg: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --glow: rgba(0, 123, 255, 0.35);
  --font-display: "Orbitron", sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--navy-deep);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 123, 255, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(0, 31, 63, 0.8), transparent),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 40%, #001529 100%);
  z-index: -2;
  pointer-events: none;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  z-index: -1;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
}

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.site-header.scrolled .header-topbar {
  max-height: 0;
  opacity: 0;
  padding-block: 0;
  border: none;
  overflow: hidden;
}

.header-topbar {
  background: linear-gradient(90deg, rgba(0, 31, 63, 0.98), rgba(0, 60, 120, 0.95));
  border-bottom: 1px solid rgba(77, 163, 255, 0.2);
  max-height: 48px;
  opacity: 1;
  transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.25s ease;
}

.header-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  min-height: 36px;
}

.header-topbar-msg {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(226, 232, 240, 0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-topbar-phone {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--royal-bright);
  text-decoration: none;
}

@media (max-width: 640px) {
  .header-topbar {
    max-height: none;
  }

  .header-topbar-msg {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    line-height: 1.3;
    font-size: 0.65rem;
  }

  .header-topbar-inner {
    flex-wrap: wrap;
    padding: 0.35rem 0;
  }

  .header-topbar-phone {
    font-size: 0.7rem;
  }
}

.header-main {
  background: rgba(8, 18, 34, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  padding-block: 0.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand img {
  height: 48px;
  width: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 10px rgba(0, 123, 255, 0.25));
}

.brand-text {
  display: none;
  flex-direction: column;
  line-height: 1.12;
  min-width: 0;
}

@media (min-width: 480px) {
  .brand-text {
    display: flex;
  }
}

.brand-name {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--silver-light);
}

.brand-tag {
  font-size: 0.62rem;
  color: var(--royal-bright);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu-divider {
  width: 1px;
  height: 22px;
  margin-inline: 0.35rem;
  background: rgba(255, 255, 255, 0.15);
}

.nav-menu a {
  display: block;
  padding: 0.45rem 0.6rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: #fff;
  background: rgba(0, 123, 255, 0.14);
}

.nav-menu a[aria-current="page"] {
  color: var(--royal-bright);
  background: rgba(0, 123, 255, 0.12);
}

.header-cta {
  padding: 0.55rem 1rem;
  font-size: 0.8125rem;
  white-space: nowrap;
  margin-left: 0.25rem;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--silver-light);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile-panel {
  display: none;
  background: rgba(6, 14, 28, 0.98);
  border-top: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.nav-mobile-panel.is-open {
  display: block;
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0.75rem 0 1.25rem;
}

.nav-mobile a {
  color: var(--text);
  text-decoration: none;
  padding: 0.75rem 0;
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-mobile a:hover {
  color: var(--royal-bright);
}

.nav-mobile-label {
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--royal-bright);
}

.nav-mobile-cta {
  margin-top: 1rem;
  width: 100%;
  justify-content: center;
  border: none;
}

@media (min-width: 1024px) {
  .nav-mobile-panel {
    display: none !important;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  color: #ffffff;
  -webkit-appearance: none;
  appearance: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, filter 0.2s;
}

a.btn {
  color: #ffffff;
}

button.btn {
  color: #ffffff;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--royal-light) 0%, var(--royal) 50%, #0056b3 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px var(--glow);
}

.btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 28px rgba(0, 123, 255, 0.55);
}

.btn-whatsapp {
  background: linear-gradient(
    135deg,
    var(--whatsapp-bright) 0%,
    var(--whatsapp) 45%,
    var(--whatsapp-dark) 100%
  );
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 4px 22px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp:hover {
  filter: brightness(1.1);
  box-shadow: 0 6px 30px rgba(61, 255, 133, 0.4);
}

.btn-whatsapp:focus-visible {
  outline: 2px solid var(--whatsapp-bright);
  outline-offset: 2px;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.btn-outline:hover {
  background: rgba(0, 123, 255, 0.2);
  border-color: var(--royal-bright);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 123, 255, 0.25);
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
}

/* Hero */
.hero {
  padding: 10rem 0 5rem;
  position: relative;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(0, 123, 255, 0.12);
  border: 1px solid rgba(0, 123, 255, 0.35);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--royal-bright);
  margin-bottom: 1.25rem;
}

.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--whatsapp);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 1rem;
  background: linear-gradient(135deg, #fff 0%, var(--silver) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--royal-bright) 0%, #4da3ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-punchline {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  color: var(--silver-light);
  letter-spacing: 0.02em;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 1.75rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--royal-bright);
}

.stat span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-logo-wrap {
  position: relative;
  padding: 2rem;
}

.hero-logo-wrap::before {
  content: "";
  position: absolute;
  inset: 10%;
  background: radial-gradient(circle, var(--glow), transparent 70%);
  filter: blur(40px);
  z-index: 0;
}

.hero-logo-wrap img {
  position: relative;
  z-index: 1;
  max-width: min(380px, 85vw);
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

/* Sections */
section {
  padding: 5rem 0;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--royal-bright);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 1rem;
  color: var(--silver-light);
}

.section-intro {
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 2.5rem;
}

/* Value cards */
.value-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.value-card {
  padding: 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.25s, transform 0.25s;
}

.value-card:hover {
  border-color: rgba(0, 123, 255, 0.35);
  transform: translateY(-4px);
}

.value-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 123, 255, 0.15);
  border-radius: 10px;
  margin-bottom: 1rem;
  color: var(--royal-bright);
}

.value-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--silver-light);
}

.value-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Services */
.services-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  position: relative;
  padding: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card-body {
  padding: 1.25rem 1.75rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
  padding: 0.65rem 0.75rem;
  margin: 0;
  border: none;
  background: rgba(0, 0, 0, 0.2);
  cursor: zoom-in;
  overflow: hidden;
}

.service-media img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: contain;
  object-position: center;
}

@media (min-width: 992px) {
  .service-media {
    padding: 0.75rem 1rem;
  }

  .service-media img {
    max-height: 168px;
  }
}

.service-media:hover {
  background: rgba(0, 123, 255, 0.08);
}

.service-media-hint {
  position: absolute;
  bottom: 0.4rem;
  right: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 31, 63, 0.75);
  border: 1px solid rgba(77, 163, 255, 0.45);
  border-radius: 6px;
  pointer-events: none;
}

.service-media:focus-visible {
  outline: 2px solid var(--royal-bright);
  outline-offset: -2px;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--royal), var(--royal-bright));
  opacity: 0.8;
}

.service-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(0, 123, 255, 0.2);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.service-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  color: var(--silver-light);
}

.service-card p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.service-benefit {
  margin: -0.35rem 0 1rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--silver-light);
  background: rgba(0, 123, 255, 0.1);
  border-left: 3px solid var(--royal);
  border-radius: 0 8px 8px 0;
}

.service-meta {
  font-size: 0.8rem;
  color: var(--royal-bright);
  margin-bottom: 1.25rem;
}

.service-card .btn {
  width: 100%;
  margin-top: auto;
}

/* Lightbox modal */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.28s ease, visibility 0.28s;
}

.lightbox.is-open {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}

.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  cursor: pointer;
}

.lightbox-dialog {
  position: relative;
  z-index: 2;
  width: min(920px, 94vw);
  max-height: 88vh;
  padding: 2.75rem 0.75rem 0.75rem;
  background: #0d1b2a;
  border: 1px solid rgba(77, 163, 255, 0.35);
  border-radius: 12px;
  transform: scale(0.94) translateY(8px);
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
  overflow: auto;
}

.lightbox.is-open .lightbox-dialog {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.lightbox-dialog img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(88vh - 5rem);
  object-fit: contain;
  border-radius: 8px;
  image-rendering: auto;
}

.lightbox-caption {
  margin: 0.65rem 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--silver-light);
}

.lightbox-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 3;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: rgba(0, 123, 255, 0.45);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}

.lightbox-close:hover {
  background: rgba(0, 123, 255, 0.7);
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(77, 163, 255, 0.55);
  border-radius: 8px;
  background: rgba(0, 80, 160, 0.85);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background 0.2s;
}

.lightbox-nav:hover {
  background: rgba(0, 123, 255, 0.65);
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

@media (max-width: 640px) {
  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }

  .lightbox-prev {
    left: 0.35rem;
  }

  .lightbox-next {
    right: 0.35rem;
  }
}

body.lightbox-open {
  overflow: hidden;
}

/* Process */
.process-steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

@media (min-width: 768px) {
  .process-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.process-step {
  padding: 1.5rem;
  background: var(--card-bg);
  border-radius: 12px;
  border: 1px solid var(--border);
  counter-increment: step;
}

.process-step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--royal);
  font-weight: 700;
}

.process-step h4 {
  margin: 0.5rem 0 0.35rem;
  font-size: 1rem;
  color: var(--silver-light);
}

.process-step p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Clients */
.client-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.client-tag {
  padding: 0.5rem 1rem;
  background: rgba(0, 123, 255, 0.08);
  border: 1px solid rgba(0, 123, 255, 0.2);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text);
}

/* Pricing hint */
.pricing-note {
  padding: 1.5rem 2rem;
  background: rgba(0, 123, 255, 0.08);
  border-left: 4px solid var(--royal);
  border-radius: 0 12px 12px 0;
  margin-top: 2rem;
}

.pricing-note p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Section WhatsApp CTA bars */
.section-cta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  background: rgba(37, 211, 102, 0.06);
  border: 1px solid rgba(37, 211, 102, 0.25);
  border-radius: 12px;
}

.section-cta-bar p {
  margin: 0;
  flex: 1 1 12rem;
  font-size: 0.95rem;
  color: var(--silver-light);
}

.section-cta-bar .btn {
  flex-shrink: 0;
}

/* Trust & compliance */
.trust-section {
  background: rgba(0, 31, 63, 0.45);
  border-block: 1px solid var(--border);
}

.trust-badges {
  display: grid;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

@media (min-width: 640px) {
  .trust-badges {
    grid-template-columns: repeat(2, 1fr);
  }
}

.trust-badges li {
  padding: 0.85rem 1rem 0.85rem 2.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--silver-light);
  position: relative;
}

.trust-badges li::before {
  content: "✓";
  position: absolute;
  left: 1rem;
  color: var(--whatsapp);
  font-weight: 700;
}

.story-quote {
  margin: 0 0 1.5rem;
  padding: 1.5rem 1.75rem;
  border-left: 4px solid var(--royal-bright);
  background: rgba(0, 123, 255, 0.06);
  border-radius: 0 12px 12px 0;
}

.story-quote p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.guarantee-box {
  padding: 1.25rem 1.5rem;
  background: rgba(255, 193, 7, 0.08);
  border: 1px solid rgba(255, 193, 7, 0.35);
  border-radius: 12px;
}

.guarantee-box p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--silver-light);
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: var(--silver-light);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--royal-bright);
  font-weight: 700;
}

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

.faq-item p {
  margin: 0;
  padding: 0 1.25rem 1.15rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Founder */
.founder-card {
  display: grid;
  gap: 2rem;
  padding: 2.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
}

@media (min-width: 768px) {
  .founder-card {
    grid-template-columns: auto 1fr;
    align-items: start;
  }
}

.founder-photo {
  flex-shrink: 0;
}

.founder-photo img {
  display: block;
  width: 160px;
  height: 160px;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
  border: 3px solid rgba(0, 123, 255, 0.45);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.founder-avatar {
  display: none;
}

.founder-card h3 {
  margin: 0 0 0.25rem;
  color: var(--silver-light);
}

.founder-role {
  color: var(--royal-bright);
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
}

.founder-credentials {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--silver-light);
  line-height: 1.45;
}

.founder-bio {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.founder-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.founder-card li {
  margin-bottom: 0.35rem;
}

/* Contact */
.contact-section {
  padding-bottom: 6rem;
}

.contact-urgency {
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  background: rgba(0, 123, 255, 0.1);
  border-radius: 10px;
  font-size: 0.95rem;
  color: var(--silver-light);
}

.contact-phones-highlight {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 520px) {
  .contact-phones-highlight {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-phone-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--card-bg);
  border: 2px solid rgba(77, 163, 255, 0.35);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
}

.contact-phone-card:hover {
  border-color: var(--royal-bright);
  transform: translateY(-2px);
}

.contact-phone-card strong {
  font-size: 1.15rem;
  color: var(--royal-bright);
}

.contact-flag {
  font-size: 1.5rem;
  line-height: 1;
}

.contact-phone-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.contact-mobile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.contact-action-btn {
  flex: 1 1 10rem;
  min-height: 52px;
  justify-content: center;
  text-align: center;
}

@media (min-width: 768px) {
  .contact-mobile-actions {
    display: none;
  }
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

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

.contact-box {
  padding: 2rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.contact-box h3 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
}

.phone-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.phone-list li {
  margin-bottom: 0.5rem;
}

.phone-list a {
  color: var(--royal-bright);
  text-decoration: none;
  font-weight: 600;
}

.phone-list a:hover {
  text-decoration: underline;
}

.whatsapp-picker label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.whatsapp-picker select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  margin-bottom: 1rem;
}

.whatsapp-picker select:focus {
  outline: 2px solid var(--royal);
  outline-offset: 2px;
}

.whatsapp-line-note {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.whatsapp-line-note strong {
  color: var(--royal-bright);
}

.contact-form textarea {
  width: 100%;
  min-height: 100px;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  resize: vertical;
  margin-bottom: 1rem;
}

.contact-form textarea:focus {
  outline: 2px solid var(--royal);
  outline-offset: 2px;
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.site-footer p {
  margin: 0.25rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.site-footer .group {
  color: var(--silver);
  font-weight: 600;
}

/* Floating WhatsApp */
.fab-whatsapp {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 99;
  width: 58px;
  height: 58px;
  padding: 0;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  font: inherit;
}

.fab-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55);
}

.fab-whatsapp svg {
  width: 30px;
  height: 30px;
}

/* Gallery hub (inicio) */
.gallery-hub-section {
  border-block: 1px solid var(--border);
  background: rgba(0, 123, 255, 0.04);
}

.gallery-hub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.gallery-hub-actions .btn {
  flex: 1 1 220px;
  justify-content: center;
}

/* Subpages */
.subpage-main {
  padding-top: 7.25rem;
  min-height: 70vh;
}

.subpage-hero {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.subpage-back {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--royal-bright);
  text-decoration: none;
}

.subpage-back:hover {
  text-decoration: underline;
}

.subpage-crosslinks {
  margin-top: 2.5rem;
}

.subpage-hero .section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.nav-desktop a[aria-current="page"] {
  color: var(--royal-bright);
}

/* Social video links */
.social-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.social-video-grid:empty {
  display: none;
}

.social-video-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.social-video-card:hover {
  border-color: rgba(77, 163, 255, 0.55);
  background: rgba(0, 123, 255, 0.08);
  transform: translateY(-2px);
}

.social-video-platform {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--whatsapp-bright);
}

.social-video-category {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--royal-bright);
}

.social-video-card h2 {
  margin: 0.25rem 0 0;
  font-size: 1.05rem;
  color: var(--silver-light);
}

.social-video-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex: 1;
}

.social-video-cta {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--royal-bright);
}

.social-video-empty {
  padding: 2rem;
  text-align: center;
  background: var(--card-bg);
  border: 1px dashed rgba(77, 163, 255, 0.35);
  border-radius: 12px;
}

.social-video-empty[hidden] {
  display: none;
}

.social-video-empty p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-inline: auto;
}

.social-video-empty code {
  font-size: 0.8rem;
  color: var(--royal-bright);
}

.gallery-section {
  background: rgba(0, 0, 0, 0.12);
  border-block: 1px solid var(--border);
}

.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.gallery-tab {
  padding: 0.45rem 1rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.gallery-tab:hover,
.gallery-tab.is-active {
  color: #fff;
  background: rgba(0, 123, 255, 0.25);
  border-color: rgba(77, 163, 255, 0.55);
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (min-width: 992px) {
  .photo-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.gallery-item.is-hidden {
  display: none;
}

.gallery-thumb {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
  cursor: zoom-in;
  text-align: left;
  transition: border-color 0.2s, transform 0.2s;
}

.gallery-thumb:hover {
  border-color: rgba(77, 163, 255, 0.55);
  transform: translateY(-2px);
}

.gallery-thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.gallery-item[data-category="fundador"] .gallery-thumb img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
}

.gallery-thumb-label {
  display: block;
  padding: 0.65rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--silver-light);
  background: rgba(0, 31, 63, 0.55);
}

.gallery-subtitle {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--silver-light);
  margin: 0 0 0.5rem;
}

.gallery-videos-intro {
  margin-bottom: 1.25rem;
}

.video-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.video-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--card-bg);
}

.video-card-thumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  background: linear-gradient(145deg, rgba(0, 123, 255, 0.15), rgba(0, 31, 63, 0.6));
  border: none;
  width: 100%;
  padding: 0;
  cursor: pointer;
  color: inherit;
  text-align: left;
}

.video-card-thumb:disabled {
  cursor: default;
  opacity: 0.85;
}

.video-card-play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 123, 255, 0.85);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 4px 20px rgba(0, 123, 255, 0.4);
}

.video-card-body {
  padding: 0.85rem 1rem 1rem;
}

.video-card-body h4 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  color: var(--silver-light);
}

.video-card-body p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.video-card-tag {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--royal-bright);
}

.gallery-videos-note {
  margin: 1.25rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Video modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.28s ease, visibility 0.28s;
}

.video-modal.is-open {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}

.video-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  cursor: pointer;
}

.video-modal-dialog {
  position: relative;
  z-index: 2;
  width: min(960px, 96vw);
  padding: 2.75rem 0.75rem 0.75rem;
  background: #0d1b2a;
  border: 1px solid rgba(77, 163, 255, 0.35);
  border-radius: 12px;
  transform: scale(0.94);
  transition: transform 0.28s ease;
}

.video-modal.is-open .video-modal-dialog {
  transform: scale(1);
}

.video-modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: rgba(0, 123, 255, 0.45);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.video-modal-title {
  margin: 0 0 0.75rem;
  padding: 0 0.25rem;
  font-size: 1rem;
  color: var(--silver-light);
}

.video-modal-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
}

.video-modal-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
