/* ==========================================================================
   UMCA Technologies — Design System (from finished Figma "design" template)
   Font: Work Sans · Navy #16265b · Ink #1c1b1f · Border #d2d1d2 · Radius 8px
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;500;600;700&display=swap');

:root {
  --navy: #16265b;
  --navy-700: #1d3270;
  --ink: #1c1b1f;
  --ink-60: #5b5b60;
  --line: #d2d1d2;
  --bg: #ffffff;
  --bg-soft: #f5f6f8;
  --bg-card: #fbfbfc;
  --green: #1faa59;
  --red: #e5484d;
  --amber: #f5a623;

  --maxw: 1280px;
  --pad-x: 80px;
  --r: 8px;
  --r-lg: 16px;

  --fs-hero: 48px;
  --fs-h2: 34px;
  --fs-h3: 20px;
  --fs-lead: 17px;
  --fs-body: 15px;
  --fs-sm: 13px;
  --fs-xs: 12px;
}

* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Work Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: var(--fs-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.eyebrow { color: var(--navy); font-weight: 600; font-size: var(--fs-sm); letter-spacing: 1.5px; text-transform: uppercase; margin: 0 0 14px; }
.h2 { font-size: var(--fs-h2); font-weight: 600; letter-spacing: -0.5px; margin: 0; color: var(--ink); }
.lead { font-size: var(--fs-lead); color: var(--ink-60); margin: 12px 0 0; max-width: 640px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: var(--r); font-weight: 600; font-size: 14px; letter-spacing: -0.2px; border: 1px solid transparent; transition: all .18s ease; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-700); }
.btn--ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); }
.btn--lg { height: 50px; padding: 0 26px; font-size: 15px; }
.link { color: var(--navy); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.link:hover { gap: 10px; }
.link svg { transition: transform .18s ease; }

/* ---------- Header ---------- */
.nav { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); }
.nav__inner { max-width: var(--maxw); margin: 0 auto; height: 72px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.nav__left { display: flex; align-items: center; gap: 40px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 20px; color: var(--navy); letter-spacing: -0.5px; }
.logo__mark { width: 26px; height: 26px; flex: 0 0 auto; }
.nav__menu { display: flex; align-items: center; gap: 24px; }
.nav__item { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 15px; color: var(--ink); letter-spacing: -0.3px; position: relative; cursor: pointer; padding: 8px 0; }
.nav__item svg { width: 10px; height: 10px; opacity: .6; transition: transform .2s; }
.nav__item.has-menu:hover > svg { transform: rotate(180deg); }
.nav__right { display: flex; align-items: center; gap: 24px; }
.nav__lang { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 15px; }
.nav__lang svg { width: 10px; height: 10px; opacity: .6; }
.dropdown { position: absolute; top: 100%; left: 0; min-width: 280px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 12px 32px rgba(20,30,60,.10); padding: 8px; display: none; flex-direction: column; gap: 2px; }
.nav__item.has-menu:hover .dropdown { display: flex; }
.dropdown a { padding: 10px 12px; border-radius: 6px; font-size: 14px; font-weight: 500; color: var(--ink); }
.dropdown a:hover { background: var(--bg-soft); color: var(--navy); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; }
.nav__toggle span { width: 22px; height: 2px; background: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 72px; border-bottom: 1px solid var(--line); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero__title { font-size: var(--fs-hero); line-height: 1.08; font-weight: 700; letter-spacing: -1.4px; color: var(--navy); margin: 0; }
.hero__sub { font-size: var(--fs-lead); color: var(--ink-60); margin: 22px 0 30px; max-width: 520px; }
.hero__cta { display: flex; gap: 14px; align-items: center; }
.hero__trust { display: flex; align-items: center; gap: 12px; margin-top: 34px; }
.hero__trust img { width: 46px; height: 46px; }
.hero__trust span { font-size: var(--fs-xs); font-weight: 600; color: var(--ink-60); line-height: 1.35; letter-spacing: .3px; }
.hero__visual { position: relative; min-height: 360px; }
.hero__photo { width: 100%; height: 100%; min-height: 360px; border-radius: var(--r-lg); object-fit: cover; background: linear-gradient(135deg, #e9edf5, #d7deec); }
.float-card { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(20,30,60,.16); padding: 16px; }
.float-card--gauge { top: 18px; right: -10px; width: 210px; }
.float-card--alert { bottom: 22px; left: -18px; width: 240px; }
.fc__label { font-size: var(--fs-xs); color: var(--ink-60); font-weight: 600; }
.fc__row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.fc__pill { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 20px; }
.fc__pill--green { background: #e7f6ee; color: var(--green); }
.fc__pill--red { background: #fdeaea; color: var(--red); }
.fc__amount { font-size: 17px; font-weight: 700; color: var(--ink); }
.gauge { width: 120px; height: 70px; margin: 6px auto 0; position: relative; }
.gauge__val { position: absolute; bottom: 0; width: 100%; text-align: center; font-size: 15px; font-weight: 700; color: var(--navy); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.stat { display: flex; gap: 16px; align-items: flex-start; }
.stat__ic { width: 30px; height: 30px; border-radius: 8px; background: var(--bg-soft); color: var(--navy); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.stat__num { font-size: 38px; font-weight: 700; letter-spacing: -1px; color: var(--navy); line-height: 1; }
.stat__label { font-size: var(--fs-body); color: var(--ink-60); margin-top: 8px; }

/* ---------- Card grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 12px 30px rgba(20,30,60,.08); transform: translateY(-2px); }
.card__shot { height: 168px; background: var(--bg-soft); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.card__shot img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card__title { font-size: var(--fs-h3); font-weight: 600; color: var(--ink); margin: 0; letter-spacing: -0.3px; }
.card__text { font-size: var(--fs-body); color: var(--ink-60); margin: 0; flex: 1; }

/* industry card (icon, compact) */
.icard { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; background: #fff; display: flex; flex-direction: column; gap: 12px; transition: box-shadow .2s, transform .2s; }
.icard:hover { box-shadow: 0 12px 30px rgba(20,30,60,.08); transform: translateY(-2px); }
.icard__ic { width: 40px; height: 40px; border-radius: 10px; background: var(--bg-soft); color: var(--navy); display: flex; align-items: center; justify-content: center; }
.icard__title { font-size: var(--fs-h3); font-weight: 600; margin: 0; letter-spacing: -0.3px; }
.icard__text { font-size: var(--fs-body); color: var(--ink-60); margin: 0; flex: 1; }

/* ---------- Comparison (navy panel + light panel) ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cpanel { border-radius: var(--r-lg); padding: 32px; }
.cpanel--navy { background: var(--navy); color: #fff; }
.cpanel--light { background: #fff; border: 1px solid var(--line); }
.cpanel h3 { font-size: var(--fs-h3); font-weight: 600; margin: 0 0 20px; }
.cpanel li { display: flex; align-items: flex-start; gap: 12px; padding: 9px 0; font-size: var(--fs-body); }
.cpanel--navy li { color: rgba(255,255,255,.92); }
.cpanel--light li { color: var(--ink-60); }
.ci { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 1px; }

/* ---------- News ---------- */
.news__head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; }
.ncard { display: flex; flex-direction: column; gap: 14px; }
.ncard__img { height: 180px; border-radius: var(--r-lg); background: var(--bg-soft); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ncard__img img { width: 100%; height: 100%; object-fit: cover; }
.ncard__tag { font-size: var(--fs-xs); font-weight: 600; color: var(--navy); }
.ncard__title { font-size: var(--fs-h3); font-weight: 600; margin: 2px 0 6px; letter-spacing: -0.3px; line-height: 1.3; }

/* ---------- Demo / calendar ---------- */
.demo__head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.demo__head .lead { margin-left: auto; margin-right: auto; }
.demo__panel { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; max-width: 880px; margin: 0 auto; }
.demo__left { padding: 32px; border-right: 1px solid var(--line); }
.demo__right { padding: 32px; }
.demo__profile { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.demo__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-soft); }
.demo__check { display: flex; align-items: flex-start; gap: 10px; font-size: var(--fs-body); color: var(--ink-60); }
.cal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-weight: 600; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__dow { font-size: 11px; color: var(--ink-60); text-align: center; padding: 4px 0; font-weight: 600; }
.cal__day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 13px; border-radius: 6px; cursor: pointer; }
.cal__day:hover { background: var(--bg-soft); }
.cal__day--sel { background: var(--navy); color: #fff; font-weight: 600; }
.cal__day--mute { color: #c5c5c8; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,.85); padding: 56px 0 28px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer__brand .logo { color: #fff; margin-bottom: 14px; }
.footer__tag { font-size: var(--fs-body); color: rgba(255,255,255,.7); max-width: 240px; }
.footer__social { display: flex; gap: 12px; margin-top: 18px; }
.footer__social a { width: 34px; height: 34px; border-radius: 8px; border: 1px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; }
.footer__social a:hover { background: rgba(255,255,255,.1); }
.footer__col h5 { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 1px; color: #fff; margin: 0 0 16px; font-weight: 600; }
.footer__col li { margin-bottom: 10px; }
.footer__col a { font-size: var(--fs-body); color: rgba(255,255,255,.75); }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; font-size: var(--fs-sm); color: rgba(255,255,255,.6); }
.footer__bottom a { color: rgba(255,255,255,.6); }
.footer__bottom a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  :root { --pad-x: 32px; --fs-hero: 38px; --fs-h2: 28px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { min-height: 300px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr; gap: 24px; }
  .compare, .demo__panel { grid-template-columns: 1fr; }
  .demo__left { border-right: none; border-bottom: 1px solid var(--line); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .nav__menu, .nav__right .nav__lang { display: none; }
  .nav__toggle { display: flex; }
  .nav.open .nav__menu { display: flex; flex-direction: column; align-items: flex-start; gap: 0; position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px; }
  .nav.open .nav__item { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav.open .dropdown { position: static; display: flex; box-shadow: none; border: none; padding: 0 0 8px 14px; min-width: 0; }
}
@media (max-width: 640px) {
  .grid-3, .grid-4, .news__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
}

/* image placeholder fallback */
.card__shot.ph::after, .ncard__img:empty::after { content: ""; }
.card__shot.ph { background: repeating-linear-gradient(45deg, #eef0f4, #eef0f4 10px, #e7eaf0 10px, #e7eaf0 20px); }

/* ===== Inner-page sections ===== */
.hero--inner { padding: 56px 0 56px; }
.hero__bc { font-size: var(--fs-sm); color: var(--ink-60); margin: 0 0 18px; }
.hero__sub--wide { max-width: 760px; }
.hero--inner .hero__title { max-width: 900px; }

.caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.cap { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; background: #fff; display: flex; flex-direction: column; gap: 12px; }
.cap__ic { width: 44px; height: 44px; border-radius: 10px; background: var(--bg-soft); color: var(--navy); display: flex; align-items: center; justify-content: center; }
.cap h3 { font-size: var(--fs-h3); font-weight: 600; margin: 0; letter-spacing: -0.3px; }
.cap p { font-size: var(--fs-body); color: var(--ink-60); margin: 0; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 36px; }
.step { display: flex; flex-direction: column; gap: 14px; }
.step__num { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 17px; }
.step h3 { font-size: var(--fs-h3); font-weight: 600; margin: 0; letter-spacing: -0.3px; }
.step p { font-size: var(--fs-body); color: var(--ink-60); margin: 0; }

.features { display: flex; flex-direction: column; gap: 48px; margin-top: 40px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.feature__media { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-lg); height: 300px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__media.ph { background: repeating-linear-gradient(45deg,#eef0f4,#eef0f4 10px,#e7eaf0 10px,#e7eaf0 20px); }
.feature__text h3 { font-size: var(--fs-h2); font-weight: 600; margin: 0 0 14px; letter-spacing: -0.5px; }
.feature__text p { font-size: var(--fs-lead); color: var(--ink-60); margin: 0; }

.taglist { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.tag { border: 1px solid var(--line); background: #fff; border-radius: var(--r); padding: 10px 18px; font-size: var(--fs-body); color: var(--ink); }

.faq { margin-top: 24px; max-width: 920px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; background: none; border: none; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: var(--fs-h3); font-weight: 600; color: var(--ink); letter-spacing: -0.3px; }
.faq__sign { font-size: 26px; line-height: 1; color: var(--navy); transition: transform .25s; flex: 0 0 auto; }
.faq__item.open .faq__sign { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a-in { padding: 0 0 22px; font-size: var(--fs-body); color: var(--ink-60); max-width: 820px; line-height: 1.65; }

.rgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.rcard { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; background: #fff; display: flex; flex-direction: column; gap: 14px; transition: box-shadow .2s, transform .2s; }
.rcard:hover { box-shadow: 0 12px 30px rgba(20,30,60,.08); transform: translateY(-2px); }
.rcard__ic { width: 44px; height: 44px; border-radius: 10px; background: var(--bg-soft); color: var(--navy); display: flex; align-items: center; justify-content: center; }
.rcard h3 { font-size: var(--fs-h3); font-weight: 600; margin: 0; letter-spacing: -0.3px; }

.ncard__img[data-ph], .card__shot.ph { background: repeating-linear-gradient(45deg,#eef0f4,#eef0f4 10px,#e7eaf0 10px,#e7eaf0 20px); }

/* prose / about / article / case */
.prose { max-width: 820px; }
.prose p { font-size: var(--fs-lead); color: var(--ink-60); margin: 0 0 18px; line-height: 1.7; }
.article-body { max-width: 760px; margin: 0 auto; }
.article-body h2 { font-size: var(--fs-h2); margin: 40px 0 14px; letter-spacing: -0.5px; }
.article-body h3 { font-size: var(--fs-h3); margin: 28px 0 10px; }
.article-body p, .article-body li { font-size: var(--fs-body); color: var(--ink-60); line-height: 1.75; }
.article-body ul { padding-left: 22px; }
.article-body li { margin-bottom: 8px; }
.case-block { margin-bottom: 40px; max-width: 820px; }
.case-block h3 { font-size: var(--fs-h3); margin: 0 0 12px; color: var(--navy); }
.case-block p, .case-block li { font-size: var(--fs-body); color: var(--ink-60); line-height: 1.7; }
.case-block ul { padding-left: 22px; }
.case-results { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 8px; }
.case-results .stat__num { font-size: 44px; }

/* tabs */
.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin: 28px 0 32px; }
.tab { padding: 9px 18px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; font-size: var(--fs-body); color: var(--ink); font-weight: 500; }
.tab.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* featured article */
.featured { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.featured__media { background: var(--bg-soft); min-height: 320px; height: 100%; }
.featured__body { padding: 36px; }
.featured__body h2 { font-size: var(--fs-h2); margin: 8px 0 14px; letter-spacing: -0.5px; }
.featured__body p { color: var(--ink-60); margin: 0 0 18px; }

/* newsletter */
.newsletter { background: var(--navy); border-radius: var(--r-lg); padding: 48px; text-align: center; color: #fff; }
.newsletter h3 { font-size: var(--fs-h2); margin: 0 0 8px; letter-spacing: -0.5px; }
.newsletter p { color: rgba(255,255,255,.8); margin: 0 0 24px; }
.newsletter form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; }
.newsletter input { flex: 1; height: 48px; border-radius: var(--r); border: none; padding: 0 18px; font-family: inherit; font-size: 15px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
.field { width: 100%; height: 48px; border-radius: var(--r); border: 1px solid var(--line); padding: 0 16px; font-family: inherit; font-size: 15px; background: #fff; margin-bottom: 14px; }
textarea.field { height: 120px; padding-top: 14px; resize: vertical; }
.form-row { display: flex; gap: 14px; }
.form-row .field { flex: 1; }
.info-card { background: var(--bg-soft); border-radius: var(--r-lg); padding: 28px; }
.info-card h4 { margin: 0 0 8px; font-size: var(--fs-h3); }
.info-card p { color: var(--ink-60); margin: 0 0 6px; font-size: var(--fs-body); }
.offices { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 24px; }
.office h4 { margin: 0 0 4px; }
.office p { color: var(--ink-60); margin: 0; font-size: var(--fs-body); }

/* pricing */
.pricing { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 40px; align-items: stretch; }
.tier { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; gap: 16px; background: #fff; }
.tier--featured { border-color: var(--navy); border-width: 2px; box-shadow: 0 16px 40px rgba(20,30,60,.10); }
.tier h3 { font-size: var(--fs-h2); margin: 0; letter-spacing: -0.5px; }
.tier__desc { color: var(--ink-60); font-size: var(--fs-body); margin: 0; min-height: 42px; }
.tier ul { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tier li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-body); color: var(--ink); }

@media (max-width: 1000px) {
  .caps, .steps, .rgrid, .grid-3, .pricing, .offices { grid-template-columns: 1fr 1fr; }
  .feature, .featured, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .feature__media { height: 240px; }
}
@media (max-width: 640px) {
  .caps, .steps, .rgrid, .pricing, .offices, .form-row { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; }
}

/* ===== Real-asset overrides ===== */
.logo img { display:block; height:28px; width:auto; }
.logo--light img { filter: brightness(0) invert(1); }  /* navy logo → white for footer */

/* hero with image (solution/industry/about) */
.hero--with-image { padding: 56px 0 64px; }
.hero--with-image .hero__grid { display:grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero--with-image .hero__photo { width:100%; height:auto; max-height:420px; object-fit:cover; border-radius: 16px; }

/* two-column "why" / mission layout */
.why-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.why-image img { width:100%; height:auto; border-radius: 16px; object-fit:cover; max-height: 420px; }

@media (max-width: 1000px) {
  .hero--with-image .hero__grid, .why-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero--with-image .hero__photo { max-height: 320px; }
}

/* designer industry icons have their own rounded background — strip wrapper bg */
.icard__ic--real { background: none; padding: 0; width: 44px; height: 44px; }
.icard__ic--real img { display: block; width: 44px; height: 44px; }

/* Calendly + map */
.cal-wrap { background:#fff; border:1px solid var(--border); border-radius:16px; overflow:hidden; height:720px; }
.cal-wrap iframe { display:block; width:100%; height:100%; border:0; }
.contact-grid { display:grid; grid-template-columns: 1.6fr 1fr; gap:32px; align-items:stretch; }
.contact-grid > div:last-child { display:flex; flex-direction:column; gap:16px; }
@media (max-width: 1000px) {
  .contact-grid { grid-template-columns: 1fr; }
  .cal-wrap { height: 640px; }
}
.map-wrap { max-width: 1100px; margin: 0 auto; }

/* Home Calendly demo block */
.home-cal { background:#fff; border:1px solid var(--border); border-radius:16px; overflow:hidden; height:720px; max-width:960px; margin:32px auto 0; }
.home-cal iframe { display:block; width:100%; height:100%; border:0; }

/* ===== Round-3 fixes ===== */
/* Show full solution screenshots on home (no top/bottom crop) */
.card__shot { height: 200px; padding: 14px; background: var(--bg-soft); }
.card__shot img { object-fit: contain; }

/* Calendly: tall enough that internal scroll is rare; remove overflow clip */
.home-cal, .cal-wrap { height: 1100px; overflow: visible; }
@media (max-width: 1000px) { .home-cal, .cal-wrap { height: 1000px; } }

/* Recommended Solutions cards — equal height, link anchored to bottom */
.rcard { min-height: 200px; }
.rcard h3 { flex: 1; }
.rcard .link { margin-top: auto; }

/* Resources page — case-study-only grid alignment */
.cs-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap:28px; }
.cs-grid > a { display:flex; flex-direction:column; gap:14px; height:100%; }
.cs-grid .cs-image { background: var(--bg-soft); border:1px solid var(--line); border-radius: var(--r-lg); overflow:hidden; aspect-ratio: 16/9; }
.cs-grid .cs-image img { width:100%; height:100%; object-fit:cover; display:block; }
.cs-grid h3 { margin: 4px 0 6px; line-height:1.35; flex:1; }
.cs-grid .link { margin-top:auto; }
@media (max-width: 1000px) { .cs-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .cs-grid { grid-template-columns: 1fr; } }

/* Resources case-study cards (single clickable, no nested anchors) */
.cs-card { display:flex; flex-direction:column; gap:14px; height:100%; text-decoration:none; color:inherit; }
.cs-card h3 { font-size: var(--fs-h3); font-weight:600; letter-spacing:-0.3px; line-height:1.35; color: var(--ink); margin:4px 0 6px; flex:1; }
.cs-card .cs-result { color: var(--ink-60); font-size:15px; margin:0; line-height:1.55; }
.cs-card .link { margin-top:auto; display:inline-flex; align-items:center; gap:6px; color:var(--navy); font-weight:600; font-size:14px; }
.cs-card:hover .link { text-decoration: underline; }
