  /* ── Page-specific tweaks ── */

    /* Hero wave bottom */
    .hero-wave {
      position: relative;
      margin-bottom: -1px;
    }
    .hero-wave svg {
      display: block;
      width: 100%;
    }

    /* Welcome intro accent line */
    .welcome-lead {
      font-size: 1.1rem;
      color: var(--brand-text-subtle);
      border-left: 3px solid var(--brand-accent);
      padding-left: 1rem;
      margin-bottom: 1.5rem;
      line-height: 1.75;
    }

    /* Feature strip */
    .feature-strip {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0;
      background: var(--brand-bg);
      border: 1px solid var(--brand-border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      margin-top: -3rem;
      position: relative;
      z-index: 10;
      box-shadow: 0 6px 32px rgba(11,44,68,0.12);
    }

    .feature-strip-item {
      padding: 1.6rem 1.4rem;
      text-align: center;
      border-right: 1px solid var(--brand-border);
      transition: background var(--transition);
    }
    .feature-strip-item:last-child { border-right: none; }
    .feature-strip-item:hover      { background: var(--brand-accent-light); }

    .fs-icon {
      font-size: 1.8rem;
      margin-bottom: 0.6rem;
      display: block;
    }
    .fs-label {
      font-weight: 700;
      font-size: 0.88rem;
      color: var(--brand-primary);
      display: block;
      margin-bottom: 0.25rem;
    }
    .fs-sub {
      font-size: 0.78rem;
      color: var(--brand-text-muted);
    }

    /* Highlight cards section */
    .highlight-card {
      border-radius: var(--radius-md);
      overflow: hidden;
      position: relative;
      min-height: 220px;
      display: flex;
      align-items: flex-end;
      border: 1px solid var(--brand-border);
      transition: transform var(--transition), box-shadow var(--transition);
      background: var(--brand-page-bg);
    }
    .highlight-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 28px rgba(11,44,68,0.15);
    }
    .highlight-card-bg {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(11,44,68,0) 30%, rgba(11,44,68,0.88) 100%);
      z-index: 1;
    }
    .highlight-card-img-placeholder {
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, #d0e9f0 0%, #b8d9e6 50%, #9ecdd9 100%);
    }
    .highlight-card-body {
      position: relative;
      z-index: 2;
      padding: 1.2rem;
    }
    .highlight-card-body .tag {
      margin-bottom: 0.5rem;
    }
    .highlight-card-body h4 {
      color: #fff;
      margin-bottom: 0.25rem;
      font-size: 1.05rem;
    }
    .highlight-card-body p {
      color: rgba(255,255,255,0.75);
      font-size: 0.82rem;
      margin: 0;
    }

    /* Tip box */
    .tip-box {
      background: linear-gradient(135deg, var(--brand-accent-light) 0%, #d0f4f1 100%);
      border: 1px solid rgba(0,168,150,0.25);
      border-radius: var(--radius-md);
      padding: 1.4rem;
      display: flex;
      gap: 1rem;
      align-items: flex-start;
    }
    .tip-box-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 0.1rem; }
    .tip-box h4   { color: var(--brand-accent-mid); margin-bottom: 0.35rem; font-size: 0.95rem; }
    .tip-box p    { font-size: 0.88rem; color: #086b62; margin: 0; }

    /* About strip */
    .about-strip {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2.5rem;
      align-items: center;
    }
    .about-strip-img {
      background: linear-gradient(135deg, #c8e6ef 0%, #a8d4de 40%, #8ec4d4 100%);
      border-radius: var(--radius-lg);
     
      position: relative;
      overflow: hidden;
    }
   

    /* Newsletter widget */
    .newsletter-widget {
      background: linear-gradient(135deg, var(--brand-primary) 0%, #0d3d5c 100%);
      border-radius: var(--radius-md);
      padding: 1.6rem;
      color: #fff;
    }
    .newsletter-widget .widget-title {
      color: #fff;
      border-bottom-color: rgba(0,168,150,0.6);
    }
    .newsletter-widget p {
      font-size: 0.85rem;
      color: rgba(255,255,255,0.7);
      margin-bottom: 1rem;
    }
    .newsletter-widget input[type="email"] {
      margin-bottom: 0.6rem;
      background: rgba(255,255,255,0.1);
      border-color: rgba(255,255,255,0.2);
      color: #fff;
    }
    .newsletter-widget input::placeholder { color: rgba(255,255,255,0.45); }
    .newsletter-widget input:focus {
      border-color: var(--brand-accent);
      box-shadow: 0 0 0 3px rgba(0,168,150,0.25);
      background: rgba(255,255,255,0.15);
    }

    /* Explore CTA strip */
    .cta-strip {
      background: linear-gradient(90deg, var(--brand-accent) 0%, var(--brand-accent-mid) 100%);
      border-radius: var(--radius-lg);
      padding: 2.5rem 2rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1.5rem;
      flex-wrap: wrap;
    }
    .cta-strip-text h3 { color: #fff; margin-bottom: 0.4rem; }
    .cta-strip-text p  { color: rgba(255,255,255,0.8); margin: 0; font-size: 0.95rem; }

    /* Responsive adjustments */
    @media (max-width: 900px) {
      .feature-strip { grid-template-columns: repeat(2, 1fr); }
      .feature-strip-item:nth-child(2) { border-right: none; }
      .feature-strip-item:nth-child(3) { border-top: 1px solid var(--brand-border); }
      .feature-strip-item:nth-child(4) { border-top: 1px solid var(--brand-border); border-right: none; }
      .about-strip { grid-template-columns: 1fr; }
      .about-strip-img { aspect-ratio: 16/7; }
    }
    @media (max-width: 600px) {
      .feature-strip { grid-template-columns: repeat(2, 1fr); border-radius: var(--radius-md); }
      .cta-strip { text-align: center; justify-content: center; }
    }


/* ============================================================
   Motueka Online — style.css
   Path: /css/style.css
   Used across all pages of the website.
   ============================================================ */

/* ── Google Fonts ───────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:wght@600;700;800&display=swap');

/* ── Brand Tokens ────────────────────────────────────────────── */
:root {
  --brand-primary:      #0B2C44;
  --brand-accent:       #00A896;
  --brand-accent-light: #e6f7f6;
  --brand-accent-mid:   #007d70;
  --brand-text:         #1a2e3b;
  --brand-text-subtle:  #5a7080;
  --brand-text-muted:   #8da4b0;
  --brand-bg:           #ffffff;
  --brand-page-bg:      #f5f8fa;
  --brand-border:       #dde7ed;
  --brand-shadow:       rgba(11, 44, 68, 0.08);
  --brand-shadow-md:    rgba(11, 44, 68, 0.14);

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --transition: 0.25s ease;
  --max-width:  1200px;
  --sidebar-w:  300px;
}

/* ── Reset & Base ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--brand-text);
  background: var(--brand-page-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand-accent-mid); }
a:focus-visible { outline: 2px solid var(--brand-accent); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--brand-accent); color: #fff; }

/* ── Typography ──────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--brand-primary);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4vw, 3rem);   font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 700; }
h4 { font-size: 1.15rem; font-weight: 600; }
h5 { font-size: 1rem;    font-weight: 600; }
h6 { font-size: 0.9rem;  font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }

p { margin-bottom: 1.2rem; color: var(--brand-text); }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.4rem; margin-bottom: 1.2rem; }
li { margin-bottom: 0.35rem; }
ul.plain-list { list-style: none; padding-left: 0; }

strong { font-weight: 600; color: var(--brand-primary); }
em { font-style: italic; }
blockquote {
  border-left: 4px solid var(--brand-accent);
  padding: 1rem 1.5rem;
  background: var(--brand-accent-light);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--brand-text-subtle);
}
blockquote cite { display: block; margin-top: 0.5rem; font-size: 0.85rem; font-style: normal; font-weight: 600; color: var(--brand-primary); }

hr { border: none; border-top: 1px solid var(--brand-border); margin: 2rem 0; }

code, pre {
  font-family: 'Courier New', monospace;
  background: var(--brand-page-bg);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
}
code { padding: 2px 6px; }
pre { padding: 1rem; overflow-x: auto; margin-bottom: 1.5rem; }

/* ── Utility Classes ──────────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.text-center   { text-align: center; }
.text-left     { text-align: left; }
.text-right    { text-align: right; }
.text-primary  { color: var(--brand-primary) !important; }
.text-accent   { color: var(--brand-accent) !important; }
.text-subtle   { color: var(--brand-text-subtle) !important; }
.text-muted    { color: var(--brand-text-muted) !important; }
.text-white    { color: #fff !important; }
.text-small    { font-size: 0.875rem; }
.text-xs       { font-size: 0.78rem; }
.text-lg       { font-size: 1.125rem; }
.text-xl       { font-size: 1.3rem; }

.fw-light   { font-weight: 300; }
.fw-normal  { font-weight: 400; }
.fw-medium  { font-weight: 500; }
.fw-semi    { font-weight: 600; }
.fw-bold    { font-weight: 700; }

.font-heading { font-family: var(--font-heading); }
.font-body    { font-family: var(--font-body); }

.bg-white    { background-color: #fff; }
.bg-light    { background-color: var(--brand-page-bg); }
.bg-primary  { background-color: var(--brand-primary); color: #fff; }
.bg-accent   { background-color: var(--brand-accent); color: #fff; }
.bg-accent-light { background-color: var(--brand-accent-light); }

.rounded     { border-radius: var(--radius-md); }
.rounded-sm  { border-radius: var(--radius-sm); }
.rounded-lg  { border-radius: var(--radius-lg); }
.rounded-xl  { border-radius: var(--radius-xl); }
.rounded-full { border-radius: 9999px; }

.shadow-sm  { box-shadow: 0 2px 8px var(--brand-shadow); }
.shadow-md  { box-shadow: 0 4px 18px var(--brand-shadow-md); }
.shadow-lg  { box-shadow: 0 8px 32px rgba(11,44,68,0.12); }

.border     { border: 1px solid var(--brand-border); }
.border-top { border-top: 1px solid var(--brand-border); }
.border-accent { border-color: var(--brand-accent) !important; }

.mt-0  { margin-top: 0 !important; }
.mt-1  { margin-top: 0.5rem; }
.mt-2  { margin-top: 1rem; }
.mt-3  { margin-top: 1.5rem; }
.mt-4  { margin-top: 2rem; }
.mt-5  { margin-top: 3rem; }
.mb-0  { margin-bottom: 0 !important; }
.mb-1  { margin-bottom: 0.5rem; }
.mb-2  { margin-bottom: 1rem; }
.mb-3  { margin-bottom: 1.5rem; }
.mb-4  { margin-bottom: 2rem; }
.mb-5  { margin-bottom: 3rem; }
.my-2  { margin-top: 1rem; margin-bottom: 1rem; }
.my-4  { margin-top: 2rem; margin-bottom: 2rem; }

.pt-0  { padding-top: 0 !important; }
.pt-2  { padding-top: 1rem; }
.pt-4  { padding-top: 2rem; }
.pb-0  { padding-bottom: 0 !important; }
.pb-2  { padding-bottom: 1rem; }
.pb-4  { padding-bottom: 2rem; }
.p-2   { padding: 1rem; }
.p-3   { padding: 1.5rem; }
.p-4   { padding: 2rem; }

.d-flex       { display: flex; }
.d-block      { display: block; }
.d-none       { display: none; }
.flex-column  { flex-direction: column; }
.flex-wrap    { flex-wrap: wrap; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

.w-full     { width: 100%; }
.max-w-prose { max-width: 680px; }
.mx-auto    { margin-left: auto; margin-right: auto; }
.overflow-hidden { overflow: hidden; }
.relative   { position: relative; }

/* ── Accent Divider ──────────────────────────────────────────── */
.accent-divider {
  width: 52px; height: 4px;
  background: linear-gradient(90deg, var(--brand-accent), var(--brand-accent-mid));
  border-radius: 2px;
  margin-bottom: 1.2rem;
}
.accent-divider.center { margin-left: auto; margin-right: auto; }

/* ── Container & Layout ──────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-wrapper { display: flex; flex-direction: column; min-height: 100vh; }
.site-main    { flex: 1; }

/* Content + sidebar layout */
.content-area {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-w);
  gap: 2.5rem;
  align-items: start;
}

.content-area.sidebar-left {
  grid-template-columns: var(--sidebar-w) 1fr;
}

.main-content { min-width: 0; }
.sidebar      { min-width: 0; }

/* Section spacing */
.section         { padding: 4rem 0; }
.section-sm      { padding: 2.5rem 0; }
.section-lg      { padding: 6rem 0; }
.section-white   { background: var(--brand-bg); }
.section-light   { background: var(--brand-page-bg); }
.section-primary { background: var(--brand-primary); color: #fff; }
.section-accent  { background: var(--brand-accent); color: #fff; }

.section-header { margin-bottom: 2.5rem; }
.section-header .section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: 0.6rem;
}
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p  { color: var(--brand-text-subtle); font-size: 1.05rem; max-width: 600px; }

/* ── Header ──────────────────────────────────────────────────── */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--brand-border);
  box-shadow: 0 2px 16px var(--brand-shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  height: 72px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.logo-img-wrap {
    
  display: flex;
  align-items: center;
  justify-content: center;
  
}

.logo-img-wrap img {
 height: 73px;
  width: 722px;
  object-fit: cover;
  margin-left:-64%
}

.logo-text-wrap { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--brand-primary);
  letter-spacing: -0.02em;
}
.logo-tagline-sm {
  font-size: 0.7rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-style: italic;
}

/* ── Navigation ──────────────────────────────────────────────── */
.site-nav { display: flex; align-items: center; }

.nav-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.15rem;
}

.nav-list a {
  display: block;
  padding: 0.45rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--brand-primary);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.nav-list a:hover,
.nav-list a.active {
  background: var(--brand-accent-light);
  color: var(--brand-accent-mid);
}

.nav-list a.active {
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.65rem;
  cursor: pointer;
  color: var(--brand-primary);
  font-size: 1.2rem;
}

/* ── Hero Section ────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--brand-primary) 0%, #0d3d5c 55%, #0a3352 100%);
  padding: 6rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 110%, rgba(0,168,150,0.2) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 10% -10%, rgba(0,168,150,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0,168,150,0.18);
  border: 1px solid rgba(0,168,150,0.4);
  color: #7ee8df;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}
.hero-badge::before { content: '✦'; font-size: 0.65rem; }

.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 1.2rem;
  line-height: 1.15;
}

.hero h1 em {
  font-style: normal;
  color: var(--brand-accent);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: rgba(255,255,255,0.75);
  max-width: 580px;
  margin: 0 auto 2.2rem;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--brand-accent);
  color: #fff;
  border-color: var(--brand-accent);
}
.btn-primary:hover {
  background: var(--brand-accent-mid);
  border-color: var(--brand-accent-mid);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,168,150,0.35);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.45);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.7);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--brand-primary);
  border-color: var(--brand-border);
}
.btn-outline:hover {
  border-color: var(--brand-accent);
  color: var(--brand-accent);
  background: var(--brand-accent-light);
}

.btn-sm { padding: 0.45rem 1.1rem; font-size: 0.82rem; }
.btn-lg { padding: 0.9rem 2.2rem; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

/* ── Cards ───────────────────────────────────────────────────── */
.card {
  background: var(--brand-bg);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 6px 24px var(--brand-shadow-md);
  transform: translateY(-2px);
}

.card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.card-body { padding: 1.4rem; }
.card-title { font-size: 1.1rem; margin-bottom: 0.5rem; }
.card-meta {
  font-size: 0.78rem;
  color: var(--brand-text-muted);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.card-excerpt { font-size: 0.92rem; color: var(--brand-text-subtle); margin-bottom: 1rem; }
.card-footer { padding: 1rem 1.4rem; border-top: 1px solid var(--brand-border); background: var(--brand-page-bg); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card-horizontal {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
}
.card-horizontal .card-img-sm {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

/* ── Feature / Icon Boxes ────────────────────────────────────── */
.feature-box {
  background: var(--brand-bg);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  transition: box-shadow var(--transition);
}
.feature-box:hover { box-shadow: 0 4px 20px var(--brand-shadow); }

.feature-icon {
  width: 52px; height: 52px;
  background: var(--brand-accent-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--brand-accent-mid);
}

.feature-box h4 { margin-bottom: 0.5rem; }
.feature-box p  { font-size: 0.92rem; color: var(--brand-text-subtle); margin: 0; }

/* ── Tags & Badges ───────────────────────────────────────────── */
.tag {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tag-accent  { background: var(--brand-accent-light); color: var(--brand-accent-mid); }
.tag-primary { background: rgba(11,44,68,0.08); color: var(--brand-primary); }
.tag-neutral { background: var(--brand-page-bg); color: var(--brand-text-subtle); border: 1px solid var(--brand-border); }

/* ── Sidebar Components ──────────────────────────────────────── */
.sidebar-widget {
  background: var(--brand-bg);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  margin-bottom: 1.5rem;
}

.sidebar-widget:last-child { margin-bottom: 0; }

.widget-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--brand-accent);
}

.widget-list { list-style: none; padding: 0; margin: 0; }
.widget-list li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--brand-border);
  font-size: 0.9rem;
}
.widget-list li:last-child { border-bottom: none; padding-bottom: 0; }
.widget-list a { color: var(--brand-text); font-weight: 500; }
.widget-list a:hover { color: var(--brand-accent); padding-left: 4px; transition: padding var(--transition), color var(--transition); }

/* ── Recent Posts / Post Lists ───────────────────────────────── */
.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--brand-border);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.post-list li:last-child { border-bottom: none; }
.post-list .post-title { font-weight: 600; font-size: 0.92rem; color: var(--brand-primary); }
.post-list .post-date  { font-size: 0.78rem; color: var(--brand-text-muted); }
.post-list a { color: var(--brand-primary); }
.post-list a:hover { color: var(--brand-accent); }

/* ── Tables ──────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; margin-bottom: 1.5rem; }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th {
  background: var(--brand-primary);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  padding: 0.75rem 1rem;
  text-align: left;
}
td { padding: 0.65rem 1rem; border-bottom: 1px solid var(--brand-border); }
tr:nth-child(even) td { background: var(--brand-page-bg); }
tr:hover td { background: var(--brand-accent-light); }

/* ── Forms ───────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.2rem; }
label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--brand-primary); margin-bottom: 0.4rem; }
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="url"],
textarea,
select {
  width: 100%;
  padding: 0.65rem 1rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--brand-text);
  background: var(--brand-bg);
  border: 1.5px solid var(--brand-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(0,168,150,0.15);
}
textarea { resize: vertical; min-height: 130px; }
input::placeholder, textarea::placeholder { color: var(--brand-text-muted); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ── Search Bar ──────────────────────────────────────────────── */
.search-form {
  display: flex;
  gap: 0;
  border: 1.5px solid var(--brand-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--brand-bg);
}
.search-form input {
  border: none;
  border-radius: 0;
  flex: 1;
  box-shadow: none;
}
.search-form input:focus { box-shadow: none; }
.search-form button {
  background: var(--brand-accent);
  border: none;
  color: #fff;
  padding: 0.65rem 1rem;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background var(--transition);
}
.search-form button:hover { background: var(--brand-accent-mid); }

/* ── Alert / Notice Boxes ────────────────────────────────────── */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border-left: 4px solid;
  margin-bottom: 1.2rem;
  font-size: 0.92rem;
}
.alert-info    { background: var(--brand-accent-light); border-color: var(--brand-accent); color: #086b62; }
.alert-warning { background: #fff8e6; border-color: #f5a623; color: #7a5200; }
.alert-success { background: #edfaf3; border-color: #25c26e; color: #0e6639; }
.alert-danger  { background: #fff0f0; border-color: #e84040; color: #7a0000; }

/* ── Breadcrumb ──────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  padding: 0.85rem 0;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  color: var(--brand-text-muted);
}
.breadcrumb li { display: flex; align-items: center; gap: 0.4rem; }
.breadcrumb a  { color: var(--brand-accent); font-weight: 500; }
.breadcrumb li:not(:last-child)::after { content: '/'; color: var(--brand-border); }

/* ── Page Banner / Inner Hero ────────────────────────────────── */
.page-banner {
  background: linear-gradient(135deg, var(--brand-primary) 0%, #0d3d5c 100%);
  padding: 3.5rem 1.5rem;
  text-align: center;
  position: relative;
}
.page-banner::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-accent), var(--brand-accent-mid));
}
.page-banner h1 { color: #fff; margin-bottom: 0.5rem; }
.page-banner p  { color: rgba(255,255,255,0.7); max-width: 520px; margin: 0 auto; }

/* ── Pagination ──────────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  justify-content: center;
  padding: 1.5rem 0;
  list-style: none;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  border: 1px solid var(--brand-border);
  color: var(--brand-primary);
  transition: all var(--transition);
}
.pagination a:hover    { background: var(--brand-accent-light); border-color: var(--brand-accent); color: var(--brand-accent-mid); }
.pagination .current   { background: var(--brand-accent); border-color: var(--brand-accent); color: #fff; font-weight: 700; }

/* ── Gallery Grid ────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}
.gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

/* ── Info / Stat Blocks ──────────────────────────────────────── */
.stat-block {
  text-align: center;
  padding: 1.5rem;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--brand-accent);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat-label { font-size: 0.85rem; color: var(--brand-text-subtle); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }

/* ── Testimonial / Quote Block ───────────────────────────────── */
.testimonial {
  background: var(--brand-bg);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  position: relative;
}
.testimonial::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--brand-accent-light);
  position: absolute;
  top: 0.5rem; left: 1.2rem;
  line-height: 1;
}
.testimonial-text { font-style: italic; color: var(--brand-text-subtle); margin-bottom: 1rem; padding-top: 1.5rem; }
.testimonial-author { font-weight: 700; font-size: 0.88rem; color: var(--brand-primary); }

/* ── Tabs ────────────────────────────────────────────────────── */
.tabs { margin-bottom: 1.5rem; }
.tab-list {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--brand-border);
  list-style: none;
  padding: 0;
  margin-bottom: 0;
  overflow-x: auto;
}
.tab-list li button {
  background: none;
  border: none;
  padding: 0.7rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-text-subtle);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.tab-list li button:hover     { color: var(--brand-primary); }
.tab-list li button.active    { color: var(--brand-accent-mid); border-bottom-color: var(--brand-accent); }
.tab-panel { padding: 1.5rem 0; display: none; }
.tab-panel.active { display: block; }

/* ── Accordion ───────────────────────────────────────────────── */
.accordion-item {
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  overflow: hidden;
}
.accordion-header {
  background: var(--brand-bg);
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--brand-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.accordion-header:hover { background: var(--brand-accent-light); }
.accordion-body { padding: 1rem 1.25rem; font-size: 0.92rem; color: var(--brand-text-subtle); border-top: 1px solid var(--brand-border); }

/* ── Highlights / Promo Strip ────────────────────────────────── */
.promo-strip {
  background: linear-gradient(90deg, var(--brand-primary) 0%, #0d3d5c 100%);
  color: #fff;
  padding: 1.8rem 1.5rem;
  text-align: center;
  border-radius: var(--radius-md);
}
.promo-strip h3 { color: #fff; margin-bottom: 0.5rem; }
.promo-strip p  { color: rgba(255,255,255,0.75); margin-bottom: 1rem; font-size: 0.95rem; }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--brand-primary);
  color: rgba(255,255,255,0.75);
  margin-top: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding: 3.5rem 1.5rem 2.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-brand .logo-name { color: #fff; font-size: 1.2rem; }
.footer-brand { color: var(--brand-accent); }
.footer-brand p { font-size: 0.88rem; margin-top: 1rem; color: rgba(255,255,255,0.6); line-height: 1.65; }

.footer-col h5 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.4rem; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  transition: color var(--transition), padding var(--transition);
}
.footer-links a:hover { color: var(--brand-accent); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.2rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p { margin: 0; font-size: 0.8rem; color: rgba(255,255,255,0.45); }
.footer-bottom a { color: var(--brand-accent); font-size: 0.8rem; }

/* ── Back to Top ─────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 42px; height: 42px;
  background: var(--brand-accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,168,150,0.4);
  transition: all var(--transition);
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  z-index: 200;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover   { background: var(--brand-accent-mid); transform: translateY(-2px); }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .content-area,
  .content-area.sidebar-left {
    grid-template-columns: 1fr;
  }
  .sidebar { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
  .sidebar .sidebar-widget { margin-bottom: 0; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-list { display: none; flex-direction: column; padding: 1rem 0; }
  .nav-list.open { display: flex; }
  .nav-toggle { display: flex; align-items: center; }
  .site-nav   { flex-direction: column; align-items: flex-start; width: 100%; }

  .site-header { position: relative; }
  .header-inner { flex-wrap: wrap; height: auto; padding: 0.75rem 1.25rem; gap: 0.5rem; }

  .nav-list { width: 100%; border-top: 1px solid var(--brand-border); }
  .nav-list a { padding: 0.6rem 0.5rem; }

  .hero { padding: 4rem 1.25rem; }
  .hero h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; align-items: center; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .form-row { grid-template-columns: 1fr; }
  .card-grid-2, .card-grid-3 { grid-template-columns: 1fr; }

  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.45rem; }
  h3 { font-size: 1.25rem; }

  .section    { padding: 2.5rem 0; }
  .section-lg { padding: 3.5rem 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero { padding: 3rem 1rem; }
  .card-body { padding: 1rem; }
  .sidebar-widget { padding: 1rem; }
  .feature-box { padding: 1.25rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .pagination a, .pagination span { width: 32px; height: 32px; font-size: 0.82rem; }
}

/* ── Print Styles ────────────────────────────────────────────── */
@media print {
  .site-header, .site-footer, .back-to-top { display: none; }
  .content-area { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 0.8em; color: #555; }
  body { color: #000; background: #fff; }
}
