/* DESIGN SYSTEM & CONSTANTS */
:root {
  --bg-primary: #222B32;
  --accent-gold: #FABD02;
  --accent-gold-dark: #D4AC0D;
  --text-light: #F8F9FA;
  --text-dark: #2D3748;
  --bg-card: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.15);
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 90px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: rgba(34, 43, 50, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-card);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nav-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

img {
  max-width: 100%;
  height: auto;
}

.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--text-light);
  display: flex !important;
  align-items: center !important;
  height: 36px !important;
  max-height: 36px !important;
  max-width: 140px !important;
  overflow: hidden !important;
}

.nav-logo img {
  height: 34px !important;
  max-height: 34px !important;
  width: 140px !important;
  max-width: 140px !important;
  object-fit: contain !important;
  display: block !important;
}

.logo-accent {
  color: var(--accent-gold);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14.5px;
  font-weight: 500;
  transition: all 0.25s ease;
  position: relative;
  padding: 6px 2px;
  display: inline-block;
}

.nav-links a:hover {
  color: var(--accent-gold);
}

.nav-links a.nav-active {
  color: #ffffff;
  font-weight: 700;
}

.nav-links a.nav-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--accent-gold);
  border-radius: 2px;
}

.nav-btn-login {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 14px !important;
  border-radius: 6px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  transition: all 0.25s ease !important;
}

.nav-btn-login:hover {
  border-color: var(--accent-gold) !important;
  color: var(--accent-gold) !important;
  background: rgba(250, 189, 2, 0.06) !important;
}

/* SUBPAGE HERO & LAYOUTS */
.subpage-hero {
  padding: 130px 0 55px 0;
  background: radial-gradient(circle at 50% 0%, rgba(250, 189, 2, 0.08), transparent 70%), var(--bg-primary);
  border-bottom: 1px solid var(--border-card);
  text-align: center;
}

.subpage-hero .subpage-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.subpage-hero .subpage-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(250, 189, 2, 0.12);
  border: 1px solid rgba(250, 189, 2, 0.3);
  color: var(--accent-gold);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.subpage-hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 38px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.25;
}

.subpage-hero p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}

.page-section {
  padding: 70px 0;
}

/* HERO SECTION */
.hero {
  padding: 160px 0 100px 0;
  background: radial-gradient(circle at top right, rgba(250, 189, 2, 0.08), transparent 50%), var(--bg-primary);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 60px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.badge {
  background-color: rgba(250, 189, 2, 0.15);
  color: var(--accent-gold);
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 6px;
  margin-bottom: 24px;
  border: 1px solid rgba(250, 189, 2, 0.3);
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: 46px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
}

.hero-subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

/* BUTTONS */
.btn-primary {
  background-color: var(--accent-gold);
  color: var(--bg-primary);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.2s ease, background-color 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--accent-gold-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1.5px solid var(--border-card);
  color: var(--text-light);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  transition: background-color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.btn-primary-sm {
  background-color: var(--accent-gold);
  color: var(--bg-primary);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

.btn-primary-sm:hover {
  background-color: var(--accent-gold-dark);
}

.btn-block {
  width: 100%;
}

/* HERO VISUAL (MOCK CARD) */
.hero-visual {
  display: flex;
  justify-content: center;
}

.truck-card {
  width: 100%;
  max-width: 360px;
  background-color: var(--bg-card);
  border: 1.5px solid var(--border-card);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
}

.truck-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-card);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.truck-title {
  font-weight: 700;
  font-size: 16px;
}

.truck-status-badge {
  background-color: rgba(250, 189, 2, 0.15);
  color: var(--accent-gold);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid var(--accent-gold);
}

.truck-body p {
  font-size: 13.5px;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.9);
}

.carbon-kpi {
  margin-top: 20px;
  background-color: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.3);
  padding: 12px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.kpi-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.kpi-value {
  color: #e74c3c;
  font-weight: 700;
  font-size: 16px;
}

/* METRICS BAR & CARDS */
.metrics-section {
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
  padding: 32px 0;
}

.metrics-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 992px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.metric-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.metric-card:hover {
  transform: translateY(-3px);
  border-color: rgba(250, 189, 2, 0.4);
  background: rgba(255, 255, 255, 0.07);
}

.metric-number {
  font-size: 26px;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  line-height: 1.2;
  margin-bottom: 6px;
}

.metric-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  line-height: 1.35;
}

/* LEY 9/2025 COMPLIANCE CARDS */
.compliance-container {
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.compliance-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.compliance-card:hover {
  border-color: rgba(250, 189, 2, 0.35);
  transform: translateY(-2px);
}

.compliance-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.compliance-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.compliance-badge {
  background: rgba(250, 189, 2, 0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(250, 189, 2, 0.3);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.compliance-card-html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 90px;
}

body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 768px) {
  .compliance-card-html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 90px;
}

body {
    grid-template-columns: 1fr;
  }
}

.compliance-box-law {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

.compliance-box-law-header {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #fbbf24;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.compliance-box-wayslip {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.compliance-box-wayslip-header {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #34d399;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.compliance-box-wayslip strong {
  color: #34d399;
  display: block;
  margin-bottom: 3px;
  font-size: 13px;
}

/* FEATURES */
.features {
  padding: 100px 0;
  background-color: rgba(0, 0, 0, 0.1);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px auto;
  padding: 0 24px;
}

.section-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
}

.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}

.feature-card {
  background-color: var(--bg-card);
  border: 1.5px solid var(--border-card);
  border-radius: 20px;
  padding: 32px;
  transition: transform 0.3s ease, border-color 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
}

/* CALCULATOR & PRICING */
.pricing {
  padding: 100px 0;
}

.calculator-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--bg-card);
  border: 1.5px solid var(--border-card);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
}

.calculator-container h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  margin-bottom: 8px;
  font-weight: 700;
  text-align: center;
}

.calculator-container > p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  margin-bottom: 28px;
}

.calc-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

.input-group {
  display: flex;
  flex-direction: column;
}

.input-group label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 6px;
}

.form-control {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1.5px solid var(--border-card);
  border-radius: 8px;
  padding: 12px;
  color: var(--text-light);
  font-size: 14px;
  outline: none;
  font-family: inherit;
}

.form-control:focus {
  border-color: var(--accent-gold);
}

.calc-result {
  background-color: rgba(255, 255, 255, 0.04);
  padding: 24px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px dashed var(--border-card);
}

.calc-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 4px;
}

.calc-price {
  font-family: 'Outfit', sans-serif;
  font-size: 38px;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
}

.calc-vat {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

/* SURVEY SECTION (NEGOTIATION) */
.survey {
  padding: 100px 0;
  background-color: rgba(0, 0, 0, 0.1);
}

.survey-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.survey-info h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.25;
}

.survey-info p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
  font-weight: 300;
}

.contact-details {
  border-top: 1px solid var(--border-card);
  padding-top: 24px;
  font-size: 14px;
}

.contact-details p {
  margin-bottom: 8px;
  font-weight: 500;
}

.survey-form-box {
  background-color: var(--bg-card);
  border: 1.5px solid var(--border-card);
  border-radius: 24px;
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.9);
}

.survey-form input, .survey-form select, .survey-form textarea {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1.5px solid var(--border-card);
  border-radius: 8px;
  padding: 12px;
  color: var(--text-light);
  font-size: 14px;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.survey-form input:focus, .survey-form select:focus, .survey-form textarea:focus {
  border-color: var(--accent-gold);
}

.success-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(34, 43, 50, 0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.success-overlay.hidden {
  display: none;
}

.success-content {
  text-align: center;
  padding: 24px;
}

.success-icon {
  font-size: 48px;
  color: #2ec4b6;
  display: inline-block;
  margin-bottom: 16px;
  background-color: rgba(46, 196, 182, 0.1);
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
}

.success-content h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  margin-bottom: 8px;
}

.success-content p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* FOOTER */
.footer-landing {
  padding: 60px 0;
  border-top: 1px solid var(--border-card);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  display: block;
  margin-bottom: 8px;
}

.footer-info p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
  text-align: right;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal p {
  margin-bottom: 4px;
}



/* RESPONSIVE LAYOUTS & MOBILE MENU */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 1100;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text-light);
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .menu-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: rgba(34, 43, 50, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-card);
    flex-direction: column;
    padding: 30px 24px;
    gap: 24px;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.active {
    display: flex;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-title {
    font-size: 34px;
  }
  
  .survey-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
  
  .footer-legal {
    text-align: center;
  }
}

/* PRIVACY PAGE STYLES */
.privacy-content {
  max-width: 800px;
  margin: 120px auto 60px auto;
  padding: 0 24px;
}

.privacy-content h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 36px;
  margin-bottom: 24px;
  color: var(--accent-gold);
}

.privacy-content h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  margin-top: 32px;
  margin-bottom: 12px;
}

.privacy-content p, .privacy-content li {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
}

.privacy-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   MODAL DE SOLICITUD DE ALTA PARA TRANSPORTISTAS (ESTILO WAYSLIP)
   ========================================================================== */
.alta-modal-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 15, 20, 0.88);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.alta-modal-overlay.active {
  display: flex !important;
  opacity: 1;
  pointer-events: auto;
}

.alta-modal-card {
  background: #1c242b;
  border: 1.5px solid rgba(250, 189, 2, 0.35);
  border-radius: 16px;
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), 0 0 40px rgba(250, 189, 2, 0.08);
  position: relative;
  transform: scale(0.96) translateY(15px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.alta-modal-overlay.active .alta-modal-card {
  transform: scale(1) translateY(0);
}

.alta-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.alta-modal-close:hover {
  background: rgba(250, 189, 2, 0.2);
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}

.alta-modal-header {
  margin-bottom: 24px;
  padding-right: 32px;
}

.alta-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(250, 189, 2, 0.12);
  color: var(--accent-gold);
  border: 1px solid rgba(250, 189, 2, 0.3);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.alta-modal-title {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.2;
}

.alta-modal-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

.alta-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

.alta-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.alta-form-group label {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.alta-form-group .required {
  color: var(--accent-gold);
  font-weight: 800;
}

.alta-form-group input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 10px 14px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.2s ease;
}

.alta-form-group input:focus {
  border-color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
  box-shadow: 0 0 0 3px rgba(250, 189, 2, 0.15);
}

.alta-input-hint {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 2px;
  line-height: 1.3;
}

/* Selector de camiones */
.alta-trucks-section {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 18px;
}

.alta-trucks-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.alta-trucks-label {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 4px;
}

.alta-trucks-desc {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.alta-counter-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.alta-counter-btn {
  background: rgba(250, 189, 2, 0.15);
  border: 1px solid rgba(250, 189, 2, 0.35);
  color: var(--accent-gold);
  width: 38px;
  height: 38px;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  user-select: none;
}

.alta-counter-btn:hover {
  background: var(--accent-gold);
  color: #000;
}

.alta-counter-input {
  width: 64px;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  -moz-appearance: textfield;
}

.alta-counter-input::-webkit-outer-spin-button,
.alta-counter-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Tarjeta de cálculo prorrateado */
.alta-calc-box {
  background: rgba(250, 189, 2, 0.04);
  border: 1.5px solid rgba(250, 189, 2, 0.35);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 20px;
}

.alta-calc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}

.alta-calc-tag {
  font-size: 11px;
  font-weight: 800;
  color: var(--accent-gold);
  letter-spacing: 0.5px;
}

.alta-calc-zero-badge {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}

.alta-calc-html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 90px;
}

body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
}

.alta-calc-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.alta-calc-concept {
  color: rgba(255, 255, 255, 0.85);
}

.alta-calc-courtesy {
  display: block;
  font-size: 11.5px;
  color: var(--accent-gold);
  font-style: italic;
  margin-top: 3px;
  font-weight: 400;
  line-height: 1.35;
}

.alta-calc-val {
  color: #fff;
  text-align: right;
  white-space: nowrap;
}

.alta-calc-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 6px 0;
}

.alta-calc-total-row {
  align-items: center;
  padding-top: 4px;
}

.alta-calc-total-label {
  font-weight: 700;
  color: #fff;
  font-size: 14px;
}

.alta-calc-total-amount {
  font-size: 20px;
  font-weight: 800;
  color: var(--accent-gold);
  font-family: 'Outfit', sans-serif;
  white-space: nowrap;
}

.alta-calc-footer {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed rgba(250, 189, 2, 0.25);
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
  align-items: flex-start;
}

.alta-calc-info-icon {
  font-size: 15px;
  line-height: 1;
  flex-shrink: 0;
}

/* Checkbox LOPD */
.alta-checkbox-group {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 20px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.45;
}

.alta-checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--accent-gold);
  flex-shrink: 0;
}

/* Banner de error */
.alta-error-banner {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 16px;
}

/* Acciones y botón submit */
.alta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.alta-btn-submit {
  width: 100%;
  justify-content: center;
  font-size: 15px;
  padding: 14px 20px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s;
}

.alta-btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.alta-security-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  text-align: center;
}

.alta-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: #000;
  border-radius: 50%;
  animation: altaSpin 0.7s linear infinite;
  display: inline-block;
}

@keyframes altaSpin {
  to { transform: rotate(360deg); }
}

/* Vista de éxito */
.alta-success-view {
  text-align: center;
  padding: 20px 8px;
}

.alta-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid #34d399;
  color: #34d399;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  font-weight: 800;
}

.alta-success-title {
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.alta-success-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
  line-height: 1.5;
}

.alta-success-steps {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.alta-step-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.alta-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-gold);
  color: #000;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.alta-step-info strong {
  color: #fff;
  font-size: 14px;
  display: block;
  margin-bottom: 2px;
}

.alta-step-info p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  margin: 0;
  line-height: 1.4;
}

.alta-success-close-btn {
  width: 100%;
  justify-content: center;
  border: none;
  cursor: pointer;
  padding: 12px;
  font-size: 15px;
  font-weight: 700;
}

/* Responsive para el modal */
@media (max-width: 640px) {
  .alta-modal-card {
    padding: 24px 18px;
  }
  .alta-form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .alta-trucks-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .alta-calc-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .alta-modal-title {
    font-size: 22px;
  }
}

/* Selector Opcional ERP en Modal de Alta */
.alta-erp-toggle-box {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 10px;
  padding: 16px;
  margin: 18px 0;
  transition: all 0.25s ease;
}

.alta-erp-toggle-box.selected {
  background: rgba(59, 130, 246, 0.2);
  border-color: #60a5fa;
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.3);
}

/* ==========================================================================
   SECCIÓN EQUIPO FUNDADOR Y LIDERAZGO (GOOGLE STARTUPS & ENTERPRISE COMPLIANCE)
   ========================================================================== */
.team-section {
  padding: 90px 0;
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid var(--border-card);
}

.team-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.team-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-card);
  border-radius: 20px;
  padding: 32px 28px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.team-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.team-card-lead {
  border-color: rgba(250, 189, 2, 0.45);
  background: linear-gradient(180deg, rgba(250, 189, 2, 0.05) 0%, rgba(255, 255, 255, 0.04) 100%);
}

.team-avatar-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.team-avatar-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  flex-shrink: 0;
}

.avatar-lead {
  background: linear-gradient(135deg, #FABD02 0%, #D4AC0D 100%);
  color: #1A222C;
  border: 2px solid #FABD02;
  box-shadow: 0 0 18px rgba(250, 189, 2, 0.35);
}

.avatar-ops {
  background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
  color: #ffffff;
  border: 2px solid #60A5FA;
  box-shadow: 0 0 18px rgba(59, 130, 246, 0.35);
}

.avatar-compliance {
  background: linear-gradient(135deg, #10B981 0%, #047857 100%);
  color: #ffffff;
  border: 2px solid #34D399;
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.35);
}

.team-identity h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.team-identity .team-title {
  font-size: 13px;
  color: var(--accent-gold);
  font-weight: 600;
  line-height: 1.35;
}

.team-pill {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 14px;
}

.pill-lead {
  background: rgba(250, 189, 2, 0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(250, 189, 2, 0.35);
}

.pill-ops {
  background: rgba(59, 130, 246, 0.15);
  color: #93C5FD;
  border: 1px solid rgba(59, 130, 246, 0.35);
}

.pill-compliance {
  background: rgba(16, 185, 129, 0.15);
  color: #6EE7B7;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.team-bio {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
  margin-bottom: 18px;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.team-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  font-size: 11.5px;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 500;
}

.team-contact {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.team-contact a {
  color: var(--accent-gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.team-contact a:hover {
  text-decoration: underline;
  color: #ffffff;
}

.team-location {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.team-guarantee-box {
  max-width: 1000px;
  margin: 40px auto 0 auto;
  padding: 20px 24px;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.team-guarantee-box p {
  margin: 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.team-linkedin-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(10, 102, 194, 0.15);
  border: 1px solid rgba(10, 102, 194, 0.45);
  color: #70b5f9 !important;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.team-linkedin-btn:hover {
  background: #0A66C2;
  color: #ffffff !important;
  border-color: #0A66C2;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(10, 102, 194, 0.3);
}

.team-linkedin-btn.company-btn {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.85) !important;
}

.team-linkedin-btn.company-btn:hover {
  background: #0A66C2;
  color: #ffffff !important;
  border-color: #0A66C2;
}




