/* ==========================================================================
   CLEANMYL - Premium Responsive Web Design (Mobile-First & Desktop Fluid)
   ========================================================================== */

:root {
  --bg-navy: #3E639B;             /* Friendly slate navy from screenshot */
  --bg-navy-dark: #1E3453;        /* Elegant dark navy for headers & card text */
  --card-light-blue: #D7E5F6;     /* Soft, pastel blue card background */
  --yellow-vibrant: #FFD033;      /* Vibrant yellow for primary actions */
  --yellow-hover: #EBB624;        /* Golden yellow on hover */
  --text-white: #FFFFFF;
  --text-navy-dark: #1E3453;      /* Dark navy for card text readability */
  --text-yellow-contrast: #15253F;/* Navy text for yellow backgrounds */
  --text-muted: #B3CDEB;          /* Muted light blue for subheaders */
  --input-bg: rgba(255, 255, 255, 0.12); /* Sleek translucent inputs */
  --input-border: rgba(255, 255, 255, 0.25);
  --input-focus: rgba(255, 255, 255, 0.6);
  --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.15);
  --shadow-btn: 0 8px 16px -6px rgba(255, 208, 51, 0.4);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: linear-gradient(135deg, #2D4C7C 0%, #152744 100%);
  color: var(--text-white);
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-x: hidden;
}

/* Full Width Fluid Container - Compatible with Desktop and Mobile */
.app-container {
  width: 100%;
  max-width: 100%; /* Spans full screen on all viewports */
  min-height: 100vh;
  background-color: var(--bg-navy);
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: 0 0, 12px 12px;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  padding: 24px 20px 0 20px;
}

/* Smooth Scrolling Animation Triggers */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Sparkles Background Elements */
.sparkle-bg {
  position: absolute;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.35);
  pointer-events: none;
  z-index: 1;
  animation: float-sparkle 6s ease-in-out infinite alternate;
}

.sparkle-1 { top: 8%; right: 5%; animation-delay: 0s; font-size: 1.8rem; }
.sparkle-2 { top: 18%; left: 4%; animation-delay: 1.5s; font-size: 1.2rem; }
.sparkle-3 { top: 48%; right: 4%; animation-delay: 3s; font-size: 1.4rem; }
.sparkle-4 { bottom: 25%; left: 6%; animation-delay: 4.5s; font-size: 1.6rem; }

@keyframes float-sparkle {
  0% { transform: translateY(0) rotate(0deg) scale(1); opacity: 0.3; }
  100% { transform: translateY(-12px) rotate(15deg) scale(1.15); opacity: 0.7; }
}

/* Floating Bubbles Background Texture Styles */
.bubble-bg {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.01) 70%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
  z-index: 1;
  animation: float-bubble 15s linear infinite;
  opacity: 0;
}

.bubble-1 { top: 12%; left: 8%; width: 35px; height: 35px; animation-duration: 12s; animation-delay: 0s; }
.bubble-2 { top: 38%; right: 7%; width: 55px; height: 55px; animation-duration: 18s; animation-delay: 2s; }
.bubble-3 { top: 62%; left: 4%; width: 28px; height: 28px; animation-duration: 10s; animation-delay: 1s; }
.bubble-4 { bottom: 18%; right: 9%; width: 45px; height: 45px; animation-duration: 14s; animation-delay: 3s; }

@keyframes float-bubble {
  0% { transform: translateY(50px) scale(0.9); opacity: 0; }
  15% { opacity: 0.35; }
  85% { opacity: 0.35; }
  100% { transform: translateY(-80px) scale(1.1); opacity: 0; }
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */

.hero-section {
  width: 100%;
  max-width: 680px; /* Centered content constraint */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 0 28px 0;
  z-index: 2;
}

.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}

.subtitle-top {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.brand-logo {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-white);
  line-height: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.hero-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--yellow-vibrant);
  line-height: 1.3;
  margin-bottom: 24px;
  max-width: 420px;
}

/* Benefits List style */
.benefits-list {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  width: 100%;
  max-width: 320px;
}

.benefits-list li {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-white);
  gap: 12px;
}

.checkmark-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
}

/* Buttons style */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 14px;
  cursor: pointer;
  transition: var(--transition-smooth);
  width: 100%;
}

.btn-primary {
  background-color: var(--yellow-vibrant);
  color: var(--text-yellow-contrast);
  padding: 16px 24px;
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover, .btn-primary:active {
  background-color: var(--yellow-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -6px rgba(255, 208, 51, 0.5);
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-hero {
  max-width: 280px;
  animation: pulse-button 2.5s infinite;
}

@keyframes pulse-button {
  0% { box-shadow: 0 0 0 0 rgba(255, 208, 51, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(255, 208, 51, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 208, 51, 0); }
}

/* ==========================================================================
   2. SERVICES SECTION
   ========================================================================== */

.services-section {
  width: 100%;
  max-width: 880px; /* Centered content constraint */
  margin: 0 auto;
  padding: 16px 0 28px 0;
  z-index: 2;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  color: var(--text-white);
  margin-bottom: 24px;
}

/* Flex layout with mobile order controls */
.services-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

/* Service Card Styles */
.service-card {
  background-color: var(--card-light-blue);
  color: var(--text-navy-dark);
  border-radius: 20px;
  padding: 24px;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -5px rgba(0, 0, 0, 0.2);
}

.card-sparkle {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 1.6rem;
  color: rgba(30, 52, 83, 0.2);
}

.service-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.service-desc {
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(30, 52, 83, 0.85);
  margin-bottom: 16px;
}

.service-details {
  margin-bottom: 20px;
}

.includes-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(30, 52, 83, 0.6);
  margin-bottom: 8px;
}

.details-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.details-list li {
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.35;
  padding-left: 14px;
  position: relative;
  color: var(--text-navy-dark);
}

.details-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--text-navy-dark);
  font-weight: bold;
}

.service-duration {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-navy-dark);
  margin-bottom: 16px;
  margin-top: auto; /* Push duration and button to bottom of cards */
}

.btn-card-select {
  background-color: var(--text-navy-dark);
  color: var(--text-white);
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
}

.btn-card-select:hover {
  background-color: #2F4B72;
}

/* Recommended Service Card Styling */
.card-recommended {
  border: 3px solid var(--yellow-vibrant);
}

.badge-recommended {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--yellow-vibrant);
  color: var(--text-yellow-contrast);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
  white-space: nowrap;
}

.recommended-btn {
  background-color: var(--yellow-vibrant);
  color: var(--text-yellow-contrast);
}

.recommended-btn:hover {
  background-color: var(--yellow-hover);
}

/* ==========================================================================
   3. SPECIAL BANNER: EVENTOS Y REGALOS (Elegantly Restyled to avoid shouting)
   ========================================================================== */

.special-banner {
  background: linear-gradient(135deg, #2D4C7C 0%, #1A3054 100%);
  color: var(--text-white);
  border: 2px solid rgba(255, 208, 51, 0.45); /* Warm golden border */
  border-radius: 20px;
  padding: 24px 20px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-card);
  margin: 16px auto 28px auto;
  width: 100%;
  max-width: 880px; /* Centered content constraint */
  z-index: 2;
  overflow: hidden;
}

.special-banner::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 100px;
  height: 100px;
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  pointer-events: none;
}

.special-banner::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 100px;
  height: 100px;
  background-color: rgba(255, 255, 255, 0.02);
  border-radius: 50%;
  pointer-events: none;
}

.banner-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.banner-title {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 8px;
  color: var(--yellow-vibrant); /* High contrast but premium */
  padding: 0 4px;
}

.banner-desc {
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85); /* Highly readable, calm white */
  margin-bottom: 16px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 4px;
}

.btn-secondary-banner {
  background-color: #FFFFFF;
  color: var(--text-navy-dark);
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  width: auto; /* Smaller width footprint */
  max-width: 260px;
  display: inline-flex;
}

.btn-secondary-banner:hover {
  background-color: #F8FAFC;
  transform: translateY(-1px);
}

/* ==========================================================================
   4. BOOKING FORM SECTION (Sleeker, Compacted, Fewer Stacked Rows)
   ========================================================================== */

.booking-section {
  width: 100%;
  max-width: 500px; /* Snug centered form width on all viewports */
  margin: 16px auto 28px auto;
  z-index: 10; /* Elevated from 2 to stack securely above footer layers (solving 📞 and 📍 overlap) */
}

.section-header-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.calendar-header-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-title-form {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-white);
  text-align: center;
}

#booking-form {
  display: flex;
  flex-direction: column;
  gap: 16px; /* Snug gaps */
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

/* Support Side-by-Side Flex Layout Row */
.form-row {
  display: flex;
  gap: 14px;
  width: 100%;
}

.flex-1 {
  flex: 1;
  min-width: 0; /* Prevents overflow inside flex box */
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 5px;
}

.input-icon {
  font-size: 1rem;
}

.optional-badge {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 2px;
}

/* Inputs, Textarea and Selects Styling */
.form-input, .form-select {
  width: 100%;
  background-color: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 12px;
  padding: 12px 14px; /* Slightly compacted padding */
  color: var(--text-white);
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  outline: none;
  transition: var(--transition-smooth);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.form-input:focus, .form-select:focus {
  border-color: var(--input-focus);
  background-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

/* Custom Calendar Dropdown Styles - Premium Solid Light Theme */
.calendar-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 280px;
  background-color: #FFFFFF !important; /* 100% solid pure white background */
  opacity: 1 !important;
  border: 2px solid #3E639B !important; /* Premium slate navy outline */
  border-radius: 14px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25) !important;
  padding: 14px;
  z-index: 99999 !important; /* Sits above all other page layers */
  margin-top: 8px;
  font-family: 'Outfit', sans-serif;
  color: #1E3453 !important; /* Highly legible dark navy text */
  box-sizing: border-box;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.calendar-btn {
  background: none;
  border: none;
  color: #1E3453 !important;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 8px;
  transition: background 0.2s;
}

.calendar-btn:hover {
  background-color: #EBF3FC !important;
}

.calendar-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #1E3453 !important;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #4A6B9D !important; /* Sophisticated mid-navy slate */
  margin-bottom: 8px;
}

.calendar-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.calendar-day {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1E3453 !important; /* Bold legible numbers */
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.calendar-day:hover:not(.disabled) {
  background-color: var(--yellow-vibrant) !important;
  color: #15253F !important;
  font-weight: 700;
}

.calendar-day.disabled {
  color: #B3CDEB !important; /* Slate pastel blue representing unselectable dates */
  cursor: not-allowed;
  background-color: #F8FAFC !important; /* Light gray cell */
}

.calendar-day.today {
  border: 1.5px solid #3E639B !important;
}

.calendar-day.selected {
  background-color: var(--yellow-vibrant) !important;
  color: #15253F !important;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(255, 208, 51, 0.4);
}

/* Translucent select option fix */
.form-select option {
  background-color: #2C4B78;
  color: var(--text-white);
}

/* Select arrow styling */
.select-wrapper {
  position: relative;
  width: 100%;
}

.select-wrapper::after {
  content: "▼";
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.7);
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 32px;
}

/* Warnings and info blocks */
.warning-text {
  display: none; /* Controlled via JS */
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--yellow-vibrant);
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 4px;
}

.warning-icon {
  font-size: 0.85rem;
}

/* WhatsApp submit button */
.btn-whatsapp-submit {
  background-color: var(--yellow-vibrant);
  color: var(--text-yellow-contrast);
  padding: 16px 24px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: var(--shadow-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}

.btn-whatsapp-submit:hover {
  background-color: var(--yellow-hover);
  transform: translateY(-1px);
}

.whatsapp-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-yellow-contrast);
}

/* ==========================================================================
   5. FOOTER (Tightened, Clean, Completely Eliminates Dead Space)
   ========================================================================== */

.footer-section {
  width: 100%;
  max-width: 600px;
  margin: 16px auto 0 auto;
  padding: 16px 0 16px 0; /* Snug spacing */
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
}

.footer-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px; /* Compacted gap */
  margin-bottom: 16px;
}

.btn-footer-contact {
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 18px; /* Compact button footprint */
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  max-width: 220px;
}

.btn-footer-contact:hover {
  background-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.btn-icon {
  margin-right: 4px;
}

.location-text {
  font-size: 0.85rem;
  color: var(--text-white);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}

.location-icon {
  color: var(--yellow-vibrant);
}

/* Compact Inline Hours Box (No stacked multi-line layout to save space) */
.hours-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.04);
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  width: auto;
}

.clock-icon {
  font-size: 0.95rem;
  color: var(--yellow-vibrant);
}

.hours-details {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
}

.hours-days {
  font-weight: 600;
  color: var(--text-white);
}

.hours-time {
  font-weight: 700;
  color: var(--yellow-vibrant);
}

.hours-note {
  font-weight: 500;
  color: var(--text-muted);
}

.footer-copyright {
  font-size: 0.7rem;
  color: var(--text-muted);
  opacity: 0.75;
}

/* ==========================================================================
   Responsive / Desktop Media Queries
   ========================================================================== */

/* Mobile view: Recommended Card goes first */
@media (max-width: 767px) {
  .card-recommended {
    order: -1; /* Display recommended first in the vertical flow */
  }
}

/* Desktop View Layout Enhancements */
@media (min-width: 768px) {
  .app-container {
    padding: 32px 40px 0 40px; /* Nicer outer padding for desktop screens */
  }

  .brand-logo {
    font-size: 3.4rem;
  }

  .hero-title {
    font-size: 2.2rem;
    max-width: 600px;
  }

  .benefits-list {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 24px;
    max-width: 100%;
    margin-bottom: 32px;
  }

  /* Two Column Grid for Services Card Side-by-Side */
  .services-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  /* Desktop Services Layout resets natural reading order (Basic left, Recommended right) */
  .service-card {
    order: 0 !important;
  }

  .special-banner {
    padding: 32px;
  }

  .banner-title {
    font-size: 1.4rem;
  }

  .banner-desc {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .booking-section {
    max-width: 500px;
  }

  .footer-section {
    padding-bottom: 24px;
  }
}

/* Adjustments for small screens */
@media (max-width: 360px) {
  .app-container {
    padding: 16px 12px 0 12px;
  }
  .brand-logo {
    font-size: 2.3rem;
  }
  .hero-title {
    font-size: 1.35rem;
  }
  .service-card {
    padding: 20px 16px;
  }
  .form-row {
    gap: 10px;
  }
}
