:root {
  --bg-main: #050814;
  --bg-card: #0c1220;
  --accent: #f4b23a;
  --accent-soft: rgba(244, 178, 58, 0.16);
  --text-main: #f5f7fb;
  --text-muted: #a9b2c7;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --radius-lg: 20px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.65);
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #162341 0, #050814 55%, #02030a 100%);
  color: var(--text-main);
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 16px 32px;
}

.header {
  display: flex;
  justify-content: center;  /* centra horizontalmente el logo */
  align-items: center;      /* centra verticalmente en el header */
  padding-bottom: 16px;
}

.logo {
  height: 150px;
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

/* HERO */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 32px 24px 40px;
  background: linear-gradient(135deg, rgba(10, 21, 46, 0.9), rgba(3, 8, 26, 0.98));
  border-radius: 28px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(244, 178, 58, 0.4);
}

.badge::before {
  content: "●";
  font-size: 0.7rem;
}

.hero-content h1 {
  margin: 16px 0 12px;
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  line-height: 1.1;
}

.hero-text {
  margin: 0 0 20px;
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
  white-space: nowrap;
}

/* Iconito dentro de los botones */
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  font-size: 1.2rem;
}

.btn-whatsapp {
  background: #25d366;
  color: #041307;
  box-shadow: 0 12px 24px rgba(5, 151, 59, 0.45);
}

/* antes tenía ::before, lo sacamos para usar .btn-icon dentro del HTML */
/*
.btn-whatsapp::before {
  content: "🟢";
  margin-right: 8px;
}
*/

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.6);
}

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

/* HERO SIDE CARD */

.hero-side {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  width: 100%;
  max-width: 340px;
  padding: 20px 18px 18px;
  border-radius: 20px;
  background: radial-gradient(circle at top left, rgba(244, 178, 58, 0.12), transparent 55%),
              linear-gradient(145deg, #070f1f, #020510);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.7);
}

.hero-card h2 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.hero-card p {
  margin: 0 0 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-list {
  margin: 0;
  padding-left: 18px;
  font-size: 0.88rem;
  color: var(--text-main);
}

.hero-list li + li {
  margin-top: 4px;
}

/* CONTACT STRIP */

.contact-strip {
  margin-top: 26px;
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: linear-gradient(90deg, rgba(9, 15, 33, 0.96), rgba(9, 15, 27, 0.9));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  font-size: 0.88rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-item a {
  color: var(--text-main);
  opacity: 0.9;
}

.contact-item a:hover {
  opacity: 1;
  text-decoration: underline;
}

.label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* LOCATION */

.location {
  margin-top: 18px;
  text-align: center;
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* FOOTER */

.footer {
  margin-top: 28px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* RESPONSIVE */

@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 22px 18px 24px;
  }

  .hero-side {
    justify-content: flex-start;
  }

  .contact-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header {
    justify-content: center;
  }

  .logo {
    height: 56px;
  }

  .page {
    padding-inline: 14px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-strip {
    grid-template-columns: 1fr;
  }
}
