/* ============================================
   QuantFinova — Premium Financial Education
   Palette: Deep Burgundy, Warm Copper,
            Charcoal Graphite, Soft Ivory
   ============================================ */

:root {
  --burgundy: #6B1F2C;
  --burgundy-deep: #4F1521;
  --burgundy-soft: #8C2D3D;
  --copper: #B87333;
  --copper-light: #D9925A;
  --copper-soft: #E8B894;
  --graphite: #2B2D33;
  --graphite-soft: #4A4D55;
  --graphite-light: #7A7D85;
  --ivory: #FAF7F2;
  --beige: #F1EADD;
  --beige-warm: #E8DFCC;
  --white: #FFFFFF;
  --line: #E5DCC9;
  --shadow-sm: 0 2px 8px rgba(43, 45, 51, 0.06);
  --shadow-md: 0 8px 24px rgba(43, 45, 51, 0.10);
  --shadow-lg: 0 18px 50px rgba(43, 45, 51, 0.16);
  --radius: 14px;
  --radius-lg: 22px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1200px;
  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--graphite);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: var(--burgundy); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--copper); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--graphite);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); }

p { color: var(--graphite-soft); }

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

/* ============= HEADER ============= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--graphite);
  letter-spacing: -0.02em;
}

.logo:hover { color: var(--burgundy); }

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-deep) 100%);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(107, 31, 44, 0.28);
  position: relative;
  overflow: hidden;
}

.logo-mark::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 10px;
  background: linear-gradient(135deg, transparent 60%, rgba(184, 115, 51, 0.5));
  pointer-events: none;
}

.logo-mark svg { position: relative; z-index: 1; }
.logo-text small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--copper);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: -2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-menu a {
  color: var(--graphite);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 10px 18px;
  border-radius: 8px;
  position: relative;
}

.nav-menu a:hover { background: var(--beige); color: var(--burgundy); }
.nav-menu a.active {
  color: var(--burgundy);
  background: var(--beige);
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 4px;
  height: 2px;
  background: var(--copper);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--graphite);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--graphite);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

/* ============= BUTTONS ============= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}

.btn-primary {
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-deep) 100%);
  color: var(--ivory);
  box-shadow: 0 8px 22px rgba(107, 31, 44, 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(107, 31, 44, 0.38);
  color: var(--ivory);
}

.btn-ghost {
  background: transparent;
  color: var(--graphite);
  border: 1.5px solid var(--graphite);
}
.btn-ghost:hover {
  background: var(--graphite);
  color: var(--ivory);
}

.btn-copper {
  background: linear-gradient(135deg, var(--copper) 0%, #9C5F22 100%);
  color: var(--white);
}
.btn-copper:hover { transform: translateY(-2px); color: var(--white); }

/* ============= HERO ============= */
.hero {
  position: relative;
  padding: 90px 0 110px;
  background:
    radial-gradient(60% 80% at 90% 0%, rgba(184, 115, 51, 0.10), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(107, 31, 44, 0.08), transparent 60%),
    var(--ivory);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 20%;
  right: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(184, 115, 51, 0.18), transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--beige);
  color: var(--burgundy);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 22px;
  border: 1px solid var(--beige-warm);
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--copper);
}

.hero h1 {
  margin-bottom: 22px;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--copper) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}

.hero-lead {
  font-size: 1.12rem;
  margin-bottom: 32px;
  max-width: 540px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--burgundy);
  display: block;
  line-height: 1.1;
}

.stat-lbl {
  font-size: 0.8rem;
  color: var(--graphite-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-top: 4px;
}

/* Hero visual */
.hero-visual {
  position: relative;
  height: 560px;
}

.hero-image {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(79, 21, 33, 0.35));
}

.hero-card {
  position: absolute;
  background: var(--white);
  padding: 18px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2;
}

.hero-card.tl {
  top: 28px;
  left: -28px;
  animation: float 6s ease-in-out infinite;
}
.hero-card.br {
  bottom: 36px;
  right: -28px;
  animation: float 6s ease-in-out infinite reverse;
}

.hero-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--beige);
  display: grid;
  place-items: center;
  color: var(--burgundy);
}

.hero-card-icon.copper {
  background: rgba(184, 115, 51, 0.12);
  color: var(--copper);
}

.hero-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--graphite);
}
.hero-card-sub {
  font-size: 0.8rem;
  color: var(--graphite-light);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============= SECTIONS ============= */
.section {
  padding: 100px 0;
}

.section.alt {
  background: var(--beige);
}

.section.dark {
  background: var(--graphite);
  color: var(--ivory);
}
.section.dark h1, .section.dark h2, .section.dark h3 { color: var(--ivory); }
.section.dark p { color: rgba(250, 247, 242, 0.78); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-head .eyebrow {
  margin-bottom: 18px;
}

.section-head h2 { margin-bottom: 18px; }
.section-head p { font-size: 1.05rem; }

/* ============= CARDS / GRIDS ============= */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--copper-soft);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--burgundy), var(--burgundy-deep));
  color: var(--ivory);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  box-shadow: 0 8px 20px rgba(107, 31, 44, 0.2);
}

.card-icon.copper {
  background: linear-gradient(135deg, var(--copper), #9C5F22);
  box-shadow: 0 8px 20px rgba(184, 115, 51, 0.28);
}

.card h3 { margin-bottom: 12px; }
.card p { font-size: 0.97rem; line-height: 1.7; }

.card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  background: var(--beige);
  color: var(--burgundy);
  border-radius: 50px;
  margin-bottom: 14px;
}

/* ============= QUOTE BLOCK ============= */
.quote-section {
  background: linear-gradient(135deg, var(--burgundy-deep) 0%, var(--burgundy) 60%, #5A1A26 100%);
  color: var(--ivory);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.quote-section::before {
  content: '"';
  position: absolute;
  font-family: var(--font-display);
  font-size: 28rem;
  color: rgba(184, 115, 51, 0.08);
  top: -120px;
  left: 5%;
  line-height: 1;
  pointer-events: none;
}

.quote-section::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(184, 115, 51, 0.2), transparent 70%);
  border-radius: 50%;
  bottom: -200px;
  right: -120px;
  filter: blur(70px);
}

.quote {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  z-index: 1;
}

.quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.5;
  font-style: italic;
  color: var(--ivory);
  margin-bottom: 28px;
}

.quote cite {
  font-style: normal;
  color: var(--copper-soft);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ============= FEATURE SPLIT ============= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.split.reverse > div:first-child {
  order: 2;
}

.split-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  aspect-ratio: 4/3;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checklist {
  list-style: none;
  margin-top: 28px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 1rem;
  color: var(--graphite-soft);
}

.checklist li::before {
  content: '';
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--beige);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236B1F2C'><path d='M13.78 4.22a.75.75 0 010 1.06l-7 7a.75.75 0 01-1.06 0l-3.5-3.5a.75.75 0 011.06-1.06L6.25 10.69l6.47-6.47a.75.75 0 011.06 0z'/></svg>");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 14px;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ============= ANALIZE / ARTICLE PAGES ============= */
.article-stack {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.article-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: var(--transition);
}

.article-block:hover {
  box-shadow: var(--shadow-md);
}

.article-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  background: var(--beige);
}

.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.article-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(43, 45, 51, 0) 45%, rgba(43, 45, 51, 0.7));
  pointer-events: none;
}

.article-hero-tag {
  position: absolute;
  left: 40px;
  bottom: 32px;
  z-index: 2;
  background: rgba(250, 247, 242, 0.96);
  color: var(--burgundy);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(43, 45, 51, 0.25);
}

.article-hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--copper);
}

.article-body {
  padding: 64px 72px 70px;
  max-width: 900px;
  margin: 0 auto;
}

.article-body h2 {
  margin-bottom: 26px;
  font-size: clamp(1.7rem, 2.6vw, 2.15rem);
  line-height: 1.25;
}

.article-body > p {
  margin-bottom: 18px;
  line-height: 1.85;
  font-size: 1rem;
}

.article-body > p:first-of-type {
  font-size: 1.12rem;
  color: var(--graphite);
  line-height: 1.75;
  margin-bottom: 26px;
}

.article-body h4 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  color: var(--burgundy);
  margin: 36px 0 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  line-height: 1.35;
}

.article-body h4::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--copper);
  display: inline-block;
  flex-shrink: 0;
}

.article-body .checklist {
  margin: 20px 0 24px;
}

.article-body .checklist li {
  font-size: 0.98rem;
  margin-bottom: 14px;
  line-height: 1.7;
}

.article-tag {
  display: inline-block;
  background: var(--beige);
  color: var(--burgundy);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

/* ============= TEAM / VALUES ============= */
.value-card {
  text-align: center;
  padding: 40px 28px;
}

.value-card .num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--copper) 0%, var(--burgundy) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 12px;
}

.team-card {
  text-align: center;
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--copper-soft);
}

.team-photo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  margin: 0 auto 18px;
  overflow: hidden;
  border: 4px solid var(--beige);
}

.team-photo img { width: 100%; height: 100%; object-fit: cover; }

.team-card h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--graphite);
  margin-bottom: 4px;
}

.team-card .role {
  font-size: 0.85rem;
  color: var(--copper);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: 14px;
}

.team-card p { font-size: 0.92rem; }

/* ============= CONTACT ============= */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.contact-row:last-child { border-bottom: none; }

.contact-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--beige);
  display: grid;
  place-items: center;
  color: var(--burgundy);
}

.contact-row strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--graphite);
  margin-bottom: 4px;
}
.contact-row span { font-size: 0.95rem; color: var(--graphite-soft); }

.social-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.social-link {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--beige);
  display: grid;
  place-items: center;
  color: var(--burgundy);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--burgundy);
  color: var(--ivory);
  transform: translateY(-3px);
}

/* ============= FOOTER ============= */
.site-footer {
  background: var(--graphite);
  color: rgba(250, 247, 242, 0.7);
  padding: 70px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-col h5 {
  font-family: var(--font-display);
  color: var(--ivory);
  font-size: 1.05rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }

.footer-col a {
  color: rgba(250, 247, 242, 0.65);
  font-size: 0.93rem;
}
.footer-col a:hover { color: var(--copper-soft); }

.footer-brand .logo { color: var(--ivory); }
.footer-brand p { font-size: 0.93rem; line-height: 1.7; color: rgba(250, 247, 242, 0.6); margin-top: 16px; max-width: 320px; }

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(250, 247, 242, 0.08);
  display: grid;
  place-items: center;
  color: rgba(250, 247, 242, 0.7);
}
.footer-social a:hover { background: var(--copper); color: var(--ivory); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(250, 247, 242, 0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: rgba(250, 247, 242, 0.5);
}

/* ============= PAGE HERO (sub-pages) ============= */
.page-hero {
  padding: 100px 0 80px;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(184, 115, 51, 0.10), transparent 60%),
    var(--ivory);
  text-align: center;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.page-hero h1 { margin: 18px 0; }
.page-hero p { max-width: 660px; margin: 0 auto; font-size: 1.08rem; }

/* ============= LEGAL PAGE ============= */
.legal-wrap {
  max-width: 820px;
  margin: 0 auto;
  background: var(--white);
  padding: 60px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}

.legal-wrap h2 {
  font-size: 1.6rem;
  margin-top: 36px;
  margin-bottom: 14px;
  color: var(--burgundy);
}
.legal-wrap h2:first-child { margin-top: 0; }

.legal-wrap h3 {
  font-size: 1.2rem;
  margin-top: 24px;
  margin-bottom: 10px;
}

.legal-wrap p,
.legal-wrap li {
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--graphite-soft);
  margin-bottom: 14px;
}

.legal-wrap ul {
  padding-left: 22px;
  margin-bottom: 18px;
}

.legal-wrap .updated {
  font-size: 0.85rem;
  color: var(--graphite-light);
  font-style: italic;
  margin-bottom: 30px;
  padding: 12px 16px;
  background: var(--beige);
  border-radius: 8px;
  display: inline-block;
}

/* ============= COOKIE BANNER ============= */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 920px;
  margin: 0 auto;
  background: var(--graphite);
  color: var(--ivory);
  padding: 24px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 24px;
  z-index: 999;
  border: 1px solid rgba(184, 115, 51, 0.3);
  transform: translateY(120%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.show { transform: translateY(0); }

.cookie-content {
  flex: 1;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(250, 247, 242, 0.85);
}

.cookie-content strong {
  display: block;
  color: var(--copper-soft);
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.cookie-content a { color: var(--copper-light); text-decoration: underline; }

.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

.cookie-btn {
  padding: 12px 22px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  font-family: var(--font-body);
  transition: var(--transition);
}

.cookie-btn.primary {
  background: var(--copper);
  color: var(--white);
}
.cookie-btn.primary:hover { background: var(--copper-light); }

.cookie-btn.ghost {
  background: transparent;
  color: var(--ivory);
  border: 1px solid rgba(250, 247, 242, 0.3);
}
.cookie-btn.ghost:hover { background: rgba(250, 247, 242, 0.08); }

/* ============= RESPONSIVE ============= */
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--ivory);
    flex-direction: column;
    padding: 20px;
    gap: 0;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; padding: 14px 18px; }

  .hero { padding: 60px 0 80px; }
  .hero-grid, .split, .grid-3, .grid-4, .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .grid-2 { grid-template-columns: 1fr; }
  .split.reverse > div:first-child { order: initial; }

  .hero-visual { height: 400px; }
  .hero-card.tl { left: 12px; }
  .hero-card.br { right: 12px; }

  .section { padding: 70px 0; }
  .section-head { margin-bottom: 44px; }

  .hero-stats { grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

  .article-stack { gap: 50px; }
  .article-hero { aspect-ratio: 16 / 9; }
  .article-hero-tag {
    left: 20px;
    bottom: 18px;
    padding: 8px 14px;
    font-size: 0.7rem;
  }
  .article-body { padding: 40px 28px 48px; }
  .article-body h4 { margin-top: 28px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .legal-wrap { padding: 36px 24px; }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    gap: 16px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 20px;
  }
  .cookie-actions { flex-direction: column; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .hero-stats { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .card { padding: 28px 24px; }
  .quote-section::before { font-size: 18rem; top: -60px; }
  .article-body { padding: 32px 20px 40px; }
  .article-hero-tag { left: 14px; bottom: 14px; }
  .legal-wrap { padding: 28px 18px; }
}

/* ============= UTILITIES ============= */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.fade-in { animation: fadeIn 0.8s ease both; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
