/* TECHIS overrides on top of FlameOnePage layout.min.css (Flame default palette kept) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/inter-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Noto Sans Thai";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/noto-sans-thai.woff2) format("woff2");
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}

body, p, em, li, li a, a, .link, span, h1, h2, h3, h4, h5, h6,
.btn-theme, .nav-item-child, .panel-title-child, .panel-body {
  font-family: "Inter", "Noto Sans Thai", sans-serif;
}
:lang(th) p, :lang(th) li { line-height: 1.7; }

/* Header: square logo + wordmark instead of Flame's wide logo */
.header .logo { width: auto; }
.header .logo-img { width: auto; height: 40px; border-radius: 6px; }
.header .logo-text { margin-left: 10px; font-size: 16px; font-weight: 700; color: #fff; vertical-align: middle; letter-spacing: .5px; }
.page-on-scroll .header .logo-text { color: #515769; }
@media (max-width: 991px) { .header .logo-text { color: #515769; } }
.header .nav-item-child.nav-lang { border: 1px solid rgba(255,255,255,.5); border-radius: 3px; padding: 4px 10px; margin: 33px 0 0 15px; line-height: 1.4; }
.page-on-scroll .header .nav-item-child.nav-lang { border-color: #cdcecf; }
@media (max-width: 991px) { .header .nav-item-child.nav-lang { border: 0; margin-top: 0; } }

/* Hero: long Thai headlines do not fit Flame's 80px uppercase title */
.carousel-title { font-size: 56px; text-transform: none; }
.carousel-lead { font-size: 18px; color: #fff; max-width: 640px; }
.carousel-eyebrow { display: block; margin-bottom: 15px; color: #17bed2; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.carousel .item { background-size: cover; background-position: center; }
.carousel .item:before { position: absolute; inset: 0; background: rgba(20, 24, 33, .55); content: " "; }
.carousel-centered { z-index: 1; }
@media (max-width: 768px) { .carousel-title { font-size: 34px; } .carousel-lead { font-size: 16px; } }

.section-lead { max-width: 640px; }
.btn-gap { margin-left: 10px; }

/* Solutions: Flame service tiles with a short feature list */
.service .service-list { padding-left: 18px; margin: 10px 0 0; }
.service .service-list li { font-size: 14px; font-weight: 400; color: #a6a7aa; }
.service.bg-color-base .service-list li { color: #fff; }
.service:hover .service-info { transform: translate3d(0, -20%, 0); }

/* Showcase: text tiles in place of Flame's portfolio photos */
.work-tile { position: relative; min-height: 230px; padding: 30px; background: #515769; margin-bottom: 30px; }
.work-tile .work-tag { display: block; margin-bottom: 12px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.75); letter-spacing: 1px; text-transform: uppercase; }
.work-tile h3 { color: #fff; margin-bottom: 10px; }
.work-tile p { color: rgba(255,255,255,.85); margin-bottom: 0; }
.work-tile .work-more { position: absolute; left: 30px; bottom: 22px; font-size: 13px; font-weight: 600; color: #fff; text-transform: uppercase; }
.work .work-popup-content p { color: #81848f; }
.work-flow { margin: 0 0 15px; padding: 0; list-style: none; }
.work-flow li { display: inline-block; margin: 0 6px 6px 0; padding: 3px 10px; font-size: 13px; font-weight: 500; color: #17bed2; border: 1px solid #17bed2; border-radius: 3px; }
.work-result { font-weight: 600; color: #515769; }

/* Services: Flame "products" cards using our photos */
.product-card { margin-bottom: 40px; }
.product-card img { width: 100%; }
.product-card .card-kicker { display: block; margin-top: 20px; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.product-card h4 { margin-top: 4px; }

/* About: equal-height text blocks so the three images sit on one line */
@media (min-width: 768px) {
  .pillars { display: flex; flex-wrap: wrap; }
  .pillars:before, .pillars:after { display: none; }
  .pillar { display: flex; flex-direction: column; }
  .pillar-text { flex: 1; }
}

.stack-list { margin: 30px 0 0; padding: 0; list-style: none; }
.stack-list li { display: inline-block; margin: 0 8px 8px 0; padding: 4px 12px; font-size: 13px; background: #fff; border: 1px solid #e6e6e6; }

.contact-list > li a { color: #515769; }
.footer-credit { font-size: 13px; }
.work .work-popup-close { background: none; border: 0; padding: 0; }

/* Services: flex rows so wrapped cards never snag on a taller neighbour */
.cards { display: flex; flex-wrap: wrap; }
.cards:before, .cards:after { display: none; }

/* Flame's buttons draw a Font Awesome arrow (not loaded); use a plain chevron instead */
.btn-theme-sm:after { font-family: "Inter", sans-serif; content: "\203A"; }

/* Mobile: keep the hero eyebrow inside the gutter on one line */
@media (max-width: 480px) { .carousel-eyebrow { font-size: 11px; letter-spacing: .3px; } }
