/* ==========================================================================
   ImageTek of Louisiana — modern stylesheet (2024 rebuild of the 2007 site)
   Pure CSS, no frameworks, no web fonts (system stack) — works fully offline.
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --navy: #1c2b4b;
  --navy-dark: #14203a;
  --navy-soft: #2c3f66;
  --copper: #a5845c;
  --copper-dark: #8a6b45;
  --sand: #f5f1e8;
  --sand-deep: #ece5d6;
  --card: #ffffff;
  --text: #2b2f36;
  --muted: #64707f;
  --line: #e4ded1;
  --ok: #2f7d4f;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(20, 32, 58, .08);
  --shadow-lg: 0 16px 40px rgba(20, 32, 58, .14);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --container: 1120px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-color: rgba(28, 43, 75, .35); text-underline-offset: 2px; }
a:hover { color: var(--copper-dark); }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 2px; border-radius: 3px; }

h1, h2, h3, h4 { color: var(--navy); line-height: 1.22; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
li { margin: .35em 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
table { border-collapse: collapse; width: 100%; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff;
  padding: .6rem 1rem; z-index: 100; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 3.4rem 0; }
.section-tight { padding: 2.2rem 0; }
.section-alt { background: var(--sand-deep); }
.center { text-align: center; }
.lead { font-size: 1.14rem; color: var(--muted); max-width: 62ch; }
.mt-0 { margin-top: 0; }
.grid-note { font-size: .92rem; color: var(--muted); }

/* ---------- 3. Top bar + header ---------- */
.topbar { background: var(--navy-dark); color: #cfd8e6; font-size: .86rem; }
.topbar .container { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; justify-content: space-between; padding-top: .45rem; padding-bottom: .45rem; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: #e8cfae; }
.topbar .tagline { opacity: .8; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 14px rgba(20, 32, 58, .06);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; margin-right: auto; }
.brand img { max-height: 56px; width: auto; }
.brand img[aria-hidden="true"] { max-height: 52px; }

/* Desktop dropdown nav */
.menu { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu > li > a {
  display: block; padding: .65rem .8rem; font-weight: 600; font-size: .95rem;
  color: var(--navy); text-decoration: none; border-radius: var(--radius-sm);
  border-bottom: 3px solid transparent;
}
.menu > li > a:hover { background: var(--sand-deep); }
.menu > li > a[aria-current="page"] { color: var(--copper-dark); border-bottom-color: var(--copper); border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.sub {
  position: absolute; top: 100%; left: 0; min-width: 265px; z-index: 60;
  list-style: none; margin: 0; padding: .5rem 0;
  background: #fff; border: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  display: none;
}
.sub li { margin: 0; }
.sub a { display: block; padding: .5rem 1.1rem; font-size: .92rem; color: var(--navy); text-decoration: none; }
.sub a:hover { background: var(--sand); color: var(--copper-dark); }
.sub a[aria-current="page"] { color: var(--copper-dark); font-weight: 600; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub { display: block; }
.nav-toggle, .nav-toggle-label { display: none; }

/* ---------- 4. Hero + breadcrumbs ---------- */
.hero {
  background:
    radial-gradient(1000px 380px at 85% -10%, rgba(165, 132, 92, .35), transparent 60%),
    linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-soft) 100%);
  color: #e8edf5;
  padding: 4rem 0 4.2rem;
}
.hero .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero-kicker {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #e8cfa8; margin-bottom: 1rem;
}
.hero h1 { color: #fff; margin-bottom: .6rem; }
.hero p { color: #ccd6e4; max-width: 55ch; }
.hero .btn-row { margin-top: 1.6rem; }
.hero-img { border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; border: 4px solid rgba(255,255,255,.14); }
.hero-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 2rem; }
.hero-stats div { min-width: 130px; }
.hero-stats strong { display: block; font-size: 1.5rem; color: #fff; }
.hero-stats span { font-size: .85rem; color: #b9c4d4; }

.breadcrumbs { background: var(--sand-deep); border-bottom: 1px solid var(--line); font-size: .88rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: .65rem 0; }
.breadcrumbs li + li::before { content: "›"; margin: 0 .45rem; color: var(--muted); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--copper-dark); }
.breadcrumbs [aria-current="page"] { color: var(--navy); font-weight: 600; }

.page-hero {
  background:
    radial-gradient(900px 300px at 15% -20%, rgba(165, 132, 92, .30), transparent 60%),
    linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-soft) 100%);
  color: #dfe6f0; padding: 2.6rem 0 2.4rem;
}
.page-hero h1 { color: #fff; margin-bottom: .35rem; }
.page-hero p { max-width: 68ch; color: #c9d3e2; margin: 0; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-block; padding: .8rem 1.5rem; border-radius: 999px; font-weight: 700; font-size: .98rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: var(--copper); color: #fff; }
.btn-primary:hover { background: var(--copper-dark); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- 6. Cards & grids ---------- */
.card-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(275px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { margin-bottom: .45rem; }
.card p { color: var(--muted); font-size: .95rem; margin-bottom: .6rem; }
.card .more { font-weight: 600; font-size: .92rem; text-decoration: none; }
.card-icon {
  width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.05rem; margin-bottom: 1rem;
}
.card-accent { border-top: 4px solid var(--copper); }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.6rem; align-items: center; }
.split-img { border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.split-img img { width: 100%; display: block; }

.stat-strip { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.stat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem 1.2rem; text-align: center; box-shadow: var(--shadow);
}
.stat strong { display: block; font-size: 1.7rem; color: var(--navy); }
.stat span { color: var(--muted); font-size: .92rem; }

.quote {
  background: var(--card); border-left: 5px solid var(--copper); border-radius: var(--radius-sm);
  padding: 1.4rem 1.6rem; box-shadow: var(--shadow); font-style: italic; color: #3d4350;
}
.quote footer { font-style: normal; color: var(--muted); font-size: .9rem; margin-top: .6rem; }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding-left: 1.9em; position: relative; margin: .55rem 0; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--ok); font-weight: 800;
}

.tag {
  display: inline-block; background: var(--sand-deep); color: var(--copper-dark);
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .28rem .7rem; border-radius: 999px;
}

/* ---------- 7. Content (prose) ---------- */
.prose { max-width: 76ch; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose img { border-radius: var(--radius-sm); }
.people { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.person {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.5rem; box-shadow: var(--shadow);
}
.person h3 { margin-bottom: .1rem; }
.person .role { color: var(--copper-dark); font-weight: 600; font-size: .92rem; margin-bottom: .6rem; }
.person p { font-size: .95rem; color: var(--muted); }

/* ---------- 8. Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--card); }
table.data { min-width: 560px; font-size: .95rem; }
table.data th {
  background: var(--navy); color: #fff; text-align: left; padding: .8rem 1rem; font-size: .88rem;
  letter-spacing: .04em; text-transform: uppercase;
}
table.data td { padding: .75rem 1rem; border-top: 1px solid var(--line); vertical-align: top; }
table.data tbody tr:nth-child(even) { background: var(--sand); }
caption { caption-side: bottom; padding: .7rem 1rem; color: var(--muted); font-size: .85rem; text-align: left; }

/* ---------- 9. Forms ---------- */
.form-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.6rem; box-shadow: var(--shadow); max-width: 620px;
}
.form-grid { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }
label { font-weight: 600; font-size: .9rem; color: var(--navy); display: block; margin-bottom: .3rem; }
.req { color: #b3372f; }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; padding: .65rem .8rem; font: inherit; color: var(--text);
  border: 1.5px solid #cfd6df; border-radius: var(--radius-sm); background: #fbfaf7;
}
input:focus, textarea:focus { border-color: var(--navy); background: #fff; outline: none; box-shadow: 0 0 0 3px rgba(28, 43, 75, .12); }
textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); }

/* ---------- 10. CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--copper-dark), var(--copper));
  color: #fff; padding: 2.6rem 0; border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.cta-band .container { display: flex; flex-wrap: wrap; gap: 1.4rem; align-items: center; justify-content: space-between; }
.cta-band h2 { color: #fff; margin: 0; }
.cta-band p { margin: .2rem 0 0; color: #f7ecd9; }
.cta-band .btn { background: #fff; color: var(--copper-dark); }
.cta-band .btn:hover { background: var(--sand); color: var(--copper-dark); }
.cta-band .btn-ghost { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ---------- 11. FAQ ---------- */
.faq-item {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); margin-bottom: .9rem; overflow: hidden;
}
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1rem 1.3rem; font-weight: 600; color: var(--navy);
  position: relative; padding-right: 2.6rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%);
  font-size: 1.3rem; color: var(--copper-dark); font-weight: 700; transition: transform .15s ease;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body { padding: 0 1.3rem 1.1rem; color: var(--muted); }
.faq-item .faq-body p { margin-bottom: 0; }

/* ---------- 12. Footer ---------- */
.site-footer { background: var(--navy-dark); color: #b9c4d4; margin-top: 3rem; font-size: .93rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; padding: 3rem 0 2.2rem; }
.site-footer h2, .site-footer h3 { color: #fff; font-size: 1rem; letter-spacing: .05em; text-transform: uppercase; margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: .4rem 0; }
.site-footer a { color: #cfd8e6; text-decoration: none; }
.site-footer a:hover { color: #e8cfa8; }
.footer-brand img { max-height: 48px; width: auto; margin-bottom: .8rem; border-radius: 6px; background: #fff; padding: 4px; }
.footer-contact address { font-style: normal; line-height: 1.7; }
.footer-contact a { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 1.1rem 0; font-size: .85rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }

/* ---------- 13. Media queries ---------- */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero .container, .split { grid-template-columns: 1fr; }
  .split-img { order: -1; }
}

@media (max-width: 920px) {
  .nav-toggle-label {
    display: inline-flex; flex-direction: column; gap: 5px; cursor: pointer;
    padding: .7rem .5rem; border-radius: var(--radius-sm);
  }
  .nav-toggle-label span:first-of-type, .nav-toggle-label span:first-of-type::before, .nav-toggle-label span:first-of-type::after {
    content: ""; display: block; width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px;
  }
  .nav-toggle-label span:first-of-type::before { transform: translateY(-8px); }
  .nav-toggle-label span:first-of-type::after { transform: translateY(5.5px); }
  .nav-toggle-label:hover { background: var(--sand-deep); }
  .nav-toggle:checked + .nav-toggle-label span:first-of-type { background: transparent; }

  .menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    flex-direction: column; align-items: stretch; padding: .6rem 1.2rem 1.2rem; gap: 0;
    max-height: calc(100vh - 90px); overflow-y: auto;
  }
  .nav-toggle:checked ~ .menu { display: flex; }
  .menu > li > a { border-bottom: none; padding: .7rem .4rem; font-size: 1.02rem; }
  .sub {
    display: block; position: static; border: 0; box-shadow: none; padding: 0 0 .4rem .8rem; margin: 0;
  }
  .sub a { padding: .42rem .4rem; color: var(--navy-soft); }
}

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar .tagline { display: none; }
  .hero { padding: 3rem 0 3.2rem; }
  .section { padding: 2.6rem 0; }
  .brand img { max-height: 44px; }
  .brand img[aria-hidden="true"] { max-height: 40px; }
  .header-inner { min-height: 64px; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}