/*
Theme Name: FisoKinno
Theme URI: https://fisokinnolaw.com
Author: FisoKinno Law Professional Corporation
Author URI: https://fisokinnolaw.com
Description: A modern, luxury law firm theme for Fiso Kinno Law Professional Corporation. Warm, professional, and client-focused with a refined gold and navy aesthetic.
Version: 1.2.7
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: Private
Tags: law-firm, professional, luxury, custom-menu, featured-images, custom-logo, full-width-template
Text Domain: fisokinno
*/

/* ==========================================================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ========================================================================== */
:root {
  /* --- Brand Colours --- */
  --color-primary:        #0A2240;   /* Deep Navy          */
  --color-primary-light:  #0E2E56;   /* Navy Hover         */
  --color-primary-dark:   #061628;   /* Navy Deep Shadow   */
  --color-accent:         #C5A059;   /* Warm Gold          */
  --color-accent-light:   #D4B47A;   /* Gold Hover/Tint    */
  --color-accent-dark:    #A8843D;   /* Gold Pressed       */
  --color-bg:             #FAFAFA;   /* Soft Off-White     */
  --color-bg-alt:         #F3EFE9;   /* Warm Cream         */
  --color-surface:        #FFFFFF;   /* Pure White Cards   */
  --color-text:           #1A1A1A;   /* Charcoal Body      */
  --color-text-muted:     #5A5A5A;   /* Muted/Secondary    */
  --color-text-light:     #8A8A8A;   /* Caption/Meta       */
  --color-border:         #DDD5C8;   /* Warm Border        */
  --color-border-light:   #EDEAE5;   /* Subtle Divider     */
  --color-overlay:        rgba(10, 34, 64, 0.72); /* Navy Overlay */
  --color-gold-rule:      #C5A059;   /* Decorative Rule    */

  /* --- Typography: Heading Stack (Cormorant Garamond) --- */
  --font-heading:         'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
  --font-body:            'Lato', 'Helvetica Neue', 'Arial', sans-serif;
  --font-mono:            'Courier New', Courier, monospace;

  /* --- Type Scale (Major Third — 1.250) --- */
  --text-xs:   0.640rem;   /*  ~10px */
  --text-sm:   0.800rem;   /*  ~13px */
  --text-base: 1.000rem;   /*  ~16px */
  --text-md:   1.125rem;   /*  ~18px */
  --text-lg:   1.250rem;   /*  ~20px */
  --text-xl:   1.563rem;   /*  ~25px */
  --text-2xl:  1.953rem;   /*  ~31px */
  --text-3xl:  2.441rem;   /*  ~39px */
  --text-4xl:  3.052rem;   /*  ~49px */
  --text-5xl:  3.815rem;   /*  ~61px */
  --text-6xl:  4.768rem;   /*  ~76px */

  /* --- Font Weights --- */
  --weight-light:    300;
  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;
  --weight-black:    900;

  /* --- Line Heights --- */
  --leading-tight:   1.15;
  --leading-snug:    1.35;
  --leading-normal:  1.6;
  --leading-relaxed: 1.75;
  --leading-loose:   2.0;

  /* --- Letter Spacing --- */
  --tracking-tight:  -0.02em;
  --tracking-normal:  0em;
  --tracking-wide:    0.05em;
  --tracking-wider:   0.12em;
  --tracking-widest:  0.20em;

  /* --- Spacing Scale (8px base grid) --- */
  --space-1:   0.25rem;   /*  4px */
  --space-2:   0.5rem;    /*  8px */
  --space-3:   0.75rem;   /* 12px */
  --space-4:   1rem;      /* 16px */
  --space-5:   1.25rem;   /* 20px */
  --space-6:   1.5rem;    /* 24px */
  --space-8:   2rem;      /* 32px */
  --space-10:  2.5rem;    /* 40px */
  --space-12:  3rem;      /* 48px */
  --space-16:  4rem;      /* 64px */
  --space-20:  5rem;      /* 80px */
  --space-24:  6rem;      /* 96px */
  --space-32:  8rem;      /* 128px */
  --space-40:  10rem;     /* 160px */
  --space-48:  12rem;     /* 192px */

  /* --- Layout --- */
  --container-xs:  480px;
  --container-sm:  640px;
  --container-md:  768px;
  --container-lg:  1024px;
  --container-xl:  1280px;
  --container-2xl: 1440px;
  --container-max: 1600px;

  /* --- Border Radius --- */
  --radius-sm:   2px;
  --radius-md:   4px;
  --radius-lg:   8px;
  --radius-xl:   16px;
  --radius-full: 9999px;

  /* --- Shadows --- */
  --shadow-xs:  0 1px 3px rgba(10,34,64,0.06);
  --shadow-sm:  0 2px 8px rgba(10,34,64,0.08);
  --shadow-md:  0 4px 20px rgba(10,34,64,0.10);
  --shadow-lg:  0 8px 40px rgba(10,34,64,0.14);
  --shadow-xl:  0 20px 60px rgba(10,34,64,0.18);
  --shadow-gold: 0 4px 24px rgba(197,160,89,0.25);

  /* --- Transitions --- */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;
  --transition-slower: 600ms ease;

  /* --- Z-Index Scale --- */
  --z-base:    0;
  --z-raised:  10;
  --z-overlay: 100;
  --z-modal:   200;
  --z-nav:     300;
  --z-toast:   400;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

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

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

ul, ol { list-style: none; }

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ==========================================================================
   TYPOGRAPHY SYSTEM
   ========================================================================== */

/* --- Heading Base --- */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-heading);
  font-weight: var(--weight-medium);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-primary);
}

h1, .h1 {
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  font-weight: var(--weight-light);
  letter-spacing: -0.03em;
}

h2, .h2 {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: var(--weight-light);
}

h3, .h3 {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: var(--weight-regular);
}

h4, .h4 {
  font-size: clamp(var(--text-xl), 2.5vw, var(--text-3xl));
  font-weight: var(--weight-medium);
}

h5, .h5 {
  font-size: var(--text-xl);
  font-weight: var(--weight-medium);
}

h6, .h6 {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
}

/* --- Body Text --- */
p {
  margin-bottom: var(--space-6);
  line-height: var(--leading-relaxed);
  color: var(--color-text);
}

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

/* --- Lead / Intro Text --- */
.text-lead {
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: var(--weight-light);
  line-height: var(--leading-relaxed);
  color: var(--color-text-muted);
}

/* --- Punchy Display Block (short hero copy) --- */
.text-display {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-3xl), 4.5vw, var(--text-5xl));
  font-weight: var(--weight-light);
  font-style: italic;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-primary);
}

.text-display--light {
  color: var(--color-surface);
}

.text-display--accent {
  color: var(--color-accent);
}

/* --- Eyebrow / Overline (small caps label above headings) --- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

.eyebrow--light {
  color: rgba(197, 160, 89, 0.85);
}

/* --- Tagline / Quote Style --- */
.text-tagline {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-xl), 2.5vw, var(--text-3xl));
  font-weight: var(--weight-light);
  font-style: italic;
  line-height: var(--leading-snug);
  color: var(--color-accent);
}

/* --- Small / Meta Text --- */
.text-meta {
  font-size: var(--text-sm);
  font-weight: var(--weight-regular);
  color: var(--color-text-light);
  letter-spacing: var(--tracking-wide);
}

/* --- Caption --- */
.text-caption {
  font-size: var(--text-xs);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-text-light);
}

/* ==========================================================================
   VISUAL DIVIDERS
   ========================================================================== */

/* --- Full-width Horizontal Rule --- */
hr, .divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: var(--space-12) 0;
}

/* --- Gold Accent Rule --- */
.divider--gold {
  border: none;
  border-top: 1px solid var(--color-accent);
  opacity: 0.4;
  margin: var(--space-8) 0;
}

/* --- Short Decorative Rule (centred, after eyebrow) --- */
.rule {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--color-accent);
  margin: var(--space-4) 0;
}

.rule--center { margin-left: auto; margin-right: auto; }
.rule--long   { width: 96px; }
.rule--thick  { height: 2px; }

/* --- Section Divider (full decorative) --- */
.section-divider {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin: var(--space-16) 0;
}
.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}
.section-divider span {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-style: italic;
  color: var(--color-accent);
  letter-spacing: var(--tracking-wider);
  white-space: nowrap;
}

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */

/* --- Container System --- */
.container {
  width: 100%;
  max-width: var(--container-xl);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

.container--sm  { max-width: var(--container-sm);  }
.container--md  { max-width: var(--container-md);  }
.container--lg  { max-width: var(--container-lg);  }
.container--2xl { max-width: var(--container-2xl); }
.container--max { max-width: var(--container-max); }

@media (min-width: 768px) {
  .container {
    padding-left: var(--space-10);
    padding-right: var(--space-10);
  }
}

@media (min-width: 1280px) {
  .container {
    padding-left: var(--space-16);
    padding-right: var(--space-16);
  }
}

/* --- Section Spacing --- */
.section {
  padding-top: var(--space-20);
  padding-bottom: var(--space-20);
}

.section--sm {
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
}

.section--lg {
  padding-top: var(--space-32);
  padding-bottom: var(--space-32);
}

.section--xl {
  padding-top: var(--space-40);
  padding-bottom: var(--space-40);
}

/* --- Grid System --- */
.grid {
  display: grid;
  gap: var(--space-8);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--auto-fit { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

@media (max-width: 1023px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* --- Flex Utilities --- */
.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col     { flex-direction: column; }
.flex-wrap    { flex-wrap: wrap; }
.gap-2        { gap: var(--space-2); }
.gap-4        { gap: var(--space-4); }
.gap-6        { gap: var(--space-6); }
.gap-8        { gap: var(--space-8); }
.gap-12       { gap: var(--space-12); }

/* --- Text Alignment --- */
.text-left    { text-align: left; }
.text-center  { text-align: center; }
.text-right   { text-align: right; }

/* --- Colour Backgrounds --- */
.bg-primary  { background-color: var(--color-primary); }
.bg-accent   { background-color: var(--color-accent); }
.bg-white    { background-color: var(--color-surface); }
.bg-alt      { background-color: var(--color-bg-alt); }
.bg-dark     { background-color: var(--color-primary-dark); }

/* --- Colour Text --- */
.text-primary { color: var(--color-primary); }
.text-accent  { color: var(--color-accent); }
.text-white   { color: var(--color-surface); }
.text-muted   { color: var(--color-text-muted); }

/* --- Spacing Utilities --- */
.mt-0  { margin-top: 0; }
.mt-4  { margin-top: var(--space-4); }
.mt-6  { margin-top: var(--space-6); }
.mt-8  { margin-top: var(--space-8); }
.mt-10 { margin-top: var(--space-10); }
.mt-12 { margin-top: var(--space-12); }
.mt-16 { margin-top: var(--space-16); }

.mb-0  { margin-bottom: 0; }
.mb-4  { margin-bottom: var(--space-4); }
.mb-6  { margin-bottom: var(--space-6); }
.mb-8  { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }
.mb-16 { margin-bottom: var(--space-16); }

.py-4  { padding-top: var(--space-4);  padding-bottom: var(--space-4); }
.py-8  { padding-top: var(--space-8);  padding-bottom: var(--space-8); }
.py-12 { padding-top: var(--space-12); padding-bottom: var(--space-12); }
.py-16 { padding-top: var(--space-16); padding-bottom: var(--space-16); }
.py-20 { padding-top: var(--space-20); padding-bottom: var(--space-20); }

.px-4  { padding-left: var(--space-4);  padding-right: var(--space-4); }
.px-6  { padding-left: var(--space-6);  padding-right: var(--space-6); }
.px-8  { padding-left: var(--space-8);  padding-right: var(--space-8); }

/* --- Display --- */
.hidden { display: none !important; }
.block  { display: block; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* ==========================================================================
   BUTTON SYSTEM
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition:
    background-color var(--transition-base),
    border-color var(--transition-base),
    color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn:active { transform: translateY(1px); }

/* Primary — Gold Fill */
.btn-primary {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  box-shadow: var(--shadow-gold);
  color: var(--color-primary);
}

/* Secondary — Navy Fill */
.btn-secondary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-surface);
}

.btn-secondary:hover {
  background-color: var(--color-primary-light);
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-md);
  color: var(--color-surface);
}

/* Outline — Navy Border */
.btn-outline {
  background-color: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

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

/* Outline Light — for dark backgrounds */
.btn-outline-light {
  background-color: transparent;
  border-color: rgba(255,255,255,0.6);
  color: var(--color-surface);
}

.btn-outline-light:hover {
  background-color: rgba(255,255,255,0.12);
  border-color: var(--color-surface);
  color: var(--color-surface);
}

/* Ghost — Gold text, no bg */
.btn-ghost {
  background-color: transparent;
  border-color: transparent;
  color: var(--color-accent);
  padding-left: 0;
  padding-right: 0;
}

.btn-ghost:hover {
  color: var(--color-accent-dark);
}

/* Sizes */
.btn-sm {
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-xs);
}

.btn-lg {
  padding: var(--space-5) var(--space-10);
  font-size: var(--text-base);
  letter-spacing: var(--tracking-wider);
}

/* ==========================================================================
   CARD COMPONENT
   ========================================================================== */

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: var(--space-10);
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

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

.card--accent-border {
  border-top: 3px solid var(--color-accent);
}

.card--navy {
  background: var(--color-primary);
  border-color: var(--color-primary-light);
  color: var(--color-surface);
}

.card--navy h1,
.card--navy h2,
.card--navy h3,
.card--navy h4,
.card--navy h5,
.card--navy h6 {
  color: var(--color-surface);
}

.card--navy p {
  color: rgba(255,255,255,0.75);
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  gap: var(--space-8);
}

.site-logo img {
  height: 100px;
  width: auto;
}

.site-logo a {
  display: flex;
  align-items: center;
}

/* Primary Navigation */
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.primary-nav a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text);
  padding-bottom: 2px;
  border-bottom: 1.5px solid transparent;
  transition: all var(--transition-base);
}

.primary-nav a:hover,
.primary-nav a.active,
.primary-nav .current-menu-item > a {
  color: var(--color-primary);
  border-bottom-color: var(--color-accent);
}

.header-cta {
  flex-shrink: 0;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-primary);
  transition: all var(--transition-base);
}

@media (max-width: 1023px) {
  .menu-toggle { display: flex; }
  .header-cta .btn { display: none; }

  .primary-nav {
    position: fixed;
    top: 100px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-surface);
    padding: var(--space-12) var(--space-8);
    transform: translateX(100%);
    transition: transform var(--transition-slow);
    z-index: var(--z-overlay);
    overflow-y: auto;
  }

  .primary-nav.is-open {
    transform: translateX(0);
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-8);
  }

  .primary-nav a {
    font-size: var(--text-lg);
    letter-spacing: var(--tracking-wide);
  }
}

/* Body padding for fixed header */
body {
  padding-top: 100px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-primary);
}

.hero__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center right; /* Anchor to books/scales on the right */
  width: 100%;
  height: 100%;
  opacity: 0.55;                 /* Higher opacity — image is high quality */
}

.hero__overlay {
  position: absolute;
  inset: 0;
  /* Left side: deep navy for text legibility
     Right side: lighter so the image detail shows through */
  background: linear-gradient(
    105deg,
    rgba(10,34,64,0.93) 0%,
    rgba(10,34,64,0.80) 45%,
    rgba(10,34,64,0.45) 75%,
    rgba(10,34,64,0.25) 100%
  );
}

.hero__content {
  position: relative;
  z-index: var(--z-raised);
  max-width: 780px;
}

.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-6);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: var(--weight-light);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--color-surface);
  margin-bottom: var(--space-6);
}

.hero__title em {
  font-style: italic;
  color: var(--color-accent-light);
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(var(--text-base), 1.5vw, var(--text-md));
  font-weight: var(--weight-light);
  line-height: var(--leading-relaxed);
  color: rgba(255,255,255,0.78);
  max-width: 580px;
  margin-bottom: var(--space-10);
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero__gold-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent) 0%, transparent 100%);
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */

.service-card {
  padding: var(--space-10) var(--space-8);
  border: 1px solid var(--color-border-light);
  border-top: 3px solid transparent;
  background: var(--color-surface);
  transition: all var(--transition-base);
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.service-card:hover::before {
  transform: scaleX(1);
}

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

.service-card__icon {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-5);
  color: var(--color-accent);
  line-height: 1;
}

.service-card__number {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: var(--weight-light);
  color: var(--color-border);
  line-height: 1;
  margin-bottom: var(--space-4);
  user-select: none;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-medium);
  color: var(--color-primary);
  margin-bottom: var(--space-4);
  line-height: var(--leading-snug);
}

.service-card__body {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

.service-card__list {
  margin-bottom: var(--space-6);
}

.service-card__list li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding: var(--space-2) 0;
  padding-left: var(--space-5);
  position: relative;
  border-bottom: 1px solid var(--color-border-light);
}

.service-card__list li:last-child {
  border-bottom: none;
}

.service-card__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: var(--text-xs);
}

/* ==========================================================================
   ABOUT / TRUST SECTION
   ========================================================================== */

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 600px;
}

.about-split__image {
  position: relative;
  overflow: hidden;
}

.about-split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slower);
}

.about-split__image:hover img {
  transform: scale(1.03);
}

.about-split__content {
  background: var(--color-primary);
  padding: var(--space-20) var(--space-16);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-split__content h2,
.about-split__content h3,
.about-split__content h4 {
  color: var(--color-surface);
}

.about-split__content p {
  color: rgba(255,255,255,0.75);
}

@media (max-width: 767px) {
  .about-split {
    grid-template-columns: 1fr;
  }

  .about-split__image {
    min-height: 320px;
  }

  .about-split__content {
    padding: var(--space-12) var(--space-8);
  }
}

/* ==========================================================================
   TRUST PILLARS / VALUES STRIP
   ========================================================================== */

.trust-strip {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  /* Override section--sm padding on mobile — this strip should be compact */
}

/* Compact vertical padding — overrides .section--sm */
.trust-strip.section--sm {
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
}

/* Force 4-column grid regardless of screen size */
.trust-strip .grid--4 {
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 0;
}

.trust-item {
  padding: var(--space-5) var(--space-2);
  text-align: center;
  position: relative;
}

.trust-item + .trust-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: var(--color-border);
}

.trust-item__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-1);
  /* Truncate on very small screens */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trust-item__value {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-xl), 4vw, var(--text-3xl));
  font-weight: var(--weight-light);
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-1);
}

/* Tighten vertical padding on mobile */
@media (max-width: 640px) {
  .trust-item {
    padding: var(--space-4) var(--space-1);
  }

  .trust-item__label {
    font-size: 0.55rem;
    letter-spacing: 0.12em;
  }
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

.testimonial {
  padding: var(--space-10);
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  position: relative;
}

.testimonial::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 6rem;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.25;
  position: absolute;
  top: var(--space-4);
  left: var(--space-6);
}

.testimonial__body {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-light);
  font-style: italic;
  line-height: var(--leading-snug);
  color: var(--color-primary);
  margin-bottom: var(--space-6);
  padding-top: var(--space-8);
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.testimonial__author-name {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text);
}

.testimonial__author-role {
  font-size: var(--text-xs);
  color: var(--color-text-light);
  letter-spacing: var(--tracking-wide);
}

.testimonial__stars {
  color: var(--color-accent);
  font-size: var(--text-sm);
  margin-bottom: var(--space-2);
}

/* ==========================================================================
   CONTACT / BOOKING SECTION
   ========================================================================== */

.contact-form {
  background: var(--color-surface);
  padding: var(--space-12) var(--space-10);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--space-6);
}

.form-label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(197,160,89,0.15);
}

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

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

@media (max-width: 640px) {
  .form-grid-2 { grid-template-columns: 1fr; }
  .contact-form { padding: var(--space-8) var(--space-6); }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background-color: var(--color-primary-dark);
  color: rgba(255,255,255,0.65);
  padding-top: var(--space-20);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-12);
  padding-bottom: var(--space-16);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand__tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--color-accent-light);
  margin-top: var(--space-4);
  margin-bottom: var(--space-6);
}

/* .footer-brand p — removed: use specific classes instead */

.footer-col h4 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-surface);
  margin-bottom: var(--space-6);
}

.footer-col ul li {
  margin-bottom: var(--space-3);
}

.footer-col ul li a {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.55);
  transition: color var(--transition-base);
}

.footer-col ul li a:hover {
  color: var(--color-accent-light);
}

/* footer-contact-item — see consolidated block below */

.footer-contact-item strong {
  color: var(--color-accent);
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-body);
}

.footer-bottom {
  padding: var(--space-6) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-bottom p,
.footer-bottom a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.45);
  letter-spacing: var(--tracking-normal);
}

.footer-bottom a:hover {
  color: var(--color-accent);
}

/* --- Footer logo / wordmark --- */
.footer-logo {
  /* Preserve original logo colours */
  max-width: 180px;
  margin-bottom: var(--space-4);
}

.footer-logo img {
  height: auto;
  width: 100%;
  display: block;
  /* mix-blend-mode removes white backgrounds on dark surfaces
     while preserving gold and navy logo colours */
  mix-blend-mode: lighten;
}

.footer-wordmark {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 300;
  color: #fff;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-4);
}

/* --- Footer social links --- */
.footer-social {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-6);
  flex-wrap: wrap;
}
/* footer-social__link — see consolidated block below */

/* --- Footer contact values --- */
.footer-contact-link,
.footer-contact-text {
  font-size: var(--text-base);      /* Explicitly set — was inheriting tiny size */
  font-weight: var(--weight-light);
  color: rgba(255,255,255,0.65);
  line-height: var(--leading-snug);
  word-break: break-word;
  overflow-wrap: break-word;
  display: block;
  margin-top: 2px;
}

.footer-contact-link {
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer-contact-link:hover {
  color: var(--color-accent-light);
}

/* --- Footer CTA wrap --- */
.footer-cta-wrap {
  margin-top: var(--space-8);
}

.footer-cta-wrap .btn {
  width: 100%;
  justify-content: center;
}

/* --- Footer legal links row --- */
.footer-legal-links {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.footer-legal-links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer-legal-links a:hover {
  color: var(--color-accent);
}

@media (max-width: 1023px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .footer-top { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   SECTION HEADER PATTERN
   ========================================================================== */

.section-header {
  margin-bottom: var(--space-16);
}

.section-header--center {
  text-align: center;
}

.section-header__title {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: var(--weight-light);
  color: var(--color-primary);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-5);
}

.section-header__subtitle {
  font-size: var(--text-md);
  font-weight: var(--weight-light);
  color: var(--color-text-muted);
  max-width: 560px;
  line-height: var(--leading-relaxed);
}

.section-header--center .section-header__subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   GOLD ACCENT BAR (page top decorative)
   ========================================================================== */

.gold-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-light) 50%, transparent 100%);
  width: 100%;
}

/* ==========================================================================
   PAGE HERO (inner pages)
   ========================================================================== */

.page-hero {
  background: var(--color-primary);
  padding: var(--space-24) 0 var(--space-16);
  position: relative;
  overflow: hidden;
  /* Guarantee full bleed regardless of any parent grid/flex context */
  width: 100%;
  box-sizing: border-box;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent) 0%, transparent 100%);
}

.page-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-4xl), 5vw, var(--text-5xl));
  font-weight: var(--weight-light);
  color: var(--color-surface);
  margin-bottom: var(--space-4);
}

.page-hero__breadcrumb {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.page-hero__breadcrumb a {
  color: var(--color-accent);
}

.page-hero__breadcrumb a:hover {
  color: var(--color-accent-light);
}

/* ==========================================================================
   SCROLL ANIMATIONS (CSS only)
   ========================================================================== */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--transition-slower), transform var(--transition-slower);
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 100ms; }
.fade-up:nth-child(3) { transition-delay: 200ms; }
.fade-up:nth-child(4) { transition-delay: 300ms; }

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background: var(--color-primary);
  color: var(--color-surface);
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  z-index: var(--z-toast);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-4);
}

/* ==========================================================================
   WORDPRESS ALIGNMENT CLASSES
   ========================================================================== */

.alignleft  { float: left; margin-right: var(--space-8); margin-bottom: var(--space-4); }
.alignright { float: right; margin-left: var(--space-8); margin-bottom: var(--space-4); }
.aligncenter { display: block; margin-left: auto; margin-right: auto; margin-bottom: var(--space-4); }
.alignwide  { width: calc(100% + var(--space-16)); margin-left: calc(-1 * var(--space-8)); }
.alignfull  { width: 100vw; margin-left: calc(50% - 50vw); }

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */


/* ==========================================================================
   SVG ICON SYSTEM
   ========================================================================== */

.fk-icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.fk-icon--service {
  width: 2.4rem;
  height: 2.4rem;
  color: var(--color-accent);
  stroke-width: 1.25;
}

.fk-icon--service-page {
  width: 3rem;
  height: 3rem;
  color: var(--color-accent);
  stroke-width: 1.2;
}

.fk-icon--contact {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--color-accent);
  stroke-width: 1.5;
  flex-shrink: 0;
  margin-top: 3px;
}

.fk-icon--social {
  width: 1.35rem;
  height: 1.35rem;
}

.fk-icon--inline {
  width: 1rem;
  height: 1rem;
  vertical-align: -0.1em;
}

/* ==========================================================================
   ACCORDION — Homepage service cards
   ========================================================================== */

.fk-accordion {
  border-top: 1px solid var(--color-border-light);
  margin-top: var(--space-12);
}

.fk-accordion__item {
  border-bottom: 1px solid var(--color-border-light);
}

/* Trigger button */
.fk-accordion__trigger {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  width: 100%;
  padding: var(--space-6) var(--space-4);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background var(--transition-fast);
}

.fk-accordion__trigger:hover {
  background: var(--color-bg-alt);
}

.fk-accordion__trigger[aria-expanded="true"] {
  background: var(--color-bg-alt);
}

/* Gold left border when open */
.fk-accordion__trigger[aria-expanded="true"] {
  border-left: 3px solid var(--color-accent);
  padding-left: calc(var(--space-4) - 3px);
}

.fk-accordion__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--color-bg-alt);
  flex-shrink: 0;
  transition: background var(--transition-base);
}

.fk-accordion__trigger[aria-expanded="true"] .fk-accordion__icon {
  background: rgba(197, 160, 89, 0.15);
}

.fk-accordion__title {
  flex: 1;
  font-family: var(--font-heading);
  font-size: clamp(var(--text-xl), 2.5vw, var(--text-2xl));
  font-weight: var(--weight-medium);
  color: var(--color-primary);
  line-height: var(--leading-snug);
}

.fk-accordion__chevron {
  display: flex;
  align-items: center;
  color: var(--color-accent);
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.fk-accordion__chevron .fk-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.fk-accordion__trigger[aria-expanded="true"] .fk-accordion__chevron {
  transform: rotate(180deg);
}

/* Panel — hidden by default via HTML hidden attr, animated via max-height */
.fk-accordion__panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--transition-slow) ease;
}

/* When JS removes hidden and sets is-open */
.fk-accordion__panel.is-open {
  max-height: 800px; /* large enough for any content */
}

.fk-accordion__body {
  padding: var(--space-6) var(--space-4) var(--space-10) calc(var(--space-4) + 3rem + var(--space-5));
}

.fk-accordion__excerpt {
  font-size: var(--text-md);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
  max-width: 640px;
}

.fk-accordion__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-8);
}

/* Footer brand description */
.footer-brand__desc {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.60);
  line-height: var(--leading-relaxed);
  max-width: 300px;
  margin-top: var(--space-5);
  margin-bottom: 0;
}

/* Footer contact icon alignment */
.footer-contact-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  margin-bottom: var(--space-5);
}

.footer-contact-item__icon {
  display: flex;
  align-items: center;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Social icon links — icon only, no text */
.footer-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  color: rgba(255,255,255,0.55);
  transition: border-color var(--transition-base), color var(--transition-base), background var(--transition-base);
  text-decoration: none;
}

.footer-social__link:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(197,160,89,0.08);
}

/* Responsive accordion body indent — remove on mobile */
@media (max-width: 640px) {
  .fk-accordion__body {
    padding-left: var(--space-4);
  }

  .fk-accordion__actions {
    flex-direction: column;
  }

  .fk-accordion__actions .btn {
    width: 100%;
    justify-content: center;
  }
}


/* ==========================================================================
   LEGAL PAGE CONTENT — page.php default template
   Styles WordPress editor output for Privacy Policy, Terms of Use,
   Accessibility, and any other standard pages.
   ========================================================================== */

.fk-legal-content {
  max-width: 860px;
}

.fk-legal-content h1,
.fk-legal-content h2 {
  font-family: var(--font-heading);
  font-weight: var(--weight-light);
  color: var(--color-primary);
  margin-top: var(--space-12);
  margin-bottom: var(--space-5);
  line-height: var(--leading-snug);
}

.fk-legal-content h1 { font-size: clamp(var(--text-3xl), 4vw, var(--text-4xl)); }
.fk-legal-content h2 { font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl)); }

.fk-legal-content h3,
.fk-legal-content h4 {
  font-family: var(--font-body);
  font-weight: var(--weight-bold);
  color: var(--color-primary);
  font-size: var(--text-base);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.fk-legal-content p {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text);
  margin-bottom: var(--space-5);
}

.fk-legal-content ul,
.fk-legal-content ol {
  margin: 0 0 var(--space-6) var(--space-6);
  padding: 0;
}

.fk-legal-content ul li,
.fk-legal-content ol li {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text);
  margin-bottom: var(--space-2);
  padding-left: var(--space-2);
}

.fk-legal-content ul { list-style: disc; }
.fk-legal-content ol { list-style: decimal; }

.fk-legal-content strong {
  font-weight: var(--weight-bold);
  color: var(--color-primary);
}

.fk-legal-content em {
  font-style: italic;
}

.fk-legal-content a {
  color: var(--color-accent);
  text-decoration: underline;
  transition: color var(--transition-base);
}

.fk-legal-content a:hover {
  color: var(--color-accent-dark);
}

.fk-legal-content hr {
  border: none;
  border-top: 1px solid var(--color-border-light);
  margin: var(--space-10) 0;
}

/* First h2 needs no top margin */
.fk-legal-content > h2:first-child,
.fk-legal-content > h1:first-child {
  margin-top: 0;
}

/* italic footer note */
.fk-legal-content > p:last-child em {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}


/* Credential award icon */
.fk-icon--credential {
  width: 2.2rem;
  height: 2.2rem;
  color: var(--color-accent);
  stroke-width: 1.2;
}


/* ==========================================================================
   FOOTER SERVICE AREA
   ========================================================================== */

.footer-brand__service-area {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.38);
  line-height: var(--leading-relaxed);
  max-width: 300px;
  margin-top: var(--space-4);
  margin-bottom: 0;
  letter-spacing: 0.01em;
}

@media print {
  .site-header, .site-footer, .btn { display: none !important; }
  body { padding-top: 0; font-size: 12pt; }
  h1, h2, h3 { color: #000; page-break-after: avoid; }
}
