/* Custom CSS with Premium Aesthetics */
:root {
  /* Colors based on Logo (#8CC63F) and premium feel */
  --c-primary: #8CC63F; /* Logo Green */
  --c-primary-dark: #70A02F;
  --c-primary-light: rgba(140, 198, 63, 0.15);
  
  --c-emerald: #0A3A2A; /* Deep rich green for contrast and text */
  --c-emerald-light: #165C45;
  
  --c-coral: #F26D5B; /* Accent color from original concept */
  --c-coral-light: rgba(242, 109, 91, 0.1);
  
  --c-bg: #FCFBFA; /* Warm off-white background */
  --c-surface: #FFFFFF;
  --c-surface-hover: #F3F4F6;
  
  --c-text: #1F2937;
  --c-text-muted: #6B7280;
  
  --shadow-sm: 0 4px 6px -1px rgba(10, 58, 42, 0.05), 0 2px 4px -1px rgba(10, 58, 42, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(10, 58, 42, 0.08), 0 4px 6px -2px rgba(10, 58, 42, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(10, 58, 42, 0.1), 0 10px 10px -5px rgba(10, 58, 42, 0.04);
  --shadow-glow: 0 0 30px rgba(140, 198, 63, 0.3);
  
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--c-bg);
  color: var(--c-text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* Layout */
.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-padding {
  padding: 100px 0;
}

.bg-light {
  background-color: #F6F8FA;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  color: var(--c-emerald);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  margin-bottom: 0.75rem;
}

p {
  color: var(--c-text-muted);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  background-color: var(--c-primary-light);
  color: var(--c-primary-dark);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1.05rem;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--c-primary);
  color: white;
  box-shadow: 0 8px 20px rgba(140, 198, 63, 0.3);
}

.btn-primary:hover {
  background-color: var(--c-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(140, 198, 63, 0.4);
}

.btn-secondary {
  background-color: white;
  color: var(--c-emerald);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--c-primary);
  color: var(--c-primary-dark);
  background: transparent;
  padding: 12px 24px;
}

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

.btn-block {
  width: 100%;
}

/* Navbar (Glassmorphism) */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 100;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid rgba(255,255,255,0.3);
}

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

.logo-img {
  height: 40px;
  transition: var(--transition);
}

.navbar.scrolled .logo-img {
  height: 32px;
}

.btn-nav {
  background-color: var(--c-emerald);
  color: white;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: var(--transition);
}

.btn-nav:hover {
  background-color: var(--c-emerald-light);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--c-primary-light) 0%, transparent 70%);
  z-index: -1;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

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

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.trust-indicator {
  display: flex;
  align-items: center;
  gap: 16px;
}

.avatars {
  display: flex;
}

.avatars img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid var(--c-bg);
  object-fit: cover;
  margin-left: -12px;
}

.avatars img:first-child {
  margin-left: 0;
}

.trust-indicator span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-text-muted);
}

.hero-image {
  position: relative;
}

.image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: visible;
}

.image-wrapper > img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  height: 600px;
  width: 100%;
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 16px;
  animation: float 6s ease-in-out infinite;
  border: 1px solid rgba(255,255,255,0.5);
}

.floating-card i {
  font-size: 28px;
  color: var(--c-primary);
}

.floating-card div {
  display: flex;
  flex-direction: column;
}

.floating-card strong {
  color: var(--c-emerald);
  font-size: 1.1rem;
}

.floating-card span {
  font-size: 0.85rem;
  color: var(--c-text-muted);
}

.card-1 {
  top: 10%;
  left: -15%;
  animation-delay: 0s;
}

.card-2 {
  bottom: 15%;
  right: -10%;
  animation-delay: 3s;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* Opciones / Bento Grid */
.section-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.bento-card {
  background: var(--c-surface);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bento-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 24px;
}

.bg-green-light {
  background-color: var(--c-primary-light);
  color: var(--c-primary-dark);
}

.bg-coral-light {
  background-color: var(--c-coral-light);
  color: var(--c-coral);
}

.feature-list {
  margin: 24px 0 32px;
  flex-grow: 1;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--c-text);
  font-weight: 500;
}

.feature-list i {
  color: var(--c-primary);
  font-size: 20px;
}

.bento-card .btn-outline {
  align-self: flex-start;
}

/* About Section */
.about-section {
  background-color: var(--c-bg);
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.stat-item h4 {
  font-size: 3rem;
  color: var(--c-primary);
  margin-bottom: 4px;
}

.stat-item span {
  font-weight: 500;
  color: var(--c-text-muted);
}

.image-grid {
  position: relative;
  height: 600px;
}

.img-main {
  width: 80%;
  height: 80%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  position: absolute;
  top: 0;
  right: 0;
  box-shadow: var(--shadow-md);
}

.img-sub {
  position: absolute;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 8px solid var(--c-bg);
  object-fit: cover;
}

.img-1 {
  width: 50%;
  height: 40%;
  bottom: 0;
  left: 0;
  z-index: 2;
}

.img-2 {
  width: 45%;
  height: 35%;
  top: 15%;
  left: -10%;
  z-index: 3;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--c-surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.stars {
  color: #FBBF24; /* Gold */
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  font-size: 20px;
}

.quote {
  font-size: 1.1rem;
  color: var(--c-text);
  font-style: italic;
  margin-bottom: 30px;
  flex-grow: 1;
}

.author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--c-primary-light);
  color: var(--c-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-info strong {
  color: var(--c-emerald);
}

.author-info span {
  font-size: 0.85rem;
  color: var(--c-text-muted);
}

/* CTA & Form */
.cta-section {
  background: linear-gradient(135deg, var(--c-emerald) 0%, var(--c-emerald-light) 100%);
  color: white;
  position: relative;
}

.cta-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 20% 80%, rgba(140, 198, 63, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.cta-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.cta-content h2 {
  color: white;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.8);
}

.contact-methods {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.method {
  display: flex;
  align-items: center;
  gap: 16px;
}

.method-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--c-primary);
}

.method span {
  font-size: 1.1rem;
  font-weight: 500;
}

.glass-form {
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  color: var(--c-text);
  position: relative;
  z-index: 2;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

input, select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
  background-color: #F9FAFB;
}

input:focus, select:focus {
  outline: none;
  border-color: var(--c-primary);
  background-color: white;
  box-shadow: 0 0 0 3px var(--c-primary-light);
}

.select-wrapper {
  position: relative;
}

.select-wrapper select {
  appearance: none;
  cursor: pointer;
}

.select-wrapper i {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--c-text-muted);
}

/* Footer */
.footer {
  background-color: #111827; /* Dark grayish blue */
  color: #9CA3AF;
  padding-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo p {
  margin-top: 20px;
  color: #9CA3AF;
  max-width: 300px;
}

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

.footer-links a {
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

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

.footer-social a:hover {
  background: var(--c-primary);
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
}

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

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
}

.legal-links {
  display: flex;
  gap: 20px;
}

.legal-links a {
  font-size: 0.9rem;
  transition: var(--transition);
}

.legal-links a:hover {
  color: white;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
  z-index: 100;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 25px rgba(37, 211, 102, 0.4);
}

/* Animations Classes (JS toggled) */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-up.active, .reveal-left.active, .reveal-right.active {
  opacity: 1;
  transform: translate(0, 0);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-container, .about-grid, .cta-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero {
    padding-top: 120px;
  }

  .hero-text {
    text-align: center;
    margin: 0 auto;
  }

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

  .trust-indicator {
    justify-content: center;
  }
  
  .image-grid {
    height: 500px;
  }
  
  .bento-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  
  .section-padding { padding: 60px 0; }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-bottom .container {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .card-1, .card-2 {
    display: none; /* Hide floating cards on small mobile to declutter */
  }
}
