/* =========================================================
   Global Reset
   ========================================================= */
/* Remove default margin */
* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth !important;
  overflow-x: hidden;
}

html,
body {
  height: 100%;
  width: 100%;
}

hr {
  width: 100%;
  margin: 5rem auto !important;
  width: 2px solid gray;
}

body {
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-top: 0;
}

body.is-loading {
  padding-top: 0 !important;
}

/* Anchor reset */
a {
  color: inherit;
  text-decoration: none;
}

/* Remove list styles */
ul,
ol {
  list-style: none;
  padding: 0;
}

/* Improve text wrapping */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

hr {
  width: 90%;
  padding: 0;
  margin: 0 auto;
  background-color: #bbbbbb;
}

#header {
  position: absolute;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* ---------- Hide Home link on home page ---------- */
/* .vw-subnav #vw-home-link {
  display: none;
}*/
:root{
  --hero-image: url("../../images/hero-banner-os.png"); /* replace with your actual path */
  --navy: #0f2a3a;
  --gold: #eec159;
  --sand: #f4efe8;
  --text: #14212b;
}

/* -------------------------------- 
    HERO / BANNER 
------------------------------------ */
/* Set your hero image here (generated banner) */
.hero {
  position: relative;
  width: 100vw;
  height: 67vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: white;
  margin-top: -2rem;
  padding-top: 0;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  padding-bottom: calc(4.5rem + env(safe-area-inset-bottom));
}


/* Ensure nav does not push hero down */
.attorney-topnav,
.quick-navbar {
  margin-bottom: 0;
}


.hero-media {
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15,42,58,0.88) 0%, rgba(15,42,58,0.55) 45%, rgba(15,42,58,0.20) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.35) 100%);
}

.hero-content {
  position: relative;
  width: 100%;
  padding: clamp(1.25rem, 3.5vw, 3rem);
  color: #fff;
  margin-left: 3rem;
}

.hero-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

.hero-title {
  margin: 0 0 0.75rem;
  font-size: 3rem;
  line-height: 1.08;
  font-weight: 750;
  text-wrap: balance;
  color: #fff;
}

.hero-subtitle {
  margin: 0 0 1.25rem;
  width: fit-content;
  font-size: 1.25;
  line-height: 1.45;
  color: rgba(255,255,255,0.92);
}

/* Buttons */
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.05rem;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 650;
  line-height: 1;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease, border-color 120ms ease;
}

.hero-btn:focus {
  outline: 3px solid rgba(201,162,74,0.55);
  outline-offset: 3px;
}

.hero-btn-primary {
  background: linear-gradient(180deg, #d4b05c, #b8923f);
  color: #1b1b1b;
  box-shadow: 0 10px 24px rgba(0,0,0,0.22);
}

.hero-btn-primary:hover{
  background-color: #d6ae50;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.28);
}

.hero-btn-secondary{
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.35);
  color: #fff;
  backdrop-filter: blur(6px);
}

.hero-btn-secondary:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.45);
}

/* HERO — MOBILE STYLES */

/* Phones */
@media (max-width: 768px) {

  .hero {
    height: auto;
    height: 66vh;
    margin-top: -3rem;
    padding-bottom: calc(3.5rem + env(safe-area-inset-bottom));
  }

  .hero-media {
    background-position: center top;
  }

  .hero-content {
    margin-left: 0 auto;
    padding: 1.5rem 1.25rem;
    text-align: center;
  }

  .hero-eyebrow {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
  }

  .hero-title {
    font-size: clamp(1.85rem, 7vw, 2.25rem);
    line-height: 1.15;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.45;
    max-width: 40ch;
  }

  /* Buttons stack and fill width */
  .hero-btn {
    width: 50%;
    min-height: 48px; /* accessibility tap target */
  }
}

/* Landscape phones */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-btn,
  .hero-btn:hover {
    transform: none;
    box-shadow: none;
  }
}


/* -------------------------
  QUICK ACTION BUTTONS 
----------------------------- */

.quick-actions {
  position: relative;
  margin: 1rem auto;
  padding-top: 0;
}

.quick-actions-grid {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
}

/* Card */
.quick-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  height: 10rem;
  padding: 1.25rem 1rem;
  background-color: #ffffff;
  border: 1px solid #cfcfcf;
  border-top: none;
  border-bottom: none;
  text-align: center;
  text-decoration: none;
  color: #14212b;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

/* Icon */
.quick-card-icon {
  font-size: 2.5rem;
  color: #0f2a3a; /* county navy */
}

/* Label */
.quick-card-label {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
}

.quick-card-icon,
.quick-card-label {
  transition: transform .5s ease;
  will-change: transform;
}

.quick-card:hover .quick-card-icon,
.quick-card:focus-visible .quick-card-icon {
  transform: scale(1.1);
  color: #c9a24a;
}

.quick-card:hover .quick-card-label,
.quick-card:focus-visible .quick-card-label {
  transform: scale(1.05);
  color: #c9a24a;
}


.quick-card:focus-visible {
  outline: 3px solid rgba(201, 162, 74, 0.45);
  outline-offset: 3px;
}

/* Mobile spacing */
@media (max-width: 480px) {
  .quick-card {
    padding: 1.1rem 0.9rem;
    border: none !important;
    width: 80%;
    margin: 0 auto;
  }

  .quick-actions #quick-card-middle{
    border-top: 1px solid #cfcfcf !important;
    border-bottom: 1px solid #cfcfcf !important;
  }

  .quick-card-icon {
    font-size: 1.85rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .quick-card {
    transition: none;
  }
}

/* =========================
   MISSION / WELCOME BAND
========================= */
.welcome-section {
  position: relative;
  background: linear-gradient(
      180deg,
      rgba(15, 42, 58, 0.92),
      rgba(15, 42, 58, 0.85)
    ),
    url("../../images/mission-texture.png"); /* optional subtle texture */
  background-size: cover;
  background-position: center;

  padding: clamp(3rem, 6vw, 4.5rem) 1rem;
  text-align: center;
  color: #ffffff;
  margin-top: 0;
}

.welcome-inner {
  max-width: 760px;
  margin: 0 auto;
}

/* Title with divider lines */
.welcome-section h2 {
  position: relative;
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.welcome-section h2::before,
.welcome-section h2::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 80px;
  height: 1px;
  background: rgba(255, 255, 255, 0.6);
}

.welcome-section h2::before {
  right: 100%;
  margin-right: 1rem;
}

.welcome-section h2::after {
  left: 100%;
  margin-left: 1rem;
}

/* Mission text */
.welcome-section p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.75rem;
}

/* CTA button */
.mission-cta {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1b1b1b;
  background: linear-gradient(180deg, #d4b05c, #b8923f);
  border-radius: 0.45rem;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.mission-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .welcome-section h3::before,
  .welcome-section h3::after {
    width: 45px;
  }

  .welcome-section p {
    font-size: 0.95rem;
  }
}

/* -----------------------
   Video Block
------------------------ */

.a-content iframe {
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: 0.75rem;
  box-shadow: 0 14px 32px rgba(0,0,0,0.18);
  margin: 1.5rem auto 2.5rem;
  display: block;
}

.a-content h3 {
  position: relative;
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.about-flex {
  display: block;
  column-count: 1;     
}

.attorney-img {
  float: left;
  width: 220px;
  margin: 0 20px 15px 0;
  border-radius: .5rem;
}

.about-flex::after {
  content: "";
  display: block;
  clear: both;
}

@media (max-width: 768px) {
  .about-flex {
    flex-direction: column;
  }
}

#what-we-do p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.attorney-list {
  list-style-type: disc;
  padding: 0;
  margin-top: 1.5rem;
  margin-bottom: 3rem;
  font-size: .99rem;
}

.attorney-list li {
  position: relative;
  padding-left: 0;
  margin-bottom: .75rem;
  margin-left: 3rem;
  line-height: 1.6;
}
