/* ==========================================================================
   CIGANA MORGANA - DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* --- ROOT VARIABLES --- */
:root {
  --bg-primary: #0B0B0B;
  --bg-secondary: #12081F;
  --purple-deep: #4B1D73;
  --purple-dark: #2B1246;
  --purple-medium: #3A175B;
  --purple-light: #6C2DA8;
  --purple-glow: rgba(108, 45, 168, 0.4);

  --gold-metallic: #C9A227;
  --gold-yellow: #FFD54A;
  --gold-bright: #FFE07D;
  --gold-glow: rgba(255, 213, 74, 0.35);
  --gold-gradient: linear-gradient(135deg, #FFD54A 0%, #C9A227 50%, #9A7712 100%);
  --purple-gradient: linear-gradient(135deg, #2B1246 0%, #4B1D73 50%, #12081F 100%);
  --glass-bg: rgba(43, 18, 70, 0.55);
  --glass-border: rgba(201, 162, 39, 0.25);
  --glass-border-hover: rgba(255, 213, 74, 0.6);

  --text-primary: #F8F8F8;
  --text-muted: #D1C4E9;
  --text-dark: #0B0B0B;

  --font-title: 'Cinzel', serif;
  --font-sub: 'Cormorant Garamond', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --shadow-gold: 0 10px 30px rgba(201, 162, 39, 0.25);
  --shadow-purple: 0 15px 35px rgba(43, 18, 70, 0.6);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- RESET & BASE --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* --- BACKGROUND CANVAS --- */
#starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
}

.nebula-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 20%, rgba(75, 29, 115, 0.35) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(43, 18, 70, 0.45) 0%, transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(201, 162, 39, 0.05) 0%, transparent 70%);
  animation: nebulaPulse 18s ease-in-out infinite alternate;
}

@keyframes nebulaPulse {
  0% {
    transform: scale(1) rotate(0deg);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.08) rotate(2deg);
    opacity: 1;
  }

  100% {
    transform: scale(1) rotate(-1deg);
    opacity: 0.85;
  }
}

/* --- TYPOGRAPHY UTILITIES --- */
h1,
h2,
h3,
h4,
.font-heading {
  font-family: var(--font-title);
  letter-spacing: 0.04em;
  color: var(--text-primary);
}

.text-gold-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-title-wrapper {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 4rem auto;
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid rgba(201, 162, 39, 0.3);
  color: var(--gold-yellow);
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  font-family: var(--font-sub);
  font-size: 1.35rem;
  line-height: 1.5;
}

.mystic-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.2rem 0;
  color: var(--gold-metallic);
  opacity: 0.75;
}

.mystic-divider::before,
.mystic-divider::after {
  content: '';
  height: 1px;
  width: 60px;
  background: linear-gradient(90deg, transparent, var(--gold-metallic), transparent);
}

/* --- BUTTONS & INTERACTION --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  border: none;
  z-index: 1;
}

.btn-gold {
  background: var(--gold-gradient);
  color: var(--bg-primary);
  box-shadow: 0 4px 20px rgba(201, 162, 39, 0.35);
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: 0.6s;
  z-index: 1;
}

.btn-gold:hover::before {
  left: 100%;
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 213, 74, 0.5);
  color: #000;
}

.btn-purple {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  backdrop-filter: blur(10px);
}

.btn-purple:hover {
  border-color: var(--gold-yellow);
  background: rgba(75, 29, 115, 0.7);
  box-shadow: var(--shadow-purple);
  transform: translateY(-3px);
  color: var(--gold-yellow);
}

.btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #20BA5A;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* --- GLASS CARD UTILITY --- */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(75, 29, 115, 0.4), 0 0 20px rgba(201, 162, 39, 0.15);
}

/* --- HEADER & NAVIGATION --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.2rem 5%;
  z-index: 1000;
  transition: var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(11, 11, 11, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.2);
  padding: 0.8rem 5%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-img {
  height: 118px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(201, 162, 39, 0.4));
  transition: var(--transition-normal);
}

.nav-logo-img:hover {
  transform: scale(1.04);
  filter: drop-shadow(0 0 16px rgba(255, 213, 74, 0.6));
}

.footer-logo-img {
  height: 75px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(201, 162, 39, 0.4));
  margin-bottom: 0.8rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
  padding: 0.3rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold-gradient);
  transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-yellow);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.8rem;
  cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
  min-height: 100vh;
  padding: 9rem 5% 5rem 5%;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
  width: 100%;
}

.hero-content {
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  background: rgba(75, 29, 115, 0.4);
  border: 1px solid rgba(201, 162, 39, 0.3);
  color: var(--gold-yellow);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 1.2rem;
}

.hero-subtitle {
  font-family: var(--font-sub);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--gold-metallic);
  margin-bottom: 1.8rem;
  letter-spacing: 0.04em;
}

.hero-description {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2.2rem;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 3rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-icon {
  color: var(--gold-yellow);
  font-size: 1.4rem;
}

.trust-text {
  display: flex;
  flex-direction: column;
}

.trust-number {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1.1rem;
}

.trust-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* HERO VISUAL & FLOATING CARDS */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 1.15;
  border-radius: var(--radius-lg);
  padding: 12px;
  background: var(--purple-gradient);
  border: 2px solid var(--gold-metallic);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(201, 162, 39, 0.25);
  overflow: hidden;
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: var(--gold-gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 8px);
  filter: brightness(1.05) contrast(1.05);
}

/* Floating Tarot Cards Effect */
.floating-cards-container {
  position: absolute;
  inset: -20px;
  pointer-events: none;
}

.floating-card {
  position: absolute;
  width: 85px;
  height: 135px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--gold-yellow);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(201, 162, 39, 0.3);
  animation: cardFloat 6s ease-in-out infinite alternate;
}

.card-1 {
  top: 5%;
  left: -25px;
  background-image: url('../images/tarot_back.png');
  transform: rotate(-12deg);
  animation-delay: 0s;
}

.card-2 {
  bottom: 10%;
  right: -30px;
  background-image: url('../images/gallery_cards.png');
  transform: rotate(15deg);
  animation-delay: 2s;
}

.card-3 {
  top: 55%;
  left: -35px;
  background-image: url('../images/tarot_back.png');
  transform: rotate(-8deg);
  animation-delay: 4s;
  width: 70px;
  height: 110px;
}

@keyframes cardFloat {
  0% {
    transform: translateY(0) rotate(-10deg);
  }

  50% {
    transform: translateY(-15px) rotate(-6deg);
  }

  100% {
    transform: translateY(5px) rotate(-14deg);
  }
}

/* --- ABOUT SECTION --- */
.about {
  padding: 6rem 5%;
  position: relative;
}

.about-container {
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-purple);
}

.about-img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition-smooth);
}

.about-image-frame:hover .about-img {
  transform: scale(1.03);
}

.about-badge-floating {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(18, 8, 31, 0.88);
  border: 1px solid var(--gold-metallic);
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.about-badge-icon {
  color: var(--gold-yellow);
  font-size: 1.6rem;
}

.about-badge-title {
  font-family: var(--font-title);
  font-size: 0.9rem;
  color: var(--gold-yellow);
}

.about-badge-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.about-content h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 1.5rem;
}

.about-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 2rem;
}

.pillar-card {
  padding: 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(75, 29, 115, 0.25);
  border: 1px solid rgba(201, 162, 39, 0.15);
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.pillar-icon {
  color: var(--gold-yellow);
  font-size: 1.4rem;
  margin-top: 0.2rem;
}

.pillar-title {
  font-family: var(--font-title);
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.pillar-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* --- SERVICES SECTION --- */
.services {
  padding: 6rem 5%;
  position: relative;
}

.services-grid {
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--purple-gradient);
  border: 1px solid var(--gold-metallic);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-yellow);
  font-size: 1.6rem;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.service-tag {
  font-size: 0.75rem;
  font-family: var(--font-title);
  color: var(--gold-yellow);
  background: rgba(201, 162, 39, 0.12);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(201, 162, 39, 0.2);
}

.service-title {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.8rem;
  flex-grow: 1;
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.service-link {
  color: var(--gold-yellow);
  text-decoration: none;
  font-family: var(--font-title);
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.service-link:hover {
  gap: 0.8rem;
  color: #FFF;
}

/* --- EVENTS SECTION --- */
.events {
  padding: 6rem 5%;
  background: radial-gradient(circle at 50% 50%, rgba(75, 29, 115, 0.2) 0%, transparent 70%);
}

.events-container {
  max-width: 1250px;
  margin: 0 auto;
}

.events-highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.event-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.event-img-wrapper {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
}

.event-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.event-card:hover .event-img {
  transform: scale(1.08);
}

.event-zoom-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 11, 11, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-normal);
  backdrop-filter: blur(2px);
}

.event-zoom-overlay i {
  font-size: 2.2rem;
  color: var(--gold-bright);
  transform: scale(0.7);
  transition: var(--transition-normal);
  filter: drop-shadow(0 0 10px var(--gold-yellow));
}

.event-card:hover .event-zoom-overlay {
  opacity: 1;
}

.event-card:hover .event-zoom-overlay i {
  transform: scale(1);
}

.btn-event-zoom {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--gold-metallic);
  background: rgba(201, 162, 39, 0.1);
  color: var(--gold-yellow);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  width: 100%;
  justify-content: center;
}

.btn-event-zoom:hover {
  background: var(--gold-gradient);
  color: var(--text-dark);
  border-color: var(--gold-bright);
  box-shadow: 0 0 15px rgba(255, 213, 74, 0.4);
}

.event-category-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(11, 11, 11, 0.85);
  border: 1px solid var(--gold-metallic);
  color: var(--gold-yellow);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-family: var(--font-title);
  backdrop-filter: blur(6px);
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.event-content {
  padding: 1.8rem;
}

.event-title {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.event-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.2rem;
}

.events-list-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.event-tag-item {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  background: rgba(43, 18, 70, 0.6);
  border: 1px solid rgba(201, 162, 39, 0.25);
  color: var(--text-primary);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.event-tag-item:hover {
  border-color: var(--gold-yellow);
  background: rgba(75, 29, 115, 0.7);
  color: var(--gold-yellow);
}

.events-cta-banner {
  background: linear-gradient(135deg, rgba(75, 29, 115, 0.8) 0%, rgba(43, 18, 70, 0.9) 100%);
  border: 1.5px solid var(--gold-metallic);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-purple);
  position: relative;
  overflow: hidden;
}

.events-cta-banner h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.events-cta-banner p {
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 2rem auto;
  font-size: 1.05rem;
}

/* --- GALLERY TABS & SECTION --- */
.gallery {
  padding: 6rem 5%;
}

.gallery-container {
  max-width: 1250px;
  margin: 0 auto;
}

.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.gallery-tab-btn {
  padding: 0.75rem 1.8rem;
  border-radius: var(--radius-full);
  background: rgba(43, 18, 70, 0.5);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-family: var(--font-title);
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: var(--transition-normal);
}

.gallery-tab-btn:hover {
  border-color: var(--gold-yellow);
  color: var(--gold-bright);
  background: rgba(75, 29, 115, 0.7);
}

.gallery-tab-btn.active {
  background: var(--gold-gradient);
  color: var(--text-dark);
  border-color: var(--gold-bright);
  font-weight: 700;
  box-shadow: var(--shadow-gold);
}

.gallery-tab-content {
  display: none;
  animation: fadeInTab 0.4s ease-in-out forwards;
}

.gallery-tab-content.active {
  display: block;
}

@keyframes fadeInTab {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.artes-carousel-wrapper {
  max-width: 1250px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  padding: 1.5rem 0.5rem;
}

.artes-carousel-track {
  display: flex;
  gap: 1.8rem;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.art-card {
  flex: 0 0 calc(33.333% - 1.2rem);
  min-width: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 1.5px solid var(--glass-border);
  background: var(--glass-bg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  aspect-ratio: 3 / 4;
  transition: var(--transition-normal);
}

.art-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition-smooth);
}

.art-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--gold-yellow);
  box-shadow: 0 15px 35px rgba(75, 29, 115, 0.5), 0 0 25px rgba(255, 213, 74, 0.35);
}

.art-card:hover img {
  transform: scale(1.08);
}

.art-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 11, 11, 0.9) 0%, rgba(11, 11, 11, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.8rem;
  opacity: 0;
  transition: var(--transition-normal);
}

.art-card:hover .art-card-overlay {
  opacity: 1;
}

.art-card-title {
  font-family: var(--font-title);
  font-size: 1.2rem;
  color: var(--gold-yellow);
  margin-bottom: 0.3rem;
}

.art-card-tag {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(201, 162, 39, 0.15);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(201, 162, 39, 0.25);
  align-self: flex-start;
}

.artes-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.artes-carousel-dots {
  display: flex;
  gap: 0.6rem;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(11, 11, 11, 0.95);
  backdrop-filter: blur(20px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--gold-metallic);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
  object-fit: contain;
}

.lightbox-caption {
  margin-top: 1rem;
  color: var(--gold-yellow);
  font-family: var(--font-title);
  font-size: 1.2rem;
  text-align: center;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(43, 18, 70, 0.7);
  border: 1px solid var(--gold-metallic);
  color: var(--gold-yellow);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 2005;
}

.lightbox-close {
  top: 20px;
  right: 30px;
}

.lightbox-prev {
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--gold-yellow);
  color: var(--bg-primary);
}

/* --- TESTIMONIALS SECTION --- */
.testimonials {
  padding: 6rem 5%;
}

.testimonials-slider-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.testimonial-card {
  padding: 3rem 2.5rem;
  text-align: center;
  display: none;
  animation: fadeIn 0.6s ease forwards;
}

.testimonial-card.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

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

.stars-rating {
  color: var(--gold-yellow);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 0.3rem;
}

.testimonial-quote {
  font-family: var(--font-sub);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  color: var(--text-primary);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.author-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-metallic);
  object-fit: cover;
}

.author-info {
  text-align: left;
}

.author-name {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--gold-yellow);
  font-size: 1.05rem;
}

.author-service {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 2rem;
}

.slider-btn {
  background: rgba(43, 18, 70, 0.5);
  border: 1px solid var(--glass-border);
  color: var(--gold-yellow);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.slider-btn:hover {
  background: var(--gold-gradient);
  color: var(--bg-primary);
}

.slider-dots {
  display: flex;
  gap: 0.6rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.3);
  cursor: pointer;
  transition: var(--transition-fast);
}

.dot.active {
  background: var(--gold-yellow);
  width: 25px;
  border-radius: var(--radius-full);
}

/* --- HOW IT WORKS SECTION --- */
.how-it-works {
  padding: 6rem 5%;
}

.steps-timeline {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  position: relative;
}

.step-card {
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--bg-primary);
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 0 20px rgba(201, 162, 39, 0.4);
}

.step-title {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* --- FAQ SECTION --- */
.faq {
  padding: 6rem 5%;
}

.faq-accordion {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.4rem 1.8rem;
  background: rgba(43, 18, 70, 0.4);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  font-family: var(--font-title);
  font-size: 1.1rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition-fast);
  border-radius: var(--radius-md);
}

.faq-question:hover,
.faq-item.active .faq-question {
  background: rgba(75, 29, 115, 0.6);
  border-color: var(--gold-metallic);
  color: var(--gold-yellow);
}

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--gold-yellow);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  background: rgba(18, 8, 31, 0.6);
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 1.5rem 1.8rem;
  border-top: 1px solid rgba(201, 162, 39, 0.15);
}

/* --- CONTACT SECTION --- */
.contact {
  padding: 6rem 5%;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.method-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.method-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--purple-gradient);
  border: 1px solid var(--gold-metallic);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-yellow);
  font-size: 1.3rem;
}

.method-title {
  font-family: var(--font-title);
  font-size: 0.85rem;
  color: var(--gold-yellow);
}

.method-value {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 500;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(43, 18, 70, 0.5);
  border: 1px solid var(--glass-border);
  color: var(--gold-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  text-decoration: none;
  transition: var(--transition-fast);
}

.social-btn:hover {
  background: var(--gold-gradient);
  color: var(--bg-primary);
  transform: translateY(-3px);
}

.contact-form-card {
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-label {
  display: block;
  font-family: var(--font-title);
  font-size: 0.85rem;
  color: var(--gold-yellow);
  margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: rgba(18, 8, 31, 0.7);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold-yellow);
  box-shadow: 0 0 15px rgba(201, 162, 39, 0.2);
}

.form-select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

/* --- FOOTER --- */
.footer {
  background: #07030A;
  border-top: 1px solid rgba(201, 162, 39, 0.2);
  padding: 5rem 5% 2rem 5%;
  position: relative;
}

.footer-container {
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 1.2rem 0;
}

.footer-blessing {
  font-family: var(--font-sub);
  font-size: 1.2rem;
  color: var(--gold-yellow);
  font-style: italic;
}

.footer-col-title {
  font-size: 1.1rem;
  color: var(--gold-yellow);
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold-yellow);
  padding-left: 5px;
}

.footer-bottom {
  max-width: 1250px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.dev-credits-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  vertical-align: middle;
  text-decoration: none;
  margin-left: 5px;
}

.dev-credits-icon {
  height: 20px;
  width: auto;
  vertical-align: middle;
  object-fit: contain;
}

.dev-credits-text {
  background: linear-gradient(90deg, #0097b2, #7ed957);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
  vertical-align: middle;
}

/* FLOATING WHATSAPP BUTTON */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
  text-decoration: none;
  z-index: 999;
  transition: var(--transition-normal);
  animation: pulseGlow 2.5s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.7);
}

.whatsapp-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background: #FFD54A;
  border: 2px solid #25D366;
  border-radius: 50%;
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0.8rem 4%;
  }

  .nav-logo-img {
    height: 46px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 82%;
    max-width: 320px;
    height: 100vh;
    background: rgba(18, 8, 31, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1.5px solid var(--gold-metallic);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.8rem;
    padding: 2.5rem;
    transition: var(--transition-normal);
    box-shadow: -15px 0 40px rgba(0, 0, 0, 0.9);
  }

  .nav-links.mobile-active {
    right: 0;
  }

  .nav-link {
    font-size: 1.1rem;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-actions .btn {
    display: none;
  }

  .hero {
    padding: 6.5rem 4% 3.5rem 4%;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
  }

  .hero-title {
    font-size: clamp(1.9rem, 7vw, 2.6rem);
  }

  .hero-subtitle {
    font-size: clamp(1.1rem, 4.5vw, 1.35rem);
  }

  .hero-description {
    font-size: 0.98rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    padding: 1rem;
  }

  .hero-trust {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .hero-visual {
    width: 100%;
    overflow: hidden;
  }

  .hero-image-wrapper {
    max-width: 320px;
    margin: 0 auto;
  }

  .floating-card {
    width: 65px;
    height: 100px;
  }

  .card-1 {
    top: 0px;
    left: 5px;
  }

  .card-2 {
    bottom: 10px;
    right: 5px;
  }

  .card-3 {
    display: none;
  }

  .about, .services, .events, .gallery, .testimonials, .how-it-works, .faq, .contact {
    padding: 4rem 4%;
  }

  .section-title {
    font-size: clamp(1.75rem, 6.5vw, 2.3rem);
  }

  .about-pillars {
    grid-template-columns: 1fr;
  }

  .about-badge-floating {
    bottom: 12px;
    right: 12px;
    padding: 0.6rem 1rem;
  }

  .about-badge-icon {
    font-size: 1.3rem;
  }

  .about-badge-title {
    font-size: 0.82rem;
  }

  .about-badge-sub {
    font-size: 0.7rem;
  }

  .art-card {
    flex: 0 0 100%;
    aspect-ratio: 4 / 5;
  }

  .artes-carousel-controls {
    gap: 1rem;
    margin-top: 1.8rem;
  }

  .testimonial-card {
    padding: 2rem 1.2rem;
  }

  .testimonial-quote {
    font-size: 1.1rem;
  }

  .faq-question {
    padding: 1.1rem 1.3rem;
    font-size: 0.98rem;
  }

  .faq-item.active .faq-answer {
    padding: 1.1rem 1.3rem;
    font-size: 0.92rem;
  }

  .contact-form-card {
    padding: 1.8rem 1.3rem;
  }

  .form-input, .form-select, .form-textarea {
    font-size: 16px; /* Prevents iOS auto zoom */
    padding: 0.85rem 1rem;
  }

  .footer {
    padding: 4rem 4% 2rem 4%;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
    bottom: 20px;
    right: 20px;
    font-size: 1.7rem;
  }
}

@media (max-width: 480px) {
  .nav-logo-img {
    height: 40px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .section-tag {
    font-size: 0.78rem;
    padding: 0.35rem 0.9rem;
  }

  .events-cta-banner {
    padding: 2rem 1.2rem;
  }

  .events-cta-banner h3 {
    font-size: 1.4rem;
  }
}