/* ═══════════════════════════════════════════
   VARIABLES & RESET
   ═══════════════════════════════════════════ */
:root {
  --gold: #C9954D;
  --gold-dark: #A67840;
  --gold-gradient: linear-gradient(135deg, #C9954D, #E8857A);
  --coral: #E8857A;
  --coral-light: #F2B3AC;
  --mint: #7BBFB0;
  --mint-light: #B2D9D3;
  --sky: #A8CDD8;
  --sky-light: #D4EBF0;
  --navy: #2D3561;
  --bg: #FAFAFA;
  --bg-alt: #F0F7F6;
  --bg-sky: #EEF5F8;
  --text: #2D3561;
  --text-light: #6B7094;
  --white: #ffffff;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --container: 1140px;
  --radius: 12px;
  --transition: 0.3s ease;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════ */
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.section-tag.center {
  display: block;
  text-align: center;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 24px;
}

.section-title.center {
  text-align: center;
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  border-radius: 50px;
  transition: all var(--transition);
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--gold-gradient);
  color: var(--white);
  padding: 14px 36px;
  box-shadow: 0 4px 20px rgba(232, 133, 122, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #A67840, #D46A5E);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(232, 133, 122, 0.45);
}

.btn-lg {
  padding: 18px 48px;
  font-size: 1.05rem;
}

.btn-nav {
  background: var(--gold-gradient);
  color: var(--white);
  padding: 10px 24px;
  font-size: 0.85rem;
}

.btn-nav:hover {
  background: var(--gold-dark);
}

/* ═══════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
  background: var(--white);
}

.navbar.scrolled {
  background: rgba(250, 250, 250, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(45, 53, 97, 0.07);
  padding: 10px 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.navbar-logo {
  height: 56px;
  width: auto;
  display: block;
  transition: opacity var(--transition);
}

.navbar-logo:hover {
  opacity: 0.85;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text-light);
  transition: color var(--transition);
  position: relative;
}

.nav-links a:not(.btn):hover {
  color: var(--gold);
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold-gradient);
  transition: width var(--transition);
}

.nav-links a:not(.btn):hover::after {
  width: 100%;
}

.nav-close-item {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all var(--transition);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
  background-color: var(--white);
}

.hero-decoration {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: none;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
}

.hero-logo {
  height: 160px;
  width: auto;
  margin: 0 auto 24px;
  display: block;
}

.hero-pretext {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
  font-size: 0.82rem;
  color: var(--text-light);
  flex-wrap: wrap;
}

.badge-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}

/* ═══════════════════════════════════════════
   SECTIONS BASE
   ═══════════════════════════════════════════ */
.section {
  padding: 100px 0;
}

.section-about {
  background: var(--white);
}

.section-services {
  background: var(--bg-alt);
}

.section-audience {
  background: var(--white);
}

.section-why {
  background: var(--bg-sky);
}

.section-result {
  background: var(--white);
}

.section-cta {
  background: var(--bg-alt);
}

/* ═══════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: center;
}

.about-card {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--bg-alt);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.about-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold-gradient);
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 1rem;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: all var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.04);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(123, 191, 176, 0.18);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 12px;
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: var(--gold-gradient);
  color: var(--white);
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0;
  color: var(--text);
}

/* ═══════════════════════════════════════════
   SERVICES GALLERY
   ═══════════════════════════════════════════ */
.services-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all var(--transition);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(123, 191, 176, 0.18);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold-gradient);
}

/* ═══════════════════════════════════════════
   AUDIENCE
   ═══════════════════════════════════════════ */
.audience-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}

.audience-text p {
  color: var(--text-light);
  margin-bottom: 24px;
}

.audience-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.audience-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  color: var(--text);
}

.list-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.audience-card {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 16 / 9;
  background: var(--bg-alt);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}

.audience-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold-gradient);
  z-index: 1;
}

.audience-card video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ═══════════════════════════════════════════
   WHY / DIFERENCIAL
   ═══════════════════════════════════════════ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.why-item {
  text-align: center;
  padding: 36px 16px;
  background: var(--white);
  border-radius: var(--radius);
  transition: all var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.why-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(123, 191, 176, 0.15);
}

.why-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.why-item h3 {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════
   RESULT
   ═══════════════════════════════════════════ */
.result-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.result-text {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 12px;
}

/* ═══════════════════════════════════════════
   CTA FINAL
   ═══════════════════════════════════════════ */
.section-cta {
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.section-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 191, 176, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

.cta-text {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 36px;
}

.cta-limited {
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--text-light);
  font-style: italic;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  background: var(--navy);
  color: var(--bg);
  padding: 60px 0 30px;
  text-align: center;
}

.footer-brand h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.footer-logo-wrapper {
  display: inline-block;
  background: var(--white);
  border-radius: 16px;
  padding: 12px 20px;
  margin-bottom: 20px;
}

.footer-logo {
  height: 70px;
  width: auto;
  display: block;
}

.footer-sub {
  font-size: 0.85rem;
  color: rgba(240, 247, 246, 0.6);
  margin-bottom: 24px;
}

.footer-tagline {
  font-size: 0.95rem;
  color: rgba(240, 247, 246, 0.8);
  margin-bottom: 40px;
}

.footer-bottom {
  border-top: 1px solid rgba(240, 247, 246, 0.1);
  padding-top: 24px;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(240, 247, 246, 0.4);
}

/* ═══════════════════════════════════════════
   STICKY CTA (MÓVIL)
   ═══════════════════════════════════════════ */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 20px;
  background: rgba(250, 250, 250, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 -4px 20px rgba(45, 53, 97, 0.1);
  z-index: 999;
  text-align: center;
  transform: translateY(100%);
  transition: transform var(--transition);
}

.sticky-cta.visible {
  transform: translateY(0);
}

.btn-sticky {
  width: 100%;
  text-align: center;
}

/* ═══════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Animate on scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  /* NAV */
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px 32px;
    gap: 24px;
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform var(--transition);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-close-item {
    display: flex;
    justify-content: flex-end;
    padding: 8px 0 4px;
    width: 100%;
  }

  .nav-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition), background var(--transition);
  }

  .nav-close:hover {
    color: var(--gold);
    background: rgba(0, 0, 0, 0.05);
  }

  .nav-links a {
    font-size: 1rem;
  }

  /* GRIDS */
  .about-grid,
  .audience-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-visual {
    order: -1;
  }

  .about-card,
  .audience-card {
    max-width: 320px;
    margin: 0 auto;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-gallery {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* SECTIONS */
  .section {
    padding: 72px 0;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  /* STICKY CTA */
  .sticky-cta {
    display: block;
  }

  .footer {
    padding-bottom: 80px;
  }
}

@media (max-width: 480px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .hero-badges {
    flex-direction: column;
    gap: 6px;
  }

  .badge-dot {
    display: none;
  }
}
