/**
 * roigdecoure-web.css - Disseny trencador amb moviment per a Roig de Coure
 * Animacions scroll-driven, parallax, reveals escalonats, glassmorphism
 * Zero emojis. Zero WordPress. Ultra-rapid.
 */

@font-face {
  font-family: 'Buffalo';
  src: url('../fonts/buffalo.woff2') format('woff2'),
       url('../fonts/buffalo.woff') format('woff'),
       url('../fonts/buffalo.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #831D1D;
  --primary-dark: #631515;
  --primary-light: #FBF4F2;
  --primary-glow: rgba(131, 29, 29, 0.12);
  --secondary: #5E7E6F;
  --secondary-dark: #456053;
  --secondary-light: #EEF5F1;
  --dark: #2A2421;
  --dark-soft: #423B36;
  --muted: #787069;
  --light: #FAF7F4;
  --border: #E8E1DA;
  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 0px;
  --shadow-sm: 0 2px 6px rgba(42,36,33,0.05);
  --shadow-md: 0 6px 18px rgba(42,36,33,0.08);
  --shadow-lg: 0 16px 36px rgba(42,36,33,0.12);
  --shadow-xl: 0 24px 60px rgba(42,36,33,0.18);
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --font-script: 'Buffalo', cursive, sans-serif;
  --font-serif: Verdana, Geneva, Tahoma, sans-serif;
  --font-sans: Verdana, Geneva, Tahoma, sans-serif;
  --font-main: Verdana, Geneva, Tahoma, sans-serif;
}

/* Línies rectes i pures artesanes: zero requadres arrodonits */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0 !important;
}
html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: 85px; overflow-x: hidden; }

body {
  font-family: var(--font-sans);
  background: var(--light);
  color: var(--dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; }

/* ==========================================================================
   ANIMACIONS DE SCROLL REVEAL (MOVIMENTS VISIBLES I EXAGERATS AMB FADE)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(70px);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-160px);
  transition: opacity 1.15s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.15s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(160px);
  transition: opacity 1.15s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.15s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.88) translateY(60px);
  transition: opacity 1.15s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.15s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

@media (max-width: 768px) {
  .reveal-left { transform: translateX(-70px); }
  .reveal-right { transform: translateX(70px); }
}

/* Retards escalonats */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }

/* Floating subtle */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.float-anim { animation: float 4s ease-in-out infinite; }

/* Pulse glow */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(131,29,29,0.3); }
  50% { box-shadow: 0 0 0 12px rgba(131,29,29,0); }
}

/* Gradient text shimmer */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Spinning slow */
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   BOTONS
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; font-size: 15px; font-weight: 600;
  border-radius: var(--radius-sm); border: 1.5px solid transparent;
  cursor: pointer; transition: var(--transition); text-align: center;
  position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 0; height: 0; background: rgba(255,255,255,0.15);
  border-radius: 50%; transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}
.btn:active::after { width: 300px; height: 300px; }

.btn-primary {
  background: var(--primary); color: #FFF !important; border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(131,29,29,0.3);
}
.btn-primary:hover {
  background: var(--primary-dark); transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(131,29,29,0.35);
}
.btn-secondary { background: var(--secondary); color: #FFF !important; }
.btn-secondary:hover { background: var(--secondary-dark); transform: translateY(-3px); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary-light); transform: translateY(-3px); }
.btn-outline-white { background: transparent; color: #FFF; border-color: rgba(255,255,255,0.7); }
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: #FFF; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }

/* Badges */
.badge { display: inline-flex; padding: 4px 10px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px; border-radius: var(--radius-sm); }
.badge-primary { background: var(--primary-light); color: var(--primary); }
.badge-secondary { background: var(--secondary-light); color: var(--secondary); }

/* Eyebrow */
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--primary); margin-bottom: 12px;
}
.section-header { text-align: center; margin-bottom: 52px; }
.section-header h2 {
  font-family: var(--font-serif); font-size: clamp(28px, 5vw, 40px);
  font-weight: 700; color: var(--dark); line-height: 1.2; margin-bottom: 14px;
}
.section-header p { font-size: 17px; color: var(--muted); max-width: 600px; margin: 0 auto; }

/* ==========================================================================
   1. NAVBAR GLASSMORPHISM
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(232,225,218,0.7);
  box-shadow: 0 2px 14px rgba(42,36,33,0.08);
  transition: var(--transition);
}
.site-header.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 4px 24px rgba(42,36,33,0.12);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand-wrapper { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-logo-img {
  height: 48px; width: auto; max-width: 60px; object-fit: contain; display: block;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.brand-wrapper:hover .brand-logo-img { transform: scale(1.05); }
.brand-title {
  font-family: var(--font-script); font-size: 50px; font-weight: 700; line-height: 1;
  color: var(--primary); transition: var(--transition);
  margin-top: 2px; white-space: nowrap; letter-spacing: 0.5px;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
.brand-wrapper:hover .brand-title { color: var(--primary-dark); }
.main-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
  margin-right: 42px;
}
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; margin: 0; padding: 0; }
.nav-link {
  font-size: 16px; font-weight: 700; color: var(--primary);
  transition: var(--transition); position: relative; padding: 8px 0;
  text-decoration: none; display: inline-flex; align-items: center; gap: 5px;
  letter-spacing: -0.1px;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 50%; right: 50%;
  height: 2px; background: var(--primary); border-radius: 2px;
  transition: left 0.3s ease, right 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after { left: 0; right: 0; }
.nav-link:hover { color: var(--primary-dark); }

/* Activitats Dropdown */
.nav-item-dropdown {
  position: relative;
}
.dropdown-chevron {
  stroke: currentColor;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 1px;
}
.nav-item-dropdown:hover .dropdown-chevron,
.nav-item-dropdown.open .dropdown-chevron {
  transform: rotate(180deg);
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 36px rgba(42, 36, 33, 0.12);
  min-width: 220px;
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 1005;
}
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown-item {
  display: block;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.dropdown-item:hover {
  background-color: #FAF7F4;
  color: var(--primary);
  padding-left: 26px;
}

/* Nav Actions (WhatsApp icon & Mobile Toggle) */
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-whatsapp-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  text-decoration: none;
  padding: 3px;
  border-radius: 50%;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease, filter 0.25s ease;
}
.nav-whatsapp-link:hover {
  transform: scale(1.12);
  color: var(--primary-dark);
  filter: drop-shadow(0 4px 10px rgba(113, 22, 33, 0.25));
}
.nav-whatsapp-svg {
  width: 36px;
  height: 36px;
  display: block;
}
.menu-toggle {
  display: none;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 40px;
  height: 40px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  box-shadow: 0 1px 4px rgba(42, 36, 33, 0.06);
  transition: all 0.2s ease;
  position: relative;
  z-index: 1002;
  outline: none !important;
  -webkit-tap-highlight-color: transparent !important;
}
.menu-toggle:hover {
  background: #F8F5F1;
  border-color: var(--primary);
}
.menu-toggle:focus,
.menu-toggle:focus-visible,
.menu-toggle:active {
  outline: none !important;
  -webkit-tap-highlight-color: transparent !important;
}
.hamburger-bar {
  display: block;
  width: 18px;
  height: 2px;
  background-color: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.2s ease,
              background-color 0.25s ease;
}
.nav-mobile-open .menu-toggle {
  background: #FAF7F4;
  border-color: rgba(42, 36, 33, 0.15);
}
.nav-mobile-open .menu-toggle .hamburger-bar {
  background-color: var(--primary);
}
.nav-mobile-open .menu-toggle .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-mobile-open .menu-toggle .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-mobile-open .menu-toggle .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   2. HERO - PARALLAX & CINEMATIC
   ========================================================================== */
.hero-section {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden; color: #FFF; padding: 100px 0 80px;
}
.hero-bg-slider {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center center; background-repeat: no-repeat;
  opacity: 0; transform: scale(1.05);
  transition: opacity 2.8s cubic-bezier(0.4, 0, 0.2, 1), transform 16s ease-out;
  will-change: opacity, transform;
  filter: brightness(1.08) saturate(1.18) contrast(1.03);
}
.hero-slide.active {
  opacity: 1; transform: scale(1);
}
.hero-slider-dots {
  position: absolute; bottom: 28px; right: 36px; z-index: 3;
  display: flex; gap: 8px; align-items: center;
}
.hero-dot {
  width: 20px; height: 4px; background: rgba(255, 255, 255, 0.4);
  border: none; border-radius: 2px; cursor: pointer;
  transition: background-color 0.3s ease, width 0.3s ease; padding: 0;
}
.hero-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}
.hero-dot.active {
  background: #FFFFFF; width: 36px;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: 
    linear-gradient(90deg, rgba(20, 14, 11, 0.68) 0%, rgba(20, 14, 11, 0.38) 38%, rgba(20, 14, 11, 0.08) 65%, transparent 100%),
    linear-gradient(180deg, rgba(20, 14, 11, 0.22) 0%, transparent 28%, rgba(15, 10, 8, 0.28) 100%);
}
@media (max-width: 768px) {
  .hero-slider-dots { bottom: 16px; right: 20px; }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(20, 14, 11, 0.60) 0%, rgba(20, 14, 11, 0.42) 50%, rgba(15, 10, 8, 0.62) 100%);
  }
}
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero-tag {
  display: inline-block; background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.22);
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  padding: 7px 16px; border-radius: 24px; margin-bottom: 22px;
  opacity: 0; transform: translateY(20px);
  animation: heroFadeUp 0.8s 0.3s forwards;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.hero-title {
  font-family: var(--font-script); font-size: clamp(52px, 9vw, 86px);
  line-height: 1; color: #FFF; margin-bottom: 10px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.55), 0 2px 6px rgba(0,0,0,0.7);
  opacity: 0; transform: translateY(30px);
  animation: heroFadeUp 1s 0.5s forwards;
}
.hero-subtitle {
  font-family: var(--font-serif); font-size: clamp(18px, 3vw, 26px);
  font-weight: 600; color: #FFF7F2; margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.65);
  opacity: 0; transform: translateY(20px);
  animation: heroFadeUp 0.8s 0.7s forwards;
}
.hero-desc {
  font-size: 16px; color: #EDE5DF; line-height: 1.7; margin-bottom: 36px; max-width: 580px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
  opacity: 0; transform: translateY(20px);
  animation: heroFadeUp 0.8s 0.9s forwards;
}
.hero-cta-group {
  display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px;
  opacity: 0; transform: translateY(20px);
  animation: heroFadeUp 0.8s 1.1s forwards;
}
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 36px;
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 28px;
  opacity: 0; animation: heroFadeUp 0.8s 1.3s forwards;
}
.hero-stat { text-align: center; }
.hero-stat-number {
  font-family: var(--font-serif); font-size: 32px; font-weight: 700; color: #FFF;
  display: block; line-height: 1;
}
.hero-stat-label { font-size: 12px; color: #BEB5AE; margin-top: 4px; text-transform: uppercase; letter-spacing: 1px; }

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; animation: heroFadeUp 0.8s 1.5s forwards;
}
.scroll-line {
  width: 1px; height: 40px; background: rgba(255,255,255,0.3); position: relative; overflow: hidden;
}
.scroll-line::after {
  content: ''; position: absolute; top: -100%; left: 0; width: 1px; height: 100%;
  background: #FFF; animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { top: -100%; }
  50% { top: 100%; }
  100% { top: 100%; }
}
.scroll-text { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.5); }

/* ==========================================================================
   FORMULARIS ESPECÍFICS (VAL REGAL I CONTACTE)
   ========================================================================== */
.gift-form-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}
.contact-form-card {
  max-width: 620px;
  margin: 50px auto 0;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}
.contact-form-card h3 {
  color: var(--dark);
}

/* ==========================================================================
   3. ACTIVITATS - GRAELLA COMPACTA DE 3 COLUMNES
   ========================================================================== */
.activities-section { padding: 80px 0; background: #FFF; }

.activities-grid-showcase {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
  width: 100% !important;
}
@media (max-width: 980px) {
  .activities-grid-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }
}
@media (max-width: 640px) {
  .activities-grid-showcase {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
}

.activity-card.card-span-6,
.activity-card.card-span-4 {
  grid-column: span 1 !important;
}

.activity-card {
  scroll-margin-top: 90px;
  background: var(--light); border: 1px solid var(--border);
  overflow: hidden; display: flex !important; flex-direction: column !important;
  width: 100% !important; min-width: 0 !important;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease;
  position: relative;
}
.activity-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.activity-card:target {
  opacity: 1 !important;
  box-shadow: 0 0 0 3px var(--primary), var(--shadow-lg);
  transform: translateY(-6px);
}
.activity-card-media {
  position: relative; height: 155px; overflow: hidden; background: #DDD5CD;
}
.activity-card-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16,1,0.3,1), filter 0.5s ease;
}
.activity-card:hover .activity-card-img {
  transform: scale(1.1);
  filter: brightness(1.05);
}
.activity-card-capacity {
  position: absolute; top: 10px; right: 10px;
  background: rgba(255,255,255,0.94); backdrop-filter: blur(4px);
  color: var(--primary); font-size: 11px; font-weight: 700;
  padding: 4px 10px; border: 1px solid rgba(131,29,29,0.15);
}
/* Línia de color inferior animada */
.activity-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--primary);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.activity-card:hover::after { transform: scaleX(1); }

.activity-card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.activity-card-title {
  font-family: var(--font-serif); font-size: 19px; font-weight: 700;
  color: var(--dark); margin-bottom: 6px;
}
.activity-card-desc { font-size: 13px; color: var(--muted); line-height: 1.55; margin-bottom: 14px; flex: 1; }
.activity-features-list { list-style: none; margin-bottom: 18px; border-top: 1px solid var(--border); padding-top: 10px; }
.activity-feature-item { font-size: 12px; color: var(--dark-soft); margin-bottom: 5px; display: flex; align-items: center; gap: 7px; }
.feature-bullet { width: 5px; height: 5px; background: var(--secondary); border-radius: 0; }
.activity-card .btn { padding: 10px 16px; font-size: 13.5px; }


/* ==========================================================================
   5. RESERVES EN VIU
   ========================================================================== */
.booking-section {
  padding: 90px 0;
  background: var(--light);
}
.booking-section .section-header h2 {
  color: var(--dark);
}
.booking-section .section-header p {
  color: var(--muted);
}
.booking-section .section-header .eyebrow {
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid rgba(131, 29, 29, 0.15);
}
.booking-wrapper {
  background: #FFF; border: 1px solid var(--border);
  box-shadow: var(--shadow-xl); padding: 38px 34px;
}
.booking-activities-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px; margin-bottom: 28px;
}
.booking-act-btn {
  background: #FFF; border: 2px solid var(--border); border-radius: 0;
  padding: 16px; text-align: left; cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
}
.booking-act-btn:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.booking-act-btn.selected {
  border-color: var(--primary); background: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(131,29,29,0.12);
}
.booking-act-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.booking-act-badge { font-size: 11px; font-weight: 700; background: var(--secondary-light); color: var(--secondary); padding: 2px 7px; border-radius: 4px; }
.booking-act-btn.selected .booking-act-badge { background: var(--primary); color: #FFF; }
.booking-act-name { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.booking-act-subtitle { font-size: 12px; color: var(--muted); }
.booking-controls-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px; }

/* Formularis */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 8px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); background: #FFF; font-family: inherit;
  font-size: 14px; color: var(--dark); transition: var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(131,29,29,0.08);
}

/* Calendari */
.inline-calendar-box {
  background: #FFF; border: 1.5px solid var(--border); border-radius: var(--radius-md); padding: 16px;
}
.cal-nav-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-nav-title { font-size: 15px; font-weight: 700; color: var(--dark); }
.cal-nav-btn {
  background: transparent; border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 4px 10px; font-size: 12px; font-weight: 600; cursor: pointer; transition: var(--transition);
}
.cal-nav-btn:hover { background: var(--light); }
.cal-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: 11px; font-weight: 700; color: var(--muted); margin-bottom: 8px; text-transform: uppercase; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-day {
  height: 38px; display: flex; align-items: center; justify-content: center;
  border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; transition: var(--transition);
}
.cal-day.empty { cursor: default; }
.cal-day.disabled { color: #CCC4BC; background: #FAF8F5; cursor: not-allowed; }
.cal-day.closed-day { color: #BBB0A6; background: #F4EFEA; cursor: not-allowed; text-decoration: line-through; }
.cal-day.available { background: #F8FCF9; color: var(--secondary-dark); border-color: #D2E6DC; }
.cal-day.available:hover { background: #E5F3EC; border-color: var(--secondary); transform: scale(1.1); }
.cal-day.selected {
  background: var(--primary) !important; color: #FFF !important; border-color: var(--primary) !important;
  box-shadow: 0 2px 10px rgba(131,29,29,0.35); transform: scale(1.1);
}

/* Torns */
.shifts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.shift-card {
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 14px; cursor: pointer; background: #FFF; transition: var(--transition); text-align: center;
}
.shift-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.shift-card.selected { border-color: var(--primary); background: var(--primary-light); box-shadow: 0 0 0 3px rgba(131,29,29,0.1); }
.shift-card.disabled { opacity: 0.4; cursor: not-allowed; }
.shift-name { font-size: 14px; font-weight: 700; color: var(--dark); }
.shift-hours { font-size: 12px; color: var(--muted); }
.shift-spots { font-size: 11px; font-weight: 700; color: var(--secondary); margin-top: 4px; }

/* ==========================================================================
   6. VAL REGAL & PACK D'HORES
   ========================================================================== */
.gift-section { padding: 80px 0; background: #FFF; border-top: 1px solid var(--border); }
.gift-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; align-items: start; }
@media (max-width: 900px) {
  .gift-grid { grid-template-columns: 1fr; }
}
.gift-form-card {
  background: #FFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.gift-tab-btn {
  flex: 1;
  padding: 10px 14px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #6B7280;
  cursor: pointer;
  transition: all 0.2s ease;
}
.gift-tab-btn.active {
  background: #FFF;
  color: var(--primary);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.radio-pill-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: #FFF;
  transition: all 0.2s ease;
}
.radio-pill-btn.active {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
}
.btn-quick-h {
  background: #FFF;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #374151;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-quick-h:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}
.tram-card {
  border-radius: 6px;
  padding: 6px 4px;
  border: 1px solid #E5E7EB;
  background: #FFF;
  transition: all 0.2s ease;
}
.tram-card.active {
  border-color: var(--primary);
  background: #FDF2F2;
  font-weight: 700;
  color: var(--primary);
}
.gift-preview-card {
  background: linear-gradient(135deg, #FAF7F4 0%, #F4EBE9 100%);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(42, 36, 33, 0.08);
  padding: 34px 28px; text-align: center; position: relative;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.gift-preview-card:hover { transform: rotate(-1deg) scale(1.02); box-shadow: var(--shadow-lg); }
.gift-badge-brand { font-family: var(--font-script); font-size: 40px; color: var(--primary); line-height: 1; margin-bottom: 4px; }
.gift-voucher-title { font-family: var(--font-serif); font-size: 20px; font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.gift-voucher-exp { font-size: 16px; font-weight: 700; color: var(--secondary); background: var(--secondary-light); padding: 8px 18px; border-radius: 6px; display: inline-block; margin-bottom: 18px; }
.gift-voucher-notes { font-size: 13px; color: var(--muted); line-height: 1.5; margin-bottom: 20px; }
.gift-voucher-code { font-family: monospace; font-size: 15px; font-weight: 700; letter-spacing: 2px; color: var(--primary); background: #FFF; border: 1px solid var(--border); padding: 6px 14px; border-radius: 6px; }

/* ==========================================================================
   7. TARIFES
   ========================================================================== */
.pricing-section { padding: 100px 0; background: var(--light); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-bottom: 40px; }
.pricing-card {
  background: #FFF; border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 30px 26px; display: flex; flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease; position: relative;
}
.pricing-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.pricing-card.featured { border-color: var(--primary); box-shadow: var(--shadow-md); }
.pricing-card-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #FFF; font-size: 11px; font-weight: 700;
  padding: 3px 14px; border-radius: 14px; text-transform: uppercase;
}
.pricing-card h3 { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.pricing-price { font-family: var(--font-serif); font-size: 32px; font-weight: 700; color: var(--primary); margin-bottom: 14px; }
.pricing-price span { font-size: 14px; font-weight: 500; color: var(--muted); }
.pricing-list { list-style: none; margin-bottom: 24px; flex: 1; }
.pricing-list-item { font-size: 13px; color: var(--dark-soft); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.pricing-included-box {
  background: #FFF; border: 1.5px solid var(--secondary); border-radius: var(--radius-md);
  padding: 30px; text-align: center;
}
.pricing-included-title { font-family: var(--font-serif); font-size: 18px; font-weight: 700; color: var(--secondary-dark); margin-bottom: 14px; }
.pricing-included-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.included-pill {
  background: var(--secondary-light); color: var(--secondary-dark);
  font-size: 13px; font-weight: 600; padding: 7px 16px; border-radius: 20px;
  transition: var(--transition);
}
.included-pill:hover { background: var(--secondary); color: #FFF; transform: translateY(-2px); }

/* ==========================================================================
   8. FAQ - AMB FONS FIXE (PARALLAX EFFECT)
   ========================================================================== */
.faq-section {
  padding: 105px 0;
  position: relative;
  background-color: #241A16;
  background-image: linear-gradient(rgba(24, 16, 13, 0.70), rgba(24, 16, 13, 0.70)), url('../img/web/IMG_0229.JPG');
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #FFFFFF;
}
.faq-section .section-header h2 {
  color: #FFFFFF !important;
}
.faq-section .section-header .eyebrow {
  color: #F5DEC9;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  background: #FFFFFF;
  padding: 16px 36px 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0;
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%; padding: 22px 0; background: transparent; border: none;
  text-align: left; font-size: 16.5px; font-weight: 700; color: var(--dark);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; transition: var(--transition); font-family: inherit;
}
.faq-question:hover { color: var(--primary); }
.faq-indicator {
  width: 28px; height: 28px; border-radius: 0; border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 600; color: var(--muted);
  transition: all 0.35s cubic-bezier(0.16,1,0.3,1); flex-shrink: 0;
}
.faq-item.open .faq-indicator {
  transform: rotate(45deg); background: var(--primary); color: #FFF; border-color: var(--primary);
}
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0,1,0,1);
  color: #524741; font-size: 14.5px; line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 500px; padding-bottom: 22px; transition: max-height 0.5s ease-in-out; }

/* ==========================================================================
   9. CONTACTE
   ========================================================================== */
.contact-section { padding: 100px 0; background: var(--light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info-card { background: #FFF; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 34px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 26px; }
.contact-icon-box {
  width: 46px; height: 46px; background: var(--primary-light); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 13px; font-weight: 800; flex-shrink: 0;
  transition: var(--transition);
}
.contact-info-item:hover .contact-icon-box { background: var(--primary); color: #FFF; transform: scale(1.1); }
.contact-detail-title { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.contact-detail-text { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ==========================================================================
   10. FOOTER
   ========================================================================== */
.site-footer { background: var(--dark); color: #E2DBD6; padding: 64px 0 24px; border-top: 4px solid var(--primary); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 44px; }
.footer-brand h4 { font-family: var(--font-script); font-size: 36px; color: #FFF; margin-bottom: 8px; }
.footer-brand p { font-size: 13px; color: #ADA49D; line-height: 1.6; max-width: 320px; }
.footer-col h5 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #FFF; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 13px; color: #ADA49D; transition: var(--transition); }
.footer-col a:hover { color: #FFF; transform: translateX(4px); display: inline-block; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px;
  font-size: 12px; color: #8C847E; flex-wrap: wrap; gap: 12px;
}
.footer-admin-link { color: #8C847E; transition: var(--transition); }
.footer-admin-link:hover { color: #D2CAC4; }

/* ==========================================================================
   11. MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(42,36,33,0.6);
  backdrop-filter: blur(6px); z-index: 2000; display: none;
  align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal-card {
  background: #FFF; border-radius: var(--radius-md); max-width: 520px; width: 100%;
  padding: 34px 30px; box-shadow: var(--shadow-xl); border: 1px solid var(--border);
  animation: modalSlide 0.4s cubic-bezier(0.16,1,0.3,1);
}
@keyframes modalSlide {
  from { transform: translateY(30px) scale(0.95); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.modal-close-btn { position: absolute; top: 16px; right: 16px; background: transparent; border: none; font-size: 22px; cursor: pointer; color: var(--muted); }

/* Amagar elements mòbils a escriptori */
.nav-mobile-action-item { display: none; }
.nav-mobile-backdrop { display: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1200px) and (min-width: 961px) {
  .nav-links { gap: 22px; }
  .main-nav { margin-right: 20px; }
  .nav-link { font-size: 15px; }
}

@media (max-width: 960px) {
  .site-header {
    background: #FFFFFF !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 2px 14px rgba(42,36,33,0.08) !important;
  }
  body.nav-mobile-open .site-header {
    background: #FFFFFF !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  body.nav-mobile-open {
    overflow: hidden !important;
  }

  .main-nav {
    margin: 0 !important;
    display: block !important;
  }

  .nav-links { display: none; }
  .menu-toggle { display: flex !important; }
  .brand-title {
    display: inline-block !important;
    font-size: 34px !important;
    margin-top: 1px !important;
  }
  .brand-logo-img { height: 42px !important; max-width: 52px !important; }

  /* Teló de fons obscur per enfocar el menú desplegat */
  .nav-mobile-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(18, 14, 12, 0.45);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 999;
  }
  .nav-mobile-open .nav-mobile-backdrop {
    display: block;
  }

  /* Menú desplegat discret, estret, refinat i compacte */
  .nav-mobile-open .nav-links {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: 72px !important;
    right: 12px !important;
    left: auto !important;
    width: min(280px, calc(100vw - 24px)) !important;
    max-height: calc(100vh - 84px) !important;
    max-height: calc(100dvh - 84px) !important;
    height: auto !important;
    background: #FFFFFF !important;
    opacity: 1 !important;
    padding: 8px 16px 16px !important;
    gap: 0 !important;
    z-index: 1001 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16), 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(42, 36, 33, 0.1) !important;
    border-radius: 14px !important;
    animation: menuSlide 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }
  @keyframes menuSlide {
    from { opacity: 0; transform: translateY(-6px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }

  .nav-mobile-open .nav-links > li {
    width: 100% !important;
    list-style: none !important;
  }

  .nav-mobile-open .nav-links > li:not(.nav-mobile-action-item) {
    border-bottom: 1px solid rgba(42, 36, 33, 0.06) !important;
  }

  .nav-mobile-open .nav-links .nav-link {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
    color: #2D2622 !important;
    padding: 10px 4px !important;
    width: 100% !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    transition: background-color 0.18s ease, color 0.18s ease, padding-left 0.18s ease !important;
  }
  .nav-mobile-open .nav-links .nav-link::after {
    display: none !important;
  }
  .nav-mobile-open .nav-links .nav-link:hover,
  .nav-mobile-open .nav-links .nav-link:active,
  .nav-mobile-open .nav-links .nav-link.active {
    background-color: #FAF7F4 !important;
    color: var(--primary) !important;
    padding-left: 8px !important;
  }

  /* Desplegable d'activitats al menú mòbil */
  .nav-item-dropdown .dropdown-menu {
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    border: 1px solid rgba(42, 36, 33, 0.06) !important;
    border-radius: 8px !important;
    background: #FAF8F5 !important;
    min-width: 100% !important;
    width: 100% !important;
    padding: 4px 6px !important;
    display: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    margin: 4px 0 8px !important;
    transition: none !important;
  }
  .nav-item-dropdown .dropdown-menu::before {
    display: none !important;
  }
  .nav-item-dropdown.open .dropdown-menu {
    display: block !important;
  }
  .nav-item-dropdown.open .dropdown-chevron {
    transform: rotate(180deg) !important;
  }
  .dropdown-item {
    display: block !important;
    padding: 8px 10px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #4A3E39 !important;
    text-decoration: none !important;
    border-radius: 5px !important;
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    transition: all 0.15s ease !important;
  }
  .dropdown-item:hover,
  .dropdown-item:active {
    background-color: #F0EAE1 !important;
    color: var(--primary) !important;
  }

  /* Accions discretes del menú mòbil: Botó compacte Reservar Plaça i icona WhatsApp */
  .nav-mobile-action-item {
    display: block !important;
    margin-top: 10px !important;
    width: 100% !important;
    border-bottom: none !important;
  }
  .nav-mobile-actions-group {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .btn-mobile-reserve {
    flex: 1 !important;
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--primary) !important;
    color: #FFFFFF !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    border: none !important;
    transition: background-color 0.2s ease, transform 0.15s ease !important;
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
  }
  .btn-mobile-reserve:hover,
  .btn-mobile-reserve:active {
    background: var(--primary-dark) !important;
  }
  .btn-mobile-whatsapp {
    width: 38px !important;
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #FAF7F4 !important;
    border: 1px solid var(--border) !important;
    border-radius: 8px !important;
    color: var(--primary) !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
  }
  .btn-mobile-whatsapp:hover,
  .btn-mobile-whatsapp:active {
    background: #F0ECE6 !important;
    color: var(--primary-dark) !important;
    border-color: var(--primary) !important;
  }
  .btn-mobile-whatsapp .nav-whatsapp-svg {
    width: 22px !important;
    height: 22px !important;
  }

  .activities-grid-showcase { grid-template-columns: 1fr; }
  .activity-card.card-span-6,
  .activity-card.card-span-4 { grid-column: span 1; }
  .booking-controls-row { grid-template-columns: 1fr; }
  .gift-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 24px; }
}
@media (max-width: 520px) {
  .brand-logo-img { height: 38px !important; max-width: 48px !important; }
  .brand-title { font-size: 28px !important; }
  .nav-actions .btn-outline { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .shifts-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 360px) {
  .brand-logo-img { height: 34px !important; max-width: 40px !important; }
  .brand-title { font-size: 24px !important; }
}
@media print {
  .site-header, .hero-section, .activities-section, .marquee-section, .booking-section,
  .pricing-section, .faq-section, .contact-section, .site-footer, .scroll-indicator, .no-print { display: none !important; }
  .gift-preview-card { border: 2px solid #000 !important; box-shadow: none !important; margin: 40px auto !important; max-width: 600px !important; }
}
