/*
 * Irapardaz corporate theme, layered on main.css.
 * Brand colours come from the logo: navy #153169 and coral red #EE412A.
 * Note: never use letter-spacing on Persian text; it breaks letter joining.
 */

/* ---------- Tokens ---------- */
:root {
  --brand-navy: #153169;
  --brand-navy-deep: #0b1a3d;
  --brand-red: #ee412a;
  --brand-red-hover: #d9341f;
  --brand-gradient: linear-gradient(135deg, #0b1a3d 0%, #153169 55%, #1f4596 100%);

  --color-bg: #ffffff;
  --color-surface: #f4f6fb;
  --color-text: #0f1b33;
  --color-secondary: #4a5670;
  --color-muted: #7b869c;
  --color-border: #e3e8f2;
  --color-accent: #1d4396;
  --color-accent-contrast: #ffffff;
  --color-accent-soft: #e9effb;
  --color-card: #ffffff;
  --logo-tile: #ffffff;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgb(15 27 51 / .05), 0 10px 30px rgb(15 27 51 / .07);
  --shadow-lg: 0 2px 4px rgb(15 27 51 / .05), 0 24px 48px rgb(15 27 51 / .12);
  --header-h: 76px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --color-bg: #0a1122;
    --color-surface: #101a31;
    --color-text: #e6ebf5;
    --color-secondary: #a9b4c8;
    --color-muted: #7c88a0;
    --color-border: #1f2b46;
    --color-accent: #8eaaf0;
    --color-accent-contrast: #0a1122;
    --color-accent-soft: #17244a;
    --color-card: #111c35;
    --logo-tile: #eef1f7;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 10px 30px rgb(0 0 0 / .3);
    --shadow-lg: 0 2px 4px rgb(0 0 0 / .3), 0 24px 48px rgb(0 0 0 / .4);
  }
}

:root[data-theme="dark"] {
  --color-bg: #0a1122;
  --color-surface: #101a31;
  --color-text: #e6ebf5;
  --color-secondary: #a9b4c8;
  --color-muted: #7c88a0;
  --color-border: #1f2b46;
  --color-accent: #8eaaf0;
  --color-accent-contrast: #0a1122;
  --color-accent-soft: #17244a;
  --color-card: #111c35;
  --logo-tile: #eef1f7;
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 10px 30px rgb(0 0 0 / .3);
  --shadow-lg: 0 2px 4px rgb(0 0 0 / .3), 0 24px 48px rgb(0 0 0 / .4);
}

body { line-height: 1.9; }
html { overflow-x: clip; }
::selection { background: var(--brand-red); color: #fff; }
.ip-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ip-icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Buttons ---------- */
.button { border-radius: 12px; transition: background .2s, color .2s, box-shadow .2s, transform .2s, opacity .2s; }
.button-lg { height: 52px; padding-inline: 28px; font-size: 1.0625rem; }
.button-brand { background: var(--brand-red); color: #fff; box-shadow: 0 8px 20px rgb(238 65 42 / .25); }
.button-brand:hover { opacity: 1; background: var(--brand-red-hover); transform: translateY(-1px); }
.button-dark { background: var(--brand-navy); color: #fff; }
.button-dark:hover { opacity: 1; background: #1d4396; }
.button-outline-light { background: rgb(255 255 255 / .06); color: #fff; border: 1px solid rgb(255 255 255 / .35); }
.button-outline-light:hover { opacity: 1; background: rgb(255 255 255 / .14); }

/* ---------- Header ---------- */
.site-logo { display: inline-flex; align-items: center; gap: 10px; }
.site-logo img { width: 40px; height: 40px; flex: none; }
/* The navy mark disappears on dark backgrounds, so it sits on a light badge there */
.site-footer .site-logo img, :root[data-theme="dark"] .site-header .site-logo img { padding: 4px; border-radius: 10px; background: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .site-header .site-logo img { padding: 4px; border-radius: 10px; background: #fff; } }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 1.25rem; font-weight: 900; color: var(--color-text); }
.brand-text small { font-size: .75rem; font-weight: 500; color: var(--color-muted); white-space: nowrap; }
.site-header .site-nav { display: flex; justify-content: center; }
.menu a { border-radius: 10px; }
.menu a:hover, .menu .is-active > a { color: var(--color-accent); background: var(--color-accent-soft); }
.has-children > a::after { content: ''; display: inline-block; width: 6px; height: 6px; margin-inline-start: 8px; border: solid currentColor; border-width: 0 0 1.5px 1.5px; transform: translateY(-3px) rotate(-45deg); opacity: .6; }
.header-actions { align-items: center; gap: 4px; }
.header-cta { height: 40px; padding-inline: 18px; font-size: .9375rem; margin-inline-start: 8px; box-shadow: none; }

/* ---------- Section scaffolding ---------- */
.ip-section-header { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; max-width: 720px; margin: 0 auto 44px; }
.ip-section-header-start { align-items: flex-start; text-align: start; margin-inline: 0; margin-bottom: 20px; }
.ip-section-header h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); font-weight: 900; line-height: 1.4; }
.ip-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--brand-red); font-size: .875rem; font-weight: 800; }
.ip-kicker::before { content: ''; width: 22px; height: 3px; border-radius: 3px; background: currentColor; }
.ip-section-lead { color: var(--color-secondary); font-size: 1.0625rem; }
.home-section .section { padding-block: clamp(56px, 8vw, 96px); }
.home-section + .home-section.bg-default > .container.section { border-top: 0; }
.home-section.bg-surface { background: var(--color-surface); }
.home-section.bg-dark { background: var(--brand-gradient); --color-surface: rgb(255 255 255 / .06); --color-border: rgb(255 255 255 / .12); --color-card: rgb(255 255 255 / .05); --color-accent-soft: rgb(255 255 255 / .1); --color-accent: #fff; }
.home-section.bg-accent { background: var(--brand-gradient); }

/* ---------- Hero ---------- */
.home-section-hero { position: relative; }
.ip-hero { position: relative; overflow: hidden; color: #fff; background: var(--brand-gradient); padding-block: clamp(64px, 10vw, 128px) clamp(120px, 14vw, 168px); isolation: isolate; }
.ip-hero::before { content: ''; position: absolute; z-index: -1; inset-inline-start: -10%; top: -30%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgb(238 65 42 / .28), transparent 65%); }
.ip-hero::after { content: ''; position: absolute; z-index: -1; inset-inline-end: -15%; bottom: -40%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgb(80 130 255 / .25), transparent 65%); }
.ip-hero-grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgb(255 255 255 / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .05) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.ip-hero-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 48px; }
.ip-hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.ip-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .16); font-size: .875rem; font-weight: 700; color: rgb(255 255 255 / .9); }
.ip-eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-red); box-shadow: 0 0 0 4px rgb(238 65 42 / .25); }
.ip-hero-title { font-size: clamp(2rem, 5.2vw, 3.5rem); font-weight: 900; line-height: 1.3; }
.ip-hero-body { font-size: clamp(1rem, 1.6vw, 1.1875rem); color: rgb(255 255 255 / .8); max-width: 600px; }
.ip-hero-body p + p { margin-top: .8em; }
.ip-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.ip-hero-visual { position: relative; justify-self: center; width: min(100%, 420px); aspect-ratio: 1; }
.ip-hero-visual > img { width: 100%; height: 100%; object-fit: contain; }
.ip-orbit { width: 100%; height: 100%; overflow: visible; }
.ip-orbit-ring { fill: none; stroke: rgb(255 255 255 / .18); stroke-width: 1.2; }
.ip-orbit-dash { stroke-dasharray: 4 8; stroke: rgb(255 255 255 / .28); }
.ip-node { fill: #9db7ff; }
.ip-node-red { fill: var(--brand-red); }
.ip-mark-a { fill: #fff; }
.ip-mark-b { fill: var(--brand-red); }
.ip-orbit-spin { transform-origin: 200px 200px; animation: ip-spin 40s linear infinite; }
.ip-orbit-reverse { animation-duration: 55s; animation-direction: reverse; }
@keyframes ip-spin { to { transform: rotate(360deg); } }
.ip-float { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-weight: 700; font-size: .9375rem; white-space: nowrap; box-shadow: 0 10px 30px rgb(0 0 0 / .2); animation: ip-bob 6s ease-in-out infinite; }
.ip-float .ip-icon { width: 20px; height: 20px; color: #ffb4a8; }
.ip-float-1 { top: 8%; inset-inline-start: -6%; }
.ip-float-2 { top: 44%; inset-inline-end: -10%; animation-delay: -2s; }
.ip-float-3 { bottom: 6%; inset-inline-start: 4%; animation-delay: -4s; }
.ip-float-4 { top: -2%; inset-inline-end: 6%; animation-delay: -3s; }
.ip-float-5 { top: 24%; inset-inline-start: -14%; animation-delay: -5s; }
@keyframes ip-bob { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .ip-orbit-spin, .ip-float { animation: none; } }

/* ---------- Stats (overlaps the hero above it) ---------- */
.home-section-stats { position: relative; z-index: 2; }
.ip-stats-wrap { padding-block: 0 24px; }
.home-section-hero + .home-section-stats .ip-stats-wrap { margin-top: -84px; }
.ip-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.ip-stats.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ip-stats.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ip-stat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 28px 16px; }
.ip-stat + .ip-stat { border-inline-start: 1px solid var(--color-border); }
.ip-stat-value { font-size: clamp(1.875rem, 3.6vw, 2.625rem); font-weight: 900; line-height: 1.25; color: var(--color-text); }
.ip-stat-suffix { color: var(--brand-red); margin-inline-start: 2px; }
.ip-stat-label { font-weight: 700; color: var(--color-secondary); }
.ip-stat-note { font-size: .8125rem; color: var(--color-muted); }

/* ---------- Cards (services, values, products, awards) ---------- */
.ip-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ip-cards.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ip-cards.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ip-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 28px; border-radius: var(--radius); background: var(--color-card); border: 1px solid var(--color-border); transition: transform .25s, box-shadow .25s, border-color .25s; }
.ip-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.ip-card h3 { font-size: 1.1875rem; font-weight: 800; }
.ip-card p { color: var(--color-secondary); font-size: .9875rem; flex: 1; }
.ip-card-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 6px; border-radius: 16px; background: var(--color-accent-soft); color: var(--color-accent); font-size: 1.625rem; transition: background .25s, color .25s; }
.ip-card-icon .ip-icon { width: 28px; height: 28px; }
.ip-card:hover .ip-card-icon { background: var(--brand-red); color: #fff; }
.ip-card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--color-accent); font-weight: 800; font-size: .9375rem; }
.ip-card-link .ip-icon { width: 18px; height: 18px; transition: transform .2s; }
.ip-card:hover .ip-card-link .ip-icon { transform: translateX(-4px); }
.ip-stretched::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.bg-dark .ip-card { color: #fff; }
.bg-dark .ip-card p { color: rgb(255 255 255 / .72); }
.bg-dark .ip-card-icon { color: #fff; }

.ip-card-media { padding: 0; overflow: hidden; }
.ip-card-media > :not(.ip-card-logo) { margin-inline: 28px; }
.ip-card-media > :last-child { margin-bottom: 28px; }
.ip-card-logo { display: grid; place-items: center; width: 100%; height: 150px; margin-bottom: 10px; padding: 28px; background: var(--color-surface); border-bottom: 1px solid var(--color-border); }
.ip-card-logo img { max-height: 84px; max-width: 70%; width: auto; object-fit: contain; }
.ip-card-link.button-like { padding: 10px 16px; border-radius: 10px; background: var(--color-accent-soft); }
.ip-card-badge { align-items: center; text-align: center; }
.ip-card-badge .ip-card-logo { height: 190px; background: transparent; border: 0; padding: 20px 20px 0; }
.ip-card-badge .ip-card-logo img { max-height: 170px; max-width: 100%; }
.ip-card-badge h3 { font-size: 1rem; line-height: 1.7; }

/* ---------- Text split (about) ---------- */
.ip-split { display: grid; gap: 48px; align-items: center; }
.ip-split-2 { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.ip-split-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.ip-prose { color: var(--color-secondary); font-size: 1.0625rem; }
.ip-prose p + p { margin-top: 1em; }
.ip-prose strong { color: var(--color-text); }
.ip-split-image { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.ip-checklist { list-style: none; margin: 0; padding: 12px; display: grid; gap: 4px; border-radius: var(--radius); background: var(--color-card); border: 1px solid var(--color-border); box-shadow: var(--shadow); }
.ip-checklist li { display: flex; gap: 16px; padding: 18px; border-radius: 12px; transition: background .2s; }
.ip-checklist li:hover { background: var(--color-surface); }
.ip-checklist strong { display: block; font-size: 1.0625rem; }
.ip-checklist p { color: var(--color-secondary); font-size: .9375rem; margin-top: 2px; }
.ip-check { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--color-accent-soft); color: var(--color-accent); }
.ip-check .ip-icon { width: 22px; height: 22px; }
.bg-surface .ip-checklist li:hover { background: var(--color-surface); }

/* ---------- Customers ---------- */
.ip-logo-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.ip-logo { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 132px; padding: 20px 10px 16px; border-radius: 16px; background: var(--logo-tile); border: 1px solid var(--color-border); text-align: center; transition: transform .25s, box-shadow .25s; }
.ip-logo:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ip-logo img { height: 48px; width: auto; max-width: 88px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .25s, opacity .25s; }
.ip-logo:hover img { filter: none; opacity: 1; }
.ip-logo span { font-size: .8125rem; font-weight: 700; line-height: 1.6; color: #3d4a64; }

/* ---------- CTA ---------- */
.ip-cta { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(32px, 5vw, 64px); border-radius: 24px; background: var(--brand-gradient); color: #fff; isolation: isolate; }
.ip-cta::before { content: ''; position: absolute; z-index: -1; inset-inline-end: -80px; top: -120px; width: 360px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgb(238 65 42 / .45), transparent 65%); }
.ip-cta::after { content: ''; position: absolute; z-index: -1; inset: 0; background-image: radial-gradient(rgb(255 255 255 / .12) 1px, transparent 1px); background-size: 18px 18px; mask-image: linear-gradient(to left, #000, transparent 60%); }
.ip-cta h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); font-weight: 900; }
.ip-cta-subtitle, .ip-cta-body { color: rgb(255 255 255 / .82); margin-top: 10px; max-width: 620px; font-size: 1.0625rem; }
.ip-cta .button { flex: none; }

/* ---------- Inner pages ---------- */
.page-template .article-header, .ip-page-head {
  position: relative; overflow: hidden; isolation: isolate; color: #fff; background: var(--brand-gradient);
  padding-block: clamp(48px, 8vw, 96px) clamp(40px, 6vw, 72px); margin-bottom: clamp(32px, 5vw, 56px);
}
.page-template .article-header::before, .ip-page-head::before { content: ''; position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(rgb(255 255 255 / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .05) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to bottom, #000, transparent); }
.page-template .article-header::after, .ip-page-head::after { content: ''; position: absolute; z-index: -1; inset-inline-start: -120px; bottom: -200px; width: 420px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgb(238 65 42 / .3), transparent 65%); }
.page-template .article-title, .ip-page-head h1 { color: #fff; font-size: clamp(1.875rem, 4.4vw, 2.875rem); }
.page-template .article-excerpt, .ip-page-head p { color: rgb(255 255 255 / .8); }
.page-template .breadcrumbs, .page-template .breadcrumbs a { color: rgb(255 255 255 / .7); }
.page-template .breadcrumbs a:hover { color: #fff; }
.ip-page-head { text-align: center; }
.ip-page-head .container { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ip-page-head p { max-width: 640px; font-size: 1.125rem; }
.page-template .article { padding-bottom: 72px; }
.page-template .gh-content { font-size: 1.0625rem; line-height: 2.05; }
.gh-content h2 { font-size: 1.5rem; font-weight: 900; }
.gh-content h2::before { content: ''; display: block; width: 36px; height: 4px; margin-bottom: 14px; border-radius: 4px; background: var(--brand-red); }
.gh-content blockquote { border-inline-start-color: var(--brand-red); background: var(--color-surface); padding: 20px 24px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 1.125rem; }
[dir="rtl"] .gh-content blockquote { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.gh-content li::marker { color: var(--brand-red); }
.gh-content a.button-like, .gh-content p.cta-line a { display: inline-flex; align-items: center; height: 46px; padding-inline: 22px; border-radius: 12px; background: var(--brand-red); color: #fff; text-decoration: none; font-weight: 800; }

/* Cards written into page bodies: <div class="ip-grid"><div class="ip-tile">…</div></div> */
.gh-content .ip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.gh-content .ip-grid, .gh-content .ip-facts, .gh-content .ip-product-head { grid-column: wide; }
.gh-content .ip-tile { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--radius); background: var(--color-card); border: 1px solid var(--color-border); font-size: 1rem; line-height: 1.9; transition: transform .25s, box-shadow .25s; }
.gh-content .ip-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.gh-content .ip-tile > * { margin: 0; }
.gh-content .ip-tile h3 { font-size: 1.125rem; margin: 0; }
.gh-content .ip-tile p { color: var(--color-secondary); }
.gh-content .ip-tile img { height: 56px; width: auto; max-width: 160px; object-fit: contain; margin-bottom: 8px; }
.gh-content .ip-tile a { font-weight: 800; text-decoration: none; }
.gh-content .ip-tile a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.gh-content .ip-tile .ip-tag { align-self: flex-start; padding: 2px 10px; border-radius: 999px; background: var(--color-accent-soft); color: var(--color-accent); font-size: .8125rem; font-weight: 700; }
.gh-content .ip-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.gh-content .ip-facts > div { padding: 18px; border-radius: var(--radius-sm); background: var(--color-surface); text-align: center; }
.gh-content .ip-facts strong { display: block; font-size: 1.625rem; font-weight: 900; color: var(--brand-red); line-height: 1.4; }
.gh-content .ip-facts span { color: var(--color-secondary); font-size: .9375rem; }
.gh-content .ip-product-head { display: flex; align-items: center; gap: 20px; padding: 24px; border-radius: var(--radius); background: var(--color-surface); }
.gh-content .ip-product-head img { width: auto; height: 72px; max-width: 220px; object-fit: contain; border-radius: 0; }
.gh-content .ip-product-head p { color: var(--color-secondary); }

/* Child pages list as cards */
.child-pages h2 { font-size: 1.375rem; margin-bottom: 16px; }
.child-pages .link-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.child-pages .link-list li { position: relative; display: flex; flex-direction: column; padding: 20px 24px; border-radius: var(--radius); border: 1px solid var(--color-border); background: var(--color-card); transition: box-shadow .2s, transform .2s; }
.child-pages .link-list li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.child-pages .link-list a::after { content: ''; position: absolute; inset: 0; }
.child-pages .link-list .muted { font-size: .9375rem; }

/* Landing template */
.landing-hero { background: linear-gradient(rgb(11 26 61 / .7), rgb(11 26 61 / .7)), var(--hero-image, var(--brand-gradient)) center / cover; }

/* ---------- Contact ---------- */
.ip-contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; align-items: start; padding-bottom: 80px; }
.ip-contact-cards { display: grid; gap: 16px; }
.ip-contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: var(--color-card); border: 1px solid var(--color-border); }
.ip-contact-card .ip-check { background: var(--brand-red); color: #fff; }
.ip-contact-card strong { display: block; font-size: .875rem; color: var(--color-muted); font-weight: 700; }
.ip-contact-card a, .ip-contact-card span { font-weight: 700; font-size: 1.0625rem; overflow-wrap: anywhere; }
.ip-contact-card a:hover { color: var(--color-accent); }
.ip-contact-form { background: var(--color-card); border: 1px solid var(--color-border); box-shadow: var(--shadow); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ip-contact-form > * { grid-column: 1 / -1; }
.ip-contact-form .ip-half { grid-column: auto; }
.ip-contact-form h2 { font-size: 1.375rem; }
.ip-contact-form .ip-form-note { color: var(--color-secondary); margin-top: -8px; }
.ip-contact-form .button { justify-self: start; }
.ip-contact-form input:not([type=hidden]), .ip-contact-form textarea { background: var(--color-bg); }
.ip-map { margin-top: 16px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-border); aspect-ratio: 16 / 10; background: var(--color-surface); }
.ip-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-navy-deep); color: rgb(255 255 255 / .7); padding-top: 72px; }
.site-footer .brand-text strong { color: #fff; }
.site-footer .brand-text small { color: rgb(255 255 255 / .55); }
.footer-grid { grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, .8fr)) minmax(0, 1.2fr); gap: 40px; }
.footer-about p { margin: 18px 0 20px; line-height: 2; }
.footer-title { font-size: 1rem; font-weight: 800; color: #fff; margin-bottom: 14px; }
.footer-nav .menu a { color: rgb(255 255 255 / .7); padding-block: 5px; font-weight: 500; }
.footer-nav .menu a:hover, .footer-nav .menu .is-active > a, .site-footer .social a:hover, .footer-contact a:hover { color: #fff; background: none; }
.social a { display: inline-flex; padding: 6px 14px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .15); font-size: .875rem; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; font-style: normal; }
.footer-contact a { color: #fff; font-weight: 700; align-self: flex-start; }
.footer-contact span { line-height: 1.9; }
.footer-bottom { border-top-color: rgb(255 255 255 / .1); color: rgb(255 255 255 / .5); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .header-inner { gap: 16px; }
  .menu a { padding-inline: 9px; }
  .brand-text small { display: none; }
}

@media (max-width: 1024px) {
  .ip-cards.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ip-logo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ip-hero-inner { grid-template-columns: 1fr; text-align: center; }
  .ip-hero-copy { align-items: center; }
  .ip-hero-body { margin-inline: auto; }
  .ip-hero-actions { justify-content: center; }
  .ip-hero-visual { width: min(80%, 360px); }
  .ip-split-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-about { grid-column: 1 / -1; }
  .ip-stats, .ip-stats.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ip-stats .ip-stat:nth-child(odd) { border-inline-start: 0; }
  .ip-stats .ip-stat:nth-child(n+3) { border-top: 1px solid var(--color-border); }
}

@media (max-width: 900px) {
  .header-cta { display: none; }
}

@media (max-width: 767px) {
  :root { --header-h: 64px; }
  .site-logo img { width: 34px; height: 34px; }
  .brand-text strong { font-size: 1.125rem; }
  .site-header .site-nav { display: none; }
  .nav-open .site-header .site-nav { display: block; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
  .has-children > a::after { display: none; }
  .ip-cards, .ip-cards.cols-2 { grid-template-columns: 1fr; }
  .ip-cards.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ip-card { padding: 22px; }
  .ip-card-media { padding: 0; }
  .ip-card-media > :not(.ip-card-logo) { margin-inline: 22px; }
  .ip-card-badge .ip-card-logo { height: 150px; }
  .ip-card-badge .ip-card-logo img { max-height: 130px; }
  .ip-card-badge > :not(.ip-card-logo) { margin-inline: 12px; }
  .ip-card-badge h3 { font-size: .875rem; }
  .ip-logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .ip-logo { min-height: 112px; padding: 14px 6px 12px; }
  .ip-logo img { height: 38px; }
  .ip-logo span { font-size: .75rem; }
  .ip-hero { padding-bottom: 136px; }
  .ip-hero-visual { width: min(78%, 300px); margin-top: 8px; }
  .ip-float { font-size: .8125rem; padding: 8px 12px; }
  .ip-float-1 { inset-inline-start: -10%; }
  .ip-float-2 { inset-inline-end: -12%; }
  .ip-float-5 { top: 16%; inset-inline-start: -8%; }
  .ip-hero-actions { width: 100%; }
  .ip-hero-actions .button { flex: 1 1 200px; }
  .ip-stat { padding: 20px 10px; }
  .ip-stat-value { font-size: 1.5rem; white-space: nowrap; }
  .ip-stat-label { font-size: .875rem; }
  .ip-cta { flex-direction: column; align-items: flex-start; }
  .ip-cta .button { width: 100%; }
  .ip-contact, .ip-contact-form { grid-template-columns: 1fr; }
  .ip-contact-form .ip-half { grid-column: 1 / -1; }
  .ip-contact-form .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-contact { grid-column: 1 / -1; }
  .gh-content .ip-product-head { flex-direction: column; align-items: flex-start; }
}
