/* Alventora — Diseño moderno, único y completamente original */
/* Paleta: Sage & Cream (verde salvia suave + crema cálida) — fresca, natural y profesional */
/* Sin imágenes, solo tipografía, color, espacio y estructura asimétrica */

:root {
  --bg: #F4F7F2;
  --surface: #FFFFFF;
  --text: #2C3D2E;
  --text-light: #5A6B5C;
  --accent: #5C7A5E;
  --accent-dark: #4A634B;
  --accent-light: #A8C5AA;
  --border: #D8E0D6;
  --highlight: #E8F0E5;
  --shadow: 0 10px 30px rgba(44, 61, 46, 0.08);
  --shadow-hover: 0 20px 40px rgba(44, 61, 46, 0.12);
  --radius: 16px;
  --radius-pill: 999px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Georgia", "Playfair Display", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

h1 { font-size: 3.2rem; }
h2 { font-size: 2.1rem; margin-bottom: 1.2rem; }
h3 { font-size: 1.45rem; margin-bottom: 0.9rem; }
h4 { font-size: 1.15rem; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 247, 242, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 42px;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.98rem;
  position: relative;
}

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

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 14px rgba(92, 122, 94, 0.25);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(92, 122, 94, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--highlight);
  border-color: var(--accent-light);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--text);
  cursor: pointer;
}

/* Hero Section — Full width, asymmetric text block */
.hero {
  background: linear-gradient(135deg, #F4F7F2 0%, #E8F0E5 100%);
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(168, 197, 170, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 4.1rem;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

.hero .subtitle {
  font-size: 1.35rem;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Intro / Philosophy Section — Long text, centered narrow column for readability */
.intro {
  padding: 90px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.intro .container {
  max-width: 780px;
  text-align: left;
}

.intro h2 {
  text-align: center;
  margin-bottom: 32px;
}

.intro p {
  font-size: 1.08rem;
  margin-bottom: 1.6rem;
  color: var(--text-light);
}

.intro p:last-child {
  margin-bottom: 0;
}

/* Articles Section — Asymmetric Grid + Sidebar */
.articles {
  padding: 90px 0 110px;
}

.articles-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 16px;
}

.articles-header h2 {
  margin-bottom: 0;
}

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

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  align-items: start;
}

/* Asymmetric cards */
.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-light);
}

.article-card.featured {
  grid-column: span 1;
  background: linear-gradient(to bottom, #FFFFFF, #F8FAF6);
  border-color: var(--accent-light);
  padding: 42px 38px;
}

@media (min-width: 1024px) {
  .articles-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .article-card.featured {
    grid-column: span 2;
    grid-row: span 1;
  }
}

.article-number {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 12px;
  display: block;
}

.article-card h3 {
  font-size: 1.38rem;
  margin-bottom: 18px;
  line-height: 1.35;
}

.article-card p {
  flex: 1;
  color: var(--text-light);
  font-size: 1.01rem;
  margin-bottom: 24px;
}

.article-meta {
  font-size: 0.85rem;
  color: #7A8A7C;
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-meta::before {
  content: '—';
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 110px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  height: fit-content;
}

.sidebar h4 {
  font-size: 1.1rem;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.sidebar ul {
  list-style: none;
  margin-bottom: 32px;
}

.sidebar li {
  margin-bottom: 14px;
}

.sidebar li a {
  color: var(--text-light);
  font-size: 0.98rem;
  display: block;
  padding: 4px 0;
}

.sidebar li a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.sidebar .about {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.sidebar .about strong {
  color: var(--text);
}

/* Contact Page */
.contact-hero {
  padding: 80px 0 60px;
  text-align: center;
  background: var(--surface);
}

.contact-hero h1 {
  font-size: 2.8rem;
}

.contact-form {
  max-width: 620px;
  margin: 40px auto 80px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow);
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #FAFBF9;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(92, 122, 94, 0.1);
}

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

.form-note {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 24px;
  text-align: center;
}

/* Thank You Page */
.thankyou {
  padding: 100px 0;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.thankyou h1 {
  font-size: 3rem;
  margin-bottom: 24px;
}

.thankyou .lead {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 48px;
}

.thankyou-content {
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  margin-top: 40px;
}

.thankyou-content p {
  margin-bottom: 1.4rem;
}

/* Privacy & Terms Pages */
.legal-page {
  padding: 70px 0 100px;
}

.legal-page h1 {
  font-size: 2.6rem;
  margin-bottom: 12px;
}

.legal-page .update {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 48px;
}

.legal-section {
  margin-bottom: 52px;
}

.legal-section h2 {
  font-size: 1.35rem;
  margin-bottom: 18px;
  color: var(--accent);
}

.legal-section p,
.legal-section ul {
  margin-bottom: 1.35rem;
  color: var(--text-light);
}

.legal-section ul {
  padding-left: 22px;
}

.legal-section li {
  margin-bottom: 9px;
}

/* Footer */
footer {
  background: #2C3D2E;
  color: #C5D0C3;
  padding: 70px 0 50px;
  font-size: 0.95rem;
}

footer a {
  color: #C5D0C3;
}

footer a:hover {
  color: white;
}

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

.footer-brand .logo {
  color: white;
  margin-bottom: 18px;
  display: block;
}

.footer-brand p {
  line-height: 1.7;
  opacity: 0.85;
}

.footer-col h5 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 18px;
  font-weight: 600;
}

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

.footer-col li {
  margin-bottom: 11px;
}

.footer-bottom {
  border-top: 1px solid rgba(197, 208, 195, 0.25);
  padding-top: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  opacity: 0.75;
}

.disclaimer {
  font-size: 0.82rem;
  max-width: 620px;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    padding: 30px 24px;
    gap: 22px;
    box-shadow: var(--shadow);
    border-bottom: 1px solid var(--border);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .hero h1 {
    font-size: 3.1rem;
  }
  
  .articles-grid {
    grid-template-columns: 1fr;
  }
  
  .article-card.featured {
    grid-column: span 1;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 90px 0 70px;
  }
  
  .hero h1 {
    font-size: 2.6rem;
  }
  
  .contact-form {
    padding: 32px 24px;
  }
  
  .article-card {
    padding: 28px 24px;
  }
}