/* Small, self-contained components added after the core layout. */
.odoo-partner {
  max-width: 1280px;
  margin: 0 auto clamp(3.5rem, 6vw, 5.5rem);
  padding: clamp(1.25rem, 2.2vw, 1.8rem) clamp(1.25rem, 4.5vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 265px);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  background: linear-gradient(115deg, #f7fcff 0%, #e9f7fb 100%);
  border: 0;
}
.odoo-partner h2 {
  margin: .28rem 0 .55rem;
  color: var(--ink);
  font: 700 clamp(1.75rem, 2.65vw, 2.5rem)/.98 var(--display);
  letter-spacing: -.065em;
}
.odoo-partner-copy > p:last-child { max-width: 565px; margin: 0; color: #31516b; line-height: 1.62; font-size: .88rem; }
.odoo-credentials { display: grid; justify-items: end; gap: .55rem; }
.odoo-wordmark { width: 128px; height: auto; }
.odoo-certified { display: inline-flex; align-items: center; gap: .45rem; padding: .38rem .58rem; border: 1px solid #d7c8d2; background: #fff; color: #714b67; }
.odoo-certified > span { display: grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: #f4ebf0; font-size: .75rem; }
.odoo-certified div { display: flex; flex-direction: column; align-items: flex-start; }
.odoo-certified strong, .odoo-certified small { display: block; font-family: var(--mono); letter-spacing: .075em; line-height: 1; white-space: nowrap; }
.odoo-certified strong { font-size: .59rem; }.odoo-certified small { padding-top: .2rem; font-size: .47rem; color: #8f8f8f; }

.project-interest { position: relative; }
.project-picker { position: relative; }
.project-native { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.project-toggle {
  width: 100%; min-height: 52px; display: flex; align-items: center; justify-content: space-between;
  border: 1px solid #90b8d7; background: #f5faff; color: var(--ink); padding: .8rem .9rem;
  font: 600 .9rem var(--body); text-align: left; cursor: pointer;
  transition: background .18s ease, box-shadow .18s ease;
}
.project-toggle:hover, .project-picker.is-open .project-toggle { background: var(--white); box-shadow: inset 0 -2px 0 var(--blue); }
.project-toggle i { width: .55rem; height: .55rem; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg) translateY(-2px); transition: transform .2s ease; }
.project-picker.is-open .project-toggle i { transform: rotate(225deg) translate(-2px, 0); }
.project-fan {
  position: absolute; z-index: 12; left: 0; right: 0; top: calc(100% + 9px);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 8px;
  border: 1px solid var(--blue); background: rgba(255,255,255,.98); box-shadow: 9px 9px 0 #b6d5ec;
  opacity: 0; visibility: hidden; transform: translateY(-9px) scale(.96); transform-origin: top center;
  transition: opacity .16s ease, transform .23s cubic-bezier(.2,.8,.2,1), visibility .23s;
}
.project-picker.is-open .project-fan { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.project-fan button {
  min-height: 52px; padding: .75rem .8rem; border: 1px solid transparent; background: #f3f8fc; color: var(--ink);
  font: 600 .78rem/1.35 var(--body); text-align: left; cursor: pointer; opacity: 0; transform: translateY(-7px);
  transition: opacity .16s ease, transform .22s cubic-bezier(.2,.8,.2,1), background .16s ease;
}
.project-picker.is-open .project-fan button { opacity: 1; transform: translateY(0); }
.project-fan button:nth-child(2) { transition-delay: 35ms; }.project-fan button:nth-child(3) { transition-delay: 70ms; }.project-fan button:nth-child(4) { transition-delay: 105ms; }
.project-fan button:hover, .project-fan button.is-selected { background: #dceefb; border-color: #b6d5ec; }
.project-fan button.is-selected::before { content: "✓ "; color: var(--blue); font-weight: 800; }
@media (max-width: 800px) { .odoo-partner { grid-template-columns: 1fr; margin-bottom: 2.75rem; }.odoo-credentials { justify-items: start; }.odoo-wordmark { width: 150px; } }
@media (max-width: 530px) { .project-fan { grid-template-columns: 1fr; }.project-fan button { min-height: 45px; } }

.site-footer {
  max-width: 1280px;
  margin: auto;
  padding: 2rem clamp(1.25rem, 4.5vw, 4rem) max(2.2rem, calc(1.5rem + env(safe-area-inset-bottom)));
  display: grid;
  grid-template-columns: 1.05fr .8fr 1.3fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  border-top: 1px solid var(--line);
  color: #48667d;
}
.footer-brand p, .footer-address p { margin: .65rem 0 0; font-size: .74rem; line-height: 1.65; }
.footer-contact, .footer-address { display: grid; gap: .46rem; font-style: normal; }
.footer-contact > span, .footer-address > span { color: var(--blue); font: 500 .62rem var(--mono); letter-spacing: .08em; }
.footer-contact a { width: fit-content; font-size: .76rem; color: var(--ink); }
.footer-contact a:not(.zalo-link) { text-decoration: underline; text-decoration-color: #b6d5ec; text-underline-offset: 4px; }
.zalo-link { display: inline-flex; align-items: center; gap: .35rem; color: var(--blue) !important; font-weight: 700; }
.zalo-link b { font-size: .9rem; line-height: 1; transition: transform .18s ease; }
.zalo-link:hover b { transform: translate(2px, -2px); }
@media (max-width: 800px) { .site-footer { grid-template-columns: 1fr 1fr; }.footer-address { grid-column: 1 / -1; padding-top: 1rem; border-top: 1px solid var(--line); } }
@media (max-width: 530px) { .site-footer { grid-template-columns: 1fr; }.footer-address { grid-column: auto; } }

/* SME route: a clear secondary path, deliberately more generous for Vietnamese diacritics. */
.sme-route {
  max-width: 1280px;
  margin: clamp(3rem, 7vw, 6rem) auto;
  padding: clamp(2.2rem, 4.5vw, 4.25rem) clamp(1.25rem, 4.5vw, 4rem);
  display: grid;
  grid-template-columns: minmax(220px, .64fr) minmax(0, 1.36fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  position: relative;
  overflow: hidden;
  background: linear-gradient(122deg, #edf8fc 0%, #edf5ff 57%, #e5f7f5 100%);
  border: 1px solid #c8e1eb;
}
.sme-route::after { content: "SME"; position: absolute; right: -1.1rem; bottom: -3.2rem; color: rgba(0,99,180,.055); font: 800 clamp(8rem,19vw,18rem)/1 var(--display); letter-spacing: -.1em; pointer-events: none; }
.sme-route .eyebrow { margin: .6rem 0 0; position: relative; z-index: 1; }
.sme-route > div { position: relative; z-index: 1; max-width: 760px; }
.sme-route h2 { margin: 0 0 1.3rem; color: var(--ink); font: 700 clamp(2.45rem, 5vw, 5.45rem)/1.05 var(--display); letter-spacing: -.07em; }
.sme-route h2 em { font-style: normal; color: var(--blue); }
.sme-route div > p { max-width: 640px; margin: 0 0 1.65rem; color: #31516b; font-size: clamp(.98rem, 1.35vw, 1.15rem); line-height: 1.7; }
.sme-route .text-link { display: inline-flex; padding: .9rem 1.1rem; background: var(--blue); color: #fff; text-decoration: none; font-weight: 700; }
.sme-route .text-link:hover { background: #004f91; }
.sme-page .sme-hero h1, .sme-page .sme-steps h2, .sme-page .sme-value h2, .sme-page .sme-sectors h2, .sme-page .sme-compliance h2, .sme-page .sme-final h2 { line-height: 1.04; }
@media (max-width: 700px) { .sme-route { grid-template-columns: 1fr; gap: 1rem; margin-inline: 0; border-inline: 0; }.sme-route .eyebrow { margin: 0; }.sme-route h2 { font-size: clamp(2.35rem, 12vw, 3.7rem); } }

/* The SME section introductions have three semantic children: label, thesis, and explanation. */
.sme-page .section-intro { width: 100%; max-width: none; grid-template-columns: minmax(0, 1fr) minmax(300px, .65fr); column-gap: clamp(2rem, 7vw, 7rem); row-gap: 1rem; align-items: end; }
.sme-page .section-intro .eyebrow { grid-column: 1 / -1; grid-row: 1; margin: 0; }
.sme-page .section-intro h2 { grid-column: 1; grid-row: 2; line-height: 1.04; }
.sme-page .section-intro > p:last-child { grid-column: 2; grid-row: 2; margin: 0 0 .5rem; }
@media (max-width: 800px) { .sme-page .section-intro { grid-template-columns: 1fr; }.sme-page .section-intro .eyebrow, .sme-page .section-intro h2, .sme-page .section-intro > p:last-child { grid-column: 1; }.sme-page .section-intro .eyebrow { grid-row: 1; }.sme-page .section-intro h2 { grid-row: 2; }.sme-page .section-intro > p:last-child { grid-row: 3; margin: 0; } }
