/*
Theme Name: Triari Partners
Theme URI: https://triari.partners
Author: Lovable AI
Author URI: https://lovable.dev
Description: Tema one-page minimalista y optimizado para conversión. Continuidad empresarial.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: triari-theme
Tags: one-column, custom-menu, featured-images, translation-ready
*/

/* ============================================
   RESET Y BASE
============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --white: #ffffff;
  --dark-teal: #0A1F1F;
  --accent-green: #00E187;
  --soft-black: #0F0F0F;
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-bg-dark: rgba(10, 31, 31, 0.04);
  --glass-border: rgba(0, 225, 135, 0.18);
  --text-dark: #111111;
  --text-light: #ffffff;
  --text-muted: #888888;
}

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

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

/* ============================================
   HEADER / NAVBAR
============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 31, 31, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 225, 135, 0.1);
}

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

.site-header .logo a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: var(--accent-green);
}

.cta-small {
  padding: 0.5rem 1.5rem;
  background: var(--accent-green);
  color: var(--dark-teal);
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: opacity 0.3s;
}

.cta-small:hover {
  opacity: 0.9;
}

/* ============================================
   HERO
============================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6rem 1.5rem 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, 
    rgba(10, 31, 31, 0.8) 0%,
    rgba(10, 31, 31, 0.6) 50%,
    rgba(10, 31, 31, 0.8) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  color: var(--white);
}

.eyebrow {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

#hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

#hero h1 .highlight {
  color: var(--accent-green);
}

#hero > .hero-content > p:nth-of-type(2) {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

#hero > .hero-content > p:nth-of-type(3) {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  font-weight: 300;
  line-height: 1.7;
}

.ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .ctas {
    flex-direction: row;
    justify-content: center;
  }
}

.btn-glass {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--accent-green);
  color: var(--dark-teal);
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all 0.3s;
  border: 1px solid transparent;
}

.btn-glass:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn-glass.secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-glass.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hilo {
  font-size: 1rem;
  opacity: 0.8;
  font-weight: 300;
}

/* ============================================
   SECCIONES GENERALES
============================================ */
section {
  padding: 5rem 0;
}

section h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--dark-teal);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

section p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-dark);
}

/* ============================================
   RESULTADOS RÁPIDOS
============================================ */
#resultados {
  background: linear-gradient(to bottom, var(--white), rgba(10, 31, 31, 0.02));
}

#resultados .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.card-glass {
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  text-align: center;
  transition: all 0.3s;
}

.card-glass:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 225, 135, 0.1);
}

.card-glass h3 {
  font-size: 1.25rem;
  color: var(--dark-teal);
  font-weight: 600;
}

/* ============================================
   PROBLEMA
============================================ */
#problema {
  position: relative;
  text-align: center;
}

#problema .bg-image {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-size: cover;
  background-position: center;
}

/* ============================================
   SOLUCIÓN
============================================ */
#solucion {
  background: linear-gradient(to bottom, rgba(10, 31, 31, 0.02), var(--white));
}

.two-column {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .two-column {
    grid-template-columns: 1fr 1fr;
  }
}

.two-column img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* ============================================
   BENEFICIOS
============================================ */
#beneficios {
  text-align: center;
}

.benefits-list {
  max-width: 800px;
  margin: 0 auto 3rem;
}

.benefit-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--white);
  border-left: 4px solid var(--accent-green);
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.benefit-item:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.benefit-item svg {
  flex-shrink: 0;
  color: var(--accent-green);
}

.benefit-item h3 {
  font-size: 1.25rem;
  color: var(--dark-teal);
  margin-bottom: 0.5rem;
}

/* ============================================
   TESTIMONIOS
============================================ */
#testimonios {
  background: linear-gradient(to bottom, var(--white), rgba(10, 31, 31, 0.02));
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.testimonial-card {
  position: relative;
  padding: 2rem;
  background: var(--white);
  border-radius: 1rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
}

.testimonial-card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-card .quote-icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  opacity: 0.1;
  font-size: 3rem;
  color: var(--accent-green);
}

.testimonial-card blockquote {
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.testimonial-author {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 1rem;
}

.testimonial-author strong {
  display: block;
  color: var(--dark-teal);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.testimonial-author span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ============================================
   PROCESO
============================================ */
#proceso {
  background: var(--dark-teal);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

#proceso::before,
#proceso::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--accent-green);
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.05;
}

#proceso::before {
  top: 0;
  left: 0;
}

#proceso::after {
  bottom: 0;
  right: 0;
}

#proceso h2 {
  color: var(--white);
  text-align: center;
}

#proceso > .container > p {
  text-align: center;
  font-size: 1.25rem;
  opacity: 0.8;
  margin-bottom: 3rem;
  color: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.process-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  transition: all 0.3s;
}

.process-card:hover {
  background: rgba(255, 255, 255, 0.1);
}

.process-icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 225, 135, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.process-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-green);
  margin-bottom: 0.5rem;
}

.process-card h3 {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.process-duration {
  font-size: 0.875rem;
  color: var(--accent-green);
  font-weight: 600;
  margin-bottom: 1rem;
}

.process-card p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

/* ============================================
   DIFERENCIA
============================================ */
#diferencia {
  background: linear-gradient(to bottom, var(--white), rgba(10, 31, 31, 0.02));
}

.diff-intro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 4rem;
}

.three-column {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
}

@media (min-width: 1024px) {
  .three-column {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.column-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-card {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--glass-border);
  border-radius: 0.75rem;
  transition: all 0.3s;
  display: flex;
  gap: 1rem;
}

.feature-card:hover {
  border-color: rgba(0, 225, 135, 0.4);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 225, 135, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-card h3 {
  font-size: 1.125rem;
  color: var(--dark-teal);
  margin-bottom: 0.5rem;
}

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

.center-image {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.center-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1;
}

/* ============================================
   IDENTIFICACIÓN
============================================ */
#identificacion .two-column {
  align-items: start;
}

.situations-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.situation-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.5);
  border-left: 4px solid var(--accent-green);
  border-radius: 0.5rem;
}

.situation-item svg {
  flex-shrink: 0;
  color: var(--accent-green);
}

/* ============================================
   CTA FINAL
============================================ */
#cta-final {
  background: linear-gradient(135deg, var(--dark-teal), rgba(10, 31, 31, 0.9));
  color: var(--white);
  text-align: center;
  padding: 6rem 0;
}

#cta-final h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

#cta-final p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 3rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

/* ============================================
   FOOTER
============================================ */
.site-footer {
  background: var(--dark-teal);
  color: var(--white);
  padding: 3rem 0;
}

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

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

.footer-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-content p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bottom a:hover {
  color: var(--white);
}

/* ============================================
   UTILIDADES
============================================ */
.text-center {
  text-align: center;
}

.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

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