/*
Theme Name: Logia Pitagoras GODF
Theme URI: https://example.com/logia-gof
Author: AI + Erika
Author URI: https://example.com
Description: Tema WordPress creado para la Logia Pitágoras (Gran Oriente de Málaga), inspirado en la maqueta Loge Maçonnique -- Grand Orient de France.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: logia-gof
*/

/* ======================================================
   TOKENS & VARIABLES
   ====================================================== */
:root {
  --midnight:     #080c17;
  --abyss:        #0b1220;
  --navy-deep:    #0d1b34;
  --navy:         #0f1f42;
  --cobalt-dark:  #132c58;
  --cobalt:       #17366e;
  --royal:        #1c4285;
  --steel:        #27579c;
  --accent-blue:  #4080c0;
  --accent-light: #6aa0d8;
  --gold-deep:    #6b4f18;
  --gold:         #a8822a;
  --gold-bright:  #c9a040;
  --gold-light:   #dfc070;
  --cream:        #f0e4c4;
  --smoke:        #c0ccde;
  --mist:         #96a8c0;
  --dusk:         #607288;
  --shadow-clr:   #38485e;
  --white:        #ecf2fa;
  --font-display: 'Cinzel', 'Times New Roman', serif;
  --font-serif:   'Cormorant Garamond', 'Georgia', serif;
  --font-body:    'Libre Baskerville', 'Georgia', serif;
  --transition:   0.3s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--midnight);
  color: var(--smoke);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--midnight); }
::-webkit-scrollbar-thumb { background: var(--cobalt); border-radius: 3px; }
::selection { background: rgba(64,128,192,0.3); color: var(--white); }

a { color: var(--accent-blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-bright); }

/* ======================================================
   HEADER
   ====================================================== */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  height: 80px;
  background: rgba(8,12,23,0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(168,130,42,0.3);
  display: flex; align-items: center;
}
header::after {
  content:''; position:absolute; bottom:-1px; left:0; right:0; height:1px;
  background: linear-gradient(to right, transparent, rgba(168,130,42,0.5), transparent);
}

.header-inner {
  max-width: 1200px; margin: 0 auto; width: 100%;
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
}

.logo-wrap {
  display: flex; align-items: center; gap: 1rem;
  text-decoration: none;
}

.logo-mark {
  width: 48px; height: 48px; flex-shrink: 0;
}

.logo-mark svg {
  width: 100%; height: 100%;
  filter: drop-shadow(0 0 10px rgba(168,130,42,0.5));
}

.logo-text { display: flex; flex-direction: column; }
.logo-name {
  font-family: var(--font-display);
  font-size: 1rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--white);
  line-height: 1.1;
}
.logo-sub {
  font-family: var(--font-serif);
  font-size: 0.625rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold);
  font-style: italic; opacity: 0.9;
}

nav { display: flex; gap: 0.125rem; }
nav a {
  font-family: var(--font-display);
  font-size: 0.6875rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--mist);
  padding: 0.5rem 0.875rem;
  transition: color var(--transition);
  position: relative;
}
nav a::after {
  content:''; position:absolute; bottom:0; left:50%; right:50%;
  height:1px; background: var(--gold);
  transition: all var(--transition);
}
nav a:hover { color: var(--gold-bright); }
nav a:hover::after, nav a.active::after { left: 0.875rem; right: 0.875rem; }
nav a.active { color: var(--gold-bright); }

/* ======================================================
   HERO
   ====================================================== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding: 6rem 2rem 4rem;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(23,54,110,0.35) 0%, transparent 65%),
    radial-gradient(ellipse at 15% 85%, rgba(13,27,52,0.6) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 15%, rgba(19,44,88,0.4) 0%, transparent 50%),
    var(--midnight);
}

.hero-pattern {
  position: absolute; inset: 0; z-index: 0; opacity: 0.03;
  background-image:
    linear-gradient(45deg, var(--gold) 1px, transparent 1px),
    linear-gradient(-45deg, var(--gold) 1px, transparent 1px);
  background-size: 56px 56px;
}

.hero-vignette {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, transparent 40%, var(--midnight) 100%);
}

/* Central masonic emblem background */
.hero-emblem-bg {
  position: absolute; z-index: 0;
  width: 600px; height: 600px;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  opacity: 0.04;
  animation: slow-rotate 120s linear infinite;
}

@keyframes slow-rotate { to { transform: translate(-50%,-50%) rotate(360deg); } }

.hero-content {
  position: relative; z-index: 1;
  text-align: center; max-width: 820px;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.5625rem; letter-spacing: 0.55em;
  text-transform: uppercase; color: var(--gold);
  padding: 0.375rem 1.5rem;
  border: 1px solid rgba(168,130,42,0.4);
  margin-bottom: 2rem;
  animation: fadeInDown 1s ease both;
}

@keyframes fadeInDown { from { opacity:0; transform:translateY(-15px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeInUp   { from { opacity:0; transform:translateY(20px);  } to { opacity:1; transform:translateY(0); } }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--white);
  line-height: 1.1; margin-bottom: 1.25rem;
  text-shadow: 0 0 80px rgba(64,128,192,0.4);
  animation: fadeInUp 1s 0.2s ease both;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--mist); font-style: italic;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s 0.4s ease both;
}

.hero-motto {
  font-family: var(--font-display);
  font-size: 0.8125rem; letter-spacing: 0.35em;
  text-transform: uppercase; color: var(--gold-bright);
  margin-bottom: 2.5rem;
  animation: fadeInUp 1s 0.6s ease both;
}

.hero-divider {
  display: flex; align-items: center; gap: 1rem;
  margin: 1.5rem 0;
  animation: fadeInUp 1s 0.5s ease both;
}
.hero-divider::before, .hero-divider::after {
  content:''; flex:1; height:1px;
  background: linear-gradient(to right, transparent, rgba(168,130,42,0.5), transparent);
}
.hero-divider span { color: var(--gold); font-size: 1rem; opacity: 0.7; }

.hero-actions {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  animation: fadeInUp 1s 0.8s ease both;
}

/* ======================================================
   BUTTONS
   ====================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-display);
  font-size: 0.6875rem; letter-spacing: 0.22em;
  text-transform: uppercase; cursor: pointer;
  border: none; text-decoration: none;
  transition: all var(--transition); position: relative; overflow: hidden;
}
.btn-primary {
  background: var(--cobalt); color: var(--white);
  border: 1px solid var(--steel);
}
.btn-primary:hover {
  background: var(--royal); color: var(--white);
  box-shadow: 0 0 30px rgba(64,128,192,0.25), 0 8px 24px rgba(0,0,0,0.5);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent; color: var(--gold-bright);
  border: 1px solid rgba(168,130,42,0.5);
}
.btn-ghost:hover {
  color: var(--gold-light);
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(168,130,42,0.15);
  transform: translateY(-2px);
}

/* ======================================================
   SECTION BASE
   ====================================================== */
section { padding: 6rem 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.5625rem; letter-spacing: 0.5em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--white); letter-spacing: 0.06em;
  margin-bottom: 1rem;
}
.section-sep {
  width: 50px; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 1rem auto;
  opacity: 0.6;
}
.section-desc {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.125rem; color: var(--mist);
  max-width: 560px; margin: 0 auto;
}

/* ======================================================
   PILLARS
   ====================================================== */
.pillars-section {
  background: var(--abyss);
  border-top: 1px solid rgba(168,130,42,0.2);
  border-bottom: 1px solid rgba(168,130,42,0.2);
  position: relative; overflow: hidden;
}
.pillars-section::before {
  content:''; position:absolute; inset:0;
  background: radial-gradient(ellipse at 50% 50%, rgba(19,44,88,0.3) 0%, transparent 70%);
  pointer-events: none;
}

.pillars-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 0;
}

.pillar {
  padding: 3rem 2.5rem; text-align: center;
  border-right: 1px solid rgba(64,128,192,0.1);
  transition: background var(--transition);
  position: relative;
}
.pillar:last-child { border-right: none; }
.pillar:hover { background: rgba(23,54,110,0.15); }

.pillar-icon {
  width: 68px; height: 68px; margin: 0 auto 1.5rem;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(168,130,42,0.4);
  background: rgba(168,130,42,0.04);
  font-size: 1.875rem; color: var(--gold);
  transition: all var(--transition);
}
.pillar:hover .pillar-icon {
  background: rgba(168,130,42,0.1);
  box-shadow: 0 0 25px rgba(168,130,42,0.2);
  transform: rotate(45deg);
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 0.875rem; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--gold-bright);
  margin-bottom: 1rem;
}
.pillar-text {
  font-family: var(--font-serif); font-style: italic;
  font-size: 0.9375rem; color: var(--mist); line-height: 1.8;
}

/* ======================================================
   ABOUT
   ====================================================== */
.about-section { background: var(--midnight); }
.about-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}

.about-text .lead {
  font-family: var(--font-serif);
  font-size: 1.25rem; font-style: italic;
  color: var(--cream); line-height: 1.85;
  margin-bottom: 1.5rem;
}
.about-text p {
  font-size: 0.9375rem; color: var(--mist); line-height: 1.9;
  margin-bottom: 1rem;
}
.about-quote {
  margin-top: 2rem; padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--gold);
  background: rgba(168,130,42,0.04);
  font-family: var(--font-display);
  font-size: 0.6875rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold-bright);
}

.about-visual {
  display: flex; align-items: center; justify-content: center;
  position: relative;
}

.emblem-container {
  width: 340px; height: 340px; position: relative;
  display: flex; align-items: center; justify-content: center;
}

.emblem-ring {
  position: absolute; inset: 0;
  border: 1px solid rgba(168,130,42,0.2);
  border-radius: 50%;
  animation: slow-rotate 60s linear infinite;
}
.emblem-ring-2 {
  position: absolute; inset: 20px;
  border: 1px solid rgba(64,128,192,0.15);
  border-radius: 50%;
  animation: slow-rotate 80s linear infinite reverse;
}

.emblem-main {
  width: 200px; height: 200px;
  opacity: 0.7;
  filter: drop-shadow(0 0 30px rgba(168,130,42,0.3));
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(168,130,42,0.35);
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.06) 0%, rgba(8,12,23,0.2) 100%);
}
.emblem-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.88;
  filter: saturate(0.92) contrast(1.03);
}

/* ======================================================
   NEWS / ARTICLES
   ====================================================== */
.news-section { background: var(--abyss); }
.news-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem;
}

.news-card {
  background: var(--navy-deep);
  border: 1px solid rgba(64,128,192,0.12);
  transition: all var(--transition); position: relative;
  overflow: hidden;
}
.news-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background: linear-gradient(to right, transparent, var(--cobalt), transparent);
  opacity: 0; transition: opacity var(--transition);
}
.news-card:hover {
  border-color: rgba(64,128,192,0.4);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(64,128,192,0.1);
}
.news-card:hover::before { opacity: 1; }

.card-img {
  height: 180px; overflow: hidden;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid rgba(64,128,192,0.1);
  position: relative;
}
.card-img-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: rgba(168,130,42,0.3);
  background: linear-gradient(135deg, var(--navy-deep), var(--cobalt-dark));
}

.card-body { padding: 1.75rem; }
.card-cat {
  font-family: var(--font-display);
  font-size: 0.5rem; letter-spacing: 0.55em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.75rem;
}
.card-title {
  font-family: var(--font-display);
  font-size: 1rem; letter-spacing: 0.04em;
  color: var(--white); margin-bottom: 0.875rem;
  line-height: 1.4;
}
.card-excerpt {
  font-size: 0.875rem; color: var(--mist);
  line-height: 1.75; margin-bottom: 1.25rem;
}
.card-meta {
  display: flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.5rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--dusk);
}
.card-meta-sep { color: var(--gold-deep); opacity: 0.5; }

/* ======================================================
   EVENTS
   ====================================================== */
.events-section { background: var(--midnight); }
.events-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; }

.event-item {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 1.5rem; padding: 1.5rem;
  border: 1px solid rgba(64,128,192,0.1);
  background: var(--navy-deep);
  margin-bottom: 1rem;
  transition: all var(--transition);
}
.event-item:hover {
  border-color: rgba(64,128,192,0.35);
  background: var(--navy);
}

.event-date {
  background: var(--cobalt-dark);
  border: 1px solid rgba(64,128,192,0.2);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 0.5rem;
}
.event-day {
  font-family: var(--font-display);
  font-size: 2rem; line-height: 1; color: var(--gold-bright);
}
.event-month {
  font-family: var(--font-display);
  font-size: 0.5rem; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--mist);
}

.event-info h3 {
  font-family: var(--font-display);
  font-size: 0.9375rem; letter-spacing: 0.06em;
  color: var(--white); margin-bottom: 0.375rem;
}
.event-meta-line {
  font-size: 0.75rem; color: var(--dusk);
  font-family: var(--font-display); letter-spacing: 0.1em;
}

.events-aside {
  background: var(--navy-deep);
  border: 1px solid rgba(64,128,192,0.12);
  padding: 2rem;
}
.aside-title {
  font-family: var(--font-display);
  font-size: 0.5625rem; letter-spacing: 0.45em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.5rem; padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(168,130,42,0.25);
}

/* ======================================================
   QUOTE BAND
   ====================================================== */
.quote-band {
  background: var(--navy-deep);
  border-top: 1px solid rgba(168,130,42,0.25);
  border-bottom: 1px solid rgba(168,130,42,0.25);
  padding: 4rem 0;
  text-align: center; position: relative; overflow: hidden;
}
.quote-band::before {
  content:''; position:absolute; inset:0;
  background: radial-gradient(ellipse at 50% 50%, rgba(19,44,88,0.35) 0%, transparent 70%);
}
.quote-band blockquote {
  position: relative; font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-style: italic;
  color: var(--cream); max-width: 800px; margin: 0 auto; line-height: 1.7;
}
.quote-band blockquote::before {
  content:'"'; font-family: var(--font-display); font-size: 6rem;
  color: rgba(168,130,42,0.2); line-height: 0; position: absolute;
  top: 2rem; left: -3rem;
}
.quote-author {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 0.625rem; letter-spacing: 0.4em;
  text-transform: uppercase; color: var(--gold);
}

/* ======================================================
   FOOTER
   ====================================================== */
footer {
  background: var(--abyss);
  border-top: 1px solid rgba(168,130,42,0.3);
}

.footer-top {
  padding: 4.5rem 0 3rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; max-width: 1200px; margin: 0 auto; padding: 4rem 2rem 3rem;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.125rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--white);
}
.footer-brand-sub {
  font-family: var(--font-serif); font-style: italic;
  font-size: 0.75rem; letter-spacing: 0.2em; color: var(--gold);
}
.footer-brand-desc {
  margin-top: 1rem; font-size: 0.875rem;
  color: var(--dusk); line-height: 1.7;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.5rem; letter-spacing: 0.5em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.25rem; padding-bottom: 0.625rem;
  border-bottom: 1px solid rgba(168,130,42,0.25);
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.625rem; }
.footer-links a {
  font-size: 0.875rem; color: var(--dusk);
  transition: color var(--transition);
  display: flex; align-items: center; gap: 0.5rem;
}
.footer-links a::before {
  content: '—'; font-size: 0.5625rem; color: var(--gold-deep);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--smoke); }
.footer-links a:hover::before { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(168,130,42,0.1);
  padding: 1.25rem 2rem;
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-display);
  font-size: 0.5rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--shadow-clr);
}
.footer-bottom a { color: var(--shadow-clr); }
.footer-bottom a:hover { color: var(--gold); }

/* ======================================================
   MASONIC SVG SYMBOLS
   ====================================================== */
.page-indicator {
  position: fixed; right: 2rem; top: 50%;
  transform: translateY(-50%); z-index: 100;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.page-dot {
  width: 6px; height: 6px; border: 1px solid rgba(168,130,42,0.4);
  cursor: pointer; transition: all var(--transition);
}
.page-dot.active, .page-dot:hover {
  background: var(--gold); border-color: var(--gold);
}

/* Ornamental element */
.ornament {
  display: flex; align-items: center; gap: 1rem; margin: 2rem 0;
}
.ornament::before, .ornament::after {
  content:''; flex:1; height:1px;
  background: linear-gradient(to right, transparent, rgba(168,130,42,0.4), transparent);
}
.ornament span { color: var(--gold); font-size: 0.875rem; opacity: 0.7; }

/* ======================================================
   ENTRY CONTENT
   ====================================================== */
.entry-content { line-height: 1.85; color: var(--smoke); }
.entry-content > * { margin-bottom: 1.1rem; }
.entry-content p { margin-bottom: 1.1rem; }
.entry-content h2, .entry-content h3, .entry-content h4 {
  font-family: var(--font-display);
  color: var(--white);
  line-height: 1.35;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}
.entry-content ul, .entry-content ol {
  margin: 0 0 1.1rem 1.3rem;
}
.entry-content li { margin-bottom: 0.45rem; }
.entry-content blockquote {
  margin: 1.5rem 0;
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--gold);
  background: rgba(168,130,42,0.06);
  color: var(--cream);
  font-style: italic;
}
.entry-content a { text-decoration: underline; text-underline-offset: 2px; }

/* ======================================================
   CONTACT ACCORDION
   ====================================================== */
.contact-section {
  background: var(--abyss);
  border-top: 1px solid rgba(168,130,42,0.2);
  border-bottom: 1px solid rgba(168,130,42,0.2);
}
.contact-accordion {
  max-width: 820px;
  margin: 0 auto;
}
.contact-accordion-toggle {
  width: 100%;
  justify-content: center;
}
.contact-accordion-panel {
  margin-top: 1rem;
  padding: 1.5rem;
  background: var(--navy-deep);
  border: 1px solid rgba(64,128,192,0.2);
}
.contact-form {
  display: grid;
  gap: 1rem;
}
.contact-field label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}
.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid rgba(64,128,192,0.3);
  background: var(--navy);
  color: var(--white);
  padding: 0.7rem 0.8rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.contact-field small {
  display: block;
  margin-top: 0.25rem;
  color: var(--dusk);
  font-size: 0.75rem;
}
.contact-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.contact-notice {
  max-width: 820px;
  margin: 0 auto 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(64,128,192,0.3);
}
.contact-notice-ok {
  border-color: rgba(106,160,216,0.5);
  color: var(--white);
}
.contact-notice-error {
  border-color: rgba(201,160,64,0.6);
  color: var(--cream);
}

/* ======================================================
   RESPONSIVE
   ====================================================== */
@media (max-width: 1024px) {
  .news-grid { grid-template-columns: repeat(2,1fr); }
  .events-layout { grid-template-columns: 1fr; }
  .events-aside { display: none; }
  .about-layout { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  section { padding: 4rem 0; }
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid rgba(64,128,192,0.1); }
  .news-grid { grid-template-columns: 1fr; }
  nav { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .page-indicator { display: none; }
  .hero h1 { font-size: 2.25rem; }
}
