:root {
  --bg: #f6f7fb;
  --bg-alt: #eef2f7;
  --card: #ffffff;
  --text: #121824;
  --muted: #4b5b73;
  --accent: #1b9ad7;
  --accent-2: #5c6b85;
  --line: rgba(12, 20, 34, 0.12);
  --shadow: 0 24px 60px rgba(12, 20, 34, 0.12);
}

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

body {
  font-family: "Sora", system-ui, sans-serif;
  background: radial-gradient(1100px 600px at 80% 0%, rgba(27, 154, 215, 0.12), transparent 60%),
    radial-gradient(900px 600px at 0% 40%, rgba(92, 107, 133, 0.12), transparent 55%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(12, 20, 34, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 20, 34, 0.04) 1px, transparent 1px);
  background-size: 96px 96px;
  pointer-events: none;
  z-index: -3;
  opacity: 0.25;
}

#stars {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: radial-gradient(circle at 20% 30%, rgba(12, 20, 34, 0.08), transparent 40%),
    radial-gradient(circle at 70% 20%, rgba(12, 20, 34, 0.08), transparent 45%),
    radial-gradient(circle at 40% 80%, rgba(12, 20, 34, 0.06), transparent 55%);
  opacity: 0.25;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 24px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--muted);
}

.lang-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
}

.goog-te-gadget {
  font-family: "Sora", system-ui, sans-serif !important;
}

.goog-te-gadget .goog-te-combo {
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 6px 10px;
  background: #fff;
  color: var(--text);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-mark {
  font-family: "Syne", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.28em;
  font-weight: 700;
}

.brand-sub {
  font-size: 0.7rem;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 0.95rem;
}

.nav a {
  color: var(--muted);
  transition: color 0.2s ease;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #58c1ee);
  color: #ffffff;
  font-weight: 600;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 16px 35px rgba(27, 154, 215, 0.25);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(27, 154, 215, 0.4);
}

.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}

.btn.small {
  padding: 6px 12px;
  font-size: 0.85rem;
}

.hero {
  position: relative;
  padding: 90px 0 70px;
  overflow: hidden;
  background: #07090c;
  color: #f6f8fc;
}

.watermark {
  position: absolute;
  left: -6vw;
  top: 10vh;
  font-family: "Syne", sans-serif;
  font-size: clamp(5rem, 18vw, 16rem);
  letter-spacing: 0.1em;
  color: rgba(12, 20, 34, 0.08);
  pointer-events: none;
  z-index: 0;
}

.cinema-frame {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(27, 154, 215, 0.18), transparent 45%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.75), rgba(7, 9, 12, 0.4) 35%, rgba(7, 9, 12, 0.6) 70%, rgba(0, 0, 0, 0.85));
  pointer-events: none;
}

.agroglifo-ring {
  position: absolute;
  right: -120px;
  top: -80px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 1px solid rgba(27, 154, 215, 0.28);
  box-shadow: inset 0 0 40px rgba(27, 154, 215, 0.08);
  animation: agrofloat 18s ease-in-out infinite;
}

.agroglifo-ring::before,
.agroglifo-ring::after {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1px dashed rgba(12, 20, 34, 0.18);
}

.agroglifo-ring::after {
  inset: 22%;
  border-style: solid;
  border-color: rgba(12, 20, 34, 0.12);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  font-family: "Syne", sans-serif;
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  letter-spacing: -0.02em;
  margin: 12px 0 18px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.34em;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 600;
}

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 26px 0 20px;
}

.hero-note {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.shareon {
  margin-bottom: 24px;
}

.shareon button {
  border-radius: 999px !important;
  padding: 10px 14px !important;
  background: rgba(12, 20, 34, 0.06) !important;
  border: 1px solid var(--line) !important;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.hero-stats .label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.18em;
}

.hero-stats strong {
  display: block;
  margin-top: 6px;
  font-size: 1.05rem;
}

.hero-visual {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#sphere-canvas {
  width: min(440px, 90vw);
  height: min(440px, 90vw);
  display: block;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4), rgba(0, 0, 0, 0.08) 60%);
  box-shadow: 0 0 110px rgba(27, 154, 215, 0.18);
}

.hero-panel {
  position: absolute;
  right: -10px;
  bottom: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  padding: 22px;
  width: min(270px, 80vw);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.hero-panel h3 {
  font-family: "Syne", sans-serif;
  margin-bottom: 8px;
}

.link {
  color: var(--accent);
  font-weight: 600;
}

.section {
  padding: 70px 0;
}

.section.dark {
  background: linear-gradient(180deg, rgba(238, 242, 247, 0.96), rgba(246, 247, 251, 0.96));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--pattern {
  background-image: url("../img/agroglifo-pattern.svg");
  background-repeat: no-repeat;
  background-position: 100% 0;
  background-size: 520px;
}

#video.section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(27, 154, 215, 0.2);
  border-bottom: 1px solid rgba(27, 154, 215, 0.2);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.video-bg iframe,
.video-bg .video-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: none;
  border: 0;
  filter: saturate(1) contrast(1.1);
}

.video-bg .video-embed {
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(8, 12, 18, 0.82), rgba(8, 12, 18, 0.55));
  z-index: 1;
}

.video-content {
  position: relative;
  z-index: 2;
}

.section-header {
  margin-bottom: 32px;
}

.section-header h2 {
  font-family: "Syne", sans-serif;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  margin-top: 12px;
}

.grid {
  display: grid;
  gap: 28px;
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.grid.four {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}

#metodo .grid {
  gap: 32px;
}

#metodo .card {
  padding: 30px;
}

#metodo .card p {
  margin-top: 8px;
}

.card.highlight {
  background: linear-gradient(135deg, rgba(27, 154, 215, 0.12), rgba(88, 193, 238, 0.12));
}

.card.glass {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
}

.list {
  display: grid;
  gap: 10px;
  list-style: none;
  color: var(--muted);
}

.list li::before {
  content: "•";
  color: var(--accent);
  margin-right: 10px;
}

.impact-copy {
  margin-top: 20px;
  color: var(--muted);
}

.manifesto {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(220px, 0.6fr);
  gap: 32px;
  align-items: start;
}

.manifesto-body h2 {
  font-family: "Syne", sans-serif;
  margin: 12px 0 18px;
}

.manifesto-quote {
  background: #121824;
  color: #ffffff;
  padding: 26px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.manifesto-quote p {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.manifesto-quote span {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.timeline {
  display: grid;
  gap: 24px;
}

.timeline-diagram {
  position: relative;
  gap: 28px;
}

.timeline-diagram::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: rgba(27, 154, 215, 0.2);
}

.timeline-item {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px 24px 24px 68px;
  background: rgba(255, 255, 255, 0.9);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 28px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 6px rgba(27, 154, 215, 0.12);
}

.tag {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(27, 154, 215, 0.16);
  color: var(--accent);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.logo-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  align-items: center;
}

.logo-grid img {
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 10px;
}

.partners-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.partners-col h3 {
  font-family: "Syne", sans-serif;
  margin-bottom: 14px;
}

.logo-grid.small img {
  height: 70px;
}

.logo-grid.large img {
  height: 110px;
}

.team-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.team-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.team-body {
  padding: 0 22px 22px;
}

.team-card h3 {
  font-family: "Syne", sans-serif;
  margin-bottom: 8px;
}

.team-card p {
  color: var(--muted);
  margin-bottom: 10px;
}

.team-card span {
  font-size: 0.85rem;
  color: var(--accent);
}

.cta {
  background: linear-gradient(135deg, rgba(27, 154, 215, 0.16), rgba(88, 193, 238, 0.16));
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 44px;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
  box-shadow: var(--shadow);
}

.cta.cinematic {
  position: relative;
  overflow: hidden;
}

.cta.cinematic::after {
  content: "";
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle, rgba(27, 154, 215, 0.18), transparent 60%);
  animation: slowPulse 12s ease-in-out infinite;
  pointer-events: none;
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.sponsor-grid .label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.18em;
}

.cta-actions {
  display: grid;
  gap: 12px;
}

.note {
  color: var(--muted);
  font-size: 0.85rem;
}

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

.mediakit-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.mediakit-preview {
  display: grid;
  gap: 18px;
}

.mediakit-card {
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.mediakit-card.accent {
  border-color: rgba(27, 154, 215, 0.3);
  background: linear-gradient(135deg, rgba(27, 154, 215, 0.1), rgba(88, 193, 238, 0.1));
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  background: rgba(255, 255, 255, 0.92);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
}

@keyframes slowPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.12); opacity: 0.85; }
}

@keyframes agrofloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.75; }
  50% { transform: translateY(18px) scale(1.03); opacity: 1; }
}

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

  .hero-panel {
    position: static;
    margin-top: 24px;
  }

  .manifesto {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 80px;
  }

  .cta {
    padding: 28px;
  }
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.breadcrumbs a {
  color: var(--accent);
}

.image-mock {
  height: 180px;
  border-radius: 16px;
  border: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  background: #f1f4f9;
}

.doc-full h2, .doc-full h3, .doc-full h4 {
  margin: 18px 0 8px;
}
.doc-full p {
  margin-bottom: 10px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.footer-links h4 {
  font-family: "Syne", sans-serif;
  margin-bottom: 8px;
}

.footer-links a {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 6px;
}

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

.doc-table {
  background: #0b0f14;
  color: #e8edf5;
  padding: 20px;
  border-radius: 16px;
  overflow-x: auto;
  font-size: 0.9rem;
  line-height: 1.6;
}
