/* Rosswurm Legal LLC — Redesigned */
:root {
  --green: #45582F;
  --green-dark: #364623;
  --green-light: #5a7340;
  --dark-slate: #2F3641;
  --slate-light: #3d4654;
  --btn-gray: #32373C;
  --text: #272626;
  --text-light: #5a5a5a;
  --link-blue: #2F5AAE;
  --white: #ffffff;
  --off-white: #f8f7f5;
  --light-gray: #e8e6e3;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius: 6px;
  --transition: 0.25s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Times New Roman", Times, serif, Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  font-size: 18px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--link-blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: #1a3d7a; text-decoration: underline; }
a.btn:hover { text-decoration: none; }

/* ─── Skip Link ─── */
.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 9999;
  padding: 10px 20px;
  background: var(--green);
  color: var(--white);
  font-size: 15px;
  border-radius: 0 0 4px 0;
}
.skip-link:focus { left: 0; top: 0; }

/* ─── Navigation ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--green);
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: none;
  margin: 0 auto;
  padding: 0 32px;
  height: 100px;
}
.nav-inner .logo img {
  height: 58px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 6px;
  list-style: none;
  margin-left: 36px;
  flex: 1;
}
.nav-links li a {
  color: rgba(255,255,255,0.9);
  font-size: 21px;
  padding: 10px 16px;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
.nav-links li a:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  text-decoration: none;
}
.nav-links li a.schedule-link {
  background: rgba(255,255,255,0.15);
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 10px 22px;
}
.nav-links li a.schedule-link:hover {
  background: rgba(255,255,255,0.25);
}
.nav-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding-left: 14px;
  border-left: 1px solid rgba(255,255,255,0.2);
}
.nav-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: transform var(--transition), box-shadow var(--transition);
  color: var(--white);
}
.nav-social a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  text-decoration: none;
}
.nav-social a svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
}
/* brand colors */
.nav-social a[aria-label="Facebook"] { background: #1877F2; }
.nav-social a[aria-label="Instagram"] { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.nav-social a[aria-label="TikTok"] { background: #010101; }

@media (max-width: 1150px) {
  .nav-links li a { font-size: 18px; padding: 8px 12px; }
  .nav-links li a.schedule-link { padding: 8px 16px; }
  .nav-inner .logo { flex-shrink: 0; }
  .nav-inner .logo img { height: 48px; }
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  margin: 5px 0;
  border-radius: 2px;
  transition: var(--transition);
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 40px 24px;
  color: var(--white);
}
.hero-content h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.hero-content .subtitle {
  font-size: 21px;
  line-height: 1.6;
  opacity: 0.92;
  margin-bottom: 24px;
}
.hero-content .hero-text {
  font-size: 18px;
  line-height: 1.65;
  opacity: 0.9;
  margin-bottom: 18px;
}
.hero-content .btn {
  font-size: 15px;
  padding: 16px 44px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
/* accent bar under hero heading */
.hero-accent {
  width: 60px;
  height: 3px;
  background: var(--green-light);
  margin: 0 auto 20px;
}

.btn {
  display: inline-block;
  background: var(--btn-gray);
  color: var(--white) !important;
  padding: 14px 36px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn:hover {
  background: #1f2226;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.btn-primary {
  background: var(--green);
}
.btn-primary:hover {
  background: var(--green-dark);
}

/* ─── Section System ─── */
.section {
  padding: 80px 24px;
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-inner.wide {
  max-width: 1200px;
}
.section-dark {
  background: var(--dark-slate);
  color: var(--white);
}
.section-dark a:not(.btn) { color: #8ab4f8; }
.section-dark a:not(.btn):hover { color: #a8c8ff; }
.section-alt {
  background: var(--off-white);
}

.section-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 8px;
}
.section-dark .section-label { color: #8ab4f8; }

.section h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}
.section h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
}
.section p {
  margin-bottom: 18px;
  font-size: 18px;
}
.section p:last-child { margin-bottom: 0; }
.section ul {
  margin: 0 0 20px 24px;
}
.section ul li {
  margin-bottom: 8px;
  font-size: 18px;
}

/* ─── Two-column text layout ─── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; gap: 24px; }
}

/* ─── Pull Quote ─── */
.pull-quote {
  font-size: 24px;
  line-height: 1.5;
  color: var(--green);
  font-style: italic;
  padding: 24px 0 24px 32px;
  border-left: 4px solid var(--green);
  margin: 32px 0;
}
.section-dark .pull-quote {
  color: var(--white);
  border-left-color: var(--green-light);
}

/* ─── Feature Grid (Why Hire) ─── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin: 32px 0;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 3px solid var(--green-light);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.feature-card .icon {
  font-size: 28px;
  color: var(--green);
  margin-bottom: 12px;
}
.feature-card h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 0;
}

/* ─── Practice Area Cards ─── */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.practice-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  background: var(--white);
}
.practice-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.practice-card .card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.practice-card:hover .card-img {
  transform: scale(1.05);
}
.practice-card .card-body {
  padding: 20px 20px 28px;
  text-align: center;
}
.practice-card .card-body h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}
.practice-card .card-body p {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 0;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .practice-grid { grid-template-columns: 1fr; }
}

/* ─── Testimonial Cards ─── */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
  border-left: 4px solid var(--green-light);
  transition: box-shadow var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
}
.testimonial-card blockquote {
  font-style: italic;
  font-size: 18px;
  line-height: 1.8;
  color: var(--text);
}
.testimonial-card .attribution {
  margin-top: 14px;
  font-weight: 700;
  color: var(--green);
  font-style: normal;
  font-size: 16px;
}
.testimonial-card .attribution::before {
  content: "\2014\00a0";
}

/* ─── About Profile ─── */
.about-profile {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}
.about-profile .photo img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-profile .bio p { font-size: 17px; }

@media (max-width: 700px) {
  .about-profile { grid-template-columns: 1fr; }
  .about-profile .photo { max-width: 220px; }
}

/* ─── Contact Layout ─── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}
@media (max-width: 800px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.contact-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 15px;
  color: var(--text-light);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 16px;
  margin-bottom: 20px;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(69,88,47,0.12);
}
.contact-form textarea { min-height: 130px; }

.contact-info {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--light-gray);
}
.contact-info h3 {
  font-size: 22px;
  margin-bottom: 16px;
}
.contact-info p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 10px;
}
.contact-info img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 20px;
}

/* ─── CTA Banner (spans like WP: ~1170px) ─── */
.cta-banner {
  display: block;
  max-width: 1170px;
  width: 100%;
  margin: 0 auto 24px;
  padding: 0 24px;
  box-sizing: border-box;
}

/* ─── CTA Block ─── */
.cta-block {
  background: var(--dark-slate);
  color: var(--white);
  padding: 60px 24px;
  text-align: center;
}
.cta-block .cta-inner {
  max-width: 700px;
  margin: 0 auto;
}
.cta-block img {
  max-width: 100%;
  height: auto;
  margin: 0 auto 20px;
}
.cta-block h3 {
  font-size: 36px;
  margin-bottom: 12px;
}
.cta-block p {
  font-size: 18px;
  margin-bottom: 8px;
  line-height: 1.6;
}
.cta-block a {
  color: #8ab4f8;
}

/* ─── Footer ─── */
.site-footer {
  background: var(--dark-slate);
  color: rgba(255,255,255,0.85);
  padding: 48px 48px 32px;
}
.footer-inner {
  max-width: none;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer-col img {
  max-height: 64px;
  margin-bottom: 16px;
}
.footer-col p {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  margin-bottom: 6px;
}
.footer-col a { font-size: 14px; }
.footer-nav {
  list-style: none;
  text-align: right;
}
.footer-nav li { margin-bottom: 10px; }
.footer-nav li a {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
}
.footer-nav li a:hover { color: var(--green-light); }

.footer-bottom {
  max-width: none;
  margin: 24px auto 0;
  padding: 20px 48px 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

/* ─── Attorney Profile Card (Home) ─── */
.attorney-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 32px;
}
.photo-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}
.photo-card img {
  width: 100%;
  height: auto;
  display: block;
}
.photo-cap {
  padding: 14px 18px;
  background: var(--white);
  border-top: 1px solid var(--light-gray);
}
.photo-cap strong {
  display: block;
  font-size: 17px;
  color: var(--text);
}
.photo-cap span {
  display: block;
  font-size: 14px;
  color: var(--text-light);
  margin-top: 2px;
}
@media (max-width: 700px) {
  .attorney-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { text-align: left; }
}

/* ─── Page Header ─── */
.page-header {
  background: var(--dark-slate);
  color: var(--white);
  padding: 48px 24px;
  text-align: center;
}
.page-header h1 {
  font-size: 44px;
  font-weight: 700;
}

/* ─── Responsive Nav ─── */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-inner { padding: 0 16px; height: 72px; }
  .nav-inner .logo { flex-shrink: 0; }
  .nav-inner .logo img { height: 32px; }
  .nav-social { border-left: none; margin-left: 0; padding-left: 0; gap: 4px; }
  .nav-social a { width: 30px; height: 30px; }
  .nav-social a svg { width: 15px; height: 15px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--green);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  }
  .nav-links.open { display: flex; }
  .nav-links li a {
    display: block;
    text-align: center;
    font-size: 18px;
    padding: 12px 16px;
  }
  .nav-links li a.schedule-link {
    width: fit-content;
    margin: 8px auto 0;
    padding: 12px 28px;
    font-size: 17px;
  }
  .nav-social { border-left: none; margin-left: 0; padding-left: 0; gap: 4px; }
  .nav-social a { width: 30px; height: 30px; }
  .nav-social a svg { width: 15px; height: 15px; }
  .hero-content h1 { font-size: 36px; }
  .hero { min-height: 400px; }
  .section { padding: 50px 20px; }
  .section h2 { font-size: 30px; }
  .feature-grid { grid-template-columns: 1fr; }
}

/* Ultra-narrow (fold cover screen ~280-345px) */
@media (max-width: 400px) {
  .nav-inner { padding: 0 10px; }
  .nav-inner .logo img { height: 24px; }
  .nav-social a { width: 24px; height: 24px; }
  .nav-social a svg { width: 12px; height: 12px; }
}

/* ─── Utility ─── */
.text-center { text-align: center; }
.text-green { color: var(--green); }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
