/* =========================================================================
   IRVISIT.com — Design System & Components
   Theme design: IranDesigner.com
   ========================================================================= */

/* ----- Design tokens ---------------------------------------------------- */
:root {
	--iv-accent:      #E9A23B;   /* saffron */
	--iv-accent-600:  #d98e28;
	--iv-primary:     #1E5F8C;   /* persian blue */
	--iv-primary-700: #164a6e;
	--iv-turq:        #2BB3A3;
	--iv-pom:         #B23A2E;
	--iv-ink:         #14110F;
	--iv-ink-2:       #3a332e;
	--iv-muted:       #6c635b;
	--iv-line:        #e7ded2;
	--iv-sand:        #F4ECE1;
	--iv-sand-2:      #faf5ec;
	--iv-white:       #ffffff;

	--iv-bg:          #ffffff;
	--iv-fg:          #14110F;

	--iv-radius:      18px;
	--iv-radius-sm:   12px;
	--iv-radius-lg:   28px;
	--iv-shadow-sm:   0 2px 10px rgba(20,17,15,.06);
	--iv-shadow:      0 18px 44px -20px rgba(20,17,15,.28);
	--iv-shadow-lg:   0 40px 80px -30px rgba(20,17,15,.42);

	--iv-font-display: "Poppins", "Noto Sans SC", system-ui, sans-serif;
	--iv-font-text:    "Inter", "Noto Sans SC", system-ui, sans-serif;

	--iv-container:   1200px;
	--iv-gutter:      clamp(18px, 4vw, 40px);
	--iv-ease:        cubic-bezier(.22,1,.36,1);
	--iv-header-h:    76px;
}

/* ----- Reset-ish -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
	margin: 0;
	font-family: var(--iv-font-text);
	color: var(--iv-fg);
	background: var(--iv-bg);
	line-height: 1.65;
	font-size: 17px;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--iv-primary); text-decoration: none; transition: color .2s var(--iv-ease); }
a:hover { color: var(--iv-accent-600); }
h1, h2, h3, h4 { font-family: var(--iv-font-display); line-height: 1.12; color: var(--iv-ink); font-weight: 700; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: 1.44em; }
h2 { font-size: 1.08em; }
h3 { font-size: .9em; }
h4 { font-size: .75em; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--iv-accent); outline-offset: 3px; border-radius: 6px; }

/* Chinese locale prefers a slightly larger, looser body */
.iv-lang-zh body, body.iv-lang-zh { font-size: 17.5px; line-height: 1.8; letter-spacing: .01em; }

/* ----- Layout helpers --------------------------------------------------- */
.iv-container { width: 100%; max-width: var(--iv-container); margin-inline: auto; padding-inline: var(--iv-gutter); }
.iv-section { padding-block: clamp(56px, 8vw, 110px); }
.iv-section--tint { background-color: var(--iv-sand-2); background-image: url("../img/persian-boteh-pattern.svg"); background-position: center top; background-size: 260px 260px; }
.iv-section--dark { background: var(--iv-ink); color: #efe7db; }
.iv-section--dark h2, .iv-section--dark h3 { color: #fff; }

.iv-skip { position: absolute; left: -999px; top: 0; z-index: 999; background: var(--iv-ink); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0; }
.iv-skip:focus { left: 0; color: #fff; }

.iv-grid { display: grid; gap: clamp(18px, 2.4vw, 30px); }
.iv-grid--2 { grid-template-columns: repeat(2, 1fr); }
.iv-grid--3 { grid-template-columns: repeat(3, 1fr); }
.iv-grid--4 { grid-template-columns: repeat(4, 1fr); }

.iv-eyebrow { font-family: var(--iv-font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .18em; font-size: .74rem; color: var(--iv-accent-600); margin: 0 0 .6em; }
.iv-eyebrow--light { color: var(--iv-accent); }
.iv-h2 { font-size: clamp(1.22rem, 2.45vw, 1.94rem); }
.iv-lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--iv-ink-2); }

.iv-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.iv-section__head--center { flex-direction: column; align-items: center; text-align: center; }

/* ----- Buttons ---------------------------------------------------------- */
.iv-btn {
	--btn-bg: var(--iv-ink); --btn-fg: #fff;
	display: inline-flex; align-items: center; gap: .5em; justify-content: center;
	font-family: var(--iv-font-display); font-weight: 600; font-size: .96rem;
	padding: .82em 1.5em; border-radius: 100px; border: 1.5px solid transparent;
	background: var(--btn-bg); color: var(--btn-fg); cursor: pointer;
	transition: transform .25s var(--iv-ease), box-shadow .25s var(--iv-ease), background .25s, color .25s;
	will-change: transform; text-align: center; line-height: 1.1;
}
.iv-btn:hover { transform: translateY(-3px); box-shadow: var(--iv-shadow); color: var(--btn-fg); }
.iv-btn:active { transform: translateY(-1px); }
.iv-btn--accent { --btn-bg: var(--iv-accent); --btn-fg: #2a1c05; }
.iv-btn--accent:hover { --btn-bg: var(--iv-accent-600); }
.iv-btn--primary { --btn-bg: var(--iv-primary); --btn-fg: #fff; }
.iv-btn--ghost { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(4px); }
.iv-btn--ghost:hover { --btn-bg: rgba(255,255,255,.14); }
.iv-btn--ghost-dark { --btn-bg: transparent; --btn-fg: var(--iv-ink); border-color: var(--iv-line); }
.iv-btn--ghost-dark:hover { --btn-bg: var(--iv-sand); }
.iv-btn--lg { padding: 1.02em 1.9em; font-size: 1.02rem; }
.iv-btn--block { display: flex; width: 100%; }

/* ----- Header ----------------------------------------------------------- */
.iv-header { position: fixed; inset: 0 0 auto; z-index: 200; width: 100%; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(231,222,210,.72); transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.iv-main { padding-top: var(--iv-header-h); }
.admin-bar .iv-header { top: 32px; }
.iv-header__inner { display: grid; grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr); align-items: center; gap: 22px; min-height: var(--iv-header-h); }
.iv-header.is-scrolled { background: rgba(255,255,255,.86); backdrop-filter: saturate(140%) blur(12px); box-shadow: var(--iv-shadow-sm); }

/* Home has a light editorial hero; booking keeps the cinematic overlay. */
.home .iv-header:not(.is-scrolled) { background: rgba(250,245,236,.92); backdrop-filter: saturate(135%) blur(14px); border-bottom: 1px solid rgba(231,222,210,.7); }
.page-template-template-booking .iv-header:not(.is-scrolled) { background: rgba(255,255,255,.94); }

.iv-brand { justify-self: start; }
.iv-brand__link { display: inline-flex; align-items: center; gap: 10px; }
.iv-brand__mark { display: inline-flex; flex: 0 0 auto; width: 42px; height: 42px; }
.iv-brand__mark img { width: 100%; height: 100%; object-fit: contain; }
.iv-brand__text { font-family: var(--iv-font-display); font-weight: 800; font-size: 1.32rem; letter-spacing: -.02em; color: var(--iv-ink); }

.iv-nav { justify-self: center; margin: 0; }
.iv-nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.iv-nav__list li { position: relative; }
.iv-nav__list a { display: block; padding: 10px 15px; font-family: var(--iv-font-display); font-weight: 500; font-size: .98rem; color: var(--iv-ink-2); border-radius: 10px; }
.iv-nav__list a:hover { color: var(--iv-primary); background: rgba(30,95,140,.07); }
.iv-nav__list .current-menu-item > a { color: var(--iv-primary); }
/* submenu */
.iv-nav__list ul { position: absolute; top: calc(100% + 8px); left: 0; min-width: 210px; background: #fff; border: 1px solid var(--iv-line); border-radius: 14px; box-shadow: var(--iv-shadow); padding: 8px; list-style: none; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .22s var(--iv-ease); }
.iv-nav__list li:hover > ul, .iv-nav__list li:focus-within > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.iv-nav__list ul a { color: var(--iv-ink-2) !important; }

.iv-header__actions { display: flex; align-items: center; justify-self: end; gap: 12px; }
.iv-header__cta { padding: .62em 1.15em; }

/* Language switcher */
.iv-lang { position: relative; }
.iv-lang__toggle { display: inline-flex; align-items: center; gap: 7px; background: transparent; border: 0; cursor: pointer; font-family: var(--iv-font-display); font-weight: 500; font-size: .95rem; color: var(--iv-ink-2); padding: 8px; }
.iv-lang__menu { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--iv-line); border-radius: 14px; box-shadow: var(--iv-shadow); padding: 6px; margin: 0; list-style: none; min-width: 168px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .22s var(--iv-ease); z-index: 20; }
.iv-lang.is-open .iv-lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.iv-lang__menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; color: var(--iv-ink-2); }
.iv-lang__menu a:hover { background: var(--iv-sand); }
.iv-lang__menu a.is-current { color: var(--iv-primary); font-weight: 600; }

/* Burger */
.iv-burger { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: 0; cursor: pointer; }
.iv-burger span { width: 24px; height: 2px; background: var(--iv-ink); border-radius: 2px; transition: .3s var(--iv-ease); }
.iv-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.iv-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.iv-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----- Hero slider ------------------------------------------------------ */
.iv-hero { position: relative; min-height: 720px; overflow: hidden; background-color: #f7f1e8; background-image: url("../img/persian-boteh-pattern.svg"), linear-gradient(132deg, #fcf9f4 0%, #f7f1e8 62%, #f1e6d7 100%); background-position: center, center; background-size: 260px 260px, cover; border-bottom: 1px solid var(--iv-line); }
.iv-hero::before { content: ""; position: absolute; width: clamp(480px, 54vw, 820px); aspect-ratio: 1; right: -8%; top: 50%; transform: translateY(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(30,95,140,.1) 0%, rgba(43,179,163,.045) 38%, rgba(255,255,255,0) 70%); pointer-events: none; }
.iv-hero__layout { min-height: 720px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(480px, 1.05fr); align-items: center; gap: clamp(36px, 5vw, 72px); padding-block: 58px 76px; }
.iv-hero__editorial { position: relative; min-width: 0; }
.iv-hero__copy-viewport { position: relative; height: 430px; max-width: 650px; }
.iv-hero__copy-slide { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(22px); transition: opacity .55s var(--iv-ease), transform .75s var(--iv-ease), visibility .55s; }
.iv-hero__copy-slide.is-active { opacity: 1; visibility: visible; transform: translateY(0); }
.iv-hero__eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 18px; font-family: var(--iv-font-display); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; color: var(--iv-primary); }
.iv-hero__eyebrow-dot { color: var(--iv-accent-600); font-size: 1rem; line-height: 1; }
.iv-hero__title { max-width: 690px; color: var(--iv-primary-700); background: linear-gradient(112deg, var(--iv-primary-700) 0%, var(--iv-primary) 54%, #1f867f 100%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-size: clamp(2.09rem, 3.89vw, 3.92rem); line-height: .98; margin: 0 0 22px; letter-spacing: -.045em; text-wrap: balance; }
.iv-hero__text { max-width: 570px; font-size: clamp(1.05rem, 1.5vw, 1.24rem); color: var(--iv-muted); }
.iv-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 28px; }
.iv-hero__text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--iv-ink); font-family: var(--iv-font-display); font-size: .9rem; font-weight: 600; border-bottom: 1px solid rgba(20,17,15,.3); padding-bottom: 4px; }
.iv-hero__text-link:hover { color: var(--iv-primary); border-color: var(--iv-primary); }
.iv-hero__controls { display: flex; align-items: center; gap: 22px; margin-top: 18px; }
.iv-hero__arrows { display: flex; gap: 8px; }
.iv-hero__arrow { position: static; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(20,17,15,.2); background: rgba(255,255,255,.62); color: var(--iv-ink); font-size: 1rem; line-height: 1; cursor: pointer; transition: .25s var(--iv-ease); }
.iv-hero__arrow:hover { background: var(--iv-primary); border-color: var(--iv-primary); color: #fff; transform: translateY(-2px); }
.iv-hero__dots { display: flex; gap: 5px; }
.iv-hero__dot { position: relative; width: 42px; height: 34px; border: 0; padding: 0 0 7px; background: transparent; color: #aaa096; cursor: pointer; overflow: hidden; font-family: var(--iv-font-display); font-size: .66rem; font-weight: 700; text-align: left; }
.iv-hero__dot::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(20,17,15,.14); }
.iv-hero__dot-index { display: block; }
.iv-hero__dot-fill { position: absolute; left: 0; bottom: 0; z-index: 1; display: block; width: 0; height: 2px; background: var(--iv-primary); }
.iv-hero__dot.is-active { color: var(--iv-ink); }
.iv-hero__dot.is-active .iv-hero__dot-fill { width: 100%; }
.iv-hero__dot.is-animating .iv-hero__dot-fill { animation: iv-dotfill linear forwards; }
.iv-hero__visual { position: relative; justify-self: end; width: min(128%, 720px); transform: translateX(clamp(0px, 3vw, 40px)); }
.iv-hero__visual::before { content: ""; position: absolute; z-index: 1; right: 11%; bottom: 1.4%; left: 11%; height: 12%; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(48,32,18,.32) 0%, rgba(48,32,18,.18) 38%, rgba(48,32,18,0) 74%); filter: blur(10px); transform: translateY(50%) scaleX(.94); pointer-events: none; }
.iv-hero__canvas-frame { position: relative; z-index: 2; isolation: isolate; width: 100%; aspect-ratio: 1671 / 941; filter: drop-shadow(0 24px 30px rgba(64,43,20,.16)); }
.iv-hero__canvas-frame::after { content: ""; position: absolute; z-index: 2; inset: 0; background: url("../img/hero-apadana-frame.png") center / contain no-repeat; pointer-events: none; }
.iv-hero__viewport { position: absolute; z-index: 1; top: 24.5%; right: 20.8%; bottom: 20.8%; left: 20.8%; overflow: hidden; background: #d8c6aa; }
.iv-hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateX(9%); transition: opacity .75s var(--iv-ease), transform 1s var(--iv-ease), visibility .75s; }
.iv-hero__slide.is-active { opacity: 1; visibility: visible; transform: translateX(0); }
.iv-hero__scene { position: absolute; inset: 0; overflow: hidden; }
.iv-hero__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.01); image-rendering: auto; backface-visibility: hidden; }
.iv-hero__slide.is-active .iv-hero__img { animation: iv-kenburns 9s ease-out forwards; }
.iv-hero__img--persepolis { object-position: 54% center; }
.iv-hero__img--hormuz { object-position: 59% center; }
.iv-hero__img--chahkooh { object-position: center center; }
.iv-hero__img--badab { object-position: 61% center; }
.iv-hero__scroll { position: absolute; z-index: 5; left: 50%; bottom: 20px; display: inline-flex; align-items: center; gap: 9px; transform: translateX(-50%); color: var(--iv-muted); font-family: var(--iv-font-display); font-size: .68rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.iv-hero__scroll:hover { color: var(--iv-primary); }
.iv-hero__scroll i { font-style: normal; animation: iv-scroll 1.6s infinite; }

/* ----- Intro / stats ---------------------------------------------------- */
.iv-intro__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.iv-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.iv-stat { background: var(--iv-sand-2); border: 1px solid var(--iv-line); border-radius: var(--iv-radius); padding: 26px 24px; text-align: left; }
.iv-stat__num { font-family: var(--iv-font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); color: var(--iv-primary); display: block; line-height: 1; }
.iv-stat__label { color: var(--iv-muted); font-size: .95rem; }

/* ----- Cards ------------------------------------------------------------ */
.iv-card { background: #fff; border: 1px solid var(--iv-line); border-radius: var(--iv-radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .4s var(--iv-ease), box-shadow .4s var(--iv-ease); }
.iv-card:hover { transform: translateY(-8px); box-shadow: var(--iv-shadow-lg); }
.iv-card__media { position: relative; display: block; aspect-ratio: 16/11; overflow: hidden; background: var(--iv-sand); }
.iv-card__img, .iv-card__scene, .iv-card__scene .iv-scene { width: 100%; height: 100%; object-fit: cover; }
.iv-card__scene .iv-scene { transform: scale(1.02); }
.iv-card:hover .iv-card__img, .iv-card:hover .iv-card__scene { transform: scale(1.07); transition: transform .8s var(--iv-ease); }
.iv-card__price { position: absolute; top: 14px; right: 14px; display: grid; gap: 1px; background: rgba(20,17,15,.78); backdrop-filter: blur(8px); color: #fff; font-family: var(--iv-font-display); font-weight: 600; font-size: .85rem; line-height: 1.15; padding: 8px 13px; border-radius: 14px; }
.iv-card__price small { color: rgba(255,255,255,.7); font-family: var(--iv-font-text); font-size: .58rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.iv-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.iv-card__tag { align-self: flex-start; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--iv-turq); background: rgba(43,179,163,.1); padding: 5px 10px; border-radius: 100px; margin-bottom: 12px; }
.iv-card__title { font-size: 1rem; margin: 0 0 .4em; }
.iv-card__title a { color: var(--iv-ink); }
.iv-card__title a:hover { color: var(--iv-primary); }
.iv-card__excerpt { color: var(--iv-muted); font-size: .96rem; margin: 0 0 18px; flex: 1; }
.iv-card__footer { display: flex; align-items: center; gap: 14px; padding-top: 16px; border-top: 1px solid var(--iv-line); font-size: .88rem; color: var(--iv-muted); }
.iv-card__rating { color: var(--iv-accent-600); font-weight: 600; }
.iv-card__link { margin-left: auto; font-family: var(--iv-font-display); font-weight: 600; color: var(--iv-primary); }

/* ----- Featured tours rail --------------------------------------------- */
.iv-section__actions { display: flex; align-items: center; gap: 14px; }
.iv-featured__rail { position: relative; overflow: hidden; }
.iv-featured__track {
	display: flex;
	gap: clamp(18px, 2.4vw, 30px);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	overscroll-behavior-inline: contain;
	padding: 8px 2px 26px;
}
.iv-featured__track::-webkit-scrollbar { display: none; }
.iv-featured__track > .iv-card {
	flex: 0 0 calc((100% - clamp(36px, 4.8vw, 60px)) / 3);
	min-width: 0;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

/* ----- Features --------------------------------------------------------- */
.iv-features { overflow: hidden; }
.iv-feature-rail { overflow: hidden; }
.iv-feature-rail__track { display: flex; gap: clamp(16px, 2.2vw, 26px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 8px; }
.iv-feature-rail__track::-webkit-scrollbar { display: none; }
.iv-feature { flex: 0 0 calc((100% - 52px) / 3); min-width: 0; scroll-snap-align: start; text-align: left; padding: clamp(22px, 2.4vw, 30px); border: 1px solid var(--iv-line); border-radius: var(--iv-radius-lg); background: linear-gradient(145deg, #fff, var(--iv-sand-2)); box-shadow: var(--iv-shadow-sm); }
.iv-feature__icon { font-size: 2.1rem; display: inline-grid; place-items: center; width: 62px; height: 62px; border-radius: 18px; background: var(--iv-sand); margin-bottom: 16px; }
.iv-feature__title { font-size: .9rem; margin-bottom: .35em; }
.iv-feature__text { color: var(--iv-muted); font-size: .96rem; margin: 0; }
.iv-rail__controls { display: flex; align-items: center; gap: 8px; }
.iv-rail__arrow { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--iv-line); border-radius: 50%; background: #fff; color: var(--iv-ink); cursor: pointer; font-size: 1.1rem; transition: .2s var(--iv-ease); }
.iv-rail__arrow:hover { color: #fff; background: var(--iv-primary); border-color: var(--iv-primary); transform: translateY(-2px); }
.iv-rail__arrow:disabled { opacity: .35; cursor: default; transform: none; }

/* ----- Destinations mosaic --------------------------------------------- */
.iv-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 16px; }
.iv-mosaic__item { position: relative; border-radius: var(--iv-radius-lg); overflow: hidden; display: block; }
.iv-mosaic__a, .iv-mosaic__f { grid-column: span 2; }
.iv-mosaic__scene, .iv-mosaic__scene .iv-scene, .iv-mosaic__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--iv-ease); }
.iv-mosaic__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(20,17,15,.78)); }
.iv-mosaic__item:hover .iv-mosaic__scene, .iv-mosaic__item:hover .iv-mosaic__img { transform: scale(1.08); }
.iv-mosaic__label { position: absolute; left: 22px; bottom: 20px; z-index: 2; color: #fff; }
.iv-mosaic__label h3 { color: #fff; margin: 0; font-size: 1.08rem; }
.iv-mosaic__label span { color: rgba(255,255,255,.82); font-size: .9rem; }

/* ----- Testimonials ----------------------------------------------------- */
.iv-quote { background: #fff; border: 1px solid var(--iv-line); border-radius: var(--iv-radius-lg); padding: 32px 28px; margin: 0; box-shadow: var(--iv-shadow-sm); }
.iv-quote__stars { color: var(--iv-accent); letter-spacing: 2px; margin-bottom: 14px; }
.iv-quote blockquote { margin: 0 0 20px; font-size: 1.1rem; color: var(--iv-ink-2); line-height: 1.6; }
.iv-quote figcaption { display: flex; flex-direction: column; }
.iv-quote figcaption strong { color: var(--iv-ink); font-family: var(--iv-font-display); }
.iv-quote figcaption span { color: var(--iv-muted); font-size: .88rem; }
.iv-quote__mark { display: inline-grid; width: 36px; height: 36px; place-items: center; margin-bottom: 18px; border-radius: 12px; background: rgba(233,162,59,.14); color: var(--iv-accent-600); }
.iv-quote h3 { margin: 0 0 10px; font-size: 1rem; }
.iv-quote p { margin: 0; color: var(--iv-muted); }

/* ----- Page heads ------------------------------------------------------- */
.iv-page-head { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(54px, 7vw, 88px) clamp(34px, 5vw, 56px); background-color: var(--iv-sand-2); background-image: url("../img/persian-boteh-pattern.svg"), linear-gradient(135deg, #fff 0%, var(--iv-sand-2) 58%, #f2e5d3 100%); background-position: center, center; background-size: 260px 260px, cover; border-bottom: 1px solid var(--iv-line); }
.iv-page-head::before { content: ""; position: absolute; z-index: -1; width: clamp(220px, 34vw, 520px); aspect-ratio: 1; border-radius: 50%; top: -70%; right: -8%; background: radial-gradient(circle, rgba(43,179,163,.16), rgba(30,95,140,.06) 48%, transparent 70%); }
.iv-page-head::after {
	content: "";
	position: absolute;
	z-index: 3;
	left: 50%;
	bottom: 0;
	width: min(68vw, 420px);
	height: 3px;
	border-radius: 999px;
	background: linear-gradient(90deg, transparent 0%, var(--iv-accent) 20%, var(--iv-turq) 50%, var(--iv-primary) 80%, transparent 100%);
	box-shadow: 0 3px 15px rgba(43,179,163,.18);
	transform: translateX(-50%);
}
.iv-page-head .iv-container { position: relative; }
.iv-page-head__eyebrow { margin: 0 0 8px; font-family: var(--iv-font-display); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--iv-primary); }
.iv-page-title { font-size: clamp(1.37rem, 3.17vw, 2.3rem); margin: 0; }
.iv-page-title span { color: var(--iv-primary); }
.iv-page-desc { color: var(--iv-muted); max-width: 640px; margin-top: 10px; }
.iv-page-head--book, .iv-page-head--legal { position: relative; }
.iv-page-head--book { background: var(--iv-ink); color: #fff; overflow: hidden; padding-block: clamp(90px, 12vw, 150px) clamp(40px, 6vw, 60px); border: 0; }
.iv-book-art { position: absolute; inset: 0; opacity: .5; }
.iv-book-art .iv-scene, .iv-book-art__img { width: 100%; height: 100%; object-fit: cover; }
.iv-page-head__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,17,15,.5), rgba(20,17,15,.82)); }
.iv-page-head--book .iv-container { position: relative; z-index: 2; }
.iv-page-title--light { color: #fff; }
.iv-page-desc--light { color: rgba(255,255,255,.82); }

/* breadcrumbs */
.iv-crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 14px; padding: 0; font-size: .84rem; color: var(--iv-muted); }
.iv-crumbs li + li::before { content: "›"; margin-right: 8px; opacity: .5; }
.iv-crumbs a { color: var(--iv-muted); }
.iv-crumbs a:hover { color: var(--iv-primary); }
.iv-page-head--book .iv-crumbs, .iv-page-head--book .iv-crumbs a { color: rgba(255,255,255,.7); }

/* ----- Content prose ---------------------------------------------------- */
.iv-page { padding-block: clamp(40px, 6vw, 80px); }
.iv-content-prose { font-size: 1.08rem; color: var(--iv-ink-2); }
.iv-content-prose--narrow { max-width: 760px; margin-inline: auto; }
.iv-content-prose--wide { width: min(100%, 1040px); margin-inline: 0 auto; }
.iv-about-intro { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.iv-about-intro__lead { margin: 0; color: var(--iv-ink); font-family: var(--iv-font-display); font-size: clamp(1.18rem, 2vw, 1.55rem); line-height: 1.55; }
.iv-about-facts { display: grid; gap: 10px; margin: 0; padding: 20px; border: 1px solid var(--iv-line); border-radius: var(--iv-radius); background: var(--iv-sand-2); }
.iv-about-facts div { display: grid; gap: 3px; padding-bottom: 10px; border-bottom: 1px solid var(--iv-line); }
.iv-about-facts div:last-child { padding-bottom: 0; border-bottom: 0; }
.iv-about-facts dt { color: var(--iv-muted); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.iv-about-facts dd { margin: 0; color: var(--iv-ink); font-weight: 600; overflow-wrap: anywhere; }
.iv-about-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 2rem 0; }
.iv-about-card { padding: 24px; border: 1px solid var(--iv-line); border-radius: var(--iv-radius); background: #fff; box-shadow: var(--iv-shadow-sm); }
.iv-about-card h3 { margin-top: 0; }
.iv-about-note { margin-top: 2rem; padding: 24px 26px; border-left: 4px solid var(--iv-turq); border-radius: var(--iv-radius-sm); background: rgba(43,179,163,.07); }
.iv-content-prose h2 { font-size: clamp(1.1rem, 2.16vw, 1.44rem); margin-top: 1.6em; }
.iv-content-prose h3 { font-size: 1rem; margin-top: 1.4em; }
.iv-content-prose img { border-radius: var(--iv-radius); margin: 1.4em 0; }
.iv-content-prose a { text-decoration: underline; text-underline-offset: 3px; }
.iv-content-prose blockquote { border-left: 4px solid var(--iv-accent); padding: 6px 22px; margin: 1.6em 0; font-size: 1.2rem; font-style: italic; color: var(--iv-ink); }
.iv-content-prose figure { margin: 1.6em 0; }
.iv-page__cover img { border-radius: var(--iv-radius-lg); }

/* with sidebar */
.iv-with-sidebar, .iv-archive-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 4vw, 56px); padding-block: clamp(40px, 6vw, 72px); align-items: start; }
.iv-sticky { position: sticky; top: calc(var(--iv-header-h) + 20px); }
.iv-sidebar .widget, .iv-widget { background: #fff; border: 1px solid var(--iv-line); border-radius: var(--iv-radius); padding: 24px; margin-bottom: 22px; box-shadow: var(--iv-shadow-sm); }
.widget__title { font-size: .82rem; margin-bottom: .8em; }
.iv-widget--planner { position: relative; overflow: hidden; color: #dce9ef; background: linear-gradient(150deg, var(--iv-primary-700), var(--iv-primary) 60%, #1f7a82); border: 0; box-shadow: var(--iv-shadow); }
.iv-widget--planner::after { content: ""; position: absolute; width: 190px; height: 190px; right: -80px; top: -90px; border-radius: 50%; background: rgba(255,255,255,.08); }
.iv-widget--planner .widget__title { color: #fff; font-size: 1rem; position: relative; }
.iv-widget--planner p { position: relative; color: rgba(255,255,255,.82); font-size: .94rem; }
.iv-widget__eyebrow { margin: 0 0 7px !important; color: #ffd697 !important; font-family: var(--iv-font-display); font-size: .72rem !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.iv-widget__checks { list-style: none; padding: 0; margin: 18px 0; font-size: .9rem; color: #fff; }
.iv-widget__checks li { position: relative; padding: 7px 0 7px 23px; border-bottom: 1px solid rgba(255,255,255,.12); }
.iv-widget__checks li::before { content: "✓"; position: absolute; left: 0; color: var(--iv-accent); font-weight: 800; }
.iv-widget__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.iv-widget__head > span { color: var(--iv-accent-600); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.iv-destination-list { list-style: none; margin: 0; padding: 0; }
.iv-destination-list li + li { border-top: 1px solid var(--iv-line); }
.iv-destination-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 2px; color: var(--iv-ink-2); }
.iv-destination-list a:hover { color: var(--iv-primary); padding-left: 6px; }
.iv-destination-list small { min-width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--iv-sand); color: var(--iv-muted); font-size: .75rem; }
.iv-widget--search .iv-search { width: 100%; }
.iv-widget--search .iv-search__input { min-width: 0; background: var(--iv-sand-2); }
.iv-mini-posts { display: grid; }
.iv-mini-post { display: grid; gap: 4px; padding: 12px 0; color: var(--iv-ink); }
.iv-mini-post + .iv-mini-post { border-top: 1px solid var(--iv-line); }
.iv-mini-post__title { font-family: var(--iv-font-display); font-size: .92rem; font-weight: 600; line-height: 1.35; }
.iv-mini-post small { color: var(--iv-muted); font-size: .75rem; }

/* ----- Single ----------------------------------------------------------- */
.iv-single__hero-shell { position: relative; padding-top: clamp(24px, 4vw, 48px); padding-bottom: clamp(22px, 3vw, 34px); }
.iv-single__hero-shell::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: min(68vw, 420px);
	height: 3px;
	border-radius: 999px;
	background: linear-gradient(90deg, transparent 0%, var(--iv-accent) 20%, var(--iv-turq) 50%, var(--iv-primary) 80%, transparent 100%);
	box-shadow: 0 3px 15px rgba(43,179,163,.18);
	transform: translateX(-50%);
}
.iv-single__hero { position: relative; min-height: clamp(360px, 42vw, 500px); display: flex; align-items: flex-end; overflow: hidden; border: 1px solid rgba(20,17,15,.08); border-radius: var(--iv-radius-lg); box-shadow: 0 28px 70px -38px rgba(20,17,15,.58); }
.iv-single__cover, .iv-single__cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.iv-single__cover--art .iv-scene { width: 100%; height: 100%; }
.iv-single__hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,17,15,.08) 8%, rgba(20,17,15,.28) 48%, rgba(20,17,15,.86) 100%); }
.iv-single__hero-inner { position: relative; z-index: 2; width: 100%; color: #fff; padding: clamp(28px, 4vw, 48px); }
.iv-single__hero .iv-crumbs { width: fit-content; max-width: 100%; margin-bottom: 18px; }
.iv-single__hero .iv-crumbs ol { width: fit-content; max-width: 100%; margin: 0; padding: 9px 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(20,17,15,.5); color: rgba(255,255,255,.86); box-shadow: 0 10px 30px rgba(20,17,15,.14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.iv-single__hero .iv-crumbs a { color: rgba(255,255,255,.86); }
.iv-single__hero .iv-crumbs a:hover { color: #fff; }
.iv-single__tag { display: inline-block; background: var(--iv-accent); color: #2a1c05; font-weight: 600; font-size: .78rem; padding: 6px 14px; border-radius: 100px; margin-bottom: 16px; }
.iv-single__title { color: #fff; font-size: clamp(1.44rem, 3.6vw, 2.59rem); max-width: 900px; margin: 0; }
.iv-single__layout { display: grid; grid-template-columns: 1fr 340px; gap: clamp(30px, 5vw, 64px); padding-block: clamp(40px, 6vw, 72px); align-items: start; }
.iv-single__tags { margin-top: 2em; display: flex; gap: 8px; flex-wrap: wrap; }
.iv-single__tags a { background: var(--iv-sand); padding: 5px 12px; border-radius: 100px; font-size: .82rem; }

/* booking card */
.iv-booking-card { background: #fff; border: 1px solid var(--iv-line); border-radius: var(--iv-radius-lg); padding: 26px; box-shadow: var(--iv-shadow); }
.iv-booking-card__price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 18px; }
.iv-booking-card__price span { color: var(--iv-muted); font-size: .9rem; }
.iv-booking-card__price strong { font-family: var(--iv-font-display); font-size: 1.9rem; color: var(--iv-primary); }
.iv-booking-card__estimate { margin: -8px 0 18px; padding: 12px 13px; border-radius: 10px; background: var(--iv-sand-2); color: var(--iv-muted); font-size: .74rem; line-height: 1.55; }
.iv-booking-card__meta { list-style: none; margin: 0 0 20px; padding: 0; }
.iv-booking-card__meta li { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--iv-line); font-size: .94rem; }
.iv-booking-card__meta span { color: var(--iv-muted); }
.iv-booking-card .iv-btn { margin-bottom: 10px; }
.iv-booking-card__assurance { display: grid; gap: 8px; margin-top: 12px; padding-top: 17px; border-top: 1px solid var(--iv-line); color: var(--iv-muted); font-size: .78rem; }
.iv-booking-card__assurance span::first-letter { color: var(--iv-turq); }
.iv-booking-card__assurance a { width: max-content; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.iv-entry-meta, .entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .9rem; color: rgba(255,255,255,.85); margin-top: 14px; }
.entry-meta__dot { opacity: .5; }

/* ----- Entry meta on cards etc ----------------------------------------- */

/* ----- Pagination ------------------------------------------------------- */
.iv-pagination { margin-top: clamp(36px, 5vw, 60px); }
.iv-pagination .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.iv-pagination .page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 10px; border-radius: 12px; border: 1px solid var(--iv-line); font-family: var(--iv-font-display); font-weight: 600; color: var(--iv-ink-2); }
.iv-pagination .page-numbers:hover { border-color: var(--iv-primary); color: var(--iv-primary); }
.iv-pagination .page-numbers.current { background: var(--iv-primary); border-color: var(--iv-primary); color: #fff; }

/* ----- Forms ------------------------------------------------------------ */
.iv-form { background: #fff; border: 1px solid var(--iv-line); border-radius: var(--iv-radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--iv-shadow); }
.iv-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.iv-field { margin-bottom: 18px; display: flex; flex-direction: column; }
.iv-field label { font-family: var(--iv-font-display); font-weight: 600; font-size: .9rem; margin-bottom: 8px; color: var(--iv-ink); }
.iv-field label span { color: var(--iv-pom); }
.iv-field input, .iv-field select, .iv-field textarea {
	font-family: var(--iv-font-text); font-size: 1rem; padding: 13px 15px; border: 1.5px solid var(--iv-line);
	border-radius: 12px; background: var(--iv-sand-2); color: var(--iv-ink); transition: border-color .2s, box-shadow .2s, background .2s; width: 100%;
}
.iv-field input:focus, .iv-field select:focus, .iv-field textarea:focus { outline: none; border-color: var(--iv-primary); background: #fff; box-shadow: 0 0 0 4px rgba(30,95,140,.12); }
.iv-field.is-invalid input, .iv-field.is-invalid select, .iv-field.is-invalid textarea { border-color: var(--iv-pom); background: #fdf3f2; }
.iv-field__error { color: var(--iv-pom); font-size: .82rem; margin-top: 6px; min-height: 1em; }
.iv-hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.iv-form__submit { margin-top: 8px; }
.iv-form__note { font-size: .82rem; color: var(--iv-muted); margin-top: 14px; }
.iv-form__status { margin-top: 16px; font-weight: 600; min-height: 1.4em; }
.iv-form__status.is-success { color: var(--iv-turq); }
.iv-form__status.is-error { color: var(--iv-pom); }
.iv-form.is-sending .iv-form__submit { opacity: .7; pointer-events: none; }

/* ----- Contact / Booking layout ---------------------------------------- */
.iv-contact, .iv-book { padding-block: clamp(40px, 6vw, 80px); }
.iv-contact__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.iv-contact__list { list-style: none; margin: 24px 0 0; padding: 0; }
.iv-contact__list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--iv-line); }
.iv-contact__ico { width: 40px; height: 40px; display: grid; place-items: center; background: var(--iv-sand); border-radius: 12px; }
.iv-book__grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(30px, 5vw, 56px); align-items: start; }
.iv-book__usp { list-style: none; margin: 24px 0 0; padding: 0; }
.iv-book__usp li { padding: 9px 0; color: var(--iv-ink-2); }

/* ----- Legal ------------------------------------------------------------ */
.iv-legal { padding-block: clamp(40px, 6vw, 72px); }
.iv-legal__grid { display: grid; grid-template-columns: 260px 1fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.iv-legal__toc { background: var(--iv-sand-2); border: 1px solid var(--iv-line); border-radius: var(--iv-radius); padding: 22px; }
.iv-legal__toc h2 { font-size: .74rem; margin-bottom: .8em; }
.iv-legal__toc ul { list-style: none; margin: 0; padding: 0; }
.iv-legal__toc li { margin-bottom: 4px; }
.iv-legal__toc a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--iv-muted); font-size: .92rem; border-left: 2px solid transparent; }
.iv-legal__toc a:hover, .iv-legal__toc a.is-active { color: var(--iv-primary); background: #fff; border-left-color: var(--iv-accent); }
.iv-legal__updated { color: var(--iv-muted); font-size: .9rem; margin: 8px 0 0; }
.iv-legal__body h2 { scroll-margin-top: calc(var(--iv-header-h) + 20px); }
.iv-legal__summary { margin-bottom: 34px; padding: 20px 22px; border: 1px solid rgba(30,95,140,.2); border-left: 4px solid var(--iv-primary); border-radius: var(--iv-radius-sm); background: rgba(30,95,140,.06); color: var(--iv-ink-2); }
.iv-legal__table-wrap { margin: 1.5em 0; overflow-x: auto; border: 1px solid var(--iv-line); border-radius: var(--iv-radius-sm); }
.iv-legal__table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .92rem; }
.iv-legal__table th, .iv-legal__table td { padding: 13px 15px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--iv-line); }
.iv-legal__table th { background: var(--iv-sand-2); color: var(--iv-ink); font-family: var(--iv-font-display); }
.iv-legal__table tr:last-child td { border-bottom: 0; }

/* ----- Nothing found ---------------------------------------------------- */
.iv-none { text-align: center; max-width: 560px; margin: clamp(40px, 8vw, 90px) auto; }
.iv-none__art { font-size: 3.4rem; margin-bottom: 12px; }
.iv-none__title { font-size: 1.22rem; }
.iv-none__text { color: var(--iv-muted); }
.iv-none .iv-search { margin: 22px 0; }

/* ----- Comments --------------------------------------------------------- */
.iv-comments-wrap { padding-block: clamp(38px, 6vw, 76px); }
.iv-comments { max-width: 900px; margin-inline: auto; }
.iv-comments__title { margin-bottom: 22px; font-size: 1.12rem; }
.iv-comments__list { display: grid; gap: 14px; list-style: none; padding: 0; }
.iv-comments__list .comment-body { position: relative; padding: 22px 24px 22px 92px; border: 1px solid var(--iv-line); border-radius: 18px; background: #fff; box-shadow: var(--iv-shadow-sm); }
.iv-comments__list .avatar { position: absolute; top: 22px; left: 24px; width: 50px; height: 50px; border-radius: 50%; }
.iv-comments__list .comment-author { font-family: var(--iv-font-display); font-weight: 700; }
.iv-comments__list .comment-metadata { margin: 3px 0 12px; font-size: .78rem; color: var(--iv-muted); }
.iv-comments__list .comment-metadata a { color: inherit; }
.iv-comments__list .comment-content p:last-child { margin-bottom: 0; }
.iv-comments__list .reply { margin-top: 12px; }
.iv-comments__list .comment-reply-link { font-family: var(--iv-font-display); font-size: .78rem; font-weight: 600; }
.iv-comments .comment-respond {
	position: relative;
	overflow: hidden;
	padding: clamp(28px, 5vw, 48px);
	border: 1px solid rgba(30,95,140,.16);
	border-radius: var(--iv-radius-lg);
	background: linear-gradient(145deg, #fff 0%, #fff 54%, #faf5ec 100%);
	box-shadow: 0 28px 70px -44px rgba(20,17,15,.42);
}
.iv-comments .comment-respond::before { content: ""; position: absolute; width: 220px; aspect-ratio: 1; right: -90px; top: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(43,179,163,.13), transparent 69%); pointer-events: none; }
.iv-comment-form__head { position: relative; max-width: 650px; margin-bottom: 24px; }
.iv-comment-form__head > span { display: block; margin-bottom: 7px; color: var(--iv-accent-600); font-family: var(--iv-font-display); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.iv-comment-form__head .comment-reply-title { margin: 0 0 9px; font-size: clamp(1.34rem, 2.5vw, 1.8rem); }
.iv-comment-form__head p { margin: 0; color: var(--iv-muted); font-size: .92rem; }
.iv-comment-form { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.iv-comment-form > p { margin: 0; }
.iv-comment-form__note,
.iv-comment-form .comment-form-comment,
.iv-comment-form .comment-form-url,
.iv-comment-form .comment-form-cookies-consent,
.iv-comment-form .logged-in-as,
.iv-comment-form__footer { grid-column: 1 / -1; }
.iv-comment-form__note { display: flex; align-items: center; gap: 8px; color: var(--iv-muted); font-size: .8rem; }
.iv-comment-form__note span { color: var(--iv-accent-600); }
.iv-comment-form label { display: flex; align-items: center; gap: 4px; margin-bottom: 8px; color: var(--iv-ink); font-family: var(--iv-font-display); font-size: .8rem; font-weight: 600; }
.iv-comment-form .required { color: var(--iv-pom); }
.iv-comment-form .iv-optional { margin-left: auto; color: var(--iv-muted); font-family: var(--iv-font-text); font-size: .72rem; font-weight: 400; }
.iv-comment-form input[type="text"],
.iv-comment-form input[type="email"],
.iv-comment-form input[type="url"],
.iv-comment-form textarea {
	width: 100%;
	padding: 13px 15px;
	border: 1.5px solid var(--iv-line);
	border-radius: 12px;
	background: var(--iv-sand-2);
	color: var(--iv-ink);
	font-family: var(--iv-font-text);
	font-size: .95rem;
	transition: border-color .2s, box-shadow .2s, background .2s;
}
.iv-comment-form textarea { min-height: 168px; resize: vertical; line-height: 1.65; }
.iv-comment-form input:focus,
.iv-comment-form textarea:focus { outline: none; border-color: var(--iv-primary); background: #fff; box-shadow: 0 0 0 4px rgba(30,95,140,.1); }
.iv-comment-form input::placeholder,
.iv-comment-form textarea::placeholder { color: #9b9187; }
.iv-comment-form .comment-form-cookies-consent { display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: start; gap: 10px; padding: 14px 16px; border-radius: 12px; background: rgba(30,95,140,.055); }
.iv-comment-form .comment-form-cookies-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--iv-primary); }
.iv-comment-form .comment-form-cookies-consent label { margin: 0; color: var(--iv-muted); font-family: var(--iv-font-text); font-size: .82rem; font-weight: 400; line-height: 1.55; }
.iv-comment-form__footer { display: flex; justify-content: flex-end; margin-top: 3px; }
.iv-comment-submit { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 180px; padding: 13px 22px; border: 0; border-radius: 999px; background: var(--iv-primary); color: #fff; font-family: var(--iv-font-display); font-size: .86rem; font-weight: 700; cursor: pointer; box-shadow: 0 12px 30px -18px rgba(30,95,140,.9); transition: transform .22s var(--iv-ease), background .22s, box-shadow .22s; }
.iv-comment-submit:hover { transform: translateY(-2px); background: var(--iv-primary-700); box-shadow: 0 18px 34px -18px rgba(30,95,140,.95); }

/* ----- Search form ------------------------------------------------------ */
.iv-search { display: flex; gap: 8px; max-width: 460px; }
.iv-search__input { flex: 1; padding: 13px 16px; border: 1.5px solid var(--iv-line); border-radius: 100px; background: #fff; font-size: 1rem; }
.iv-search__input:focus { outline: none; border-color: var(--iv-primary); box-shadow: 0 0 0 4px rgba(30,95,140,.12); }
.iv-search__btn { width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--iv-primary); color: #fff; cursor: pointer; display: grid; place-items: center; flex-shrink: 0; }
.iv-search__btn:hover { background: var(--iv-primary-700); }

/* ----- 404 -------------------------------------------------------------- */
.iv-404 { position: relative; min-height: 82vh; display: flex; align-items: center; overflow: hidden; color: #fff; }
.iv-404__art { position: absolute; inset: 0; }
.iv-404__art .iv-scene, .iv-404__img { width: 100%; height: 100%; object-fit: cover; }
.iv-404__scrim { position: absolute; inset: 0; background: rgba(11,16,48,.62); }
.iv-404__inner { position: relative; z-index: 2; text-align: center; max-width: 620px; margin-inline: auto; }
.iv-404__code { font-family: var(--iv-font-display); font-weight: 800; font-size: clamp(4rem, 14vw, 9rem); line-height: 1; color: var(--iv-accent); margin: 0; }
.iv-404__title { color: #fff; font-size: clamp(1.15rem, 2.88vw, 1.87rem); }
.iv-404__text { color: rgba(255,255,255,.85); }
.iv-404__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 26px 0; }
.iv-404__search { display: flex; justify-content: center; }
.iv-404__search .iv-search { margin-inline: auto; }

/* ----- Footer ----------------------------------------------------------- */
.iv-footer { background: var(--iv-ink); color: #cfc6ba; }
.iv-footer__cta { padding-block: clamp(50px, 7vw, 90px) 0; }
.iv-footer__cta-inner { background: linear-gradient(135deg, var(--iv-primary), var(--iv-turq)); border-radius: var(--iv-radius-lg); padding: clamp(36px, 6vw, 64px); text-align: center; position: relative; overflow: hidden; }
.iv-footer__cta-inner::before { content: ""; position: absolute; top: -40%; right: -10%; width: 320px; height: 320px; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%); }
.iv-footer__cta-inner h2 { color: #fff; font-size: clamp(1.15rem, 2.59vw, 1.87rem); position: relative; }
.iv-footer__cta-inner p { color: rgba(255,255,255,.9); position: relative; margin-bottom: 26px; }
.iv-footer__main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-block: clamp(48px, 7vw, 80px); }
.iv-footer__tag { color: #9a9086; max-width: 320px; margin-top: 14px; }
.iv-footer__brand .iv-brand__link { gap: 12px; }
.iv-footer__brand .iv-brand__mark { width: 46px; height: 46px; }
.iv-footer__brand .iv-brand__text { color: #fff; }
.iv-footer__col h3, .iv-footer .widget__title { color: #fff; font-size: .78rem; }
.iv-footer__col ul, .iv-footer__contact { list-style: none; padding: 0; margin: 0; }
.iv-footer__col li { margin-bottom: 10px; }
.iv-footer a { color: #cfc6ba; }
.iv-footer a:hover { color: var(--iv-accent); }
.iv-social { display: flex; gap: 10px; margin-top: 20px; }
.iv-social__link { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; color: #fff; font-weight: 700; }
.iv-social__link svg { width: 19px; height: 19px; }
.iv-social__link:hover { background: var(--iv-accent); color: #2a1c05; border-color: var(--iv-accent); }
.iv-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); }
.iv-footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 22px; flex-wrap: wrap; }
.iv-copy { margin: 0; font-size: .88rem; color: #9a9086; }
.iv-footer__legal { display: flex; align-items: center; justify-content: center; gap: 20px; }
.iv-legal-nav__list { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; font-size: .88rem; }
.iv-cookie-settings { padding: 0; border: 0; background: transparent; color: #cfc6ba; font: inherit; font-size: .88rem; cursor: pointer; }
.iv-cookie-settings:hover { color: var(--iv-accent); }
.iv-footer__designer { margin: 0; color: #9a9086; font-family: var(--iv-font-display); font-size: .8rem; letter-spacing: .02em; }
.iv-footer__designer a { color: #cfc6ba; }

/* ----- Privacy consent -------------------------------------------------- */
.iv-consent { position: fixed; z-index: 500; left: clamp(14px, 3vw, 34px); bottom: clamp(14px, 3vw, 30px); width: min(720px, calc(100vw - 28px)); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 17px; border: 1px solid rgba(255,255,255,.14); border-radius: 20px; background: rgba(20,17,15,.96); color: #e9e1d6; box-shadow: 0 26px 80px rgba(20,17,15,.35); backdrop-filter: blur(18px); opacity: 0; transform: translateY(18px); transition: opacity .35s var(--iv-ease), transform .35s var(--iv-ease); }
.iv-consent[hidden] { display: none; }
.iv-consent.is-visible { opacity: 1; transform: translateY(0); }
.iv-consent__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; color: #231707; background: var(--iv-accent); }
.iv-consent__body h2 { color: #fff; font-size: .76rem; margin: 0 0 4px; }
.iv-consent__body p { margin: 0; color: #bfb5aa; font-size: .8rem; line-height: 1.45; }
.iv-consent__body a { color: #f2c681; text-decoration: underline; text-underline-offset: 2px; }
.iv-consent__actions { display: flex; align-items: center; gap: 8px; }
.iv-consent__btn { white-space: nowrap; padding: 10px 13px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; font-family: var(--iv-font-display); font-size: .76rem; font-weight: 600; cursor: pointer; }
.iv-consent__btn--quiet { color: #eee6dc; background: transparent; }
.iv-consent__btn--quiet:hover { background: rgba(255,255,255,.08); }
.iv-consent__btn--accept { color: #261903; background: var(--iv-accent); border-color: var(--iv-accent); }
.iv-consent__btn--accept:hover { background: #f2b04f; }

/* ----- Back to top ------------------------------------------------------ */
.iv-totop { position: fixed; right: 24px; bottom: 24px; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--iv-primary); color: #fff; font-size: 1.3rem; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(16px); transition: .3s var(--iv-ease); z-index: 120; box-shadow: var(--iv-shadow); }
.iv-totop.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.iv-totop:hover { background: var(--iv-accent); color: #2a1c05; transform: translateY(-4px); }

/* ----- Mobile menu / responsive ---------------------------------------- */
@media (max-width: 1024px) {
	.iv-with-sidebar, .iv-archive-layout, .iv-single__layout, .iv-contact__grid, .iv-book__grid, .iv-legal__grid, .iv-intro__grid { grid-template-columns: 1fr; }
	.iv-legal__toc { position: static; }
	.iv-sidebar, .iv-single__aside { margin-top: 20px; }
	.iv-hero__layout { grid-template-columns: minmax(0, .95fr) minmax(420px, .9fr); gap: 36px; }
	.iv-hero__copy-viewport { height: 410px; }
	.iv-hero__title { font-size: clamp(1.94rem, 3.6vw, 3.17rem); }
	.iv-hero__visual { width: min(120%, 650px); transform: translateX(20px); }
	.iv-mosaic { grid-template-columns: repeat(2, 1fr); }
	.iv-mosaic__a, .iv-mosaic__f { grid-column: span 2; grid-row: span 1; }
	.iv-featured__rail { margin-right: calc(-1 * var(--iv-gutter)); }
	.iv-featured__track { gap: 18px; padding-right: var(--iv-gutter); }
	.iv-featured__track > .iv-card { flex-basis: min(430px, 72vw); }
	.iv-feature-rail { margin-right: calc(-1 * var(--iv-gutter)); }
	.iv-feature-rail__track { gap: 18px; padding-right: var(--iv-gutter); }
	.iv-feature { flex: 0 0 min(380px, 72vw); scroll-snap-align: start; }
}
@media (max-width: 900px) {
	:root { --iv-header-h: 66px; }
	.iv-header__inner { display: flex; gap: 8px; }
	.iv-header__actions { margin-inline-start: auto; gap: 5px; }
	.iv-burger { display: flex; }
	.iv-header__cta { display: none; }
	.iv-nav { position: fixed; inset: var(--iv-header-h) 0 0 auto; width: min(86vw, 360px); background: #fff; box-shadow: var(--iv-shadow-lg); transform: translateX(100%); transition: transform .38s var(--iv-ease); padding: 24px; overflow-y: auto; z-index: 190; margin: 0; }
	.iv-nav.is-open { transform: translateX(0); }
	.iv-nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
	.iv-nav__list a { color: var(--iv-ink) !important; padding: 14px 12px; font-size: 1.1rem; border-radius: 12px; }
	.iv-nav__list ul { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding-left: 12px; }
	.home .iv-header:not(.is-scrolled) .iv-nav__list > li > a { color: var(--iv-ink) !important; }
	.iv-grid--3, .iv-grid--4 { grid-template-columns: 1fr 1fr; }
	.iv-stats { grid-template-columns: 1fr 1fr; }
	.iv-footer__main { grid-template-columns: 1fr 1fr; gap: 30px; }
	.iv-consent { grid-template-columns: auto minmax(0, 1fr); }
	.iv-consent__actions { grid-column: 1 / -1; justify-content: flex-end; }
}
@media (max-width: 820px) {
	.iv-hero { min-height: 0; }
	.iv-hero::before { width: 128vw; right: -48vw; top: 72%; opacity: .72; }
	.iv-hero__layout { min-height: 0; grid-template-columns: 1fr; gap: 28px; padding-block: 48px 70px; }
	.iv-hero__editorial { width: 100%; }
	.iv-hero__copy-viewport { height: 380px; max-width: 650px; }
	.iv-hero__visual { justify-self: center; width: min(calc(100% + 32px), 680px); transform: none; }
	.iv-hero__scroll { display: none; }
}
@media (max-width: 600px) {
	body { font-size: 16px; }
	.iv-grid--2, .iv-grid--3, .iv-grid--4 { grid-template-columns: 1fr; }
	.iv-form__row { grid-template-columns: 1fr; }
	.iv-about-intro, .iv-about-grid { grid-template-columns: 1fr; }
	.iv-mosaic { grid-template-columns: 1fr; grid-auto-rows: 220px; }
	.iv-mosaic__a, .iv-mosaic__f { grid-column: span 1; }
	.iv-hero__layout { gap: 22px; padding-block: 36px 58px; }
	.iv-hero__copy-viewport { height: 366px; }
	.iv-hero__copy-slide { justify-content: flex-start; }
	.iv-hero__eyebrow { flex-wrap: wrap; gap: 7px; margin-bottom: 14px; font-size: .65rem; letter-spacing: .12em; }
	.iv-hero__title { font-size: clamp(1.69rem, 8.64vw, 2.2rem); line-height: 1; margin-bottom: 17px; }
	.iv-hero__text { max-width: 34rem; font-size: .98rem; line-height: 1.6; }
	.iv-hero__actions { align-items: flex-start; gap: 14px; margin-top: 20px; }
	.iv-hero__actions .iv-btn { width: auto; padding: .92em 1.45em; font-size: .9rem; }
	.iv-hero__text-link { font-size: .82rem; }
	.iv-hero__controls { justify-content: space-between; gap: 12px; margin-top: 6px; }
	.iv-hero__arrow { width: 40px; height: 40px; }
	.iv-hero__dot { width: 29px; }
	.iv-hero__visual { width: min(calc(100% + 32px), 520px); }
	.iv-feature { flex-basis: min(330px, 82vw); }
	.iv-footer__cta { padding-top: 42px; }
	.iv-footer__cta-inner { padding: 34px 22px; border-radius: 22px; }
	.iv-footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; padding-block: 42px; }
	.iv-footer__brand { grid-column: 1 / -1; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.1); }
	.iv-footer__tag { max-width: 32rem; font-size: .92rem; }
	.iv-footer__col { min-width: 0; }
	.iv-footer__col h3, .iv-footer .widget__title { margin-bottom: 16px; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
	.iv-footer__col li { margin-bottom: 12px; font-size: .9rem; line-height: 1.45; }
	.iv-footer__contact a { overflow-wrap: anywhere; }
	.iv-footer__bottom-inner { display: grid; grid-template-columns: 1fr; justify-items: center; gap: 15px; padding-block: 24px 28px; text-align: center; }
	.iv-footer__legal { order: 1; width: 100%; flex-wrap: wrap; gap: 12px 18px; }
	.iv-legal-nav__list { justify-content: center; flex-wrap: wrap; gap: 10px 18px; }
	.iv-cookie-settings { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.16); }
	.iv-footer__designer { order: 2; padding: 9px 14px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; }
	.iv-copy { order: 3; font-size: .78rem; }
	.iv-single__hero-shell { padding-top: 18px; }
	.iv-single__hero { min-height: 350px; border-radius: 20px; }
	.iv-single__hero-inner { padding: 22px 20px; }
	.iv-single__hero .iv-crumbs { margin-bottom: 15px; }
	.iv-single__hero .iv-crumbs ol { gap: 5px; padding: 8px 11px; border-radius: 14px; font-size: .72rem; }
	.iv-single__hero .iv-crumbs li + li::before { margin-right: 5px; }
	.iv-section__actions { width: 100%; justify-content: space-between; }
	.iv-section__actions .iv-btn { padding-inline: 1.15em; font-size: .84rem; }
	.iv-featured__track > .iv-card { flex-basis: min(340px, 86vw); }
	.iv-comments .comment-respond { padding: 25px 18px; border-radius: 20px; }
	.iv-comment-form { grid-template-columns: 1fr; gap: 16px; }
	.iv-comment-form > * { grid-column: 1 !important; }
	.iv-comment-form__footer { justify-content: stretch; }
	.iv-comment-submit { width: 100%; }
	.iv-stats { grid-template-columns: 1fr; }
	.iv-consent { grid-template-columns: 1fr; gap: 10px; padding: 15px; }
	.iv-consent__icon { display: none; }
	.iv-consent__actions { grid-column: auto; justify-content: stretch; }
	.iv-consent__btn { flex: 1; }
}
@media (max-width: 782px) {
	.admin-bar .iv-header { top: 46px; }
	.admin-bar .iv-nav { top: calc(var(--iv-header-h) + 46px); }
}

/* ----- Reduced motion --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.iv-hero__copy-slide.is-active { opacity: 1; transform: none; }
}
@media (forced-colors: active) {
	.iv-hero__title { background: none; color: CanvasText; -webkit-text-fill-color: CanvasText; }
}
