/* =============================================
   DIVINITY GLAMOUR – styles.css
   ============================================= */

/* ---------- VARIABLES ---------- */
:root {
  --sweet-salmon: #D98073;
  --powder-blush: #E8B4A1;
  --dusty-grape: #545677;
  --cool-steel: #a3bac3;

  --bg-dark: #0e0e14;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.09);
  --text-primary: #f5f0ee;
  --text-muted: rgba(245, 240, 238, 0.55);

  --gradient-main: linear-gradient(135deg, var(--dusty-grape) 0%, #2d2e46 50%, #1a1520 100%);
  --gradient-accent: linear-gradient(135deg, var(--sweet-salmon), var(--powder-blush));
  --gradient-hero: linear-gradient(160deg, #1b1a2e 0%, #2b1f28 45%, #1a0f18 100%);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;

  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 60px rgba(217, 128, 115, 0.18);

  --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);

  --font-display: 'Syne', sans-serif;
  --font-cards: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Outfit', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background: var(--gradient-hero);
  background-size: cover;
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--dusty-grape);
  border-radius: 3px;
}

/* ---------- CONTAINER ---------- */
.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: var(--transition);
}

.btn:hover::after {
  background: rgba(255, 255, 255, 0.08);
}

.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 4px 24px rgba(217, 128, 115, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(217, 128, 115, 0.55);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--powder-blush);
  color: var(--powder-blush);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  padding: 10px 22px;
  font-size: 0.85rem;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ---------- SECTION SHARED ---------- */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.section-title em {
  font-style: italic;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin-inline: auto;
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(14, 14, 20, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  width: min(1200px, 92%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(217, 128, 115, 0.3));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.nav-links a:hover {
  color: var(--powder-blush);
}

.nav-cta {
  background: var(--gradient-accent) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-weight: 700 !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    url('background.png') no-repeat center;
  background-size: min(900px, 95%) auto;
  opacity: 0.6;
}

.blur-zone {
  position: absolute;
  border-radius: 50%;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  pointer-events: none;
  z-index: 1;
}

.blur-zone-1 {
  width: 350px;
  height: 350px;
  top: 10%;
  left: 5%;
  animation: drift-blur-1 12s ease-in-out infinite;
}

.blur-zone-2 {
  width: 280px;
  height: 280px;
  top: 50%;
  right: 10%;
  animation: drift-blur-2 15s ease-in-out infinite;
}

.blur-zone-3 {
  width: 400px;
  height: 400px;
  bottom: 5%;
  left: 30%;
  animation: drift-blur-3 18s ease-in-out infinite;
}

@keyframes drift-blur-1 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.7;
  }

  25% {
    transform: translate(120px, 80px) scale(1.2);
    opacity: 1;
  }

  50% {
    transform: translate(250px, -30px) scale(0.9);
    opacity: 0.5;
  }

  75% {
    transform: translate(80px, -100px) scale(1.1);
    opacity: 0.9;
  }
}

@keyframes drift-blur-2 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.6;
  }

  30% {
    transform: translate(-180px, -60px) scale(1.3);
    opacity: 1;
  }

  60% {
    transform: translate(-100px, 100px) scale(0.8);
    opacity: 0.4;
  }

  85% {
    transform: translate(50px, -40px) scale(1.15);
    opacity: 0.8;
  }
}

@keyframes drift-blur-3 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.5;
  }

  20% {
    transform: translate(100px, -120px) scale(1.1);
    opacity: 0.9;
  }

  45% {
    transform: translate(-80px, -60px) scale(1.3);
    opacity: 1;
  }

  70% {
    transform: translate(150px, 50px) scale(0.85);
    opacity: 0.6;
  }
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 30%, rgba(84, 86, 119, 0.35) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(217, 128, 115, 0.2) 0%, transparent 60%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--gradient-accent);
  opacity: 0;
  animation: float-up var(--dur, 8s) var(--delay, 0s) infinite ease-in;
}

@keyframes float-up {
  0% {
    transform: translateY(110vh) scale(0);
    opacity: 0;
  }

  10% {
    opacity: 0.5;
  }

  90% {
    opacity: 0.2;
  }

  100% {
    transform: translateY(-10vh) scale(1);
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 80px 20px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  color: var(--powder-blush);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0;
  animation: fade-up 0.8s 0.3s ease forwards;
}

.hero-title-main {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
  opacity: 0;
  animation: fade-up 0.8s 0.5s ease forwards;
}

.hero-logo-img {
  max-width: min(90%, 600px);
  height: auto;
  filter: drop-shadow(0 0 30px rgba(217, 128, 115, 0.4));
  margin: 0 auto;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 44px;
  line-height: 1.8;
  opacity: 0;
  animation: fade-up 0.8s 0.7s ease forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fade-up 0.8s 0.9s ease forwards;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: fade-in 1.5s 1.5s ease forwards;
  opacity: 0;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--powder-blush), transparent);
  animation: scroll-pulse 2s infinite;
}

@keyframes scroll-pulse {

  0%,
  100% {
    transform: scaleY(1);
    opacity: 1;
  }

  50% {
    transform: scaleY(0.6);
    opacity: 0.4;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

@keyframes fade-in {
  to {
    opacity: 1;
  }
}

/* ---------- SERVICES ---------- */
.services-section {
  background: transparent;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  display: flex;
  flex-direction: column;
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(217, 128, 115, 0.3);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card), 0 0 40px rgba(217, 128, 115, 0.1);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(217, 128, 115, 0.15), rgba(84, 86, 119, 0.15));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border: 1px solid rgba(217, 128, 115, 0.2);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--powder-blush);
}

.service-card h3 {
  font-family: var(--font-cards);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
  color: #fff;
}

.service-card>p {
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 0.9rem;
}

.service-list {
  margin-bottom: 32px;
  flex-grow: 1;
}

.service-list li {
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sweet-salmon);
  flex-shrink: 0;
}

.service-link {
  color: var(--powder-blush);
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.service-link:hover {
  gap: 10px;
}

/* ---------- EVENTOS ---------- */
.eventos-section {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #120d1a 100%);
}

.eventos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.evento-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 380px;
  position: relative;
  display: flex;
  align-items: flex-end;
  transition: var(--transition);
  cursor: default;
}

.evento-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.evento-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.evento-bbc {
  background: linear-gradient(145deg, #3b2d4a 0%, #5c3d5a 50%, #7a4a5a 100%);
}

.evento-cumple {
  background: linear-gradient(145deg, #2d3b4a 0%, #3d5a5c 50%, #4a5a7a 100%);
}

.evento-privado {
  background: linear-gradient(145deg, #3a2d2a 0%, #5c4a3d 50%, #7a5a4a 100%);
}

.evento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(217, 128, 115, 0.15) 0%, transparent 70%);
}

.evento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
  z-index: 1;
}

.evento-badge {
  position: absolute;
  top: 38px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  animation: badge-pulse 4s ease-in-out infinite;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.evento-badge svg {
  width: 60px;
  height: 60px;
  color: rgba(255, 255, 255, 0.45);
}

.evento-card:hover .evento-badge {
  background: rgba(232, 180, 161, 0.12);
  border-color: rgba(232, 180, 161, 0.3);
}

.evento-card:hover .evento-badge svg {
  color: var(--powder-blush);
}

@keyframes badge-pulse {

  0%,
  100% {
    transform: translateX(-50%) scale(1);
    box-shadow: 0 0 0 0 rgba(232, 180, 161, 0);
  }

  50% {
    transform: translateX(-50%) scale(1.06);
    box-shadow: 0 0 24px 6px rgba(232, 180, 161, 0.12);
  }
}

.evento-content {
  position: relative;
  z-index: 3;
  padding: 32px;
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 200px;
}

.evento-card h3 {
  font-family: var(--font-cards);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
  color: #fff;
}

.evento-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

/* ---------- STATS ---------- */
.stats-section {
  padding: 80px 0;
  background:
    linear-gradient(135deg, rgba(84, 86, 119, 0.15) 0%, rgba(217, 128, 115, 0.08) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 16px;
}

.stat-number,
.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ---------- GALERIA ---------- */
.galeria-section {
  background: transparent;
}

.galeria-flex {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: clamp(500px, 70vh, 700px);
}

.galeria-row {
  display: flex;
  flex: 1;
  gap: 16px;
  transition: flex 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.galeria-row:has(.galeria-item.active) {
  flex: 1.6;
}

.galeria-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--bg-card);
  border: 1px solid var(--border);
  flex: 1;
  min-width: 0;
  transition: flex 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.galeria-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: opacity 1s ease-in-out, transform 6s ease-out;
}

.galeria-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
  opacity: 0.8;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.galeria-item:hover::after {
  opacity: 0.95;
}

.galeria-title {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  font-family: var(--font-cards);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  z-index: 2;
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.4s ease;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.galeria-item.active .galeria-title,
.galeria-item:hover .galeria-title {
  transform: translateY(0);
  opacity: 1;
}

.galeria-item.active {
  flex: 2.2;
  border-color: rgba(232, 180, 161, 0.4);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 40px rgba(217, 128, 115, 0.15);
}

.galeria-item.active .galeria-title {
  font-size: 1.5rem;
  bottom: 30px;
  left: 30px;
}

.galeria-item.active .galeria-slide {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .galeria-flex {
    height: auto;
    flex-direction: column;
  }

  .galeria-row {
    flex-direction: column;
    flex: none;
  }

  .galeria-item {
    height: 160px;
    flex: none;
  }

  .galeria-item.active {
    height: 300px;
    flex: none;
  }
}

/* ---------- CONTACTO ---------- */
.contacto-section {
  background: linear-gradient(180deg, #120d1a 0%, var(--bg-dark) 100%);
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: start;
}

.contacto-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contacto-logo {
  max-width: 300px;
  height: auto;
  margin-bottom: 30px;
  filter: drop-shadow(0 0 20px rgba(217, 128, 115, 0.4));
  align-self: center;
}

.contacto-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  transition: var(--transition);
}

.contacto-card:hover {
  border-color: rgba(217, 128, 115, 0.3);
  background: var(--bg-card-hover);
}

.contacto-icon {
  width: 24px;
  height: 24px;
  color: #fff;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contacto-icon svg {
  width: 100%;
  height: 100%;
}

.contacto-card h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contacto-card a {
  color: var(--powder-blush);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
}

.contacto-card a:hover {
  color: var(--sweet-salmon);
}

.contacto-social {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}

.social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text-primary);
}

.social-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.whatsapp:hover {
  background: rgba(37, 211, 102, 0.08);
  border-color: rgba(37, 211, 102, 0.4);
  color: #25D366;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.15);
}

.instagram:hover {
  background: rgba(253, 29, 29, 0.08);
  border-color: rgba(253, 29, 29, 0.4);
  color: var(--powder-blush);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(253, 29, 29, 0.15);
}

.whatsapp svg {
  color: #25D366;
}

.instagram svg {
  color: var(--sweet-salmon);
}

.btn-icon {
  width: 18px;
  height: 18px;
  margin-left: 4px;
  transition: var(--transition);
}

.btn-primary:hover .btn-icon {
  transform: translate(3px, -3px);
}

.contacto-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  backdrop-filter: blur(12px);
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
  appearance: none;
}

.form-group select {
  cursor: pointer;
}

.form-group select option {
  background: #1a1a2e;
  color: var(--text-primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(245, 240, 238, 0.28);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sweet-salmon);
  box-shadow: 0 0 0 3px rgba(217, 128, 115, 0.15);
  background: rgba(255, 255, 255, 0.07);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.78rem;
  margin-top: 12px;
}

/* ---------- FOOTER ---------- */
.footer {
  background: #08080e;
  border-top: 1px solid var(--border);
  padding: 80px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand .footer-logo {
  height: 120px;
  width: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 15px rgba(217, 128, 115, 0.3));
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 250px;
  margin-bottom: 30px;
}

.powered-by {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 20px;
  border-radius: 12px;
  transition: var(--transition);
  margin-top: 10px;
}

.powered-by:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.powered-gif {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.powered-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.powered-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.powered-text strong {
  font-size: 1.1rem;
  color: #fff;
  font-weight: 700;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--powder-blush);
  margin-bottom: 18px;
  font-weight: 700;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--powder-blush);
}

.footer-contact {
  display: flex;
  flex-direction: column;
}

.footer-contact a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: var(--transition);
  margin-bottom: 10px;
}

.footer-contact a:hover {
  color: var(--powder-blush);
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ---------- ANIMATIONS UTILITY ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ---------- CHOCOLATE SECTION ---------- */
.chocolate-section {
  background: rgba(255, 255, 255, 0.02);
  position: relative;
  overflow: hidden;
}

.chocolate-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.chocolate-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4/5;
}

.chocolate-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
  animation: pan-img 20s ease-in-out infinite alternate;
  object-position: center center;
}

@keyframes pan-img {
  from { object-position: 45% center; }
  to { object-position: 55% center; }
}

.chocolate-image-wrapper:hover .chocolate-main-img {
  transform: scale(1.05);
}

.chocolate-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--gradient-accent);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  z-index: 2;
  animation: corner-badge-pulse 4s infinite;
}

@keyframes corner-badge-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(232, 180, 161, 0.2);
  }
}

.badge-year {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.badge-text {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.chocolate-info .section-tag {
  margin-bottom: 10px;
}

.chocolate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 30px 0;
}

.choc-feat {
  background: var(--bg-card);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}

.choc-feat:hover {
  background: var(--bg-card-hover);
  border-color: var(--sweet-salmon);
  transform: translateY(-5px);
}

.choc-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--powder-blush);
  line-height: 1;
  margin-bottom: 5px;
}

.choc-txt {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.news-wrapper {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.news-heading {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.news-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.news-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.news-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(10px);
}

.news-logo {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  overflow: hidden;
  transition: var(--transition);
}

.news-logo.news-asturias {
  background-color: #D52D2D;
}

.news-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.news-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-grow: 1;
  margin: 0;
  line-height: 1.4;
}

.news-arrow {
  color: var(--sweet-salmon);
  font-weight: bold;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .chocolate-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .chocolate-image-wrapper {
    aspect-ratio: 16/9;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .contacto-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}


@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 0;
    right: 0;
    height: 100vh;
    width: 280px;
    background: rgba(14, 14, 20, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    padding: 30px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    border-left: 1px solid var(--border);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .galeria-flex {
    height: auto;
    flex-direction: column;
  }

  .galeria-row {
    flex-direction: column;
    flex: none;
  }

  .galeria-item {
    height: calc(180px + (140px * var(--scroll-focus, 0)));
    flex: none;
    transition: height 0.1s ease-out;
  }

  .galeria-item.active {
    flex: none;
    border-color: rgba(232, 180, 161, calc(0.4 * var(--scroll-focus, 0)));
    box-shadow: 0 8px 32px rgba(0, 0, 0, calc(0.5 * var(--scroll-focus, 0)));
  }

  .galeria-item .galeria-title {
    opacity: var(--scroll-focus, 0);
    transform: translateY(calc((1 - var(--scroll-focus, 0)) * 10px));
  }

  .galeria-item .galeria-slide {
    transform: scale(calc(1 + (0.05 * var(--scroll-focus, 0))));
  }

  .galeria-item.active .galeria-title {
    font-size: 1.1rem;
    bottom: 20px;
    left: 20px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 260px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .eventos-grid {
    grid-template-columns: 1fr;
  }

  .contacto-social {
    flex-direction: column;
  }

  .contacto-form {
    padding: 28px 20px;
  }
}