/* Law Office of Joseph Bognanno — custom styles */

:root {
  --ink: #12141c;
  --slate: #2a3142;
  --slate-soft: #3d475f;
  --steel: #4a7bc8;
  --indigo: #3d3d8f;
  --gradient: linear-gradient(135deg, #4a7bc8 0%, #3d3d8f 100%);
  --gradient-deep: linear-gradient(160deg, #171a26 0%, #262c46 55%, #34305f 100%);
  --cream: #f7f5ef;
  --stone: #ece7da;
  --text-dark: #1c1f26;
  --text-muted: #5c6270;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  overflow-x: hidden;
}

h1, h2, h3, h4,
.font-serif {
  font-family: 'Fraunces', Georgia, serif;
}

a {
  text-decoration: none;
}

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Navbar ---------- */
.navbar {
  padding: 0.85rem 0;
  background: rgba(18, 20, 28, 0.94) !important;
  backdrop-filter: blur(8px);
  transition: padding 0.25s ease;
}

.navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.navbar .brand-chip {
  background: var(--white);
  border-radius: 8px;
  padding: 4px 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.navbar .brand-chip img {
  height: 30px;
  width: auto;
  display: block;
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
  font-size: 0.93rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s ease;
}

.navbar .nav-link:hover {
  color: #9fc0ef !important;
}

.navbar .btn-call {
  background: var(--gradient);
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.5rem 1.1rem;
  border-radius: 30px;
  white-space: nowrap;
}

.navbar .btn-call:hover {
  color: #fff;
  opacity: 0.92;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--gradient-deep);
  overflow: hidden;
  padding-top: 5rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(74, 123, 200, 0.35) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(61, 61, 143, 0.45) 0%, transparent 50%);
  pointer-events: none;
}

.hero .column-motif {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 780px;
  max-width: 140vw;
  opacity: 0.07;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: 2.75rem 2.25rem;
  background: rgba(0, 0, 0, 0.20);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 18px;
}

.hero-eyebrow {
  color: #cfe0f7;
  font-weight: 600;
  letter-spacing: 0.18em;
  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: 600;
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  line-height: 1.12;
  margin: 1rem 0 1.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: #e7ecf7;
  font-size: 1.1rem;
  font-weight: 400;
  max-width: 560px;
  margin: 0 auto 2rem;
  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-tagline {
  color: #cfe0f7;
  font-size: 0.95rem;
  margin-top: 1.5rem;
  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.9);
}

.btn-hero-primary {
  background: var(--gradient);
  color: #fff;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 32px;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  box-shadow: 0 8px 24px rgba(61, 61, 143, 0.45);
}

.btn-hero-primary:hover {
  color: #fff;
  opacity: 0.92;
}

.btn-hero-secondary {
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  color: #fff;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 32px;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* ---------- Section basics ---------- */
section {
  padding: 5.5rem 0;
}

.section-eyebrow {
  color: var(--indigo);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.section-title {
  font-weight: 600;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  color: var(--ink);
}

.section-lede {
  color: var(--text-muted);
  max-width: 640px;
  font-size: 1.05rem;
}

/* ---------- Practice area overview grid (5 items, no orphans) ---------- */
.practice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .practice-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.practice-card {
  background: var(--white);
  border-radius: 14px;
  padding: 2rem 1.4rem;
  text-align: center;
  border: 1px solid rgba(61, 61, 143, 0.08);
  box-shadow: 0 10px 30px rgba(18, 20, 28, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

.practice-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(18, 20, 28, 0.1);
}

.practice-card .icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.1rem;
  color: #fff;
  font-size: 1.4rem;
}

.practice-card h3 {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

/* ---------- Accordion (detailed services) ---------- */
.accordion-item {
  border: none;
  border-radius: 12px !important;
  overflow: hidden;
  margin-bottom: 0.9rem;
  box-shadow: 0 4px 18px rgba(18, 20, 28, 0.05);
}

.accordion-button {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
  background: var(--white);
  padding: 1.25rem 1.5rem;
}

.accordion-button:not(.collapsed) {
  background: var(--gradient);
  color: #fff;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.accordion-button::after {
  filter: none;
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

.accordion-body {
  padding: 1.6rem 1.6rem 1.8rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.accordion-body ul {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.accordion-body li {
  margin-bottom: 0.35rem;
}

.accordion-body strong,
.accordion-body .call-line {
  color: var(--ink);
}

/* ---------- About ---------- */
.about-section {
  background: var(--stone);
}

.about-monogram {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--gradient-deep);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 2.6rem;
  letter-spacing: 0.05em;
  margin: 0 auto 1.75rem;
  box-shadow: 0 16px 40px rgba(18, 20, 28, 0.2);
}

.about-bio {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.credentials-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .credentials-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.credential-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem 1.1rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(18, 20, 28, 0.06);
}

.credential-card i {
  font-size: 1.5rem;
  color: var(--indigo);
  margin-bottom: 0.6rem;
  display: block;
}

.credential-card span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  display: block;
}

/* ---------- Consultation CTA ---------- */
.consult-banner {
  background: var(--gradient-deep);
  color: #fff;
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
}

.consult-banner h2 {
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.75rem;
}

.consult-banner p {
  color: #d8e1f4;
  margin-bottom: 1.75rem;
}

/* ---------- Contact ---------- */
.contact-section {
  background: var(--ink);
  color: #fff;
}

.contact-section .section-eyebrow {
  color: #9fc0ef;
}

.contact-section .section-title,
.contact-section h3 {
  color: #fff;
}

.contact-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 2rem;
}

.contact-card .contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}

.contact-card .contact-row i {
  color: #9fc0ef;
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

.contact-card .contact-row .label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #a7b0c4;
  margin-bottom: 0.15rem;
}

.contact-card .contact-row a,
.contact-card .contact-row span {
  color: #fff;
  font-weight: 500;
}

.map-frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 340px;
  height: 100%;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  display: block;
}

/* ---------- Footer ---------- */
footer {
  background: #0c0e15;
  color: #a7afc3;
  padding: 3.5rem 0 2rem;
}

footer .footer-chip {
  background: var(--white);
  border-radius: 10px;
  padding: 8px 10px;
  display: inline-flex;
  margin-bottom: 1.25rem;
}

footer .footer-chip img {
  height: 34px;
  width: auto;
  display: block;
}

footer h5 {
  color: #fff;
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
}

footer p,
footer li {
  font-size: 0.9rem;
  line-height: 1.7;
}

footer a {
  color: #a7afc3;
}

footer a:hover {
  color: #fff;
}

footer .footer-disclaimer {
  font-size: 0.82rem;
  color: #6d7488;
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.75rem;
  margin-top: 2.25rem;
}

footer .powered-by {
  font-size: 0.85rem;
  color: #8b93a8;
}

footer .powered-by a {
  color: #9fc0ef;
  font-weight: 600;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  margin-right: 0.5rem;
  font-size: 1rem;
}

.social-icons a:hover {
  background: var(--gradient);
}

@media (max-width: 767px) {
  section {
    padding: 3.5rem 0;
  }
  .hero-content {
    padding: 2rem 1.4rem;
  }
}
