/* Reset y configuración base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

.section {
  scroll-margin-top: 80px;
}

/* =========================
   Navigation
   ========================= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(135deg, #ff6b9d, #c44ca1);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: 0 4px 20px rgba(255, 107, 157, 0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 25px;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* =========================
   Hero Section
   ========================= */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
  display: flex;
  align-items: center;
  padding: 0 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="3" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
  animation: float 20s ease-in-out infinite;
  z-index: 1;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  position: relative; /* asegura stacking context */
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3; /* por encima de imagen y pseudo-elementos */
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: bold;
  color: #d63384;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero-content .highlight {
  background: linear-gradient(45deg, #ff6b9d, #c44ca1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.3rem;
  color: #666;
  margin-bottom: 2rem;
  font-weight: 300;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #ff6b9d, #c44ca1);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4);
  position: relative;
  overflow: hidden;
}

.cta-button::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;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 107, 157, 0.6);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.bus-image {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(255, 107, 157, 0.3));
  animation: bounce 3s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* =========================
   Section Styles
   ========================= */
.section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto; /* centra todo el contenido seccional */
}

.section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #d63384;
  margin-bottom: 3rem;
  position: relative;
}

.section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, #ff6b9d, #c44ca1);
  border-radius: 2px;
}

/* =========================
   About Section
   ========================= */
.about {
  background: linear-gradient(135deg, #ffeef8, #fff);
  border-radius: 20px;
  margin: 2rem auto; /* centrada en horizontal */
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text {
  font-size: 2rem;
  color: #666;
  line-height: 1.8;
}

.about-image {
  background: linear-gradient(135deg, #ff9a9e, #fecfef);
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  color: white;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-container-about {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.map-container-about h3 {
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.map-wrapper-about {
  width: 100%;
  max-width: 800px; /* opcional, controla el ancho máximo */
  margin: 0 auto;
}

.map-image {
  width: 100%;       /* se ajusta al ancho del contenedor */
  height: auto;      /* mantiene proporción original */
  object-fit: contain; /* asegura que no se deforme */
  border-radius: 15px; /* mismo estilo que el iframe */
  display: block;
}

.modal-image.map-image {
  width: 95vw;        /* ocupa casi todo el ancho de la ventana */
  height: auto;       /* mantiene proporción */
  max-height: 85vh;   /* evita que se salga de la pantalla */
  object-fit: contain;
  border-radius: 15px;
}

.map-wrapper-about iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
}

.service-text {
  color: white;
  font-weight: 600;
  font-size: 1rem;
  margin: 0;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

/* =========================
   Experience Section
   ========================= */
.experience {
  background: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background: linear-gradient(135deg, #dad0d7, #ffeef8);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(255, 107, 157, 0.1);
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(255, 107, 157, 0.2);
  border-color: #ff6b9d;
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  color: #d63384;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

/* =========================
   Gallery Section
   ========================= */
.gallery {
    background-color: var(--coral);
    width: 100%;
    overflow: hidden;
    padding: 50px 0;
    cursor: grab;
    user-select: none;
    position: relative;
}

.gallery-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    transition: transform 0.5s ease-out;
    will-change: transform;
}

/* Base style for all gallery items */
.gallery-item {
    flex-shrink: 0;
    width: 300px;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Scales and styles for the active (main) image */
.gallery-item.active {
    width: 450px;
    height: 300px;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 4px solid var(#FFF9F0);
    transform: scale(1.1); /* Slightly larger */
}

/* Scales for the images on the sides */
.gallery-item:not(.active) {
    transform: scale(0.7);
    opacity: 0.7;
    z-index: 1;
}

/* Adjustments for images further away from the center */
.gallery-item:not(.active).hidden {
    transform: scale(0.5);
    opacity: 0;
}

/* =========================
   Testimoniales con Fotos - Agregar al archivo nb.css
   Reemplaza la sección existente de .testimonials
   ========================= */

/* Remover o comentar los estilos antiguos de testimoniales y agregar estos */

.testimonials {
  background: #fff;
}

.testimonials-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial-photo-card {
  position: relative;
  background: linear-gradient(135deg, #fff, #ffeef8);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  aspect-ratio: 4/5; /* Ratio consistente para todas las tarjetas */
}

.testimonial-photo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(255, 107, 157, 0.3);
}

.testimonial-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.testimonial-photo-card:hover img {
  transform: scale(1.05);
}

.photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
  padding: 2rem 1rem 1rem;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.testimonial-photo-card:hover .photo-overlay {
  transform: translateY(0);
}

.photo-overlay span {
  font-weight: 600;
  font-size: 1rem;
}

/* =========================
   Modal de imagen
   ========================= */
.image-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  animation: fadeIn 0.3s ease;
}

.image-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.close-button {
  position: absolute;
  top: -50px;
  right: 0;
  color: white;
  font-size: 3rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;
  transition: color 0.3s ease;
  background: rgba(255, 107, 157, 0.8);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.close-button:hover {
  color: #ff6b9d;
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.1);
}

.modal-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
  cursor: grab;
  position: relative;
}

.modal-image:active {
  cursor: grabbing;
}

.rosa{
    background-color: #c44ca1;;
}

/* =========================
   Contact Section
   ========================= */
.contact {
  background: white;
  color: #c44ca1;
  text-align: center;
  border-radius: 20px;
  margin: 2rem auto;
}

.contact h2 {
  color: #c44ca1;
  margin-bottom: 2rem;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
  text-align: left;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
  color: #c44ca1;
}

.contact-info p {
  font-size: 1.2rem;
  margin-bottom: 0;
  color: #c44ca1;
}

.social-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;   /* todas estiran a la misma altura */
}

.social-item {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  min-height: 340px;       /* mismo alto base */
  max-height: 380px;
}

.facebook-mockup,
.instagram-mockup {
  flex: 1;                /* ocupan todo el alto disponible */
  height: 100% !important;
}

.facebook-widget {
  padding: 0;
  transition: all 0.3s ease;
}

.facebook-widget:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.facebook-widget:hover .facebook-mockup {
  background: linear-gradient(135deg, #4267B2 0%, #365899 100%);
}

.facebook-mockup {
  background: linear-gradient(135deg, #1877f2 0%, #4267B2 100%);
  color: white;
  height: 340px;
  display: flex;
  flex-direction: column;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.facebook-header-link,
.facebook-footer-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.facebook-header {
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: bold;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.facebook-header-link:hover .facebook-header {
  background: rgba(255, 255, 255, 0.2);
}

.facebook-icon {
  font-size: 1.5rem;
}

.facebook-content {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: rgba(255, 255, 255, 0.05);
}

.facebook-content .fb-page {
  width: 100% !important;
  height: 100% !important;
}

.facebook-content iframe {
  border-radius: 0 !important;
  border: none !important;
}

.facebook-footer {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  text-align: center;
  transition: all 0.3s ease;
}

.facebook-footer-link:hover .facebook-footer {
  background: rgba(255, 255, 255, 0.2);
}

.facebook-footer p {
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.facebook-link {
  color: white;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  display: inline-block;
  transition: all 0.3s ease;
  font-weight: 500;
}

.facebook-footer-link:hover .facebook-link {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.instagram-preview {
  padding: 0;
}

.instagram-button {
  display: block;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
  transition: all 0.3s ease;
  cursor: pointer;
}

.instagram-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.instagram-button:hover .instagram-mockup {
  background: linear-gradient(135deg, #ff6b9d 0%, #c44ca1 100%);
}

.instagram-mockup {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  height: 340px;
  display: flex;
  flex-direction: column;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.instagram-header {
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: bold;
  background: rgba(255, 255, 255, 0.1);
}

.instagram-icon {
  font-size: 1.5rem;
}

.instagram-image {
  flex: 1;
  overflow: hidden;
}

.instagram-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.instagram-button:hover .instagram-image img {
  transform: scale(1.05);
}

.instagram-footer {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  text-align: center;
}

.instagram-footer p {
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.instagram-link {
  color: white;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  display: inline-block;
  transition: all 0.3s ease;
  font-weight: 500;
}

.instagram-button:hover .instagram-link {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Footer fijo en la parte inferior */
.footer {
    background: var(--dark-gray); /* Fondo gris oscuro */
    padding: 15px 0;          /* Padding vertical */
    z-index: 10;              /* Por encima de todo */
}

/* Contenido del footer */
.footer-content {
    text-align: center;       /* Centrado */
    color: var(--white);      /* Texto blanco */
    font-size: 0.9rem;       /* Tamaño pequeño */
    font-weight: 400;        /* Peso normal */
}

/* =========================
   Waiver Page Styles
   ========================= */

:root {
    --primary-color: #d63384;
    --secondary-color: #c44ca1;
    --accent-color: #ff6b9d;
}

.waiver-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 2rem 2rem;
}

.waiver-title {
    text-align: center;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.waiver-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.waiver-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.waiver-card {
    background: linear-gradient(135deg, #ffeef8, #fff);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(255, 107, 157, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.waiver-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.2);
    border-color: var(--accent-color);
}

.waiver-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.waiver-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.nail-polish-note {
    background: linear-gradient(135deg, #ff6b9d, #c44ca1);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    margin-top: 2rem;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 5px 20px rgba(255, 107, 157, 0.2);
}

.waiver-form-container {
    background: linear-gradient(135deg, #ffeef8, #fff);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.waiver-form h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.2);
}

/* =========================
   Party Attending Section
   ========================= */
.party-attending-group {
    margin-bottom: 1.5rem;
}

.party-main-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.party-fields {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
}

.party-name-group,
.party-date-group {
    margin-bottom: 0;
}

.party-name-group label,
.party-date-group label {
    font-size: 0.9rem;
    color: #666;
}

/* =========================
   Signature Modal Styles
   ========================= */
.signature-container {
    margin: 2rem 0;
}

.signature-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.signature-box {
    width: 100%;
    height: 150px;
    border: 2px solid #ff0000;
    border-radius: 10px;
    background-color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.signature-box.click-here {
    background-color: #fff;
}

.signature-box.click-here:hover {
    background-color: #f8f9fa;
    border-color: #dc3545;
}

.click-here-text {
    color: #ff0000;
    font-weight: bold;
    font-size: 1.2rem;
    text-align: center;
}

.signature-preview {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: none;
}

.signature-box.has-signature .click-here-text {
    display: none;
}

.signature-box.has-signature .signature-preview {
    display: block;
}

.signature-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* Signature Modal Styles */
.signature-modal .modal-content {
    max-width: 95%;
    width: 800px;
    max-height: 90vh;
    padding: 0;
    overflow: hidden;
}

.signature-modal-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.signature-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
    background: linear-gradient(135deg, #ffeef8, #fff);
}

.signature-header .modal-close {
    font-size: 2rem;
    background: #dc3545;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: not-allowed;
    opacity: 0.5;
}

.signature-header .modal-close:enabled {
    cursor: pointer;
    opacity: 1;
}

.signature-header .modal-close:enabled:hover {
    background: #c82333;
    transform: scale(1.1);
}

.signature-instruction {
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}

.signature-instruction p {
    margin: 0;
    color: #6c757d;
    font-style: italic;
}

.signature-area-container {
    flex: 1;
    padding: 1.5rem;
    background: #f8f9fa;
}

.signature-canvas-large {
    width: 100%;
    height: 100%;
    background: white;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: crosshair;
    display: block;
    touch-action: none;
}

.signature-actions {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 2px solid #f0f0f0;
    background: white;
}

.signature-clear-large {
    flex: 1;
    background: #6c757d;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.signature-clear-large:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.i-signed-btn-large {
    flex: 1;
    background: #28a745;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.i-signed-btn-large:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}


.download-btn {
    background: linear-gradient(135deg, #ff6b9d, #c44ca1);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 1.1rem;
    margin-top: 1rem;
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.4);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.6);
}

.download-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Modal Styles for Waiver */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: var(--primary-color);
    cursor: pointer;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(214, 51, 132, 0.1);
}

.modal-title {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-right: 3rem;
}

.modal-text {
    color: #666;
    line-height: 1.6;
    font-size: 1.1rem;
}

.pdf-content {
    padding: 0.5in;
    font-family: Arial, sans-serif;
    line-height: 1.3;
    color: #000;
    font-size: 11pt;
}

.pdf-title {
    text-align: center;
    font-size: 24pt;
    margin-bottom: 20pt;
    color: #ff6b9d;
    font-weight: bold;
}

.pdf-section {
    margin-bottom: 15pt;
    page-break-inside: avoid;
}

.pdf-section h2 {
    font-size: 14pt;
    margin-bottom: 8pt;
    color: #ff6b9d;
    font-weight: bold;
}

.pdf-section p {
    margin-bottom: 10pt;
    text-align: justify;
}

.pdf-note {
    margin: 20pt 0;
    font-size: 9pt;
    font-weight: bold;
    text-align: center;
    border: 1px solid #000;
    padding: 10pt;
    background: #f8f9fa;
    page-break-inside: avoid;
}

.pdf-form-instruction {
    margin: 1pt 0 15pt 0;
    font-weight: bold;
    text-align: center;
    font-size: 12pt;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    padding: 8pt 0;
    background: #f0f0f0;
}

.pdf-signature-area {
    margin-top: 10pt;
    page-break-inside: avoid;
}

.pdf-party-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20pt;
    align-items: flex-start;
    padding-bottom: 1pt;
}

.pdf-party-main {
    font-weight: bold;
    font-size: 13pt;
    margin-bottom: 10pt;
    width: 100%;
}

.pdf-party-details {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.pdf-party-field {
    flex: 1;
}

.pdf-signature-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15pt;
    align-items: flex-start;
}

.pdf-field {
    width: 48%;
}

.pdf-field strong {
    display: block;
    margin-bottom: 5pt;
    font-size: 12pt;
}

.pdf-field-value {
    font-size: 12pt;
    margin-bottom: 5pt;
    min-height: 20pt;
    padding: 5pt 0;
}

.pdf-signature-img {
    max-width: 350px;
    max-height: 90px;
    margin-top: 5pt;
}

/* Ensure PDF content fits on pages */
@media print {
    .pdf-section {
        page-break-inside: avoid;
    }
    
    .pdf-note {
        page-break-inside: avoid;
    }
    
    .pdf-signature-area {
        page-break-inside: avoid;
    }
}

/* =========================
   Ultra-wide helpers
   ========================= */
@media (min-width: 1400px) {
  .about-content,
  .gallery-grid,
  .services-grid,
  .testimonials-grid {
    justify-items: center;
    align-items: start;
  }
}

/* =========================
   Mobile Responsive
   ========================= */
@media (max-width: 768px) {
  /* Solo logo visible en mobile */
  .nav-menu { display: none !important; }
    .navbar{
    position: sticky;   /* antes: fixed */
    top: 0;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  /* Cambiar el orden en móviles */
  .about-text {
    order: 1;
    font-size: 1.2rem;
  }
  
  .about-image {
    order: 2;
    min-height: 220px;
    padding: 1.2rem;
  }
  
  .map-container-about {
    max-width: none;
  }
  
  .map-wrapper-about {
    height: auto !important; /* deja que la altura se ajuste sola */
  }

  .map-image {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  
  .map-container-about h3 {
    font-size: 1.1rem;
  }
  
  .service-text {
    font-size: 0.9rem;
  }
  
  .service-text {
    font-size: 0.9rem;
  }

   .hero {
    display: flex;
    align-items: center;   /* centra vertical */
    justify-content: center; /* centra horizontal */
    padding-top: 0 !important;
    padding-bottom: 2rem; /* espacio de respiro abajo */
  }

  /* Hero container en columna */
  .hero-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    width: 100%;
  }

  .hero-content {
    order: 1;
    max-width: 90%;
  }

  .hero-content h1 {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
    line-height: 1.25;
  }

  .hero-image {
    order: 2;
    display: flex;
    justify-content: center;
  }

  .bus-image {
    max-width: min(85vw, 340px);
    height: auto;
  }

  .contact-content {
    display: grid;
    grid-template-columns: 1fr;  /* antes 1fr 2fr */
    gap: 1.5rem;
  }

  /* Centra bloque de info y botón */
  .contact-info {
    align-items: center;
    text-align: center;
  }
  .contact-info .cta-button {
    width: 100%;
    max-width: 320px;
    margin: .5rem auto 0;
  }

  /* Redes: pasar a 1 columna */
  .social-media {
    grid-template-columns: 1fr;
  }

  /* Altura un poco menor en móviles */
  .social-item { min-height: 280px; }
    .testimonials-photos-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }
  
  .modal-content {
    max-width: 95%;
    max-height: 85%;
  }
  
  .close-button {
    top: -40px;
    right: -10px;
    width: 40px;
    height: 40px;
    font-size: 2rem;
  }
  
  .zoom-controls {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .zoom-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  /* Waiver Mobile Styles */
  .waiver-title {
      font-size: 2rem;
  }
  
  .waiver-container {
      grid-template-columns: 1fr;
  }
  
  .waiver-page {
      padding-top: 80px;
  }
}

/* Extra pequeño */
@media (max-width: 420px) {
  .social-item { min-height: 240px; }

  .testimonials-photos-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .testimonial-photo-card {
    aspect-ratio: 3/4;
  }

  .about-image {
    min-height: 200px;
    padding: 1rem;
    order: 2;
  }
  
  .about-text {
    order: 1;
    font-size: 1.2rem;
  }
  
  .map-wrapper-about {
    height: auto !important;
    max-width: 100% !important; /* ocupar todo el ancho en pantallas pequeñas */
  }

  .map-image {
    width: 100%;
    height: auto;
  }
  
  .map-container-about h3 {
    font-size: 1rem;
  }

.map-wrapper-about {
  width: 100%;
  max-width: 300px;
  height: 180px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  border: 3px solid rgba(255,255,255,0.3);
  background: white;
}

.map-wrapper-about iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
}

.service-text {
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
  background: rgba(255,255,255,0.2);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  backdrop-filter: blur(5px);
}
}