@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;700&family=Roboto:wght@300;400;500;700&display=swap');

:root {
  --source-red: #bf0c0c;
  --source-deep-red: #940505;
  --source-text: #4c4c4c;
  --source-gray: #f5f5f5;
  --source-footer: #282828;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--source-text);
  font-family: Prompt, Roboto, Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: min(1140px, calc(100% - 30px)); margin: 0 auto; }

.site-header { position: relative; z-index: 50; background: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, .08); }
.topbar { position: relative; overflow: hidden; background: #f7f7f7; color: #aaa; font: 400 12px/1.2 Prompt, sans-serif; }
.topbar::before { position: absolute; inset: 0 auto 0 0; width: max(13%, 165px); background: #fff; clip-path: polygon(0 0, 78% 0, 100% 100%, 0 100%); content: ""; }
.topbar-inner { position: relative; display: flex; min-height: 78px; flex-wrap: wrap; align-content: flex-start; padding: 10px 85px 8px 210px; gap: 7px 17px; }
.topbar-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.topbar-hours { width: 100%; }
.topbar-social { position: absolute; right: 15px; bottom: 10px; display: flex; gap: 18px; color: #bbb; font: 500 17px/1 Arial, sans-serif; }
.nav-wrap { display: flex; min-height: 70px; align-items: center; justify-content: flex-start; gap: 0; }
.brand { display: inline-flex; align-self: stretch; flex: 0 0 auto; align-items: flex-start; padding-top: 3px; }
.brand img { width: 49px; height: 52px; object-fit: contain; }
.main-nav { display: flex; align-items: center; justify-content: flex-start; gap: 0; margin-left: 55px; }
.main-nav a {
  position: relative;
  display: flex;
  min-height: 70px;
  align-items: center;
  padding: 0 15px;
  color: #4a4a4a;
  font-size: 16px;
  font-weight: 400;
  white-space: nowrap;
}
.main-nav a::after {
  position: absolute;
  right: 15px;
  bottom: 0;
  left: 15px;
  height: 1px;
  background: var(--source-red);
  content: "";
  transform: scaleX(0);
  transition: transform .2s;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--source-red); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.language-switch { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; margin-right: 15px; color: #666; font: 400 14px/1 Roboto, sans-serif; }
.thai-flag { width: 18px; height: 12px; background: linear-gradient(to bottom, #a51931 0 16.67%, #fff 16.67% 33.34%, #2d2a71 33.34% 66.67%, #fff 66.67% 83.34%, #a51931 83.34%); box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.language-chevron { color: #999; font-size: 16px; }
.menu-toggle { display: none; width: 42px; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 6px 0; background: #444; }

.hero {
  position: relative;
  min-height: 650px;
  height: 650px;
  overflow: hidden;
  background: #e6e6e6;
  color: #fff;
}
.hero-slide { position: absolute; inset: 0; display: block; background-position: center; background-size: cover; opacity: 0; pointer-events: none; transition: opacity .7s ease; }
.hero-slide::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .30), rgba(0, 0, 0, .04)); content: ""; }
.hero-slide.is-active { z-index: 1; opacity: 1; pointer-events: auto; }
.hero-content { position: relative; z-index: 2; display: flex; height: 100%; flex-direction: column; align-items: flex-start; justify-content: center; padding: 0 15px; }
.hero h1 { max-width: 760px; margin: 0 0 12px; color: var(--source-red); font-size: 30px; font-weight: 300; line-height: 1.16; text-shadow: 0 1px 10px rgba(255, 255, 255, .12); }
.hero p { max-width: 760px; margin: 0; color: #fff; font-size: 18px; font-weight: 500; line-height: 1.55; text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
.hero-arrow { position: absolute; z-index: 5; top: 50%; width: 54px; height: 70px; border: 0; background: transparent; color: rgba(255, 255, 255, .92); font: 300 52px/1 Arial, sans-serif; cursor: pointer; transform: translateY(-50%); }
.hero-prev { left: 9px; }
.hero-next { right: 9px; }
.hero-dots { position: absolute; z-index: 5; bottom: 20px; left: 50%; display: flex; gap: 12px; transform: translateX(-50%); }
.hero-dot { width: 11px; height: 11px; border: 1px solid #fff; border-radius: 50%; background: transparent; padding: 0; cursor: pointer; }
.hero-dot.is-active { background: #fff; }

.original-section { padding: 80px 0; }
.original-section h2, .section h2, .page-hero h1 { margin: 0; color: var(--source-text); font-size: 30px; font-weight: 300; line-height: 1.2; }
.original-rule, .rule { width: 115px; height: 4px; margin: 25px auto 35px; background: var(--source-red); }
.original-rule.align-left { width: 25px; margin: 16px 0 28px; }
.original-rule.light { margin-left: 0; background: #fff; }
.source-button, .button { display: inline-flex; min-height: 42px; align-items: center; border: 1px solid var(--source-red); background: transparent; padding: 8px 18px; color: var(--source-red); font-size: 14px; font-weight: 400; cursor: pointer; transition: .2s; }
.source-button:hover, .button:hover { background: var(--source-red); color: #fff; }
.button.fill { border-radius: 20px; background: var(--source-red); color: #fff; }
.center-action { margin-top: 42px; text-align: center; }

.original-intro { min-height: 342px; background: #fff; text-align: center; }
.original-intro p { max-width: 1140px; margin: 0 auto; color: #666; font-size: 16px; line-height: 1.9; text-align: left; }
.original-intro strong { color: var(--source-red); font-weight: 500; }
.original-intro a { color: #666; font-weight: 500; text-decoration: underline; }

.original-services { min-height: 930px; padding-top: 110px; background: #fff; }
.original-service-layout { display: grid; grid-template-columns: 360px minmax(0, 1fr); align-items: start; gap: 30px; }
.service-lead { min-height: 555px; background: var(--source-gray); padding: 50px; }
.service-lead p { margin: 0 0 28px; color: #666; font-size: 16px; line-height: 1.9; }
.service-lead strong { font-weight: 500; }
.service-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 30px; }
.service-items article { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 18px; min-height: 190px; padding: 5px 0 20px; }
.source-service-icon { color: var(--source-red); font: 400 42px/1 Arial, sans-serif; text-align: center; }
.service-items h3 { margin: 0 0 12px; color: #555; font-size: 22px; font-weight: 400; line-height: 1.35; }
.service-items p { display: -webkit-box; overflow: hidden; min-height: 76px; margin: 0 0 12px; color: #666; font-size: 14px; line-height: 1.75; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.service-items a { border-bottom: 1px solid var(--source-red); color: var(--source-red); font-size: 13px; }

.original-portfolio { min-height: 1075px; background: var(--source-gray); text-align: center; }
.portfolio-filters { display: flex; justify-content: center; gap: 5px; margin: 0 0 35px; }
.portfolio-filters button { border: 0; background: transparent; padding: 9px 16px; color: #777; font-size: 13px; cursor: pointer; }
.portfolio-filters button.is-active { background: var(--source-red); color: #fff; }
.source-project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; text-align: left; }
.source-project-grid article { position: relative; height: 208px; overflow: hidden; background: #333; }
.source-project-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.source-project-grid article > div { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(to top, rgba(0, 0, 0, .72), transparent 62%); padding: 22px; color: #fff; }
.source-project-grid h3 { margin: 0 0 5px; color: #fff; font-size: 19px; font-weight: 500; line-height: 1.2; }
.source-project-grid span { font-size: 11px; letter-spacing: .05em; }
.source-project-grid p { margin: 3px 0 0; font-size: 12px; line-height: 1.5; opacity: .9; }
.source-project-grid article:hover img { transform: scale(1.045); }

.original-news { min-height: 1450px; background: #fff; text-align: center; }
.source-news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 52px 30px; text-align: left; }
.source-news-grid article { position: relative; padding: 0 31px; }
.source-news-grid img { width: 100%; height: 168px; object-fit: cover; }
.source-news-date { position: absolute; z-index: 2; top: 0; left: 0; display: flex; width: 62px; min-height: 72px; flex-direction: column; align-items: center; justify-content: center; background: var(--source-red); color: #fff; text-align: center; }
.source-news-date strong { font-size: 23px; font-weight: 400; line-height: 1; }
.source-news-date span { margin-top: 7px; font: 400 9px/1 Roboto, sans-serif; }
.source-news-grid h3 { min-height: 70px; margin: 17px 0 12px; color: #4c4c4c; font-size: 25px; font-weight: 400; line-height: 1.4; }
.source-news-grid p { display: -webkit-box; overflow: hidden; min-height: 74px; margin: 0 0 12px; color: #777; font-size: 14px; line-height: 1.75; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.source-news-grid a { border-bottom: 1px solid var(--source-red); color: var(--source-red); font-size: 13px; }

.original-clients { min-height: 265px; background: rgba(148, 5, 5, .94); color: #fff; }
.original-clients h2 { color: #fff; text-align: left; }
.clients { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.clients > div { display: flex; height: 82px; align-items: center; justify-content: center; background: rgba(255, 255, 255, .96); padding: 12px; }
.clients img { max-height: 48px; object-fit: contain; }

.page-hero { position: relative; min-height: 350px; background: linear-gradient(rgba(0, 0, 0, .18), rgba(0, 0, 0, .18)), url('images/page-about.png') center/cover; color: #fff; }
.page-hero .shell { display: flex; min-height: 350px; flex-direction: column; justify-content: center; }
.page-hero h1 { color: #fff; font-size: 48px; font-weight: 400; text-shadow: 0 1px 8px rgba(0, 0, 0, .28); }
.page-hero .rule { width: 150px; height: 4px; margin: 18px 0 8px; }
.section { padding: 80px 0; }
.section.alt { background: var(--source-gray); }
.section p, .intro p { color: #666; }
.intro p { font-size: 16px; line-height: 1.9; }

.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 46px 34px; }
.service-card { background: #fff; }
.service-card h3 { margin: 0 0 12px; color: #555; font-size: 22px; font-weight: 400; line-height: 1.35; }
.service-card p { color: #666; font-size: 14px; line-height: 1.75; }
.service-icon { margin-bottom: 15px; color: var(--source-red); font: 400 42px/1 Arial, sans-serif; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px 24px; }
.card { background: #fff; border: 0; }
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card-body { padding: 22px 4px; }
.card h3 { margin: 0 0 8px; color: #4c4c4c; font-size: 22px; font-weight: 400; line-height: 1.35; }
.card p { color: #777; font-size: 13px; line-height: 1.75; }
.tag { color: var(--source-red); font: 500 11px/1 Roboto, sans-serif; letter-spacing: .05em; text-transform: uppercase; }
.form { max-width: 760px; }
.form label { display: block; margin-bottom: 20px; color: #555; font-size: 14px; }
.form input, .form textarea, .form select { width: 100%; border: 0; border-bottom: 1px solid #ccc; outline: 0; background: transparent; padding: 9px 0 12px; color: #444; font: inherit; }
.form textarea { min-height: 150px; resize: vertical; }
.notice { margin-bottom: 20px; background: #e9f8ec; padding: 14px 18px; color: #176229; }

.site-footer { background: var(--source-footer); color: #aaa; }
.footer-accent { height: 4px; background: var(--source-red); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .9fr .7fr; gap: 70px; padding: 65px 0 58px; }
.footer-about img { width: 49px; height: 52px; margin-bottom: 20px; object-fit: contain; }
.site-footer h3, .site-footer h4 { margin: 0; color: #fff; font-size: 17px; font-weight: 400; }
.site-footer p, .site-footer li { color: #aaa; font-size: 13px; line-height: 1.9; }
.site-footer a { color: #fff; }
.footer-rule { width: 25px; height: 2px; margin: 18px 0 25px; background: var(--source-red); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .09); }
.footer-bottom-inner { display: flex; min-height: 58px; align-items: center; color: rgba(255, 255, 255, .42); font-size: 11px; }

.admin-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 14px; }
.admin-table th, .admin-table td { border: 1px solid #ddd; padding: 10px; text-align: left; vertical-align: top; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.admin-page { min-height: 100vh; background: #f5f5f5; }
.admin-shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 58px 0 80px; }
.admin-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 25px; }
.admin-toolbar h1 { margin: 0; color: #333; font-size: 32px; font-weight: 400; }
.admin-toolbar p { margin: 4px 0 0; color: #777; font-size: 14px; }
.admin-panel { overflow: hidden; background: #fff; box-shadow: 0 12px 35px rgba(0, 0, 0, .06); }
.admin-panel .admin-table { margin: 0; }
.admin-panel .admin-table th { background: #333; color: #fff; font-weight: 400; }
.admin-panel .admin-table a { color: var(--source-red); }
.admin-delete { border: 0; background: transparent; padding: 0; color: var(--source-red); cursor: pointer; }
.admin-form-panel { max-width: 820px; background: #fff; padding: 42px; box-shadow: 0 12px 35px rgba(0, 0, 0, .06); }
.login-page { display: grid; min-height: 100vh; place-items: center; background: linear-gradient(rgba(25, 25, 25, .4), rgba(25, 25, 25, .4)), url('images/hero-2.jpg') center/cover; padding: 24px; }
.login-card { width: min(100%, 410px); background: rgba(255, 255, 255, .97); padding: 42px 40px 36px; text-align: center; box-shadow: 0 18px 55px rgba(0, 0, 0, .25); }
.login-card img { width: 54px; height: 58px; margin: 0 auto 18px; object-fit: contain; }
.login-card h1 { margin: 0; color: #333; font-size: 26px; font-weight: 400; }
.login-card p { margin: 5px 0 24px; color: #888; font-size: 13px; }
.login-card .form { max-width: none; text-align: left; }
.login-card .button { width: 100%; justify-content: center; border-radius: 0; }
.login-error { margin: 0 0 18px; background: #fff0f0; padding: 10px 13px; color: #b30707; font-size: 13px; text-align: left; }

@media (max-width: 1080px) {
  .main-nav a { padding: 0 10px; font-size: 15px; }
  .original-service-layout { grid-template-columns: 310px minmax(0, 1fr); gap: 22px; }
  .service-lead { padding: 38px; }
  .source-news-grid h3 { font-size: 21px; }
  .clients { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .original-clients { min-height: 370px; }
  .topbar-inner { padding-left: 130px; }
  .main-nav { margin-left: 35px; }
}

@media (max-width: 820px) {
  .shell { width: min(calc(100% - 30px), 720px); }
  .topbar { display: none; }
  .site-header { height: 70px; }
  .nav-wrap { min-height: 70px; justify-content: space-between; gap: 15px; }
  .brand { align-self: auto; align-items: center; padding-top: 0; }
  .brand, .brand img { width: 49px; height: 52px; }
  .menu-toggle { display: block; }
  .main-nav { position: fixed; top: 70px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; margin-left: 0; background: #fff; box-shadow: 0 18px 35px rgba(0, 0, 0, .15); padding: 8px 22px 20px; }
  .main-nav.is-open { display: flex; }
  .main-nav a { min-height: auto; border-bottom: 1px solid #eee; padding: 13px 5px; font-size: 15px; }
  .main-nav a::after { display: none; }
  .language-switch { margin-left: auto; margin-right: 10px; }
  .hero { min-height: 420px; height: 420px; }
  .hero-content { padding: 0 45px; }
  .hero h1 { font-size: 26px; }
  .hero p { max-width: 560px; font-size: 16px; }
  .hero-arrow { width: 38px; }
  .original-section { padding: 62px 0; }
  .original-services { min-height: 0; }
  .original-service-layout { grid-template-columns: 1fr; }
  .service-lead { min-height: 0; }
  .service-items, .source-project-grid, .source-news-grid, .service-grid, .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .original-news { min-height: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .page-hero, .page-hero .shell { min-height: 300px; }
}

@media (max-width: 560px) {
  .shell { width: calc(100% - 28px); }
  .hero { min-height: 310px; height: 310px; }
  .hero-content { padding: 0 32px; }
  .hero h1 { font-size: 22px; }
  .hero p { font-size: 13px; line-height: 1.65; }
  .hero-arrow { font-size: 38px; }
  .original-section h2 { font-size: 27px; }
  .original-intro p { font-size: 14px; }
  .service-lead { padding: 32px 26px; }
  .service-items, .source-project-grid, .source-news-grid, .service-grid, .cards { grid-template-columns: 1fr; }
  .source-project-grid article { height: 235px; }
  .source-news-grid article { padding-right: 20px; padding-left: 20px; }
  .source-news-date { left: -4px; }
  .source-news-grid h3 { min-height: 0; font-size: 22px; }
  .clients { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .original-clients { min-height: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 55px; }
  .footer-about { grid-column: auto; }
  .footer-bottom-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: 4px; }
  .admin-shell { padding-top: 35px; }
  .admin-toolbar { align-items: flex-start; flex-direction: column; }
  .admin-panel { overflow-x: auto; }
  .admin-form-panel { padding: 28px 22px; }
  .page-hero, .page-hero .shell { min-height: 240px; }
  .page-hero h1 { font-size: 38px; }
  .page-hero .rule { width: 105px; }
}

/* Inner pages — matched to the source site's grid, scale and spacing. */
.is-filtered-out { display: none !important; }
.page-hero { min-height: 350px; background-position: center; background-size: cover; }
.page-hero-shade { position: absolute; inset: 0; background: rgba(0, 0, 0, .12); }
.page-hero-content { position: relative; z-index: 1; display: flex; min-height: 350px; flex-direction: column; align-items: flex-start; justify-content: center; }
.page-hero .rule { width: 150px; height: 4px; margin: 18px 0 8px; }
.section { padding: 80px 0; }
.section-soft { background: #f7f7f7; }
.source-page-heading { max-width: none; margin-bottom: 48px; }
.source-page-heading.compact { margin-bottom: 38px; }
.source-page-heading h2, .source-about-section h2, .executive-grid h2, .timeline + h2 { margin: 0; color: #4c4c4c; font-size: 32px; font-weight: 400; line-height: 1.2; }
.source-page-heading p { max-width: 1110px; margin: 0; color: #777; font-size: 15px; line-height: 1.85; }
.source-page-heading strong, .about-grid strong { color: var(--source-red); }
.source-more { display: inline-block; border-bottom: 1px solid var(--source-red); padding-bottom: 2px; color: var(--source-red); font-size: 13px; font-weight: 400; }

.service-page-section { min-height: 880px; background: #fff; }
.service-page-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 46px 34px; }
.service-page-grid .service-card { min-height: 185px; border: 0; background: transparent; padding: 0; }
.service-page-title { display: flex; align-items: center; gap: 15px; margin-bottom: 16px; }
.service-page-title > span { width: 42px; flex: 0 0 42px; color: var(--source-red); font: 400 42px/1 Arial, sans-serif; text-align: center; }
.service-page-title h3 { margin: 0; color: #555; font-size: 18px; font-weight: 400; line-height: 1.35; }
.service-page-grid p { display: -webkit-box; overflow: hidden; min-height: 74px; margin: 0 0 13px; color: #666; font-size: 14px; line-height: 1.75; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }

.portfolio-page-section { background: #fff; padding: 48px 0 95px; }
.source-listing-filters { display: flex; justify-content: center; gap: 28px; margin: 0 0 36px; }
.source-listing-filters button { position: relative; border: 0; background: transparent; padding: 8px 0 15px; color: #a20b0b; font-size: 17px; font-weight: 400; cursor: pointer; }
.source-listing-filters button::after { position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: var(--source-red); content: ""; transform: scaleX(0); }
.source-listing-filters button.is-active::after { transform: scaleX(1); }
.portfolio-source-listing { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 24px; }
.portfolio-source-image { display: block; overflow: hidden; background: #222; }
.portfolio-source-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s ease; }
.portfolio-source-image:hover img { transform: scale(1.035); }
.portfolio-source-copy { padding: 24px 4px 0; }
.portfolio-source-copy h2 { margin: 0 0 6px; color: #4c4c4c; font-size: 25px; font-weight: 400; line-height: 1.3; }
.portfolio-source-copy > span { color: var(--source-red); font: 500 11px/1 Roboto, sans-serif; letter-spacing: .05em; }
.portfolio-source-copy p { margin: 15px 0; color: #777; font-size: 13px; line-height: 1.75; }

.news-page-section { min-height: 1450px; background: #f7f7f7; padding: 95px 0; }
.news-page-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 14px; text-align: left; }
.news-page-card { background: #fff; }
.news-page-image { position: relative; display: block; overflow: hidden; }
.news-page-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s ease; }
.news-page-image > span { position: absolute; top: 0; left: 0; background: var(--source-red); padding: 7px 13px; color: #fff; font: 500 12px/1 Roboto, sans-serif; }
.news-page-card:hover .news-page-image img { transform: scale(1.035); }
.news-page-card > div { min-height: 255px; padding: 28px 30px 30px; }
.news-page-card h2 { margin: 0 0 15px; color: #4c4c4c; font-size: 24px; font-weight: 400; line-height: 1.45; }
.news-page-card p { display: -webkit-box; overflow: hidden; margin: 0 0 16px; color: #777; font-size: 14px; line-height: 1.75; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }

.career-page-section { min-height: 577px; background: #fff; padding: 48px 0 70px; }
.career-list-title { margin: 0 0 5px; color: #4c4c4c; font-size: 31px; font-weight: 400; }
.career-accordion { border-top: 1px solid #ddd; }
.career-accordion details { border-bottom: 1px solid #ddd; }
.career-accordion summary { position: relative; padding: 12px 28px 12px 20px; color: #777; font-size: 14px; cursor: pointer; list-style: none; }
.career-accordion summary::-webkit-details-marker { display: none; }
.career-accordion summary::before { position: absolute; left: 1px; color: #aaa; content: "›"; font-size: 20px; line-height: 1; transition: transform .2s ease; }
.career-accordion details[open] summary::before { transform: rotate(90deg); }
.career-accordion details > div { background: #fafafa; padding: 20px 25px 24px; color: #666; }
.career-accordion details p { margin: 0 0 10px; }
.career-accordion details a { color: var(--source-red); font-weight: 500; }

.contact-page-section { min-height: 680px; background: #fff; padding: 90px 0 70px; }
.source-contact-form { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; row-gap: 0; }
.source-contact-form label { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; color: inherit; font-size: inherit; }
.source-contact-form label span { color: #555; font-size: 14px; font-weight: 400; }
.source-contact-form input, .source-contact-form textarea { width: 100%; border: 0; border-bottom: 1px solid #ccc; outline: 0; background: transparent; padding: 8px 0 12px; color: #444; font-size: 15px; transition: border-color .2s ease; }
.source-contact-form input:focus, .source-contact-form textarea:focus { border-color: var(--source-red); }
.source-contact-form textarea { resize: vertical; }
.source-contact-form .full { grid-column: 1 / -1; }
.source-submit-button { justify-self: start; border: 1px solid var(--source-red); background: #fff; padding: 10px 22px; color: var(--source-red); font-size: 13px; cursor: pointer; }
.source-submit-button:hover { background: var(--source-red); color: #fff; }
.form-notice { padding: 12px 15px; background: #eef8ee; color: #28682f; }
.contact-map-section { position: relative; height: 500px; overflow: hidden; background: #e7e7e7; }
.contact-map-section iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.25); }
.contact-map-card { position: absolute; top: 50%; left: calc(50% + 175px); width: 390px; background: rgba(255, 255, 255, .96); padding: 38px; box-shadow: 0 18px 55px rgba(0, 0, 0, .18); transform: translateY(-50%); }
.contact-map-card h2 { margin: 0; color: #444; font-size: 24px; font-weight: 400; }
.contact-map-card p { color: #666; font-size: 14px; line-height: 1.75; }

.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; align-items: start; gap: 55px; }
.about-grid h2, .executive-grid h2 { font-size: 34px; font-weight: 400; }
.about-grid p, .executive-grid p { color: #666; font-size: 15px; line-height: 1.85; }
.about-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-gallery img { width: 100%; height: 150px; object-fit: cover; }
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.timeline article { border-top: 2px solid var(--source-red); padding-top: 20px; }
.timeline strong { color: var(--source-red); font-size: 24px; }
.timeline h3 { margin: 8px 0; font-size: 18px; font-weight: 400; }
.timeline p { margin: 0; color: #777; font-size: 14px; }
.executive-grid { display: grid; grid-template-columns: .85fr 1fr; align-items: center; gap: 65px; }
.executive-grid > img { width: 100%; max-height: 430px; object-fit: contain; object-position: center bottom; }
.center-heading { text-align: center; }
.trusted-logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.trusted-logos > div { display: flex; height: 120px; align-items: center; justify-content: center; border: 1px solid #eee; background: #fff; padding: 20px; }
.trusted-logos img { max-height: 62px; object-fit: contain; }

@media (max-width: 820px) {
  .page-hero, .page-hero-content { min-height: 300px; }
  .service-page-grid, .news-page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio-source-listing { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-grid, .executive-grid { grid-template-columns: 1fr; }
  .trusted-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-map-card { right: 28px; left: auto; }
}
@media (max-width: 560px) {
  .page-hero, .page-hero-content { min-height: 240px; }
  .source-page-heading h2, .career-list-title { font-size: 28px; }
  .service-page-grid, .portfolio-source-listing, .news-page-grid { grid-template-columns: 1fr; }
  .source-listing-filters { gap: 18px; overflow-x: auto; justify-content: flex-start; }
  .source-listing-filters button { font-size: 14px; white-space: nowrap; }
  .source-contact-form { grid-template-columns: 1fr; gap: 0; }
  .source-contact-form .full { grid-column: auto; }
  .contact-map-section { height: 610px; }
  .contact-map-section iframe { height: 340px; }
  .contact-map-card { top: auto; right: 14px; bottom: 14px; left: 14px; width: auto; transform: none; }
  .about-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
}

/* PHP CMS administration — dashboard and editors. */
.cms-body { min-width: 100%; background: #f3f7f8; color: #14344a; font-family: Prompt, Roboto, Arial, sans-serif; font-size: 14px; line-height: 1.45; }
.cms-app { display: flex; min-height: 100vh; }
.cms-sidebar { position: fixed; z-index: 10; top: 0; bottom: 0; left: 0; display: flex; width: 330px; flex-direction: column; background: #0f2b3b; color: #d9e7ee; }
.cms-brand { height: 112px; border-bottom: 1px solid rgba(255, 255, 255, .1); padding: 18px 38px; }
.cms-brand img { width: 156px; height: 56px; background: #fff; padding: 6px 48px; object-fit: contain; }
.cms-brand span { display: block; margin-top: 6px; color: #e4d6bd; font: 700 10px/1 Roboto, sans-serif; letter-spacing: .18em; }
.cms-nav { padding: 30px 20px; }
.admin-nav-link { display: flex; min-height: 62px; align-items: center; gap: 20px; border-left: 4px solid transparent; border-radius: 8px; padding: 0 15px; color: #dae8ee; font-size: 18px; font-weight: 400; transition: .18s; }
.admin-nav-link:hover, .admin-nav-link.is-active { border-left-color: #ff9717; background: #29475a; color: #fff; }
.admin-nav-icon { width: 17px; color: #6fd5e7; font: 400 22px/1 Arial, sans-serif; text-align: center; }
.admin-nav-link b { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; margin-left: auto; background: #315166; color: #eaf4f8; font: 400 13px/1 Roboto, sans-serif; }
.cms-nav-label { margin: 30px 18px 12px; color: #6e9caf; font: 700 10px/1 Roboto, sans-serif; letter-spacing: .16em; }
.cms-user { display: flex; align-items: center; gap: 14px; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: auto; padding: 24px 38px; }
.cms-avatar { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 50%; background: #10a9bd; color: #fff; font-size: 19px; font-weight: 700; }
.cms-user strong, .cms-user small { display: block; }
.cms-user strong { color: #fff; font-size: 14px; }
.cms-user small { margin-top: 4px; color: #78a3b5; font-size: 12px; }
.cms-workspace { width: calc(100% - 330px); margin-left: 330px; }
.cms-topbar { display: flex; min-height: 92px; align-items: center; justify-content: space-between; border-bottom: 1px solid #d8e1e5; background: #fff; padding: 0 52px 0 38px; }
.cms-topbar small, .cms-topbar strong { display: block; }
.cms-topbar small { margin-bottom: 6px; color: #99aebb; font-size: 11px; }
.cms-topbar strong { color: #103249; font-size: 21px; font-weight: 500; }
.cms-top-actions { display: flex; align-items: center; gap: 25px; }
.cms-top-actions a { color: #00a2b7; font-size: 13px; font-weight: 700; }
.cms-top-actions .cms-logout { color: #7a919e; font-weight: 400; }
.cms-status { border-left: 1px solid #dbe3e7; padding-left: 25px; color: #7793a2; font-size: 12px; }
.cms-status::first-letter { color: #20bb70; }
.cms-content { max-width: 1600px; margin: 0 auto; padding: 62px 60px 80px; }
.cms-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 36px; }
.cms-page-head > div > span, .cms-panel header > span { display: block; color: #029bb5; font: 700 10px/1 Roboto, sans-serif; letter-spacing: .16em; }
.cms-page-head h1 { margin: 15px 0 4px; color: #112f45; font-size: 39px; font-weight: 300; line-height: 1.1; }
.cms-page-head p { margin: 0; color: #91a7b2; font-size: 14px; }
.cms-primary-button, .cms-secondary-button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; border: 1px solid transparent; padding: 11px 21px; font-size: 13px; font-weight: 700; transition: .18s; }
.cms-primary-button { background: #ff8617; color: #fff; }
.cms-primary-button:hover { background: #e46f08; color: #fff; }
.cms-secondary-button { border-color: #d2dfe4; background: #fff; color: #53707f; }
.cms-secondary-button:hover { border-color: #00a2b7; color: #008ca3; }
.cms-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-bottom: 28px; }
.cms-stat-grid article { position: relative; min-height: 180px; overflow: hidden; border: 1px solid #d9e3e7; background: #fff; padding: 29px; }
.cms-stat-grid article::after { position: absolute; right: -25px; bottom: -40px; width: 116px; height: 116px; border: 16px solid #e7f6f8; border-radius: 50%; content: ""; }
.cms-stat-grid span, .cms-stat-grid small { position: relative; z-index: 1; display: block; color: #9aabb5; font-size: 13px; }
.cms-stat-grid strong { position: relative; z-index: 1; display: block; margin: 14px 0 8px; color: #102f45; font-size: 46px; font-weight: 500; line-height: 1; }
.cms-dashboard-grid { display: grid; grid-template-columns: minmax(0, 1fr) 375px; gap: 22px; }
.cms-panel { border: 1px solid #d9e3e7; background: #fff; }
.cms-panel > header { border-bottom: 1px solid #dce5e8; padding: 32px 29px 26px; }
.cms-panel > header h2 { margin: 12px 0 0; color: #14344a; font-size: 23px; font-weight: 400; line-height: 1.1; }
.cms-table-wrap { overflow-x: auto; }
.cms-table { width: 100%; min-width: 700px; border-collapse: collapse; font-size: 13px; }
.cms-table th { background: #f6f9fa; padding: 14px 26px; color: #a1b1ba; font-size: 11px; font-weight: 500; text-align: left; }
.cms-table td { border-top: 1px solid #e3eaed; padding: 14px 26px; color: #476172; vertical-align: middle; }
.cms-item-cell { display: flex; min-width: 210px; align-items: center; gap: 14px; }
.cms-item-cell img { width: 60px; height: 45px; background: #edf2f3; object-fit: cover; }
.cms-item-cell strong, .cms-item-cell small { display: block; }
.cms-item-cell strong { color: #0d466e; font-size: 14px; font-weight: 500; }
.cms-item-cell small, .cms-block-small { margin-top: 3px; color: #98a9b2; font-size: 11px; }
.cms-pill { display: inline-flex; min-height: 30px; align-items: center; border: 0; border-radius: 16px; padding: 4px 12px; font-size: 12px; white-space: nowrap; }
.cms-pill.is-published { background: #e5f7ed; color: #20a663; }
.cms-pill.is-draft { background: #f8f3e8; color: #bd8c23; }
.cms-pill.is-new { background: #e5f7ed; color: #0ea368; cursor: pointer; }
.cms-pill.is-read { background: #eef3f5; color: #78919d; }
.cms-outline-button { display: inline-flex; min-height: 33px; align-items: center; justify-content: center; border: 1px solid #d8e2e6; padding: 4px 12px; color: #5c7787; font-size: 12px; }
.cms-outline-button:hover { border-color: #00a3bb; color: #008da4; }
.cms-quick-list { padding: 0 28px; }
.cms-quick-list a { display: flex; min-height: 77px; align-items: center; gap: 16px; border-bottom: 1px solid #e2e9ec; color: #183d55; }
.cms-quick-list a:last-child { border-bottom: 0; }
.cms-quick-list i { display: grid; width: 40px; height: 40px; place-items: center; background: #eaf8f9; color: #009bb1; font: 400 17px/1 Arial, sans-serif; font-style: normal; }
.cms-quick-list span { flex: 1; }
.cms-quick-list strong, .cms-quick-list small { display: block; }
.cms-quick-list strong { font-size: 13px; font-weight: 500; }
.cms-quick-list small { margin-top: 3px; color: #a0afb7; font-size: 11px; }
.cms-quick-list b { color: #9bb0ba; font-size: 21px; font-weight: 300; }
.cms-list-panel { min-height: 270px; }
.cms-row-actions { display: flex; align-items: center; gap: 8px; }
.cms-row-actions form { margin: 0; }
.cms-row-actions button { min-height: 33px; border: 1px solid #eadbdd; background: #fff; padding: 4px 12px; color: #d66d71; font-size: 12px; cursor: pointer; }
.cms-empty { padding: 50px !important; color: #92a4ad !important; text-align: center; }
.cms-message-preview { display: -webkit-box; max-width: 320px; overflow: hidden; margin-top: 4px; color: #8ca0aa; font-size: 12px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.cms-editor-panel { display: grid; grid-template-columns: minmax(0, 1fr) 315px; align-items: start; gap: 22px; }
.cms-editor-main { padding-bottom: 36px; }
.cms-editor-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; padding: 32px 30px 0; }
.cms-editor-fields label { display: flex; flex-direction: column; gap: 7px; color: #5d7684; font-size: 13px; font-weight: 500; }
.cms-editor-fields input, .cms-editor-fields textarea, .cms-editor-fields select { width: 100%; border: 1px solid #d7e2e6; outline: none; background: #fff; padding: 11px 12px; color: #29485b; font: 400 14px/1.4 Prompt, sans-serif; }
.cms-editor-fields input:focus, .cms-editor-fields textarea:focus, .cms-editor-fields select:focus { border-color: #00a4ba; box-shadow: 0 0 0 3px rgba(0, 164, 186, .1); }
.cms-editor-fields textarea { resize: vertical; }
.cms-editor-fields small { color: #9aabb4; font-size: 11px; font-weight: 400; }
.cms-field-wide { grid-column: 1 / -1; }
.cms-editor-side { padding-bottom: 25px; }
.cms-editor-side p { margin: 20px 25px; color: #8197a2; font-size: 13px; line-height: 1.65; }
.cms-editor-side .cms-primary-button, .cms-editor-side .cms-secondary-button { width: calc(100% - 50px); margin: 0 25px 10px; }
.cms-full-button { margin-top: 0 !important; }

@media (max-width: 1180px) {
  .cms-sidebar { width: 260px; }
  .cms-workspace { width: calc(100% - 260px); margin-left: 260px; }
  .cms-brand { padding-right: 24px; padding-left: 24px; }
  .cms-brand img { width: 145px; }
  .cms-content { padding: 48px 35px; }
  .cms-dashboard-grid { grid-template-columns: 1fr; }
  .cms-quick-panel { max-width: none; }
}
@media (max-width: 820px) {
  .cms-sidebar { position: static; width: 100%; min-height: auto; }
  .cms-app { display: block; }
  .cms-brand { height: auto; padding: 14px 24px; }
  .cms-brand span { display: none; }
  .cms-nav { display: flex; overflow-x: auto; padding: 8px; gap: 4px; }
  .cms-nav-label, .cms-user { display: none; }
  .admin-nav-link { min-width: max-content; min-height: 45px; gap: 8px; border-left: 0; border-bottom: 3px solid transparent; border-radius: 5px; padding: 0 10px; font-size: 13px; }
  .admin-nav-link:hover, .admin-nav-link.is-active { border-bottom-color: #ff9717; border-left-color: transparent; }
  .admin-nav-link b { display: none; }
  .admin-nav-icon { font-size: 16px; }
  .cms-workspace { width: 100%; margin-left: 0; }
  .cms-topbar { min-height: 70px; padding: 0 20px; }
  .cms-top-actions .cms-status, .cms-top-actions .cms-logout { display: none; }
  .cms-content { padding: 36px 20px; }
  .cms-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cms-editor-panel { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .cms-page-head { align-items: flex-start; flex-direction: column; }
  .cms-page-head h1 { font-size: 31px; }
  .cms-stat-grid { grid-template-columns: 1fr; }
  .cms-stat-grid article { min-height: 135px; }
  .cms-editor-fields { grid-template-columns: 1fr; padding: 25px 18px 0; }
  .cms-field-wide { grid-column: auto; }
}
