/*
Theme Name:       Savcu Köyü
Theme URI:        https://www.dr-bilisim.com.tr
Author:           Dr. BİLİŞİM
Author URI:       https://www.dr-bilisim.com.tr
Description:      Savcu Köyü (Savcıköy) – Tokat Zile için profesyonel, kurumsal ve tam responsive WordPress teması. SAVDER Derneği tanıtım sitesi. Tailwind CSS tabanlı modern SPA estetiği.
Version:          1.0.0
Requires at least: 6.0
Tested up to:     6.5
Requires PHP:     8.0
License:          GNU General Public License v2 or later
License URI:      https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:      savcu-theme
Tags:             one-page, responsive, custom-menu, featured-images, custom-logo, full-width-template
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
============================================================ */
:root {
  --color-crimson:       #B22222;
  --color-crimson-light: #C8392E;
  --color-crimson-dark:  #8B1A1A;
  --color-crimson-muted: #F5EAEA;
  --color-forest:        #228B22;
  --color-forest-light:  #2EA82E;
  --color-forest-dark:   #1A6B1A;
  --color-forest-muted:  #EAF5EA;
  --color-amber:         #D97706;
  --color-ink:           #1A1A1A;
  --color-mist:          #F8F7F4;
  --color-warm:          #F2EDE6;
  --color-white:         #FFFFFF;
  --nav-height:          72px;
  --font-display:        'Playfair Display', Georgia, serif;
  --font-body:           'Inter', system-ui, sans-serif;
  --transition-base:     0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card:         0 2px 16px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.03);
  --shadow-hover:        0 12px 36px rgba(0,0,0,0.10);
  --radius-card:         16px;
  --radius-lg:           24px;
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-white);
  color: var(--color-ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-base);
}

ul, ol { list-style: none; margin: 0; padding: 0; }
h1,h2,h3,h4,h5,h6 { margin: 0; }
p { margin: 0; }
button { cursor: pointer; border: none; background: none; }

/* ============================================================
   SCROLLBAR
============================================================ */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--color-mist); }
::-webkit-scrollbar-thumb { background: var(--color-crimson); border-radius: 99px; }

/* ============================================================
   TYPOGRAPHY UTILITIES
============================================================ */
.font-display  { font-family: var(--font-display); }
.font-body     { font-family: var(--font-body); }

.text-display-xl {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6.5vw, 5rem);
  font-weight: 900;
  line-height: 1.08;
}
.text-display-lg {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
}
.text-display-md {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
}
.label-eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--font-body);
}

/* ============================================================
   LAYOUT UTILITIES
============================================================ */
.container-site {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
@media (min-width: 640px) {
  .container-site { padding-left: 2rem; padding-right: 2rem; }
}
@media (min-width: 1024px) {
  .container-site { padding-left: 2.5rem; padding-right: 2.5rem; }
}

.section-padding { padding-top: 7rem; padding-bottom: 7rem; }
@media (max-width: 768px) {
  .section-padding { padding-top: 4rem; padding-bottom: 4rem; }
}

/* ============================================================
   SCROLL PROGRESS BAR
============================================================ */
#savcu-progress {
  position: fixed;
  top: 0; left: 0;
  z-index: 9999;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-crimson), var(--color-forest));
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ============================================================
   NAVIGATION
============================================================ */
#savcu-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
#savcu-navbar.is-scrolled {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(0,0,0,0.07);
  border-bottom-color: rgba(0,0,0,0.05);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.nav-logo img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
}
.nav-logo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  color: #fff;
  transition: color var(--transition-base);
  line-height: 1.2;
}
.nav-logo-sub {
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition-base);
  display: block;
}
#savcu-navbar.is-scrolled .nav-logo-name { color: var(--color-ink); }
#savcu-navbar.is-scrolled .nav-logo-sub  { color: #999; }

/* Desktop menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-menu li a {
  position: relative;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  padding-bottom: 2px;
  transition: color var(--transition-base);
}
.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1.5px;
  background: var(--color-crimson);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-menu li a:hover { color: var(--color-crimson); }
.nav-menu li a:hover::after,
.nav-menu li a.current { transform: scaleX(1); }
#savcu-navbar.is-scrolled .nav-menu li a { color: #555; }

/* CTA button in nav */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff !important;
  transition: background var(--transition-base), border-color var(--transition-base), color var(--transition-base) !important;
}
.nav-cta:hover { background: rgba(255,255,255,0.15); }
#savcu-navbar.is-scrolled .nav-cta {
  border-color: var(--color-crimson);
  color: var(--color-crimson) !important;
}
#savcu-navbar.is-scrolled .nav-cta:hover {
  background: var(--color-crimson);
  color: #fff !important;
}

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
  transform-origin: center;
}
#savcu-navbar.is-scrolled .nav-burger span { background: var(--color-ink); }
.nav-burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav-burger.is-open span { background: var(--color-ink) !important; }

@media (max-width: 767px) {
  .nav-menu { display: none; }
  .nav-burger { display: flex; }
}

/* Mobile overlay */
#savcu-mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
#savcu-mobile-nav.is-open {
  opacity: 1;
  pointer-events: all;
}
.mobile-close-btn {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  font-size: 1.5rem;
  color: var(--color-ink);
  background: none; border: none;
  cursor: pointer;
}
.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-ink);
  transition: color var(--transition-base);
  text-decoration: none;
}
.mobile-nav-link:hover { color: var(--color-crimson); }

/* ============================================================
   BACK TO TOP BUTTON
============================================================ */
#back-to-top {
  position: fixed;
  bottom: 2rem; right: 1.5rem;
  z-index: 500;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-crimson);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(178,34,34,0.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  border: none;
  cursor: pointer;
}
#back-to-top.is-visible { opacity: 1; pointer-events: all; transform: none; }
#back-to-top:hover { background: var(--color-forest); }

/* ============================================================
   HERO SECTION
============================================================ */
.hero-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg-layer {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(165deg, rgba(26,26,26,0.72) 0%, rgba(34,139,34,0.35) 55%, rgba(178,34,34,0.45) 100%),
    url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1920&q=85&auto=format&fit=crop') center/cover no-repeat;
}
.hero-bg-layer::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  opacity: 0.45;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.hero-badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
  animation: fadeUp 0.7s 0.2s both ease-out;
}
.hero-badge {
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 9999px;
  padding: 0.4rem 1.1rem;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
}
.hero-heading {
  animation: fadeUp 0.7s 0.4s both ease-out;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.3);
  margin-bottom: 1.5rem;
}
.hero-heading em { color: #D4E8B0; font-style: italic; }
.hero-subtext {
  animation: fadeUp 0.7s 0.6s both ease-out;
  color: rgba(255,255,255,0.8);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 600px;
}
.hero-pills {
  animation: fadeUp 0.7s 0.8s both ease-out;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.hero-pill {
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 99px;
  padding: 0.4rem 1rem;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
  display: flex; align-items: center; gap: 0.4rem;
}
.hero-actions {
  animation: fadeUp 0.7s 1s both ease-out;
  display: flex; flex-wrap: wrap; gap: 1rem;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 99px;
  background: var(--color-crimson);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: 0 4px 20px rgba(178,34,34,0.45);
  transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(178,34,34,0.5);
  background: var(--color-crimson-light);
  color: #fff;
}
.btn-outline-white {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 99px;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: #fff;
  font-weight: 500;
  font-size: 0.875rem;
  backdrop-filter: blur(8px);
  background: transparent;
  transition: background var(--transition-base), border-color var(--transition-base);
  text-decoration: none;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.12); color: #fff; }
.hero-scroll-hint {
  position: absolute;
  bottom: 3rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero-mask {
  position: absolute; bottom: -1px; left: 0; right: 0;
  height: 100px;
  background: #fff;
  clip-path: polygon(0 60%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 2;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   SECTION COMMONS
============================================================ */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header.left { text-align: left; }
.section-header p.label-eyebrow { margin-bottom: 0.75rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header .section-lead {
  color: #666;
  font-size: 0.9375rem;
  line-height: 1.75;
  max-width: 560px;
  margin-left: auto; margin-right: auto;
}
.section-header.left .section-lead { margin-left: 0; }

.divider-ornament {
  display: flex; align-items: center; gap: 1rem;
  color: var(--color-crimson);
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 2rem;
}
.divider-ornament::before,
.divider-ornament::after {
  content: '';
  flex: 1; height: 1px;
  background: currentColor;
  opacity: 0.22;
}

/* ============================================================
   CARDS
============================================================ */
.card {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card-top-accent { position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.card-body { padding: 1.75rem 1.5rem; }

.stat-card { background: #fff; border-radius: var(--radius-card); padding: 1.75rem 1.5rem; box-shadow: var(--shadow-card); transition: transform 0.25s ease, box-shadow 0.25s ease; position: relative; overflow: hidden; }
.stat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--color-crimson); }
.stat-card.green::before { background: var(--color-forest); }
.stat-card.amber::before { background: var(--color-amber); }
.stat-card.blue::before  { background: #3B82F6; }
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.stat-card-inner { display: flex; align-items: center; gap: 1rem; }
.stat-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; }
.stat-label { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.25rem; }
.stat-value { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--color-ink); line-height: 1.1; }
.stat-value small { font-size: 0.9rem; font-weight: 400; color: #888; font-family: var(--font-body); }

/* Feature card */
.feat-card { background: #fff; border-radius: 14px; padding: 1.5rem; border: 1.5px solid rgba(0,0,0,0.05); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.feat-card:hover { border-color: var(--color-forest); box-shadow: 0 0 0 1px var(--color-forest), 0 8px 28px rgba(34,139,34,0.10); }
.feat-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; color: #fff; margin-bottom: 1rem; }

/* ============================================================
   TIMELINE (History)
============================================================ */
.timeline { position: relative; padding-left: 2.5rem; }
.timeline-line { position: absolute; left: 7px; top: 8px; bottom: 0; width: 1.5px; background: linear-gradient(to bottom, var(--color-crimson), var(--color-forest), transparent); }
.timeline-item { position: relative; margin-bottom: 2.25rem; }
.timeline-dot { position: absolute; left: -2.05rem; top: 4px; width: 15px; height: 15px; border-radius: 50%; border: 2px solid var(--color-crimson); background: #fff; transition: background 0.2s; z-index: 1; }
.timeline-item:hover .timeline-dot { background: var(--color-crimson); }
.timeline-item.green .timeline-dot { border-color: var(--color-forest); }
.timeline-item.green:hover .timeline-dot { background: var(--color-forest); }
.timeline-item.amber .timeline-dot { border-color: var(--color-amber); }
.timeline-item.amber:hover .timeline-dot { background: var(--color-amber); }
.timeline-time { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-crimson); display: block; margin-bottom: 0.25rem; }
.timeline-item.green .timeline-time { color: var(--color-forest); }
.timeline-item.amber .timeline-time { color: var(--color-amber); }
.timeline-title { font-weight: 600; font-size: 1rem; color: var(--color-ink); margin-bottom: 0.5rem; }
.timeline-body { font-size: 0.875rem; color: #666; line-height: 1.7; }

/* ============================================================
   POPULATION CHART
============================================================ */
.pop-bar-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.pop-year { font-size: 0.75rem; font-weight: 600; color: #777; width: 2.5rem; flex-shrink: 0; }
.pop-track { flex: 1; height: 10px; border-radius: 99px; background: #EBEBEB; overflow: hidden; }
.pop-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--color-crimson), var(--color-forest)); width: 0; transition: width 1.4s cubic-bezier(0.16,1,0.3,1); }
.pop-val { font-size: 0.75rem; font-weight: 700; color: var(--color-ink); width: 2rem; text-align: right; flex-shrink: 0; }

/* ============================================================
   DATA TABLE
============================================================ */
.data-table-wrap { border-radius: var(--radius-card); overflow: hidden; border: 1px solid #F0EBE3; box-shadow: var(--shadow-card); }
.data-table { width: 100%; border-collapse: collapse; }
.data-table thead th { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #888; padding: 0.875rem 1rem; background: var(--color-mist); border-bottom: 1px solid #E8E3DC; text-align: left; }
.data-table thead th:not(:first-child) { text-align: right; }
.data-table tbody tr { border-bottom: 1px solid #F0EBE3; transition: background 0.15s; }
.data-table tbody tr:last-child { border-bottom: none; }
.data-table tbody tr:hover { background: var(--color-mist); }
.data-table tbody td { padding: 0.9rem 1rem; font-size: 0.9rem; }
.data-table tbody td:not(:first-child) { text-align: right; }
.data-table tbody tr.highlight-row { background: rgba(255,244,220,0.5); }
.data-table tbody tr.highlight-row:hover { background: rgba(255,244,220,0.8); }
.change-neg { color: #DC2626; font-size: 0.75rem; }

/* ============================================================
   SAVDER SECTION
============================================================ */
.savder-section {
  background:
    radial-gradient(ellipse at 80% 50%, rgba(34,139,34,0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(178,34,34,0.06) 0%, transparent 50%),
    var(--color-mist);
}
.savder-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.savder-logo-glow {
  position: relative;
  display: inline-block;
}
.savder-logo-glow::before {
  content: '';
  position: absolute;
  inset: -20%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-forest), var(--color-crimson));
  opacity: 0.12;
  filter: blur(24px);
}
.savder-logo-glow img { position: relative; width: 180px; height: 180px; object-fit: contain; filter: drop-shadow(0 8px 24px rgba(0,0,0,0.15)); }

/* ============================================================
   MAP SECTION
============================================================ */
.map-frame { border-radius: 18px; overflow: hidden; box-shadow: 0 4px 32px rgba(0,0,0,0.12); border: 3px solid #fff; }
.map-frame iframe { display: block; }

/* ============================================================
   PULL QUOTE
============================================================ */
.pull-quote {
  border-left: 3px solid var(--color-crimson);
  padding: 0.5rem 0 0.5rem 1.25rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.125rem;
  color: #555;
  line-height: 1.65;
  margin: 1.5rem 0;
}

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: var(--color-ink);
  color: rgba(255,255,255,0.5);
  padding-top: 3.5rem;
  padding-bottom: 2rem;
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
@media (min-width: 640px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer-brand-name { font-family: var(--font-display); font-size: 1.25rem; color: #fff; font-weight: 700; }
.footer-brand-sub { font-size: 0.625rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.3); }
.footer-brand-logo { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.footer-brand-logo img { height: 40px; width: 40px; object-fit: contain; }
.footer-brand-desc { font-size: 0.875rem; line-height: 1.7; color: rgba(255,255,255,0.45); }
.footer-col-title { color: #fff; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links li a { font-size: 0.875rem; color: rgba(255,255,255,0.45); transition: color var(--transition-base); }
.footer-links li a:hover { color: #fff; }
.footer-info li { font-size: 0.875rem; color: rgba(255,255,255,0.45); margin-bottom: 0.6rem; display: flex; align-items: flex-start; gap: 0.5rem; }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.07); margin: 0 0 1.5rem; }
.footer-bottom { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; text-align: center; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.25); }
.footer-credit { font-size: 0.75rem; color: rgba(255,255,255,0.4); }
.footer-credit a { color: rgba(255,255,255,0.6); transition: color var(--transition-base); }
.footer-credit a:hover { color: #fff; text-decoration: underline; }

/* ============================================================
   HIGHLIGHT BADGES (stats row)
============================================================ */
.badge-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hl-badge { padding: 0.625rem 1.1rem; border-radius: 10px; text-align: center; }
.hl-badge-val { font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; line-height: 1; }
.hl-badge-label { font-size: 0.625rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.25rem; color: #888; }

/* ============================================================
   SCROLL REVEAL
============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-left  { opacity: 0; transform: translateX(-22px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal-left.in { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(22px);  transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal-right.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }
.d5 { transition-delay: 0.40s; }

/* ============================================================
   WORDPRESS NATIVE CLASSES (required)
============================================================ */
.alignleft   { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright  { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; margin-bottom: 1rem; }
.alignwide   { width: 100%; }
.alignfull   { width: 100vw; margin-left: calc(-50vw + 50%); }
.wp-caption  { max-width: 100%; }
.wp-caption-text { font-size: 0.8125rem; color: #888; margin-top: 0.5rem; text-align: center; }
.sticky      { /* handled by theme */ }
.bypostauthor { /* handled by theme */ }

/* ============================================================
   RESPONSIVE GRIDS
============================================================ */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.grid-5-2 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-2   { grid-template-columns: repeat(2, 1fr); gap: 5rem; }
  .grid-3   { grid-template-columns: repeat(3, 1fr); }
  .grid-4   { grid-template-columns: repeat(4, 1fr); }
  .grid-5-2 { grid-template-columns: 2fr 3fr; gap: 3rem; }
  .grid-5-2-rev { grid-template-columns: 3fr 2fr; }
}

/* ============================================================
   MEDIA QUERY HELPERS
============================================================ */
@media (max-width: 1023px) {
  .hide-mobile { display: none !important; }
}
@media (min-width: 1024px) {
  .hide-desktop { display: none !important; }
}
