/* ===== PT Moga Djaja — Static Site Styles ===== */

:root {
  --background: #ffffff;
  --foreground: #1a1f36;
  --card: #ffffff;
  --card-foreground: #1a1f36;
  --primary: #1f2a4a;
  --primary-foreground: #ffffff;
  --secondary: #f1f3f8;
  --secondary-foreground: #1f2a4a;
  --muted: #f4f5fa;
  --muted-foreground: #5a6477;
  --accent: #dc2626;
  --accent-foreground: #ffffff;
  --border: #e5e8ef;
  --input: #e5e8ef;
  --ring: #1f2a4a;
  --radius: 0.625rem;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, .08);
  --shadow-lg: 0 10px 30px rgba(15, 23, 42, .12);
  --shadow-xl: 0 20px 45px rgba(15, 23, 42, .15);
  --container: 80rem; /* 1280px max-w-7xl */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "DM Sans", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { border-color: var(--border); }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.02em; margin: 0; color: var(--primary); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* Layout */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }
.section { padding: 5rem 0; }
.section-sm { padding: 4rem 0; }
.bg-secondary { background: var(--secondary); }
.bg-primary { background: var(--primary); color: var(--primary-foreground); }
.bg-secondary-soft { background: rgba(241, 243, 248, .5); border-top: 1px solid var(--border); }
.text-on-primary, .text-on-primary h1, .text-on-primary h2, .text-on-primary h3 { color: var(--primary-foreground); }
.text-on-primary p { color: rgba(255,255,255,.8); }

.eyebrow { font-size: .875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.muted { color: var(--muted-foreground); }
.h1 { font-family: var(--font-display); font-weight: 700; font-size: 2.25rem; line-height: 1.15; color: var(--primary); }
.h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.875rem; line-height: 1.2; color: var(--primary); }
.h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; color: var(--primary); }
.lead { color: rgba(255,255,255,.8); max-width: 42rem; margin-top: 1.25rem; }
.pre-line { white-space: pre-line; }

@media (min-width: 640px) { .h1 { font-size: 3rem; } .h2 { font-size: 2.25rem; } }
@media (min-width: 1024px) { .h1 { font-size: 3.75rem; } }

/* Grid helpers */
.grid { display: grid; gap: 1.5rem; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .625rem 1.25rem; border-radius: .5rem; font-size: .875rem; font-weight: 600; border: 0; transition: all .2s; }
.btn-accent { background: var(--accent); color: var(--accent-foreground); box-shadow: 0 8px 20px rgba(220,38,38,.18); }
.btn-accent:hover { opacity: .9; box-shadow: 0 12px 28px rgba(220,38,38,.22); }
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { opacity: .9; }
.btn-outline { background: transparent; color: var(--primary); border: 1px solid var(--border); }
.btn-outline:hover { background: var(--secondary); }
.btn-pill { border-radius: 9999px; padding: .875rem 1.75rem; }
.btn-lg { padding: .875rem 1.5rem; font-size: 1rem; }

/* Card */
.card { background: var(--card); border: 1px solid var(--border); border-radius: .75rem; padding: 1.5rem; transition: box-shadow .2s, transform .2s, border-color .2s; }
.card:hover { box-shadow: var(--shadow-md); }
.ring { box-shadow: inset 0 0 0 1px var(--border); border-radius: 1rem; }

/* ===== HEADER (glass, fixed) ===== */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s, box-shadow .3s;
  border-bottom: 1px solid transparent;
}
.site-header.glass {
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(255,255,255,.3);
  box-shadow: var(--shadow-sm);
}
.site-header__inner {
  max-width: var(--container);
  margin: 0 auto; padding: 0 1rem;
  height: 4rem;
  display: flex; align-items: center; justify-content: space-between;
}
@media (min-width: 640px) { .site-header__inner { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .site-header__inner { padding: 0 2rem; } }
.site-header__logo img { height: 2.5rem; width: auto; object-fit: contain; }
.site-nav { display: none; position: relative; align-items: center; gap: 2rem; }
.site-nav a { position: relative; padding: .25rem 0; font-size: 1rem; font-weight: 500; color: rgba(26,31,54,.8); transition: color .2s; }
.site-nav a:hover { color: var(--primary); }
.site-nav a.active { color: var(--primary); }
.site-nav__indicator {
  position: absolute; bottom: -.25rem; height: 2px; border-radius: 9999px;
  background: var(--accent);
  transition: left .3s ease, width .3s ease, opacity .3s;
  pointer-events: none; opacity: 0;
}
.site-header__actions { display: none; align-items: center; gap: .75rem; }
.site-header__mobile { display: flex; align-items: center; gap: .5rem; }
.menu-toggle { background: transparent; border: 0; padding: .5rem; border-radius: .5rem; color: var(--primary); }
@media (min-width: 1024px) {
  .site-nav { display: flex; }
  .site-header__actions { display: flex; }
  .site-header__mobile { display: none; }
}

/* Lang switch */
.lang-switch { display: inline-flex; align-items: center; padding: 2px; border: 1px solid var(--border); border-radius: 9999px; background: rgba(255,255,255,.6); font-size: .75rem; font-weight: 600; }
.lang-switch a { padding: .25rem .625rem; border-radius: 9999px; color: var(--muted-foreground); transition: background .2s, color .2s; }
.lang-switch a.active { background: var(--primary); color: var(--primary-foreground); }

/* Mobile menu */
.mobile-menu { display: none; border-top: 1px solid var(--border); background: rgba(255,255,255,.9); backdrop-filter: blur(16px); }
.mobile-menu.open { display: block; }
.mobile-menu__inner { max-width: var(--container); margin: 0 auto; padding: 1rem; display: flex; flex-direction: column; gap: .25rem; }
.mobile-menu a { padding: .5rem .75rem; border-radius: .5rem; font-size: .875rem; font-weight: 500; color: rgba(26,31,54,.8); }
.mobile-menu a.active { background: var(--secondary); color: var(--primary); }
.mobile-menu a:hover { background: var(--secondary); }
.mobile-menu .btn { margin-top: .5rem; }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }

/* Body offset for non-home pages */
body.has-offset main { padding-top: 4rem; }

/* ===== Page fade-in ===== */
main > .page-anim {
  animation: fadeIn .5s ease-out;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ===== HERO (Home) ===== */
.hero { position: relative; overflow: hidden; background: var(--background); color: var(--primary); }
@media (min-width: 1024px) { .hero { height: 100vh; min-height: 640px; } }
.hero__video { position: absolute; inset: 0; }
.hero__video video { height: 100%; width: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; background: rgba(255,255,255,.55); backdrop-filter: blur(2px); }
.hero__gradient { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(255,255,255,.2), rgba(255,255,255,.3), rgba(255,255,255,.7)); }
.hero__radial { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 55%); }
.hero__content { position: relative; max-width: 56rem; margin: 0 auto; padding: 6rem 1rem; display: flex; flex-direction: column; align-items: center; text-align: center; }
@media (min-width: 1024px) { .hero__content { padding: 8rem 2rem; height: 100%; justify-content: center; } }
.hero__tag { display: inline-flex; align-items: center; gap: .5rem; padding: .25rem .75rem; border-radius: 9999px; background: rgba(220,38,38,.1); color: var(--accent); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.hero__tag::before { content: ""; width: 6px; height: 6px; border-radius: 9999px; background: var(--accent); }
.hero__title { margin-top: 1.5rem; font-family: var(--font-display); font-weight: 700; font-size: 2.25rem; line-height: 1.15; color: var(--primary); white-space: pre-line; }
@media (min-width: 640px) { .hero__title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero__title { font-size: 3.75rem; } }
.hero__sub { margin-top: 1.5rem; max-width: 42rem; font-size: 1rem; font-weight: 500; color: rgba(31,42,74,.75); }
@media (min-width: 640px) { .hero__sub { font-size: 1.125rem; } }
.hero__stat { margin-top: 2.5rem; display: inline-flex; align-items: center; gap: 1rem; padding: 1rem 1.5rem; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.7); border-radius: 1rem; box-shadow: var(--shadow-xl); backdrop-filter: blur(12px); }
.hero__stat-ico { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: .75rem; background: rgba(220,38,38,.1); color: var(--accent); }
.hero__stat-val { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--primary); line-height: 1; }
@media (min-width: 640px) { .hero__stat-val { font-size: 1.875rem; } }
.hero__stat-lbl { font-size: .75rem; color: var(--muted-foreground); margin-top: .25rem; }
@media (min-width: 640px) { .hero__stat-lbl { font-size: .875rem; } }

/* Page hero (non-home) */
.page-hero { background: var(--primary); color: var(--primary-foreground); padding: 5rem 0; }
.page-hero h1 { color: #fff; margin-top: .75rem; max-width: 48rem; font-family: var(--font-display); font-weight: 700; font-size: 2.25rem; line-height: 1.1; }
@media (min-width: 640px) { .page-hero h1 { font-size: 3rem; } }
.page-hero p { margin-top: 1.25rem; max-width: 42rem; color: rgba(255,255,255,.8); }
.page-hero .back-link { display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 600; color: rgba(255,255,255,.8); }
.page-hero .back-link:hover { color: var(--accent); }

/* About / image+text */
.split { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; align-items: center; } }
.split-5 { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .split-5 { grid-template-columns: 3fr 2fr; align-items: center; } }
.img-frame { overflow: hidden; border-radius: 1rem; box-shadow: inset 0 0 0 1px var(--border); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.img-frame.shadow { box-shadow: var(--shadow-xl), inset 0 0 0 1px var(--border); }

/* Feature/icon card */
.icon-card { border: 1px solid var(--border); background: var(--card); border-radius: .75rem; padding: 1.5rem; transition: box-shadow .2s; }
.icon-card:hover { box-shadow: var(--shadow-md); }
.icon-card .ico { width: 1.75rem; height: 1.75rem; color: var(--accent); }
.icon-card h3 { margin-top: 1rem; font-size: 1.125rem; font-weight: 600; }
.icon-card p { margin-top: .5rem; font-size: .875rem; color: var(--muted-foreground); }

/* Service card */
.service-card { border: 1px solid var(--border); background: var(--card); border-radius: .75rem; padding: 1.5rem; transition: box-shadow .2s; }
.service-card:hover { box-shadow: var(--shadow-md); }
.service-card .ico-wrap { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: .5rem; background: rgba(31,42,74,.05); color: var(--accent); transition: all .2s; }
.service-card:hover .ico-wrap { background: var(--accent); color: var(--accent-foreground); }
.service-card h3 { margin-top: 1.25rem; font-size: 1.125rem; font-weight: 600; }
.service-card p { margin-top: .5rem; font-size: .875rem; color: var(--muted-foreground); }

/* Partner brand card */
.partner-card { display: flex; flex-direction: column; overflow: hidden; background: var(--card); border-radius: 1rem; box-shadow: inset 0 0 0 1px var(--border); transition: all .25s; position: relative; }
.partner-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md), inset 0 0 0 1px rgba(220,38,38,.4); }
.partner-card__img { display: flex; aspect-ratio: 5/3; align-items: center; justify-content: center; overflow: hidden; background: var(--background); padding: 1.25rem; }
.partner-card__img img { max-height: 100%; max-width: 100%; object-fit: contain; transition: transform .2s; }
.partner-card:hover .partner-card__img img { transform: scale(1.05); }
.partner-card__footer { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .75rem 1rem; border-top: 1px solid var(--border); }
.partner-card__footer h3 { font-size: .875rem; font-weight: 700; color: var(--primary); }
.featured-badge { position: absolute; right: 1rem; top: 1rem; z-index: 10; padding: .25rem .625rem; border-radius: 9999px; background: var(--accent); color: var(--accent-foreground); font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

/* Home large partner card */
.partner-big { display: flex; flex-direction: column; overflow: hidden; background: var(--card); border-radius: 1rem; box-shadow: inset 0 0 0 1px var(--border); position: relative; transition: all .25s; }
.partner-big:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl), inset 0 0 0 1px rgba(220,38,38,.4); }
.partner-big__img { display: flex; aspect-ratio: 1/1; align-items: center; justify-content: center; overflow: hidden; background: var(--background); padding: 2rem; }
.partner-big__img img { max-height: 100%; max-width: 100%; object-fit: contain; transition: transform .2s; }
.partner-big:hover .partner-big__img img { transform: scale(1.05); }
.partner-big__footer { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: 1.25rem; border-top: 1px solid var(--border); }
.partner-big__footer h3 { font-size: 1.125rem; font-weight: 700; color: var(--primary); }

/* Coverage stat card */
.stat-card { display: flex; align-items: center; gap: 1.25rem; padding: 1.5rem; border: 1px solid var(--border); background: var(--card); border-radius: .75rem; transition: box-shadow .2s; }
.stat-card:hover { box-shadow: var(--shadow-md); }
.stat-card .ico { display: flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; border-radius: 9999px; background: rgba(220,38,38,.15); color: var(--accent); flex-shrink: 0; }
.stat-card .val { font-family: var(--font-display); font-size: 1.875rem; font-weight: 700; color: var(--primary); }
@media (min-width: 640px) { .stat-card .val { font-size: 2.25rem; } }
.stat-card .lbl { font-size: .875rem; color: var(--muted-foreground); margin-top: .25rem; }

/* Number block */
.num-block { border: 1px solid var(--border); background: var(--card); border-radius: .75rem; padding: 1.5rem; }
.num-block .n { font-family: var(--font-display); font-size: 2.25rem; font-weight: 700; color: var(--primary); }
.num-block .l { margin-top: .25rem; font-size: .875rem; color: var(--muted-foreground); }

/* CTA strip */
.cta-strip { background: var(--primary); color: var(--primary-foreground); }
.cta-strip__inner { max-width: var(--container); margin: 0 auto; padding: 3.5rem 1rem; display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
@media (min-width: 640px) { .cta-strip__inner { padding: 3.5rem 1.5rem; } }
@media (min-width: 1024px) { .cta-strip__inner { padding: 3.5rem 2rem; flex-direction: row; align-items: center; justify-content: space-between; } }
.cta-strip h2 { color: #fff; font-size: 1.5rem; font-weight: 700; }
@media (min-width: 640px) { .cta-strip h2 { font-size: 1.875rem; } }
.cta-strip p { margin-top: .5rem; color: rgba(255,255,255,.75); }

/* News carousel */
.news-carousel { position: relative; margin-top: 2.5rem; }
.news-track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: .5rem; }
.news-track::-webkit-scrollbar { display: none; }
.news-item { flex: 0 0 100%; scroll-snap-align: start; }
@media (min-width: 640px) { .news-item { flex-basis: calc((100% - 1rem) / 2); } }
@media (min-width: 1024px) { .news-item { flex-basis: calc((100% - 2rem) / 3); } }
@media (min-width: 1280px) { .news-item { flex-basis: calc((100% - 3rem) / 4); } }
.news-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--border); border-radius: .75rem; background: var(--card); transition: all .2s; }
.news-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: rgba(220,38,38,.4); }
.news-card__img { aspect-ratio: 16/9; width: 100%; overflow: hidden; background: var(--secondary); }
.news-card__img img { height: 100%; width: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .news-card__img img { transform: scale(1.05); }
.news-card__body { display: flex; flex: 1 1 auto; flex-direction: column; padding: 1.25rem; }
.news-card__meta { display: flex; align-items: center; justify-content: space-between; font-size: .75rem; }
.news-card__src { display: inline-flex; align-items: center; gap: .5rem; color: var(--accent); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.news-card__date { color: var(--muted-foreground); }
.news-card h3 { margin-top: .75rem; font-size: .875rem; font-weight: 600; line-height: 1.35; color: var(--primary); }
.news-card__excerpt { margin-top: .5rem; font-size: .75rem; color: var(--muted-foreground); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card__cta { margin-top: 1rem; display: inline-flex; align-items: center; gap: .375rem; font-size: .75rem; font-weight: 600; color: var(--accent); }
.news-nav { position: absolute; top: 50%; transform: translateY(-50%); display: none; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 9999px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-md); color: var(--primary); }
@media (min-width: 640px) { .news-nav { display: inline-flex; } }
.news-nav:hover { background: var(--secondary); }
.news-nav.prev { left: -1.25rem; }
.news-nav.next { right: -1.25rem; }

/* Partnership info grid (mitra index) */
.partnership-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; margin-top: 2.5rem; }
@media (min-width: 1024px) { .partnership-grid { grid-template-columns: 1fr 1fr; } }
.partnership-img { overflow: hidden; border: 1px solid var(--border); background: var(--card); border-radius: 1rem; aspect-ratio: 4/3; }
.partnership-img img { width: 100%; height: 100%; object-fit: cover; }
.partnership-card { border: 1px solid var(--border); background: var(--card); border-radius: 1rem; padding: 1.5rem; }
@media (min-width: 640px) { .partnership-card { padding: 2rem; } }
.partnership-card__head { display: flex; align-items: center; gap: .75rem; }
.partnership-card__ico { display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: .5rem; background: rgba(31,42,74,.05); color: var(--accent); }
.partnership-card h3 { font-size: 1.25rem; font-weight: 700; }
@media (min-width: 640px) { .partnership-card h3 { font-size: 1.5rem; } }
.partnership-card p { margin-top: 1rem; font-size: .875rem; line-height: 1.6; color: var(--muted-foreground); }
@media (min-width: 640px) { .partnership-card p { font-size: 1rem; } }
.order-brand-card { order: 3; }
.order-brand-img { order: 4; }
@media (min-width: 1024px) { .order-brand-card { order: 0; } .order-brand-img { order: 0; } }

/* Application cards (partnership / contact bottom) */
.apply-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; margin-top: 3rem; }
@media (min-width: 1024px) { .apply-grid { grid-template-columns: 1fr 1fr; } }
.apply-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--border); background: var(--card); border-radius: 1rem; padding: 2rem; transition: all .3s; }
.apply-card:hover { transform: translateY(-4px); border-color: rgba(220,38,38,.4); box-shadow: var(--shadow-xl); }
.apply-card__head { display: flex; align-items: center; gap: .75rem; }
.apply-card__ico { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: .75rem; background: rgba(31,42,74,.05); color: var(--accent); transition: all .2s; }
.apply-card:hover .apply-card__ico { background: var(--accent); color: var(--accent-foreground); }
.apply-card__tag { padding: .25rem .75rem; border-radius: 9999px; background: var(--secondary); color: var(--primary); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.apply-card h3 { margin-top: 1.5rem; font-size: 1.5rem; font-weight: 700; }
.apply-card p { margin-top: .75rem; font-size: .875rem; line-height: 1.6; color: var(--muted-foreground); }
.apply-card ul.bullets { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .625rem; }
.apply-card ul.bullets li { display: flex; align-items: flex-start; gap: .625rem; font-size: .875rem; color: var(--foreground); }
.apply-card ul.bullets svg { width: 1rem; height: 1rem; color: var(--accent); flex-shrink: 0; margin-top: .15rem; }
.apply-card .btn { margin-top: 2rem; align-self: flex-start; }

/* Career */
.career-split { display: grid; gap: 3rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1024px) { .career-split { grid-template-columns: 5fr 7fr; } }
.career-img-frame { max-width: 22rem; margin: 0 auto; overflow: hidden; border-radius: 1rem; box-shadow: inset 0 0 0 1px var(--border); }
.career-img-frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.benefit-grid { margin-top: 2rem; display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .benefit-grid { grid-template-columns: 1fr 1fr; } }
.benefit-card { padding: 1.25rem; border: 1px solid var(--border); background: var(--card); border-radius: .75rem; transition: box-shadow .2s; }
.benefit-card:hover { box-shadow: var(--shadow-md); }
.benefit-card .ico { width: 1.5rem; height: 1.5rem; color: var(--accent); }
.benefit-card h3 { margin-top: .75rem; font-size: 1rem; font-weight: 600; }
.benefit-card p { margin-top: .375rem; font-size: .875rem; color: var(--muted-foreground); }

.job-grid { margin-top: 2.5rem; display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .job-grid { grid-template-columns: 1fr 1fr; } }
.job-card { cursor: pointer; padding: 1.5rem; background: var(--card); border-radius: .75rem; box-shadow: inset 0 0 0 1px var(--border); transition: box-shadow .2s; }
.job-card:hover { box-shadow: var(--shadow-md), inset 0 0 0 1px var(--border); }
.job-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.job-card__top h3 { font-size: 1.25rem; font-weight: 600; color: var(--primary); }
.job-card__meta { margin-top: .5rem; display: flex; flex-wrap: wrap; gap: 1rem; font-size: .75rem; color: var(--muted-foreground); }
.job-card__meta span { display: inline-flex; align-items: center; gap: .25rem; }
.job-card__meta svg { width: .875rem; height: .875rem; color: var(--accent); }
.job-card .ico-suit { width: 1.5rem; height: 1.5rem; color: var(--accent); }
.job-card p.desc { margin-top: 1rem; font-size: .875rem; color: var(--muted-foreground); }
.job-card__actions { margin-top: 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.btn-link { background: transparent; border: 0; color: var(--primary); font-size: .875rem; font-weight: 600; padding: 0; }
.btn-link:hover { color: var(--accent); }

/* Dialog */
.dialog-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 100; display: none; align-items: center; justify-content: center; padding: 1rem; animation: fadeIn .2s; }
.dialog-backdrop.open { display: flex; }
.dialog-panel { background: #fff; border-radius: .75rem; max-width: 32rem; width: 100%; padding: 1.5rem; box-shadow: var(--shadow-xl); animation: dialogIn .2s; max-height: 90vh; overflow-y: auto; }
@keyframes dialogIn { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: scale(1); } }
.dialog-panel h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.dialog-panel .meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .75rem; color: var(--muted-foreground); margin-top: .5rem; }
.dialog-panel .meta span { display: inline-flex; align-items: center; gap: .25rem; }
.dialog-panel .meta svg { width: .875rem; height: .875rem; color: var(--accent); }
.dialog-panel h4 { margin-top: 1rem; font-size: .875rem; font-weight: 600; color: var(--primary); }
.dialog-panel ul.quals { margin-top: .5rem; padding-left: 1.25rem; list-style: disc; display: flex; flex-direction: column; gap: .375rem; font-size: .875rem; color: rgba(26,31,54,.85); }
.dialog-panel ul.quals::marker { color: var(--accent); }
.dialog-panel ul.quals li::marker { color: var(--accent); }
.dialog-panel .footer { margin-top: 1.5rem; display: flex; justify-content: flex-end; gap: .5rem; }

/* Apply form */
.form-wrap { max-width: 48rem; margin: 0 auto; }
.form-card { border: 1px solid var(--border); background: var(--card); border-radius: 1rem; padding: 2rem; box-shadow: var(--shadow-sm); }
@media (min-width: 640px) { .form-card { padding: 2.5rem; } }
.form-grid { margin-top: 2rem; display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .875rem; font-weight: 500; color: var(--foreground); }
.field label .req { color: var(--accent); }
.field input, .field textarea {
  margin-top: .375rem; width: 100%; padding: .5rem .75rem;
  border: 1px solid var(--input); border-radius: .375rem;
  background: var(--background); font-size: .875rem; font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(31,42,74,.15); }
.field textarea { resize: vertical; min-height: 7rem; }
.alert {
  border-radius: .75rem; border: 1px solid rgba(220,38,38,.3);
  border-left: 4px solid var(--accent); background: rgba(220,38,38,.05);
  padding: 1rem 1.25rem;
}
.alert .alert-title { font-size: .875rem; font-weight: 600; color: var(--primary); margin-bottom: .5rem; }
.alert ol { margin: 0; padding-left: 1.25rem; list-style: decimal; display: flex; flex-direction: column; gap: .375rem; font-size: .875rem; color: rgba(26,31,54,.85); }
.alert ol li::marker { color: var(--accent); font-weight: 600; }

/* Contact cards */
.contact-grid { margin-top: 2.5rem; display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: repeat(4, 1fr); } }
.contact-card { display: flex; flex-direction: column; padding: 1rem; border: 1px solid var(--border); background: var(--card); border-radius: .75rem; transition: all .2s; }
.contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: rgba(220,38,38,.4); }
.contact-card__head { display: flex; align-items: center; gap: .625rem; }
.contact-card__ico { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: .375rem; background: rgba(31,42,74,.05); color: var(--accent); flex-shrink: 0; transition: all .2s; }
.contact-card:hover .contact-card__ico { background: var(--accent); color: var(--accent-foreground); }
.contact-card h3 { font-size: .875rem; font-weight: 700; color: var(--primary); }
.contact-card .val { margin-top: .625rem; white-space: pre-line; font-size: .75rem; line-height: 1.6; color: var(--muted-foreground); }
.contact-card .spacer { flex: 1; }
.contact-card .cta { margin-top: .75rem; display: inline-flex; width: 100%; align-items: center; justify-content: center; gap: .375rem; padding: .375rem .75rem; border-radius: .375rem; background: var(--accent); color: var(--accent-foreground); font-size: .75rem; font-weight: 600; border: 0; transition: opacity .2s; }
.contact-card .cta:hover { opacity: .9; }
.contact-card .cta svg { width: .875rem; height: .875rem; }
.contact-card .secondary { margin-top: .5rem; display: inline-flex; width: 100%; align-items: center; justify-content: center; gap: .375rem; padding: .375rem .75rem; border: 1px solid var(--border); background: var(--background); border-radius: .375rem; color: var(--primary); font-size: .75rem; font-weight: 600; }
.contact-card .secondary:hover { background: var(--secondary); }
.contact-card .secondary svg { width: .875rem; height: .875rem; }
@media (min-width: 640px) { .contact-card .secondary.mobile-only { display: none; } }

.address-card { margin-top: 1.5rem; overflow: hidden; border: 1px solid var(--border); background: var(--card); border-radius: 1rem; }
.address-card__grid { display: grid; gap: 0; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .address-card__grid { grid-template-columns: 2fr 3fr; } }
.address-card__info { display: flex; flex-direction: column; justify-content: space-between; padding: 1.5rem; }
@media (min-width: 640px) { .address-card__info { padding: 2rem; } }
.address-card__info p { margin-top: 1rem; white-space: pre-line; font-size: .875rem; line-height: 1.7; color: var(--muted-foreground); }
.address-card__map { min-height: 18rem; }
.address-card__map iframe { width: 100%; height: 100%; min-height: 18rem; border: 0; }

/* Partner detail */
.partner-hero { display: grid; gap: 2rem; margin-top: 2rem; align-items: center; }
@media (min-width: 1024px) { .partner-hero { grid-template-columns: 200px 1fr; } }
.partner-hero__logo { display: flex; aspect-ratio: 1/1; align-items: center; justify-content: center; padding: 1.5rem; border-radius: 1rem; background: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.partner-hero__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.partner-hero h1 { margin-top: .75rem; font-family: var(--font-display); font-weight: 700; font-size: 2.25rem; color: #fff; }
@media (min-width: 640px) { .partner-hero h1 { font-size: 3rem; } }
.partner-hero .tagline { margin-top: .75rem; font-family: var(--font-display); font-size: 1.125rem; font-style: italic; color: var(--accent); }
.featured-pill { display: inline-flex; align-items: center; gap: .5rem; padding: .25rem .75rem; border-radius: 9999px; background: var(--accent); color: var(--accent-foreground); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

.partner-detail-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .partner-detail-grid { grid-template-columns: 2fr 1fr; } }
.partner-desc { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.25rem; color: var(--muted-foreground); }
.partner-note { margin-top: 1.5rem; padding: 1rem; border-left: 4px solid var(--accent); background: var(--secondary); border-radius: .5rem; font-size: .875rem; font-style: italic; color: var(--muted-foreground); }
.others-list { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.others-list a { display: flex; align-items: center; gap: .75rem; padding: .75rem; border: 1px solid var(--border); border-radius: .5rem; transition: background .15s, border-color .15s; }
.others-list a:hover { background: var(--secondary); border-color: var(--accent); }
.others-list img { width: 2.5rem; height: 2.5rem; object-fit: contain; }
.others-list span { font-weight: 600; color: var(--primary); }

.product-grid { margin-top: 1.5rem; display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }
.product-card { overflow: hidden; background: var(--card); border-radius: .5rem; box-shadow: inset 0 0 0 1px var(--border); }
.product-card__img { aspect-ratio: 4/3; overflow: hidden; }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; }
.product-card__body { padding: 1rem; }
.product-card h3 { font-size: .875rem; font-weight: 700; color: var(--primary); }
.product-card p { margin-top: .375rem; font-size: .75rem; line-height: 1.55; color: var(--muted-foreground); }

.awards-grid { margin-top: 1.5rem; display: grid; gap: .75rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .awards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .awards-grid { grid-template-columns: repeat(3, 1fr); } }
.award-card { display: flex; align-items: flex-start; gap: .75rem; padding: 1rem; background: var(--card); border-radius: .5rem; box-shadow: inset 0 0 0 1px var(--border); transition: box-shadow .2s; }
.award-card:hover { box-shadow: var(--shadow-md); }
.award-card__ico { display: flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: .375rem; background: rgba(220,38,38,.1); color: var(--accent); flex-shrink: 0; }
.award-card h3 { font-size: .875rem; font-weight: 600; color: var(--primary); }
.award-card .org { margin-top: .15rem; font-size: .75rem; color: var(--muted-foreground); }

/* Service steps */
.steps-grid { margin-top: 2.5rem; display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
.step-card { padding: 1.5rem; background: var(--card); border-radius: .75rem; box-shadow: inset 0 0 0 1px var(--border); }
.step-card .n { font-family: var(--font-display); font-size: 1.875rem; font-weight: 700; color: var(--accent); }
.step-card h3 { margin-top: .75rem; font-size: 1.125rem; font-weight: 600; }
.step-card p { margin-top: .5rem; font-size: .875rem; color: var(--muted-foreground); }

/* Footer */
.site-footer { background: var(--primary); color: var(--primary-foreground); border-top: 1px solid var(--border); }
.site-footer__main { max-width: var(--container); margin: 0 auto; padding: 3.5rem 1rem; display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .site-footer__main { padding: 3.5rem 1.5rem; } }
@media (min-width: 1024px) { .site-footer__main { padding: 3.5rem 2rem; grid-template-columns: 2fr 1fr 1fr; } }
.site-footer__logo { display: inline-flex; align-items: center; background: #fff; padding: .5rem .75rem; border-radius: .375rem; }
.site-footer__logo img { height: 2.5rem; width: auto; object-fit: contain; }
.site-footer__tagline { margin-top: 1rem; max-width: 28rem; font-size: .875rem; color: rgba(255,255,255,.75); }
.site-footer h3 { font-family: var(--font-display); font-size: .875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.site-footer ul { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; font-size: .875rem; color: rgba(255,255,255,.75); }
.site-footer ul a:hover { color: var(--accent); }
.site-footer ul.contact-list li { display: flex; gap: .5rem; }
.site-footer ul.contact-list li svg { width: 1rem; height: 1rem; color: var(--accent); flex-shrink: 0; margin-top: .15rem; }
.site-footer ul.contact-list span { white-space: pre-line; }
.site-footer__bar { border-top: 1px solid rgba(255,255,255,.1); }
.site-footer__bar div { max-width: var(--container); margin: 0 auto; padding: 1.25rem 1rem; font-size: .75rem; color: rgba(255,255,255,.6); }
@media (min-width: 640px) { .site-footer__bar div { padding: 1.25rem 1.5rem; } }
@media (min-width: 1024px) { .site-footer__bar div { padding: 1.25rem 2rem; } }

/* Misc */
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.mt-8 { margin-top: 2rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-2 { margin-top: .5rem; }
.mt-3 { margin-top: .75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.section-head { max-width: 42rem; }
.section-head h2 { margin-top: .5rem; }

/* Toast */
.toast { position: fixed; bottom: 1rem; right: 1rem; max-width: 24rem; background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: .5rem; box-shadow: var(--shadow-lg); padding: 1rem; z-index: 200; animation: slideUp .25s; }
.toast .t-title { font-size: .875rem; font-weight: 600; color: var(--primary); }
.toast .t-desc { margin-top: .25rem; font-size: .75rem; color: var(--muted-foreground); }
@keyframes slideUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Utility for inline icons */
svg.ico-i { display: inline-block; vertical-align: middle; }
