/* ===================================================
   Mann & Associates — Advocates & Solicitors
   style.css
   =================================================== */

:root {
  --navy:       #1B2A4A;
  --navy-dark:  #111D34;
  --gold:       #C09A3F;
  --gold-light: #D4B05A;
  --cream:      #F8F6F0;
  --white:      #FFFFFF;
  --text:       #2C2C2C;
  --text-light: #666666;
  --border:     #E0DDD5;
  --shadow:     0 4px 24px rgba(27,42,74,0.10);
  --radius:     6px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', 'Segoe UI', Arial, 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-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Utility ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 18px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 640px;
  line-height: 1.75;
}
.divider {
  width: 48px; height: 3px;
  background: var(--gold);
  margin: 18px 0 28px;
}
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  letter-spacing: 0.02em;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

/* ── Top Bar ── */
.topbar {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  font-size: 0.82rem;
  padding: 8px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar a { color: rgba(255,255,255,0.75); transition: color 0.2s; }
.topbar a:hover { color: var(--gold-light); }
.topbar-contact { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.topbar-contact span { display: flex; align-items: center; gap: 6px; }

/* ── Header / Nav ── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(27,42,74,0.07);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1140px;
  margin: 0 auto;
}
.logo img { height: 72px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: all 0.2s;
  letter-spacing: 0.01em;
}
.main-nav a:hover { color: var(--gold); background: var(--cream); }
.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 9px 20px !important;
  margin-left: 8px;
}
.nav-cta:hover { background: var(--gold) !important; }
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.menu-toggle span { width: 24px; height: 2px; background: var(--navy); display: block; transition: all 0.3s; }

/* ── SVG Line Icons ── */
.icon {
  width: 18px; height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
  flex-shrink: 0;
  display: inline-block;
}
.icon-sm { width: 14px; height: 14px; }
.icon-lg { width: 24px; height: 24px; stroke-width: 1.6; }

/* ── Dropdown nav ── */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: 4px; }
.nav-dropdown > a::after {
  content: '';
  width: 6px; height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.nav-dropdown.open > a::after { transform: rotate(-135deg) translateY(-2px); }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(27,42,74,0.14);
  min-width: 230px;
  z-index: 1100;
  padding: 14px 0 6px;
  overflow: hidden;
}
.nav-dropdown.open .dropdown-menu { display: block; }
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--navy);
  border-radius: 0;
  transition: background 0.15s, color 0.15s;
}
.dropdown-menu a:hover { background: var(--cream); color: var(--gold); }
.dropdown-menu a .dm-icon { font-size: 1rem; width: 20px; text-align: center; flex-shrink: 0; }
.dropdown-divider { height: 1px; background: var(--border); margin: 4px 0; }
@media (max-width: 768px) {
  .nav-dropdown { width: 100%; }
  .nav-dropdown > a::after { margin-left: auto; }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--border);
    border-radius: 0;
    padding: 0;
    display: none;
  }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .dropdown-menu a { padding-left: 32px; }
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #263D6E 100%);
  color: var(--white);
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero .container { position: relative; z-index: 1; max-width: 800px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(192,154,63,0.18);
  border: 1px solid rgba(192,154,63,0.4);
  color: var(--gold-light);
  padding: 6px 16px;
  border-radius: 40px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 20px;
}
.hero h1 em { color: var(--gold-light); font-style: normal; }
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.80);
  margin-bottom: 36px;
  max-width: 580px;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.25);
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  transition: all 0.2s;
}
.hero-phone:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.5); }
.hero-stats {
  display: flex;
  gap: 44px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
  flex-wrap: wrap;
}
.hero-stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.hero-stat span { font-size: 0.85rem; color: rgba(255,255,255,0.60); margin-top: 5px; display: block; }

/* ── About ── */
.about { padding: 90px 0; background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-quote {
  background: var(--cream);
  border-left: 4px solid var(--gold);
  padding: 28px 32px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-top: 28px;
}
.about-quote p {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.7;
}
.office-cards { display: flex; flex-direction: column; gap: 16px; }
.office-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s;
}
.office-card:hover { box-shadow: 0 8px 32px rgba(27,42,74,0.12); }
.office-card .badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--navy);
  color: var(--white);
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 10px;
}
.office-card h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.office-card h4::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.office-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.65; }

/* ── Practice Areas ── */
.practice { padding: 90px 0; background: var(--cream); }
.practice-header { text-align: center; margin-bottom: 52px; }
.practice-header .section-subtitle { margin: 0 auto; }
.practice-header .divider { margin: 18px auto 0; }
.practice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.practice-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border-top: 3px solid transparent;
  transition: all 0.25s ease;
}
.practice-card:hover {
  border-top-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: 0 14px 44px rgba(27,42,74,0.14);
}
.practice-icon {
  width: 56px; height: 56px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background 0.2s;
  color: var(--white);
}
.practice-icon svg { width: 24px; height: 24px; stroke: var(--white); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.practice-card:hover .practice-icon { background: var(--gold); }
.practice-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.practice-card > p { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; margin-bottom: 18px; }
.practice-card ul li {
  font-size: 0.82rem;
  color: var(--text-light);
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.practice-card ul li:last-child { border-bottom: none; }
.practice-card ul li::before { content: '–'; color: var(--gold); flex-shrink: 0; }

/* ── Why Choose Us ── */
.why { padding: 90px 0; background: var(--white); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.why-list { margin-top: 28px; display: flex; flex-direction: column; gap: 22px; }
.why-item { display: flex; gap: 18px; align-items: flex-start; }
.why-item-icon {
  width: 44px; height: 44px;
  background: var(--cream);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--gold);
}
.why-item-icon svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.why-item-text h4 { font-weight: 700; font-size: 0.95rem; color: var(--navy); margin-bottom: 4px; }
.why-item-text p { font-size: 0.87rem; color: var(--text-light); line-height: 1.65; }
.why-panel {
  background: var(--navy);
  border-radius: 10px;
  padding: 44px 40px;
  color: var(--white);
}
.why-panel h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
}
.why-panel > p { color: rgba(255,255,255,0.70); font-size: 0.9rem; line-height: 1.7; margin-bottom: 28px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.contact-detail:last-of-type { border-bottom: none; }
.contact-detail-icon {
  width: 36px; height: 36px;
  background: rgba(192,154,63,0.20);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--gold-light);
}
.contact-detail-icon svg { width: 15px; height: 15px; stroke: var(--gold-light); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-detail-text span {
  display: block;
  font-size: 0.73rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}
.contact-detail-text a,
.contact-detail-text strong {
  font-size: 0.92rem;
  color: var(--white);
  font-weight: 600;
  transition: color 0.2s;
  display: block;
}
.contact-detail-text a:hover { color: var(--gold-light); }

/* ── Contact Form Section ── */
.contact { padding: 90px 0; background: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact-info-col .section-subtitle { max-width: 420px; }
.contact-form {
  background: var(--white);
  border-radius: 10px;
  padding: 40px 36px;
  box-shadow: var(--shadow);
}
.contact-form h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.contact-form > p { font-size: 0.87rem; color: var(--text-light); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(192,154,63,0.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.77rem; color: var(--text-light); margin-top: 12px; }
.alert {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  margin-bottom: 16px;
  display: none;
}
.alert-success { background: #EAF6EC; color: #2D7A3E; border: 1px solid #B7E1BE; display: block; }
.alert-error   { background: #FEF0EE; color: #B33A2C; border: 1px solid #F4BEB9; display: block; }
.map-wrap {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin-top: 28px;
}
.map-wrap iframe { display: block; width: 100%; height: 280px; border: none; }

/* ── Footer ── */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.60);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand-logo {
  display: inline-block;
  background: var(--white);
  border-radius: var(--radius);
  padding: 8px 14px;
  margin-bottom: 18px;
}
.footer-brand-logo img { height: 44px; width: auto; display: block; }
.footer-brand p { font-size: 0.85rem; line-height: 1.75; max-width: 260px; }
.footer-col h5 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.58);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul li a::before { content: '›'; color: var(--gold); font-size: 1rem; }
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-col address {
  font-style: normal;
  font-size: 0.86rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.58);
}
.footer-col address a { color: rgba(255,255,255,0.58); }
.footer-col address a:hover { color: var(--gold-light); }
.footer-bottom {
  padding: 18px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.38);
}
.footer-bottom a { color: var(--gold-light); transition: opacity 0.2s; }
.footer-bottom a:hover { opacity: 0.8; text-decoration: underline; }

/* ── Floating Call Button ── */
.float-call {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  display: flex;
  align-items: center;
  background: var(--gold);
  color: var(--white);
  border-radius: 50px;
  box-shadow: 0 6px 28px rgba(192,154,63,0.50);
  overflow: hidden;
  transition: max-width 0.35s ease, background 0.2s;
  text-decoration: none;
  max-width: 56px;
}
.float-call:hover { max-width: 260px; background: var(--gold-light); }
.float-call-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.float-call-icon svg { width: 22px; height: 22px; stroke: var(--white); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.float-call-label {
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  padding-right: 20px;
  opacity: 0;
  transition: opacity 0.3s ease 0.1s;
}
.float-call:hover .float-call-label { opacity: 1; }
@keyframes ring {
  0%, 100% { box-shadow: 0 6px 28px rgba(192,154,63,0.50); }
  50%       { box-shadow: 0 6px 40px rgba(192,154,63,0.85); }
}
.float-call { animation: ring 2.5s ease-in-out infinite; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .about-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .practice-grid { grid-template-columns: 1fr; }
  .hero { padding: 72px 0 60px; }
  .hero-stats { gap: 28px; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px;
    border-top: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    gap: 4px;
  }
  .main-nav.open { display: flex; }
  .menu-toggle { display: flex; }
  .header-inner { position: relative; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .float-call { bottom: 20px; right: 20px; }
  .topbar { display: none; }
  .why-panel { padding: 32px 24px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.9rem; }
  .contact-form { padding: 28px 20px; }
}
