/* ==========================================================================
   Configuración de Variables - Plan Ejecutivo (Premium)
   ========================================================================== */
:root {
  /* Brand Colors - Premium Gold & Navy */
  --color-primary: #D4AF37;      /* Gold */
  --color-primary-hover: #b5952f;
  --color-secondary: #0A192F;    /* Navy Dark */
  --color-secondary-hover: #112240;
  
  /* Text Colors */
  --text-main: #333333;
  --text-muted: #666666;
  --text-light: #ffffff;
  
  /* Backgrounds */
  --bg-body: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #0A192F;
  
  /* Typography */
  --font-headings: 'Playfair Display', serif;
  --font-body: 'Roboto', sans-serif;
  
  /* Utilities */
  --border-radius: 4px; /* Sharper edges for corporate feel */
  --transition: all 0.4s ease-in-out;
  
  /* Shadows */
  --shadow-card: 0 10px 30px -15px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 20px 40px -15px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6, .brand-text {
  font-family: var(--font-headings);
  color: var(--color-secondary);
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); }
.text-center { text-align: center; }
.text-light { color: var(--text-light); }
.text-muted { color: var(--text-muted); }
.text-primary { color: var(--color-primary); }
.mb-3 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }

/* ==========================================================================
   Typography
   ========================================================================== */
.section-header {
  margin-bottom: 4rem;
}

.badge {
  display: inline-block;
  padding: 0.25rem 1rem;
  background-color: rgba(212, 175, 55, 0.15);
  color: var(--color-primary);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.8rem 2rem;
  font-family: var(--font-body);
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--border-radius);
  transition: var(--transition);
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
}

.btn-outline-light {
  background-color: transparent;
  border-color: var(--text-light);
  color: var(--text-light);
}

.btn-outline-light:hover {
  background-color: var(--text-light);
  color: var(--color-secondary);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  background-color: transparent;
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  background-color: var(--color-secondary);
  padding: 1rem 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-light);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-light);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}

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

@media (max-width: 992px) {
  .nav-links { display: none; }
  .nav-btn { display: none; }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-text {
  max-width: 700px;
}

.hero-title {
  font-size: 4rem;
  color: var(--text-light);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #e2e8f0;
  margin-bottom: 3rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero-title { font-size: 3rem; }
}

/* ==========================================================================
   Stats Section
   ========================================================================== */
.stats-section {
  padding: 4rem 0;
  background-color: var(--color-primary);
  color: var(--text-light);
}

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

.stat-number {
  font-size: 3rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.stat-text {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  font-weight: 500;
}

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

/* ==========================================================================
   Services Grid
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.service-card {
  background: var(--bg-body);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.service-img-wrapper {
  height: 240px;
  overflow: hidden;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-img {
  transform: scale(1.1);
}

.service-content {
  padding: 2.5rem 2rem;
}

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

.service-desc {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

@media (max-width: 992px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Payment CTA
   ========================================================================== */
.cta-payment {
  background-color: var(--color-secondary);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4af37' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  padding: 6rem 0;
}

.payment-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.btn-payment {
  color: white;
  border-radius: 4px;
}

.bg-mp { background-color: #009EE3; }
.bg-mp:hover { background-color: #007EB5; }

.bg-paypal { background-color: #003087; }
.bg-paypal:hover { background-color: #002266; }

/* ==========================================================================
   Contact Section & Form
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-item i {
  font-size: 2rem;
  color: var(--color-primary);
}

.contact-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  font-family: var(--font-body);
}

.wa-form {
  background: var(--bg-body);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
}

.form-title {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: var(--color-secondary);
  color: var(--text-light);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-links h4, .footer-socials h4 {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition);
}

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

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

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  border-radius: 50%;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--color-primary);
  transform: translateY(-3px);
}

.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

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

/* ==========================================================================
   Floating WhatsApp
   ========================================================================== */
.floating-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 65px;
  height: 65px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  text-decoration: none;
  z-index: 1000;
  transition: var(--transition);
}

.floating-wa:hover {
  background-color: #1ebe57;
  transform: scale(1.1) translateY(-5px);
}

/* ==========================================================================
   Animations
   ========================================================================== */
.reveal {
  opacity: 0;
  visibility: hidden;
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  visibility: visible;
}

.fade-up { transform: translateY(50px); }
.fade-up.active { transform: translateY(0); }

.fade-left { transform: translateX(50px); }
.fade-left.active { transform: translateX(0); }

.fade-right { transform: translateX(-50px); }
.fade-right.active { transform: translateX(0); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
