/*
Theme Name: EstateDeck
Theme URI: https://estatedeck.co.uk
Author: WorkDeck / Go Select Limited
Author URI: https://workdeck.co.uk
Description: Official marketing theme for EstateDeck — property management CRM for UK estate agents. Part of the WorkDeck family.
Version: 2.0.0
License: Proprietary
Text Domain: estatedeck
*/

/* =============================================
   CSS VARIABLES — WorkDeck brand system
   ============================================= */
:root {
  --navy:        #0F1121;
  --navy-mid:    #161929;
  --navy-light:  #1E2340;
  --navy-border: rgba(255,255,255,0.08);
  --teal:        #0EC6A2;
  --teal-dark:   #0AA88A;
  --teal-pale:   rgba(14,198,162,0.08);
  --white:       #ffffff;
  --muted:       rgba(255,255,255,0.55);
  --muted-dark:  rgba(255,255,255,0.28);
  --radius:      10px;
  --radius-lg:   16px;
  --max-w:       1140px;
  --header-h:    68px;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--white);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: 1.05rem; font-weight: 600; }
p  { color: var(--muted); line-height: 1.75; }

/* =============================================
   LAYOUT
   ============================================= */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.section    { padding: 96px 0; }
.text-center { text-align: center; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, border-color 0.15s;
  text-decoration: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-teal { background: var(--teal); color: var(--navy); }
.btn-teal:hover { background: var(--teal-dark); box-shadow: 0 8px 32px rgba(14,198,162,0.3); }

.btn-ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.18); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.05); }

.btn-outline-teal { background: transparent; color: var(--teal); border: 1.5px solid rgba(14,198,162,0.4); }
.btn-outline-teal:hover { background: var(--teal-pale); border-color: var(--teal); }

.btn-lg { padding: 15px 34px; font-size: 16px; }

/* =============================================
   BADGES & LABELS
   ============================================= */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.badge-teal { background: rgba(14,198,162,0.1); color: var(--teal); border: 1px solid rgba(14,198,162,0.2); }

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
  display: block;
}

/* =============================================
   ANIMATIONS
   ============================================= */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* =============================================
   RESPONSIVE BREAKPOINTS
   ============================================= */
@media (max-width: 960px) {
  .section { padding: 64px 0; }
}
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .section { padding: 52px 0; }
}
