/* =====================================================
   Parcela El Paraiso - Hoja de Estilos
   ===================================================== */
:root {
  --paraiso-50: #f0f7f1; --paraiso-100: #dcebde; --paraiso-200: #bbd7c0;
  --paraiso-300: #8fbb98; --paraiso-400: #5d986e; --paraiso-500: #3c7c4f;
  --paraiso-600: #2c6340; --paraiso-700: #245236; --paraiso-800: #1f432e;
  --paraiso-900: #0f4d2c; --paraiso-950: #062817;
  --gold-300: #e0bd6e; --gold-400: #d4a574; --gold-500: #c98e4a; --gold-600: #b27139;
  --sand-50: #faf7f0; --sand-100: #f3ecdc; --sand-200: #e6d6b8;
  --bg: #faf7f0; --fg: #0f4d2c; --muted: #5d7160;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--bg); color: var(--fg); line-height: 1.6; }
.min-h-screen-flex { display: flex; flex-direction: column; min-height: 100vh; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.font-display { font-family: 'Playfair Display', Georgia, serif; }
.text-gradient { background: linear-gradient(135deg, #0F4D2C 0%, #2C6340 40%, #D4A574 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.shadow-paraiso { box-shadow: 0 10px 40px -10px rgba(15, 77, 44, 0.25); }
.shadow-paraiso-lg { box-shadow: 0 25px 60px -15px rgba(15, 77, 44, 0.35); }

/* ============== NAVBAR ============== */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: all 0.4s; padding: 16px 0; background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent); }
.navbar.scrolled { background: rgba(15, 77, 44, 0.95); backdrop-filter: blur(12px); padding: 8px 0; box-shadow: 0 25px 60px -15px rgba(15, 77, 44, 0.35); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; }
.navbar-logo { display: flex; align-items: center; gap: 12px; }
.logo-circle { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #e0bd6e, #d4a574, #b27139); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.logo-circle span { font-family: 'Playfair Display', serif; font-weight: 900; color: #0f4d2c; font-size: 20px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { font-family: 'Playfair Display', serif; font-weight: 700; color: #fff; font-size: 16px; letter-spacing: 0.5px; }
.logo-text small { color: #d4a574; font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; }
.navbar-menu { display: flex; align-items: center; gap: 4px; }
.navbar-menu a { padding: 8px 12px; color: rgba(255,255,255,0.9); font-size: 14px; font-weight: 500; transition: color 0.2s; position: relative; }
.navbar-menu a:hover { color: #d4a574; }
.navbar-menu a:hover::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60%; height: 2px; background: #d4a574; }
.btn-reservar { background: #d4a574; color: #0f4d2c !important; padding: 10px 18px !important; border-radius: 8px; font-weight: 600; box-shadow: 0 4px 12px rgba(212, 165, 116, 0.4); margin-left: 12px; }
.btn-reservar:hover { background: #c98e4a; color: #0f4d2c !important; }
.btn-admin { color: rgba(255,255,255,0.4); padding: 8px !important; font-size: 12px; }
.btn-admin:hover { color: #d4a574; }
.navbar-toggle { display: none; background: none; border: none; color: white; font-size: 24px; cursor: pointer; }

/* ============== HERO ============== */
.hero { position: relative; height: 100vh; min-height: 600px; overflow: hidden; background: #062817; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s; }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { display: none; }
.hero-overlay-side { display: none; }
.hero-content { position: relative; height: 100%; display: flex; align-items: center; z-index: 10; }
.hero-content-inner { max-width: 720px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 999px; background: rgba(212,165,116,0.2); border: 1px solid rgba(212,165,116,0.4); color: #e0bd6e; font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 24px; }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #e0bd6e; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.5} }
.hero h1 { font-family: 'Playfair Display', serif; font-weight: 900; color: #fff; font-size: clamp(2.5rem, 7vw, 5rem); line-height: 1.05; margin-bottom: 24px; text-shadow: 0 1px 4px rgba(0,0,0,0.95), 0 4px 24px rgba(0,0,0,0.85); }
.hero h1 .gold { display: block; color: #d4a574; text-shadow: 0 1px 4px rgba(0,0,0,0.95), 0 4px 24px rgba(0,0,0,0.95); }
.hero p { color: rgba(255,255,255,0.95); font-size: clamp(1rem, 2vw, 1.25rem); max-width: 560px; margin-bottom: 32px; text-shadow: 0 1px 4px rgba(0,0,0,0.95), 0 2px 12px rgba(0,0,0,0.8); }
/* ===== Paneles de texto del hero (uno por slide, rotan con la imagen) ===== */
.hero-text-panel { display: none; }
.hero-text-panel.active { display: block; animation: hero-text-in 0.6s ease-out; }
@keyframes hero-text-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.hero-text-panel h1 { color: var(--hero-title-color, #fff); }
.hero-text-panel h1 .gold { color: var(--hero-accent-color, #d4a574); }
.hero-text-panel p { color: var(--hero-desc-color, rgba(255,255,255,0.95)); }
.hero-text-panel .hero-badge { color: var(--hero-accent-color, #e0bd6e); background: color-mix(in srgb, var(--hero-accent-color, #e0bd6e) 20%, transparent); border-color: color-mix(in srgb, var(--hero-accent-color, #e0bd6e) 40%, transparent); }
.hero-text-panel .hero-badge .dot { background: var(--hero-accent-color, #e0bd6e); }
.hero-text-panel.title-size-sm h1 { font-size: clamp(1.75rem, 4.5vw, 3rem); }
.hero-text-panel.title-size-md h1 { font-size: clamp(2.25rem, 6vw, 4.25rem); }
.hero-text-panel.title-size-lg h1 { font-size: clamp(3rem, 8vw, 5.5rem); }
.hero-text-panel.title-size-xl h1 { font-size: clamp(3.5rem, 10vw, 6.75rem); }
.hero-text-panel.desc-size-sm p { font-size: clamp(0.875rem, 1.6vw, 1rem); }
.hero-text-panel.desc-size-md p { font-size: clamp(1.05rem, 2.2vw, 1.35rem); }
.hero-text-panel.desc-size-lg p { font-size: clamp(1.15rem, 2.6vw, 1.5rem); }
/* Niveles de sombra de la descripcion */
.hero-text-panel.desc-shadow-none p { text-shadow: none !important; }
.hero-text-panel.desc-shadow-light p { text-shadow: 0 1px 3px rgba(0,0,0,0.55) !important; }
.hero-text-panel.desc-shadow-medium p { text-shadow: 0 2px 8px rgba(0,0,0,0.75) !important; }
.hero-text-panel.desc-shadow-strong p { text-shadow: 0 1px 4px rgba(0,0,0,0.95), 0 4px 18px rgba(0,0,0,0.9) !important; }
/* Bordes de la descripcion */
.hero-text-panel.desc-border-outline p { -webkit-text-stroke: 1px var(--desc-border-color, #fff); paint-order: stroke fill; }
.hero-text-panel.desc-border-box p { background: rgba(0,0,0,0.38); border: 1px solid var(--desc-border-color, rgba(255,255,255,0.6)); padding: 12px 18px; border-radius: 8px; width: fit-content; max-width: 560px; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 10px; font-weight: 600; font-size: 15px; cursor: pointer; border: none; text-decoration: none; transition: all 0.2s; font-family: inherit; }
.btn-primary { background: #d4a574; color: #0f4d2c; box-shadow: 0 10px 30px -8px rgba(212,165,116,0.5); }
.btn-primary:hover { background: #c98e4a; transform: translateY(-2px); }
.btn-outline { background: rgba(255,255,255,0.1); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.3); color: white; }
.btn-outline:hover { background: rgba(255,255,255,0.2); }
.hero-controls { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.hero-dot { width: 24px; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.4); border: none; cursor: pointer; transition: all 0.3s; }
.hero-dot.active { width: 48px; background: #d4a574; }
.hero-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.1); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.2); color: white; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 18px; transition: all 0.2s; }
.hero-nav:hover { background: #d4a574; color: #0f4d2c; }
.hero-nav.prev { left: 24px; }
.hero-nav.next { right: 24px; }

/* ============== ABOUT ============== */
.section { padding: 80px 0; }
.section-dark { background: #062817; color: white; }
.section-sand { background: #faf7f0; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-badge { display: inline-block; padding: 6px 16px; border-radius: 999px; background: #dcebde; color: #0f4d2c; font-size: 12px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 16px; }
.section-dark .section-badge { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #d4a574; }
.section-title { font-family: 'Playfair Display', serif; font-weight: 900; font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 16px; line-height: 1.1; }
.section-title .gold { color: #d4a574; }
.section-subtitle { font-size: 1.125rem; opacity: 0.7; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-image-wrap { position: relative; }
.about-image { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 24px; box-shadow: 0 25px 60px -15px rgba(15, 77, 44, 0.35); }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.stat-card { background: white; border: 1px solid #dcebde; border-radius: 16px; padding: 20px; transition: box-shadow 0.2s; }
.stat-card:hover { box-shadow: 0 10px 40px -10px rgba(15, 77, 44, 0.25); }
.stat-card i { color: #c98e4a; font-size: 24px; margin-bottom: 8px; }
.stat-card strong { display: block; font-family: 'Playfair Display', serif; font-weight: 900; font-size: 28px; color: #0f4d2c; }
.stat-card small { color: var(--muted); font-size: 13px; }

/* ============== FACILITIES ============== */
.facilities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.facility-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; overflow: hidden; transition: all 0.3s; }
.facility-card:hover { border-color: rgba(212,165,116,0.5); transform: translateY(-4px); }
.facility-image { height: 220px; overflow: hidden; position: relative; }
.facility-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.facility-card:hover .facility-image img { transform: scale(1.1); }
.facility-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, #062817, transparent 60%); }
.facility-icon { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 12px; background: rgba(212,165,116,0.9); display: flex; align-items: center; justify-content: center; color: #0f4d2c; font-size: 22px; z-index: 2; }
.facility-body { padding: 24px; }
.facility-body h3 { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 20px; color: white; margin-bottom: 8px; }
.facility-body h3:hover { color: #d4a574; }
.facility-body p { color: rgba(255,255,255,0.7); font-size: 14px; }

/* ============== SERVICES ============== */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.05); transition: all 0.3s; border: 1px solid #f3ecdc; }
.service-card:hover { box-shadow: 0 25px 60px -15px rgba(15, 77, 44, 0.35); transform: translateY(-4px); }
.service-image { aspect-ratio: 4/3; overflow: hidden; }
.service-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.service-card:hover .service-image img { transform: scale(1.1); }
.service-body { padding: 24px; }
.service-icon { width: 48px; height: 48px; border-radius: 12px; background: #dcebde; display: flex; align-items: center; justify-content: center; color: #0f4d2c; font-size: 22px; margin-bottom: 16px; transition: background 0.2s; }
.service-card:hover .service-icon { background: #d4a574; }
.service-body h3 { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 18px; color: #0f4d2c; margin-bottom: 8px; }
.service-body p { color: var(--muted); font-size: 14px; }

/* ============== GALLERY ============== */
.gallery-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 40px; }
.gallery-filter { padding: 8px 16px; border-radius: 999px; background: #f3ecdc; color: #0f4d2c; border: none; font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.2s; font-family: inherit; }
.gallery-filter.active { background: #0f4d2c; color: white; box-shadow: 0 4px 12px rgba(15,77,44,0.3); }
.gallery-grid { columns: 4; column-gap: 16px; }
.gallery-item { break-inside: avoid; margin-bottom: 16px; border-radius: 16px; overflow: hidden; cursor: pointer; position: relative; display: block; min-height: 200px; background: linear-gradient(135deg, #0f4d2c, #062817); }
.gallery-item img { width: 100%; display: block; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-noimg-placeholder { width: 100%; height: 200px; }
.gallery-noimg .gallery-overlay { opacity: 1; background: linear-gradient(135deg, rgba(15,77,44,0.85), rgba(6,40,23,0.92)); }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,40,23,0.9), transparent 60%); opacity: 0; transition: opacity 0.3s; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-cat { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #d4a574; color: #0f4d2c; font-size: 10px; font-weight: 700; text-transform: uppercase; margin-bottom: 8px; align-self: flex-start; }
.gallery-title { color: white; font-family: 'Playfair Display', serif; font-weight: 700; font-size: 18px; }
.gallery-play-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 56px; color: white; text-shadow: 0 4px 16px rgba(0,0,0,0.6); pointer-events: none; transition: transform 0.3s; z-index: 2; }
.gallery-item-video:hover .gallery-play-icon { transform: translate(-50%, -50%) scale(1.15); }
.gallery-item-video .gallery-cat { background: #DC2626; color: white; }

/* ============== LIGHTBOX ============== */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 100; display: none; align-items: center; justify-content: center; padding: 16px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90%; max-height: 80vh; border-radius: 12px; }
.lightbox-close { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.1); color: white; border: none; cursor: pointer; font-size: 20px; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.1); color: white; border: none; cursor: pointer; font-size: 20px; }
.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }

/* ============== PRICING ============== */
.pricing-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 40px; }
.pricing-tab { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.8); padding: 12px 24px; border-radius: 16px; cursor: pointer; transition: all 0.3s; font-family: inherit; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.pricing-tab:hover { background: rgba(255,255,255,0.15); }
.pricing-tab.active { color: white; transform: scale(1.05); box-shadow: 0 25px 60px -15px rgba(0,0,0,0.5); }
.pricing-tab strong { font-size: 15px; }
.pricing-tab small { font-size: 11px; opacity: 0.8; }
.pricing-poster { max-width: 1100px; margin: 0 auto; border-radius: 24px; padding: 40px; position: relative; overflow: hidden; box-shadow: 0 25px 60px -15px rgba(0,0,0,0.5); }
.pricing-poster-header { text-align: center; margin-bottom: 32px; position: relative; z-index: 2; }
.pricing-poster-header h3 { font-family: 'Playfair Display', serif; font-weight: 900; color: white; font-size: clamp(1.5rem, 4vw, 2.5rem); text-shadow: 0 4px 12px rgba(0,0,0,0.4); }
.pricing-poster-header .subtitle { font-family: 'Playfair Display', serif; font-weight: 700; color: rgba(255,255,255,0.95); font-size: clamp(1rem, 3vw, 1.5rem); letter-spacing: 0.2em; margin-top: 4px; }
.pricing-poster-header .desc { color: rgba(255,255,255,0.8); font-size: 13px; font-style: italic; margin-top: 8px; }
.pricing-table { width: 100%; border-collapse: collapse; border-radius: 16px; overflow: hidden; position: relative; z-index: 2; }
.pricing-table th { padding: 16px 12px; color: white; font-family: 'Playfair Display', serif; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; text-align: center; border-right: 2px solid rgba(255,255,255,0.2); }
.pricing-table th:last-child { border-right: none; }
.pricing-table td { padding: 16px 12px; color: white; text-align: center; border-right: 2px solid rgba(255,255,255,0.15); font-size: 15px; }
.pricing-table td:last-child { border-right: none; }
.pricing-table td:first-child { text-align: left; font-family: 'Playfair Display', serif; font-weight: 700; }
.pricing-table td.bold { font-family: 'Playfair Display', serif; font-weight: 900; font-size: 16px; }
.pricing-deco { position: absolute; top: 16px; opacity: 0.3; color: #FFF8E1; }
.pricing-deco.left { left: 16px; }
.pricing-deco.right { right: 16px; }
.pricing-nav { display: flex; justify-content: center; gap: 16px; align-items: center; margin-top: 24px; }
.pricing-nav-info { color: rgba(255,255,255,0.6); font-size: 14px; }
.pricing-note { max-width: 1100px; margin: 24px auto 0; padding: 16px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 12px; display: flex; gap: 12px; color: rgba(255,255,255,0.8); font-size: 14px; }
.pricing-note i { color: #d4a574; }

/* ============== CONTACT ============== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.contact-map { border-radius: 24px; overflow: hidden; border: 4px solid rgba(255,255,255,0.1); min-height: 400px; }
.contact-map iframe { width: 100%; height: 100%; min-height: 400px; border: 0; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 20px; display: flex; gap: 16px; align-items: flex-start; transition: background 0.2s; }
.contact-card:hover { background: rgba(255,255,255,0.1); }
.contact-icon { width: 48px; height: 48px; border-radius: 12px; background: #d4a574; display: flex; align-items: center; justify-content: center; color: #0f4d2c; font-size: 22px; flex-shrink: 0; }
.contact-card h4 { font-family: 'Playfair Display', serif; font-weight: 700; color: white; margin-bottom: 4px; }
.contact-card p, .contact-card a { color: rgba(255,255,255,0.7); font-size: 14px; }
.contact-card a:hover { color: #d4a574; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.btn-whatsapp { background: #25D366; color: white; }
.btn-whatsapp:hover { background: #1da851; }

/* ============== FOOTER ============== */
.footer { background: #062817; color: white; padding: 56px 0 24px; border-top: 1px solid #1f432e; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #e0bd6e, #d4a574, #b27139); display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-weight: 900; color: #0f4d2c; font-size: 20px; }
.footer-name { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 14px; display: block; }
.footer-sub { font-size: 10px; color: #d4a574; letter-spacing: 0.25em; text-transform: uppercase; }
.footer-text { color: rgba(255,255,255,0.6); font-size: 14px; }
.footer h4 { font-family: 'Playfair Display', serif; color: #d4a574; font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer ul li { padding: 6px 0; color: rgba(255,255,255,0.6); font-size: 14px; }
.footer ul li a:hover { color: #d4a574; }
.footer ul li i { color: #d4a574; margin-right: 8px; width: 16px; }
.footer-social { display: flex; gap: 8px; margin-top: 16px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.footer-social a:hover { background: #d4a574; color: #0f4d2c; }
.footer-bottom { border-top: 1px solid #1f432e; padding-top: 24px; text-align: center; }
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 12px; }

/* ============== BOTONES FLOTANTES ============== */
/* Siempre visibles, fijos en la esquina inferior derecha, por encima de todo el contenido */
.floating-buttons { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 12px; }
.floating-btn { width: 56px; height: 56px; border-radius: 50%; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 24px; color: white; box-shadow: 0 8px 24px rgba(0,0,0,0.3); transition: all 0.3s; text-decoration: none; position: relative; }
.floating-btn:hover { transform: scale(1.1) translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,0.4); }
.floating-btn:active { transform: scale(0.95); }
.floating-btn-phone { background: linear-gradient(135deg, #2563EB, #1D4ED8); }
.floating-btn-phone:hover { background: linear-gradient(135deg, #1D4ED8, #1E3A8A); }
.floating-btn-whatsapp { background: linear-gradient(135deg, #25D366, #1DA851); animation: wa-pulse 2s infinite; }
.floating-btn-whatsapp:hover { background: linear-gradient(135deg, #1DA851, #16803D); animation: none; }
@keyframes wa-pulse { 0% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.6); } 70% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5), 0 0 0 18px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0); } }
@media (max-width: 768px) { .floating-buttons { bottom: 16px; right: 16px; gap: 10px; } .floating-btn { width: 50px; height: 50px; font-size: 20px; } }

/* ============== MODAL WHATSAPP - DISEÑO PREMIUM ============== */
/* El modal esta OCULTO por defecto. Solo aparece al presionar el boton flotante de WhatsApp */
.wa-modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 16px; visibility: hidden; opacity: 0; pointer-events: none; }
.wa-modal.open { display: flex; visibility: visible; opacity: 1; pointer-events: auto; }
.wa-modal-overlay { position: absolute; inset: 0; background: rgba(6,40,23,0.7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: wa-fade-in 0.25s ease-out; }
.wa-modal-box { position: relative; background: #ffffff; border-radius: 24px; max-width: 480px; width: 100%; max-height: 92vh; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(6,40,23,0.6), 0 10px 30px -10px rgba(0,0,0,0.3); animation: wa-slide-up 0.35s cubic-bezier(0.16, 1, 0.3, 1); display: flex; flex-direction: column; }
@keyframes wa-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes wa-slide-up { from { transform: translateY(40px) scale(0.96); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }

/* Header con degradado WhatsApp */
.wa-modal-header { position: relative; padding: 24px 24px 20px; overflow: hidden; color: white; background: linear-gradient(135deg, #25D366 0%, #128C7E 100%); }
.wa-header-bg { position: absolute; inset: 0; opacity: 0.12; background-image: radial-gradient(circle at 80% 20%, white 1px, transparent 1px), radial-gradient(circle at 20% 80%, white 1px, transparent 1px); background-size: 24px 24px; }
.wa-modal-title { position: relative; display: flex; align-items: center; gap: 14px; }
.wa-icon-badge { width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,0.2); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; flex-shrink: 0; border: 1px solid rgba(255,255,255,0.25); }
.wa-icon-badge i { font-size: 26px; color: white; }
.wa-modal-title h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 22px; font-weight: 800; line-height: 1.1; margin-bottom: 3px; letter-spacing: -0.3px; }
.wa-modal-title p { font-size: 13px; opacity: 0.92; font-weight: 400; }

/* Boton cerrar */
.wa-modal-close { position: absolute; top: 16px; right: 16px; z-index: 5; background: rgba(255,255,255,0.18); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.25); color: white; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 14px; display: flex; align-items: center; justify-content: center; transition: all 0.2s; flex-shrink: 0; }
.wa-modal-close:hover { background: rgba(255,255,255,0.35); transform: rotate(90deg); }

/* Formulario */
.wa-modal-form { padding: 22px 24px 20px; overflow-y: auto; flex: 1; }
.wa-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.wa-form-group { margin-bottom: 14px; }
.wa-form-group:last-of-type { margin-bottom: 18px; }
.wa-form-group > label { display: block; font-size: 13px; font-weight: 600; color: #1f2937; margin-bottom: 6px; letter-spacing: -0.1px; }
.wa-required { color: #ef4444; font-weight: 700; }
.wa-optional { color: #9ca3af; font-weight: 400; font-size: 11px; }

/* Input wraps con icono integrado */
.wa-input-wrap { position: relative; display: flex; align-items: center; }
.wa-input-icon { position: absolute; left: 14px; color: #9ca3af; font-size: 14px; pointer-events: none; transition: color 0.2s; z-index: 1; }
.wa-input-wrap input, .wa-input-wrap select, .wa-input-wrap textarea { width: 100%; padding: 12px 14px 12px 40px; border: 2px solid #e5e7eb; border-radius: 12px; font-size: 14px; font-family: inherit; background: #f9fafb; transition: all 0.2s; box-sizing: border-box; color: #1f2937; }
.wa-input-wrap input::placeholder, .wa-input-wrap textarea::placeholder { color: #9ca3af; }
.wa-input-wrap input:focus, .wa-input-wrap select:focus, .wa-input-wrap textarea:focus { outline: none; border-color: #25D366; background: #ffffff; box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.12); }
.wa-input-wrap input:focus + .wa-input-icon, .wa-input-wrap:focus-within .wa-input-icon { color: #25D366; }

/* Select personalizado */
.wa-select-wrap select { appearance: none; -webkit-appearance: none; -moz-appearance: none; padding-right: 40px; cursor: pointer; }
.wa-select-arrow { position: absolute; right: 14px; color: #6b7280; font-size: 12px; pointer-events: none; }

/* Textarea */
.wa-textarea-wrap textarea { padding-left: 14px !important; min-height: 70px; resize: vertical; line-height: 1.5; font-family: inherit; }

/* Estado error */
.wa-input-wrap.wa-error input, .wa-input-wrap.wa-error select, .wa-input-wrap.wa-error textarea { border-color: #ef4444; background: #fef2f2; }
.wa-input-wrap.wa-error .wa-input-icon { color: #ef4444; }
.wa-input-wrap.wa-error input:focus, .wa-input-wrap.wa-error select:focus, .wa-input-wrap.wa-error textarea:focus { box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12); }
.wa-input-wrap.wa-error { animation: wa-shake 0.4s; }
@keyframes wa-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

/* Boton enviar */
.wa-submit-btn { width: 100%; background: linear-gradient(135deg, #25D366 0%, #128C7E 100%); color: white; border: none; padding: 15px 20px; border-radius: 12px; font-size: 15px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; transition: all 0.25s; font-family: inherit; margin-top: 6px; letter-spacing: 0.2px; box-shadow: 0 8px 20px -6px rgba(37, 211, 102, 0.5); position: relative; overflow: hidden; }
.wa-submit-btn::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%); opacity: 0; transition: opacity 0.25s; }
.wa-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.6); }
.wa-submit-btn:hover::before { opacity: 1; }
.wa-submit-btn:active { transform: translateY(0); }
.wa-submit-btn i.fa-whatsapp { font-size: 18px; }
.wa-btn-arrow { font-size: 12px; transition: transform 0.25s; }
.wa-submit-btn:hover .wa-btn-arrow { transform: translateX(4px); }

/* Nota inferior */
.wa-form-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; padding: 10px 12px; background: #f0fdf4; border-radius: 10px; color: #166534; font-size: 11.5px; line-height: 1.4; }
.wa-form-note i { color: #25D366; font-size: 12px; flex-shrink: 0; }

/* Responsive */
@media (max-width: 480px) {
  .wa-form-grid { grid-template-columns: 1fr; gap: 0; }
  .wa-modal-box { max-width: 100%; border-radius: 20px; }
  .wa-modal-header { padding: 20px 20px 16px; }
  .wa-modal-title h3 { font-size: 19px; }
  .wa-modal-title p { font-size: 12px; }
  .wa-icon-badge { width: 42px; height: 42px; }
  .wa-icon-badge i { font-size: 22px; }
  .wa-modal-form { padding: 18px 20px 16px; }
  .wa-submit-btn { padding: 14px 18px; font-size: 14px; }
}
@media (max-width: 360px) {
  .floating-buttons { bottom: 12px; right: 12px; }
  .floating-btn { width: 48px; height: 48px; font-size: 18px; }
}

/* ============== ADMIN ============== */
.admin-login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #0F4D2C, #062817); padding: 20px; }
.admin-login-box { background: white; border-radius: 24px; padding: 40px; max-width: 400px; width: 100%; box-shadow: 0 25px 60px -15px rgba(0,0,0,0.5); }
.admin-login-box h1 { font-family: 'Playfair Display', serif; font-weight: 700; color: #0f4d2c; text-align: center; margin-bottom: 8px; }
.admin-login-box p { text-align: center; color: #666; margin-bottom: 24px; font-size: 14px; }
.admin-login-icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 16px; background: #dcebde; display: flex; align-items: center; justify-content: center; color: #0f4d2c; font-size: 28px; }
.admin-page { display: flex; min-height: 100vh; background: #faf7f0; }
.admin-sidebar { width: 240px; background: #0f4d2c; color: white; padding: 20px 12px; flex-shrink: 0; }
.admin-sidebar-brand { padding: 8px 12px 24px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 16px; }
.admin-sidebar-brand strong { font-family: 'Playfair Display', serif; font-size: 18px; display: block; }
.admin-sidebar-brand small { color: #d4a574; font-size: 11px; }
.admin-sidebar a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: rgba(255,255,255,0.8); font-size: 14px; margin-bottom: 4px; transition: all 0.2s; }
.admin-sidebar a:hover { background: rgba(255,255,255,0.1); color: white; }
.admin-sidebar a.active { background: #d4a574; color: #0f4d2c; }
.admin-sidebar a i { width: 20px; }
.admin-content { flex: 1; padding: 24px; overflow-y: auto; max-height: 100vh; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.admin-topbar h2 { font-family: 'Playfair Display', serif; font-weight: 700; color: #0f4d2c; font-size: 24px; }
.admin-topbar p { color: #666; font-size: 14px; }
.admin-card { background: white; border-radius: 12px; padding: 16px; border: 1px solid #dcebde; box-shadow: 0 2px 4px rgba(0,0,0,0.03); margin-bottom: 12px; position: relative; }
.admin-card-actions { position: absolute; top: 8px; right: 8px; display: flex; gap: 4px; opacity: 0; transition: opacity 0.2s; }
.admin-card:hover .admin-card-actions { opacity: 1; }
.admin-btn-icon { width: 32px; height: 32px; border-radius: 8px; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.admin-btn-edit { background: #dcebde; color: #0f4d2c; }
.admin-btn-delete { background: #fee; color: #c00; }
.admin-form-group { margin-bottom: 16px; }
.admin-form-group label { display: block; font-weight: 600; color: #0f4d2c; margin-bottom: 6px; font-size: 14px; }
.admin-form-group input, .admin-form-group textarea, .admin-form-group select { width: 100%; padding: 10px 12px; border: 2px solid #dcebde; border-radius: 8px; font-size: 14px; font-family: inherit; background: white; }
.admin-form-group input:focus, .admin-form-group textarea:focus, .admin-form-group select:focus { outline: none; border-color: #0f4d2c; }
.admin-form-group textarea { min-height: 80px; resize: vertical; }
.admin-table { width: 100%; border-collapse: collapse; background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 4px rgba(0,0,0,0.03); }
.admin-table th { background: #0f4d2c; color: white; padding: 12px; text-align: left; font-size: 13px; }
.admin-table td { padding: 12px; border-top: 1px solid #dcebde; font-size: 14px; }
.admin-table tr:hover { background: #faf7f0; }
.admin-flash { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-size: 14px; }
.admin-flash.success { background: #dfd; border-left: 4px solid #0a0; color: #060; }
.admin-flash.error { background: #fee; border-left: 4px solid #c00; color: #c00; }
.admin-modal-bg { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.admin-modal-bg.open { display: flex; }
.admin-modal { background: white; border-radius: 16px; padding: 24px; max-width: 600px; width: 100%; max-height: 90vh; overflow-y: auto; }
.admin-modal h3 { font-family: 'Playfair Display', serif; font-weight: 700; color: #0f4d2c; margin-bottom: 16px; }
.admin-color-row { display: flex; gap: 8px; align-items: center; }
.admin-color-row input[type=color] { width: 40px; height: 36px; border: 1px solid #dcebde; border-radius: 8px; cursor: pointer; }

/* ============== RESPONSIVE ============== */
@media (max-width: 1024px) {
  .facilities-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { columns: 3; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .navbar-menu { display: none; }
  .navbar-toggle { display: block; }
  .navbar-menu.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(15,77,44,0.97); padding: 16px; gap: 0; }
  .navbar-menu.open a { padding: 14px; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .facilities-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { columns: 2; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .pricing-poster { padding: 24px 16px; }
  .pricing-table { font-size: 12px; }
  .pricing-table th, .pricing-table td { padding: 10px 6px; }
  .admin-sidebar { width: 60px; }
  .admin-sidebar a span { display: none; }
  .admin-sidebar-brand small { display: none; }
  .admin-content { padding: 16px; }
  .section { padding: 56px 0; }
}
@media (max-width: 480px) {
  .gallery-grid { columns: 1; }
  .pricing-table-wrap { overflow-x: auto; }
}
