/* ===== VARIABLES CSS ===== */
:root {
  --header-height: 4rem;

  /* Colors */
  --dark-olive: #424822;
  --orange: #da7a00;
  --light-cream: #edf0da;
  --sage-green: #8a9263;
  --light-orange: #ffb353;

  --white-color: #ffffff;
  --black-color: #000000;
  --gray-color: #6b7280;
  --light-gray: #f3f4f6;

  /* Typography */
  --body-font: "Poppins", sans-serif;
  --title-font: "Playfair Display", serif;

  --biggest-font-size: 3rem;
  --h1-font-size: 2.25rem;
  --h2-font-size: 1.75rem;
  --h3-font-size: 1.25rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;
  --smaller-font-size: 0.75rem;

  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;

  /* Spacing */
  --mb-0-25: 0.25rem;
  --mb-0-5: 0.5rem;
  --mb-0-75: 0.75rem;
  --mb-1: 1rem;
  --mb-1-25: 1.25rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mb-3: 3rem;

  /* Z-index */
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;

  /* Shadows */
  --shadow-light: 0 2px 8px rgba(66, 72, 34, 0.1);
  --shadow-medium: 0 4px 16px rgba(66, 72, 34, 0.15);
  --shadow-heavy: 0 8px 32px rgba(66, 72, 34, 0.2);

  /* Border radius */
  --border-radius: 0.75rem;
  --border-radius-lg: 1.5rem;
}

/* Responsive typography */
@media screen and (max-width: 992px) {
  :root {
    --biggest-font-size: 2.25rem;
    --h1-font-size: 1.75rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.125rem;
  }
}

/* ===== BASE ===== */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--light-cream);
  color: var(--dark-olive);
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  color: var(--dark-olive);
  font-weight: var(--font-semi-bold);
  font-family: var(--title-font);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
}

/* ===== REUSABLE CSS CLASSES ===== */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.grid {
  display: grid;
}

.section {
  padding: 6rem 0 2rem;
}

.section__header {
  text-align: center;
  margin-bottom: var(--mb-3);
}

.section__subtitle {
  display: inline-block;
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  color: var(--orange);
  background-color: rgba(218, 122, 0, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  margin-bottom: var(--mb-1);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section__title {
  font-size: var(--h1-font-size);
  color: var(--dark-olive);
  margin-bottom: var(--mb-1);
  font-family: var(--title-font);
}

.section__description {
  color: var(--sage-green);
  max-width: 600px;
  margin: 0 auto;
}

.highlight {
  color: var(--orange);
  position: relative;
}

.highlight::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--light-orange));
  border-radius: 2px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  font-weight: var(--font-medium);
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: var(--normal-font-size);
}

.btn--primary {
  background: linear-gradient(135deg, var(--orange), var(--light-orange));
  color: var(--white-color);
  box-shadow: var(--shadow-medium);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-heavy);
}

.btn--ghost {
  background: transparent;
  color: var(--dark-olive);
  border: 2px solid var(--sage-green);
}

.btn--ghost:hover {
  background: var(--sage-green);
  color: var(--white-color);
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* ===== PROGRESS BAR ===== */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--light-orange));
  z-index: var(--z-fixed);
  transition: width 0.3s ease;
}

/* ===== HEADER & NAV ===== */
.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: rgba(237, 240, 218, 0.95);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--dark-olive);
  font-weight: var(--font-bold);
  font-size: var(--h3-font-size);
}

.nav__logo i {
  color: var(--orange);
  font-size: 1.5rem;
}

.nav__list {
  display: flex;
  gap: 2rem;
}

.nav__link {
  color: var(--dark-olive);
  font-weight: var(--font-medium);
  transition: color 0.3s ease;
  position: relative;
}

.nav__link:hover,
.nav__link.active-link {
  color: var(--orange);
}

.nav__link.active-link::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav__toggle,
.nav__close {
  display: none;
  font-size: 1.25rem;
  color: var(--dark-olive);
  cursor: pointer;
}

/* ===== HOME ===== */
.home {
  padding-top: calc(var(--header-height) + 2rem);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.home__container {
  gap: 3rem;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.home__subtitle {
  font-size: var(--small-font-size);
  color: var(--sage-green);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb-1);
  display: block;
}

.home__title {
  font-size: var(--biggest-font-size);
  font-weight: var(--font-bold);
  line-height: 1.2;
  margin-bottom: var(--mb-1-5);
  font-family: var(--title-font);
}

.home__description {
  color: var(--sage-green);
  margin-bottom: var(--mb-2-5);
  font-size: 1.1rem;
  line-height: 1.7;
}

.home__buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: var(--mb-3);
  flex-wrap: wrap;
}

.home__stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat__number {
  display: block;
  font-size: var(--h2-font-size);
  font-weight: var(--font-bold);
  color: var(--orange);
  font-family: var(--title-font);
}

.stat__text {
  font-size: var(--small-font-size);
  color: var(--sage-green);
}

.home__image {
  position: relative;
  display: flex;
  justify-content: center;
}

.home__blob {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, var(--sage-green), var(--light-orange));
  border-radius: 50% 40% 60% 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: blob 8s ease-in-out infinite;
}

.home__img {
  width: 350px;
  height: 350px;
  object-fit: cover;
  border-radius: 50% 40% 60% 30%;
}

@keyframes blob {
  0%,
  100% {
    border-radius: 50% 40% 60% 30%;
  }
  25% {
    border-radius: 30% 60% 40% 50%;
  }
  50% {
    border-radius: 60% 30% 50% 40%;
  }
  75% {
    border-radius: 40% 50% 30% 60%;
  }
}

.home__floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
}

.floating-card {
  position: absolute;
  background: var(--white-color);
  padding: 1rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-medium);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  animation: float 6s ease-in-out infinite;
}

.floating-card i {
  color: var(--orange);
  font-size: 1.25rem;
}

.floating-card--1 {
  top: 20%;
  right: -10%;
  animation-delay: 0s;
}

.floating-card--2 {
  bottom: 30%;
  left: -15%;
  animation-delay: 2s;
}

.floating-card--3 {
  top: 60%;
  right: -5%;
  animation-delay: 4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* ===== ABOUT ===== */
.about {
  background: var(--white-color);
}

.about__container {
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__image {
  position: relative;
}

.about__img {
  width: 100%;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-medium);
}

.about__experience {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  background: var(--orange);
  color: var(--white-color);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-heavy);
}

.about__experience-number {
  display: block;
  font-size: var(--h2-font-size);
  font-weight: var(--font-bold);
  font-family: var(--title-font);
}

.about__experience-text {
  font-size: var(--small-font-size);
  line-height: 1.2;
}

.about__title {
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-1);
  color: var(--dark-olive);
  font-family: var(--title-font);
}

.about__description {
  color: var(--sage-green);
  margin-bottom: var(--mb-1-5);
  line-height: 1.7;
}

.about__info {
  margin: var(--mb-2-5) 0;
}

.about__info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: var(--mb-1-5);
}

.about__info-item i {
  font-size: 1.5rem;
  color: var(--orange);
  width: 2rem;
}

.about__info-item h4 {
  font-size: var(--normal-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: 0.25rem;
}

.about__info-item span {
  color: var(--sage-green);
  font-size: var(--small-font-size);
}

/* ===== SERVICES ===== */
.services__container {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service__card {
  background: var(--white-color);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-light);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  border: 2px solid transparent;
}

.service__card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-heavy);
  border-color: var(--orange);
}

.service__card--featured {
  border-color: var(--orange);
  transform: scale(1.05);
}

.service__badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white-color);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
}

.service__icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--orange), var(--light-orange));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--mb-1-5);
  font-size: 2rem;
  color: var(--white-color);
}

.service__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
  font-family: var(--title-font);
}

.service__description {
  color: var(--sage-green);
  margin-bottom: var(--mb-2);
  line-height: 1.6;
}

.service__features {
  text-align: left;
  margin-bottom: var(--mb-2);
}

.service__features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--sage-green);
  font-size: var(--small-font-size);
}

.service__features i {
  color: var(--orange);
  font-size: 0.875rem;
}

.service__price {
  border-top: 1px solid var(--light-gray);
  padding-top: var(--mb-1-5);
}

.service__price-value {
  font-size: var(--h2-font-size);
  font-weight: var(--font-bold);
  color: var(--orange);
  font-family: var(--title-font);
}

.service__price-period {
  color: var(--sage-green);
  font-size: var(--small-font-size);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: var(--light-cream);
}

.testimonials__container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.link-comentario{
  color: #424822;
  cursor: pointer;
  transition: color 0.2s;
  
}

.link-comentario:hover {
  color:#da7a00;
  text-decoration: underline;
}

.testimonial__card {
  display: none;
  opacity: 0;
  transition: all 0.5s ease;
}

.testimonial__card.active {
  display: block;
  opacity: 1;
}

.testimonial__content {
  background: var(--white-color);
  padding: 3rem 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-medium);
  text-align: center;
}

.testimonial__stars {
  margin-bottom: var(--mb-1-5);
}

.testimonial__stars i {
  color: var(--light-orange);
  font-size: 1.25rem;
  margin: 0 0.125rem;
}

.testimonial__text {
  font-size: 1.1rem;
  color: var(--dark-olive);
  line-height: 1.7;
  margin-bottom: var(--mb-2);
  font-style: italic;
}

.testimonial__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonial__img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial__name {
  font-size: var(--normal-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: 0.25rem;
}

.testimonial__job {
  color: var(--sage-green);
  font-size: var(--small-font-size);
}

.testimonials__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: var(--mb-2);
}

.testimonial__btn {
  background: var(--white-color);
  border: 2px solid var(--sage-green);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage-green);
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.testimonial__btn:hover {
  background: var(--sage-green);
  color: var(--white-color);
}

.testimonials__dots {
  display: flex;
  gap: 0.5rem;
}

.testimonial__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--sage-green);
  opacity: 0.3;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial__dot.active {
  opacity: 1;
  background: var(--orange);
}

/* ===== CONTACT ===== */
.contact {
  background: var(--white-color);
}

.contact__container {
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact__card {
  background: var(--light-cream);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  transition: all 0.3s ease;
}

.contact__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.contact__card i {
  font-size: 2rem;
  color: var(--orange);
  margin-bottom: var(--mb-1);
}

.contact__card h3 {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-5);
  font-family: var(--title-font);
}

.contact__card p {
  color: var(--sage-green);
  line-height: 1.6;
}

.contact__form {
  background: var(--light-cream);
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-light);
}

.form__group {
  position: relative;
  margin-bottom: var(--mb-2);
}

.form__group--full {
  grid-column: 1 / -1;
}

.form__input {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--sage-green);
  border-radius: var(--border-radius);
  background: var(--white-color);
  color: var(--dark-olive);
  font-family: inherit;
  font-size: var(--normal-font-size);
  transition: all 0.3s ease;
}

.form__input:focus {
  outline: none;
  border-color: var(--orange);
}

.form__input:focus + .form__label,
.form__input:not(:placeholder-shown) + .form__label {
  top: -0.5rem;
  left: 1rem;
  font-size: var(--small-font-size);
  color: var(--orange);
  background: var(--light-cream);
  padding: 0 0.5rem;
}

.form__label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: var(--sage-green);
  font-size: var(--normal-font-size);
  transition: all 0.3s ease;
  pointer-events: none;
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark-olive);
  color: var(--white-color);
  padding: 3rem 0 1rem;
}

.footer__content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: var(--mb-2);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--h3-font-size);
  font-weight: var(--font-bold);
  margin-bottom: var(--mb-1);
}

.footer__logo i {
  color: var(--orange);
  font-size: 1.5rem;
}

.footer__description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: var(--mb-1-5);
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-color);
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.footer__social-link:hover {
  background: var(--orange);
  transform: translateY(-3px);
}

.footer__links h4,
.footer__contact h4 {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
  font-family: var(--title-font);
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer__links a:hover {
  color: var(--orange);
}

.footer__contact p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer__contact i {
  color: var(--orange);
  width: 1rem;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--mb-1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--small-font-size);
}

/* ===== SCROLL TO TOP ===== */
.scrolltop {
  position: fixed;
  right: 1rem;
  bottom: -20%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem;
  background: var(--orange);
  border-radius: 50%;
  z-index: var(--z-tooltip);
  transition: all 0.4s ease;
  color: var(--white-color);
  width: 50px;
  height: 50px;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
}

.scrolltop:hover {
  background: var(--light-orange);
  transform: translateY(-3px);
  color: var(--white-color);
}

.show-scroll {
  bottom: 2rem;
  opacity: 1;
  visibility: visible;
}

/* ===== MEDIA QUERIES ===== */
/* For large devices */
@media screen and (max-width: 992px) {
  .container {
    margin-left: var(--mb-1-5);
    margin-right: var(--mb-1-5);
  }

  .home__container,
  .about__container,
  .contact__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .home__image {
    order: -1;
  }

  .home__blob {
    width: 300px;
    height: 300px;
  }

  .home__img {
    width: 250px;
    height: 250px;
  }

  .floating-card {
    display: none;
  }

  .services__container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .footer__content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* For medium devices */
@media screen and (max-width: 768px) {
  .header {
    background-color: rgba(237, 240, 218, 0.98);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(66, 72, 34, 0.1);
  }

  .nav {
    height: var(--header-height);
    padding: 0 1rem;
  }

  .nav__menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--light-cream);
    padding: 5rem 2rem 2rem;
    transition: left 0.3s ease;
    z-index: var(--z-modal);
  }

  .nav__menu.show-menu {
    left: 0;
  }

  .nav__list {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }

  .nav__link {
    font-size: var(--h3-font-size);
    font-weight: var(--font-medium);
  }

  .nav__close,
  .nav__toggle {
    display: block;
    z-index: var(--z-modal);
  }

  .nav__toggle {
    font-size: 1.5rem;
  }

  .nav__close {
    position: absolute;
    right: 2rem;
    top: 2rem;
    font-size: 2rem;
  }

  .nav__actions {
    display: none;
  }

  /* Fix home section padding for mobile */
  .home {
    padding-top: calc(var(--header-height) + 1rem);
  }

  .home__buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .home__buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .home__stats {
    justify-content: center;
    gap: 1.5rem;
  }

  .section {
    padding: 4rem 0 2rem;
  }

  .testimonials__controls {
    flex-direction: column;
    gap: 1rem;
  }

  /* Fix contact form on mobile */
  .contact__form {
    padding: 2rem 1.5rem;
  }

  .form__input,
  .form__textarea {
    font-size: 16px; /* Prevents zoom on iOS */
  }
}

/* For small devices */
@media screen and (max-width: 576px) {
  .container {
    margin-left: 1rem;
    margin-right: 1rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .nav {
    padding: 0 0.5rem;
  }

  .nav__menu {
    padding: 4rem 1.5rem 2rem;
  }

  .home {
    padding-top: calc(var(--header-height) + 0.5rem);
  }

  .home__title {
    font-size: 2rem;
    line-height: 1.2;
  }

  .home__description {
    font-size: 1rem;
  }

  .home__buttons .btn {
    padding: 0.875rem 1.5rem;
    font-size: var(--normal-font-size);
  }

  .service__card {
    padding: 1.5rem 1.25rem;
  }

  .contact__form {
    padding: 1.5rem 1rem;
  }

  .footer__content {
    gap: 1.5rem;
  }

  .scrolltop {
    right: 0.5rem;
    width: 45px;
    height: 45px;
  }

  /* Fix specialty cards on mobile */
  .specialties-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .specialty-card {
    padding: 1.5rem 1rem;
  }

  .card-icon {
    width: 50px;
    height: 50px;
  }

  .card-icon svg {
    width: 24px;
    height: 24px;
  }
}

/* For extra small devices */
@media screen and (max-width: 480px) {
  :root {
    --header-height: 3.5rem;
  }

  .nav__menu {
    padding: 3.5rem 1rem 2rem;
  }

  .nav__close {
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
  }

  .home__title {
    font-size: 1.75rem;
  }

  .section__title {
    font-size: 1.5rem;
  }

  .btn {
    padding: 0.75rem 1.25rem;
    font-size: var(--small-font-size);
  }
}

/* Prevent horizontal scroll */
html,
body {
  overflow-x: hidden;
}

.container {
  overflow-x: hidden;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.6s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}
/* Texto principal da seção */
.appointment-text h2 {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--therapy-primary);
}

.appointment-text p {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: var(--therapy-secondary);
  opacity: 0.95;
}

/* Lista de diferenciais */
.appointment-features {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.appointment-features .feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--text-color, #333);
}

.appointment-features .feature svg {
  width: 22px;
  height: 22px;
  color: var(--therapy-warm);
  flex-shrink: 0;
}

/* Cartão do CTA */
.cta-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.cta-card:hover {
  transform: translateY(-5px);
}

.cta-card h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--therapy-primary);
  margin-bottom: 1rem;
}

.cta-card p {
  font-size: 1.1rem;
  color: var(--therapy-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Botão do WhatsApp */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.5rem;
  background-color: #25d366;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-whatsapp:hover {
  background-color: #1ebe5d;
}

.btn-icon {
  width: 20px;
  height: 20px;
}

/* Nota abaixo do botão */
.cta-note {
  display: block;
  font-size: 0.875rem;
  color: var(--therapy-secondary);
  margin-top: 1rem;
  opacity: 0.8;
}
/* ===== ESPECIALIDADES SECTION ===== */
.specialties {
  background: var(--white-color);
  padding: 6rem 0 2rem;
}

.specialties .section-header {
  text-align: center;
  margin-bottom: 4rem;
  padding: 0 1rem;
}

.specialties .section-subtitle {
  display: inline-block;
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  color: var(--orange);
  background-color: rgba(218, 122, 0, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  margin-bottom: var(--mb-1);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.specialties .section-title {
  font-size: var(--h1-font-size);
  color: var(--dark-olive);
  margin-bottom: var(--mb-1);
  font-family: var(--title-font);
  line-height: 1.2;
}

.specialties .section-description {
  color: var(--sage-green);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.7;
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.specialty-card {
  background: var(--white-color);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-light);
  border: 2px solid transparent;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.specialty-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--light-orange));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.specialty-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-heavy);
  border-color: rgba(218, 122, 0, 0.2);
}

.specialty-card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--orange), var(--light-orange));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.card-icon svg {
  width: 32px;
  height: 32px;
  color: var(--white-color);
  stroke-width: 2;
}

.card-title {
  font-size: var(--h3-font-size);
  color: var(--dark-olive);
  margin-bottom: 1rem;
  font-family: var(--title-font);
  font-weight: var(--font-semi-bold);
  line-height: 1.3;
}

.card-description {
  color: var(--sage-green);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: 0.95rem;
}

.card-features {
  list-style: none;
  padding: 0;
}

.card-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--sage-green);
  font-size: var(--small-font-size);
  line-height: 1.5;
  position: relative;
  padding-left: 1rem;
}

.card-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--orange);
  font-weight: var(--font-bold);
  font-size: 0.875rem;
  width: 16px;
  height: 16px;
  background: rgba(218, 122, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

/* Animações de entrada */
.specialty-card {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.specialty-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Delay escalonado para animação */
.specialty-card:nth-child(1) {
  transition-delay: 0.1s;
}
.specialty-card:nth-child(2) {
  transition-delay: 0.2s;
}
.specialty-card:nth-child(3) {
  transition-delay: 0.3s;
}
.specialty-card:nth-child(4) {
  transition-delay: 0.4s;
}
.specialty-card:nth-child(5) {
  transition-delay: 0.5s;
}
.specialty-card:nth-child(6) {
  transition-delay: 0.6s;
}

/* Responsividade */
@media screen and (max-width: 992px) {
  .specialties-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
  }

  .specialty-card {
    padding: 2rem 1.5rem;
  }

  .specialties .section-title {
    font-size: var(--h2-font-size);
  }
}

@media screen and (max-width: 768px) {
  .specialties {
    padding: 4rem 0 2rem;
  }

  .specialties-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .specialty-card {
    padding: 2rem 1.5rem;
  }

  .card-icon {
    width: 60px;
    height: 60px;
  }

  .card-icon svg {
    width: 28px;
    height: 28px;
  }
}

@media screen and (max-width: 576px) {
  .specialties .section-header {
    margin-bottom: 2.5rem;
  }

  .specialty-card {
    padding: 1.5rem 1.25rem;
  }

  .card-title {
    font-size: 1.1rem;
  }

  .card-description {
    font-size: 0.9rem;
  }
}

/* Estados de hover melhorados */
@media (hover: hover) {
  .specialty-card:hover .card-title {
    color: var(--orange);
    transition: color 0.3s ease;
  }

  .specialty-card:hover .card-features li::before {
    background: var(--orange);
    color: var(--white-color);
    transform: scale(1.1);
  }
}

/* Acessibilidade */
.specialty-card:focus-within {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .specialty-card,
  .card-icon,
  .specialty-card::before {
    transition: none;
  }

  .specialty-card:hover {
    transform: none;
  }
}
