/* Global Styles */
:root {
  --primary-color: #2aa2b2;
  --secondary-color: #f5f5f5;
  --whatsapp-color: #8ae234;
  --white: #ffffff;
  --dark-gray: #333333;
  --light-gray: #777777;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--white);
  overflow-x: hidden;
}

/* Header */
header {
  background-color: var(--white);
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  max-width: 30%;
  height: auto;
}

.logo h1 {
  font-size: 1.8rem;
  color: var(--primary-color);
  font-weight: 700;
}

.logo span {
  color: var(--dark-gray);
}

.header-cta {
  background-color: var(--whatsapp-color);
  color: var(--white);
  padding: 0.7rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(138, 226, 52, 0.4);
}

.header-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(138, 226, 52, 0.5);
}

.header-cta i {
  margin-right: 8px;
  font-size: 1.2rem;
}

/* Navigation */
.main-nav {
  background-color: var(--white);
  width: 100%;
  padding: 0 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--dark-gray);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  background-color: var(--primary-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 70%;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  background-color: var(--dark-gray);
  border-radius: 1px;
}

.logo,
.header-cta,
.hamburger {
  flex-shrink: 1;
}

/* Hero Section */
.hero {
  background-color: var(--primary-color);
  background-image: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    #1d7580 100%
  );
  color: var(--white);
  padding: 9rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero-text {
  flex: 1;
  max-width: 600px;
}

.hero-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  opacity: 0.9;
}

.hero-cta {
  background-color: var(--whatsapp-color);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin-top: 1rem;
}

.hero-cta:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.hero-cta i {
  margin-right: 10px;
  font-size: 1.3rem;
}

.hero-image {
  flex: 1;
  position: relative;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: perspective(1000px) rotateY(-5deg);
  transition: all 0.5s ease;
}

.hero-image img:hover {
  transform: perspective(1000px) rotateY(0);
}

.hero-shape {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: var(--white);
  clip-path: polygon(0 50%, 100% 0, 100% 100%, 0% 100%);
}

.services {
  padding: 5rem 0;
  background-color: var(--secondary-color);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h3 {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title h3::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 4px;
  background-color: var(--primary-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.section-title p {
  color: var(--light-gray);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background-color: var(--white);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 0;
  background-color: var(--primary-color);
  transition: all 0.5s ease;
}

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.service-card h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--dark-gray);
  transition: all 0.3s ease;
}

.service-card:hover h4 {
  color: var(--primary-color);
  transform: translateX(8px);
}

.service-card p {
  color: var(--light-gray);
  line-height: 1.6;
  flex-grow: 1;
}

.service-price {
  margin-top: 1rem;
  font-weight: bold;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-price-tag {
  background-color: rgba(42, 162, 178, 0.1);
  padding: 5px 10px;
  border-radius: 5px;
}

.benefits {
  padding: 5rem 0;
  background-color: var(--white);
}

.benefits-container {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.benefits-image {
  flex: 1;
  position: relative;
}

.benefits-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.benefits-content {
  flex: 1;
}

.benefits-content h3 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.benefits-list {
  list-style: none;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-left: 10px;
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
}

.benefit-item:hover {
  border-left: 3px solid var(--primary-color);
  transform: translateX(5px);
}

.benefit-icon {
  background-color: rgba(42, 162, 178, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: var(--primary-color);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.benefit-text h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--dark-gray);
}

.benefit-text p {
  color: var(--light-gray);
  line-height: 1.6;
}

.testimonials {
  padding: 5rem 0;
  background-color: var(--secondary-color);
  position: relative;
  overflow: hidden;
}

.testimonial-container {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-card {
  background-color: var(--white);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin: 1rem 0;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 4rem;
  color: rgba(42, 162, 178, 0.1);
  font-family: Georgia, serif;
}

.testimonial-content {
  font-style: italic;
  color: var(--light-gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.author-info h5 {
  font-size: 1.1rem;
  color: var(--dark-gray);
  margin-bottom: 0.3rem;
}

.author-info span {
  color: var(--primary-color);
  font-size: 0.9rem;
}

.rating {
  color: #ffd700;
  margin-top: 0.5rem;
}

.cta-section {
  padding: 5rem 0;
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-whatsapp {
  background-color: var(--whatsapp-color);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-whatsapp:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.cta-whatsapp i {
  margin-right: 10px;
  font-size: 1.3rem;
}

.guarantee {
  text-align: center;
  padding: 2rem 0;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-top: 3rem;
}

.guarantee h4 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.guarantee p {
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.faq-section {
  padding: 5rem 0;
  background-color: var(--white);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  background-color: var(--white);
  transition: all 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
  padding: 1.2rem;
  background-color: var(--secondary-color);
  color: var(--dark-gray);
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background-color: #e8e8e8;
}

.faq-question i {
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background-color: var(--white);
}

.faq-answer-content {
  padding: 1.2rem;
  color: var(--light-gray);
  line-height: 1.6;
}

.faq-item.active .faq-question {
  background-color: var(--primary-color);
  color: var(--white);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: var(--white);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.location {
  padding: 5rem 0;
  background-color: var(--secondary-color);
}

.location-container {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.location-map {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.location-map iframe {
  width: 100%;
  display: block;
  height: 350px;
  object-fit: cover;
}

.location-info {
  flex: 1;
}

.location-info h3 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.location-detail {
  display: flex;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.location-icon {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-right: 15px;
  width: 20px;
}

.location-text {
  color: var(--light-gray);
  line-height: 1.6;
}

.location-text h4 {
  color: var(--dark-gray);
  margin-bottom: 0.5rem;
}

.working-hours {
  margin-top: 2rem;
}

.working-hours h4 {
  color: var(--dark-gray);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  color: var(--light-gray);
  padding: 0.5rem 0;
  border-bottom: 1px dashed #eee;
}

.hours-day {
  font-weight: bold;
}

footer {
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 3rem 0 1.5rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.footer-logo img {
  width: 105px;
  height: 52px;
}

.footer-logo h2 {
  font-size: 1.5rem;
  color: var(--white);
}

.footer-logo span {
  color: var(--primary-color);
}

.footer-about p {
  color: #aaa;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white);
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-services h3,
.footer-contact h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-services h3::after,
.footer-contact h3::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  bottom: 0;
  left: 0;
}

.footer-services ul {
  list-style: none;
}

.footer-services li {
  margin-bottom: 0.8rem;
}

.footer-services a {
  color: #aaa;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.footer-services a::before {
  content: "→";
  margin-right: 8px;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.footer-services a:hover {
  color: var(--white);
  transform: translateX(5px);
}

.footer-services a:hover::before {
  transform: translateX(3px);
}

.contact-info {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  color: #aaa;
}

.contact-icon {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 1.1rem;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
  font-size: 0.9rem;
}

.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--whatsapp-color);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white);
  font-size: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 999;
  cursor: pointer;
  transition: all 0.3s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  background-color: var(--primary-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white);
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 999;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.to-top.active {
  opacity: 1;
  visibility: visible;
}

.to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
  .header-container {
    flex-wrap: nowrap;
    gap: 0.5rem;
  }

  .nav-container {
    width: 100%;
  }

  .hero-content,
  .benefits-container,
  .location-container {
    flex-direction: column;
  }

  .hero-text,
  .benefits-content,
  .location-info {
    order: 1;
  }

  .hero-image,
  .benefits-image,
  .location-map {
    order: 2;
    margin-top: 2rem;
  }

  .hero-image {
    height: 300px;
  }
  .logo img {
    max-width: 75%;
    height: auto;
  }

  .location-map img {
    height: 250px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .header-container {
    flex-direction: row;
    gap: 0.5rem;
  }

  .hamburger {
    display: block;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    gap: 0;
    flex-direction: column;
    background-color: var(--white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .nav-link {
    padding: 1.5rem 0;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-menu.active {
    left: 0;
  }

  .hero {
    padding: 8rem 0 4rem;
  }

  .hero-text h2 {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-whatsapp {
    width: 100%;
    justify-content: center;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .logo h1 {
    font-size: 1.5rem;
  }

  .header-cta {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .hero-text h2 {
    font-size: 1.8rem;
  }

  .section-title h3 {
    font-size: 1.8rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .floating-whatsapp {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }

  .to-top {
    width: 40px;
    height: 40px;
    bottom: 80px;
    right: 20px;
    font-size: 1rem;
  }
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.slide-in-left.active {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.slide-in-right.active {
  opacity: 1;
  transform: translateX(0);
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.float-animation {
  animation: float 3s ease-in-out infinite;
}
