:root {
  --synchro-azul: #0B3954;
  --synchro-dorado: #F4A300;
}

html {
  font-size: 14px;
}

.synchro-navbar {
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease-in-out;
}

.synchro-navbar.scrolled {
  box-shadow: 0 4px 20px rgba(11, 57, 84, 0.12);
}

.synchro-navbar .navbar-brand img {
  height: 42px;
  width: auto;
}

.synchro-navbar .nav-link {
  color: var(--synchro-azul);
  font-weight: 500;
}

.synchro-navbar .nav-link:hover,
.synchro-navbar .nav-link:focus {
  color: var(--synchro-dorado);
}

.synchro-footer {
  background-color: var(--synchro-azul);
}

.synchro-hero {
  background: linear-gradient(135deg, var(--synchro-azul) 0%, #145374 100%);
  color: #fff;
  padding: 5rem 0;
}

.synchro-hero .hero-em {
  color: var(--synchro-dorado);
  font-style: normal;
}

.hero-visual {
  position: relative;
  margin-bottom: 1.5rem;
}

.hero-img-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.hero-img-wrap img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.hero-badge {
  position: absolute;
  bottom: -1.25rem;
  left: -1.25rem;
  background: #fff;
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.hero-badge .badge-icon {
  width: 42px;
  height: 42px;
  background: rgba(11, 57, 84, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.hero-badge .badge-text span {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--synchro-azul);
  line-height: 1.1;
}

.hero-badge .badge-text p {
  margin: 0;
  font-size: 0.72rem;
  color: #6b7280;
}

@media (max-width: 575.98px) {
  .hero-badge {
    left: 1rem;
    bottom: 1rem;
  }
}

.synchro-hero .btn-primary {
  background-color: var(--synchro-dorado);
  border-color: var(--synchro-dorado);
  color: #1a1a1a;
  font-weight: 600;
}

.synchro-hero .btn-primary:hover {
  background-color: #d98e00;
  border-color: #d98e00;
}

.planes-tag {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--synchro-azul);
  margin-bottom: 0.4rem;
}

.planes-divider {
  width: 44px;
  height: 3px;
  background: var(--synchro-dorado);
  border-radius: 2px;
}

.plan-card {
  position: relative;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 1.25rem 3rem rgba(11, 57, 84, 0.14);
}

.plan-card.featured {
  border-color: var(--synchro-azul);
  box-shadow: 0 0.5rem 1.875rem rgba(11, 57, 84, 0.14);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--synchro-dorado);
  color: #1a1a1a;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.28rem 0.9rem;
  border-radius: 20px;
  white-space: nowrap;
}

.plan-card .plan-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--synchro-azul);
}

.plan-card .plan-tagline {
  color: #6b7280;
  font-size: 0.82rem;
  margin: 0.3rem 0 1.2rem;
}

.plan-card .plan-price {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--synchro-azul);
  line-height: 1;
}

.plan-card .plan-price sup {
  font-size: 1.1rem;
  vertical-align: super;
}

.plan-card .plan-iva {
  font-size: 0.85rem;
  font-weight: 600;
  color: #6b7280;
  margin-left: 0.35rem;
}

.plan-card .plan-period {
  color: #6b7280;
  font-size: 0.8rem;
  margin: 0.25rem 0 1.5rem;
}

.plan-card .plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem;
  flex-grow: 1;
}

.plan-card .plan-features li {
  color: #4a5568;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(11, 57, 84, 0.08);
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  line-height: 1.5;
}

.plan-card .plan-features li::before {
  content: '✓';
  color: var(--synchro-dorado);
  font-weight: 700;
  flex-shrink: 0;
}

.plan-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.8rem;
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.plan-btn-fill {
  background: var(--synchro-dorado);
  border: 1.5px solid var(--synchro-dorado);
  color: #1a1a1a;
}

.plan-btn-fill:hover {
  background: #d98e00;
  border-color: #d98e00;
  color: #1a1a1a;
}

.plan-btn-outline {
  background: transparent;
  border: 1.5px solid var(--synchro-azul);
  color: var(--synchro-azul);
}

.plan-btn-outline:hover {
  background: var(--synchro-azul);
  color: #fff;
}

.btn-synchro {
  background-color: var(--synchro-dorado);
  border-color: var(--synchro-dorado);
  color: #1a1a1a;
  font-weight: 600;
}

.btn-synchro:hover {
  background-color: #d98e00;
  border-color: #d98e00;
  color: #1a1a1a;
}

/* AUTENTICACIÓN (login / registro) */
.auth-section {
  display: flex;
  justify-content: center;
  padding: 3rem 1rem 4rem;
}

.auth-card {
  width: 100%;
  max-width: 430px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-top: 4px solid var(--synchro-dorado);
  border-radius: 14px;
  padding: 2.5rem 2.25rem;
  box-shadow: 0 1.25rem 3rem rgba(11, 57, 84, 0.10);
}

.auth-head {
  text-align: center;
  margin-bottom: 1.75rem;
}

.auth-head h1 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--synchro-azul);
  margin-bottom: 0.35rem;
}

.auth-head p {
  color: #6b7280;
  font-size: 0.88rem;
  margin: 0;
}

.auth-card .form-label {
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--synchro-azul);
}

.auth-card .form-control {
  padding: 0.7rem 0.9rem;
}

.auth-card .btn-synchro {
  padding: 0.7rem;
  font-size: 0.95rem;
}

.auth-foot {
  text-align: center;
  margin: 1.5rem 0 0;
  font-size: 0.85rem;
  color: #6b7280;
}

.auth-foot a {
  color: var(--synchro-azul);
  font-weight: 600;
  text-decoration: none;
}

.auth-foot a:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  padding-top: 70px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}