/* ===========================================
   FLEXIBLE AND INTERACTIVE DESIGN
   =========================================== */

:root {
  --bg: #f9f9fb; /* Fondo suave */
  --card: #ffffff;
  --text-main: #1c1c1e; /* Texto oscuro */
  --text-muted: #777;
  --accent: #0061f2; /* Azul destacado */
  --accent-dark: #004bb5; /* Azul más oscuro */
  --highlight: #fcf1e4; /* Color amarillo suave para destacar elementos */
  --radius: 15px;
  --radius-sm: 10px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.25);
  --maxw: 1200px;
  --pad: 30px;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", 
               "SF Pro Display", Segoe UI, Roboto, Helvetica Neue, Arial;
  --transition: all 0.3s ease;
}


h1, h2, h3 
{
  transition: color 0.3s ease, transform 0.3s ease;
}

/* LAYOUT */
.container 
{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 35px 24px;
}

.mensaje-barra 
{
    position: relative;
    background-color: #2980B9;
    color: white;
    text-align: center;
    padding: 20px 40px;
    font-size: 1.2rem;
    width: 100%;
}

.mensaje-barra::after {
    content: "";
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 39px;
    border-style: solid;
    border-color: #2980B9 transparent transparent transparent;
}

/* Heading Styles */
h1 
{
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  color: var(--text-main);
}

h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 30px 0 20px;
  color: var(--accent);
}

h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-main);
}

/* Soft Lead Text */
.lead 
{
  font-size: 18px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 15px;
  margin-bottom: 30px;
  line-height: 1.8;
}

/* CARD STYLE */
.card {
  background: var(--card);
  padding: var(--pad);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

/* FEATURE GRID */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature {
  background: var(--card);
  padding: 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.feature h3 {
  color: var(--text-main);
  font-size: 20px;
  margin-bottom: 12px;
}

.feature .small 
{
  margin-top: 13px;
  font-size: 14px;
  color: var(--text-muted);
}

/* KEY-VALUE ITEMS (CHIPS) */
.kv {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 25px;
}

.kv .item {
  background: #f4f5f9;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  color: var(--text-main);
  font-weight: 500;
  transition: background 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.kv .item:hover {
  background: var(--accent-light);
  transform: translateY(-3px);
}

.kv .item:active {
  transform: translateY(1px);
}

/* CTA BUTTON */
.cta 
{
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  padding: 13px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 18px;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
  margin: 0px auto;
  margin-top: 30px;
  width: 200px;
  text-align: center;
}

.cta:hover {
  background: var(--accent-dark);
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 97, 242, 0.4);
}

.cta:active {
  transform: translateY(2px);
}

/* LIST STYLE */
.card ul {
  list-style: none;
  margin-top: 20px;
  padding-left: 0;
}

.card ul li {
  font-size: 16px;
  color: var(--text-main);
  margin-bottom: 12px;
  padding-left: 18px;
  position: relative;
}

.card ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 18px;
  top: 0;
  transform: translateY(2px);
}

/* FOOTER NOTE */
.footer-note {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 20px;
  text-align: center;
  font-style: italic;
}

/* MOBILE */
@media (max-width: 640px) {
  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 24px;
  }

  .card {
    padding: 20px;
  }

  .features {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .cta {
    padding: 16px 28px;
  }
}
