@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Medium.ttf') format('truetype');
  font-weight: 500;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-SemiBold.ttf') format('truetype');
  font-weight: 600;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Bold.ttf') format('truetype');
  font-weight: 700;
}

:root {
  --primary-color: #00188A;
  --secondary-color: #385cb0;
  --text-color: #333333;
  --light-bg: #fefefe;
  --primary-gray: #f2f2f2
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
}

p {
  margin-bottom: 0;
  font-size: 18px;
  color: var(--primary-color);
}

h1 {
  color: var(--primary-color);
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

h1.light {
  font-weight: 300;
}

h2{
  color: #00297a;
  font-weight: 500;
  font-size: 40px;
}

h3 {
  color: #00297a;
  font-size: 25px;
  font-weight: 700;
}

h6 {
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  margin-bottom: 0;
}

.btn-primary {
  background-color: var(--secondary-color);
  border: 1px solid transparent;
  width: 250px;
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  border-radius: 0;
  padding: 5px 20px;
  color: #fff;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: var(--primary-color);
}

.block-text-primary {
  color: #666666;
  margin: 1rem 0;
  font-size: 17px;
}

/* Header base */
.header {
  position: fixed;
  width: 100%;
  background-color: var(--primary-color);
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  z-index: 1000;
}

.header__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__nav {
  display: flex;
}

.header__list {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__link {
  text-decoration: none;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
}

.header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  border: none;
  background: none;
  cursor: pointer;
}

.header__bar {
  width: 25px;
  height: 3px;
  background-color: #FFFFFF;
} 

/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
}
.carousel.slide.pointer-event {
  height: 90vh;
}

.carousel-item {
  height: 90vh;
  min-height: 500px;
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.carousel-item img {
  object-fit: cover;
  height: 90vh;
  min-height: 500px;
  width: 100%;
}

.carousel-caption {
  text-align: left;
  left: 7%;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  z-index: 2;
}

.carousel-caption p {
  color: var(--primary-color);
  font-size: 20px;
  margin-bottom: 2rem;
  max-width: 600px;
  font-weight: 400;
}

.carousel-indicators {
  z-index: 3;
}

.carousel-indicators button {
  border-radius: 0 !important;
}

.carousel-indicators .active {
  background-color: var(--primary-color);
}

.carousel-control-prev,
.carousel-control-next {
  z-index: 3;
  width: 5%;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 6px;
}

/* Especialidades Header */
.especialidades-header::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 15px solid var(--secondary-color);
}

.especialidades-header__title {
  color: white;
  font-size: 23px;
  font-weight: 400;
  margin-bottom: 3rem;
}

.especialidades-header__item {
  color: white;
  font-size: 24px;
  font-weight: 600;
}

.especialidades-header {
  background-color: var(--secondary-color);
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}

.especialidades-header__items {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.especialidades-header__item {
  position: relative;
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.4;
  padding: 0 25px;
}

.especialidades-header__item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -0.75rem;
  top: 50%;
  transform: translateY(-50%) rotate(30deg);
  height: 55px;
  width: 2px;
  background-color: white;
}

.especialidades-header__description {
  max-width: 800px;
  margin: 0 auto;
  padding: 45px 0;
}

.especialidades-header__description p {
  color: var(--primary-color);
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
	text-align: center;
}

.especialidades-header__description strong {
  font-weight: 600;
}

.especialidades-header__background {
  width: 100%;
  background-image: url('../img/especialidades.svg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.especialidades {
  position: relative;
  overflow: hidden;
  margin-top: 80px;
}
.especialidades_container {
  text-align: center;
}

.especialidades__wrapper {
  display: flex;
  margin: 80px 0 20px 0;
}

.especialidades__images-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.especialidades__images {
  position: absolute;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.especialidades__image {
  width: calc(33.333% - 0.67rem);
  height: 100%;
  object-fit: cover;
}

.especialidades__content-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0 20px;
}

.especialidades__content-wrapper-left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 0 20px;
}
.podologia.d-flex {
  margin: 40px 0;
}

.especialidades__subtitle {
  margin-top: 1rem;
  font-size: 18px;
  color: var(--primary-color);
  max-width: 800px;
  margin: 0 auto
}

.especialidades__content {
  display: flex;
  flex-wrap: wrap;
  margin-top: 2rem;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
}

/* Accordion */
.especialidades__accordion.container,
.container-accordion-section {
background-color: var(--primary-gray);
}
.especialidades__accordion.container {
  margin-bottom: 20px;
}
.accordion__item {
  text-align: left;
  border-bottom: 1px solid var(--primary-color);
  padding: 1rem 0;
}

.accordion__question {
  background: none;
  border: none;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
}

.accordion__answer {
  margin-top: 0.5rem;
  color: #555;
  display: none;
}

.accordion__item.active .accordion__answer {
  display: block;
}

.accordion__item.active .accordion__answer {
  display: block;
  max-width: 750px;
  padding-bottom: 20px;
}

.circle-arrow-down {
  width: 20px;
  height: 20px;
  background-color: var(--primary-color);
  border-radius: 50%;
  position: relative;
}

.circle-arrow-down::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%) rotate(0deg);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid white; 
}


/* Servicios Podologia */  
.podologia-text {
  background-color: #fff;
}

.podologia-images {
  justify-content: space-between;
}

.podologia-images img {
  height: 100%;
  object-fit: cover;
  width: calc(33.333% - 0.67rem);
}

.w-33 {
  width: 33.3333%;
}

.container-media {
  max-width: 500px;
  padding: 25px 0;
}
.silicona {
  margin: 80px 0;
}

.reflexologia {
  margin-bottom: 45px;
}
/* Parallax Section */  
.parallax-section {
  background-image: url('../img/paralax.jpg'); 
  height: 250px;
  width: auto;
  object-fit: cover;
  object-position: center;
  background-attachment: fixed;
}

/* Renova plantillas*/
.plantillas {
  background: var(--light-bg);
  text-align: center;
  padding: 50px 1rem;
  position: relative;
}

.plantillas__header-content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.plantillas__subtitle {
  font-weight: 300;
  font-size: 43px;
}

.plantillas__icon {
  max-width: 60px;
}

.plantillas__text {
  margin-top: 1rem;
  font-size: 22px;
  color: var(--primary-color);
  max-width: 610px;
  margin: 0 auto;
}

.plantillas__steps {
  max-width: 1100px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 0 auto;
  padding-top: 60px;
  flex-wrap: wrap;
}
.plantillas__steps a {
  width: 100%;
  max-width: 330px;
  margin: 0 auto;
}

.plantillas__step img {
  height: 50px;
  margin-bottom: 0.5rem;
}

.plantillas__cta {
  margin: 50px 0 40px 0;
}

.plantillas__button {
  background: #2b52cc;
  color: white;
  font-weight: bold;
  padding: 0.75rem 2rem;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.plantillas__footer {
  background: var(--primary-gray);
  font-size: 18px;
  color: #2e2e2e;
  font-weight: 400;
  position: relative;
  padding: 35px 0;
}

.plantillas__notch {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 15px;
  background: var(--primary-gray);
  clip-path: polygon(50% 0, 0% 100%, 100% 100%);
}

.parallax-video-section {
  background: url(../img/paralax.jpg) no-repeat center center fixed;
  background-size: cover;
  max-height: 100vh;
  padding: 30px 0;
  box-sizing: content-box;
}

.parallax-video-section video {
  max-height: 100vh;
  height: 100%;
  max-width: 100%;
  margin: 0 auto;
}

embed-responsive {
  text-align: center;
}
/* Contacto */
.contacto-section {
  padding: 60px 0;
}

.contacto-section h2 {
  margin-bottom: 60px;
}
.contacto-section .titulo-contacto {
  max-width: 375px;
  margin-bottom: 35px;
  font-size: 20px;
}
.contacto-section p {
  font-weight: 600;
}
.contacto-section span {
  display: inline-block;
  color: #666666;
  font-size: 15px;
  margin-bottom: 30px;
}

#contacto input,
#contacto textarea {
background-color: var(--primary-gray);
border: none;
color: var(--primary-color);
font-weight: 500;
border-radius: 0;
font-size: 16px;
padding: 18px 20px;
}

#contacto input::placeholder,
#contacto textarea::placeholder {
color: var(--primary-color);
}

.contacto-section .btn-primary {
  width: 200px !important;
}
.contacto-section .content-button {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* Footer */
footer {
  background-color: #1d2326;
  width: 100%;
  padding: 40px 80px;
}

footer img {
  max-width: 100px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Plantillas */
.plantillas.home {
  padding: 40px 5px;
}

.main-plantillas {
  background-image: url(../img/plantillas-home.svg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 70vh;
  width: 100%;
  display: flex;
  align-items: center;
}

.plantillas__text-home-22 {
  font-size: 22px;
  display: inline;
}

.plantillas__text-home-24 {
  font-size: 24px;
  font-weight: 700;
  display: inline;
}

.plantillas__header-content.home {
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
  display: block;
  padding-left: 60px;
}

.content-h1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.content-h1 h1 {
  margin-bottom: 0;
}

.info-plantillas-home {
  font-size: 13px;
  display: inline-block;
  font-weight: 400;
  color: var(--primary-color);
  margin-top: 20px;
}

.especialidades-header__background.home {
  padding: 25px 0;
}

.text-main-plantillas {
  color: #2e2e2e;
  font-size: 15px;
  margin: 35px 0 55px 0;

}

.text-main-plantillas span {
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 700;
}

.plantillas__footer .text-primary {
  color: var(--primary-color) !important;
}

.form-control.is-invalid {
  border: 2px solid #dc3545; 
}

.form-control.is-valid {
  border: 2px solid #28a745; 
}

.contacto-section {
  background-color: #FFFFFF;
}

.text-primary {
  color: var(--primary-color) !important;
}

.text-muted {
  color: #666666 !important;
}

.contacto-section {
  margin: 60px 0;
}


/* --- Media Queries --- */

@media (max-width: 576px) {
  .carousel-item {
      height: 60vh;
      min-height: 350px;
  }

  .carousel-item img {
      height: 60vh;
      min-height: 350px;
  }

  .carousel-caption h1 {
      font-size: 1.75rem;
  }

  .carousel-caption p {
      font-size: 0.9rem;
      margin-bottom: 1rem;
  }

  .btn-primary {
      padding: 0.5rem 1.5rem;
      font-size: 0.9rem;
  }

  h2 {
    font-size: 22px;
  }
  h3 {
    font-size: 16px;
  }
  .header__list {
    gap: 0.5rem;
  }
  .header__item img {
    height: 18px;
    width: 18px;
  }
  .carousel-caption {
    left: 2%;
    padding: 0 5px;
  }
  .carousel-caption h1 {
    font-size: 1.1rem;
  }
  .carousel-caption p {
    font-size: 0.8rem;
  }
  .btn-primary {
    width: 100%;
    font-size: 0.9rem;
    padding: 0.5rem 0.5rem;
  }

  .plantillas__icon {
    max-width: 24px;
  }
  .plantillas__footer {
    font-size: 12px;
    padding: 10px 0;
  }
  .footer-content {
    gap: 0.5rem;
  }
  footer img {
    max-width: 60px;
}
}

@media (max-width: 768px) {
.especialidades-header {
  padding: 3rem 1rem;
}
.carousel.slide.pointer-event {
  height: inherit;
}

.especialidades-header__title {
    font-size: 28px;
    margin-bottom: 2rem;
}

.especialidades-header__items {
    flex-direction: column;
    gap: 1rem;
}

.especialidades-header__divider {
    display: none;
}

.especialidades-header__item {
    font-size: 18px;
}

.especialidades-header__description p {
    font-size: 20px;
}
  .carousel-item {
      height: 70vh;
      min-height: 400px;
  }

  .carousel-item img {
      height: 70vh;
      min-height: 400px;
  }

  .carousel-caption {
      padding: 0 20px;
  }

  .carousel-caption h1 {
      font-size: 2rem;
  }

  .carousel-caption p {
      font-size: 1rem;
      margin-bottom: 1.5rem;
  }

  .carousel-overlay {
      background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 70%, rgba(0,0,0,0.3) 100%);
  }

  .especialidades-header__item:not(:last-child)::after {
      content: "";
      height: 0;
      width: 0;
      background-color: transparent;
  }
  .plantillas__text-home-22 {
      font-size: 18px;
  }
  
  .plantillas__text-home-24 {
      font-size: 20px;
  }
  .content-h1 {
    flex-direction: column;
  }
  .main-plantillas {
    background-position: -200px;
  }
  h2 {
    font-size: 32px;
  }
  h3 {
    font-size: 24px;
  }
  .header__list {
    gap: 1rem;
  }
  .especialidades-header__title {
    font-size: 20px;
  }
  .especialidades-header__item {
    font-size: 16px;
    padding: 0 10px;
  }
  .especialidades-header__description p {
    font-size: 16px;
  }
  .especialidades__subtitle {
    font-size: 16px;
  }
  .plantillas__subtitle {
    font-size: 28px;
  }
  .plantillas__text {
    font-size: 16px;
  }
  .plantillas__footer {
    font-size: 15px;
    padding: 20px 0;
  }
  .contacto-section {
    padding: 30px 0;
    text-align: center;
  }
  .contacto-section h2 {
    margin-bottom: 30px;
    font-size: 24px;
  }
  .contacto-section .titulo-contacto {
    font-size: 16px;
    margin-bottom: 20px;
    text-align: center;
    margin: 0 auto;
    padding-bottom: 20px;
  }
  .contacto-section span {
    font-size: 13px;
    margin-bottom: 15px;
  }
  .contacto-section .btn-primary {
    width: 100% !important;
  }
  #contacto input, #contacto textarea {
    font-size: 14px;
    padding: 10px 10px;
  }
  .video-container {
    max-width: 80%;
    padding: 0 5px;
  }    
  .especialidades-header__description {
    padding: 30px 20px;
    max-width: 100%;
    text-align: center;
  }
}

@media (max-width: 992px) {
  .header__logo img {
    height: 26px;
  }
  .especialidades__wrapper {
    flex-direction: column-reverse !important;
    gap: 2rem;
    margin-top: 80px;
  }
  .especialidades__images {
    position: static;
    flex-direction: row;
    justify-content: center;
    gap: 0.5rem;
    height: auto;
  }
  .especialidades__content-wrapper {
    padding: 2rem 0 0 0;
  }
  .podologia.d-flex, .podologia.reflexologia.d-flex {
    flex-direction: column !important;
    gap: 2rem;
  }
  .podologia.silicona.d-flex {
    flex-direction: column-reverse !important;
  }
  .podologia-text.w-50, .podologia-images.w-50 {
    width: 100% !important;
  }
  .podologia-images {
    justify-content: center;
    gap: 0.5rem;
  }
  .plantillas__steps {
    flex-direction: column;
    gap: 1rem;
    padding-top: 80px;
  }
  
  .plantillas__icon {
    max-width: 40px;
  }
  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  footer {
    padding: 30px 10px;
  }
  
  .especialidades__wrapper {
      flex-direction: column;
  }

  .especialidades__images {
      flex-direction: row;
      flex-wrap: wrap;
  }

  .especialidades__image {
      width: calc(33.333% - 0.67rem);
  }

  .especialidades__content-wrapper {
      padding: 2rem 0;
  }
  .header__toggle {
    display: flex;
  }

  .header__nav {
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background: #fff;
      flex-direction: column;
      transform: translateY(-200%);
      opacity: 0;
      transition: transform 0.3s ease, opacity 0.3s ease;
      pointer-events: none;
  }

  .header__nav--active {
      transform: translateY(0);
      opacity: 1;
      pointer-events: all;
      background-color: var(--primary-color);
  }

  .header__list {
      flex-direction: column;
      align-items: center;
      gap: 1rem;
      padding: 1rem 0;
  }
  .carousel-caption h1 {
      font-size: 2.5rem;
  }

  .carousel-caption p {
      font-size: 1.1rem;
  }
  .header__link {
      color: #FFFFFF;
  }
  .plantillas__text-home-22 {
      font-size: 20px;
      display: inline;
  }
  
  .plantillas__text-home-24 {
      font-size: 22px;
  }
  .container-media{
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
  }
}

@media (max-width: 1200px) {
  .header__container {
    padding: 20px;
  }
  .especialidades-header__description {
    padding: 30px 0;
  }
}