/* ==========================================================================
   Dovela, LLC — shared stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --color-primary: #a31f36;
  --color-primary-dark: #7d1729;
  --color-primary-light: #c4405a;
  --color-dark: #1d1e20;
  --color-navy: #0d1b2b;
  --color-gray-900: #232a36;
  --color-gray-700: #57585a;
  --color-gray-500: #727586;
  --color-gray-300: #d8dae0;
  --color-gray-100: #f2f3f6;
  --color-white: #ffffff;
  --font-primary: 'Inter', Arial, Helvetica, sans-serif;
  --container-w: 1180px;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(13, 27, 43, 0.08);
  --shadow-lg: 0 20px 50px rgba(13, 27, 43, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-primary);
  color: var(--color-dark);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  margin: 0 0 16px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-navy);
}

h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 16px; color: var(--color-gray-700); }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.section { padding: 80px 0; }
.section--tight { padding: 56px 0; }
.section--gray { background: var(--color-gray-100); }
.section--dark { background: var(--color-navy); color: var(--color-white); }
.section--dark h2, .section--dark h3, .section--dark p { color: var(--color-white); }
.section--dark p { color: #c7cede; }

.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: #994646;
  color: var(--color-white);
}
.btn--primary:hover { background: #7a3838; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--outline {
  background: transparent;
  border-color: currentColor;
  color: var(--color-white);
}
.btn--outline:hover { background: rgba(153,70,70,0.35); border-color: #994646; transform: translateY(-2px); }
.btn--dark { background: #994646; color: var(--color-white); }
.btn--dark:hover { background: #7a3838; transform: translateY(-2px); }
.btn--soft { background: var(--color-gray-100); color: var(--color-navy); border-color: var(--color-gray-100); }
.btn--soft:hover { background: #994646; border-color: #994646; color: var(--color-white); transform: translateY(-2px); }
.btn--sm { padding: 10px 20px; font-size: 0.85rem; }

/* ---------- Top bar ---------- */
.topbar {
  background: #994646;
  color: #dfe4ee;
  font-size: 0.82rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  padding: 9px 24px;
  max-width: var(--container-w);
  margin: 0 auto;
}
.topbar a { color: #dfe4ee; }
.topbar a:hover { color: var(--color-white); }
.topbar__lang { display: flex; align-items: center; gap: 6px; }
.topbar__lang img { width: 16px; height: 12px; border-radius: 2px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  box-shadow: 0 2px 14px rgba(13,27,43,0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  max-width: var(--container-w);
  margin: 0 auto;
}
.nav__logo { display: block; }
.nav__logo img { height: 110px; width: auto; max-width: 300px; }
@media (max-width: 960px) {
  .nav__logo img { height: 78px; }
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav__links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-gray-900);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
.nav__links a:hover,
.nav__links a.is-active { color: var(--color-primary); border-color: var(--color-primary); }
.nav__cta { margin-left: 8px; }
.nav__lang { margin-left: 6px; }
@media (min-width: 961px) {
  .nav__links li.nav__lang a {
    padding: 6px 14px;
    border: 1.5px solid var(--color-gray-300);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
  }
  .nav__links li.nav__lang a:hover {
    background: #994646;
    border-color: #994646;
    color: var(--color-white);
  }
}

/* ---------- Dropdown (About Dovela > Team / Documentation) ---------- */
.nav__dropdown { position: relative; display: flex; align-items: center; }
.nav__dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: 2px;
  color: var(--color-gray-900);
  display: inline-flex;
  align-items: center;
  transition: color 0.2s;
}
.nav__dropdown-toggle svg { transition: transform 0.2s ease; }
.nav__dropdown:hover .nav__dropdown-toggle,
.nav__dropdown.is-open .nav__dropdown-toggle { color: var(--color-primary); }
.nav__dropdown:hover .nav__dropdown-toggle svg,
.nav__dropdown.is-open .nav__dropdown-toggle svg { transform: rotate(180deg); }
.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  background: var(--color-white);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  min-width: 190px;
  padding: 8px;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 60;
}
.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown.is-open .nav__dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__dropdown-menu li a {
  display: block;
  padding: 10px 14px !important;
  border-radius: 6px;
  border-bottom: none !important;
  font-weight: 600;
}
.nav__dropdown-menu li a:hover { background: var(--color-gray-100); color: var(--color-primary); }

@media (max-width: 960px) {
  .nav__dropdown { flex-wrap: wrap; width: 100%; }
  .nav__dropdown > a { flex: 1; }
  .nav__dropdown-toggle { padding: 10px 8px; }
  .nav__dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    display: none;
    width: 100%;
    padding: 0 0 6px 18px;
  }
  .nav__dropdown.is-open .nav__dropdown-menu { display: block; }
  .nav__dropdown-menu li a { padding: 10px 8px !important; color: var(--color-gray-700); }
}
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span { width: 26px; height: 2px; background: var(--color-navy); border-radius: 2px; }

@media (max-width: 960px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    inset: 76px 0 0 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a { width: 100%; padding: 14px 8px; border-bottom: 1px solid var(--color-gray-100); }
  .nav__cta { margin: 12px 0 0; width: 100%; }
  .nav__cta .btn { width: 100%; justify-content: center; }
  .topbar__inner { justify-content: center; flex-wrap: wrap; gap: 10px 20px; text-align: center; }
}

/* ---------- Hero (video/photo) ---------- */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  color: var(--color-white);
  overflow: hidden;
  background: var(--color-navy);
}
.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(13,27,43,0.92) 10%, rgba(13,27,43,0.55) 60%, rgba(163,31,54,0.35) 100%);
}
.hero__content { position: relative; z-index: 2; max-width: 760px; padding: 90px 0; }
.hero__content h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); }
.hero__badges { display: flex; align-items: center; gap: 18px; margin: 26px 0 34px; flex-wrap: wrap; }
.hero__badge { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.92rem; }
.hero__stars { color: #ffcd35; letter-spacing: 2px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.page-hero {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  color: var(--color-white);
  background: var(--color-navy);
  overflow: hidden;
}
.page-hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55;
}
.page-hero__overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(13,27,43,0.92), rgba(163,31,54,0.45)); }
.page-hero__content { position: relative; z-index: 2; max-width: none; padding: 60px 48px; }
@media (max-width: 700px) {
  .page-hero__content { padding: 48px 24px; }
}
.page-hero h1 { color: var(--color-white); margin-bottom: 8px; }
.breadcrumb { font-size: 0.85rem; color: #cdd4e2; letter-spacing: 0.05em; text-transform: uppercase; }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
}

.feature-card {
  position: relative;
  min-height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 28px;
  box-shadow: var(--shadow);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.feature-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.6s ease;
}
.feature-card:hover .feature-card__bg { transform: scale(1.08); }
.feature-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(13,27,43,0.2) 0%, rgba(13,27,43,0.6) 50%, rgba(94,30,30,0.95) 100%);
  transition: background 0.35s ease;
}
.feature-card:hover .feature-card__overlay { background: linear-gradient(180deg, rgba(13,27,43,0.05) 0%, rgba(13,27,43,0.45) 50%, rgba(153,70,70,0.97) 100%); }
.feature-card__icon {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  width: 54px;
  height: 54px;
  object-fit: contain;
  background: var(--color-white);
  border-radius: 50%;
  padding: 10px;
  box-shadow: var(--shadow);
}
.feature-card__body { position: relative; z-index: 2; }
.feature-card h3 { font-size: 1.05rem; letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: 12px; color: var(--color-white); }
.feature-card p { margin: 0; font-size: 0.95rem; color: #e7e9ee; }

/* ---------- About/legacy split ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* ---------- Certifications ---------- */
.cert-card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.cert-card img { width: 76px; height: 76px; object-fit: contain; flex-shrink: 0; border-radius: 8px; background: var(--color-gray-100); padding: 6px; }
.cert-card p { margin: 0; font-size: 0.92rem; }

/* ---------- Team ---------- */
.team-card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.team-card__band { height: 8px; background: linear-gradient(90deg, var(--color-primary), var(--color-navy)); }
.team-card__body { padding: 26px 24px 30px; }
.team-card__name { font-size: 1.05rem; letter-spacing: 0.02em; margin-bottom: 4px; color: var(--color-navy); }
.team-card__role { color: var(--color-primary); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.team-card__role span { display: block; color: var(--color-gray-500); font-weight: 600; text-transform: none; letter-spacing: 0; margin-top: 2px; }
.team-card p { font-size: 0.9rem; margin: 0; }

/* ---------- Clients strip ---------- */
.clients-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.clients-strip img { max-height: 64px; width: auto; filter: grayscale(100%); opacity: 0.8; transition: 0.2s; }
.clients-strip img:hover { filter: none; opacity: 1; }

/* ---------- Services list ---------- */
.service-block {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 22px;
  padding: 30px 0;
  border-bottom: 1px solid var(--color-gray-300);
}
.service-block:last-child { border-bottom: none; }
.service-block__num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-primary);
}
.service-block h3 { margin-bottom: 8px; }
.service-block p:last-child { margin-bottom: 0; }

/* ---------- Our Works ---------- */
.work-card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 40px;
  overflow: hidden;
}
.work-card__header {
  padding: 30px 32px 20px;
  border-bottom: 1px solid var(--color-gray-100);
}
.work-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-bottom: 14px;
  font-size: 0.82rem;
}
.work-card__meta span { color: var(--color-gray-500); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
.work-card__meta strong { color: var(--color-navy); text-transform: none; letter-spacing: 0; margin-left: 4px; font-weight: 700; }
.work-card__body { padding: 24px 32px 8px; }
.work-card__gallery {
  padding: 0 32px 32px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}
.ba-pair { border-radius: 8px; overflow: hidden; box-shadow: 0 4px 14px rgba(13,27,43,0.10); }
.ba-pair__imgs { display: grid; grid-template-columns: 1fr 1fr; }
.ba-pair__imgs figure { margin: 0; position: relative; }
.ba-pair__imgs img { width: 100%; height: 150px; object-fit: cover; }
.ba-pair__imgs figcaption {
  position: absolute; top: 8px; left: 8px;
  background: rgba(13,27,43,0.75); color: #fff; font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.08em; padding: 3px 8px; border-radius: 4px; text-transform: uppercase;
}
.ba-pair__label {
  padding: 10px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-gray-700);
  background: var(--color-gray-100);
}
.ba-single img { width: 100%; height: 150px; object-fit: cover; }
.work-card__empty {
  margin: 0 32px 32px;
  padding: 20px 22px;
  background: var(--color-gray-100);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--color-gray-500);
}
.work-card__scope { margin: 0 0 4px 20px; padding: 0; }
.work-card__scope li { list-style: disc; color: var(--color-gray-700); font-size: 0.95rem; margin-bottom: 6px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.82rem; font-weight: 700; margin-bottom: 6px; color: var(--color-navy); }
.field input, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--color-gray-300);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--color-white);
  transition: border-color 0.2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-primary); }
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--color-gray-500); margin-top: 10px; }
.form-success { display: none; background: #e7f6ef; color: #14653f; border-radius: 8px; padding: 14px 18px; font-weight: 600; margin-top: 16px; }
.form-error { display: none; background: #fbe9e9; color: #7d1729; border-radius: 8px; padding: 14px 18px; font-weight: 600; margin-top: 16px; }

.contact-info-card {
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: var(--radius);
  padding: 34px 30px;
}
.contact-info-card h3 { color: var(--color-white); }
.contact-info-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item__icon {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%;
  background: var(--color-primary); display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.contact-info-item h4 { color: var(--color-white); margin: 0 0 4px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }
.contact-info-item p { margin: 0; color: #cfd6e6; font-size: 0.92rem; }
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 24px; }
.map-frame iframe { width: 100%; height: 260px; border: 0; display: block; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--color-navy), var(--color-primary-dark));
  color: var(--color-white);
  border-radius: var(--radius);
  padding: 56px;
  text-align: center;
}
.cta-banner h2 { color: var(--color-white); }
.cta-banner p { color: #d8deec; max-width: 560px; margin: 0 auto 28px; }

/* ---------- Footer ---------- */
.site-footer { background: #994646; color: #e9d9d9; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--color-white); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; }
.footer-grid img { height: 72px; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-grid p { font-size: 0.88rem; color: #e4cccc; }
.footer-grid a { display: block; padding: 6px 0; font-size: 0.9rem; color: #f2dede; }
.footer-grid a:hover { color: var(--color-white); }
.footer-admin-row {
  display: flex;
  justify-content: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 22px;
}
.footer-bottom {
  padding-top: 16px;
  text-align: center;
  font-size: 0.82rem;
  color: #d9b8b8;
}
.footer-admin-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  color: #f2dede;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.footer-admin-link:hover { border-color: var(--color-white); color: #fff; background: rgba(255,255,255,0.12); }

/* ---------- Documentation ---------- */
.doc-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  text-align: left;
  border-top: 4px solid #994646;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.doc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.doc-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #994646, #7a3838);
  color: var(--color-white);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}
.doc-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.doc-card p { font-size: 0.92rem; flex-grow: 1; }
.doc-card__meta {
  font-size: 0.78rem;
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}
.doc-card__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- PDF viewer modal ---------- */
.pdf-modal { position: fixed; inset: 0; z-index: 1000; display: none; }
.pdf-modal.is-open { display: block; }
.pdf-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 43, 0.72);
  backdrop-filter: blur(2px);
}
.pdf-modal__dialog {
  position: relative;
  z-index: 1;
  max-width: 960px;
  height: 88vh;
  margin: 6vh auto;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.pdf-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-gray-300);
  background: var(--color-gray-100);
}
.pdf-modal__header h3 { margin: 0; font-size: 1.05rem; color: var(--color-navy); }
.pdf-modal__header-actions { display: flex; align-items: center; gap: 12px; }
.pdf-modal__close {
  background: transparent;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--color-gray-700);
  cursor: pointer;
  padding: 0 4px;
}
.pdf-modal__close:hover { color: #994646; }
.pdf-modal__frame { flex: 1; border: none; width: 100%; background: var(--color-gray-100); }
@media (max-width: 700px) {
  .pdf-modal__dialog { width: 94%; height: 90vh; margin: 5vh auto; }
  .pdf-modal__header h3 { font-size: 0.95rem; }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
