/* ============================================================
   MEGA ESTRUCTURAS — Main Stylesheet
   Design: Dark Industrial + Orange Signature
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --orange:        #E8521A;
  --orange-light:  #FF6B30;
  --orange-dim:    rgba(232, 82, 26, 0.18);
  --orange-glow:   0 0 40px rgba(232, 82, 26, 0.35);

  --dark:    #Ffffff;
  --dark-1:  #F8F8F8;
  --dark-2:  #F1F1F1;
  --dark-3:  #E8E8E8;
  --dark-4:  #DEDEDE;
  --dark-5:  #C8C8C8;

  --white:     #FFFFFF;
  --off-white: #1A1A1A;
  --gray-1:    #666666;
  --gray-2:    #444444;
  --gray-3:    #222222;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-heading: 'Raleway', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:    cubic-bezier(0.0, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 80px;
  --section-pad: clamp(80px, 10vw, 140px);
  --container: 1280px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--off-white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Scrollbar ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #F1F1F1; }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 3px; }

/* ── Container ──────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #20BD5A;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 2px;
  transition: all 0.3s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  transform: translateX(-100%);
  transition: transform 0.35s var(--ease-smooth);
}

.btn-primary:hover::after { transform: translateX(0); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--orange-glow); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--gray-2);
  color: var(--orange);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 31px;
  border-radius: 2px;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(4px);
  transition: all 0.3s var(--ease-smooth);
}

.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
  gap: 14px;
}

.btn-large { padding: 18px 44px; font-size: 1rem; }

/* ── Section Header ─────────────────────────────────────────── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}

.section-tag::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--orange);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--off-white);
  margin-bottom: 16px;
}

.section-title em {
  font-style: italic;
  color: var(--orange);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-2);
  max-width: 560px;
  line-height: 1.7;
}

.section-header {
  margin-bottom: clamp(48px, 7vw, 80px);
}

/* ═══════════════════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.4s var(--ease-smooth),
              box-shadow 0.4s var(--ease-smooth),
              transform 0.4s var(--ease-smooth);
}


.navbar.scrolled {
  background: rgba(13, 13, 13, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 150%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

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

.nav-logo img {
  height: 80px;
  width: auto;
   transform: translateY(-20px);
  transition: transform 0.3s var(--ease-smooth);
}

.nav-logo:hover img { transform: scale(1.04); }

.nav-menu {
  position: fixed;
  top: 0;
  right: clamp(20px, 5vw, 60px);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 100;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  padding: 8px 16px;
  border-radius: 2px;
  transition: color 0.25s;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-smooth);
}

.nav-link:hover { color: var(--white); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-link.nav-cta {
  background: #20BD5A;
  color: var(--white);
  padding: 10px 22px;
  border-radius: 2px;
  transition: all 0.3s var(--ease-smooth);
}

.nav-link.nav-cta::after { display: none; }

.nav-link.nav-cta:hover {
  background: var(--orange-light);
  color: var(--white);
  box-shadow: var(--orange-glow);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.toggle-line {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s var(--ease-smooth);
}

.nav-toggle.active .toggle-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active .toggle-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active .toggle-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Buscador navbar ──────────────────────────────────────────── */
.nav-search {
  flex: 1;
  max-width: 360px;
  margin: 0 clamp(16px, 3vw, 40px);
  /* Deja espacio para que los botones fijos no lo tapen en desktop */
  margin-right: calc(clamp(20px, 5vw, 60px) + 270px);
  position: relative;
}

.search-wrap {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  padding: 0 14px;
  gap: 8px;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.search-wrap:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.35);
}

.search-wrap:focus-within {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232, 82, 26, 0.18);
}

.search-icon {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  flex-shrink: 0;
  transition: color 0.25s;
}

.search-wrap:focus-within .search-icon { color: var(--orange); }

.search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.82rem;
  padding: 9px 0;
  min-width: 0;
}

.search-input::placeholder { color: rgba(255, 255, 255, 0.4); }

.search-input::-webkit-search-cancel-button { display: none; }

.search-clear {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
  font-size: 0.72rem;
  flex-shrink: 0;
  transition: color 0.2s;
}
.search-clear:hover { color: #fff; }

/* Dropdown de resultados */
.search-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: rgba(18, 18, 18, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  z-index: 200;
  display: none;
}

.search-dropdown.open { display: block; }

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.18s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.search-result-item:last-child { border-bottom: none; }

.search-result-item:hover { background: rgba(255, 255, 255, 0.07); }

.search-result-thumb {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(255,255,255,0.06);
}

.search-result-thumb-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.25);
  font-size: 1.1rem;
}

.search-result-info { min-width: 0; }

.search-result-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-title mark {
  background: none;
  color: var(--orange);
}

.search-result-cat {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
}

.search-no-results {
  padding: 20px 16px;
  text-align: center;
  color: rgba(255,255,255,0.35);
  font-size: 0.85rem;
}

/* ═══════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
  padding-top: var(--nav-h);
}

/* Video de portada */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232,82,26,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,82,26,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  z-index: 2;
}

.hero::before {
  content: '';
  position: absolute;
  top: 15%;
  right: 5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232,82,26,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
  padding-top: 40px;
  padding-bottom: 120px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s var(--ease-out) 0.2s forwards;
}

.eyebrow-line {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--orange);
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(4.5rem, 10vw, 9rem);
  color: #FFFFFF;
  letter-spacing: -0.02em;
  line-height: 0.92;
  text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 0.9s var(--ease-out) 0.4s forwards;
}

.hero-title .title-line { display: block; }
.hero-title .orange { color: var(--orange); }

.hero-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: var(--white);
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 44px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s var(--ease-out) 0.65s forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s var(--ease-out) 0.85s forwards;
}

.hero-decoration {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 45%;
  z-index: 3;
  pointer-events: none;
}

.hero-box {
  position: absolute;
  border: 1px solid rgba(232,82,26,0.25);
}

.hero-box--1 {
  top: 20%;
  right: 8%;
  width: 260px;
  height: 260px;
  animation: heroRotate 20s linear infinite;
}

.hero-box--2 {
  top: 35%;
  right: 18%;
  width: 160px;
  height: 160px;
  animation: heroRotate 14s linear infinite reverse;
  border-color: rgba(232,82,26,0.12);
}

.hero-accent {
  position: absolute;
  top: 50%;
  right: 12%;
  width: 80px;
  height: 80px;
  background: var(--orange);
  opacity: 0.15;
  filter: blur(40px);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: clamp(20px, 5vw, 60px);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-1);
  opacity: 0;
  animation: heroFadeUp 0.8s var(--ease-out) 1.2s forwards;
}

.scroll-bar {
  width: 60px;
  height: 2px;
  background: var(--dark-4);
  border-radius: 2px;
  overflow: hidden;
}

.scroll-thumb {
  width: 30px;
  height: 100%;
  background: var(--orange);
  border-radius: 2px;
  animation: scrollSlide 2s ease-in-out infinite;
}

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes scrollSlide {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(30px); }
}

/* ═══════════════════════════════════════════════════════════════
   FEATURE SECTIONS
═══════════════════════════════════════════════════════════════ */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(48px, 8vw, 100px);
  padding: var(--section-pad) clamp(20px, 5vw, 60px);
  max-width: var(--container);
  margin: 0 auto;
}

.feature + .feature { padding-top: clamp(48px, 8vw, 100px); }

.feature--reverse { direction: rtl; }
.feature--reverse > * { direction: ltr; }

/* Media (image) side */
.feature-media {
  position: relative;
}

.media-wrapper {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  line-height: 0;
}

.feature-img {
  width: 100%;
  height: clamp(360px, 50vw, 560px);
  object-fit: cover;
  border-radius: 3px;
  transition: transform 0.7s var(--ease-smooth);
}

.feature-media:hover .feature-img { transform: scale(1.04); }

.media-frame {
  position: absolute;
  bottom: -18px;
  right: -18px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--orange);
  border-radius: 3px;
  z-index: -1;
  transition: all 0.4s var(--ease-smooth);
}

.media-frame--alt {
  bottom: auto;
  right: auto;
  top: -18px;
  left: -18px;
}

.feature-media:hover .media-frame { bottom: -12px; right: -12px; }
.feature-media:hover .media-frame--alt { top: -12px; left: -12px; }

.media-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--orange);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  z-index: 3;
}

.media-badge--alt { top: auto; bottom: 20px; right: 20px; }

/* Content (text) side */
.feature-content { display: flex; flex-direction: column; gap: 0; }

.content-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}

.content-tag::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--orange);
  flex-shrink: 0;
}

.content-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--off-white);
  margin-bottom: 20px;
}

.content-title em {
  font-style: italic;
  color: var(--orange);
}

.content-divider {
  width: 48px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
  margin-bottom: 24px;
}

.content-text {
  font-size: 1rem;
  color: var(--gray-2);
  line-height: 1.8;
  margin-bottom: 28px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--gray-3);
}

.feature-list li i {
  color: var(--orange);
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   STATS
═══════════════════════════════════════════════════════════════ */
.stats-section {
  background: var(--dark-2);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--container);
  margin: 0 auto;
}

.stat-item {
  padding: clamp(40px, 5vw, 60px) clamp(24px, 4vw, 48px);
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--dark-3); }

.stat-item::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 3px;
  background: var(--orange);
  transition: transform 0.4s var(--ease-smooth);
}

.stat-item:hover::before { transform: translateX(-50%) scaleX(1); }

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  color: var(--orange);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-1);
}

/* ═══════════════════════════════════════════════════════════════
   VIDEOS
═══════════════════════════════════════════════════════════════ */
.videos-section {
  background: var(--dark-1);
  padding: var(--section-pad) clamp(20px, 5vw, 60px);
  max-width: 100%;
}

.videos-section .section-header { max-width: var(--container); margin-left: auto; margin-right: auto; }

.videos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 40px);
  max-width: var(--container);
  margin: 0 auto;
}

.video-card {
  background: var(--dark-2);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s;
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(232,82,26,0.2);
}

.video-wrapper {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--dark-3);
  overflow: hidden;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);
  cursor: pointer;
  transition: background 0.3s;
}

.video-overlay:hover { background: rgba(0,0,0,0.2); }
.video-overlay.playing { opacity: 0; pointer-events: none; }

.play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-bounce);
  box-shadow: 0 0 0 0 rgba(232,82,26,0.4);
}

.video-overlay:hover .play-btn {
  transform: scale(1.1);
  box-shadow: 0 0 0 16px rgba(232,82,26,0.15);
}

.play-btn i {
  color: var(--white);
  font-size: 1.4rem;
  margin-left: 4px;
}

.video-info { padding: 24px 28px; }

.video-tag {
  display: inline-block;
  background: var(--orange-dim);
  color: var(--orange);
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 10px;
}

.video-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  color: var(--off-white);
  margin-bottom: 8px;
}

.video-desc {
  font-size: 0.9rem;
  color: var(--gray-1);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   PROJECTS
═══════════════════════════════════════════════════════════════ */
.projects-section {
  padding: var(--section-pad) clamp(20px, 5vw, 60px);
  max-width: var(--container);
  margin: 0 auto;
}

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

/* Project Card */
.project-card {
  background: var(--dark-2);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 70px rgba(0,0,0,0.5);
}

.card-image-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

.project-card:hover .card-image-wrap img { transform: scale(1.08); }

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s;
}

.project-card:hover .card-overlay { opacity: 1; }

.card-overlay-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 2px;
}

.card-images-count {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0,0,0,0.7);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-accent {
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-smooth);
}

.project-card:hover .card-accent { transform: scaleX(1); }

.card-body { padding: 20px 24px 24px; }

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.card-tag {
  display: inline-block;
  background: var(--orange-dim);
  color: var(--orange);
  font-family: var(--font-heading);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}

.card-date {
  font-size: 0.78rem;
  color: var(--gray-1);
}

.card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--off-white);
  margin-bottom: 8px;
  line-height: 1.2;
}

.card-desc {
  font-size: 0.88rem;
  color: var(--gray-1);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Empty state */
.projects-empty {
  text-align: center;
  padding: 80px 24px;
  grid-column: 1 / -1;
}

.empty-icon {
  font-size: 3.5rem;
  color: var(--dark-5);
  margin-bottom: 20px;
}

.projects-empty h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gray-2);
  margin-bottom: 10px;
}

.projects-empty p {
  color: var(--gray-1);
  margin-bottom: 28px;
}

/* ═══════════════════════════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════════════════════════ */
.cta-section {
  background: linear-gradient(135deg, #0A0A0A 0%, #1A0F0A 40%, #200E04 100%);
  padding: var(--section-pad) clamp(20px, 5vw, 60px);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  max-width: 100%;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232,82,26,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 clamp(0px, 2vw, 40px);
}

.cta-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.05;
  color: var(--off-white);
  margin: 14px 0 18px;
}

.cta-title em { font-style: italic; color: var(--orange); }

.cta-content p {
  color: var(--gray-2);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 36px;
}

.cta-decoration {
  position: relative;
  height: 340px;
}

.cta-shape {
  position: absolute;
  border: 1.5px solid rgba(232,82,26,0.2);
  border-radius: 2px;
}

.cta-shape--1 { width: 200px; height: 200px; top: 20%; right: 15%; animation: heroRotate 18s linear infinite; }
.cta-shape--2 { width: 130px; height: 130px; top: 10%; right: 30%; animation: heroRotate 12s linear infinite reverse; border-color: rgba(232,82,26,0.1); }
.cta-shape--3 { width: 80px; height: 80px; top: 50%; right: 10%; background: rgba(232,82,26,0.08); border: none; animation: heroRotate 8s linear infinite; }

/* ═══════════════════════════════════════════════════════════════
   BLOG
═══════════════════════════════════════════════════════════════ */
.blog-section {
  background: var(--dark-1);
  padding: var(--section-pad) clamp(20px, 5vw, 60px);
  max-width: 100%;
}

.blog-section .section-header { max-width: var(--container); margin-left: auto; margin-right: auto; }

.blog-coming-soon {
  display: flex;
  justify-content: center;
  max-width: var(--container);
  margin: 0 auto;
}

.coming-soon-card {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  padding: 60px 48px;
  text-align: center;
  max-width: 580px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.coming-soon-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
}

.coming-soon-icon {
  font-size: 2.8rem;
  color: var(--orange);
  margin-bottom: 20px;
  opacity: 0.8;
}

.coming-soon-card h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--off-white);
  margin-bottom: 12px;
}

.coming-soon-card p {
  color: var(--gray-2);
  line-height: 1.75;
  margin-bottom: 28px;
}

/* ── Blog Article ────────────────────────────────────────────── */
.blog-article {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

/* Header */
.blog-article-header {
  border-left: 3px solid var(--orange);
  padding-left: 28px;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.blog-tag-pill,
.blog-read-time {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.blog-tag-pill {
  background: var(--orange-dim);
  color: var(--orange);
  padding: 5px 14px;
  border-radius: 20px;
}

.blog-read-time { color: var(--gray-1); }

.blog-article-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.15;
  color: var(--off-white);
  margin-bottom: 20px;
}

.blog-article-lead {
  font-size: 1rem;
  color: var(--gray-2);
  line-height: 1.85;
  margin-bottom: 12px;
}

.blog-article-lead strong { color: var(--orange); font-weight: 700; }

/* Block wrapper */
.blog-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.blog-block-label {
  display: flex;
  align-items: center;
  gap: 16px;
}

.blog-number-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  border-radius: 2px;
  flex-shrink: 0;
}

.blog-block-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  color: var(--off-white);
  letter-spacing: 0.01em;
}

.blog-block-intro {
  font-size: 0.98rem;
  color: var(--gray-2);
  line-height: 1.8;
}

/* Advantages (numbered list) */
.blog-advantages {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.blog-advantage-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px;
  padding: 20px 24px;
  transition: border-color 0.3s;
}

.blog-advantage-card:hover { border-color: rgba(232,82,26,0.25); }

.advantage-num {
  width: 32px;
  height: 32px;
  background: var(--orange-dim);
  color: var(--orange);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: 2px;
}

.advantage-body strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--off-white);
  margin-bottom: 6px;
}

.advantage-body p {
  font-size: 0.9rem;
  color: var(--gray-2);
  line-height: 1.75;
}

/* Types grid */
.blog-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.blog-type-card {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px;
  padding: 22px 20px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.blog-type-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.blog-type-card:hover { border-color: rgba(232,82,26,0.2); transform: translateY(-3px); }
.blog-type-card:hover::before { transform: scaleX(1); }

.type-icon {
  font-size: 1.4rem;
  color: var(--orange);
  margin-bottom: 12px;
  opacity: 0.85;
}

.blog-type-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--off-white);
  margin-bottom: 8px;
}

.blog-type-card p {
  font-size: 0.82rem;
  color: var(--gray-1);
  line-height: 1.65;
}

/* Safety list */
.blog-safety-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  list-style: none;
}

.blog-safety-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 3px;
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--gray-3);
}

.blog-safety-list li i {
  color: var(--orange);
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Why choose us */
.blog-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
}

.blog-why-card {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px;
  padding: 24px 20px;
  transition: all 0.3s;
}

.blog-why-card:hover {
  border-color: rgba(232,82,26,0.22);
  transform: translateY(-3px);
}

.blog-why-card > i {
  font-size: 1.5rem;
  color: var(--orange);
  margin-bottom: 14px;
  display: block;
}

.blog-why-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--off-white);
  margin-bottom: 8px;
}

.blog-why-card p {
  font-size: 0.83rem;
  color: var(--gray-1);
  line-height: 1.65;
}

/* CTA del artículo */
.blog-article-cta {
  background: linear-gradient(135deg, var(--dark-2), #1a0f06);
  border: 1px solid rgba(232,82,26,0.2);
  border-radius: 6px;
  padding: clamp(32px, 5vw, 52px);
  position: relative;
  overflow: hidden;
}

.blog-article-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
}

.blog-cta-content h4 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--off-white);
  margin-bottom: 14px;
}

.blog-cta-content p {
  font-size: 0.95rem;
  color: var(--white);
  line-height: 1.8;
  margin-bottom: 12px;
  max-width: 620px;
}

.blog-cta-tagline {
  font-style: italic;
  color: var(--white) !important;
  font-size: 0.88rem !important;
  margin-bottom: 28px !important;
}

/* Responsive blog */
@media (max-width: 640px) {
  .blog-article { gap: 40px; }
  .blog-article-header { padding-left: 18px; }
  .blog-types-grid { grid-template-columns: 1fr 1fr; }
  .blog-why-grid { grid-template-columns: 1fr 1fr; }
  .blog-safety-list { grid-template-columns: 1fr; }
  .blog-advantage-card { flex-direction: column; }
}

.coming-soon-tags {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.coming-soon-tags span {
  background: var(--dark-4);
  color: var(--gray-2);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.06);
}

/* ═══════════════════════════════════════════════════════════════
   REDES VIDEO SECTION
═══════════════════════════════════════════════════════════════ */
.redes-section {
  padding: var(--section-pad) clamp(20px, 5vw, 60px);
  background: var(--dark-1);
}

.redes-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

/* Video 9:16 — ancho fijo, alto proporcional */
.redes-video-wrap {
  position: relative;
  flex-shrink: 0;
  width: clamp(220px, 28vw, 340px);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
  background: var(--dark-3);
  line-height: 0;
}

.redes-video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

/* Botón de sonido */
.redes-sound-btn {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  border: 1.5px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s var(--ease-smooth);
  z-index: 5;
  backdrop-filter: blur(6px);
}

.redes-sound-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: scale(1.1);
}

.redes-sound-btn.unmuted {
  background: var(--orange);
  border-color: var(--orange);
}

/* Texto al lado del video */
.redes-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.redes-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  color: var(--off-white);
}

.redes-title em {
  font-style: italic;
  color: var(--orange);
}

.redes-desc {
  font-size: 1rem;
  color: var(--gray-2);
  line-height: 1.8;
  max-width: 420px;
}

@media (max-width: 768px) {
  .redes-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .redes-video-wrap {
    width: clamp(200px, 60vw, 300px);
  }
  .redes-desc { max-width: 100%; }
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.footer {
  background: #080808;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: clamp(60px, 8vw, 100px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: clamp(40px, 6vw, 80px);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
  padding-bottom: clamp(60px, 8vw, 80px);
}

.footer-logo {
  height: 62px;
  width: auto;
  margin-bottom: 20px;
  opacity: 0.92;
}

.footer-tagline {
  font-size: 0.92rem;
  color: var(--white);
  line-height: 1.75;
  max-width: 300px;
  margin-bottom: 28px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  transition: all 0.3s var(--ease-smooth);
}

.social-link:hover {
  color: var(--white);
  transform: translateY(-3px);
}

/* WhatsApp — verde */
.social-link[aria-label="WhatsApp"]:hover {
  background: #25D366;
  border-color: #25D366;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

/* Facebook — azul */
.social-link[aria-label="Facebook"]:hover {
  background: #1877F2;
  border-color: #1877F2;
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.35);
}

/* Instagram — degradado oficial */
.social-link[aria-label="Instagram"]:hover {
  background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
  border-color: #DD2A7B;
  box-shadow: 0 6px 20px rgba(221, 42, 123, 0.35);
}


.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.92rem;
  color: var(--white);
  transition: color 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a::before {
  content: '';
  display: block;
  width: 0;
  height: 1px;
  background: var(--orange);
  transition: width 0.3s;
}

.footer-links a:hover { color: var(--orange); }
.footer-links a:hover::before { width: 14px; }

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.footer-info li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--white);
}

.footer-info li i {
  color: var(--orange);
  width: 18px;
  text-align: center;
}

.footer-info a { color: var(--white); transition: color 0.25s; }
.footer-info a:hover { color: var(--orange); }

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: 2px;
  transition: all 0.3s var(--ease-smooth);
}

.whatsapp-btn:hover {
  background: #20BD5A;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.3);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 20px clamp(20px, 5vw, 60px);
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--dark-5);
}

.footer-admin-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark-5);
  transition: color 0.25s;
}

.footer-admin-link:hover { color: var(--gray-1); }

/* ═══════════════════════════════════════════════════════════════
   GALLERY MODAL
═══════════════════════════════════════════════════════════════ */
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-smooth);
}

.gallery-modal.open {
  opacity: 1;
  pointer-events: all;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.95);
  cursor: pointer;
}

.modal-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  max-height: 92vh;
  padding: 0 clamp(16px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-close {
  position: absolute;
  top: -16px;
  right: clamp(16px, 4vw, 40px);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--off-white);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-smooth);
  z-index: 10;
}

.modal-close:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: rotate(90deg);
}

.modal-project-info {
  text-align: center;
  padding: 0 20px;
}

.modal-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  color: var(--off-white);
  margin-bottom: 8px;
}

.modal-desc {
  font-size: 0.95rem;
  color: var(--gray-2);
  line-height: 1.7;
}

.modal-swiper {
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
}

.modal-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-2);
}

.modal-swiper .swiper-slide img {
  max-height: 65vh;
  width: 100%;
  object-fit: contain;
}

.modal-swiper .swiper-button-next,
.modal-swiper .swiper-button-prev {
  color: var(--orange);
  background: rgba(0,0,0,0.6);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-swiper .swiper-button-next::after,
.modal-swiper .swiper-button-prev::after { font-size: 1rem; font-weight: 900; }

.modal-swiper .swiper-pagination-bullet { background: var(--gray-2); }
.modal-swiper .swiper-pagination-bullet-active { background: var(--orange); }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .feature { grid-template-columns: 1fr; gap: 48px; }
  .feature--reverse { direction: ltr; }
  .feature--reverse .feature-media { order: -1; }

  .cta-section { grid-template-columns: 1fr; }
  .cta-decoration { display: none; }

  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item { border-bottom: 1px solid rgba(255,255,255,0.05); }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: none; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --nav-h: 68px; }

  /* Buscador en móvil — inline entre logo y hamburger */
  .nav-search {
    flex: 1;
    max-width: none;
    margin: 0 10px;
    position: relative;
  }

  .search-wrap {
    padding: 0 10px;
    gap: 6px;
  }

  .search-input {
    font-size: 0.78rem;
    padding: 7px 0;
  }

  .search-input::placeholder { font-size: 0.76rem; }

  /* ── Drawer lateral móvil ──────────────────────────────────── */
  .nav-drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 98;
    opacity: 0;
    transition: opacity 0.35s ease;
  }
  .nav-drawer-overlay.open {
    display: block;
    opacity: 1;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: auto;     /* anula el right del desktop */
    height: auto;    /* anula el height del desktop */
    bottom: 0;
    width: 72vw;
    max-width: 280px;
    background: rgba(13, 13, 13, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: calc(var(--nav-h) + 24px) 0 40px;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    transform: translateX(-100%);
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99;
    overflow-y: auto;
    box-shadow: 4px 0 32px rgba(0, 0, 0, 0.4);
  }

  .nav-menu.open { transform: translateX(0); }

  .nav-link {
    width: 100%;
    padding: 14px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 1rem;
  }
  .nav-link:first-child { border-top: 1px solid rgba(255, 255, 255, 0.05); }
  .nav-link.nav-cta {
    margin: 20px 20px 0;
    width: calc(100% - 40px);
    text-align: center;
    justify-content: center;
    border: none;
  }

  .nav-toggle { display: flex; }

  .videos-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .hero-title { font-size: clamp(3.5rem, 14vw, 5.5rem); }
  .hero-decoration { display: none; }

  .stats-inner { grid-template-columns: 1fr 1fr; }

  .modal-content { padding: 0 16px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .stats-inner { grid-template-columns: 1fr; }
  .stat-item { border-right: none; }
}
