/* ==========================================================================
   Tepsivo static site — shared stylesheet
   ========================================================================== */

:root {
  --tepsivo-blue: #3d85c6;
  --tepsivo-blue-deep: #0c71c3;
  --tepsivo-red: #af3311;
  --tepsivo-red-light: #b5302f;
  --text-dark: #1a202c;
  --text-body: #333333;
  --text-muted: #4a5568;
  --border: #e2e8f0;
  --grey-bg: #f3f4f6;
  --grey-bg-2: #f7f8fa;
  --white-glow: rgba(255, 255, 255, 1);
  --linkedin-blue: #0077b5;

  --clr-pv: #2d5a27;
  --clr-qms: #af3311;
  --clr-fin: #4b4b4b;
  --clr-mkt: #d48806;
  --clr-hr: #805ad5;
  --clr-bd: #319795;
  --clr-it: #2b6cb0;
  --clr-founders: #cbd5e0;

  --font-heading: 'Montserrat', Helvetica, Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
  --font-names: 'Lexend', sans-serif;
  --font-bio: 'Inter', sans-serif;

  --container-width: 1200px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  margin: 0 0 15px;
  color: #333;
}
p { margin: 0 0 1em; }

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

@media (max-width: 900px) {
  .container { padding: 0 20px; }
}

.section { padding: 70px 0; }
.section--grey { background: var(--grey-bg); }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  background: #fff;
  color: var(--tepsivo-red-light);
  border: 2px solid var(--tepsivo-red-light);
  border-radius: 19px;
  padding: 9px 30px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 16px;
  transition: background .3s, color .3s;
}
.btn:hover { background: var(--tepsivo-red-light); color: #fff; }
.btn--solid {
  background: var(--tepsivo-red-light);
  color: #fff;
  border-color: var(--tepsivo-red-light);
}
.btn--solid:hover { background: #8f2624; border-color: #8f2624; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
.site-header__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header__logo img { height: 40px; width: auto; }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 26px;
}
.site-nav__list > li { position: relative; }
.site-nav__list a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark);
}
.site-nav__list a:hover { color: var(--tepsivo-blue); }

.site-nav__list .has-dropdown > a::after {
  content: "▾";
  font-size: 10px;
  margin-left: 4px;
}
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  border-radius: 8px;
  padding: 10px 0;
  min-width: 190px;
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown li a { display: block; padding: 8px 20px; font-weight: 500; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--tepsivo-blue);
  margin: 5px 0;
  transition: transform .25s, opacity .25s;
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .site-nav { position: fixed; inset: 0 0 0 auto; width: 78%; max-width: 320px; background: #fff; transform: translateX(100%); transition: transform .3s ease; box-shadow: -8px 0 30px rgba(0,0,0,.15); overflow-y: auto; z-index: 200; }
  .site-nav.is-open { transform: translateX(0); }
  .site-nav__list { flex-direction: column; align-items: flex-start; gap: 0; padding: 70px 24px 24px; }
  .site-nav__list > li { width: 100%; border-bottom: 1px solid var(--border); }
  .site-nav__list a { display: block; padding: 14px 0; }
  .dropdown { position: static; box-shadow: none; display: none; padding: 0 0 10px; }
  .has-dropdown.is-open .dropdown { display: block; }
  .nav-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 150; }
  .nav-backdrop.is-open { display: block; }
  .menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: 72px 0;
  text-align: center;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 60px;
  background: var(--grey-bg);
  clip-path: polygon(0 60%, 5% 55%, 15% 65%, 25% 50%, 35% 62%, 45% 48%, 55% 60%, 65% 45%, 75% 58%, 85% 48%, 95% 62%, 100% 50%, 100% 100%, 0 100%);
}
.hero h1 {
  font-size: 44px;
  font-weight: 500;
  color: #141414;
}
@media (max-width: 900px) {
  .hero h1 { font-size: 30px; }
}

/* ---- Intro block ---- */
.intro {
  background: var(--grey-bg);
  padding-bottom: 70px;
}
.intro__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto;
}
.intro__lead {
  border-left: 5.6px solid var(--tepsivo-red);
  padding: 4px 0 4px 24px;
  text-align: left;
  margin-bottom: 30px;
}
.intro__lead h3 { font-size: 17px; margin-bottom: 6px; }
.intro__lead .intro__title { font-size: 31px; font-weight: 700; color: var(--text-dark); margin: 0; }
@media (max-width: 900px) {
  .intro__lead .intro__title { font-size: 25px; }
}

.intro__card {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 15px 40px rgba(0,0,0,.06);
  text-align: center;
}
.intro__card p { font-size: 17px; }
.intro__card .btn { margin-top: 10px; }

.intro__photo { border-radius: 16px; overflow: hidden; }

.badges {
  max-width: var(--container-width);
  margin: 50px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  text-align: center;
}
.badges__item { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.badges img { max-height: 90px; width: auto; }
.badges p { color: var(--text-muted); font-size: 15px; max-width: 380px; }

@media (max-width: 900px) {
  .intro__row { grid-template-columns: 1fr; gap: 30px; }
  .intro__photo { max-width: 500px; margin: 0 auto; }
  .badges { grid-template-columns: 1fr; gap: 40px; }
}

/* ==========================================================================
   Reasons grid (#1-#4)
   ========================================================================== */
.reasons { text-align: center; }
.reasons__intro { max-width: 700px; margin: 0 auto 50px; }
.reasons__intro h3 { font-size: 17px; }
.reasons__intro h2 { font-size: 31px; }
.reasons__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  text-align: left;
  max-width: var(--container-width);
  margin: 0 auto;
}
.reason {
  background: var(--grey-bg-2);
  border-radius: 16px;
  padding: 30px;
}
.reason__num { color: var(--tepsivo-red); font-weight: 700; font-size: 15px; }
.reason h4 { font-size: 18px; margin: 6px 0 8px; }
.reason p { color: var(--text-muted); font-size: 15px; margin: 0; }

.reasons__outro { max-width: 620px; margin: 50px auto 0; }
.reasons__outro h3 { font-size: 20px; }

@media (max-width: 900px) {
  .reasons__grid { grid-template-columns: 1fr; }
  .reasons__intro h2 { font-size: 21px; }
}

/* ==========================================================================
   OnePV section
   ========================================================================== */
.onepv { text-align: center; }
.onepv__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto 60px;
  text-align: left;
}
.onepv__intro h3 { font-size: 17px; }
.onepv__intro h2 { font-size: 31px; }

.onepv__video {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}
.onepv__video img, .onepv__video video { width: 100%; height: auto; display: block; background: #000; aspect-ratio: 1920 / 1350; object-fit: cover; }

.onepv__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: var(--container-width);
  margin: 0 auto;
  text-align: left;
}
.onepv__features h4 { font-size: 19px; }
.onepv__features p { color: var(--text-muted); font-size: 15px; }

@media (max-width: 900px) {
  .onepv__row { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .onepv__features { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Quality section
   ========================================================================== */
.quality { text-align: center; }
.quality__heading { font-size: 31px; max-width: 700px; margin: 0 auto 50px; }

.quality__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto 70px;
  text-align: left;
}
.quality__row--reverse .quality__col--image { order: -1; }

.quality__col--image { text-align: center; }
.quality__col--image img { border-radius: 16px; margin: 0 auto 20px; }
.quality__col--image h3 { font-size: 20px; }

.quality__grid--stack { display: flex; flex-direction: column; gap: 25px; }
.quality__grid--stack h4 { font-size: 18px; }
.quality__grid--stack p { color: var(--text-muted); font-size: 15px; margin: 0; }

@media (max-width: 900px) {
  .quality__row { grid-template-columns: 1fr; gap: 30px; margin-bottom: 50px; }
  .quality__row--reverse .quality__col--image { order: 0; }
}

/* ==========================================================================
   Team section (tpsv-*) — adapted from tepsivo.com
   ========================================================================== */
#tepsivo-about-section {
  --tpsv-font: var(--font-bio);
}
.tpsv-team-section {
  background-color: var(--tepsivo-blue);
  padding: 70px 0;
  color: #fff;
}
.tpsv-container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.tpsv-team-section h2 {
  margin-bottom: 15px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 27px;
  color: #fff;
  text-align: center;
}
.tpsv-intro-text {
  margin: 0 auto 35px;
  max-width: 800px;
  font-weight: 400;
  font-family: var(--font-heading);
  font-size: 15px;
  color: #fff;
  text-align: center;
}

.tpsv-legend-wrapper { text-align: center; width: 100%; margin-bottom: 60px; }
.tpsv-legend-bar {
  background: #fff;
  padding: 12px 35px;
  border-radius: 100px;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
}
.tpsv-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-dark);
}
.tpsv-dot { width: 10px; height: 10px; border-radius: 50%; }

.tpsv-team-split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 50px;
  align-items: start;
}

.tpsv-photo-matrix {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.tpsv-photo-item {
  position: relative;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  border-radius: 12px;
  transition: .4s cubic-bezier(.165,.84,.44,1);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: none;
  overflow: hidden;
  min-width: 0;
}
.tpsv-team-bar {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 6px;
  transition: .3s;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 0;
  font-weight: 800;
  z-index: 2;
  overflow: hidden;
}
.tpsv-photo-item:hover, .tpsv-photo-item.tpsv-active {
  box-shadow: 0 0 25px var(--white-glow);
  transform: translateY(-2px);
}
.tpsv-photo-item:hover .tpsv-team-bar, .tpsv-photo-item.tpsv-active .tpsv-team-bar {
  height: 20px; font-size: .55rem; text-transform: uppercase; letter-spacing: .5px;
}

.tpsv-nav-grid-item { aspect-ratio: 1/1; display: block; background: transparent; min-width: 0; }
.tpsv-nav-btn {
  background: rgba(255,255,255,.15);
  border: none; width: 100%; height: 100%; padding: 0;
  border-radius: 12px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: .4s cubic-bezier(.165,.84,.44,1);
  color: #fff;
}
.tpsv-nav-btn:hover { background: rgba(255,255,255,.25); box-shadow: 0 0 25px var(--white-glow); transform: translateY(-2px); }
.tpsv-nav-btn svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2; display: block; }

.tpsv-right-column-wrapper { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.tpsv-details-pane {
  position: relative;
  background: #fff;
  border-radius: 20px;
  color: var(--text-dark);
  box-shadow: 0 20px 50px rgba(0,0,0,.1);
  overflow: visible;
  display: flex; flex-direction: column;
  height: 465px;
  min-height: 465px;
}
.tpsv-pane-header {
  width: 100%; padding: 25px 40px 15px;
  display: flex; justify-content: center;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.tpsv-pane-body {
  display: flex; flex-direction: column;
  padding: 30px 40px; gap: 25px;
  flex: 1; overflow-y: auto; min-height: 0;
}
.tpsv-pane-body::-webkit-scrollbar { width: 6px; }
.tpsv-pane-body::-webkit-scrollbar-track { background: transparent; }
.tpsv-pane-body::-webkit-scrollbar-thumb { background: #cbd5e0; border-radius: 10px; }
.tpsv-pane-body-top { display: flex; align-items: center; gap: 35px; width: 100%; flex-shrink: 0; }
.tpsv-body-left { flex: 0 0 auto; text-align: center; }
.tpsv-body-right { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.tpsv-pane-body-bottom { width: 100%; flex-shrink: 0; }

.tpsv-details-photo {
  width: 160px; height: 160px;
  border-radius: 16px;
  background-size: cover; background-position: center;
  box-shadow: 0 10px 20px rgba(0,0,0,.05);
}

.tpsv-name-wrapper { font-family: var(--font-names); color: var(--text-dark); }
.tpsv-name-line-first { font-size: 2.2rem; font-weight: 600; line-height: 1.4em; display: block; margin: 0; }
.tpsv-name-line-last { font-size: 2.2rem; font-weight: 600; line-height: 1.2em; display: flex; align-items: center; gap: 4px 12px; margin: 0; flex-wrap: wrap; word-break: break-word; }
.tpsv-linkedin-icon-inline { display: inline-flex; align-items: center; justify-content: center; color: var(--linkedin-blue); transition: transform .2s; }
.tpsv-linkedin-icon-inline:hover { transform: scale(1.1); }
.tpsv-linkedin-icon-inline svg { width: 22px; height: 22px; border-radius: 4px; }
.tpsv-meta-position { color: var(--tepsivo-blue); font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; font-size: .75rem; display: block; line-height: 2.1em; flex: 1 1 calc(100% - 45px); }

.tpsv-bio-text { color: var(--text-dark); line-height: 1.6; width: 100%; transition: opacity .3s; font-size: .85rem; font-family: var(--font-bio); }
.tpsv-bio-link { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; cursor: pointer; position: relative; display: inline; }
.tpsv-bio-link:hover { text-decoration-thickness: 2px; color: var(--tepsivo-blue); }
.tpsv-bio-link .tpsv-link-preview { visibility: hidden; opacity: 0; position: absolute; bottom: 150%; left: 50%; transform: translateX(-50%) translateY(10px); width: 260px; background: #fff; border-radius: 12px; box-shadow: 0 15px 40px rgba(0,0,0,.25); z-index: 100; transition: .3s cubic-bezier(.165,.84,.44,1); pointer-events: none; border: 1px solid var(--border); display: block; }
.tpsv-bio-link:hover .tpsv-link-preview { visibility: visible; opacity: 1; transform: translateX(-50%) translateY(0); }
.tpsv-preview-img { width: 100%; height: 120px; background: linear-gradient(135deg, #3d85c6, #2b6cb0) center/cover; border-radius: 12px 12px 0 0; }
.tpsv-preview-text { padding: 15px; font-size: .85rem; color: var(--text-dark); font-weight: 600; line-height: 1.3; text-align: left; }

.tpsv-toggle-wrapper { display: flex; align-items: center; gap: 15px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); cursor: pointer; }
.tpsv-toggle-switch { width: 48px; height: 26px; background: #e2e8f0; border-radius: 20px; position: relative; transition: background .3s; }
.tpsv-toggle-knob { width: 20px; height: 20px; background: #fff; border-radius: 50%; position: absolute; top: 3px; left: 3px; transition: transform .3s cubic-bezier(.4,0,.2,1); box-shadow: 0 2px 4px rgba(0,0,0,.2); }
.tpsv-toggle-wrapper.tpsv-personal-active .tpsv-toggle-switch { background: var(--border); }
.tpsv-toggle-wrapper.tpsv-personal-active .tpsv-toggle-knob { transform: translateX(22px); }
.tpsv-lbl-pro { color: var(--tepsivo-blue); transition: color .3s; }
.tpsv-lbl-personal { color: var(--text-muted); transition: color .3s; }
.tpsv-toggle-wrapper.tpsv-personal-active .tpsv-lbl-pro { color: var(--text-muted); }
.tpsv-toggle-wrapper.tpsv-personal-active .tpsv-lbl-personal { color: var(--tepsivo-blue); }

.tpsv-bar-founders { background-color: var(--clr-founders); color: var(--text-dark); }
.tpsv-bar-pv { background-color: var(--clr-pv); }
.tpsv-bar-qms { background-color: var(--clr-qms); }
.tpsv-bar-fin { background-color: var(--clr-fin); }
.tpsv-bar-mkt { background-color: var(--clr-mkt); }
.tpsv-bar-hr { background-color: var(--clr-hr); }
.tpsv-bar-bd { background-color: var(--clr-bd); }
.tpsv-bar-it { background-color: var(--clr-it); }

@media (max-width: 900px) {
  .tpsv-container { padding: 0 15px; }
  .tpsv-team-split { grid-template-columns: 1fr; gap: 30px; }
  .tpsv-photo-matrix { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 12px; scroll-snap-type: x mandatory; scrollbar-width: none; position: relative; }
  .tpsv-photo-matrix::-webkit-scrollbar { display: none; }
  .tpsv-photo-item { flex: 0 0 60px; height: 60px; margin: 25px 0; scroll-snap-align: center; }
  .tpsv-nav-grid-item { flex: 0 0 50px; z-index: 10; align-items: center; justify-content: center; display: flex; }
  .tpsv-photo-matrix > .tpsv-nav-grid-item:nth-last-child(2) { order: -1; position: sticky; left: 0; background: linear-gradient(90deg, var(--tepsivo-blue) 65%, rgba(61,133,198,0)); padding-right: 15px; }
  .tpsv-photo-matrix > .tpsv-nav-grid-item:last-child { order: 99; position: sticky; right: 0; background: linear-gradient(270deg, var(--tepsivo-blue) 65%, rgba(61,133,198,0)); padding-left: 15px; }
  .tpsv-nav-grid-item .tpsv-nav-btn { width: 40px; height: 40px; background: var(--tepsivo-blue); border: 2px solid #fff; }
  .tpsv-nav-grid-item .tpsv-nav-btn svg { width: 20px; height: 20px; }
  .tpsv-nav-grid-item .tpsv-nav-btn:hover { box-shadow: none; transform: none; }
  .tpsv-details-pane { height: auto; min-height: 500px; max-height: none; }
  .tpsv-pane-body { overflow-y: visible; padding: 25px 20px; }
  .tpsv-pane-body-top { flex-direction: column; align-items: center; text-align: center; gap: 15px; }
  .tpsv-details-photo { width: 130px; height: 130px; }
  .tpsv-name-line-first { font-size: 1.9rem; }
  .tpsv-name-line-last { justify-content: center; font-size: 1.9rem; }
  .tpsv-meta-position { flex: 1 1 100%; margin-top: 5px; }
}

/* ==========================================================================
   Office / locations
   ========================================================================== */
.office { text-align: center; }
.office__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}
.office__item img { width: 56px; height: 56px; margin: 0 auto 14px; }
.office__item p { color: var(--text-muted); font-size: 15px; }

@media (max-width: 900px) {
  .office__grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ==========================================================================
   Compliance / contact CTA
   ========================================================================== */
.compliance {
  text-align: center;
  background: var(--grey-bg);
}
.compliance__num { font-size: 64px; font-weight: 500; color: var(--tepsivo-blue-deep); margin-bottom: 0; }
.compliance__caption { font-family: var(--font-heading); font-weight: 500; font-size: 20px; color: var(--text-dark); margin-top: 0; }
.compliance p { max-width: 600px; margin: 0 auto 10px; color: var(--text-muted); }
.compliance a { color: var(--tepsivo-blue); font-weight: 600; text-decoration: underline; }
.compliance__desktop-only { display: none; }
@media (min-width: 901px) {
  .compliance__desktop-only { display: block; }
}

.contact-cta { text-align: center; padding-bottom: 90px; }
.contact-cta h2 { font-size: 36px; }
.contact-cta p { max-width: 560px; margin: 0 auto 30px; color: var(--text-muted); }
.contact-cta__buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 900px) {
  .contact-cta h2 { font-size: 28px; }
}

/* ==========================================================================
   Home hero (text + diagram side by side)
   ========================================================================== */
.home-hero {
  background: var(--grey-bg);
  padding: 60px 0 70px;
  position: relative;
  overflow: hidden;
}
.home-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 60px;
  background: #fff;
  clip-path: polygon(0 60%, 5% 55%, 15% 65%, 25% 50%, 35% 62%, 45% 48%, 55% 60%, 65% 45%, 75% 58%, 85% 48%, 95% 62%, 100% 50%, 100% 100%, 0 100%);
}
.home-hero__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto;
  position: relative;
}
.home-hero__lead h1 { font-size: 40px; color: #141414; }
.home-hero__lead p { font-size: 17px; color: var(--text-muted); }
.home-hero__visual img { border-radius: 16px; }

@media (max-width: 900px) {
  .home-hero__row { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .home-hero__lead h1 { font-size: 30px; }
}

/* ==========================================================================
   Differentiator / stats
   ========================================================================== */
.differentiator__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: var(--container-width);
  margin: 0 auto;
  align-items: start;
}
.differentiator__intro h3 { font-size: 17px; }
.differentiator__intro h2 { font-size: 31px; margin-bottom: 20px; }
.differentiator__intro p { color: var(--text-muted); font-size: 16px; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 30px;
}
.stats-grid__item {
  background: var(--grey-bg-2);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}
.stats-grid__item--wide { grid-column: 1 / -1; }
.stats-grid__num {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 30px;
  color: var(--tepsivo-blue-deep);
}
.stats-grid__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

.differentiator__tagline {
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 26px;
}
.differentiator__tagline h4 { font-size: 19px; margin-bottom: 12px; }

@media (max-width: 900px) {
  .differentiator__row { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Testimonial
   ========================================================================== */
.testimonial {
  background: var(--tepsivo-blue);
  color: #fff;
  text-align: center;
}
.testimonial blockquote {
  max-width: 780px;
  margin: 0 auto 20px;
  font-size: 24px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
}
.testimonial cite {
  display: block;
  font-style: normal;
  font-size: 15px;
  opacity: .9;
  margin-bottom: 30px;
}
.testimonial__logo { max-height: 40px; width: auto; margin: 0 auto; }

/* ==========================================================================
   OnePV system diagram + key components
   ========================================================================== */
.onepv-system__head { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.onepv-system__head h2 { font-size: 31px; }

.onepv-system__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: var(--container-width);
  margin: 0 auto;
}
.onepv-system__layout > * { min-width: 0; }

.onepv-diagram-sticky { position: sticky; top: 110px; }
.onepv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  border: 2.8px dashed var(--tepsivo-blue);
  border-radius: 12px;
  padding: 16px;
}
.onepv-grid__cell {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  background: #eff1f4;
  color: #1a202c;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  line-height: 1.4;
  padding: 6px;
  transition: background-color .4s ease, color .4s ease;
}
.onepv-grid__cell--hub {
  background: var(--tepsivo-blue);
  color: #fff;
  font-weight: 700;
  flex-direction: column;
  gap: 2px;
}
.onepv-grid__cell--hub small { font-weight: 400; font-size: 11px; }
.onepv-grid__cell.is-active { background: var(--tepsivo-blue); color: #fff; font-weight: 700; }

.components { display: flex; flex-direction: column; gap: 46px; }
.component__eyebrow {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--tepsivo-red);
  margin-bottom: 6px;
}
.component__title { font-size: 22px; margin-bottom: 10px; }
.component__price { font-family: var(--font-heading); font-weight: 700; color: var(--tepsivo-blue-deep); margin-bottom: 4px; }
.component__price-note { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
.component p { color: var(--text-muted); font-size: 15px; }
.component__cta { display: inline-block; margin-top: 6px; font-weight: 700; color: var(--tepsivo-blue); text-decoration: underline; }

.onepv-system__more { text-align: center; margin-top: 50px; font-size: 18px; font-weight: 700; }

@media (max-width: 900px) {
  .onepv-system__layout { grid-template-columns: 1fr; gap: 40px; }
  .onepv-diagram-sticky { position: static; }
  .onepv-grid__cell { font-size: 11px; }
}

/* ==========================================================================
   Demo CTA
   ========================================================================== */
.demo__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto;
}
.demo__text h2 { font-size: 31px; }
.demo__text p { color: var(--text-muted); font-size: 16px; }
.demo__image img { border-radius: 16px; }

@media (max-width: 900px) {
  .demo__row { grid-template-columns: 1fr; gap: 30px; text-align: center; }
}

/* ==========================================================================
   Team teaser
   ========================================================================== */
.team-teaser {
  background: var(--tepsivo-blue);
  color: #fff;
  text-align: center;
}
.team-teaser__photos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.team-teaser__photos img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.35);
  object-fit: cover;
}
.team-teaser h2 { color: #fff; font-size: 30px; }
.team-teaser p { max-width: 640px; margin: 0 auto 24px; opacity: .95; }
.team-teaser .btn { background: #fff; color: var(--tepsivo-blue-deep); border-color: #fff; }
.team-teaser .btn:hover { background: transparent; color: #fff; }

@media (max-width: 900px) {
  .team-teaser__photos img { width: 44px; height: 44px; }
}

/* ==========================================================================
   Pricing teaser
   ========================================================================== */
.pricing-teaser__row {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 50px;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto;
}
.pricing-teaser__image img { width: 100%; border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.1); margin: 0 auto; }
.pricing-teaser__text h2 { font-size: 31px; }
.pricing-teaser__text p { color: var(--text-muted); font-size: 16px; }

@media (max-width: 900px) {
  .pricing-teaser__row { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .pricing-teaser__image { order: -1; max-width: 320px; margin: 0 auto; }
}

/* ==========================================================================
   Pricing page
   ========================================================================== */
.hero__lead { max-width: 640px; margin: 0 auto; font-size: 17px; color: var(--text-muted); }

.section-divider { padding: 40px 0 10px; text-align: center; }
.section-divider h3 { font-size: 20px; color: var(--text-muted); font-weight: 500; margin: 0; }

.pricing-section__heading { text-align: center; font-size: 31px; margin-bottom: 40px; }
h3.pricing-section__heading { font-size: 22px; color: var(--text-muted); font-weight: 500; margin-bottom: 30px; }

.pricing-compare { background: var(--grey-bg); }
.pricing-compare__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: var(--container-width);
  margin: 0 auto;
}
.pricing-compare__card { padding: 30px 40px; text-align: center; }
.pricing-compare__card h3 { font-size: 15px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.pricing-compare__card h2 { font-size: 26px; margin-bottom: 16px; }
.pricing-compare__card p { color: var(--text-muted); font-size: 15px; }
.pricing-compare__card--new { border-left: 2px dashed #333; }
.pricing-compare__outro { max-width: 760px; margin: 20px auto 0; color: var(--text-muted); font-size: 15px; text-align: center; }

@media (max-width: 900px) {
  .pricing-compare__row { grid-template-columns: 1fr; }
  .pricing-compare__card--new { border-left: none; border-top: 2px dashed #333; }
}

.pricing-service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto 50px;
}
.pricing-service-row--reverse .pricing-service-row__image { order: -1; }
.pricing-service-row__text h3 { font-size: 17px; color: var(--text-muted); font-weight: 500; }
.pricing-service-row__text h2 { font-size: 27px; }
.pricing-service-row__text p { color: var(--text-muted); font-size: 15px; }
.pricing-service-row__image img { border-radius: 16px; }

@media (max-width: 900px) {
  .pricing-service-row { grid-template-columns: 1fr; text-align: center; gap: 30px; }
  .pricing-service-row--reverse .pricing-service-row__image { order: 0; }
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: var(--container-width);
  margin: 0 auto;
}
.pricing-card {
  background: var(--tepsivo-blue);
  color: #fff;
  padding: 41px 32px 33px;
  text-align: center;
}
.pricing-cards .pricing-card:nth-child(1) { border-radius: 0 0 0 10px; }
.pricing-cards .pricing-card:nth-child(2) { background: rgba(61,133,198,.89); }
.pricing-cards .pricing-card:nth-child(3) { background: rgba(61,133,198,.81); border-radius: 0 0 10px 0; }
.pricing-card__title { font-weight: 700; margin-bottom: 10px; }
.pricing-card__title span { display: block; font-weight: 400; font-size: 13px; opacity: .9; margin-top: 4px; }
.pricing-card__price { font-weight: 700; font-size: 18px; margin: 0; }

.pricing-disclaimer { max-width: var(--container-width); margin: 30px auto 0; color: var(--text-muted); font-size: 13px; }

@media (max-width: 900px) {
  .pricing-cards { grid-template-columns: 1fr; }
  .pricing-cards .pricing-card:nth-child(1) { border-radius: 10px 10px 0 0; }
  .pricing-cards .pricing-card:nth-child(2) { border-radius: 0; }
  .pricing-cards .pricing-card:nth-child(3) { border-radius: 0 0 10px 10px; }
}

.pricing-stat { text-align: center; background: var(--grey-bg); }
.pricing-stat__num { font-size: 78px; font-weight: 500; color: var(--tepsivo-blue-deep); margin: 0; line-height: 1.1; }
.pricing-stat__caption { font-size: 27px; font-weight: 500; color: #000; margin-top: 0; margin-bottom: 20px; }
.pricing-stat p { max-width: 640px; margin: 0 auto 10px; color: var(--text-muted); }

.pricing-individual { text-align: center; }
.pricing-individual__intro { max-width: 640px; margin: 0 auto 10px; color: var(--text-muted); font-size: 15px; }

.pricing-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--container-width);
  margin: 40px auto 0;
  text-align: center;
}
.pricing-service {
  background: rgba(61,133,198,.85);
  color: #fff;
  border-radius: 16px;
  padding: 32px 26px;
}
.pricing-service__title { font-weight: 700; margin-bottom: 14px; }
.pricing-service__title span { display: block; font-weight: 400; font-size: 13px; opacity: .9; margin-top: 4px; }
.pricing-service__price { font-weight: 700; font-size: 16px; margin-bottom: 10px; }
.pricing-service__price span { display: block; font-weight: 400; font-size: 12px; opacity: .85; }
.pricing-service__price:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
  .pricing-services { grid-template-columns: 1fr; }
}

.pricing-clinical__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  max-width: var(--container-width);
  margin: 40px auto 0;
  align-items: start;
}
.pricing-card--single { border-radius: 16px; }
.pricing-clinical__note { padding: 10px 6px; text-align: center; }
.pricing-clinical__note-title { font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.pricing-clinical__note p:last-child { color: var(--text-muted); font-size: 15px; margin: 0; }

@media (max-width: 900px) {
  .pricing-clinical__grid { grid-template-columns: 1fr; }
}

.pricing-quote { text-align: center; }
.pricing-quote__lead { max-width: 640px; margin: 0 auto 20px; color: var(--text-muted); }
.pricing-quote__row {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto 20px;
  text-align: left;
}
.pricing-quote__row p { color: var(--text-muted); font-size: 15px; margin: 0; }
.pricing-quote__footnote { max-width: 640px; margin: 0 auto; color: var(--text-muted); font-size: 13px; }

@media (max-width: 900px) {
  .pricing-quote__row { grid-template-columns: 1fr; text-align: center; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #1a202c;
  color: #cbd5e0;
  padding: 26px 0;
  font-size: 13px;
  text-align: center;
}
.site-footer a { text-decoration: underline; }
.site-footer a:hover { color: #fff; }

/* ==========================================================================
   Literature Monitoring page
   ========================================================================== */
.lit-intro { background: var(--grey-bg); padding: 60px 0 70px; }
.lit-intro__card { max-width: 780px; margin: 20px 0 30px; }
.lit-intro__image { max-width: 900px; }
.lit-intro__image img { border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,.15); }

.lit-banner { background: var(--tepsivo-blue); color: #fff; text-align: center; }
.lit-banner h2 { color: #fff; font-size: 26px; }
.lit-banner > .container > p { max-width: 640px; margin: 0 auto; opacity: .95; }
.lit-banner__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: var(--container-width);
  margin: 30px auto 0;
  text-align: center;
  font-size: 15px;
}
@media (max-width: 900px) {
  .lit-banner__grid { grid-template-columns: 1fr; gap: 16px; }
}

.lit-funnel__row {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 50px;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto;
}
.lit-funnel__text ul { margin: 16px 0; padding-left: 20px; list-style: disc; color: var(--text-muted); }
.lit-funnel__text li { margin-bottom: 8px; }
.lit-callout { background: var(--grey-bg-2); border-radius: 12px; padding: 20px 24px; margin-top: 20px; color: var(--text-muted); }
.lit-callout__link { color: var(--tepsivo-blue-deep); font-weight: 700; }
.lit-funnel__image img { border-radius: 8px; margin: 0 auto; }
@media (max-width: 900px) {
  .lit-funnel__row { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .lit-funnel__image { order: -1; }
  .lit-funnel__image img { max-width: 260px; }
}

.lit-price { background: var(--grey-bg); text-align: center; }
.lit-price__heading { max-width: 760px; margin: 0 auto; }
.lit-price__num { font-size: 56px; font-weight: 700; color: var(--tepsivo-blue-deep); margin: 30px 0 0; line-height: 1.1; }
.lit-price__caption { font-size: 15px; color: var(--text-muted); margin-top: 4px; margin-bottom: 10px; }

.lit-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: var(--container-width);
  margin: 30px auto 0;
}
.lit-stats__item { background: var(--grey-bg-2); border-radius: 12px; padding: 22px 12px; text-align: center; }
.lit-stats__num { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 22px; color: var(--tepsivo-blue-deep); }
.lit-stats__label { display: block; font-size: 13px; color: var(--text-muted); margin-top: 4px; }
@media (max-width: 900px) {
  .lit-stats { grid-template-columns: 1fr; }
}

.lit-integration__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto;
}
.lit-integration__row > * { min-width: 0; }
@media (max-width: 900px) {
  .lit-integration__row { grid-template-columns: 1fr; gap: 40px; text-align: center; }
}

.lit-flow { max-width: var(--container-width); margin: 40px auto 0; }
.lit-flow__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lit-flow__row--offset { margin-top: 20px; }
.lit-flow__step { background: var(--grey-bg-2); border-radius: 10px; padding: 16px; text-align: center; font-size: 13px; color: var(--text-dark); }
.lit-flow__row--offset .lit-flow__step:nth-child(1) { grid-column: 1 / span 1; margin-left: 14%; }
.lit-flow__row--offset .lit-flow__step:nth-child(2) { grid-column: 2 / span 1; }
.lit-flow__row--offset .lit-flow__step:nth-child(3) { grid-column: 3 / span 1; margin-right: 14%; }
.lit-flow__arrow {
  height: 2px;
  margin: 14px 0;
  background-image: linear-gradient(to right, var(--tepsivo-blue) 60%, transparent 40%);
  background-size: 14px 2px;
  background-repeat: repeat-x;
  position: relative;
}
.lit-flow__arrow::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--tepsivo-blue);
}
.lit-flow__oversight {
  background: var(--tepsivo-blue);
  color: #fff;
  text-align: center;
  border-radius: 8px;
  padding: 14px;
  margin-top: 20px;
  font-weight: 600;
  font-size: 15px;
}
@media (max-width: 900px) {
  .lit-flow__row, .lit-flow__row--offset { grid-template-columns: 1fr; gap: 12px; }
  .lit-flow__row--offset .lit-flow__step:nth-child(1),
  .lit-flow__row--offset .lit-flow__step:nth-child(3) { margin-left: 0; margin-right: 0; }
  .lit-flow__arrow { width: 2px; height: 30px; margin: 4px auto; background-image: linear-gradient(to bottom, var(--tepsivo-blue) 60%, transparent 40%); background-size: 2px 14px; }
  .lit-flow__arrow::after { right: 50%; top: auto; bottom: 0; transform: translateX(50%) rotate(90deg); }
}

.lit-benefits__row { display: grid; grid-template-columns: 3fr 2fr; gap: 50px; max-width: var(--container-width); margin: 0 auto; align-items: start; }
.lit-benefits__text ul { margin: 16px 0 0; padding-left: 20px; list-style: disc; color: var(--text-muted); }
.lit-benefits__text li { margin-bottom: 10px; }
.lit-benefit-cards { display: flex; flex-direction: column; gap: 16px; }
.lit-benefit-card { background: #fff; border-radius: 12px; padding: 20px 24px; box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.lit-benefit-card__title { color: var(--tepsivo-blue-deep); font-weight: 700; font-size: 17px; margin-bottom: 2px; }
.lit-benefit-card__caption { color: var(--text-muted); font-size: 14px; margin: 0; }
@media (max-width: 900px) {
  .lit-benefits__row { grid-template-columns: 1fr; gap: 30px; text-align: center; }
}

/* ==========================================================================
   Blog article page
   ========================================================================== */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 24px;
  max-width: 1600px;
  margin: 0 auto;
  padding: 40px 24px 70px;
  align-items: start;
}
.blog-toc, .blog-aside { position: sticky; top: 100px; }

.blog-toc__box, .blog-aside__box { padding: 4px 0; }
.blog-toc h5, .blog-aside h5 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin: 0 0 12px;
}
.blog-toc__download { padding-bottom: 22px; }
.blog-toc__download a { color: #676767; text-decoration: underline; }
.blog-toc__nav { margin-top: 20px; }
.blog-toc__nav ul { display: flex; flex-direction: column; gap: 8px; }
.blog-toc__nav a {
  display: block;
  font-size: 13px;
  color: #727272;
  padding-left: 8px;
  border-left: 3px solid transparent;
  line-height: 1.6;
}
.blog-toc__nav li.is-active a {
  font-weight: 700;
  color: #727272;
  border-left-color: var(--tepsivo-blue);
}

.blog-article__title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.5;
  text-align: center;
  color: #333;
  margin: 0 0 10px;
}
.blog-article__subtitle {
  text-align: center;
  font-size: 18px;
  font-weight: 400;
  color: #666;
  margin: 0 0 16px;
}
.blog-article__byline { text-align: center; font-size: 14px; color: #666; margin-bottom: 30px; }
.blog-article__byline a { text-decoration: underline; }
.blog-article__hero { margin: 0 auto 30px; text-align: center; }
.blog-article__hero img { margin: 0 auto; }

.blog-lead {
  max-width: 75%;
  margin: 0 auto 20px;
  text-align: justify;
  font-style: italic;
  color: #666;
  font-size: 16px;
  line-height: 1.8;
}

.blog-article section,
.blog-share,
.blog-opinion,
.blog-comments {
  max-width: 70.5%;
}
.blog-article section { margin-bottom: 8px; margin-left: auto; margin-right: auto; }
.blog-article h2 {
  font-family: var(--font-body);
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: #666;
  margin: 30px 0 16px;
}
.blog-article p {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  text-align: justify;
  margin: 0 0 16px;
}
.blog-article a { text-decoration: underline; }
.blog-article em, .blog-article i { font-style: italic; }

.blog-info-box {
  background: #f3f3f3;
  border-radius: 10px;
  padding: 25px;
  margin: 15px 0 25px;
  color: #666;
}
.blog-info-box p:last-child { margin-bottom: 0; }

.note-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e0e0e0;
  color: #333;
  font-size: 11px;
  font-weight: 700;
  vertical-align: super;
  cursor: pointer;
  margin: 0 2px;
  text-decoration: none !important;
}
.dynamic-note-bubble {
  display: none;
  position: absolute;
  width: 280px;
  max-width: calc(100vw - 40px);
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  padding: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #444;
  z-index: 999;
}
.dynamic-note-bubble.is-visible { display: block; }
.dynamic-note-bubble p { margin: 0 0 10px; text-align: left; }
.dynamic-note-bubble p:last-child { margin-bottom: 0; }
.bubble-close-btn {
  position: absolute;
  top: 6px;
  right: 12px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: #999;
}
.bubble-close-btn:hover { color: #333; }

.blog-share { text-align: center; margin: 30px auto 10px; }
.blog-share h3 { font-size: 16px; font-weight: 700; color: #333; margin-bottom: 16px; }
.blog-share__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.blog-share__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #fff;
  border: 2px solid #717070;
  color: #717070;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
}
.blog-share__btn svg { width: 17px; height: 17px; }
.blog-share__btn--facebook { border-color: #43609c; color: #43609c; }
.blog-share__btn--twitter { border-color: #0f1419; color: #0f1419; }
.blog-share__btn--linkedin { border-color: #0077b5; color: #0077b5; }
.blog-share__btn--messenger { border-color: #468bff; color: #468bff; }
.blog-share__btn--whatsapp { border-color: #34af23; color: #34af23; }

.blog-opinion { text-align: center; font-size: 18px; font-weight: 700; color: #333; margin: 20px auto 24px; }

.blog-comments { margin-left: auto; margin-right: auto; }
.blog-comments h3 { font-size: 16px; font-weight: 700; color: #333; }
.blog-comment-form { max-width: 560px; }
.blog-comment-form label { display: block; font-size: 13px; font-weight: 600; color: #444; margin-bottom: 6px; }
.blog-comment-form textarea,
.blog-comment-form input[type="text"],
.blog-comment-form input[type="email"] {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 14px;
  margin-bottom: 16px;
  background: #fafafa;
}
.blog-comment-form textarea { min-height: 120px; resize: vertical; }
.blog-comment-form__consent { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #666; margin-bottom: 18px; }
.blog-comment-form__consent input { width: auto; margin: 0; }

.blog-footnotes { display: none; }

.blog-aside__group { padding: 15px 0 20px; }
.blog-aside__group + .blog-aside__group { border-top: 1px solid #e5e5e5; padding-top: 20px; }
.blog-related { display: flex; gap: 15px; align-items: flex-start; }
.blog-related img { width: 95px; height: auto; border: 1px solid #f1f1f1; flex-shrink: 0; }
.blog-related h6 { margin: 0 0 4px; font-size: 14px; color: #676767; }
.blog-related p { margin: 0; font-size: 13px; color: #676767; }

.blog-newsletter p { font-size: 14px; color: #666; margin: 0 0 16px; }
.blog-newsletter-form { display: flex; flex-direction: column; gap: 12px; }
.blog-newsletter-form input {
  background: #eee;
  border: none;
  border-radius: 2px;
  padding: 14px 16px;
  font-size: 13px;
  color: #333;
  font-family: var(--font-body);
}
.blog-newsletter-form button {
  background: #46b51e;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
}
.blog-rss { font-size: 14px; color: #666; margin-top: 14px; display: flex; align-items: center; gap: 6px; }
.blog-rss svg { flex-shrink: 0; }

.blog-cta p { font-size: 14px; color: #666; text-align: justify; margin: 0 0 14px; }
.blog-cta a.blog-cta__link { text-decoration: underline; font-weight: 600; }
.blog-cta__contact { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #676767; }
.blog-cta__contact a { color: #676767; font-weight: 600; }

@media (max-width: 900px) {
  .blog-layout { grid-template-columns: 1fr; padding: 30px 0 50px; gap: 0; }
  .blog-toc, .blog-aside { display: none; }
  .blog-lead { max-width: 100%; }
}
