/* ===================================
   YOURBRAND — Custom Stylesheet
   =================================== */

:root {
  --color-brand:    #c0392b;
  --color-brand-light: #e74c3c;
  --color-gold:     #F1C40F;
  --color-dark:     #1a1a1a;
  --color-company:  #262626;
  --color-zinc:     #3f3f46;
  --color-border:   #e5e7eb;
  --max-w:          1200px;
}

/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  color: #111;
}

img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; margin: 0; padding: 0; }

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ===================================
   HEADER
   =================================== */
.header {
  position: relative;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  height: 80px;
  display: flex;
  align-items: center;
  z-index: 100;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.logo a {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #111;
}

/* Desktop Nav */
.desktop-nav {
  display: none;
}
@media (min-width: 1024px) {
  .desktop-nav { display: flex; align-items: center; gap: 0; }
}

.desktop-nav li a {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #374151;
  padding: 8px 16px;
  transition: color .2s;
}
.desktop-nav li a:hover { color: var(--color-brand); }

/* Right controls */
.header__right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* Locale / flags */
.locale-picker {
  display: none;
  gap: 10px;
}
@media (min-width: 768px) { .locale-picker { display: flex; } }

.locale-link       { opacity: .45; transition: opacity .2s; }
.locale-link:hover { opacity: 1; }
.locale-link.active{ opacity: 1; }

.locale-link svg { width: 22px; height: auto; display: block; }

/* Search icon */
.search-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #374151;
  display: flex;
  align-items: center;
}
.search-toggle:hover { color: var(--color-brand); }

/* Search dropdown */
.search-dropdown {
  position: absolute;
  top: calc(100% + 1px);
  right: 0;
  width: min(520px, 90vw);
  background: #fff;
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-brand);
  box-shadow: 0 12px 40px rgba(0,0,0,.1);
  z-index: 200;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  gap: 10px;
}

.search-input-wrap svg { color: #9ca3af; flex-shrink: 0; }

.search-input-wrap input {
  flex: 1;
  border: none;
  outline: none;
  font-family: 'Montserrat', sans-serif;
  font-size: .85rem;
  color: #111;
  background: transparent;
}
.search-input-wrap input::placeholder { color: #d1d5db; }

.search-no-results {
  padding: 12px 16px;
  font-size: .8rem;
  color: #9ca3af;
}

/* Mobile hamburger */
.mobile-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: #111;
}
@media (min-width: 1024px) { .mobile-toggle { display: none; } }

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
}

.mobile-drawer ul { text-align: center; }
.mobile-drawer li { padding: 14px 0; }
.mobile-drawer li a {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #111;
  transition: color .2s;
}
.mobile-drawer li a:hover { color: var(--color-brand); }

.mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: #111;
}

/* ===================================
   FLYOUT MENU
   =================================== */
.flyout {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  border-top: 3px solid var(--color-brand);
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
  z-index: 90;
  padding: 48px 0;
}

.flyout__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.flyout__item-icon {
  width: 48px; height: 48px;
  background: #f3f4f6;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.flyout__item-icon svg { color: #4b5563; }

.flyout__item h2 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin: 8px 0 16px;
}

.flyout__item a.go-link {
  font-size: .8rem;
  font-weight: 700;
  color: var(--color-brand);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap .2s;
}
.flyout__item a.go-link:hover { gap: 10px; }

/* ===================================
   HERO VIDEO / IMAGE
   =================================== */
.hero {
  height: calc(100vh - 80px);
}

.hero video,
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===================================
   PAGE HERO SLIDER  (company.html)
   =================================== */
.page-hero {
  position: relative;
  height: 520px;
  overflow: hidden;
}
@media (max-width: 768px) { .page-hero { height: 340px; } }

.page-hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}
.page-hero__slide.active { opacity: 1; }

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,.75) 100%);
  z-index: 1;
}

.page-hero__content {
  position: absolute;
  bottom: 56px;
  left: 0;
  right: 0;
  z-index: 2;
}

.page-hero__title {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -.01em;
  transform: translateY(40px);
}

.page-hero__eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--color-brand-light);
  margin: 0 0 12px;
}


/* ===================================
   INTRO TEXT
   =================================== */
.intro {
  background: var(--color-company);
  color: #fff;
  padding: 60px 0;
  text-align: left;
}

.intro p {
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  font-weight: 300;
  line-height: 1.7;
  text-align: justify;
  max-width: min(1200px, 100%);
  margin: 0 auto;
}

/* ===================================
   STATS STRIP  (company.html)
   =================================== */
.stats-strip {
  background: #1a1a1a;
  color: #fff;
  padding: 48px 0;
}

.stats-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 768px) {
  .stats-strip__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .stats-strip__grid { grid-template-columns: 1fr; }
}

.stat__num {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.02em;
}

.stat__label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .82;
  margin-top: 8px;
}

/* ===================================
   SECTION HELPERS
   =================================== */
.section-light {
  background: #f9fafb;
  padding: 80px 0;
}

.section-dark {
  background: var(--color-company);
  color: #fff;
  padding: 80px 0;
}

.section-white {
  background: #fff;
  padding: 80px 0;
}

.section-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin: 0 0 12px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 20px;
}

.section-body {
  font-size: .95rem;
  line-height: 1.75;
  color: #4b5563;
}

.section-dark .section-body { color: #d1d5db; }

/* ===================================
   SPLIT LAYOUT  (company.html)
   =================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse > *:first-child { order: 2; }
  .split--reverse > *:last-child  { order: 1; }
}

/* ===================================
   PHILOSOPHY CARDS  (company.html)
   =================================== */
.philo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 768px) { .philo-grid { grid-template-columns: 1fr; } }

.philo-card {
  background: transparent;   /* hapus background putih */
  border: none;               /* hapus border */
  border-top: 3px solid var(--color-brand); /* ganti dengan top accent */
  padding: 36px 32px;
  transition: none;
}
.philo-card:hover { box-shadow: none; }

.philo-card__icon {
  width: 48px; height: 48px;
  background: #fee2e2;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.philo-card__icon svg { color: var(--color-brand); }

.philo-card h3 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin: 0 0 14px;
}

.philo-card p {
  font-size: .9rem;
  line-height: 1.75;
  color: #4b5563;
  margin: 0;
}

/* ===================================
   TIMELINE  (company.html)
   =================================== */

/* GANTI semua .timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 32px;
  padding-left: 0;        /* hapus indent */
  border-left: none;      /* hapus garis vertikal */
}

.timeline__item {
  position: relative;
  padding: 0;             /* hapus padding-left */
}
.timeline__item::before { display: none; } /* hapus dot */

.timeline__year {
  font-size: 1.1rem;      /* lebih besar */
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
}

.timeline__item:last-child { padding-bottom: 0; }

.timeline__text {
  font-size: .875rem;
  line-height: 1.65;
  color: #d1d5db;
  margin: 0;
}

/* ===================================
   IMAGE SLIDER (history / safety)
   =================================== */
.img-slider {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.img-slider__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .9s ease;
}
.img-slider__slide.active { opacity: 1; }

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 36px; height: 36px;
  background: rgba(0,0,0,.45);
  border: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: background .2s;
}
.slider-arrow:hover { background: var(--color-brand); }
.slider-arrow--prev { left: 12px; }
.slider-arrow--next { right: 12px; }

.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}

.slider-dot {
  width: 7px; height: 7px;
  background: rgba(255,255,255,.45);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}
.slider-dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* ===================================
   FEATURE LIST  (job safety)
   =================================== */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 28px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-item__icon {
  width: 34px; height: 34px;
  flex-shrink: 0;
  background: #fee2e2;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.feature-item__icon svg { color: var(--color-brand); }

.feature-item p {
  font-size: .875rem;
  line-height: 1.6;
  color: #374151;
  margin: 0;
  padding-top: 6px;
}

/* ===================================
   APPLICATION FIELDS
   =================================== */
.fields {
  position: relative;
  min-height: 600px;
  padding: 60px 0;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image .8s ease;
}

.fields::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,.55));
  z-index: 0;
}

.fields .container { position: relative; z-index: 1; width: 100%; }

.fields__header   { margin-bottom: 40px; }
.fields__title    { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; color: #fff; margin: 0 0 16px; transform: translateY(-20px);}
.fields__desc     { font-size: clamp(.9rem, 1.8vw, 1.15rem); font-weight: 300; color: #fff; line-height: 1.6; max-width: 700px; text-align: justify; }

.fields__cards {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.field-card {
  width: 160px;
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .field-card { width: 100%; }
}

.field-card__inner {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: background .25s, transform .2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px;
  gap: 8px;
}
.field-card__inner:hover {
  background: var(--color-brand);
  transform: translateY(-3px);
}
.field-card__inner:hover h3 { color: #fff; }

.field-card__img {
  width: 48px; height: 48px;
  border-radius: 6px;
  object-fit: cover;
}

.field-card__inner h3 {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #111;
  margin: 0;
  transition: color .25s;
}

/* ===================================
   SERVICES
   =================================== */
.services {
  background: var(--color-company);
  color: #fff;
  padding: 80px 0;
}

.services__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width:768px){
  .services__inner{
    grid-template-columns:1fr;
    gap:40px;
  }
}

.services__title{
  font-size:2.2rem;
  font-weight:800;
  margin:0 0 20px;
}

.services__desc{
  font-size:1rem;
  line-height:1.7;
  text-align:justify;
}

/* ===== Button ===== */

.cta{
  display:inline-block;
  padding:.7rem 1.4rem;
  font-size:.7rem;
  font-weight:700;
  letter-spacing:.09em;
  text-transform:uppercase;
  border:2px solid;
  transition:.3s;
  margin-top:30px;
}

.cta--hollow{
  color:#fff;
  border-color:#fff;
}

.cta--hollow:hover{
  background:#fff;
  color:#111;
}

/* ===== Services List ===== */
.services__list{
    list-style:none;
    margin:0;
    padding:0;

    display:flex;
    flex-direction:column;
}

.service-item{

    display:grid;
    grid-template-columns:72px 1fr;
    gap:22px;

    align-items:start;

    padding:28px 0;

    border-bottom:1px solid rgba(255,255,255,.15);
}

.service-item:last-child{
    border-bottom:none;
}

.service-item__icon{

    width:64px;
    height:64px;

    border-radius:50%;
    background:#fff;

    display:flex;
    justify-content:center;
    align-items:center;
}

.service-item__icon img{
    width:36px;
    height:36px;
    object-fit:contain;
}

.service-item__content{
    display:flex;
    flex-direction:column;
}

.service-item h3{

    margin:0;

    font-size:1.45rem;
    font-weight:700;

    color:#fff;

    line-height:1.2;
}

.service-item small{

    display:block;

    margin-top:10px;

    font-size:1rem;

    line-height:1.8;

    color:rgba(255,255,255,.82);
}

@media (max-width:768px){

  .service-item__icon{
    width:52px;
    height:52px;
    min-width:52px;
  }

  .service-item__icon img{
    width:28px;
    height:28px;
  }

  .service-item h3{
    font-size:.95rem;
  }

  .service-item small{
    font-size:.85rem;
  }

}

/* ===================================
   FULL WIDTH IMAGE
   =================================== */
.full-img { line-height: 0; }
.full-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* ===================================
   NEWS FEED
   =================================== */
.news-feed {
  background: var(--color-company);
  color: #fff;
  padding: 80px 0;
}

.news-feed__title {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 40px;
}

.news-feed__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) {
  .news-feed__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .news-feed__grid { grid-template-columns: 1fr; }
}

.news-card a { display: block; }

.news-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 14px;
  transition: transform .3s;
}
.news-card:hover .news-card__img { transform: scale(1.03); }

.news-card__tag {
  font-size: .75rem;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.news-card h2 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  transition: color .2s;
}
.news-card:hover h2 { color: var(--color-gold); }

/* ===================================
   NEWSLETTER
   =================================== */
.newsletter {
  background: var(--color-zinc);
  padding: 72px 0;
  color: #fff;
}

.newsletter__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 768px) { .newsletter__inner { grid-template-columns: 1fr; } }

.newsletter h2   { font-size: 2rem; font-weight: 800; margin: 0 0 8px; }
.newsletter p    { color: #d1d5db; margin: 0; }

.newsletter__form { display: flex; flex-direction: column; gap: 12px; }

.newsletter__form input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #52525b;
  border-radius: 10px;
  background: #fff;
  color: #111;
  font-family: 'Montserrat', sans-serif;
  font-size: .9rem;
  transition: border-color .2s;
}
.newsletter__form input[type="email"]:focus {
  outline: none;
  border-color: var(--color-brand);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .8rem;
  color: #d1d5db;
}
.checkbox-row a { text-decoration: underline; color: #d1d5db; }
.checkbox-row a:hover { color: #fff; }

.newsletter__form input[type="checkbox"] { margin-top: 2px; accent-color: var(--color-brand); }

.btn-subscribe {
  align-self: flex-start;
  padding: 14px 32px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}
.btn-subscribe:hover { background: var(--color-brand); }

.newsletter__success {
  font-size: .85rem;
  font-weight: 600;
  color: #4ade80;
}

/* ===================================
   FOOTER
   =================================== */
footer {
  background: var(--color-company);
  color: #fff;
  padding: 72px 0 0;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid #3f3f46;
}

.footer__brand-name {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  display: block;
  margin-bottom: 16px;
}

.footer__contact {
  font-size: .82rem;
  color: #9ca3af;
  line-height: 1.8;
}
.footer__contact a:hover { color: #fff; }

.footer__cols {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer__col ul li:first-child {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 16px;
}
.footer__col ul li a {
  font-size: .82rem;
  color: #9ca3af;
  display: block;
  padding: 5px 0;
  transition: color .2s;
}
.footer__col ul li a:hover { color: #fff; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__copy { font-size: .8rem; color: #6b7280; }

.footer__socials { display: flex; gap: 20px; }
.footer__socials a svg { width: 24px; height: 24px; fill: #6b7280; transition: fill .2s; }
.footer__socials a:hover svg { fill: #fff; }

/* ===================================
   UTILITY
   =================================== */
[x-cloak] { display: none !important; }