/* ===== C&H LEGAL FIRM - Design System ===== */

/* ===== CSS Variables ===== */
:root {
  /* Navy Blues */
  --navy-darkest: #040d1a;
  --navy-darker: #071425;
  --navy-dark: #0B1B3A;
  --navy-medium: #0f2347;
  --navy-light: #142d5a;
  --navy-lighter: #1a3a6e;

  /* Golds */
  --gold-dark: #8B7332;
  --gold: #C5A55A;
  --gold-light: #D4B978;
  --gold-lighter: #E3CC96;
  --gold-lightest: #F0E0B8;

  /* Neutrals */
  --white: #FFFFFF;
  --off-white: #F5F3EF;
  --light-gray: #B8C4D6;
  --medium-gray: #6B7A94;
  --dark-text: #0B1B3A;

  /* Typography */
  --font-heading: 'Libre Baskerville', 'Georgia', serif;
  --font-body: 'Source Sans 3', 'Helvetica Neue', sans-serif;
  --font-accent: 'Source Serif 4', 'Georgia', serif;

  /* Spacing */
  --section-padding: 120px;
  --container-width: 1200px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-gold: 0 4px 30px rgba(197, 165, 90, 0.15);
  --shadow-dark: 0 10px 40px rgba(4, 13, 26, 0.5);
  --shadow-card: 0 8px 32px rgba(4, 13, 26, 0.3);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--navy-darkest);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul, ol {
  list-style: none;
}

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--navy-darkest);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold), var(--gold-dark));
  border-radius: 4px;
}

/* ===== Section Title ===== */
.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title .subtitle {
  font-family: var(--font-accent);
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
  font-style: italic;
}

.section-title h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-title .divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 20px;
}

.section-title p {
  font-size: 1.05rem;
  color: var(--light-gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(197, 165, 90, 0.2); }
  50% { box-shadow: 0 0 40px rgba(197, 165, 90, 0.4); }
}

@keyframes lineExpand {
  from { width: 0; }
  to { width: 80px; }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition-medium);
}

.navbar.scrolled {
  background: rgba(4, 13, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(197, 165, 90, 0.1);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-logo img {
  height: 50px;
  width: 50px;
  border-radius: 4px;
  object-fit: cover;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-text .firm-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
  line-height: 1.2;
}

.nav-logo-text .firm-tagline {
  font-family: var(--font-accent);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--gold-light);
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 1;
}

.nav-links a { white-space: nowrap; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--light-gray);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width var(--transition-medium);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  font-family: var(--font-body) !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  color: var(--navy-dark) !important;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  padding: 10px 24px !important;
  border-radius: 4px;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  transition: all var(--transition-fast) !important;
  border: none;
  cursor: pointer;
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-lighter));
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.nav-cta::after {
  display: none !important;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.menu-toggle span {
  width: 28px;
  height: 2px;
  background: var(--gold);
  transition: all var(--transition-fast);
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(4, 13, 26, 0.92) 0%,
    rgba(11, 27, 58, 0.85) 40%,
    rgba(11, 27, 58, 0.7) 70%,
    rgba(4, 13, 26, 0.9) 100%
  );
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 8s infinite;
}

@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(100vh) scale(0); }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  padding-top: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(197, 165, 90, 0.1);
  border: 1px solid rgba(197, 165, 90, 0.25);
  padding: 8px 20px;
  border-radius: 30px;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulseGlow 2s infinite;
}

.hero-badge span {
  font-family: 'Source Serif 4', 'Georgia', serif;
  font-size: 0.85rem;
  color: var(--gold-light);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.9rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin-bottom: 10px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero h1 .line-1 {
  display: block;
  color: var(--white);
}

.hero h1 .line-2 {
  display: block;
  background: linear-gradient(135deg, var(--gold), var(--gold-lighter));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h1 .line-3 {
  display: block;
  color: var(--white);
  font-size: 0.55em;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-top: 12px;
  line-height: 1.35;
}

.hero-description {
  font-family: 'Source Serif 4', 'Georgia', serif;
  font-size: 1.2rem;
  color: var(--light-gray);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 550px;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy-darkest);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all var(--transition-fast);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left var(--transition-slow);
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(197, 165, 90, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--gold-light);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 16px 36px;
  border-radius: 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1.5px solid rgba(197, 165, 90, 0.4);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--gold);
  background: rgba(197, 165, 90, 0.08);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(197, 165, 90, 0.15);
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Decorative line on right side of hero */
.hero-decoration {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero-decoration .line {
  width: 1px;
  height: 80px;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
}

.hero-decoration .diamond {
  width: 8px;
  height: 8px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

/* ===== ABOUT / WHY US SECTION ===== */
.about {
  padding: var(--section-padding) 0;
  background: linear-gradient(180deg, var(--navy-darkest) 0%, var(--navy-darker) 50%, var(--navy-darkest) 100%);
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 165, 90, 0.3), transparent);
}

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

.about-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform var(--transition-slow);
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-image::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(197, 165, 90, 0.2);
  border-radius: 8px;
  z-index: 1;
}

.about-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(197, 165, 90, 0.15);
  border-radius: 8px;
  z-index: -1;
}

.about-content {
  padding: 20px 0;
}

.about-content .subtitle {
  font-family: var(--font-accent);
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-style: italic;
}

.about-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
}

.about-content h2 span {
  color: var(--gold);
}

.about-content .divider-line {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 24px;
}

.about-content p {
  font-size: 1.05rem;
  color: var(--light-gray);
  line-height: 1.9;
  margin-bottom: 16px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-feature .feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(197, 165, 90, 0.1);
  border: 1px solid rgba(197, 165, 90, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1rem;
}

.about-feature .feature-text {
  font-size: 0.9rem;
  color: var(--light-gray);
  font-weight: 500;
  line-height: 1.5;
}

/* ===== SERVICES SECTION ===== */
.services {
  padding: var(--section-padding) 0;
  background: var(--navy-darker);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 165, 90, 0.3), transparent);
}

.services-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(197, 165, 90, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(197, 165, 90, 0.03) 0%, transparent 50%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 1;
}

.service-card {
  background: linear-gradient(145deg, rgba(15, 35, 71, 0.6), rgba(7, 20, 37, 0.8));
  border: 1px solid rgba(197, 165, 90, 0.1);
  border-radius: 8px;
  padding: 36px 28px;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-medium);
}

.service-card:hover {
  border-color: rgba(197, 165, 90, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(4, 13, 26, 0.5), 0 0 30px rgba(197, 165, 90, 0.08);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card .service-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(197, 165, 90, 0.08);
  position: absolute;
  top: 16px;
  right: 20px;
  line-height: 1;
}

.service-card .service-icon {
  width: 56px;
  height: 56px;
  background: rgba(197, 165, 90, 0.1);
  border: 1px solid rgba(197, 165, 90, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all var(--transition-fast);
}

.service-card:hover .service-icon {
  background: rgba(197, 165, 90, 0.15);
  border-color: rgba(197, 165, 90, 0.4);
  transform: scale(1.05);
}

.service-card .service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--light-gray);
  line-height: 1.7;
}

/* ===== PREVENTION / CTA SECTION ===== */
.prevention {
  padding: var(--section-padding) 0;
  background: var(--navy-darkest);
  position: relative;
  overflow: hidden;
}

.prevention::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 165, 90, 0.3), transparent);
}

.prevention-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.prevention-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
}

.prevention-content h2 span {
  color: var(--gold);
}

.prevention-content .lead {
  font-family: var(--font-accent);
  font-size: 1.25rem;
  color: var(--gold-light);
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.6;
}

.prevention-content p {
  font-size: 1rem;
  color: var(--light-gray);
  line-height: 1.8;
  margin-bottom: 16px;
}

.risk-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.risk-card {
  background: rgba(15, 35, 71, 0.4);
  border: 1px solid rgba(197, 165, 90, 0.1);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: all var(--transition-fast);
}

.risk-card:hover {
  border-color: rgba(197, 165, 90, 0.3);
  background: rgba(15, 35, 71, 0.6);
}

.risk-card .risk-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: rgba(197, 165, 90, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.risk-card .risk-text {
  font-size: 0.85rem;
  color: var(--light-gray);
  line-height: 1.6;
}

.prevention-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.prevention-image img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  border-radius: 8px;
}

.prevention-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(197, 165, 90, 0.15);
  border-radius: 8px;
}

/* ===== TESTIMONIAL / QUOTE SECTION ===== */
.quote-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-medium));
  position: relative;
  overflow: hidden;
}

.quote-section::before,
.quote-section::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 165, 90, 0.3), transparent);
}

.quote-section::before { top: 0; }
.quote-section::after { bottom: 0; }

.quote-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.quote-marks {
  font-family: var(--font-heading);
  font-size: 6rem;
  color: rgba(197, 165, 90, 0.15);
  line-height: 1;
  margin-bottom: -30px;
}

.quote-content blockquote {
  font-family: var(--font-accent);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--white);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 30px;
}

.quote-content blockquote strong {
  color: var(--gold);
  font-weight: 600;
}

.quote-divider {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 20px;
}

.quote-author {
  font-size: 0.9rem;
  color: var(--gold-light);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ===== LOCATION SECTION ===== */
.location {
  padding: var(--section-padding) 0;
  background: var(--navy-darker);
  position: relative;
}

.location::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 165, 90, 0.3), transparent);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.location-image {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.location-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform var(--transition-slow);
}

.location-image:hover img {
  transform: scale(1.03);
}

.location-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(197, 165, 90, 0.15);
  border-radius: 8px;
}

.location-info {
  padding: 20px 0;
}

.location-info .subtitle {
  font-family: var(--font-accent);
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-style: italic;
}

.location-info h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.2;
}

.location-info h2 span {
  color: var(--gold);
}

.location-info .location-subtitle {
  font-family: var(--font-accent);
  font-size: 1.2rem;
  color: var(--gold-light);
  font-style: italic;
  margin-bottom: 24px;
}

.location-info .divider-line {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 24px;
}

.location-info p {
  font-size: 1.05rem;
  color: var(--light-gray);
  line-height: 1.9;
  margin-bottom: 32px;
}

.location-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.location-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.location-detail .detail-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(197, 165, 90, 0.1);
  border: 1px solid rgba(197, 165, 90, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
}

.location-detail .detail-text h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}

.location-detail .detail-text p {
  font-size: 0.9rem;
  color: var(--light-gray);
  margin-bottom: 0;
  line-height: 1.5;
}

/* ===== CONTACT / CTA SECTION ===== */
.contact-cta {
  padding: var(--section-padding) 0;
  background: linear-gradient(180deg, var(--navy-darkest), var(--navy-darker));
  position: relative;
  overflow: hidden;
}

.contact-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 165, 90, 0.3), transparent);
}

.contact-cta-inner {
  background: linear-gradient(145deg, rgba(15, 35, 71, 0.5), rgba(11, 27, 58, 0.8));
  border: 1px solid rgba(197, 165, 90, 0.15);
  border-radius: 16px;
  padding: 60px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-cta-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(197, 165, 90, 0.04) 0%, transparent 50%);
}

.contact-cta-inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.contact-cta-inner h2 span {
  color: var(--gold);
}

.contact-cta-inner p {
  font-size: 1.1rem;
  color: var(--light-gray);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.contact-cta-inner .cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.contact-form-wrapper {
  margin-top: 60px;
  position: relative;
  z-index: 1;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}

.form-group {
  position: relative;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(4, 13, 26, 0.6);
  border: 1px solid rgba(197, 165, 90, 0.15);
  border-radius: 6px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  outline: none;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--medium-gray);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(197, 165, 90, 0.1);
}

.form-submit {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: 12px;
  line-height: 1.35;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-darkest);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 165, 90, 0.3), transparent);
}

.footer-main {
  padding: 60px 0 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-brand .footer-logo img {
  height: 45px;
  width: 45px;
  border-radius: 4px;
  object-fit: cover;
}

.footer-brand .footer-logo-text {
  display: flex;
  flex-direction: column;
}

.footer-brand .footer-logo-text .name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
}

.footer-brand .footer-logo-text .tagline {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  opacity: 1;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--light-gray);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(197, 165, 90, 0.1);
  border: 1px solid rgba(197, 165, 90, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--navy-darkest);
  transform: translateY(-2px);
}

.footer-column h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  font-size: 0.85rem;
  color: var(--light-gray);
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-column ul li a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(197, 165, 90, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--medium-gray);
}

.footer-bottom p span {
  color: var(--gold);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy-darkest);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-fast);
  box-shadow: 0 4px 20px rgba(197, 165, 90, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(197, 165, 90, 0.5);
}

/* ===== PRELOADER ===== */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--navy-darkest);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  transition: opacity 0.6s, visibility 0.6s;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-logo img {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 8px;
}

.preloader-logo {
  animation: float 2s ease-in-out infinite;
}

.preloader-bar {
  width: 200px;
  height: 2px;
  background: rgba(197, 165, 90, 0.15);
  border-radius: 2px;
  overflow: hidden;
}

.preloader-bar::after {
  content: '';
  display: block;
  width: 50%;
  height: 100%;
  background: var(--gold);
  animation: preloaderSlide 1.2s ease-in-out infinite;
}

@keyframes preloaderSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(300%); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
  }

  .about-grid,
  .prevention-grid,
  .location-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image img,
  .prevention-image img,
  .location-image img {
    height: 350px;
  }

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

  .hero-decoration {
    display: none;
  }

  .hero-stats {
    gap: 32px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .contact-cta-inner {
    padding: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: rgba(4, 13, 26, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    gap: 28px;
    transition: right var(--transition-medium);
    border-left: 1px solid rgba(197, 165, 90, 0.15);
  }

  .nav-links.open {
    right: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }

  .stat-item {
    flex: 1 1 120px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-features,
  .risk-cards {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-cta-inner {
    padding: 32px 20px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .location-info {
    order: -1;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .nav-logo-text .firm-name {
    font-size: 1.1rem;
  }
}

/* ===== FAQ ===== */
.faq { padding: 100px 0; background: var(--navy-darker); }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { border: 1px solid rgba(197, 165, 90, 0.2); border-radius: 6px; background: rgba(11, 27, 58, 0.6); }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 24px; font-family: var(--font-heading); font-size: 1.1rem; color: var(--gold-light); display: flex; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--gold); font-size: 1.4rem; line-height: 1; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.faq-item p { padding: 0 24px 22px; color: var(--light-gray); line-height: 1.8; }

/* ===== Contact cards ===== */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 0 auto 36px; max-width: 900px; text-align: left; position: relative; z-index: 1; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border: 1px solid rgba(197, 165, 90, 0.2); border-radius: 10px; background: rgba(4, 13, 26, 0.45); color: var(--gold); transition: transform 0.3s ease, border-color 0.3s ease; }
a.contact-card:hover, a.contact-card:focus-visible { transform: translateY(-3px); border-color: var(--gold); outline: none; }
.contact-card svg { flex-shrink: 0; margin-top: 3px; }
.contact-card h3 { font-family: var(--font-heading); font-size: 1.05rem; color: var(--gold-light); margin-bottom: 6px; }
.contact-card p { margin: 0; font-size: 0.95rem; line-height: 1.6; color: var(--light-gray); max-width: none; }
.btn-whatsapp { display: inline-flex; align-items: center; gap: 12px; background: #25D366; color: #fff; font-weight: 700; letter-spacing: 0.5px; padding: 18px 40px; border-radius: 4px; min-height: 52px; position: relative; z-index: 1; box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.btn-whatsapp:hover, .btn-whatsapp:focus-visible { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45); outline: none; }
.btn-whatsapp:active { transform: translateY(0); }
.preloader-logo img { object-fit: cover; }

.amp { font-family: 'Source Serif 4', 'Georgia', serif; font-weight: 700; font-style: normal; }
