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

:root {
  --navy: #0f1729;
  --navy-light: #1a2340;
  --teal: #4FA8B5;
  --teal-dark: #357580;
  --teal-muted: #428A97;
  --gold: #C9A84C;
  --gold-light: #d4b85e;
  --light-gray: #f5f5f5;
  --white: #ffffff;
  --text-dark: #1a1a2e;
  --text-muted: #6b7280;
  --card-bg: #3d5a80;
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === SECTION LABEL === */
.section-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

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

.section-subtitle {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 800px;
}

/* Dark sections */
.dark-section { background: var(--navy); color: var(--white); }
.dark-section .section-subtitle { color: rgba(255,255,255,0.7); }

/* Light sections */
.light-section { background: var(--light-gray); color: var(--text-dark); }
.light-section .section-subtitle { color: var(--text-muted); }

/* White sections */
.white-section { background: var(--white); color: var(--text-dark); }
.white-section .section-subtitle { color: var(--text-muted); }

.section-padding { padding: 80px 0; }

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 41, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(79, 168, 181, 0.15);
  transition: background 0.3s;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-brand svg { width: 40px; height: 45px; }

.nav-brand-text {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
  letter-spacing: 0.3px;
}

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

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: background 0.2s;
}

.nav-phone:hover { background: var(--teal-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--navy) 0%, #0d1320 100%);
  padding-top: 72px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(79,168,181,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content { position: relative; z-index: 1; }

.hero-practice-areas {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-practice-areas span {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--teal);
}

.hero-practice-areas span:not(:last-child)::after {
  content: '\00B7';
  margin-left: 8px;
  color: rgba(79,168,181,0.4);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
  display: block;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid rgba(255,255,255,0.25);
  transition: border-color 0.2s, color 0.2s;
  cursor: pointer;
}

.btn-outline:hover { border-color: var(--teal); color: var(--teal); }

.hero-badge {
  margin-top: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(79,168,181,0.1);
  border: 1px solid rgba(79,168,181,0.2);
  border-radius: 8px;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-badge-text {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.5px;
}

/* === PRACTICE AREAS === */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.practice-card {
  background: var(--white);
  border-radius: 8px;
  padding: 32px 24px;
  border-top: 3px solid var(--teal);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.practice-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.practice-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(79,168,181,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--teal);
  font-size: 1.4rem;
}

.practice-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.practice-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* === STATS BAR === */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.stat-card {
  background: var(--white);
  border-radius: 8px;
  padding: 36px 28px;
  border-top: 3px solid var(--teal);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.stat-value {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* === DoOps SECTION === */
.doops-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
  align-items: start;
}

.doops-text p {
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 16px;
}

.doops-text em {
  color: var(--gold);
  font-style: italic;
  display: block;
  margin-top: 16px;
  line-height: 1.6;
}

.modes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mode-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
}

.mode-dot {
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
}

/* === FEATURE CARDS === */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  background: var(--light-gray);
  border-radius: 8px;
  padding: 36px 28px;
  border-left: 3px solid var(--teal);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* === BENEFITS === */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.benefit-card {
  background: var(--card-bg);
  border-radius: 8px;
  padding: 36px 28px;
  border-top: 3px solid var(--gold);
}

.benefit-number {
  width: 40px;
  height: 40px;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 16px;
}

.benefit-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
}

.benefit-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
}

/* === COMPARISON TABLE === */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 48px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.comparison-table thead th {
  background: var(--navy);
  color: var(--white);
  padding: 18px 24px;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.comparison-table tbody td {
  padding: 18px 24px;
  font-size: 0.95rem;
  border-bottom: 1px solid #e5e7eb;
}

.comparison-table tbody tr:nth-child(even) { background: var(--light-gray); }
.comparison-table tbody tr:nth-child(odd) { background: var(--white); }

.comparison-table td:first-child { font-weight: 700; color: var(--text-dark); }
.comparison-table td:nth-child(2) { color: var(--text-muted); }
.comparison-table td:nth-child(3) { color: var(--teal-dark); font-weight: 600; }

/* === COMMITMENT === */
.commitment-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
  align-items: start;
}

.commitment-text p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.trust-list { display: flex; flex-direction: column; gap: 24px; }

.trust-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.trust-dot {
  width: 12px;
  height: 12px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}

.trust-item h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.trust-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* === TESTIMONIALS === */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.testimonial-card {
  background: rgba(79,168,181,0.08);
  border: 1px solid rgba(79,168,181,0.15);
  border-radius: 8px;
  padding: 28px 24px;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.65;
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
}

.testimonial-location {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* === CONTACT / CTA === */
.contact-cta {
  text-align: center;
  padding: 80px 0;
}

.contact-cta .section-title { color: var(--white); }

.contact-cta .section-subtitle {
  margin: 0 auto 40px;
  color: rgba(255,255,255,0.7);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
  text-align: left;
}

.contact-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(79,168,181,0.15);
  border-radius: 8px;
  padding: 28px 24px;
}

.contact-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 12px;
}

.contact-card p, .contact-card a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

.contact-card a:hover { color: var(--teal); }

.contact-phone-big {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  margin: 32px 0 12px;
}

.contact-phone-big a { color: var(--white); }
.contact-phone-big a:hover { color: var(--teal); }

/* === FOOTER === */
.footer {
  background: #0a0f1d;
  border-top: 1px solid rgba(79,168,181,0.1);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-left {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-right {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

.footer-right a { color: var(--teal-muted); }
.footer-right a:hover { color: var(--teal); }

/* === MOBILE === */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-phone-desktop { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(79,168,181,0.15);
  }

  .hero { min-height: auto; padding: 120px 0 60px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas a, .hero-ctas button { width: 100%; justify-content: center; }

  .practice-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .doops-layout { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .commitment-layout { grid-template-columns: 1fr; }
  .modes-grid { grid-template-columns: 1fr; }

  .comparison-table { font-size: 0.85rem; }
  .comparison-table thead th, .comparison-table tbody td { padding: 12px 14px; }

  .section-padding { padding: 56px 0; }

  .footer-inner { flex-direction: column; text-align: center; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .practice-grid { grid-template-columns: repeat(3, 1fr); }
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Gold top-line accent */
.gold-line {
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}
