/*
Theme Name: PHILIA
Theme URI: https://philia.art
Author: Colectivo PHILIA
Description: Theme personalizado para el colectivo de arte PHILIA, con secciones de notas, integrantes, publicaciones, exposiciones y eventos.
Version: 1.0.0
Text Domain: philia
*/

:root{
  --red:#DE231C;
  --red-dark:#B81C16;
  --black:#12100E;
  --off:#F6F4F1;
  --grey:#6E6A64;
  --line:#E6E2DC;
}
*{box-sizing:border-box; margin:0; padding:0;}
body{
  font-family:'Inter', sans-serif;
  color:var(--black);
  background:#fff;
  -webkit-font-smoothing:antialiased;
}
a{ color:inherit; text-decoration:none; }
img{ display:block; width:100%; height:100%; object-fit:cover; }
.label{ font-size:11px; font-weight:700; letter-spacing:1.2px; color:var(--red); text-transform:uppercase; }
.arrow-link{ font-size:12px; font-weight:700; letter-spacing:0.4px; text-transform:uppercase; display:inline-flex; align-items:center; gap:6px; color:var(--black); }
.arrow-link.red{ color:var(--red); }
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:13px 22px; font-size:12px; font-weight:700; letter-spacing:0.6px; text-transform:uppercase;
  border:2px solid transparent; cursor:pointer;
}
.btn-red{ background:var(--red); color:#fff; }
.btn-red:hover{ background:var(--red-dark); }
.btn-outline{ border-color:rgba(255,255,255,0.6); color:#fff; background:transparent; }
.btn-outline:hover{ border-color:#fff; background:rgba(255,255,255,0.1); }
.wrap{ max-width:1180px; margin:0 auto; padding:0 24px; }

/* HEADER */
header.site-header{
  display:flex; align-items:center; justify-content:space-between;
  padding:18px 32px;
  position:relative; z-index:20;
}
.logo{ display:flex; align-items:center; gap:10px; }
.logo-mark{ width:26px; height:26px; display:grid; grid-template-columns:repeat(3,1fr); gap:2px; }
.logo-mark span{ background:var(--black); }
.logo-mark span:nth-child(2n){ background:transparent; }
.logo-text{ font-weight:800; font-size:17px; letter-spacing:1px; line-height:1; }
.logo-sub{ font-size:9px; color:var(--grey); letter-spacing:1px; margin-top:2px; }
nav{ display:flex; gap:26px; }
nav a{ font-size:11px; font-weight:700; letter-spacing:0.8px; text-transform:uppercase; padding-bottom:6px; border-bottom:2px solid transparent; }
nav a.current-menu-item, nav a.active{ color:var(--red); border-color:var(--red); }
nav a:hover{ color:var(--red); }
.menu-toggle{ display:none; width:34px; height:34px; border:2px solid var(--black); background:#fff; position:relative; cursor:pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after{ content:""; position:absolute; left:7px; right:7px; height:2px; background:var(--black); transition:.2s; }
.menu-toggle span{ top:16px; } .menu-toggle span::before{ top:-6px; } .menu-toggle span::after{ top:6px; }
.menu-toggle[aria-expanded="true"] span{ background:transparent; }
.menu-toggle[aria-expanded="true"] span::before{ transform:translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after{ transform:translateY(-6px) rotate(-45deg); }

/* HERO */
.hero{ position:relative; height:520px; overflow:hidden; }
.hero-track{ display:flex; height:100%; transition:transform .6s cubic-bezier(.65,0,.35,1); }
.hero-slide{ min-width:100%; position:relative; }
.hero-slide img{ filter:brightness(0.75); }
.hero-slide::before{ content:""; position:absolute; inset:0; background:linear-gradient(90deg, rgba(10,8,6,0.82) 0%, rgba(10,8,6,0.35) 45%, rgba(10,8,6,0) 70%); }
.hero-copy{ position:absolute; left:0; top:0; height:100%; display:flex; flex-direction:column; justify-content:center; padding:0 60px; max-width:560px; color:#fff; z-index:2; }
.hero-copy h1{ font-size:clamp(32px,4vw,44px); font-weight:700; line-height:1.12; letter-spacing:-0.5px; }
.hero-copy p{ margin-top:16px; font-size:14px; line-height:1.6; color:rgba(255,255,255,0.85); max-width:420px; }
.hero-btns{ display:flex; gap:14px; margin-top:26px; }
.hero-nav-btn{ position:absolute; top:50%; transform:translateY(-50%); width:40px; height:40px; border:none; background:transparent; color:#fff; font-size:22px; cursor:pointer; z-index:3; }
.hero-nav-btn:hover{ color:var(--red); }
.hero-prev{ left:20px; } .hero-next{ right:20px; }
.hero-dots{ position:absolute; bottom:22px; left:60px; display:flex; gap:8px; z-index:3; }
.hero-dots button{ width:22px; height:3px; border:none; background:rgba(255,255,255,0.4); cursor:pointer; padding:0; }
.hero-dots button[aria-current="true"]{ background:var(--red); }
.hero-empty{ background:var(--black); color:#fff; display:flex; align-items:center; justify-content:center; height:300px; font-size:13px; }

/* TWO COL: ARTICULOS / INTEGRANTES */
.split{ display:grid; grid-template-columns:1.5fr 1fr; gap:56px; padding:56px 32px; }
.col-head{ display:flex; justify-content:space-between; align-items:baseline; margin-bottom:22px; }
.col-head h2{ font-size:11px; }
.articles{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.article figure{ aspect-ratio:4/3; margin-bottom:14px; overflow:hidden; background:#ddd; }
.article img{ filter:grayscale(1) contrast(1.05); transition:transform .4s ease; }
.article:hover img{ transform:scale(1.05); }
.article .label{ margin-bottom:8px; display:block; }
.article h3{ font-size:14.5px; font-weight:700; line-height:1.3; margin-bottom:8px; }
.article p{ font-size:12.5px; color:var(--grey); line-height:1.5; margin-bottom:10px; }

.members{ display:grid; grid-template-columns:repeat(2,1fr); gap:20px 18px; }
.member figure{ aspect-ratio:3/3.4; margin-bottom:10px; overflow:hidden; background:#ddd; }
.member img{ filter:grayscale(1); }
.member h4{ font-size:13px; font-weight:700; }
.member span.role{ font-size:11px; color:var(--grey); display:block; margin:2px 0 6px; }

/* RED BAND */
.band{ background:var(--red); color:#fff; padding:38px 32px; display:flex; align-items:center; gap:40px; flex-wrap:wrap; }
.band-icon{ width:52px; height:52px; border:2px solid rgba(255,255,255,0.6); display:flex; align-items:center; justify-content:center; font-size:20px; flex-shrink:0; }
.band-intro{ flex:1; min-width:230px; }
.band-intro .label{ color:rgba(255,255,255,0.85); }
.band-intro h2{ font-size:26px; font-weight:800; margin:4px 0 14px; letter-spacing:-0.3px; }
.band-stats{ display:flex; gap:38px; flex-wrap:wrap; }
.stat b{ display:block; font-size:26px; font-weight:800; }
.stat span{ font-size:11px; color:rgba(255,255,255,0.8); line-height:1.3; display:block; margin-top:2px; }

/* PUBLICACIONES / EXPOSICIONES */
.pub-cover{ aspect-ratio:3/4; background:linear-gradient(160deg,#222,#000); overflow:hidden; margin-bottom:12px; position:relative; }
.pub-cover img{ opacity:0.55; }
.pub-cover span{ position:absolute; left:16px; bottom:16px; color:#fff; font-weight:700; font-size:15px; letter-spacing:0.5px; text-transform:uppercase; }
.pubs{ display:grid; grid-template-columns:repeat(2,1fr); gap:22px; }
.pub h3{ font-size:13px; font-weight:700; }
.pub span.meta{ font-size:11px; color:var(--grey); display:block; margin:2px 0 8px; }

.expos{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.expo figure{ aspect-ratio:1/1; margin-bottom:8px; overflow:hidden; background:#ddd; }
.expo img{ filter:grayscale(0.4) contrast(1.05); }
.expo .num{ font-size:11px; font-weight:800; color:var(--red); }
.expo h4{ font-size:12.5px; font-weight:700; margin-top:2px; }
.expo span.gallery{ font-size:10.5px; color:var(--grey); }

/* EVENTOS */
.events{ padding:56px 32px; background:var(--off); }
.events-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.event{ display:flex; gap:16px; background:#fff; border:1px solid var(--line); }
.event-date{ background:var(--red); color:#fff; min-width:64px; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.event-date b{ font-size:24px; font-weight:800; line-height:1; }
.event-date span{ font-size:11px; text-transform:uppercase; letter-spacing:0.5px; margin-top:2px; }
.event-photo{ width:76px; flex-shrink:0; overflow:hidden; }
.event-photo img{ filter:grayscale(1); height:100%; }
.event-body{ padding:14px 14px 14px 0; display:flex; flex-direction:column; justify-content:center; gap:4px; }
.event-body h4{ font-size:13px; font-weight:700; line-height:1.3; }
.event-body span.meta{ font-size:11px; color:var(--grey); }
.empty-state{ font-size:13px; color:var(--grey); padding:20px 0; }

/* SINGLE / CONTENT PAGES */
.single-content{ max-width:760px; margin:0 auto; padding:60px 24px; }
.single-content .single-cover{ aspect-ratio:16/9; margin-bottom:28px; overflow:hidden; }
.single-content h1{ font-size:32px; font-weight:800; line-height:1.2; margin-bottom:14px; }
.single-content .meta-line{ font-size:12px; color:var(--grey); margin-bottom:24px; }
.single-content .entry-body{ font-size:15px; line-height:1.75; }
.single-content .entry-body p{ margin-bottom:18px; }

/* FOOTER */
footer.site-footer{ background:var(--black); color:#fff; padding:44px 32px 22px; }
.foot-grid{ display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:40px; padding-bottom:32px; border-bottom:1px solid rgba(255,255,255,0.15); }
.foot-logo{ display:flex; gap:10px; align-items:center; margin-bottom:14px; }
.foot-logo .logo-mark span{ background:#fff; }
.foot-logo .logo-mark span:nth-child(2n){ background:transparent; }
.foot-desc{ font-size:12.5px; color:rgba(255,255,255,0.65); line-height:1.6; max-width:260px; }
.socials{ display:flex; gap:10px; margin-top:16px; }
.socials a{ width:32px; height:32px; border:1px solid rgba(255,255,255,0.3); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:13px; }
.socials a:hover{ background:var(--red); border-color:var(--red); }
footer h5{ font-size:11px; letter-spacing:1px; text-transform:uppercase; color:rgba(255,255,255,0.55); margin-bottom:14px; }
.newsletter p{ font-size:12.5px; color:rgba(255,255,255,0.65); margin-bottom:14px; line-height:1.5; }
.nl-form{ display:flex; }
.nl-form input{ flex:1; padding:11px 12px; border:1px solid rgba(255,255,255,0.3); background:transparent; color:#fff; font-size:12px; }
.nl-form input::placeholder{ color:rgba(255,255,255,0.5); }
.nl-form button{ background:var(--red); color:#fff; border:none; padding:0 16px; font-size:11px; font-weight:700; text-transform:uppercase; cursor:pointer; }
.contact-info p{ font-size:12.5px; color:rgba(255,255,255,0.75); margin-bottom:8px; }
.foot-bottom{ display:flex; justify-content:space-between; padding-top:18px; font-size:11px; color:rgba(255,255,255,0.45); flex-wrap:wrap; gap:10px; }
.foot-bottom a{ color:rgba(255,255,255,0.6); margin-left:16px; }

@media (max-width:980px){
  .split{ grid-template-columns:1fr; }
  .articles{ grid-template-columns:repeat(2,1fr); }
  .expos{ grid-template-columns:repeat(2,1fr); }
  .events-grid{ grid-template-columns:1fr; }
  .foot-grid{ grid-template-columns:1fr; gap:28px; }
  .hero-copy{ padding:0 30px; max-width:90%; }
}
@media (max-width:760px){
  .menu-toggle{ display:block; }
  nav{
    position:absolute; top:100%; left:0; right:0; background:#fff;
    flex-direction:column; gap:0; border-bottom:2px solid var(--black);
    max-height:0; overflow:hidden; transition:max-height .25s ease;
  }
  nav.open{ max-height:320px; }
  nav a{ padding:14px 24px; border-top:1px solid var(--line); border-bottom:none !important; }
  header.site-header{ padding:16px 20px; }
  .hero{ height:auto; min-height:460px; }
  .hero-copy{ padding:70px 24px 40px; position:relative; max-width:100%; }
  .hero-nav-btn{ display:none; }
  .split, .events, footer.site-footer{ padding-left:20px; padding-right:20px; }
  .articles{ grid-template-columns:1fr; }
  .members{ grid-template-columns:repeat(2,1fr); }
  .expos{ grid-template-columns:repeat(2,1fr); }
  .pubs{ grid-template-columns:1fr 1fr; }
  .band{ padding:30px 20px; }
  .band-stats{ gap:24px; }
}
