/* ============================================================
   Inner pages — Contact, Success Stories, Blog, Videos, Press
   ============================================================ */

/* Active nav state */
.nav-link.is-active { color: var(--navy); background: var(--paper-2); }
.nav-link.is-active::after {
  content: "";
  display: block;
}
.mobile-nav a.is-active { color: var(--navy); }

/* ---------- Page hero banner ---------- */
.page-hero {
  position: relative;
  background:
    radial-gradient(900px 420px at 82% -20%, rgba(200,168,90,.18), transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-950) 78%);
  color: #fff;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 1px, transparent 1px 22px);
  pointer-events: none;
}
.page-hero .container {
  position: relative;
  padding-top: clamp(48px, 6vw, 78px);
  padding-bottom: clamp(48px, 6vw, 78px);
  text-align: center;
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(34px, 4.6vw, 54px);
  letter-spacing: -0.02em;
}
.page-hero .page-lead {
  margin: 18px auto 0;
  max-width: 600px;
  color: rgba(255,255,255,.76);
  font-size: 18px;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255,255,255,.6);
}
.breadcrumb a { color: var(--gold-200); transition: color .15s ease; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 14px; height: 14px; opacity: .6; }
.breadcrumb .current { color: #fff; }
/* On-light breadcrumb variant */
.breadcrumb--light { color: var(--slate); }
.breadcrumb--light a { color: var(--navy); }
.breadcrumb--light .current { color: var(--slate); }

/* ---------- Coming soon box ---------- */
.coming-soon {
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, var(--paper-2) 100%);
  border: 1.5px dashed var(--gold-200);
  border-radius: 22px;
  padding: clamp(40px, 6vw, 64px) 30px;
  max-width: 760px;
  margin: 0 auto;
}
.coming-soon .cs-ico {
  width: 78px; height: 78px;
  border-radius: 20px;
  margin: 0 auto 24px;
  background: linear-gradient(150deg, var(--navy), var(--navy-900));
  color: var(--gold);
  display: grid; place-items: center;
  box-shadow: var(--shadow);
}
.coming-soon .cs-ico svg { width: 40px; height: 40px; }
.coming-soon .cs-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-600);
  background: rgba(200,168,90,.12);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.coming-soon h2 { font-size: clamp(26px, 3.4vw, 36px); }
.coming-soon p { margin: 16px auto 28px; max-width: 480px; color: var(--slate); }

/* ---------- Statue of Liberty banner motif ---------- */
.page-hero .container, .hero .container { position: relative; }
.liberty-motif {
  position: absolute;
  right: clamp(8px, 4vw, 56px);
  bottom: 0;
  height: 126%;
  width: auto;
  opacity: .66;
  pointer-events: none;
  z-index: 0;
}
.page-hero .breadcrumb,
.page-hero h1,
.page-hero .page-lead { position: relative; z-index: 1; }
.hero .liberty-motif { height: 94%; opacity: .5; right: clamp(8px, 2vw, 24px); }
@media (max-width: 760px) { .liberty-motif { display: none; } }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

/* Info card */
.info-card {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-950));
  color: #fff;
  border-radius: 20px;
  padding: clamp(28px, 3.4vw, 40px);
  position: relative;
  overflow: hidden;
}
.info-card::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 1px, transparent 1px 20px);
}
.info-card > * { position: relative; }
.info-card h2 { color: #fff; font-size: 26px; margin-bottom: 8px; }
.info-card .ic-lead { color: rgba(255,255,255,.72); font-size: 15px; margin-bottom: 28px; }
.info-row {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.1);
}
.info-row:first-of-type { border-top: 0; }
.info-row .ir-ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(200,168,90,.16);
  color: var(--gold);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.info-row .ir-ico svg { width: 22px; height: 22px; }
.info-row .ir-label {
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-200);
  font-weight: 700;
  margin-bottom: 3px;
}
.info-row .ir-val { font-size: 15.5px; color: #fff; line-height: 1.5; }
.info-row .ir-val a { color: #fff; }
.info-row .ir-val a:hover { color: var(--gold-200); }

.consult-note {
  margin-top: 26px;
  background: rgba(200,168,90,.14);
  border: 1px solid rgba(200,168,90,.3);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  gap: 13px;
}
.consult-note svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; }
.consult-note .cn-t { font-weight: 700; color: #fff; font-size: 15px; margin-bottom: 3px; }
.consult-note .cn-s { font-size: 13.5px; color: rgba(255,255,255,.75); }

/* Form card */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(28px, 3.4vw, 42px);
  box-shadow: var(--shadow);
}
.form-card h2 { font-size: 26px; margin-bottom: 6px; }
.form-card .fc-lead { color: var(--slate); font-size: 15px; margin-bottom: 28px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 8px;
}
.field label .req { color: #c0392b; }
.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper-2);
  border: 1.5px solid var(--line);
  border-radius: 11px;
  padding: 13px 15px;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23515b6b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(26,75,140,.12);
}
/* Validation states */
.field .field-msg {
  font-size: 12.5px;
  margin-top: 7px;
  min-height: 16px;
  color: var(--slate);
  display: flex;
  align-items: center;
  gap: 6px;
}
.field .field-msg svg { width: 14px; height: 14px; }
.field.error input,
.field.error select,
.field.error textarea {
  border-color: #c0392b;
  background: #fdf3f2;
}
.field.error input:focus,
.field.error select:focus,
.field.error textarea:focus { box-shadow: 0 0 0 4px rgba(192,57,43,.12); }
.field.error .field-msg { color: #c0392b; }
.field.valid input,
.field.valid select,
.field.valid textarea {
  border-color: #1f8a5b;
}
.field.valid .field-msg { color: #1f8a5b; }
.form-actions {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.form-actions .btn { padding: 15px 30px; }
.form-privacy { font-size: 13px; color: var(--slate); }
.form-success {
  display: none;
  background: #eaf7f0;
  border: 1px solid #b7e0cd;
  color: #1f8a5b;
  border-radius: 12px;
  padding: 16px 18px;
  font-weight: 600;
  font-size: 14.5px;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.form-success.show { display: flex; }
.form-success svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Map */
.map-ph {
  aspect-ratio: 21 / 7;
  border-radius: 20px;
  border: 1px solid var(--line);
  background-color: var(--paper-3);
  background-image:
    repeating-linear-gradient(0deg, rgba(26,75,140,.06) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, rgba(26,75,140,.06) 0 1px, transparent 1px 40px);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.map-ph .map-pin {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.map-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.video-thumb .v-tag,
.video-thumb .play,
.video-thumb .v-dur { z-index: 1; }
.map-ph .map-pin .pin {
  width: 56px; height: 56px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--navy);
  display: grid; place-items: center;
  box-shadow: var(--shadow);
  animation: pinbob 2.4s ease-in-out infinite;
}
.map-ph .map-pin .pin svg { width: 24px; height: 24px; transform: rotate(45deg); color: var(--gold); }
.map-ph .map-pin .pin-label {
  background: #fff;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}
@keyframes pinbob { 0%,100%{ transform: rotate(-45deg) translateY(0);} 50%{ transform: rotate(-45deg) translateY(-6px);} }

/* ============================================================
   BLOG PAGE
   ============================================================ */
.blog-layout {
  display: grid;
  grid-template-columns: 1.5fr .72fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}
.post-list { display: flex; flex-direction: column; gap: 28px; }
.post-item {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.post-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-thumb { position: relative; min-height: 220px; }
.post-thumb .blog-date { left: 14px; bottom: 14px; }
.post-body { padding: 26px 28px 26px 0; display: flex; flex-direction: column; }
.post-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 13px; flex-wrap: wrap; }
.cat-badge {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(26,75,140,.08);
  padding: 5px 11px;
  border-radius: 999px;
}
.post-meta .meta-date { font-size: 13px; color: var(--slate); display: inline-flex; align-items: center; gap: 6px; }
.post-meta .meta-date svg { width: 14px; height: 14px; }
.post-body h2 { font-size: 23px; line-height: 1.2; margin-bottom: 12px; }
.post-body h2 a:hover { color: var(--navy); }
.post-body p { color: var(--slate); font-size: 15px; margin-bottom: 20px; flex: 1; }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: calc(var(--header-h) + 20px); }
.widget {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.widget h3 {
  font-size: 17px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  gap: 9px;
}
.widget h3 svg { width: 18px; height: 18px; color: var(--gold-600); }
.cat-list, .archive-list { display: flex; flex-direction: column; }
.cat-list a, .archive-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  font-size: 14.5px;
  color: var(--slate);
  border-bottom: 1px solid var(--line-soft);
  transition: color .15s ease, padding .15s ease;
}
.cat-list a:last-child, .archive-list a:last-child { border-bottom: 0; }
.cat-list a:hover, .archive-list a:hover { color: var(--navy); padding-left: 5px; }
.cat-list .count {
  font-size: 12px;
  font-weight: 700;
  color: var(--slate-300);
  background: var(--paper-2);
  border-radius: 999px;
  padding: 2px 9px;
}
.help-card {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-950));
  color: #fff;
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
}
.help-card .hc-ico {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: rgba(200,168,90,.16);
  color: var(--gold);
  display: grid; place-items: center;
  margin: 0 auto 16px;
}
.help-card .hc-ico svg { width: 28px; height: 28px; }
.help-card h3 { color: #fff; font-size: 20px; border: 0; padding: 0; justify-content: center; margin-bottom: 8px; }
.help-card p { font-size: 14px; color: rgba(255,255,255,.74); margin-bottom: 20px; }
.help-card .btn { width: 100%; }

/* ============================================================
   VIDEOS PAGE
   ============================================================ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.video-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.video-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-950) 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.video-thumb::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 1px, transparent 1px 18px);
}
.video-thumb .play {
  position: relative;
  width: 66px; height: 66px;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  border: 2px solid rgba(255,255,255,.5);
  display: grid; place-items: center;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.video-card:hover .play { background: var(--gold); border-color: var(--gold); transform: scale(1.08); }
.video-thumb .play svg { width: 26px; height: 26px; color: #fff; margin-left: 3px; transition: color .2s ease; }
.video-card:hover .play svg { color: var(--navy-950); }
.video-thumb .v-dur {
  position: absolute;
  right: 12px; bottom: 12px;
  background: rgba(10,31,61,.82);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 7px;
}
.video-thumb .v-tag {
  position: absolute;
  left: 12px; top: 12px;
  background: var(--gold);
  color: var(--navy-950);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 7px;
}
.video-body { padding: 22px 22px 24px; }
.video-body h3 { font-size: 18px; line-height: 1.25; margin-bottom: 9px; }
.video-body p { font-size: 14px; color: var(--slate); }

/* ============================================================
   PRESS PAGE
   ============================================================ */
.press-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.press-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 28px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.press-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--gold-200); }
.src-tag {
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.src-release  { color: var(--navy); background: rgba(26,75,140,.09); }
.src-coverage { color: #2f6f8f; background: rgba(47,111,143,.1); }
.src-award    { color: var(--gold-600); background: rgba(200,168,90,.14); }
.press-card h3 { font-size: 19px; line-height: 1.28; margin-bottom: 12px; }
.press-card h3 a:hover { color: var(--navy); }
.press-card p { font-size: 14.5px; color: var(--slate); margin-bottom: 22px; flex: 1; }
.press-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.press-foot .pf-date { font-size: 13px; color: var(--slate-300); display: inline-flex; align-items: center; gap: 6px; }
.press-foot .pf-date svg { width: 14px; height: 14px; }

/* Media contact banner */
.media-banner {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-950));
  color: #fff;
  border-radius: 20px;
  padding: clamp(34px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.media-banner::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 1px, transparent 1px 22px);
}
.media-banner > * { position: relative; }
.media-banner h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); }
.media-banner p { color: rgba(255,255,255,.75); margin-top: 10px; max-width: 460px; }

/* Success Stories specific intro */
.stories-intro { text-align: center; max-width: 620px; margin: 0 auto 8px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1040px) {
  .contact-layout { grid-template-columns: 1fr; }
  .blog-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .sidebar .widget { flex: 1; min-width: 240px; }
  .video-grid, .press-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .post-item { grid-template-columns: 1fr; }
  .post-thumb { min-height: 200px; aspect-ratio: 16/9; }
  .post-body { padding: 0 26px 26px; }
  .video-grid, .press-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .form-grid { grid-template-columns: 1fr; }
  .sidebar { flex-direction: column; }
  .media-banner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 620px) {
  .map-ph { aspect-ratio: 4 / 3; }
}
