@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Poppins Regular'),
       local('Poppins-Regular'),
       local('Poppins'),
       url('../fonts/Poppins-Regular.woff') format('woff'),
       url('https://fonts.cdnfonts.com/s/16009/Poppins-Regular.woff') format('woff');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local('Poppins Medium'),
       local('Poppins-Medium'),
       url('../fonts/Poppins-Medium.woff') format('woff'),
       url('https://fonts.cdnfonts.com/s/16009/Poppins-Medium.woff') format('woff');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: local('Poppins SemiBold'),
       local('Poppins-SemiBold'),
       url('../fonts/Poppins-SemiBold.woff') format('woff'),
       url('https://fonts.cdnfonts.com/s/16009/Poppins-SemiBold.woff') format('woff');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Poppins Bold'),
       local('Poppins-Bold'),
       url('../fonts/Poppins-Bold.woff') format('woff'),
       url('https://fonts.cdnfonts.com/s/16009/Poppins-Bold.woff') format('woff');
}

:root {
  --blue: #2e4398;
  --blue-dark: #053f78;
  --green: #86cb35;
  --ink: #253b8b;
  --muted: #647097;
  --soft: #edf2fb;
  --shadow: 0 18px 28px rgba(42, 61, 126, .22);
  --radius: 22px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; overflow-x: hidden; color: var(--ink); font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 16px; line-height: 1.65; background: #fff; }
body.menu-open { overflow: hidden; }
body.detail-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 999; background: #fff; padding: 10px 16px; border-radius: 8px; box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Topbar */
.topbar { color: #fff; background: var(--blue); font-size: 13px; }
.topbar__inner, .topbar__contact, .topbar__links { display: flex; align-items: center; }
.topbar__inner { min-height: 35px; justify-content: space-between; gap: 20px; }
.topbar__contact, .topbar__links { gap: 22px; }
.topbar svg { width: 15px; height: 15px; fill: var(--green); vertical-align: -3px; margin-right: 6px; }
.topbar a:hover { color: var(--green); }

/* Header & Nav */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); box-shadow: 0 4px 18px rgba(35,55,122,.08); backdrop-filter: blur(12px); }
.nav-wrap { display: flex; min-height: 86px; align-items: center; gap: 28px; }
.brand img { width: 100px; height: 80px; object-fit: contain; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 2vw, 31px); margin-left: auto; }
.main-nav a { position: relative; font-size: 15px; font-weight: 600; white-space: nowrap; }
.main-nav a::after { position: absolute; content: ""; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--green); transition: right .25s; }
.main-nav a:hover, .main-nav a.active { color: var(--green); }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.menu-toggle { display: none; }

/* Buttons */
.button { display: inline-flex; min-height: 50px; padding: 12px 28px; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 999px; color: #fff; font-weight: 700; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 13px 20px rgba(37,59,139,.22); }
.button svg { width: 25px; height: 25px; fill: currentColor; }
.button--primary { background: var(--blue); }
.button--accent { background: var(--green); }
.button--whatsapp { background: var(--blue); box-shadow: 0 10px 22px rgba(46,67,152,.24); }
.button--whatsapp:hover { background: var(--blue-dark); box-shadow: 0 14px 24px rgba(5,63,120,.3); }
.button--whatsapp img { width: 27px; height: 27px; object-fit: contain; filter: invert(1); }
.nav-cta { min-height: 46px; padding-inline: 24px; font-size: 14px; white-space: nowrap; }
.admin-login-button { display: inline-flex; min-height: 42px; padding: 9px 16px; align-items: center; justify-content: center; border: 2px solid var(--blue); border-radius: 999px; color: var(--blue); font-size: 13px; font-weight: 700; white-space: nowrap; transition: .2s; }
.admin-login-button:hover { color: #fff; background: var(--blue); }
.admin-login-nav { display: none; }

/* Section general */
.section { padding: 92px 0; }
.section--gradient { background: linear-gradient(105deg, #edf3fb 0%, #e5f5d1 55%, #fff 100%); }
.eyebrow { display: inline-flex; padding: 6px 28px; border-radius: 999px; color: #fff; background: var(--blue-dark); font-size: 14px; font-weight: 700; box-shadow: 0 9px 20px rgba(94,183,63,.18); }
.section-title { max-width: 760px; margin: 16px 0 10px; font-size: clamp(28px, 3.2vw, 47px); line-height: 1.25; letter-spacing: -.03em; }
.title-line { display: block; width: 230px; max-width: 42%; height: 3px; margin: 26px 0; background: #bbdf96; }
.section-heading { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.section-heading .section-title { max-width: none; }
.section-heading p { margin: 0; color: var(--muted); }

/* Subpage hero */
.page-hero { position: relative; overflow: hidden; padding: 76px 0; color: #fff; background: linear-gradient(120deg, var(--blue-dark), var(--blue)); }
.page-hero::before, .page-hero::after { position: absolute; content: ""; border-radius: 50%; background: rgba(134,203,53,.18); }
.page-hero::before { width: 360px; height: 360px; right: -90px; top: -180px; }
.page-hero::after { width: 210px; height: 210px; right: 18%; bottom: -155px; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--blue-dark); background: var(--green); }
.page-hero h1 { max-width: 820px; margin: 16px 0 10px; font-size: clamp(38px, 5vw, 64px); line-height: 1.15; letter-spacing: -.04em; }
.page-hero p { max-width: 720px; margin: 0; color: rgba(255,255,255,.82); font-size: 17px; }
.breadcrumb { display: flex; gap: 8px; margin-top: 26px; color: rgba(255,255,255,.72); font-size: 14px; }
.breadcrumb a:hover { color: var(--green); }
.page-content { min-height: 55vh; }
.page-cta { padding: 55px 0; color: #fff; background: var(--blue-dark); }
.page-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.page-cta h2 { margin: 0 0 5px; font-size: clamp(25px, 3vw, 38px); }
.page-cta p { margin: 0; color: rgba(255,255,255,.78); }
.page-cta .button { flex: 0 0 auto; }

/* Hero */
.hero { padding: 62px 0 70px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 52px; }
.hero__grid > *, .about__grid > *, .contact__grid > *, .service-grid > *, .portfolio-grid > *, .news-grid > * { min-width: 0; }
.hero h1 { margin: 20px 0; font-size: clamp(38px, 4.7vw, 65px); line-height: 1.28; letter-spacing: -.035em; }
.hero h1 span { color: var(--green); }
.hero__copy > p { max-width: 670px; color: #53638c; font-size: 17px; }
.hero__actions { display: flex; gap: 18px; margin: 34px 0; }
.trust-list { display: grid; grid-template-columns: repeat(4, auto); gap: 18px; padding-top: 24px; border-top: 3px solid var(--blue); font-size: 14px; font-weight: 500; }
.trust-list span { display: flex; align-items: center; gap: 8px; }
.trust-list i { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; color: #fff; background: var(--green); font-style: normal; }
.hero-card { overflow: hidden; border-radius: var(--radius); background: #fff; box-shadow: 20px 22px 36px rgba(40,59,124,.26); }
.hero-card > img, .hero-card > picture, .hero-card > picture > img { display: block; width: 100%; }
.hero-card > img, .hero-card > picture > img { height: 375px; object-fit: cover; object-position: center; }
.hero-card__body { display: flex; gap: 18px; padding: 24px 28px 30px; background: #eff3fb; }
.hero-card__body h2 { margin: 0 0 6px; font-size: 20px; }
.hero-card__body p { margin: 0; color: var(--muted); font-size: 15px; }
.growth-mark { color: var(--green); font-size: 58px; line-height: 1; font-weight: 800; }

/* About */
.about { background: var(--soft); }
.about__grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 64px; }
.about__content { max-width: 1080px; }
.about__main > p { color: #56658d; font-size: 17px; }
.legacy-card, .why-card, .vision-grid article, .note-box, .service-card, .project-card, .news-card, .contact-form { background: #fff; box-shadow: var(--shadow); }
.legacy-card { margin-top: 28px; padding: 18px 24px; border-left: 11px solid var(--green); border-radius: 4px 18px 18px 4px; }
.legacy-card h3 { margin: 0 0 8px; font-size: 17px; }
.legacy-card p { margin: 0; color: #5d698f; font-size: 15px; }
.vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.vision-grid article { display: flex; gap: 12px; padding: 18px; border-radius: 18px; }
.vision-grid h3, .vision-grid p { margin: 0; }
.vision-grid p { color: var(--muted); font-size: 14px; }
.round-icon { color: var(--green); font-size: 28px; }
.why-card { padding: 34px 34px 28px; border-radius: var(--radius); }
.why-card > h3 { margin: 0 0 25px; font-size: 25px; }
.why-card ol { display: grid; gap: 25px; padding: 0; margin: 0; list-style: none; }
.why-card li { display: flex; align-items: flex-start; gap: 18px; }
.why-card li > span { display: grid; flex: 0 0 48px; width: 48px; height: 48px; place-items: center; border-radius: 5px; color: #fff; background: var(--blue); font-weight: 700; }
.why-card li:nth-child(even) > span { background: var(--green); }
.why-card h4 { margin: 0 0 4px; font-size: 16px; }
.why-card p { margin: 0; color: var(--muted); font-size: 14px; }
.why-section__grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 64px; }
.why-section__intro > p { margin: 20px 0 28px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.why-section__intro .button { width: max-content; }

.partners__inner { text-align: center; }
.partners .section-heading { max-width: 760px; margin-right: auto; margin-left: auto; }
.partner-sector-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.partner-sector-grid > div, .partner-sector-grid > article { display: grid; min-height: 145px; padding: 24px 18px; place-content: center; border: 1px solid rgba(46,67,152,.12); border-radius: 18px; background: #fff; box-shadow: 0 14px 30px rgba(42,61,126,.12); }
.partner-sector-grid span { margin-bottom: 9px; color: var(--green); font-size: 13px; font-weight: 700; letter-spacing: .16em; }
.partner-sector-grid strong { color: var(--blue); font-size: 18px; }
.partner-card img { width: min(150px, 100%); height: 72px; margin: 0 auto 14px; object-fit: contain; }
.partner-card small { margin-bottom: 6px; color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.partner-card p { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.partner-card a { margin-top: 12px; color: var(--blue); font-size: 13px; font-weight: 700; }
.partners-empty { grid-column: 1 / -1; padding: 30px; margin: 0; border: 2px dashed #cbd4e6; border-radius: 16px; color: var(--muted); background: rgba(255,255,255,.7); }
.partners__notice { margin: 20px 0 0; color: var(--muted); font-size: 13px; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card { display: flex; min-height: 515px; padding: 22px 22px 25px; flex-direction: column; border-radius: var(--radius); transition: transform .25s, box-shadow .25s; }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 24px 34px rgba(42,61,126,.25); }
.service-card__icon { display: grid; width: 62px; height: 62px; margin-bottom: 10px; place-items: center; border-radius: 17px; color: #fff; background: var(--blue); font-size: 25px; }
.service-card__icon--green { background: var(--green); }
.service-card__icon svg { width: 34px; height: 34px; fill: #fff; }
.service-card small { color: var(--green); font-weight: 700; letter-spacing: .22em; }
.service-card h3 { margin: 8px 0 12px; font-size: 22px; line-height: 1.42; }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; }
.service-card ul { padding: 20px 0 20px; margin: 20px 0 16px; border-top: 3px solid #cce9af; list-style: none; }
.service-card li { margin: 8px 0; font-size: 14px; }
.service-card li::before { content: "✓"; margin-right: 6px; color: var(--green); }
.service-card > a { margin-top: auto; font-size: 15px; font-weight: 600; }
.service-card > a span { transition: margin .2s; }
.service-card > a:hover span { margin-left: 6px; }
.service-detail-button { margin-top: auto; padding: 0; border: 0; color: var(--blue); background: transparent; text-align: left; font: inherit; font-weight: 600; cursor: pointer; }
.service-detail-button:hover { color: #5b9819; }

.portfolio-filters { display: flex; gap: 10px; margin: 24px 0 30px; flex-wrap: wrap; }
.portfolio-filters button { padding: 10px 16px; border: 1px solid #bdc7df; border-radius: 999px; color: var(--blue); background: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.portfolio-filters button.active { border-color: var(--blue); color: #fff; background: var(--blue); }
.project-card .meta b.legacy { color: #8a4b08; background: #fff1d6; }
.project-card .meta b.visi { color: #2d6816; background: #eaf7dc; }
.project-card .meta b.terlaksana { color: #2d6816; background: #eaf7dc; }
.project-card .meta b.belum-terlaksana { color: #8a4b08; background: #fff1d6; }
.project-card .meta b.mode-online { color: #0b4f7a; background: #dff1ff; }
.project-card .meta b.mode-offline { color: #334155; background: #e6ebf1; }
.meta__badges { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.project-card__price { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding: 9px 12px; border-radius: 10px; background: #f2f8e9; }
.project-card__price small { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.project-card__price strong { color: #2d6816; font-size: 16px; }
.project-card__details { display: block; margin-top: 9px; color: var(--muted); }

/* Portfolio */
.portfolio { background: var(--soft); }
.note-box { display: flex; gap: 16px; margin: 24px 0 28px; padding: 14px 20px; align-items: flex-start; border-radius: 15px; }
.note-box > span { color: var(--green); font-size: 30px; line-height: 1.2; }
.note-box p { margin: 0; color: #5c6990; font-size: 14px; }
.portfolio-grid, .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card, .news-card { overflow: hidden; border-radius: var(--radius); }
.project-card > img, .news-card > img { width: 100%; height: 215px; object-fit: cover; }
.project-card:nth-child(3) > img { object-position: 50% 48%; }
.project-card__body { padding: 15px 18px 20px; }
.meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; letter-spacing: .08em; }
.meta b { padding: 3px 14px; border-radius: 99px; color: #fff; background: var(--green); font-size: 12px; letter-spacing: 0; }
.project-card h3 { min-height: 64px; margin: 14px 0 8px; font-size: 21px; line-height: 1.45; }
.project-card p { display: -webkit-box; min-height: 55px; overflow: hidden; margin: 0; color: var(--muted); font-size: 14px; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; }
.client { margin-top: 20px; padding-top: 12px; border-top: 3px solid #cce9af; font-size: 13px; font-weight: 600; }

/* News */
.news-card { background: #fff; }
.news-card > div { padding: 18px 20px 20px; }
.news-card span { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.news-card h3 { min-height: 84px; margin: 10px 0; font-size: 20px; line-height: 1.45; }
.news-card p { display: -webkit-box; min-height: 55px; overflow: hidden; color: var(--muted); font-size: 14px; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; }
.news-card time { color: var(--green); font-size: 13px; font-weight: 600; }

/* Detail berita & portofolio */
.clickable-card { cursor: pointer; transition: transform .25s, box-shadow .25s; }
.clickable-card:hover { transform: translateY(-6px); box-shadow: 0 24px 36px rgba(42,61,126,.28); }
.clickable-card:focus-visible { outline: 4px solid rgba(134,203,53,.5); outline-offset: 4px; }
.card-detail-hint, .news-card .card-detail-hint { display: flex; align-items: center; gap: 7px; width: max-content; margin-top: 18px; color: var(--blue); font-size: 14px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.card-detail-hint span { color: var(--green); font-size: 18px; transition: transform .2s; }
.clickable-card:hover .card-detail-hint span { transform: translateX(4px); }
.news-card time + .card-detail-hint { margin-top: 12px; }

.content-detail-modal { position: fixed; inset: 0; z-index: 1000; display: grid; padding: 32px; place-items: center; overflow-y: auto; background: rgba(10,22,61,.76); backdrop-filter: blur(7px); }
.content-detail-modal__panel { position: relative; display: grid; grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr); width: min(960px, 100%); max-height: min(760px, calc(100vh - 64px)); overflow-x: hidden; overflow-y: auto; border-radius: 24px; background: #fff; box-shadow: 0 32px 80px rgba(4,18,54,.42); }
.content-detail-modal__panel--service { grid-template-columns: 1fr; width: min(780px, 100%); }
.content-detail-modal__panel--portfolio { grid-template-columns: 1fr; width: min(900px, 100%); }
.content-detail-modal__panel--portfolio .content-detail-modal__image { width: 100%; height: auto; min-height: 0; max-height: 560px; object-fit: contain; background: #eef2f9; }
.content-detail-modal__panel--portfolio .content-detail-modal__content { align-self: start; padding-top: 38px; }
.content-detail-modal__close { position: absolute; top: 16px; right: 16px; z-index: 1; display: grid; width: 46px; height: 46px; padding: 0; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: #fff; background: rgba(25,45,112,.88); cursor: pointer; box-shadow: 0 10px 24px rgba(20,39,108,.28); backdrop-filter: blur(8px); transition: transform .2s, background .2s, box-shadow .2s; }
.content-detail-modal__close svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; }
.content-detail-modal__close:hover { background: var(--green); box-shadow: 0 12px 26px rgba(63,130,24,.3); transform: rotate(90deg); }
.content-detail-modal__close:focus-visible { outline: 4px solid rgba(134,203,53,.45); outline-offset: 3px; }
.content-detail-modal__image { width: 100%; height: 100%; min-height: 480px; object-fit: cover; }
.content-detail-modal__content { min-width: 0; align-self: center; padding: 58px 50px 48px; }
.content-detail-modal__type { display: inline-flex; padding: 5px 14px; border-radius: 999px; color: #fff; background: var(--green); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.content-detail-modal h2 { margin: 18px 0 12px; font-size: clamp(27px, 3vw, 40px); line-height: 1.2; letter-spacing: -.025em; }
.content-detail-modal__meta { display: flex; gap: 8px 20px; padding-bottom: 22px; margin-bottom: 25px; flex-wrap: wrap; border-bottom: 2px solid #dce7cc; color: var(--muted); font-size: 14px; font-weight: 600; }
.content-detail-modal h3 { margin: 0 0 8px; font-size: 18px; }
.content-detail-modal__description { margin: 0; color: #53638c; font-size: 16px; line-height: 1.75; overflow-wrap: anywhere; white-space: pre-line; word-break: break-word; }
.content-detail-modal__description p { margin: 0 0 14px; }
.content-detail-modal__sections { display: grid; gap: 18px; margin-top: 22px; }
.content-detail-modal__sections section { padding: 17px; border-radius: 12px; background: #f3f6fb; }
.content-detail-modal__sections h3 { margin: 0 0 10px; }
.content-detail-modal__sections ul, .content-detail-modal__sections ol { margin: 0; padding-left: 21px; }
.content-detail-modal__sections li { margin: 6px 0; }
.portfolio-attribution { padding: 14px 16px; border-left: 4px solid var(--green); background: #eff8e5; font-weight: 600; }
.content-detail-modal__gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 22px; }
.content-detail-modal__gallery:empty { display: none; }
.content-detail-modal__gallery img { width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; object-fit: cover; }
.content-detail-modal__action { display: inline-flex; margin-top: 24px; }

.article-detail { background: linear-gradient(180deg, #f4f7fc, #fff); }
.article-detail__container { max-width: 900px; }
.article-detail__back { display: block; width: max-content; margin-bottom: 32px; color: var(--blue); font-weight: 700; }
.article-detail .eyebrow { display: table; clear: both; }
.article-detail h1 { max-width: 820px; margin: 12px 0 10px; font-size: clamp(34px, 6vw, 58px); line-height: 1.08; }
.article-detail__date { display: block; margin-bottom: 28px; color: var(--muted); }
.article-detail__hero { margin: 0 0 34px; }
.article-detail__hero img { width: 100%; max-height: 520px; border-radius: 20px; object-fit: cover; }
.article-detail__hero figcaption { margin-top: 8px; color: var(--muted); font-size: 13px; }
.article-detail__body { color: #3e4b6d; font-size: 18px; line-height: 1.85; }
.article-detail__body p { margin: 0 0 22px; }
.article-detail__body h2 { margin: 42px 0 14px; color: var(--ink); font-size: clamp(26px, 4vw, 36px); line-height: 1.25; }
.article-detail__body h3 { margin: 32px 0 12px; color: var(--ink); font-size: clamp(21px, 3vw, 27px); }
.article-detail__body ul, .article-detail__body ol { margin: 0 0 24px; padding-left: 28px; }
.article-detail__body li { margin: 7px 0; }
.article-detail__body blockquote { padding: 18px 22px; margin: 30px 0; border-left: 5px solid var(--green); border-radius: 0 12px 12px 0; color: var(--ink); background: #f0f8e7; font-size: 20px; font-weight: 600; }
.article-detail__body a { color: var(--blue); font-weight: 700; text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: 3px; }
.article-detail__body .article-content__image { width: min(760px, 82%); margin: 34px auto; }
.article-detail__body .article-content__image img { display: block; width: 100%; max-height: 620px; border-radius: 18px; object-fit: cover; }
.article-detail__body .article-content__image figcaption { margin-top: 9px; color: var(--muted); font-size: 13px; line-height: 1.5; text-align: center; }
.article-detail__gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 18px; }
.article-detail__gallery img { width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; object-fit: cover; }

/* Home content sliders */
.content-slider { position: relative; }
.slider-controls { display: flex; justify-content: flex-end; gap: 10px; margin: -5px 0 16px; }
.slider-controls button { display: grid; width: 46px; height: 46px; padding: 0; place-items: center; border: 1px solid rgba(46,67,152,.14); border-radius: 50%; color: var(--blue); background: #fff; cursor: pointer; box-shadow: 0 8px 20px rgba(42,61,126,.16); transition: transform .2s, color .2s, background .2s, box-shadow .2s; }
.slider-controls button:last-child { border-color: var(--green); color: #fff; background: var(--green); }
.slider-controls button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.slider-controls button:hover { color: #fff; background: var(--blue); box-shadow: 0 12px 24px rgba(42,61,126,.25); transform: translateY(-3px); }
.slider-controls button:last-child:hover { background: #70b827; }
.slider-controls button:focus-visible { outline: 3px solid rgba(132,201,52,.32); outline-offset: 3px; }
.home-slider { display: flex; grid-template-columns: none; gap: 24px; padding: 8px 4px 24px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-color: var(--green) transparent; scrollbar-width: thin; }
.home-slider::-webkit-scrollbar { height: 7px; }
.home-slider::-webkit-scrollbar-track { background: transparent; }
.home-slider::-webkit-scrollbar-thumb { border-radius: 99px; background: var(--green); }
.home-slider > * { flex: 0 0 360px; scroll-snap-align: start; }
.home-slider--services > * { flex-basis: 280px; min-height: 515px; }
.home-slider .empty-content { flex-basis: 100%; }
body.detail-open .home-slider { overflow-x: hidden; overflow-x: clip; pointer-events: none; scroll-behavior: auto; scroll-snap-type: none; touch-action: none; }
body.detail-open .slider-controls { pointer-events: none; }

/* Contact */
.contact { background: var(--soft); }
.contact__grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 65px; }
.contact__copy > p { color: var(--muted); }
.contact address { display: grid; gap: 18px; margin-top: 35px; font-style: normal; }
.contact address > div { display: flex; gap: 16px; align-items: center; }
.contact address span { display: grid; flex: 0 0 50px; width: 50px; height: 50px; place-items: center; border-radius: 16px; color: #fff; background: var(--blue); font-size: 20px; }
.contact address span.green { background: var(--green); }
.contact address span.whatsapp-contact { border-radius: 16px; background: var(--blue); box-shadow: none; }
.contact address span.whatsapp-contact img { width: 29px; height: 29px; object-fit: contain; filter: invert(1); }
.contact address svg { width: 28px; height: 28px; fill: #fff; }
.contact address p { margin: 0; color: #50608d; font-size: 14px; }
.contact address strong { display: block; color: var(--green); font-size: 15px; }
.contact address a { transition: color .2s; }
.contact address a:hover { color: var(--green); }
.contact-form { padding: 30px; border-radius: var(--radius); }
.contact-form h3 { margin: 0 0 2px; font-size: 23px; }
.contact-form > p { margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 22px; }
.contact-form label { display: grid; gap: 7px; font-size: 14px; font-weight: 600; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 12px 15px; border: 1px solid #8190b6; border-radius: 13px; outline: none; color: var(--ink); background: #fff; box-shadow: 0 10px 14px rgba(42,61,126,.15); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(134,203,53,.2); }
.contact-form > label { margin-top: 15px; }
.contact-form .cf-turnstile { display: flex; justify-content: center; width: 100%; margin-top: 22px; }
.contact-form .button { width: 70%; margin: 25px auto 0; display: flex; }
.form-status { min-height: 20px; margin-top: 10px !important; text-align: center; color: #1e7e34; font-weight: 600; }
.form-status.success { color: #1e7e34; }
.form-status.error { color: #c73838; }

/* Footer */
.footer { padding: 56px 0 18px; color: #fff; background: var(--blue); }
.footer__grid { display: grid; grid-template-columns: 2.1fr 1fr 1fr .8fr; gap: 54px; }
.footer__brand { padding-right: 42px; border-right: 3px solid rgba(134,203,53,.55); }
.footer__brand > div { display: flex; align-items: center; gap: 15px; }
.footer__brand img { width: 88px; height: 88px; padding: 7px; border-radius: 13px; background: #fff; }
.footer h2 { margin: 0; font-size: 22px; }
.footer h3 { padding-bottom: 10px; margin: 8px 0 12px; border-bottom: 2px solid rgba(134,203,53,.25); font-size: 15px; }
.footer p, .footer a { display: block; margin: 10px 0; color: rgba(255,255,255,.88); font-size: 13px; }
.footer p a { display: inline; margin: 0; }
.footer a:hover { color: var(--green); }
.footer__bottom { padding-top: 18px; margin-top: 35px; border-top: 2px solid rgba(134,203,53,.2); color: rgba(255,255,255,.7); font-size: 13px; }

.empty-content { grid-column: 1 / -1; padding: 50px 25px; border: 2px dashed #cbd5ea; border-radius: var(--radius); text-align: center; color: var(--muted); background: rgba(255,255,255,.68); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal--delay { transition-delay: .12s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Responsive Media Queries */
@media (max-width: 1050px) {
  .nav-cta { display: none; }
  .admin-login-button { padding-inline: 13px; }
  .main-nav { gap: clamp(12px, 1.8vw, 22px); }
  .main-nav a { font-size: 14px; }
  .hero__grid, .about__grid, .contact__grid { gap: 34px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card { min-height: 460px; }
}

@media (max-width: 820px) {
  .topbar { display: none; }
  .nav-wrap { min-height: 74px; }
  .brand img { width: 82px; height: 66px; }
  .menu-toggle { display: grid; width: 45px; height: 42px; margin-left: auto; padding: 10px; place-content: center; gap: 5px; border: 0; border-radius: 10px; background: var(--blue); }
  .menu-toggle span { display: block; width: 23px; height: 2px; background: #fff; transition: .2s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { position: fixed; inset: 74px 0 auto; display: grid; max-height: 0; padding: 0 24px; overflow: hidden; justify-content: stretch; gap: 0; background: #fff; box-shadow: 0 16px 22px rgba(35,55,122,.14); transition: max-height .3s, padding .3s; }
  .main-nav.open { max-height: 420px; padding: 12px 24px 24px; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid #e9edf6; }
  .main-nav a::after { display: none; }
  .main-nav .admin-login-nav { display: block; color: var(--green); font-weight: 700; }
  .admin-login-button { display: none; }
  .hero__grid, .about__grid, .why-section__grid, .contact__grid { grid-template-columns: 1fr; }
  .partner-sector-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 44px; }
  .hero-card { max-width: 640px; }
  .portfolio-grid, .news-grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer__grid > div:last-child { display: none; }
  .content-detail-modal__panel { grid-template-columns: 1fr; }
  .content-detail-modal__image { height: 300px; min-height: 0; }
  .content-detail-modal__content { padding: 34px 30px 38px; }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 28px); }
  .section { padding: 66px 0; }
  .hero h1 { max-width: 100%; overflow-wrap: break-word; font-size: clamp(34px, 10vw, 39px); }
  .hero__actions { align-items: stretch; flex-direction: column; }
  .hero__actions .button { width: 100%; }
  .trust-list { grid-template-columns: 1fr 1fr; }
  .hero-card > img, .hero-card > picture > img { height: 270px; }
  .hero-card__body { padding: 20px; }
  .about__grid { gap: 34px; }
  .vision-grid, .service-grid, .portfolio-grid, .news-grid, .form-grid { grid-template-columns: 1fr; }
  .partner-sector-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .home-slider > * { flex-basis: calc(100vw - 54px); }
  .home-slider--services > * { min-height: 0; }
  .slider-controls { margin-top: 0; }
  .project-card h3, .project-card p, .news-card h3, .news-card p { min-height: 0; }
  .contact-form { padding: 22px 18px; }
  .contact-form .button { width: 100%; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; padding: 0 0 25px; border-right: 0; border-bottom: 2px solid rgba(134,203,53,.35); }
  .page-hero { padding: 55px 0; }
  .page-cta__inner { align-items: flex-start; flex-direction: column; }
  .content-detail-modal { padding: 14px; }
  .content-detail-modal__panel { max-height: calc(100vh - 28px); border-radius: 18px; }
  .content-detail-modal__image { height: 220px; }
  .content-detail-modal__content { padding: 28px 20px 30px; }
  .content-detail-modal__close { top: 10px; right: 10px; }
  .article-detail__body .article-content__image { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
