:root {
  /* Colors - Beige Palette */
  --color-background: hsl(35, 25%, 97%);
  --color-foreground: hsl(25, 15%, 15%);
  --color-card: hsl(35, 30%, 95%);
  --color-card-foreground: hsl(25, 15%, 15%);
  --color-primary: #b29b89;
  --naranja-apagado: #d4c4b7;
  --naranja-claro: #f9f4ed;
  --naranja-opaco: #a28b7b;
  --color-primary-foreground: hsl(35, 25%, 97%);
  --color-secondary: hsl(30, 20%, 85%);
  --color-secondary-foreground: hsl(25, 25%, 20%);
  --color-muted: hsl(30, 15%, 90%);
  --color-muted-foreground: hsl(25, 10%, 45%);
  --color-accent: hsl(35, 40%, 80%);
  --color-accent-foreground: hsl(25, 25%, 20%);
  --color-border: hsl(30, 15%, 88%);

  /* Custom Design Tokens */
  --color-beige-light: hsl(35, 30%, 92%);
  --color-beige-medium: hsl(30, 25%, 82%);
  --color-beige-dark: hsl(25, 35%, 25%);
  --color-beige-darker: hsl(20, 40%, 15%);

  /* Shadows */
  --shadow-soft: 0 4px 20px hsl(25, 35%, 25%, 0.1);
  --shadow-medium: 0 8px 30px hsl(25, 35%, 25%, 0.15);

  /* Typography */

  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;

  /* Spacing */
  --spacing-1: 0.25rem;
  --spacing-2: 0.5rem;
  --spacing-3: 0.75rem;
  --spacing-4: 1rem;
  --spacing-6: 1.5rem;
  --spacing-8: 2rem;
  --spacing-12: 3rem;
  --spacing-16: 4rem;
  --spacing-20: 5rem;
  --spacing-24: 6rem;

  /* Border Radius */
  --radius-sm: 0.125rem;
  --radius: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "acumin-pro", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.6;
  color: var(--color-foreground);
  background-color: var(--color-background);
}

.merriweather-family {
  font-family: "Merriweather", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 0;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
  background: transparent;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.1); /* fondo semitransparente */
  backdrop-filter: blur(8px); /* blur al fondo */
  -webkit-backdrop-filter: blur(8px); /* soporte Safari */
  z-index: 1000;
}

nav.scrolled {
  background: var(--color-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  gap: 15px;
  display: flex;
}

.logo-image {
  width: 40px;
  height: 40px;
}

/* Menu desktop */
.menu {
  display: flex;
  gap: 2rem;
}

.menu a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.menu a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: #5c3f02;
  transition: width 0.3s ease;
}

.menu a:hover {
  color: #5c3f02;
}

.menu a:hover::after {
  width: 100%;
}

/* Hamburguesa estilo hotdog */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1100; /* arriba del overlay */
  transition: transform 0.3s ease;
}

.hamburger span {
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger span:nth-child(1),
.hamburger span:nth-child(3) {
  width: 18px; /* más cortas */
  margin: auto;
}

.hamburger span:nth-child(2) {
  width: 25px; /* la del medio más larga */
}

/* Animación a X */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  width: 25px;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  width: 25px;
}

/* Overlay */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 900;
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Hero Section */
.hero-section {
  height: 100vh;
  background: linear-gradient(rgba(44, 44, 44, 0.4), rgba(0, 0, 0, 0.5)),
    url("../public/hero.webp") no-repeat center center/cover;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 100;
  max-width: 800px;
  padding: var(--spacing-8);
}

.hero-title {
  font-size: var(--font-size-5xl);
  font-weight: 700;
  margin-bottom: var(--spacing-6);
  color: var(--naranja-claro);
  line-height: 1.2;
}

.hero-description {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-8);
  color: var(--naranja-claro);
  font-weight: 300;
}

/* Buttons */
.cta-button {
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  border: none;
  padding: var(--spacing-4) var(--spacing-8);
  font-size: var(--font-size-lg);
  font-weight: 600;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  display: inline-block;
}

.cta-button:hover {
  background-color: var(--color-beige-darker);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.cta-button.secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.cta-button.secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
}

/* Sections */
.about-section,
.services-section,
.contact-section {
  padding: 2rem 0;
}

.section-title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--spacing-16);
  color: var(--color-primary);
}

.nosotros {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 2rem;
  gap: 2rem;
}

.nosotros-content {
  flex: 1;
}

.nosotros-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #333;
}

.nosotros-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #555;
}

/* Sacamos flecha nativa */
.custom-details summary {
  list-style: none;
}

.custom-details summary::-webkit-details-marker {
  display: none;
}

/* Estilo del resumen */
.custom-details summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
  color: var(--color-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.custom-details summary span {
  position: relative;
  z-index: 1;
}

/* Líneas a los costados */
.custom-details summary::before,
.custom-details summary::after {
  content: "";
  flex: 1;
  height: 2px;
  background: #ddd;
}

/* Texto dentro */
.details-content {
  margin-top: 1rem;
  color: #555;
  line-height: 1.6;
  animation: fadeIn 0.3s ease;
}

.nosotros-image {
  flex: 1;
  text-align: center;
}

.nosotros-image img {
  max-width: 100%;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.nosotros-image img:hover {
  transform: scale(1.03);
}
/* Services Section */
.services-section {
  background-color: var(--color-beige-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.service-card {
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.service-card a {
  display: block;
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 1rem;
  padding: 1rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  height: 100%;
}

.service-card:hover a {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-6px) scale(1.03);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary, #2563eb);
  border-radius: 1rem;
  color: #fff;
  font-size: 2rem;
}

.service-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
  color: var(--color-foreground, #111);
}

.service-description {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: #444;
}

.location-section {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
}

.map-container {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.189);
}

.map-container iframe {
  width: 100%;
  filter: grayscale(20%) contrast(90%) brightness(95%);
}

/* --- Ping Marker --- */
.map-marker {
  position: absolute;
  top: 48%; /* Ajustá fino con este % */
  left: 53%; /* Ajustá fino con este % */
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.ping {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--naranja-apagado);
  animation: ping 1.5s infinite;
}

.dot {
  width: 14px;
  height: 14px;
  background: var(--color-foreground);
  border-radius: 50%;
  position: absolute;
  top: 8px;
  left: 8px;
  box-shadow: 0 0 12px var(--color-foreground);
}

/* --- Card flotante --- */
.location-card {
  position: absolute;
  top: 0.4rem;
  left: 0.5rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-radius: 1rem;
  padding: 1.2rem 1.5rem;
  max-width: 315px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  animation: fadeInUp 0.8s ease forwards;
}

.location-card h2 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #222;
}

.location-card p {
  margin: 0.2rem 0;
  font-size: 0.95rem;
  color: #444;
}

.btn-location {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.6rem 1rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: 0.7rem;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-location:hover {
  background: var(--color-accent-foreground);
  transform: translateY(-2px);
}

.contact-section {
  padding: 4rem 1rem;
  background: linear-gradient(120deg, var(--naranja-apagado), #ffffff);
  text-align: center;
}

.contact-container h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.subtitle {
  color: #555;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.contact-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.contact-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-radius: 1rem;
  padding: 1.2rem 1.5rem;
  width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #222;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card i {
  font-size: 2rem;
  color: var(--color-foreground);
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
}

/* Formulario */
.contact-form-wrapper {
  max-width: 500px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 0.8rem;
  outline: none;
  font-size: 1rem;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--color-primary);
}

.contact-form button {
  background: var(--color-primary);
  color: #fff;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.3s ease;
}

.contact-form button:hover {
  transform: translateY(-2px);
  background: var(--naranja-apagado);
}

#toast-container {
  position: fixed;
  bottom: 20px; /* centrado arriba */
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
}

.toast {
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 500;
  color: var(--color-primary);
  margin-top: 10px;
  background-color: var(--naranja-claro); /* fondo claro y suave */
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeInOut 6s forwards;
  text-align: center;
  min-width: 260px;
  max-width: 420px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  border-left: 6px solid transparent; /* se cambia según tipo */
}

.toast.exito {
  border-left-color: #3ba55d;
}

.toast.error {
  border-left-color: #d9534f;
}

/* Animación */
@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  10% {
    opacity: 1;
    transform: translateY(0);
  }
  90% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-20px);
  }
}

/* Footer */
.footer {
  position: relative;
  background: var(--color-foreground);
  color: #f5f5f5;
  padding: 4rem 1rem 2rem;
  overflow: hidden;
}

.footer-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#ffffff11 1px, transparent 0.5px);
  background-size: 20px 20px;
  pointer-events: none;
}

.footer .container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 1;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
}

.footer-brand {
  align-items: flex-start;
}

.footer-logo {
  width: 60px;
  margin-bottom: 0.8rem;
}

.footer-title {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  color: #fff;
}

.social-link i {
  stroke-width: 1.7;
}

.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: #888;
}

.footer-text,
.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #f5f5f5;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.footer-text:hover,
.social-link:hover {
  color: var(--naranja-apagado); /* tu color principal */
}

/* Page-specific styles */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 85vh; /* 80% del alto de la pantalla */
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

.carousel-overlay {
  position: absolute;
  top: 40%;
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
  text-align: center;
  max-width: 600px;
  z-index: 20;
}

.carousel-overlay h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  color: var(--naranja-claro);
  text-shadow: 0 4px 8px rgba(2, 2, 2, 0.8);
}

.carousel-overlay .btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  background: var(--color-primary, #0077ff);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}
.carousel-overlay .btn:hover {
  background: var(--color-foreground);
}

/* Dots */
.carousel-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.carousel-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: var(--naranja-apagado);
  cursor: pointer;
  transition: background 0.3s;
}
.carousel-dots button.active {
  background: var(--color-foreground);
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-12);
  margin-bottom: var(--spacing-12);
}

.content-title {
  margin-top: var(--spacing-8);
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--spacing-6);
}

.content-text {
  color: var(--color-muted-foreground);
  font-size: var(--font-size-lg);
  line-height: 1.8;
  margin-bottom: var(--spacing-6);
}

.features-card {
  background-color: var(--color-card);
  padding: var(--spacing-8);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
}

.features-title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--spacing-6);
}

.features-list {
  list-style: none;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  margin-bottom: var(--spacing-4);
  padding: var(--spacing-2) 0;
}

.feature-icon {
  width: 32px;
  height: 32px;
  background-color: var(--color-accent);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-base);
  flex-shrink: 0;
}

/* Info Section (for luggage storage) */
.info-section {
  margin-bottom: var(--spacing-12);
}

.info-title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--spacing-8);
  text-align: center;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-6);
}

.info-item {
  background-color: var(--color-card);
  padding: var(--spacing-6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
}

.info-item-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--spacing-3);
}

.info-text {
  color: var(--color-muted-foreground);
  line-height: 1.6;
}

.gallery-section {
  padding: 1.5rem;

  margin: 0 auto;
}

.gallery-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--color-primary);
}

/* Grid desktop */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 200px;
  gap: 10px;
}

.gallery-grid img:first-child {
  grid-area: 1 / 1 / 2 / 2;
}

.gallery-grid img:nth-child(2) {
  grid-area: 1 / 2 / 3 / 3;
}
.gallery-grid img:nth-child(3) {
  grid-area: 1 / 3 / 2 / 4;
}

.gallery-grid img:nth-child(4) {
  grid-area: 2/ 1 / 3 / 2;
}

.gallery-grid img:nth-child(5) {
  grid-area: 3 / 1 / 4 / 3;
}

.gallery-grid img:nth-child(6) {
  grid-area: 2 / 3 / 4 / 4;
}

/* Imagenes */
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  border-radius: 0.5rem;
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

/* Modal */
#modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 0.8rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.whatsapp-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: var(--color-primary, #0077ff);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  transition: transform 0.2s ease, box-shadow 0.25s ease, opacity 0.2s ease;
  outline: none;
}

.whatsapp-fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.whatsapp-fab:active {
  transform: translateY(-1px) scale(0.98);
}

.whatsapp-fab:focus-visible {
  box-shadow: 0 0 0 4px rgba(0, 119, 255, 0.25), 0 10px 30px rgba(0, 0, 0, 0.2);
}

.whatsapp-icon {
  width: 40px;
  height: 40px;
  fill: #fff;
  display: block;
}

/* Pulse sutil opcional */
.whatsapp-fab::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.08);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.whatsapp-fab:hover::after {
  opacity: 1;
  animation: fab-pulse 1.6s ease-out infinite;
}

@keyframes fab-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.08);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(0, 0, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--spacing-2);
  }

  .hero-content,
  .page-hero-content {
    padding: var(--spacing-4);
  }

  .hero-title,
  .page-hero-title {
    font-size: var(--font-size-3xl);
  }

  .service-card,
  .features-card,
  .pricing-card,
  .contact-form {
    padding: 10px;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

@media (max-width: 768px) {
  .contact-cards {
    flex-direction: column;
  }

  .contact-card {
    width: 70%;
    margin: 0 auto;
  }
  .menu {
    position: fixed;
    top: 0;
    right: -70%;
    flex-direction: column;
    background: var(--color-primary);
    width: 70%;
    height: 100vh;
    padding: 2rem;
    gap: 1.5rem;
    transition: right 0.3s ease;
    z-index: 1000;
  }

  .menu.active {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .nosotros {
    flex-direction: column;
    text-align: center;
  }

  .nosotros-content {
    order: 2;
  }

  .nosotros-image {
    order: 1;
  }

  .hero-title {
    font-size: var(--font-size-4xl);
  }

  .hero-description {
    font-size: var(--font-size-lg);
  }

  .about-grid,
  .contact-grid,
  .content-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-8);
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    margin-bottom: 15px;
  }

  .page-hero-title {
    font-size: var(--font-size-4xl);
  }

  .content-title {
    font-size: var(--font-size-2xl);
  }

  .section-title {
    font-size: var(--font-size-2xl);
  }

  .location-card {
    max-width: 70%;
    text-align: center;
  }

  .location-card .btn-location,
  .location-card h2,
  .location-card span {
    display: none;
  }

  .contact-cards {
    flex-direction: row;
    flex-wrap: nowrap; /* que estén en fila */
    justify-content: space-around; /* espacio entre ellas */
  }

  .contact-card {
    width: 100px; /* más chicas en móvil */
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }

  .contact-card i {
    font-size: 1.5rem; /* ajustar icono */
  }

  .gallery-section {
    padding: 0;
    margin-top: 15px;
  }
  .gallery-grid {
    display: flex;
    flex-direction: column;
  }

  .gallery-grid img {
    height: auto;
    margin-bottom: 10px;
    height: 200px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes ping {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

.location-grid {
  display: grid;
  padding: 15px;
  grid-template-columns: 1fr 1fr; /* Dos columnas iguales */
  gap: 2rem; /* Espacio entre columnas */
}

.resena-container,
.map-container {
  width: 100%;
}

.resena-container {
  padding: 1.5rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.review-card {
  background: #f9f9f9;
  border-radius: 0.8rem;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.review-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.avatar-circle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a770ef, #cf8bf3, #fdb99b);
  color: white;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.review-name {
  font-weight: bold;
  margin: 0;
}

.review-date {
  font-size: 0.85rem;
  color: #666;
}

.review-stars {
  margin: 0.3rem 0;
}

.review-text {
  font-style: italic;
  font-size: 0.9rem;
  color: #333;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* máximo 2 líneas */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-location {
  position: relative;
  display: inline-block;
  background: var(--color-primary);
  color: white;
  padding: 0.8rem 1.2rem;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: bold;
  margin-top: 1rem;
  transition: background 0.3s;
}

.btn-location:hover {
  background: var(--naranja-apagado);
}

.btn-location .badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--color-foreground);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.3rem 0.5rem;
  border-radius: 50%;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(66, 66, 66, 0.2);
}

/* Responsive: en móviles apilar */
@media (max-width: 768px) {
  .location-grid {
    grid-template-columns: 1fr; /* una columna */
    gap: 1rem;
  }

  .location-section {
    height: 420px;
  }
  .resena-container,
  .map-container {
    height: 400px; /* ajustar altura en móvil */
  }
}

/* Opcional: hacer que la reseña tenga scroll si hay mucho contenido */
.resena-container {
  overflow-y: auto;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
