/* ============================================
   PMF TOURS - STYLESHEET OPTIMIZADO v5.3
   FIXES: Centrado hero móvil, franja gris, WhatsApp, Performance
   ============================================ */

:root {
  --pmf-rojo: #a70007;
  --pmf-verde: #058600;
  --pmf-teal: #01979e;
  --pmf-amarillo: #ffd202;
  --gris-claro: #f5f5f5;
  --blanco: #ffffff;
  --negro: #333333;
  --gris: #666666;
  --header-height: 80px;
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 14px 40px rgba(0, 0, 0, 0.14);
  --card-radius: 14px;
}

/* ============================================
   RESET & BASE
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: "Open Sans", sans-serif;
  color: var(--negro);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: var(--header-height);
  background: var(--blanco) !important;
  margin: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--blanco);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition);
  will-change: transform;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-image {
  width: 140px;
  height: auto;
  transition: var(--transition);
}

.logo-text {
  font-weight: 800;
  font-size: 20px;
  color: var(--pmf-rojo);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  color: var(--negro);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  padding: 6px 0;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--pmf-teal);
}

/* Language Switcher */
.language-switcher { position: relative; }

.lang-btn {
  background: transparent;
  border: 2px solid var(--gris-claro);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

#currentLang {
  font-weight: 700;
  color: var(--pmf-rojo);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: var(--blanco);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  min-width: 150px;
  display: none;
  z-index: 10;
}

.lang-dropdown a {
  display: block;
  padding: 10px 15px;
  color: var(--negro);
  text-decoration: none;
}

.lang-dropdown a:hover {
  background: var(--gris-claro);
}

.btn-whatsapp-nav {
  background: var(--pmf-amarillo) !important;
  color: var(--pmf-rojo) !important;
  padding: 10px 16px !important;
  border-radius: 40px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  box-shadow: 0 4px 10px rgba(255, 210, 2, 0.18);
}

.btn-whatsapp-nav:hover {
  background: var(--pmf-rojo) !important;
  color: white !important;
}

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

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--pmf-rojo);
  border-radius: 2px;
}

/* ============================================
   HERO - OPTIMIZADO PARA MÓVIL (CENTRADO VERTICAL)
   ============================================ */
.hero {
  margin-top: calc(-1 * var(--header-height));
  position: relative;
  height: 85vh;
  min-height: 550px;
  max-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--blanco) !important;
  margin-bottom: 0 !important;
}

.hero-slider {
  position: absolute;
  inset: 0;
  background: var(--blanco);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s ease;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  filter: brightness(1.15) contrast(1.12) saturate(1.25) hue-rotate(-5deg);
  transition: filter 0.3s ease;
  will-change: auto;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.3), rgba(0,0,0,0.4));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
  max-width: 760px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.hero-title {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  margin-bottom: 14px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.55);
  color: #ffffff;
  font-weight: 800;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  margin-bottom: 26px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.45);
  color: #ffffff;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none !important;
}

.btn-primary {
  background: var(--pmf-amarillo);
  color: var(--pmf-rojo);
}

.btn-primary:hover {
  background: var(--pmf-rojo);
  color: #fff;
  transform: translateY(-3px);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: var(--pmf-rojo);
}

.btn-service {
  background: var(--pmf-teal);
  color: #fff;
  width: 100%;
  justify-content: center;
}

.btn-service:hover {
  background: var(--pmf-verde);
}

.btn-large {
  padding: 16px 36px !important;
  font-size: 15px !important;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 68px 0;
  background: var(--blanco);
  margin: 0 !important;
}

.section:nth-child(even):not(.how-it-works) {
  background: var(--gris-claro);
}

.section.how-it-works {
  background: var(--blanco) !important;
  padding-top: 80px !important;
  margin-top: 0 !important;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 42px;
}

.section-label {
  display: inline-block;
  background: rgba(1,151,158,0.08);
  color: var(--pmf-teal);
  padding: 6px 16px;
  border-radius: 25px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3.4vw, 2.3rem);
  color: var(--pmf-rojo);
  margin-bottom: 12px;
}

.section-subtitle {
  max-width: 650px;
  margin: 0 auto;
  font-size: 0.95rem;
  color: var(--gris);
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.step-card {
  background: var(--blanco);
  padding: 32px 18px;
  border-radius: 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--pmf-rojo);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.step-content h3 {
  color: var(--pmf-rojo);
  margin: 18px 0 10px;
  font-size: 1.05rem;
}

.step-content p {
  color: var(--gris);
  font-size: 0.9rem;
}

/* ============================================
   ABOUT
   ============================================ */
.about-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-paragraph {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--gris);
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin: 22px 0;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: var(--gris-claro);
  border-radius: 10px;
  transition: var(--transition);
}

.highlight-item:hover {
  background: rgba(1,151,158,0.06);
}

.highlight-item i {
  font-size: 22px;
  color: var(--pmf-teal);
}

.about-image {
  position: relative;
  max-width: 460px;
  margin: 0 auto;
}

.pierre-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 500px;
}

.pierre-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pierre-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--pmf-rojo);
  color: #fff;
  padding: 8px 14px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
  z-index: 2;
}

.pierre-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.96), transparent);
  padding: 28px 20px 20px;
  color: #fff;
}

.pierre-info h3 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

/* ============================================
   SERVICES
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-bottom: 40px;
}

.service-card {
  background: var(--blanco);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  position: relative;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  border-color: var(--pmf-teal);
}

/* === SERVICE IMAGE CON OVERLAY === */
.service-image {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
}

.service-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(167,0,7,0.4), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.service-card:hover .service-image::after {
  opacity: 1;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(0.95) saturate(1.1);
  position: relative;
  z-index: 0;
}

.service-card:hover .service-image img {
  transform: scale(1.15);
  filter: brightness(1.1) saturate(1.3);
}

/* === BADGES CON ANIMACIÓN === */
.badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transform: translateY(0);
  transition: all 0.3s ease;
  z-index: 2;
}

.service-card:hover .badge {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.badge.popular {
  background: linear-gradient(135deg, var(--pmf-rojo), #d30009);
  color: #fff;
  animation: pulse-badge 2s infinite;
}

.badge.beach {
  background: linear-gradient(135deg, var(--pmf-amarillo), #ffd830);
  color: var(--pmf-rojo);
}

.badge.cultural {
  background: linear-gradient(135deg, var(--pmf-teal), #02b0b8);
  color: #fff;
}

@keyframes pulse-badge {
  0%, 100% {
    transform: scale(1) translateY(0);
  }
  50% {
    transform: scale(1.05) translateY(-2px);
  }
}

/* === SERVICE CONTENT === */
.service-content {
  padding: 18px;
}

.service-content h3 {
  color: var(--pmf-rojo);
  margin-bottom: 8px;
  font-size: 1.18rem;
  font-weight: 700;
}

.service-content p {
  font-size: 0.9rem;
  color: var(--gris);
  line-height: 1.5;
  margin-bottom: 12px;
}

.features {
  list-style: none;
  margin: 12px 0;
}

.features li {
  margin-bottom: 8px;
  color: var(--gris);
  font-size: 0.86rem;
  padding-left: 16px;
  position: relative;
}

.features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--pmf-verde);
  font-weight: 700;
}

/* ============================================
   PRECIOS - CON GLASSMORPHISM
   ============================================ */
.price-container {
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(245,245,245,0.95));
  backdrop-filter: blur(10px);
  padding: 18px 16px;
  border-radius: 12px;
  margin: 16px 0;
  text-align: center;
  border: 1px solid rgba(1,151,158,0.1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.service-card:hover .price-container {
  background: linear-gradient(135deg, rgba(1,151,158,0.1), rgba(1,151,158,0.05));
  border-color: var(--pmf-teal);
  transform: scale(1.02);
}

.price-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--pmf-teal);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.price-label i {
  font-size: 18px;
}

.price {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--pmf-rojo);
  margin-bottom: 6px;
  display: block;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.05);
  letter-spacing: -1px;
  transition: all 0.3s ease;
}

.service-card:hover .price {
  color: var(--pmf-teal);
  transform: scale(1.08);
  text-shadow: 0 0 20px rgba(1,151,158,0.3);
}

.price-details {
  font-size: 0.82rem;
  color: var(--gris);
  line-height: 1.4;
  margin-top: 6px;
}

.price-details span {
  display: block;
  font-weight: 600;
  color: var(--negro);
}

.price-details small {
  display: block;
  margin-top: 3px;
  opacity: 0.85;
  font-size: 0.78rem;
}

/* ============================================
   BOTÓN DE RESERVA - CON SHINE EFFECT
   ============================================ */
.btn-service {
  background: linear-gradient(135deg, var(--pmf-teal), var(--pmf-verde));
  color: #fff;
  width: 100%;
  justify-content: center;
  position: relative;
  overflow: hidden;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 13px;
  margin-top: 12px;
  transition: all 0.3s ease;
}

.btn-service::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
  z-index: 1;
  pointer-events: none;
}

.btn-service:hover::before {
  left: 100%;
}

.btn-service:hover {
  background: linear-gradient(135deg, var(--pmf-verde), #047300);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(5,134,0,0.3);
}

.btn-service:active {
  transform: translateY(0);
}

/* ============================================
   CUSTOM TOUR CTA
   ============================================ */
.custom-tour-cta {
  background: var(--gris-claro);
  padding: 48px 26px;
  margin-top: 60px;
  border-radius: 14px;
  text-align: center;
}

.custom-tour-cta h3 {
  color: var(--pmf-verde);
  margin-bottom: 16px;
  font-size: 1.6rem;
}

.custom-tour-cta p {
  font-size: 1rem;
  color: var(--gris);
  max-width: 720px;
  margin: 0 auto 24px;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  height: 220px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid-compact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial-item {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.testimonial-stars {
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--pmf-rojo);
}

.testimonial-content p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #555;
  font-style: italic;
  margin-bottom: 12px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.author-info strong {
  color: var(--pmf-verde);
  font-size: 13px;
}

.author-info span {
  font-size: 11px;
  color: #999;
}

/* ============================================
   FAQ
   ============================================ */
.faq-grid {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--blanco);
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  padding: 18px 20px;
  font-weight: 600;
  font-size: 15px;
  color: var(--pmf-rojo);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}

.faq-icon {
  font-size: 22px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 20px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 20px 20px;
}

.faq-answer p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--gris);
  margin: 0;
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
  background: linear-gradient(135deg, var(--pmf-rojo), #8a0006);
  color: #fff;
  text-align: center;
  padding: 72px 0;
}

.cta-content h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  margin-bottom: 14px;
}

.cta-content p {
  font-size: 1rem;
  max-width: 650px;
  margin: 0 auto 24px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #111;
  padding: 32px 0;
  color: #fff;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-brand img {
  width: 140px;
  filter: brightness(0) invert(1);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.2);
  text-decoration: none;
}

.social-link i {
  font-size: 40px;
  color: #ffffff;
}

.social-link:hover {
  background: var(--pmf-teal);
}

.footer-nav {
  display: flex;
  gap: 28px;
}

.footer-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--pmf-teal);
}

.footer-copyright {
  width: 100%;
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

/* ============================================
   FLOATING WHATSAPP - FIXED
   ============================================ */
.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 999999;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  border: none;
  padding: 0;
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.floating-whatsapp i {
  font-size: 32px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  background: #20ba5a;
}

.floating-whatsapp:active {
  transform: scale(0.95);
}

@keyframes fadeInWhatsApp {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.floating-whatsapp {
  animation: fadeInWhatsApp 0.4s ease-out forwards;
}

/* ============================================
   RESPONSIVE - HERO CENTRADO EN MÓVIL
   ============================================ */
@media (max-width: 992px) {
  .about-content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .pierre-card {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 80vh;
    min-height: 550px;
    padding-top: calc(var(--header-height) + 20px);
  }

  .hero-slide img {
    object-position: center 30%;
    filter: brightness(1.2) contrast(1.05) saturate(1.1);
  }

  .hero-overlay {
    background: linear-gradient(135deg, rgba(0,0,0,0.4), rgba(0,0,0,0.45));
  }

  .hero-content {
    padding: 40px 24px 60px;
    max-width: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero-title {
    font-size: 1.85rem;
    line-height: 1.2;
    margin-bottom: 18px;
    text-shadow:
      2px 2px 8px rgba(0,0,0,0.8),
      0 0 20px rgba(0,0,0,0.5);
    font-weight: 800;
    color: #ffffff;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 30px;
    text-shadow:
      1px 1px 6px rgba(0,0,0,0.7),
      0 0 15px rgba(0,0,0,0.4);
    color: #ffffff;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 14px;
  }

  .hero-buttons .btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 78%;
    max-width: 280px;
    height: calc(100vh - var(--header-height));
    background: var(--blanco);
    flex-direction: column;
    padding: 22px;
    transition: left 0.28s ease;
    box-shadow: var(--shadow-md);
    z-index: 999;
  }

  .nav-links.active {
    left: 0;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .section {
    padding: 54px 0;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 12px;
    order: 3;
  }

  .footer-nav a {
    display: block;
    padding: 6px 0;
  }

  .floating-whatsapp {
    width: 56px;
    height: 56px;
    bottom: 16px;
    right: 16px;
  }

  .floating-whatsapp i {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 85vh;
    min-height: 580px;
  }

  .hero-content {
    padding: 50px 20px 70px;
  }

  .hero-title {
    font-size: 1.75rem;
    line-height: 1.25;
    margin-bottom: 16px;
    text-shadow:
      2px 2px 8px rgba(0,0,0,0.85),
      0 0 18px rgba(0,0,0,0.5);
    color: #ffffff;
  }

  .hero-subtitle {
    font-size: 0.92rem;
    line-height: 1.45;
    margin-bottom: 28px;
    text-shadow:
      1px 1px 6px rgba(0,0,0,0.75),
      0 0 12px rgba(0,0,0,0.4);
    color: #ffffff;
  }

  .hero-buttons .btn {
    padding: 13px 20px;
    font-size: 14px;
  }

  .pierre-card {
    height: 320px;
  }

  .section {
    padding: 50px 0;
  }
}
/* ============================================
   ABOUT SECTION - VALORES ACTUALIZADOS v3.0
   ============================================ */
.about-paragraph-highlight {
  font-weight: 600;
  color: var(--pmf-verde);
  background: rgba(5, 134, 0, 0.05);
  padding: 16px;
  border-radius: 8px;
  border-left: 4px solid var(--pmf-verde);
  margin-bottom: 20px;
}

.about-values {
  margin: 28px 0;
}

.values-title {
  color: var(--pmf-rojo);
  font-size: 1.3rem;
  margin-bottom: 16px;
  font-weight: 700;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.value-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-color: var(--pmf-teal);
}

.value-item i {
  font-size: 28px;
  color: var(--pmf-teal);
  min-width: 28px;
}

.value-item span {
  font-weight: 600;
  font-size: 15px;
  color: var(--negro);
}

/* ============================================
   TESTIMONIALS - FEATURED + RECENT v4.0
   ============================================ */

/* Sección de destacados */
.testimonials-featured-section {
  margin-bottom: 50px;
}

.featured-label,
.recent-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--pmf-rojo);
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.featured-label i,
.recent-label i {
  font-size: 28px;
  color: var(--pmf-amarillo);
}

/* Badge para testimonios destacados */
.testimonial-featured {
  position: relative;
  border: 2px solid var(--pmf-amarillo);
  background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
}

.testimonial-featured::before {
  content: '⭐ DESTACADO';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--pmf-amarillo);
  color: var(--pmf-rojo);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  z-index: 2;
}

/* Sección recientes */
.testimonials-recent-section {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 2px dashed var(--gris-claro);
}

/* Loading spinner */
.loading-spinner {
  width: 40px;
  height: 40px;
  margin: 0 auto 15px;
  border: 4px solid var(--gris-claro);
  border-top-color: var(--pmf-teal);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-testimonials {
  color: var(--gris);
  font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
  .featured-label,
  .recent-label {
    font-size: 1rem;
  }

  .testimonial-featured::before {
    font-size: 9px;
    padding: 3px 10px;
  }
}

/* ============================================
   REVIEW MODAL - FORMULARIO DE RESEÑAS
   ============================================ */
.review-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.review-modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1;
}

.modal-content {
  position: relative;
  z-index: 2;
  background: white;
  border-radius: 18px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gris-claro);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 3;
}

.modal-close:hover {
  background: var(--pmf-rojo);
  color: white;
}

.modal-close i {
  font-size: 24px;
}

.modal-content h2 {
  color: var(--pmf-rojo);
  font-size: 1.6rem;
  margin-bottom: 8px;
  text-align: center;
}

.modal-subtitle {
  color: var(--gris);
  text-align: center;
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  color: var(--negro);
  margin-bottom: 8px;
  font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 14px;
  border: 2px solid var(--gris-claro);
  border-radius: 10px;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--pmf-teal);
  box-shadow: 0 0 0 3px rgba(1, 151, 158, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.char-count {
  font-size: 12px;
  color: var(--gris);
  margin-top: 6px;
  text-align: right;
}

.star-rating {
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
  justify-content: center;
}

.star {
  font-size: 28px;
  color: #ddd;
  cursor: pointer;
  transition: all 0.2s ease;
}

.star:hover,
.star.active {
  color: var(--pmf-amarillo);
  transform: scale(1.2);
}

.btn-submit {
  width: 100%;
  margin-top: 24px !important;
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.success-message {
  text-align: center;
  padding: 20px;
}

.success-message i {
  font-size: 64px;
  color: var(--pmf-verde);
  margin-bottom: 16px;
  display: block;
}

.success-message h3 {
  color: var(--pmf-verde);
  margin-bottom: 8px;
}

.success-message p {
  color: var(--gris);
  font-size: 14px;
}

@media (max-width: 600px) {
  .modal-content {
    padding: 32px 20px;
    width: 95%;
  }

  .modal-content h2 {
    font-size: 1.4rem;
  }

  .star {
    font-size: 24px;
  }
}