/* ============================================
   XIVOZU ZOHUBA - Main Stylesheet
   Textured Modern Design System
============================================ */


:root {
  --color-bg: #F5F0E8;
  --color-surface: #FDFAF4;
  --color-primary: #2C1A0E;
  --color-secondary: #7C4A1E;
  --color-accent: #C4752A;
  --color-accent-warm: #E8943A;
  --color-muted: #8B7355;
  --color-text: #1E1208;
  --color-text-light: #5C4A32;
  --color-border: #D4C4A8;
  --color-white-tinted: #FDFAF4;

  --gradient-hero: linear-gradient(135deg, #2C1A0E 0%, #5C2E0A 40%, #7C4A1E 100%);
  --gradient-accent: linear-gradient(135deg, #C4752A 0%, #E8943A 100%);
  --gradient-warm: linear-gradient(160deg, #3D2210 0%, #6B3515 60%, #9B5522 100%);
  --gradient-surface: linear-gradient(180deg, #F5F0E8 0%, #EDE5D4 100%);

  --shadow-sm: 0 2px 8px rgba(44,26,14,0.08), 0 1px 3px rgba(44,26,14,0.12);
  --shadow-md: 0 8px 24px rgba(44,26,14,0.12), 0 3px 8px rgba(44,26,14,0.08);
  --shadow-lg: 0 20px 60px rgba(44,26,14,0.18), 0 8px 20px rgba(44,26,14,0.10);
  --shadow-accent: 0 8px 32px rgba(196,117,42,0.30), 0 2px 8px rgba(196,117,42,0.20);
  --shadow-card: 0 4px 16px rgba(44,26,14,0.08), 0 1px 4px rgba(44,26,14,0.06), inset 0 1px 0 rgba(255,255,255,0.6);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;

  --max-width: 1280px;
  --content-width: 820px;
}


*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Work Sans', sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

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

a {
  color: inherit;
  text-decoration: none;
}


.home-hero__noise,
.inner-hero__noise,
.home-cta-strip__noise,
.thanks-hero__noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  mix-blend-mode: overlay;
}


h1, h2, h3, h4, h5 {
  font-family: 'Outfit', sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

p:last-child { margin-bottom: 0; }


.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  background: var(--gradient-accent);
  color: #fff;
  font-family: 'Work Sans', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: box-shadow 0.25s ease, transform 0.2s ease, filter 0.25s ease;
  box-shadow: var(--shadow-accent);
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
}

.btn-primary:hover {
  box-shadow: 0 12px 40px rgba(196,117,42,0.40), 0 4px 12px rgba(196,117,42,0.25);
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  background: rgba(253,250,244,0.12);
  color: #F5F0E8;
  font-family: 'Work Sans', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(253,250,244,0.3);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
  text-decoration: none;
  min-height: 44px;
}

.btn-ghost:hover {
  background: rgba(253,250,244,0.2);
  border-color: rgba(253,250,244,0.5);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: var(--color-accent);
  font-family: 'Work Sans', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--color-accent);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
  text-decoration: none;
  min-height: 44px;
}

.btn-outline:hover {
  background: var(--color-accent);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  background: transparent;
  color: var(--color-accent);
  font-family: 'Work Sans', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-accent);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
  text-decoration: none;
  min-height: 44px;
}

.btn-outline-sm:hover {
  background: var(--color-accent);
  color: #fff;
}

.btn-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  background: rgba(253,250,244,0.15);
  color: #F5F0E8;
  font-family: 'Work Sans', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: 2px solid rgba(253,250,244,0.5);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
  text-decoration: none;
  min-height: 44px;
}

.btn-light:hover {
  background: rgba(253,250,244,0.25);
  transform: translateY(-2px);
}


.section-label {
  display: inline-block;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.8rem;
  background: rgba(196,117,42,0.1);
  border-radius: 100px;
  border: 1px solid rgba(196,117,42,0.2);
}

/* ============================================
   HERO SECTION (Homepage)
============================================ */
.home-hero {
  position: relative;
  min-height: 100vh;
  background: var(--gradient-hero);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 6rem 2rem 4rem;
}

.home-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(196,117,42,0.25) 0%, transparent 70%);
  pointer-events: none;
}

.home-hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 40%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(92,46,10,0.4) 0%, transparent 70%);
  pointer-events: none;
}

.home-hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.home-hero__label {
  display: inline-block;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent-warm);
  margin-bottom: 1rem;
  padding: 0.3rem 0.8rem;
  background: rgba(232,148,58,0.15);
  border-radius: 100px;
  border: 1px solid rgba(232,148,58,0.3);
}

.home-hero__heading {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #F5F0E8;
  margin-bottom: 1.5rem;
}

.home-hero__sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(245,240,232,0.72);
  margin-bottom: 2rem;
  max-width: 520px;
}

.home-hero__cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.home-hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-hero__atropos {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
}

.home-hero__img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.home-hero__card-float {
  position: absolute;
  background: rgba(253,250,244,0.95);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
  bottom: 2rem;
  left: -1.5rem;
  white-space: nowrap;
}

.home-hero__card-float i {
  color: var(--color-accent);
  font-size: 1rem;
}

.home-hero__card-float--2 {
  bottom: auto;
  top: 2rem;
  left: auto;
  right: -1.5rem;
}

.home-hero__scroll-hint {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(245,240,232,0.5);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 3rem;
  padding: 0 2rem;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.home-hero__scroll-hint i {
  animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}


.home-intro {
  padding: 6rem 2rem;
  background: var(--color-surface);
  position: relative;
}

.home-intro__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.home-intro__badge {
  display: inline-block;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 2.5rem;
  padding: 0.3rem 0.8rem;
  background: rgba(196,117,42,0.1);
  border-radius: 100px;
  border: 1px solid rgba(196,117,42,0.2);
}

.home-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.home-intro__heading {
  margin-bottom: 1.5rem;
}

.home-intro__img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-top: 2rem;
  transform: rotate(-1.5deg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.home-intro__img:hover {
  transform: rotate(0deg);
  box-shadow: var(--shadow-lg);
}


.home-topics {
  padding: 6rem 2rem;
  background: var(--color-bg);
}

.home-topics__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.home-topics__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

.home-topics__heading {
  margin-bottom: 1rem;
}

.home-topics__sub {
  font-size: 1.05rem;
  color: var(--color-text-light);
}

.home-topics__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.5rem;
}

.home-topic-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.home-topic-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.home-topic-card--featured {
  grid-column: span 2;
  background: var(--gradient-warm);
  border-color: transparent;
}

.home-topic-card--featured h3,
.home-topic-card--featured p {
  color: rgba(245,240,232,0.9);
}

.home-topic-card--featured h3 {
  color: #F5F0E8;
}

.home-topic-card--featured .home-topic-card__link {
  color: var(--color-accent-warm);
}

.home-topic-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(196,117,42,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background 0.25s ease;
}

.home-topic-card--featured .home-topic-card__icon {
  background: rgba(245,240,232,0.15);
}

.home-topic-card__icon i {
  font-size: 1.25rem;
  color: var(--color-accent);
}

.home-topic-card--featured .home-topic-card__icon i {
  color: var(--color-accent-warm);
}

.home-topic-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.home-topic-card p {
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}

.home-topic-card__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  opacity: 0.85;
}

.home-topic-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-accent);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.home-topic-card__link:hover {
  gap: 0.7rem;
}


.home-features {
  padding: 6rem 2rem;
  background: var(--color-surface);
}

.home-features__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.home-features__header {
  margin-bottom: 3rem;
}

.home-features__header h2 {
  margin-top: 0.5rem;
}

.home-features__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.home-feature-item {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  border-bottom: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  transition: background 0.25s ease;
}

.home-feature-item:nth-child(even) {
  border-right: none;
}

.home-feature-item:nth-child(5),
.home-feature-item:nth-child(6) {
  border-bottom: none;
}

.home-feature-item:hover {
  background: rgba(196,117,42,0.04);
}

.home-feature-item__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(196,117,42,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, transform 0.25s ease;
}

.home-feature-item:hover .home-feature-item__icon {
  background: rgba(196,117,42,0.18);
  transform: scale(1.05);
}

.home-feature-item__icon i {
  font-size: 1.1rem;
  color: var(--color-accent);
}

.home-feature-item__body h4 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.home-feature-item__body p {
  font-size: 0.9rem;
  margin-bottom: 0;
  line-height: 1.6;
}


.home-cta-strip {
  position: relative;
  background: var(--gradient-warm);
  padding: 5rem 2rem;
  overflow: hidden;
}

.home-cta-strip__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.home-cta-strip__text h2 {
  color: #F5F0E8;
  margin-bottom: 0.75rem;
}

.home-cta-strip__text p {
  color: rgba(245,240,232,0.72);
  max-width: 560px;
  margin-bottom: 0;
}


.home-latest {
  padding: 6rem 2rem;
  background: var(--color-bg);
}

.home-latest__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.home-latest__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.home-latest__header h2 {
  margin: 0;
}

.home-latest__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.home-latest-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-latest-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.home-latest-card--accent {
  background: var(--gradient-warm);
  border-color: transparent;
  padding: 0;
  overflow: hidden;
}

.home-latest-card--accent .home-latest-card__meta,
.home-latest-card--accent h3,
.home-latest-card--accent p {
  color: rgba(245,240,232,0.9);
  padding: 0;
}

.home-latest-card--accent h3 {
  color: #F5F0E8;
}

.home-latest-card--accent .home-latest-card__link {
  color: var(--color-accent-warm);
}

.home-latest-card--accent .home-latest-card__img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0;
  margin-bottom: 0;
}

.home-latest-card--accent > *:not(.home-latest-card__img) {
  padding: 0 1.5rem;
}

.home-latest-card--accent .home-latest-card__meta {
  padding-top: 1.5rem;
}

.home-latest-card--accent .home-latest-card__link {
  display: block;
  padding-bottom: 1.5rem;
}

.home-latest-card__meta {
  margin-bottom: 0.75rem;
}

.home-latest-card__cat {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(196,117,42,0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}

.home-latest-card--accent .home-latest-card__cat {
  background: rgba(245,240,232,0.15);
  color: var(--color-accent-warm);
}

.home-latest-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.home-latest-card p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.home-latest-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-accent);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.home-latest-card__link:hover {
  gap: 0.7rem;
}


.home-contact-preview {
  padding: 6rem 2rem;
  background: var(--color-surface);
}

.home-contact-preview__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.home-contact-preview__header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3rem;
}

.home-contact-preview__header h2 {
  margin-bottom: 0.75rem;
}

.home-contact-preview__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.home-contact-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.home-contact-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: var(--shadow-accent);
}

.home-contact-card__icon i {
  color: #fff;
  font-size: 1.2rem;
}

.home-contact-card h4 {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.home-contact-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.home-contact-card a {
  color: var(--color-accent);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.home-contact-card a:hover {
  opacity: 0.75;
}

.home-contact-preview__cta {
  text-align: center;
}

/* ============================================
   INNER HERO (All Inner Pages)
============================================ */
.inner-hero {
  position: relative;
  background: var(--gradient-hero);
  padding: 7rem 2rem 5rem;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: center;
}

.inner-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -5%;
  width: 50%;
  height: 140%;
  background: radial-gradient(ellipse at center, rgba(196,117,42,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.inner-hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.inner-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(245,240,232,0.55);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.inner-hero__breadcrumb a {
  color: rgba(245,240,232,0.55);
  text-decoration: none;
  transition: color 0.2s ease;
}

.inner-hero__breadcrumb a:hover {
  color: rgba(245,240,232,0.9);
}

.inner-hero__breadcrumb i {
  font-size: 0.65rem;
}

.inner-hero__label {
  display: inline-block;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent-warm);
  margin-bottom: 1rem;
  padding: 0.3rem 0.8rem;
  background: rgba(232,148,58,0.15);
  border-radius: 100px;
  border: 1px solid rgba(232,148,58,0.3);
}

.inner-hero__heading {
  color: #F5F0E8;
  max-width: 720px;
  margin-bottom: 1.25rem;
}

.inner-hero__sub {
  color: rgba(245,240,232,0.72);
  max-width: 620px;
  font-size: 1.05rem;
  margin-bottom: 0;
}

/* ============================================
   POST ARTICLE PAGE
============================================ */
.post-article {
  padding: 5rem 2rem;
  background: var(--color-bg);
}

.post-article__container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 5rem;
  align-items: start;
}

.post-article__sidebar {
  position: sticky;
  top: 100px;
}

.post-article__toc {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.post-article__toc h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

.post-article__toc ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.post-article__toc a {
  display: block;
  font-size: 0.875rem;
  color: var(--color-text-light);
  text-decoration: none;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease, color 0.2s ease;
  border-left: 2px solid transparent;
}

.post-article__toc a:hover {
  background: rgba(196,117,42,0.08);
  color: var(--color-accent);
  border-left-color: var(--color-accent);
}

.post-article__body {
  min-width: 0;
}

.post-article__body section {
  margin-bottom: 3.5rem;
}

.post-article__body h2 {
  font-size: 1.7rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-border);
}

.post-article__body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  margin-top: 2rem;
  color: var(--color-secondary);
}

.post-article__body p {
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.post-article__inline-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
  box-shadow: var(--shadow-md);
}

.post-article__next {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

/* ============================================
   FRAMEWORK BREAKDOWNS PAGE
============================================ */
.fw-intro {
  padding: 3rem 2rem;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.fw-intro__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.fw-intro__lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--color-text-light);
  max-width: 720px;
  font-style: italic;
  margin-bottom: 0;
}

.fw-section {
  padding: 5rem 2rem;
  background: var(--color-bg);
}

.fw-section--alt {
  background: var(--color-surface);
}

.fw-section__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.fw-section__header {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 3.5rem;
}

.fw-section__number {
  font-family: 'Outfit', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: rgba(196,117,42,0.15);
  line-height: 1;
  flex-shrink: 0;
  letter-spacing: -0.04em;
}

.fw-section__title h2 {
  margin-bottom: 0.5rem;
}

.fw-section__title p {
  font-size: 1rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

.fw-section__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.fw-section__body--reversed {
  direction: rtl;
}

.fw-section__body--reversed > * {
  direction: ltr;
}

.fw-section__text h3 {
  font-size: 1.1rem;
  color: var(--color-secondary);
  margin-bottom: 0.75rem;
  margin-top: 2rem;
}

.fw-section__text h3:first-child {
  margin-top: 1rem;
}

.fw-section__text p {
  font-size: 0.97rem;
  line-height: 1.78;
  margin-bottom: 1.1rem;
}

.fw-section__img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.fw-section__callout {
  background: var(--color-bg);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.5rem;
  margin-top: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.fw-section__callout i {
  color: var(--color-accent);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

.fw-section__callout p {
  font-style: italic;
  font-size: 1rem;
  margin-bottom: 0;
  color: var(--color-text);
}

.fw-timeline-item {
  display: flex;
  gap: 1.25rem;
  padding-bottom: 2rem;
  position: relative;
}

.fw-timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 16px;
  width: 2px;
  height: calc(100% - 16px);
  background: var(--color-border);
}

.fw-timeline-item__dot {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-border);
  border: 2px solid var(--color-surface);
  margin-top: 4px;
  position: relative;
  z-index: 1;
}

.fw-timeline-item__dot--accent {
  background: var(--color-accent);
}

.fw-timeline-item__content strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.fw-timeline-item__content p {
  font-size: 0.9rem;
  margin-bottom: 0;
  line-height: 1.6;
}

.fw-section__metric-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.fw-metric-card {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fw-metric-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.fw-metric-card__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(196,117,42,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.fw-metric-card__icon i {
  color: var(--color-accent);
  font-size: 1rem;
}

.fw-metric-card h4 {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.fw-metric-card p {
  font-size: 0.82rem;
  margin-bottom: 0;
  line-height: 1.5;
}

.fw-cta {
  padding: 5rem 2rem;
  background: var(--color-bg);
  text-align: center;
}

.fw-cta__container {
  max-width: 640px;
  margin: 0 auto;
}

.fw-cta h2 {
  margin-bottom: 1rem;
}

.fw-cta p {
  margin-bottom: 2rem;
}

.fw-cta__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   LATEST POSTS PAGE
============================================ */
.posts-grid-section {
  padding: 5rem 2rem;
  background: var(--color-bg);
}

.posts-grid-section__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.posts-cat {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(196,117,42,0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

.posts-featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  margin-bottom: 3rem;
  transition: box-shadow 0.3s ease;
}

.posts-featured-card:hover {
  box-shadow: var(--shadow-lg);
}

.posts-featured-card__img-wrap {
  overflow: hidden;
}

.posts-featured-card__img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.posts-featured-card:hover .posts-featured-card__img {
  transform: scale(1.03);
}

.posts-featured-card__content {
  padding: 3rem 3rem 3rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.posts-featured-card__content h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.posts-featured-card__content p {
  font-size: 0.97rem;
  margin-bottom: 1rem;
}

.posts-featured-card__meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.posts-featured-card__meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.posts-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.posts-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.posts-card--highlighted {
  background: var(--gradient-warm);
  border-color: transparent;
}

.posts-card--highlighted h3,
.posts-card--highlighted p {
  color: rgba(245,240,232,0.9);
}

.posts-card--highlighted h3 {
  color: #F5F0E8;
}

.posts-card--highlighted .posts-cat {
  background: rgba(245,240,232,0.15);
  color: var(--color-accent-warm);
}

.posts-card--highlighted .posts-card__link {
  color: var(--color-accent-warm);
}

.posts-card--wide {
  grid-column: span 2;
}

.posts-card-wide__inner {
  height: 100%;
}

.posts-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.posts-card p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.posts-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-accent);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.posts-card__link:hover {
  gap: 0.7rem;
}

/* ============================================
   CONTACT PAGE
============================================ */
.contact-form-section {
  padding: 5rem 2rem;
  background: var(--color-bg);
}

.contact-form-section__container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.contact-form-section__info h2 {
  margin-bottom: 1rem;
}

.contact-form-section__info > p {
  font-size: 1rem;
  margin-bottom: 2rem;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-info-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform 0.25s ease;
}

.contact-info-card:hover {
  transform: translateX(4px);
}

.contact-info-card__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(196,117,42,0.25);
}

.contact-info-card__icon i {
  color: #fff;
  font-size: 0.95rem;
}

.contact-info-card h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  margin-bottom: 0.25rem;
}

.contact-info-card p {
  font-size: 0.92rem;
  margin-bottom: 0;
  line-height: 1.5;
}

.contact-info-card a {
  color: var(--color-accent);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.contact-info-card a:hover {
  opacity: 0.75;
}

.contact-languages {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.contact-languages h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-languages h3 i {
  color: var(--color-accent);
}

.contact-languages p {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.contact-languages p:last-child {
  margin-bottom: 0;
}


.contact-wizard {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.contact-wizard__steps {
  display: flex;
  align-items: center;
  margin-bottom: 2.5rem;
}

.contact-wizard__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  flex: 1;
}

.contact-wizard__step span {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-wizard__step-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-border);
  color: var(--color-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.contact-wizard__step-dot.active {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}

.contact-wizard__step-dot.done {
  background: var(--color-secondary);
  color: #fff;
}

.contact-wizard__step-line {
  flex: 1;
  height: 2px;
  background: var(--color-border);
  margin-bottom: 1.2rem;
  transition: background 0.3s ease;
}

.contact-wizard__step-line.done {
  background: var(--color-accent);
}

.contact-wizard__panel {
  display: none;
}

.contact-wizard__panel.active {
  display: block;
}

.contact-wizard__panel h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

.contact-form-field {
  margin-bottom: 1.25rem;
}

.contact-form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.req {
  color: var(--color-accent);
}

.contact-form-field input,
.contact-form-field select,
.contact-form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  font-family: 'Work Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--color-text);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
  min-height: 44px;
}

.contact-form-field input:focus,
.contact-form-field select:focus,
.contact-form-field textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(196,117,42,0.12);
}

.contact-form-field textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form-field--checkbox {
  margin-top: 1rem;
}

.contact-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.contact-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: auto;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--color-accent);
}

.contact-checkbox-label a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-wizard__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}


.contact-map-section {
  padding: 4rem 2rem;
  background: var(--color-surface);
}

.contact-map-section__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.contact-map-section h2 {
  margin-bottom: 0.5rem;
}

.contact-map-section p {
  margin-bottom: 1.5rem;
  color: var(--color-text-light);
}

.contact-map-section__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* ============================================
   THANKS PAGE
============================================ */
.thanks-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.thanks-hero {
  position: relative;
  flex: 1;
  background: var(--gradient-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem;
  overflow: hidden;
  min-height: 60vh;
}

.thanks-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
}

.thanks-hero__icon {
  font-size: 4rem;
  color: var(--color-accent-warm);
  margin-bottom: 1.5rem;
  animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes popIn {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.thanks-hero__heading {
  color: #F5F0E8;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.25rem;
}

.thanks-hero__text {
  color: rgba(245,240,232,0.75);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.thanks-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border: 2px solid rgba(245,240,232,0.6);
  border-radius: var(--radius-md);
  color: #F5F0E8;
  font-family: 'Work Sans', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
  min-height: 44px;
}

.thanks-hero__btn:hover {
  background: rgba(245,240,232,0.15);
  border-color: rgba(245,240,232,0.9);
  transform: translateY(-2px);
}

/* ============================================
   LEGAL PAGES
============================================ */
.legal-page {
  padding: 6rem 2rem;
  background: var(--color-bg);
  min-height: 60vh;
}

.legal-page__container {
  max-width: 860px;
  margin: 0 auto;
}

.legal-page__header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--color-border);
}

.legal-page__header h1 {
  margin-bottom: 0.5rem;
}

.legal-page__date {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}

.legal-page__header > p:last-child {
  font-size: 0.97rem;
  line-height: 1.75;
}

.legal-page__body {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.legal-section h2 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}

.legal-section p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* ============================================
   FOOTER
============================================ */
.global-footer {
  background: var(--color-primary);
  padding: 4rem 2rem 2rem;
}

.global-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.global-footer__logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: #F5F0E8;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.global-footer__logo span {
  color: var(--color-accent-warm);
}

.global-footer__tagline {
  font-size: 0.875rem;
  color: rgba(245,240,232,0.5);
  max-width: 420px;
  margin-bottom: 0;
}

.global-footer__nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.global-footer__nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(245,240,232,0.65);
  text-decoration: none;
  transition: color 0.25s ease;
}

.global-footer__nav a:hover {
  color: var(--color-accent-warm);
}

.global-footer__contact {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.global-footer__contact span {
  font-size: 0.82rem;
  color: rgba(245,240,232,0.45);
}

.global-footer__contact a {
  color: rgba(245,240,232,0.45);
  text-decoration: none;
  transition: color 0.25s ease;
}

.global-footer__contact a:hover {
  color: var(--color-accent-warm);
}

.global-footer__legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245,240,232,0.1);
  width: 100%;
}

.global-footer__legal a {
  font-size: 0.78rem;
  color: rgba(245,240,232,0.35);
  text-decoration: none;
  transition: color 0.25s ease;
}

.global-footer__legal a:hover {
  color: rgba(245,240,232,0.65);
}

.global-footer__copy {
  font-size: 0.78rem;
  color: rgba(245,240,232,0.3);
  margin-bottom: 0;
}

/* ============================================
   COOKIE CONSENT BAR
============================================ */
#cookie-consent-bar {
  background: var(--color-primary);
  border-bottom: 1px solid rgba(196,117,42,0.3);
  overflow: hidden;
  position: fixed;
  bottom: 0;
  z-index: 999;
  width: 100%;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

.cookie-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.75rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  flex-wrap: wrap;
}

.cookie-bar-text {
  font-size: 0.82rem;
  color: rgba(245,240,232,0.7);
  flex: 1;
  min-width: 200px;
}

.cookie-bar-text a {
  color: var(--color-accent-warm);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-bar-buttons {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-btn-accept {
  padding: 0.45rem 1rem;
  background: var(--gradient-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Work Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.25s ease;
  min-height: 36px;
}

.cookie-btn-accept:hover {
  opacity: 0.88;
}

.cookie-btn-decline {
  padding: 0.45rem 1rem;
  background: transparent;
  color: rgba(245,240,232,0.55);
  border: 1px solid rgba(245,240,232,0.2);
  border-radius: var(--radius-sm);
  font-family: 'Work Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease;
  min-height: 36px;
}

.cookie-btn-decline:hover {
  color: rgba(245,240,232,0.85);
  border-color: rgba(245,240,232,0.4);
}

/* ============================================
   RESPONSIVE DESIGN
============================================ */
@media (max-width: 1024px) {
  .home-hero__content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .home-hero__visual {
    display: none;
  }

  .home-intro__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .home-topics__grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-topic-card--featured {
    grid-column: span 2;
  }

  .home-latest__grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-latest__grid .home-latest-card:last-child {
    grid-column: span 2;
  }

  .home-contact-preview__cards {
    grid-template-columns: 1fr;
  }

  .post-article__container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .post-article__sidebar {
    position: static;
  }

  .fw-section__body {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .fw-section__body--reversed {
    direction: ltr;
  }

  .fw-section__metric-cards {
    grid-template-columns: 1fr 1fr;
  }

  .posts-featured-card {
    grid-template-columns: 1fr;
  }

  .posts-featured-card__img {
    min-height: 280px;
  }

  .posts-featured-card__content {
    padding: 2rem;
  }

  .posts-grid {
    grid-template-columns: 1fr 1fr;
  }

  .posts-card--wide {
    grid-column: span 2;
  }

  .contact-form-section__container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .home-hero {
    padding: 5rem 1.5rem 3rem;
  }

  .home-hero__heading {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .home-hero__cta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-intro,
  .home-topics,
  .home-features,
  .home-latest,
  .home-contact-preview {
    padding: 4rem 1.5rem;
  }

  .home-topics__grid {
    grid-template-columns: 1fr;
  }

  .home-topic-card--featured {
    grid-column: span 1;
  }

  .home-features__grid {
    grid-template-columns: 1fr;
  }

  .home-feature-item {
    border-right: none;
  }

  .home-feature-item:nth-child(5) {
    border-bottom: 1px solid var(--color-border);
  }

  .home-latest__grid {
    grid-template-columns: 1fr;
  }

  .home-latest__grid .home-latest-card:last-child {
    grid-column: span 1;
  }

  .home-cta-strip__content {
    flex-direction: column;
    text-align: center;
  }

  .home-contact-preview__cards {
    grid-template-columns: 1fr;
  }

  .home-latest__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .inner-hero {
    padding: 5rem 1.5rem 3.5rem;
  }

  .post-article {
    padding: 3rem 1.5rem;
  }

  .fw-section {
    padding: 3rem 1.5rem;
  }

  .fw-section__header {
    flex-direction: column;
    gap: 0.5rem;
  }

  .fw-section__number {
    font-size: 2.5rem;
  }

  .fw-section__metric-cards {
    grid-template-columns: 1fr;
  }

  .posts-grid-section {
    padding: 3rem 1.5rem;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }

  .posts-card--wide {
    grid-column: span 1;
  }

  .contact-form-section {
    padding: 3rem 1.5rem;
  }

  .contact-wizard {
    padding: 1.5rem;
  }

  .legal-page {
    padding: 4rem 1.5rem;
  }

  .global-footer__nav {
    gap: 1rem;
  }

  .global-footer__contact {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }

  .cookie-bar-inner {
    padding: 0.75rem 1rem;
  }

  .cookie-bar-buttons {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 480px) {
  .home-hero__heading {
    font-size: 1.9rem;
  }

  .contact-wizard__steps span {
    display: none;
  }

  .fw-cta__buttons {
    flex-direction: column;
    align-items: center;
  }

  .posts-featured-card__content h2 {
    font-size: 1.3rem;
  }
}