:root {
  --green: #1f7a53;
  --blue: #1f62b2;
  --brown: #8b5e34;
  --yellow: #f2c200;
  --ink: #0b1720;
  --muted: #6b7b86;
  --bg: #f7f7f6;
  --card: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 24px rgba(0, 0, 0, .07);
  --ring: #cfd8df;
}

* {
  box-sizing: border-box
}

html:focus-within {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5
}

a {
  color: inherit;
  text-decoration: none
}

img {
  max-width: 100%;
  display: block
}

.wrap {
  max-width: 1120px;
  margin: auto;
  padding: 20px
}

/* Header */
header {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: center;
  margin: 12px 0 8px;
  justify-content: center;
  text-align: center;
}

.crown {
  width: 72px;
  height: 52px;
  display: inline-block
}

.brand h1 {
  margin: 0;
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 800
}

.brand p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: clamp(14px, 2.2vw, 16px)
}

/* Hero */
.hero {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  align-items: center;
  margin: 24px 0;
  padding: 0 16px;
  text-align: center;
}

.hero .me {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero .pitch {
  background: var(--card);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.hero .pitch h2 {
  margin: 0;
  font-size: clamp(20px, 3.5vw, 28px);
}

.primary {
  display: inline-block;
  background: var(--green);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  text-align: center;
}

/* Secciones */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 16px;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  display: grid;
  gap: 14px
}

.label {
  font-weight: 800;
  letter-spacing: .25px
}

.label.esr {
  color: var(--green)
}

.label.ia {
  color: var(--blue)
}

.label.plan {
  color: var(--brown)
}

.card h3 {
  margin: 0
}

.card p {
  margin: 0;
  color: var(--muted)
}

/* Video */
.video {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #000000
}

.video video {
  width: 100%;
  height: 310px;
  border: 0;
  display: block
}

/* Botones */
.btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.btn {
  padding: 12px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--ring);
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  text-align: center;
}

.btn.watch {
  background: var(--green);
  border-color: var(--green);
  color: #fff
}

.btn.sub {
  border-color: var(--blue);
  color: var(--blue)
}

.btn.mem {
  border-color: var(--brown);
  color: var(--brown)
}

.btn:active {
  transform: translateY(1px)
}

button:hover {
  background-color: #1ebe57;
  transform: scale(1.05);
  transition: all 0.3s ease;
}

/* WhatsApp button */
.whatsapp-btn {
  display: inline-block;
  padding: 14px 22px;
  background: #1f7a53;
  color: white;
  border-radius: 999px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
  text-align: center;
}

.whatsapp-btn:hover {
  background: #47866b;
}

/* Footer */
footer {
  padding: 24px 0;
  text-align: center;
}

/* Responsive */
@media (min-width:600px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width:820px) {
  .hero {
    grid-template-columns: 360px 1fr;
    text-align: left;
    padding: 0;
  }
}

  .hero .pitch {
    align-items: flex-start;
    text-align: left;
  }

  .grid {
    grid-template-columns: repeat(3, 1fr);
  }

/*Redes sociales*/
.social-icons a {
  margin: 0 20px;
  color: #364231;
  /* color inicial */
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
  /* necesario para aplicar transform correctamente */
}

.social-icons a i:hover {
  color: #1f7a53;
  /* verde al pasar el mouse */
  transform: scale(1.2);
  /* se expande un poco */
  transition: .3s;
}