@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #10214b;
  --ink-deep: #09152f;
  --ink-soft: #193368;
  --paper: #f8f6ef;
  --paper-deep: #eee9dd;
  --surface: #ffffff;
  --gold: #cf8d48;
  --gold-light: #efc48e;
  --gold-pale: #f8ead8;
  --text: #15244a;
  --muted: #66718b;
  --line: #dde1e8;
  --success: #2f7d64;
  --shadow-sm: 0 12px 32px rgba(16, 33, 75, 0.08);
  --shadow-lg: 0 28px 80px rgba(16, 33, 75, 0.16);
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 32px;
  --bs-body-font-family: "Vazirmatn", Tahoma, sans-serif;
  --bs-primary: var(--ink);
  --bs-primary-rgb: 16, 33, 75;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: "Vazirmatn", Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: auto; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }
h1, h2, h3, h4, h5, h6 { color: var(--text); font-weight: 800; line-height: 1.35; letter-spacing: -0.025em; }
p { margin-bottom: 0; }
::selection { background: var(--gold-light); color: var(--ink-deep); }

.skip-link {
  position: fixed;
  z-index: 9999;
  inset: 12px auto auto 12px;
  transform: translateY(-160%);
  background: var(--surface);
  color: var(--ink);
  border-radius: 8px;
  padding: 8px 14px;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 1000;
  padding-top: 14px;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}
.site-header.is-sticky {
  position: fixed;
  padding-top: 0;
  background: rgba(9, 21, 47, 0.96);
  box-shadow: 0 10px 30px rgba(4, 10, 24, 0.22);
  backdrop-filter: blur(14px);
}
.navbar { min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; font-size: 1.35rem; font-weight: 900; }
.brand:hover { color: #fff; }
.brand-mark, .mini-mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px 5px 12px 12px;
  color: var(--ink-deep);
  background: linear-gradient(145deg, var(--gold-light), var(--gold));
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(207, 141, 72, 0.24);
}
.navbar-nav { gap: 0.35rem; }
.navbar-dark .navbar-nav .nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.93rem;
  font-weight: 600;
  padding: 0.6rem 0.85rem;
}
.navbar-dark .navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  inset: auto 0.85rem 0.2rem;
  width: 0;
  height: 2px;
  background: var(--gold-light);
  transition: width 0.2s ease;
}
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active { color: #fff; }
.navbar-dark .navbar-nav .nav-link:hover::after,
.navbar-dark .navbar-nav .nav-link.active::after { width: calc(100% - 1.7rem); }
.navbar-toggler { border-color: rgba(255, 255, 255, 0.24); }

.btn {
  border-radius: 999px;
  padding: 0.7rem 1.35rem;
  font-weight: 700;
  border-width: 1px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 0.86rem 1.7rem; font-size: 1rem; }
.btn-primary { --bs-btn-bg: var(--ink); --bs-btn-border-color: var(--ink); --bs-btn-hover-bg: var(--ink-soft); --bs-btn-hover-border-color: var(--ink-soft); }
.btn-accent {
  color: var(--ink-deep);
  background: var(--gold-light);
  border-color: var(--gold-light);
}
.btn-accent:hover { color: var(--ink-deep); background: #f5d4aa; border-color: #f5d4aa; box-shadow: 0 14px 30px rgba(207, 141, 72, 0.24); }
.btn-outline-primary { color: var(--ink); border-color: rgba(16, 33, 75, 0.3); }
.btn-outline-primary:hover { color: #fff; background: var(--ink); border-color: var(--ink); }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.36); }

.toast-wrap { position: fixed; z-index: 1100; inset: 92px 50% auto auto; transform: translateX(50%); max-width: 620px; }
.alert { border: 0; border-radius: var(--radius-sm); }

.home-hero {
  position: relative;
  isolation: isolate;
  min-height: 780px;
  padding: 170px 0 112px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 15% 15%, rgba(239, 196, 142, 0.14), transparent 30%),
    radial-gradient(circle at 88% 76%, rgba(52, 91, 162, 0.28), transparent 36%),
    linear-gradient(145deg, var(--ink) 0%, var(--ink-deep) 76%);
}
.hero-grid-pattern, .page-hero-shape {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.13;
  background-image: linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: linear-gradient(to left, #000, transparent 82%);
}
.home-hero h1, .page-hero h1, .detail-hero h1, .project-hero h1 {
  color: #fff;
  font-size: clamp(2.7rem, 5.3vw, 5.25rem);
  max-width: 840px;
  margin: 0;
  line-height: 1.24;
}
.hero-lead { max-width: 720px; margin-top: 25px; color: rgba(255,255,255,.72); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.hero-actions { margin-top: 38px; }
.hero-trust { margin-top: 42px; color: rgba(255,255,255,.58); font-size: .88rem; }
.hero-trust b { color: #fff; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: var(--gold);
  font-weight: 800;
  font-size: 0.82rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow-light { color: var(--gold-light); }
.hero-visual {
  position: relative;
  max-width: 480px;
  margin-right: auto;
  padding: 26px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.025));
  box-shadow: 0 40px 90px rgba(0,0,0,.2);
  backdrop-filter: blur(14px);
}
.hero-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 160px;
  height: 160px;
  inset: -45px -45px auto auto;
  border-radius: 50%;
  border: 1px solid rgba(239, 196, 142, 0.3);
}
.visual-top { color: rgba(255,255,255,.8); font-size: .86rem; }
.status-dot { display: inline-flex; align-items: center; gap: 6px; color: #9ee6c8; }
.status-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #67d6a7; box-shadow: 0 0 0 5px rgba(103,214,167,.12); }
.visual-chart { display: flex; align-items: flex-end; gap: 12px; height: 205px; padding: 28px 6px 12px; border-bottom: 1px solid rgba(255,255,255,.11); }
.visual-chart span { flex: 1; min-height: 20px; border-radius: 9px 9px 3px 3px; background: linear-gradient(to top, var(--gold), var(--gold-light)); opacity: .88; }
.visual-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.visual-cards div { padding: 15px; border-radius: var(--radius-sm); background: rgba(255,255,255,.07); }
.visual-cards strong { display: block; color: #fff; font-size: 1.5rem; line-height: 1.2; }
.visual-cards span { color: rgba(255,255,255,.56); font-size: .76rem; }
.visual-note { display: flex; align-items: center; gap: 10px; margin-top: 16px; color: rgba(255,255,255,.6); font-size: .75rem; }
.mini-mark { width: 29px; height: 29px; border-radius: 8px 3px 8px 8px; font-size: .72rem; }

.trust-strip { position: relative; z-index: 2; margin-top: -30px; }
.trust-items { display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; min-height: 76px; padding: 0 25px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-lg); }
.trust-items span { position: relative; color: var(--muted); font-size: .86rem; font-weight: 700; text-align: center; }
.trust-items span + span::before { content: ""; position: absolute; inset: 50% auto auto 0; width: 1px; height: 25px; background: var(--line); transform: translateY(-50%); }

.section { padding: 108px 0; }
.section-light { background: var(--paper); }
.section-muted { background: var(--paper-deep); }
.section-ink { background: var(--ink-deep); color: rgba(255,255,255,.68); }
.section-title { max-width: 760px; margin: 0; font-size: clamp(2rem, 3.5vw, 3.1rem); }
.section-lead { color: var(--muted); font-size: 1.06rem; line-height: 2; }
.text-muted-custom { color: var(--muted); }
.section-heading { max-width: 920px; margin-bottom: 46px; }
.section-heading p { max-width: 650px; margin-top: 14px; color: var(--muted); }
.section-heading-light h2 { color: #fff; }
.section-heading-light p { color: rgba(255,255,255,.63); }
.section-heading.text-center { max-width: 760px; }

.about-visual { position: relative; max-width: 600px; }
.about-visual img, .about-section-image img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); object-fit: cover; }
.experience-badge {
  position: absolute;
  inset: auto auto -24px -12px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 190px;
  padding: 17px 20px;
  border-radius: var(--radius-sm);
  color: #fff;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
}
.experience-badge strong { color: var(--gold-light); font-size: 1.8rem; line-height: 1; }
.experience-badge span { font-size: .78rem; line-height: 1.55; }

.service-card {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.service-media { position: relative; width: 100%; max-width: 100%; height: 200px; overflow: hidden; background: #dce3f1; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.service-card:hover .service-media img { transform: scale(1.04); }
.service-icon {
  position: absolute;
  inset: auto 18px 18px auto;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 14px;
  color: var(--ink);
  background: var(--gold-light);
  box-shadow: 0 10px 28px rgba(9,21,47,.2);
  font-weight: 900;
}
.service-icon::before { content: "✦"; }
.service-icon.icon-code::before { content: "</>"; font-size: .72rem; }
.service-icon.icon-search::before { content: "⌕"; font-size: 1.7rem; }
.service-icon.icon-chart::before { content: "↗"; font-size: 1.35rem; }
.service-icon.icon-brand::before { content: "◇"; font-size: 1.4rem; }
.service-icon.icon-support::before { content: "◉"; font-size: 1.2rem; }
.service-content { padding: 25px; }
.service-content h3 { margin: 0 0 12px; font-size: 1.25rem; }
.service-content h3 a::after { content: ""; position: absolute; }
.service-content p { min-height: 76px; color: var(--muted); font-size: .9rem; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 19px; color: var(--ink); font-weight: 800; font-size: .88rem; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(-4px); }
.text-link-light { color: var(--gold-light); margin-bottom: 5px; white-space: nowrap; }

.process-section { background: #fff; }
.process-row { position: relative; }
.process-card { position: relative; min-height: 240px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.process-card > span { color: var(--gold); font-weight: 900; font-size: .88rem; }
.process-card h3 { margin: 42px 0 11px; font-size: 1.3rem; }
.process-card p { color: var(--muted); font-size: .88rem; }

.portfolio-card { width: 100%; min-width: 0; overflow: hidden; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.portfolio-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.portfolio-media { position: relative; display: block; width: 100%; max-width: 100%; height: 280px; overflow: hidden; background: #dbe3f1; }
.portfolio-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.portfolio-card:hover .portfolio-media img { transform: scale(1.045); }
.portfolio-arrow { position: absolute; inset: 18px auto auto 18px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: #fff; background: rgba(9,21,47,.78); backdrop-filter: blur(7px); transition: transform .25s ease, background .25s ease; }
.portfolio-card:hover .portfolio-arrow { transform: rotate(-10deg); background: var(--gold); }
.portfolio-content { padding: 24px; }
.portfolio-meta { display: flex; justify-content: space-between; color: var(--gold); font-size: .75rem; font-weight: 800; }
.portfolio-content h3 { margin: 12px 0 9px; font-size: 1.3rem; }
.portfolio-content p { color: var(--muted); font-size: .88rem; }

.industry-cloud { display: flex; flex-wrap: wrap; gap: 13px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.industry-cloud span { padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--paper); font-weight: 700; font-size: .88rem; }
.industry-cloud span:nth-child(2n) { background: var(--gold-pale); border-color: #edd2b2; }

.cta-section { padding: 0 0 108px; background: var(--paper); }
.section-muted + .cta-section { padding-top: 108px; }
.cta-box {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  min-height: 300px;
  padding: clamp(32px, 6vw, 70px);
  border-radius: var(--radius-lg);
  color: rgba(255,255,255,.68);
  background: linear-gradient(135deg, var(--ink), var(--ink-deep));
  box-shadow: var(--shadow-lg);
}
.cta-box::after { content: ""; position: absolute; z-index: -1; inset: -170px auto auto -120px; width: 370px; height: 370px; border: 1px solid rgba(239,196,142,.28); border-radius: 50%; box-shadow: 0 0 0 45px rgba(239,196,142,.035), 0 0 0 95px rgba(239,196,142,.025); }
.cta-box h2 { max-width: 720px; margin: 0 0 10px; color: #fff; font-size: clamp(1.8rem, 3.3vw, 2.8rem); }
.cta-box p { max-width: 650px; }

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 510px;
  padding: 160px 0 100px;
  color: rgba(255,255,255,.68);
  background: radial-gradient(circle at 15% 70%, rgba(207,141,72,.17), transparent 32%), linear-gradient(145deg, var(--ink), var(--ink-deep));
}
.page-hero h1 { max-width: 970px; font-size: clamp(2.45rem, 5vw, 4.5rem); }
.page-hero p { max-width: 820px; margin-top: 21px; font-size: 1.08rem; }
.breadcrumb-nav { display: flex; align-items: center; gap: 9px; margin-bottom: 42px; color: rgba(255,255,255,.52); font-size: .78rem; }
.breadcrumb-nav a:hover { color: var(--gold-light); }

.cooperation-card { padding: clamp(30px, 5vw, 52px); border-radius: var(--radius-lg); }
.cooperation-project { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.cooperation-retainer { color: rgba(255,255,255,.68); background: var(--ink); box-shadow: var(--shadow-lg); }
.cooperation-card h2 { margin-bottom: 14px; font-size: 1.85rem; }
.cooperation-retainer h2 { color: #fff; }
.cooperation-card p { color: var(--muted); }
.cooperation-retainer p { color: rgba(255,255,255,.64); }
.check-list { display: grid; gap: 13px; margin: 25px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-right: 28px; color: var(--muted); }
.check-list li::before { content: "✓"; position: absolute; inset: 0 0 auto auto; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; color: #fff; background: var(--success); font-size: .7rem; font-weight: 900; }
.check-list-light li { color: rgba(255,255,255,.72); }
.check-list-light li::before { color: var(--ink); background: var(--gold-light); }

.custom-accordion { --bs-accordion-bg: transparent; --bs-accordion-border-color: var(--line); --bs-accordion-btn-focus-box-shadow: none; --bs-accordion-active-bg: transparent; --bs-accordion-active-color: var(--ink); }
.custom-accordion .accordion-item { border-width: 0 0 1px; }
.custom-accordion .accordion-button { padding: 24px 0 24px 42px; color: var(--text); background: transparent; box-shadow: none; font-weight: 800; }
.custom-accordion .accordion-button::after { margin-right: auto; margin-left: 0; }
.custom-accordion .accordion-body { padding: 0 0 25px; color: var(--muted); }
.faq-narrow { max-width: 850px; margin-inline: auto; }

.detail-hero, .project-hero { padding: 158px 0 95px; color: rgba(255,255,255,.68); background: linear-gradient(145deg, var(--ink), var(--ink-deep)); }
.detail-hero h1 { font-size: clamp(2.5rem, 5vw, 4.3rem); }
.detail-hero p { max-width: 650px; margin-top: 20px; font-size: 1.06rem; }
.detail-duration { display: inline-flex; align-items: center; padding: 9px 15px; border: 1px solid rgba(255,255,255,.17); border-radius: 999px; font-size: .82rem; }
.detail-image { overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); background: var(--ink-soft); box-shadow: 0 30px 70px rgba(0,0,0,.25); }
.detail-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.prose-content { color: var(--muted); font-size: 1.02rem; line-height: 2.1; }
.prose-content p + p { margin-top: 1rem; }
.detail-sidebar, .project-facts { position: sticky; top: 105px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.detail-sidebar h2, .project-facts h2 { margin-bottom: 20px; font-size: 1.3rem; }

.portfolio-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: -20px 0 40px; }
.filter-chip { padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: #fff; font-size: .84rem; font-weight: 700; transition: .2s ease; }
.filter-chip:hover, .filter-chip.active { color: #fff; border-color: var(--ink); background: var(--ink); }
.empty-state { padding: 50px; border: 1px dashed #b7becd; border-radius: var(--radius); color: var(--muted); text-align: center; background: rgba(255,255,255,.55); }
.empty-state h2 { font-size: 1.4rem; }

.project-title-wrap { max-width: 920px; margin-bottom: 50px; }
.project-title-wrap p { max-width: 760px; margin-top: 18px; font-size: 1.08rem; }
.project-cover { overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); box-shadow: 0 32px 80px rgba(0,0,0,.25); }
.project-cover img { width: 100%; max-height: 750px; object-fit: cover; }
.project-section + .project-section { margin-top: 68px; padding-top: 68px; border-top: 1px solid var(--line); }
.project-section h2 { margin-bottom: 20px; font-size: clamp(1.65rem, 3vw, 2.35rem); }
.project-facts dl { display: grid; gap: 0; margin: 0; }
.project-facts dl div { display: flex; justify-content: space-between; gap: 15px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.project-facts dt { color: var(--muted); font-weight: 500; }
.project-facts dd { margin: 0; color: var(--text); font-weight: 800; text-align: left; }
.tech-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }
.tech-list span { padding: 6px 10px; border-radius: 7px; color: var(--ink); background: var(--gold-pale); font-size: .72rem; font-weight: 700; }
.project-gallery figure { margin: 0; }
.project-gallery img { width: 100%; height: 420px; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow-sm); }
.project-gallery figcaption { margin-top: 9px; color: var(--muted); font-size: .78rem; }

.about-principles { display: grid; gap: 13px; margin-top: 30px; }
.about-principles div { display: flex; align-items: center; gap: 15px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.about-principles span { color: var(--gold); font-weight: 900; }
.about-principles p { color: var(--muted); }
.about-principles b { color: var(--text); }
.about-section-image { overflow: hidden; border-radius: var(--radius-lg); }
.about-section-image img { aspect-ratio: 4/3; object-fit: cover; transition: transform .5s ease; }
.about-section-image:hover img { transform: scale(1.03); }
.value-card { height: 100%; padding: 28px; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); background: rgba(255,255,255,.04); }
.value-card > span { color: var(--gold-light); font-size: .75rem; font-weight: 900; }
.value-card h3 { margin: 38px 0 10px; color: #fff; font-size: 1.2rem; }
.value-card p { color: rgba(255,255,255,.58); font-size: .85rem; }

.contact-form-card { padding: clamp(28px, 5vw, 48px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.contact-form-card h2 { margin: 0 0 7px; font-size: 1.8rem; }
.contact-form-card p { color: var(--muted); }
.form-label { color: var(--text); font-size: .82rem; font-weight: 800; }
.form-control, .form-select { min-height: 52px; border-color: var(--line); border-radius: 12px; color: var(--text); background-color: #fbfbfc; }
textarea.form-control { padding-top: 13px; }
.form-control:focus, .form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 .22rem rgba(207,141,72,.13); background-color: #fff; }
.privacy-note { display: inline-block; margin-right: 13px; font-size: .7rem; }
.contact-info-card { position: sticky; top: 105px; overflow: hidden; padding: clamp(30px, 5vw, 45px); border-radius: var(--radius-lg); color: rgba(255,255,255,.63); background: linear-gradient(145deg, var(--ink), var(--ink-deep)); box-shadow: var(--shadow-lg); }
.contact-info-card h2 { margin-bottom: 12px; color: #fff; font-size: 1.9rem; }
.contact-info-list { display: grid; gap: 0; margin: 32px 0; padding: 0; list-style: none; }
.contact-info-list li { display: flex; flex-direction: column; gap: 2px; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.contact-info-list span { color: rgba(255,255,255,.42); font-size: .72rem; }
.contact-info-list a, .contact-info-list b { color: #fff; font-weight: 700; }

.site-footer { color: rgba(255,255,255,.58); background: var(--ink-deep); }
.footer-brand { width: fit-content; }
.footer-about { max-width: 390px; }
.footer-title { margin: 7px 0 18px; color: #fff; font-size: .93rem; }
.footer-links, .footer-contact { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: .83rem; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold-light); }
.social-links { display: flex; flex-wrap: wrap; gap: 9px; }
.social-links a { padding: 6px 11px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; font-size: .7rem; }
.social-links a:hover { color: var(--ink); background: var(--gold-light); border-color: var(--gold-light); }
.footer-bottom { padding: 22px 0; border-top: 1px solid rgba(255,255,255,.09); font-size: .72rem; }

.motion-ready .reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.motion-ready .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1199.98px) {
  .home-hero { min-height: 720px; }
  .service-media { height: 220px; }
}

@media (max-width: 991.98px) {
  .site-header { padding-top: 0; background: rgba(9,21,47,.95); }
  .navbar-collapse { margin-top: 8px; padding: 18px; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-sm); background: var(--ink-deep); box-shadow: var(--shadow-lg); }
  .navbar-dark .navbar-nav .nav-link { padding: .65rem .2rem; }
  .navbar-dark .navbar-nav .nav-link::after { display: none; }
  .header-cta { margin-top: 8px; }
  .home-hero { padding-top: 145px; }
  .hero-visual { margin: 20px 0 0; }
  .trust-items { grid-template-columns: repeat(3, 1fr); gap: 12px; padding-block: 18px; }
  .trust-items span:nth-child(4), .trust-items span:nth-child(5) { display: none; }
  .section { padding: 82px 0; }
  .cta-section { padding-bottom: 82px; }
  .section-muted + .cta-section { padding-top: 82px; }
  .cta-box { align-items: flex-start; flex-direction: column; }
  .detail-sidebar, .project-facts, .contact-info-card { position: static; }
  .page-hero { min-height: 450px; padding-top: 145px; }
}

@media (max-width: 767.98px) {
  body { font-size: 15px; }
  .container { --bs-gutter-x: 2rem; }
  .row.g-5 { --bs-gutter-x: 2rem; }
  .row > * { min-width: 0; }
  .about-visual, .about-section-image, .hero-visual { width: 100%; max-width: 100%; }
  .about-visual img, .about-section-image img, .service-media img, .portfolio-media img { width: 100%; max-width: 100%; }
  .home-hero { min-height: auto; padding: 132px 0 82px; }
  .home-hero h1, .page-hero h1, .detail-hero h1, .project-hero h1 { font-size: 2.45rem; }
  .hero-lead { font-size: 1rem; }
  .hero-trust { gap: 10px !important; flex-direction: column; }
  .visual-chart { height: 170px; }
  .trust-strip { margin-top: -20px; }
  .trust-items { grid-template-columns: 1fr; min-height: 64px; }
  .trust-items span { display: none; }
  .trust-items span:first-child { display: block; }
  .trust-items span + span::before { display: none; }
  .section { padding: 68px 0; }
  .section-title { font-size: 2rem; }
  .section-heading { margin-bottom: 32px; }
  .experience-badge { inset: auto auto -18px 10px; }
  .service-media, .portfolio-media { height: 230px; }
  .cta-section { padding-bottom: 68px; }
  .section-muted + .cta-section { padding-top: 68px; }
  .cta-box { min-height: 0; padding: 34px 25px; }
  .page-hero { min-height: 420px; padding: 130px 0 70px; }
  .breadcrumb-nav { margin-bottom: 28px; }
  .detail-hero, .project-hero { padding: 130px 0 70px; }
  .project-gallery img { height: 300px; }
  .privacy-note { display: block; margin: 10px 0 0; }
  .contact-form-card { padding: 26px 20px; }
  .toast-wrap { inset-inline: 15px; width: auto; transform: none; }
}

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