/*
Theme Name: Chan Wu
Theme URI: https://centrodeportivochanwu.com
Author: Club Deportivo Chan Wu
Author URI: https://centrodeportivochanwu.com
Description: Tema oficial del Club Deportivo Chan Wu - Cali, Colombia. Artes marciales, terapias manuales chinas y biodecodificación.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: chanwu
Tags: one-page, martial-arts, sports, health
*/

/* ===== VARIABLES ===== */
:root {
  --ink: #1a1a18;
  --ink-mid: #3d3c38;
  --ink-muted: #7a7870;
  --paper: #f5f3ee;
  --paper-warm: #ede9e1;
  --red: #8B1A1A;
  --red-light: #c44;
  --gold: #a07830;
  --gold-light: #c9973e;
  --border: #d0cdc5;
  --serif: 'Noto Serif', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--paper); color: var(--ink); line-height: 1.6; }

/* NAV */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--ink); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 0 2rem; height: 60px; max-width: 1200px; margin: 0 auto; }
.nav-logo { font-family: var(--serif); color: #fff; font-size: 1.2rem; letter-spacing: .05em; font-style: italic; text-decoration: none; }
.nav-logo span { color: var(--gold-light); }
.nav-menu { display: flex; gap: 1.5rem; list-style: none; }
.nav-menu a { color: #c8c5bc; text-decoration: none; font-size: .85rem; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; transition: color .2s; }
.nav-menu a:hover { color: #fff; }
.nav-cta { background: var(--red); color: #fff !important; padding: .4rem 1rem; border-radius: 4px; font-size: .8rem; font-weight: 500; text-decoration: none; letter-spacing: .04em; }
.nav-cta:hover { background: var(--red-light) !important; }

/* HERO */
.hero { min-height: 92vh; display: flex; align-items: center; background: var(--ink); position: relative; overflow: hidden; padding: 4rem 2rem; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 50%, #2a0a0a 0%, transparent 60%); pointer-events: none; }
.hero-pattern { position: absolute; inset: 0; opacity: .04; background-image: repeating-linear-gradient(45deg, #fff 0, #fff 1px, transparent 0, transparent 50%); background-size: 12px 12px; }
.hero-content { position: relative; max-width: 620px; }
.hero-eyebrow { display: inline-block; font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.5rem; font-weight: 400; }
.hero-title { font-family: var(--serif); font-size: clamp(2.8rem, 6vw, 4.5rem); line-height: 1.1; color: #fff; margin-bottom: 1.5rem; }
.hero-title em { color: var(--gold-light); font-style: normal; }
.hero-sub { font-size: 1.1rem; color: #9a9790; line-height: 1.7; max-width: 480px; margin-bottom: 2.5rem; font-weight: 300; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary { background: var(--red); color: #fff; padding: .75rem 1.75rem; border-radius: 4px; font-size: .9rem; font-weight: 500; text-decoration: none; letter-spacing: .03em; transition: background .2s; display: inline-block; }
.btn-primary:hover { background: var(--red-light); color: #fff; }
.btn-outline { border: 1px solid #5a5750; color: #c8c5bc; padding: .75rem 1.75rem; border-radius: 4px; font-size: .9rem; font-weight: 400; text-decoration: none; letter-spacing: .03em; transition: all .2s; display: inline-block; }
.btn-outline:hover { border-color: #9a9790; color: #fff; }
.hero-ideogram { position: absolute; right: 8%; top: 50%; transform: translateY(-50%); font-size: 18rem; color: rgba(255,255,255,.03); font-family: var(--serif); line-height: 1; pointer-events: none; user-select: none; }
.section-divider { height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .4; }

/* SECTIONS */
.site-section { padding: 5rem 2rem; }
.container { max-width: 1080px; margin: 0 auto; }
.section-label { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 500; display: block; margin-bottom: .75rem; }
.section-title { font-family: var(--serif); font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1.2; color: var(--ink); margin-bottom: 1rem; }
.section-sub { color: var(--ink-muted); font-size: 1rem; line-height: 1.7; max-width: 560px; }

/* FILOSOFIA */
.bg-warm { background: var(--paper-warm); border-top: 1px solid var(--border); }
.filo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; margin-top: 3rem; }
.filo-ideogram { font-family: var(--serif); font-size: 7rem; color: var(--gold); opacity: .25; line-height: 1; display: block; margin-bottom: .5rem; }
.filo-quote { font-family: var(--serif); font-size: 1.35rem; font-style: italic; color: var(--ink-mid); line-height: 1.6; border-left: 3px solid var(--gold); padding-left: 1.5rem; }
.filo-text { margin-top: 1.5rem; color: var(--ink-muted); font-size: .9rem; line-height: 1.7; }
.pilares { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }
.pilar { padding: 1.25rem; border: 1px solid var(--border); border-radius: 6px; background: var(--paper); }
.pilar-icon { font-size: 1.3rem; margin-bottom: .6rem; }
.pilar h4 { font-family: var(--serif); font-size: .95rem; color: var(--ink); margin-bottom: .4rem; }
.pilar p { font-size: .8rem; color: var(--ink-muted); line-height: 1.5; }

/* SERVICIOS */
.srv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.srv-card { background: var(--paper-warm); border: 1px solid var(--border); border-radius: 8px; padding: 2rem; transition: border-color .25s, transform .25s; }
.srv-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.srv-badge { display: inline-block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; background: var(--ink); color: var(--gold-light); padding: .22rem .7rem; border-radius: 3px; margin-bottom: 1rem; }
.srv-card h3 { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); margin-bottom: .7rem; }
.srv-card p { font-size: .85rem; color: var(--ink-muted); line-height: 1.7; }

/* ARTICULOS */
.bg-dark { background: var(--ink); }
.art-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3rem; flex-wrap: wrap; gap: 1rem; }
.art-ver-mas { color: var(--gold-light); text-decoration: none; font-size: .875rem; border-bottom: 1px solid var(--gold); padding-bottom: 2px; white-space: nowrap; }
.art-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.art-card { background: #26251f; border: 1px solid #3a3830; border-radius: 8px; padding: 1.75rem; transition: border-color .2s; }
.art-card:hover { border-color: var(--gold); }
.art-cat { font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-light); margin-bottom: .75rem; display: block; }
.art-card h4 { font-family: var(--serif); font-size: 1.05rem; color: #e8e5de; line-height: 1.4; margin-bottom: .6rem; }
.art-card p { font-size: .8rem; color: #6a6860; line-height: 1.6; }
.topics-wrap { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid #2a2920; }
.topics-title { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #4a4840; margin-bottom: 1rem; }
.topics-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill { background: #1e1d18; border: 1px solid #3a3830; color: #7a7870; font-size: .75rem; padding: .28rem .75rem; border-radius: 20px; }

/* DIAN */
.dian-box { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 2rem; display: flex; align-items: flex-start; gap: 1.5rem; max-width: 720px; margin-top: 2rem; }
.dian-icon { background: var(--ink); color: var(--gold-light); width: 48px; height: 48px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; font-family: var(--serif); font-weight: 700; }
.dian-content { flex: 1; }
.dian-content h4 { font-family: var(--serif); font-size: 1.1rem; color: var(--ink); margin-bottom: .5rem; }
.dian-content > p { font-size: .875rem; color: var(--ink-muted); line-height: 1.6; margin-bottom: 1rem; }
.dian-upload { border: 2px dashed var(--border); border-radius: 6px; padding: 1.5rem; text-align: center; }
.dian-upload strong { display: block; color: var(--ink); font-size: .9rem; margin-bottom: .25rem; }
.dian-upload small { font-size: .8rem; color: var(--ink-muted); }
.upload-btn-label { display: inline-block; background: var(--ink); color: #fff; padding: .5rem 1.25rem; border-radius: 4px; font-size: .8rem; margin-top: .75rem; font-weight: 500; cursor: pointer; }
.dian-note { font-size: .75rem; color: var(--ink-muted); margin-top: .75rem; }
.dian-note a { color: var(--gold); }

/* CONTACTO */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 3rem; }
.contact-info > p { font-size: .95rem; color: var(--ink-muted); line-height: 1.7; margin-bottom: 2rem; }
.contact-items { display: flex; flex-direction: column; gap: 1rem; }
.contact-item { display: flex; align-items: flex-start; gap: .75rem; font-size: .9rem; color: var(--ink-mid); }
.ci-icon { width: 36px; height: 36px; background: var(--paper-warm); border: 1px solid var(--border); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: .9rem; flex-shrink: 0; }
.contact-item a { color: var(--gold); text-decoration: none; }
.contact-form { background: var(--paper-warm); border: 1px solid var(--border); border-radius: 8px; padding: 2rem; }
.contact-form h3 { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .75rem; color: var(--ink-muted); margin-bottom: .35rem; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: .6rem .9rem; border: 1px solid var(--border); border-radius: 5px; background: #fff; font-family: var(--sans); font-size: .875rem; color: var(--ink); outline: none; transition: border-color .2s; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.form-submit { width: 100%; background: var(--ink); color: #fff; border: none; padding: .75rem; border-radius: 5px; font-size: .9rem; font-weight: 500; cursor: pointer; font-family: var(--sans); letter-spacing: .04em; transition: background .2s; }
.form-submit:hover { background: #2e2d26; }

/* FOOTER */
.site-footer { background: #111108; padding: 3.5rem 2rem 2rem; }
.foot-inner { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; padding-bottom: 2rem; border-bottom: 1px solid #2a2920; }
.foot-brand-name { font-family: 'Noto Serif', serif; color: #e8e5de; font-size: 1.3rem; font-style: italic; margin-bottom: .75rem; }
.foot-brand-name span { color: #c9973e; }
.foot-brand p { font-size: .83rem; color: #5a5850; line-height: 1.7; }
.foot-col h5 { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1rem; }
.foot-col ul { list-style: none; }
.foot-col li { font-size: .83rem; color: #5a5850; padding: .22rem 0; }
.foot-col a { color: #5a5850; text-decoration: none; transition: color .2s; }
.foot-col a:hover { color: #c8c5bc; }
.foot-bottom { max-width: 1080px; margin: 1.5rem auto 0; display: flex; justify-content: space-between; align-items: center; font-size: .75rem; color: #3a3830; flex-wrap: wrap; gap: .5rem; }

/* RESPONSIVE */
@media (max-width: 800px) {
  .filo-grid, .contact-grid, .foot-inner { grid-template-columns: 1fr; }
  .pilares { grid-template-columns: 1fr 1fr; }
  .hero-ideogram { display: none; }
  .nav-inner { padding: 0 1rem; }
  .nav-menu { display: none; }
  .site-section { padding: 3rem 1rem; }
  .dian-box { flex-direction: column; }
}
@media (max-width: 480px) {
  .pilares { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .art-header { flex-direction: column; align-items: flex-start; }
}
