:root {
  --color-bg: #f4f6f8;
  --color-surface: #ffffff;
  --color-text: #23303f;
  --color-muted: #4f5f70;
  --color-line: #d8e0e8;
  --color-brand-green: #35d764;
  --color-brand-green-dark: #239744;
  --color-brand-blue: #4359e9;
  --color-brand-gold: #d6ba73;
  --color-brand-navy: #242f40;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-card: 0 18px 40px -28px rgba(29, 43, 56, 0.55);
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Raleway", "Segoe UI", Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
}

a {
  color: var(--color-brand-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.link-highlight {
  color: var(--color-brand-blue);
  text-decoration: none;
  background-image: linear-gradient(180deg, transparent 58%, rgba(53, 215, 100, 0.28) 58%);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 78%;
  transition: background-size 0.2s ease, background-image 0.2s ease;
}

.link-highlight:hover {
  text-decoration: none;
  background-image: linear-gradient(180deg, transparent 54%, rgba(53, 215, 100, 0.42) 54%);
  background-size: 100% 100%;
}

.link-highlight:focus-visible {
  outline: 2px solid rgba(53, 215, 100, 0.55);
  outline-offset: 2px;
}

.accepted-items-link {
  color: var(--color-brand-blue);
  text-decoration: none;
  background-image: linear-gradient(180deg, transparent 60%, rgba(53, 215, 100, 0.24) 60%);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 70%;
  transition: background-size 0.2s ease, background-image 0.2s ease;
}

.accepted-items-link:hover {
  text-decoration: none;
  background-image: linear-gradient(180deg, transparent 56%, rgba(53, 215, 100, 0.34) 56%);
  background-size: 100% 96%;
}

.accepted-items-link:focus-visible {
  outline: 2px solid rgba(53, 215, 100, 0.55);
  outline-offset: 2px;
}

.accepted-items-cta {
  display: inline-block;
  color: #1a4f2b;
  text-decoration: none;
  font-weight: 600;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: rgba(53, 215, 100, 0.16);
  border: 1px solid rgba(35, 151, 68, 0.28);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.accepted-items-cta:hover {
  text-decoration: none;
  background: rgba(53, 215, 100, 0.24);
  border-color: rgba(35, 151, 68, 0.4);
}

.accepted-items-cta:focus-visible {
  outline: 2px solid rgba(53, 215, 100, 0.55);
  outline-offset: 2px;
}

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

h1,
h2,
h3,
h4 {
  margin: 0 0 0.65rem;
  line-height: 1.2;
  color: #1d2f40;
  font-family: "Bitter", Georgia, serif;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0;
  padding-left: 1.2rem;
}

.top-bar {
  background: var(--color-brand-navy);
  color: #f5e0b7;
  font-size: 0.95rem;
}

.top-bar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.55rem 1rem;
}

.top-bar a {
  color: #f5e0b7;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--color-line);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 174px;
  height: 107px;
}

.menu-toggle {
  border: 1px solid var(--color-line);
  background: #fff;
  color: #1d2f40;
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-bottom: 1px solid var(--color-line);
  display: none;
}

.site-nav.is-open {
  display: block;
}

.site-nav ul {
  max-width: var(--container);
  margin: 0 auto;
  list-style: none;
  padding: 0.5rem 1rem 0.9rem;
}

.site-nav a {
  display: block;
  color: #2b3e50;
  font-weight: 700;
  padding: 0.6rem 0;
}

.site-nav a[aria-current="page"] {
  color: #009900;
}

.page-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.25rem 1rem 1.75rem;
}

.section {
  margin: 1.6rem 0;
}

#accepted-items {
  scroll-margin-top: 7.75rem;
}

#accepted-items > h2 {
  font-weight: 700;
  color: #1d2f40;
}

#accepted-items:target {
  animation: accepted-items-target-flash 1.6s ease-out 1;
}

@keyframes accepted-items-target-flash {
  0% {
    background-color: rgba(53, 215, 100, 0.14);
    box-shadow: 0 0 0 2px rgba(53, 215, 100, 0.3);
    border-radius: var(--radius-sm);
  }
  100% {
    background-color: rgba(53, 215, 100, 0);
    box-shadow: 0 0 0 0 rgba(53, 215, 100, 0);
    border-radius: var(--radius-sm);
  }
}

.panel {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 26px -24px rgba(29, 43, 56, 0.65);
  padding: 1.25rem;
}

.panel + .panel {
  margin-top: 1rem;
}

.hero {
  display: grid;
  gap: 1.4rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
}

.hero h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  color: var(--color-brand-blue);
  margin-bottom: 1rem;
}

.hero-image {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.hero.hero-home {
  grid-template-columns: 1fr;
  position: relative;
  isolation: isolate;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: clamp(2.1rem, 6vw, 3.4rem) clamp(1.1rem, 4.4vw, 2.6rem);
  min-height: clamp(320px, 58vw, 500px);
  background-image:
    linear-gradient(90deg, rgba(15, 23, 42, 0.78) 0%, rgba(15, 23, 42, 0.56) 42%, rgba(15, 23, 42, 0.22) 68%, rgba(15, 23, 42, 0) 100%),
    url("../images/pensacola-electronics-pickup-hero.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  box-shadow: var(--shadow-card);
}

.hero-copy {
  max-width: min(100%, 680px);
}

.hero-home h1,
.hero-home h2,
.hero-home p {
  color: #f8fbff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.28);
}

.hero-home h2 {
  color: #dbe8ff;
}

.hero-home p {
  max-width: 62ch;
}

.hero-home p a {
  color: #c5ffd6;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero-home p a:hover {
  color: #e0ffe9;
}

.hero-home .btn-row {
  margin-top: 0.35rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn {
  display: inline-block;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.78rem 1.1rem;
  border: 2px solid transparent;
  text-decoration: none;
  transition: 0.2s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--color-brand-green);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-brand-green-dark);
}

.btn-secondary {
  background: #fff;
  border-color: var(--color-brand-blue);
  color: var(--color-brand-blue);
}

.btn-secondary:hover {
  background: #f3f5ff;
}

.btn-ghost {
  background: transparent;
  color: #72f297;
  border-color: #72f297;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 1.2rem;
}

.card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.card h3,
.card h4 {
  margin-bottom: 0.5rem;
}

.icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: #eef2f8;
  color: #1d2f40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.feature-card img {
  width: 64px;
  height: 64px;
  margin-bottom: 0.75rem;
}

.trust-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 0.75rem;
  color: var(--color-brand-green);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

.cta-band {
  background: #4359e9;
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 1.35rem;
}

.cta-band h2,
.cta-band h3 {
  color: #fff;
}

.cta-band p {
  color: #f8fbff;
  margin-bottom: 1.2rem;
}

.cta-band a {
  color: #f8fbff;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(248, 251, 255, 0.9);
}

.cta-band a:hover {
  color: #ffffff;
  text-decoration-color: #ffffff;
}

.cta-band a:focus-visible {
  outline: 2px solid rgba(248, 251, 255, 0.95);
  outline-offset: 2px;
  border-radius: 2px;
}

.cta-band .btn-primary {
  background: #35d764;
}

.cta-band .btn-secondary {
  border-color: #fff;
  color: #fff;
  background: transparent;
}

details.faq-item {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 12px;
  padding: 0.8rem 1rem;
}

details.faq-item + details.faq-item {
  margin-top: 0.65rem;
}

details.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: #1d2f40;
}

details.faq-item p {
  margin-top: 0.7rem;
  margin-bottom: 0;
  color: #36495c;
}

.list-card {
  background: transparent;
  border: 0;
  border-left: 3px solid var(--color-line);
  border-radius: 0;
  padding: 0.15rem 0 0.15rem 0.95rem;
}

.list-card h3 {
  color: var(--color-brand-blue);
}

.list-card ul {
  margin-top: 0.4rem;
}

.testimonial {
  border-left: 4px solid var(--color-brand-green);
  padding-left: 1rem;
}

.testimonial cite {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  font-weight: 700;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

.form-row {
  display: grid;
  gap: 0.9rem;
}

label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.32rem;
}

input,
textarea {
  width: 100%;
  border: 2px solid #dce2e8;
  border-radius: 10px;
  font: inherit;
  padding: 0.7rem 0.75rem;
  color: #1d2f40;
  background: #fff;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-brand-blue);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.form-note {
  font-size: 0.92rem;
  color: var(--color-muted);
  margin-top: 0.35rem;
}

.photo-upload-group {
  margin-top: 0.2rem;
}

.photo-upload-control {
  position: relative;
  border-radius: 14px;
}

.photo-upload-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.photo-upload-trigger {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.38rem;
  width: 100%;
  min-height: 128px;
  border: 2px solid #8ea5dc;
  border-radius: 14px;
  background: linear-gradient(140deg, #eef4ff 0%, #f7fbff 100%);
  color: #1b2f45;
  padding: 0.95rem 1rem;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.photo-upload-control:hover .photo-upload-trigger {
  border-color: #6b89d5;
  background: linear-gradient(140deg, #e9f2ff 0%, #f4faff 100%);
}

.photo-upload-control:focus-within .photo-upload-trigger {
  border-color: var(--color-brand-blue);
  box-shadow: 0 0 0 3px rgba(67, 89, 233, 0.18);
}

.photo-upload-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  color: #1e6c35;
  background: rgba(53, 215, 100, 0.24);
}

.photo-upload-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.photo-upload-title {
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.25;
}

.photo-upload-subtitle {
  font-size: 0.94rem;
  color: #37506a;
  line-height: 1.4;
}

.photo-upload-status {
  margin-top: 0.5rem;
  font-weight: 700;
  color: #2b475e;
}

.photo-upload-group.has-files .photo-upload-trigger {
  border-color: rgba(35, 151, 68, 0.6);
  background: linear-gradient(140deg, #e9fbef 0%, #f2fff5 100%);
}

.photo-upload-group.has-files .photo-upload-status {
  color: #1c5a34;
}

.form-notice-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(27, 36, 46, 0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.form-notice {
  width: min(560px, 100%);
  background: #fff;
  border-radius: 14px;
  border: 1px solid #d8e0e8;
  box-shadow: 0 26px 40px -30px rgba(16, 24, 32, 0.75);
  padding: 1rem 1rem 1.1rem;
}

.form-notice:focus {
  outline: none;
}

.form-notice-overlay.is-success .form-notice {
  border-top: 4px solid var(--color-brand-green);
}

.form-notice-overlay.is-error .form-notice {
  border-top: 4px solid #d97b2a;
}

.form-notice-title {
  font-size: 1.2rem;
  margin: 0 0 0.45rem;
}

.form-notice-message {
  margin: 0 0 0.85rem;
  color: #2e3d4d;
}

.form-notice-close {
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: #fff;
  color: #243548;
  font: inherit;
  font-weight: 700;
  padding: 0.48rem 0.85rem;
  cursor: pointer;
}

.form-notice-close:hover {
  background: #f4f7fa;
}

.form-notice-close:focus-visible {
  outline: 2px solid var(--color-brand-blue);
  outline-offset: 2px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0.25rem 0 0.15rem;
}

.form-check input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin-top: 0.18rem;
  padding: 0;
  border: 1px solid #c7d2de;
  border-radius: 3px;
  accent-color: var(--color-brand-green);
  flex: 0 0 auto;
}

.form-check label {
  display: inline;
  margin: 0;
  line-height: 1.45;
}

.form-check-note {
  margin-top: 0.15rem;
  margin-bottom: 0.65rem;
}

.contact-highlight {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1d2f40;
}

.badge {
  display: inline-block;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #fff;
  background: var(--color-brand-blue);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-size: 0.83rem;
  text-transform: uppercase;
}

.content-block {
  padding: 0.2rem 0;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 0.5rem 0;
}

.brand-mark img {
  width: min(320px, 85%);
}

.feature-card {
  padding: 0.35rem 0.1rem 0.6rem;
  border-top: 1px solid var(--color-line);
}

.feature-card h3 {
  margin-bottom: 0.45rem;
}

.stat-item {
  background: transparent;
  border-left: 3px solid #d3dbe5;
  padding: 0.3rem 0.5rem 0.3rem 0.85rem;
}

.stat-item .badge {
  margin-bottom: 0.45rem;
}

.media-single {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.media-single img {
  width: min(100%, 620px);
}

.process-step {
  border-top: 1px solid var(--color-line);
  padding: 0.35rem 0.15rem 0.55rem;
}

.process-step h3 {
  margin-bottom: 0.45rem;
}

.contact-method {
  border-top: 1px solid var(--color-line);
  padding: 0.35rem 0.15rem 0.55rem;
}

.contact-method:first-child {
  border-top: 0;
}

.section > h2 {
  margin-bottom: 0.9rem;
}

.site-footer {
  margin-top: 2rem;
  background: #fff;
  border-top: 1px solid var(--color-line);
}

.footer-nav {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1rem;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-nav a {
  font-weight: 700;
  color: #2b3e50;
}

.footer-bottom {
  border-top: 1px solid var(--color-line);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.85rem 1rem 1.25rem;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.not-found {
  min-height: 48vh;
  display: grid;
  place-items: center;
  text-align: center;
}

@media (min-width: 720px) {
  .site-nav {
    position: static;
    display: block;
    border: 0;
    background: transparent;
  }

  .site-nav ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.1rem;
    padding: 0;
  }

  .site-nav a {
    padding: 0;
  }

  .menu-toggle {
    display: none;
  }

  .hero.hero-with-media {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .hero.hero-home {
    grid-template-columns: 1fr;
    padding: clamp(2.8rem, 5.2vw, 4.1rem) clamp(2rem, 4vw, 3.3rem);
    min-height: clamp(360px, 42vw, 530px);
    background-position: center right;
  }

  .section {
    margin: 2rem 0;
  }

  #accepted-items {
    scroll-margin-top: 8.25rem;
  }

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

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

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

  .form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-nav ul {
    display: flex;
    gap: 1.2rem;
  }
}

@media (min-width: 980px) {
  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .panel {
    padding: 1.5rem;
  }

  .section {
    margin: 2.2rem 0;
  }
}
