/*
Theme Name: Descubre Coinco Base
Theme URI: https://descubrecoinco.cl/
Author: Javier + ChatGPT
Author URI: https://descubrecoinco.cl/
Description: Tema base liviano y compatible con Elementor Pro + WooCommerce, con opciones de personalización (logo, colores, tipografías y redes).
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: descubrecoinco
Tags: elementor, woocommerce, custom-logo, one-column, two-columns
*/

:root {
  --dc-primary: #4F8F2D;
  --dc-secondary: #2D5EA8;
  --dc-bg: #F4F1E8;
  --dc-text: #4A4A4A;
  --dc-heading: #111827;
  --dc-radius: 999px;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--dc-body-font, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
  background: var(--dc-bg);
  color: var(--dc-text);
}

h1,h2,h3,h4,h5,h6 {
  font-family: var(--dc-heading-font, Georgia, "Times New Roman", serif);
  color: var(--dc-heading);
  margin: 0 0 .6em;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--dc-primary); }

.dc-container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.dc-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #f3f4f6;
}

.dc-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 16px;
}

.dc-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dc-brand__badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 2px solid var(--dc-primary);
  font-weight: 800;
  color: var(--dc-primary);
}

.dc-brand__name {
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.dc-menu ul {
  list-style: none;
  display: flex;
  gap: 22px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.dc-menu a {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: #9CA3AF;
}

.dc-menu a:hover {
  color: var(--dc-primary);
}

.dc-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: var(--dc-radius);
  background: var(--dc-primary);
  color: white;
  font-weight: 800;
  font-size: 12px;
  box-shadow: 0 14px 28px rgba(0,0,0,.12);
}
.dc-cta:hover { filter: brightness(1.05); }

.dc-footer {
  background: #111827;
  color: #9CA3AF;
  padding: 80px 0 24px;
}

.dc-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px;
}

.dc-footer h3, .dc-footer h4 {
  color: white;
}

.dc-social {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.dc-social a {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.06);
  color: #cbd5e1;
}
.dc-social a:hover {
  background: var(--dc-primary);
  color: white;
}

.dc-footer__bar {
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
  text-align: center;
  opacity: .6;
}

/* Mobile */
@media (max-width: 900px) {
  .dc-menu { display: none; }
  .dc-footer__grid { grid-template-columns: 1fr; }
}
