/* =============================================
   OT ATTORNEY - GLOBAL STYLESHEET
   ============================================= */

/* --- CSS Variables --- */
:root {
  --green-dark:    #1a4d2e;
  --green-main:    #2d7a4f;
  --green-light:   #4caf50;
  --green-pale:    #e8f5e9;
  --green-accent:  #81c784;
  --gold:          #c9a84c;
  --white:         #ffffff;
  --off-white:     #f9fafb;
  --gray-light:    #f3f4f6;
  --gray-mid:      #9ca3af;
  --gray-dark:     #4b5563;
  --text-dark:     #1a1a2e;
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:     0 6px 24px rgba(0,0,0,0.12);
  --shadow-lg:     0 12px 40px rgba(0,0,0,0.18);
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --transition:    all 0.3s ease;
  --font-heading:  'Playfair Display', Georgia, serif;
  --font-body:     'Inter', 'Segoe UI', sans-serif;
}

/* --- 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);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--text-dark);
}

/* --- Utility --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 90px 0; }
.section-pad-sm { padding: 60px 0; }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green-main);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-bottom: 20px;
  color: var(--text-dark);
}

.section-title span { color: var(--green-main); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-dark);
  max-width: 620px;
  line-height: 1.8;
}

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

.divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--green-main), var(--green-light));
  border-radius: 2px;
  margin: 20px 0 32px;
}
.text-center .divider { margin: 20px auto 32px; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--green-main);
  color: var(--white);
  border-color: var(--green-main);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--green-dark);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: #b8923e;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* =============================================
   NAVIGATION
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(26, 77, 46, 0.97);
  backdrop-filter: blur(10px);
  padding: 0 24px;
  transition: var(--transition);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.logo-icon {
  width: 44px; height: 44px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.logo-text h1 {
  font-size: 1.3rem;
  color: var(--white);
  line-height: 1.1;
  margin: 0;
}
.logo-text span {
  font-size: 0.65rem;
  color: var(--green-accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 500;
}

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

.nav-links a {
  color: rgba(255,255,255,0.88);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
}
.nav-cta:hover { background: #b8923e !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none; border: none;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* =============================================
   HERO SECTIONS (shared)
   ============================================= */
.page-hero {
  min-height: 420px;
  display: flex; align-items: flex-end;
  padding-bottom: 60px;
  background-size: cover;
  background-position: center;
  position: relative;
  margin-top: 72px;
}

.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,77,46,0.85) 0%, rgba(0,0,0,0.5) 100%);
}

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

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--white);
  margin-bottom: 12px;
}
.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 580px;
}

.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem;
  color: var(--green-accent);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--green-accent); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.5); }

/* =============================================
   CARDS
   ============================================= */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-img { width: 100%; height: 220px; object-fit: cover; }

.card-body { padding: 24px; }

.card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-main);
  background: var(--green-pale);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

/* =============================================
   GRIDS
   ============================================= */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* =============================================
   STAT STRIP
   ============================================= */
.stat-strip {
  background: linear-gradient(135deg, var(--green-dark), var(--green-main));
  padding: 48px 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  font-family: var(--font-heading);
}
.stat-item p {
  font-size: 0.9rem;
  color: var(--green-accent);
  font-weight: 500;
  letter-spacing: 1px;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
  border-top: 4px solid var(--green-main);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.quote-icon {
  font-size: 3rem;
  color: var(--green-accent);
  line-height: 1;
  margin-bottom: 12px;
  font-family: Georgia, serif;
}

.testimonial-card p {
  font-size: 0.98rem;
  color: var(--gray-dark);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex; align-items: center; gap: 14px;
}

.author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--green-pale);
}

.author-info h5 {
  font-size: 0.95rem;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 2px;
}
.author-info span {
  font-size: 0.8rem;
  color: var(--green-main);
}

/* =============================================
   PRACTICE AREA ICON CARDS
   ============================================= */
.practice-icon-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}
.practice-icon-card:hover {
  border-bottom-color: var(--green-main);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.practice-icon {
  width: 68px; height: 68px;
  background: var(--green-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  transition: var(--transition);
}
.practice-icon-card:hover .practice-icon {
  background: var(--green-main);
}

.practice-icon-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}
.practice-icon-card p {
  font-size: 0.88rem;
  color: var(--gray-dark);
  line-height: 1.7;
}

/* =============================================
   TEAM CARDS
   ============================================= */
.team-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.team-img {
  width: 100%; height: 300px;
  object-fit: cover;
  object-position: top;
}

.team-info {
  padding: 24px;
  text-align: center;
  position: relative;
}

.team-info h4 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.82rem;
  color: var(--green-main);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.team-socials {
  display: flex; justify-content: center; gap: 10px;
}

.social-btn {
  width: 36px; height: 36px;
  background: var(--green-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: var(--green-main);
  transition: var(--transition);
}
.social-btn:hover { background: var(--green-main); color: var(--white); }

/* =============================================
   FORMS
   ============================================= */
.form-group { margin-bottom: 22px; }

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 7px;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid #e5e7eb;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--green-main); box-shadow: 0 0 0 3px rgba(45,122,79,0.1); }
.form-control::placeholder { color: var(--gray-mid); }

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

select.form-control { cursor: pointer; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.8);
}

.footer-top {
  padding: 70px 0 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}

.footer-brand .logo-text h1 { font-size: 1.5rem; }
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin: 16px 0 24px;
  color: rgba(255,255,255,0.65);
}

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

.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-family: var(--font-body);
}

.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
  display: flex; align-items: center; gap: 8px;
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }

.footer-contact-item {
  display: flex; gap: 12px;
  margin-bottom: 16px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  align-items: flex-start;
}

.contact-icon {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a { color: var(--gold); }
.footer-bottom a:hover { color: var(--white); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--green-dark);
    flex-direction: column;
    padding: 24px 24px 32px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 12px 16px; font-size: 1rem; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section-pad { padding: 60px 0; }
}

@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr; }
  .btn { padding: 12px 24px; font-size: 0.9rem; }
  .page-hero { min-height: 300px; }
}
