/* Graziano Law Group, PLLC — site stylesheet
   Modern, bold redesign. Brand palette: royal blue + leaf green. */

:root {
  --blue: #0d4b93;
  --blue-dark: #082f5e;
  --blue-light: #1b63b3;
  --blue-pale: #eaf1fb;
  --green: #7dd450;
  --green-dark: #57b52e;
  --green-light: #a3e57f;
  --green-pale: #eefbe6;
  --ink: #12161f;
  --gray: #5b6270;
  --gray-light: #8890a0;
  --bg: #ffffff;
  --bg-alt: #f4f8f2;
  --border: #e6ebe2;
  --shadow-sm: 0 2px 10px rgba(13, 75, 147, 0.08);
  --shadow-md: 0 12px 30px rgba(13, 75, 147, 0.14);
  --shadow-lg: 0 24px 60px rgba(8, 47, 94, 0.22);
  --gradient-blue: linear-gradient(135deg, #0d4b93 0%, #1b63b3 55%, #082f5e 100%);
  --gradient-accent: linear-gradient(90deg, #7dd450 0%, #4fb8d4 50%, #0d4b93 100%);
  --gradient-green: linear-gradient(135deg, #7dd450 0%, #57b52e 100%);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --serif: 'Georgia', 'Cambria', serif;
  --heading: 'Poppins', 'Segoe UI', Helvetica, Arial, sans-serif;
  --sans: 'Inter', 'Segoe UI', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open-body { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--heading);
  color: var(--blue-dark);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  font-weight: 800;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.25rem; font-weight: 700; }

p { margin: 0 0 1.1em; color: var(--gray); }

a { color: var(--blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--green-dark); }

img { max-width: 100%; display: block; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Top contact bar ---------- */
.topbar {
  background: var(--blue-dark);
  color: #b7cbe8;
  font-size: 0.82rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 9px;
  padding-bottom: 9px;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar a { color: #e7ebf4; font-weight: 500; }
.topbar a:hover { color: var(--green-light); }
.topbar .sep { margin: 0 10px; opacity: 0.35; }
.topbar .virtual-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(125, 212, 80, 0.16);
  color: var(--green-light);
  padding: 2px 10px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* ---------- Header / nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s ease, background .25s ease;
}
header.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 14px;
  position: relative;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; }
.brand .name {
  font-family: var(--heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--blue-dark);
  letter-spacing: -0.02em;
}
.brand .tagline {
  font-size: 0.72rem;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-weight: 700;
  margin-top: 2px;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
}
nav.main-nav ul a {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 30px;
  display: inline-block;
  transition: background .2s ease, color .2s ease;
}
nav.main-nav ul a:hover { background: var(--blue-pale); color: var(--blue); }
nav.main-nav ul a.active { background: var(--blue); color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: none;
  background: var(--blue-pale);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  z-index: 110;
}
.nav-toggle span {
  width: 20px;
  height: 2.5px;
  background: var(--blue-dark);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  font-weight: 700;
  letter-spacing: 0.1px;
  border-radius: 50px;
  font-size: 0.96rem;
  font-family: var(--heading);
  border: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary {
  background: var(--gradient-green);
  color: var(--blue-dark);
  box-shadow: 0 10px 24px rgba(125, 212, 80, 0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(125, 212, 80, 0.45); color: var(--blue-dark); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.55);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); color: #fff; transform: translateY(-3px); }
.btn-outline-blue {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn-outline-blue:hover { background: var(--blue); color: #fff; transform: translateY(-3px); }
.btn-nav {
  padding: 10px 22px;
  font-size: 0.88rem;
}
.btn-block { width: 100%; text-align: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--gradient-blue);
  color: #fff;
  padding: 110px 0 130px;
  text-align: center;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  z-index: 0;
}
.hero::before {
  width: 420px; height: 420px;
  background: var(--green);
  top: -180px; right: -120px;
  opacity: 0.35;
}
.hero::after {
  width: 320px; height: 320px;
  background: #4fb8d4;
  bottom: -160px; left: -100px;
  opacity: 0.25;
}
.hero .container { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.28);
  padding: 8px 18px;
  border-radius: 40px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 26px;
  color: #eafbe0;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(125,212,80,0.25);
}
.hero h1 { color: #fff; max-width: 820px; margin-left: auto; margin-right: auto; }
.hero h1 .accent { color: var(--green-light); }
.hero .lede {
  font-size: 1.18rem;
  color: #d7e3f5;
  max-width: 680px;
  margin: 0 auto 2.2em;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Sections ---------- */
section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-header.left { text-align: left; margin-left: 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-pale);
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 16px;
}
.eyebrow.green { background: var(--green-pale); color: var(--green-dark); }

/* ---------- Practice area cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--gradient-blue);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: 10px; color: var(--blue-dark); }
.card p { color: var(--gray); margin-bottom: 14px; font-size: 0.96rem; }
.card a.more { font-weight: 700; font-size: 0.9rem; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.card a.more:hover { color: var(--green-dark); }
.virtual-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--green-pale);
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 11px;
  border-radius: 20px;
  margin-bottom: 14px;
}

/* ---------- Two column ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.stat-strip {
  background: var(--blue-dark);
  color: #fff;
  padding: 46px 0;
}
.stat-strip .grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-strip .num {
  font-family: var(--heading);
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(90deg, #a3e57f, #7dd450);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
}
.stat-strip .label {
  font-size: 0.8rem;
  color: #a9bcd9;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
}

/* ---------- Virtual services block ---------- */
.virtual-section {
  background: var(--gradient-blue);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 64px 50px;
  position: relative;
  overflow: hidden;
}
.virtual-section::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: var(--green);
  opacity: 0.25;
  filter: blur(80px);
  border-radius: 50%;
  top: -100px; right: -60px;
}
.virtual-section .container-inner { position: relative; z-index: 1; }
.virtual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}
.virtual-item { }
.virtual-item .vi-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.virtual-item h4 { color: #fff; font-family: var(--heading); font-size: 1.05rem; margin-bottom: 8px; }
.virtual-item p { color: #d7e3f5; font-size: 0.92rem; margin-bottom: 0; }

/* ---------- Practice area detail blocks ---------- */
.practice-block {
  border-bottom: 1px solid var(--border);
  padding: 50px 0;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 44px;
}
.practice-block:last-child { border-bottom: none; }
.practice-block .label-col .icon-badge {
  width: 56px; height: 56px;
  border-radius: 18px;
  background: var(--gradient-blue);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.practice-block ul { margin: 16px 0 0; padding-left: 0; list-style: none; color: var(--gray); }
.practice-block li { margin-bottom: 10px; padding-left: 26px; position: relative; }
.practice-block li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--green);
}

/* ---------- About page ---------- */
.attorney-wrap {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
}
.attorney-photo {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
  outline: 1px solid var(--border);
}
.credentials {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  border-top: 1px solid var(--border);
}
.credentials li {
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 10px;
}
.credentials li .k {
  min-width: 130px;
  font-weight: 700;
  color: var(--blue-dark);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.credentials li .v { color: var(--gray); }

.note-box {
  background: var(--bg-alt);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin-top: 26px;
  font-size: 0.92rem;
  color: var(--gray);
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}
.contact-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.contact-item:last-child { border-bottom: none; }
.contact-item .ic {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--gradient-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item .k { font-weight: 700; color: var(--blue-dark); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 3px;}
.contact-item .v { color: var(--gray); }

.virtual-note {
  background: var(--green-pale);
  border: 1px solid #cdeeb8;
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin-top: 24px;
  font-size: 0.9rem;
  color: #3c6b22;
  display: flex;
  gap: 12px;
}

form.inquiry { display: flex; flex-direction: column; gap: 18px; }
form.inquiry label { font-size: 0.85rem; font-weight: 700; color: var(--blue-dark); text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 6px; display: block; }
form.inquiry input, form.inquiry select, form.inquiry textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-size: 0.95rem;
  background: var(--bg-alt);
  transition: border-color .2s ease, background .2s ease;
}
form.inquiry input:focus, form.inquiry select:focus, form.inquiry textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
}
form.inquiry textarea { resize: vertical; min-height: 120px; }
form.inquiry button {
  border: none;
  cursor: pointer;
  width: fit-content;
}

.map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 34px;
  box-shadow: var(--shadow-sm);
}
.map-wrap iframe { display: block; width: 100%; height: 320px; border: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--gradient-blue);
  color: #fff;
  text-align: center;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  width: 360px; height: 360px;
  background: var(--green);
  opacity: 0.2;
  filter: blur(90px);
  border-radius: 50%;
  bottom: -180px; left: 50%;
  transform: translateX(-50%);
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d7e3f5; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--blue-dark);
  color: #a9bcd9;
  padding: 56px 0 28px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 34px;
}
.footer-grid h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; font-family: var(--heading); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: #a9bcd9; }
.footer-grid a:hover { color: var(--green-light); }
.footer-bottom {
  border-top: 1px solid #1b3d68;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: #7891b5;
}
.disclaimer {
  font-size: 0.78rem;
  color: #6c85a8;
  max-width: 900px;
  margin-top: 16px;
  line-height: 1.6;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .virtual-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  nav.main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 82vw);
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 100px 28px 40px;
    gap: 8px;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 105;
  }
  nav.main-nav.open { transform: translateX(0); }
  nav.main-nav ul {
    flex-direction: column;
    gap: 4px;
    width: 100%;
  }
  nav.main-nav ul a {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    width: 100%;
  }
  nav.main-nav .btn-nav {
    margin-top: 14px;
    text-align: center;
  }
  .nav-toggle { display: flex; }

  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .virtual-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .stat-strip .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .practice-block { grid-template-columns: 1fr; gap: 18px; }
  .attorney-wrap { grid-template-columns: 1fr; }
  .attorney-photo { max-width: 320px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  section { padding: 64px 0; }
  .hero { padding: 90px 0 100px; }
  .virtual-section { padding: 44px 26px; }
}

@media (max-width: 520px) {
  h1 { font-size: 2.1rem; }
  .container { padding: 0 20px; }
  .hero-actions, .cta-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; text-align: center; }
  .topbar { font-size: 0.7rem; }
  .topbar .container { flex-direction: column; align-items: flex-start; gap: 8px; }
  .topbar .container > div:last-child { display: flex; flex-wrap: wrap; align-items: center; row-gap: 4px; }

  .nav-wrap { padding: 12px 0; gap: 10px; }
  .brand { gap: 10px; }
  .brand-logo { width: 38px; height: 38px; }
  .brand .name {
    font-size: clamp(0.95rem, 4.3vw, 1.05rem);
    line-height: 1.2;
  }
  .brand .tagline {
    font-size: 0.62rem;
    letter-spacing: 0.8px;
    margin-top: 1px;
  }
  .nav-toggle { width: 38px; height: 38px; }
}
