/* ============================
   GRÚAS CASTILLÓN — styles.css
   ============================ */

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

:root {
  --rojo: #C8102E;
  --rojo-hover: #a50d25;
  --negro: #111111;
  --gris-texto: #666666;
  --gris-borde: #eeeeee;
  --fondo-alt: #fafafa;
  --verde-wa: #25D366;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: #ffffff;
  color: var(--negro);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; }

/* ---- NAVBAR ---- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #f0f0f0;
}

.nav-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.nav-logo-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--negro);
  letter-spacing: -0.3px;
}

.nav-logo-name strong {
  color: var(--rojo);
  font-weight: 800;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--rojo);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 50px;
  letter-spacing: 0.2px;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--rojo-hover); }

/* ---- HERO ---- */
.hero {
  padding: 56px 24px 52px;
  border-bottom: 3px solid var(--rojo);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(200,16,46,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 960px;
  margin: 0 auto;
}

.hero-logo {
  height: 110px;
  width: auto;
  object-fit: contain;
  margin-bottom: 24px;
  display: block;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--rojo);
  margin-bottom: 18px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--rojo);
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 900;
  line-height: 1.0;
  color: var(--negro);
  letter-spacing: -2px;
  margin-bottom: 18px;
}

.hero h1 em {
  color: var(--rojo);
  font-style: normal;
}

.hero-sub {
  font-size: 16px;
  color: var(--gris-texto);
  line-height: 1.65;
  max-width: 440px;
  margin-bottom: 32px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--rojo);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 50px;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--rojo-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--negro);
  font-size: 14px;
  font-weight: 500;
  padding: 13px 24px;
  border-radius: 50px;
  border: 1.5px solid #ddd;
  transition: border-color 0.2s, transform 0.15s;
}

.btn-secondary:hover {
  border-color: #aaa;
  transform: translateY(-1px);
}

.trust-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #555;
}

/* ---- STRIP ---- */
.strip {
  background: var(--rojo);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}

.strip-item {
  padding: 28px 16px;
  border-right: 1px solid rgba(255,255,255,0.15);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.strip-item:last-child { border-right: none; }

.strip-item strong {
  font-size: 30px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  display: block;
}

.strip-item span {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* ---- SECCIONES ---- */
.section {
  padding: 56px 24px;
}

.section-inner {
  max-width: 960px;
  margin: 0 auto;
}

.section-alt { background: var(--fondo-alt); }

.section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--rojo);
  margin-bottom: 8px;
}

.section h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: var(--negro);
  letter-spacing: -0.8px;
  margin-bottom: 32px;
  line-height: 1.15;
}

.section-sub {
  font-size: 14px;
  color: var(--gris-texto);
  line-height: 1.6;
  max-width: 520px;
  margin-top: -18px;
  margin-bottom: 32px;
}

.line-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rojo) 30%, var(--rojo) 70%, transparent);
}

/* ---- SERVICIOS ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.service-card {
  border: 1px solid var(--gris-borde);
  border-radius: 14px;
  padding: 22px;
  background: #fff;
  transition: border-color 0.2s, transform 0.2s;
}

.service-card:hover {
  border-color: var(--rojo);
  transform: translateY(-2px);
}

.service-num {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--rojo);
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.service-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--negro);
  margin-bottom: 6px;
}

.service-card p {
  font-size: 13px;
  color: #777;
  line-height: 1.55;
}

/* ---- PRECIOS ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.price-card {
  border: 1px solid var(--gris-borde);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(17,17,17,0.08);
  border-color: var(--rojo);
}

.price-card-featured {
  border-color: var(--rojo);
  position: relative;
}

.price-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #fff;
  color: var(--rojo);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 50px;
  z-index: 2;
}

.price-card-header {
  background: var(--rojo);
  padding: 28px 24px 24px;
  text-align: center;
  position: relative;
}

.price-card-header h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.2px;
  margin-bottom: 8px;
}

.price-card-header p {
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.price-card-body {
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.price-contact {
  text-align: center;
  padding: 18px 14px;
  background: var(--fondo-alt);
  border: 1px dashed #ddd;
  border-radius: 12px;
  margin-bottom: 20px;
}

.price-contact strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--negro);
  margin-bottom: 3px;
}

.price-contact span {
  font-size: 11px;
  color: var(--gris-texto);
  letter-spacing: 0.2px;
}

.price-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--verde-wa);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 13px 18px;
  border-radius: 50px;
  margin-bottom: 22px;
  transition: opacity 0.2s, transform 0.15s;
}

.price-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.price-features {
  display: flex;
  flex-direction: column;
  gap: 11px;
  list-style: none;
  margin-top: auto;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  color: #444;
  line-height: 1.45;
}

.price-features li::before {
  content: '✓';
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  border-radius: 5px;
  background: rgba(200,16,46,0.1);
  color: var(--rojo);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.price-features li strong { color: var(--negro); font-weight: 700; }

/* ---- MAPA ---- */
.map-wrapper {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--gris-borde);
  margin-bottom: 18px;
}

/* ---- DIRECCIONES ---- */
.addresses {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.address-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border: 1px solid var(--gris-borde);
  border-left: 3px solid var(--rojo);
  border-radius: 12px;
  padding: 18px 20px;
  background: #fff;
}

.address-num {
  width: 28px;
  height: 28px;
  background: var(--rojo);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.address-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--negro);
  margin-bottom: 3px;
}

.address-card p {
  font-size: 13px;
  color: #666;
}

/* ---- CONTACTO FINAL ---- */
.contact-block {
  background: var(--negro);
  padding: 64px 24px;
  text-align: center;
}

.contact-block h2 {
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.8px;
  margin-bottom: 10px;
}

.contact-block p {
  font-size: 15px;
  color: #777;
  margin-bottom: 32px;
}

.contact-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 320px;
  margin: 0 auto;
}

.btn-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--verde-wa);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 15px 24px;
  border-radius: 50px;
  transition: opacity 0.2s;
}

.btn-wa:hover { opacity: 0.9; }

.btn-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 14px 24px;
  border-radius: 50px;
  border: 1px solid #333;
  transition: border-color 0.2s;
}

.btn-call:hover { border-color: #666; }

/* ---- FOOTER ---- */
.footer {
  background: #0a0a0a;
  padding: 20px 24px;
  text-align: center;
  border-top: 1px solid #1a1a1a;
}

.footer p { font-size: 12px; color: #444; }
.footer span { color: var(--rojo); }

/* ---- BOTONES FLOTANTES ---- */
.float-btns {
  position: fixed;
  bottom: 24px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 998;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.float-btn:hover { transform: scale(1.1); }

.float-wa {
  background: var(--verde-wa);
  box-shadow: 0 4px 14px rgba(37,211,102,0.4);
}

.float-phone {
  background: var(--rojo);
  box-shadow: 0 4px 14px rgba(200,16,46,0.35);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 700px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .strip { grid-template-columns: 1fr; }
  .strip-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .strip-item:last-child { border-bottom: none; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-secondary { justify-content: center; }
  .trust-row { flex-direction: column; gap: 10px; }
  .hero-logo { height: 80px; }
  .nav-logo-img { height: 34px; }
}