* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-padding-top: 95px;
  scroll-behavior: smooth;
}

:root {
  --color-principal: #333;
  --color-secundario: #383737;
  --color-terciario: #000000c4;
  --color-otromorado: #991875;
  --color-acento: #5a189a;
  --color-hover: #7b2cbf;
  --color-oscuro: #49246F;
  --color-clarito: #D4A8FF;
  --color-mopradoclaro: ##E9D3FF;
  --color-text: #f0f0f0;
  --error: #e74c3c;
  --success: #27ae60;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  font-family: Arial, sans-serif;
  color: var(--color-principal);
  background-color: #1a1a1a;
  line-height: 1.6;
  overflow-x: hidden;
}

h1 {
  font-size: 26px;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background-color 0.3s ease;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  color: #fff;
  transition: all 0.4s ease;
}

.nav-links li {
  position: relative;
}

.nav-links li::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: var(--color-hover);
  transition: width 0.3s ease;
  position: absolute;
  bottom: -6px;
  left: 0;
}

.nav-links li:hover::after {
  width: 100%;
}

.nav-links li a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--color-acento);
  cursor: pointer;
  transition: color 0.3s ease;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    background: linear-gradient(90deg, black, var(--color-acento));
    top: 90px;
    right: 0;
    width: 70%;
    padding: 2rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    border-radius: 0 0 8px 8px;
    text-align: left;
    transition: all 0.5s ease;
    z-index: 99;
    align-items: center;
  }

  .nav-links li {
    margin-bottom: 1rem;
  }

  .menu-toggle {
    display: block;
  }
}

/*--------------------------------------LOGO----------------------------------------*/
@font-face {
  font-family: 'New Brilliant';
  src: url('New Brilliant.otf') format('opentype');
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'New Brilliant', sans-serif;
}

.logo a {
  text-decoration: none;
}

.puertas,
.sirma,
.a-normal,
.a-inversa {
  font-size: 30px;
  color: white;
}

.puertas {
  font-size: 15px;
  color: white;
  margin-right: 70px;
}

.sirma {
  font-weight: bold;
  margin-top: -60px;
}

.a-normal,
.a-inversa {
  background: linear-gradient(to top right, #5a189a, #8c5abe, white);
  transform: translateY(-20px);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gradientAnimation 12s linear infinite;
  background-size: 300% 300%;
}

.a-inversa {
  transform: rotate(180deg) translateY(35px);
  margin-left: 197px;
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 100%;
    /* Comienza desde la parte inferior */
  }

  50% {
    background-position: 100% 0%;
    /* Llega a la parte superior */
  }

  100% {
    background-position: 0% 100%;
    /* Vuelve a la parte inferior */
  }
}

/*---------------------MENU ----------------*/
.main-nav {
  display: flex;
  /* Muestra el menú principal en pantalla grande */
  margin-left: auto;
  /* Importante para alinear el menú a la derecha */
}

.hamburger-button {
  display: none;
  /* Oculta el botón hamburguesa en pantallas grandes */
}

.dropdown-menu {
  display: none;
}


.presupuestoboton {
  padding: 8px 6px;
  letter-spacing: 1px;
  font-size: 1rem;
  font-weight: 500;
  background-color: #59189a00;
  border: solid 2px;
  border-color: #6e11cb;
  color: white;
  cursor: pointer;
  border-radius: 6px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-left: 2em;
  font-weight: 500;
  margin-top: -5px;
}

.presupuestoboton:hover {
  background-color: #7c21d8;
  transform: translateX(-6px);
  color: #000000;
}


/* Media Queries */
@media (max-width: 1000px) {
  .a-inversa {
    transform: rotate(180deg) translateY(38px);
  }

  .dropdown-menu {
    display: block;
    position: absolute;
    top: 100%;
    /* Ajusta la posición */
    left: 0;
    width: 100%;
    background-color: #333;
    overflow: hidden;
    max-height: 0;
    transition: max-height 1.7s steps(6);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    z-index: 20;
  }

  .dropdown-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .dropdown-menu li {
    padding: 15px;
    text-align: center;
    background: var(--color-terciario);
    margin-bottom: 4px;
  }

  .dropdown-menu li:hover {
    background: var(--color-acento);
  }

  .dropdown-menu ul a {
    text-decoration: none;
    text-transform: uppercase;
    color: #eaeaea;
    font-size: 18px;
  }

  .dropdown-menu ul a:hover {
    color: var(--color-clarito);
  }

  .dropdown-menu.active {
    max-height: 380px;
    /* Altura visible del menú */
  }


  .main-nav {
    display: none;
    /* Oculta el menú principal en pantallas pequeñas */
  }

  .hamburger-button {
    display: flex;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    z-index: 2;
  }

  .hamburger-button .bar {
    width: 30px;
    height: 4px;
    background-color: var(--color-acento);
    transition: transform 0.3s, opacity 0.3s;
  }

}

/* ------------------------------------Sección Hero -----------------------------------*/
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3rem;
  padding-top: 150px;
  margin-top: -80px;
  background-image: url(imagenes/Puerta\ futurista.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: rgba(0, 0, 0, 0.863);
  background-blend-mode: darken;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  gap: 2rem;
}

#text-change {
  color: var(--color-hover);
  font-weight: bold;
  white-space: nowrap;
  display: inline-block;
  overflow: hidden;
  animation: blinkCursor 0.5s steps(2) infinite;
  width: 12.2ch;
  height: 1.25em;
  transform: translateY(5px);
}

.hero-section {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.hero-section #texto {
  margin-top: -20px;
}

.hero-content,
.hero-form {
  flex: 1;
  padding: 2rem;
  border-radius: 12px;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 0rem;
  color: #dbd8d8;
  font-weight: 700;
}

.hero-content {
  height: 318.6px;
}

.hero-content p {
  font-size: 1.1rem;
  color: #a3a3a3;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.hero-content button {
  padding: 0.8rem 2rem;
  font-size: 1rem;
  color: #fff;
  background-color: #5a189a;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(90, 10, 138, 0.3);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.hero-content button:hover {
  background-color: var(--color-hover);
  transform: translateY(-2px);
}

.hero-form form {
  display: flex;
  flex-direction: column;
}

.hero-form input,
.hero-form textarea,
.hero-form button {
  margin-bottom: 1rem;
  padding: 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-form {
  background-color: var(--color-text);
}

.hero-form input:focus,
.hero-form textarea:focus {
  border-color: var(--color-acento);
  box-shadow: 0 0 5px var(--color-hover);
  outline: none;
}

.hero-form button {
  background-color: var(--color-acento);
  color: #fff;
  cursor: pointer;
  border: none;
  border-radius: 6px;
  box-shadow: 0 4px 8px var(--color-principal);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.hero-form button:hover {
  background-color: var(--color-hover);
  transform: translateY(2px);
  box-shadow: 0 2px 8px var(--color-principal);
  ;
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    padding-top: 100px;
    background: linear-gradient(180deg, #000, var(--color-acento) 70%, #000 100%);
  }

  .hero-content,
  .hero-form {
    width: 100%;
    padding: 1rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }
}

.form-message .error {
  color: red;
  text-align: center;
}

.form-message .success {
  color: #1F6123;
  text-align: center;
}

/*-------------------------------------TESTIMONIOS-------------------------------------------*/
.testimonials-section {
  padding: 5rem 2rem;
  background: linear-gradient(180deg, #000, var(--color-acento) 50%, #000 100%);
  position: relative;
}

.testimonials-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--color-text);
  margin-bottom: 3rem;
  position: relative;
}

.testimonials-section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, var(--color-acento), var(--color-hover));
  margin: 1rem auto 0;
  border-radius: 2px;
}

.testimonials-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 1rem;
}

.testimonial-item {
  border-radius: 12px;
  padding: 2rem;
  color: var(--color-secundario);
  box-shadow: 0 0px 15px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
}

.testimonial-item:hover {
  transform: translateY(-5px);
}

.testimonial-avatar {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.client-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-text);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.rating {
  color: #ffd900c4;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

.testimonial-content {
  margin: 0;
  position: relative;
  z-index: 1;
}

.testimonial-text {
  color: var(--color-text);
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.client-name {
  font-weight: 600;
  color: var(--color-clarito);
  font-style: normal;
}

.client-location {
  color: var(--color-text);
  font-size: 0.9rem;
}

@media screen and (max-width: 768px) {
  .testimonials-section {
    padding: 3rem 1rem;
  }

  .testimonials-section h2 {
    font-size: 2rem;
  }

  .testimonial-item {
    padding: 1.5rem;
  }
}

/*-----------------------------------------SERVICIOS--------------------------------------------*/
.services-section {
  position: relative;
  padding: 6rem 2rem;
  overflow: hidden;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url(imagenes/herramientas.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-color: rgba(0, 0, 0, 0.6);
  background-blend-mode: darken;
}

.services-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

.service-card {
  background: var(--color-secundario);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.05),
    0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-clarito), var(--color-acento));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 8px 12px rgba(0, 0, 0, 0.1),
    0 15px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  position: relative;
}

.service-icon::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  background: rgba(105, 24, 170, 0.445);
  border-radius: 50%;
  z-index: -1;
  left: -5px;
  top: -5px;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon::after {
  transform: scale(1.5);
}

.service-title {
  font-size: 1.5rem;
  color: var(--color-clarito);
  margin-bottom: 1rem;
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.service-description {
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  color: var(--color-clarito);
  text-decoration: none;
  font-weight: 500;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.service-link:hover {
  gap: 0.8rem;
  color: var(--color-hover);
}

.service-link::after {
  content: '→';
  transition: transform 0.3s ease;
}

.service-card:hover .service-link::after {
  transform: translateX(5px);
}

@media screen and (max-width: 768px) {
  .services-section {
    padding: 4rem 1.5rem;
  }

  .services-container {
    gap: 1.5rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .service-icon {
    font-size: 2rem;
  }

  .service-title {
    font-size: 1.25rem;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card {
  animation: fadeInUp 0.6s ease-out backwards;
}

.service-card:nth-child(1) {
  animation-delay: 0.1s;
}

.service-card:nth-child(2) {
  animation-delay: 0.2s;
}

.service-card:nth-child(3) {
  animation-delay: 0.3s;
}

.service-card:nth-child(4) {
  animation-delay: 0.4s;
}

/*-------------------------------- BANNER CTA ---------------------------------------------------*/
.cta-banner-movil {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(98, 31, 241, 0.892);
  color: #fff;
  z-index: 9999;
  text-align: center;
  padding: 6px 30px;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.cta-banner-movil.visible {
  opacity: 1;
  pointer-events: auto;
}

.cta-banner-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-banner-icon {
  font-size: 1.5em;
  margin-right: 4px;
}

.cta-banner-btn {
  margin-left: 12px;
  background: rgb(238, 238, 238);
  color: #652ae4ff;
  border: none;
  border-radius: 4px;
  padding: 5px 10px;
  font-weight: bold;
  cursor: pointer;
}

/*-------------------------------- XQ ESCOGERNOS---------------------------------------------------*/
.why-choose-us {
  padding: 5rem 2rem;
  background: linear-gradient(var(--color-terciario)20%, var(--color-acento) 45%, var(--color-terciario)80%);
  position: relative;
}

.why-choose-us h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--color-text);
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

.why-choose-us h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--color-clarito), var(--color-acento));
  border-radius: 2px;
}

.cards-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 1rem;
}

.card {
  background: var(--color-secundario);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 0px 21px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.card-icon {
  font-size: 2.5rem;
  display: inline-block;
  background: var(--color-principal);
  border-radius: 10px;
  margin-bottom: 1rem;
}

.card-icon:hover {
  background: var(--color-hover);
}

.card h3 {
  font-size: 1.5rem;
  color: var(--color-text);
  padding: 15px 15px;
}

.card h3 em {
  font-style: normal;
  color: var(--color-clarito);
}

.card p {
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.card-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-features li {
  padding: 0.5rem 0;
  color: var(--color-clarito);
  display: flex;
  align-items: center;
}

.card-features li::before {
  content: '✓';
  color: var(--color-text);
  margin-right: 0.5rem;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .why-choose-us {
    padding: 3rem 1rem;
  }

  .why-choose-us h2 {
    font-size: 2rem;
  }

  .cards-container {
    gap: 1.5rem;
  }

  .card {
    padding: 1.5rem;
  }
}

/* -------------------------------ACERCA-----------------------------------------*/
.acerca {
  padding: 5rem 2rem;
  background: linear-gradient(var(--color-terciario), var(--color-principal), var(--color-terciario));
  overflow: hidden;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
}

.about-row {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-bottom: 4rem;
}

.about-row.reverse {
  flex-direction: row-reverse;
}

.about-column {
  flex: 1;
  min-width: 0;
}

.image-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.image-wrapper:hover .about-image {
  transform: scale(1.05);
}

.experience-badge,
.projects-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(3, 3, 3, 0.692);
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.years,
.number {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  color: var(--color-clarito);
  line-height: 1;
}

.text {
  font-size: 0.9rem;
  color: var(--color-text);
}

.content-wrapper {
  padding: 2rem;
}

.about-subtitle {
  font-size: 2rem;
  color: var(--color-clarito);
  margin-bottom: 1.5rem;
  position: relative;
}

.about-subtitle::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, var(--color-clarito), var(--color-acento));
  margin-top: 0.5rem;
  border-radius: 2px;
}

.about-text {
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-features,
.about-services {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.about-features li,
.about-services li {
  padding: 0.5rem 0;
  color: var(--color-text);
  display: flex;
  align-items: center;
}

.about-features li::before,
.about-services li::before {
  content: '✓';
  color: var(--color-hover);
  margin-right: 0.75rem;
  font-weight: bold;
}

@media screen and (max-width: 968px) {
  .about-row {
    flex-direction: column;
    gap: 2rem;
  }

  .about-row.reverse {
    flex-direction: column;
  }

  .image-wrapper {
    margin: 0 auto;
    max-width: 600px;
  }

  .content-wrapper {
    padding: 1rem 0;
  }
}

@media screen and (max-width: 480px) {
  .acerca {
    padding: 3rem 2rem;
  }

  .about-subtitle {
    font-size: 1.75rem;
  }

  .experience-badge,
  .projects-badge {
    padding: 0.75rem;
  }

  .years,
  .number {
    font-size: 1.5rem;
  }
}

/*---------------------------------SLIDER--y--CTA---------------------------------*/
.slider-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  margin-bottom: 50px;
  overflow: hidden;
}

.slider {
  position: relative;
  height: 500px;
  margin: 10px;
  background-color: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  width: 4px;
  background-color: var(--color-acento);
  cursor: ew-resize;
  z-index: 2;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 8px rgba(156, 39, 176, 0.5);
  border-radius: 3px;
  transform: translateX(-50%);
}

.slider-handle:hover {
  background-color: var(--color-hover);
  box-shadow: 0 0 12px rgba(172, 5, 238, 0.7);
}

.slider-handle::before {
  content: '⇆';
  padding: 0 5px;
  background: var(--color-hover);
  border-radius: 50px;
  color: #ffffff;
  font-size: 25px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: bold;
}

.slider-section {
  background: linear-gradient(var(--color-terciario), var(--color-secundario));
  padding-bottom: 15px;
  padding: 1rem;
}

.cta-section {
  background-color: #333;
  padding: 3rem 1rem;
  border-radius: 12px;
  text-align: center;
  margin: auto;
  max-width: 900px;
  border: solid #7d0bc9;
  box-shadow: 0 0px 22px rgba(127, 55, 221, 0.8);
  margin-top: 20px;
}

.cta-content h2 {
  font-size: 2rem;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-section h3 {
  color: #ffffff;
  letter-spacing: 1px;
  font-size: 24px;
}

.cta-content p {
  font-size: 1.2rem;
  color: rgb(189, 186, 186);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.cta-button {
  padding: 0.8rem 2rem;
  text-decoration: none;
  font-size: 1.1rem;
  color: #fff;
  background-color: var(--color-acento);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(90, 10, 138, 0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
  background-color: var(--color-hover);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .cta-section {
    padding: 2rem 2rem;
    margin: 0px 10px;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .cta-content p {
    font-size: 1rem;
  }

  .slider {
    height: 300px;
  }
}

/*----------------------------------------GALERIA---------------------------------*/
.section-galeria {
  padding: 4rem 2rem;
  background: linear-gradient(var(--color-secundario), var(--color-terciario));
}

.section-galeria p {
  text-align: center;
  color: var(--color-clarito)
}

.section-galeria h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 0px;
  text-align: center;
}

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  padding: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background-color: #000;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.5s ease;
  vertical-align: middle;
}

.gallery-item:hover img {
  transform: scale(1.1);
  opacity: 0.7;
}

.gallery-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 0, 0, 0) 100%);
  color: #fff;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.close-lightbox {
  color: #991875;
  padding: 5px;
}

.lightbox-caption {
  text-align: center;
  color: var(--color-clarito);
  font-size: 1.5rem;
  font-weight: 600;
}

.gallery-item:hover figcaption {
  transform: translateY(0);
}

.gallery-item h3 {
  font-size: 1.5rem;
  margin: 0 0 0.5rem 0;
  color: #fff;
}

.gallery-item span {
  font-size: 1rem;
  display: block;
}

@media screen and (max-width: 768px) {
  .section-galeria {
    padding: 2rem 1rem;
  }

  .gallery-container {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
  }

  .gallery-item img {
    height: 250px;
  }

  .gallery-item h3 {
    font-size: 1.25rem;
  }
}

@media screen and (max-width: 480px) {
  .gallery-container {
    grid-template-columns: 1fr;
  }

  .gallery-item img {
    height: 200px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .gallery-item img,
  .gallery-item figcaption {
    transition: none;
  }

  .gallery-item:hover img {
    transform: none;
  }
}

/*----------------------------FAQ------------------------------------------------*/
.faq {
  padding: 4rem 2rem;
  background: linear-gradient(var(--color-terciario), #1a1a1a);
}

.faq-container {
  max-width: 1000px;
  margin: 0 auto;
  background: none;
}

.faq-container h2 {
  text-align: center;
  color: var(--color-text);
  padding-bottom: 2rem;
  font-size: 2rem;
}

.faq-title {
  color: var(--color-text);
  font-size: 2.5rem;
  margin-bottom: 3rem;
  font-weight: 700;
}

.faq-item {
  border: solid #701bb69d;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  margin-bottom: 10px;
  border-radius: 5px;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.faq-header {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
}

.faq-question {
  color: var(--color-text);
  font-size: 1.1rem;
  font-weight: 600;
  margin-right: 2rem;
  flex: 1;
}

.faq-toggle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-hover);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  color: var(--color-text);
  line-height: 1.6;
  padding: 0 1.5rem;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 1.5rem;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
  background: #7d0bc9;
}

@media (max-width: 640px) {
  .faq {
    padding: 2rem 2rem;
  }

  .faq-title {
    font-size: 2rem;
  }

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

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-item.open .faq-answer {
  animation: slideDown 0.2s ease-out;
}

/*---------------------------------BLOG---------------------------------------------------------------*/
.section.blog {
  padding: 40px 20px;
  text-align: center;
  color: var(--color-text);
}

.section-header {
  margin-bottom: 60px;
}

.section.blog h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  background: var(--color-text);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 30px;
}

.stats-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 40px 0;
}

.stat-badge {
  background: var(--color-secundario);
  padding: 15px 25px;
  border-radius: 10px;
  backdrop-filter: blur(5px);
}

.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: bold;
  color: #e8c458;
}

.stat-label {
  font-size: 0.9rem;
  color: #fff;
}

.blog-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

.blog-post {
  background-color: #2c2c2c;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 320px;
  flex: 1 1 300px;
  overflow: hidden;
}

.blog-post:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.post-image {
  height: 200px;
  background-image: url('imagenes/Corredera\ Aluminio\ Marron.jpeg');
  background-size: cover;
  background-position: center;
  position: relative;
}

.post-image2 {
  height: 200px;
  background-image: url('imagenes/Seccional-blanca-cuarteron.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}

.post-image3 {
  height: 200px;
  background-image: url('imagenes/Seccional\ imitacion\ madera.jpeg');
  background-size: cover;
  background-position: center;
  position: relative;
}

.category-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--color-hover);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
}

.post-content {
  padding: 20px;
}

.snippet-title {
  font-size: 1.3rem;
  color: var(--color-clarito);
  margin-bottom: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 15px 0;
  text-align: left;
}

.feature-list li {
  color: var(--text-color);
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.feature-list li::before {
  content: "•";
  color: var(--color-hover);
  position: absolute;
  left: 0;
}

.post-excerpt {
  color: #a3a3a3;
  margin: 15px 0;
  line-height: 1.5;
}

.read-more {
  display: inline-block;
  color: var(--color-clarito);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: var(--color-hover);
}

.cta-container {
  margin-top: 50px;
}

@media (max-width: 768px) {
  .section.blog h1 {
    font-size: 2rem;
  }

  .stats-container {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .blog-post {
    flex: 1 1 100%;
  }

  .stat-badge {
    width: 80%;
  }
}

/*----------------------------------CONTACTO---------------------------------------------*/
.contact-section {
  max-width: 1000px;
  margin: 60px auto;
  padding: 40px;
  background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.contact-header {
  text-align: center;
  margin-bottom: 40px;
}

.contact-title {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
}

.contact-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #9c27b0, #ba68c8);
  border-radius: 2px;
}

.contact-subtitle {
  color: #9e9e9e;
  font-size: 1.1rem;
  margin-top: 20px;
}

.buttons-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.contact-button {
  position: relative;
  padding: 20px 15px;
  border-radius: 12px;
  background: linear-gradient(145deg, #2d2d2d, #1a1a1a);
  color: white;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(156, 39, 176, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.contact-button:hover {
  transform: translateY(-5px);
  border-color: rgba(156, 39, 176, 0.3);
  box-shadow: 0 10px 20px rgba(156, 39, 176, 0.2);
}

.button-icon {
  font-size: 24px;
  color: #9c27b0;
  margin-bottom: 8px;
}

.button-text {
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
}

.button-description {
  font-size: 0.85rem;
  color: #9e9e9e;
  margin-top: 5px;
}

.hours-section {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  padding: 30px;
  margin-top: 40px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.hours-title {
  color: var(--color-text);
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 600;
}

.hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.hours-item {
  padding: 15px;
  background: rgba(13, 7, 19, 0.151);
  border-radius: 10px;
  text-align: center;
}

.day {
  color: var(--color-clarito);
  font-weight: 600;
  margin-bottom: 5px;
}

.time {
  color: #fff;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .contact-section {
    padding: 30px 20px;
    margin: 30px 15px;
  }

  .buttons-container {
    grid-template-columns: 1fr;
  }

  .contact-title {
    font-size: 2rem;
  }

  .hours-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-section {
  animation: fadeIn 0.8s ease-out;
}

.contact-button {
  animation: fadeIn 0.8s ease-out backwards;
}

.contact-button:nth-child(1) {
  animation-delay: 0.2s;
}

.contact-button:nth-child(2) {
  animation-delay: 0.4s;
}

.contact-button:nth-child(3) {
  animation-delay: 0.6s;
}

/*---------------------------------------FOOTER------------------------------------------------------------*/
.footer {
  background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
  color: #fff;
  padding: 4rem 2rem 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-oscuro), var(--color-acento), var(--color-hover));
  animation: gradientMove 3s linear infinite;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section {
  animation: fadeIn 0.8s ease-out backwards;
}

.footer-section h3 {
  color: #f9f5fa;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--color-acento);
}

.footer-info p {
  margin: 0.8rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #e0e0e0;
}

.footer-info a {
  color: var(--color-hover);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-info a:hover {
  color: #ba68c8;
  transform: translateX(5px);
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.footer-nav a {
  color: #e0e0e0;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-nav a::before {
  content: '→';
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.footer-nav a:hover {
  color: var(--color-hover);
  transform: translateX(5px);
}

.footer-nav a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.social-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #e0e0e0;
  text-decoration: none;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
}

.social-link:hover {
  background: var(--color-oscuro);
  color: var(--color-clarito);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: #9e9e9e;
}

.footer-bottom p {
  margin: 0.5rem 0;
}

.powered-by {
  color: #9c27b0;
  font-weight: 600;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .footer {
    padding: 3rem 1.5rem 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .social-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*-----------PRIVACIDAD POLITICA----------*/
.privacy-container {
  max-width: 1000px;
  margin: 60px auto;
  padding: 50px;
  background: linear-gradient(145deg, #1a1a1a, #262626);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  color: #e0e0e0;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.privacy-container h1 {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 40px;
  background: linear-gradient(90deg, #fff, var(--color-clarito));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
  letter-spacing: 1px;
}

.privacy-section {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.privacy-section.last-section {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.privacy-section h2 {
  font-size: 1.8rem;
  color: var(--color-clarito);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.privacy-section p {
  line-height: 1.8;
  margin-bottom: 15px;
  color: #ccc;
  font-size: 1.05rem;
}

.privacy-section ul {
  list-style: none;
  margin-top: 15px;
  margin-bottom: 25px;
  padding-left: 10px;
}

.privacy-section li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 25px;
  color: #d1d1d1;
  line-height: 1.6;
}

.privacy-section li::before {
  content: "•";
  color: var(--color-acento);
  font-size: 1.5em;
  position: absolute;
  left: 0;
  top: -5px;
}

.privacy-section strong {
  color: #fff;
  font-weight: 600;
}

.privacy-section a {
  color: var(--color-clarito);
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.privacy-section a:hover {
  color: var(--color-hover);
  border-bottom: 1px solid var(--color-hover);
}

.intro-text {
  font-size: 1.2rem !important;
  border-left: 4px solid var(--color-acento);
  padding-left: 20px;
  background: rgba(90, 24, 154, 0.1);
  padding: 20px;
  border-radius: 0 8px 8px 0;
}

@media (max-width: 768px) {
  .privacy-container {
    padding: 30px 20px;
    margin: 30px 15px;
  }

  .privacy-container h1 {
    font-size: 2.2rem;
  }

  .privacy-section h2 {
    font-size: 1.5rem;
  }
}

/*------------------------BLOG SECTION----------------------------*/
.articles-grid {
  display: grid;
  gap: 2rem;
}

.article-card {
  border-radius: 0.5rem;
  overflow: hidden;
  background: linear-gradient(180deg, #1a1a1a00 40%, #40107a 80%);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.article-card:hover {
  transform: translateY(-4px);
}

.article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.article-content {
  padding: 1.5rem;
}

.article-category {
  color: var(--primary-color);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.article-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-clarito);
  text-decoration: none;
}

.article-excerpt {
  color: #4b5563;
  margin-bottom: 1rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.sidebar {
  position: sticky;
  top: 5rem;
  height: fit-content;
}

.sidebar-widget {
  background: var(--bg-color);
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.widget-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: var(--accent-color);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  color: var(--text-color);
  text-decoration: none;
  transition: background-color 0.3s;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.article-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.article-header {
  text-align: center;
  margin-bottom: 3rem;
}

.article-header h1 {
  color: var(--color-text);
}

.article-meta-top {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
  color: #6b7280;
  font-size: 0.875rem;
}

.article-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-featured-image {
  width: 100%;
  max-height: 450px;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
}

.table-of-contents {
  letter-spacing: 1px;
  padding: 1.5rem;
  margin: auto;
  border-radius: 10px;
  background: rgba(48, 48, 48, 0.795);
}

.table-of-contents h2 {
  padding: 5px 25px;
  letter-spacing: 0.5rem;
  text-transform: uppercase;
  text-align: center;
  color: var(--color-hover);
}

.toc-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--color-text);

}

.toc-list {
  list-style: none;
  padding-left: 0;
}

.toc-item {
  margin-bottom: 0.5rem;
}

a.toc-link {
  padding: 2px 6px;
}

.toc-link {
  color: #9a9faa;
  text-decoration: none;
  padding: 4px;
  border-radius: 2px;
}

.toc-link:hover {
  color: var(--color-clarito);
}

.toc-link:before {
  content: "◉ ";
}

.article-content h2 {
  color: white;
}

.article-content {
  font-size: 1.125rem;
  letter-spacing: 0.5px;
}

.article-content h2 {
  font-size: 1.875rem;
  margin: 2.5rem 0 1.5rem;
  color: #eeeeeeaf;
  text-shadow: 3px 3px 2px #5c10b9;
  letter-spacing: 2px;
}

.article-content h3 {
  font-size: 1.3rem;
  margin: 2rem 0 1rem;
  color: white;
  text-shadow: 2px 2px 2px #000000;
  padding-left: 1.6rem;
  letter-spacing: 2px;
}

.article-content h3::before {
  content: "➤";
  position: absolute;
  line-height: 2;
  color: #8250c0;
  transform: translateX(-130%);
}

.article-content p {
  margin-bottom: 1.5rem;
  color: #fcfcfc;
}

.article-content code {
  background: var(--accent-color);
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.875em;
}

.article-content pre {
  background: #1f2937;
  color: #f3f4f6;
  padding: 1.5rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.article-content ul,
.article-content ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
  color: rgb(165, 165, 165);
}

.article-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.share-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.share-button {
  background: var(--color-text);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background-color 0.3s;
}

.share-button:hover {
  background-color: #40107a;
}

.share-button:hover span {
  color: #ffffff;
}

.author-info {
  color: white;
}

.author-bio {
  display: flex;
  gap: 2rem;
  background: linear-gradient(135deg, #1a1a1a00 20%, #40107a 80%);
  padding: 2rem;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
}

.author-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h3 {
  margin-bottom: 0.5rem;
}

.related-posts {
  margin-top: 3rem;
  color: white;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.related-posts-grid a {
  text-decoration: none;
}

@media (max-width: 768px) {
  .article-meta-top {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }

  .author-bio {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}