/* BASE NEUTRA: “se ve bien, pero sin personalidad” */

* { box-sizing: border-box; margin:0;}
#body{
  margin:0;
}
#page {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #222;
  background: #f6f7fb;
}

#header {
  width: min(1100px, 92%);
  margin: 0 auto;
}
.brand {
  display: block;
  margin-bottom: 12px;
  margin-top: 10px;
}

.brand__logo {
  display: inline-block;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #2f6fed;
  color: #fff;
  font-weight: bold;
  margin-right: 10px;
}
.brand__logo-text{
  margin:auto;
  line-height: 42px;
  text-align: center;
}
.brand__text { 
  display: inline-block; 
  vertical-align: top; 
  margin:0;
}
.brand__name { 
  display: block; 
  font-weight: bold; 
  font-size: 15px;
  margin:0;
}
.brand__tag { 
  display: block; 
  color: #666; 
  font-size: 10px; 
  margin:0;
}

.nav { 
  margin: 5px 0 0; 
  min-width: 100px;
}
.nav__list{
  display: flex;
  justify-content: center;
  list-style: none;
}
.nav__list-item {
  margin:0 6px 0;
  font-size: 10px;
}
.nav__list-link{ color: #2f6fed; text-decoration: none; }
.nav__list-link:hover { text-decoration: underline; }
.nav__list-link:focus{ left: 8px;}

.cta { 
  margin-top: 12px; 
  justify-self: center;
}
.cta__btn {
  display: inline-block;
  margin:0 10px 10px ;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid transparent;
}

.cta__btn:hover{
  opacity: .8;
}

.btn-primary {
  background: #2f6fed;
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #2f6fed;
  border-color: #cfe0ff;
}

/* Hero */
.hero {
  background: #0f172a;
  color: #e5e7eb;
  padding: 20px 1rem;
}
.hero__badge {
  display: inline-block;
  padding: 6px 10px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  font-size: 0.9rem;
}
.hero__title {
  font-size: 2rem;
  line-height: 2rem;
  font-weight: bold;
  margin: 10px 0;
}
.hero__subtitle { 
  color: #cbd5e1; 
  font-size: 1rem;
  line-height: 1rem;
}
.hero__actions { 
  margin: 10px 0; 
}
.hero__stats { 
  margin-top: 15px;
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.stat { 
  display: inline-block; 
  margin-right: 18px; 
}
.stat__num { 
  margin:0;
  font-weight: bold; 
  font-size: 1.1rem; 
}
.stat__label { 
  margin:0;
  color: #cbd5e1; 
  font-size: 0.9rem; 
}

.demo{
  background: #fff;
  color: #222;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  padding: 16px;
  
}
.demo-title { 
  font-weight: bold; 
  font-size: 2rem; 
  color:#000;
}
.demo-desc { 
  margin-top: 8px; 
  color: #555; 
  line-height: 16px;
}
.demo-form{
  display: flex;
  flex-direction: column;
}
.form__label{
  font-weight: bold;
  font-size: 18px;
}
.input{
  margin-bottom: 10px;
  font-family: Arial, Helvetica, sans-serif;
  width:100%;
  padding:10px;
  border-radius: 10px;
  border-color: #d8d8d8;
}
.form__button{
  background-color: #2f6fed;
  color: #fff;
  border-color: #cfe0ff;
  border-radius: 10px;
  width: 100%;
  height: 30px;
}
.form__hint{
  margin:5px;
  line-height: 10px;
  font-size: 12px;
  color:grey;
}

/*cards*/
.card{
  margin:5px;
  margin-bottom: 15px;
  background-color: #fff;
  border-radius: 10px;
  padding: 10px;
  border: 1px solid #e6e6e6;;
}
.section-text{
  color: #2f6fed; 
  font-weight: bold; 
  font-size: 15px;
}

.section-title { 
  font-size: 1.6rem;
  line-height: 1.5rem; 
  font-weight: bold; 
  margin: 6px 0; }
.section-desc { 
  margin-top: 0px;
  color: #555; 
  font-size: 1rem;
  line-height: 1rem;
}

/* Sections */
#services, .success, .plans, .blog, .contact{ 
  padding: 34px 1rem; 
  background-color: rgb(230, 230, 236);
  margin:0;
}

.card-title{
  font-weight: bold;
  font-size: 1.2rem;
}
.card-desc{
  margin-top: 8px;
  color: #555;
  line-height: 1.2rem;
}

.pill-list { margin-top: 10px; }
.pill {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef4ff;
  color: #2f6fed;
  margin: 6px 6px 0 0;
  font-size: 0.9rem;
}

.card__button{
  display: block;
    background-color: #2f6fed;
    color: #fff;
    border-color: #cfe0ff;
    border-radius: 10px;
    width: 100%;
    height: 30px;
    padding:auto;
    text-align: center;
    text-decoration: none;
}
.plan__name{
  margin:0;
}
.plan__price{
  margin:0;
}
.plan__desc{
  margin:0;
}

.plan__list{
  list-style: none;
  font-size: 15px;
  margin:0;
}
.section--alt { 
  background: #ffffff; 
  border-top: 1px solid #eee; 
  border-bottom: 1px solid #eee; }
#footer{
  background: #0b1220;
  color: #d1d5db;
  padding: 26px 1rem 20px;
}
.footer__links{
  list-style: none;
}
.footer__link { color: #54c8fa; text-decoration: none; margin-left: 8px;}
.footer__link:hover { text-decoration: underline; }

.footer__title { font-weight: bold;}
.footer__brand { font-weight: bold; font-size: 1.5rem; }
.footer__text { color: #cbd5e1; margin-top: 6px; }

.footer__bottom {
  display: flex;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: block;
  justify-items: center;
}

/* =========================
   MEDIA QUERIES (RESPONSIVE)
   ========================= */

/* Tablet: cambios visibles */
@media (min-width: 768px) {
  #header, .page, .hero, #services, .success, .plans, .blog, .contact, #footer{
    padding:0 4rem 0;
    margin:0;
  }
  #header{
    display: flex;
    padding-top: 18px;
    width:100%;
  }
  .nav{margin-left: auto;}
  .nav__list-item{font-size: 13px;}
  .cta{
    display: flex;
    margin-top: auto;
  }
  .cta__btn{
    display: flex;
    height: 80px;
    width: 120px;
    line-height: 60px;
  }
  .hero__actions{
    display: flex;
    justify-content: center;
  }
  .cta__btn{
    line-height: 1rem;
    width:12rem;
    text-align: center;
    height: 50px;
  }
  .brand{
    width:20rem;
  }
  .brand__logo{
    width:70px;
    height: 70px;
  }
  .brand__logo-text{
    line-height: 65px;
    text-align: center;
    font-size: 35px;
  }
  .brand__name{
    font-size: 20px;
  }
  .brand__tag{
    font-size: 15px;
  }

  .cards, .cases, .posts {
    display: block;
  }

  .section__title { font-size: 1.9rem; }
  .hero__title { font-size: 2.4rem; }
}

/* Escritorio: layout más “pro” sin enseñar flex/grid a fondo */

@media (min-width: 1024px) {
  #header, .page, .hero, #services, .success, .plans, .blog, .contact, #footer{
    padding:0 4rem 0;
    margin:0;
  }
  #header{
    display: flex;
    width: 100%;
  }
  .brand__name{
    font-size: 20px;
  }
  .nav__list-item{
    font-size: 17px;
  }


  /* layout 2 columnas (sin grid; usando inline-block) */

  .hero__copy, .hero__card {
    display: inline-block;
    vertical-align: top;
    width: 58%;
  }
  .hero__card { width: 38%; margin-left: 3%; }

  .cards .card--soft {
    display: inline-block;
    width: 31%;
    vertical-align: top;
    margin-right: 2%;
  }
  .cards .card--soft:last-child { margin-right: 0; }

  .pricing .plan {
    display: inline-block;
    width: 31%;
    vertical-align: top;
    margin-right: 2%;
  }
  .pricing .plan:last-child { margin-right: 0; }

  .posts .post {
    display: inline-block;
    width: 31%;
    vertical-align: top;
    margin-right: 2%;
  }
  .posts .post:last-child { margin-right: 0; }

  .contact__left, .contact__right {
    display: inline-block;
    width: 48%;
    vertical-align: top;
  }
  .contact__right { margin-left: 3%; }

  .footer__grid > div {
    display: inline-block;
    width: 31%;
    vertical-align: top;
    margin-right: 2%;
  }
  .footer__grid > div:last-child { margin-right: 0; }
} 