html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 720px) {

  .brand {
    align-items: center;
    flex-direction: column;
    gap: 6px;
  }

  .brand span {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    font-size: clamp(1rem, 3.5vw, 1.2rem);
    line-height: 1.2;
    text-align: center;
    white-space: normal;
  }

  .brand img {
    max-width: 160px;
    height: auto;
  }


  .nav[aria-expanded="true"] .menu,
  .menu.open {
    width: min(92vw, 360px);
    right: 12px;
    top: 58px;
    padding: 12px;
  }

  .menu a {
    padding: 12px
  }

  .logos {
    gap: 20px;
    padding-inline: 6px
  }

  .logo-item img {
    max-width: 120px;
    max-height: 56px
  }

  .grid-3,
  .grid-2,
  .pricing {
    gap: 16px
  }

  .card,
  .price {
    padding: 18px
  }

  .about-media img {
    border-radius: 14px
  }

  .form-grid {
    gap: 12px
  }

  input,
  select,
  textarea {
    padding: 10px 12px
  }

  .form-foot {
    flex-direction: column;
    align-items: stretch
  }

  .form-foot .btn {
    width: 100%
  }

  .faq {
    padding: 1rem
  }

  .faq-question {
    padding: .9rem;
    font-size: 1rem
  }

  .faq-answer {
    padding: .9rem
  }

  .footer-inner {
    gap: 10px
  }

  .footer nav a {
    margin-right: 10px
  }

  .site-header .nav {
    position: relative;
    justify-content: center;

    align-items: center;
  }

  .nav-toggle {
    position: absolute;
    right: 16px;
    top: 12px;
    z-index: 3;
  
  }

  .brand {
    margin-inline: auto;
 
  }

  .brand img {
    max-width: 150px
  }

  .brand span {
    display: block;
    text-align: center;
  }


  .nav[aria-expanded="true"] .menu,
  .menu.open {
    right: 12px;
    left: auto;
  }

  #blog .grid-3 {
    grid-template-columns: 1fr;
    gap: 18px
  }

  #blog .blog-card {
    padding: 28px 22px;
    min-height: 540px;
    font-size: 1.05rem;
  }

  #blog .blog-card h3 {
    font-size: 1.35rem
  }

  #blog .blog-card .meta {
    font-size: .95rem
  }

  #blog.section {
    padding-bottom: 92px
  }

  .faq {
    padding-bottom: 92px;

  }

  .menu {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    background: #fff;
    position: static;
    padding: 0;
    border: none;
    box-shadow: none;

    .nav-toggle {
      display: none !important;
    }

    .menu li:first-child,
    .menu li:last-child {
      display: none !important;
    }

  }
}

@media (max-width: 768px) {
  .brand-box {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 56px 16px 42px
  }

  .hero-title {
    font-size: clamp(1.6rem, 7vw, 1.9rem)
  }

  .hero-subtitle {
    font-size: clamp(1rem, 3.6vw, 1.15rem)
  }

  .hero-tagline {
    font-size: clamp(.9rem, 3.3vw, 1rem);
    max-width: 38ch
  }
}


@media (max-width: 480px) {
  .btn-fixed {
    font-size: .9rem;
    padding: 10px 16px;
    bottom: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .18);
  }
}



@media (max-width: 980px) {


  .section {
    padding: 56px 16px
  }
}


@media (max-width: 900px) {
  #blog .grid-3 {
    gap: 18px
  }

  #blog .blog-card {
    padding: 28px;
    min-height: auto;
    font-size: 1rem
  }
}

@media (max-width: 540px) {
  #blog .blog-card h3 {
    font-size: 1.2rem
  }

  #blog .blog-card {
    padding: 20px
  }
}


@media (max-width: 680px) {
  .CTA2 {
    padding: 28px 18px;
    margin: 28px auto
  }

  .CTA2 .title-pagas {
    margin: 6px 0
  }
}


@media (max-width: 980px) {
  .steps {
    gap: 14px
  }

  .step {
    padding: 16px
  }

  .step .num {
    top: 10px;
    right: 10px
  }
}



img {
  max-width: 100%;
  height: auto;
  block-size: auto
}


.hero {
  min-height: auto
}




/* ====== PEQUEÑOS DETALLES ====== */
@media (max-width: 400px) {


  html {
    font-size: 15px
  }
}




#blog .blog-card {
  border-radius: 20px;
  line-height: 1.7;
  hyphens: auto;
}


@media (min-width: 721px) {
  #blog .grid-3 {
    gap: 32px
  }

  #blog .blog-card {
    padding: 40px 36px;
    min-height: 640px;
    font-size: 1.1rem;
  }

  #blog .blog-card h3 {
    font-size: 1.6rem
  }

  #blog .blog-card .meta {
    font-size: 1rem
  }
}




.faq-question {
  all: unset;

  display: block;
  width: 100%;
  font: inherit;
  color: #000;

  cursor: pointer;
  padding: 1rem;
  border-radius: 8px;
}

.faq-question:hover {
  background: #d0cbcb;

}

.faq-question:focus {
  outline: 2px solid #000;

  outline-offset: 3px;
}

.nav-toggle {
  display: none !important;
}




.faq-item {
  border-radius: 8px;
  margin-bottom: 14px;
  overflow: hidden;
}


.faq-question {
  all: unset;
  display: block;
  width: 100%;
  font: inherit;
  color: #000;
  cursor: pointer;
  padding: 1rem;
  background: #f0f0f0;

  font-weight: 600;
}


.faq-question:hover {
  background: #e0e0e0;
}

.faq-question:focus {
  outline: 2px solid #000;
  outline-offset: 3px;
}


.faq-answer {
  padding: 1rem;
  background: #fff;

  color: #333;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

header,
nav {
  border-bottom: none !important;
  box-shadow: none !important;
}

@media (max-width: 768px) {
  .brand-box {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }
}

@media (max-width: 768px) {
  .hero-tools {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    margin-top: 12px;
    padding: 0 10px;
  }

  .hero-tools button,
  .hero-tools .color-swatch {
    font-size: 0.75rem;
    padding: 6px 10px;
    flex: none;
    white-space: nowrap;
  }

  .hero-tools .color-picker {
    display: flex;
    gap: 6px;
  }

  .hero-tools .color-swatch {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid #ccc;
    cursor: pointer;
  }

  .hero-tools .color-swatch.selected {
    outline: 2px solid white;
    outline-offset: 2px;
  }

  .toggle-btn.active {
    background-color: #00cc66;
    color: #fff;
  }
}

.hero-tools-wrapper {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 6px;
  padding: 10px 8px;
  background: #000;
  border-top: 2px solid #111;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

.hero-tools-wrapper button {
  padding: 6px 10px;
  font-size: 0.9rem;
  background: #FFD400;
  color: #000;
  border-radius: 8px;
  border: none;
  font-weight: bold;
}

.color-dropdown {
  position: relative;
}

.btn-colores {
  background: #FFD400;
  font-weight: bold;
}

.color-picker {
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: #222;
  padding: 6px 10px;
  border-radius: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.color-picker.hidden {
  display: none;
}

.color-swatch {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  cursor: pointer;
  border: 2px solid white;
}

.color-swatch[data-color="#FFD400"] {
  background: #FFD400;
}

.color-swatch[data-color="#00F0F0"] {
  background: #00F0F0;
}

.color-swatch[data-color="#FF4C4C"] {
  background: #FF4C4C;
}

.color-swatch[data-color="#4CAF50"] {
  background: #4CAF50;
}

.color-swatch[data-color="#246BFD"] {
  background: #246BFD;
}

.color-swatch[data-color="#FFFFFF"] {
  background: #FFFFFF;
}