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

:root {
  --black: #0a0a0a;
  --dark: #111111;
  --dark-2: #1a1a1a;
  --dark-3: #222222;
  --gold: #c8a84e;
  --gold-light: #e0c76a;
  --gold-dark: #a08030;
  --white: #f5f5f5;
  --gray: #888888;
  --gray-light: #cccccc;
  --green-wpp: #25D366;
}

html {
  scroll-behavior: auto; /* Lenis handles smooth scrolling */
}

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background-color: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul { list-style: none; }

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

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 168, 78, 0.15);
  transition: background 0.3s;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.nav-logo-img {
  height: 50px;
  width: auto;
  opacity: 1;
  transition: transform 0.3s;
}

.nav-logo:hover .nav-logo-img {
  transform: scale(1.03);
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-links a {
  padding: 10px 24px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-light);
  border-radius: 6px;
  transition: color 0.3s, background 0.3s, box-shadow 0.3s, text-shadow 0.3s;
  position: relative;
}

.nav-links a:hover {
  color: #fef1a2;
  text-shadow: 0 1px 2px rgba(139, 66, 8, 0.3);
  background: rgba(165, 78, 7, 0.1);
}

.nav-links a:active,
.nav-links a.active {
  background-image: linear-gradient(160deg, #a54e07, #b47e11, #fef1a2, #bc881b, #a54e07);
  color: rgb(120, 50, 5);
  text-shadow: 0 2px 2px rgba(250, 227, 133, 1);
  box-shadow:
    0 3px 6px rgba(0, 0, 0, 0.16),
    0 3px 6px rgba(110, 80, 20, 0.4),
    inset 0 -2px 5px 1px rgba(139, 66, 8, 1),
    inset 0 -1px 1px 3px rgba(250, 227, 133, 1);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--gold);
  transition: all 0.3s;
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
  background: var(--black);
}

.hero-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  gap: 40px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  text-align: left;
}

.hero-model {
  flex: 0 0 480px;
  height: 520px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid rgba(180, 126, 17, 0.35);
  border-radius: 50px;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 32px;
  background-image: linear-gradient(160deg, #a54e07, #b47e11, #fef1a2, #bc881b, #a54e07);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 1px 2px rgba(139, 66, 8, 0.3));
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.gold {
  color: #b47e11;
  background-image: linear-gradient(160deg, #a54e07, #b47e11, #fef1a2, #bc881b, #a54e07);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 100% 100%;
  filter: drop-shadow(0 2px 4px rgba(139, 66, 8, 0.4));
}

.hero p {
  font-size: 1.15rem;
  color: var(--gray);
  max-width: 560px;
  margin: 0 0 40px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* ============ HERO ABOUT BLOCK ============ */
.hero-about {
  margin: 16px 0;
}

.hero-about h2 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  background: linear-gradient(135deg, #c8a84e, #e0c76a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.hero-about p {
  font-size: 0.92rem;
  color: var(--gray-light);
  line-height: 1.6;
  margin-bottom: 8px;
}

.hero-about .about-stats {
  margin-top: 20px;
}

/* ============ SCROLL INDICATOR ============ */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.hero-scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(180, 126, 17, 0.6);
  text-shadow: 0 1px 2px rgba(139, 66, 8, 0.2);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, #fef1a2, #b47e11, transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-gold {
  background-image: linear-gradient(160deg, #a54e07, #b47e11, #fef1a2, #bc881b, #a54e07);
  background-size: 100% 100%;
  background-position: center;
  color: rgb(120, 50, 5);
  text-shadow: 0 2px 2px rgba(250, 227, 133, 1);
  border: 1px solid #a55d07;
  box-shadow:
    0 3px 6px rgba(0, 0, 0, 0.16),
    0 3px 6px rgba(110, 80, 20, 0.4),
    inset 0 -2px 5px 1px rgba(139, 66, 8, 1),
    inset 0 -1px 1px 3px rgba(250, 227, 133, 1);
}

.btn-gold:hover {
  background-size: 150% 150%;
  transform: translateY(-2px);
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.19),
    0 6px 6px rgba(0, 0, 0, 0.23),
    inset 0 -2px 5px 1px #b17d10,
    inset 0 -1px 1px 3px rgba(250, 227, 133, 1);
  border: 1px solid rgba(165, 93, 7, 0.6);
  color: rgba(120, 50, 5, 0.8);
}

.btn-gold:active {
  transform: translateY(0);
  box-shadow:
    0 3px 6px rgba(0, 0, 0, 0.16),
    0 3px 6px rgba(110, 80, 20, 0.4),
    inset 0 -2px 5px 1px #b17d10,
    inset 0 -1px 1px 3px rgba(250, 227, 133, 1);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow:
    0 3px 6px rgba(0, 0, 0, 0.16),
    inset 0 1px 1px rgba(255,255,255,0.08);
}

.btn-outline:hover {
  border-color: #a55d07;
  color: #fef1a2;
  background-image: linear-gradient(160deg, rgba(165,78,7,0.15), rgba(180,126,17,0.1), rgba(254,241,162,0.08), rgba(188,136,27,0.1), rgba(165,78,7,0.15));
  transform: translateY(-2px);
  text-shadow: 0 1px 2px rgba(250, 227, 133, 0.3);
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.19),
    0 6px 6px rgba(0, 0, 0, 0.23),
    inset 0 1px 1px rgba(250, 227, 133, 0.1);
}

.btn-outline:active {
  transform: translateY(0);
}

/* ============ SECTIONS ============ */
.section {
  padding: 100px 24px;
}

.section-dark {
  background: var(--dark);
}

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

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

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 600;
  background-image: linear-gradient(160deg, #a54e07, #b47e11, #fef1a2, #bc881b, #a54e07);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 1px 2px rgba(139, 66, 8, 0.3));
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ============ CARDS GRID ============ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 24px;
}

.card {
  background: linear-gradient(145deg, rgba(30,30,30,0.9), rgba(20,20,20,0.95));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 40px 32px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s, box-shadow 0.4s;
  position: relative;
  overflow: hidden;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #fef1a2, #b47e11, #fef1a2, transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(200, 168, 78, 0.2);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(200, 168, 78, 0.06),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

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

.card:hover::after {
  opacity: 1;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background-image: linear-gradient(160deg, rgba(165,78,7,0.2), rgba(180,126,17,0.15), rgba(254,241,162,0.1), rgba(188,136,27,0.15), rgba(165,78,7,0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  color: #b47e11;
  border: 1px solid rgba(165, 93, 7, 0.3);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.2),
    inset 0 -1px 3px rgba(139, 66, 8, 0.3),
    inset 0 1px 1px rgba(250, 227, 133, 0.2);
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.card p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============ PROCESO CARDS ============ */
.proceso-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
}

.proceso-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.proceso-card .card-icon {
  margin: 0 auto;
}

.proceso-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-top: 4px;
}

.proceso-card p {
  font-size: 0.92rem;
  color: var(--gray-light);
  line-height: 1.6;
}

.proceso-step {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #c8a84e, #e0c76a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.card-tag {
  display: inline-block;
  margin-top: 20px;
  padding: 6px 14px;
  background-image: linear-gradient(160deg, #a54e07, #b47e11, #fef1a2, #bc881b, #a54e07);
  color: rgb(120, 50, 5);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 50px;
  border: 1px solid #a55d07;
  text-shadow: 0 1px 1px rgba(250, 227, 133, 1);
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.16),
    inset 0 -1px 3px rgba(139, 66, 8, 0.8),
    inset 0 1px 1px 2px rgba(250, 227, 133, 0.8);
}

/* ============ ABOUT / INTRO ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-content h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.2;
}

.about-content p {
  color: var(--gray);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.stat {
  text-align: center;
  padding: 20px 16px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(30,30,30,0.6), rgba(20,20,20,0.8));
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.stat:hover {
  border-color: rgba(200, 168, 78, 0.15);
  box-shadow: 0 4px 20px rgba(200, 168, 78, 0.08);
}

.stat-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: #b47e11;
  background-image: linear-gradient(160deg, #a54e07, #b47e11, #fef1a2, #bc881b, #a54e07);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 4px rgba(139, 66, 8, 0.4));
}

.stat-label {
  font-size: 0.8rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.about-visual {
  position: relative;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(30,30,30,0.9), rgba(15,15,15,0.95));
  border: 1px solid rgba(200, 168, 78, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

.about-visual-inner {
  text-align: center;
  padding: 40px;
}

.about-logo-img {
  max-width: 280px;
  width: 100%;
  height: auto;
  opacity: 1;
}

/* ============ PAGE HERO (inner pages) ============ */
.page-hero {
  padding: 160px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200, 168, 78, 0.08) 0%, transparent 70%);
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.page-hero p {
  color: var(--gray);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ============ SERVICE CARDS (large) ============ */
.service-card {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 48px 40px;
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
}

.service-card:hover {
  border-color: rgba(200, 168, 78, 0.2);
  transform: translateX(8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.service-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background-image: linear-gradient(160deg, rgba(165,78,7,0.2), rgba(180,126,17,0.15), rgba(254,241,162,0.1), rgba(188,136,27,0.15), rgba(165,78,7,0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #b47e11;
  border: 1px solid rgba(165, 93, 7, 0.3);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.2),
    inset 0 -1px 3px rgba(139, 66, 8, 0.3),
    inset 0 1px 1px rgba(250, 227, 133, 0.2);
}

.service-info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.service-info p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 500px;
}

.service-action .btn {
  white-space: nowrap;
}

/* ============ COURSE CARDS ============ */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.course-card {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
}

.course-card:hover {
  transform: translateY(-8px);
  border-color: rgba(200, 168, 78, 0.25);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.course-banner {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.course-banner svg {
  color: rgba(254, 241, 162, 0.7);
  filter: drop-shadow(0 2px 8px rgba(165, 78, 7, 0.4));
}

.course-banner-1 {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
}

.course-banner-2 {
  background: linear-gradient(135deg, #1a1a1a, #2d1f0f);
}

.course-banner-3 {
  background: linear-gradient(135deg, #0f1a2e, #1a0f2e);
}

.course-body {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-body h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.course-body p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.course-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.course-body .btn {
  margin-top: auto;
  align-self: flex-start;
}

.course-feature {
  padding: 6px 14px;
  background-image: linear-gradient(160deg, rgba(165,78,7,0.15), rgba(180,126,17,0.1), rgba(254,241,162,0.08), rgba(188,136,27,0.1), rgba(165,78,7,0.15));
  border: 1px solid rgba(165, 93, 7, 0.3);
  border-radius: 50px;
  font-size: 0.75rem;
  color: #fef1a2;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 1px rgba(139, 66, 8, 0.3);
}

@media (max-width: 900px) {
  .courses-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

/* ============ WHATSAPP FLOAT ============ */
.wpp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: var(--green-wpp);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.35);
  transition: transform 0.3s, box-shadow 0.3s;
  letter-spacing: 0.5px;
}

.wpp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5);
}

.wpp-float svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

/* ============ CURSOR GLOW ============ */
.cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 168, 78, 0.06) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: left 0.15s ease-out, top 0.15s ease-out;
}

/* ============ NAVBAR SCROLLED ============ */
.navbar.scrolled {
  background: rgba(10, 10, 10, 0.98);
  border-bottom-color: rgba(200, 168, 78, 0.25);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

/* ============ GRID BACKGROUND (futuristic) ============ */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 168, 78, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 168, 78, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  z-index: 0;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 168, 78, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 168, 78, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 60%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 60%);
  z-index: 0;
}

/* ============ GOLD DIVIDER ============ */
.gold-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #fef1a2, #b47e11, #a54e07, #b47e11, #fef1a2, transparent);
  margin: 0 auto 32px;
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(139, 66, 8, 0.5);
}

/* ============ GLOW BORDERS ON HOVER ============ */
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(200, 168, 78, 0.3), transparent 50%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
}

.card:hover::after {
  opacity: 1;
}

/* ============ SMOOTH WILL-CHANGE ============ */
.card, .course-card, .service-card, .btn {
  will-change: transform;
}

/* ============ FOOTER ============ */
/* ============ CONTACT SECTION ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: linear-gradient(160deg, rgba(22,22,22,0.95), rgba(12,12,12,0.98));
  border: 1px solid rgba(200, 168, 78, 0.1);
  border-radius: 24px;
  padding: 44px 40px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 4px 30px rgba(0,0,0,0.3),
    0 0 60px rgba(200, 168, 78, 0.03);
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.5;
}

.contact-form-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.form-group label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
  transition: opacity 0.3s;
}

.form-group:focus-within label {
  opacity: 1;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 0.95rem;
  color: var(--white);
  font-family: inherit;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  backdrop-filter: blur(4px);
}

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23c8a84e' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}

.form-group select option {
  background: var(--dark-2);
  color: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(136,136,136,0.6);
  font-weight: 300;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: rgba(200, 168, 78, 0.5);
  background: rgba(200, 168, 78, 0.04);
  box-shadow:
    0 0 0 3px rgba(200, 168, 78, 0.06),
    0 4px 20px rgba(200, 168, 78, 0.08);
}

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

/* Submit button */
.contact-form .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
  padding: 18px 36px;
  font-size: 0.85rem;
  letter-spacing: 2px;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}

.contact-form .btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(255,255,255,0.1) 50%,
    transparent 60%
  );
  transition: transform 0.6s;
  transform: translateX(-100%);
}

.contact-form .btn:hover::after {
  transform: translateX(100%);
}

.contact-form .btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s;
}

.contact-form .btn:hover svg {
  transform: translate(3px, -3px);
}

.contact-alt {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.contact-alt-inner {
  background: linear-gradient(145deg, rgba(30,30,30,0.9), rgba(18,18,18,0.95));
  border: 1px solid rgba(200, 168, 78, 0.12);
  border-radius: 20px;
  padding: 40px 36px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.contact-alt-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.6;
}

.contact-alt-inner h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--white);
}

.contact-alt-inner > p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

/* Contact info items */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
  text-decoration: none;
  color: inherit;
}

a.contact-info-item:hover {
  border-color: rgba(200, 168, 78, 0.25);
  background: rgba(200, 168, 78, 0.04);
  transform: translateX(4px);
}

.contact-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(200, 168, 78, 0.1);
  color: var(--gold);
  flex-shrink: 0;
}

.contact-info-icon.icon-wpp {
  background: rgba(37, 211, 102, 0.1);
  color: var(--green-wpp);
}

.contact-info-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-info-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray);
}

.contact-info-value {
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 500;
}

.btn-wpp-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 32px;
  background: var(--green-wpp);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.25);
}

.btn-wpp-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.35);
}

.btn-wpp-contact svg {
  width: 22px;
  height: 22px;
}

.contact-socials {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

.contact-socials p {
  color: var(--gray);
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.contact-socials-links {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.contact-socials-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(200, 168, 78, 0.2);
  background: rgba(200, 168, 78, 0.05);
  color: var(--gold);
  transition: border-color 0.3s, color 0.3s, box-shadow 0.3s, background 0.3s;
}

.contact-socials-links a:hover {
  border-color: rgba(200, 168, 78, 0.5);
  color: var(--gold-light);
  background: rgba(200, 168, 78, 0.1);
  box-shadow: 0 0 15px rgba(200, 168, 78, 0.15);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-form {
    padding: 28px 20px;
    border-radius: 18px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-form .btn {
    padding: 16px 28px;
    border-radius: 12px;
  }

  .contact-alt-inner {
    padding: 32px 24px;
  }
}

/* ============ FOOTER ============ */
.footer {
  padding: 48px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(200, 168, 78, 0.3);
  background: rgba(15, 15, 15, 0.5);
  color: #b47e11;
  transition: border-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.footer-socials a:hover {
  border-color: rgba(200, 168, 78, 0.6);
  color: #fef1a2;
  box-shadow: 0 0 12px rgba(200, 168, 78, 0.2);
}

.footer p {
  color: var(--gray);
  font-size: 0.85rem;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 16px;
}

.footer-logo-img {
  height: 60px;
  width: auto;
  opacity: 1;
  margin: 0 auto;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-visual {
    height: 280px;
  }

  .service-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }

  .service-icon {
    margin: 0 auto;
  }

  .service-info p {
    max-width: 100%;
  }

  .service-action {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    border-bottom: 1px solid rgba(200, 168, 78, 0.15);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 20px;
    text-align: center;
  }

  .hamburger {
    display: flex;
  }

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

  .hero-split {
    flex-direction: column-reverse;
    text-align: center;
  }

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

  .hero p {
    margin: 0 auto 40px;
  }

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

  .hero-model {
    flex: none;
    width: 100%;
    height: 320px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

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

  .stat-number {
    font-size: 1.6rem;
  }

  .wpp-float {
    bottom: 20px;
    right: 20px;
    padding: 12px 16px;
    font-size: 0.8rem;
    gap: 8px;
  }

  .cursor-glow {
    display: none;
  }

  .footer {
    padding-bottom: 80px;
  }
}

/* ============ SERVICE ICON SVG ============ */
.service-icon svg {
  width: 32px;
  height: 32px;
  stroke: #b47e11;
  fill: none;
  stroke-width: 1.5;
  filter: drop-shadow(0 1px 2px rgba(139, 66, 8, 0.4));
}

/* ============ PRICING / PACKAGE CARDS ============ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
  max-width: 1120px;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, rgba(26,26,26,0.95), rgba(14,14,14,0.98));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 40px 32px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s, box-shadow 0.4s;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(200, 168, 78, 0.25);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(200, 168, 78, 0.06),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

/* Featured card — "Más elegido" */
.pricing-card.featured {
  border-color: rgba(200, 168, 78, 0.45);
  box-shadow:
    0 12px 50px rgba(0, 0, 0, 0.5),
    0 0 50px rgba(200, 168, 78, 0.1),
    inset 0 1px 0 rgba(250, 227, 133, 0.1);
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 5px;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(90deg, #a54e07, #b47e11, #fef1a2, #bc881b, #a54e07);
  box-shadow: 0 0 14px rgba(200, 168, 78, 0.35);
}

@media (min-width: 901px) {
  .pricing-card.featured { transform: scale(1.04); }
  .pricing-card.featured:hover { transform: scale(1.04) translateY(-8px); }
}

.pricing-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -55%);
  padding: 6px 20px;
  background-image: linear-gradient(160deg, #a54e07, #b47e11, #fef1a2, #bc881b, #a54e07);
  color: rgb(120, 50, 5);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 50px;
  border: 1px solid #a55d07;
  white-space: nowrap;
  text-shadow: 0 1px 1px rgba(250, 227, 133, 0.8);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.35),
    inset 0 -1px 3px rgba(139, 66, 8, 0.8),
    inset 0 1px 1px 1px rgba(250, 227, 133, 0.7);
  z-index: 2;
}

.pricing-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 10px;
}

.pricing-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
}

.pricing-desc {
  color: var(--gray);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 24px;
  min-height: 58px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pricing-price .amount {
  font-size: 2.9rem;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
  color: var(--white);
}

.pricing-card.featured .pricing-price .amount {
  background-image: linear-gradient(160deg, #a54e07, #b47e11, #fef1a2, #bc881b, #a54e07);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 4px rgba(139, 66, 8, 0.4));
}

.pricing-price-unit {
  font-size: 0.78rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 8px;
  margin-bottom: 24px;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.pricing-features li {
  display: flex;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gray-light);
  line-height: 1.5;
}

.pricing-features li svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  stroke: #b47e11;
  fill: none;
  stroke-width: 2.5;
}

.pricing-card .btn {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

/* Note / disclaimer block under a packages section */
.section-note {
  max-width: 1120px;
  margin: 32px auto 0;
  padding: 16px 22px;
  border-left: 2px solid rgba(200, 168, 78, 0.45);
  background: rgba(200, 168, 78, 0.04);
  border-radius: 0 10px 10px 0;
  color: var(--gray);
  font-size: 0.82rem;
  line-height: 1.65;
}

.section-note strong {
  color: var(--gray-light);
  font-weight: 600;
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    gap: 36px;
  }
  .pricing-desc { min-height: 0; }
}

/* Motor Externo / Interno lists */
.motor-list {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.motor-list li {
  position: relative;
  padding-left: 22px;
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

.motor-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(160deg, #a54e07, #b47e11, #fef1a2, #bc881b, #a54e07);
}

/* Marcas construidas: image gallery inside card */
.brand-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}

.brand-gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(200, 168, 78, 0.18);
}
