/* =====================================================================
   GHANA PSYCHOLOGY COUNCIL — Design System
   Built around the logo: royal purple Ψ + warm gold medallion
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700;9..144,800&family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Brand */
  --gpc-purple: #4B1F8A;
  --gpc-purple-dark: #2E1259;
  --gpc-purple-deep: #1A0A3D;
  --gpc-gold: #D4A017;
  --gpc-gold-light: #E8B83A;
  --gpc-gold-dark: #A87A0F;
  --gpc-ivory: #FAF7F0;
  --gpc-cream: #F4EFE3;
  --gpc-charcoal: #1A1625;
  --gpc-text: #2A2235;
  --gpc-mute: #6B6478;
  --gpc-line: #E5DFD3;
  --gpc-white: #FFFFFF;
  --gpc-success: #2E7D32;
  --gpc-danger: #C62828;

  /* Type */
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  /* Layout */
  --container: 1240px;
  --radius: 4px;
  --radius-lg: 12px;
  --shadow-sm: 0 2px 8px rgba(26, 10, 61, 0.06);
  --shadow-md: 0 8px 24px rgba(26, 10, 61, 0.10);
  --shadow-lg: 0 20px 50px rgba(26, 10, 61, 0.18);
  --transition: 0.3s cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--gpc-text);
  background: var(--gpc-ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gpc-purple); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gpc-gold-dark); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--gpc-charcoal);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 4vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- TOP UTILITY BAR ---------- */
.topbar {
  background: var(--gpc-purple-deep);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  padding: 8px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar a { color: rgba(255, 255, 255, 0.85); }
.topbar a:hover { color: var(--gpc-gold-light); }
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-info span::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; background-size: contain; background-repeat: no-repeat; }
.topbar-info .ico-phone::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23E8B83A'%3E%3Cpath d='M20 15.5c-1.2 0-2.4-.2-3.6-.6-.3-.1-.7 0-1 .2l-2.2 2.2c-2.8-1.4-5.1-3.8-6.6-6.6l2.2-2.2c.3-.3.4-.7.2-1-.4-1.1-.6-2.3-.6-3.5 0-.6-.4-1-1-1H4c-.6 0-1 .4-1 1 0 9.4 7.6 17 17 17 .6 0 1-.4 1-1v-3.5c0-.6-.4-1-1-1z'/%3E%3C/svg%3E"); }
.topbar-info .ico-mail::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23E8B83A'%3E%3Cpath d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E"); }
.topbar-info .ico-clock::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23E8B83A'%3E%3Cpath d='M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm4.2 14.2L11 13V7h1.5v5.2l4.5 2.7-.8 1.3z'/%3E%3C/svg%3E"); }
.topbar-social { display: flex; gap: 14px; }
.topbar-social a {
  width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.08); transition: all var(--transition);
}
.topbar-social a:hover { background: var(--gpc-gold); }
.topbar-social svg { width: 14px; height: 14px; fill: rgba(255, 255, 255, 0.85); }
.topbar-social a:hover svg { fill: var(--gpc-purple-deep); }

/* ---------- HEADER NAV ---------- */
.header {
  background: var(--gpc-white);
  box-shadow: var(--shadow-sm);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 56px; width: auto; }
.brand-text { line-height: 1.1; }
.brand-text .country { font-family: var(--font-display); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.25em; color: var(--gpc-gold-dark); text-transform: uppercase; }
.brand-text .title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--gpc-purple-dark); }

/* nav */
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 14px 14px;
  font-weight: 600; font-size: 0.92rem;
  color: var(--gpc-charcoal);
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}
.nav-link.has-sub::after {
  content: ""; width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); margin-bottom: 3px;
  transition: transform var(--transition);
}
.nav-item:hover .nav-link, .nav-link.active { color: var(--gpc-purple); border-bottom-color: var(--gpc-gold); }
.nav-item:hover .nav-link.has-sub::after { transform: rotate(225deg); margin-bottom: -3px; }

.submenu {
  position: absolute; top: 100%; left: 0;
  min-width: 260px; background: var(--gpc-white);
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--gpc-gold);
  padding: 10px 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all var(--transition);
}
.nav-item:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a {
  display: block; padding: 10px 22px;
  color: var(--gpc-text); font-size: 0.9rem; font-weight: 500;
  border-left: 3px solid transparent;
}
.submenu a:hover { background: var(--gpc-ivory); border-left-color: var(--gpc-purple); color: var(--gpc-purple); padding-left: 28px; }

.nav-cta { margin-left: 12px; }

/* hamburger */
.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.menu-toggle span {
  display: block; width: 24px; height: 2px; background: var(--gpc-purple-dark);
  transition: all var(--transition);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px;
  font-weight: 600; font-size: 0.92rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  transition: all var(--transition);
  text-transform: uppercase;
  border: 2px solid transparent;
}
.btn-primary { background: var(--gpc-gold); color: var(--gpc-purple-deep); }
.btn-primary:hover { background: var(--gpc-purple); color: var(--gpc-white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--gpc-white); border-color: var(--gpc-white); }
.btn-outline:hover { background: var(--gpc-white); color: var(--gpc-purple-dark); }
.btn-purple { background: var(--gpc-purple); color: var(--gpc-white); }
.btn-purple:hover { background: var(--gpc-purple-dark); color: var(--gpc-gold-light); }
.btn-sm { padding: 9px 18px; font-size: 0.82rem; }

/* ---------- HERO SLIDER (home) ---------- */
.hero {
  position: relative; height: clamp(420px, 70vh, 640px);
  overflow: hidden; background: var(--gpc-purple-deep);
}
.slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease;
}
.slide.active { opacity: 1; }
.slide::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(26, 10, 61, 0.92) 0%, rgba(75, 31, 138, 0.75) 45%, rgba(26, 10, 61, 0.4) 100%);
}
.slide-content {
  position: relative; z-index: 2;
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; flex-direction: column; justify-content: center;
  color: var(--gpc-white); max-width: 760px;
}
.slide-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--gpc-gold-light);
  margin-bottom: 22px;
}
.slide-eyebrow::before { content: ""; width: 40px; height: 2px; background: var(--gpc-gold); }
.slide h1 {
  color: var(--gpc-white); font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 600; margin-bottom: 18px;
}
.slide h1 em { font-style: italic; color: var(--gpc-gold-light); font-weight: 400; }
.slide-text { font-size: 1.05rem; opacity: 0.92; margin-bottom: 28px; max-width: 580px; }
.slide-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.slider-controls {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; gap: 10px;
}
.slider-controls button {
  width: 36px; height: 4px; background: rgba(255, 255, 255, 0.3);
  border-radius: 2px; transition: all var(--transition);
}
.slider-controls button.active { background: var(--gpc-gold); width: 54px; }

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--gpc-purple-deep) 0%, var(--gpc-purple) 100%);
  color: var(--gpc-white);
  padding: 70px 0 60px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; right: -100px; top: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, var(--gpc-gold) 0%, transparent 70%);
  opacity: 0.18;
}
.page-hero::after {
  content: "Ψ"; position: absolute; right: -40px; bottom: -80px;
  font-family: var(--font-display); font-size: 28rem;
  color: rgba(255, 255, 255, 0.05); line-height: 1; font-weight: 700;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--gpc-white); margin-bottom: 14px; }
.breadcrumb { display: flex; gap: 8px; font-size: 0.85rem; opacity: 0.85; }
.breadcrumb a { color: var(--gpc-gold-light); }
.breadcrumb span::before { content: "›"; margin-right: 8px; color: var(--gpc-gold-light); }

/* ---------- SECTIONS ---------- */
section { padding: 80px 0; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--gpc-gold-dark);
  margin-bottom: 16px;
}
.section-eyebrow::before { content: ""; width: 36px; height: 2px; background: var(--gpc-gold); }
.section-title { margin-bottom: 20px; }
.section-intro { color: var(--gpc-mute); font-size: 1.05rem; max-width: 700px; margin-bottom: 50px; }

/* ---------- ABOUT (home) ---------- */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.about-img { position: relative; }
.about-img img { border-radius: 8px; box-shadow: var(--shadow-lg); }
.about-img::before {
  content: ""; position: absolute; top: -20px; left: -20px;
  width: 100%; height: 100%; border: 3px solid var(--gpc-gold);
  border-radius: 8px; z-index: -1;
}
.about-img-badge {
  position: absolute; bottom: -28px; right: -28px;
  background: var(--gpc-purple); color: var(--gpc-white);
  padding: 22px 28px; border-radius: 8px; box-shadow: var(--shadow-lg);
}
.about-img-badge strong { font-family: var(--font-display); font-size: 2.2rem; color: var(--gpc-gold-light); display: block; line-height: 1; }
.about-img-badge span { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; }
.about-content p { font-size: 1.02rem; }

/* ---------- MANDATES (numbered list) ---------- */
.mandates { background: var(--gpc-white); }
.mandate-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 40px; }
.mandate {
  display: flex; gap: 22px; padding: 30px;
  background: var(--gpc-ivory); border-left: 4px solid var(--gpc-gold);
  border-radius: 0 6px 6px 0;
  transition: all var(--transition);
}
.mandate:hover { transform: translateX(6px); background: var(--gpc-cream); }
.mandate-num {
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 700;
  color: var(--gpc-purple); line-height: 1; min-width: 60px;
}
.mandate p { font-size: 0.96rem; color: var(--gpc-text); margin: 0; }

/* ---------- SERVICES / CATEGORIES CARDS ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card {
  background: var(--gpc-white); padding: 36px 28px;
  border-radius: 6px; border: 1px solid var(--gpc-line);
  position: relative; overflow: hidden;
  transition: all var(--transition);
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 100%; height: 4px; background: var(--gpc-gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--gpc-ivory); display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px; color: var(--gpc-purple);
}
.card-icon svg { width: 28px; height: 28px; fill: currentColor; }
.card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.card p { color: var(--gpc-mute); font-size: 0.92rem; margin-bottom: 18px; }
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--gpc-purple); font-weight: 600; font-size: 0.88rem;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.card-link::after { content: "→"; transition: transform var(--transition); }
.card:hover .card-link::after { transform: translateX(4px); }

/* ---------- REGISTRAR / CEO ---------- */
.registrar { background: linear-gradient(120deg, var(--gpc-ivory) 0%, var(--gpc-cream) 100%); }
.registrar-grid { display: grid; grid-template-columns: 380px 1fr; gap: 60px; align-items: center; }
.registrar-photo { position: relative; }
.registrar-photo img { border-radius: 8px; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; }
.registrar-photo::before {
  content: ""; position: absolute; inset: -16px -16px auto auto;
  width: 70%; height: 70%; border: 3px solid var(--gpc-gold); border-radius: 8px;
  z-index: -1;
}
.registrar-content .quote { font-family: var(--font-display); font-size: 1.35rem; font-style: italic; color: var(--gpc-purple-dark); line-height: 1.5; margin-bottom: 24px; border-left: 4px solid var(--gpc-gold); padding-left: 22px; }
.registrar-name { font-family: var(--font-display); font-size: 1.6rem; color: var(--gpc-charcoal); margin-bottom: 4px; }
.registrar-title { color: var(--gpc-gold-dark); font-weight: 600; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.15em; }

/* ---------- STATS ---------- */
.stats {
  background: var(--gpc-purple-deep); color: var(--gpc-white);
  padding: 60px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat strong {
  font-family: var(--font-display); font-size: 3.4rem; font-weight: 600;
  color: var(--gpc-gold-light); display: block; line-height: 1;
}
.stat span { font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.12em; opacity: 0.85; margin-top: 8px; display: block; }

/* ---------- CTA STRIP ---------- */
.cta-strip {
  background: linear-gradient(120deg, var(--gpc-purple) 0%, var(--gpc-purple-deep) 100%);
  color: var(--gpc-white); padding: 60px 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-strip::before {
  content: ""; position: absolute; left: -50px; top: 50%; transform: translateY(-50%);
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, var(--gpc-gold) 0%, transparent 70%);
  opacity: 0.15;
}
.cta-strip h2 { color: var(--gpc-white); margin-bottom: 14px; }
.cta-strip p { opacity: 0.9; max-width: 600px; margin: 0 auto 28px; }

/* ---------- ACCORDION (FAQ) ---------- */
.accordion { max-width: 880px; margin: 0 auto; }
.accordion-item { border-bottom: 1px solid var(--gpc-line); background: var(--gpc-white); margin-bottom: 12px; border-radius: 6px; box-shadow: var(--shadow-sm); }
.accordion-trigger {
  width: 100%; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between;
  text-align: left; font-family: var(--font-display); font-size: 1.1rem; font-weight: 600;
  color: var(--gpc-charcoal); cursor: pointer;
}
.accordion-trigger .icon {
  width: 32px; height: 32px; border-radius: 50%; background: var(--gpc-ivory);
  display: flex; align-items: center; justify-content: center;
  color: var(--gpc-purple); flex-shrink: 0; transition: all var(--transition);
}
.accordion-trigger .icon::before { content: "+"; font-size: 1.4rem; font-weight: 400; }
.accordion-item.open .accordion-trigger .icon { background: var(--gpc-purple); color: var(--gpc-white); transform: rotate(45deg); }
.accordion-body {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
  padding: 0 26px;
}
.accordion-item.open .accordion-body { max-height: 600px; padding: 0 26px 26px; }
.accordion-body p { color: var(--gpc-mute); margin: 0; }

/* ---------- DOWNLOADS / TABLE ---------- */
.download-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.download-card {
  background: var(--gpc-white); padding: 24px; border-radius: 6px;
  border: 1px solid var(--gpc-line); display: flex; gap: 18px; align-items: center;
  transition: all var(--transition);
}
.download-card:hover { border-color: var(--gpc-gold); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.download-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  background: var(--gpc-purple); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}
.download-icon svg { width: 26px; height: 26px; fill: var(--gpc-gold-light); }
.download-info h4 { margin-bottom: 4px; font-size: 1rem; }
.download-info p { color: var(--gpc-mute); font-size: 0.82rem; margin: 0; }
.download-info a { display: inline-block; margin-top: 6px; font-weight: 600; font-size: 0.82rem; text-transform: uppercase; color: var(--gpc-purple); }
.download-info a:hover { color: var(--gpc-gold-dark); }

/* ---------- TABBED INTERFACE ---------- */
.tabs { background: var(--gpc-white); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-sm); }
.tab-nav {
  display: flex; flex-wrap: wrap; background: var(--gpc-ivory);
  border-bottom: 1px solid var(--gpc-line);
}
.tab-nav button {
  flex: 1; min-width: 160px; padding: 18px 20px;
  font-weight: 600; font-size: 0.9rem; color: var(--gpc-mute);
  border-bottom: 3px solid transparent; transition: all var(--transition);
  text-align: left;
}
.tab-nav button.active { color: var(--gpc-purple); background: var(--gpc-white); border-bottom-color: var(--gpc-gold); }
.tab-nav button:hover:not(.active) { color: var(--gpc-purple-dark); }
.tab-content { padding: 36px; }
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.tab-pane h3 { margin-bottom: 16px; color: var(--gpc-purple-dark); }
.tab-pane ul { padding-left: 0; }
.tab-pane li { padding: 8px 0 8px 28px; position: relative; }
.tab-pane li::before { content: "✓"; position: absolute; left: 0; color: var(--gpc-gold); font-weight: 700; }

/* ---------- GALLERY ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.gallery-item {
  position: relative; overflow: hidden; border-radius: 6px; aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26, 10, 61, 0.7) 0%, transparent 60%);
  opacity: 0; transition: opacity var(--transition);
}
.gallery-item:hover::after { opacity: 1; }

/* ---------- FORM ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 8px; color: var(--gpc-charcoal); }
.form-control {
  width: 100%; padding: 14px 18px; font-family: inherit; font-size: 0.95rem;
  border: 1.5px solid var(--gpc-line); border-radius: 6px;
  background: var(--gpc-white); transition: all var(--transition);
}
.form-control:focus { outline: none; border-color: var(--gpc-purple); box-shadow: 0 0 0 3px rgba(75, 31, 138, 0.12); }
textarea.form-control { resize: vertical; min-height: 140px; }

/* contact info card */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; }
.contact-info { background: var(--gpc-purple-deep); color: var(--gpc-white); padding: 40px; border-radius: 8px; }
.contact-info h3 { color: var(--gpc-white); margin-bottom: 24px; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.contact-info-item .ico {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(232, 184, 58, 0.15); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.contact-info-item .ico svg { width: 18px; height: 18px; fill: var(--gpc-gold-light); }
.contact-info-item strong { display: block; color: var(--gpc-gold-light); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }

/* ---------- LOGIN PAGE ---------- */
.login-wrapper { min-height: 70vh; display: flex; align-items: center; padding: 60px 0; }
.login-card {
  max-width: 460px; margin: 0 auto; width: 100%;
  background: var(--gpc-white); padding: 50px 44px;
  border-radius: 8px; box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--gpc-gold);
}
.login-card h2 { text-align: center; margin-bottom: 8px; }
.login-card .subtitle { text-align: center; color: var(--gpc-mute); margin-bottom: 32px; font-size: 0.95rem; }
.login-card .btn { width: 100%; justify-content: center; }
.login-meta { display: flex; justify-content: space-between; align-items: center; margin: 18px 0 24px; font-size: 0.86rem; }
.login-meta a { color: var(--gpc-purple); font-weight: 600; }

/* ---------- PROSE (article-style content) ---------- */
.prose { max-width: 880px; margin: 0 auto; }
.prose p { font-size: 1.02rem; margin-bottom: 1.2em; color: var(--gpc-text); }
.prose h2 { margin: 1.6em 0 0.6em; }
.prose h3 { margin: 1.4em 0 0.4em; color: var(--gpc-purple-dark); }
.prose ul { margin: 1em 0; padding-left: 0; }
.prose ul li { padding: 6px 0 6px 28px; position: relative; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 16px; width: 14px; height: 2px; background: var(--gpc-gold); }
.prose strong { color: var(--gpc-purple-dark); }
.callout {
  background: var(--gpc-cream); border-left: 4px solid var(--gpc-gold);
  padding: 24px 28px; border-radius: 0 6px 6px 0; margin: 28px 0;
}
.callout strong { display: block; color: var(--gpc-purple-dark); margin-bottom: 8px; font-family: var(--font-display); font-size: 1.1rem; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--gpc-purple-deep); color: rgba(255, 255, 255, 0.8);
  padding: 70px 0 0; position: relative;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer h4 { color: var(--gpc-gold-light); font-size: 1.05rem; margin-bottom: 22px; font-family: var(--font-display); }
.footer ul li { margin-bottom: 10px; font-size: 0.92rem; }
.footer a { color: rgba(255, 255, 255, 0.75); }
.footer a:hover { color: var(--gpc-gold-light); padding-left: 4px; }
.footer .brand-text .title { color: var(--gpc-white); }
.footer-brand p { font-size: 0.9rem; opacity: 0.85; margin-top: 18px; line-height: 1.7; }
.newsletter { display: flex; gap: 8px; margin-top: 14px; }
.newsletter input { flex: 1; padding: 12px 16px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.06); color: var(--gpc-white); font-family: inherit; font-size: 0.88rem; }
.newsletter input::placeholder { color: rgba(255, 255, 255, 0.5); }
.newsletter button { padding: 0 18px; background: var(--gpc-gold); color: var(--gpc-purple-deep); border-radius: 6px; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 0.85rem;
}

/* ---------- ANIMATIONS ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: all 0.8s cubic-bezier(.4, 0, .2, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .registrar-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .registrar-photo { max-width: 360px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .mandate-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
  .menu-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav-list {
    position: fixed; top: 0; right: -100%; height: 100vh; width: 320px; max-width: 86vw;
    background: var(--gpc-white); flex-direction: column; align-items: stretch; gap: 0;
    padding: 80px 0 40px; box-shadow: var(--shadow-lg);
    transition: right var(--transition); overflow-y: auto;
  }
  .nav-list.open { right: 0; }
  .nav-item { width: 100%; border-bottom: 1px solid var(--gpc-line); }
  .nav-link { padding: 16px 24px; width: 100%; border-bottom: none; }
  .submenu {
    position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none;
    max-height: 0; overflow: hidden; padding: 0; border-top: 0;
    background: var(--gpc-ivory);
    transition: max-height 0.4s ease;
  }
  .nav-item.open-mobile .submenu { max-height: 500px; padding: 10px 0; }
  .topbar .container { font-size: 0.78rem; justify-content: center; }
  .topbar-social { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat strong { font-size: 2.4rem; }
  .brand-text .title { font-size: 0.95rem; }
  .brand-text .country { font-size: 0.62rem; }
  .brand img { height: 44px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .slide-cta { flex-direction: column; align-items: stretch; }
  .slide-cta .btn { justify-content: center; }
}
