/* 
  LANDINGS UNIFIED - FOREST GREEN PREMIUM
  Consistent design with index.html
*/

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

:root {
  --bg-color: #0d110d;
  --accent-color: #2e7d32;
  --header-gradient: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
  --panel-bg: rgba(20, 26, 20, 0.8);
}

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

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

h1, h2, h3 {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
}

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

section {
  padding: 8rem 0; /* Mayor respiro entre secciones */
}

section.container {
  padding: 8rem 1.5rem; /* Asegura padding vertical si la sección tiene clase container */
}

/* Header & Nav Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header.scrolled {
  height: 65px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.nav {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.logo-img {
  width: 65px;
  height: 65px;
  object-fit: contain;
  border-radius: 50%;
  transition: transform 0.4s ease;
}

.logo-text {
  height: 41px;
  width: auto;
  object-fit: contain;
  transition: all 0.4s ease;
}

.header.scrolled .logo-img {
  width: 53px;
  height: 53px;
}

.header.scrolled .logo-text {
  height: 34px;
}

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

.nav-link {
  color: #1f2937;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--header-gradient);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--accent-color);
}

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

/* Language Selector */
.lang-selector {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  background: rgba(0, 0, 0, 0.03);
  padding: 0.3rem;
  border-radius: 100px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-btn {
  background: none;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #1f2937;
  transition: all 0.3s ease;
  z-index: 2;
}

.lang-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

.lang-dropdown {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-selector.active {
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 0.3rem 0.6rem 0.3rem 0.3rem;
}

.lang-selector.active .lang-dropdown {
  width: 120px;
  opacity: 1;
  padding: 0 0.8rem;
}

.lang-option {
  text-decoration: none;
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.lang-option:hover {
  transform: scale(1.2);
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #1f2937;
  cursor: pointer;
  z-index: 1100;
}

/* Responsive Headers */
@media (max-width: 768px) {
  .menu-toggle { display: block; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 80px;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
  }

  .nav-menu.active { right: 0; }

  .nav-menu li {
    margin: 1.5rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s ease forwards;
  }

  .nav-menu.active li {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-menu .nav-link { font-size: 1.5rem; }

  .lang-selector { margin-left: auto; margin-right: 1rem; }
}

/* HERO UNIFIED */
.hero {
  padding: 12rem 0 10rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* Each landing can set its specific BG via inline or child class */
.hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
  position: relative;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(to bottom, #ffffff 30%, #a8e6cf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.4rem;
  color: var(--text-secondary);
  margin-bottom: 3.5rem;
  max-width: 700px;
  line-height: 1.5;
  margin-left: auto;
  margin-right: auto;
}

/* BUTTONS UNIFIED */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 800;
  text-decoration: none;
  transition: 0.4s;
  cursor: pointer;
}

.btn-primary {
  background: var(--header-gradient);
  color: white;
  box-shadow: 0 10px 30px rgba(46, 125, 50, 0.3);
}

.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(46, 125, 50, 0.5);
}

.btn-secondary {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: white;
  backdrop-filter: blur(10px);
}

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

/* CARDS & GRIDS UNIFIED */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  padding: 3rem 2rem;
  background: var(--panel-bg);
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  text-align: center;
  transition: all 0.4s ease;
}

.card:hover {
  border-color: var(--accent-color);
  transform: translateY(-10px);
}

.card i {
  display: block;
  font-size: 3.5rem;
  color: #a8e6cf;
  margin-bottom: 2rem;
}

/* SEO TEXT UNIFIED */
.seo-section {
  background: rgba(255, 255, 255, 0.02);
  padding: 5rem 2rem;
  border-radius: 40px;
  margin: 4rem auto;
  max-width: 900px;
}

.seo-section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #a8e6cf;
}

.seo-section p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* STEPS UNIFIED */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.step {
  background: var(--panel-bg);
  padding: 3rem 2rem;
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  position: relative;
  text-align: center;
}

.step-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.step span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  min-width: 40px;
  height: 40px;
  background: var(--accent-color);
  color: white;
  border-radius: 50%;
  font-weight: 800;
}

.step-header i {
  color: var(--accent-color);
  width: 24px;
  height: 24px;
}

.cta-final {
  background: linear-gradient(to bottom, rgba(46, 125, 50, 0.1), transparent);
  padding: 8rem 0;
  border-radius: 40px;
  text-align: center;
  margin: 4rem 1.5rem;
}

.cta-final h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #ffffff, #a8e6cf);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* FOOTER UNIFIED */
.footer {
  padding: 6rem 0;
  border-top: 1px solid var(--glass-border);
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

.footer-seo-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.footer-links a, .footer-seo-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: 0.3s;
  opacity: 0.7;
}

.footer-links a:hover, .footer-seo-links a:hover {
  color: #a8e6cf;
  opacity: 1;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero h1 { font-size: 3rem; }
  .grid { grid-template-columns: 1fr; }
  .header { padding: 0 1rem; }
  .nav-menu { display: none; } /* Could add mobile menu later if needed */
}
