/* Beta Sostenibilidad – Inicio */

:root {
  --accent: #2ad1ff;
  --accent-dark: #0ea8d5;
  --dark: #122033;
  --text: #1d2530;
  --muted: #5e6d80;
  --bg: #f2f4f7;
  --card-bg: #fff;
  --border: #e4eaf2;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; scroll-behavior: smooth; overflow-x: hidden; }

body {
  color: var(--text);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Navigation ── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 68px;
  background: rgba(7,16,30,0.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: background .3s ease, border-color .3s ease;
}
.site-nav.scrolled {
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 18px rgba(11,26,46,.08);
}
.nav-logo {
  height: 44px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  color: rgba(255,255,255,.8);
  font-weight: 600;
  font-size: .88rem;
  text-decoration: none;
  letter-spacing: .01em;
  transition: background .18s, color .18s;
}
.nav-links a:hover { background: rgba(255,255,255,.1); color: #fff; }
.site-nav.scrolled .nav-links a { color: var(--dark); }
.site-nav.scrolled .nav-links a:hover { background: #eef4ff; color: var(--accent-dark); }
.nav-cta {
  padding: 9px 22px !important;
  background: var(--accent) !important;
  color: var(--dark) !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
}
.nav-cta:hover { opacity: .9; }
.site-nav.scrolled .nav-cta {
  background: var(--dark) !important;
  color: #fff !important;
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #07101e;
  padding-top: 68px;
  position: relative;
  overflow: hidden;
}

/* Dot grid texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  z-index: 0;
}

/* Aurora blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.hero-blob--1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(42,209,255,.22) 0%, transparent 70%);
  top: -200px;
  right: -150px;
  animation: blobFloat1 9s ease-in-out infinite alternate;
}
.hero-blob--2 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(80,60,220,.18) 0%, transparent 70%);
  bottom: -150px;
  left: -100px;
  animation: blobFloat2 11s ease-in-out infinite alternate;
}
.hero-blob--3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,220,130,.12) 0%, transparent 70%);
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  animation: blobFloat3 13s ease-in-out infinite alternate;
}

.hero-inner {
  text-align: center;
  padding: 60px 20px;
  max-width: 860px;
  position: relative;
  z-index: 1;
}

/* Eyebrow badge */
.hero-eyebrow {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 32px;
  animation: fadeSlideUp .8s ease both;
}

.overline {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  border: 1px solid #dbe5f1;
  background: #fff;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #5f7188;
  margin-bottom: 22px;
}
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 1.7s infinite;
  flex-shrink: 0;
}

/* Hero title */
.hero h1 {
  margin: 0 0 24px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.0;
  color: #fff;
}
.hero-line {
  display: block;
  font-size: clamp(2.6rem, 6.5vw, 5.4rem);
  opacity: 0;
  animation: fadeSlideUp .75s ease forwards;
}
.hero-line:nth-child(1) { animation-delay: .15s; }
.hero-line:nth-child(2) { animation-delay: .30s; }
.hero-line:nth-child(3) { animation-delay: .45s; }
.hero-line--accent {
  background: linear-gradient(90deg, var(--accent) 0%, #7c6fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  margin: 0 0 36px;
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  animation: fadeSlideUp .75s ease .65s forwards;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeSlideUp .75s ease .85s forwards;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--accent);
  color: var(--dark);
  box-shadow: 0 8px 28px rgba(42,209,255,.35);
}
.btn-primary:hover { box-shadow: 0 14px 38px rgba(42,209,255,.55); }
.btn-ghost {
  background: #fff;
  color: var(--dark);
  border: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(11,26,46,.08);
}
.btn-ghost:hover { box-shadow: 0 8px 22px rgba(11,26,46,.14); }

/* ── Wrap ── */
.wrap {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 70px 0;
}

/* ── Section Header ── */
.section-tag {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  border: 1px solid #dbe5f1;
  background: #fff;
  border-radius: 999px;
  padding: 7px 16px;
  font-size: .76rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #5f7188;
  margin-bottom: 14px;
}
.section-header { margin-bottom: 48px; }
.section-header h2 {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #172332;
  margin: 0 0 12px;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.section-header p {
  font-size: 1.08rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
  max-width: 62ch;
}

/* ── Feature section (GEO Energy) ── */
.feature-section {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 32px;
  box-shadow: 0 20px 55px rgba(16,31,54,.08);
  padding: 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 32px;
}
.feature-section.reversed { direction: rtl; }
.feature-section.reversed > * { direction: ltr; }
.feature-img {
  border-radius: 22px;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(16,31,54,.14);
}
.feature-content h3 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #172332;
  margin: 0 0 12px;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.feature-content .lead {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--accent-dark);
  margin: 0 0 14px;
}
.feature-content p {
  font-size: 1.02rem;
  color: var(--muted);
  line-height: 1.68;
  margin: 0 0 24px;
}

/* ── Split section (Sostenibilidad y Sustentabilidad) ── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 32px;
  box-shadow: 0 20px 55px rgba(16,31,54,.08);
  padding: 52px;
}
.split-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #172332;
  margin: 0 0 6px;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.split-subtitle {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--muted);
  margin: 0 0 20px;
}
.split-lead {
  font-size: 1.05rem;
  color: var(--accent-dark);
  font-weight: 600;
  line-height: 1.7;
  margin: 0 0 18px;
}
.split-content p {
  font-size: .98rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 14px;
}
.split-video-thumb {
  display: block;
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 16/9;
  box-shadow: 0 16px 40px rgba(16,31,54,.14);
  text-decoration: none;
  background: #000;
}
.split-video-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease, opacity .35s ease;
}
.split-video-thumb:hover img {
  transform: scale(1.04);
  opacity: .85;
}
.yt-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  transition: transform .25s ease;
  pointer-events: none;
}
.yt-play svg { width: 72px; height: 52px; drop-shadow: 0 4px 12px rgba(0,0,0,.5); }
.split-video-thumb:hover .yt-play { transform: translate(-50%, -50%) scale(1.1); }
.yt-label {
  position: absolute;
  bottom: 14px;
  right: 16px;
  background: rgba(0,0,0,.6);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

/* ── Manifesto section ── */
.manifesto-section {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 32px;
  box-shadow: 0 20px 55px rgba(16,31,54,.08);
  padding: 52px;
}
.manifesto-title {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: #172332;
  margin: 0 0 24px;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.manifesto-main p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.72;
  margin: 0 0 16px;
}
.manifesto-quote {
  margin: 28px 0;
  padding: 24px 28px;
  border-left: 4px solid var(--accent);
  background: #f0faff;
  border-radius: 0 16px 16px 0;
}
.manifesto-quote p {
  font-size: .98rem;
  color: #2d4a63;
  line-height: 1.72;
  margin: 0 0 12px;
}
.manifesto-quote p:last-child { margin: 0; }
.manifesto-closing {
  font-size: 1.08rem;
  color: #172332 !important;
  margin-top: 8px;
}

/* ── Campaigns grid ── */
.campaigns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 40px;
}
.campaign-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 20px 45px rgba(16,31,54,.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.campaign-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(16,31,54,.14);
}
.campaign-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.campaign-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.campaign-body h3 {
  font-size: 1.22rem;
  font-weight: 800;
  color: #172332;
  margin: 0 0 8px;
  line-height: 1.2;
}
.campaign-body .sub {
  font-size: .88rem;
  font-weight: 600;
  color: var(--accent-dark);
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.campaign-body p {
  font-size: .97rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 20px;
  flex: 1;
}
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: .88rem;
  color: var(--dark);
  text-decoration: none;
  padding: 9px 18px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  transition: background .18s, border-color .18s;
  align-self: flex-start;
}
.read-more:hover { background: #f0f6ff; border-color: #b3ccf0; }

/* ── DNA / About section ── */
.dna-section {
  background: linear-gradient(160deg, #172332 0%, #1e3350 100%);
  border-radius: 32px;
  padding: 64px;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.dna-content h2 {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.dna-content .lead {
  font-size: 1.1rem;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 16px;
}
.dna-content p {
  font-size: 1.02rem;
  color: rgba(255,255,255,.75);
  line-height: 1.7;
  margin: 0 0 28px;
}
.pillars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pillar {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 16px 20px;
}
.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.pillar-icon svg { width: 22px; height: 22px; fill: var(--dark); }
.pillar-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
}
.pillar-text span {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
}

/* ── Brands ── */
.brands-section { margin-top: 70px; }
.brands-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}
.brand-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px 32px;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(16,31,54,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.brand-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(16,31,54,.11);
}
.brand-card img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: grayscale(40%);
  transition: filter .2s ease;
}
.brand-card:hover img { filter: grayscale(0%); }

/* ── Contact ── */
.contact-section {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 32px;
  box-shadow: 0 20px 55px rgba(16,31,54,.08);
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 70px;
}
.contact-info h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 800;
  color: #172332;
  margin: 0 0 14px;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.contact-info p {
  font-size: 1.03rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 28px;
}
.contact-details { display: flex; flex-direction: column; gap: 14px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .97rem;
  color: var(--dark);
}
.contact-item-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #eef4ff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-item-icon svg { width: 20px; height: 20px; fill: var(--accent-dark); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field label {
  font-size: .85rem;
  font-weight: 600;
  color: #4a5568;
  letter-spacing: .04em;
}
.form-field input,
.form-field textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  font-size: 1rem;
  font-family: inherit;
  background: #f8fafc;
  color: var(--dark);
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(42,209,255,.14);
  background: #fff;
}
.form-field textarea { min-height: 100px; resize: vertical; }
.form-submit {
  padding: 14px 28px;
  background: var(--dark);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: .97rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background .18s, transform .18s;
  align-self: flex-start;
}
.form-submit:hover { background: #1e3350; transform: translateY(-1px); }

/* ── Footer ── */
footer {
  background: #0e1a27;
  color: rgba(255,255,255,.8);
  padding: 60px 0 30px;
  margin-top: 80px;
}
.footer-inner {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand img {
  height: 52px;
  width: auto;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}
.footer-brand p {
  font-size: .93rem;
  line-height: 1.7;
  color: rgba(255,255,255,.55);
  margin: 0;
  max-width: 36ch;
}
.footer-col h4 {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.45);
  margin: 0 0 16px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul li a {
  font-size: .93rem;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: color .18s;
}
.footer-col ul li a:hover { color: var(--accent); }
.footer-col address {
  font-style: normal;
  font-size: .93rem;
  color: rgba(255,255,255,.6);
  line-height: 1.8;
}
.footer-bottom {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
  color: rgba(255,255,255,.35);
  flex-wrap: wrap;
  gap: 14px;
}
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  display: grid;
  place-items: center;
  text-decoration: none;
  color: rgba(255,255,255,.55);
  font-size: .82rem;
  transition: background .18s, color .18s;
}
.social-links a:hover { background: var(--accent); color: var(--dark); }

/* ── Divider ── */
.section-divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ── Animations ── */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.35); }
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes blobFloat1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-60px, 80px) scale(1.15); }
}
@keyframes blobFloat2 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(70px, -60px) scale(1.2); }
}
@keyframes blobFloat3 {
  from { transform: translateX(-50%) scale(1); }
  to   { transform: translateX(-50%) scale(1.3) translate(40px, -30px); }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .feature-section { gap: 36px; padding: 36px; }
  .dna-section { gap: 40px; padding: 48px; }
  .contact-section { gap: 40px; padding: 48px; }
}

@media (max-width: 860px) {
  .site-nav { padding: 0 16px; }
  .nav-logo { height: 36px; }
  .nav-links { display: flex; gap: 2px; }
  .nav-links a { padding: 7px 10px; font-size: .8rem; }
  .nav-cta { padding: 7px 14px !important; font-size: .8rem !important; }
  .campaigns-grid { grid-template-columns: 1fr; }
  .split-section {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px;
  }
  .manifesto-section { padding: 28px; }
  .feature-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px;
  }
  .feature-section.reversed { direction: ltr; }
  .dna-section {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px;
  }
  .contact-section {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero { min-height: auto; padding: 120px 0 60px; }
  .hero-actions { flex-direction: column; align-items: center; }
}
