/*!
 * AssetPro Ventures Limited - Production Stylesheet
 * @version 1.0.0
 * @description Professional real estate website styles
 * @colors Primary: #4ea8de (blue), #001d3d (navy), #f5f5f5 (light grey), #ffffff (white)
 * @typography Archer (headings), Area Normal (body) with system fallbacks
 * @author AssetPro Development Team
 * @license Proprietary
 */

/* ============================================================================
   CSS Custom Properties (Variables)
   ========================================================================= */
:root {
  /* Brand Colors - Asset Pro Ventures Brand Guidelines */
  --color-primary: #4ea8de; /* Official brand primary blue */
  --color-primary-light: #6bb8e5;
  --color-primary-dark: #3a94ca;
  --color-secondary: #001d3d; /* Official brand secondary */
  --color-accent: #4ea8de; /* Using primary as accent */
  --color-neutral-dark: #0b1a2f;
  --color-neutral-light: #F8FAFC;
  --color-neutral-white: #ffffff;
  --color-text-primary: #111827;
  --color-text-secondary: #4B5563;
  --color-text-muted: #6B7280;
  --color-border: #E5E7EB;
  --color-success: #10B981;
  --color-error: #EF4444;
  
  /* Enhanced Design System */
  --border-radius: 12px;
  --border-radius-sm: 8px;
  --border-radius-lg: 16px;
  --box-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1);
  --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --box-shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --box-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --box-shadow-hover: 0 20px 30px rgba(0, 29, 61, 0.1);
  
  /* Premium Typography Scale */
  --font-family-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
  --font-family-heading: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
  --font-family-mono: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', monospace;
  --font-size-xs: clamp(0.75rem, 0.8vw, 0.813rem);
  --font-size-sm: clamp(0.875rem, 0.9vw, 0.938rem);
  --font-size-base: clamp(1rem, 1vw, 1.063rem);
  --font-size-lg: clamp(1.125rem, 1.2vw, 1.25rem);
  --font-size-xl: clamp(1.25rem, 1.5vw, 1.5rem);
  --font-size-2xl: clamp(1.5rem, 2vw, 1.875rem);
  --font-size-3xl: clamp(1.875rem, 2.5vw, 2.25rem);
  --font-size-4xl: clamp(2.25rem, 3vw, 3rem);
  --font-size-5xl: clamp(3rem, 4vw, 4rem);
  
  /* Font Weights */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  
  /* Line Heights */
  --line-height-tight: 1.25;
  --line-height-snug: 1.375;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.625;
  --line-height-loose: 2;
  
  /* Letter Spacing */
  --letter-spacing-tighter: -0.05em;
  --letter-spacing-tight: -0.025em;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.025em;
  --letter-spacing-wider: 0.05em;
  --letter-spacing-widest: 0.1em;
  
  /* Professional Spacing Scale */
  --spacing-xs: 0.5rem;
  --spacing-sm: 0.75rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --spacing-4xl: 6rem;
  
  /* Animation & Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slower: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Legacy variable mapping for backwards compatibility */
  --blue: var(--color-primary);
  --navy: var(--color-secondary);
  --ink: var(--color-neutral-dark);
  --soft: var(--color-neutral-light);
  --white: var(--color-neutral-white);
  --muted: var(--color-text-muted);
  --radius: var(--border-radius);
  --shadow: var(--box-shadow);
}

/* ============================================================================
   Typography - Goldman Sachs Level
   ========================================================================= */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
  color: var(--color-text-primary);
}

h1 {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-extrabold);
  font-family: var(--font-family-heading);
}

h2 {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  font-family: var(--font-family-heading);
}

h3 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
  font-family: var(--font-family-heading);
}

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

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

h6 {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wider);
}

p {
  margin: 0 0 var(--spacing-md) 0;
  line-height: var(--line-height-relaxed);
  color: var(--color-text-secondary);
}

strong {
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
}

em {
  font-style: italic;
  color: var(--color-text-secondary);
}

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

/* ============================================================================
   New Contact Section Styles
   ========================================================================= */
.why-assetpro {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--color-neutral-light);
  border-radius: var(--border-radius);
}

.why-assetpro h3 {
  color: var(--color-secondary);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.partnership-benefits,
.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.partnership-benefits li,
.service-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 29, 61, 0.08);
}

.partnership-benefits li:last-child,
.service-list li:last-child {
  border-bottom: none;
}

.partnership-benefits strong,
.service-list strong {
  color: var(--color-primary);
  font-weight: 600;
}

.service-highlights .parameter-grid {
  margin-top: 1.5rem;
}

.contact-details {
  margin-top: 2rem;
}

.contact-details h3 {
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.contact-intro {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.contact-method {
  padding: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 12px;
  border: 2px solid rgba(78, 168, 222, 0.15);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.contact-method::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #4ea8de, #6bb8e5);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.contact-method:hover {
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-md);
  border-color: rgba(78, 168, 222, 0.3);
}

.contact-method:hover::before {
  transform: scaleX(1);
}

.contact-method strong {
  display: block;
  color: #001d3d;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.contact-method a {
  color: #4ea8de;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.125rem;
  transition: all var(--transition-fast);
}

.contact-method a:hover {
  color: #3a94ca;
  transform: translateX(2px);
}

.contact-method span {
  color: var(--color-text-primary);
  font-size: 1rem;
  line-height: 1.5;
}

.response-promise {
  text-align: center;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin: 1rem 0 0;
  padding: 1rem;
  background: var(--color-neutral-light);
  border-radius: 8px;
  font-size: 0.95rem;
}

/* 3-Step Wizard Form Styles */
.wizard-card {
  background: var(--color-neutral-white);
  border-radius: 20px;
  padding: 0;
  box-shadow: 0 10px 40px rgba(0, 29, 61, 0.08);
  overflow: hidden;
  margin-top: 1.5rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.wizard-header {
  padding: 1.75rem 2rem 1.25rem;
  background: var(--color-secondary);
  text-align: center;
}

.wizard-header h3 {
  font-size: 1.4rem;
  color: white;
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.wizard-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  margin: 0;
}

/* Progress Stepper */
.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 1.5rem 2rem 1rem;
  background: white;
}

.step {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #E6EEF5;
  color: #5b6b80;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.step.is-active {
  background: var(--color-primary);
  color: white;
  transform: scale(1.1);
}

.step-divider {
  width: 40px;
  height: 2px;
  background: #E6EEF5;
}

/* Wizard Form */
.wizard-form {
  padding: 1.5rem 2rem 2rem;
}

.wizard-step {
  animation: fadeIn 0.3s ease;
}

.wizard-step.hidden {
  display: none;
}

.step-title {
  font-size: 1.2rem;
  color: var(--color-secondary);
  margin: 0 0 1.25rem;
  font-weight: 600;
}

/* Segmented Action Buttons */
.segmented {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 1rem 0 1.5rem;
}

.action-btn {
  border: 2px solid #D9DDE1;
  padding: 14px 10px;
  min-height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: white;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-neutral-dark);
  cursor: pointer;
  transition: all 0.2s ease;
}

.action-btn:hover {
  border-color: var(--color-primary);
  background: rgba(78, 168, 222, 0.05);
}

.action-btn[aria-selected="true"] {
  border-color: #4ea8de;
  background: linear-gradient(135deg, rgba(78, 168, 222, 0.08), rgba(78, 168, 222, 0.15));
  color: #001d3d;
  font-weight: var(--font-weight-semibold);
  box-shadow: 0 2px 4px rgba(78, 168, 222, 0.2);
}

.action-btn:focus {
  outline: 3px solid rgba(78, 168, 222, 0.45);
  outline-offset: 2px;
}

/* Chips for Property Types */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0.75rem 0 1.25rem;
}

.chips label {
  position: relative;
  border: 1.5px solid #D9DDE1;
  padding: 10px 16px;
  border-radius: 999px;
  background: white;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.chips input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chips label:has(input:checked) {
  border-color: var(--color-primary);
  background: rgba(78, 168, 222, 0.1);
  color: var(--color-secondary);
}

/* Hint text */
.hint {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.optional {
  color: var(--color-text-muted);
  font-weight: 400;
  font-size: 0.9rem;
}

/* Wizard Navigation */
.wizard-nav {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 2rem;
}

.btn-back,
.btn-next {
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-back {
  background: #F5F5F5;
  color: var(--color-neutral-dark);
}

.btn-next {
  background: var(--color-primary);
  color: white;
  margin-left: auto;
}

.cta-btn {
  background: var(--color-primary);
  color: white;
  border: 0;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: auto;
}

.cta-btn:hover,
.btn-next:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(78, 168, 222, 0.3);
}

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

.enquiry-header h3 {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 0.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 0;
}

.enquiry-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin: 0;
}

.professional-form {
  padding: 1.5rem 1.75rem;
}

/* Service Selection with Premium Styling */
.service-selector {
  margin-bottom: 2.5rem;
}

.service-label {
  display: block;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--color-secondary);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.service-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.75rem;
}

.service-buttons input[type="radio"] {
  display: none;
}

.service-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1rem;
  background: white;
  border: 1.5px solid rgba(0, 29, 61, 0.12);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  min-height: 80px;
  position: relative;
  overflow: hidden;
}

.service-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-primary);
  transform: translateY(-100%);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.service-btn:hover {
  border-color: var(--color-primary);
  background: rgba(78, 168, 222, 0.02);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(78, 168, 222, 0.15);
}

input[type="radio"]:checked + .service-btn {
  border-color: var(--color-primary);
  background: linear-gradient(to bottom, rgba(78, 168, 222, 0.05), rgba(78, 168, 222, 0.02));
}

input[type="radio"]:checked + .service-btn::before {
  transform: translateY(0);
}

.service-label-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 0.25rem;
  display: block;
}

.service-sublabel {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

/* Property Type Grid - Premium Design */
.property-type-section {
  margin-bottom: 2.5rem;
  padding: 1.75rem;
  background: rgba(248, 250, 252, 0.5);
  border-radius: 12px;
  border: 1px solid rgba(0, 29, 61, 0.06);
}

.property-type-section .field-label {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.property-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.property-type-option {
  display: flex;
  align-items: center;
  padding: 0.875rem 1rem;
  background: white;
  border: 1px solid rgba(0, 29, 61, 0.1);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.property-type-option:hover {
  border-color: var(--color-primary);
  background: rgba(78, 168, 222, 0.02);
  box-shadow: 0 2px 8px rgba(78, 168, 222, 0.1);
}

.property-type-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 0.75rem;
  accent-color: var(--color-primary);
  cursor: pointer;
  flex-shrink: 0;
}

.property-type-option input[type="checkbox"]:checked + span {
  color: var(--color-secondary);
  font-weight: 500;
}

.property-type-option input[type="checkbox"]:checked {
  background-color: var(--color-primary);
}

/* Timeline Options - Premium Design */
.timeline-section {
  margin-bottom: 2.5rem;
  padding: 1.75rem;
  background: rgba(248, 250, 252, 0.5);
  border-radius: 12px;
  border: 1px solid rgba(0, 29, 61, 0.06);
}

.timeline-section .field-label {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.timeline-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
}

.timeline-option {
  display: flex;
  align-items: center;
  padding: 0.875rem 1rem;
  background: white;
  border: 1px solid rgba(0, 29, 61, 0.1);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-option:hover {
  border-color: var(--color-primary);
  background: rgba(78, 168, 222, 0.02);
  box-shadow: 0 2px 8px rgba(78, 168, 222, 0.1);
}

.timeline-option input[type="radio"] {
  width: 16px;
  height: 16px;
  margin-right: 0.75rem;
  accent-color: var(--color-primary);
  cursor: pointer;
  flex-shrink: 0;
}

.timeline-option input[type="radio"]:checked + span {
  color: var(--color-secondary);
  font-weight: 500;
}

.timeline-option input[type="radio"]:checked {
  background-color: var(--color-primary);
}

/* Contact Section - Premium Design */
.contact-section {
  background: linear-gradient(135deg, rgba(0, 29, 61, 0.02), rgba(78, 168, 222, 0.02));
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  border: 1px solid rgba(0, 29, 61, 0.06);
}

.contact-section h4 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: var(--color-secondary);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Premium Input Field Styling */
.field-group {
  margin-bottom: 1.25rem;
}

.field-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--color-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.field-input,
.field-select,
.field-textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--color-neutral-white);
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  font-size: var(--font-size-base);
  color: var(--color-text-primary);
  transition: all var(--transition-base);
  font-family: inherit;
  min-height: 48px;
  font-weight: var(--font-weight-normal);
  letter-spacing: var(--letter-spacing-normal);
}

.field-input:hover,
.field-select:hover,
.field-textarea:hover {
  border-color: rgba(78, 168, 222, 0.3);
}

.field-input:focus,
.field-select:focus,
.field-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(1, 70, 177, 0.1);
  background: var(--color-neutral-white);
  transform: translateY(-1px);
}

.field-input::placeholder,
.field-textarea::placeholder {
  color: rgba(91, 107, 128, 0.6);
  font-size: 0.925rem;
}

.field-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%235b6b80' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.field-textarea {
  resize: vertical;
  min-height: 200px;
  line-height: 1.5;
}

.field-error {
  display: block;
  margin-top: 0.25rem;
  color: #ef4444;
  font-size: 0.825rem;
  font-weight: 500;
}

/* Submit Button - Premium Design */
.submit-btn {
  width: 100%;
  padding: 1.125rem 2rem;
  background: var(--color-secondary);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.submit-btn:hover:not(:disabled) {
  background: var(--color-primary);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(78, 168, 222, 0.25);
}

.submit-btn:hover:not(:disabled)::before {
  left: 100%;
}

.submit-btn:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(78, 168, 222, 0.2);
}

.submit-btn:disabled {
  background: rgba(91, 107, 128, 0.3);
  cursor: not-allowed;
}

.btn-loading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.loading-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Form Assurance - Premium Design */
.form-assurance {
  text-align: center;
  margin-top: 1.5rem;
  padding: 1rem;
  background: transparent;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.assurance-item {
  display: inline-block;
}

.assurance-divider {
  color: rgba(91, 107, 128, 0.3);
  margin: 0 0.25rem;
}

/* Consent Section - Premium Design */
.consent-section {
  margin: 2rem 0 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 29, 61, 0.06);
}

.consent-label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.consent-checkbox {
  width: 18px;
  height: 18px;
  margin-right: 0.75rem;
  margin-top: 0.1rem;
  accent-color: var(--color-primary);
  cursor: pointer;
  flex-shrink: 0;
}

.consent-checkbox:checked {
  background-color: var(--color-primary);
}

.consent-text a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}

.consent-text a:hover {
  text-decoration: underline;
}

/* Form Grid Layout */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.field-group.full-width {
  grid-column: 1 / -1;
}

/* Premium Focus States */
.field-input.success,
.field-select.success,
.field-textarea.success {
  border-color: #10b981;
}

.field-input.error,
.field-select.error,
.field-textarea.error {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.02);
}

/* ============================================================================
   Animations and Effects
   ========================================================================= */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple-effect 1s ease-out;
  pointer-events: none;
}

@keyframes ripple-effect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.tooltip {
  position: fixed;
  background: var(--color-secondary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-sm);
  font-size: var(--font-size-sm);
  box-shadow: var(--box-shadow-lg);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1000;
}

.tooltip.visible {
  opacity: 1;
}

/* Loading States */
.loading {
  position: relative;
  color: transparent !important;
}

.loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Premium Card Effects */
.card,
.pillar,
.tile {
  transform-style: preserve-3d;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover,
.pillar:hover,
.tile:hover {
  box-shadow: 0 20px 40px rgba(0, 29, 61, 0.15);
}

/* Responsive Design Optimization */
/* Responsive Wizard Styles */
@media (max-width: 768px) {
  .wizard-card {
    border-radius: 16px;
    margin: 1rem;
    max-width: 100%;
  }
  
  .wizard-header {
    padding: 1.25rem 1.5rem 1rem;
  }
  
  .wizard-header h3 {
    font-size: 1.25rem;
  }
  
  .stepper {
    padding: 1.25rem 1.5rem 0.75rem;
  }
  
  .wizard-form {
    padding: 1.25rem 1.5rem 1.5rem;
  }
  
  .segmented {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  
  .action-btn {
    padding: 12px 8px;
    font-size: 0.9rem;
  }
  
  .investment-enquiry-card {
    border-radius: 12px;
    margin: 1rem auto;
    max-width: 100%;
  }
  
  .enquiry-header {
    padding: 1rem 1.25rem;
  }
  
  .enquiry-header h3 {
    font-size: 1.25rem;
  }
  
  .professional-form {
    padding: 1.25rem;
  }
  
  .service-buttons {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  
  .service-btn {
    padding: 1rem 0.75rem;
    min-height: 70px;
  }
  
  .service-label-text {
    font-size: 1rem;
  }
  
  .property-type-section,
  .timeline-section {
    padding: 1.25rem;
    margin-bottom: 1.5rem;
  }
  
  .property-type-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  
  .timeline-options {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .contact-section {
    padding: 1.5rem;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .field-input,
  .field-select,
  .field-textarea {
    font-size: 16px; /* Prevents zoom on iOS */
  }
}

@media (max-width: 480px) {
  /* Wizard Mobile Styles */
  .wizard-card {
    margin: 0.5rem;
    border-radius: 12px;
  }
  
  .wizard-header {
    padding: 1rem;
  }
  
  .wizard-header h3 {
    font-size: 1.15rem;
  }
  
  .stepper {
    padding: 1rem;
    gap: 6px;
  }
  
  .step {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  
  .step-divider {
    width: 24px;
  }
  
  .wizard-form {
    padding: 1rem;
  }
  
  .step-title {
    font-size: 1.1rem;
  }
  
  .segmented {
    grid-template-columns: 1fr;
  }
  
  .action-btn {
    padding: 14px;
  }
  
  .chips label {
    padding: 8px 12px;
    font-size: 0.85rem;
  }
  
  .field-input,
  .field-select {
    font-size: 16px; /* Prevent iOS zoom */
  }
  
  .wizard-nav {
    flex-direction: column-reverse;
    gap: 8px;
  }
  
  .btn-back,
  .btn-next,
  .cta-btn {
    width: 100%;
    text-align: center;
  }
  
  /* Legacy form styles */
  .service-buttons {
    grid-template-columns: 1fr;
  }
  
  .service-btn {
    flex-direction: row;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem;
    min-height: auto;
  }
  
  .property-type-grid {
    grid-template-columns: 1fr;
  }
  
  .property-type-option {
    padding: 0.75rem;
  }
  
  .submit-btn {
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .form-assurance {
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.825rem;
  }
  
  .assurance-divider {
    display: none;
  }
}

@media (min-width: 1200px) {
  .investment-enquiry-card {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .service-buttons {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .property-type-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .timeline-options {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1024px) {
  .container {
    padding: 0 15px;
  }
  .section {
    padding: 60px 0;
  }
  h1, h2, h3 {
    text-align: center !important;
  }
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

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

/* Prevent horizontal overflow */
html {
  overflow-x: hidden;
  width: 100%;
}

html {
  height: 100%;
  color-scheme: light;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  width: 100%;
  overflow-x: hidden;
  position: relative;
  font-family: var(--font-family-primary);
  color: var(--color-text-primary);
  background-color: var(--color-neutral-white);
  line-height: var(--line-height-relaxed);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
}

/* Fixed header styling and layering across pages */
.header,
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: var(--box-shadow-sm);
}

main {
  padding-top: 88px; /* Prevent content overlap with fixed header */
}

/* Ensure logo sits cleanly inside header */
.logo {
  display: block;
  height: 43px;
  width: auto;
}

.logo-link {
  display: inline-flex;
  align-items: center;
}

/* ============================================================================
   Media & Content Elements
   ========================================================================= */
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}

/* ============================================================================
   Homepage Redesign (Single-Page) - Mobile First
   Keeps logo/colors; provides modern structure via classes
   ========================================================================== */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #f8fbfd 0%, #e8f4f8 100%);
}

.hero-title {
  font-family: var(--font-family-heading);
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.15;
  color: var(--color-secondary);
  letter-spacing: var(--letter-spacing-tight);
  margin: 0 0 1rem 0;
}

.hero-lead {
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  color: var(--color-text-secondary);
  max-width: 800px;
  margin: 0 0 1.75rem 0;
}

.cta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); transform: translateY(-2px); box-shadow: var(--box-shadow); }

.btn-outline { background: transparent; color: var(--color-primary); border: 2px solid var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); color: #fff; transform: translateY(-2px); box-shadow: var(--box-shadow); }

.section { padding: 80px 0; }
.section-alt { background: var(--color-neutral-light); }

.section-heading { 
  font-family: var(--font-family-heading);
  text-align: center;
  color: var(--color-secondary);
  margin: 0 0 1rem;
}

.section-subheading {
  text-align: center;
  color: var(--color-text-secondary);
  max-width: 800px;
  margin: 0 auto 2rem;
}

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

.card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--box-shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}

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

.feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.feature { display: flex; gap: .5rem; align-items: flex-start; color: var(--color-text-secondary); }
.feature-emoji { font-size: 1.25rem; line-height: 1; }

/* Articles List / Card CTA */
.article-pill { display: inline-block; background: linear-gradient(135deg, #4ea8de, #6bb8e5); color: #fff; padding: 6px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; }

/* Process List */
.process-steps { list-style: none; padding: 0; margin: 2rem auto 0; max-width: 800px; }
.process-steps li { display: flex; gap: 1rem; margin-bottom: 1.25rem; }
.process-step-num { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--color-primary); font-weight: 700; }

@media (max-width: 768px) {
  .hero { padding: 100px 0 60px; }
  .section { padding: 60px 0; }
}

img[loading="lazy"] {
  transition: opacity 0.3s ease;
}

svg {
  max-width: 100%;
  height: auto;
  fill: currentColor;
}

/* ============================================================================
   Accessibility
   ========================================================================= */
.skip-link {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  left: var(--spacing-md);
  top: var(--spacing-md);
  width: auto;
  height: auto;
  padding: var(--spacing-xs) var(--spacing-sm);
  background-color: var(--color-secondary);
  color: var(--color-neutral-white);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  z-index: 9999;
  clip: auto;
}

/* ============================================================================
   Layout Components
   ========================================================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
}

/* ============================================================================
   Header & Navigation
   ========================================================================= */
.site-header {
  position: fixed; /* Changed from sticky to fixed to prevent overlap */
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000; /* Increased z-index */
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: all var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--box-shadow-md);
  background: rgba(255, 255, 255, 1);
}

/* Add padding to main content for fixed header */
#main {
  padding-top: 260px;
}

/* Adjust main padding for tablets */
@media (max-width: 900px) and (min-width: 641px) {
  #main {
    padding-top: 200px;
  }
}

/* Adjust main padding for mobile */
@media (max-width: 640px) {
  #main {
    padding-top: 180px;
  }
}

/* Adjust main padding for extra small devices */
@media (max-width: 480px) {
  #main {
    padding-top: 160px;
  }
}

/* Adjust main padding for extra small devices */
@media (max-width: 480px) {
  #main {
    padding-top: 160px;
  }
}

/* ============================================================================
   Data Table Styles
   ========================================================================= */
.data-table {
  width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
  display: block;
}

.data-table th, .data-table td {
  white-space: nowrap;
  padding: 12px 16px;
}

@media (max-width: 640px) {
  .data-table {
    display: block;
    overflow-x: auto;
  }
  .data-table, .data-table tbody, .data-table tr, .data-table td, .data-table th {
    display: block;
  }
  .data-table tr {
    margin-bottom: 15px;
  }
  .data-table td, .data-table th {
    text-align: left !important;
    padding: 10px;
  }
}

/* ============================================================================
   Hero - Reduced padding for better proportions
   ========================================================================= */
.hero {
  padding: 4rem 0;
  margin-top: 100px;
  background: linear-gradient(180deg, var(--color-neutral-white) 0%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
  min-height: 70vh;
}

.hero-inner {
  text-align: left;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.hero h1 {
  font-family: var(--font-family-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-secondary);
  margin: 0 0 1.5rem 0;
  max-width: 100%;
  font-weight: var(--font-weight-bold);
  background: linear-gradient(135deg, var(--color-secondary) 0%, #4ea8de 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lede {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--color-text-secondary);
  max-width: 100%;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

/* ============================================================================
   Button Components
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  border-radius: var(--border-radius-sm);
  padding: 0.75rem 1.5rem;
  min-height: 44px;
  min-width: 44px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  font-family: inherit;
  font-size: var(--font-size-sm);
  line-height: 1;
  text-align: center;
  user-select: none;
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.btn:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.btn.primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: var(--color-neutral-white);
  box-shadow: var(--box-shadow-md);
  border: 2px solid transparent;
}

.btn.primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left var(--transition-slower);
}

.btn.primary:hover::before {
  left: 100%;
}

.btn.primary:hover,
.btn.primary:focus {
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-lg);
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
}

.btn.ghost {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background-color: transparent;
}

.btn.ghost:hover,
.btn.ghost:focus {
  background-color: rgba(78, 168, 222, 0.1);
  transform: translateY(-1px);
}

.trust-points {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
  color: var(--color-text-secondary);
}

.trust-points li {
  padding: 0.5rem 0 0.5rem 1rem;
  border-left: 3px solid #4ea8de;
  font-size: 0.875rem;
  flex: 0 1 auto;
}

@media (max-width: 768px) {
  .trust-points {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* ============================================================================
   Section Components - Reduced padding for better flow
   ========================================================================= */
.section {
  padding: 5rem 0;
  overflow: hidden;
  scroll-margin-top: 200px;
  position: relative;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 29, 61, 0.1), transparent);
}

/* Fix for specific about section overlap */
.section.about {
  padding-top: 7rem;
  margin-top: 2rem;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.3) 0%, rgba(255, 255, 255, 0.8) 100%);
}

@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }
}
.section.alt { background: var(--soft); }
.section h2 {
  font-family: var(--font-family-heading);
  color: var(--color-secondary);
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 var(--spacing-lg);
  line-height: 1.2;
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section h3 {
  font-family: var(--font-family-heading);
  color: var(--color-secondary);
  font-size: clamp(22px, 3vw, 28px);
  margin: 0 0 var(--spacing-md);
  line-height: 1.3;
  font-weight: 600;
}

.two-col {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 992px) {
  .two-col {
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
  }
}

@media (max-width: 991px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(78, 168, 222, 0.15);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  box-shadow: 0 8px 25px rgba(0, 29, 61, 0.08);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  height: 100%;
  box-sizing: border-box;
  backdrop-filter: blur(10px);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), #5fb3e3);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
  border-radius: 0 0 4px 4px;
}

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

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 29, 61, 0.15);
  border-color: var(--color-primary);
}
.checklist { 
  padding: 0; 
  margin: 0; 
  list-style: none; 
}

.checklist li { 
  padding: 16px 0 16px 40px; 
  position: relative; 
  border-bottom: 1px solid rgba(0, 29, 61, 0.1);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-text-primary);
  font-weight: var(--font-weight-medium);
}

.checklist li:last-child { 
  border-bottom: 0; 
}

.checklist li::before { 
  content: "✓"; 
  position: absolute; 
  left: 0; 
  top: 16px; 
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(78, 168, 222, 0.3);
}

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

@media (max-width: 768px) {
  .pillars {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
.pillar {
  background: var(--color-neutral-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 1.75rem;
  box-shadow: var(--box-shadow-sm);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  border-top: 3px solid transparent;
  background-image: linear-gradient(var(--color-neutral-white), var(--color-neutral-white)),
                    linear-gradient(135deg, var(--color-primary), var(--color-accent));
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

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

.pillar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), #5fb3e3);
}

.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
.tile { 
  background: #fff; 
  border: 1px solid #edf0f5; 
  border-radius: var(--radius); 
  overflow: visible; 
  box-shadow: var(--shadow); 
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-hover);
}

.tile-body { 
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tile-label {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-primary), #5fb3e3);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tile-stats {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f0f4f8;
}

.stat {
  font-size: 14px;
  color: var(--color-text-muted);
}

.stat strong {
  color: var(--color-primary);
  font-weight: 700;
}

.process .steps {
  counter-reset: step;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (max-width: 768px) {
  .process .steps {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
.process .steps li { 
  background: #fff; 
  border: 1px solid #eef2f6; 
  border-radius: var(--radius); 
  padding: 24px; 
  box-shadow: var(--shadow); 
  transition: all 0.3s ease;
  position: relative;
}

.process .steps li:hover {
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-hover);
}
.process .steps h3 { position: relative; padding-left: 36px; }
.process .steps h3::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }

.contact .form .field { display: grid; gap: 6px; margin-bottom: 14px; }
/* Legacy contact form compatibility */
.contact .field-input,
.contact .field-textarea,
.contact .field-select {
  width: 100%; 
  padding: 16px 18px; 
  border: 2px solid #e2e8f0; 
  border-radius: 12px; 
  font: inherit; 
  background: #fafbfc;
  transition: all 0.3s ease;
}

/* Field States */
.field-input.error,
.field-textarea.error,
.field-select.error {
  border-color: #dc2626;
  background: #fef2f2;
}

.field-input.error:focus,
.field-textarea.error:focus,
.field-select.error:focus {
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

.field-input.success,
.field-textarea.success,
.field-select.success {
  border-color: #16a34a;
  background: #f0fdf4;
}

.field-input.success:focus,
.field-textarea.success:focus,
.field-select.success:focus {
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.1);
}

.contact input::placeholder, .contact textarea::placeholder {
  color: #94a3b8;
  font-style: italic;
}

/* Investment Enquiry Card */
/* Removed duplicate .investment-enquiry-card definition */

.enquiry-header {
  background: linear-gradient(135deg, var(--color-secondary), #0d2444);
  color: white;
  padding: 32px 32px 28px;
  text-align: center;
  position: relative;
}

.enquiry-header h3 {
  margin: 0 0 8px 0;
  font-size: 24px;
  font-weight: 700;
  font-family: var(--font-family-heading);
}

.enquiry-subtitle {
  margin: 0 0 16px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
}

.enquiry-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Professional Form */
.professional-form {
  padding: 32px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 32px;
  }
}

.field-group {
  position: relative;
}

.field-group.full-width {
  grid-column: 1 / -1;
}

.field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.field-input,
.field-select,
.field-textarea {
  width: 100%;
  padding: 16px 18px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  background: #fafbfc;
  transition: all 0.3s ease;
  color: var(--color-neutral-dark);
}

.field-input:focus,
.field-select:focus,
.field-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(1, 70, 177, 0.1);
  transform: translateY(-1px);
}

.field-input::placeholder,
.field-textarea::placeholder {
  color: #94a3b8;
  font-style: italic;
}

.field-textarea {
  resize: vertical;
  min-height: 200px;
  line-height: 1.6;
}

.field-error {
  color: #dc2626;
  font-size: 12px;
  font-weight: 500;
  margin-top: 6px;
  display: block;
  min-height: 16px;
}

/* Consent Section */
.consent-section {
  margin: 32px 0;
  padding: 24px;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border-radius: 16px;
  border: 1px solid #e2e8f0;
}

.consent-group {
  margin-bottom: 16px;
}

.consent-group:last-child {
  margin-bottom: 0;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  margin-bottom: 0.75rem;
  font-size: 14px;
  line-height: 1.6;
}

.consent-checkbox {
  display: none;
}

.consent-indicator {
  width: 20px;
  height: 20px;
  border: 2px solid #cbd5e1;
  border-radius: 6px;
  background: white;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.3s ease;
  position: relative;
}

.consent-indicator::after {
  content: '✓';
  position: absolute;
  top: -1px;
  left: 3px;
  color: white;
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s ease;
}

.consent-checkbox:checked + .consent-indicator {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: scale(1.05);
}

.consent-checkbox:checked + .consent-indicator::after {
  opacity: 1;
  transform: scale(1);
}

.consent-text a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}

.consent-text a:hover {
  text-decoration: underline;
}

/* Submission Section */
.submission-section {
  margin-top: 32px;
}

.institutional-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 40px;
  background: linear-gradient(135deg, var(--color-primary), #5fb3e3);
  color: white;
  border: none;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.institutional-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.institutional-btn:not(:disabled):hover::before {
  left: 100%;
}

.institutional-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

.institutional-btn:not(:disabled):hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(78, 168, 222, 0.4);
}

.institutional-btn .btn-arrow {
  transition: transform 0.3s ease;
}

.institutional-btn:not(:disabled):hover .btn-arrow {
  transform: translateX(3px) translateY(-2px);
}

.loading-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Submission Footer */
.submission-footer {
  margin-top: 24px;
  text-align: center;
}

.security-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-bottom: 12px;
  padding: 8px 16px;
  background: rgba(78, 168, 222, 0.05);
  border-radius: 20px;
  border: 1px solid rgba(78, 168, 222, 0.1);
}

.security-note svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.regulatory-disclaimer {
  font-size: 11px;
  color: #64748b;
  font-style: italic;
  margin: 0;
  line-height: 1.4;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer Separator */
.footer-separator {
  color: var(--color-text-muted);
  margin: 0 8px;
}

/* Partnership Header */
.partnership-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 2px solid #e2e8f0;
  position: relative;
}

.partnership-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--color-primary);
}

.partnership-header h2 {
  color: var(--color-secondary);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  margin: 0 0 12px 0;
  letter-spacing: -0.01em;
}

.partnership-tagline {
  font-size: 18px;
  color: var(--color-text-muted);
  font-weight: 400;
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* Investment Parameters */
.investment-parameters {
  margin: 40px 0;
}

.parameter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (min-width: 768px) {
  .parameter-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}

.parameter-item {
  text-align: center;
  padding: 24px 16px;
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.parameter-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(78, 168, 222, 0.15);
  border-color: rgba(78, 168, 222, 0.3);
}

.parameter-value {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
  font-family: var(--font-family-heading);
}

.parameter-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Institutional Credentials */
.institutional-credentials {
  background: linear-gradient(145deg, #f8fafc, #e2e8f0);
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  padding: 28px;
  margin: 40px 0;
}

.credentials-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.credentials-row:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .credentials-row {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

.credential-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.credential-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.credential-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-secondary);
}

.credential-value a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}

.credential-value a:hover {
  text-decoration: underline;
}
.form-note { color: var(--muted); font-size: 14px; margin-top: 8px; }
.contact-lines { color: var(--muted); }

/* Footer */
.site-footer {
  background: linear-gradient(135deg, #001d3d 0%, #002d4d 50%, #003d5d 100%);
  color: rgba(255, 255, 255, 0.95);
  padding: var(--spacing-2xl) 0;
  margin-top: var(--spacing-4xl);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #4ea8de, transparent);
}

.site-footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(78, 168, 222, 0.05) 0%, transparent 70%);
  pointer-events: none;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg);
}

.site-footer p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  font-size: var(--font-size-sm);
}
.site-footer a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  transition: all var(--transition-fast);
  font-size: var(--font-size-sm);
  letter-spacing: var(--letter-spacing-wide);
}

.site-footer a:hover {
  color: #4ea8de;
  text-decoration: none;
  transform: translateY(-1px);
}

.footer-separator {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 var(--spacing-sm);
}

/* Utilities */
.alt { background: var(--soft); }

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

/* ============================================================================
   Production-Ready Mobile Improvements
   ========================================================================= */

/* Ensure minimum touch targets for all interactive elements */
button, 
a.btn, 
.action-btn, 
.chips label,
.wizard-nav button,
.stepper span,
input[type="submit"],
input[type="button"] {
  min-height: 44px;
  min-width: 44px;
  touch-action: manipulation; /* Prevent double-tap zoom */
}

/* Improve mobile wizard navigation */
@media (max-width: 480px) {
  .wizard-nav {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 100;
    display: flex;
    gap: 1rem;
  }
  
  .wizard-nav button {
    flex: 1;
  }
}

/* Fix form input heights for better mobile UX */
@media (max-width: 640px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="url"],
  textarea,
  select {
    font-size: 16px; /* Prevent zoom on iOS */
    min-height: 48px;
  }
}

/* Improve mobile spacing and readability */
@media (max-width: 480px) {
  .section {
    padding: 3rem 1rem;
  }
  
  p {
    font-size: 1rem;
    line-height: 1.7;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
}

/* Fix mobile card stacking */
@media (max-width: 640px) {
  .card + .card {
    margin-top: 2rem;
  }
}

/* Ensure proper z-index hierarchy */
.site-header {
  z-index: 1000;
}

.wizard-nav {
  z-index: 900;
}

.modal,
.overlay {
  z-index: 2000;
}

/* Loading state improvements */
.loading {
  opacity: 0.7;
  pointer-events: none;
  position: relative;
}

.loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Improve error states */
.error-message {
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.success-message {
  color: #059669;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Performance optimization - reduce paint areas */
.card,
.btn,
.wizard-card {
  will-change: transform;
}

/* After animation/transition complete */
.card:not(:hover),
.btn:not(:hover) {
  will-change: auto;
}

@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }
  h1, h2, h3 {
    font-size: 1.5rem;
  }
  .btn {
    width: 100%;
    text-align: center;
  }
  .grid, .steps {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 1.5rem;
  }
}

.process-steps {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 3rem auto 0;
}

.process-steps li {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.process-steps li:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .process-steps li {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .process-steps li div {
    margin-bottom: 1rem;
  }
}

.article-card, .newsletter-form {
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .article-card {
    flex-direction: column;
  }
  .article-thumbnail {
    width: 100%;
    height: auto;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .newsletter-form input, .newsletter-form button {
    width: 100%;
  }
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

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

.article-card, .metric-card {
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .article-card {
    flex-direction: column;
  }
  .metric-card {
    margin-bottom: 1.5rem;
  }
}

.service-features, .price-card, .process-timeline {
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .service-features {
    grid-template-columns: 1fr;
  }
  .price-card {
    margin-bottom: 2rem;
  }
  .process-step {
    flex-direction: column;
    align-items: center;
  }
}
