:root {
  --main-color: #5a2128;
  --secondary-color: #8b454e;
  --main-dark: #3e151a;
  --light-bg: #fdf6f7;
  --font-family: 'Roboto', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: #333;
  background: #fff;
}
.container { width: 90%; max-width: 1100px; margin: 0 auto; }

.navbar {
  background: #fff;
  border-bottom: 2px solid var(--main-color);
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}
.logo-img {
  height: 100px;
}
.nav-list {
  list-style: none;
  display: flex;
  gap: 1.2rem;
}
.nav-list a {
  text-decoration: none;
  color: var(--main-dark);
  font-weight: 600;
}
.nav-list a:hover { color: var(--main-color); }

.whatsapp-icon-nav {
  width: 44px;
  height: 44px;
}

@media (max-width: 768px) {

  .navbar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
  }

  .logo-img {
    height: 80px;
  }

  .nav-list {
    display: none;
  }
}

.hero {
  background: var(--light-bg);
  padding: 4rem 0;
}
@media (max-width: 768px) {
  .hero {
    padding: 1rem 0;
  }
}
.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.hero-text {
  flex: 1;
  min-width: 300px;
  margin-right: 2rem;
}

.hero-text h1 {
  font-size: 2.4rem;
  color: var(--main-color);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.hero-img {
  flex: 1;
  position: relative;
  min-width: 300px;
}
.hero-img img {
  max-width: 100%;
  border-radius: 10px;
}
.ribbon {
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 140px;
  opacity: 0.9;
}

.btn-primary {
  background: var(--main-color);
  color: #fff;
  padding: 0.9rem 1.8rem;
  border: none;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .3s, box-shadow .3s;
  animation: glowPulse 2s infinite;
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--main-dark);
}
@keyframes glowPulse {
  0% { box-shadow: 0 0 8px rgba(90,33,40,0.4); transform: scale(1); }
  50% { box-shadow: 0 0 18px rgba(90,33,40,0.8); transform: scale(1.05); }
  100% { box-shadow: 0 0 8px rgba(90,33,40,0.4); transform: scale(1); }
}
.whatsapp-btn {
  margin-top: 1rem;
}
.whatsapp-icon {
  width: 22px;
  height: 22px;
}

.benefits {
  padding: 4rem 0;
}
.benefits h2 {
  text-align: center;
  color: var(--main-color);
  margin-bottom: 2rem;
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 1.5rem;
}
.benefit-card {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.benefit-card h3 {
  color: var(--main-dark);
  margin-bottom: 0.8rem;
}

.testimonials {
  background: var(--light-bg);
  padding: 4rem 0;
}
.testimonials h2 {
  text-align: center;
  color: var(--main-color);
  margin-bottom: 2rem;
}
.testimonial-carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
}
.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.25rem 0.25rem 0.75rem;
  -webkit-overflow-scrolling: touch;
}
.carousel-track:focus {
  outline: 2px solid rgba(90, 33, 40, 0.35);
  outline-offset: 6px;
  border-radius: 10px;
}
.carousel-track::-webkit-scrollbar { height: 10px; }
.carousel-track::-webkit-scrollbar-thumb {
  background: rgba(90, 33, 40, 0.25);
  border-radius: 999px;
}
.testimonial-card {
  scroll-snap-align: start;
  background: #fff;
  border-radius: 10px;
  padding: 1.25rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  border: 1px solid rgba(90, 33, 40, 0.12);
  display: flex;
  flex-direction: column;
}
.stars {
  color: #f4b400;
  letter-spacing: 1px;
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}
.testimonial-card p {
  color: #333;
  line-height: 1.55;
}
.testimonial-name {
  margin-bottom: 0.4rem;
  font-weight: 700;
  color: var(--main-dark);
}
.testimonial-card p[data-testimonial-text] {
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.55em * 8);
  max-height: calc(1.55em * 8);
  transition: max-height 0.35s ease;
}
.testimonial-card.is-expanded p[data-testimonial-text] {
  -webkit-line-clamp: unset;
  min-height: 0;
  max-height: 2000px;
  overflow: visible;
}
.testimonial-more {
  margin-top: 0.75rem;
  align-self: flex-start;
  border: 0;
  background: transparent;
  color: var(--main-color);
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
}
.testimonial-more:hover { color: var(--main-dark); text-decoration: underline; }
.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(90, 33, 40, 0.25);
  background: #fff;
  color: var(--main-color);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.carousel-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.10);
  background: var(--light-bg);
}
.carousel-btn:active { transform: translateY(0); }

.faq {
  background: var(--light-bg);
  padding: 4rem 0;
}
.faq h2 {
  text-align: center;
  color: var(--main-color);
  margin-bottom: 2rem;
}
.faq-item {
  margin-bottom: 1rem;
  background: #fff;
  border-radius: 5px;
  padding: 1rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--main-dark);
}
.faq-item p { margin-top: 0.5rem; }

.form-section {
  padding: 4rem 0;
}

.form-section .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.form-section h2 {
  text-align: center;
  color: var(--main-color);
  margin-bottom: 1rem;
}

.form-section .btn-primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.footer {
  background: var(--secondary-color);
  color: #fff;
  text-align: center;
  padding: 1.5rem 0;
}
.footer-logo {
  width: 60px;
  margin-bottom: .5rem;
}
.footer a {
  color: #fff;
  text-decoration: underline;
}
.footer a:hover { color: #ffcc00; }

.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}
.whatsapp-float img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .hero-content { flex-direction: column; text-align: center; }
  .hero-img { margin-top: 2rem; }
  .ribbon { display: none; }
  .hero-text { margin-right: 0; min-width: 0; }
  .hero-text h1 { font-size: 1.8rem; margin-bottom: 0.75rem; }
  .hero-text p { font-size: 0.98rem; line-height: 1.45; }
  .whatsapp-btn { margin-top: 0.75rem; }
  .btn-primary { padding: 0.85rem 1.4rem; font-size: 0.98rem; }
  .hero-img { margin-top: 1.25rem; }
  .testimonials { padding: 3rem 0; }
  .testimonial-carousel { grid-template-columns: 1fr; }
  .carousel-btn { display: none; }
}

@media (max-width: 480px) {
  .hero-text h1 { font-size: 1.55rem; }
  .hero-text p { font-size: 0.95rem; }
  .hero-img { display: block; width: 100%; max-width: 320px; margin-top: 1rem; }
  .hero-img img { width: 100%; max-height: 210px; object-fit: cover; }
}

@media (max-width: 768px) {
  .hide-mobile { display: none; }
}
