/* ============================================
   TERRASOL — Design System & Styles
   Agencia de Intermediación Solar
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* --- CSS Variables --- */
:root {
  /* Primary - Soft Green */
  --green-50:  #f0f7f0;
  --green-100: #dceedd;
  --green-200: #b5ddb7;
  --green-300: #83c587;
  --green-400: #5baa60;
  --green-500: #4a8a50;
  --green-600: #3d7142;
  --green-700: #335a37;
  --green-800: #2c482f;
  --green-900: #1e3221;

  /* Accent - Solar Gold */
  --gold-50:  #fdf8eb;
  --gold-100: #f9ecc8;
  --gold-200: #f3d88e;
  --gold-300: #edc254;
  --gold-400: #e8b02e;
  --gold-500: #d4961a;
  --gold-600: #b87514;
  --gold-700: #935514;
  --gold-800: #7a4417;
  --gold-900: #673819;

  /* Earth Brown */
  --brown-50:  #faf6f1;
  --brown-100: #f0e8db;
  --brown-200: #e0cdb5;
  --brown-300: #ccad88;
  --brown-400: #bb9165;
  --brown-500: #a67a4f;
  --brown-600: #8c6340;
  --brown-700: #724e36;
  --brown-800: #5f4130;
  --brown-900: #4f372a;

  /* Neutrals */
  --neutral-50:  #fafaf7;
  --neutral-100: #f5f3ee;
  --neutral-200: #e8e5dd;
  --neutral-300: #d5d0c5;
  --neutral-400: #b8b1a3;
  --neutral-500: #9a9285;
  --neutral-600: #7d766a;
  --neutral-700: #5f5a51;
  --neutral-800: #433f39;
  --neutral-900: #2b2824;

  /* Semantic */
  --primary:     var(--green-500);
  --primary-light: var(--green-100);
  --primary-dark:  var(--green-700);
  --accent:      var(--gold-400);
  --accent-light: var(--gold-100);
  --accent-dark:  var(--gold-600);
  --text:        var(--neutral-800);
  --text-light:  var(--neutral-600);
  --text-muted:  var(--neutral-500);
  --bg:          #FFFFFF;
  --bg-alt:      var(--neutral-50);
  --bg-warm:     #fdfcf8;
  --border:      var(--neutral-200);
  --shadow:      rgba(44, 72, 47, 0.08);
  --shadow-lg:   rgba(44, 72, 47, 0.15);

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50%;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--neutral-900);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

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

ul, ol {
  list-style: none;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-sm {
  max-width: 900px;
}

.container-lg {
  max-width: 1400px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.nav.scrolled {
  box-shadow: 0 4px 20px var(--shadow);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--green-700);
}

.nav-brand .brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--green-500), var(--gold-400));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.nav-brand span.accent {
  color: var(--gold-500);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--neutral-700);
  padding: var(--space-sm) 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--primary) !important;
  color: white !important;
  padding: 10px 24px !important;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  transition: var(--transition) !important;
}

.nav-cta:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-1px);
}

.nav-cta::after {
  display: none !important;
}

/* Mobile Menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--neutral-700);
  transition: var(--transition);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 75px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: var(--space-xl);
    gap: var(--space-lg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 30px var(--shadow);
    transform: translateY(-120%);
    transition: var(--transition);
  }

  .nav-links.active {
    transform: translateY(0);
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  padding-top: 75px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green-50) 0%, var(--bg-warm) 50%, var(--gold-50) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 200%;
  background: radial-gradient(ellipse, var(--gold-100) 0%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--green-100);
  color: var(--green-700);
  padding: 6px 16px;
  border-radius: var(--radius-xl);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: var(--space-lg);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--green-400);
  border-radius: var(--radius-full);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  color: var(--neutral-900);
}

.hero-title .highlight {
  color: var(--primary);
  position: relative;
}

.hero-title .highlight-gold {
  color: var(--gold-500);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: var(--space-2xl);
  max-width: 560px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: var(--space-3xl);
  margin-top: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--border);
}

.hero-stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.hero-image {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .hero-subtitle {
    max-width: 100%;
  }

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

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
  justify-content: center;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(74, 138, 80, 0.3);
}

.btn-secondary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.btn-secondary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 150, 26, 0.3);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

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

.btn-white:hover {
  background: var(--green-50);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: var(--space-4xl) 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-green {
  background: linear-gradient(135deg, var(--green-700), var(--green-800));
  color: white;
}

.section-green h2,
.section-green h3 {
  color: white;
}

.section-green p {
  color: rgba(255, 255, 255, 0.85);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section-label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: var(--space-md);
}

.section-green .section-label {
  color: var(--gold-300);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ============================================
   FEATURE / BENEFIT CARDS
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.feature-card {
  background: white;
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px var(--shadow);
  border-color: var(--green-200);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--green-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
}

.feature-icon.gold {
  background: var(--gold-100);
}

.feature-icon.brown {
  background: var(--brown-100);
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

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

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  padding: var(--space-3xl) 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--gold-400);
  line-height: 1;
}

.section-green .stat-number {
  color: var(--gold-300);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: var(--space-sm);
}

.section-green .stat-label {
  color: rgba(255, 255, 255, 0.75);
}

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

/* ============================================
   PROCESS / HOW IT WORKS
   ============================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  margin: 0 auto var(--space-lg);
  box-shadow: 0 8px 25px rgba(74, 138, 80, 0.25);
}

.process-step h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
}

.process-step p {
  color: var(--text-light);
  font-size: 0.9rem;
  max-width: 280px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .process-steps {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  .process-steps::before {
    display: none;
  }
}

/* ============================================
   CALCULATOR
   ============================================ */
.calculator-wrapper {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-3xl);
  box-shadow: 0 20px 60px var(--shadow-lg);
  max-width: 600px;
  margin: 0 auto;
  border: 1px solid var(--border);
}

.calculator-title {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.calc-input-group {
  margin-bottom: var(--space-xl);
}

.calc-input-group label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--neutral-700);
  margin-bottom: var(--space-sm);
}

.calc-input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--bg-alt);
}

.calc-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(74, 138, 80, 0.1);
  background: white;
}

.calc-slider {
  width: 100%;
  -webkit-appearance: none;
  height: 8px;
  border-radius: 4px;
  background: var(--green-100);
  outline: none;
  margin-top: var(--space-sm);
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(74, 138, 80, 0.3);
}

.calc-result {
  background: linear-gradient(135deg, var(--green-50), var(--gold-50));
  border: 2px solid var(--green-200);
  border-radius: var(--radius-md);
  padding: var(--space-2xl);
  text-align: center;
  margin-top: var(--space-xl);
}

.calc-result-amount {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.calc-result-label {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: var(--space-sm);
}

.calc-result-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: var(--space-md);
  font-style: italic;
}

/* ============================================
   FORMS
   ============================================ */
.form-section {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-3xl);
  box-shadow: 0 10px 40px var(--shadow);
  border: 1px solid var(--border);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--neutral-700);
  margin-bottom: var(--space-xs);
}

.form-input,
.form-select,
.form-textarea {
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--bg-alt);
  color: var(--text);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(74, 138, 80, 0.1);
  background: white;
}

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

.form-select {
  cursor: pointer;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.85rem;
  color: var(--text-light);
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
}

.form-submit {
  margin-top: var(--space-lg);
}

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

/* ============================================
   TEAM
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.team-member {
  text-align: center;
  padding: var(--space-xl);
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px var(--shadow);
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-full);
  margin: 0 auto var(--space-lg);
  background: linear-gradient(135deg, var(--green-200), var(--gold-200));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--green-700);
  overflow: hidden;
}

.team-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

.team-bio {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

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

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

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.testimonial-card {
  background: white;
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: Georgia, serif;
  font-size: 4rem;
  color: var(--green-200);
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--green-200), var(--gold-200));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--green-700);
  font-size: 0.9rem;
}

.testimonial-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.testimonial-stars {
  color: var(--gold-400);
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
}

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

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  overflow: hidden;
  background: white;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--green-200);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--neutral-800);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  transition: var(--transition-fast);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--primary);
  transition: var(--transition);
  flex-shrink: 0;
  margin-left: var(--space-md);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 var(--space-xl) var(--space-lg);
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  text-align: center;
  padding: var(--space-4xl) 0;
}

.cta-section .section-title {
  color: white;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}

.cta-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--neutral-900);
  color: var(--neutral-400);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: white;
  margin-bottom: var(--space-md);
}

.footer-brand .accent {
  color: var(--gold-400);
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-lg);
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: var(--neutral-400);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid var(--neutral-800);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

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

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

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

/* ============================================
   TWO-COLUMN LAYOUT
   ============================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.two-col-reverse {
  direction: rtl;
}

.two-col-reverse > * {
  direction: ltr;
}

@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
  }

  .two-col-reverse {
    direction: ltr;
  }
}

/* ============================================
   TRUST LOGOS / PARTNERS
   ============================================ */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3xl);
  flex-wrap: wrap;
  padding: var(--space-2xl) 0;
  opacity: 0.5;
  filter: grayscale(1);
}

.trust-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--neutral-600);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-1 { margin-top: var(--space-md); }
.mt-2 { margin-top: var(--space-xl); }
.mt-3 { margin-top: var(--space-2xl); }
.mt-4 { margin-top: var(--space-3xl); }
.mb-1 { margin-bottom: var(--space-md); }
.mb-2 { margin-bottom: var(--space-xl); }
.mb-3 { margin-bottom: var(--space-2xl); }
.mb-4 { margin-bottom: var(--space-3xl); }

/* ============================================
   PAGE-SPECIFIC: SOBRE NOSOTROS
   ============================================ */
.about-hero {
  padding-top: calc(75px + var(--space-4xl));
  padding-bottom: var(--space-4xl);
  background: linear-gradient(135deg, var(--green-50), var(--bg-warm));
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.value-card {
  text-align: center;
  padding: var(--space-2xl);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.value-card h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}

.value-card p {
  color: var(--text-light);
  font-size: 0.9rem;
}

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

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--green-200);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-2xl);
  padding-left: var(--space-xl);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: var(--radius-full);
  background: var(--primary);
  border: 3px solid var(--green-200);
}

.timeline-year {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.timeline-item h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.timeline-item p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ============================================
   PAGE-SPECIFIC: PROPIETARIOS / EMPRESAS
   ============================================ */
.page-hero {
  padding-top: calc(75px + var(--space-3xl));
  padding-bottom: var(--space-3xl);
  background: linear-gradient(135deg, var(--green-50), var(--bg-warm));
}

.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  font-size: 1rem;
  line-height: 1.6;
}

.check-list .check-icon {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  cursor: pointer;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
  color: white;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .section {
    padding: var(--space-3xl) 0;
  }

  .hero {
    min-height: auto;
    padding-top: calc(75px + var(--space-2xl));
    padding-bottom: var(--space-2xl);
  }

  .hero-stats {
    gap: var(--space-xl);
  }
}

/* ============================================
   PHOTO BACKGROUNDS
   ============================================ */
[style*="url('https://images.unsplash.com"] {
  background-attachment: scroll;
}

@media (min-width: 1024px) {
  [style*="url('https://images.unsplash.com"] {
    background-attachment: fixed;
  }
}
