/*
 * Ironafal: shared stylesheet for the premium templates
 * (homepage.php, single.php, home.php, archive.php, template-parts/navbar.php)
 */

:root {
  --pr:  #333387;
  --pr2: #2a2a70;
  --pr3: #1e1e54;
  --pr4: #14143d;
  --lv:  #e6eafc;
  --lv2: #d0d6f8;
  --gd:  #c29b31;
  --gl:  #d4af52;
  --wh:  #ffffff;
  --tx:  #1a1a3e;
  --txm: rgba(51,51,135,.65);
  --f:   'Instrument Sans', sans-serif;
  --mw:  1320px;
  --rad: 16px;
  --rad2:28px;
  --ease: cubic-bezier(.16,1,.3,1);
}

/* ─── RESET / BASE ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--f); background: var(--wh); color: var(--tx); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gd); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gd); color: var(--pr4); }
#page, #masthead, .site-header, .site-branding, .main-navigation, #colophon, .site-footer { display: none !important; }
body.admin-bar #ira-nav { top: 32px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .rv, .rv-l, .rv-r { opacity: 1 !important; transform: none !important; }
}

/* ─── REVEAL ─── */
.rv { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.on { opacity: 1; transform: none; }
.rv-l { opacity: 0; transform: translateX(-40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv-l.on { opacity: 1; transform: none; }
.rv-r { opacity: 0; transform: translateX(40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv-r.on { opacity: 1; transform: none; }

/* ─── NAVBAR (template-parts/navbar.php) ─── */
#scroll-bar { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--gd), var(--gl)); z-index: 2000; transition: width .1s linear; }

#ira-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1100;
  padding: 18px 48px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(20,20,61,.9); backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(0,0,0,.15);
  transition: padding .35s;
}
.nav-logo img { height: 48px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,.75);
  letter-spacing: .01em; transition: color .2s; position: relative;
}
.nav-links a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1.5px; background: var(--gd); transition: width .3s var(--ease);
}
.nav-links a:not(.nav-cta):hover { color: var(--wh); }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  padding: 11px 26px; border-radius: 100px;
  background: var(--gd); color: var(--pr4) !important;
  font-size: 13px; font-weight: 700; letter-spacing: .03em;
  white-space: nowrap;
  transition: background .2s, transform .15s, box-shadow .2s;
}
.nav-cta:hover { background: var(--gl); transform: scale(1.04); box-shadow: 0 8px 24px rgba(194,155,49,.35); }

.nav-burger {
  display: none; width: 46px; height: 46px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  z-index: 1100; background: none;
}
.nav-burger span { width: 25px; height: 2px; background: var(--wh); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 1050;
  background: rgba(20,20,61,.98); backdrop-filter: blur(24px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px;
  opacity: 0; pointer-events: none; transition: opacity .4s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a:not(.btn-gold) { font-size: 24px; font-weight: 600; color: rgba(255,255,255,.85); transition: color .2s; }
.mobile-menu a:not(.btn-gold):hover { color: var(--gd); }
.mobile-menu .btn-gold { margin-top: 10px; }
body.menu-open { overflow: hidden; }
@media (min-width: 769px) { .mobile-menu { display: none !important; } }

/* ─── BUTTONS ─── */
.btn-gold {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px; border-radius: 100px;
  background: var(--gd); color: var(--pr4);
  font-size: 14px; font-weight: 700;
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-gold:hover { background: var(--gl); transform: translateY(-2px); box-shadow: 0 14px 36px rgba(194,155,49,.4); }
.btn-gold:active { transform: translateY(0) scale(.98); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 32px; border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,.25); color: var(--wh);
  font-size: 14px; font-weight: 500;
  transition: border-color .2s, background .2s;
}
.btn-ghost:hover { border-color: var(--gd); background: rgba(194,155,49,.08); }
.btn-navy {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 100px;
  background: var(--pr); color: var(--wh);
  font-size: 14px; font-weight: 600;
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-navy:hover { background: var(--pr2); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(51,51,135,.3); }
.btn-white {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 100px;
  background: var(--wh); color: var(--pr);
  font-size: 14px; font-weight: 600;
  transition: background .2s, transform .15s;
}
.btn-white:hover { background: var(--lv); transform: translateY(-2px); }

/* ─── HERO (homepage) ─── */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 100% at 70% 0%, var(--pr2) 0%, var(--pr3) 45%, var(--pr4) 100%);
  display: flex; flex-direction: column;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 0%, transparent 100%);
  pointer-events: none;
}
.orb {
  position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none;
}
.orb-1 { width: 480px; height: 480px; top: -140px; right: -100px; background: rgba(194,155,49,.14); animation: drift 14s ease-in-out infinite alternate; }
.orb-2 { width: 420px; height: 420px; bottom: -160px; left: -120px; background: rgba(80,80,200,.22); animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate(0,0) } to { transform: translate(40px,30px) } }
.hero-inner {
  max-width: var(--mw); margin: 0 auto; width: 100%;
  padding: 170px 48px 90px;
  display: grid; grid-template-columns: 1.1fr .9fr;
  align-items: center; gap: 64px;
  position: relative; z-index: 1;
}
.hero-label {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 18px; border-radius: 100px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--lv); margin-bottom: 32px;
}
.hero-label .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gd); animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1; box-shadow: 0 0 8px var(--gd)} 50%{opacity:.35; box-shadow: none} }
.hero-h1 {
  font-size: clamp(48px, 6.2vw, 92px); font-weight: 700;
  line-height: 1.02; letter-spacing: -.03em; color: var(--wh);
  margin-bottom: 28px;
}
.hero-h1 .gold { color: var(--gd); font-style: italic; }
.hero-h1 .outline {
  -webkit-text-stroke: 2px rgba(255,255,255,.85);
  color: transparent;
}
.hero-sub {
  font-size: 17px; font-weight: 400; color: rgba(255,255,255,.65);
  line-height: 1.8; max-width: 470px; margin-bottom: 44px;
}
.hero-sub strong { color: var(--lv); font-weight: 600; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-visual { position: relative; }
.hero-img-wrap {
  position: relative; border-radius: var(--rad2); overflow: hidden;
  aspect-ratio: 4/3; transform: rotate(1.5deg);
  box-shadow: 0 50px 100px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.1);
  transition: transform .6s var(--ease);
}
.hero-visual:hover .hero-img-wrap { transform: rotate(0deg) scale(1.01); }
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-wrap::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, transparent 55%, rgba(20,20,61,.55) 100%);
  pointer-events: none;
}
.hero-badge {
  position: absolute; bottom: -22px; left: -22px; z-index: 2;
  background: rgba(255,255,255,.97); backdrop-filter: blur(12px);
  border-radius: var(--rad); padding: 16px 22px;
  display: flex; align-items: center; gap: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
}
.badge-nums { font-size: 17px; font-weight: 700; color: var(--pr); line-height: 1.05; white-space: nowrap; }
.badge-label { font-size: 11px; color: var(--txm); margin-top: 4px; letter-spacing: .02em; }
.hero-frame {
  position: absolute; top: -18px; right: -18px;
  width: 100px; height: 100px; z-index: 0;
  border-top: 2px solid var(--gd); border-right: 2px solid var(--gd);
  border-radius: 0 var(--rad2) 0 0;
  opacity: .8;
}
.hero-scroll {
  position: relative; z-index: 1;
  display: flex; justify-content: center; padding-bottom: 34px;
}
.hero-scroll span {
  font-size: 10px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(255,255,255,.4);
  writing-mode: vertical-rl;
  display: inline-flex; align-items: center; gap: 10px;
}
.hero-scroll span::after {
  content: ''; width: 1px; height: 36px;
  background: linear-gradient(180deg, var(--gd), transparent);
  animation: scrollhint 2s ease-in-out infinite;
}
@keyframes scrollhint { 0%,100%{opacity:.4; transform:scaleY(.7); transform-origin:top} 50%{opacity:1; transform:scaleY(1)} }

/* ─── MARQUEE ─── */
.marquee-wrap {
  overflow: hidden; background: var(--gd);
  padding: 18px 0; transform: rotate(-1deg) scale(1.02);
  position: relative; z-index: 2;
}
.marquee-wrap::before, .marquee-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 50px; z-index: 3; pointer-events: none;
}
.marquee-wrap::before { left: 0; background: linear-gradient(90deg, var(--gd), transparent); }
.marquee-wrap::after { right: 0; background: linear-gradient(270deg, var(--gd), transparent); }
.marquee-track { display: flex; animation: marquee 26s linear infinite; width: max-content; }
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.marquee-item {
  display: flex; align-items: center; gap: 18px;
  padding: 0 34px; white-space: nowrap;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--pr4);
}
.marquee-item .sep { font-size: 16px; opacity: .5; }

/* ─── SECTION BASE ─── */
.sec { padding: 110px 48px; }
.sec-inner { max-width: var(--mw); margin: 0 auto; }
.sec-tag {
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gd); margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 10px;
}
.sec-h2 {
  font-size: clamp(34px, 4.2vw, 60px); font-weight: 700;
  line-height: 1.08; letter-spacing: -.025em; color: var(--pr);
}
.sec-h2 em { font-style: italic; color: var(--gd); }
.sec-h2.light { color: var(--wh); }
.sec-body { font-size: 16px; font-weight: 400; color: var(--txm); line-height: 1.85; }
.sec-body.light { color: rgba(255,255,255,.65); }

/* ─── ABOUT (light) ─── */
.about-sec { background: var(--lv); position: relative; margin-top: -30px; padding-top: 140px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-text .sec-h2 { margin-bottom: 22px; }
.vision-list { margin: 30px 0 40px; display: grid; gap: 14px; }
.vision-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15.5px; font-weight: 500; color: var(--tx); line-height: 1.5;
}
.vision-list li::before {
  content: ''; flex-shrink: 0; margin-top: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--gd);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpath d='M22 4 12 14.01l-3-3'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpath d='M22 4 12 14.01l-3-3'/%3E%3C/svg%3E") center/contain no-repeat;
}
.about-visual { position: relative; }
.about-img {
  border-radius: var(--rad2); overflow: hidden; aspect-ratio: 4/3;
  position: relative; box-shadow: 0 30px 70px rgba(30,30,84,.25);
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-deco {
  position: absolute; bottom: -20px; right: -20px; z-index: -1;
  width: 60%; height: 60%; border-radius: var(--rad2);
  background: repeating-linear-gradient(45deg, rgba(194,155,49,.35) 0 2px, transparent 2px 12px);
}

/* ─── SERVICES (lavender, image cards) ─── */
.services-sec { background: var(--lv); }
.srv-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; margin-bottom: 64px; flex-wrap: wrap;
}
.srv-head p { max-width: 380px; }
.srv-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.srv-card {
  position: relative; border-radius: var(--rad2); overflow: hidden;
  aspect-ratio: 3/4.4;
  box-shadow: 0 8px 30px rgba(30,30,84,.10);
  transition: transform .7s var(--ease), box-shadow .7s;
}
.srv-card:hover { transform: translateY(-8px); box-shadow: 0 30px 70px rgba(30,30,84,.25); }
.srv-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.srv-card:hover img { transform: scale(1.05); }
.srv-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,20,61,.05) 20%, rgba(20,20,61,.6) 60%, rgba(20,20,61,.95) 100%);
  transition: background .9s ease;
  pointer-events: none;
}
.srv-card:hover::after {
  background: linear-gradient(180deg, rgba(20,20,61,.35) 0%, rgba(20,20,61,.8) 45%, rgba(20,20,61,.97) 100%);
}
.srv-body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 26px 24px;
}
.srv-num {
  font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gd); margin-bottom: 8px;
}
.srv-title { font-size: 21px; font-weight: 700; color: var(--wh); margin-bottom: 12px; line-height: 1.15; }
.srv-desc {
  max-height: 0; opacity: 0; overflow: hidden;
  transform: translateY(12px);
  transition: max-height .9s var(--ease), opacity .8s ease .1s, transform .9s var(--ease);
}
.srv-card:hover .srv-desc { max-height: 240px; opacity: 1; transform: none; }
.srv-desc li {
  display: flex; align-items: flex-start; gap: 9px;
  padding: 3px 0;
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,.85); line-height: 1.45;
}
.srv-desc li::before {
  content: ''; flex-shrink: 0; margin-top: 6px;
  width: 5px; height: 5px; background: var(--gd);
  transform: rotate(45deg); border-radius: 1px;
}

/* ─── COMMUNAUTÉ (dark band) ─── */
.stats-sec { background: var(--pr3); position: relative; overflow: hidden; }
.stats-sec::before {
  content: ''; position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 300px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(194,155,49,.1), transparent 70%);
  pointer-events: none;
}
.com-head { margin-bottom: 48px; position: relative; }
.com-head .sec-h2 { margin-bottom: 20px; padding-bottom: 18px; position: relative; display: table; }
.com-head .sec-h2::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 120px; height: 5px; background: var(--gd); border-radius: 3px;
}
.com-sub { font-size: 17px; font-style: italic; color: var(--gd); font-weight: 500; }
.com-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; position: relative; }
.com-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14);
  border-left: 3px solid var(--gd);
  border-radius: var(--rad); padding: 34px 36px;
  backdrop-filter: blur(6px);
  transition: transform .35s var(--ease), background .35s, border-color .35s;
}
.com-card:hover { transform: translateY(-5px); background: rgba(255,255,255,.07); border-color: rgba(194,155,49,.45); }
.com-val {
  font-size: clamp(30px, 3vw, 42px); font-weight: 700;
  color: var(--gd); line-height: 1.1; margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.com-lbl { font-size: 15px; color: rgba(255,255,255,.75); line-height: 1.6; }

/* ─── POURQUOI (white) ─── */
.why-sec { background: var(--wh); }
.why-head { margin-bottom: 52px; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.why-card {
  border-radius: var(--rad2); padding: 44px 42px;
  background: var(--lv); border: 1px solid rgba(51,51,135,.1);
  position: relative; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.why-card:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(30,30,84,.16); }
.why-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px;
}
.why-card.navy::before { background: var(--pr); }
.why-card.gold::before { background: var(--gd); }
.why-title { font-size: 26px; font-weight: 700; margin-bottom: 24px; }
.why-card.navy .why-title { color: var(--gd); }
.why-card.gold .why-title { color: var(--pr); }
.why-list { display: grid; gap: 14px; }
.why-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; font-weight: 500; color: var(--tx); line-height: 1.55;
}
.why-list li::before {
  content: ''; flex-shrink: 0; margin-top: 7px;
  width: 7px; height: 7px; border-radius: 50%;
}
.why-card.navy .why-list li::before { background: var(--pr); }
.why-card.gold .why-list li::before { background: var(--gd); }

/* ─── PROCESS (light) ─── */
.process-sec { background: var(--lv); }
.proc-head { text-align: center; margin-bottom: 64px; }
.proc-head .sec-tag { justify-content: center; }
.proc-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.proc-step {
  background: var(--wh); padding: 40px 30px; position: relative;
  border-radius: var(--rad2); overflow: hidden;
  border: 1px solid rgba(51,51,135,.08);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.proc-step:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(30,30,84,.15); }
.proc-ghost {
  position: absolute; top: 14px; right: 20px;
  font-size: 64px; font-weight: 700; line-height: 1;
  color: rgba(51,51,135,.06); letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
  transition: color .4s;
}
.proc-step:hover .proc-ghost { color: rgba(194,155,49,.18); }
.proc-icon {
  width: 52px; height: 52px; margin-bottom: 22px; border-radius: 50%;
  background: var(--lv); border: 1px solid rgba(194,155,49,.3);
  display: flex; align-items: center; justify-content: center; color: var(--gd);
  transition: background .3s, color .3s, transform .3s;
  position: relative; z-index: 1;
}
.proc-step:hover .proc-icon { background: var(--gd); color: var(--wh); transform: scale(1.08); }
.proc-icon svg { width: 23px; height: 23px; }
.proc-title { font-size: 18px; font-weight: 700; color: var(--pr); margin-bottom: 10px; position: relative; z-index: 1; }
.proc-desc { font-size: 13.5px; color: var(--txm); line-height: 1.7; position: relative; z-index: 1; }

/* ─── ARTICLES (homepage teaser grid, white) ─── */
.articles-sec { background: var(--wh); }
.art-head-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; margin-bottom: 48px; flex-wrap: wrap;
}
.art-head-row .btn-navy { flex-shrink: 0; }
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.article-card {
  background: var(--lv); border-radius: var(--rad2); overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.article-card:hover { transform: translateY(-8px); box-shadow: 0 26px 60px rgba(30,30,84,.16); }
.article-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--lv2); }
.article-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.article-card:hover .thumb img { transform: scale(1.06); }
.article-card .body { padding: 26px 26px 28px; }
.article-card .cat { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gd); }
.article-card h3 { font-size: 18px; font-weight: 700; color: var(--pr); margin: 10px 0 12px; line-height: 1.35; }
.article-card .excerpt { font-size: 13.5px; color: var(--txm); line-height: 1.65; margin-bottom: 18px; }
.article-card .meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--txm); }
.article-card .meta img { width: 24px; height: 24px; border-radius: 50%; }
.articles-empty { text-align: center; padding: 40px 24px; color: var(--txm); }

/* ─── CTA ─── */
.cta-sec { background: var(--lv); }
.cta-card {
  background: radial-gradient(120% 140% at 80% 0%, var(--pr2) 0%, var(--pr3) 55%, var(--pr4) 100%);
  border-radius: var(--rad2);
  padding: 90px 80px; position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center;
  border: 1px solid rgba(194,155,49,.25);
  box-shadow: 0 40px 90px rgba(30,30,84,.35);
}
.cta-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .22; pointer-events: none;
}
.cta-veil {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, rgba(30,30,84,.92) 20%, rgba(30,30,84,.55) 100%);
}
.cta-card > div:not(.cta-veil) { position: relative; z-index: 1; }
.cta-card::before {
  content: ''; position: absolute; top: -90px; right: -90px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(194,155,49,.18), transparent 70%);
  pointer-events: none;
}
.cta-card::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(60% 80% at 30% 50%, #000, transparent);
  -webkit-mask-image: radial-gradient(60% 80% at 30% 50%, #000, transparent);
  pointer-events: none;
}
.cta-tag { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gd); margin-bottom: 16px; }
.cta-h2 { font-size: clamp(30px, 3.4vw, 48px); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; color: var(--wh); margin-bottom: 16px; }
.cta-h2 em { font-style: italic; color: var(--gd); }
.cta-sub { font-size: 15px; color: rgba(255,255,255,.65); line-height: 1.75; max-width: 480px; }
.cta-btns { display: flex; flex-direction: column; gap: 14px; flex-shrink: 0; position: relative; z-index: 1; }

/* ─── CONTACT ─── */
.contact-sec { background: var(--pr3); position: relative; overflow: hidden; }
.contact-sec::before {
  content: ''; position: absolute; top: -120px; right: -100px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(194,155,49,.1), transparent 70%);
  pointer-events: none;
}
.contact-head { margin-bottom: 52px; position: relative; }
.contact-head .sec-h2 { margin-bottom: 16px; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: stretch; position: relative; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
  display: flex; align-items: flex-start; gap: 18px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--rad); padding: 24px 26px;
  transition: transform .35s var(--ease), background .35s, border-color .35s;
}
.contact-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.07); border-color: rgba(194,155,49,.45); }
.contact-ic {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(194,155,49,.14); border: 1px solid rgba(194,155,49,.35);
  display: flex; align-items: center; justify-content: center; color: var(--gd);
}
.contact-ic svg { width: 20px; height: 20px; }
.contact-card h4 { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gd); margin-bottom: 6px; }
.contact-card p, .contact-card a { font-size: 15.5px; font-weight: 500; color: rgba(255,255,255,.85); line-height: 1.55; transition: color .2s; }
.contact-card a:hover { color: var(--gd); }
.contact-map {
  border-radius: var(--rad2); overflow: hidden; min-height: 380px;
  border: 1px solid rgba(194,155,49,.3);
  box-shadow: 0 30px 70px rgba(0,0,0,.35);
  position: relative;
}
.contact-map iframe {
  width: 100%; height: 100%; min-height: 380px; border: 0; display: block;
  filter: grayscale(.35) contrast(1.05);
}

/* ─── ARTICLE (single.php) ─── */
.art-hero { background: linear-gradient(180deg, var(--lv) 0%, var(--wh) 100%); padding: 150px 24px 0; }
.art-head { max-width: 800px; margin: 0 auto; text-align: center; padding-bottom: 48px; }
.art-cat { display: inline-flex; align-items: center; gap: 8px; padding: 7px 18px; border-radius: 100px; background: rgba(194,155,49,.1); border: 1px solid rgba(194,155,49,.3); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gd); margin-bottom: 26px; }
.art-title { font-size: clamp(30px, 4.4vw, 52px); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; color: var(--pr); margin-bottom: 28px; }
.art-meta { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.art-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--wh); box-shadow: 0 2px 8px rgba(30,30,84,.15); }
.art-byline { text-align: left; }
.art-byline .name { font-size: 14.5px; font-weight: 700; color: var(--pr); }
.art-byline .role { font-size: 12.5px; color: var(--txm); }
.art-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--lv2); }
.art-sub { font-size: 13px; color: var(--txm); }
.art-cover { max-width: var(--mw); margin: 0 auto; padding: 0 24px 60px; }
.art-cover img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--rad2); box-shadow: 0 30px 70px rgba(30,30,84,.2); }

.art-wrap { max-width: 760px; margin: 0 auto; padding: 60px 24px 40px; }
.entry-content { font-size: 18px; line-height: 1.9; color: var(--tx); }
.entry-content > *:first-child { margin-top: 0; }
.entry-content p { margin-bottom: 26px; color: #2c2c52; }
.entry-content h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: -.015em; color: var(--pr); margin: 56px 0 22px; padding-top: 4px; position: relative; }
.entry-content h2::before { content: ''; display: block; width: 40px; height: 3px; background: var(--gd); border-radius: 2px; margin-bottom: 16px; }
.entry-content h3 { font-size: 20px; font-weight: 700; color: var(--pr2); margin: 34px 0 14px; }
.entry-content strong { color: var(--pr); font-weight: 700; }
.entry-content em { color: var(--gd); font-style: italic; }
.entry-content a { color: var(--pr); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(194,155,49,.5); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.entry-content a:hover { text-decoration-color: var(--gd); }
.entry-content ul, .entry-content ol { margin: 0 0 26px; display: grid; gap: 12px; }
.entry-content ul li, .entry-content ol li { padding-left: 26px; position: relative; color: #2c2c52; }
.entry-content ul li::before { content: ''; position: absolute; left: 0; top: 10px; width: 7px; height: 7px; background: var(--gd); transform: rotate(45deg); border-radius: 1px; }
.entry-content ol { counter-reset: ira-ol; }
.entry-content ol li { counter-increment: ira-ol; }
.entry-content ol li::before { content: counter(ira-ol); left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--lv); color: var(--pr); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; transform: none; }
.entry-content blockquote { margin: 36px 0; padding: 6px 0 6px 26px; border-left: 3px solid var(--gd); font-size: 20px; font-style: italic; color: var(--pr2); line-height: 1.6; }
.entry-content img { border-radius: var(--rad); margin: 34px 0; box-shadow: 0 16px 40px rgba(30,30,84,.14); }
.entry-content hr { border: 0; border-top: 1px solid rgba(51,51,135,.12); margin: 48px 0; }

.tldr-box { background: var(--lv); border: 1px solid rgba(194,155,49,.35); border-radius: var(--rad); padding: 28px 30px; margin: 8px 0 44px; }
.tldr-label { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gd); margin-bottom: 16px; }
.tldr-label svg { width: 17px; height: 17px; }
.tldr-box ul { margin-bottom: 0; gap: 10px; }
.tldr-box li { font-size: 15.5px; color: var(--tx); }
.tldr-box li::before { background: var(--gd); }

.art-foot-meta { max-width: 760px; margin: 0 auto; padding: 0 24px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid rgba(51,51,135,.1); padding-top: 30px; }
.art-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.art-tags a { font-size: 12.5px; font-weight: 600; padding: 7px 14px; border-radius: 100px; background: var(--lv); color: var(--pr); transition: background .2s, color .2s; }
.art-tags a:hover { background: var(--pr); color: var(--wh); }
.art-share { display: flex; gap: 10px; align-items: center; }
.art-share span { font-size: 12.5px; color: var(--txm); margin-right: 4px; }
.art-share a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(51,51,135,.18); display: flex; align-items: center; justify-content: center; color: var(--pr); transition: background .2s, color .2s, border-color .2s; }
.art-share a:hover { background: var(--gd); border-color: var(--gd); color: var(--wh); }
.art-share svg { width: 15px; height: 15px; }

.author-box { max-width: 760px; margin: 44px auto; padding: 0 24px; }
.author-card { display: flex; gap: 22px; align-items: flex-start; background: var(--lv); border-radius: var(--rad2); padding: 32px; }
.author-card img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; box-shadow: 0 8px 24px rgba(30,30,84,.15); }
.author-card h4 { font-size: 17px; font-weight: 700; color: var(--pr); margin-bottom: 4px; }
.author-card .author-role { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gd); margin-bottom: 12px; }
.author-card p { font-size: 14.5px; color: var(--txm); line-height: 1.7; margin-bottom: 0; }

.art-cta { max-width: var(--mw); margin: 0 auto; padding: 20px 24px 100px; }
.art-cta-card { background: radial-gradient(120% 140% at 80% 0%, var(--pr2) 0%, var(--pr3) 55%, var(--pr4) 100%); border-radius: var(--rad2); padding: 64px 56px; text-align: center; border: 1px solid rgba(194,155,49,.25); box-shadow: 0 30px 70px rgba(30,30,84,.3); }
.art-cta-card h3 { font-size: clamp(24px, 3vw, 34px); font-weight: 700; color: var(--wh); margin-bottom: 14px; }
.art-cta-card h3 em { font-style: italic; color: var(--gd); }
.art-cta-card p { font-size: 15px; color: rgba(255,255,255,.65); margin-bottom: 28px; max-width: 480px; margin-left: auto; margin-right: auto; }

.related-sec { background: var(--lv); padding: 80px 24px; }
.related-inner { max-width: var(--mw); margin: 0 auto; }
.related-inner h3 { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gd); margin-bottom: 30px; text-align: center; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.related-card { background: var(--wh); border-radius: var(--rad); overflow: hidden; box-shadow: 0 8px 24px rgba(30,30,84,.08); transition: transform .35s var(--ease), box-shadow .35s; }
.related-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(30,30,84,.16); }
.related-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.related-card .rc-body { padding: 20px 22px; }
.related-card .rc-body span { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gd); }
.related-card h4 { font-size: 15.5px; font-weight: 700; color: var(--pr); margin-top: 8px; line-height: 1.35; }

/* ─── BLOG LISTING (home.php / archive.php) ─── */
.blog-hero { padding: 160px 24px 60px; text-align: center; }
.blog-hero .tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 18px; border-radius: 100px; background: rgba(194,155,49,.1); border: 1px solid rgba(194,155,49,.3); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gd); margin-bottom: 22px; }
.blog-hero h1 { font-size: clamp(30px, 4.6vw, 56px); font-weight: 700; letter-spacing: -.02em; color: var(--pr); margin-bottom: 16px; }
.blog-hero p { font-size: 16px; color: var(--txm); max-width: 520px; margin: 0 auto; }

.blog-grid-wrap { max-width: var(--mw); margin: 0 auto; padding: 0 24px 100px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { background: var(--wh); border-radius: var(--rad2); overflow: hidden; box-shadow: 0 8px 30px rgba(30,30,84,.08); transition: transform .4s var(--ease), box-shadow .4s; }
.blog-card:hover { transform: translateY(-8px); box-shadow: 0 26px 60px rgba(30,30,84,.16); }
.blog-card .thumb { aspect-ratio: 16/10; overflow: hidden; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.blog-card:hover .thumb img { transform: scale(1.06); }
.blog-card .body { padding: 26px 26px 28px; }
.blog-card .cat { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gd); }
.blog-card h3 { font-size: 19px; font-weight: 700; color: var(--pr); margin: 10px 0 12px; line-height: 1.3; }
.blog-card .excerpt { font-size: 14px; color: var(--txm); line-height: 1.65; margin-bottom: 18px; }
.blog-card .meta { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--txm); }
.blog-card .meta img { width: 26px; height: 26px; border-radius: 50%; }

.blog-empty { text-align: center; padding: 60px 24px; color: var(--txm); }

.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 56px; }
.pagination a, .pagination span { min-width: 42px; height: 42px; padding: 0 14px; border-radius: 10px; background: var(--wh); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; color: var(--pr); transition: background .2s, color .2s; }
.pagination a:hover { background: var(--pr); color: var(--wh); }
.pagination .current { background: var(--gd); color: var(--wh); }

/* ─── FOOTER (shared) ─── */
.ira-footer { background: var(--pr4); padding: 80px 48px 40px; border-top: 1px solid rgba(255,255,255,.07); }
.footer-inner {
  max-width: var(--mw); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 56px;
}
.footer-logo { height: 50px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,.7); line-height: 1.75; max-width: 300px; }
.footer-col h4 {
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gd); margin-bottom: 20px;
}
.footer-col li { margin-bottom: 12px; list-style: none; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,.75); transition: color .2s, padding-left .25s; }
.footer-col a:hover { color: var(--gd); padding-left: 4px; }
.footer-bottom {
  max-width: var(--mw); margin: 0 auto;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.55); }
.footer-soc { display: flex; gap: 12px; }
.footer-soc a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.8);
  transition: border-color .2s, color .2s, background .2s, transform .2s;
}
.footer-soc a:hover { border-color: var(--gd); color: var(--pr4); background: var(--gd); transform: translateY(-3px); }
.footer-soc svg { width: 16px; height: 16px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; padding-top: 150px; }
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .srv-grid { grid-template-columns: 1fr 1fr; }
  .proc-grid { grid-template-columns: 1fr 1fr; }
  .articles-grid { grid-template-columns: 1fr 1fr; }
  .cta-card { grid-template-columns: 1fr; padding: 60px 48px; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-btns { flex-direction: row; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  #ira-nav { padding: 14px 24px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .rv-l, .rv-r { transform: none; }
  .hero-inner { padding: 130px 24px 70px; }
  .hero-frame { display: none; }
  .hero-img-wrap { transform: none; }
  .hero-visual:hover .hero-img-wrap { transform: none; }
  .hero-badge { left: 12px; bottom: -18px; padding: 12px 16px; gap: 12px; }
  .sec { padding: 76px 24px; }
  .about-sec { padding-top: 90px; margin-top: 0; }
  .srv-grid, .proc-grid, .articles-grid { grid-template-columns: 1fr; }
  .art-head-row { align-items: flex-start; }
  .srv-card { aspect-ratio: 3/4; }
  .srv-desc { max-height: 240px; opacity: 1; }
  .why-grid { grid-template-columns: 1fr; gap: 22px; }
  .contact-card { padding: 20px 22px; }
  .contact-map, .contact-map iframe { min-height: 300px; }
  .why-card { padding: 34px 28px; }
  .com-grid { grid-template-columns: 1fr; gap: 18px; }
  .com-card { padding: 26px 24px; }
  .cta-card { padding: 48px 28px; }
  .cta-btns { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 16px; }
  .marquee-wrap { display: none; }
  .art-hero { padding-top: 120px; }
  .art-head { padding-bottom: 34px; }
  .art-title { font-size: 28px; }
  .art-wrap { padding: 44px 20px 20px; }
  .entry-content { font-size: 16.5px; }
  .author-card { flex-direction: column; text-align: center; align-items: center; }
  .art-cta-card { padding: 44px 28px; }
  .related-grid { grid-template-columns: 1fr; }
  .blog-hero { padding-top: 120px; }
  .blog-grid { grid-template-columns: 1fr; }
}
