:root {
  --navy: #3b1e4a;
  --navy-deep: #4b295d;
  --gold: #bb8556;
  --gold-dark: #a87243;
  --charcoal: #1f2937;
  --soft-gray: #6b7280;
  --off-white: #fafaf7;
  --white: #ffffff;
  --border-gray: #e5e7eb;
  --shadow-soft: 0 14px 40px rgba(15, 42, 71, 0.08);
  --shadow-hover: 0 18px 44px rgba(15, 42, 71, 0.12);
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --container: 1200px;
  --transition: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--off-white);
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.section-muted {
  background: var(--off-white);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--navy);
  line-height: 1.2;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  margin: 0 0 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition:
    background-color var(--transition),
    color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.button:focus-visible,
.menu-toggle:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(184, 149, 74, 0.28);
  outline-offset: 2px;
}

.button-primary {
  background: var(--gold);
  color: var(--white);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--gold-dark);
}

.button-secondary {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(15, 42, 71, 0.04);
}

.button-secondary-light {
  border-color: rgba(255, 255, 255, 0.9);
  color: var(--white);
}

.button-secondary-light:hover,
.button-secondary-light:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.button-light-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.button-light-outline:hover,
.button-light-outline:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.button-full {
  width: 100%;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.button-row-centered {
  justify-content: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid transparent;
  transition:
    box-shadow var(--transition),
    border-color var(--transition);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 26px rgba(15, 42, 71, 0.08);
  border-color: rgba(229, 231, 235, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 700;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--gold-dark);
}

.nav-cta {
  margin-left: 8px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-sm);
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--navy);
}

.hero-section,
.page-hero-section,
.contact-section,
.cta-banner {
  position: relative;
  overflow: hidden;
}

.hero-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(15, 42, 71, 0.82), rgba(15, 42, 71, 0.88)),
    url("img/birmingham-bg.jpg") center/cover no-repeat;
  opacity: 0.35;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 420px);
  gap: 64px;
  align-items: center;
  min-height: 720px;
  padding: 120px 0 104px;
}

.hero-copy h1,
.hero-copy p {
  color: var(--white);
}

.hero-subhead {
  max-width: 690px;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.86);
}

.hero-divider {
  width: 80px;
  height: 2px;
  margin-bottom: 24px;
  background: var(--gold);
}

.hero-media {
  display: flex;
  justify-content: flex-end;
}

.image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(15, 42, 71, 0.12), rgba(184, 149, 74, 0.16)),
    #eef2f7;
  border: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: var(--shadow-soft);
}

.image-frame::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(184, 149, 74, 0.4);
  border-radius: calc(var(--radius-lg) - 8px);
  pointer-events: none;
}

.image-frame img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.hero-portrait {
  width: 100%;
  max-width: 390px;
  border-radius: 24px;
}

.hero-portrait img {
  min-height: 500px;
}

.credentials-bar {
  padding: 16px 0;
  background: #f3f1ea;
  border-top: 1px solid rgba(184, 149, 74, 0.18);
  border-bottom: 1px solid rgba(184, 149, 74, 0.18);
}

.credentials-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  color: var(--navy);
  font-size: 0.97rem;
  text-align: center;
}

.credentials-bar-inner span:not(:last-child)::after {
  content: "|";
  margin-left: 22px;
  color: rgba(15, 42, 71, 0.35);
}

.trust-grid,
.services-grid,
.testimonials-grid,
.values-grid {
  display: grid;
  gap: 24px;
}

.trust-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-item {
  padding: 32px 28px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border-gray);
  box-shadow: var(--shadow-soft);
}

.trust-value {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 2rem;
  font-weight: 700;
}

.trust-label {
  margin: 0;
  color: var(--navy);
  font-weight: 500;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.split-layout-map {
  align-items: start;
}

.split-copy p:last-child {
  margin-bottom: 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-heading-centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.services-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.testimonial-card,
.value-card,
.credentials-card,
.map-card,
.form-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  box-shadow: var(--shadow-soft);
}

.service-card,
.testimonial-card,
.value-card,
.credentials-card,
.form-card {
  padding: 32px;
}

.service-card,
.testimonial-card,
.value-card {
  height: 100%;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  background: rgba(184, 149, 74, 0.12);
  color: var(--gold-dark);
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 700;
}

.map-card {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.map-card iframe {
  width: 100%;
  min-height: 460px;
  border: 0;
}

.location-list,
.badge-grid {
  display: grid;
  gap: 16px;
}

.location-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 24px 0;
}

.location-list span {
  position: relative;
  padding-left: 18px;
  color: var(--navy);
  font-weight: 500;
}

.location-list span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.note {
  margin-bottom: 0;
  color: var(--soft-gray);
  font-style: italic;
}

.steps-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.steps-grid::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: rgba(184, 149, 74, 0.5);
}

.step-card {
  position: relative;
  padding-top: 72px;
}

.step-number {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid rgba(184, 149, 74, 0.4);
  color: var(--gold-dark);
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.badge-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.badge-grid-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.badge-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 18px 16px;
  text-align: center;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-md);
  font-weight: 600;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.badge-card:hover {
  transform: translateY(-2px);
  border-color: rgba(184, 149, 74, 0.5);
  box-shadow: var(--shadow-soft);
}

.testimonials-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quote-mark {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 2.4rem;
  line-height: 1;
}

.faq-list {
  max-width: 920px;
  margin: 0 auto;
}

.faq-list details {
  padding: 24px 28px;
  background: var(--white);
  border: 1px solid var(--border-gray);
}

.faq-list details + details {
  margin-top: 16px;
}

.faq-list summary {
  list-style: none;
  color: var(--navy);
  font-weight: 600;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--gold-dark);
  font-size: 1.2rem;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  margin: 16px 0 0;
  color: var(--soft-gray);
}

.contact-section,
.cta-banner,
.page-hero-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
}

.contact-section {
  padding: 96px 0;
}

.contact-section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  gap: 48px;
  align-items: start;
}

.contact-copy h2,
.contact-copy p,
.contact-copy li,
.cta-banner h2,
.cta-banner p,
.page-hero-inner h1 {
  color: var(--white);
}

.contact-list {
  padding: 0;
  margin: 32px 0 0;
  list-style: none;
}

.contact-list li {
  margin-bottom: 16px;
}

.contact-list a {
  color: var(--white);
}

.form-card {
  border-radius: var(--radius-md);
}

.form-card form {
  display: grid;
  gap: 12px;
}

.form-card label {
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 600;
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  padding: 14px 16px;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid #d1d5db;
  border-radius: var(--radius-sm);
}

.form-card textarea {
  resize: vertical;
  min-height: 140px;
}

.form-status {
  min-height: 1.5em;
  margin: 4px 0 0;
  color: var(--soft-gray);
  font-size: 0.94rem;
}

.page-hero-section {
  padding: 96px 0;
}

.page-hero-inner {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.portrait-frame img {
  min-height: 520px;
}

.values-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.credentials-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
}

.credential-list {
  margin: 0;
  padding-left: 20px;
}

.credential-list li + li {
  margin-top: 14px;
}

.cta-banner {
  padding: 88px 0;
  text-align: center;
}

.cta-banner-inner {
  max-width: 760px;
  margin: 0 auto;
}

.thank-you-copy {
  max-width: 700px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.86);
}

.admin-hero {
  padding-bottom: 72px;
}

.admin-layout {
  display: grid;
  gap: 24px;
}

.admin-card {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: var(--radius-md);
}

.admin-card-dashboard {
  overflow: hidden;
}

.admin-card-dashboard .admin-toolbar,
.admin-card-dashboard #admin-data-status {
  padding-left: 32px;
  padding-right: 32px;
}

.admin-card-dashboard .admin-toolbar {
  padding-top: 32px;
}

.admin-card-dashboard #admin-data-status {
  padding-bottom: 24px;
}

.admin-form {
  display: grid;
  gap: 12px;
  max-width: 520px;
}

.admin-form label {
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 600;
}

.admin-form input {
  width: 100%;
  padding: 14px 16px;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid #d1d5db;
  border-radius: var(--radius-sm);
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-subtitle {
  margin-bottom: 0;
  color: var(--soft-gray);
}

.admin-table-wrap {
  overflow-x: auto;
  border: 2px solid #d6c3b1;
  border-radius: var(--radius-md);
  background: var(--white);
}

.admin-table {
  width: 100%;
  min-width: 1280px;
  border-collapse: collapse;
  table-layout: fixed;
  border: 2px solid #d6c3b1;
}

.admin-table th,
.admin-table td {
  padding: 16px;
  border: 1px solid #d6c3b1;
  vertical-align: top;
  text-align: left;
}

.admin-table thead th {
  color: var(--navy);
  background: #f8f4ef;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-align: left;
}

.admin-table tbody tr:nth-child(even) {
  background: #fcfbf8;
}

.admin-table tbody tr:hover {
  background: #f7f1ea;
}

.admin-cell {
  color: var(--charcoal);
  font-size: 0.95rem;
  line-height: 1.55;
  word-break: break-word;
}

.admin-cell-date {
  width: 130px;
  white-space: nowrap;
}

.admin-cell-name {
  width: 170px;
  font-weight: 600;
  color: var(--navy);
}

.admin-cell-email {
  width: 280px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.admin-cell-phone {
  width: 170px;
  white-space: nowrap;
}

.admin-cell-service {
  width: 160px;
}

.admin-cell-preferred {
  width: 210px;
}

.admin-cell-message {
  width: 320px;
}

.admin-empty {
  color: var(--soft-gray);
  text-align: center;
}

.admin-footer {
  grid-template-columns: 1fr 1fr 1fr;
}

.is-hidden {
  display: none;
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 32px;
  padding: 72px 0 56px;
}

.footer-grid h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.82);
}

.footer-logo {
  width: 96px;
  margin-bottom: 20px;
}

.footer-badge {
  display: inline-flex;
  padding: 10px 14px;
  color: var(--white);
  border: 1px solid rgba(184, 149, 74, 0.55);
  border-radius: 999px;
  font-size: 0.88rem;
}

.footer-bottom {
  border-top: 1px solid rgba(184, 149, 74, 0.45);
}

.footer-bottom-inner {
  display: grid;
  grid-template-columns: 1fr 1.35fr 0.8fr;
  gap: 20px;
  align-items: center;
  padding: 20px 0 28px;
  font-size: 0.88rem;
}

.footer-bottom-inner p {
  margin: 0;
}

@media (max-width: 1024px) {
  .hero-grid,
  .services-grid,
  .trust-grid,
  .testimonials-grid,
  .values-grid,
  .steps-grid,
  .footer-grid,
  .footer-bottom-inner,
  .contact-section-grid,
  .split-layout,
  .credentials-layout,
  .badge-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  .site-nav {
    gap: 20px;
  }

  .split-layout,
  .contact-section-grid {
    gap: 36px;
  }

  .badge-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .steps-grid::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .section,
  .contact-section,
  .page-hero-section,
  .cta-banner {
    padding: 64px 0;
  }

  .container {
    width: min(var(--container), calc(100% - 32px));
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .header-inner {
    min-height: 64px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand span {
    font-size: 1rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: 64px;
    right: 0;
    bottom: 0;
    width: min(320px, 88vw);
    padding: 28px 24px;
    background: var(--white);
    border-left: 1px solid var(--border-gray);
    box-shadow: -16px 0 36px rgba(15, 42, 71, 0.12);
    flex-direction: column;
    align-items: flex-start;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--transition);
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .site-nav a {
    width: 100%;
    padding: 6px 0;
  }

  .nav-cta {
    margin-left: 0;
    width: 100%;
  }

  .hero-grid,
  .services-grid,
  .trust-grid,
  .testimonials-grid,
  .values-grid,
  .steps-grid,
  .footer-grid,
  .footer-bottom-inner,
  .contact-section-grid,
  .split-layout,
  .credentials-layout,
  .badge-grid,
  .badge-grid-compact {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 40px;
    padding: 88px 0 72px;
  }

  .hero-copy h1 {
    max-width: 12ch;
  }

  .hero-media {
    justify-content: flex-start;
  }

  .hero-portrait {
    max-width: 100%;
  }

  .hero-portrait img,
  .portrait-frame img {
    min-height: 360px;
  }

  .image-frame::after {
    inset: 12px;
  }

  .credentials-bar-inner {
    flex-direction: column;
    gap: 8px;
  }

  .trust-item,
  .service-card,
  .testimonial-card,
  .value-card,
  .credentials-card,
  .form-card,
  .faq-list details {
    padding: 24px;
  }

  .map-card iframe {
    min-height: 320px;
  }

  .credentials-bar-inner span:not(:last-child)::after {
    content: "";
    margin: 0;
  }

  .location-list {
    grid-template-columns: 1fr;
  }

  .step-card {
    padding-top: 76px;
  }

  .contact-list {
    margin-top: 24px;
  }

  .form-card form {
    gap: 10px;
  }

  .footer-grid {
    padding-top: 56px;
  }

  .footer-bottom-inner {
    text-align: center;
  }

  .admin-toolbar,
  .admin-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 375px) {
  body {
    font-size: 16px;
  }

  .hero-grid {
    padding-top: 76px;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: 2.2rem;
  }

  .hero-subhead {
    font-size: 1rem;
  }

  .button-row {
    flex-direction: column;
  }

  .button-row .button {
    width: 100%;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .site-nav {
    width: 100%;
  }

  .location-list span {
    padding-left: 16px;
  }
}
