/* =========================================================
   POURNAK STUDIO — Design System
   Brand: #0D9276 teal · #1A1A1A charcoal · #D5F2EB mint · #922F4C coral
   ========================================================= */

:root {
  --teal: #0D9276;
  --teal-600: #0a7a62;
  --teal-300: #38b89b;
  --charcoal: #1A1A1A;
  --charcoal-900: #121212;
  --charcoal-800: #222222;
  --mint: #D5F2EB;
  --mint-50: #eef9f5;
  --coral: #922F4C;
  --red-line: #e5372f;

  --ink: #1A1A1A;
  --muted: #5b6b66;
  --line: rgba(13, 146, 118, 0.14);

  --bg: #ffffff;
  --bg-soft: var(--mint-50);

  --font-fa: "Vazirmatn", "Inter", system-ui, sans-serif;
  --font-lat: "Inter", "Vazirmatn", sans-serif;
  --font-display: "Space Grotesk", "Vazirmatn", sans-serif; /* Latin labels — falls back to Vazirmatn for Persian glyphs */

  --maxw: 1200px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 18px rgba(13, 146, 118, 0.08);
  --shadow-md: 0 18px 50px rgba(26, 26, 26, 0.12);
  --shadow-lg: 0 30px 80px rgba(26, 26, 26, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-fa);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.text-accent { color: var(--teal); }

.skip-link {
  position: absolute; right: -9999px; top: 8px; z-index: 200;
  background: var(--teal); color: #fff; padding: 10px 18px; border-radius: 10px;
}
.skip-link:focus { right: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 0.98rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn--lg { padding: 16px 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--teal); color: #fff; box-shadow: 0 10px 26px rgba(13,146,118,.32); }
.btn--primary:hover { background: var(--teal-600); transform: translateY(-3px); box-shadow: 0 16px 34px rgba(13,146,118,.42); }
.btn--ghost { background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.45); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: #fff; color: var(--charcoal); transform: translateY(-3px); }
.btn__play { font-size: .7em; }

.link-arrow { color: var(--teal); font-weight: 700; font-size: .95rem; display: inline-block; transition: transform .25s var(--ease); }
.link-arrow:hover { transform: translateX(-6px); }

/* ---------- Section heads ---------- */
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head__eyebrow,
.contact__info .section-head__eyebrow {
  display: inline-block; color: var(--teal); font-weight: 700; letter-spacing: .5px;
  font-size: .9rem; margin-bottom: 14px; padding: 6px 16px; border-radius: 999px;
  background: var(--mint);
}
.section-head__title { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; line-height: 1.25; letter-spacing: -.01em; }
.section-head__lead { margin-top: 18px; color: var(--muted); font-size: 1.1rem; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 100;
  transition: background .35s, box-shadow .35s, padding .35s;
  padding: 18px 0;
}
.nav__inner { display: flex; align-items: center; gap: 24px; }
.nav__logo { display: inline-flex; align-items: center; gap: 10px; font-size: 1.3rem; font-weight: 600; color: #fff; }
.nav__logo strong { font-weight: 800; color: #fff; }
.nav__logo-mark { flex: 0 0 auto; width: 18px; height: 38px; background: url(../assets/logo-mark.svg) center / contain no-repeat; filter: drop-shadow(0 0 6px rgba(13,146,118,.35)); }
.nav__menu { display: flex; gap: 30px; margin-inline-start: auto; }
.nav__menu a { color: rgba(255,255,255,.82); font-weight: 500; font-size: .98rem; position: relative; }
.nav__menu a::after { content:""; position:absolute; inset-block-end:-6px; inset-inline-start:0; width:0; height:2px; background:var(--teal); transition:width .3s var(--ease); }
.nav__menu a:hover { color:#fff; }
.nav__menu a:hover::after { width:100%; }
.nav__cta { padding: 11px 22px; }

/* scrolled state */
.nav.is-scrolled { background: rgba(18,18,18,.92); backdrop-filter: blur(14px); box-shadow: 0 6px 30px rgba(0,0,0,.25); padding: 12px 0; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__toggle span { width: 26px; height: 2.5px; background: #fff; border-radius: 2px; transition: .3s var(--ease); }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav__drawer {
  position: fixed; inset-block-start: 0; inset-inline: 0; padding: 90px 24px 30px;
  background: rgba(18,18,18,.98); backdrop-filter: blur(14px);
  display: flex; flex-direction: column; gap: 6px;
  transform: translateY(-110%); transition: transform .4s var(--ease); z-index: -1;
}
.nav__drawer a { color: #fff; padding: 14px 8px; font-size: 1.1rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.nav__drawer .btn { margin-top: 14px; border-bottom: none; }
.nav.is-open .nav__drawer { transform: translateY(0); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; background: var(--charcoal); }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); animation: kenburns 18s ease-out forwards; }
.hero__video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: kenburns 26s ease-out forwards; }
@keyframes kenburns { to { transform: scale(1); } }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(18,18,18,.96) 2%, rgba(18,18,18,.55) 45%, rgba(18,18,18,.7) 100%),
    radial-gradient(1100px 520px at 75% 25%, rgba(13,146,118,.28), transparent 60%);
}
.hero__content { position: relative; max-width: 880px; padding-block: 120px 80px; }
.hero__eyebrow {
  display: inline-block; padding: 8px 18px; border-radius: 999px;
  background: rgba(13,146,118,.18); border: 1px solid rgba(13,146,118,.5);
  color: var(--mint); font-weight: 600; font-size: .92rem; margin-bottom: 22px;
}
.hero__title { font-size: clamp(2.3rem, 6vw, 4.4rem); font-weight: 800; line-height: 1.18; letter-spacing: -.02em; }
.hero__subtitle { margin-top: 22px; font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: rgba(255,255,255,.85); max-width: 640px; }
.hero__actions { margin-top: 38px; display: flex; gap: 16px; flex-wrap: wrap; }

.hero__scroll { position: absolute; inset-block-end: 26px; inset-inline-start: 50%; transform: translateX(50%); width: 26px; height: 44px; border: 2px solid rgba(255,255,255,.5); border-radius: 16px; }
.hero__scroll span { position: absolute; inset-block-start: 8px; inset-inline-start: 50%; transform: translateX(50%); width: 4px; height: 8px; border-radius: 2px; background: #fff; animation: scrolldot 1.6s infinite; }
@keyframes scrolldot { 0%{opacity:0; top:8px} 40%{opacity:1} 80%{opacity:0; top:24px} 100%{opacity:0} }

/* ---------- Stats ---------- */
.stats { background: var(--charcoal); color: #fff; padding: 46px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat { text-align: center; padding: 10px; position: relative; }
.stat:not(:last-child)::after { content:""; position:absolute; inset-inline-start:0; inset-block:18%; width:1px; background: rgba(255,255,255,.12); }
.stat__num { font-family: var(--font-lat); font-size: clamp(2rem,4vw,3rem); font-weight: 800; color: var(--teal-300); line-height: 1; }
.stat__suffix { font-size: 1.6rem; font-weight: 800; color: var(--teal-300); }
.stat__label { display: block; margin-top: 10px; color: rgba(255,255,255,.7); font-size: .95rem; }

/* ---------- Studio (key section) ---------- */
.studio { padding: 100px 0; background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.studio__subtitle {
  display: flex; align-items: center; gap: 14px;
  font-size: 1.5rem; font-weight: 800; margin: 64px 0 28px;
}
.studio__subtitle .num { font-family: var(--font-lat); color: var(--teal); font-size: 1.05rem; background: var(--mint); padding: 6px 12px; border-radius: 10px; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.team-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; cursor: pointer;
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--teal); }
.team-card__avatar {
  width: 70px; height: 70px; margin: 0 auto 18px; border-radius: 20px;
  display: grid; place-items: center; font-size: 1.8rem; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--teal-600));
}
.team-card h4 { font-size: 1.15rem; margin-bottom: 8px; }
.team-card p { color: var(--muted); font-size: .96rem; }
.team-card__more { display: inline-block; margin-top: 14px; color: var(--teal); font-weight: 700; font-size: .9rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery--two { grid-template-columns: repeat(2, 1fr); }
/* uniform, smaller equipment cards in a single row */
.gallery .gcard, .gallery .gcard--lg { min-height: 0; aspect-ratio: 4 / 3; }
.gallery .gcard__body { padding: 16px 16px; }
.gallery .gcard__body h4 { font-size: 1.05rem; }
.gallery .gcard__body p { font-size: .84rem; }
.gcard {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--charcoal);
  min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end;
  cursor: pointer; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.gcard--lg { min-height: 380px; }
.gcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.gcard img, .gcard__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; filter: brightness(.78); }
.gcard:hover img, .gcard:hover .gcard__video { transform: scale(1.08); filter: brightness(.95); }

/* Video card extras */
.gcard--video { background: #000; }
.gcard__rec {
  position: absolute; inset-block-start: 18px; inset-inline-start: 18px; z-index: 3;
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 10px;
  background: rgba(18,18,18,.55); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px; color: #fff; font-family: var(--font-lat); font-size: .72rem; font-weight: 700; letter-spacing: 1px;
}
.gcard__rec::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #ff3b46; box-shadow: 0 0 10px #ff3b46; animation: rec-blink 1.4s steps(1) infinite; }
@keyframes rec-blink { 0%,49%{opacity:1} 50%,100%{opacity:.25} }
.gcard__zoom--play { font-size: 1rem; padding-inline-start: 3px; }
.gcard:hover .gcard__zoom--play { transform: scale(1.12); }
.gcard__icon-cover { position:absolute; inset:0; display:grid; place-items:center; font-size:4rem; background: linear-gradient(135deg, var(--charcoal-800), var(--teal-600)); }
.gcard__body {
  position: relative; z-index: 2; padding: 26px 24px; color: #fff;
  background: linear-gradient(to top, rgba(18,18,18,.92), rgba(18,18,18,0));
}
.gcard__tag { display:inline-block; background: var(--teal); color:#fff; font-size:.78rem; font-weight:700; padding:5px 12px; border-radius:999px; margin-bottom:12px; }
.gcard__body h4 { font-size: 1.25rem; margin-bottom: 6px; }
.gcard__body p { color: rgba(255,255,255,.8); font-size: .95rem; }
.gcard__zoom {
  position: absolute; inset-block-start: 18px; inset-inline-end: 18px; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.16);
  backdrop-filter: blur(6px); color: #fff; font-size: 1.5rem; display: grid; place-items: center;
  transition: background .3s, transform .3s; border: 1px solid rgba(255,255,255,.3);
}
.gcard:hover .gcard__zoom { background: var(--teal); transform: rotate(90deg); }

/* Roles */
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.role {
  display: flex; gap: 0; align-items: stretch; background: #fff; overflow: hidden;
  border: 1px solid var(--line); border-radius: 16px; padding: 0;
  box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.role:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.role__media { position: relative; width: 128px; flex: none; overflow: hidden; background: #000; }
.role__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.9); transition: transform .8s var(--ease), filter .4s; }
.role:hover .role__video { transform: scale(1.07); filter: brightness(1); }
.role__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, rgba(18,18,18,.35), transparent 60%); }
.role__badge {
  position: absolute; inset-block-start: 10px; inset-inline-start: 10px; z-index: 2;
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(13,146,118,.92); color: #fff; box-shadow: 0 6px 16px rgba(13,146,118,.4);
}
.role__badge .ico { width: 18px; height: 18px; }
.role__body { padding: 18px 20px; align-self: center; }
.role h4 { font-size: 1.05rem; margin-bottom: 4px; }
.role p { color: var(--muted); font-size: .97rem; }
.role__more { color: var(--teal); font-weight: 700; font-size: .9rem; margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; }

/* Roles — cinematic video variant */
.role--video {
  display: block; padding: 0; overflow: hidden; background: var(--charcoal);
  border-color: rgba(255,255,255,.06);
}
.role__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.role__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.82); transition: transform .8s var(--ease), filter .4s; }
.role--video:hover .role__video { transform: scale(1.06); filter: brightness(.95); }
.role__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,18,18,.55), transparent 55%); }
.role__badge {
  position: absolute; inset-block-start: 14px; inset-inline-end: 14px; z-index: 2;
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(13,146,118,.92); color: #fff; box-shadow: 0 8px 20px rgba(13,146,118,.4);
}
.role__play {
  position: absolute; inset-block-end: 14px; inset-inline-start: 14px; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.16); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.35);
  color: #fff; transition: background .3s, transform .3s;
}
.role--video:hover .role__play { background: var(--teal); transform: scale(1.08); }
.role__body { padding: 24px 26px 28px; }
.role--video .role__body h4 { color: #fff; font-size: 1.25rem; }
.role--video .role__body p { color: rgba(255,255,255,.72); }
.role--video .role__more { color: var(--teal-300); }
.role--video:hover .role__more .ico { transform: translateX(-4px); }

/* Tour */
.studio__tour { position: relative; margin-top: 56px; border-radius: var(--radius); overflow: hidden; min-height: 280px; display: flex; align-items: center; cursor: pointer; }
.studio__tour-bg { position: absolute; inset: 0; }
.studio__tour-bg img, .studio__tour-video { width: 100%; height: 100%; object-fit: cover; filter: brightness(.45); transition: transform .8s var(--ease); }
.studio__tour:hover .studio__tour-bg img, .studio__tour:hover .studio__tour-video { transform: scale(1.06); }
.studio__tour-content { position: relative; z-index: 2; color: #fff; display: flex; align-items: center; gap: 24px; padding: 40px; }
.studio__tour-content h3 { font-size: 1.5rem; }
.studio__tour-content p { color: rgba(255,255,255,.82); margin-top: 6px; }
.play-btn {
  flex-shrink: 0; width: 76px; height: 76px; border-radius: 50%; background: var(--teal);
  display: grid; place-items: center; font-size: 1.6rem; color: #fff;
  box-shadow: 0 0 0 0 rgba(13,146,118,.6); animation: pulse 2.4s infinite;
}
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(13,146,118,.5)} 70%{box-shadow:0 0 0 24px rgba(13,146,118,0)} 100%{box-shadow:0 0 0 0 rgba(13,146,118,0)} }
.studio__cta { text-align: center; margin-top: 48px; }

/* ---------- Why ---------- */
.why { padding: 100px 0; background: var(--charcoal); color: #fff; }
.why .section-head__title { color: #fff; }
.why__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.why-card { background: var(--charcoal-800); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 32px 26px; transition: transform .35s var(--ease), border-color .35s; }
.why-card:hover { transform: translateY(-8px); border-color: var(--teal); }
.why-card__icon { font-size: 2.2rem; margin-bottom: 16px; }
.why-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.why-card p { color: rgba(255,255,255,.7); font-size: .96rem; }

/* ---------- Services ---------- */
.services { padding: 100px 0; }
.services__grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px;
  box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  position: relative; overflow: hidden;
}
.service::before { content:""; position:absolute; inset-block:0; inset-inline-start:0; width:5px; background:var(--teal); transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease); }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service:hover::before { transform: scaleY(1); }
.service h3 { font-size: 1.3rem; margin-bottom: 10px; }
.service p { color: var(--muted); margin-bottom: 16px; }

/* ---------- Testimonials ---------- */
.testimonials { padding: 100px 0; background: var(--bg-soft); }
.testimonials__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.quote { background: #fff; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); position: relative; }
.quote::before { content:"\201D"; position:absolute; inset-block-start:10px; inset-inline-end:26px; font-size:4rem; color:var(--mint); font-family: var(--font-lat); line-height:1; }
.quote blockquote { font-size: 1.05rem; line-height: 1.9; }
.quote figcaption { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.quote figcaption strong { display: block; color: var(--teal); }
.quote figcaption span { color: var(--muted); font-size: .9rem; }

/* ---------- Blog ---------- */
.blog { padding: 100px 0; }
.blog__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.post { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); overflow: hidden; }
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post__thumb { position: relative; margin: -30px -30px 20px; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.post__video { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(.9); transition: transform .6s var(--ease); }
.post:hover .post__video { transform: scale(1.05); filter: brightness(1); }
.post__cat { display: inline-block; background: var(--mint); color: var(--teal-600); font-size: .8rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }
.post h3 { font-size: 1.2rem; margin-bottom: 10px; line-height: 1.5; }
.post p { color: var(--muted); margin-bottom: 16px; font-size: .96rem; }

/* ---------- Areas ---------- */
.areas { padding: 90px 0; background: var(--charcoal); color: #fff; }
.areas .section-head__title { color: #fff; }
.areas__list { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; max-width: 900px; margin-inline: auto; }
.areas__list a {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: var(--charcoal-800); border: 1px solid rgba(255,255,255,.1); font-weight: 600;
  transition: background .3s, border-color .3s, transform .3s;
}
.areas__list a:hover { background: var(--teal); border-color: var(--teal); transform: translateY(-3px); }

/* ---------- Contact ---------- */
.contact { padding: 100px 0; background: var(--bg-soft); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact__info .section-head__title { text-align: start; font-size: clamp(1.7rem,3vw,2.4rem); }
.contact__info > p { color: var(--muted); margin: 16px 0 24px; }
.contact__channels { display: flex; gap: 14px; margin-bottom: 24px; }
.contact__channel { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 12px; font-weight: 700; color: #fff; transition: transform .3s; }
.contact__channel:hover { transform: translateY(-3px); }
.contact__channel--wa { background: #25D366; }
.contact__channel--tg { background: #229ED9; }
.contact__meta { margin-bottom: 24px; display: flex; flex-wrap: wrap; gap: 6px 28px; }
.contact__meta li { padding: 0; color: var(--muted); }
.contact__meta strong { color: var(--ink); }
.contact__media { position: relative; margin: 4px 0 22px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: #000; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.contact__video { width: 100%; height: 100%; object-fit: cover; display: block; }
.contact__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.contact__map iframe { width: 100%; height: 240px; border: 0; display: block; filter: grayscale(.2); }
.contact__map-link { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 14px; background: #fff; border-block-start: 1px solid var(--line); color: var(--teal); font-weight: 700; font-size: .9rem; text-decoration: none; transition: background .25s; }
.contact__map-link:hover, .contact__map-link:focus-visible { background: var(--mint-50); }

.contact__form { background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 8px; font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  font-family: inherit; font-size: 1rem; background: var(--mint-50); transition: border-color .25s, background .25s; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
.field textarea { resize: vertical; }
.contact__note { font-size: .85rem; color: var(--muted); margin-top: 14px; text-align: center; }
.form-status { margin-top: 12px; text-align: center; font-weight: 700; color: var(--teal); min-height: 1.2em; }
/* honeypot (bots only) */
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
form.is-busy button[type="submit"] { opacity: .7; cursor: progress; }
/* success card shown in place of the contact form */
.contact__success { background: #fff; border-radius: var(--radius); padding: 44px 36px; box-shadow: var(--shadow-md); border: 1px solid var(--line); text-align: center; outline: none; }
.contact__success h3 { font-size: 1.45rem; font-weight: 900; margin: 10px 0 8px; }
.contact__success p { color: var(--muted); max-width: 40ch; margin: 0 auto 22px; line-height: 1.9; }
.contact__success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.contact__success[hidden] { display: none !important; }

/* ---------- Footer ---------- */
.footer { background: var(--charcoal-900); color: rgba(255,255,255,.72); padding: 60px 0 24px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
.nav__logo--footer { color: #fff; font-size: 1.4rem; margin-bottom: 14px; }
.footer__about { font-size: .95rem; max-width: 320px; }
.footer__col h4 { color: #fff; margin-bottom: 16px; font-size: 1rem; }
.footer__col a { display: block; padding: 6px 0; transition: color .25s, padding-inline-start .25s; }
.footer__col a:hover { color: var(--teal-300); padding-inline-start: 6px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); font-size: .88rem; flex-wrap: wrap; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.is-open { display: flex; }
.modal__overlay { position: absolute; inset: 0; background: rgba(18,18,18,.78); backdrop-filter: blur(6px); animation: fade .3s; }
@keyframes fade { from{opacity:0} to{opacity:1} }
.modal__box {
  position: relative; z-index: 2; background: #fff; border-radius: var(--radius); max-width: 620px; width: 100%;
  overflow: hidden; box-shadow: var(--shadow-lg); animation: pop .4s var(--ease); max-height: 90vh; overflow-y: auto;
}
@keyframes pop { from{opacity:0; transform: translateY(24px) scale(.97)} to{opacity:1; transform:none} }
.modal__close { position: absolute; inset-block-start: 14px; inset-inline-end: 14px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.9); font-size: 1.6rem; line-height: 1; color: var(--charcoal); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.modal__close:hover { background: var(--coral); color: #fff; }
.modal__media img { width: 100%; height: 280px; object-fit: cover; }
.modal__media video { width: 100%; max-height: 60vh; display: block; background: #000; aspect-ratio: 16 / 9; }
.modal__media--icon { height: 200px; display: grid; place-items: center; font-size: 5rem; background: linear-gradient(135deg, var(--charcoal-800), var(--teal-600)); }
.modal__content { padding: 30px; }
.modal__tag { display: inline-block; background: var(--mint); color: var(--teal-600); font-size: .8rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.modal__content h3 { font-size: 1.5rem; margin-bottom: 12px; }
.modal__content p { color: var(--muted); margin-bottom: 22px; }

/* ---------- FAB ---------- */
/* ---------- Floating contact speed-dial ---------- */
.dial { position: fixed; inset-block-end: 24px; left: 24px; right: auto; z-index: 95; width: 60px; height: 60px; }
.dial.is-hidden { opacity: 0; transform: translateY(22px) scale(.85); pointer-events: none; }
.dial { transition: opacity .4s var(--ease), transform .4s var(--ease); }

.dial__toggle {
  position: relative; width: 60px; height: 60px; border-radius: 50%;
  background: var(--teal); color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(13,146,118,.45); flex: none;
  transition: transform .35s var(--ease), background .3s, box-shadow .3s;
}
.dial__toggle:hover { transform: scale(1.06); background: var(--teal-600); }
.dial__toggle::before { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(13,146,118,.45); animation: dial-pulse 2.8s ease-out infinite; }
@keyframes dial-pulse { 0%{box-shadow:0 0 0 0 rgba(13,146,118,.5)} 70%{box-shadow:0 0 0 16px rgba(13,146,118,0)} 100%{box-shadow:0 0 0 0 rgba(13,146,118,0)} }
.dial[data-open="true"] .dial__toggle { transform: rotate(90deg); }
.dial[data-open="true"] .dial__toggle::before { animation: none; }
.dial__icon { position: absolute; width: 26px; height: 26px; transition: opacity .3s, transform .35s var(--ease); }
.dial__icon--close { opacity: 0; transform: rotate(-90deg) scale(.5); }
.dial[data-open="true"] .dial__icon--main { opacity: 0; transform: rotate(90deg) scale(.5); }
.dial[data-open="true"] .dial__icon--close { opacity: 1; transform: rotate(0) scale(1); }

/* Radial menu — items fan out on an arc around the toggle (up + toward viewport) */
.dial__menu { position: absolute; left: 30px; bottom: 30px; width: 0; height: 0; margin: 0; padding: 0; list-style: none; }
.dial__item {
  position: absolute; left: 0; bottom: 0; width: 50px; height: 50px; margin: -25px 0 0 -25px;
  opacity: 0; pointer-events: none; transform: translate(0, 0) scale(.4);
  transition: opacity .3s var(--ease), transform .4s var(--ease);
}
.dial[data-open="true"] .dial__item { opacity: 1; pointer-events: auto; }
/* radial target positions (r ≈ 100px), arc from straight-up to straight-right */
.dial[data-open="true"] .dial__item:nth-child(1) { transform: translate(0, -100px) scale(1); transition-delay: .05s; }
.dial[data-open="true"] .dial__item:nth-child(2) { transform: translate(50px, -87px) scale(1); transition-delay: .1s; }
.dial[data-open="true"] .dial__item:nth-child(3) { transform: translate(87px, -50px) scale(1); transition-delay: .15s; }
.dial[data-open="true"] .dial__item:nth-child(4) { transform: translate(100px, 0) scale(1); transition-delay: .2s; }
.dial__action {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; box-shadow: var(--shadow-md); transition: transform .3s var(--ease);
}
.dial__action .ico { width: 22px; height: 22px; }
.dial__action:hover { transform: scale(1.12); }
.dial__action--wa { background: #25D366; }
.dial__action--tg { background: #229ED9; }
.dial__action--call { background: var(--charcoal-800); }
.dial__action--book { background: var(--coral); }
/* label appears on hover, to the right of each action */
.dial__tip {
  position: absolute; left: 60px; top: 50%; transform: translateY(-50%) translateX(6px);
  background: var(--charcoal); color: #fff; font-size: .8rem; font-weight: 700;
  padding: 6px 11px; border-radius: 8px; white-space: nowrap; box-shadow: var(--shadow-sm);
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.dial__item:hover .dial__tip { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ---------- Booking / consultation modal ---------- */
.booking { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.booking.is-open { visibility: visible; }
.booking__overlay { position: absolute; inset: 0; background: rgba(18,18,18,.62); backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s var(--ease); }
.booking.is-open .booking__overlay { opacity: 1; }
.booking__card {
  position: relative; z-index: 1; width: min(500px, 100%); max-height: calc(100dvh - 40px); overflow-y: auto;
  background: var(--bg); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 36px 32px 28px; opacity: 0; transform: translateY(28px) scale(.96);
  transition: opacity .45s var(--ease), transform .45s var(--ease); border: 1px solid var(--line);
}
.booking.is-open .booking__card { opacity: 1; transform: none; }
.booking__close { position: absolute; inset-block-start: 14px; inset-inline-end: 14px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); background: var(--mint-50); transition: background .25s, color .25s; }
.booking__close:hover { background: var(--mint); color: var(--ink); }

.booking__head { text-align: center; margin-bottom: 22px; }
.booking__badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(146,47,76,.1); color: var(--coral); font-weight: 800; font-size: .8rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; }
.booking__head h3 { font-size: clamp(1.4rem, 3vw, 1.8rem); font-weight: 900; }
.booking__head p { color: var(--muted); margin-top: 8px; font-size: .95rem; }

.booking__form { display: flex; flex-direction: column; gap: 16px; }
.bfield { position: relative; }
.bfield__icon { position: absolute; inset-block-start: 15px; inset-inline-start: 15px; color: var(--teal); pointer-events: none; z-index: 2; }
.bfield--area .bfield__icon { inset-block-start: 15px; }
.bfield input, .bfield textarea {
  width: 100%; padding: 15px 46px 15px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem; background: var(--mint-50); color: var(--ink);
  transition: border-color .25s, background .25s, box-shadow .25s; resize: vertical;
}
.bfield textarea { min-height: 84px; line-height: 1.7; }
.bfield input:focus, .bfield textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(13,146,118,.12); }
.bfield label {
  position: absolute; inset-block-start: 15px; inset-inline-start: 46px; color: var(--muted);
  font-size: 1rem; pointer-events: none; transition: transform .22s var(--ease), color .22s, font-size .22s, background .22s;
  transform-origin: inline-start; background: transparent; padding: 0 4px;
}
.bfield label em { color: var(--teal); font-style: normal; font-size: .85em; }
.bfield input:focus + label, .bfield input:not(:placeholder-shown) + label,
.bfield textarea:focus + label, .bfield textarea:not(:placeholder-shown) + label {
  transform: translateY(-27px) scale(.86); color: var(--teal); background: var(--bg);
}
.bfield.is-invalid input, .bfield.is-invalid textarea { border-color: var(--coral); background: rgba(146,47,76,.05); }
.booking__submit { margin-top: 6px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.booking__note { text-align: center; color: var(--muted); font-size: .82rem; margin-top: 4px; }
#bookingStatus { text-align: center; font-size: .9rem; font-weight: 700; margin-top: 2px; }

/* success pane */
.booking__pane--success { text-align: center; padding: 14px 6px 8px; }
.booking__check { display: inline-grid; place-items: center; width: 92px; height: 92px; margin-bottom: 8px; }
.booking__check svg { width: 92px; height: 92px; }
.booking__check-circle { stroke: var(--teal); stroke-width: 2.5; stroke-dasharray: 151; stroke-dashoffset: 151; }
.booking__check-mark { stroke: var(--teal); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 48; stroke-dashoffset: 48; }
.booking.show-success .booking__check-circle { animation: check-circle .6s var(--ease) forwards; }
.booking.show-success .booking__check-mark { animation: check-mark .4s var(--ease) .5s forwards; }
@keyframes check-circle { to { stroke-dashoffset: 0; } }
@keyframes check-mark { to { stroke-dashoffset: 0; } }
.booking__pane--success h3 { font-size: 1.5rem; font-weight: 900; margin-bottom: 8px; }
.booking__pane--success p { color: var(--muted); line-height: 1.9; margin-bottom: 20px; }

@media (max-width: 480px) {
  .dial { inset-block-end: 18px; left: 18px; right: auto; }
  .booking__card { padding: 30px 20px 22px; }
}

/* ---------- Reveal animation base ----------
   Only hide when JS is active, so content is always visible if JS/GSAP fail. */
.js .reveal { opacity: 0; transform: translateY(34px); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .team-grid, .why__grid { grid-template-columns: repeat(2,1fr); }
  .gallery, .gallery--two { grid-template-columns: 1fr 1fr; }
  .testimonials__grid, .blog__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  body { font-size: 16px; }
  .nav__menu, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .stat:nth-child(2)::after { display: none; }
  .services__grid, .roles { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; gap: 32px; }
  .contact__info .section-head__title { text-align: center; }
  .studio__tour-content { flex-direction: column; text-align: center; padding: 32px 24px; }
  .footer__bottom { justify-content: center; text-align: center; }
}
@media (max-width: 540px) {
  .team-grid, .why__grid, .gallery, .gallery--two { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  /* Stack hero CTAs full-width so long labels never clip */
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

/* =========================================================
   PREMIUM POLISH  ·  Style: Trust & Authority
   ========================================================= */

/* ---------- SVG Icon system (replaces all emoji) ---------- */
.ico { width: 24px; height: 24px; display: inline-block; vertical-align: middle; flex: none; color: inherit; }
.ico--xs { width: 16px; height: 16px; }
.ico--sm { width: 20px; height: 20px; }
.ico--lg { width: 30px; height: 30px; }
.ico--xl { width: 64px; height: 64px; }
.modal__media--icon .ico { color: #fff; }

/* Team avatar: gradient tile with white icon + soft glow */
.team-card__avatar { box-shadow: 0 12px 26px rgba(13,146,118,.30); position: relative; }
.team-card__avatar .ico { width: 32px; height: 32px; color: #fff; }
.team-card:hover .team-card__avatar { transform: translateY(-2px) rotate(-3deg); transition: transform .4s var(--ease); }
.team-card__more { display: inline-flex; align-items: center; gap: 6px; }
.team-card__more .ico { transition: transform .3s var(--ease); }
.team-card:hover .team-card__more .ico { transform: translateX(-4px); }

/* Why-card icon: from bare emoji → branded tile */
.why-card__icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(13,146,118,.22), rgba(13,146,118,.06));
  border: 1px solid rgba(56,184,155,.35); color: var(--teal-300);
  margin-bottom: 20px; transition: transform .4s var(--ease), background .4s, color .4s;
}
.why-card__icon .ico { width: 28px; height: 28px; }
.why-card:hover .why-card__icon { background: var(--teal); color: #fff; transform: translateY(-3px) scale(1.05); border-color: var(--teal); }

/* Role icon */
.role__icon .ico { width: 28px; height: 28px; color: var(--teal); }
.role:hover .role__icon { background: var(--teal); transition: background .35s; }
.role:hover .role__icon .ico { color: #fff; }
.role__more { display: inline-flex; align-items: center; gap: 6px; }
.role__more .ico { transition: transform .3s var(--ease); }
.role:hover .role__more .ico { transform: translateX(-4px); }

/* Service number + arrow */
.service { padding-top: 30px; }
.service__num {
  font-family: var(--font-lat); font-size: .95rem; font-weight: 800; color: var(--teal);
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--mint); margin-bottom: 18px; transition: background .35s, color .35s;
}
.service:hover .service__num { background: var(--teal); color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; }
.link-arrow .ico { transition: transform .3s var(--ease); }
.link-arrow:hover .ico { transform: translateX(-5px); }

/* Play buttons / zoom */
.btn__play { width: 16px; height: 16px; }
.play-btn .ico { width: 28px; height: 28px; color: #fff; }
.gcard__zoom .ico { color: #fff; }
.fab .ico { width: 26px; height: 26px; color: #fff; }

/* Contact channel + meta icons */
.contact__channel .ico { color: #fff; }
.contact__meta li { display: flex; align-items: flex-start; gap: 10px; }
.contact__meta .ico { color: var(--teal); margin-top: 4px; flex: none; }

/* ---------- Cinematic depth on dark sections ---------- */
/* Subtle film grain (data-URI noise) + teal glow for premium feel */
.hero__overlay::after,
.stats::before,
.why::before,
.areas::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: .05; mix-blend-mode: overlay;
}
.stats, .why, .areas { position: relative; overflow: hidden; }
.stats::after, .why::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 60%; height: 200%; inset-block-start: -50%; inset-inline-end: -10%;
  background: radial-gradient(closest-side, rgba(13,146,118,.18), transparent 70%);
}
.stats__grid, .why__grid, .why__band, .why .section-head, .areas__list, .areas__row, .areas .section-head { position: relative; z-index: 1; }

/* ---------- Stats refinement (metric emphasis) ---------- */
.stat__num { letter-spacing: -.02em; }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat__num, .stat__suffix { display: inline; }

/* ---------- Button shine sweep (premium micro-interaction) ---------- */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::after {
  content: ""; position: absolute; inset-block: 0; inset-inline-start: -120%;
  width: 60%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  transition: inset-inline-start .6s var(--ease);
}
.btn--primary:hover::after { inset-inline-start: 130%; }

/* ---------- Section heading rhythm & refinement ---------- */
.section-head__eyebrow {
  position: relative; padding-inline-start: 30px;
}
.section-head__eyebrow::before {
  content: ""; position: absolute; inset-inline-start: 14px; inset-block-start: 50%;
  width: 10px; height: 2px; background: var(--teal); transform: translateY(-50%);
}
.studio__subtitle .num { box-shadow: 0 6px 16px rgba(13,146,118,.18); }

/* Refined card borders/shadows for depth */
.team-card, .why-card, .service, .post, .quote, .role { backdrop-filter: saturate(1.05); }

/* Nav logo mark: subtle pulse ring */
.nav__logo-mark { position: relative; }

/* Tag chips: uppercase tracking for Latin labels */
.gcard__tag, .post__cat, .modal__tag { font-feature-settings: "ss01"; }

/* Focus polish */
.gcard:focus-visible, .team-card:focus-visible, .role:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }

/* =========================================================
   CORAL ACCENT SYSTEM  ·  #922F4C (secondary accent)
   Teal stays dominant; coral marks emphasis, trust & conversion.
   ========================================================= */
:root { --coral-600: #7a2640; --coral-soft: #f7e8ed; }

/* Text selection */
::selection { background: var(--coral); color: #fff; }
::-moz-selection { background: var(--coral); color: #fff; }

/* Eyebrow accent dash → coral (repeated two-tone across all sections) */
.section-head__eyebrow::before { background: var(--coral); }

/* Hero "live" pulsing dot */
.hero__eyebrow--live { display: inline-flex; align-items: center; gap: 9px; }
.live-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--coral);
  box-shadow: 0 0 0 0 rgba(146,47,76,.7); animation: live-pulse 1.8s infinite;
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(146,47,76,.6); }
  70% { box-shadow: 0 0 0 10px rgba(146,47,76,0); }
  100% { box-shadow: 0 0 0 0 rgba(146,47,76,0); }
}

/* Testimonial star ratings */
.quote__stars { display: inline-flex; gap: 3px; color: var(--coral); margin-bottom: 16px; }
.quote__stars .ico { width: 18px; height: 18px; }
/* Warm up the big quotation mark */
.quote::before { color: var(--coral-soft); }
.quote { border-top: 3px solid var(--coral); }

/* Conversion offer badge */
.offer-badge {
  display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 22px;
  padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  color: var(--coral-600); background: var(--coral-soft);
  border: 1px solid rgba(146,47,76,.22);
}
.offer-badge .ico { color: var(--coral); }
.offer-badge strong { color: var(--coral); }

/* Stats: coral accent bar under each metric */
.stat__num { position: relative; }
.stat__num::after {
  content: ""; position: absolute; inset-inline-start: 50%; transform: translateX(-50%);
  inset-block-end: -12px; width: 26px; height: 3px; border-radius: 2px; background: var(--coral);
}
.stat__label { margin-top: 22px; }

/* Footer accent line */
.footer__bottom { border-top-color: rgba(146,47,76,.35); }

/* =========================================================
   CINEMATIC INTRO OVERLAY
   Shown once per session (gated by html.intro-pending set in <head>).
   ========================================================= */
.intro { display: none; }
html.intro-pending .intro {
  display: flex; position: fixed; inset: 0; z-index: 1000;
  background: #0c0c0c; align-items: center; justify-content: center; overflow: hidden;
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
html.intro-pending body { overflow: hidden; }

.intro__video { width: 100%; height: 100%; object-fit: cover; }
/* Cinematic vignette + brand tint */
.intro__vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 50%, transparent 55%, rgba(0,0,0,.55) 100%),
    radial-gradient(60% 50% at 50% 60%, rgba(13,146,118,.10), transparent 70%);
}

/* Controls */
.intro__controls {
  position: absolute; inset-block-start: 26px; inset-inline: 28px;
  display: flex; align-items: center; justify-content: space-between; z-index: 2;
}
.intro__sound, .intro__skip {
  display: inline-flex; align-items: center; gap: 9px;
  border-radius: 999px; font-family: var(--font-fa); font-weight: 700; color: #fff;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(10px); transition: background .3s, transform .3s, border-color .3s; cursor: pointer;
}
.intro__sound { padding: 10px 16px; font-size: .9rem; }
.intro__skip { padding: 12px 22px; font-size: .98rem; }
.intro__sound:hover, .intro__skip:hover { background: rgba(255,255,255,.20); transform: translateY(-2px); }
.intro__skip:hover { background: var(--teal); border-color: var(--teal); }
.intro__sound .ico { color: #fff; }
.intro__skip .ico { transition: transform .3s var(--ease); }
.intro__skip:hover .ico { transform: translateX(-4px); }
.intro__sound.is-on { background: var(--teal); border-color: var(--teal); }

/* Progress bar */
.intro__progress {
  position: absolute; inset-block-end: 0; inset-inline: 0; height: 3px;
  background: rgba(255,255,255,.12); z-index: 2;
}
.intro__progress span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--teal-300));
  box-shadow: 0 0 12px rgba(13,146,118,.7);
}

/* Hide-out animation */
.intro.intro--hiding { opacity: 0; transform: scale(1.06); pointer-events: none; }

@media (max-width: 600px) {
  .intro__controls { inset-block-start: 18px; inset-inline: 16px; }
  .intro__skip { padding: 11px 18px; font-size: .92rem; }
  .intro__sound-label { display: none; }
  .intro__sound { padding: 11px; }
}

/* =========================================================
   EDITORIAL TYPOGRAPHY & MOTION
   Inspired by sandwich.co (bold display type) + nomobo.tv
   (extreme size contrast, big metrics, kinetic marquee).
   ========================================================= */

/* Heavier, larger, tighter display type for Persian headlines */
.hero__title { font-size: clamp(2.3rem, 5.6vw, 4.8rem); font-weight: 800; line-height: 1.22; letter-spacing: -.018em; }
/* Red emphasis underline under "روش‌های نوین" — draws in on scroll */
.hero__underline { position: relative; display: inline-block; white-space: nowrap; }
.hero__underline::after {
  content: ""; position: absolute; inset-inline: 0; inset-block-end: -.14em; height: 3px;
  border-radius: 3px; background: var(--red-line);
  transform: scaleX(0); transform-origin: right center;
  transition: transform .9s var(--ease);
}
.hero__underline.is-drawn::after { transform: scaleX(1); }
.section-head__title { font-size: clamp(2.1rem, 5vw, 3.7rem); font-weight: 900; line-height: 1.1; letter-spacing: -.01em; }
.studio__subtitle { font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 900; }
.why-card h3, .service h3, .post h3, .role h4, .team-card h4, .gcard__body h4 { font-weight: 800; }

/* Latin labels → grotesk, uppercase, tracked (editorial studio look) */
.gcard__tag, .post__cat, .modal__tag, .gcard__rec {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em; font-weight: 600;
}

/* Section eyebrows → grotesk-tracked uppercase feel for the Latin-friendly chips */
.section-head__eyebrow, .hero__eyebrow { letter-spacing: .02em; }

/* Studio subsection numbers → editorial, larger */
.studio__subtitle .num {
  font-family: var(--font-display); font-size: 1rem; font-weight: 700; letter-spacing: .04em;
  padding: 8px 14px;
}

/* ---------- Nomobo-style oversized metrics ---------- */
.stat__num {
  font-family: var(--font-fa); font-weight: 900; line-height: .95;
  font-size: clamp(2.8rem, 6.5vw, 4.8rem); letter-spacing: -.03em;
}
.stat__suffix { font-family: var(--font-fa); font-weight: 900; font-size: 2rem; }
.stat__label {
  font-family: var(--font-display); text-transform: none; letter-spacing: .01em;
  font-size: .9rem; color: rgba(255,255,255,.62); margin-top: 26px;
}
.stat__num::after { inset-block-end: -14px; width: 30px; height: 4px; }

/* ---------- Kinetic marquee band (studio-site signature) ---------- */
.marquee {
  background: var(--charcoal); color: #fff; overflow: hidden; padding: 26px 0;
  border-block: 1px solid rgba(255,255,255,.08); position: relative;
}
.marquee::before, .marquee::after {
  content: ""; position: absolute; inset-block: 0; width: 120px; z-index: 2; pointer-events: none;
}
.marquee::before { inset-inline-start: 0; background: linear-gradient(to right, var(--charcoal), transparent); }
.marquee::after { inset-inline-end: 0; background: linear-gradient(to left, var(--charcoal), transparent); }
.marquee__track {
  display: flex; align-items: center; gap: 28px; width: max-content;
  animation: marquee 28s linear infinite; will-change: transform;
}
.marquee__track span {
  font-family: var(--font-fa); font-weight: 900; white-space: nowrap;
  font-size: clamp(1.6rem, 3vw, 2.6rem); letter-spacing: -.01em;
}
.marquee__track .is-outline {
  color: transparent; -webkit-text-stroke: 1.4px rgba(255,255,255,.5); text-stroke: 1.4px rgba(255,255,255,.5);
}
.marquee__star { color: var(--teal-300); font-size: clamp(1rem, 2vw, 1.5rem); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* =========================================================
   WHY SECTION — compact layout + per-icon motion graphics
   ========================================================= */
.why { padding: 78px 0; }
.why .section-head { margin-bottom: 40px; }
.why__grid { gap: 16px; }
.why-card {
  display: flex; flex-direction: column; gap: 14px; padding: 24px 22px;
  position: relative; overflow: hidden;
}
/* teal sheen that sweeps in on hover */
.why-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(80% 60% at 70% 0%, rgba(13,146,118,.16), transparent 70%);
  transition: opacity .4s;
}
.why-card:hover::after { opacity: 1; }
.why-card__icon { margin-bottom: 0; }
.why-card__body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.why-card__body p { color: rgba(255,255,255,.7); font-size: .92rem; line-height: 1.6; }

/* Entrance: icon pops in when the card scrolls into view (no fill → :hover still works) */
.why-card.is-in .why-card__icon { animation: icon-pop .55s var(--ease); }
@keyframes icon-pop { 0% { transform: scale(.5) rotate(-8deg); opacity: 0; } 60% { transform: scale(1.12); } 100% { transform: scale(1); opacity: 1; } }

/* Per-card continuous motion graphics (the svg only, so container hover stays free) */
.why-card.is-in .why-card__icon .ico { transform-origin: center; }
.why-card--spark.is-in  .why-card__icon .ico { animation: m-twinkle 3.2s ease-in-out .55s infinite; }
.why-card--trend.is-in  .why-card__icon .ico { animation: m-draw 1s var(--ease) .5s both, m-rise 2.6s ease-in-out 1.5s infinite; stroke-dasharray: 64; }
.why-card--pin.is-in    .why-card__icon .ico { animation: m-drop .7s var(--ease) .5s, m-bob 2.8s ease-in-out 1.2s infinite; }
.why-card--shield.is-in .why-card__icon .ico { animation: m-draw 1s var(--ease) .5s both, m-secure 3s ease-in-out 1.5s infinite; stroke-dasharray: 64; }

@keyframes m-twinkle { 0%,100% { transform: rotate(0) scale(1); } 50% { transform: rotate(18deg) scale(1.14); } }
@keyframes m-rise    { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes m-bob     { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes m-secure  { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes m-drop    { 0% { transform: translateY(-9px); } 55% { transform: translateY(2px); } 100% { transform: translateY(0); } }
@keyframes m-draw    { from { stroke-dashoffset: 64; } to { stroke-dashoffset: 0; } }

/* Pulsing ring behind the "local" pin icon */
.why-card--pin .why-card__icon { position: relative; }
.why-card--pin.is-in .why-card__icon::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  border: 2px solid var(--teal-300); animation: m-ring 2.4s ease-out 1s infinite; pointer-events: none;
}
@keyframes m-ring { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.6); opacity: 0; } }

@media (max-width: 600px) {
  .why { padding: 50px 0; }
  .why .section-head { margin-bottom: 26px; }
  .why__grid { grid-template-columns: 1fr; gap: 12px; }
  /* compact horizontal cards → much less vertical scroll on mobile */
  .why-card { flex-direction: row; align-items: flex-start; gap: 15px; padding: 16px 16px; }
  .why-card__icon { width: 46px; height: 46px; flex: none; margin: 0; }
  .why-card__icon .ico { width: 22px; height: 22px; }
  .why-card__body h3 { font-size: 1.02rem; margin-bottom: 5px; }
  .why-card__body p { font-size: .88rem; line-height: 1.55; }
}

/* =========================================================
   SERVICES — minimal + scroll-reactive drifting icons
   Icon grows/bolds/teal toward viewport center (--p driven by
   ScrollTrigger), shrinks/normal at the edges; gentle drift loop.
   ========================================================= */
.services { padding: 78px 0; }
.services .section-head { margin-bottom: 40px; }
.services__grid { gap: 16px; }
.service { --p: 0; padding: 24px 24px 22px; }
.service__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.service__icon {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: var(--mint-50); border: 1px solid var(--line);
  transform: scale(calc(1 + .2 * var(--p)));
  box-shadow: 0 calc(10px * var(--p)) calc(24px * var(--p)) rgba(13,146,118, calc(.3 * var(--p)));
  transition: transform .25s var(--ease), box-shadow .25s, background .3s;
}
.service__icon .ico {
  width: 26px; height: 26px;
  color: color-mix(in srgb, #93a8a2 calc((1 - var(--p)) * 100%), var(--teal));
  stroke-width: calc(1.7px + .9px * var(--p));
  animation: svc-drift 3.4s ease-in-out infinite;
  transition: color .25s, stroke-width .25s;
}
@supports not (color: color-mix(in srgb, red, blue)) {
  .service__icon .ico { color: var(--teal); }
}
@keyframes svc-drift { 0%,100% { transform: translateX(-3px); } 50% { transform: translateX(3px); } }
.service:hover .service__icon { background: var(--mint); }

/* Minimal editorial number (replaces the filled tile) */
.service__num {
  background: none; width: auto; height: auto; margin: 0; padding: 0; border-radius: 0;
  font-family: var(--font-display); font-size: 1.7rem; font-weight: 700;
  color: rgba(13,146,118,.22); letter-spacing: .02em;
  transition: color .3s;
}
.service:hover .service__num { background: none; color: rgba(13,146,118,.5); }
.service h3 { font-size: 1.15rem; margin-bottom: 8px; }
.service p { font-size: .94rem; line-height: 1.6; margin-bottom: 14px; }

/* =========================================================
   SERVICES SHOWCASE — tabbed, compact, auto-rotating
   Rich per-service copy in one fixed stage → minimal scroll.
   ========================================================= */
.svc {
  display: grid; grid-template-columns: minmax(300px, 380px) 1fr; gap: 20px;
  align-items: stretch;
}
.svc__nav { display: flex; flex-direction: column; gap: 10px; }
.svc__tab {
  display: flex; align-items: center; gap: 14px; text-align: start;
  padding: 15px 18px; border-radius: var(--radius-sm);
  background: #fff; border: 1px solid var(--line); cursor: pointer;
  font-family: var(--font-fa); position: relative; overflow: hidden;
  transition: border-color .3s, background .3s, transform .3s var(--ease), box-shadow .3s;
}
.svc__tab:hover { transform: translateX(-4px); box-shadow: var(--shadow-sm); border-color: rgba(13,146,118,.4); }
.svc__tab-icon {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  display: grid; place-items: center; background: var(--mint-50);
  border: 1px solid var(--line); color: #7d938d;
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.svc__tab-icon .ico { width: 22px; height: 22px; }
.svc__tab-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.svc__tab-text b { font-size: .98rem; font-weight: 800; color: var(--ink); }
.svc__tab-text small { font-size: .78rem; color: var(--muted); }
.svc__tab-num { margin-inline-start: auto; font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: rgba(13,146,118,.28); }

.svc__tab.is-active { border-color: var(--teal); background: linear-gradient(135deg, #fff, var(--mint-50)); box-shadow: var(--shadow-sm); }
.svc__tab.is-active .svc__tab-icon { background: var(--teal); color: #fff; transform: scale(1.06); box-shadow: 0 8px 18px rgba(13,146,118,.35); }
.svc__tab.is-active .svc__tab-num { color: var(--teal); }
/* autoplay progress line along the bottom of the active tab */
.svc__tab.is-active::after {
  content: ""; position: absolute; inset-block-end: 0; inset-inline-start: 0;
  height: 3px; width: 100%; background: linear-gradient(90deg, var(--teal), var(--teal-300));
  transform: scaleX(0); transform-origin: inline-start;
}
.svc.is-auto .svc__tab.is-active::after { animation: svc-progress var(--svc-delay, 7s) linear forwards; }
@keyframes svc-progress { to { transform: scaleX(1); } }

.svc__stage {
  position: relative; background: var(--charcoal); color: #fff;
  border-radius: var(--radius); padding: 34px 36px; overflow: hidden; min-height: var(--svc-stage-h, 340px);
  display: flex; flex-direction: column; justify-content: center;
}
.svc__stage::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(90% 90% at 15% 0%, rgba(13,146,118,.22), transparent 60%);
}
.svc__panel { position: relative; }
.svc__panel.is-active { display: grid; grid-template-columns: 1fr minmax(0, 40%); gap: 30px; align-items: center; animation: svc-in .55s var(--ease); }
.svc__panel[hidden] { display: none !important; }
.svc__panel-media { position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; background: #000; box-shadow: 0 18px 44px rgba(0,0,0,.35); }
.svc__panel-media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.09); pointer-events: none; }
.svc__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.95); }
@keyframes svc-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.svc__tag {
  display: inline-block; align-self: flex-start; margin-bottom: 14px;
  padding: 5px 14px; border-radius: 999px; font-size: .8rem; font-weight: 700;
  background: rgba(13,146,118,.18); border: 1px solid rgba(56,184,155,.4); color: var(--mint);
}
.svc__panel h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 900; margin-bottom: 12px; text-wrap: balance; }
.svc__panel p { color: rgba(255,255,255,.78); font-size: .97rem; line-height: 1.85; margin-bottom: 18px; max-inline-size: 62ch; }
.svc__feats { margin: 0 0 22px; display: flex; flex-direction: column; gap: 9px; }
.svc__feats li { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.88); font-size: .93rem; }
.svc__feats .ico { color: var(--teal-300); flex: none; }
.svc__panel.is-active .svc__feats li { opacity: 0; animation: svc-feat .5s var(--ease) forwards; }
.svc__panel.is-active .svc__feats li:nth-child(1) { animation-delay: .15s; }
.svc__panel.is-active .svc__feats li:nth-child(2) { animation-delay: .27s; }
.svc__panel.is-active .svc__feats li:nth-child(3) { animation-delay: .39s; }
@keyframes svc-feat { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .svc { grid-template-columns: 1fr; }
  /* tabs become a swipeable chip row above the stage */
  .svc__nav { flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 6px; scrollbar-width: none; }
  .svc__nav::-webkit-scrollbar { display: none; }
  .svc__tab { flex: none; padding: 10px 14px; }
  .svc__tab:hover { transform: none; }
  .svc__tab-text small, .svc__tab-num { display: none; }
  .svc__tab-icon { width: 36px; height: 36px; }
  .svc__tab-icon .ico { width: 18px; height: 18px; }
  .svc__stage { padding: 26px 22px; min-height: 0; }
  .svc__panel.is-active { grid-template-columns: 1fr; gap: 22px; }
  .svc__panel-media { aspect-ratio: 16 / 9; }
}

/* =========================================================
   GLOBAL COMPACTION + HEADLINE WRAPPING
   Less scroll everywhere; balanced multi-line titles.
   ========================================================= */
.hero__title, .section-head__title, .studio__subtitle { text-wrap: balance; }
.section-head__lead { text-wrap: pretty; }
.hero__title { font-size: clamp(2.3rem, 6vw, 4.6rem); }
.hero__content { padding-block: 104px 64px; }
.section-head { margin-bottom: 38px; }
.section-head__lead { margin-top: 12px; }
.studio { padding: 72px 0; }
.studio__subtitle { margin: 44px 0 22px; }
.gcard { min-height: 285px; }
.gcard--lg { min-height: 335px; }
.studio__tour { min-height: 225px; margin-top: 40px; }
.studio__cta { margin-top: 36px; }
.services { padding: 70px 0; }
.testimonials { padding: 70px 0; }
.blog { padding: 70px 0; }
.areas { padding: 62px 0; }
.contact { padding: 72px 0; }
.footer { padding: 46px 0 20px; }
.stats { padding: 38px 0; }
.marquee { padding: 20px 0; }
@media (max-width: 600px) {
  .studio, .services, .testimonials, .blog, .contact { padding: 52px 0; }
  .areas { padding: 46px 0; }
  .section-head { margin-bottom: 26px; }
  .hero__content { padding-block: 96px 56px; }
}

/* =========================================================
   TESTIMONIALS — continuous horizontal carousel
   Cards move in a single row, pause on hover/focus to read.
   ========================================================= */
.testi-marquee {
  position: relative; overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.testi-track {
  display: flex; direction: ltr; gap: 22px; width: max-content; padding: 6px 0;
  animation: testi-scroll 52s linear infinite; will-change: transform;
}
.testi-marquee:hover .testi-track,
.testi-marquee:focus-within .testi-track { animation-play-state: paused; }
.testi-marquee .quote {
  direction: rtl; flex: none; width: clamp(280px, 80vw, 380px);
  box-sizing: border-box; margin: 0; transition: transform .3s var(--ease), box-shadow .3s;
}
.testi-marquee .quote:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
@keyframes testi-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* hint that it pauses on hover */
.testimonials .section-head { margin-bottom: 36px; }
.testimonials__hint {
  text-align: center; margin-top: 22px; color: var(--muted); font-size: .85rem;
  font-family: var(--font-display);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .testi-track { animation: none; }
  .testi-marquee { overflow-x: auto; -webkit-mask: none; mask: none; }
  .why-card .ico, .why-card.is-in .why-card__icon, .why-card--pin.is-in .why-card__icon::before { animation: none !important; }
  .why-card--trend.is-in .why-card__icon .ico, .why-card--shield.is-in .why-card__icon .ico { stroke-dasharray: none; }
  .service__icon .ico { animation: none !important; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero__bg img, .hero__video { transform: none; animation: none; }
}

/* =========================================================
   STATS FIX — number + suffix on one line, bar under the pair
   ========================================================= */
.stat__value {
  position: relative; display: inline-flex; align-items: baseline;
  justify-content: center; gap: 6px; direction: rtl;
}
.stat__num { position: static; }
.stat__num::after { content: none; } /* bar moved to .stat__value */
.stat__value::after {
  content: ""; position: absolute; inset-inline: 0; margin-inline: auto;
  inset-block-end: -13px; width: 30px; height: 4px; border-radius: 2px; background: var(--coral);
}
.stat__suffix { font-family: var(--font-fa); font-weight: 900; font-size: clamp(1.3rem, 2.6vw, 2rem); color: var(--teal-300); line-height: 1; }
.stat__label { margin-top: 24px; }

/* =========================================================
   TEAM SLIDER — 3D coverflow with page-turn animation
   Replaces the 4-up grid: one focused member, others angled
   back in 3D. Much less vertical space on mobile.
   ========================================================= */
.team-slider { --stage-h: 336px; position: relative; perspective: 1600px; margin-top: 6px; padding-top: 8px; overflow-x: clip; }
.team-slider__stage { position: relative; height: var(--stage-h); transform-style: preserve-3d; }
.tslide {
  position: absolute; top: 0; left: 50%; height: 100%;
  width: min(380px, 82vw); margin-left: calc(min(380px, 82vw) / -2);
  transition: transform .66s cubic-bezier(.34,1.06,.4,1), opacity .5s ease;
  will-change: transform, opacity; cursor: pointer;
}
.tslide__inner {
  height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 28px 26px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  transition: border-color .4s, box-shadow .4s;
}
.tslide__inner::before {
  content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--teal-300)); transform: scaleX(0); transition: transform .5s var(--ease);
}
.tslide.is-active .tslide__inner { border-color: var(--teal); box-shadow: 0 34px 74px rgba(13,146,118,.24); }
.tslide.is-active .tslide__inner::before { transform: scaleX(1); }

.tslide__num {
  font-family: var(--font-display); font-weight: 700; font-size: .8rem; letter-spacing: 1px;
  color: var(--teal-600); background: var(--mint); padding: 5px 14px; border-radius: 999px; margin-bottom: 16px;
}
.tslide__avatar {
  width: 92px; height: 92px; border-radius: 24px; overflow: hidden; color: #fff;
  background: linear-gradient(140deg, var(--teal), var(--teal-600));
  box-shadow: 0 16px 34px rgba(13,146,118,.4); margin-bottom: 14px; position: relative;
}
.tslide__avatar-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tslide__avatar-badge {
  position: absolute; inset-block-end: 6px; inset-inline-end: 6px; z-index: 2;
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(13,146,118,.94); color: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.35);
}
.tslide__avatar-badge .ico { width: 17px; height: 17px; }
.tslide__avatar .ico { width: 40px; height: 40px; }
.tslide.is-active .tslide__avatar::before {
  content: ""; position: absolute; inset: -6px; border-radius: 28px; border: 2px solid rgba(13,146,118,.4);
  animation: tavatar-pulse 2.6s ease-out infinite;
}
@keyframes tavatar-pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.25); opacity: 0; } }
.tslide__role { font-size: .8rem; font-weight: 800; color: var(--coral); margin-bottom: 4px; }
.tslide__inner h4 { font-size: 1.28rem; font-weight: 900; margin-bottom: 8px; }
.tslide__inner p { color: var(--muted); font-size: .95rem; line-height: 1.7; max-width: 30ch; }
.tslide__cta {
  margin-top: auto; display: inline-flex; align-items: center; gap: 7px;
  color: var(--teal); font-weight: 800; font-size: .9rem; padding: 10px 20px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; transition: background .3s, color .3s, border-color .3s;
}
.tslide__cta:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.tslide__cta .ico { transition: transform .3s var(--ease); }
.tslide__cta:hover .ico { transform: translateX(-4px); }
.tslide:not(.is-active) .tslide__cta { pointer-events: none; }

.team-slider__arrow {
  position: absolute; top: calc(8px + var(--stage-h) / 2); transform: translateY(-50%); z-index: 40;
  width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-md); display: grid; place-items: center; color: var(--charcoal);
  transition: background .25s, color .25s, transform .25s;
}
.team-slider__arrow:hover { background: var(--teal); color: #fff; transform: translateY(-50%) scale(1.08); }
.team-slider__arrow--prev { inset-inline-start: 0; }
.team-slider__arrow--next { inset-inline-end: 0; }
.team-slider__arrow--prev .ico { transform: scaleX(-1); } /* point outward (RTL back) */

.team-slider__dots { display: flex; gap: 9px; justify-content: center; margin-top: 22px; }
.team-slider__dots button { width: 9px; height: 9px; border-radius: 999px; background: rgba(13,146,118,.28); transition: width .35s var(--ease), background .35s; }
.team-slider__dots button.on { width: 30px; background: var(--teal); }

@media (max-width: 600px) {
  .team-slider { --stage-h: 360px; }
  .team-slider__arrow { display: none; } /* موبایل: سوایپ + نقطه‌ها */
  .tslide { width: 85vw; margin-left: calc(85vw / -2); }
}

/* =========================================================
   STRIP REVISION · بخش‌های نواریِ تک‌ردیفه + پالیش حرفه‌ای
   ========================================================= */
h1, h2, h3, h4 { text-wrap: balance; }
.section-head__lead, .hero__subtitle { text-wrap: pretty; }
.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; }

/* ---------- «چرا پورناک» → نوار ویژگی‌ها در یک ردیف ---------- */
.why__band {
  display: flex; background: var(--charcoal-800);
  border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); overflow: hidden;
}
.why-item { flex: 1 1 0; display: flex; align-items: flex-start; gap: 16px; padding: 30px 26px; transition: background .35s; }
.why-item + .why-item { border-inline-start: 1px solid rgba(255,255,255,.08); }
.why-item:hover { background: rgba(13,146,118,.07); }
.why-item .why-card__icon { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 0; flex: none; }
.why-item .why-card__icon .ico { width: 24px; height: 24px; }
.why-item:hover .why-card__icon { background: var(--teal); color: #fff; border-color: var(--teal); transform: none; }
.why-item h3 { font-size: 1.02rem; margin-bottom: 6px; }
.why-item p { color: rgba(255,255,255,.66); font-size: .9rem; line-height: 1.75; }
@media (max-width: 1024px) {
  .why__band { flex-wrap: wrap; }
  .why-item { flex: 1 1 46%; }
  .why-item:nth-child(3) { border-inline-start: none; }
  .why-item:nth-child(n+3) { border-block-start: 1px solid rgba(255,255,255,.08); }
}
@media (max-width: 640px) {
  .why-item { flex: 1 1 100%; padding: 24px 22px; }
  .why-item + .why-item { border-inline-start: none; border-block-start: 1px solid rgba(255,255,255,.08); }
}

/* ---------- «مناطق تحت پوشش» → روبان تک‌ردیفه ---------- */
.areas--strip { padding: 0; border-block: 1px solid rgba(255,255,255,.08); }
.areas--strip .areas__row { display: flex; align-items: center; gap: 22px; padding-block: 16px; }
.areas__label {
  flex: none; display: inline-flex; align-items: center; gap: 9px; margin: 0;
  font-size: .98rem; font-weight: 700; color: rgba(255,255,255,.9); line-height: 1.5;
}
.areas__label .ico, .areas__label strong { color: var(--teal-300); }
.areas--strip .areas__list {
  flex: 1; min-width: 0; display: flex; flex-wrap: nowrap; justify-content: flex-start;
  gap: 10px; max-width: none; margin: 0; overflow-x: auto; padding-block: 4px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.areas--strip .areas__list::-webkit-scrollbar { display: none; }
.areas--strip .areas__list a { padding: 9px 18px; font-size: .92rem; white-space: nowrap; }
.areas--strip .areas__list a:hover { transform: none; }
@media (max-width: 768px) {
  .areas--strip .areas__row { flex-direction: column; align-items: stretch; gap: 8px; padding-block: 18px; }
  .areas__label { justify-content: center; }
}

/* ---------- Service panel actions (primary + detail link) ---------- */
.svc__actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 4px; }
.svc__detail-link {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .95rem;
  color: var(--teal); transition: gap .25s var(--ease);
}
.svc__detail-link .ico { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.svc__detail-link:hover { gap: 10px; }
.svc__detail-link:hover .ico { transform: translateX(-4px); }

/* =========================================================
   MAGAZINE · مجله پورناک (hub + article)
   ========================================================= */
.blog-hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--charcoal-900); padding: 140px 0 72px;
}
.blog-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 420px at 80% 10%, rgba(13,146,118,.28), transparent 60%),
    linear-gradient(160deg, #121212 0%, #1a2a26 55%, #121212 100%);
  z-index: 0;
}
.blog-hero .container { position: relative; z-index: 1; }
.blog-hero__eyebrow {
  display: inline-block; padding: 7px 16px; border-radius: 999px;
  background: rgba(13,146,118,.18); border: 1px solid rgba(13,146,118,.45);
  color: var(--mint); font-weight: 600; font-size: .9rem; margin-bottom: 18px;
}
.blog-hero__title {
  font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.25;
  max-width: 16ch;
}
.blog-hero__lead {
  margin-top: 18px; max-width: 54ch; color: rgba(255,255,255,.82); font-size: 1.12rem;
}
.blog-hub { padding: 72px 0 100px; background: var(--bg-soft); }
.blog-filter {
  display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 28px; align-items: center;
}
.blog-filter__btn {
  appearance: none; border: 1px solid var(--line); background: #fff; color: var(--charcoal-800);
  font-family: inherit; font-size: .9rem; font-weight: 600; padding: 9px 16px; border-radius: 999px;
  cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.blog-filter__btn:hover { border-color: var(--teal-500); color: var(--teal-600); }
.blog-filter__btn.is-active {
  background: var(--teal-600); border-color: var(--teal-600); color: #fff;
  box-shadow: var(--shadow-sm);
}
.blog-filter__empty {
  color: var(--muted); margin: 0 0 18px; font-size: .95rem;
}
.blog-hub__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.blog-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.blog-card__cat {
  display: inline-block; align-self: flex-start;
  background: var(--mint); color: var(--teal-600);
  font-size: .78rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.blog-card h2 { font-size: 1.18rem; line-height: 1.55; margin-bottom: 10px; }
.blog-card p { color: var(--muted); font-size: .95rem; flex: 1; margin-bottom: 18px; }
.blog-card .link-arrow { margin-top: auto; }

.article-page { background: var(--bg); }
.article-hero {
  background: var(--charcoal-900); color: #fff; padding: 120px 0 56px;
  position: relative; overflow: hidden;
}
.article-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 360px at 85% 0%, rgba(13,146,118,.26), transparent 65%);
}
.article-hero .container { position: relative; z-index: 1; max-width: 820px; }
.article-breadcrumb {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: .88rem; color: rgba(255,255,255,.65); margin-bottom: 22px;
}
.article-breadcrumb a { color: var(--teal-300); }
.article-breadcrumb span[aria-hidden] { opacity: .5; }
.article-hero__cat {
  display: inline-block; background: rgba(13,146,118,.2); border: 1px solid rgba(13,146,118,.45);
  color: var(--mint); font-size: .82rem; font-weight: 700; padding: 5px 14px;
  border-radius: 999px; margin-bottom: 16px;
}
.article-hero h1 {
  font-size: clamp(1.85rem, 4.2vw, 2.75rem); font-weight: 800; line-height: 1.3;
}
.article-hero__lead {
  margin-top: 16px; color: rgba(255,255,255,.82); font-size: 1.08rem; max-width: 58ch;
}
.article-meta {
  margin-top: 22px; display: flex; flex-wrap: wrap; gap: 14px 22px;
  font-size: .88rem; color: rgba(255,255,255,.55);
}
.article-layout {
  display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px;
  max-width: 1100px; margin: 0 auto; padding: 48px 24px 80px;
}
/* grid items default to min-width:auto, which would let the 520px-wide tables
   stretch the track and scroll the whole page sideways — keep the scroll inside .tbl */
.article-layout > * { min-width: 0; }
.article-toc {
  position: sticky; top: 96px; align-self: start;
  background: var(--mint-50); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 20px 18px;
}
.article-toc h2 {
  font-size: .92rem; margin-bottom: 12px; color: var(--teal-600);
}
.article-toc ol { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.article-toc a {
  display: block; font-size: .88rem; color: var(--muted); line-height: 1.5;
  transition: color .2s, padding-inline-start .2s;
}
.article-toc a:hover { color: var(--teal); padding-inline-start: 4px; }
.article-body { max-width: 720px; }
.article-body > p { margin-bottom: 1.15em; color: #2a3330; font-size: 1.05rem; }
.article-body h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.7rem); font-weight: 800;
  margin: 2.2em 0 .85em; line-height: 1.4; color: var(--charcoal);
  scroll-margin-top: 100px;
}
.article-body h3 {
  font-size: 1.15rem; font-weight: 800; margin: 1.6em 0 .7em;
  color: var(--charcoal-800); scroll-margin-top: 100px;
}
.article-body ul, .article-body ol {
  margin: 0 0 1.3em; padding-inline-start: 1.4em; color: #2a3330;
}
.article-body li { margin-bottom: .45em; list-style: disc; font-size: 1.02rem; }
.article-body ol li { list-style: persian; }
.article-body a { color: var(--teal); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--teal-600); }
.article-body blockquote {
  margin: 1.6em 0; padding: 18px 22px; border-inline-start: 4px solid var(--teal);
  background: var(--mint-50); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--charcoal); font-weight: 600;
}
.article-faq {
  margin-top: 48px; padding: 28px; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm);
}
.article-faq h2 { margin-top: 0; }
.article-faq details {
  border-bottom: 1px solid var(--line); padding: 14px 0;
}
.article-faq details:last-child { border-bottom: none; }
.article-faq summary {
  cursor: pointer; font-weight: 700; color: var(--charcoal); list-style: none;
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
}
.article-faq summary::-webkit-details-marker { display: none; }
.article-faq summary::after { content: "+"; color: var(--teal); font-size: 1.2rem; font-weight: 700; }
.article-faq details[open] summary::after { content: "−"; }
.article-faq details p { margin: 10px 0 0; color: var(--muted); font-size: .98rem; }
.article-cta {
  margin-top: 48px; padding: 36px 32px; border-radius: var(--radius);
  background: linear-gradient(135deg, #122622 0%, #1a1a1a 60%, #0d2a24 100%);
  color: #fff; text-align: center;
}
.article-cta h2 { color: #fff; margin: 0 0 12px; font-size: 1.45rem; }
.article-cta p { color: rgba(255,255,255,.78); margin-bottom: 22px; max-width: 42ch; margin-inline: auto; }
.article-cta .btn { margin-inline: 6px; }
.article-related { margin-top: 48px; }
.article-related h2 { font-size: 1.25rem; margin-bottom: 18px; }
.article-related__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
.article-related a {
  display: block; padding: 16px 18px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--mint-50);
  font-weight: 700; font-size: .95rem; color: var(--charcoal);
  transition: border-color .25s, transform .25s;
}
.article-related a:hover { border-color: var(--teal); transform: translateY(-2px); text-decoration: none; }
.article-related a span { display: block; margin-top: 6px; font-weight: 500; color: var(--muted); font-size: .86rem; }

.blog .section-head__actions { margin-top: 18px; }
.blog .post a.post__link { display: contents; color: inherit; }
.blog .post a.post__link:hover { text-decoration: none; }

@media (max-width: 960px) {
  .blog-hub__grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-toc { position: static; }
}
@media (max-width: 640px) {
  .blog-hub__grid { grid-template-columns: 1fr; }
  .article-related__grid { grid-template-columns: 1fr; }
  .article-cta .btn { display: flex; width: 100%; margin: 8px 0; }
  .blog-hero, .article-hero { padding-top: 110px; }
}

/* ===== Article: tables + key-answer box (rental cluster, 1405/06) ===== */
.article-body .tbl { overflow-x: auto; max-width: 100%; margin: 0 0 1.6em; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.article-body table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
.article-body th, .article-body td { padding: 12px 14px; text-align: right; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.7; }
.article-body th { background: var(--mint-50); color: var(--charcoal); font-weight: 800; white-space: nowrap; }
.article-body tr:last-child td { border-bottom: none; }
.article-body td:first-child { font-weight: 700; color: var(--charcoal); }
.article-body .article-key { margin: 0 0 1.8em; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-inline-start: 4px solid var(--coral, #922F4C); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); font-size: 1.02rem; }
.article-body .article-key strong { color: var(--teal); }
.article-body .article-key p:last-child { margin-bottom: 0; }

.article-body .article-price-note { margin: 2.2em 0 0; padding: 26px 28px; border-radius: var(--radius); background: var(--mint-50); border: 1px solid var(--line); }
.article-body .article-price-note h3 { margin: 0 0 .6em; }
.article-body .article-price-note p { margin: 0 0 1em; color: #2a3330; }
.article-body .article-price-note__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 !important; }
.article-body .article-price-note__actions a { text-decoration: none; }
.article-body .article-price-note .btn--ghost { color: var(--teal); border-color: var(--teal); }
