/* ==========================================================================
   Iveron Remedies — main theme stylesheet
   Brand: Blue #015CB1 · Green #267F11 · corporate pharma
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  color: var(--iv-ink);
  background: #fff;
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--iv-blue); }
h1, h2, h3, h4 { font-family: 'Sora', 'Manrope', sans-serif; color: var(--iv-ink); line-height: 1.15; }

.iv-container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.iv-center { text-align: center; margin-top: 34px; }
.iv-skip { position: absolute; left: -999px; }
.iv-skip:focus { left: 12px; top: 12px; background: #fff; padding: 10px 16px; z-index: 999; border-radius: 8px; }

/* ---------------- Buttons ---------------- */
.iv-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .72rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  text-decoration: none; border: 0; cursor: pointer;
  transition: background-color .25s ease, transform .2s ease, box-shadow .25s ease, color .25s ease;
}
.iv-btn--lg { padding: .95rem 1.9rem; font-size: 1.05rem; }
.iv-btn--green { background: var(--iv-green); color: #fff; }
.iv-btn--green:hover { background: var(--iv-green-dark); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(38,127,17,.3); }
.iv-btn--blue { background: var(--iv-blue); color: #fff; }
.iv-btn--blue:hover { background: var(--iv-blue-dark); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(1,92,177,.28); }
.iv-btn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.7); }
.iv-btn--ghost:hover { background: #fff; color: var(--iv-blue); }

/* ---------------- Header (dark, professional) ---------------- */
.iv-site-header { position: sticky; top: 0; z-index: 50; }
.iv-topbar { background: #081521; color: #9fb3c4; font-size: .82rem; border-bottom: 1px solid rgba(255,255,255,.06); }
.iv-topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 42px; gap: 16px; }
.iv-topbar a { color: #b7c6d4; text-decoration: none; transition: color .2s ease; }
.iv-topbar a:hover { color: #fff; }
.iv-topbar__left { display: flex; align-items: center; gap: 12px; }
.iv-topbar__left i { color: var(--iv-green); margin-right: 5px; }
.iv-topbar__sep { opacity: .4; }
.iv-topbar__right { display: flex; align-items: center; gap: 16px; }
.iv-topbar__note { color: #7f93a6; }
.iv-topbar__social { display: flex; gap: 10px; }
.iv-topbar__social a { width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; font-size: .72rem; }
.iv-topbar__social a:hover { background: var(--iv-blue); border-color: var(--iv-blue); }

.iv-header-main { background: var(--iv-ink); border-bottom: 1px solid rgba(255,255,255,.07); transition: background .3s ease, box-shadow .3s ease; }
.iv-site-header.is-scrolled .iv-header-main { background: rgba(11,26,40,.96); backdrop-filter: blur(12px); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.iv-header-main__inner { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 16px; }
.iv-logo img, .custom-logo { max-height: 46px; width: auto; }
.iv-logo__fallback img { background: #fff; padding: 6px 10px; border-radius: 10px; }
.iv-nav { display: flex; align-items: center; gap: 28px; }
.iv-nav__list { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.iv-nav__list a { color: #dbe6f0; text-decoration: none; font-weight: 600; font-size: .95rem; position: relative; padding: 6px 0; }
.iv-nav__list a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--iv-green); transition: width .25s ease; }
.iv-nav__list a:hover, .iv-nav__list .current-menu-item > a { color: #fff; }
.iv-nav__list a:hover::after, .iv-nav__list .current-menu-item > a::after { width: 100%; }
.iv-nav__cta { color: #fff; }
.iv-nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.iv-nav-toggle span { width: 26px; height: 2.5px; background: #fff; border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.iv-nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.iv-nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.iv-nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------------- Hero (video-ready) ---------------- */
.iv-hero { position: relative; overflow: hidden; color: #fff; min-height: 84vh; display: flex; align-items: center; }
.iv-hero__media { position: absolute; inset: 0; z-index: 0; }
.iv-hero__bg { position: absolute; inset: -8% 0 0 0; background-size: cover; background-position: center; animation: ivDrift 24s ease-in-out infinite alternate; }
.iv-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@keyframes ivDrift { from { transform: scale(1.06); } to { transform: scale(1.14); } }
.iv-hero__overlay { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(8,21,33,.94) 0%, rgba(1,92,177,.72) 55%, rgba(38,127,17,.5) 100%); }
.iv-hero__inner { position: relative; z-index: 2; padding: 80px 24px; max-width: 920px; }
.iv-eyebrow { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); padding: .45rem 1.1rem; border-radius: 999px; font-size: .8rem; font-weight: 600; letter-spacing: .3px; }
.iv-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--iv-green); }
.iv-hero__title { font-weight: 800; font-size: clamp(2.1rem, 5.2vw, 3.6rem); line-height: 1.08; margin: 1.2rem 0 1.1rem; max-width: 20ch; color: #fff; }
.iv-hero__sub { font-size: 1.15rem; max-width: 62ch; color: #e6eef7; }
.iv-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.2rem; }
.iv-hero__actions .iv-btn i { font-size: .8rem; }
.iv-hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; width: 24px; height: 40px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; }
.iv-hero__scroll span { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: #fff; border-radius: 3px; animation: ivScroll 1.6s ease-in-out infinite; }
@keyframes ivScroll { 0% { opacity: 0; top: 8px; } 40% { opacity: 1; } 80% { opacity: 0; top: 20px; } 100% { opacity: 0; } }

/* ---------------- Hero slider ---------------- */
.iv-hero--slider { display: block; }
.iv-hero__slides { position: absolute; inset: 0; z-index: 1; }
.iv-hero__slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .8s ease; }
.iv-hero__slide.is-active { opacity: 1; visibility: visible; }
.iv-hero__slide .iv-hero__bg { animation: none; transform: scale(1.08); }
.iv-hero__slide.is-active .iv-hero__bg { animation: ivKen 7s ease-out forwards; }
@keyframes ivKen { from { transform: scale(1.08); } to { transform: scale(1.16); } }
.iv-hero__slide .iv-hero__inner > * { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.iv-hero__slide.is-active .iv-hero__inner > * { opacity: 1; transform: none; }
.iv-hero__slide.is-active .iv-hero__inner > *:nth-child(2) { transition-delay: .12s; }
.iv-hero__slide.is-active .iv-hero__inner > *:nth-child(3) { transition-delay: .24s; }
.iv-hero__slide.is-active .iv-hero__inner > *:nth-child(4) { transition-delay: .36s; }
.iv-hero--slider .iv-hero__scroll { display: none; }

.iv-hero__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.1); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1rem; backdrop-filter: blur(4px); transition: background .25s ease, border-color .25s ease, transform .25s ease; }
.iv-hero__arrow:hover { background: var(--iv-green); border-color: var(--iv-green); }
.iv-hero__arrow--prev { left: 26px; }
.iv-hero__arrow--next { right: 26px; }
.iv-hero__dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 10px; }
.iv-hero__dot { width: 11px; height: 11px; border-radius: 50%; border: 0; background: rgba(255,255,255,.45); cursor: pointer; transition: width .25s ease, background .25s ease, border-radius .25s ease; padding: 0; }
.iv-hero__dot:hover { background: rgba(255,255,255,.75); }
.iv-hero__dot.is-active { background: var(--iv-green); width: 28px; border-radius: 6px; }
@media (max-width: 640px) {
  .iv-hero__arrow { display: none; }
}

/* ---------------- Sections ---------------- */
.iv-section { padding: 80px 0; }
.iv-section--soft { background: var(--iv-soft); }
.iv-section__head { margin-bottom: 40px; }
.iv-h2 { font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 .4rem; }
.iv-lead { color: var(--iv-muted); font-size: 1.05rem; margin: 0; }

/* ---------------- Mission cards ---------------- */
.iv-mission { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.iv-mission__card { background: #fff; border: 1px solid var(--iv-line); border-radius: var(--iv-radius); padding: 30px 26px; transition: transform .25s ease, box-shadow .25s ease; }
.iv-mission__card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(1,92,177,.12); }
.iv-mission__card h3 { margin: 0 0 10px; color: var(--iv-blue); }
.iv-mission__card p { margin: 0; color: var(--iv-muted); }

/* ---------------- CTA ---------------- */
.iv-cta { position: relative; background: var(--iv-blue); color: #fff; overflow: hidden; }
.iv-cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(38,127,17,.55), transparent 70%); }
.iv-cta__inner { position: relative; z-index: 2; text-align: center; padding: 72px 24px; }
.iv-cta h2 { color: #fff; font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin: 0 0 .6rem; }
.iv-cta p { color: #eaf2fb; max-width: 56ch; margin: 0 auto 26px; }

/* ---------------- Specialties (shortcode) ---------------- */
.iveron-specialties { display: grid; grid-template-columns: repeat(var(--iveron-cols, 3), minmax(0,1fr)); gap: 18px; }
.iveron-specialty-card { display: flex; flex-direction: column; gap: 6px; padding: 26px 22px; border-radius: var(--iv-radius); background: #fff; border: 1px solid var(--iv-line); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.iveron-specialty-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(1,92,177,.14); border-color: transparent; }
.iveron-specialty-card__icon { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, var(--iv-blue), var(--iv-green)); position: relative; margin-bottom: 6px; }
.iveron-specialty-card__icon::before, .iveron-specialty-card__icon::after { content: ""; position: absolute; background: #fff; border-radius: 2px; }
.iveron-specialty-card__icon::before { top: 13px; left: 21px; width: 4px; height: 20px; }
.iveron-specialty-card__icon::after { top: 21px; left: 13px; width: 20px; height: 4px; }
.iveron-specialty-card__name { font-weight: 700; color: var(--iv-ink); font-size: 1.05rem; }
.iveron-specialty-card__count { color: var(--iv-muted); font-size: .85rem; }

/* ---------------- Filter + product grid ---------------- */
.iveron-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.iveron-filter__btn { border: 1px solid #d9e4ee; background: #fff; color: var(--iv-muted); padding: .5rem 1.1rem; border-radius: 999px; font-weight: 600; font-size: .9rem; cursor: pointer; transition: all .2s ease; }
.iveron-filter__btn:hover { border-color: var(--iv-blue); color: var(--iv-blue); }
.iveron-filter__btn.is-active { background: var(--iv-blue); border-color: var(--iv-blue); color: #fff; }

.iveron-grid { display: grid; grid-template-columns: repeat(var(--iveron-cols, 3), minmax(0,1fr)); gap: 22px; }
.iveron-card { background: #fff; border: 1px solid var(--iv-line); border-radius: var(--iv-radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.iveron-card.is-hidden { display: none; }
.iveron-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(1,92,177,.14); }
.iveron-card__media { display: block; aspect-ratio: 4/3; background: var(--iv-soft); overflow: hidden; }
.iveron-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.iveron-card:hover .iveron-card__media img { transform: scale(1.05); }
.iveron-card__placeholder { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--iv-muted); font-weight: 600; }
.iveron-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.iveron-card__tag { align-self: flex-start; background: rgba(1,92,177,.1); color: var(--iv-blue); font-size: .75rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; }
.iveron-card__title { margin: 0; font-size: 1.1rem; line-height: 1.35; }
.iveron-card__title a { color: var(--iv-ink); text-decoration: none; }
.iveron-card__title a:hover { color: var(--iv-blue); }
.iveron-card__meta { margin: 0; color: var(--iv-muted); font-size: .88rem; }
.iveron-card__link { margin-top: 4px; color: var(--iv-green); font-weight: 700; text-decoration: none; font-size: .9rem; }
.iveron-empty { color: var(--iv-muted); padding: 30px; text-align: center; background: var(--iv-soft); border-radius: var(--iv-radius); }

/* ---------------- Pages / RTE ---------------- */
.iv-page { padding: 64px 24px 80px; }
.iv-page__head { margin-bottom: 30px; }
.iv-page__title { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 0 0 .4rem; }
.iv-rte { max-width: 860px; }
.iv-rte h2 { margin: 32px 0 12px; color: var(--iv-blue); }
.iv-rte h3 { margin: 26px 0 10px; }
.iv-rte p, .iv-rte li { color: var(--iv-ink); }
.iv-rte ul { padding-left: 20px; }
.iv-rte li { margin: 6px 0; }
.iv-rte iframe { border-radius: var(--iv-radius); margin-top: 12px; }

/* ---------------- Single product ---------------- */
.iv-single { padding: 48px 24px 80px; }
.iv-back { color: var(--iv-blue); text-decoration: none; font-weight: 600; }
.iv-single__grid { display: grid; grid-template-columns: minmax(0,440px) 1fr; gap: 44px; margin-top: 22px; align-items: start; }
.iv-single__media img, .iv-single__ph { border-radius: var(--iv-radius); width: 100%; }
.iv-single__ph { aspect-ratio: 1/1; background: var(--iv-soft); display: flex; align-items: center; justify-content: center; color: var(--iv-muted); }
.iv-single__title { margin: .6rem 0 1rem; }
.iv-specs { margin: 24px 0; display: grid; gap: 0; }
.iv-specs__row { display: grid; grid-template-columns: 160px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--iv-line); }
.iv-specs__row dt { font-weight: 700; }
.iv-specs__row dd { margin: 0; color: var(--iv-muted); }

/* ---------------- Forms ---------------- */
.iv-form { display: grid; gap: 16px; max-width: 640px; }
.iv-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.iv-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; color: var(--iv-ink); font-size: .92rem; }
.iv-form label span { color: var(--iv-green); }
.iv-form input, .iv-form textarea { font: inherit; padding: 12px 14px; border: 1px solid var(--iv-line); border-radius: 10px; background: #fff; }
.iv-form input:focus, .iv-form textarea:focus { outline: none; border-color: var(--iv-blue); box-shadow: 0 0 0 3px rgba(1,92,177,.12); }
.iv-form button { justify-self: start; margin-top: 6px; }
.iv-hp { position: absolute; left: -9999px; }
.iv-form-note { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-weight: 600; }
.iv-form-note--ok { background: rgba(38,127,17,.12); color: var(--iv-green-dark); }
.iv-form-note--err { background: #fdecec; color: #b12a2a; }
.iv-contact-cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: 44px; align-items: start; }
.iv-contact-info h3 { margin-top: 0; }

/* ---------------- Blog ---------------- */
.iv-postgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.iv-post { background: #fff; border: 1px solid var(--iv-line); border-radius: var(--iv-radius); overflow: hidden; }
.iv-post__media { display: block; aspect-ratio: 16/9; overflow: hidden; }
.iv-post__media img { width: 100%; height: 100%; object-fit: cover; }
.iv-post__body { padding: 20px 22px 24px; }
.iv-post__date { color: var(--iv-muted); font-size: .82rem; }
.iv-post__title { font-size: 1.2rem; margin: 6px 0 10px; }
.iv-post__title a { color: var(--iv-ink); text-decoration: none; }
.iv-post__excerpt { color: var(--iv-muted); }
.iv-pagination { margin-top: 40px; }
.iv-pagination .page-numbers { display: inline-block; padding: 8px 14px; border: 1px solid var(--iv-line); border-radius: 8px; margin: 2px; text-decoration: none; color: var(--iv-ink); }
.iv-pagination .current { background: var(--iv-blue); color: #fff; border-color: var(--iv-blue); }

/* ---------------- Footer ---------------- */
.iv-site-footer { background: var(--iv-ink); color: #cdd8e2; margin-top: 20px; }
.iv-site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding: 60px 24px 40px; }
.iv-site-footer h4 { color: #fff; margin: 0 0 16px; }
.iv-site-footer__logo { height: 42px; background: #fff; padding: 8px 12px; border-radius: 10px; margin-bottom: 16px; }
.iv-site-footer__addr { color: #aebccb; line-height: 1.7; }
.iv-site-footer__addr strong { color: #fff; }
.iv-footer-menu { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.iv-footer-menu a { color: #aebccb; text-decoration: none; }
.iv-footer-menu a:hover { color: #fff; }
.iv-site-footer__contact a { color: #9fd68a; text-decoration: none; }
.iv-site-footer__bar { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: .85rem; color: #7f93a6; }

/* ---------------- Reveal ---------------- */
[data-iveron-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
[data-iveron-reveal].is-visible { opacity: 1; transform: none; }
[data-iveron-stagger] > * { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
[data-iveron-stagger].is-visible > * { opacity: 1; transform: none; }
[data-iveron-stagger].is-visible > *:nth-child(2) { transition-delay: .06s; }
[data-iveron-stagger].is-visible > *:nth-child(3) { transition-delay: .12s; }
[data-iveron-stagger].is-visible > *:nth-child(4) { transition-delay: .18s; }
[data-iveron-stagger].is-visible > *:nth-child(5) { transition-delay: .24s; }
[data-iveron-stagger].is-visible > *:nth-child(n+6) { transition-delay: .30s; }

/* ---------------- Shared kicker / section head ---------------- */
.iv-kicker { display: inline-block; color: var(--iv-green); font-weight: 700; font-size: .8rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
.iv-kicker--light { color: #8fd16a; }
.iv-section__head--center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }

/* ---------------- Stats band ---------------- */
.iv-stats { background: var(--iv-ink); color: #fff; }
.iv-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.iv-stat { text-align: center; padding: 46px 20px; border-right: 1px solid rgba(255,255,255,.08); }
.iv-stat:last-child { border-right: 0; }
.iv-stat__num { font-family: 'Sora', sans-serif; font-weight: 800; font-size: clamp(2rem, 4vw, 2.8rem); color: #fff; line-height: 1; }
.iv-stat__num::after { content: ""; display: block; width: 34px; height: 3px; background: var(--iv-green); border-radius: 3px; margin: 14px auto 0; }
.iv-stat__label { color: #9fb3c4; margin-top: 12px; font-size: .95rem; }

/* ---------------- About ---------------- */
.iv-about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.iv-about__text h2 { margin: 0 0 16px; }
.iv-about__text p { color: var(--iv-muted); margin: 0 0 16px; }
.iv-about__text .iv-btn { margin-top: 8px; }
.iv-about__media { position: relative; }
.iv-about__media img { border-radius: 20px; width: 100%; max-height: 460px; object-fit: cover; box-shadow: 0 30px 60px rgba(1,92,177,.18); }
.iv-about__badge { position: absolute; right: -18px; bottom: -18px; background: var(--iv-green); color: #fff; border-radius: 18px; padding: 22px 26px; box-shadow: 0 20px 40px rgba(38,127,17,.35); text-align: center; }
.iv-about__badge-num { display: block; font-family: 'Sora', sans-serif; font-weight: 800; font-size: 2rem; line-height: 1; }
.iv-about__badge-label { display: block; font-size: .82rem; opacity: .92; margin-top: 6px; max-width: 13ch; }

/* ---------------- Corporate film / video section ---------------- */
.iv-videosec { position: relative; overflow: hidden; color: #fff; padding: 116px 0; text-align: center; }
.iv-videosec__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); }
.iv-videosec__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,21,33,.84), rgba(1,92,177,.74)); }
.iv-videosec__inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.iv-videosec__inner h2 { color: #fff; font-size: clamp(1.7rem, 3.5vw, 2.6rem); margin: 6px 0 14px; }
.iv-videosec__inner p { color: #dfe9f2; margin: 0 auto 32px; max-width: 56ch; }
.iv-playbtn { width: 86px; height: 86px; border-radius: 50%; border: 0; cursor: pointer; background: var(--iv-green); color: #fff; font-size: 1.4rem; display: inline-flex; align-items: center; justify-content: center; position: relative; transition: transform .25s ease, background .25s ease; }
.iv-playbtn:hover { transform: scale(1.08); background: var(--iv-green-dark); }
.iv-playbtn::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); animation: ivPulse 2s ease-out infinite; }
@keyframes ivPulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.4); opacity: 0; } }

/* ---------------- Core values ---------------- */
.iv-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.iv-value { background: #fff; border: 1px solid var(--iv-line); border-radius: var(--iv-radius); padding: 34px 30px; transition: transform .25s ease, box-shadow .25s ease; }
.iv-value:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(1,92,177,.12); }
.iv-value__icon { width: 58px; height: 58px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--iv-blue), var(--iv-green)); color: #fff; font-size: 1.3rem; margin-bottom: 16px; }
.iv-value h3 { margin: 0 0 8px; }
.iv-value p { margin: 0; color: var(--iv-muted); }

/* ---------------- Video lightbox ---------------- */
.iv-lightbox { position: fixed; inset: 0; z-index: 999; background: rgba(4,10,16,.9); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; transition: opacity .3s ease; }
.iv-lightbox.is-open { opacity: 1; }
.iv-lightbox[hidden] { display: none; }
.iv-lightbox__frame { width: min(960px, 100%); aspect-ratio: 16/9; background: #000; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.iv-lightbox__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.iv-lightbox__close { position: absolute; top: 22px; right: 26px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 1.2rem; cursor: pointer; transition: background .2s ease; }
.iv-lightbox__close:hover { background: var(--iv-green); }

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .iveron-specialties, .iveron-grid, .iv-postgrid { grid-template-columns: repeat(2, 1fr); }
  .iv-mission { grid-template-columns: 1fr; }
  .iv-single__grid { grid-template-columns: 1fr; }
  .iv-contact-cols { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .iv-nav-toggle { display: flex; }
  .iv-nav { position: fixed; inset: 76px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 24px; border-bottom: 1px solid var(--iv-line); box-shadow: 0 20px 40px rgba(0,0,0,.08); transform: translateY(-140%); transition: transform .3s ease; }
  .iv-nav.is-open { transform: translateY(0); }
  .iv-nav__list { flex-direction: column; gap: 4px; }
  .iv-nav__list a { padding: 12px 0; border-bottom: 1px solid var(--iv-line); }
  .iv-nav__cta { margin-top: 12px; justify-content: center; }
  .iv-site-footer__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .iveron-specialties, .iveron-grid, .iv-postgrid { grid-template-columns: 1fr; }
  .iv-form__row { grid-template-columns: 1fr; }
  .iv-hero__actions { flex-direction: column; align-items: stretch; }
  .iv-btn { justify-content: center; }
  .iv-specs__row { grid-template-columns: 1fr; gap: 2px; }
}

@media (max-width: 1024px) {
  .iv-about__grid { grid-template-columns: 1fr; gap: 40px; }
  .iv-about__media img { max-height: 400px; }
  .iv-values { grid-template-columns: 1fr; }
  .iv-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .iv-stat:nth-child(2) { border-right: 0; }
  .iv-stat { border-bottom: 1px solid rgba(255,255,255,.08); }
}
@media (max-width: 860px) {
  .iv-nav { top: 122px; background: var(--iv-ink); border-bottom: 1px solid rgba(255,255,255,.08); box-shadow: 0 20px 40px rgba(0,0,0,.35); }
  .iv-nav__list a { color: #dbe6f0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .iv-topbar__right { display: none; }
}
@media (max-width: 560px) {
  .iv-hero { min-height: auto; }
  .iv-hero__inner { padding: 64px 24px; }
  .iv-stats__grid { grid-template-columns: 1fr; }
  .iv-stat { border-right: 0; }
  .iv-topbar__left { gap: 8px; font-size: .76rem; }
  .iv-about__badge { right: 12px; bottom: -14px; padding: 16px 18px; }
  .iv-about__badge-num { font-size: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  .iv-hero__bg, .iv-hero__video, .iv-videosec__bg, .iv-hero__slide.is-active .iv-hero__bg { animation: none; }
  .iv-hero__scroll span, .iv-playbtn::after { animation: none; }
  .iv-hero__slide .iv-hero__inner > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  [data-iveron-reveal], [data-iveron-stagger] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { scroll-behavior: auto; }
}
