/* AXJ ASSOCIATES — Prime-style bufete chrome */
:root {
  --navy: #0E1B2E;
  --navy-mid: #1A3050;
  --gold: #C4A35A;
  --gold-dark: #A6853E;
  --paper: #FFFFFF;
  --mist: #F4F6F8;
  --ink: #2A2F36;
  --muted: #6B7280;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
  background: var(--paper);
  color: var(--ink);
  margin: 0;
}

h1, h2, h3, h4, .font-headers {
  font-family: 'Playfair Display', Georgia, serif;
}

.mono {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* Top bar */
.axj-topbar {
  background: var(--navy-mid);
  color: rgba(255, 255, 255, 0.85);
  font-size: 12.5px;
  animation: axj-fade-in 0.5s ease-out;
}
.axj-topbar a { color: rgba(255, 255, 255, 0.9); text-decoration: none; }
.axj-topbar a:hover { color: var(--gold); }
.axj-topbar-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0.45rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 1.25rem;
}
@media (min-width: 768px) {
  .axj-topbar-inner { justify-content: flex-end; padding-left: 1.5rem; padding-right: 1.5rem; }
}
.axj-topbar .sep { opacity: 0.45; }
@media (max-width: 639px) {
  .axj-topbar .hide-xs { display: none; }
}

/* Header */
.axj-header {
  background: var(--paper);
  border-bottom: 1px solid #E5E9EF;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 0 rgba(14, 27, 46, 0.04);
}
.axj-header-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
  height: 4.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
@media (min-width: 640px) {
  .axj-header-inner { padding: 0 1.5rem; }
}
.axj-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--navy);
}
.axj-logo-mark {
  width: 2.1rem;
  height: 2.1rem;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
}
.axj-logo-text {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  line-height: 1.1;
}
.axj-logo:hover .axj-logo-text { color: var(--gold-dark); }

.axj-nav {
  display: none;
  align-items: center;
  gap: 0.15rem;
}
@media (min-width: 768px) {
  .axj-nav { display: flex; }
}
.axj-nav > a,
.axj-nav-drop > button {
  padding: 0.45rem 0.75rem;
  font-size: 0.875rem;
  color: var(--ink);
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s;
}
.axj-nav > a:hover,
.axj-nav-drop > button:hover,
.axj-nav > a.active {
  color: var(--gold-dark);
}
.axj-nav-drop { position: relative; }
.axj-nav-drop > button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.axj-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 14rem;
  background: var(--paper);
  border: 1px solid #E5E9EF;
  box-shadow: 0 12px 28px rgba(14, 27, 46, 0.12);
  padding: 0.4rem 0;
  z-index: 60;
}
.axj-nav-drop:hover .axj-dropdown,
.axj-nav-drop.open .axj-dropdown {
  display: block;
}
.axj-dropdown a {
  display: block;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  color: var(--ink);
  text-decoration: none;
}
.axj-dropdown a:hover {
  background: var(--mist);
  color: var(--navy);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border: 2px solid var(--gold);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: #fff;
}
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.2s, color 0.2s;
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--navy);
}
.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.85);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.2s, color 0.2s;
}
.btn-outline-light:hover {
  background: #fff;
  color: var(--navy);
}

/* Legacy class aliases → gold CTAs */
.btn-clay {
  background: var(--gold);
  color: var(--navy);
  border: 2px solid var(--gold);
  font-weight: 600;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn-clay:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: #fff;
}
.btn-outline-clay,
.btn-outline-cane {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  font-weight: 600;
  transition: background-color 0.2s, color 0.2s;
}
.btn-outline-clay:hover,
.btn-outline-cane:hover {
  background: var(--gold);
  color: var(--navy);
}

/* Mobile menu */
#mobile-menu { display: none; background: var(--paper); border-top: 1px solid #E5E9EF; }
#mobile-menu.open { display: block; }
.axj-mobile-sub { display: none; padding-left: 0.75rem; }
.axj-mobile-sub.open { display: block; }

/* Area cards */
.area-card {
  background: var(--paper);
  border: 1px solid #E5E9EF;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.area-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(14, 27, 46, 0.1);
  border-color: var(--gold);
}
.area-card img {
  width: 100%;
  height: 11rem;
  object-fit: cover;
}
.area-card-body { padding: 1.35rem; display: flex; flex-direction: column; flex: 1; }
.area-card .price-badge {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.5rem;
}
.area-card h3 {
  color: var(--navy);
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}
.area-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  flex: 1;
  margin: 0 0 1rem;
}
.area-card .more {
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  align-self: flex-start;
  padding-bottom: 2px;
}
.area-card .more:hover { color: var(--gold-dark); }

.panel-hover { transition: border-color 0.2s, box-shadow 0.2s; }
.panel-hover:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(14, 27, 46, 0.08);
}

/* Hero — Prime-style centered first viewport */
.hero-prime {
  min-height: calc(100vh - 7.5rem);
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-prime-overlay {
  background: rgba(14, 27, 46, 0.55);
}
.hero-prime-inner {
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}
.hero-prime-brand {
  font-family: 'Montserrat', Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(1.85rem, 5vw, 3.5rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
  line-height: 1.15;
}
.hero-prime-role {
  font-family: 'Montserrat', Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 1.25rem;
}
.hero-prime-cta {
  font-family: 'Montserrat', Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  border: 2px solid #fff;
  padding: 0.95rem 1.75rem;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.hero-prime-cta:hover {
  background: #fff;
  color: #0E1B2E;
}

/* Hero motion */
.hero-fade {
  animation: axj-fade-up 0.7s ease-out;
}
@keyframes axj-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes axj-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Footer */
.axj-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 0 2rem;
}
.axj-footer a { color: rgba(255, 255, 255, 0.8); text-decoration: none; }
.axj-footer a:hover { color: var(--gold); }
.axj-footer h4 {
  color: #fff;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 1rem;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
}

/* Cookie */
#cookie-modal { display: none; }
#cookie-modal.visible { display: flex; }
.axj-cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--navy);
  border-top: 2px solid var(--gold);
  color: #fff;
  padding: 1rem;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .axj-cookie {
    flex-direction: row;
    align-items: center;
  }
}
.axj-cookie a { color: var(--gold); }

/* FAQ */
details summary { cursor: pointer; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details[open] .faq-icon { transform: rotate(45deg); }
.faq-icon { transition: transform 0.2s; color: var(--gold); }

/* Page strip hero */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 3.5rem 0;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255, 255, 255, 0.8); }

/* Forms */
.axj-input {
  width: 100%;
  border: 1px solid #D1D5DB;
  background: #fff;
  padding: 0.65rem 0.85rem;
  font-size: 0.875rem;
  color: var(--ink);
  transition: border-color 0.2s;
}
.axj-input:focus {
  outline: none;
  border-color: var(--gold);
}

/* Legal prose */
.prose-section a { color: var(--gold-dark); }

/* Kill old lattice */
.lattice-bg,
.lattice-bg-dense { background-image: none !important; }
