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

:root{
  --bg: #ffffff;
  --text: #111111;
  --muted: #555;
  --line: rgba(0,0,0,.10);
  --shadow: 0 18px 40px rgba(0,0,0,.08);
  --radius: 20px;
}

body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

a{ color: inherit; }

/* Layout */
.page{
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

.hero{
  width: 100%;
  max-width: 980px;
  padding: 100px 18px 48px; /* top 200px */
  text-align: center;
}

/* Logo */
.logo{
  width: 100%;
  max-width: 260px;
  height: auto;
  display: block;
  margin: 0 auto 18px;
}

/* Headings */
h1{
  font-size: clamp(22px, 2.6vw, 34px);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.subtitle{
  margin: 0 auto 22px;
  color: var(--muted);
  max-width: 58ch;
  line-height: 1.5;
}

/* Cards grid */
.cards{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px;
}

@media (min-width: 760px){
  .cards{ grid-template-columns: repeat(3, 1fr); }
}

/* Card */
.card{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}

.card__top{
  display: grid;
  gap: 8px;
    text-align: center;

}

.card h2{
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.01em;
  text-align: center;
}

.card p{
  margin: 0 0 12px;
  color: #333;
  line-height: 1.5;
}

/* Badge */
.badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  width: fit-content;
  color: #222;
  background: rgba(0,0,0,.02);
}

.badge--dark{
  background: rgba(0,0,0,.85);
  color: #fff;
  border-color: rgba(0,0,0,.85);
}

/* Primary card */
.card--primary{
  border-color: rgba(0,0,0,.35);
  box-shadow: var(--shadow);
}

/* Buttons */
.btn{
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 15px;
  width: 100%;
  border: 1px solid var(--line);
}

.btn--ghost{
  background: #fff;
}

.btn--primary{
  background: #111;
  color: #fff;
  border-color: #111;
}

/* Footer note */
.footnote{
  margin-top: 18px;
  color: #666;
  font-size: 12px;
}

/* Responsive: pantallas bajas */
@media (max-height: 700px){
  .hero{ padding-top: 140px; }
}
