/* ===========================================================
   Randi J. Potash, Attorney at Law — Cape Cod Criminal Defense
   =========================================================== */

:root {
  --ink: #14201a;
  --forest: #1f3226;
  --forest-light: #2b4534;
  --brass: #b3873f;
  --brass-light: #d9ad6c;
  --parchment: #faf6ee;
  --parchment-dim: #f1ead9;
  --text: #242822;
  --muted: #6c7268;
  --hairline: rgba(20, 32, 26, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--parchment);
  overflow-x: hidden;
}

h1, h2, h3, h4, .display-font {
  font-family: 'Playfair Display', serif;
}

a {
  text-decoration: none;
}

.section-eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--brass);
}

.section-pad {
  padding: 6rem 0;
}

@media (max-width: 767.98px) {
  .section-pad {
    padding: 4rem 0;
  }
}

.divider-rule {
  width: 64px;
  height: 3px;
  background: var(--brass);
  margin: 1.1rem 0 1.6rem;
}

.divider-rule.centered {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Navbar ---------- */
.navbar-wfw {
  background: rgba(20, 32, 26, 0.96);
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  transition: padding 0.2s ease;
}

.navbar-wfw .navbar-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff !important;
  line-height: 1.15;
}

.navbar-wfw .navbar-brand small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-light);
}

.navbar-wfw .nav-link {
  color: rgba(255, 255, 255, 0.88) !important;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.5rem 1rem !important;
}

.navbar-wfw .nav-link:hover {
  color: var(--brass-light) !important;
}

.btn-brass {
  background: var(--brass);
  border: 1px solid var(--brass);
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 1.4rem;
  border-radius: 2px;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
}

.btn-brass:hover {
  background: var(--brass-light);
  border-color: var(--brass-light);
  color: #14201a;
}

.btn-outline-brass {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 1.4rem;
  border-radius: 2px;
}

.btn-outline-brass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('img/hero.webp') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 75% 65% at 50% 48%, rgba(15, 22, 17, 0.45) 0%, rgba(15, 22, 17, 0.08) 100%),
              linear-gradient(to bottom, rgba(15, 22, 17, 0.55) 0%, rgba(15, 22, 17, 0.25) 40%, rgba(15, 22, 17, 0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 760px;
  min-width: 0;
  padding: 2.75rem 2.25rem;
  margin: 0 1rem;
  background: rgba(15, 22, 17, 0.22);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border: 1px solid rgba(217, 173, 108, 0.35);
  border-radius: 4px;
  box-sizing: border-box;
}

.hero-eyebrow {
  color: var(--brass-light);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.85rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8);
}

.hero-title {
  color: #fff;
  font-weight: 800;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  line-height: 1.15;
  margin: 0.6rem 0 1rem;
  text-shadow: 0 0 4px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,0.95), 0 0 60px rgba(0,0,0,0.8);
}

.hero-subtitle {
  color: #f4ead6;
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 1.9rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 2px 16px rgba(0,0,0,0.95), 0 0 40px rgba(0,0,0,0.85);
}

.hero-actions .btn {
  margin: 0.3rem;
  white-space: normal;
}

@media (max-width: 575.98px) {
  .hero-content {
    padding: 2rem 1.4rem;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    margin: 0.3rem 0;
  }
}

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--forest);
  padding: 3rem 0;
}

.stat-item {
  text-align: center;
  color: #fff;
  padding: 0.5rem 1rem;
}

.stat-item i {
  font-size: 1.8rem;
  color: var(--brass-light);
  margin-bottom: 0.6rem;
  display: block;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 2.1rem;
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 0.35rem;
  letter-spacing: 0.03em;
}

/* ---------- About ---------- */
.attorney-photo-wrap {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(20, 32, 26, 0.22);
}

.attorney-photo-wrap img {
  width: 100%;
  display: block;
}

.credential-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.credential-list li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.85rem;
  font-size: 0.97rem;
  color: var(--text);
}

.credential-list li i {
  position: absolute;
  left: 0;
  top: 0.18rem;
  color: var(--brass);
}

/* ---------- Practice areas ---------- */
.bg-parchment-dim {
  background: var(--parchment-dim);
}

.practice-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 2rem 1.6rem;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.practice-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(20, 32, 26, 0.12);
}

.practice-card i {
  font-size: 1.7rem;
  color: var(--brass);
  margin-bottom: 1rem;
  display: block;
}

.practice-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.practice-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0;
}

/* ---------- Case results ---------- */
.result-card {
  background: var(--forest);
  border-radius: 4px;
  padding: 1.9rem 1.7rem;
  height: 100%;
  border-left: 3px solid var(--brass);
}

.result-tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--brass-light);
  padding: 0.28rem 0.7rem;
  border-radius: 2px;
  margin-bottom: 0.9rem;
}

.result-card p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.93rem;
  margin: 0;
}

/* ---------- Reviews ---------- */
.review-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 1.7rem;
  height: 100%;
}

.review-card .stars {
  color: var(--brass);
  font-size: 0.85rem;
  margin-bottom: 0.7rem;
}

.review-card p {
  font-size: 0.92rem;
  color: var(--text);
  font-style: italic;
}

.review-card .reviewer {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--muted);
  font-style: normal;
  margin-top: 0.8rem;
}

.review-summary-card {
  background: var(--brass);
  color: #fff;
  border-radius: 4px;
  padding: 1.7rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.review-summary-card .big {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 2.4rem;
  line-height: 1;
}

/* ---------- Service area ---------- */
.county-chip {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 1.3rem 1rem;
  text-align: center;
  height: 100%;
}

.county-chip i {
  color: var(--brass);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  display: block;
}

.county-chip span {
  font-weight: 600;
  font-size: 0.94rem;
}

/* ---------- Contact ---------- */
.contact-panel {
  background: var(--forest);
  color: #fff;
  border-radius: 4px;
  padding: 2.5rem;
}

.contact-panel .contact-line {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1.3rem;
}

.contact-panel .contact-line i {
  color: var(--brass-light);
  font-size: 1.2rem;
  margin-top: 0.15rem;
}

.contact-panel a {
  color: #fff;
}

.map-wrap {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(20, 32, 26, 0.18);
  line-height: 0;
}

.map-wrap iframe {
  width: 100%;
  height: 420px;
  border: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 2rem;
}

.site-footer h5 {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  margin-bottom: 1rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.75);
}

.site-footer a:hover {
  color: var(--brass-light);
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-right: 0.6rem;
}

.footer-powered {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}

.footer-powered a {
  color: var(--brass-light);
  font-weight: 600;
}
