/* ── SHARED STYLES – Semillas DGR ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:      #0a0a0a;
  --surface-1:  #111111;
  --surface-2:  #181818;
  --surface-3:  #1f1f1f;
  --card:       #242424;
  --red:        #cc2222;
  --red-hover:  #b01b1b;
  --red-glow:   rgba(204,34,34,0.15);
  --green:      #2d6a1f;
  --amber:      #b06010;
  --white:      #ffffff;
  --gray-2:     #888888;
  --gray-3:     #444444;
  --border:     rgba(255,255,255,0.08);
  --border-red: rgba(204,34,34,0.4);
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--black); color: var(--white); line-height: 1.7; font-size: 16px; }
h1, h2, h3, h4, h5 { font-family: 'Poppins', sans-serif; line-height: 1.2; }
img { display: block; max-width: 100%; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 70px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 3rem;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s;
}
nav.scrolled { border-bottom-color: var(--border-red); }
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.nav-links a { display: block; padding: 0.4rem 0.9rem; color: var(--gray-2); text-decoration: none; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.5px; border-radius: 6px; transition: color 0.2s, background 0.2s; }
.nav-links a:hover { color: var(--white); background: var(--surface-3); }
.nav-links a.active { color: var(--red); background: var(--surface-3); }
.nav-cta { background: var(--red) !important; color: var(--white) !important; padding: 0.45rem 1.1rem !important; font-weight: 600 !important; border-radius: 6px !important; }
.nav-cta:hover { background: var(--red-hover) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── SCROLL PROGRESS ── */
.scroll-progress { position: fixed; top: 70px; left: 0; right: 0; height: 2px; z-index: 199; }
.scroll-bar { height: 100%; background: var(--red); width: 0%; transition: width 0.1s; }

/* ── PAGE HEADER (sub-pages) ── */
.page-header {
  padding: 8rem 3rem 4rem;
  background: var(--surface-1);
  border-bottom: 1px solid var(--border);
}
.page-header .container { max-width: 1200px; margin: 0 auto; }
.page-header .eyebrow { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--red); margin-bottom: 0.6rem; }
.page-header h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; margin-bottom: 0.8rem; }
.page-header p { font-size: 1rem; color: var(--gray-2); max-width: 540px; }

/* ── SHARED SECTION STYLES ── */
.section { padding: 5rem 3rem; }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { margin-bottom: 3rem; }
.eyebrow { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--red); margin-bottom: 0.7rem; }
.section-title { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; color: var(--white); letter-spacing: -0.3px; margin-bottom: 0.8rem; }
.section-desc { font-size: 1rem; color: var(--gray-2); max-width: 560px; line-height: 1.8; }
.divider { width: 48px; height: 3px; background: var(--red); border-radius: 2px; margin-bottom: 1rem; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1.8rem; border-radius: 8px; font-family: 'Poppins', sans-serif; font-size: 0.88rem; font-weight: 700; text-decoration: none; cursor: pointer; border: none; transition: all 0.2s; white-space: nowrap; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-hover); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(204,34,34,0.35); }
.btn-ghost { background: transparent; color: var(--white); border: 1.5px solid var(--gray-3); }
.btn-ghost:hover { border-color: var(--white); transform: translateY(-1px); }
.btn-icon { background: var(--surface-3); color: var(--gray-2); border: 1px solid var(--border); font-size: 0.82rem; }
.btn-icon:hover { color: var(--white); border-color: var(--gray-3); }

/* ── TAGS ── */
.tag { display: inline-block; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; padding: 0.2rem 0.65rem; border-radius: 4px; margin-bottom: 0.8rem; }
.tag-red { background: rgba(204,34,34,0.15); color: #ff6666; border: 1px solid rgba(204,34,34,0.3); }
.tag-amber { background: rgba(176,96,16,0.15); color: #e8a030; border: 1px solid rgba(176,96,16,0.3); }
.tag-green { background: rgba(45,106,31,0.15); color: #5eba45; border: 1px solid rgba(45,106,31,0.3); }

/* ── TICKER ── */
.ticker { background: var(--red); padding: 0.7rem 0; overflow: hidden; white-space: nowrap; }
.ticker-inner { display: inline-block; animation: ticker 25s linear infinite; font-family: 'Poppins', sans-serif; font-size: 0.8rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.ticker-inner span { margin: 0 2rem; opacity: 0.85; }
.ticker-inner span::before { content: "✦ "; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── FOOTER ── */
footer { background: var(--surface-1); border-top: 1px solid var(--border); padding: 3rem 3rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; max-width: 1200px; margin: 0 auto 2.5rem; }
.footer-brand p { font-size: 0.85rem; color: var(--gray-2); margin-top: 0.8rem; max-width: 280px; line-height: 1.7; }
.footer-logo { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.5rem; }
.footer-col h5 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--gray-2); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a { font-size: 0.85rem; color: var(--gray-2); text-decoration: none; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding-top: 1.5rem; border-top: 1px solid var(--border); flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.8rem; color: var(--gray-2); }
.social-links { display: flex; gap: 0.6rem; }
.social-link { width: 34px; height: 34px; border-radius: 8px; background: var(--surface-3); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; text-decoration: none; color: var(--gray-2); transition: background 0.2s, border-color 0.2s, color 0.2s; }
.social-link:hover { background: var(--red); border-color: var(--red); color: var(--white); }

/* ── FLOAT WHATSAPP ── */
.float-wa { position: fixed; bottom: 2rem; right: 2rem; z-index: 300; width: 56px; height: 56px; border-radius: 50%; background: #22c55e; color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; text-decoration: none; box-shadow: 0 4px 20px rgba(34,197,94,0.4); transition: transform 0.2s, box-shadow 0.2s; }
.float-wa:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(34,197,94,0.55); }

/* ── LIGHTBOX ── */
.lightbox { display: none; position: fixed; inset: 0; z-index: 999; background: rgba(0,0,0,0.95); align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 88vh; border-radius: 10px; }
.lightbox-close { position: absolute; top: 1.5rem; right: 2rem; font-size: 1.8rem; color: var(--white); cursor: pointer; background: none; border: none; opacity: 0.7; }
.lightbox-close:hover { opacity: 1; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 0 1.5rem; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--surface-1); border-bottom: 1px solid var(--border); padding: 1rem; gap: 0.3rem; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .section { padding: 4rem 1.5rem; }
  .page-header { padding: 6rem 1.5rem 3rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
