
body {
  overflow-x: hidden;
}
.header {
  overflow-y: hidden;
}
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

.hero-content,
.features,
.cta-section,
.footer-bottom {
  max-width: 100vw;
  box-sizing: border-box;
  padding-left: 5vw;
  padding-right: 5vw;
}

.typing-animation {
  padding-top: 40px;
  display: inline-block;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: break-word;
  border-right: 2px solid #333;
  animation: blinkCursor 0.7s steps(1) infinite;
}
.hero-title {
  color: #101828;
  text-align: center;
  font-family: "Fraunces";
  font-size: 72px;
  font-weight: 300;
  line-height: 82px;
  letter-spacing: -1.44px;
  text-transform: capitalize;
}

.separador-secciones {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 30px;
  padding-bottom: 30px;
}
.faq-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.safety-section { 
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.hero-image {
  width: 100%;
  max-width: 1280px;
  object-fit: cover;
}
 /* Header styles */
 .header {
  width: 100%;
  height: 111px;
  position: fixed;
  top: 0;
  left: 0;
  background-color: transparent;
  transition: all 0.4s ease-in-out;
  z-index: 999;
}
.header.scrolled {
  background-color: #FCF6ED;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.header-content {
   position: relative;
  box-sizing: border-box;
  max-width: 1600px; /* más ancho */
  padding: 0 40px; /* nuevo */
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header-logo {
  color: #000;
  font-family: "Fraunces";
  font-size: 32px;
  font-weight: 300;
  line-height: 82px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-item {
  color: #211f1f;
  font-family: "Actor";
  font-size: 18px;
  line-height: 28px;
}

.nav-button {
  color: #fff;
  font-family: "ABeeZee";
  font-size: 16px;
  line-height: 24px;
  padding: 10px 18px;
  border-radius: 200px;
  border: 1px solid #eed9c4;
  background-color: #211f1f;
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
}

.header-menu-mobile {
  display: none;
}
/* Main container */
.ceramics-guide {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  font-family: "Albert Sans", sans-serif;
  background-color: #fdf8f2;
}

/* Common section styles */


/* Intro section */



.intro-text {
  font-size: 20px;          /* más chico */
  line-height: 30px;
  max-width: 3800px;         /* achica el ancho */
  margin: 0 auto;           /* centra horizontalmente */
  text-align: center;       /* asegura centrado del texto */
}



.icon-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

/* Section titles */
.section-title {
  text-align: center;
  font-family: "Fraunces", serif;
  font-size: 64px;
  line-height: 72px;
  color: #211f1f;
  margin-bottom: 20px;
  font-weight: 100;
}

/* Content grid */
.content-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap; 
  gap: 20px;
}

.content-column {
  padding-left: 100px;
  padding-right: 100px;
  flex: 1;
  min-width: 300px;

}

/* Subsection titles */
.subsection-title {
  font-family: 'Albert Sans', sans-serif;
  font-size: 32px;
  line-height: 40px;
  font-weight: 400;
  color: #000;
  margin-bottom: 10px;  
  position: relative;
  cursor: pointer;
}
.subsection-title::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  transition: transform 0.3s ease;
}

.subsection-title.active::after {
  transform: translateY(-50%) rotate(45deg); /* + se convierte en X */
}

/* Descriptions */
.description {
  font-size: 16px;
  line-height: 20px;
  color: #000;
  margin-bottom: 20px;
}

/* Footer styles */
.footer {
  width: 100%;
}

.cta-section {
  width: 100%;
  background-color: #c4a484;
  padding: 96px 116px;
}

.cta-title {
  color: #211f1f;
  text-align: center;
  font-family: "Fraunces";
  font-size: 50px;
  line-height: 50px;
  letter-spacing: -1px;
  margin-bottom: 30px;
}

.cta-description {
  color: #211f1f;
  text-align: center;
  font-family: "Albert Sans";
  font-size: 20px;
  line-height: 30px;
  max-width: 1166px;
  margin: 0 auto;
}

.bold {
  font-weight: 700;
}

.cta-button {
  color: #fff;
  font-family: "Albert Sans";
  font-size: 16px;
  line-height: 24px;
  padding: 12px 20px;
  border-radius: 200px;
  background-color: #211f1f;
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
  border: none;
  margin: 20px auto 0;
  display: block;
}

.footer-bottom {
  width: 100%;
  background-color: #291f14;
  padding: 40px 116px;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  color: #fff;
  font-family: "Fraunces";
  font-size: 36px;
  font-weight: 300;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.footer-nav-item {
  color: #fff;
  font-family: "Albert Sans";
  font-size: 20px;
  font-weight: 300;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 24px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: transparent;
  border: 1px solid #fff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background-color 0.3s, color 0.3s;
}

.social-icon:hover {
  background-color: #fff;
  color: #291f14;
}

/* Hero styles */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 96px 0;
  gap: 64px;
  width: 100%;
  background-color: #fefaf6; /* igual que el fondo del header */
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 0 40px; /* antes 32px */
  max-width: 1600px; /* más ancho */
  width: 100%;
}

.hero-text-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1024px;
  width: 100%;
}

.hero-title {
  color: #101828;
  text-align: center;
  font-family: "Fraunces";
  font-size: 72px;
  font-weight: 300;
  line-height: 82px;
  letter-spacing: -1.44px;
  text-transform: capitalize;
}

.hero-description {
  color: #667085;
  text-align: center;
  font-family: "Actor";
  font-size: 20px;
  line-height: 30px;
  max-width: 1000px;
}

.hero-buttons {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.button-outline {
  color: #100d0b;
  font-family: "Actor";
  font-size: 18px;
  line-height: 28px;
  padding: 16px 28px;
  border-radius: 200px;
  border: 1px solid #6D584A;
  background: transparent;
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
  transition: all 0.4s ease-in-out; 
}
.button-outline:hover {
  border: 1px solid #100d0b;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.386);
}

.button-solid {
  color: #fff;
  font-family: "Actor";
  font-size: 18px;
  line-height: 28px;
  padding: 16px 28px;
  border-radius: 200px;
  border: 1px solid #100d0b;
  background-color: #100d0b;
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
  transition: all 0.4s ease-in-out; 
}

.button-solid:hover {
  background-color: #6D584A;
  border: 1px solid #6D584A;
}


/* Responsive styles */
@media (max-width: 991px) {
  .ceramics-guide {
    max-width: 991px;
  }

  .content-grid {
    flex-direction: column;
    align-items: center;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
  }

  .footer-nav {
    margin-bottom: 10px;
  }
}

/* Responsive styles */
@media (max-width: 991px) {
  .header-content {
    padding-left: 40px;
    padding-right: 40px;
  }

  .hero {
    padding: 64px 0;
  }

  .hero-title {
    font-size: 56px;
    line-height: 64px;
  }

  .hero-description {
    font-size: 18px;
    line-height: 28px;
  }

  .features {
    padding: 64px 40px;
  }

  .feature-cards {
    flex-direction: column;
  }

  .feature-card {
    width: 100%;
  }

  .feature-title {
    font-size: 48px;
    line-height: 52px;
  }

  .feature-description {
    font-size: 20px;
    line-height: 32px;
  }

  .cta-section {
    padding: 64px 40px;
  }

  .footer-bottom {
    padding: 40px;
  }
}

@media (max-width: 640px) {
       .header-content {
      padding-left: 20px;
      padding-right: 20px;
    }
  
      .header-nav {
      position: absolute;
      top: 100%;
      left: -5%;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      width: 100%;
      background-color: #ff0000;
      text-align: center;
      padding: 20px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      opacity: 0;
      transform: translateY(-60px);
      pointer-events: none;
      transition: opacity 0.4s ease, transform 0.4s ease;
      display: flex;
    }

    .header-nav.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;

    }

  .header-menu-mobile.open i::before {
    content: "\f00d"; /* Ícono de "X" (cerrar) */
  }
  
    .header-menu-mobile {
      display: block;
    }
    .ceramics-guide {
      max-width: 640px;
    }

    .section-title {
      font-weight: 400;
      font-size: 48px;
      line-height: 56px;
    }

    .subsection-title {
      margin-left: auto;
      margin-right: auto;
      font-size: 24px;
      line-height: 32px;
    }

    .description {
      margin-left: auto;
      margin-right: auto;
      font-size: 14px;
      line-height: 18px;
    }
    .content-column {
      text-align: center;
      padding-left: 50px;
      padding-right: 40px;

    }
    .hero {
      padding: 48px 0;
    }

    .hero-title {
      font-size: 40px;
      line-height: 48px;
    }

    .hero-description {
      font-size: 16px;
      line-height: 24px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        text-align: center;
        align-items: center;
        justify-content: center;
      }
    
      .button-outline,
      .button-solid {
        width: 100%;
        text-align: center;
        text-decoration: none;
      }

    .features {
      padding: 48px 20px;
    }

    .feature-title {
      font-size: 36px;
      line-height: 40px;
    }

    .feature-description {
      font-size: 18px;
      line-height: 28px;
    }

    .cta-section {
      padding: 48px 20px;
    }

    .footer-bottom {
      padding: 20px;
    }

    .footer-content {
      flex-direction: column;
      gap: 32px;
    }

    .footer-nav {
      flex-direction: column;
      gap: 16px;
    }
}


  

@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-up {
  opacity: 0;
  transform: translateY(100px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide-up.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

.fade-in { opacity: 0; transition: opacity 0.8s; }
.fade-in.active { opacity: 1; }

/* Tipeo */
.typewriter {
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid #333;
  animation: blinkCursor 0.8s steps(2, start) infinite;
}

@keyframes blinkCursor {
  0%, 100% { border-color: transparent; }
  50% { border-color: #333; }
}

.description {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
  padding-top: 0;
  padding-bottom: 0;
}

.subsection-title.active + .description {
  padding-top: 16px;
  padding-bottom: 16px;
  max-height: 1000px; /* Alto grande para soportar respuestas largas */
}
.subsection-block {
  border: 1px solid #eed9c4; /* color suave beige */
  border-radius: 12px;
  padding: 16px 24px;
  margin-bottom: 20px;
  transition: all 0.4s ease;
  background-color: #fdf8f2; /* fondo muy clarito para resaltar */
}

.subsection-title {
  position: relative;
  cursor: pointer;
  transition: color 0.3s, text-decoration 0.3s;
}

.subsection-title::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  transition: transform 0.3s ease;
}

.subsection-title:hover {
  text-decoration: underline;
  color: #6D584A;
}

.subsection-title.active::after {
  transform: translateY(-50%) rotate(45deg);
}

/* Descripción oculta hasta click */
.description {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
  padding-top: 0;
  padding-bottom: 0;
  color: #000;
}

/* Cuando el título está activo */
.subsection-title.active + .description {
  padding-top: 16px;
  padding-bottom: 16px;
  max-height: 1000px;
}

/* EFECTO: cuando el bloque se abre */
.subsection-block.open {
  background-color: #fdf8f2; /* un poquito más oscuro que cerrado */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* sombra suave */
  border-color: #d8a48f; /* mismo color que separadores */
}
