/*
Theme Name: RLP Resourcing
Theme URI: https://rlpresourcing.com
Author: RLP Resourcing
Description: A modern recruitment theme for RLP Resourcing with dark theme, teal accents, and Gutenberg block patterns.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rlp
*/

/* ══════════════════════════════════════════════════════════════
   DESIGN SYSTEM — CSS VARIABLES
   ══════════════════════════════════════════════════════════════ */
:root {
  /* Colors */
  --ink:        #0d1117;
  --ink-2:      #1a2028;
  --teal:       #1c5c6b;
  --teal-light: #2a7d8f;
  --bg-blue:    #d9e2ea;
  --white:      #ffffff;
  --off-white:  #f3f5f7;
  --gold:       #c8a25a;
  --mid:        #6b7c88;
  
  /* Borders */
  --border-dark:  rgba(255,255,255,0.09);
  --border-light: rgba(13,17,23,0.1);
  
  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-serif:   'Fraunces', serif;
  --font-body:    'DM Sans', sans-serif;
  
  /* Spacing */
  --section-padding: 100px 60px;
  --container-max:   1240px;
  --nav-height:      68px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

/* ══════════════════════════════════════════════════════════════
   SHARED COMPONENTS
   ══════════════════════════════════════════════════════════════ */

/* Logo SVG */
.logo-svg {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: block;
}

/* Section Tag/Eyebrow */
.section-tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.section-tag::before {
  content: '';
  width: 32px;
  height: 1.5px;
  background: var(--teal);
  display: block;
}

.section-tag--gold {
  color: var(--gold);
}

.section-tag--gold::before {
  background: var(--gold);
}

.section-tag--white {
  color: rgba(255,255,255,0.5);
}

.section-tag--white::before {
  background: rgba(255,255,255,0.3);
}

/* Section Headings */
.section-heading {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.15;
}

.section-heading--dark {
  color: var(--ink);
}

.section-heading--light {
  color: var(--white);
}

.section-heading em {
  font-style: italic;
}

.section-heading--dark em {
  color: var(--teal);
}

.section-heading--light em {
  color: var(--bg-blue);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  transition: all 0.25s;
  cursor: pointer;
}

.btn-white {
  background: var(--white);
  color: var(--ink);
  padding: 16px 40px;
}

.btn-white:hover {
  background: var(--bg-blue);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  padding: 14px 38px;
  border: 1px solid rgba(255,255,255,0.3);
}

.btn-ghost:hover {
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-teal {
  background: var(--teal);
  color: var(--white);
  padding: 14px 32px;
}

.btn-teal:hover {
  background: var(--white);
  color: var(--ink);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
  padding: 14px 32px;
}

.btn-dark:hover {
  background: var(--teal);
}

/* Arrow Links */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: gap 0.2s;
  cursor: pointer;
}

.arrow-link:hover {
  gap: 18px;
}

.arrow-link--white {
  color: var(--white);
}

.arrow-link--teal {
  color: var(--teal);
}

/* Wave Dividers */
.wave-divider {
  line-height: 0;
  font-size: 0;
  margin: 0;
  padding: 0;
  margin-top: -1px;
  margin-bottom: -1px;
  position: relative;
  z-index: 1;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

.wave-divider--flip {
  transform: scaleY(-1);
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 60px;
}

/* ══════════════════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--nav-height);
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(13,17,23,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-dark);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  cursor: pointer;
  text-decoration: none;
}

.nav-logo-type {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.35;
}

/* WordPress Menu Styling */
.nav-menu {
  display: flex;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  list-style: none;
}

.nav-menu a {
  display: flex;
  align-items: center;
  height: var(--nav-height);
  padding: 0 22px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  border-bottom: 2px solid transparent;
}

.nav-menu a:hover,
.nav-menu .current-menu-item a,
.nav-menu .current_page_item a {
  color: var(--white);
}

.nav-cta {
  background: var(--white);
  color: var(--ink);
  padding: 10px 24px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  border-radius: 2px;
  transition: all 0.2s;
  text-decoration: none;
}

.nav-cta:hover {
  background: var(--bg-blue);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
}

/* ══════════════════════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-height);
  background: var(--ink);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-blob {
  position: absolute;
  top: -20%;
  right: -15%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(28,92,107,0.45) 0%, rgba(28,92,107,0.15) 45%, transparent 70%);
  pointer-events: none;
}

.hero-blob-2 {
  position: absolute;
  bottom: 5%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(200,162,90,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 80px 60px 0;
  max-width: 1340px;
  margin: 0 auto;
  width: 100%;
  gap: 60px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 36px;
}

.hero-kicker::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--gold);
}

.hero-h1 {
  font-family: var(--font-serif);
  font-size: clamp(52px, 7.5vw, 110px);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 0;
}

.hero-h1 em {
  font-style: italic;
  color: var(--bg-blue);
}

.hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  max-width: 520px;
  margin: 36px 0 52px;
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Image Panel */
.hero-right {
  position: relative;
  height: 520px;
  border-radius: 4px;
  overflow: hidden;
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: brightness(0.85) contrast(1.05);
}

.hero-right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,17,23,0.35) 0%, rgba(13,17,23,0.05) 50%, rgba(28,92,107,0.2) 100%);
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════
   SPLIT CARDS (Client/Candidate)
   ══════════════════════════════════════════════════════════════ */
.split-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 60px 0 0;
  max-width: 1340px;
  width: 100%;
  align-self: center;
  padding: 0 60px;
}

.split-card {
  padding: 48px 52px 56px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: opacity 0.3s;
}

.split-card:hover {
  opacity: 0.95;
}

.split-card--client {
  background: var(--teal);
}

.split-card--candidate {
  background: var(--off-white);
}

.split-card--client::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  pointer-events: none;
}

.split-eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.split-card--client .split-eyebrow {
  color: rgba(255,255,255,0.6);
}

.split-card--candidate .split-eyebrow {
  color: var(--teal);
}

.split-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
}

.split-card--client .split-eyebrow::before {
  background: rgba(255,255,255,0.4);
}

.split-card--candidate .split-eyebrow::before {
  background: var(--teal);
}

.split-card h3 {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 16px;
}

.split-card--client h3 {
  color: var(--white);
}

.split-card--candidate h3 {
  color: var(--ink);
}

.split-card p {
  font-size: 14.5px;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 28px;
}

.split-card--client p {
  color: rgba(255,255,255,0.72);
}

.split-card--candidate p {
  color: var(--mid);
}

.split-card--client .arrow-link {
  color: var(--white);
}

.split-card--candidate .arrow-link {
  color: var(--teal);
}

/* ══════════════════════════════════════════════════════════════
   JOB SEARCH SECTION
   ══════════════════════════════════════════════════════════════ */
.search-section {
  background: var(--off-white);
  padding: 72px 60px 80px;
  position: relative;
}

.search-inner {
  max-width: 900px;
  margin: 0 auto;
}

.search-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 40px;
}

.search-section h2 em {
  font-style: italic;
  color: var(--teal);
}

.search-bar {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  background: var(--white);
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
  border-radius: 4px;
  overflow: hidden;
}

.search-field {
  display: flex;
  flex-direction: column;
  padding: 18px 28px;
  border-right: 1px solid rgba(0,0,0,0.07);
}

.search-field label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 6px;
}

.search-field input {
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: transparent;
  font-weight: 400;
}

.search-field input::placeholder {
  color: #aab4bc;
}

.search-btn {
  background: var(--teal);
  color: var(--white);
  padding: 0 44px;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-btn:hover {
  background: var(--ink);
}

.search-tags {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.search-tag {
  padding: 7px 16px;
  border-radius: 50px;
  border: 1px solid var(--border-light);
  font-size: 12.5px;
  color: var(--mid);
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 400;
  background: transparent;
}

.search-tag:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

/* ══════════════════════════════════════════════════════════════
   PARTNER SECTION (Dark with grid)
   ══════════════════════════════════════════════════════════════ */
.partner-section {
  background: var(--ink-2);
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

.partner-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.partner-blob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(28,92,107,0.2) 0%, transparent 65%);
  pointer-events: none;
}

.partner-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
}

.partner-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 80px;
  align-items: end;
}

.partner-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.01em;
}

.partner-header h2 em {
  font-style: italic;
  color: var(--bg-blue);
}

.partner-header-right p {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  font-weight: 300;
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.07);
}

.pillar {
  background: var(--ink-2);
  padding: 48px 40px;
  border-top: 1px solid rgba(255,255,255,0.07);
  transition: background 0.3s;
}

.pillar:hover {
  background: rgba(28,92,107,0.3);
}

.pillar-num {
  font-family: var(--font-serif);
  font-size: 60px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  line-height: 1;
  margin-bottom: 24px;
}

.pillar h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 14px;
}

.pillar p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  font-weight: 300;
}

/* Stats Row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--teal);
  margin-top: 1px;
}

.stat-cell {
  padding: 44px 40px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.15);
}

.stat-cell:last-child {
  border-right: none;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 54px;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
}

.stat-num2 {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
}

.stat-num span {
  font-size: 28px;
}

.stat-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-top: 8px;
}

/* ══════════════════════════════════════════════════════════════
   TWO COLUMN SECTION (Client/Candidate Detail)
   ══════════════════════════════════════════════════════════════ */
.two-col-section {
  background: var(--off-white);
  padding: 0;
  overflow: hidden;
}

.two-col-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.col-client {
  background: var(--ink);
  padding: 100px 72px;
  position: relative;
  overflow: hidden;
}

.col-client::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(28,92,107,0.4) 0%, transparent 65%);
  pointer-events: none;
}

.col-candidate {
  background: var(--off-white);
  padding: 100px 72px;
  position: relative;
  overflow: hidden;
}

.col-candidate::before {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(217,226,234,0.8) 0%, transparent 65%);
  pointer-events: none;
}

.col-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.col-client .col-label {
  color: var(--gold);
}

.col-client .col-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.col-candidate .col-label {
  color: var(--teal);
}

.col-candidate .col-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--teal);
}

.col-client h2 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 3.5vw, 48px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 28px;
}

.col-candidate h2 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 3.5vw, 48px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 28px;
}

.col-client p {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  margin-bottom: 20px;
  font-weight: 300;
}

.col-candidate p {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 20px;
  font-weight: 300;
}

/* ══════════════════════════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════════════════════════ */
.testimonials {
  background: var(--ink);
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

.testimonials-blob {
  position: absolute;
  top: 0;
  right: -100px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(28,92,107,0.25) 0%, transparent 65%);
  pointer-events: none;
}

.testimonials-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
}

.testimonials-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
}

.testimonials-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.15;
}

.testimonials-header h2 em {
  font-style: italic;
  color: var(--bg-blue);
}

.testimonial-nav {
  display: flex;
  gap: 10px;
}

.testimonial-nav-btn {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.testimonial-nav-btn:hover {
  background: var(--teal);
  border-color: var(--teal);
}

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

.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-dark);
  padding: 44px 36px;
  border-radius: 4px;
  position: relative;
  transition: all 0.3s;
}

.testimonial-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
}

.testimonial-quote-mark {
  font-family: var(--font-serif);
  font-size: 80px;
  font-weight: 300;
  color: var(--teal-light);
  line-height: 0.6;
  display: block;
  margin-bottom: 28px;
  opacity: 0.6;
}

.testimonial-text {
  font-family: var(--font-serif);
  font-size: 17px;
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
  margin-bottom: 32px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.testimonial-author-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}

.testimonial-author-role {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
}

/* ══════════════════════════════════════════════════════════════
   BLOG / INSIGHTS SECTION
   ══════════════════════════════════════════════════════════════ */
.blog-section {
  background: var(--off-white);
  padding: var(--section-padding);
}

.blog-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

.blog-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 3.5vw, 48px);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.2;
}

.blog-header h2 em {
  font-style: italic;
  color: var(--teal);
}

.blog-link {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s;
}

.blog-link:hover {
  gap: 14px;
}

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

.blog-card {
  background: var(--white);
  overflow: hidden;
  cursor: pointer;
  border-radius: 4px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
  transition: all 0.3s;
  text-decoration: none;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
}

.blog-img {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.blog-img-1 {
  background: linear-gradient(135deg, var(--ink) 0%, var(--teal-light) 100%);
}

.blog-img-2 {
  background: linear-gradient(135deg, #2d4a52 0%, #1a3040 100%);
}

.blog-img-3 {
  background: linear-gradient(135deg, var(--teal) 0%, #3a9aad 100%);
}

.blog-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08) 0%, transparent 50%),
                    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.05) 0%, transparent 40%);
}

.blog-img-text {
  position: absolute;
  bottom: 20px;
  left: 24px;
  right: 24px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  line-height: 1.3;
}

.blog-cat {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold);
  color: var(--ink);
  padding: 5px 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--font-display);
}

.blog-body {
  padding: 28px 28px 32px;
}

.blog-meta {
  font-size: 11.5px;
  color: var(--mid);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.blog-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 12px;
}

.blog-excerpt {
  font-size: 13.5px;
  color: var(--mid);
  line-height: 1.65;
  font-weight: 300;
}

.blog-read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  transition: gap 0.2s;
}

.blog-card:hover .blog-read {
  gap: 14px;
}

/* ══════════════════════════════════════════════════════════════
   EMAIL GATE / CTA SECTION
   ══════════════════════════════════════════════════════════════ */
.gate-section {
  background: var(--teal);
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

.gate-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
}

.gate-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(0,0,0,0.1);
  pointer-events: none;
}

.gate-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.gate-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.gate-text h2 em {
  font-style: italic;
}

.gate-text p {
  font-size: 15.5px;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  font-weight: 300;
}

.gate-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gate-form input,
.gate-form select,
.gate-form textarea {
  padding: 16px 22px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.2s;
  border-radius: 2px;
}

.gate-form input::placeholder,
.gate-form textarea::placeholder {
  color: rgba(255,255,255,0.45);
}

.gate-form input:focus,
.gate-form textarea:focus {
  border-color: rgba(255,255,255,0.6);
}

.gate-form select {
  color: rgba(255,255,255,0.7);
}

.gate-form select option {
  background: var(--teal);
  color: var(--white);
}

.gate-submit {
  background: var(--white);
  color: var(--teal);
  padding: 17px;
  border: none;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s;
}

.gate-submit:hover {
  background: var(--ink);
  color: var(--white);
}

.gate-note {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--ink);
  padding: 72px 60px 0;
}

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

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.35;
}

.footer-brand p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
  max-width: 220px;
}

.footer-col h5 {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 13.5px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  margin-bottom: 11px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--white);
}

/* WordPress Widget Area in Footer */
.footer-col .widget {
  margin-bottom: 0;
}

.footer-col .widget-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 20px;
}

.footer-col .menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col .menu li {
  margin-bottom: 11px;
}

.footer-col .menu a {
  font-size: 13.5px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col .menu a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}

/* ══════════════════════════════════════════════════════════════
   PAGE HERO (for inner pages)
   ══════════════════════════════════════════════════════════════ */
.page-hero {
  background: var(--ink);
  padding: 180px 60px 100px;
  position: relative;
  overflow: hidden;
}

.page-hero-blob {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(28,92,107,0.35) 0%, transparent 65%);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 24px;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--bg-blue);
}

.page-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 600px;
  font-weight: 300;
}

/* ══════════════════════════════════════════════════════════════
   JOB LISTINGS
   ══════════════════════════════════════════════════════════════ */
.jobs-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.job-card {
  background: var(--white);
  padding: 32px 36px;
  border-radius: 4px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: all 0.3s;
  text-decoration: none;
  border: 1px solid transparent;
}

.job-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  border-color: var(--teal);
}

.job-card-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 8px;
}

.job-card-meta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--mid);
}

.job-card-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.job-card-tags {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.job-tag {
  padding: 4px 12px;
  background: var(--off-white);
  border-radius: 50px;
  font-size: 11px;
  color: var(--mid);
  font-weight: 500;
}

.job-card-cta {
  background: var(--teal);
  color: var(--white);
  padding: 12px 28px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.job-card-cta:hover {
  background: var(--ink);
}

/* Job Filters */
.job-filters {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.job-filter {
  padding: 12px 24px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s;
}

.job-filter:hover,
.job-filter.active {
  border-color: var(--teal);
  color: var(--teal);
}

/* ══════════════════════════════════════════════════════════════
   JOB DETAIL PAGE
   ══════════════════════════════════════════════════════════════ */
.job-detail-section {
  background: var(--off-white);
  padding: 80px 60px;
}

.job-detail-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
}

.job-detail-content h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 20px;
  margin-top: 40px;
}

.job-detail-content h2:first-child {
  margin-top: 0;
}

.job-detail-content p {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 16px;
}

.job-detail-content ul {
  margin: 16px 0;
  padding-left: 24px;
}

.job-detail-content li {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 8px;
}

.job-detail-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  align-self: start;
}

.job-sidebar-card {
  background: var(--white);
  padding: 36px;
  border-radius: 4px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.job-sidebar-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 20px;
}

.job-sidebar-item {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}

.job-sidebar-item:last-of-type {
  border-bottom: none;
}

.job-sidebar-label {
  font-size: 13px;
  color: var(--mid);
}

.job-sidebar-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.job-apply-btn {
  width: 100%;
  margin-top: 28px;
  padding: 16px;
  background: var(--teal);
  color: var(--white);
  border: none;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s;
}

.job-apply-btn:hover {
  background: var(--ink);
}

/* ══════════════════════════════════════════════════════════════
   INSIGHT/BLOG DETAIL PAGE
   ══════════════════════════════════════════════════════════════ */
.insight-hero {
  background: var(--ink);
  padding: 160px 60px 80px;
  position: relative;
  overflow: hidden;
}

.insight-hero-blob {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(28,92,107,0.4) 0%, transparent 65%);
  pointer-events: none;
}

.insight-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.insight-cat {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  padding: 6px 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--font-display);
  margin-bottom: 28px;
}

.insight-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 300;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 28px;
}

.insight-meta {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}

.insight-content {
  background: var(--off-white);
  padding: 80px 60px;
}

.insight-content-inner {
  max-width: 720px;
  margin: 0 auto;
}

.insight-content h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--ink);
  margin: 48px 0 20px;
}

.insight-content h2:first-child {
  margin-top: 0;
}

.insight-content p {
  font-size: 16px;
  color: var(--mid);
  line-height: 1.85;
  margin-bottom: 20px;
}

.insight-content blockquote {
  border-left: 3px solid var(--teal);
  padding-left: 28px;
  margin: 40px 0;
  font-family: var(--font-serif);
  font-size: 22px;
  font-style: italic;
  color: var(--ink);
  line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════════
   CONTACT PAGE
   ══════════════════════════════════════════════════════════════ */
.contact-section {
  background: var(--off-white);
  padding: 80px 60px;
}

.contact-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-info h2 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.5vw, 44px);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 24px;
}

.contact-info p {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 32px;
}

.contact-details {
  margin-top: 40px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 20px;
  height: 20px;
  color: var(--white);
}

.contact-item-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 4px;
}

.contact-item-value {
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
}

.contact-form {
  background: var(--white);
  padding: 48px;
  border-radius: 4px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.06);
}

.contact-form h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 28px;
}

.form-row {
  margin-bottom: 20px;
}

.form-row label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 8px;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border-light);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.2s;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--teal);
}

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

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--teal);
  color: var(--white);
  border: none;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s;
  margin-top: 8px;
}

.form-submit:hover {
  background: var(--ink);
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px 40px;
  }
  
  .site-header {
    padding: 0 40px;
  }
  
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 60px 40px 0;
    gap: 40px;
  }
  
  .hero-right {
    height: 400px;
  }
  
  .split-row {
    grid-template-columns: 1fr;
    padding: 0 40px;
  }
  
  .partner-header {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .pillars {
    grid-template-columns: 1fr;
  }
  
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .two-col-inner {
    grid-template-columns: 1fr;
  }
  
  .testimonial-cards {
    grid-template-columns: 1fr;
  }
  
  .blog-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gate-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .job-detail-inner {
    grid-template-columns: 1fr;
  }
  
  .job-detail-sidebar {
    position: static;
  }
  
  .contact-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px 24px;
    --nav-height: 60px;
  }
  
  .site-header {
    padding: 0 24px;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--ink);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border-dark);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-menu a {
    height: auto;
    padding: 12px 0;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-cta {
    display: none;
  }
  
  .hero-inner {
    padding: 40px 24px 0;
  }
  
  .hero-h1 {
    font-size: clamp(36px, 10vw, 52px);
  }
  
  .split-row {
    padding: 0 24px;
  }
  
  .split-card {
    padding: 36px 28px;
  }
  
  .search-bar {
    grid-template-columns: 1fr;
  }
  
  .search-field {
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.07);
  }
  
  .search-btn {
    padding: 18px;
    justify-content: center;
  }
  
  .stats-row {
    grid-template-columns: 1fr;
  }
  
  .stat-cell {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.15);
  }
  
  .stat-cell:last-child {
    border-bottom: none;
  }
  
  .blog-cards {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  .page-hero {
    padding: 140px 24px 60px;
  }
  
  .job-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .job-card-cta {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* ══════════════════════════════════════════════════════════════
   WORDPRESS SPECIFIC OVERRIDES
   ══════════════════════════════════════════════════════════════ */

/* Gutenberg Block Alignment */
.alignwide {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
}

/* WordPress Admin Bar Fix */
body.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

/* Screen Reader Text */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* Skip Link */
.skip-link {
  background: var(--teal);
  color: var(--white);
  padding: 8px 16px;
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* ==========================================================================
   CONTACT FORM 7 STYLING
   Add this to your style.css file
   ========================================================================== */

/* ── GLOBAL CF7 RESETS ── */
.wpcf7 {
    margin: 0;
    padding: 0;
}

.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* CF7 wraps everything - make sure wrappers don't break layout */
.wpcf7-form p {
    margin: 0;
}

/* When CF7 is inside existing styled containers, let parent styles work */
.ff .wpcf7-form-control-wrap,
.frow .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* Ensure CF7 inputs inherit existing .ff styles */
.ff .wpcf7-form-control {
    width: 100%;
}

/* Remove default CF7 styling */
.wpcf7-not-valid-tip {
    color: #ff6b6b;
    font-size: 12px;
    margin-top: 6px;
    font-weight: 400;
}

.wpcf7-response-output {
    margin: 16px 0 0 !important;
    padding: 16px 20px !important;
    border-radius: 4px !important;
    font-size: 14px;
    line-height: 1.5;
}

.wpcf7-mail-sent-ok,
.wpcf7 form.sent .wpcf7-response-output {
    border-color: #4ade80 !important;
    background: rgba(74, 222, 128, 0.1);
    color: #166534;
}

.wpcf7-validation-errors,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    border-color: #ff6b6b !important;
    background: rgba(255, 107, 107, 0.1);
    color: #991b1b;
}

/* Hide the response output initially */
.wpcf7 form .wpcf7-response-output {
    display: none;
}
.wpcf7 form.sent .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
    display: block;
}


/* ==========================================================================
   GATE FORM (Home Page - Teal Background)
   ========================================================================== */

.gate-form .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Input & Select Base Styles */
.gate-form .wpcf7-form-control-wrap input[type="text"],
.gate-form .wpcf7-form-control-wrap input[type="email"],
.gate-form .wpcf7-form-control-wrap input[type="tel"],
.gate-form .wpcf7-form-control-wrap textarea,
.gate-form .wpcf7-form-control-wrap select {
    width: 100%;
    padding: 18px 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    font-family: var(--font-body, 'DM Sans', sans-serif);
    font-size: 15px;
    font-weight: 400;
    color: white;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.gate-form .wpcf7-form-control-wrap input::placeholder,
.gate-form .wpcf7-form-control-wrap textarea::placeholder {
    color: rgba(255, 255, 255, 0.55);
    font-weight: 300;
}

.gate-form .wpcf7-form-control-wrap input:focus,
.gate-form .wpcf7-form-control-wrap textarea:focus,
.gate-form .wpcf7-form-control-wrap select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Select Dropdown */
.gate-form .wpcf7-form-control-wrap select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 48px;
    cursor: pointer;
}

.gate-form .wpcf7-form-control-wrap select option {
    background: var(--ink, #0d1117);
    color: white;
    padding: 12px;
}

/* Submit Button */
.gate-form .wpcf7-form input[type="submit"] {
    width: 100%;
    padding: 18px 32px;
    background: white;
    border: none;
    border-radius: 4px;
    font-family: var(--font-display, 'Syne', sans-serif);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal, #1c5c6b);
    cursor: pointer;
    transition: all 0.2s ease;
}

.gate-form .wpcf7-form input[type="submit"]:hover {
    background: var(--bg-blue, #d9e2ea);
    transform: translateY(-1px);
}

.gate-form .wpcf7-form input[type="submit"]:active {
    transform: translateY(0);
}

/* Spinner when submitting */
.gate-form .wpcf7-spinner {
    display: none;
}

.gate-form .wpcf7 form.submitting .wpcf7-spinner {
    display: inline-block;
    margin-left: 10px;
}

/* Validation error styling */
.gate-form .wpcf7-not-valid {
    border-color: rgba(255, 107, 107, 0.6) !important;
    background: rgba(255, 107, 107, 0.1) !important;
}

.gate-form .wpcf7-not-valid-tip {
    color: #fca5a5;
    font-size: 12px;
    margin-top: 6px;
}

/* Response messages */
.gate-form .wpcf7-response-output {
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-align: center;
}

.gate-form .wpcf7 form.sent .wpcf7-response-output {
    border-color: rgba(74, 222, 128, 0.5) !important;
    background: rgba(74, 222, 128, 0.15);
    color: #bbf7d0;
}


/* ==========================================================================
   CONTACT FORM (Light Background - Off-White/White)
   ========================================================================== */

.contact-form .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Input & Select Base Styles */
.contact-form .wpcf7-form-control-wrap input[type="text"],
.contact-form .wpcf7-form-control-wrap input[type="email"],
.contact-form .wpcf7-form-control-wrap input[type="tel"],
.contact-form .wpcf7-form-control-wrap textarea,
.contact-form .wpcf7-form-control-wrap select {
    width: 100%;
    padding: 16px 20px;
    background: white;
    border: 1px solid var(--bl, rgba(13, 17, 23, 0.1));
    border-radius: 4px;
    font-family: var(--font-body, 'DM Sans', sans-serif);
    font-size: 15px;
    font-weight: 400;
    color: var(--ink, #0d1117);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.contact-form .wpcf7-form-control-wrap input::placeholder,
.contact-form .wpcf7-form-control-wrap textarea::placeholder {
    color: var(--mid, #6b7c88);
    font-weight: 300;
}

.contact-form .wpcf7-form-control-wrap input:focus,
.contact-form .wpcf7-form-control-wrap textarea:focus,
.contact-form .wpcf7-form-control-wrap select:focus {
    outline: none;
    border-color: var(--teal, #1c5c6b);
    box-shadow: 0 0 0 3px rgba(28, 92, 107, 0.1);
}

/* Textarea */
.contact-form .wpcf7-form-control-wrap textarea {
    min-height: 140px;
    resize: vertical;
}

/* Select Dropdown */
.contact-form .wpcf7-form-control-wrap select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7c88' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-color: white;
    padding-right: 44px;
    cursor: pointer;
}

/* Submit Button */
.contact-form .wpcf7-form input[type="submit"] {
    width: 100%;
    padding: 18px 32px;
    background: var(--teal, #1c5c6b);
    border: none;
    border-radius: 4px;
    font-family: var(--font-display, 'Syne', sans-serif);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.contact-form .wpcf7-form input[type="submit"]:hover {
    background: var(--teal-light, #2a7d8f);
    transform: translateY(-1px);
}


/* ==========================================================================
   DARK FORM (Dark Background - Ink/Dark sections)
   ========================================================================== */

.dark-form .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Input & Select Base Styles */
.dark-form .wpcf7-form-control-wrap input[type="text"],
.dark-form .wpcf7-form-control-wrap input[type="email"],
.dark-form .wpcf7-form-control-wrap input[type="tel"],
.dark-form .wpcf7-form-control-wrap textarea,
.dark-form .wpcf7-form-control-wrap select {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-family: var(--font-body, 'DM Sans', sans-serif);
    font-size: 15px;
    font-weight: 400;
    color: white;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.dark-form .wpcf7-form-control-wrap input::placeholder,
.dark-form .wpcf7-form-control-wrap textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
}

.dark-form .wpcf7-form-control-wrap input:focus,
.dark-form .wpcf7-form-control-wrap textarea:focus,
.dark-form .wpcf7-form-control-wrap select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
}

/* Textarea */
.dark-form .wpcf7-form-control-wrap textarea {
    min-height: 120px;
    resize: vertical;
}

/* Select Dropdown */
.dark-form .wpcf7-form-control-wrap select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
    cursor: pointer;
}

.dark-form .wpcf7-form-control-wrap select option {
    background: var(--ink, #0d1117);
    color: white;
}

/* Submit Button */
.dark-form .wpcf7-form input[type="submit"] {
    width: 100%;
    padding: 16px 28px;
    background: var(--teal, #1c5c6b);
    border: none;
    border-radius: 4px;
    font-family: var(--font-display, 'Syne', sans-serif);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dark-form .wpcf7-form input[type="submit"]:hover {
    background: var(--teal-light, #2a7d8f);
}


/* ==========================================================================
   FILE UPLOAD STYLING
   ========================================================================== */

.wpcf7-form-control-wrap input[type="file"] {
    width: 100%;
    padding: 14px 18px;
    background: rgba(28, 92, 107, 0.06);
    border: 2px dashed rgba(28, 92, 107, 0.25);
    border-radius: 4px;
    font-family: var(--font-body, 'DM Sans', sans-serif);
    font-size: 14px;
    color: var(--mid, #6b7c88);
    cursor: pointer;
    transition: all 0.2s ease;
}

.wpcf7-form-control-wrap input[type="file"]:hover {
    border-color: var(--teal, #1c5c6b);
    background: rgba(28, 92, 107, 0.1);
}

/* Dark/Teal background file upload */
.gate-form .wpcf7-form-control-wrap input[type="file"],
.dark-form .wpcf7-form-control-wrap input[type="file"] {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
}

.gate-form .wpcf7-form-control-wrap input[type="file"]:hover,
.dark-form .wpcf7-form-control-wrap input[type="file"]:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
}

/* File upload button text (browser-dependent) */
.wpcf7-form-control-wrap input[type="file"]::file-selector-button {
    padding: 8px 16px;
    margin-right: 12px;
    background: var(--teal, #1c5c6b);
    border: none;
    border-radius: 3px;
    font-family: var(--font-display, 'Syne', sans-serif);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: white;
    cursor: pointer;
}

.gate-form .wpcf7-form-control-wrap input[type="file"]::file-selector-button,
.dark-form .wpcf7-form-control-wrap input[type="file"]::file-selector-button {
    background: rgba(255, 255, 255, 0.15);
}


/* ==========================================================================
   FORM GRID LAYOUT (Two columns on desktop)
   ========================================================================== */

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================================== */

@media (max-width: 768px) {
    .gate-form .wpcf7-form-control-wrap input,
    .gate-form .wpcf7-form-control-wrap select,
    .contact-form .wpcf7-form-control-wrap input,
    .contact-form .wpcf7-form-control-wrap select,
    .dark-form .wpcf7-form-control-wrap input,
    .dark-form .wpcf7-form-control-wrap select {
        padding: 16px 18px;
        font-size: 16px; /* Prevents iOS zoom on focus */
    }
    
    .gate-form .wpcf7-form input[type="submit"],
    .contact-form .wpcf7-form input[type="submit"],
    .dark-form .wpcf7-form input[type="submit"] {
        padding: 16px 24px;
    }
}


/* ==========================================================================
   CONTACT PAGE CF7 INTEGRATION
   Works with existing .ff, .frow, .form-sec, .fcheck styles
   ========================================================================== */

/* CF7 form resets for contact page */
.cf7-client-form .wpcf7-form,
.cf7-cand-form .wpcf7-form {
    display: block;
    gap: 0;
}

/* CF7 generates <p> tags - remove margins */
.cf7-client-form .wpcf7-form > p,
.cf7-cand-form .wpcf7-form > p {
    margin: 0;
}

/* Make sure .frow works with CF7's spans */
.cf7-client-form .frow,
.cf7-cand-form .frow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

/* .ff container spacing */
.cf7-client-form .ff,
.cf7-cand-form .ff {
    margin-bottom: 16px;
}

/* Labels in CF7 context */
.cf7-client-form .ff > label,
.cf7-cand-form .ff > label {
    display: block;
    font-family: var(--font-display, 'Syne', sans-serif);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 8px;
}

/* CF7 inputs inside .ff */
.cf7-client-form .ff input[type="text"],
.cf7-client-form .ff input[type="email"],
.cf7-client-form .ff input[type="tel"],
.cf7-client-form .ff select,
.cf7-client-form .ff textarea,
.cf7-cand-form .ff input[type="text"],
.cf7-cand-form .ff input[type="email"],
.cf7-cand-form .ff input[type="tel"],
.cf7-cand-form .ff select,
.cf7-cand-form .ff textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    font-family: var(--font-body, 'DM Sans', sans-serif);
    font-size: 15px;
    font-weight: 400;
    color: white;
    transition: all 0.2s;
    box-sizing: border-box;
}

.cf7-client-form .ff input::placeholder,
.cf7-client-form .ff textarea::placeholder,
.cf7-cand-form .ff input::placeholder,
.cf7-cand-form .ff textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
}

.cf7-client-form .ff input:focus,
.cf7-client-form .ff select:focus,
.cf7-client-form .ff textarea:focus,
.cf7-cand-form .ff input:focus,
.cf7-cand-form .ff select:focus,
.cf7-cand-form .ff textarea:focus {
    outline: none;
    border-color: var(--teal, #1c5c6b);
    background: rgba(255, 255, 255, 0.08);
}

/* Select dropdowns */
.cf7-client-form .ff select,
.cf7-cand-form .ff select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

.cf7-client-form .ff select option,
.cf7-cand-form .ff select option {
    background: var(--ink, #0d1117);
    color: white;
}

/* Textarea */
.cf7-client-form .ff textarea,
.cf7-cand-form .ff textarea {
    min-height: 130px;
    resize: vertical;
    line-height: 1.6;
}

/* Section dividers */
.cf7-client-form .form-sec,
.cf7-cand-form .form-sec {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-display, 'Syne', sans-serif);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
    margin: 32px 0 20px;
}

.cf7-client-form .form-sec::before,
.cf7-cand-form .form-sec::before {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 1px;
}

.panel-client .cf7-client-form .form-sec::before {
    background: var(--teal, #1c5c6b);
}

.panel-cand .cf7-cand-form .form-sec::before {
    background: var(--gold, #c8a25a);
}

.cf7-client-form .form-sec:first-child,
.cf7-cand-form .form-sec:first-child {
    margin-top: 0;
}

/* Checkbox styling */
.cf7-client-form .fcheck,
.cf7-cand-form .fcheck {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 20px 0;
}

.cf7-client-form .fcheck .wpcf7-form-control-wrap,
.cf7-cand-form .fcheck .wpcf7-form-control-wrap {
    flex-shrink: 0;
    width: auto;
}

.cf7-client-form .fcheck input[type="checkbox"],
.cf7-cand-form .fcheck input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--teal, #1c5c6b);
    cursor: pointer;
}

.panel-cand .cf7-cand-form .fcheck input[type="checkbox"] {
    accent-color: var(--gold, #c8a25a);
}

.cf7-client-form .fcheck .wpcf7-list-item-label,
.cf7-cand-form .fcheck .wpcf7-list-item-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
    font-weight: 300;
}

.cf7-client-form .fcheck a,
.cf7-cand-form .fcheck a {
    color: var(--teal-light, #2a7d8f);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Submit buttons */
.cf7-client-form input[type="submit"].fsub-client {
    display: flex;
    width: 100%;
    padding: 16px 28px;
    background: var(--teal, #1c5c6b);
    border: none;
    border-radius: 3px;
    font-family: var(--font-display, 'Syne', sans-serif);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.cf7-client-form input[type="submit"].fsub-client:hover {
    background: var(--teal-light, #2a7d8f);
    transform: translateY(-1px);
}

.cf7-cand-form input[type="submit"].fsub-cand {
    display: flex;
    width: 100%;
    padding: 16px 28px;
    background: var(--gold, #c8a25a);
    border: none;
    border-radius: 3px;
    font-family: var(--font-display, 'Syne', sans-serif);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.cf7-cand-form input[type="submit"].fsub-cand:hover {
    background: white;
    color: var(--gold, #c8a25a);
    transform: translateY(-1px);
}

/* File upload on contact page */
.cf7-cand-form .cv-upload-field input[type="file"] {
    width: 100%;
    padding: 20px;
    background: rgba(200, 162, 90, 0.06);
    border: 2px dashed rgba(200, 162, 90, 0.25);
    border-radius: 4px;
    font-family: var(--font-body, 'DM Sans', sans-serif);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.2s;
}

.cf7-cand-form .cv-upload-field input[type="file"]:hover {
    border-color: rgba(200, 162, 90, 0.5);
    background: rgba(200, 162, 90, 0.1);
}

.cf7-cand-form .cv-upload-field input[type="file"]::file-selector-button {
    padding: 8px 16px;
    margin-right: 12px;
    background: rgba(200, 162, 90, 0.2);
    border: none;
    border-radius: 3px;
    font-family: var(--font-display, 'Syne', sans-serif);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gold, #c8a25a);
    cursor: pointer;
}

/* Validation errors on dark background */
.cf7-client-form .wpcf7-not-valid-tip,
.cf7-cand-form .wpcf7-not-valid-tip {
    color: #fca5a5;
    font-size: 12px;
    margin-top: 6px;
}

.cf7-client-form .wpcf7-not-valid,
.cf7-cand-form .wpcf7-not-valid {
    border-color: rgba(255, 107, 107, 0.5) !important;
}

/* Response messages on dark background */
.cf7-client-form .wpcf7-response-output,
.cf7-cand-form .wpcf7-response-output {
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    margin-top: 20px !important;
    text-align: center;
}

.cf7-client-form .wpcf7 form.sent .wpcf7-response-output,
.cf7-cand-form .wpcf7 form.sent .wpcf7-response-output {
    border-color: rgba(74, 222, 128, 0.4) !important;
    background: rgba(74, 222, 128, 0.1);
    color: #bbf7d0;
}

/* Responsive for contact page forms */
@media (max-width: 768px) {
    .cf7-client-form .frow,
    .cf7-cand-form .frow {
        grid-template-columns: 1fr;
    }
    
    .cf7-client-form .ff input,
    .cf7-client-form .ff select,
    .cf7-cand-form .ff input,
    .cf7-cand-form .ff select {
        font-size: 16px; /* Prevents iOS zoom */
    }
}

/* Fix the original gate-form input rule to exclude submit buttons */
.gate-form input:not([type="submit"]),
.gate-form select,
.gate-form textarea {
    width: 100%;
}

/* CF7 form wrapper */
.gate-form .wpcf7 {
    width: 100%;
}

/* CF7 form - flex column with gap */
.gate-form .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

/* CF7 wraps each field in a <p> tag - reset those */
.gate-form .wpcf7-form > p {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

/* The span wrapper around each input */
.gate-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* All input fields - ensure full width */
.gate-form .wpcf7-form input[type="text"],
.gate-form .wpcf7-form input[type="email"],
.gate-form .wpcf7-form input[type="tel"],
.gate-form .wpcf7-form textarea,
.gate-form .wpcf7-form select {
    width: 100% !important;
    display: block;
    box-sizing: border-box;
}

/* SUBMIT BUTTON - White background, teal text */
.gate-form .wpcf7-form input[type="submit"] {
    width: 100% !important;
    padding: 18px 32px !important;
    background: white !important;
    border: none !important;
    border-radius: 4px !important;
    font-family: var(--font-display, 'Syne', sans-serif) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: var(--teal, #1c5c6b) !important;
    cursor: pointer;
    transition: all 0.2s ease;
    display: block;
    box-sizing: border-box;
}

.gate-form .wpcf7-form input[type="submit"]:hover {
    background: var(--bg-blue, #d9e2ea) !important;
    transform: translateY(-1px);
}
/* ==========================================================================
   CONTACT PAGE FORM FIX
   Add this to the END of your style.css
   Fixes: placeholder visibility + CF7 integration
   ========================================================================== */

/* ── FIX PLACEHOLDER VISIBILITY ── */
/* Make placeholders more visible (was 0.28, now 0.55) */
.ff input::placeholder,
.ff textarea::placeholder {
    color: rgba(255,255,255,0.55) !important;
}

.ff select {
    color: rgba(255,255,255,0.7) !important;
}

/* ── CF7 INTEGRATION FOR CONTACT PAGE ── */

/* Reset CF7 defaults within contact forms */
.panel-client .wpcf7,
.panel-cand .wpcf7 {
    width: 100%;
}

.panel-client .wpcf7-form,
.panel-cand .wpcf7-form {
    width: 100%;
}

/* CF7 wraps fields in <p> tags - reset them */
.panel-client .wpcf7-form > p,
.panel-cand .wpcf7-form > p {
    margin: 0 !important;
    padding: 0 !important;
}

/* Form control wrapper */
.panel-client .wpcf7-form-control-wrap,
.panel-cand .wpcf7-form-control-wrap {
    display: block !important;
    width: 100% !important;
}

/* ── FORM FIELD ROWS ── */
.panel-client .frow,
.panel-cand .frow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 12px;
}

/* ── FORM FIELD CONTAINER ── */
.panel-client .ff,
.panel-cand .ff {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 12px;
}

/* ── LABELS ── */
.panel-client .ff label,
.panel-cand .ff label {
    font-family: var(--font-display, 'Syne', sans-serif);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 2px;
}

/* ── ALL INPUT FIELDS ── */
.panel-client .ff input[type="text"],
.panel-client .ff input[type="email"],
.panel-client .ff input[type="tel"],
.panel-client .ff select,
.panel-client .ff textarea,
.panel-cand .ff input[type="text"],
.panel-cand .ff input[type="email"],
.panel-cand .ff input[type="tel"],
.panel-cand .ff select,
.panel-cand .ff textarea {
    width: 100% !important;
    padding: 13px 16px !important;
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    color: white !important;
    font-family: var(--font-body, 'DM Sans', sans-serif) !important;
    font-size: 14px !important;
    outline: none;
    border-radius: 3px !important;
    transition: border-color 0.2s, background 0.2s;
    box-sizing: border-box !important;
    display: block;
}

/* Placeholders - MORE VISIBLE */
.panel-client .ff input::placeholder,
.panel-client .ff textarea::placeholder,
.panel-cand .ff input::placeholder,
.panel-cand .ff textarea::placeholder {
    color: rgba(255,255,255,0.55) !important;
}

/* Focus states */
.panel-client .ff input:focus,
.panel-client .ff select:focus,
.panel-client .ff textarea:focus,
.panel-cand .ff input:focus,
.panel-cand .ff select:focus,
.panel-cand .ff textarea:focus {
    border-color: rgba(255,255,255,0.35) !important;
    background: rgba(255,255,255,0.09) !important;
}

/* Select dropdowns */
.panel-client .ff select,
.panel-cand .ff select {
    color: rgba(255,255,255,0.7) !important;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    padding-right: 40px !important;
}

.panel-client .ff select option,
.panel-cand .ff select option {
    background: var(--ink-2, #1a2028);
    color: white;
}

/* Textareas */
.panel-client .ff textarea,
.panel-cand .ff textarea {
    min-height: 110px;
    resize: vertical;
}

/* ── SECTION DIVIDERS ── */
.panel-client .form-sec,
.panel-cand .form-sec {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display, 'Syne', sans-serif);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin: 28px 0 16px;
}

.panel-client .form-sec::before {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background: var(--teal, #1c5c6b);
}

.panel-cand .form-sec::before {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background: var(--gold, #c8a25a);
}

.panel-client .form-sec:first-child,
.panel-cand .form-sec:first-child {
    margin-top: 0;
}

/* ── CHECKBOXES ── */
.panel-client .fcheck,
.panel-cand .fcheck {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 20px 0;
}

.panel-client .fcheck .wpcf7-form-control-wrap,
.panel-cand .fcheck .wpcf7-form-control-wrap {
    width: auto !important;
    flex-shrink: 0;
}

.panel-client .fcheck input[type="checkbox"],
.panel-cand .fcheck input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    accent-color: var(--teal, #1c5c6b);
    cursor: pointer;
}

.panel-cand .fcheck input[type="checkbox"] {
    accent-color: var(--gold, #c8a25a);
}

.panel-client .fcheck label,
.panel-client .fcheck .wpcf7-list-item-label,
.panel-cand .fcheck label,
.panel-cand .fcheck .wpcf7-list-item-label {
    font-size: 12.5px !important;
    color: rgba(255,255,255,0.45) !important;
    line-height: 1.6;
    font-weight: 300;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.panel-client .fcheck a,
.panel-cand .fcheck a {
    color: var(--teal-light, #2a7d8f);
    text-decoration: underline;
}

/* ── SUBMIT BUTTONS ── */
.panel-client .wpcf7-form input[type="submit"],
.panel-client button.fsub-client {
    width: 100%;
    padding: 15px 28px !important;
    background: var(--teal, #1c5c6b) !important;
    border: none !important;
    border-radius: 3px;
    font-family: var(--font-display, 'Syne', sans-serif) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: white !important;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.panel-client .wpcf7-form input[type="submit"]:hover,
.panel-client button.fsub-client:hover {
    background: var(--teal-light, #2a7d8f) !important;
    transform: translateY(-1px);
}

.panel-cand .wpcf7-form input[type="submit"],
.panel-cand button.fsub-cand {
    width: 100%;
    padding: 15px 28px !important;
    background: var(--gold, #c8a25a) !important;
    border: none !important;
    border-radius: 3px;
    font-family: var(--font-display, 'Syne', sans-serif) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: white !important;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.panel-cand .wpcf7-form input[type="submit"]:hover,
.panel-cand button.fsub-cand:hover {
    background: white !important;
    color: var(--gold, #c8a25a) !important;
    transform: translateY(-1px);
}

/* ── FILE UPLOAD ── */
.panel-cand .ff input[type="file"] {
    width: 100% !important;
    padding: 20px !important;
    background: rgba(200, 162, 90, 0.08) !important;
    border: 2px dashed rgba(200, 162, 90, 0.3) !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    color: rgba(255,255,255,0.6) !important;
    cursor: pointer;
}

.panel-cand .ff input[type="file"]:hover {
    border-color: rgba(200, 162, 90, 0.5) !important;
    background: rgba(200, 162, 90, 0.12) !important;
}

.panel-cand .ff input[type="file"]::file-selector-button {
    padding: 8px 16px;
    margin-right: 12px;
    background: rgba(200, 162, 90, 0.25);
    border: none;
    border-radius: 3px;
    font-family: var(--font-display, 'Syne', sans-serif);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gold, #c8a25a);
    cursor: pointer;
}

/* ── VALIDATION ERRORS ── */
.panel-client .wpcf7-not-valid-tip,
.panel-cand .wpcf7-not-valid-tip {
    color: #fca5a5 !important;
    font-size: 11px;
    margin-top: 4px;
}

.panel-client .wpcf7-not-valid,
.panel-cand .wpcf7-not-valid {
    border-color: rgba(255, 107, 107, 0.5) !important;
}

/* ── RESPONSE MESSAGES ── */
.panel-client .wpcf7-response-output,
.panel-cand .wpcf7-response-output {
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    padding: 14px 18px !important;
    border-radius: 4px;
    margin-top: 16px !important;
    text-align: center;
    font-size: 14px;
}

.panel-client .wpcf7 form.sent .wpcf7-response-output,
.panel-cand .wpcf7 form.sent .wpcf7-response-output {
    border-color: rgba(74, 222, 128, 0.4) !important;
    background: rgba(74, 222, 128, 0.1);
    color: #bbf7d0;
}

/* Hide until needed */
.panel-client .wpcf7 form .wpcf7-response-output,
.panel-cand .wpcf7 form .wpcf7-response-output {
    display: none;
}

.panel-client .wpcf7 form.sent .wpcf7-response-output,
.panel-client .wpcf7 form.invalid .wpcf7-response-output,
.panel-cand .wpcf7 form.sent .wpcf7-response-output,
.panel-cand .wpcf7 form.invalid .wpcf7-response-output {
    display: block;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .panel-client .frow,
    .panel-cand .frow {
        grid-template-columns: 1fr;
    }
    
    .panel-client .ff input,
    .panel-client .ff select,
    .panel-cand .ff input,
    .panel-cand .ff select {
        font-size: 16px !important; /* Prevents iOS zoom */
    }
}
