/* ============================================================
   DOGUE COMMUNITY HUB — Design System & Hero Styles
   Luxury Editorial Aesthetic
   ============================================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

/* --- Design Tokens --- */
:root {
  --navy: #1B2A4A;
  --navy-deep: #0F1A2E;
  --navy-light: #243656;
  --gold: #B8943F;
  --gold-light: #D4B15E;
  --gold-dark: #9A7A30;
  --cream: #F5F0E8;
  --white: #FAF8F4;
  --white-pure: #FFFFFF;

  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Montserrat', 'Helvetica Neue', sans-serif;

  --ease-luxury: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  --transition-fast: 0.25s;
  --transition-med: 0.4s;
  --transition-slow: 0.7s;

  --z-navbar: 1000;
  --z-hero-content: 10;
  --z-hero-overlay: 5;
  --z-hero-video: 1;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--navy-deep);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-navbar);
  padding: 0 clamp(1rem, 4vw, 4rem);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 18, 32, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  transition: background var(--transition-med) var(--ease-smooth),
              box-shadow var(--transition-med) var(--ease-smooth);
}

.navbar::before { display: none; }

@media (max-width: 767px) {
  .navbar { height: 56px; }
}

.navbar.scrolled {
  background: rgba(10, 18, 32, 0.96);
  box-shadow: 0 1px 0 rgba(201, 168, 76, 0.18),
              0 4px 24px rgba(0, 0, 0, 0.35);
}

.navbar.scrolled::before { opacity: 0; }

/* --- Navbar logo (responsive, sticky-safe, no resize on scroll) --- */
.navbar__logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}
.navbar__logo-text { display: none !important; }
.navbar__logo-img,
.navbar.scrolled .navbar__logo-img {
  display: block;
  width: auto;
  max-width: none;
  height: clamp(40px, 4.8vw, 56px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  border: 1px solid rgba(201, 168, 76, 0.35);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(201, 168, 76, 0.08);
  filter: drop-shadow(0 2px 10px rgba(201, 168, 76, 0.25));
  transition: transform 0.4s var(--ease-luxury), border-color 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}
.navbar__logo:hover .navbar__logo-img {
  transform: translateY(-1px) scale(1.04);
  border-color: rgba(201, 168, 76, 0.7);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(201, 168, 76, 0.25);
  filter: drop-shadow(0 4px 18px rgba(201, 168, 76, 0.55));
}

.navbar__logo-accent {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--gold-light);
  margin-left: 0.1rem;
  opacity: 0.8;
}

.navbar__logo:hover .navbar__logo-text {
  color: var(--gold-light);
}

/* --- Nav Menu --- */
.navbar__menu {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
}

.navbar__menu-item {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--cream);
  text-transform: uppercase;
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast) var(--ease-smooth);
}

.navbar__menu-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 1px;
  background: var(--gold);
  transition: transform var(--transition-med) var(--ease-luxury);
  transform-origin: center;
}

.navbar__menu-item:hover {
  color: var(--gold-light);
}

.navbar__menu-item:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* --- CTA Button --- */
.navbar__cta {
  position: relative;
  z-index: 2;
}

.btn-cta-nav {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.65rem 1.8rem;
  border: 1px solid var(--gold);
  background: transparent;
  transition: all var(--transition-med) var(--ease-luxury);
  position: relative;
  overflow: hidden;
}

.btn-cta-nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-med) var(--ease-luxury);
  z-index: -1;
}

.btn-cta-nav:hover {
  color: var(--navy-deep);
  border-color: var(--gold);
}

.btn-cta-nav:hover::before {
  transform: scaleX(1);
}

/* --- Hamburger (mobile) --- */
.navbar__hamburger {
  display: none;
  position: relative;
  z-index: 2;
  width: 28px;
  height: 20px;
  flex-direction: column;
  justify-content: space-between;
}

.navbar__hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--gold);
  transition: all var(--transition-med) var(--ease-luxury);
  transform-origin: center;
}

.navbar__hamburger.active span:nth-child(1) {
  transform: translateY(9.25px) rotate(45deg);
}

.navbar__hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.navbar__hamburger.active span:nth-child(3) {
  transform: translateY(-9.25px) rotate(-45deg);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* --- Video Background --- */
.hero__video-wrapper {
  position: absolute;
  inset: 0;
  z-index: var(--z-hero-video);
}

.hero__video,
.hero__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero__video {
  display: block;
}

/* --- Overlay --- */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: var(--z-hero-overlay);
  background:
    linear-gradient(
      180deg,
      rgba(15, 26, 46, 0.75) 0%,
      rgba(27, 42, 74, 0.55) 40%,
      rgba(27, 42, 74, 0.60) 60%,
      rgba(15, 26, 46, 0.85) 100%
    );
}

/* Subtle grain texture overlay */
.hero__overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
  pointer-events: none;
}

/* --- Decorative Lines --- */
.hero__deco-line {
  position: absolute;
  z-index: var(--z-hero-content);
  background: var(--gold);
  opacity: 0.15;
}

.hero__deco-line--left {
  left: clamp(2rem, 5vw, 6rem);
  top: 15%;
  width: 1px;
  height: 70%;
}

.hero__deco-line--right {
  right: clamp(2rem, 5vw, 6rem);
  top: 15%;
  width: 1px;
  height: 70%;
}

.hero__deco-line--top {
  top: clamp(6rem, 12vh, 10rem);
  left: clamp(2rem, 5vw, 6rem);
  right: clamp(2rem, 5vw, 6rem);
  height: 1px;
  width: auto;
}

.hero__deco-line--bottom {
  bottom: clamp(4rem, 8vh, 8rem);
  left: clamp(2rem, 5vw, 6rem);
  right: clamp(2rem, 5vw, 6rem);
  height: 1px;
  width: auto;
}

/* --- Hero Content --- */
.hero__content {
  position: relative;
  z-index: var(--z-hero-content);
  text-align: center;
  max-width: 860px;
  padding: 2rem clamp(1.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Two-column layout: gold brandmark on the left, copy on the right */
.hero__content--with-logo {
  max-width: 1180px;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 5vw, 5rem);
  text-align: left;
}
.hero__content--with-logo .hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 620px;
}
.hero__content--with-logo .hero__headline,
.hero__content--with-logo .hero__description,
.hero__content--with-logo .hero__subtitle {
  text-align: left;
  margin-left: 0;
}
.hero__content--with-logo .hero__headline--claim {
  font-size: clamp(2rem, 4vw, 3.6rem);
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
.hero__content--with-logo .hero__headline--claim .hero__headline-line {
  white-space: normal;
}
.hero__brandmark {
  flex: 0 0 auto;
  display: block;
  margin: 0 auto;
  width: auto;
  max-width: 100%;
  position: relative;
  z-index: 3;
}
.hero__brandmark-img {
  position: relative;
  z-index: 1;
  display: block;
  width: clamp(160px, 18vw, 240px);
  height: clamp(160px, 18vw, 240px);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
  border: 1px solid rgba(201, 168, 76, 0.4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45),
              0 0 0 1px rgba(201, 168, 76, 0.1) inset;
  filter: drop-shadow(0 0 32px rgba(201, 168, 76, 0.45))
          drop-shadow(0 0 70px rgba(201, 168, 76, 0.18));
  animation: logoReveal 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes logoReveal {
  from { opacity: 0; transform: translateY(-16px) scale(0.9); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
/* Mobile */
@media (max-width: 900px) {
  .hero__content--with-logo {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
    padding-top: 6rem;
  }
  .hero__content--with-logo .hero__copy { align-items: center; }
  .hero__content--with-logo .hero__headline,
  .hero__content--with-logo .hero__description,
  .hero__content--with-logo .hero__subtitle { text-align: center; }
}
@media (max-width: 767px) {
  .hero__content--with-logo { padding-top: 5.5rem; gap: 1rem; }
  .hero__brandmark { width: 120px; }
}

/* Subtle glow behind content */
.hero__content::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    ellipse at center,
    rgba(184, 148, 63, 0.06) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* --- Subtitle --- */
.hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.6rem, 1.2vw, 0.8rem);
  font-weight: 400;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 1s var(--ease-luxury) 0.3s forwards;
}

.hero__subtitle::before,
.hero__subtitle::after {
  content: '';
  width: clamp(30px, 5vw, 60px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
  flex-shrink: 0;
}

.hero__subtitle::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* --- Headline --- */
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6.2vw, 5.2rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 2rem;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 1.2s var(--ease-luxury) 0.6s forwards;
  max-width: 16ch;
}

.hero__headline-line {
  display: block;
}

.hero__headline-line + .hero__headline-line {
  margin-top: 0.35em;
}

.hero__headline-word--accent {
  color: var(--gold);
  font-weight: 400;
  font-style: italic;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

/* --- Description --- */
.hero__description {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.3vw, 1rem);
  font-weight: 300;
  line-height: 1.8;
  color: rgba(245, 240, 232, 0.75);
  max-width: 540px;
  margin-bottom: 3rem;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 1s var(--ease-luxury) 0.9s forwards;
}

/* --- Buttons --- */
.hero__buttons {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 1s var(--ease-luxury) 1.2s forwards;
}

.btn-hero {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-med) var(--ease-luxury);
}

.btn-hero--primary {
  background: var(--gold);
  color: var(--navy-deep);
  border: 1px solid var(--gold);
}

.btn-hero--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15) 0%,
    transparent 50%,
    rgba(0, 0, 0, 0.1) 100%
  );
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn-hero--primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 4px 30px rgba(184, 148, 63, 0.35);
  transform: translateY(-2px);
}

.btn-hero--primary:hover::before {
  opacity: 1;
}

.btn-hero--secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(250, 248, 244, 0.4);
}

.btn-hero--secondary:hover {
  border-color: var(--white);
  color: var(--white);
  box-shadow: 0 4px 30px rgba(250, 248, 244, 0.1);
  transform: translateY(-2px);
}

/* ============================================================
   SCROLL INDICATOR
   ============================================================ */
.hero__scroll-indicator {
  position: absolute;
  bottom: clamp(1.5rem, 4vh, 3rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-hero-content);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  animation: heroFadeUp 1s var(--ease-luxury) 1.8s forwards;
}

.hero__scroll-indicator span {
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
}

.hero__scroll-mouse {
  width: 22px;
  height: 34px;
  border: 1.5px solid var(--gold);
  border-radius: 11px;
  position: relative;
  opacity: 0.6;
}

.hero__scroll-dot {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 6px;
  background: var(--gold);
  border-radius: 3px;
  animation: scrollDot 2s var(--ease-smooth) infinite;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollDot {
  0%, 100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  50% {
    opacity: 0.3;
    transform: translateX(-50%) translateY(12px);
  }
}

@keyframes decoLineGrow {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

@keyframes decoLineGrowH {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.hero__deco-line--left,
.hero__deco-line--right {
  transform-origin: top;
  animation: decoLineGrow 1.5s var(--ease-luxury) 0.5s both;
}

.hero__deco-line--top,
.hero__deco-line--bottom {
  transform-origin: left;
  animation: decoLineGrowH 1.5s var(--ease-luxury) 0.8s both;
}

/* --- Floating shimmer on gold elements --- */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ============================================================
   equipos DESTACADOS (Featured Pairs)
   ============================================================ */
.equipos-destacados {
  background-color: var(--cream);
  padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 4vw, 4rem);
  color: var(--navy-deep);
  position: relative;
}

.equipos-destacados__container {
  max-width: 1200px;
  margin: 0 auto;
}

.equipos-destacados__header {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.equipos-destacados__subtitle {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.equipos-destacados__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.1;
  margin: 0;
}

.equipos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

/* Card Styles */
.equipos-card {
  background: var(--white);
  border: 1px solid rgba(184, 148, 63, 0.2);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(27, 42, 74, 0.08);
  transition: transform var(--transition-med) var(--ease-luxury),
              box-shadow var(--transition-med) var(--ease-luxury),
              border-color var(--transition-med) var(--ease-luxury);
  position: relative;
  display: flex;
  flex-direction: column;
}

.equipos-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 50px rgba(27, 42, 74, 0.15);
  border-color: rgba(184, 148, 63, 0.5);
}

/* Image Wrapper (Square) */
.equipos-card__image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.equipos-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow) var(--ease-luxury);
}

.equipos-card:hover .equipos-card__image {
  transform: scale(1.05);
}

/* Overlay gradient for name legibility */
.equipos-card__image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 30%,
    rgba(15, 26, 46, 0.6) 60%,
    rgba(15, 26, 46, 0.95) 100%
  );
  pointer-events: none;
}

/* Breed Chip */
.equipos-card__breed-chip {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy-deep);
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 2;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Card Content Area */
.equipos-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem 1.5rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.equipos-card__name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 0;
  transition: transform var(--transition-med) var(--ease-luxury);
  transform: translateY(1.5rem);
}

/* Hidden Content on Hover */
.equipos-card__hover-content {
  opacity: 0;
  transform: translateY(20px);
  max-height: 0;
  transition: opacity var(--transition-med) var(--ease-luxury),
              transform var(--transition-med) var(--ease-luxury),
              max-height var(--transition-med) var(--ease-luxury);
  pointer-events: none;
  overflow: hidden;
  margin-top: 1rem;
}

.equipos-card:hover .equipos-card__name {
  transform: translateY(0);
}

.equipos-card:hover .equipos-card__hover-content {
  opacity: 1;
  transform: translateY(0);
  max-height: 200px;
  pointer-events: auto;
}

.equipos-card__description {
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(250, 248, 244, 0.9);
  margin-bottom: 1.5rem;
}

.btn-ver-perfil {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.2rem;
  display: inline-block;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.btn-ver-perfil:hover {
  color: var(--gold-light);
  border-color: var(--gold-light);
}

/* Footer Button */
.equipos-destacados__footer {
  text-align: center;
}

.btn-outline-navy {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 1.2rem 3rem;
  border: 1px solid var(--navy);
  background: transparent;
  transition: all var(--transition-med) var(--ease-luxury);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-outline-navy::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--navy);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--transition-med) var(--ease-luxury);
  z-index: -1;
}

.btn-outline-navy:hover {
  color: var(--white);
  border-color: var(--navy);
  box-shadow: 0 10px 30px rgba(27, 42, 74, 0.2);
}

.btn-outline-navy:hover::before {
  transform: scaleY(1);
}

/* Fade-in Animation Classes */
.fade-in-element {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-luxury),
              transform 0.8s var(--ease-luxury);
  transition-delay: var(--anim-delay, 0s);
}

.fade-in-element.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   LIFESTYLE SPLIT (SECCIÓN A)
   ============================================================ */
.lifestyle-split {
  display: flex;
  flex-direction: column;
  background-color: var(--navy);
  overflow: hidden;
}

@media (min-width: 1024px) {
  .lifestyle-split {
    flex-direction: row;
    min-height: 80vh;
  }
}

.lifestyle-split__image-wrapper {
  flex: 1;
  width: 100%;
  min-height: 400px;
  position: relative;
}

@media (min-width: 1024px) {
  .lifestyle-split__image-wrapper {
    min-height: auto;
  }
}

.lifestyle-split__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lifestyle-split__content {
  flex: 1;
  padding: clamp(4rem, 8vw, 8rem) clamp(2rem, 5vw, 6rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: var(--white);
}

.lifestyle-split__icon-paw {
  width: 48px;
  height: 48px;
  margin-bottom: 2rem;
}

.lifestyle-split__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 2.5rem;
}

.lifestyle-split__benefits {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.lifestyle-split__benefits li {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lifestyle-split__check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.lifestyle-split__benefits p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(250, 248, 244, 0.85);
  margin: 0;
}

.lifestyle-split__btn {
  /* Using existing btn-hero--primary base styles from index block */
  display: inline-block;
  background: var(--gold);
  color: var(--navy-deep);
  border: 1px solid var(--gold);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  transition: all var(--transition-med) var(--ease-luxury);
}

.lifestyle-split__btn:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 4px 30px rgba(184, 148, 63, 0.35);
  transform: translateY(-2px);
}

/* ============================================================
   STATS BAR (SECCIÓN B)
   ============================================================ */
.stats-bar {
  background-color: var(--navy-deep);
  padding: 4rem 0;
  border-top: 1px solid rgba(184, 148, 63, 0.1);
  border-bottom: 1px solid rgba(184, 148, 63, 0.1);
}

.stats-bar__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .stats-bar__container {
    flex-direction: row;
    justify-content: space-between;
    gap: 0;
  }
}

.stats-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.stats-bar__number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stats-bar__label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.8;
}

.stats-bar__divider {
  width: 50px;
  height: 1px;
  background-color: var(--gold);
  opacity: 0.3;
}

@media (min-width: 768px) {
  .stats-bar__divider {
    width: 1px;
    height: 60px;
  }
}

/* ============================================================
   MEMBRESÍAS (SECCIÓN C)
   ============================================================ */
.membresias {
  background-color: var(--cream);
  padding: clamp(5rem, 10vw, 10rem) clamp(1.5rem, 4vw, 4rem);
  color: var(--navy-deep);
}

.membresias__container {
  max-width: 1200px;
  margin: 0 auto;
}

.membresias__header {
  text-align: center;
  margin-bottom: clamp(4rem, 8vw, 6rem);
}

.membresias__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.1;
}

.membresias__subtitle {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--navy-deep);
  opacity: 0.7;
  margin-top: 1rem;
  letter-spacing: 0.02em;
}

.membresia-card__tagline {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-style: italic;
  letter-spacing: 0.08em;
  text-transform: none;
  opacity: 0.75;
  margin: -0.5rem 0 1.5rem;
  text-align: center;
}

.membresia-card__features li.is-exclusive {
  position: relative;
  padding-left: 1.4rem;
  font-style: italic;
  opacity: 0.92;
}

.membresia-card__features li.is-exclusive::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0.85rem;
  color: var(--gold);
  font-size: 0.75rem;
  line-height: 1;
}

.membresia-card__badge--gold {
  background-color: var(--gold);
  color: var(--navy-deep);
}

.membresias__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .membresias__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
}

.membresia-card {
  padding: 3.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-med) var(--ease-luxury),
              box-shadow var(--transition-med) var(--ease-luxury);
  height: 100%;
}

.membresia-card:hover {
  transform: translateY(-10px);
}

.membresia-card__name {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.membresia-card__price {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}

.membresia-card__currency {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-top: 0.5rem;
}

.membresia-card__amount {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 400;
  line-height: 1;
}

.membresia-card__period {
  font-family: var(--font-body);
  font-size: 0.9rem;
  align-self: flex-end;
  margin-bottom: 0.75rem;
  opacity: 0.7;
}

.membresia-card__features {
  margin-bottom: 3rem;
  flex-grow: 1;
}

.membresia-card__features li {
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.membresia-card__features li:last-child {
  border-bottom: none;
}

.btn-membresia {
  width: 100%;
  padding: 1.2rem;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all var(--transition-med) var(--ease-luxury);
  border: 1px solid transparent;
}

/* Card Variations */
.membresia-card--basico {
  background-color: transparent;
  border: 1px solid rgba(27, 42, 74, 0.4);
}

.membresia-card--basico .membresia-card__name,
.membresia-card--basico .membresia-card__price {
  color: var(--navy);
}

.membresia-card--basico .membresia-card__features li {
  border-color: rgba(27, 42, 74, 0.1);
  color: rgba(27, 42, 74, 0.8);
}

.btn-membresia--outline {
  color: var(--navy);
  border-color: var(--navy);
  background: transparent;
}

.btn-membresia--outline:hover {
  background-color: var(--navy);
  color: var(--white);
}

.membresia-card--premium {
  background-color: var(--gold);
  color: var(--navy-deep);
  position: relative;
  box-shadow: 0 20px 50px rgba(184, 148, 63, 0.2);
  z-index: 2;
  transform: scale(1.05); /* Make it stand out in the middle */
}

@media (max-width: 1023px) {
  .membresia-card--premium {
    transform: scale(1);
    margin: 2rem 0;
  }
}

.membresia-card--premium:hover {
  transform: scale(1.05) translateY(-10px);
}

@media (max-width: 1023px) {
  .membresia-card--premium:hover {
    transform: translateY(-10px);
  }
}

.membresia-card__badge {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--navy-deep);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  white-space: nowrap;
}

.membresia-card--premium .membresia-card__name,
.membresia-card--premium .membresia-card__price {
  color: var(--navy-deep);
}

.membresia-card--premium .membresia-card__features li {
  border-color: rgba(15, 26, 46, 0.1);
}

.btn-membresia--navy {
  background-color: var(--navy-deep);
  color: var(--white);
  border-color: var(--navy-deep);
}

.btn-membresia--navy:hover {
  background-color: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 10px 20px rgba(15, 26, 46, 0.2);
}

.membresia-card--elite {
  background-color: var(--navy-deep);
  color: var(--white);
}

.membresia-card--elite .membresia-card__name,
.membresia-card--elite .membresia-card__price {
  color: var(--gold);
}

.membresia-card--elite .membresia-card__features li {
  border-color: rgba(184, 148, 63, 0.15);
  color: rgba(250, 248, 244, 0.8);
}

.btn-membresia--gold {
  background-color: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}

.btn-membresia--gold:hover {
  background-color: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 10px 20px rgba(184, 148, 63, 0.2);
}

/* ============================================================
   EVENTOS
   ============================================================ */
.eventos {
  background-color: var(--navy);
  padding: clamp(5rem, 10vw, 8rem) clamp(1.5rem, 4vw, 4rem);
  color: var(--white);
}

.eventos__container {
  max-width: 1000px;
  margin: 0 auto;
}

.eventos__header {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 4rem);
}

.eventos__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin: 0;
}

.eventos__lista {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.evento-card {
  display: flex;
  flex-direction: column;
  background-color: var(--navy-light);
  border-radius: 4px;
  overflow: hidden;
  transition: transform var(--transition-med) var(--ease-luxury),
              box-shadow var(--transition-med) var(--ease-luxury);
}

@media (min-width: 768px) {
  .evento-card {
    flex-direction: row;
    align-items: center;
  }
}

.evento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.evento-card__fecha {
  background-color: var(--gold);
  color: var(--navy-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 2rem;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .evento-card__fecha {
    width: 140px;
    height: 100%;
    min-height: 140px;
    align-self: stretch; /* Make it fill height on desktop */
  }
}

.evento-card__dia {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
}

.evento-card__mes {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.evento-card__info {
  padding: 1.5rem;
  flex: 1;
}

@media (min-width: 768px) {
  .evento-card__info {
    padding: 2rem 2.5rem;
  }
}

.evento-card__nombre {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.evento-card__lugar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--gold);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.evento-card__desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(250, 248, 244, 0.8);
  margin: 0;
}

.evento-card__accion {
  padding: 1.5rem;
  display: flex;
  justify-content: flex-start;
}

@media (min-width: 768px) {
  .evento-card__accion {
    padding: 2rem 2.5rem 2rem 0;
    justify-content: flex-end;
  }
}

.btn-reservar {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--gold);
  padding: 0.8rem 1.5rem;
  transition: all var(--transition-fast) var(--ease-smooth);
}

.btn-reservar:hover {
  background-color: var(--gold);
  color: var(--navy-deep);
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter {
  background-color: var(--cream);
  padding: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 4vw, 4rem);
  text-align: center;
  color: var(--navy-deep);
}

.newsletter__container {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 400;
  margin-bottom: 2.5rem;
  color: var(--navy);
}

.newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .newsletter__form {
    flex-direction: row;
    gap: 0;
  }
}

.newsletter__input {
  flex: 1;
  padding: 1.2rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border: 1px solid rgba(27, 42, 74, 0.2);
  background-color: var(--white);
  color: var(--navy-deep);
  outline: none;
  transition: border-color var(--transition-fast);
}

.newsletter__input::placeholder {
  color: rgba(27, 42, 74, 0.4);
}

.newsletter__input:focus {
  border-color: var(--navy);
}

.btn-suscribir {
  background-color: var(--gold);
  color: var(--navy-deep);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1.2rem 2.5rem;
  border: 1px solid var(--gold);
  transition: all var(--transition-med);
}

.btn-suscribir:hover {
  background-color: var(--gold-light);
  border-color: var(--gold-light);
}

.newsletter__legal {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(27, 42, 74, 0.6);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background-color: #111827;
  color: var(--white);
  border-top: 1px solid var(--gold);
  padding: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 4vw, 4rem) 2rem;
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer__logo-container {
  text-align: center;
  margin-bottom: 4rem;
}

.footer__logo {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
}
.footer__logo-img {
  display: block;
  height: 56px;
  width: 56px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  opacity: 0.92;
  filter: drop-shadow(0 0 8px rgba(201, 168, 76, 0.2));
  transition: opacity 0.3s ease, filter 0.3s ease, transform 0.4s var(--ease-luxury), border-color 0.3s ease;
}
.footer__logo:hover .footer__logo-img {
  opacity: 1;
  transform: translateY(-2px);
  border-color: rgba(201, 168, 76, 0.6);
  filter: drop-shadow(0 0 14px rgba(201, 168, 76, 0.5));
}
@media (max-width: 767px) {
  .footer__logo-img { height: 48px; width: 48px; }
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 640px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer__col-title {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(250, 248, 244, 0.7);
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--white);
}

.footer__socials {
  display: flex;
  gap: 1.25rem;
}

.footer__socials a {
  color: var(--gold);
  transition: transform var(--transition-fast), color var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__socials a:hover {
  transform: translateY(-3px);
  color: var(--gold-light);
}

.footer__copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(250, 248, 244, 0.5);
}

/* Footer contact — premium email CTA */
.footer__contact {
  display: flex;
  justify-content: center;
  margin: 2.5rem auto 1.75rem;
}
.footer__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1.5rem 0.85rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.12), rgba(201, 168, 76, 0.04));
  border: 1px solid rgba(201, 168, 76, 0.35);
  color: var(--cream, #faf8f4);
  text-decoration: none;
  font-family: var(--font-body);
  box-shadow: 0 8px 30px -12px rgba(201, 168, 76, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}
.footer__contact-link:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 168, 76, 0.7);
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.22), rgba(201, 168, 76, 0.08));
  box-shadow: 0 14px 40px -12px rgba(201, 168, 76, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.footer__contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9a84c, #e7c878);
  color: #0a1220;
  font-size: 1.05rem;
  flex-shrink: 0;
  box-shadow: 0 0 18px rgba(201, 168, 76, 0.45);
}
.footer__contact-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}
.footer__contact-label {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.85);
  font-weight: 600;
}
.footer__contact-email {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--cream, #faf8f4);
  letter-spacing: 0.01em;
}
@media (max-width: 480px) {
  .footer__contact-link { padding: 0.7rem 1.1rem 0.7rem 0.85rem; gap: 0.7rem; }
  .footer__contact-icon { width: 32px; height: 32px; font-size: 0.9rem; }
  .footer__contact-email { font-size: 0.82rem; }
  .footer__contact-label { font-size: 0.6rem; }
}

/* Update sr-only class for accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ============================================================
   MOBILE NAV OVERLAY
   ============================================================ */
.navbar__mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-navbar) - 1);
  background: rgba(15, 26, 46, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-med) var(--ease-smooth),
              visibility var(--transition-med) var(--ease-smooth);
}

.navbar__mobile-overlay.active {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.navbar__mobile-overlay .navbar__menu-item {
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  opacity: 0;
  transform: translateY(20px);
}

.navbar__mobile-overlay.active .navbar__menu-item {
  animation: heroFadeUp 0.5s var(--ease-luxury) forwards;
}

.navbar__mobile-overlay.active .navbar__menu-item:nth-child(1) { animation-delay: 0.1s; }
.navbar__mobile-overlay.active .navbar__menu-item:nth-child(2) { animation-delay: 0.15s; }
.navbar__mobile-overlay.active .navbar__menu-item:nth-child(3) { animation-delay: 0.2s; }
.navbar__mobile-overlay.active .navbar__menu-item:nth-child(4) { animation-delay: 0.25s; }
.navbar__mobile-overlay.active .navbar__menu-item:nth-child(5) { animation-delay: 0.3s; }

.navbar__mobile-overlay .btn-cta-nav {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.5s var(--ease-luxury) 0.4s forwards;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .navbar__menu {
    display: none;
  }

  .navbar__cta {
    display: none;
  }

  .navbar__hamburger {
    display: flex;
  }

  .navbar__mobile-overlay {
    display: flex;
  }
}

@media (max-width: 768px) {
  .hero__headline {
    font-size: clamp(2.5rem, 10vw, 4rem);
    letter-spacing: 0.05em;
  }

  .hero__subtitle {
    font-size: 0.6rem;
    letter-spacing: 0.3em;
  }

  .hero__description {
    font-size: 0.85rem;
  }

  .hero__buttons {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 320px;
  }

  .btn-hero {
    width: 100%;
    text-align: center;
  }

  .hero__deco-line--left,
  .hero__deco-line--right {
    display: none;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0 1.25rem;
  }

  .navbar__logo-text {
    font-size: 1.4rem;
    letter-spacing: 0.25em;
  }

  .hero__content {
    padding: 1.5rem 1.25rem;
  }

  .hero__headline {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
  }

  .hero__subtitle::before,
  .hero__subtitle::after {
    display: none;
  }

  .btn-hero {
    padding: 0.85rem 2rem;
    font-size: 0.65rem;
  }
}

/* ============================================================
   PREFERS REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   FLOATING CONTACT CTAs — WhatsApp & Email
   ============================================================ */
.floating-contact {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  z-index: 999;
}

.floating-contact__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: var(--white-pure);
  text-decoration: none;
  box-shadow: 0 10px 30px -8px rgba(15, 26, 46, 0.45),
              0 4px 12px -2px rgba(15, 26, 46, 0.25);
  transition: transform var(--transition-med) var(--ease-luxury),
              box-shadow var(--transition-med) var(--ease-luxury);
  overflow: visible;
  border: 2px solid rgba(255, 255, 255, 0.92);
}

.floating-contact__btn::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0.35;
  animation: floatPulse 2.6s var(--ease-luxury) infinite;
  pointer-events: none;
}

.floating-contact__btn:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 18px 38px -10px rgba(15, 26, 46, 0.55),
              0 6px 14px -2px rgba(15, 26, 46, 0.3);
}

.floating-contact__btn--whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #25D366;
}

.floating-contact__btn--email {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-dark) 100%);
  color: var(--gold);
}

.floating-contact__btn svg {
  width: 26px;
  height: 26px;
  color: var(--white-pure);
  position: relative;
  z-index: 2;
}

.floating-contact__tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--navy-deep);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.55rem 0.9rem;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast) var(--ease-smooth),
              transform var(--transition-fast) var(--ease-smooth);
  box-shadow: 0 6px 20px -4px rgba(15, 26, 46, 0.4);
}

.floating-contact__tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--navy-deep);
}

.floating-contact__btn:hover .floating-contact__tooltip,
.floating-contact__btn:focus-visible .floating-contact__tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@keyframes floatPulse {
  0% { transform: scale(1); opacity: 0.35; }
  70% { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}

@media (max-width: 600px) {
  .floating-contact {
    right: 1rem;
    bottom: 1rem;
    gap: 0.7rem;
  }
  .floating-contact__btn {
    width: 52px;
    height: 52px;
  }
  .floating-contact__btn svg {
    width: 22px;
    height: 22px;
  }
  .floating-contact__tooltip {
    display: none;
  }
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 880px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--white);
  border: 1px solid color-mix(in oklab, var(--gold) 30%, transparent);
  border-radius: 16px;
  padding: 28px 32px;
  z-index: 9999;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(184, 148, 63, 0.08);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.6s var(--ease-luxury), opacity 0.5s var(--ease-luxury);
  backdrop-filter: blur(12px);
}

.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}

.cookie-banner__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 28px;
  box-shadow: 0 8px 24px rgba(184, 148, 63, 0.35);
}

.cookie-banner__body { min-width: 0; }

.cookie-banner__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--gold-light);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.cookie-banner__text {
  font-size: 0.9rem;
  line-height: 1.55;
  color: color-mix(in oklab, var(--white) 85%, transparent);
}

.cookie-banner__text a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast) var(--ease-smooth);
}

.cookie-banner__text a:hover { color: var(--gold); }

.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition-med) var(--ease-luxury);
  white-space: nowrap;
}

.cookie-btn--accept {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--navy-deep);
  border: 1px solid var(--gold);
  box-shadow: 0 6px 20px rgba(184, 148, 63, 0.35);
}
.cookie-btn--accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(184, 148, 63, 0.5);
}

.cookie-btn--reject {
  background: transparent;
  color: var(--white);
  border: 1px solid color-mix(in oklab, var(--white) 30%, transparent);
}
.cookie-btn--reject:hover {
  background: color-mix(in oklab, var(--white) 8%, transparent);
  border-color: var(--white);
}

@media (max-width: 768px) {
  .cookie-banner {
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 20px;
  }
  .cookie-banner__inner {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }
  .cookie-banner__icon { margin: 0 auto; }
  .cookie-banner__actions {
    flex-direction: column-reverse;
    width: 100%;
  }
  .cookie-btn { width: 100%; }
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-page {
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  min-height: 100vh;
  padding-top: 80px;
}

.legal-hero {
  padding: 100px 24px 60px;
  text-align: center;
  border-bottom: 1px solid color-mix(in oklab, var(--gold) 18%, transparent);
  background:
    radial-gradient(circle at 50% 0%, color-mix(in oklab, var(--gold) 12%, transparent) 0%, transparent 60%),
    transparent;
}

.legal-hero__inner {
  max-width: 760px;
  margin: 0 auto;
}

.legal-hero__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  padding: 8px 18px;
  border: 1px solid color-mix(in oklab, var(--gold) 40%, transparent);
  border-radius: 999px;
  margin-bottom: 28px;
}

.legal-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.legal-hero__subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  color: color-mix(in oklab, var(--cream) 75%, transparent);
  font-weight: 300;
  font-style: italic;
  font-family: var(--font-display);
  margin-bottom: 24px;
}

.legal-hero__updated {
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--gold) 70%, transparent);
}

.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 80px 24px 120px;
}

.legal-section {
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid color-mix(in oklab, var(--gold) 12%, transparent);
}
.legal-section:last-of-type { border-bottom: none; }

.legal-section h2 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 500;
  color: var(--gold-light);
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

.legal-section p {
  font-size: 1rem;
  line-height: 1.85;
  color: color-mix(in oklab, var(--white) 88%, transparent);
  margin-bottom: 16px;
  font-weight: 300;
}

.legal-section p strong { color: var(--white); font-weight: 600; }

.legal-section a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast) var(--ease-smooth);
}
.legal-section a:hover { color: var(--gold); }

.legal-list {
  list-style: none;
  margin: 18px 0;
  padding: 0;
}
.legal-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 0.98rem;
  line-height: 1.75;
  color: color-mix(in oklab, var(--white) 85%, transparent);
  font-weight: 300;
}
.legal-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 14px;
  height: 1px;
  background: var(--gold);
}
.legal-list li strong { color: var(--gold-light); font-weight: 600; }

.cookie-table-wrapper {
  overflow-x: auto;
  margin-top: 24px;
  border-radius: 12px;
  border: 1px solid color-mix(in oklab, var(--gold) 20%, transparent);
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 540px;
}

.cookie-table thead {
  background: linear-gradient(135deg, color-mix(in oklab, var(--gold) 15%, var(--navy)) 0%, var(--navy) 100%);
}

.cookie-table th {
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
  letter-spacing: 1.5px;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--gold-light);
}

.cookie-table td {
  padding: 16px 20px;
  border-top: 1px solid color-mix(in oklab, var(--gold) 12%, transparent);
  color: color-mix(in oklab, var(--white) 85%, transparent);
  font-weight: 300;
  line-height: 1.6;
}

.cookie-table td strong { color: var(--white); font-weight: 600; }

.btn-legal {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--navy-deep);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  margin: 12px 0;
  transition: all var(--transition-med) var(--ease-luxury);
  box-shadow: 0 6px 20px rgba(184, 148, 63, 0.3);
}
.btn-legal:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(184, 148, 63, 0.45);
}

.legal-footer-cta {
  margin-top: 60px;
  padding: 36px;
  text-align: center;
  background: linear-gradient(135deg, color-mix(in oklab, var(--gold) 8%, transparent) 0%, transparent 100%);
  border: 1px solid color-mix(in oklab, var(--gold) 25%, transparent);
  border-radius: 16px;
}
.legal-footer-cta p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--cream);
  font-style: italic;
  font-weight: 400;
  margin: 0;
}
.legal-footer-cta a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 768px) {
  .legal-hero { padding: 80px 20px 40px; }
  .legal-content { padding: 50px 20px 80px; }
  .legal-section { margin-bottom: 40px; padding-bottom: 30px; }
  .legal-section h2 { font-size: 1.5rem; }
}

/* ============================================================
   HERO REDESIGN — Soho House / Loro Piana inspired
   Floating navbar · centered DOGUE wordmark · gold #C9A84C
   ============================================================ */

:root {
  --hero-gold: #C9A84C;
  --hero-gold-soft: #D9BC68;
  --hero-bg: #0A0A0A;
  --hero-cream: #F5F0E8;
}

/* --- Floating navbar: logo on the left, navigation on the right --- */
.navbar {
  background: rgba(10, 18, 32, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar.scrolled {
  background: rgba(10, 18, 32, 0.96);
  border-bottom-color: rgba(201, 168, 76, 0.18);
}
.navbar__logo {
  justify-self: start;
  order: 0;
}
.navbar__logo-text { display: none !important; }
.navbar__menu {
  justify-self: end;
  padding-left: 0;
}
.navbar__cta {
  justify-self: end;
  padding-right: 0;
}

/* --- Hero base: deep black with soft gradient overlay --- */
.hero { background: var(--hero-bg); }
.hero__overlay {
  background:
    linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.35) 40%, rgba(10,10,10,0.85) 100%),
    radial-gradient(ellipse at center, rgba(10,10,10,0) 0%, rgba(10,10,10,0.5) 100%);
}

/* --- Headline: Playfair, large, centered, cream --- */
.hero__content:not(.hero__content--with-logo) {
  text-align: center;
  align-items: center;
  margin: 0 auto;
}
.hero__content--with-logo {
  margin: 0 auto;
}
.hero__headline--claim {
  font-family: 'Playfair Display', var(--font-display), Georgia, serif;
  font-size: clamp(2.4rem, 5.6vw, 5.4rem);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.005em;
  line-height: 1.08;
  color: var(--hero-cream);
  max-width: 22ch;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}
.hero__headline--claim .hero__headline-line {
  display: block;
  white-space: nowrap;
}
@media (max-width: 520px) {
  .hero__headline--claim .hero__headline-line {
    white-space: normal;
  }
}
.hero__headline--claim .hero__headline-word--accent {
  color: var(--hero-gold);
  font-style: italic;
  font-weight: 400;
}
.hero__subtitle {
  color: var(--hero-gold);
  letter-spacing: 0.5em;
}
.hero__description {
  font-family: var(--font-body), 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(0.95rem, 1.35vw, 1.15rem);
  color: rgba(245, 240, 232, 0.82);
  letter-spacing: 0.04em;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* --- CTAs: gold solid + cream outline --- */
.hero__buttons { justify-content: center; }
.btn-hero--primary {
  background: var(--hero-gold);
  color: #0A0A0A;
  border: 1px solid var(--hero-gold);
  letter-spacing: 0.22em;
  font-weight: 500;
}
.btn-hero--primary:hover {
  background: var(--hero-gold-soft);
  border-color: var(--hero-gold-soft);
  color: #0A0A0A;
  box-shadow: 0 12px 30px -12px rgba(201, 168, 76, 0.55);
}
.btn-hero--secondary {
  background: transparent;
  color: var(--hero-cream);
  border: 1px solid rgba(245, 240, 232, 0.65);
  letter-spacing: 0.22em;
}
.btn-hero--secondary:hover {
  background: rgba(245, 240, 232, 0.08);
  border-color: var(--hero-cream);
  color: var(--hero-cream);
}

/* --- Decorative gold lines: refine to match new palette --- */
.hero__deco-line { background: var(--hero-gold); opacity: 0.45; }
.hero__subtitle::before,
.hero__subtitle::after {
  background: linear-gradient(90deg, transparent, var(--hero-gold));
}
.hero__subtitle::after {
  background: linear-gradient(90deg, var(--hero-gold), transparent);
}

/* --- Stats bar: dark base, gold dividers --- */
.stats-bar {
  background: #0A0A0A;
  border-top: 1px solid rgba(201, 168, 76, 0.25);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}
.stats-bar__number {
  font-family: 'Playfair Display', var(--font-display), Georgia, serif;
  color: var(--hero-gold);
  font-weight: 400;
}
.stats-bar__label { color: rgba(245, 240, 232, 0.78); }
.stats-bar__divider {
  background: linear-gradient(180deg, transparent, var(--hero-gold), transparent);
  width: 1px;
  opacity: 0.55;
}

/* --- Mobile: logo on the left, hamburger on the right --- */
@media (max-width: 960px) {
  .navbar__menu { display: none; }
  .navbar__logo { justify-self: start; }
  .navbar__hamburger { justify-self: end; margin-left: auto; }
}
@media (max-width: 640px) {
  .hero__headline--claim { font-size: clamp(2.2rem, 9vw, 3.4rem); }
  .hero__buttons { flex-direction: column; width: 100%; max-width: 320px; margin-left: auto; margin-right: auto; }
  .hero__buttons .btn-hero { width: 100%; }
}

/* ============================================================
   APP CTA — Lleva DOGUE en tu bolsillo (pre-footer)
   ============================================================ */
.app-cta {
  position: relative;
  background: #0A0A0A;
  color: #F5F0E8;
  padding: clamp(4rem, 9vw, 7.5rem) 0;
  overflow: hidden;
  border-top: 1px solid rgba(201, 168, 76, 0.18);
  border-bottom: 1px solid rgba(201, 168, 76, 0.18);
}
.app-cta__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(201, 168, 76, 0.18), transparent 55%),
    radial-gradient(circle at 85% 80%, rgba(201, 168, 76, 0.10), transparent 60%),
    linear-gradient(180deg, #0A0A0A 0%, #111 100%);
  pointer-events: none;
}
.app-cta__container {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.app-cta__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #C9A84C;
  margin-bottom: 1.25rem;
}
.app-cta__title {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.1;
  color: #F5F0E8;
  margin: 0 0 1.25rem;
  letter-spacing: -0.01em;
}
.app-cta__lead {
  font-size: clamp(0.98rem, 1.2vw, 1.1rem);
  line-height: 1.7;
  color: rgba(245, 240, 232, 0.72);
  max-width: 540px;
  margin: 0 0 1.75rem;
}
.app-cta__perks {
  list-style: none; padding: 0; margin: 0 0 2.25rem;
  display: flex; flex-direction: column; gap: 0.65rem;
}
.app-cta__perks li {
  font-size: 0.95rem;
  color: rgba(245, 240, 232, 0.85);
  display: flex; align-items: center; gap: 0.75rem;
}
.app-cta__perks span { color: #C9A84C; font-size: 0.8rem; }
.app-cta__stores {
  display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 1.5rem;
}
.store-badge {
  display: inline-flex; align-items: center; gap: 0.65rem;
  padding: 0.7rem 1.25rem;
  border: 1px solid rgba(245, 240, 232, 0.25);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #F5F0E8;
  text-decoration: none;
  transition: all 0.3s ease;
}
.store-badge:hover {
  border-color: #C9A84C;
  background: rgba(201, 168, 76, 0.08);
  transform: translateY(-2px);
}
.store-badge__sub { font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.7; display: block; line-height: 1; }
.store-badge__main { font-size: 1.05rem; font-weight: 600; display: block; line-height: 1.1; margin-top: 2px; }
.app-cta__more {
  display: inline-block;
  color: #C9A84C;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 168, 76, 0.4);
  padding-bottom: 2px;
  transition: border-color 0.3s ease;
}
.app-cta__more:hover { border-color: #C9A84C; }

.app-cta__visual {
  position: relative;
  display: flex; justify-content: center; align-items: center;
}
.app-cta__mockup {
  width: 100%;
  max-width: 460px;
  height: auto;
  border-radius: 24px;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(201, 168, 76, 0.15);
  display: block;
}
.app-cta__qr {
  position: absolute;
  bottom: -10px; right: -10px;
  background: #F5F0E8;
  padding: 0.85rem 0.85rem 0.6rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(201, 168, 76, 0.3);
}
.app-cta__qr img { display: block; width: 140px; height: 140px; }
.app-cta__qr-label {
  display: block; margin-top: 0.4rem;
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: #0A0A0A; font-weight: 600;
}
@media (max-width: 880px) {
  .app-cta__container { grid-template-columns: 1fr; gap: 3rem; }
  .app-cta__visual { order: -1; max-width: 380px; margin: 0 auto; }
  .app-cta__qr { display: none; }
}

/* ============================================================
   SMART BANNER (mobile only)
   ============================================================ */
.smart-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9998;
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(201, 168, 76, 0.35);
  padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
  display: none;
  align-items: center;
  gap: 0.75rem;
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.smart-banner.is-visible { transform: translateY(0); }
.smart-banner__close {
  background: none; border: none; color: rgba(245, 240, 232, 0.55);
  font-size: 1.4rem; line-height: 1; padding: 0.25rem 0.5rem; cursor: pointer;
  flex-shrink: 0;
}
.smart-banner__logo {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #C9A84C, #8a7232);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 600; font-size: 1.1rem; color: #0A0A0A;
  letter-spacing: -0.02em;
}
.smart-banner__body { flex: 1; min-width: 0; }
.smart-banner__title {
  font-size: 0.92rem; font-weight: 600; color: #F5F0E8;
  margin: 0; line-height: 1.2;
}
.smart-banner__text {
  font-size: 0.75rem; color: rgba(245, 240, 232, 0.6);
  margin: 2px 0 0; line-height: 1.3;
}
.smart-banner__cta {
  flex-shrink: 0;
  background: #C9A84C; color: #0A0A0A;
  font-size: 0.82rem; font-weight: 600;
  padding: 0.6rem 1.1rem; border-radius: 8px;
  text-decoration: none; letter-spacing: 0.04em;
  transition: background 0.2s ease;
}
.smart-banner__cta:hover { background: #d8b860; }
@media (max-width: 768px) {
  .smart-banner { display: flex; }
  body.has-smart-banner { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .floating-contact { bottom: 110px !important; }
  /* Pricing card amount scales down on mobile to prevent the "/mes" wrapping awkwardly */
  .membresia-card__price { align-items: baseline; flex-wrap: nowrap; }
  .membresia-card__currency { font-size: 1.15rem; margin-top: 0.35rem; }
  .membresia-card__amount { font-size: 3.4rem; }
  .membresia-card__period { margin-bottom: 0.4rem; font-size: 0.82rem; }
}

/* ============================================================
   /descarga — landing page
   ============================================================ */
.download-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 30% 0%, rgba(201, 168, 76, 0.18), transparent 50%),
    radial-gradient(circle at 80% 100%, rgba(201, 168, 76, 0.10), transparent 55%),
    #0A0A0A;
  color: #F5F0E8;
  padding: clamp(6rem, 12vw, 9rem) clamp(1.25rem, 4vw, 3rem) 5rem;
}
.download-page__inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 5rem); align-items: center;
}
.download-page__logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem; letter-spacing: 0.18em;
  color: #F5F0E8; text-decoration: none;
  margin-bottom: 1.5rem; display: inline-block;
}
.download-page__claim {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  line-height: 1.05; font-weight: 500;
  margin: 0 0 1.25rem; letter-spacing: -0.015em;
}
.download-page__claim em { font-style: italic; color: #C9A84C; }
.download-page__sub {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  color: rgba(245, 240, 232, 0.72);
  line-height: 1.7; margin: 0 0 2rem; max-width: 560px;
}
.download-page__benefits {
  list-style: none; padding: 0; margin: 0 0 2.5rem;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.5rem;
}
.download-page__benefits li {
  font-size: 0.92rem; color: rgba(245, 240, 232, 0.85);
  padding-left: 1.5rem; position: relative; line-height: 1.5;
}
.download-page__benefits li::before {
  content: "✦"; position: absolute; left: 0; top: 0;
  color: #C9A84C; font-size: 0.85rem;
}
.download-page__visual { position: relative; text-align: center; }
.download-page__mockup {
  width: 100%; max-width: 440px; height: auto;
  border-radius: 28px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7), 0 0 80px rgba(201, 168, 76, 0.18);
}
.download-page__qr-block {
  margin-top: 2rem;
  display: inline-flex; align-items: center; gap: 1rem;
  background: rgba(245, 240, 232, 0.05);
  border: 1px solid rgba(201, 168, 76, 0.25);
  padding: 1rem 1.25rem; border-radius: 14px;
}
.download-page__qr-block img { width: 96px; height: 96px; border-radius: 6px; background: #F5F0E8; padding: 6px; }
.download-page__qr-block p { margin: 0; text-align: left; font-size: 0.85rem; color: rgba(245, 240, 232, 0.8); line-height: 1.4; }
.download-page__qr-block strong { display: block; color: #F5F0E8; font-size: 0.95rem; margin-bottom: 2px; }

@media (max-width: 880px) {
  .download-page__inner { grid-template-columns: 1fr; }
  .download-page__visual { order: -1; max-width: 320px; margin: 0 auto; }
  .download-page__benefits { grid-template-columns: 1fr; }
}

/* "Ver en la app" inline button (deep links) */
.deep-link-app {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.8rem; letter-spacing: 0.05em;
  color: #C9A84C; text-decoration: none;
  border: 1px solid rgba(201, 168, 76, 0.4);
  padding: 0.4rem 0.8rem; border-radius: 999px;
  transition: all 0.25s ease;
}
.deep-link-app:hover { background: rgba(201, 168, 76, 0.1); border-color: #C9A84C; }

/* ============================================================
   QR CARD — Premium download block (DOGUE)
   ============================================================ */
.qr-card {
  display: inline-flex;
  background: linear-gradient(180deg, #1B2A4A 0%, #11192E 100%);
  border: 1px solid rgba(201, 169, 110, 0.45);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow:
    0 18px 40px -18px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(201, 169, 110, 0.08) inset,
    0 30px 60px -30px rgba(201, 169, 110, 0.18);
  color: #F5F0E8;
  max-width: 100%;
}
.qr-card__inner {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  width: 100%;
}
.qr-card__frame {
  position: relative;
  background: #F5F0E8;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(201, 169, 110, 0.55);
  box-shadow: 0 6px 16px -6px rgba(0,0,0,0.4);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-card__frame > img:not(.qr-card__logo) {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.qr-card__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: 48px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 4px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(201, 168, 76, 0.4));
  box-shadow: none;
}
.qr-card__copy { display: flex; flex-direction: column; gap: 0.35rem; }
.qr-card__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.2;
  color: #F5F0E8;
  margin: 0;
}
.qr-card__sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #C9A96E;
  margin: 0;
  font-weight: 400;
}

/* Sizes */
.qr-card--lg { padding: 1.75rem; border-radius: 18px; }
.qr-card--lg .qr-card__frame { padding: 14px; }
.qr-card--lg .qr-card__frame > img:not(.qr-card__logo) { width: 240px; height: 240px; }
.qr-card--lg .qr-card__logo { width: auto; height: 64px; }
.qr-card--lg .qr-card__title { font-size: 1.6rem; }

.qr-card--md .qr-card__frame > img:not(.qr-card__logo) { width: 180px; height: 180px; }
.qr-card--md .qr-card__logo { width: auto; height: 54px; }
.qr-card--md .qr-card__title { font-size: 1.4rem; }

.qr-card--sm { padding: 1rem; border-radius: 12px; }
.qr-card--sm .qr-card__frame { padding: 8px; }
.qr-card--sm .qr-card__frame > img:not(.qr-card__logo) { width: 120px; height: 120px; }
.qr-card--sm .qr-card__logo { width: auto; height: 38px; }
.qr-card--sm .qr-card__title { font-size: 1.05rem; }
.qr-card--sm .qr-card__sub { font-size: 0.7rem; }

.qr-card--xs { padding: 0.85rem; border-radius: 10px; }
.qr-card--xs .qr-card__frame { padding: 6px; }
.qr-card--xs .qr-card__frame > img:not(.qr-card__logo) { width: 110px; height: 110px; }
.qr-card--xs .qr-card__logo { width: auto; height: 32px; }
.qr-card--xs .qr-card__sub { font-size: 0.65rem; letter-spacing: 0.16em; }

/* Hero placement */
.hero__qr {
  margin-top: 2rem;
  align-self: flex-start;
  background: rgba(27, 42, 74, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Membresías download block */
.membresias__qr {
  display: flex;
  justify-content: center;
  margin-top: 3.5rem;
}

/* Footer column */
.footer__col--qr .qr-card {
  margin-top: 0.5rem;
  background: linear-gradient(180deg, #1B2A4A 0%, #0E1626 100%);
}

/* Responsive — make QR cards stack and breathe on mobile */
@media (max-width: 640px) {
  .qr-card__inner { flex-direction: column; text-align: center; gap: 1rem; }
  .qr-card--lg .qr-card__frame > img:not(.qr-card__logo) { width: 220px; height: 220px; }
  .qr-card--md .qr-card__frame > img:not(.qr-card__logo) { width: 200px; height: 200px; }
  .hero__qr { align-self: center; }
}

/* === Hero with brandmark — final overrides === */
@media (min-width: 901px) {
  .hero .hero__content.hero__content--with-logo {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: left !important;
    max-width: 1180px;
    gap: clamp(2rem, 5vw, 4.5rem);
  }
  .hero__content--with-logo .hero__copy {
    align-items: flex-start !important;
    text-align: left !important;
    max-width: 600px;
  }
  .hero__content--with-logo .hero__copy > * {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .hero__content--with-logo .hero__headline--claim {
    max-width: none !important;
    font-size: clamp(2rem, 4vw, 3.6rem) !important;
  }
  .hero__content--with-logo .hero__headline--claim .hero__headline-line {
    white-space: normal !important;
  }
  .hero__content--with-logo .hero__buttons { justify-content: flex-start !important; }
  .hero__content--with-logo .hero__brandmark {
    flex: 0 0 auto;
    width: clamp(240px, 30vw, 380px);
  }
}

/* ============================================================
   LOGIN MODAL — Premium acceso miembros
   ============================================================ */
.login-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-luxury, cubic-bezier(0.22,1,0.36,1)), visibility 0.4s;
}
.login-modal.is-open { opacity: 1; visibility: visible; }
.login-modal__backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(20,15,8,0.72) 0%, rgba(0,0,0,0.92) 100%);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.login-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: linear-gradient(155deg, #14110a 0%, #0d0b07 60%, #0a0805 100%);
  border: 1px solid rgba(201,168,76,0.28);
  border-radius: 22px;
  padding: 40px 36px 32px;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.7),
    0 0 0 1px rgba(201,168,76,0.08),
    inset 0 1px 0 rgba(201,168,76,0.18);
  transform: translateY(20px) scale(0.97);
  opacity: 0;
  transition: transform 0.5s var(--ease-luxury, cubic-bezier(0.22,1,0.36,1)), opacity 0.4s;
}
.login-modal.is-open .login-modal__dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.login-modal__dialog::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 22px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(201,168,76,0.55), transparent 40%, transparent 60%, rgba(201,168,76,0.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.login-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 50%;
  color: rgba(245,235,210,0.7);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.25s ease;
}
.login-modal__close:hover {
  background: rgba(201,168,76,0.15);
  color: #f5ebd2;
  border-color: rgba(201,168,76,0.5);
  transform: rotate(90deg);
}
.login-modal__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.login-modal__logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(201,168,76,0.35);
  box-shadow: 0 4px 14px rgba(0,0,0,0.4), 0 0 18px rgba(201,168,76,0.2);
}
.login-modal__eyebrow {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c9a84c;
}
.login-modal__title {
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: clamp(26px, 3.2vw, 32px);
  font-weight: 500;
  color: #f5ebd2;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.login-modal__subtitle {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 14px;
  line-height: 1.5;
  color: rgba(245,235,210,0.6);
  margin: 0 0 28px;
}
.login-modal__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.login-modal__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.login-modal__label {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.85);
}
.login-modal__field input {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 15px;
  color: #f5ebd2;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,76,0.22);
  border-radius: 12px;
  outline: none;
  transition: all 0.25s ease;
}
.login-modal__field input::placeholder { color: rgba(245,235,210,0.3); }
.login-modal__field input:focus {
  border-color: rgba(201,168,76,0.7);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 0 0 4px rgba(201,168,76,0.12);
}
.login-modal__submit {
  margin-top: 8px;
  padding: 15px 24px;
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #14110a;
  background: linear-gradient(135deg, #e8c87a 0%, #c9a84c 50%, #a88a35 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(201,168,76,0.35), inset 0 1px 0 rgba(255,255,255,0.4);
  transition: transform 0.3s var(--ease-luxury, cubic-bezier(0.22,1,0.36,1)), box-shadow 0.3s ease, filter 0.3s ease;
}
.login-modal__submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(201,168,76,0.5), inset 0 1px 0 rgba(255,255,255,0.5);
  filter: brightness(1.08);
}
.login-modal__submit:disabled { opacity: 0.7; cursor: wait; }
.login-modal__submit.is-loading { animation: loginPulse 1.2s ease-in-out infinite; }
@keyframes loginPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(201,168,76,0.35), inset 0 1px 0 rgba(255,255,255,0.4); }
  50% { box-shadow: 0 10px 40px rgba(201,168,76,0.7), inset 0 1px 0 rgba(255,255,255,0.5); }
}
.login-modal__hint {
  margin: 14px 0 0;
  text-align: center;
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 13px;
  color: rgba(245,235,210,0.55);
}
.login-modal__hint a {
  color: #c9a84c;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(201,168,76,0.3);
  transition: border-color 0.25s ease, color 0.25s ease;
}
.login-modal__hint a:hover { color: #e8c87a; border-color: rgba(232,200,122,0.7); }

@media (max-width: 480px) {
  .login-modal { padding: 16px; }
  .login-modal__dialog { padding: 32px 24px 26px; border-radius: 18px; }
  .login-modal__title { font-size: 24px; }
}
