/*
Theme Name: Fundación Nuevo Tiempo de Luz
Theme URI: https://nuevotiempodeluz.org.ar
Author: Fundación Nuevo Tiempo de Luz
Description: Tema institucional de una sola página para la Fundación Nuevo Tiempo de Luz. Estética formal en naranja claro, blanco y gris carbón, con títulos serif y textos sans serif. Incluye Inicio, Quiénes Somos, Proyectos y Contacto.
Version: 1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nuevo-tiempo-de-luz
*/

:root {
  --bg: #fffdfa;
  --fg: #2b2723;
  --muted: #6c6259;
  --primary: #e8913f;
  --secondary: #fdf3e7;
  --border: #ead9c4;
  --footer: #201d1a;
  --footer-fg: #b3a99d;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Arial, "Arial Nova", Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 250, .96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.header-inner {
  width: min(100% - 2.5rem, 78rem);
  margin-inline: auto;
  min-height: 6rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.site-logo img { width: 100%; max-width: 420px; }
.site-logo .site-title { font-family: var(--serif); font-size: 1.5rem; }
.main-nav { display: flex; gap: 1.5rem; flex-shrink: 0; }
.main-nav a { font-size: .875rem; font-weight: 700; transition: color .2s ease; }
.main-nav a:hover { color: var(--primary); }

.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(105deg, var(--bg) 0 58%, var(--secondary) 58% 100%);
}
.hero::after {
  content: ""; position: absolute; right: -8rem; bottom: -20rem;
  width: 38rem; height: 38rem; border-radius: 50%;
  border: 4.5rem solid rgba(232, 145, 63, .18);
}
.hero-inner {
  position: relative; z-index: 1;
  width: min(100% - 2.5rem, 78rem); margin-inline: auto; padding: 7rem 0;
}
.hero h1 {
  margin: .75rem 0 0; max-width: 60rem;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.05;
}
.hero-lead { margin-top: 2rem; max-width: 46rem; color: var(--muted); font-size: 1.15rem; line-height: 1.8; }
.hero-quote {
  margin-top: 2.25rem; max-width: 46rem; padding: .5rem 0 .5rem 1.5rem;
  border-left: 4px solid var(--primary);
  font-family: var(--serif); font-size: 1.4rem; line-height: 1.6;
}
.eyebrow { color: var(--primary); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin: 0; }

.section { padding: 6.5rem 0; scroll-margin-top: 6rem; }
.section--alt { background: var(--secondary); }
.section--dark { background: var(--fg); color: var(--bg); }
.section-grid {
  width: min(100% - 2.5rem, 78rem); margin-inline: auto;
  display: grid; grid-template-columns: 13rem 1fr; gap: 4rem;
}
.content { max-width: 52rem; }
.content h2 { margin: 0 0 2rem; font-family: var(--serif); font-weight: 400; font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.05; }
.content > p { margin: 0 0 1.35rem; color: var(--muted); font-size: 1.05rem; line-height: 1.75; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 3rem; border: 1px solid var(--border); }
.values article { padding: 2rem; border-right: 1px solid var(--border); }
.values article:last-child { border-right: 0; }
.values h3 { margin: 0 0 .65rem; font-family: var(--serif); font-weight: 400; font-size: 1.5rem; }
.values p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.6; }

.statement {
  margin-top: 2.25rem; padding-top: 1.75rem; border-top: 1px solid var(--border);
  color: var(--fg); font-family: var(--serif); font-size: 1.6rem; line-height: 1.45;
}

.section--dark .eyebrow { color: var(--primary); }
.section--dark .content > p { color: rgba(255, 253, 250, .78); }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 2.5rem; }
.contact-grid > div { border-top: 1px solid rgba(255, 253, 250, .3); padding-top: 1.25rem; }
.contact-label { margin: 0 0 .5rem; color: var(--primary); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.contact-grid a { font-family: var(--serif); font-size: clamp(1.1rem, 2.5vw, 1.5rem); overflow-wrap: anywhere; }
.contact-grid a:hover { color: var(--primary); }

.site-footer { background: var(--footer); color: var(--footer-fg); text-align: center; padding: 1.5rem 1.25rem; font-size: .875rem; }

@media (max-width: 900px) {
  .main-nav { display: none; }
  .site-logo img { max-width: 260px; }
}
@media (max-width: 767px) {
  .hero { background: var(--secondary); }
  .hero::after { display: none; }
  .hero-inner { padding: 4rem 0; width: min(100% - 2rem, 78rem); }
  .section { padding: 4.5rem 0; }
  .section-grid { width: min(100% - 2rem, 78rem); grid-template-columns: 1fr; gap: 1rem; }
  .values, .contact-grid { grid-template-columns: 1fr; }
  .values article { border-right: 0; border-bottom: 1px solid var(--border); }
  .values article:last-child { border-bottom: 0; }
}
