/* ==========================================================================
   ELLSWORTH SAN MATEO LLC — Corporate Website Styles
   Premium Real Estate / Asset Management — Bay Area Focus
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables / Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Primary Colors */
  --color-navy: #1a2a3a;
  --color-navy-dark: #0f1a24;
  --color-navy-light: #2d4156;
  --color-charcoal: #2c3e50;
  --color-slate: #4a5568;
  
  /* Neutrals */
  --color-white: #ffffff;
  --color-off-white: #fafafa;
  --color-warm-gray: #f5f3f0;
  --color-light-gray: #e8e6e3;
  --color-medium-gray: #9ca3af;
  --color-dark-gray: #6b7280;
  
  /* Accent */
  --color-gold: #b8977e;
  --color-gold-light: #d4c4b0;
  --color-gold-dark: #96785f;
  --color-copper: #a67c52;
  
  /* Functional */
  --color-success: #10b981;
  --color-error: #ef4444;
  --color-link: #1a2a3a;
  --color-link-hover: #b8977e;
  
  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', 'Helvetica Neue', sans-serif;
  --font-mono: 'SF Mono', Monaco, monospace;
  
  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  
  /* Layout */
  --max-width: 1280px;
  --max-width-narrow: 900px;
  --max-width-content: 720px;
  
  /* Borders & Shadows */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-charcoal);
  background-color: var(--color-white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

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

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-link-hover);
}

ul, ol {
  list-style: none;
}

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

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-navy);
  letter-spacing: -0.01em;
}

h1 {
  font-size: var(--text-5xl);
  font-weight: 700;
}

h2 {
  font-size: var(--text-4xl);
}

h3 {
  font-size: var(--text-2xl);
}

h4 {
  font-size: var(--text-xl);
}

h5 {
  font-size: var(--text-lg);
}

h6 {
  font-size: var(--text-base);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-body);
  font-weight: 600;
}

p {
  margin-bottom: var(--space-4);
}

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

.text-gold {
  color: var(--color-gold);
}

.text-small {
  font-size: var(--text-sm);
}

.text-muted {
  color: var(--color-slate);
}

/* --------------------------------------------------------------------------
   Layout Components
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.container--content {
  max-width: var(--max-width-content);
}

.section {
  padding: var(--space-20) 0;
}

.section--large {
  padding: var(--space-24) 0;
}

.section--small {
  padding: var(--space-12) 0;
}

.section--gray {
  background-color: var(--color-warm-gray);
}

.section--navy {
  background-color: var(--color-navy);
  color: var(--color-white);
}

.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--color-white);
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-light-gray);
  transition: all var(--transition-base);
}

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

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 var(--space-6);
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.header__logo svg {
  width: 44px;
  height: 44px;
}

.header__logo-text {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-navy);
  letter-spacing: 0.02em;
}

.header__logo-text span {
  display: block;
  font-size: var(--text-xs);
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-slate);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

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

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

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-charcoal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--space-2) 0;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width var(--transition-base);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__link:hover {
  color: var(--color-navy);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-navy);
  transition: all var(--transition-fast);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Language Widget */
.language-widget {
  position: relative;
}

.language-widget__trigger {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-charcoal);
  background: transparent;
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.language-widget__trigger:hover {
  border-color: var(--color-gold);
}

.language-widget__trigger svg {
  width: 16px;
  height: 16px;
}

.language-widget__dropdown {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 160px;
  background: var(--color-white);
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition-fast);
  z-index: 100;
}

.language-widget.active .language-widget__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-widget__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-charcoal);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.language-widget__item:first-child {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.language-widget__item:last-child {
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.language-widget__item:hover {
  background: var(--color-warm-gray);
}

.language-widget__item--active {
  color: var(--color-gold);
  font-weight: 500;
}

.language-widget__item--disabled {
  color: var(--color-medium-gray);
  cursor: default;
}

.language-widget__item--disabled:hover {
  background: transparent;
}

.language-widget__badge {
  font-size: var(--text-xs);
  color: var(--color-medium-gray);
  font-style: italic;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: calc(80px + var(--space-24)) 0 var(--space-24);
  background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy) 50%, var(--color-navy-light) 100%);
  color: var(--color-white);
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-6);
  color: var(--color-gold-light);
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-6);
  line-height: 1.1;
}

.hero__subtitle {
  font-size: var(--text-xl);
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--space-4);
  font-weight: 400;
}

.hero__description {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-8);
  max-width: 600px;
}

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

.hero__decoration {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 600px;
  opacity: 0.1;
  z-index: 1;
}

/* Page Hero (smaller) */
.hero--page {
  min-height: auto;
  padding: calc(80px + var(--space-16)) 0 var(--space-16);
}

.hero--page .hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-4);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn--primary {
  background: var(--color-gold);
  color: var(--color-white);
  border-color: var(--color-gold);
}

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

.btn--secondary {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.4);
}

.btn--secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn--outline {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}

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

.btn--white {
  background: var(--color-white);
  color: var(--color-navy);
  border-color: var(--color-white);
}

.btn--white:hover {
  background: var(--color-warm-gray);
  border-color: var(--color-warm-gray);
  color: var(--color-navy);
}

.btn--small {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

.btn--large {
  padding: var(--space-5) var(--space-10);
  font-size: var(--text-base);
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* --------------------------------------------------------------------------
   Trust Bar
   -------------------------------------------------------------------------- */
.trust-bar {
  background: var(--color-warm-gray);
  padding: var(--space-8) 0;
  border-bottom: 1px solid var(--color-light-gray);
}

.trust-bar__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-8);
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-slate);
  font-weight: 500;
}

.trust-bar__item svg {
  width: 20px;
  height: 20px;
  color: var(--color-gold);
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-8);
}

.cards-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-light-gray);
  transition: all var(--transition-base);
}

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

.card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-warm-gray);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-5);
  color: var(--color-gold);
}

.card__icon svg {
  width: 28px;
  height: 28px;
}

.card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.card__text {
  color: var(--color-slate);
  font-size: var(--text-base);
}

/* Service Card */
.service-card {
  position: relative;
  padding: var(--space-10);
  background: var(--color-white);
  border-left: 4px solid var(--color-gold);
}

.service-card__number {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  color: var(--color-light-gray);
  font-weight: 700;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   Section Headers
   -------------------------------------------------------------------------- */
.section-header {
  max-width: 700px;
  margin-bottom: var(--space-12);
}

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

.section-header__label {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}

.section-header__title {
  margin-bottom: var(--space-4);
}

.section-header__text {
  font-size: var(--text-lg);
  color: var(--color-slate);
}

/* --------------------------------------------------------------------------
   Process / Timeline
   -------------------------------------------------------------------------- */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-6);
  counter-reset: process-counter;
}

.process__step {
  position: relative;
  padding: var(--space-6);
  background: var(--color-white);
  border-radius: var(--radius-md);
  counter-increment: process-counter;
}

.process__step::before {
  content: counter(process-counter, decimal-leading-zero);
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
  line-height: 1;
}

.process__step-title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.process__step-text {
  font-size: var(--text-sm);
  color: var(--color-slate);
}

/* --------------------------------------------------------------------------
   Focus / Bay Area Block
   -------------------------------------------------------------------------- */
.focus-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.focus-block__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.focus-block__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.focus-block__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,42,58,0.3), transparent);
}

/* --------------------------------------------------------------------------
   Values Grid
   -------------------------------------------------------------------------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.value-item {
  text-align: center;
  padding: var(--space-8);
}

.value-item__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
  border-radius: 50%;
  color: var(--color-white);
}

.value-item__icon svg {
  width: 28px;
  height: 28px;
}

.value-item__title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.value-item__text {
  font-size: var(--text-sm);
  color: var(--color-slate);
}

/* --------------------------------------------------------------------------
   Job Cards
   -------------------------------------------------------------------------- */
.job-card {
  background: var(--color-white);
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  margin-bottom: var(--space-6);
}

.job-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-4);
  gap: var(--space-4);
}

.job-card__title {
  font-size: var(--text-xl);
}

.job-card__badge {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: var(--color-warm-gray);
  color: var(--color-slate);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.job-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-slate);
}

.job-card__meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.job-card__meta-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-gold);
}

.job-card__section {
  margin-bottom: var(--space-4);
}

.job-card__section-title {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-navy);
  margin-bottom: var(--space-2);
}

.job-card__list {
  font-size: var(--text-sm);
  color: var(--color-slate);
}

.job-card__list li {
  position: relative;
  padding-left: var(--space-5);
  margin-bottom: var(--space-2);
}

.job-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--color-gold);
  border-radius: 50%;
}

/* --------------------------------------------------------------------------
   Contact Section
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-12);
}

.contact-info {
  padding: var(--space-8);
  background: var(--color-navy);
  border-radius: var(--radius-lg);
  color: var(--color-white);
}

.contact-info h3 {
  color: var(--color-white);
  margin-bottom: var(--space-6);
}

.contact-info__item {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.contact-info__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  color: var(--color-gold);
}

.contact-info__icon svg {
  width: 20px;
  height: 20px;
}

.contact-info__label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--space-1);
}

.contact-info__value {
  font-size: var(--text-base);
}

.contact-info__value a {
  color: var(--color-white);
}

.contact-info__value a:hover {
  color: var(--color-gold);
}

/* Map */
.map-container {
  margin-top: var(--space-8);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 200px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(30%);
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-light-gray);
}

.form__group {
  margin-bottom: var(--space-5);
}

.form__label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: var(--space-2);
}

.form__label--required::after {
  content: ' *';
  color: var(--color-error);
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: var(--space-4);
  font-size: var(--text-base);
  color: var(--color-charcoal);
  background: var(--color-off-white);
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(184, 151, 126, 0.15);
  background: var(--color-white);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--color-medium-gray);
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-right: var(--space-10);
}

.form__textarea {
  min-height: 150px;
  resize: vertical;
}

.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-slate);
}

.form__checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--color-gold);
}

.form__checkbox a {
  color: var(--color-gold);
  text-decoration: underline;
}

.form__error {
  display: none;
  font-size: var(--text-sm);
  color: var(--color-error);
  margin-top: var(--space-2);
}

.form__group--error .form__input,
.form__group--error .form__select,
.form__group--error .form__textarea {
  border-color: var(--color-error);
}

.form__group--error .form__error {
  display: block;
}

.form__submit {
  margin-top: var(--space-6);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--color-navy-dark);
  color: rgba(255,255,255,0.7);
  padding: var(--space-16) 0 var(--space-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer__brand {
  max-width: 320px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.footer__logo svg {
  width: 40px;
  height: 40px;
}

.footer__logo-text {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-white);
}

.footer__description {
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

.footer__address {
  font-size: var(--text-sm);
  font-style: normal;
}

.footer__column h4 {
  color: var(--color-white);
  font-size: var(--text-sm);
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-5);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__link {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--color-gold);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: var(--text-sm);
}

.footer__copyright {
  color: rgba(255,255,255,0.5);
}

.footer__legal {
  display: flex;
  gap: var(--space-6);
}

.footer__legal a {
  color: rgba(255,255,255,0.5);
}

.footer__legal a:hover {
  color: var(--color-gold);
}

/* --------------------------------------------------------------------------
   Cookie Banner
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  padding: var(--space-6);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform var(--transition-slow);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.cookie-banner__text {
  flex: 1;
  font-size: var(--text-sm);
  color: var(--color-charcoal);
}

.cookie-banner__text a {
  color: var(--color-gold);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-3);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Thank You Page
   -------------------------------------------------------------------------- */
.thank-you {
  text-align: center;
  padding: var(--space-24) 0;
}

.thank-you__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
  border-radius: 50%;
  color: var(--color-white);
}

.thank-you__icon svg {
  width: 40px;
  height: 40px;
}

.thank-you__title {
  margin-bottom: var(--space-4);
}

.thank-you__text {
  font-size: var(--text-lg);
  color: var(--color-slate);
  margin-bottom: var(--space-8);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.thank-you__links {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
}

/* --------------------------------------------------------------------------
   404 Page
   -------------------------------------------------------------------------- */
.error-page {
  text-align: center;
  padding: var(--space-24) 0;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-page__code {
  font-family: var(--font-heading);
  font-size: 8rem;
  font-weight: 700;
  color: var(--color-light-gray);
  line-height: 1;
  margin-bottom: var(--space-4);
}

.error-page__title {
  margin-bottom: var(--space-4);
}

.error-page__text {
  color: var(--color-slate);
  margin-bottom: var(--space-8);
}

/* --------------------------------------------------------------------------
   Policy Pages
   -------------------------------------------------------------------------- */
.policy-content {
  max-width: var(--max-width-content);
  margin: 0 auto;
  padding: var(--space-12) var(--space-6);
}

.policy-content h2 {
  font-size: var(--text-2xl);
  margin: var(--space-10) 0 var(--space-4);
}

.policy-content h3 {
  font-size: var(--text-xl);
  margin: var(--space-8) 0 var(--space-3);
}

.policy-content p {
  margin-bottom: var(--space-4);
  color: var(--color-slate);
}

.policy-content ul,
.policy-content ol {
  margin: var(--space-4) 0;
  padding-left: var(--space-6);
}

.policy-content li {
  margin-bottom: var(--space-2);
  color: var(--color-slate);
  position: relative;
}

.policy-content ul li::before {
  content: '•';
  color: var(--color-gold);
  font-weight: bold;
  position: absolute;
  left: calc(-1 * var(--space-5));
}

.policy-content ol {
  counter-reset: list-counter;
}

.policy-content ol li {
  counter-increment: list-counter;
}

.policy-content ol li::before {
  content: counter(list-counter) ".";
  color: var(--color-gold);
  font-weight: 600;
  position: absolute;
  left: calc(-1 * var(--space-6));
}

.policy-content a {
  color: var(--color-gold);
  text-decoration: underline;
}

.policy-meta {
  font-size: var(--text-sm);
  color: var(--color-medium-gray);
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-light-gray);
}

/* --------------------------------------------------------------------------
   Cookie Preferences
   -------------------------------------------------------------------------- */
.cookie-preferences {
  max-width: 700px;
  margin: 0 auto;
  padding: var(--space-12) var(--space-6);
}

.cookie-category {
  background: var(--color-white);
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-4);
}

.cookie-category__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-3);
}

.cookie-category__title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-navy);
}

.cookie-category__description {
  font-size: var(--text-sm);
  color: var(--color-slate);
}

/* Toggle Switch */
.toggle {
  position: relative;
  width: 52px;
  height: 28px;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle__slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-light-gray);
  transition: var(--transition-fast);
  border-radius: 28px;
}

.toggle__slider::before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background-color: var(--color-white);
  transition: var(--transition-fast);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

.toggle input:checked + .toggle__slider {
  background-color: var(--color-gold);
}

.toggle input:checked + .toggle__slider::before {
  transform: translateX(24px);
}

.toggle input:disabled + .toggle__slider {
  opacity: 0.5;
  cursor: not-allowed;
}

/* --------------------------------------------------------------------------
   FAQ / Accordion
   -------------------------------------------------------------------------- */
.accordion {
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

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

.accordion__item:last-child {
  border-bottom: none;
}

.accordion__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: var(--space-5) var(--space-6);
  background: var(--color-white);
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-navy);
  transition: background var(--transition-fast);
}

.accordion__header:hover {
  background: var(--color-warm-gray);
}

.accordion__icon {
  width: 24px;
  height: 24px;
  color: var(--color-gold);
  transition: transform var(--transition-fast);
}

.accordion__item.active .accordion__icon {
  transform: rotate(180deg);
}

.accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.accordion__body {
  padding: 0 var(--space-6) var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-slate);
}

/* --------------------------------------------------------------------------
   CTA Section
   -------------------------------------------------------------------------- */
.cta-section {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  padding: var(--space-16) 0;
  text-align: center;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M0 0h40v40H0V0zm1 1v38h38V1H1z'/%3E%3C/g%3E%3C/svg%3E");
}

.cta-section__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.cta-section__title {
  color: var(--color-white);
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
}

.cta-section__text {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-8);
}

/* --------------------------------------------------------------------------
   Responsive Design
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .cards-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .focus-block {
    grid-template-columns: 1fr;
  }
  
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --text-5xl: 2.5rem;
    --text-4xl: 2rem;
    --text-3xl: 1.5rem;
  }
  
  .header__inner {
    height: 70px;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: var(--space-6);
    flex-direction: column;
    gap: var(--space-6);
    border-top: 1px solid var(--color-light-gray);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
  }
  
  .nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav__list {
    flex-direction: column;
    width: 100%;
  }
  
  .nav__link {
    display: block;
    padding: var(--space-3) 0;
    text-align: center;
    width: 100%;
  }
  
  .hero {
    min-height: auto;
    padding: calc(70px + var(--space-16)) 0 var(--space-16);
  }
  
  .hero__decoration {
    display: none;
  }
  
  .cards-grid,
  .cards-grid--3,
  .cards-grid--2 {
    grid-template-columns: 1fr;
  }
  
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .footer__bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }
  
  .footer__legal {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .trust-bar__list {
    flex-direction: column;
    gap: var(--space-4);
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .cookie-banner__inner {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-banner__actions {
    width: 100%;
    flex-direction: column;
  }
  
  .cookie-banner__actions .btn {
    width: 100%;
  }
  
  .job-card__header {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .section {
    padding: var(--space-12) 0;
  }
  
  .container {
    padding: 0 var(--space-4);
  }
  
  .form {
    padding: var(--space-6);
  }
  
  .hero__actions {
    flex-direction: column;
  }
  
  .hero__actions .btn {
    width: 100%;
  }
  
  .thank-you__links {
    flex-direction: column;
  }
}

/* --------------------------------------------------------------------------
   Print Styles
   -------------------------------------------------------------------------- */
@media print {
  .header,
  .footer,
  .cookie-banner,
  .cta-section {
    display: none;
  }
  
  body {
    color: #000;
    background: #fff;
  }
  
  a {
    text-decoration: underline;
  }
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-in {
  animation: fadeIn 0.4s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* Accessibility */
@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;
  }
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* Skip to content link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-navy);
  color: var(--color-white);
  padding: var(--space-2) var(--space-4);
  z-index: 10000;
  transition: top var(--transition-fast);
}

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