/*
Theme Name: Iberia Xero Consulting
Theme URI: https://iberiaxeroconsulting.com
Author: Iberia Xero Consulting
Author URI: https://iberiaxeroconsulting.com
Description: Professional WordPress theme for Iberia Xero Consulting - Xero accounting and business consultancy for companies operating in Spain.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: iberia-xero
Tags: business, professional, consulting, accounting, responsive, accessibility-ready, translation-ready

This theme, like WordPress, is licensed under the GPL.
*/

/* =========================================================
   DESIGN TOKENS
   ========================================================= */
:root {
  /* Brand colours */
  --navy:        #0B1F3A;
  --blue:        #174A7E;
  --teal:        #13A8A8;
  --teal-light:  #1BC4C4;
  --teal-dark:   #0E8080;

  /* Neutrals */
  --bg-light:    #F5F8FA;
  --bg-white:    #FFFFFF;
  --text-main:   #1F2937;
  --text-muted:  #64748B;
  --text-light:  #94A3B8;
  --border:      #E2E8F0;
  --border-light:#F1F5F9;

  /* Status */
  --success:     #10B981;
  --error:       #EF4444;

  /* Spacing */
  --space-xs:    0.25rem;
  --space-sm:    0.5rem;
  --space-md:    1rem;
  --space-lg:    1.5rem;
  --space-xl:    2rem;
  --space-2xl:   3rem;
  --space-3xl:   4rem;
  --space-4xl:   6rem;

  /* Typography */
  --font-body:   'Inter', system-ui, -apple-system, sans-serif;
  --font-display:'Inter', system-ui, -apple-system, sans-serif;

  /* Sizing */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --max-width:   1200px;
  --header-h:    72px;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:   0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg:   0 10px 30px rgba(0,0,0,.10), 0 4px 8px rgba(0,0,0,.04);

  /* Transitions */
  --transition:  0.2s ease;
}

/* =========================================================
   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);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-main);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue); text-decoration: underline; }
a:hover { color: var(--teal); }
a:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 2px; }

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--navy);
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

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

ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }
li { margin-bottom: 0.35rem; }

strong { font-weight: 600; }

blockquote {
  border-left: 4px solid var(--teal);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  color: var(--text-muted);
  font-style: italic;
}

code {
  background: var(--bg-light);
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1.5rem;
  z-index: 9999;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 0; }

/* =========================================================
   LAYOUT UTILITIES
   ========================================================= */
.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section { padding-block: var(--space-4xl); }
.section--sm { padding-block: var(--space-2xl); }
.section--lg { padding-block: 5rem; }

.section--bg-light { background: var(--bg-light); }
.section--bg-navy  { background: var(--navy); color: #fff; }
.section--bg-blue  { background: var(--blue); color: #fff; }

.section__label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.section__label--light { color: var(--teal-light); }

.section__intro {
  max-width: 640px;
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-top: 0.75rem;
}

.text-center { text-align: center; }
.text-center .section__intro { margin-inline: auto; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-sm { gap: 0.5rem; }
.gap-md { gap: 1rem; }
.gap-lg { gap: 1.5rem; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.btn--primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: #fff;
}

.btn--secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--secondary:hover {
  background: var(--navy);
  color: #fff;
}

.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn--outline-light:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  color: #fff;
}

.btn--lg { padding: 0.9375rem 2rem; font-size: 1rem; }
.btn--sm { padding: 0.5rem 1rem; font-size: 0.8125rem; }

.btn-group { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

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

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo */
.site-logo { flex-shrink: 0; text-decoration: none; }
.site-logo img { height: 44px; width: auto; }
.site-logo .logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.site-logo .logo-text span { display: block; font-size: 0.7rem; font-weight: 400; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* Primary Nav */
.primary-nav { display: flex; align-items: center; gap: 0; }
.primary-nav ul { display: flex; list-style: none; padding: 0; margin: 0; gap: 0; }
.primary-nav a {
  display: block;
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-main);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current-page-ancestor > a { color: var(--teal); }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }

.lang-switcher {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.lang-switcher:hover { border-color: var(--teal); color: var(--teal); }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--navy);
}
.menu-toggle svg { display: block; }
.menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
.menu-toggle[aria-expanded="false"] .icon-close { display: none; }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  overflow-y: auto;
  z-index: 999;
  padding: 1.5rem;
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; padding: 0; margin: 0; }
.mobile-nav li { border-bottom: 1px solid var(--border-light); }
.mobile-nav a { display: block; padding: 0.875rem 0; font-size: 1rem; font-weight: 500; color: var(--text-main); text-decoration: none; }
.mobile-nav a:hover { color: var(--teal); }
.mobile-nav .btn { width: 100%; justify-content: center; margin-top: 1.25rem; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding-top: calc(var(--header-h) + 5rem);
  padding-bottom: 5rem;
  background: linear-gradient(135deg, var(--navy) 0%, #0F2D50 60%, #0A2240 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("assets/images/hero-pattern.svg") center/cover no-repeat;
  opacity: 0.04;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  right: -5%;
  top: -10%;
  width: 60%;
  height: 130%;
  background: radial-gradient(ellipse at center, rgba(19,168,168,0.15) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content { color: #fff; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-light);
  margin-bottom: 1.25rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--teal-light);
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  color: var(--teal-light);
}

.hero-subtitle {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-trust {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
}
.hero-trust span { display: flex; align-items: center; gap: 0.4rem; }
.hero-trust .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--teal-light); flex-shrink: 0; }

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: 2rem;
  backdrop-filter: blur(8px);
  width: 100%;
  max-width: 400px;
}

.hero-card-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-light);
  font-weight: 600;
  margin-bottom: 1rem;
}

.metric-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.metric-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: 0.875rem 1rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.875rem;
}
.metric-value { font-weight: 700; color: var(--teal-light); font-size: 1rem; }

/* =========================================================
   TRUST STRIP
   ========================================================= */
.trust-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--border);
}
.trust-item:last-child { border-right: none; }
.trust-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(19,168,168,0.1), rgba(23,74,126,0.08));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
}
.trust-icon svg { width: 22px; height: 22px; }
.trust-label { font-size: 0.9375rem; font-weight: 600; color: var(--navy); line-height: 1.3; }
.trust-sub { font-size: 0.8125rem; color: var(--text-muted); margin-top: 0.125rem; }

/* =========================================================
   INTRO SECTION
   ========================================================= */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.intro-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background: var(--bg-light);
}

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

.intro-placeholder {
  width: 100%;
  height: 100%;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-light), #E8EFF5);
  color: var(--text-muted);
  font-size: 0.875rem;
  text-align: center;
  padding: 2rem;
}

.intro-content .link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9375rem;
  margin-top: 1.25rem;
}
.intro-content .link-arrow:hover { gap: 0.65rem; }
.intro-content .link-arrow svg { transition: transform var(--transition); }
.intro-content .link-arrow:hover svg { transform: translateX(3px); }

/* =========================================================
   SERVICES
   ========================================================= */
.services-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 2px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tab-btn {
  flex-shrink: 0;
  padding: 0.75rem 1.25rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}
.tab-btn:hover { color: var(--navy); }
.tab-btn.active { color: var(--teal); border-bottom-color: var(--teal); }

.tab-panel { display: none; }
.tab-panel.active { display: grid; }
.tab-panel.active { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card:hover { border-color: var(--teal); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(19,168,168,0.1), rgba(23,74,126,0.08));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.service-icon svg { width: 24px; height: 24px; }

.service-title { font-size: 1.0625rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.service-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 1rem; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
}
.service-link:hover { gap: 0.5rem; }

/* =========================================================
   INTERNATIONAL SECTION
   ========================================================= */
.intl-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: #fff;
}

.intl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.intl-content h2 { color: #fff; }
.intl-content .section__intro { color: rgba(255,255,255,0.75); max-width: 100%; }

.intl-list {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.intl-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.85);
  margin: 0;
}
.intl-list li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  background: var(--teal);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 11px;
  background-repeat: no-repeat;
  background-position: center;
}

.intl-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  backdrop-filter: blur(6px);
}

.intl-stat {
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.07);
  margin-bottom: 1rem;
}
.intl-stat:last-child { margin-bottom: 0; }
.intl-stat-value { font-size: 2rem; font-weight: 800; color: var(--teal-light); line-height: 1; margin-bottom: 0.35rem; }
.intl-stat-label { font-size: 0.8125rem; color: rgba(255,255,255,0.65); }

/* =========================================================
   XERO PROCESS SECTION
   ========================================================= */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: calc(12.5% + 1.5rem);
  right: calc(12.5% + 1.5rem);
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
}

.process-step {
  text-align: center;
  padding: 0 1.5rem;
  position: relative;
}

.step-number {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: #fff;
  font-size: 1.125rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(19,168,168,0.3);
}

.step-title { font-size: 1.0625rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.step-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* =========================================================
   BENEFITS
   ========================================================= */
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.benefit-item:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); }
.benefit-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(19,168,168,0.12), rgba(23,74,126,0.08));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
}
.benefit-icon svg { width: 22px; height: 22px; }
.benefit-title { font-weight: 700; font-size: 0.9375rem; color: var(--navy); margin-bottom: 0.25rem; }
.benefit-desc { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* =========================================================
   WHY US
   ========================================================= */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.why-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--teal);
}
.why-item-icon { flex-shrink: 0; color: var(--teal); margin-top: 1px; }
.why-item-icon svg { width: 18px; height: 18px; }
.why-item-title { font-weight: 600; font-size: 0.9375rem; color: var(--navy); margin-bottom: 0.2rem; }
.why-item-desc { font-size: 0.8125rem; color: var(--text-muted); margin: 0; }

.why-visual {
  background: linear-gradient(145deg, var(--navy), #103060);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  color: #fff;
}
.why-visual-title { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--teal-light); margin-bottom: 1.5rem; font-weight: 600; }
.highlight-box {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.85);
}
.highlight-box:last-child { margin-bottom: 0; }

/* =========================================================
   CASE STUDY BLOCK
   ========================================================= */
.case-block {
  background: var(--bg-light);
  border-radius: var(--radius-xl);
  padding: 3rem;
  border: 1px solid var(--border);
}
.case-label {
  display: inline-block;
  background: rgba(19,168,168,0.12);
  color: var(--teal-dark);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}
.case-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.case-phase {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  border: 1px solid var(--border);
}
.case-phase-num { font-size: 0.75rem; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.5rem; }
.case-phase-title { font-size: 0.9375rem; font-weight: 700; color: var(--navy); margin-bottom: 0.35rem; }
.case-phase-desc { font-size: 0.8125rem; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials-placeholder {
  background: var(--bg-light);
  border: 2px dashed var(--border);
  border-radius: var(--radius-xl);
  padding: 3rem;
  text-align: center;
  color: var(--text-muted);
}
.testimonials-placeholder .admin-note {
  display: inline-block;
  background: #FEF3C7;
  color: #92400E;
  font-size: 0.8125rem;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  margin-bottom: 1rem;
  font-weight: 600;
}

.testimonial-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 5rem;
  line-height: 1;
  color: var(--teal);
  opacity: 0.15;
  font-family: Georgia, serif;
}
.testimonial-text { font-size: 0.9375rem; color: var(--text-main); line-height: 1.7; font-style: italic; margin-bottom: 1.25rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-light); overflow: hidden; flex-shrink: 0; }
.testimonial-name { font-weight: 700; font-size: 0.9375rem; color: var(--navy); margin-bottom: 0.1rem; }
.testimonial-role { font-size: 0.8125rem; color: var(--text-muted); }

/* =========================================================
   FAQ ACCORDION
   ========================================================= */
.faq-list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--bg-light); }
.faq-question[aria-expanded="true"] { background: var(--bg-light); color: var(--teal); }
.faq-icon { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--bg-light); display: flex; align-items: center; justify-content: center; transition: transform var(--transition), background var(--transition); }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(180deg); background: var(--teal); color: #fff; }
.faq-icon svg { width: 12px; height: 12px; }

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-answer.is-open { display: block; }

/* =========================================================
   BLOG / INSIGHTS
   ========================================================= */
.post-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.post-thumbnail {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-light);
}
.post-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.post-card:hover .post-thumbnail img { transform: scale(1.03); }

.post-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.post-cat {
  display: inline-block;
  background: rgba(19,168,168,0.1);
  color: var(--teal-dark);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.25rem 0.625rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
  text-decoration: none;
}
.post-title { font-size: 1.0625rem; font-weight: 700; color: var(--navy); margin-bottom: 0.625rem; line-height: 1.35; }
.post-title a { text-decoration: none; color: inherit; }
.post-title a:hover { color: var(--teal); }
.post-excerpt { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; flex: 1; margin-bottom: 1rem; }
.post-meta { font-size: 0.8125rem; color: var(--text-light); display: flex; align-items: center; gap: 0.5rem; }

/* =========================================================
   CTA SECTION
   ========================================================= */
.cta-section {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  text-align: center;
}
.cta-section h2 { color: #fff; font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.75); font-size: 1.0625rem; max-width: 560px; margin-inline: auto; margin-bottom: 2rem; }
.cta-section .btn-group { justify-content: center; }

/* =========================================================
   CONTACT SECTION
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h2 { margin-bottom: 1rem; }
.contact-info p { color: var(--text-muted); margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 1rem; }
.contact-item { display: flex; align-items: flex-start; gap: 0.875rem; }
.contact-item-icon { width: 40px; height: 40px; flex-shrink: 0; background: linear-gradient(135deg, rgba(19,168,168,0.1), rgba(23,74,126,0.08)); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: var(--teal); }
.contact-item-icon svg { width: 18px; height: 18px; }
.contact-item-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 0.2rem; }
.contact-item-value { font-size: 0.9375rem; color: var(--navy); font-weight: 500; }
.contact-item-value a { color: inherit; text-decoration: none; }
.contact-item-value a:hover { color: var(--teal); }

/* Contact Form */
.contact-form-wrap {
  background: var(--bg-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid var(--border);
}
.contact-form-wrap h3 { margin-bottom: 1.5rem; }

.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--text-main); margin-bottom: 0.4rem; }
.form-label .required { color: var(--error); margin-left: 0.2rem; }

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-main);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(19,168,168,0.15);
}
.form-control::placeholder { color: var(--text-light); }

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748B' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.checkbox-label { display: flex; align-items: flex-start; gap: 0.625rem; cursor: pointer; font-size: 0.875rem; color: var(--text-muted); }
.checkbox-label input[type="checkbox"] { margin-top: 2px; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--teal); }
.checkbox-label a { color: var(--teal); }

.form-message {
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  margin-top: 1rem;
  display: none;
}
.form-message.success { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.3); color: #065F46; display: block; }
.form-message.error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #991B1B; display: block; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
}

.footer-main {
  padding: 4rem 0 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.25fr;
  gap: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .site-logo { margin-bottom: 1rem; }
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-text span { color: rgba(255,255,255,0.5); }
.footer-desc { font-size: 0.875rem; line-height: 1.7; color: rgba(255,255,255,0.6); max-width: 300px; margin-bottom: 1.5rem; }

.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--teal); color: #fff; }
.footer-social svg { width: 16px; height: 16px; }

.footer-col-title { font-size: 0.8125rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.25rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.6); text-decoration: none; transition: color var(--transition); }
.footer-links a:hover { color: var(--teal-light); }

.footer-contact-item { display: flex; align-items: flex-start; gap: 0.625rem; margin-bottom: 0.75rem; font-size: 0.875rem; color: rgba(255,255,255,0.65); }
.footer-contact-item svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 3px; color: var(--teal-light); }
.footer-contact-item a { color: inherit; text-decoration: none; }
.footer-contact-item a:hover { color: var(--teal-light); }

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-legal a { color: inherit; text-decoration: none; }
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* =========================================================
   INTERIOR PAGES
   ========================================================= */
.page-hero {
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 3rem;
  background: linear-gradient(135deg, var(--navy), #0F2D50);
  color: #fff;
}
.page-hero .breadcrumbs { font-size: 0.8125rem; color: rgba(255,255,255,0.5); margin-bottom: 0.875rem; }
.page-hero .breadcrumbs a { color: inherit; text-decoration: none; }
.page-hero .breadcrumbs a:hover { color: var(--teal-light); }
.page-hero h1 { color: #fff; margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.0625rem; max-width: 640px; }

.page-content { padding-block: var(--space-4xl); }

/* Blog archive */
.archive-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; align-items: start; }
.posts-grid { display: grid; gap: 2rem; }
.sidebar { position: sticky; top: calc(var(--header-h) + 2rem); }
.widget {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
}
.widget-title { font-size: 0.9375rem; font-weight: 700; color: var(--navy); margin-bottom: 1rem; }

/* Single post */
.post-header { padding-top: calc(var(--header-h) + 3rem); padding-bottom: 3rem; background: var(--bg-light); border-bottom: 1px solid var(--border); }
.post-body-content { max-width: 720px; margin-inline: auto; padding-block: 3rem; }
.post-body-content h2, .post-body-content h3, .post-body-content h4 { margin-top: 2rem; margin-bottom: 0.75rem; }
.post-body-content p { margin-bottom: 1.25rem; }
.post-body-content ul, .post-body-content ol { margin-bottom: 1.25rem; }

/* =========================================================
   404 PAGE
   ========================================================= */
.error-404-page {
  padding-top: calc(var(--header-h) + 4rem);
  padding-bottom: 4rem;
  text-align: center;
}
.error-404-num { font-size: clamp(6rem, 15vw, 12rem); font-weight: 900; color: var(--bg-light); line-height: 1; margin-bottom: 1rem; }
.error-404-page h1 { margin-bottom: 1rem; }
.error-404-page p { color: var(--text-muted); max-width: 480px; margin-inline: auto; margin-bottom: 2rem; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .process-steps::before { display: none; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .case-timeline { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { display: none; }
  .intro-grid { grid-template-columns: 1fr; }
  .intro-image { order: -1; }
  .intl-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .trust-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: none; }
  .trust-item:nth-child(3) { border-top: 1px solid var(--border); }
  .trust-item:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .primary-nav,
  .header-actions .btn { display: none; }
  .menu-toggle { display: flex; }

  .hero { padding-top: calc(var(--header-h) + 3rem); padding-bottom: 3rem; }

  .tab-panel.active { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .archive-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .case-timeline { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .trust-strip-inner { grid-template-columns: 1fr; }
  .trust-item { border-right: none; border-bottom: 1px solid var(--border); }
  .trust-item:last-child { border-bottom: none; }
  .btn-group { flex-direction: column; }
  .btn-group .btn { width: 100%; justify-content: center; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* =========================================================
   PRINT
   ========================================================= */
@media print {
  .site-header, .mobile-nav, .site-footer { display: none; }
  body { padding-top: 0; }
}

/* =========================================================
   WORDPRESS CORE
   ========================================================= */
.alignleft { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
.aligncenter { display: block; margin-inline: auto; margin-bottom: 1rem; }
.alignwide { max-width: 900px; margin-inline: auto; }
.alignfull { max-width: 100%; }

.wp-block-image { margin-bottom: 1.5rem; }
.wp-caption { font-size: 0.8125rem; color: var(--text-muted); margin-top: 0.5rem; }

.sticky { }
.gallery { }
.bypostauthor { }
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
  word-wrap: normal;
}

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 3rem; }
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-main);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.page-numbers:hover, .page-numbers.current { background: var(--teal); color: #fff; border-color: var(--teal); }

/* Comments */
.comments-area { max-width: 720px; margin-inline: auto; padding-top: 3rem; border-top: 1px solid var(--border); }
