@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap");
:root {
  --yellow: #FF564B;
  --black: #FF564B;
  --white: #ffffff;
  --light-color: #3e3e3e;
  --light-bg: #eee;
  --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  --border: 0.1rem solid rgba(0, 0, 0, 0.3);
}

* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
}

body {
  padding-top: 8rem; /* Ajusta este valor según la altura de tu header */
}

html {
  font-size: 62.9%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

html::-webkit-scrollbar {
  width: 1rem;
}

html::-webkit-scrollbar-track {
  background: transparent;
}

html::-webkit-scrollbar-thumb {
  background: var(--yellow);
}

section {
  padding: 5rem 10%;
}

.heading {
  margin-bottom: 3rem;
  font-size: 3rem;
  color: var(--black);
  text-transform: capitalize;
  padding-left: 1rem;
  border-left: 1rem solid var(--yellow);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 0.7;
  flex-shrink: 0;
  gap: 10px;
}

.logo > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.3rem;
}

.logo-img {
  height: 55px; /* o ajústalo según tu header */
  width: auto;
  flex-shrink: 0;
}

.logo .main {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2.6rem;
  color: #ff554b;
  display: block;
  margin: 1;
  white-space: nowrap;
}

.logo .sub {
  font-family: 'Raleway', sans-serif;
  font-weight: 450;
  font-size: 1.3rem;
  color: #ff554b;
  letter-spacing: 0.5px;
  display: block;
  margin: 1;
  white-space: nowrap;
}





.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 1rem 3rem;
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  font-size: 1.7rem;
  text-transform: capitalize;
  -webkit-transition: 0.2s linear;
  transition: 0.2s linear;
  border: 1px solid var(--black);
}

.btn:hover {
  background: var(--yellow);
  color: var(--white);
  border: 1px solid var(--white);
}

@-webkit-keyframes fadeIn {
  0% {
    top: 50%;
    opacity: 0;
  }
}

@keyframes fadeIn {
  0% {
    top: 50%;
    opacity: 0;
  }
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 10%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Clase para cuando el header esté scrolleado */
.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 1rem 10%;
  /* Force same flex layout to avoid unintended centering */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Clase para ocultar el header cuando se scrollea hacia abajo */
.header.hidden {
  transform: translateY(-100%);
  /* Preserve visual properties while hidden to avoid layout/appearance jump */
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 1rem 10%;
  backdrop-filter: blur(10px);
  will-change: transform;
  /* Keep layout stable while hidden */
  display: flex;
  align-items: center;
  justify-content: space-between;
}



.header .navbar a {
  font-size: 2rem;
  color: var(--black);
  text-transform: capitalize;
  margin: 0 1rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Ensure navbar links keep their style when header is toggled */
.header.hidden .navbar a,
.header.scrolled .navbar a {
  color: var(--black);
  white-space: nowrap;
  flex-shrink: 0;
}

.header .navbar a:hover {
  color: var(--yellow);
}

.header .icons {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.header .icons div {
  height: 5rem;
  width: 5rem;
  line-height: 5rem;
  font-size: 2rem;
  background: var(--light-bg);
  color: var(--black);
  cursor: pointer;
  text-align: center;
  margin-left: 0.3rem;
}

.header .icons div:hover {
  background: var(--black);
  color: var(--white);
}

/* Ensure icons keep their visual state when header is toggled */
.header.hidden .icons div,
.header.scrolled .icons div {
  background: var(--light-bg);
  color: var(--black);
}

.header #menu-btn {
  display: none;
}

.header .search-form {
  position: absolute;
  top: 120%;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 70rem;
  background: var(--white);
  -webkit-box-shadow: var(--box-shadow);
          box-shadow: var(--box-shadow);
  padding: 1rem;
  display: none;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 1rem;
  -webkit-animation: fadeIn 0.2s linear;
          animation: fadeIn 0.2s linear;
}

.header .search-form.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.header .search-form input {
  flex: 1;
  min-width: 0;
  padding: 1.2rem 1.4rem;
  background: var(--light-bg);
  font-size: 1.6rem;
  color: var(--light-color);
  border-radius: 0.4rem;
}

.header .search-form label {
  font-size: 2.5rem;
  color: var(--black);
  cursor: pointer;
  margin: 0 1rem;
}

.header .search-form label:hover {
  color: var(--yellow);
}

.header .login-form {
  position: absolute;
  top: 120%;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 40rem;
  background: var(--white);
  -webkit-box-shadow: var(--box-shadow);
          box-shadow: var(--box-shadow);
  padding: 2rem;
  text-align: center;
  -webkit-animation: fadeIn 0.2s linear;
          animation: fadeIn 0.2s linear;
  display: none;
}

.header .login-form.active {
  display: block;
}

.header .login-form h3 {
  font-size: 2.5rem;
  color: var(--black);
  text-transform: capitalize;
  padding-bottom: 1rem;
  text-transform: uppercase;
}

.header .login-form .box {
  width: 100%;
  padding: 1.2rem 1.4rem;
  background: var(--light-bg);
  font-size: 1.6rem;
  color: var(--light-color);
  margin: 0.7rem 0;
}

.header .login-form .flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5rem;
  padding-top: 1.5rem;
  padding-bottom: 1rem;
}

.header .login-form .flex label {
  font-size: 1.5rem;
  color: var(--light-color);
  cursor: pointer;
}

.header .login-form .flex a {
  font-size: 1.5rem;
  color: var(--light-color);
  margin-left: auto;
}

.header .login-form .flex a:hover {
  color: var(--yellow);
  text-decoration: underline;
}

.header .login-form .btn {
  width: 100%;
}

.header .login-form p {
  font-size: 1.5rem;
  color: var(--light-color);
  line-height: 2;
  padding-top: 1.5rem;
}

.header .login-form p a {
  color: var(--yellow);
}

.header .login-form p a:hover {
  text-decoration: underline;
}

/* Estilos para el botón de envío de búsqueda (icono a la derecha) */
.search-submit {
  background: transparent;
  border: none;
  color: var(--black);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 0.6rem;
  display: flex;
  align-items: center;
}
.search-submit:hover {
  color: var(--yellow);
}

.contact-info {
  position: fixed;
  top: 0;
  right: 0;
  width: 35rem;
  background: var(--white);
  height: 100%;
  text-align: center;
  z-index: 1100;
  padding: 0 2rem;
  padding-top: 5rem;
  display: none;
}

.contact-info.active {
  -webkit-box-shadow: 0 0 0 100vw rgba(0, 0, 0, 0.7);
          box-shadow: 0 0 0 100vw rgba(0, 0, 0, 0.7);
  display: block;
}

.contact-info #close-contact-info {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  cursor: pointer;
  font-size: 4rem;
  color: var(--black);
}

.contact-info #close-contact-info:hover {
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
}

.contact-info .info {
  padding: 2rem 0;
}

.contact-info .info i {
  height: 5rem;
  width: 5rem;
  line-height: 5rem;
  font-size: 2rem;
  background: var(--light-bg);
  color: var(--black);
  cursor: pointer;
  text-align: center;
  margin-bottom: 0.5rem;
}

.contact-info .info i:hover {
  background: var(--black);
  color: var(--white);
}

.contact-info .info h3 {
  font-size: 2rem;
  color: var(--black);
  text-transform: capitalize;
  padding: 1rem 0;
}

.contact-info .info p {
  font-size: 1.9rem;
  color: var(--light-color);
  line-height: 2;
}

.contact-info .info p a {
  color: var(--black);
  transition: color 0.3s ease;
}

.contact-info .info p a:hover {
  color: var(--yellow);
}

.contact-info .share {
  padding-top: 2rem;
  border-top: var(--border);
  margin-top: 1rem;
}

.contact-info .share a {
  height: 5rem;
  width: 5rem;
  line-height: 5rem;
  font-size: 2rem;
  background: var(--light-bg);
  color: var(--black);
  cursor: pointer;
  text-align: center;
  margin: 0 0.3rem;
}

.contact-info .share a:hover {
  background: var(--black);
  color: var(--white);
}

.home {
  padding: 0;
}

.home .slide {
  min-height: 60rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
  background-size: cover !important;
  background-position: center !important;
}

.home .slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: -webkit-gradient(linear, left top, right top, from(var(--white)), to(transparent));
  background: linear-gradient(90deg, var(--white), transparent);
}

.home .slide .content {
  width: 50rem;
  position: relative;
}

.home .slide .content h3 {
  font-size: 6rem;
  color: var(--black);
  text-transform: capitalize;
  text-transform: uppercase;
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.906);
}

.home .slide .content p {
  font-size: 1.7rem;
  color: var(--light-color);
  line-height: 2;
  padding: 1rem 0;
  text-shadow: 0 0 1px rgb(255, 255, 255);
background: rgba(255, 255, 255, 0.5);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  display: inline-block;

}

.home .swiper-button-next,
.home .swiper-button-prev {
  top: initial;
  bottom: 0;
  left: initial;
  right: 0;
  height: 7rem;
  width: 7rem;
  line-height: 7rem;
  background: var(--white);
}

.home .swiper-button-next:hover,
.home .swiper-button-prev:hover {
  background: var(--yellow);
}

.home .swiper-button-next::after,
.home .swiper-button-prev::after {
  font-size: 3rem;
  color: var(--black);
}

  /* Cambiar color de la flecha en hover */
  .home .swiper-button-next:hover::after,
  .home .swiper-button-prev:hover::after {
    color: var(--white);
  }

.home .swiper-button-prev {
  right: 7rem;
}

.about .row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 3rem;
}

.about .row .video {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 41rem;
          flex: 1 1 41rem;
}

.about .row .video video {
  width: 100%;
}

.about .row .content {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 41rem;
          flex: 1 1 41rem;
}

.about .row .content h3 {
  font-size: 3.5rem;
  color: var(--black);
  text-transform: capitalize;
}

.about .row .content p {
  font-size: 1.8rem;
  color: var(--light-color);
  line-height: 2;
  padding: 1rem 0;
}

.about .box-container {
  margin-top: 3rem;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(16rem, 1fr))[auto-fit];
      grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 2rem;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
}

.about .box-container .box {
  text-align: center;
  background: var(--light-bg);
  padding: 3rem 2rem;
}

.about .box-container .box h3 {
  font-size: 4rem;
  color: var(--black);
  text-transform: capitalize;
}

.about .box-container .box p {
  font-size: 1.5rem;
  color: var(--light-color);
  line-height: 2;
  padding-top: 0.5rem;
}

.services {
  background: var(--light-bg);
}

.services .box-container {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(25rem, 1fr))[auto-fit];
      grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 2rem;
}

.services .box-container .box {
  text-align: center;
  padding: 3rem;
  background: var(--white);
  -webkit-box-shadow: var(--box-shadow);
          box-shadow: var(--box-shadow);
  border: var(--border);
}

.services .box-container .box:hover img {
  -webkit-transform: translateY(-1rem);
          transform: translateY(-1rem);
}

.services .box-container .box img {
  height: 7rem;
  margin-bottom: 0.5rem;
  -webkit-transition: 0.2s linear;
  transition: 0.2s linear;
}

.services .box-container .box h3 {
  font-size: 1.7rem;
  color: var(--black);
  text-transform: capitalize;
  padding: 1rem 0;
}

.services .box-container .box p {
  font-size: 1.4rem;
  color: var(--light-color);
  line-height: 2;
}

.projects {
  background: var(--white);
}

.projects .heading {
  color: var(--black);
}

.projects .box-container {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(30rem, 1fr))[auto-fit];
      grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 2rem;
}

.projects .box-container .box {
  cursor: initial;
}

.projects .box-container .box:hover .image img {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

.projects .box-container .box .image {
  height: 40rem;
  overflow: hidden;
}

.projects .box-container .box .image img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: 0.2s linear;
  transition: 0.2s linear;
}

.projects .box-container .box .content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background: var(--white);
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.projects .box-container .box .content .info {
  padding: 1rem 2rem;
}

.projects .box-container .box .content .info h3 {
  font-size: 1.7rem;
  color: var(--black);
  text-transform: capitalize;
}

.projects .box-container .box .content .info p {
  font-size: 1.5rem;
  color: var(--light-color);
  line-height: 2;
}

.projects .box-container .box .content i {
  width: 7.5rem;
  font-size: 3rem;
  background: var(--yellow);
  color: var(--white);
  cursor: pointer;
  text-align: center;
  line-height: 7.5rem;
}

.reviews .slide p {
  padding: 1.5rem;
  background: var(--light-bg);
  position: relative;
  margin-bottom: 3rem;
  font-size: 1.4rem;
  color: var(--light-color);
  line-height: 2;
}

.reviews .slide p::before {
  content: "";
  position: absolute;
  bottom: -1rem;
  left: 2rem;
  height: 2rem;
  width: 2rem;
  background: var(--light-bg);
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

.reviews .slide .user {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 1.5rem;
}

.reviews .slide .user img {
  height: 7rem;
  width: 7rem;
}

.reviews .slide .user h3 {
  font-size: 2rem;
  color: var(--black);
  text-transform: capitalize;
}

.reviews .slide .user .stars {
  padding-top: 0.5rem;
}

.reviews .slide .user .stars i {
  font-size: 1.4rem;
  color: var(--yellow);
}

.pricing {
  background: var(--light-bg);
}

.pricing .box-container {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(30rem, 1fr))[auto-fit];
      grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 2rem;
}

.pricing .box-container .box {
  background: var(--white);
  text-align: center;
  padding: 2rem;
  border: var(--border);
  -webkit-box-shadow: var(--box-shadow);
          box-shadow: var(--box-shadow);
}

.pricing .box-container .box i {
  font-size: 3rem;
  height: 7rem;
  width: 7rem;
  line-height: 7rem;
  border-radius: 50%;
  margin-bottom: 2rem;
  background: var(--yellow);
  color: var(--black);
}

.pricing .box-container .box h3 {
  font-size: 2rem;
  color: var(--black);
  text-transform: capitalize;
  font-weight: normal;
}

.pricing .box-container .box .price {
  padding: 1rem 0;
  font-size: 5rem;
  color: var(--black);
  text-transform: capitalize;
}

.pricing .box-container .box .price span {
  font-size: 2rem;
}

.pricing .box-container .box .list {
  padding: 1rem 0;
}

.pricing .box-container .box .list p {
  padding: 1rem 0;
  font-size: 1.4rem;
  color: var(--light-color);
  line-height: 2;
}

.contact {
  position: relative;
  background: url("../images/bg.gif") center center / cover no-repeat;
  color: white;
  overflow: hidden;
}

.contact .heading {
  color: var(--white);
}

.contact .row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 2rem;
}

.contact .row .map {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 41rem;
          flex: 1 1 41rem;
  width: 100%;
}

.contact .row form {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 41rem;
          flex: 1 1 41rem;
  background: var(--white);
  padding: 2rem;
}

.contact .row form h3 {
  font-size: 2.5rem;
  color: var(--black);
  text-transform: capitalize;
}

.contact .row form .box {
  margin: 0.7rem 0;
  width: 100%;
  padding: 1.5rem 0;
  border-bottom: var(--border);
  font-size: 1.6rem;
  color: var(--light-color);
}

.contact .row form .box:focus {
  border-color: var(--yellow);
}

.contact .row form textarea {
  height: 15rem;
  resize: none;
}

/* CTA Blog Section */
.cta-blog {
 background: linear-gradient(135deg, rgba(255, 87, 75, 0.832) 0%, rgba(255, 121, 114, 0.689) 100%),
                url('../images/bg-bog.webp') center/cover no-repeat;
    padding: 12rem 10% 6rem;
    text-align: center;
    color: white;
    position: relative;
    box-shadow: inset 0 -5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.cta-blog::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/pattern.png') center/cover;
  opacity: 0.1;
  pointer-events: none;
}

.cta-blog .cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.cta-blog h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.cta-blog p {
  font-size: 1.8rem;
  margin-bottom: 3rem;
  opacity: 0.9;
}

.cta-blog .btn {
  background: var(--white);
  color: var(--yellow);
  border: 2px solid var(--white);
  padding: 1.5rem 4rem;
  font-size: 1.8rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.cta-blog .btn:hover {
  background: transparent;
  color: var(--white);
}

.cta-blog .btn i {
  transition: transform 0.3s ease;
}

.cta-blog .btn:hover i {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .cta-blog {
    padding: 4rem 5%;
  }
  
  .cta-blog h2 {
    font-size: 2.8rem;
  }
  
  .cta-blog p {
    font-size: 1.6rem;
  }
}

.blogs {
  background: var(--light-bg);
}

.blogs .slide {
  text-align: center;
}

.blogs .slide:hover .image img {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

.blogs .slide .image {
  height: 25rem;
  width: 90%;
  overflow: hidden;
  margin: 0 auto;
  margin-bottom: -3rem;
}

.blogs .slide .image img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: 0.2s linear;
  transition: 0.2s linear;
}

.blogs .slide .content {
  padding: 2rem;
  padding-top: 5rem;
  background: var(--white);
  -webkit-box-shadow: 0 0 1.5rem rgba(0, 0, 0, 0.2);
          box-shadow: 0 0 1.5rem rgba(0, 0, 0, 0.2);
}

.blogs .slide .content h3 {
  font-size: 2rem;
  color: var(--black);
  text-transform: capitalize;
}

.blogs .slide .content p {
  padding: 1rem 0;
  font-size: 1.4rem;
  color: var(--light-color);
  line-height: 2;
}

.logo-container {
  text-align: center;
}

.logo-container img {
  height: 10rem;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.footer {
  text-align: center;
  padding-bottom: 10rem;
}

.footer .links .btn {
  margin: 0.5rem;
}

.footer .credit {
  font-size: 2rem;
  color: var(--black);
  text-transform: capitalize;
  margin-top: 2rem;
  padding-top: 1rem;
}

.footer .credit span {
  color: var(--yellow);
}

@media (max-width: 1200px) {
  .header {
    padding: 1.5rem 2rem;
  }
  section {
    padding: 3rem 5%;
  }
}

/* Reduce header element sizes on medium screens to prevent wrapping */
@media (max-width: 1199px) and (min-width: 992px) {
  .header {
    padding: 1rem 1.5rem;
  }
  
  .logo-img {
    height: 45px;
  }
  
  .logo .main {
    font-size: 2.2rem;
  }
  
  .logo .sub {
    font-size: 1.1rem;
  }
  
  .header .navbar a {
    font-size: 1.6rem;
    margin: 0 0.7rem;
  }
  
  .header .icons div {
    height: 4rem;
    width: 4rem;
    font-size: 1.6rem;
    margin-left: 0.2rem;
  }
}

@media (max-width: 991px) {
  html {
    font-size: 55%;
  }
  section {
    padding: 3rem 2rem;
  }
  
  .header {
    padding: 0.8rem 1.2rem;
  }
  
  .logo-img {
    height: 40px;
  }
  
  .logo .main {
    font-size: 1.8rem;
  }
  
  .logo .sub {
    font-size: 0.9rem;
  }
  
  .header .navbar a {
    font-size: 1.4rem;
    margin: 0 0.5rem;
  }
  
  .header .icons div {
    height: 3.5rem;
    width: 3.5rem;
    font-size: 1.3rem;
    margin-left: 0.1rem;
    line-height: 3.5rem;
  }
  
  .header #menu-btn {
    display: inline-block;
  }
  .header .navbar {
    position: absolute;
    top: 99%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: var(--border);
    border-bottom: var(--border);
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
            clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    -webkit-transition: 0.2s linear;
    transition: 0.2s linear;
  }
  .header .navbar.active {
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
            clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  .header .navbar a {
    display: block;
    margin: 2rem;
  }

  /* Keep header layout stable on small screens when not using the expanded navbar */
  .header,
  .header.scrolled,
  .header.hidden {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .header .icons {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 0.6rem 1rem;
  }
  
  .logo-img {
    height: 35px;
  }
  
  .logo .main {
    font-size: 1.4rem;
  }
  
  .logo .sub {
    font-size: 0.75rem;
  }
  
  .header .navbar a {
    font-size: 1.2rem;
    margin: 0 0.3rem;
  }
  
  .header .icons div {
    height: 3rem;
    width: 3rem;
    font-size: 1.1rem;
    margin-left: 0.1rem;
    line-height: 3rem;
  }
  
  .header .search-form {
    width: 90%;
  }
  .header .login-form {
    width: 90%;
  }
  .home .slide {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .home .slide .content {
    text-align: center;
  }
  .home .slide .content h3 {
    font-size: 3rem;
  }

  /* Keep header children aligned when scrolled on small screens */
  .header.scrolled .icons,
  .header.hidden .icons {
    margin-left: auto;
    display: flex;
    align-items: center;
  }
}

@media (max-width: 450px) {
  html {
    font-size: 50%;
  }
  
  .header {
    padding: 0.5rem 0.8rem;
  }
  
  .logo-img {
    height: 30px;
  }
  
  .logo .main {
    font-size: 1.2rem;
  }
  
  .logo .sub {
    font-size: 0.65rem;
  }
  
  .header .navbar a {
    font-size: 1rem;
    margin: 0 0.2rem;
  }
  
  .header .icons div {
    height: 2.5rem;
    width: 2.5rem;
    font-size: 0.9rem;
    margin-left: 0.05rem;
    line-height: 2.5rem;
  }
  
  .about .row .content h3 {
    font-size: 2.5rem;
  }
}
/*# sourceMappingURL=style.css.map */

/* ==== BOTÓN FLOTANTE WHATSAPP ==== */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 25px;
  right: 25px;
  background-color: var(--brand, #25D366);
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 32px;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

/* Ajuste para móviles */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 26px;
    bottom: 20px;
    right: 20px;
  }
}

/* ===== LANGUAGE SWITCHER STYLES ===== */
/* Agregar esto al final de style.css */

/* Botón de cambio de idioma */
.header .icons #lang-btn {
  height: 5rem;
  width: 5rem;
  line-height: 5rem;
  font-size: 1.4rem;
  background: var(--light-bg);
  color: var(--black);
  cursor: pointer;
  text-align: center;
  position: relative;
  overflow: hidden;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.3rem;
}

.header .icons #lang-btn a {
  color: var(--black);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.header .icons #lang-btn:hover {
  background: var(--black);
  transform: translateY(-2px);
}

.header .icons #lang-btn:hover a {
  color: var(--white);
}

/* Animación sutil en el botón de idioma */
.header .icons #lang-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 86, 75, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.header .icons #lang-btn:hover::before {
  width: 200%;
  height: 200%;
}

/* Responsive: en móvil el botón se ve mejor */
@media (max-width: 768px) {
  .header .icons #lang-btn {
    font-size: 1.2rem;
  }
}

/* ===== ADAPTACIONES PARA VERSION INGLÉS ===== */

/* Ajuste del subtítulo del logo en versión inglés */
.header .logo .sub {
  transition: opacity 0.3s ease;
}

/* Estilos específicos para páginas en inglés */
html[lang="en"] .header .logo .sub {
  letter-spacing: 0.8px;
}

/* Mejora visual del selector en sticky header */
.header.scrolled .icons #lang-btn {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Badge de idioma en versión móvil */
@media (max-width: 991px) {
  .header .icons #lang-btn {
    margin-left: 0;
  }
  
  .header.scrolled .icons #lang-btn a {
    font-size: 1.3rem;
  }

/* ===== OVERRIDE: Force header alignment across all breakpoints ===== */
/* This ensures the logo stays left, navbar occupies the middle space and icons stay right. */
.header,
.header.scrolled,
.header.hidden {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.header > .logo {
  flex: 0 0 auto;
}

.header > .navbar {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.header > .icons {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

/* On mobile the navbar becomes absolutely positioned when opened; keep it out of the header flow when closed */
@media (max-width: 991px) {
  .header > .navbar { display: none; }
  .header > .navbar.active { display: flex; position: absolute; top: 99%; left: 0; right: 0; flex-direction: column; }
}
}

/* Efecto hover suave en banderas */
.header .icons #lang-btn a:hover {
  text-decoration: none;
  transform: scale(1.05);
  transition: transform 0.2s ease;
}

/* ===== INDICADOR VISUAL DE IDIOMA ACTIVO ===== */

/* Opcional: agregar un pequeño indicador debajo del botón de idioma activo */
.header .icons #lang-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 3px;
  background: var(--yellow);
  border-radius: 3px 3px 0 0;
}