/*
 * style.css — simmscorp.com.au
 * ─────────────────────────────────────────────────────────────────────────────
 * Professional navy/gold palette for commercial property / financial services.
 * Update colour tokens below once brand assets are confirmed in style_guide.md.
 * Mobile-first. All spacing is a multiple of the 8px base unit.
 * ─────────────────────────────────────────────────────────────────────────────
 */

/* ── Google Fonts loaded in index.html ──────────────────────────────────────
   Playfair Display: authoritative headings (weight 700)
   Inter:            clean, readable body text (weight 400, 500, 600)
   ─────────────────────────────────────────────────────────────────────────── */

/* ═══════════════════════════════════════════════════════════════════════════
   DESIGN TOKENS — update here to restyle the entire site
   ═══════════════════════════════════════════════════════════════════════════ */
:root {
  /* ── Colour Palette — confirmed brand values (see style_guide.md) ─────── */
  --color-primary:       #00467E;   /* Primary — corporate navy blue        */
  --color-primary-dark:  #003264;   /* Darker — footer, pressed, deep bg    */
  --color-primary-light: #1A5A8A;   /* Lighter — gradient accent            */
  --color-gold:          #A8996E;   /* Secondary — warm tan/gold            */
  --color-gold-light:    #C4B58A;   /* Secondary lighter — hover states     */
  --color-gold-dark:     #8A7D5A;   /* Secondary darker — pressed states    */
  --color-tertiary:      #8B9EB7;   /* Tertiary — muted blue-grey           */
  --color-grey:          #4C4E56;   /* Brand grey                           */

  --color-bg:            #F8F7F4;   /* Warm off-white page background       */
  --color-surface:       #FFFFFF;   /* Card / form backgrounds              */
  --color-border:        #E2E0DC;   /* Input and card borders               */
  --color-border-focus:  #A8996E;   /* Focus ring — secondary colour        */

  --color-text:          #1A1A2E;   /* Primary body text                    */
  --color-text-muted:    #4C4E56;   /* Secondary / label text — brand grey  */
  --color-text-light:    #9CA3AF;   /* Placeholder text                     */
  --color-text-inverse:  #FFFFFF;   /* Text on dark backgrounds             */

  --color-success:       #2D7A4F;   /* Success state                        */
  --color-success-bg:    #EAF7EF;   /* Success message background           */
  --color-error:         #C0392B;   /* Error / validation state             */
  --color-error-bg:      #FEF2F2;   /* Error message background             */

  /* ── Typography ─────────────────────────────────────────────────────── */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* ── Spacing (8px base unit) ─────────────────────────────────────────── */
  --space-1:   4px;
  --space-2:   8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* ── Layout ──────────────────────────────────────────────────────────── */
  --max-width:      1200px;
  --max-width-text:  720px;
  --container-pad:    24px;

  /* ── Shape ───────────────────────────────────────────────────────────── */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  /* ── Shadows ─────────────────────────────────────────────────────────── */
  /* Shadows tinted with primary colour #00467E = rgb(0, 70, 126) */
  --shadow-sm:  0 1px 3px rgba(0, 70, 126, 0.08);
  --shadow-md:  0 4px 16px rgba(0, 70, 126, 0.10);
  --shadow-lg:  0 16px 48px rgba(0, 70, 126, 0.14);
  --shadow-xl:  0 24px 64px rgba(0, 70, 126, 0.18);

  /* ── Transitions ─────────────────────────────────────────────────────── */
  --transition-fast:   150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow:   400ms ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

/* ═══════════════════════════════════════════════════════════════════════════
   LAYOUT UTILITIES
   ═══════════════════════════════════════════════════════════════════════════ */

/* Centred content wrapper */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* Section spacing */
.section {
  padding: var(--space-20) 0;
}

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

/* ═══════════════════════════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════════════════ */

.heading-xl {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.heading-lg {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.heading-md {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 700;
  line-height: 1.3;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-3);
}

/* ═══════════════════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all var(--transition-normal);
  min-height: 52px;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
}

/* Primary CTA — gold */
.btn--primary {
  background-color: var(--color-gold);
  color: var(--color-primary-dark);
  border-color: var(--color-gold);
}

.btn--primary:hover {
  background-color: var(--color-gold-light);
  border-color: var(--color-gold-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--primary:active {
  background-color: var(--color-gold-dark);
  border-color: var(--color-gold-dark);
  transform: translateY(0);
}

/* Outline — for hero secondary action */
.btn--outline {
  background-color: transparent;
  color: var(--color-text-inverse);
  border-color: rgba(255,255,255,0.4);
}

.btn--outline:hover {
  background-color: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

/* Submit button state: loading */
.btn--loading {
  pointer-events: none;
  opacity: 0.75;
}

/* Full-width on mobile */
@media (max-width: 600px) {
  .btn {
    width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SITE HEADER & NAVIGATION
   ═══════════════════════════════════════════════════════════════════════════ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-5) 0;
  transition: background var(--transition-normal), box-shadow var(--transition-normal), padding var(--transition-normal);
}

/* Header becomes solid when user scrolls — applied via JS */
.site-header.is-scrolled {
  background-color: var(--color-primary-dark);
  box-shadow: 0 2px 24px rgba(0,0,0,0.2);
  padding: var(--space-3) 0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

/* Logo */
.site-header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.site-header__logo img {
  height: 40px;
  width: auto;
}

/* Logo placeholder — shown when no logo image is present */
.logo-placeholder {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.logo-placeholder__mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-primary-dark);
}

.logo-placeholder__name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-inverse);
  letter-spacing: 0.01em;
}

/* Real logo images — replace placeholders once assets are in public/images/ */
.site-header__logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.footer-logo-img {
  height: 38px;
  width: auto;
  display: block;
  margin-bottom: var(--space-4);
}

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

.site-nav__links {
  display: flex;
  gap: var(--space-6);
  list-style: none;
}

.site-nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color var(--transition-fast);
  letter-spacing: 0.01em;
}

.site-nav__link:hover {
  color: var(--color-gold-light);
}

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

.nav-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: white;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
}

@media (max-width: 768px) {
  .site-nav__links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-primary-dark);
    padding: var(--space-6) var(--container-pad);
    gap: var(--space-5);
    box-shadow: var(--shadow-lg);
  }

  .site-nav__links.is-open {
    display: flex;
  }

  .site-nav__link {
    font-size: 1rem;
    padding: var(--space-2) 0;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hide desktop CTA in mobile menu */
  .site-nav .btn {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  /* Navy gradient background — update to include brand imagery when available */
  background:
    linear-gradient(
      160deg,
      var(--color-primary-dark)   0%,
      var(--color-primary)        45%,
      var(--color-primary-light)  100%
    );
  padding-top: 100px; /* Account for fixed header */
  padding-bottom: var(--space-24);
}

/* Subtle geometric pattern overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  /* Secondary colour #A8996E = rgb(168, 153, 110) */
  background-image:
    radial-gradient(circle at 70% 30%, rgba(168, 153, 110, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(168, 153, 110, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

/* Decorative grid lines */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  /* Secondary colour rgba — #A8996E = rgb(168, 153, 110) */
  background: rgba(168, 153, 110, 0.15);
  border: 1px solid rgba(168, 153, 110, 0.3);
  color: var(--color-gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}

.hero__kicker::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--color-gold);
  border-radius: 50%;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--color-text-inverse);
  margin-bottom: var(--space-6);
}

/* Gold accent on key phrase */
.hero__title .accent {
  color: var(--color-gold-light);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  margin-bottom: var(--space-10);
  line-height: 1.7;
}

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

/* Animated scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}

.hero__scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   TRUST STRIP
   ═══════════════════════════════════════════════════════════════════════════ */

.trust-strip {
  background-color: var(--color-primary);
  padding: var(--space-8) 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.trust-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-10);
}

.trust-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  text-align: center;
}

.trust-stat__number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-gold-light);
  line-height: 1;
}

.trust-stat__label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Divider between stats */
.trust-strip__divider {
  width: 1px;
  height: 40px;
  background-color: rgba(255,255,255,0.15);
}

@media (max-width: 600px) {
  .trust-strip__divider {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FEATURES / WHY CHOOSE US
   ═══════════════════════════════════════════════════════════════════════════ */

.features {
  background-color: var(--color-bg);
}

.features__header {
  text-align: center;
  max-width: var(--max-width-text);
  margin: 0 auto var(--space-16);
}

.features__header p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-top: var(--space-4);
  line-height: 1.7;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

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

.feature-card__icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  font-size: 1.4rem;
}

.feature-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.feature-card__text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ENQUIRY FORM SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.enquiry {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.enquiry__header {
  text-align: center;
  max-width: var(--max-width-text);
  margin: 0 auto var(--space-12);
}

.enquiry__header p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-top: var(--space-4);
  line-height: 1.7;
}

/* Form card */
.enquiry__card {
  max-width: 860px;
  margin: 0 auto;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-12) var(--space-10);
  box-shadow: var(--shadow-xl);
}

@media (max-width: 600px) {
  .enquiry__card {
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    margin: 0 -8px; /* Bleed to edges on small screens */
  }
}

/* ── Form Layout ─────────────────────────────────────────────────────── */

.enquiry-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

/* Two-column grid for paired fields */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

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

/* Single full-width field */
.form-row--full {
  grid-template-columns: 1fr;
}

/* ── Form Field ───────────────────────────────────────────────────────── */

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.01em;
}

.form-label .required {
  color: var(--color-gold);
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.975rem;
  color: var(--color-text);
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-light);
}

/* Focus state */
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-gold);
  /* Secondary colour rgba — #A8996E = rgb(168, 153, 110) */
  box-shadow: 0 0 0 3px rgba(168, 153, 110, 0.15);
  background: #FFFDF8;
}

/* Error state */
.form-input.has-error,
.form-select.has-error,
.form-textarea.has-error {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

/* Custom select arrow */
.form-select {
  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%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 44px;
  cursor: pointer;
}

/* Textarea */
.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

/* Inline field error message */
.form-error-msg {
  font-size: 0.8rem;
  color: var(--color-error);
  display: none;
  align-items: center;
  gap: var(--space-1);
}

.form-error-msg.is-visible {
  display: flex;
}

/* ── Honeypot (hidden from real users — bots fill this in) ───────────── */
.form-honeypot {
  /* Visually hidden — off-screen rather than display:none to keep bots fooled */
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  tab-index: -1;
}

/* ── Submit Button ───────────────────────────────────────────────────── */

.form-submit-wrap {
  padding-top: var(--space-2);
}

.form-submit {
  width: 100%;
  padding: 16px 32px;
  background-color: var(--color-gold);
  color: var(--color-primary-dark);
  border: 2px solid var(--color-gold);
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  min-height: 56px;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  cursor: pointer;
}

.form-submit:hover:not(:disabled) {
  background-color: var(--color-gold-light);
  border-color: var(--color-gold-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.form-submit:active:not(:disabled) {
  transform: translateY(0);
}

.form-submit:disabled,
.form-submit.is-loading {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* Spinner animation */
.spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(15, 30, 51, 0.3);
  border-top-color: var(--color-primary-dark);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.is-loading .spinner {
  display: block;
}

.is-loading .submit-label {
  opacity: 0.7;
}

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

/* ── Form Result States ───────────────────────────────────────────────── */

.form-result {
  display: none;
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
}

.form-result.is-visible {
  display: block;
}

.form-result--success {
  background: var(--color-success-bg);
  border: 1px solid rgba(45, 122, 79, 0.2);
}

.form-result--error {
  background: var(--color-error-bg);
  border: 1px solid rgba(192, 57, 43, 0.2);
}

.form-result__icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-4);
}

.form-result__title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.form-result--success .form-result__title {
  color: var(--color-success);
}

.form-result--error .form-result__title {
  color: var(--color-error);
}

.form-result__text {
  color: var(--color-text-muted);
  font-size: 0.975rem;
  line-height: 1.7;
}

/* ── Privacy Note ────────────────────────────────────────────────────── */
.form-privacy {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}

.form-privacy svg {
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PROCESS / HOW IT WORKS
   ═══════════════════════════════════════════════════════════════════════════ */

.process {
  background-color: var(--color-bg);
}

.process__header {
  text-align: center;
  max-width: var(--max-width-text);
  margin: 0 auto var(--space-16);
}

.process__header p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-top: var(--space-4);
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-8);
  position: relative;
}

/* Connector line between steps — desktop only */
@media (min-width: 900px) {
  .process__steps::before {
    content: '';
    position: absolute;
    top: 32px;
    left: calc(50% - 33.33% + 60px);
    right: calc(50% - 33.33% + 60px);
    height: 1px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light), var(--color-gold));
    opacity: 0.3;
  }
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-5);
  padding: var(--space-6);
}

.process-step__number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border: 2px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-gold-light);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.process-step__content {}

.process-step__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.process-step__text {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */

.site-footer {
  background-color: var(--color-primary-dark);
  color: rgba(255,255,255,0.7);
  padding: var(--space-16) 0 var(--space-8);
}

.site-footer__main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-10);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
  .site-footer__main {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

.footer-brand__logo {
  margin-bottom: var(--space-4);
}

.footer-brand__desc {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col__title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: var(--space-5);
}

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

.footer-col__link {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition-fast);
  text-decoration: none;
}

.footer-col__link:hover {
  color: var(--color-gold-light);
}

.footer-contact__item {
  display: flex;
  gap: var(--space-3);
  font-size: 0.9rem;
  margin-bottom: var(--space-3);
  color: rgba(255,255,255,0.6);
}

.site-footer__bottom {
  padding-top: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-4);
}

.footer-legal {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  max-width: 600px;
  line-height: 1.6;
}

.footer-copyright {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  text-align: right;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SCROLL-REVEAL ANIMATION
   Elements fade up on scroll — applied via JS IntersectionObserver
   ═══════════════════════════════════════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for grid children */
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }

/* ═══════════════════════════════════════════════════════════════════════════
   ACCESSIBILITY — Focus visible styles
   ═══════════════════════════════════════════════════════════════════════════ */

:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Skip to main content link (keyboard navigation) */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background: var(--color-gold);
  color: var(--color-primary-dark);
  padding: var(--space-3) var(--space-6);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 9999;
  transition: top var(--transition-fast);
}

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

/* ═══════════════════════════════════════════════════════════════════════════
   PROJECT SHOWCASE SECTION
   ═══════════════════════════════════════════════════════════════════════════ */
.projects {
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.projects__header {
  text-align: center;
  max-width: var(--max-width-text);
  margin: 0 auto var(--space-12);
}

.projects__header p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-top: var(--space-4);
  line-height: 1.7;
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--space-8);
}

.project-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.project-card__image-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  background-color: var(--color-primary-dark);
}

.project-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-card:hover .project-card__img {
  transform: scale(1.05);
}

.project-card__content {
  padding: var(--space-6);
}

.project-card__kicker {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-gold);
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
  display: block;
}

.project-card__title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--color-text);
  margin-bottom: var(--space-3);
  font-weight: 700;
  line-height: 1.3;
}

.project-card__desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PROPERTY VALUATION CALCULATION SECTION
   ═══════════════════════════════════════════════════════════════════════════ */
.calculation-factors {
  background-color: var(--color-surface);
  padding: var(--space-20) 0;
}

.calculation-factors__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (max-width: 900px) {
  .calculation-factors__inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

.calculation-factors__content h2 {
  margin-bottom: var(--space-4);
}

.calculation-factors__content p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: var(--space-6);
}

.factors-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.factor-item {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-4);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast);
}

.factor-item:hover {
  border-color: var(--color-gold);
}

.factor-item__icon {
  font-size: 1.35rem;
  flex-shrink: 0;
  color: var(--color-gold);
}

.factor-item__title {
  font-weight: 700;
  color: var(--color-text);
  font-size: 1rem;
  margin-bottom: 2px;
}

.factor-item__desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.footer-credit {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.3);
  margin-top: var(--space-4);
  display: block;
}

.footer-credit a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.footer-credit a:hover {
  color: var(--color-gold-light);
}
