:root {
  --accent: #ff4b2b;
  --dark: #111;
  --muted: #efefef;
  --card: #ffffff;
  --shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  --glass: rgba(255, 255, 255, 0.6);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Poppins, system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: #ffffff;
  background: #1f1f1f;
  -webkit-font-smoothing: antialiased;
}

/* Layout */
.page-container {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  padding: 1rem 16px;
}

/* Hero */
.hero {
  padding: 56px 20px 80px;
  text-align: center;
}

h1 {
  font-size: 36px;
  margin: -100px 0 6px;
}

h1 span {
  font-weight: 600;
}

h2 {
  background: none;
  color: #ffffff;
  font-size: clamp(20px, 4vw, 28px) !important;
  margin-top: 10px;
  margin-bottom: 10px;
  font-weight: 700;
}

.subtitle {
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.6px;
  margin-bottom: 28px;
}

/* Avatar */
.avatar-wrap {
  display: flex;
  justify-content: center;
}

.avatar {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 6px solid #fff;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.05), 0 0 0 6px rgba(0, 0, 0, 0.04);
  display: inline-block;
  overflow: hidden;
  background: #f04b2b;
  position: relative;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Cards */
.cards {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 36px;
}

.card {
  background: white;
  width: 300px;
  padding: clamp(14px, 3vw, 20px);
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-align: left;
  position: relative;
  color: #000;
  transition: 200ms;
}

.card .icon {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -18px;
  background: #fff;
  padding: 10px;
  border-radius: 50%;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.card h3 {
  margin: 22px 0 6px;
  text-align: center;
}

.card p {
  color: #777;
  text-align: center;
  margin: 6px 0 0;
}

.card a {
  display: block;
  margin-top: 14px;
  text-align: center;
  text-decoration: none;
  color: var(--accent);
  font-weight: 700;
}

.card:hover {
  transform: translateY(-6px);
}

/* Banner */
.banner {
  width: 100%;
  height: clamp(160px, 40vw, 260px);
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Accordion */
.accordion {
  margin-top: 12px;
}

details {
  border: 1px solid #444;
  background: #1f1f1f;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 10px;
}

summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 600;
  color: #ffffff;
  font-size: clamp(14px, 2.8vw, 17px);
}

summary::-webkit-details-marker {
  display: none;
}

.summary-left {
  display: flex;
  gap: 12px;
  align-items: center;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff0000;
}

.chev {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

details[open] .chev {
  transform: rotate(180deg);
}

.content {
  margin-top: 12px;
  color: #ffffff;
  line-height: 1.5;
  text-align: left;
}

.small {
  font-size: 13px;
  color: #ffffff;
}

/* Button */
button {
  background: #ff0000;
  color: #000;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  max-width: 260px;
  display: block;
  margin: 0 auto 20px auto;
  font-size: clamp(14px, 2.5vw, 16px) !important;
  padding: clamp(10px, 2.8vw, 14px) clamp(18px, 4vw, 26px);
}

/* Footer */
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* FAQ */
.faq-section {
  margin: 0 auto;
  margin-top: 50px;
  border: 3px solid red;
  border-radius: 15px;
  padding: 30px 10px;
  max-width: 1200px;
}

/* Texto utilitario */
p,
.content {
  font-size: clamp(14px, 2.5vw, 16px) !important;
}

.texto-rojo-centro {
  color: red;
  text-align: center;
}

/* Responsive */
@media (max-width: 880px) {
  h1 {
    font-size: 28px;
  }
  .cards {
    flex-direction: column;
    align-items: center;
  }
  .hero {
     padding: 0;
     margin-top:160px;
 }
}

@media (max-width: 560px) {
  .card {
    padding: 14px;
  }
  .banner {
    height: 150px;
  }
}

@media (max-width: 480px) {
  .accordion {
    margin-top: 8px;
  }
}