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

:root {
  --bg: #eef4f1;
  --bg-soft: #f8fbfa;
  --panel: #ffffff;
  --panel-2: #eef8f5;
  --text: #173b34;
  --text-soft: #587773;
  --text-muted: #758b88;
  --line: #d9ebe6;
  --line-soft: #ecefeb;
  --brand: #264d46;
  --brand-deep: #183f3a;
  --brand-accent: #d6b96d;
  --brand-accent-soft: #f4ead8;
  --car: #1a6c63;
  --travel: #2d6b8d;
  --health: #7f8e38;
  --danger: #b6614d;
  --shadow: rgba(28, 71, 65, 0.08);
  --font: "Nunito", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  background: linear-gradient(135deg, #edf5f3 0%, #dcebe7 100%);
  color: var(--text);
  min-height: 100vh;
}

.app-shell {
  width: min(1500px, calc(100% - 40px));
  min-height: min(960px, calc(100vh - 40px));
  margin: 20px auto;
  display: flex;
  border-radius: 30px;
  background: var(--bg-soft);
  border: 1px solid rgba(255,255,255,.8);
  overflow: visible;
  box-shadow: 0 24px 80px var(--shadow);
}

.sidebar {
  position: sticky;
  top: 20px;
  align-self: flex-start;
  width: 270px;
  height: calc(100vh - 40px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  background: #062A78;
  color: #173b34;
  padding: 42px 30px;
  transition: width 300ms ease, padding 300ms ease;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  width: calc(100% - 44px);
  min-width: 0;
  display: grid;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.brand-variant {
  width: 100%;
  height: 72px;
  overflow: hidden;
  border-radius: 16px;
}

.brand-svg,
.concept-svg {
  display: block;
  max-width: 100%;
  height: auto;
}

.brand-svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-svg--full {
  display: block;
}

.brand-svg--a {
  display: none;
}

.concept-svg {
  width: 100%;
  max-height: 160px;
}

.brand-concepts {
  margin: 32px 0 28px;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--line);
}

.products-view {
  display: none;
  margin: 32px 0 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.product-icon {
  font-size: 76px;
  line-height: 1;
  color: var(--brand-deep);
}

.product-icon--rca {
  background: linear-gradient(135deg, #e6f3ef 0%, #cce5df 100%);
}

.product-icon--travel {
  background: linear-gradient(135deg, #eaf2f5 0%, #d6e7ee 100%);
  color: var(--travel);
}

.product-icon--malpraxis {
  background: linear-gradient(135deg, #f4ece5 0%, #ead8ce 100%);
  color: var(--danger);
}

.product-icon--vacante {
  background: linear-gradient(135deg, #f4f0dc 0%, #eadcb4 100%);
  color: #b47c36;
}

.product-icon--credite {
  background: linear-gradient(135deg, #e9eef6 0%, #d5dfef 100%);
  color: #526e9e;
}

.product-icon--leasing {
  background: linear-gradient(135deg, #e9f2ef 0%, #cde2dc 100%);
  color: #347d70;
}

.product-card {
  display: flex;
  flex-direction: column;
}

.product-action {
  align-self: flex-start;
  margin-top: 16px;
  color: var(--brand-deep);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.product-action:hover,
.product-action:focus {
  color: var(--car);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 18px;
}

.brand-concept-card {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px 18px 16px;
  box-shadow: 0 10px 24px rgba(23, 59, 52, 0.04);
}

.brand-concept-card h3 {
  margin-top: 16px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--brand-deep);
}

.brand-concept-card p {
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.concept-icon {
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  border: 1px solid rgba(23, 59, 52, 0.07);
}

.concept-1 {
  background: #062A78;
}

.concept-1 .logo-lockup__a {
  color: #d9bb5f;
}

.concept-1 .logo-lockup__word--main {
  color: #edf7f5;
}

.concept-1 .logo-lockup__word--shadow {
  color: rgba(217, 187, 95, 0.48);
}

.concept-2 {
  background: #062A78;
}

.concept-2 .logo-lockup__a {
  color: #173b34;
}

.concept-2 .logo-lockup__word--main {
  color: #173b34;
}

.concept-2 .logo-lockup__word--shadow {
  color: rgba(23, 59, 52, 0.18);
}

.concept-3 {
  background: #062A78;
}

.concept-3 .logo-lockup__a {
  color: #1e5b54;
}

.concept-3 .logo-lockup__word--main {
  color: #1a4e45;
}

.concept-3 .logo-lockup__word--shadow {
  color: rgba(30, 91, 84, 0.22);
}

.brand-kicker {
  font-size: 25px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.brand-subtitle {
  margin-top: 6px;
  color: #ccdedc;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.navigation {
  margin-top: 40px;
}

.nav-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b6d0cc;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #d2ebe7;
  padding: 14px 12px;
  border-radius: 12px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
}

.nav-link.active {
  background: #e9f7f5;
  color: var(--brand-deep);
}

.nav-link.active .nav-icon {
  color: var(--brand-deep);
}

.nav-link.active[data-view="about"] .nav-icon {
  color: var(--brand-deep);
}

.nav-link.active[data-view="about"] .about-icon {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  color: white;
}

.nav-link.active[data-view="rca"] .nav-icon {
  color: var(--brand-deep);
}

.nav-link.active[data-view="travel"] .nav-icon {
  color: var(--brand-deep);
}

.nav-link[data-view="about"] .nav-icon {
  font-size: 19px;
  color: #fff;
}

.nav-link[data-view="about"] .about-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.55);
  font-size: 15px;
  font-weight: 900;
}

.nav-link[data-view="rca"] .nav-icon {
  color: #fff;
}

.nav-link[data-view="travel"] .nav-icon {
  color: #cee9e4;
}

.nav-icon {
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  min-width: 26px;
}

.support-card {
  margin-top: auto;
  border-radius: 18px;
  padding: 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  display: block;
  text-decoration: none;
}

.support-card:hover,
.support-card:focus {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.55);
}

.support-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #bfd6d1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-weight: 900;
}

.whatsapp-card {
  background: linear-gradient(180deg, rgba(38,188,104,.17), rgba(255,255,255,.08));
}

.whatsapp-icon {
  background: #28d366;
  color: white;
  border-color: rgba(255,255,255,.8);
  font-size: 20px;
}

.small-heading {
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.support-copy {
  margin-top: 7px;
  font-size: 12px;
  color: #bfded9;
}

.whatsapp-number {
  display: inline-flex;
  margin-top: 14px;
  color: #d6ffee;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.main-content {
  flex: 1;
  min-width: 0;
  padding: 34px 42px;
  background: var(--bg-soft);
}

.policies-view {
  display: block;
}

.about-view {
  display: none;
}

.vacante-view { display: none; margin: 32px 0 28px; }
.nav-link--child { margin-left: 18px; padding-block: 10px; color: #b8d8d3; font-size: 12px; }
.nav-link--child .nav-icon { font-size: 11px; }
.main-content[data-view="vacante"] .vacante-view { display: block; }
.main-content[data-view="vacante"] .policies-view,
.main-content[data-view="vacante"] .about-view,
.main-content[data-view="vacante"] .brand-concepts,
.main-content[data-view="vacante"] .products-view { display: none; }
.vacante-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 4px 4px 30px; border-bottom: 1px solid var(--line); }
.vacante-title { max-width: 700px; margin-top: 12px; color: var(--brand-deep); font-size: clamp(34px, 5vw, 62px); line-height: .98; letter-spacing: -.055em; }
.vacante-lead { max-width: 560px; margin-top: 18px; color: var(--text-soft); font-size: 15px; line-height: 1.65; }
.vacante-hero-note { display: flex; align-items: center; gap: 12px; min-width: 190px; padding: 14px 16px; border-left: 3px solid var(--brand-accent); color: var(--text-soft); font-size: 11px; font-weight: 800; line-height: 1.4; }
.vacante-hero-note__mark { color: var(--brand-deep); font-size: 44px; line-height: .8; }
.vacante-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 24px; }
.vacante-status { margin-top: 24px; padding: 34px; border: 1px dashed var(--line); border-radius: 18px; background: rgba(255,255,255,.58); color: var(--text-soft); font-size: 13px; text-align: center; }
.vacante-status--error { color: var(--danger); border-color: rgba(182, 97, 77, .35); background: #fff7f3; }
.vacanta-card { display: grid; grid-template-columns: minmax(170px, .82fr) 1fr; min-height: 280px; overflow: hidden; border: 1px solid var(--line-soft); border-radius: 22px; background: #fff; box-shadow: 0 12px 28px rgba(23, 59, 52, .06); }
.vacanta-gallery { position: relative; height: 100%; min-height: 280px; overflow: hidden; }
.vacanta-gallery .vacanta-image { display: block; width: 100%; height: 100%; min-height: 280px; object-fit: cover; transition: opacity 180ms ease; }
.gallery-control { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; background: rgba(7, 42, 120, .72); color: white; font-size: 25px; line-height: 1; cursor: pointer; transform: translateY(-50%); }
.gallery-control:hover, .gallery-control:focus-visible { background: var(--brand-accent); color: var(--brand-deep); }
.gallery-control--prev { left: 14px; }
.gallery-control--next { right: 14px; }
.gallery-label, .gallery-counter { position: absolute; right: 14px; bottom: 14px; padding: 6px 9px; background: rgba(6, 42, 120, .78); color: white; font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.gallery-dots { position: absolute; right: 16px; bottom: 15px; display: flex; gap: 7px; }
.gallery-dots button { width: 9px; height: 9px; padding: 0; border: 1px solid white; border-radius: 50%; background: transparent; cursor: pointer; }
.gallery-dots button.active { background: white; box-shadow: 0 0 0 3px rgba(255,255,255,.25); }
.gallery-thumbs { position: absolute; right: 12px; bottom: 10px; display: flex; gap: 5px; }
.gallery-thumbs button { width: 38px; height: 30px; padding: 0; overflow: hidden; border: 2px solid transparent; background: none; cursor: pointer; opacity: .8; }
.gallery-thumbs button.active { border-color: var(--brand-accent); opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery-numbers { position: absolute; top: 16px; left: 14px; display: grid; gap: 4px; }
.gallery-numbers button { width: 29px; height: 25px; border: 1px solid rgba(255,255,255,.75); background: rgba(6,42,120,.65); color: white; font-size: 9px; font-weight: 900; cursor: pointer; }
.gallery-numbers button.active { background: var(--brand-accent); color: var(--brand-deep); }
.vacanta-gallery--featured .gallery-control { background: rgba(255,255,255,.92); color: var(--brand-deep); }
.vacanta-gallery--featured .gallery-counter { background: var(--brand-deep); }
.vacanta-copy { padding: 25px; }
.vacanta-tag { color: var(--text-muted); font-size: 10px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.vacanta-copy h2 { margin-top: 12px; color: var(--brand-deep); font-size: 25px; line-height: 1.05; letter-spacing: -.045em; }
.vacanta-copy p { margin-top: 11px; color: var(--text-soft); font-size: 12px; line-height: 1.6; }
.vacanta-details { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.vacanta-details span { padding: 6px 8px; border-radius: 6px; background: var(--bg); color: var(--text-soft); font-size: 9px; font-weight: 800; }
.vacanta-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 22px; }
.vacanta-footer small { display: block; color: var(--text-muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.vacanta-footer strong { color: var(--brand-deep); font-size: 25px; letter-spacing: -.05em; }
.vacanta-link { color: var(--brand-deep); font-size: 11px; font-weight: 900; text-decoration: none; white-space: nowrap; }
.vacanta-link:hover { color: var(--car); }
.vacanta-link span { margin-left: 4px; font-size: 16px; }
.vacanta-card--contrast { background: var(--brand-deep); color: white; }
.vacanta-card--contrast .vacanta-copy h2, .vacanta-card--contrast .vacanta-copy p { color: white; }
.vacanta-card--contrast .vacanta-tag { color: #bcd4cf; }
.vacanta-highlight { display: grid; gap: 3px; margin-top: 18px; padding: 12px 14px; border-left: 3px solid var(--brand-accent); background: rgba(255,255,255,.08); }
.vacanta-highlight span, .vacanta-highlight small { color: #bcd4cf; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.vacanta-highlight strong { color: #fff4cb; font-size: 23px; }
.vacanta-button { display: inline-flex; justify-content: center; margin-top: 18px; padding: 11px 14px; border-radius: 9px; background: var(--brand-accent); color: var(--brand-deep); font-size: 10px; font-weight: 900; text-decoration: none; }
.vacanta-card--overlap { display: block; overflow: visible; position: relative; margin-top: 18px; }
.vacanta-overlap-image { position: relative; height: 170px; margin: -18px 22px 0; overflow: hidden; border-radius: 16px; box-shadow: 0 12px 22px rgba(23, 59, 52, .16); }
.vacanta-overlap-image .vacanta-image { min-height: 170px; }
.vacanta-stamp { position: absolute; top: 14px; right: 14px; padding: 8px 10px; border-radius: 50%; background: #e6bc5b; color: var(--brand-deep); font-size: 9px; font-weight: 900; }
.vacanta-card--overlap .vacanta-copy { padding-top: 18px; }
.vacanta-price-row { display: flex; align-items: baseline; gap: 4px; margin-top: 18px; }
.vacanta-price-row strong { color: var(--brand-deep); font-size: 29px; letter-spacing: -.06em; }
.vacanta-price-row span { color: var(--text-muted); font-size: 11px; }
.vacanta-price-row em { margin-left: auto; padding: 5px 7px; background: #e2f2e7; color: #33734e; font-size: 10px; font-style: normal; font-weight: 900; }
.vacanta-card--itinerary { background: #f7f2e9; }
.vacanta-itinerary { display: grid; gap: 8px; margin-top: 17px; padding-top: 13px; border-top: 1px solid #e3d9c7; }
.vacanta-itinerary span { display: flex; justify-content: space-between; gap: 10px; color: var(--text-soft); font-size: 10px; }
.vacanta-itinerary b { color: var(--brand-deep); font-size: 9px; text-transform: uppercase; }
.vacanta-card--featured { grid-column: 1 / -1; grid-template-columns: minmax(300px, 1fr) 1.15fr; background: #edf5f2; }
.vacanta-card--featured .vacanta-image { min-height: 300px; }
.vacanta-feature-meta { display: flex; gap: 20px; margin-top: 20px; color: var(--text-soft); font-size: 10px; }
.vacanta-feature-meta b { display: block; color: var(--brand-deep); font-size: 18px; }

@media (max-width: 980px) {
  .app-shell { width: min(100% - 24px, 760px); margin: 12px auto; }
  .sidebar { width: 200px; padding-inline: 20px; }
  .main-content { padding-inline: 26px; }
  .vacante-list { grid-template-columns: 1fr; }
  .vacanta-card--featured { grid-column: auto; }
  .sidebar { padding: 24px 20px; }
  .brand-variant { height: 56px; }
  .navigation { margin-top: 28px; }
}

@media (max-width: 680px) {
  .app-shell { display: block; width: 100%; min-height: 100vh; margin: 0; border-radius: 0; }
  .sidebar { width: 100%; padding: 18px; }
  .brand-block { justify-content: space-between; }
  .brand-icon { width: 170px; }
  .brand-variant { height: 54px; }
  .navigation { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
  .nav-link, .nav-link--child { margin: 0; padding: 9px 10px; }
  .nav-link--child { margin-left: 0; }
  .support-card { display: block; margin-top: 20px; }
  .main-content { padding: 22px 16px 34px; }
  .vacante-hero { display: block; padding-bottom: 22px; }
  .vacante-title { font-size: clamp(36px, 12vw, 52px); }
  .vacante-hero-note { margin-top: 24px; }
  .vacanta-card, .vacanta-card--featured { grid-template-columns: 1fr; }
  .vacanta-image, .vacanta-card--featured .vacanta-image { min-height: 210px; height: 210px; }
  .vacanta-card--overlap { margin-top: 18px; }
  .vacanta-overlap-image { height: 190px; }
  .vacanta-overlap-image .vacanta-image { min-height: 190px; height: 190px; }
}

@media (max-width: 980px) {
  .topbar { margin-inline: -26px; padding-inline: 26px; }
  .topbar-actions { flex: 1; justify-content: flex-end; }
  .top-navigation { overflow-x: auto; scrollbar-width: thin; }
  .top-nav-link { padding-inline: 9px; }
}

@media (max-width: 680px) {
  .sidebar { position: static; height: auto; overflow: visible; }
  .topbar { display: block; }
  .topbar { margin: -22px -16px 0; padding: 12px 16px; }
  .topbar-actions { justify-content: stretch; margin-top: 16px; }
  .top-navigation { flex: 1; overflow-x: auto; }
  .dropdown-menu-wrap { flex-shrink: 0; }
  .top-nav-link { font-size: 10px; }
}

.mobile-menu-button,
.mobile-menu-backdrop {
  display: none;
}

@media (max-width: 980px) {
  .app-shell {
    display: block;
    width: min(100% - 24px, 760px);
    min-height: calc(100vh - 24px);
    margin: 12px auto;
  }

  .sidebar {
    position: fixed;
    z-index: 50;
    top: 0;
    left: 0;
    width: min(300px, 86vw);
    height: 100dvh;
    padding: 28px 24px;
    border-radius: 0 22px 22px 0;
    box-shadow: 18px 0 44px rgba(6, 42, 120, .22);
    transform: translateX(-105%);
    transition: transform 220ms ease;
  }

  .app-shell.mobile-menu-open .sidebar {
    transform: translateX(0);
  }

  .main-content {
    width: 100%;
    padding: 26px;
  }

  .topbar {
    margin: -26px -26px 0;
    padding: 12px 26px;
  }

  .top-navigation,
  .dropdown-menu-wrap {
    display: none;
  }

  .topbar-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .mobile-menu-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid rgba(6, 42, 120, .18);
    border-radius: 10px;
    background: #e9f2fb;
    color: #062A78;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
  }

  .mobile-menu-button:focus-visible {
    outline: 3px solid var(--brand-accent);
    outline-offset: 2px;
  }

  .mobile-menu-button__icon {
    display: grid;
    gap: 3px;
    width: 18px;
  }

  .mobile-menu-button__icon span {
    height: 2px;
    border-radius: 2px;
    background: currentColor;
  }

  .mobile-menu-backdrop {
    position: fixed;
    z-index: 40;
    inset: 0;
    background: rgba(8, 30, 52, .42);
  }

  .app-shell.mobile-menu-open .mobile-menu-backdrop {
    display: block;
  }

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

  .policy-frame-panel {
    min-height: 0;
    padding: 18px;
  }

  .external-policy-frame {
    min-height: 560px;
    height: 70vh;
  }
}

@media (max-width: 680px) {
  .app-shell {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    border-radius: 0;
  }

  .main-content {
    padding: 22px 16px 34px;
  }

  .topbar {
    margin: -22px -16px 0;
    padding: 10px 16px;
  }

  .policy-frame-panel {
    padding: 14px;
    border-radius: 16px;
  }

  .policy-frame-panel__top {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }

  .external-policy-frame {
    min-height: 520px;
    height: 72vh;
    border-radius: 10px;
  }

  .concept-grid,
  .vacante-list,
  .team-gallery {
    grid-template-columns: 1fr;
  }

  .concept-icon {
    height: 170px;
  }

  .product-icon {
    font-size: 58px;
  }

  .team-photo-card img {
    height: auto;
    max-height: 360px;
    aspect-ratio: 4 / 3;
  }

  .vacante-title {
    font-size: clamp(32px, 11vw, 48px);
  }

  .vacanta-copy {
    padding: 20px;
  }

  .vacanta-footer {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .vacanta-footer > a {
    white-space: normal;
  }

  .vacanta-feature-meta {
    flex-wrap: wrap;
    gap: 12px;
  }
}

.main-content.about-mode .policies-view {
  display: none;
}

.main-content.about-mode .about-view {
  display: block;
}

.about-panel {
  background: white;
  border-radius: 24px;
  border: 1px solid var(--line-soft);
  padding: 30px;
}

.about-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.about-header .section-title {
  margin-top: 10px;
}

.about-content {
  display: block;
  margin-top: 26px;
}

.about-story {
  background: var(--bg-soft);
  padding: 28px;
  border-radius: 18px;
  border: 1px solid var(--line-soft);
}

.about-story--full {
  min-height: 72vh;
}

.about-intro {
  max-width: 980px;
}

.about-intro p {
  margin-top: 18px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.9;
  text-align: justify;
}

.about-intro .intro-lead {
  margin-top: 20px;
  font-size: 17px;
  color: var(--brand-deep);
  font-weight: 600;
}

.about-intro .signature {
  margin-top: 22px;
  font-weight: 800;
  color: var(--brand-deep);
  text-align: left;
}

.team-section {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}

.office-section {
  margin-top: 32px;
}

.team-gallery {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.team-photo-card {
  overflow: hidden;
  border-radius: 18px;
  background: white;
  border: 1px solid var(--line-soft);
  box-shadow: 0 10px 30px rgba(23, 59, 52, 0.08);
}

.team-photo-card img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
}

@media (max-width: 767px) {
  .about-view .team-gallery {
    grid-template-columns: 1fr;
  }

  .about-view .team-photo-card img {
    height: auto;
    max-height: 360px;
    aspect-ratio: 4 / 3;
  }
}

.office-address-card {
  margin-top: 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 16px;
  background: white;
  border: 1px solid var(--line-soft);
  box-shadow: 0 10px 24px rgba(23, 59, 52, 0.05);
}

.office-address-pin {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-accent-soft);
  font-size: 20px;
  flex-shrink: 0;
}

.office-address-copy {
  flex: 1;
}

.office-address-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.office-address-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--brand-deep);
  font-weight: 700;
  text-decoration: none;
  line-height: 1.6;
}

.office-address-link:hover,
.office-address-link:focus {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-frame-panel {
  background: white;
  border-radius: 24px;
  border: 1px solid var(--line-soft);
  padding: 24px;
  min-height: 720px;
}

.policy-frame-panel__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.compact-title {
  margin-top: 10px;
  font-size: clamp(26px, 3vw, 34px);
}

.external-policy-frame {
  width: 100%;
  min-height: 640px;
  height: clamp(620px, 72vh, 820px);
  display: block;
  border: 0;
  border-radius: 16px;
  background: white;
  box-shadow: inset 0 0 0 1px var(--line-soft);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 58px;
  margin: -34px -42px 0;
  padding: 12px 42px;
  background: rgba(248, 251, 250, 0.94);
  border-bottom: 1px solid rgba(6, 42, 120, 0.12);
  box-shadow: 0 8px 20px rgba(6, 42, 120, 0.07);
  backdrop-filter: blur(12px);
}

.topbar-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.top-navigation {
  display: flex;
  align-items: center;
  gap: 3px;
  min-width: 0;
  padding: 4px;
  border: 1px solid rgba(6, 42, 120, 0.14);
  border-radius: 14px;
  background: #e9f2fb;
}

.top-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border-radius: 10px;
  color: #164a84;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.top-nav-link:hover,
.top-nav-link:focus-visible {
  background: rgba(255, 255, 255, 0.85);
  color: #062A78;
}

.top-nav-link.active {
  background: #062A78;
  color: white;
  box-shadow: 0 5px 12px rgba(6, 42, 120, 0.18);
}

.dropdown-menu-wrap {
  position: relative;
}

.dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.dropdown-caret {
  font-size: 15px;
  line-height: 1;
}

.topbar-menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 10;
  min-width: 220px;
  background: #062A78;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 40px var(--shadow);
  padding: 8px;
  display: none;
}

.topbar-menu-panel.open {
  display: block;
}

.topbar-menu-panel .dropdown-link {
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  color: #d2ebe7;
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
}

.topbar-menu-panel .dropdown-link:hover,
.topbar-menu-panel .dropdown-link.active {
  background: #e9f7f5;
  color: var(--brand-deep);
}

.topbar-menu-panel .dropdown-link:focus-visible {
  outline: 2px solid var(--brand-accent);
  outline-offset: -2px;
}

.page-eyebrow {
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.page-title {
  margin-top: 10px;
  font-size: clamp(34px, 4vw, 44px);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--brand-deep);
}

.icon-button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 11px 14px;
  color: var(--brand-deep);
  cursor: pointer;
}

.icon-button.small-button {
  padding: 8px 11px;
  font-size: 13px;
}

.primary-button {
  border: none;
  background: var(--brand);
  color: white;
  font-weight: 800;
  font-size: 12px;
  padding: 12px 22px;
  border-radius: 12px;
  letter-spacing: 0.12em;
}

.secondary-button {
  border: 1px solid var(--line);
  background: white;
  color: var(--brand-deep);
  font-weight: 800;
  font-size: 11px;
  padding: 11px 20px;
  border-radius: 12px;
}

.full-width {
  width: 100%;
  margin-top: 14px;
}

.summary-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(210px, 1fr));
  gap: 20px;
}

.summary-card {
  background: var(--panel);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--line-soft);
  min-height: 145px;
}

.highlight-card {
  background: var(--brand-deep);
  color: white;
}

.summary-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-label {
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.highlight-card .card-label,
.highlight-card .summary-caption {
  color: #cadbd9;
}

.summary-number {
  margin-top: 12px;
  font-size: 40px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.summary-caption {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 11px;
}

.trend {
  font-size: 10px;
  font-weight: 800;
}

.trend-positive {
  color: var(--health);
}

.trend-alert {
  color: var(--danger);
}

.insurance-tabs-section {
  margin-top: 34px;
}

.tabs-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.section-kicker {
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section-title {
  margin-top: 10px;
  font-size: 30px;
  line-height: 1;
  font-weight: 800;
  color: var(--brand-deep);
}

.tab-controls {
  padding: 8px;
  border-radius: 16px;
  background: white;
  border: 1px solid var(--line-soft);
  display: flex;
  gap: 8px;
}

.tab-button {
  border: none;
  background: transparent;
  padding: 11px 28px;
  border-radius: 10px;
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.tab-button.active {
  background: var(--brand-deep);
  color: white;
}

.tab-panel {
  display: none;
  margin-top: 20px;
}

.tab-panel.active {
  display: block;
}

.panel-layout {
  display: grid;
  grid-template-columns: minmax(540px, 1fr) minmax(300px, 0.92fr);
  gap: 24px;
}

.policy-details-card,
.iframe-panel,
.content-card {
  background: white;
  border-radius: 24px;
  border: 1px solid var(--line-soft);
}

.policy-details-card {
  padding: 30px;
}

.product-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-title {
  margin-top: 14px;
  font-size: 30px;
  letter-spacing: -0.04em;
  color: var(--brand-deep);
}

.product-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--brand-accent-soft);
  color: var(--brand-deep);
}

.product-badge.travel-badge {
  background: #ddeff6;
  color: var(--travel);
}

.product-badge.health-badge {
  background: #edf2dc;
  color: var(--health);
}

.product-summary {
  margin-top: 36px;
}

.lead-text {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-soft);
}

.meta-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, auto));
  gap: 20px;
}

.meta-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.meta-value {
  margin-top: 8px;
  font-size: 17px;
  font-weight: 800;
  color: var(--brand-deep);
}

.policy-status-bar {
  margin-top: 30px;
}

.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-soft);
}

.status {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 10px;
}

.active-status {
  background: #d9f5e9;
  color: #184b37;
}

.progress-bar {
  height: 12px;
  border-radius: 99px;
  background: var(--line-soft);
  overflow: hidden;
  margin-top: 12px;
}

.progress-fill {
  height: 100%;
  border-radius: 99px;
}

.fill-car { width: 82%; background: var(--car); }
.fill-travel { width: 63%; background: var(--travel); }
.fill-health { width: 88%; background: var(--health); }

.status-foot {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 800;
}

.content-actions {
  margin-top: 34px;
  display: flex;
  gap: 12px;
}

.iframe-panel {
  padding: 20px;
  background: linear-gradient(180deg, #fafffb, #edf8f6);
}

.iframe-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--text-soft);
}

.pill-icon {
  background: var(--brand-accent-soft);
  padding: 6px 11px;
  border-radius: 99px;
  font-size: 9px;
  color: var(--brand-deep);
  border: 1px solid var(--brand-accent-soft);
}

.iframe-content {
  width: 100%;
  height: 420px;
  margin-top: 14px;
  border-radius: 14px;
  background: white;
  border: 1px dashed #a8bdba;
}

.lower-grid {
  display: grid;
  grid-template-columns: minmax(410px, 1fr) minmax(300px, 0.86fr);
  gap: 24px;
  margin-top: 24px;
}

.content-card {
  padding: 26px;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.subsection-title {
  margin-top: 10px;
  font-size: 24px;
  color: var(--brand-deep);
  letter-spacing: -0.04em;
}

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

.activity-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
}

.activity-row:first-child {
  border-top: none;
}

.activity-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 900;
  font-size: 12px;
}

.icon-blue { background: #dcecf1; color: var(--travel); }
.icon-green { background: #daf1e8; color: var(--health); }
.icon-amber { background: #fff2d7; color: #a17215; }

.activity-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--brand-deep);
}

.activity-detail {
  margin-top: 4px;
  font-size: 11px;
  color: var(--text-muted);
}

.activity-date {
  margin-left: auto;
  font-size: 10px;
  color: var(--text-muted);
}

.coverage-chart {
  margin-top: 24px;
}

.chart-row {
  display: grid;
  grid-template-columns: 70px 1fr 70px;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-soft);
  padding: 12px 0;
}

.mini-bar-wrap {
  background: var(--line-soft);
  border-radius: 99px;
  height: 12px;
  overflow: hidden;
  margin: 0 14px;
}

.mini-bar {
  height: 12px;
}

.car-fill { background: var(--car); }
.travel-fill { background: var(--travel); }
.health-fill { background: var(--health); }
