/* ==========================================================================
   Quint Attorneys - Premium High-Contrast Design System
   Primary Gold: #B1976B | Hover Gold: #9A7F53 | Accent Gold: #D4AF37
   Page Canvas: #FAF8F5 | Card Surfaces: #FFFFFF | Border: #E8E2D9
   Headings: #16120E (Ultra Deep Espresso) | Body Text: #2D2721 (High Contrast Dark)
   Dark Theme / Footer: #121212 & #1A1A1A | Footer Text: #D8D3CC
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,500;0,600;0,700;1,400;1,600&family=Jost:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --attorna-gold: #B1976B;
  --attorna-gold-hover: #9A7F53;
  --attorna-gold-bright: #D4AF37;
  --attorna-gold-light: #CFA876;
  --attorna-gold-tint: #F5EFE6;
  
  --attorna-bg-page: #FAF8F5;
  --attorna-bg-card: #FFFFFF;
  --attorna-bg-surface: #F4EFE6;
  
  --attorna-heading: #16120E;
  --attorna-subheading: #2D261F;
  --attorna-body: #231E19;
  --attorna-body-muted: #4F463C;
  
  --attorna-border: #E2D9CC;
  --attorna-border-light: #EFE8DD;
  
  --attorna-footer-bg: #121212;
  --attorna-copyright-bg: #090909;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Jost', 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--attorna-bg-page);
  color: var(--attorna-body);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Lora', Georgia, serif;
  color: var(--attorna-heading);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* High Contrast Body Paragraph Override */
p {
  color: var(--attorna-body);
}

/* Footer High-Contrast Bright Text Overrides */
footer p, footer span, footer li, footer td, footer th, footer div {
  color: #FFFFFF !important;
}

footer a {
  color: #FFFFFF !important;
}

footer a:hover {
  color: #E2C290 !important;
}

footer h1, footer h2, footer h3, footer h4, footer h5, footer h6 {
  color: #FFFFFF !important;
}

footer .text-gold-400, footer .text-gold-500, footer .text-gold-300 {
  color: #E2C290 !important;
}

/* Animated Shimmer Attorna Gold Button */
.btn-attorna-gold {
  position: relative;
  background: linear-gradient(135deg, #C2A77B 0%, #A38758 100%);
  color: #FFFFFF !important;
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.85rem 1.8rem;
  border-radius: 6px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: 1px solid #B1976B;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(177, 151, 107, 0.25);
  overflow: hidden;
}

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

.btn-attorna-gold:hover::before {
  left: 100%;
}

.btn-attorna-gold:hover {
  background: linear-gradient(135deg, #A88D61 0%, #897047 100%);
  border-color: #897047;
  color: #FFFFFF !important;
  box-shadow: 0 8px 25px rgba(177, 151, 107, 0.35);
  transform: translateY(-2px);
}

/* Premium Outline Button */
.btn-attorna-outline {
  background-color: #FFFFFF;
  color: var(--attorna-heading);
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.85rem 1.8rem;
  border-radius: 6px;
  border: 1.5px solid var(--attorna-border);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.btn-attorna-outline:hover {
  border-color: var(--attorna-gold);
  color: var(--attorna-gold-hover);
  background-color: var(--attorna-bg-surface);
  box-shadow: 0 6px 18px rgba(177, 151, 107, 0.15);
  transform: translateY(-2px);
}

/* Premium Card Surfaces */
.attorna-card {
  background-color: var(--attorna-bg-card);
  border: 1px solid var(--attorna-border-light);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(22, 18, 14, 0.04);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.attorna-card:hover {
  border-color: var(--attorna-gold);
  box-shadow: 0 16px 40px rgba(177, 151, 107, 0.18);
  transform: translateY(-4px);
}

/* Gold Badges & Accents */
.attorna-badge-gold {
  background-color: var(--attorna-gold-tint);
  color: var(--attorna-heading);
  border: 1px solid var(--attorna-border);
  padding: 0.4rem 0.95rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Decorative Divider */
.gold-divider {
  width: 4.5rem;
  height: 3px;
  background: linear-gradient(90deg, var(--attorna-gold) 0%, var(--attorna-gold-bright) 100%);
  border-radius: 3px;
}

/* Navigation Links */
.nav-link-attorna {
  color: var(--attorna-heading);
  font-family: 'Jost', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 4px 0;
  position: relative;
  transition: color 0.25s ease;
}

.nav-link-attorna::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2.5px;
  background-color: var(--attorna-gold);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link-attorna:hover {
  color: var(--attorna-gold);
}

.nav-link-attorna:hover::after,
.nav-link-attorna.active::after {
  width: 100%;
}

.nav-link-attorna.active {
  color: var(--attorna-gold);
  font-weight: 700;
}

/* Header Consultation Button */
.attorna-btn-header {
  background: linear-gradient(135deg, #C2A77B 0%, #A38758 100%);
  color: #FFFFFF !important;
  font-family: 'Jost', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.6rem 1.35rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(177, 151, 107, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.attorna-btn-header:hover {
  background: linear-gradient(135deg, #A88D61 0%, #897047 100%);
  box-shadow: 0 8px 20px rgba(137, 115, 81, 0.35);
  transform: translateY(-1.5px);
}

/* Micro Animations & Scroll Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Icon Pulse & Hover Animation */
.icon-gold-box {
  transition: all 0.35s ease;
}

.attorna-card:hover .icon-gold-box {
  transform: scale(1.1) rotate(4deg);
  background-color: var(--attorna-gold) !important;
  color: #FFFFFF !important;
}

/* Glowing Gold Text Accent */
.text-gold-glow {
  text-shadow: 0 0 20px rgba(177, 151, 107, 0.3);
}

/* High Contrast Input Fields */
input, textarea, select {
  color: #16120E !important;
  font-family: 'Jost', sans-serif;
}

input::placeholder, textarea::placeholder {
  color: #6E655B !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #FAF8F5;
}
::-webkit-scrollbar-thumb {
  background: #C2B4A1;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #B1976B;
}
