/* 
  =========================================
  ESTILOS PREMIUM - APP ANUNCIOS
  Diseño Oscuro Minimalista & Acentos Dinámicos
  =========================================
*/

@import url('https://unpkg.com/aos@2.3.1/dist/aos.css');

:root {
  /* Paleta base oscura premium */
  --bg-main: #050505;
  --bg-card: #0c0c0c;
  --bg-card-hover: #121212;
  --border-color: rgba(255, 255, 255, 0.06);
  --border-focus: rgba(255, 255, 255, 0.18);
  
  --text-primary: #ffffff;
  --text-secondary: #8e8e93;
  --text-muted: #4e4e52;

  /* Colores del Molinete (Acentos) */
  --color-red: #d41115;
  --color-magenta: #d9007a;
  --color-blue: #15479e;
  --color-cyan: #29a8e0;
  --color-green: #94c01e;
  --color-yellow: #fec900;
  --color-orange: #ef7e00;

  /* Color primario de marca (Botón de acción - Azul) */
  --color-primary: #0071e3;
  --color-primary-hover: #147ce5;

  /* Gradientes de marca */
  --grad-molinete: linear-gradient(135deg, var(--color-red), var(--color-magenta), var(--color-blue), var(--color-cyan), var(--color-green), var(--color-yellow), var(--color-orange));
  --grad-accent-glow: radial-gradient(circle, rgba(0, 113, 227, 0.08) 0%, rgba(0,0,0,0) 70%);

  /* Fuentes */
  --font-display: 'Poppins', system-ui, -apple-system, sans-serif;
  --font-body: 'Poppins', system-ui, -apple-system, sans-serif;
  
  /* Sistema */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-premium: 0 15px 40px -12px rgba(0, 0, 0, 0.8);
  --container-width: 1200px;
}

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

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

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

img, video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: #1c1c1e;
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: #2c2c2e;
}

/* Grid & Layout Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

.section-padding {
  padding: 120px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 80px 0;
  }
}

.text-left { text-align: left; }
.text-center { text-align: center; }

/* Titles */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

h2 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  margin-bottom: 20px;
}

.section-title {
  background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 80px auto;
  font-weight: 400;
  line-height: 1.6;
}

.text-left .section-subtitle {
  margin-left: 0;
}

/* Icons (Lucide) */
.icon-ui {
  width: 24px;
  height: 24px;
  stroke-width: 1.75px;
  vertical-align: middle;
  display: inline-block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 16px 36px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
  gap: 8px;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 113, 229, 0.25);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 113, 229, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-focus);
  transform: translateY(-2px);
}

/* Header (Sticky Navigation) */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 0;
  z-index: 100;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(20px);
  padding: 16px 0;
  border-color: var(--border-color);
}

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

.header-logo {
  height: 38px;
  transition: var(--transition);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

@media (max-width: 480px) {
  .header-cta .btn {
    display: none; /* Hide button on small mobiles to save space */
  }
}

/* Hero Section with Left Aligned Layout */
.hero {
  position: relative;
  height: 100vh;
  min-height: 800px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(5,5,5,0.95) 0%, rgba(5,5,5,0.7) 50%, rgba(5,5,5,0.4) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 700px;
  text-align: left;
}

.hero-logo-large {
  max-width: 160px;
  margin-bottom: 32px;
  filter: drop-shadow(0 0 20px rgba(255,255,255,0.08));
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-magenta);
  margin-bottom: 24px;
  font-weight: 700;
  display: block;
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  line-height: 1.1;
  margin-bottom: 28px;
  font-weight: 800;
}

.hero-desc {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--text-secondary);
  margin-bottom: 44px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
}

/* Trust Bar (Sleek layout) */
.trust-bar {
  background: #080808;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 36px 0;
  position: relative;
  z-index: 4;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 18px;
}

.trust-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  color: var(--color-cyan);
  flex-shrink: 0;
}

.trust-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

/* Services Section with Bento-like Grid */
.services {
  position: relative;
}

.services::after {
  content: '';
  position: absolute;
  top: 10%;
  right: 0;
  width: 500px;
  height: 500px;
  background: var(--grad-accent-glow);
  z-index: -1;
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 44px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-align: left;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 2px;
  background: var(--accent-color, var(--color-red));
  opacity: 0.15;
}

.service-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--border-focus);
  box-shadow: var(--shadow-premium);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
  margin-bottom: 28px;
  color: var(--accent-color, var(--color-red));
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--accent-color, var(--color-red));
  color: #ffffff;
  border-color: transparent;
  transform: scale(1.05);
}

.service-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.service-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Services Extra (Chips) */
.services-extra-container {
  margin-top: 64px;
  text-align: center;
  padding: 36px 24px;
  background: rgba(255,255,255,0.01);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.services-extra-title {
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 24px;
  font-weight: 600;
}

.chips-wrapper {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}

.service-chip {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.service-chip:hover {
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  border-color: var(--border-focus);
}

/* Portfolio Real Grid with Hover Effect */
.portfolio {
  background: #080808;
}

.portfolio-real-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

@media (max-width: 768px) {
  .portfolio-real-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .portfolio-real-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  aspect-ratio: 1 / 1;
  cursor: pointer;
  background: #0f0f11;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-item:hover .portfolio-img {
  transform: scale(1.06);
}

.portfolio-item-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(5,5,5,0.9) 0%, rgba(5,5,5,0.4) 60%, rgba(0,0,0,0) 100%);
  opacity: 0;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  transition: var(--transition);
  z-index: 2;
}

@media (max-width: 480px) {
  .portfolio-item-overlay {
    padding: 16px;
  }
}

.portfolio-item:hover .portfolio-item-overlay {
  opacity: 1;
}

.portfolio-item-title {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  transform: translateY(12px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-item:hover .portfolio-item-title {
  transform: translateY(0);
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(5, 5, 5, 0.98);
  backdrop-filter: blur(15px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3c ease;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-content-wrapper {
  position: relative;
  max-width: 90%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: 0 30px 70px rgba(0,0,0,0.9);
  object-fit: contain;
}

.lightbox-caption {
  color: #ffffff;
  margin-top: 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-magenta);
}

/* Proceso (4 Pasos Alineados y con Espacio) */
.proceso {
  background: #080808;
}

.proceso-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
}

.proceso-item {
  position: relative;
  padding: 30px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  text-align: left;
  transition: var(--transition);
}

.proceso-item:hover {
  border-color: var(--border-focus);
}

.proceso-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.005));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: absolute;
  top: 10px;
  right: 20px;
}

.proceso-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
  margin-bottom: 24px;
  color: var(--color-cyan);
}

.proceso-title {
  font-size: 1.15rem;
  margin-bottom: 12px;
  font-weight: 700;
  color: #ffffff;
}

.proceso-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Testimonios Section (Premium Layout) */
.testimonios {
  background: var(--bg-main);
  position: relative;
}

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

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

.testimonio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 44px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}

.testimonio-card:hover {
  border-color: var(--border-focus);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.testimonio-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.testimonio-stars {
  color: var(--color-yellow);
  font-size: 0.95rem;
}

.testimonio-quote-icon {
  color: var(--text-muted);
  opacity: 0.4;
}

.testimonio-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 28px;
  font-weight: 400;
}

.testimonio-author {
  font-weight: 700;
  color: #ffffff;
  font-size: 1rem;
}

.testimonio-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 4px;
  display: block;
}

/* Cotizar & Calculadora Split Layout (Premium de 2 Columnas) */
.cotiza-section {
  position: relative;
}

.cotiza-section::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 0;
  width: 500px;
  height: 500px;
  background: var(--grad-accent-glow);
  z-index: -1;
  pointer-events: none;
}

.cotiza-split-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 900px) {
  .cotiza-split-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Calculadora Premium */
.lona-calc {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 44px;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.lona-calc::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 4px; height: 100%;
  background: linear-gradient(to bottom, var(--color-yellow), var(--color-orange));
}

.lona-calc-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(254, 201, 0, 0.05);
  border: 1px solid rgba(254, 201, 0, 0.15);
  color: var(--color-yellow);
  margin-bottom: 24px;
}

.lona-calc h3 {
  font-size: 1.5rem;
  margin-bottom: 6px;
  color: #ffffff;
}

.lona-calc p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.lona-calc label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.lona-calc label span {
  float: right;
  color: var(--color-yellow);
  font-weight: 800;
}

.lona-calc input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  background: rgba(255,255,255,0.06);
  height: 6px;
  border-radius: var(--radius-full);
  outline: none;
  margin-top: 12px;
}

.lona-calc input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-orange);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid var(--bg-card);
}

.lona-calc input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 0 12px rgba(239, 126, 0, 0.4);
}

.lona-calc-result {
  margin: 32px 0;
  padding: 24px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 1.05rem;
}

.lona-calc-result div {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

#lc-price {
  color: var(--color-yellow);
  font-size: 1.8rem;
  font-weight: 800;
  display: block;
  margin-top: 4px;
}

.lona-calc small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* Formulario Wizard Premium */
.cotiza-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-premium);
  position: relative;
  text-align: left;
}

@media (max-width: 480px) {
  .cotiza-wrapper {
    padding: 30px 20px;
  }
}

/* Wizard Progress Bar */
.wizard-progress {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 40px;
}

.wizard-progress::before {
  content: '';
  position: absolute;
  top: 50%; left: 0; width: 100%; height: 2px;
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-50%);
  z-index: 1;
}

.wizard-progress-bar {
  position: absolute;
  top: 50%; left: 0; height: 2px;
  background: var(--color-primary);
  transform: translateY(-50%);
  z-index: 2;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
}

.wizard-step-node {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #121212;
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  position: relative;
  z-index: 3;
  transition: var(--transition);
  color: var(--text-muted);
}

.wizard-step-node.active {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(0, 113, 229, 0.3);
}

.wizard-step-node.completed {
  border-color: var(--color-green);
  background: var(--color-green);
  color: #ffffff;
}

/* Steps animation */
.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
  animation: stepFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes stepFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wizard-step-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
  color: #ffffff;
}

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

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: #ffffff;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: rgba(255, 255, 255, 0.04);
}

/* File upload styling */
.file-upload-wrapper {
  position: relative;
  width: 100%;
  height: 140px;
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.01);
  padding: 20px;
}

.file-upload-wrapper:hover {
  border-color: var(--color-primary);
  background: rgba(0, 113, 227, 0.02);
}

.file-upload-input {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-upload-icon {
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.file-upload-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-align: center;
}

.file-upload-filename {
  font-size: 0.85rem;
  color: var(--color-cyan);
  font-weight: 600;
  margin-top: 6px;
  text-align: center;
}

/* Toggle Option buttons */
.options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.option-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: block;
}

.option-btn:hover {
  background: rgba(255, 255, 255, 0.04);
}

.option-input {
  display: none;
}

.option-input:checked + .option-btn {
  border-color: var(--color-primary);
  background: rgba(0, 113, 227, 0.08);
  color: #ffffff;
}

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

@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.wizard-actions .btn {
  flex: 1;
}

.form-microcopy {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 16px;
  text-align: center;
}

.alternative-contact {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.alternative-title {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-weight: 600;
}

.alternative-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.alternative-links .btn {
  font-size: 0.85rem;
  padding: 12px 20px;
}

/* FAQ Accordion (Clean & Fine Borders) */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.faq-item:hover {
  border-color: var(--border-focus);
}

.faq-question {
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  user-select: none;
}

.faq-icon {
  transition: var(--transition);
  color: var(--color-cyan);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  background: rgba(0, 0, 0, 0.15);
  border-top: 1px solid transparent;
}

.faq-answer-inner {
  padding: 24px 28px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
  border-color: var(--border-color);
}

/* Contacto & Mapa Asymmetric Layout */
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}

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

.contacto-info {
  display: flex;
  flex-direction: column;
  gap: 36px;
  text-align: left;
}

.contacto-title {
  font-size: 2.25rem;
  margin-bottom: 12px;
}

.contacto-desc {
  color: var(--text-secondary);
  font-size: 1rem;
}

.contacto-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contacto-btn {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  font-weight: 600;
  transition: var(--transition);
  text-align: left;
}

.contacto-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-focus);
  transform: translateX(6px);
}

.contacto-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}

.contacto-detail {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.contacto-detail strong {
  display: block;
  color: #ffffff;
  font-size: 0.98rem;
  margin-bottom: 2px;
}

.contacto-meta {
  border-left: 2px solid var(--color-orange);
  padding-left: 24px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.contacto-meta p {
  margin-bottom: 8px;
}

.contacto-meta p:last-child {
  margin-bottom: 0;
}

.mapa-container {
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-premium);
}

@media (max-width: 480px) {
  .mapa-container {
    height: 320px;
  }
}

.mapa-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) invert(0.92) contrast(1.2) brightness(0.9);
}

/* Footer with Branding */
.footer {
  background: #020202;
  border-top: 1px solid var(--border-color);
  padding: 80px 0 44px 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border-color);
}

.footer-logo {
  height: 32px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.01);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  color: var(--text-secondary);
}

.social-link:hover {
  background: var(--color-magenta);
  border-color: var(--color-magenta);
  color: #ffffff;
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 36px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.seqlogic-signature a {
  font-weight: 600;
  color: var(--text-secondary);
}

.seqlogic-signature a:hover {
  color: #ffffff;
}

/* WhatsApp Floating Button (Active State & Glow) */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.08) translateY(-6px);
  background-color: #20ba5a;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}

.whatsapp-float-icon {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* Galeria horizontal con pin (GSAP) */
.portfolio{padding:0;overflow:hidden}
.hgallery{height:100vh;min-height:620px;overflow:hidden;display:flex;align-items:center}
.hgallery-track{display:flex;gap:28px;padding:0 60px;will-change:transform}
.hg-head{flex:0 0 34vw;display:flex;flex-direction:column;justify-content:center;padding-right:20px}
.hg-eyebrow{color:var(--color-magenta);font-size:.8rem;letter-spacing:.25em;text-transform:uppercase;font-weight:700;margin-bottom:14px}
.hg-head h2{margin-bottom:14px}
.hg-head p{color:var(--text-secondary);max-width:360px}
.hg-card{flex:0 0 33vw;height:64vh;border-radius:20px;overflow:hidden;position:relative;border:1px solid var(--border-color);background:var(--bg-card);cursor:pointer}
.hg-card img{width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.hg-card:hover img{transform:scale(1.06)}
.hg-num{position:absolute;top:16px;left:18px;font-size:.8rem;background:rgba(0,0,0,.4);backdrop-filter:blur(6px);padding:4px 12px;border-radius:999px;border:1px solid rgba(255,255,255,.15);z-index:2}
@media(max-width:768px){.hgallery{height:auto;min-height:0;overflow-x:auto;-webkit-overflow-scrolling:touch}.hgallery-track{padding:32px 20px}.hg-card{flex:0 0 80vw;height:56vh}.hg-head{flex:0 0 86vw}}

/* === HERO en MÓVIL: más aire, texto a la medida, overlay parejo (no amontonado) === */
@media (max-width: 768px) {
  .hero { min-height: auto; height: auto; padding: 130px 0 64px; }
  /* overlay vertical y más oscuro para que el video no compita y el texto se lea limpio */
  .hero-overlay { background: linear-gradient(180deg, rgba(5,5,5,.70) 0%, rgba(5,5,5,.55) 42%, rgba(5,5,5,.94) 100%); }
  .hero-content { max-width: 100%; }
  .hero-eyebrow { font-size: .66rem; letter-spacing: .14em; margin-bottom: 18px; }
  .hero-title { font-size: 2rem; line-height: 1.18; margin-bottom: 20px; }
  .hero-desc { font-size: 1rem; line-height: 1.6; margin-bottom: 30px; }
}
@media (max-width: 380px) {
  .hero-title { font-size: 1.78rem; }
}

/* === HERO MÓVIL: logo/video arriba completo, texto debajo (lucir la marca) === */
@media (max-width: 768px) {
  .hero { display: block; height: auto; min-height: 0; padding: 0 0 56px; }
  .hero-video-bg { position: relative; width: 100%; height: auto; max-height: 42vh; object-fit: contain; margin-top: 84px; background: #000; z-index: 1; }
  .hero-overlay { display: none; }
  .hero .container { padding-top: 18px !important; }
  .hero-content { text-align: center; max-width: 100%; }
  .hero-eyebrow { margin-bottom: 14px; }
  .hero-actions { justify-content: center; }
}

/* === COMPACTACIÓN: todo un poco más chico para que cada sección quepa en pantalla === */
html { font-size: 15px; scroll-padding-top: 90px; }   /* el scroll-padding evita que el header tape el inicio de cada sección */
@media (min-width: 769px) {
  .section-padding { padding: 78px 0; }
  .section-subtitle { margin-bottom: 44px; }
  h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); }
  .hero { min-height: 600px; }
  .hero-title { font-size: clamp(2.3rem, 4.4vw, 3.5rem); margin-bottom: 22px; }
  .hero-desc { margin-bottom: 32px; }
}

/* === Cotizador más compacto en desktop (que quepa en una pantalla) === */
@media (min-width: 769px) {
  .cotiza-section { padding: 50px 0; }
  .cotiza-split-grid { gap: 36px; align-items: center; }
  .lona-calc, .cotiza-wrapper { padding: 30px 32px; }
  .cotiza-title { font-size: 2rem; }
  .cotiza-header { margin-bottom: 10px; }
  .wizard-progress { margin-bottom: 26px; }
  .wizard-step-title { font-size: 1.05rem; margin-bottom: 16px; }
}

/* === Simetría de tarjetas del cotizador + compactación de whitespace === */
@media (min-width: 769px) {
  .cotiza-split-grid { align-items: stretch; }      /* las dos tarjetas a la misma altura (parejas) */
  .cotiza-wrapper, .lona-calc { display: flex; flex-direction: column; }
  .section-padding { padding: 58px 0; }             /* menos espacio entre secciones */
  .section-subtitle { margin-bottom: 30px; }
  .cotiza-section { padding: 40px 0; }
  .lona-calc, .cotiza-wrapper { padding: 26px 28px; }
}

/* === Cotizador: apretar el CONTENIDO en desktop para que quepa en una pantalla === */
@media (min-width: 769px) {
  .lona-calc-icon { width: 36px; height: 36px; margin-bottom: 12px; border-radius: 8px; }
  .lona-calc h3 { font-size: 1.2rem; }
  .lona-calc p { margin-bottom: 16px; }
  .lona-calc label { margin-bottom: 8px; }
  .lona-calc input[type="range"] { margin-top: 6px; }
  .lona-calc-result { margin: 14px 0; padding: 14px 16px; }
  #lc-price { font-size: 1.45rem; }
  .lona-calc small { margin-top: 8px; }
  .cotiza-title { font-size: 1.9rem; }
  .cotiza-desc { font-size: .95rem; margin-bottom: 0; }
  .wizard-progress { margin-bottom: 18px; }
  .wizard-step-title { font-size: 1.02rem; margin-bottom: 12px; }
  .alternative-contact { margin-top: 16px; padding-top: 16px; }
}

/* === AJUSTE FINAL: que el cotizador quepa en una pantalla (medido en px, no a ojo) === */
@media (min-width: 769px) {
  .cotiza-section { padding: 30px 0; }                 /* sección menos alta */
  .cotiza-header { margin-bottom: 14px; }
  .cotiza-title { margin-bottom: 6px; }
  /* botones de contacto alternativo en FILA (antes apilados = 103px de alto) */
  .alternative-links { display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px; }
  .alternative-links .btn { flex: 1 1 0; min-width: 0; padding-top: 10px; padding-bottom: 10px; font-size: .9rem; }
  .alternative-contact { margin-top: 14px; padding-top: 14px; }
  /* tarjeta de resultado un poco más compacta */
  .lona-calc-result { margin: 12px 0; padding: 12px 16px; }
  .lona-calc label { margin-bottom: 6px; }
}

/* === ÚLTIMO AJUSTE: que entren también los botones de abajo de las dos tarjetas === */
@media (min-width: 769px) {
  .cotiza-section { padding: 22px 0; }
  .lona-calc, .cotiza-wrapper { padding: 22px 26px; }
  .lona-calc-result { margin: 10px 0; padding: 10px 16px; }
  .lona-calc p { margin-bottom: 12px; }
  .lona-calc-icon { margin-bottom: 8px; }
  .lona-calc small { margin-top: 6px; margin-bottom: 0; }
}

/* === GALERÍA MARQUEE: dos filas auto-moviéndose, sin secuestrar el scroll === */
.portfolio { overflow: hidden; }
.marquee-head { text-align: center; margin-bottom: 30px; }
.marquee-head .hg-eyebrow { display: inline-block; }
.marquee-head p { color: var(--text-secondary); max-width: 560px; margin: 10px auto 0; }
.marquee { display: flex; flex-direction: column; gap: 18px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-row { display: flex; gap: 18px; width: max-content; will-change: transform; }
.marquee-left  { animation: marq-l 60s linear infinite; }
.marquee-right { animation: marq-r 52s linear infinite; }
.marquee:hover .marquee-row { animation-play-state: paused; }
@keyframes marq-l { from { transform: translateX(0); }        to { transform: translateX(-50%); } }
@keyframes marq-r { from { transform: translateX(-50%); }      to { transform: translateX(0); } }
.m-card { flex: 0 0 auto; width: 330px; height: 224px; border-radius: 16px; overflow: hidden; cursor: pointer; border: 1px solid var(--border-color); background: var(--bg-card); position: relative; }
.m-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.m-card:hover img { transform: scale(1.06); }
@media (max-width: 768px) {
  .m-card { width: 240px; height: 168px; }
  .marquee-left { animation-duration: 40s; } .marquee-right { animation-duration: 34s; }
}
@media (prefers-reduced-motion: reduce) { .marquee-row { animation: none; } .marquee { overflow-x: auto; } }

/* === COTIZADOR: dar aire para que NADA quede encimado (mejor un poco más alto que retacado) === */
@media (min-width: 769px) {
  .cotiza-section { padding: 34px 0; }
  .lona-calc, .cotiza-wrapper { padding: 26px 28px; }
  .lona-calc-result { margin: 14px 0; padding: 14px 16px; }
  .lona-calc small { margin-top: 10px; margin-bottom: 14px; display: block; }
  .lona-calc .btn-primary { margin-top: 4px; }   /* separa el botón del texto de arriba */
}

/* === Empatar alineación: el texto del precio centrado igual que el lado derecho === */
.lona-calc small { text-align: center; }

/* === Footer: ícono de Facebook en azul de marca (Instagram queda con su color) === */
.social-link-fb { color: #1877F2 !important; }
.social-link-fb:hover { color: #3b8bff !important; }
