/* =============================================
   INDEX PAGE — Styles v3
   ============================================= */

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--black);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 45%, rgba(255,255,255,0.025) 0%, transparent 70%);
  pointer-events: none;
}
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 5%, transparent 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 120px 32px 80px;
}
.hero__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.hero__logo {
  width: 108px; height: 108px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 32px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.07),
    0 0 0 8px rgba(255,255,255,0.02),
    0 20px 56px rgba(0,0,0,0.6);
}
.hero__eyebrow {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-2);
  margin-bottom: 18px;
}
.hero__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(3.8rem, 9vw, 7rem);
  font-weight: 300;
  line-height: 0.97;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.hero__title em { font-style: italic; font-weight: 300; color: var(--gray-4); }
.hero__tagline {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  font-weight: 300;
  color: var(--gray-2);
  line-height: 1.7;
  margin-bottom: 14px;
}
.hero__areas {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-1);
  margin-bottom: 40px;
}
.hero__btn { padding: 16px 36px; font-size: 0.9rem; }
.hero__scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
}
.scroll-line {
  display: block;
  width: 1px; height: 54px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.25), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 0.9; }
}

/* =============================================
   BARRA DE MATRÍCULA
   ============================================= */

.matricula-bar {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  padding: 14px 0;
}

.matricula-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.matricula-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--gray-2);
}

.matricula-item svg {
  flex-shrink: 0;
  color: var(--gray-1);
}

.matricula-sep {
  color: var(--gray-1);
  font-size: 0.68rem;
  line-height: 1;
}

@media (max-width: 480px) {
  .matricula-sep { display: none; }
  .matricula-bar__inner { flex-direction: column; gap: 6px; text-align: center; }
}

/* =============================================
   LP SECTIONS (secciones de servicio)
   ============================================= */

.lp-section { padding: 96px 0; }

.lp-section--accidentes {
  background: var(--dark);
  border-top: 2px solid var(--white);
  position: relative;
}
.lp-section--light  { background: var(--off-white); }
.lp-section--dark   { background: var(--dark-2); }
.lp-section--beige  { background: var(--beige); }

/* Priority tag */
.lp-priority-tag {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  color: var(--black);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 0 0 8px 8px;
}
.lp-priority-dot {
  width: 5px; height: 5px;
  background: var(--black);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: 0.4; transform: scale(1.5); }
}

/* Grid 2 col */
.lp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.lp-grid--reverse { direction: rtl; }
.lp-grid--reverse > * { direction: ltr; }

/* Content */
.lp-num {
  font-family: var(--serif);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--gray-1);
  display: block;
  margin-bottom: 14px;
}
.lp-num--dark { color: var(--gray-2); }

.lp-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 400;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 18px;
}
.lp-title--dark { color: var(--black); }

.lp-lead {
  font-size: clamp(0.9rem, 1.3vw, 1rem);
  font-weight: 300;
  color: var(--gray-2);
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 460px;
}
.lp-lead--dark { color: var(--gray-1); }

/* Lista de servicios */
.lp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}
.lp-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--gray-3);
}
.lp-list li::before {
  content: '';
  width: 16px; height: 1px;
  background: var(--gray-1);
  flex-shrink: 0;
}
.lp-list--dark li { color: var(--gray-1); }
.lp-list--dark li::before { background: var(--gray-2); }

/* Actions */
.lp-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.lp-more {
  font-size: 0.8rem;
  color: var(--gray-2);
  transition: color 0.22s, letter-spacing 0.22s;
  letter-spacing: 0.02em;
}
.lp-more:hover { color: var(--white); letter-spacing: 0.05em; }
.lp-more--dark { color: var(--gray-2); }
.lp-more--dark:hover { color: var(--black); }

/* Visual tipográfico — sin caja, puro texto premium */
.lp-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.lp-card {
  width: 100%;
  max-width: 360px;
  padding: 0 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: none;
  border: none;
  border-radius: 0;
  border-left: 1px solid rgba(255,255,255,0.15);
  transition: border-color 0.3s var(--ease);
}
.lp-card:hover { transform: none; border-left-color: rgba(255,255,255,0.35); }

/* en secciones claras, la línea es oscura */
.lp-section--light  .lp-card,
.lp-section--beige  .lp-card {
  border-left-color: rgba(0,0,0,0.15);
}
.lp-section--light  .lp-card:hover,
.lp-section--beige  .lp-card:hover {
  border-left-color: rgba(0,0,0,0.4);
}

/* quitar variantes antiguas */
.lp-card--dark,
.lp-card--beige,
.lp-card--white { background: none; border-radius: 0; box-shadow: none; }

.lp-card__label {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-2);
}

/* colores por sección */
.lp-section--light .lp-card__label,
.lp-section--beige .lp-card__label { color: var(--gray-1); }

.lp-card__value {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.lp-section--light .lp-card__value,
.lp-section--beige .lp-card__value { color: var(--black); }

/* quitar overrides de color antiguas que ya no aplican */
.lp-card__label--dark,
.lp-card__value--dark { color: inherit; }

/* =============================================
   SECCIÓN DIFERENCIAL
   ============================================= */

.lp-diferencial {
  background: var(--black);
  padding: 96px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.lp-diferencial__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 80px;
  align-items: center;
}
.dif-logo {
  width: 120px; height: 120px;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0.85;
  flex-shrink: 0;
}
.dif-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 400;
  color: var(--white);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.dif-sub {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--gray-2);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 520px;
}
.dif-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.dif-btn {
  padding: 11px 22px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  transition: border-color 0.22s, color 0.22s, background 0.22s;
}
.dif-btn:hover {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
  background: rgba(255,255,255,0.04);
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 900px) {
  .lp-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .lp-grid--reverse { direction: ltr; }
  .lp-visual { justify-content: flex-start; }
  .lp-card { max-width: 100%; }

  .lp-diferencial__inner {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }
  .dif-logo { margin: 0 auto; }
  .dif-sub { margin-left: auto; margin-right: auto; }
  .dif-btns { justify-content: center; }
}

@media (max-width: 600px) {
  .lp-section { padding: 72px 0; }
  .lp-diferencial { padding: 72px 0; }
  .lp-priority-tag { font-size: 0.55rem; }
  .lp-actions { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero__btn { width: 100%; justify-content: center; }
  .dif-btns { flex-direction: column; }
  .dif-btn { text-align: center; }
}

@media (max-width: 400px) {
  .hero__logo { width: 86px; height: 86px; }
  .hero__title { font-size: 3.2rem; }
}
