/* =============================================================
   Agency NA — style.css
   public_html/includes/style.css
   Stack: Vanilla CSS, no framework
   Fonts: Playfair Display (headings) + Source Sans 3 (body)
   ============================================================= */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Source+Sans+3:wght@300;400;500;600&display=swap');

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --navy:        #1a2e4a;
  --navy-deep:   #111f33;
  --navy-mid:    #223a5e;
  --gold:        #ffffff;
  --gold-light:  #ffffff;
  --gold-dark:   #d0d5dd;
  --light:       #f5f5f0;
  --light-2:     #eeeee8;
  --dark:        #111111;
  --gray:        #5a6270;
  --gray-light:  #9aa0a8;
  --white:       #ffffff;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Source Sans 3', 'Segoe UI', sans-serif;

  --shadow-sm:   0 2px 8px rgba(26,46,74,0.10);
  --shadow-md:   0 6px 24px rgba(26,46,74,0.14);
  --shadow-lg:   0 16px 48px rgba(26,46,74,0.18);

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   14px;

  --transition:  0.28s ease;
  --max-width:   1140px;
  --header-h:    72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  -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 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p  { margin-bottom: 1rem; color: var(--gray); }

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

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 600px;
  margin-bottom: 2.5rem;
}

/* ── Layout ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

section {
  padding: 80px 0;
}

section:nth-of-type(even) {
  background: var(--light);
}

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

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  text-align: center;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: #b22222;
  color: #ffffff;
  border-color: #b22222;
}
.btn-primary:hover {
  background: #8b1a1a;
  border-color: #8b1a1a;
  box-shadow: 0 4px 16px rgba(178,34,34,0.35);
}

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

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  box-shadow: var(--shadow-md);
}

/* ── HEADER ───────────────────────────────────────────────── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: var(--header-h);
  background: var(--navy);
  display: flex;
  align-items: center;
  transition: box-shadow var(--transition);
}

#site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

#site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.header-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo img {
  height: 44px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text .logo-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.03em;
}

.logo-text .logo-tagline {
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--gold-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Nav */
#main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

#main-nav a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.82);
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

#main-nav a:hover,
#main-nav a.active {
  color: var(--gold);
  background: rgba(255,255,255,0.06);
}

/* Phone in header */
.header-phone {
  display: none; /* shown on tablet+ */
  align-items: center;
  gap: 0.45rem;
  color: var(--gold-light);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  margin-left: 1rem;
}

.header-phone svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Hamburger */
#hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  z-index: 1001;
}

#hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

#hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#hamburger.open span:nth-child(2) { opacity: 0; }
#hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
#mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy-deep);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem;
}

#mobile-nav.open { display: flex; }

#mobile-nav a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--white);
  padding: 0.5rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  width: 100%;
  text-align: center;
  transition: color var(--transition);
}

#mobile-nav a:hover { color: var(--gold); }

#mobile-nav .mobile-phone {
  margin-top: 2rem;
  color: var(--gold-light);
  font-size: 1.1rem;
  font-weight: 600;
}

/* ── HERO ─────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: min(90vh, 700px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--navy-deep);
  overflow: hidden;
  padding: 80px 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.22;
}

/* Diagonal gold accent */
.hero-accent {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--white);
  clip-path: polygon(0 100%, 100% 30%, 100% 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.40);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 1.25rem;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.70);
  margin-bottom: 2.25rem;
  font-weight: 300;
}

.hero-services {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-service-pill {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.35rem 1rem;
  border-radius: 100px;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.hero-phone strong { color: var(--gold-light); }

/* ── ABOUT / COMPANY ──────────────────────────────────────── */
#about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 6/5;
  background: var(--light-2);
}

.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: rgba(255,255,255,0.3);
  font-size: 4rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--light-2);
}

.stat-item { text-align: center; }

.stat-num {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
  line-height: 1.2;
}

/* Red variant — GA & CA, Residential & Commercial */
.stat-num--red {
  color: #b22222;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.2rem;
  display: block;
}

.about-contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.75rem;
  padding: 1.25rem 1.5rem;
  background: var(--light);
  border-left: 3px solid #b22222;
  border-radius: var(--radius-sm);
}

.about-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 500;
}

.about-contact-item svg { color: var(--gold); flex-shrink: 0; }

/* ── SERVICES ─────────────────────────────────────────────── */
#services {
  background: var(--light);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid transparent;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #b22222;
  transform: translateY(-4px);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--gold);
}

.service-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.service-card ul {
  list-style: none;
  padding: 0;
}

.service-card ul li {
  font-size: 0.9rem;
  color: var(--gray);
  padding: 0.3rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.service-card ul li::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  min-width: 5px;
  background: #b22222;
  border-radius: 50%;
  margin-top: 0.55rem;
}

/* Payment mini-section inside services */
.payments-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.payment-chip {
  background: var(--navy);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.5rem 1.1rem;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ── SERVICE AREAS ────────────────────────────────────────── */
#service-areas {
  background: var(--white);
}

.areas-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.area-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-2);
}

.area-card-header {
  background: var(--navy);
  color: var(--white);
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.area-card-header .area-flag {
  font-size: 1.4rem;
}

.area-card-header h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin: 0;
}

.area-card-body {
  padding: 1.5rem 1.75rem;
  background: var(--white);
}

.area-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.area-tag {
  background: var(--light);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  border: 1px solid var(--light-2);
}

.area-counties {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.8;
}

.area-counties strong {
  color: var(--navy);
  font-weight: 600;
}

.property-types-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.prop-type-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--gray);
  font-weight: 500;
}

.prop-type-item::before {
  content: '';
  width: 8px;
  height: 8px;
  min-width: 8px;
  background: #b22222;
  border-radius: 2px;
}

/* ── AGENTS ───────────────────────────────────────────────── */
#agents {
  background: var(--light);
}

.agents-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.agent-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-top: 3px solid #b22222;
  transition: box-shadow var(--transition), transform var(--transition);
}

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

.agent-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #b22222;
  margin-bottom: 1rem;
  background: var(--light-2);
}

.agent-photo-placeholder {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid #b22222;
  margin-bottom: 1rem;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 2rem;
}

.agent-card h3 { margin-bottom: 0.2rem; font-size: 1rem; }

.agent-title {
  font-size: 0.78rem;
  color: #b22222;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.agent-card p {
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

.agents-placeholder {
  text-align: center;
  padding: 3rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px dashed var(--light-2);
  color: var(--gray-light);
}

.agents-placeholder p { color: var(--gray-light); margin-bottom: 0; }

/* ── JOIN AGENTS ──────────────────────────────────────────── */
#join {
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
}

#join::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}

#join .section-title { color: var(--white); }
#join .section-subtitle { color: rgba(255,255,255,0.6); }
#join .section-label { color: var(--gold-light); }

.join-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.join-benefits {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.join-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: rgba(255,255,255,0.80);
  font-size: 0.95rem;
  line-height: 1.5;
}

.join-check {
  width: 24px;
  height: 24px;
  min-width: 24px;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
  color: #ffffff;
  font-size: 0.7rem;
}

.join-cta-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
}

.join-cta-box h3 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.join-cta-box p {
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.75rem;
  font-size: 0.92rem;
}

/* ── CONTACT SECTION (inline on homepage) ─────────────────── */
#contact-section {
  background: var(--light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-info h3 {
  margin-bottom: 1.25rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-detail-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: var(--navy);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.contact-detail-text strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-light);
  margin-bottom: 0.2rem;
}

.contact-detail-text a,
.contact-detail-text span {
  color: var(--navy);
  font-weight: 500;
}

/* ── CONTACT FORM (contact.php) ───────────────────────────── */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-title {
  font-size: 1.3rem;
  margin-bottom: 1.75rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--light);
  border: 1.5px solid var(--light-2);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #b22222;
  box-shadow: 0 0 0 3px rgba(178,34,34,0.15);
  background: var(--white);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

/* Radio groups */
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--gray);
  font-weight: 500;
}

.radio-label input[type="radio"] {
  width: auto;
  accent-color: #b22222;
  cursor: pointer;
}

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

/* Required asterisk */
.required::after {
  content: ' *';
  color: #c0392b;
}

/* Error and success messages */
.form-error, .form-success {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.form-error {
  background: #fdf0f0;
  border-left: 4px solid #c0392b;
  color: #922b21;
}

.form-success {
  background: #edfaf1;
  border-left: 4px solid #27ae60;
  color: #1e8449;
}

/* Big success message */
.success-big {
  text-align: center;
  padding: 3rem 2rem;
}

.success-big h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.success-big p {
  font-size: 1.05rem;
  color: var(--gray);
}

.field-error {
  font-size: 0.78rem;
  color: #c0392b;
  margin-top: 0.2rem;
}

/* ── FOOTER ───────────────────────────────────────────────── */
#site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.70);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-text .logo-name { color: var(--white); font-size: 1.3rem; }
.footer-brand .logo-text .logo-tagline { color: var(--gold-light); }

.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  margin-top: 0.9rem;
  line-height: 1.6;
  max-width: 260px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1.25rem;
  color: var(--gold-light);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.60);
  transition: color var(--transition);
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.60);
  margin-bottom: 0.75rem;
}

.footer-contact-item svg { color: var(--gold); margin-top: 2px; flex-shrink: 0; }

.footer-bottom {
  padding: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  margin: 0;
}

/* ── CMA / TIPS PAGES ─────────────────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: 60px 0 48px;
  text-align: center;
}

.page-hero h1 { color: var(--white); }
.page-hero p  { color: rgba(255,255,255,0.65); max-width: 540px; margin: 0.75rem auto 0; }

.content-page-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 1.25rem;
}

.tip-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  align-items: flex-start;
}

.tip-num {
  width: 52px;
  height: 52px;
  background: var(--navy);
  color: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
}

.tip-item h3 { margin-bottom: 0.4rem; }

.page-cta-box {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  margin-top: 3rem;
}

.page-cta-box h3 { color: var(--white); margin-bottom: 0.6rem; }
.page-cta-box p  { color: rgba(255,255,255,0.65); margin-bottom: 1.5rem; }

/* ── ALERTS ───────────────────────────────────────────────── */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}
.alert-success { background: #edfaf1; border-left: 4px solid #27ae60; color: #1e8449; }
.alert-error   { background: #fdf0f0; border-left: 4px solid #c0392b; color: #922b21; }

/* ── RESPONSIVE: 768px+ ───────────────────────────────────── */
@media (min-width: 768px) {
  section { padding: 100px 0; }

  /* Header */
  #hamburger   { display: none; }
  #mobile-nav  { display: none !important; }
  #main-nav    { display: flex; }
  .header-phone { display: flex; }

  /* Hero */
  .hero-ctas { flex-direction: row; }

  /* About */
  .about-grid { grid-template-columns: 1fr 1fr; }

  /* Services */
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  /* Areas */
  .areas-layout { grid-template-columns: repeat(2, 1fr); }

  /* Agents */
  .agents-grid { grid-template-columns: repeat(2, 1fr); }

  /* Join */
  .join-grid { grid-template-columns: 1fr 1fr; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr 1fr; }

  /* Form */
  .form-row { grid-template-columns: 1fr 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 2fr 1fr 1.5fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }

  /* Property types */
  .property-types-row { grid-template-columns: repeat(4, 1fr); }
}

/* ── RESPONSIVE: 1100px+ ──────────────────────────────────── */
@media (min-width: 1100px) {
  /* Services */
  .services-grid { grid-template-columns: repeat(3, 1fr); }

  /* Agents */
  .agents-grid { grid-template-columns: repeat(3, 1fr); }

  /* Areas */
  .areas-layout { grid-template-columns: repeat(2, 1fr); }
}

/* ── UTILITIES ────────────────────────────────────────────── */
.gold-text { color: var(--gold); }
.navy-text { color: var(--navy); }
.divider {
  width: 48px;
  height: 3px;
  background: #b22222;
  margin: 1rem 0 2rem;
  border-radius: 2px;
}
.text-center .divider { margin-left: auto; margin-right: auto; }

/* ── SCROLL REVEAL (JS-triggered) ────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── LOADING STATE ────────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--light) 25%, var(--light-2) 50%, var(--light) 75%);
  background-size: 200% 100%;
  animation: skeleton-wave 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeleton-wave {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── CAPTCHA ─────────────────────────────────────────────────
.captcha-wrap {
  margin-bottom: 1.25rem;
  border: 1.5px solid var(--light-2);
  border-radius: var(--radius-md);
  background: var(--light);
  padding: 1rem 1.25rem;
}

.captcha-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 480px) {
  .captcha-inner { flex-direction: row; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; }
}

.captcha-challenge {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 1rem; color: var(--navy); font-weight: 500;
  white-space: nowrap; padding: 0.5rem 0;
}

.captcha-icon { font-size: 1.1rem; flex-shrink: 0; }

.captcha-eq strong {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #b22222;
  letter-spacing: 0.03em;
}

.captcha-field { margin-bottom: 0 !important; flex-shrink: 0; }

.captcha-field label {
  font-size: 0.72rem; color: var(--gray);
  text-transform: uppercase; letter-spacing: 0.08em;
  font-weight: 600; display: block; margin-bottom: 0.3rem;
}

.captcha-field input {
  font-family: var(--font-body);
  font-size: 1rem; font-weight: 700; color: var(--navy);
  background: var(--white);
  border: 1.5px solid var(--light-2);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.9rem; width: 160px; outline: none;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition);
  -moz-appearance: textfield;
}

.captcha-field input::-webkit-outer-spin-button,
.captcha-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.captcha-field input:focus {
  border-color: #b22222;
  box-shadow: 0 0 0 3px rgba(178,34,34,0.14);
  background: var(--white);
}

.captcha-error {
  color: #b22222; font-size: 0.82rem; font-weight: 600;
  display: flex; align-items: center; gap: 0.4rem; margin-top: 0.5rem;
}

.captcha-lockout {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: #b22222;
  font-weight: 500;
  padding: 0.5rem 0;
}

.captcha-attempts {
  font-size: 0.78rem;
  color: var(--gray);
  font-weight: 500;
  white-space: nowrap;
}

.captcha-hint {
  font-size: 0.72rem;
  color: var(--gray-light);
  margin: 0.2rem 0 0;
  letter-spacing: 0.03em;
}


/* ╔══════════════════════════════════════════════════════════╗
   ║  ADMIN AREA STYLES  (prefixed .admin-)                   ║
   ╚══════════════════════════════════════════════════════════╝ */

.admin-body {
  font-family: var(--font-body);
  background: #f0f2f5;
  color: var(--dark);
  margin: 0;
  min-height: 100vh;
}

/* Admin layout */
.admin-layout {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.admin-sidebar {
  width: 240px;
  min-width: 240px;
  background: var(--navy-deep);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.admin-sidebar-brand {
  padding: 1.5rem 1.25rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.admin-sidebar-brand .logo-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--white);
  display: block;
}

.admin-sidebar-brand small {
  font-size: 0.7rem;
  color: var(--gold-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-nav {
  flex: 1;
  padding: 1rem 0;
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.60);
  transition: color var(--transition), background var(--transition);
  border-left: 3px solid transparent;
}

.admin-nav a:hover,
.admin-nav a.active {
  color: var(--white);
  background: rgba(255,255,255,0.06);
  border-left-color: #ffffff;
}

.admin-nav .nav-section-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  padding: 1.5rem 1.25rem 0.4rem;
}

.admin-nav a.danger { color: rgba(255,100,80,0.7); }
.admin-nav a.danger:hover { color: #ff6040; background: rgba(255,60,30,0.08); border-left-color: #ff6040; }

/* Main content area */
.admin-main {
  flex: 1;
  overflow-x: hidden;
}

.admin-topbar {
  background: var(--white);
  padding: 1rem 2rem;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-topbar h1 {
  font-size: 1.2rem;
  color: var(--navy);
  font-family: var(--font-heading);
}

.admin-content {
  padding: 2rem;
}

/* Admin cards / panels */
.admin-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.admin-card-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-card-header h2 {
  font-size: 1rem;
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 600;
}

.admin-card-body { padding: 1.5rem; }

/* Stats row on dashboard */
.admin-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.admin-stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid #b22222;
}

.admin-stat-card .stat-val {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--navy);
  font-family: var(--font-heading);
  display: block;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.admin-stat-card .stat-lbl {
  font-size: 0.8rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Admin table */
.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.admin-table th {
  background: #f8f9fa;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 2px solid #e5e7eb;
  white-space: nowrap;
}

.admin-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #f0f2f5;
  color: var(--gray);
  vertical-align: top;
}

.admin-table tr:hover td { background: #fafafa; }

.admin-table .msg-short { cursor: pointer; color: var(--navy); text-decoration: underline dotted; }
.admin-table .msg-full  { display: none; }

/* Admin forms */
.admin-form-group {
  margin-bottom: 1.25rem;
}

.admin-form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.admin-form-group select,
.admin-form-group input[type="text"],
.admin-form-group input[type="password"] {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--dark);
  background: var(--light);
  border: 1.5px solid #e0e2e6;
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.9rem;
  outline: none;
  transition: border-color var(--transition);
}

.admin-form-group select:focus,
.admin-form-group input:focus {
  border-color: #b22222;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.12);
}

/* Editor split view */
.admin-editor-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: flex-start;
}

.admin-editor-pane {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.admin-editor-pane label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray);
}

.admin-textarea {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #1a1a2e;
  background: #1e1e2e;
  color: #cdd6f4;
  border: 1.5px solid #2a2a3e;
  border-radius: var(--radius-sm);
  padding: 1rem;
  resize: vertical;
  min-height: 520px;
  width: 100%;
  outline: none;
  transition: border-color var(--transition);
}

.admin-textarea:focus { border-color: #b22222; }

.admin-preview-frame {
  width: 100%;
  height: 560px;
  border: 1.5px solid #e0e2e6;
  border-radius: var(--radius-sm);
  background: var(--white);
}

/* Admin buttons */
.admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.admin-btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.admin-btn-primary:hover {
  background: var(--navy-deep);
  box-shadow: var(--shadow-sm);
}

.admin-btn-gold {
  background: #b22222;
  color: #ffffff;
  border-color: #b22222;
  font-weight: 700;
}
.admin-btn-gold:hover {
  background: #8b1a1a;
  border-color: #8b1a1a;
}

.admin-btn-ghost {
  background: transparent;
  color: var(--gray);
  border-color: #d0d3d8;
}
.admin-btn-ghost:hover {
  background: var(--light);
  color: var(--navy);
}

.admin-btn-danger {
  background: transparent;
  color: #c0392b;
  border-color: #e5b0aa;
  font-size: 0.78rem;
  padding: 0.3rem 0.7rem;
}
.admin-btn-danger:hover { background: #fdf0f0; }

/* Image gallery */
.admin-image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.admin-image-item {
  border: 1.5px solid #e0e2e6;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--white);
}

.admin-image-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

.admin-image-meta {
  padding: 0.5rem 0.6rem;
  font-size: 0.72rem;
  color: var(--gray);
  word-break: break-all;
}

/* Admin login page */
.admin-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-deep);
  padding: 2rem;
}

.admin-login-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-lg);
}

.admin-login-logo {
  text-align: center;
  margin-bottom: 2rem;
}

.admin-login-logo .logo-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--navy);
  display: block;
}

.admin-login-logo small {
  font-size: 0.72rem;
  color: var(--gray-light);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Badges */
.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
  vertical-align: middle;
}
.badge-gold { background: #b22222; color: #ffffff; }
.badge-navy { background: var(--navy); color: var(--white); }
.badge-red  { background: #fde8e8; color: #c0392b; }