/*
Theme Name: Fluenstar
Theme URI: https://fluenstar.com
Author: Fluenstar Agency
Description: Tema ufficiale Fluenstar — Influencer Marketing Agency. From Creator to Brand.
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: fluenstar
Tags: one-page, business, marketing, agency
*/

/* ============================
   FONTS
   ============================ */
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================
   CSS VARIABLES
   ============================ */
:root {
  --radius: 0.75rem;

  /* Brand palette */
  --brand: oklch(0.85 0.16 85);
  --brand-light: oklch(0.92 0.11 88);
  --brand-dark: oklch(0.74 0.17 75);
  --ink: oklch(0.14 0 0);
  --cream: oklch(0.985 0.005 85);

  --background: oklch(1 0 0);
  --foreground: oklch(0.14 0 0);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.14 0 0);
  --muted: oklch(0.96 0.005 85);
  --muted-foreground: oklch(0.45 0.01 85);
  --border: oklch(0.92 0.005 85);

  --shadow-card: 0 1px 2px 0 oklch(0 0 0 / 0.04), 0 8px 24px -8px oklch(0 0 0 / 0.08);
  --shadow-glow: 0 10px 40px -10px oklch(0.85 0.17 85 / 0.5);

  --font-display: 'League Spartan', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

/* ============================
   RESET & BASE
   ============================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  font-weight: 800;
}

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

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

::selection {
  background-color: var(--brand);
  color: var(--ink);
}

/* ============================
   LAYOUT UTILITIES
   ============================ */
.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

.text-balance { text-wrap: balance; }

/* ============================
   BACKGROUND PATTERNS
   ============================ */
.bg-grid {
  background-image:
    linear-gradient(to right, oklch(0 0 0 / 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(0 0 0 / 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.bg-grid-dark {
  background-image:
    linear-gradient(to right, oklch(1 0 0 / 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(1 0 0 / 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* ============================
   NAVBAR
   ============================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
  overflow: visible;
}

.site-header.scrolled {
  background-color: oklch(1 0 0 / 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  padding: 0.5rem 1.5rem;
}

@media (min-width: 768px) {
  .navbar-inner {
    height: 5rem;
    padding: 0.5rem 2rem;
  }
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.navbar-logo img {
  height: 2.5rem;
  width: auto;
  transition: transform 0.2s ease;
  position: relative;
  z-index: 10;
}

@media (min-width: 768px) {
  .navbar-logo img {
    height: 2.75rem;
  }
}

.navbar-logo:hover img {
  transform: scale(1.05);
}

.navbar-nav {
  display: none;
  align-items: center;
  gap: 2.25rem;
}

@media (min-width: 768px) {
  .navbar-nav {
    display: flex;
  }
}

.navbar-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: oklch(0.14 0 0 / 0.7);
  position: relative;
  transition: color 0.2s;
}

.navbar-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 0;
  background-color: var(--brand);
  transition: width 0.2s;
}

.navbar-nav a:hover {
  color: var(--foreground);
}

.navbar-nav a:hover::after {
  width: 100%;
}

.navbar-cta {
  display: none;
}

@media (min-width: 768px) {
  .navbar-cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background-color: var(--brand);
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  background-color: var(--brand-dark);
  box-shadow: 0 8px 24px -8px oklch(0.85 0.17 85 / 0.6);
}

.btn-primary-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid oklch(0.14 0 0 / 0.15);
  background-color: var(--background);
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  transition: all 0.2s;
  cursor: pointer;
}

.btn-outline:hover {
  background-color: var(--muted);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  padding: 0.5rem;
  border-radius: 0.375rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.mobile-menu-btn:hover {
  background-color: var(--muted);
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Mobile Nav Dropdown */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background-color: var(--background);
}

.mobile-nav.open {
  display: block;
}

@media (min-width: 768px) {
  .mobile-nav {
    display: none !important;
  }
}

.mobile-nav-inner {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav a {
  font-size: 1rem;
  font-weight: 500;
  color: oklch(0.14 0 0 / 0.8);
  transition: color 0.2s;
}

.mobile-nav a:hover {
  color: var(--foreground);
}

.mobile-nav .btn-primary {
  margin-top: 0.5rem;
  padding: 0.75rem 1.25rem;
}

/* ============================
   HERO SECTION
   ============================ */
#top {
  position: relative;
  padding: 8rem 0 5rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  #top {
    padding: 10rem 0 7rem;
  }
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.hero-blob-1 {
  position: absolute;
  top: -10rem;
  right: -10rem;
  height: 31.25rem;
  width: 31.25rem;
  border-radius: 9999px;
  background-color: oklch(0.85 0.16 85 / 0.3);
  filter: blur(3rem);
  pointer-events: none;
}

.hero-blob-2 {
  position: absolute;
  top: 15rem;
  left: -8rem;
  height: 23.75rem;
  width: 23.75rem;
  border-radius: 9999px;
  background-color: oklch(0.92 0.11 88 / 0.4);
  filter: blur(3rem);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background-color: oklch(1 0 0 / 0.6);
  backdrop-filter: blur(4px);
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: oklch(0.14 0 0 / 0.7);
  margin-bottom: 2rem;
}

.hero-badge svg {
  width: 0.875rem;
  height: 0.875rem;
  color: var(--brand-dark);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.hero-title .highlight-word {
  position: relative;
  display: inline-block;
  isolation: isolate;
}

.hero-title .highlight-word .highlight-text {
  position: relative;
  z-index: 2;
  padding: 0 0.5rem;
  color: var(--ink);
}

.hero-title .highlight-word .highlight-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: #f5c518;
  background-color: var(--brand);
  border-radius: 0.375rem;
  transform: rotate(-1deg);
}

.hero-title em {
  font-style: italic;
  font-weight: 300;
}

.hero-description {
  margin-top: 2rem;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: oklch(0.14 0 0 / 0.65);
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background-color: var(--brand);
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  transition: all 0.2s;
}

.hero-btn-primary:hover {
  background-color: var(--brand-dark);
  box-shadow: 0 12px 32px -12px oklch(0.85 0.17 85 / 0.7);
}

.hero-btn-primary svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s;
}

.hero-btn-primary:hover svg {
  transform: translateX(4px);
}

.hero-stats {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
}

.hero-stat-label {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: oklch(0.14 0 0 / 0.55);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .hero-stat-label {
    font-size: 0.875rem;
  }
}

/* ============================
   VALUE SECTION
   ============================ */
#valore {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
  #valore {
    padding: 8rem 0;
  }
}

.value-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .value-grid {
    grid-template-columns: 5fr 7fr;
    gap: 3rem;
    align-items: start;
  }
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--brand-dark);
}

.section-title {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.section-title em {
  font-style: italic;
  font-weight: 300;
}

.value-text-lg {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  line-height: 1.7;
  color: oklch(0.14 0 0 / 0.75);
}

.value-text {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: oklch(0.14 0 0 / 0.6);
  line-height: 1.7;
}

/* ============================
   SERVICES SECTION
   ============================ */
#servizi {
  padding: 6rem 0;
  background-color: oklch(0.96 0.005 85 / 0.4);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  #servizi {
    padding: 8rem 0;
  }
}

.services-grid {
  margin-top: 4rem;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.services-col-title {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.services-col-title span:first-child {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.services-col-title .divider {
  flex: 1;
  height: 1px;
  background-color: var(--border);
}

.cards-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .cards-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.service-card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 1.5rem;
  transition: all 0.2s;
}

.service-card:hover {
  border-color: oklch(0.14 0 0 / 0.2);
  box-shadow: var(--shadow-card);
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background-color: var(--muted);
  transition: background 0.2s;
}

.service-card:hover .card-icon {
  background-color: var(--brand);
}

.card-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.service-card:hover .card-icon svg {
  color: var(--ink);
}

.card-title {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
}

.card-desc {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: oklch(0.14 0 0 / 0.6);
  line-height: 1.6;
}

/* ============================
   PROCESS SECTION
   ============================ */
#processo {
  padding: 6rem 0;
}

@media (min-width: 768px) {
  #processo {
    padding: 8rem 0;
  }
}

.process-grid {
  display: grid;
  gap: 1px;
  background-color: var(--border);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  background-color: var(--background);
  padding: 2rem;
  transition: background 0.2s;
}

.process-step:hover {
  background-color: oklch(0.96 0.005 85 / 0.6);
}

.process-step-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.process-step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: oklch(0.14 0 0 / 0.1);
  transition: color 0.2s;
}

.process-step:hover .process-step-num {
  color: var(--brand);
}

.process-step-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background-color: var(--brand);
}

.process-step-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
}

.process-step-desc {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: oklch(0.14 0 0 / 0.6);
  line-height: 1.6;
}

/* ============================
   NICHES SECTION
   ============================ */
#nicchie {
  padding: 6rem 0;
  background-color: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  #nicchie {
    padding: 8rem 0;
  }
}

.niches-bg-grid {
  position: absolute;
  inset: 0;
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.niches-inner {
  position: relative;
}

.niches-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--brand);
}

.niches-title {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.niches-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--brand);
}

.niches-desc {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: oklch(0.985 0.005 85 / 0.65);
  max-width: 28rem;
}

.niches-tags {
  margin-top: 3.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.niche-tag {
  border-radius: 9999px;
  border: 1px solid oklch(0.985 0.005 85 / 0.15);
  background-color: oklch(0.985 0.005 85 / 0.05);
  padding: 1rem 1.75rem;
  transition: all 0.2s;
  cursor: default;
}

.niche-tag:hover {
  background-color: var(--brand);
  border-color: var(--brand);
  color: var(--ink);
}

.niche-tag span {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ============================
   DIFFERENTIATORS SECTION
   ============================ */
#differenze {
  padding: 6rem 0;
}

@media (min-width: 768px) {
  #differenze {
    padding: 8rem 0;
  }
}

.diff-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .diff-grid {
    grid-template-columns: 4fr 8fr;
    gap: 3rem;
    align-items: start;
  }
}

.diff-cards {
  display: grid;
  gap: 1px;
  background-color: var(--border);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
}

@media (min-width: 640px) {
  .diff-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.diff-card {
  background-color: var(--background);
  padding: 2rem;
  padding-top: 2.25rem;
  transition: background 0.2s;
}

.diff-card:hover {
  background-color: oklch(0.96 0.005 85 / 0.5);
}

.diff-card svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--brand-dark);
}

.diff-card-title {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
}

.diff-card-desc {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: oklch(0.14 0 0 / 0.6);
  line-height: 1.6;
}

/* ============================
   CTA SECTION
   ============================ */
#contatti {
  padding: 6rem 0;
}

@media (min-width: 768px) {
  #contatti {
    padding: 8rem 0;
  }
}

.cta-box {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  background-color: var(--ink);
  color: var(--cream);
  padding: 2.5rem;
}

@media (min-width: 768px) {
  .cta-box {
    padding: 5rem;
  }
}

.cta-blob-1 {
  position: absolute;
  top: -8rem;
  right: -8rem;
  width: 24rem;
  height: 24rem;
  border-radius: 9999px;
  background-color: oklch(0.85 0.16 85 / 0.4);
  filter: blur(3rem);
}

.cta-blob-2 {
  position: absolute;
  bottom: -8rem;
  left: -8rem;
  width: 24rem;
  height: 24rem;
  border-radius: 9999px;
  background-color: oklch(0.74 0.17 75 / 0.3);
  filter: blur(3rem);
}

.cta-content {
  position: relative;
  max-width: 48rem;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.cta-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--brand);
}

.cta-desc {
  margin-top: 2rem;
  font-size: 1.125rem;
  color: oklch(0.985 0.005 85 / 0.7);
  max-width: 28rem;
}

.cta-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .cta-actions {
    flex-direction: row;
  }
}

.cta-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background-color: var(--brand);
  padding: 1rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  transition: all 0.2s;
}

.cta-btn-primary:hover {
  background-color: var(--brand-light);
}

.cta-btn-primary svg {
  width: 1rem;
  height: 1rem;
}

.cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid oklch(0.985 0.005 85 / 0.2);
  background-color: oklch(0.985 0.005 85 / 0.05);
  padding: 1rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--cream);
  transition: all 0.2s;
}

.cta-btn-secondary:hover {
  background-color: oklch(0.985 0.005 85 / 0.1);
}

/* ============================
   FOOTER
   ============================ */
.site-footer {
  border-top: 1px solid var(--border);
  background-color: var(--background);
}

.footer-inner {
  padding: 4rem 0;
}

.footer-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.footer-logo img {
  height: 2.5rem;
  width: auto;
}

@media (min-width: 768px) {
  .footer-logo img {
    height: 2.75rem;
  }
}

.footer-tagline {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: oklch(0.14 0 0 / 0.6);
  max-width: 22rem;
  line-height: 1.6;
}

.footer-links-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .footer-links-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.footer-links-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: oklch(0.14 0 0 / 0.5);
}

.footer-links ul {
  margin-top: 1rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--brand-dark);
}

.footer-contact-name {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}

.footer-contact-email {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: oklch(0.14 0 0 / 0.7);
}

.footer-contact-email a {
  font-family: var(--font-display);
  font-weight: 700;
  transition: color 0.2s;
  word-break: break-all;
}

.footer-contact-email a:hover {
  color: var(--brand-dark);
}

.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-bottom p {
  font-size: 0.75rem;
  color: oklch(0.14 0 0 / 0.5);
  /* prevent wrapping issues */
  white-space: nowrap;
}

/* ============================
   WORDPRESS CUSTOM LOGO FIX
   (the_custom_logo wraps img in <a class="custom-logo-link">)
   ============================ */
.custom-logo-link {
  display: inline-block;
  line-height: 0;
}

.custom-logo-link img,
.custom-logo {
  height: 2.5rem !important;
  width: auto !important;
  max-width: none;
}

.navbar-logo .custom-logo-link img,
.navbar-logo .custom-logo {
  height: 2.5rem !important;
}

.footer-logo .custom-logo-link img,
.footer-logo .custom-logo {
  height: 2.5rem !important;
}

@media (min-width: 768px) {
  .custom-logo-link img,
  .custom-logo {
    height: 2.75rem !important;
  }
}

/* ============================
   WORDPRESS SPECIFIC
   ============================ */
.wp-block-image img {
  border-radius: 1rem;
}

.aligncenter {
  text-align: center;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
}

.alignleft {
  float: left;
  margin-right: 1.5rem;
}

/* Page/Post content area */
.entry-content {
  max-width: 80rem;
  margin: 0 auto;
  padding: 8rem 1.5rem 4rem;
}

.entry-content h2 { font-size: 2rem; margin: 2rem 0 1rem; }
.entry-content h3 { font-size: 1.5rem; margin: 1.5rem 0 0.75rem; }
.entry-content p { margin-bottom: 1rem; line-height: 1.7; }
.entry-content ul, .entry-content ol { margin: 1rem 0 1rem 2rem; }
.entry-content li { margin-bottom: 0.5rem; }
