*,*::before,*::after{box-sizing:border-box}
body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;color:#10233f;background:#f0f9ff;overflow-x:hidden}
img,video,iframe{max-width:100%}
html{font-size:16px;-webkit-text-size-adjust:100%;scroll-behavior:smooth}
:root{--container:1180px;--site-pad:clamp(16px,4vw,72px);--blue:#0ea5e9;--blue-dark:#0284c7;--blue-darkest:#0b2344;--blue-light:#f0f9ff;--yellow:#facc15;--yellow-dark:#eab308;--red:#ef4444;--card-border:#bae6fd;--text-dark:#10233f;--text-muted:#64748b}

/* HEADER */
.site-header{position:sticky;top:0;z-index:9;background:rgba(255,255,255,.97);backdrop-filter:blur(12px);display:flex;justify-content:space-between;align-items:center;padding:14px var(--site-pad);box-shadow:0 4px 24px rgba(0,0,0,.06);border-bottom:3px solid var(--blue)}
.site-header.sticky{position:sticky;top:0;z-index:50}
.site-brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--blue-darkest);font-weight:900;font-size:20px}
.site-brand img{height:42px;object-fit:contain;border-radius:8px}
.site-brand span{display:flex;flex-direction:column;line-height:1.15}
.site-brand b{font-size:18px}
.site-brand small{font-size:12px;font-weight:500;opacity:.72;margin-top:3px}
.site-header-right{display:flex;align-items:center;gap:18px;flex-wrap:wrap;justify-content:flex-end}
.header-right-logos{display:flex;align-items:center;gap:10px}
.header-right-logos img{height:42px;width:auto;max-width:92px;object-fit:contain;border-radius:8px;background:rgba(255,255,255,.08);padding:2px}

/* NAVIGATION */
nav{display:flex;gap:18px;flex-wrap:wrap;align-items:center}
nav a{text-decoration:none;color:#334155;font-weight:700;transition:color .2s;position:relative;padding-bottom:2px}
nav a:hover{color:var(--blue)}
nav a::after{content:'';position:absolute;bottom:-2px;left:0;width:0;height:2px;background:var(--yellow);transition:width .25s}
nav a:hover::after{width:100%}

/* HERO */
.hero{min-height:480px;background-size:cover;background-position:center;display:flex;align-items:center;padding:clamp(54px,8vw,95px) var(--site-pad);color:white}
.hero div{max-width:760px}
.hero h1{font-size:clamp(36px,6vw,72px);line-height:1.02;margin:0 0 16px}
.hero p{font-size:clamp(16px,2vw,22px);opacity:.95}

/* BUTTONS */
.site-btn{display:inline-block;background:var(--blue);color:white;text-decoration:none;border-radius:999px;padding:14px 22px;font-weight:800;margin-top:12px;transition:background .2s,transform .2s}
.site-btn:hover{background:var(--yellow-dark);color:#fff;transform:translateY(-2px)}
.popup-trigger{border:0;width:100%;font-family:inherit}

/* SECTIONS */
.section{padding:clamp(34px,6vw,72px) var(--site-pad);background:#fff;transition:background .3s}
main>.section:nth-child(even){background:var(--blue-light)}
.section.narrow{max-width:950px;margin:auto;font-size:19px;line-height:1.7}
.section>*,.hero>div{max-width:var(--container);margin-left:auto;margin-right:auto}
.center{text-align:center}

/* SECTION TITLES */
.section:not(.narrow) h2{font-size:clamp(24px,4vw,36px);color:var(--blue-darkest);margin:0 auto 24px;text-align:center;line-height:1.2}

/* WIDE IMAGE */
.wide-img{display:block;width:100%;max-height:650px;object-fit:cover;border-radius:24px;box-shadow:0 18px 60px rgba(15,35,75,.12)}
.caption{text-align:center;color:var(--text-muted)}
.logo-big{max-width:220px;max-height:220px}

/* SLIDER */
.slider{height:clamp(250px,48vw,520px);position:relative;overflow:hidden;background:var(--blue-light)}
.slide{display:none}
.slide.active{display:block}
.slider img{width:100%;height:100%;object-fit:contain}
.post-slideshow{height:clamp(250px,48vw,520px);position:relative;overflow:hidden;background:var(--blue-light);margin:20px 0;border-radius:18px}
.post-slideshow img{width:100%;height:100%;object-fit:contain}

/* GALLERY */
.gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:16px}
.gallery img{width:100%;height:220px;object-fit:cover;border-radius:18px}

/* CARDS */
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:22px}
.post-card,.info-card{display:block;background:white;border-radius:22px;box-shadow:0 12px 34px rgba(15,35,75,.1);padding:18px;text-decoration:none;color:var(--text-dark);border:1px solid var(--card-border);transition:transform .2s,box-shadow .2s,border-color .2s}
.post-card:hover,.info-card:hover{transform:translateY(-3px);box-shadow:0 16px 44px rgba(15,35,75,.15);border-color:var(--blue)}
.post-card img{width:100%;height:180px;object-fit:cover;border-radius:16px}
.post-card h3,.info-card h3{color:var(--blue-dark)}

/* CONTENT SLIDER */
.content-slider,.content-slide{min-height:clamp(280px,45vw,380px)}
.content-slider{position:relative}
.content-slide{background:var(--blue-darkest);color:white;text-decoration:none;border-radius:26px;overflow:hidden}
.content-slide img{width:100%;height:clamp(170px,28vw,260px);object-fit:cover}
.content-slide div{padding:22px}

/* EMBED */
.embed{text-align:center}
.embed iframe{max-width:100%;vertical-align:top;display:inline-block;border-radius:18px}

/* ARTICLE */
.article{width:min(920px,100%);padding:0 var(--site-pad);margin:40px auto;font-size:clamp(16px,2vw,18px);line-height:1.75}
.article h1{font-size:clamp(30px,6vw,48px);line-height:1.1}
.article-cover{width:100%;max-height:520px;object-fit:cover;border-radius:26px}
.muted{color:var(--text-muted)}

/* WIDGET ROW / GRID */
.widget-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:clamp(12px,2vw,24px)}
.widget-row.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.widget-row.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.widget-col{min-width:0;overflow:hidden}
.widget-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,2vw,24px)}
.widget-grid.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.widget-grid.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.widget-grid-cell{min-width:0;overflow:hidden}
.card-nested-widgets{margin-top:14px}
.card-nested-widgets .section,.widget-col .section,.widget-grid-cell .section{padding:10px 0}
.card-nested-widgets .hero,.widget-col .hero,.widget-grid-cell .hero{min-height:220px;border-radius:18px;overflow:hidden}
.card-nested-widgets .wide-img,.widget-col .wide-img,.widget-grid-cell .wide-img{border-radius:14px}
.card-nested-widgets h2,.widget-col h2,.widget-grid-cell h2{font-size:1.25rem;border-left:0;padding-left:0}

/* IMAGE LINK BUTTON (tanpa kotak) */
.image-link-btn{display:inline-block;max-width:min(720px,94vw);transition:.2s transform}
.image-link-btn:hover{transform:translateY(-3px)}
.image-link-btn img{display:block;width:100%;max-height:360px;object-fit:cover;border-radius:12px}

/* SERVICE CARDS */
.service-card{overflow:hidden;padding:0;border-color:var(--card-border);transition:border-color .2s}
.service-card:hover{border-color:var(--blue)}
.service-card h3,.service-card p{padding-left:18px;padding-right:18px}
.service-card p{padding-bottom:18px}
.card-cover,.card-slider{width:100%;height:210px;border-radius:22px 22px 0 0;overflow:hidden;background:var(--blue-light)}
.card-cover{display:block;object-fit:cover}
.card-slider{position:relative}
.card-slider img{width:100%;height:100%;object-fit:cover}

/* COMPLAINT TEASER */
.complaint-toggle{max-width:980px;margin:auto}
.complaint-toggle summary{list-style:none}
.complaint-toggle summary::-webkit-details-marker{display:none}
.complaint-teaser{cursor:pointer;min-height:230px;border-radius:28px;background:linear-gradient(135deg,var(--blue-darkest),var(--blue));background-size:cover;background-position:center;color:#fff;display:grid;place-items:center;text-align:center;padding:34px;transition:.2s transform}
.complaint-teaser:hover{transform:translateY(-3px)}
.complaint-teaser b{display:block;font-size:clamp(26px,4vw,46px);line-height:1.1}
.complaint-teaser em{display:inline-block;margin-top:16px;background:var(--yellow);color:var(--blue-darkest);border-radius:999px;padding:12px 20px;font-style:normal;font-weight:900}
.complaint-teaser small{display:block;margin-top:14px;font-size:16px;opacity:.95}
.complaint-toggle[open] .complaint-teaser{border-radius:28px 28px 0 0}
.complaint-toggle .complaint-card{border-radius:0 0 28px 28px;margin-top:0}

/* COMPLAINT POPUP */
.complaint-popup-widget{max-width:980px;margin:auto}
.complaint-modal{position:fixed;inset:0;z-index:999;display:none}
.complaint-modal.open{display:block}
.complaint-modal-backdrop{position:fixed;inset:0;background:rgba(2,12,27,.66)}
.complaint-modal-box{position:relative;z-index:2;width:min(760px,calc(100vw - 24px));max-height:90vh;overflow:auto;margin:5vh auto;border-radius:28px;box-shadow:0 26px 90px rgba(0,0,0,.35)}
.complaint-modal-box .complaint-card{border-radius:28px}
.complaint-modal-close{position:absolute;top:12px;right:14px;z-index:3;width:42px;height:42px;border:0;border-radius:50%;background:var(--red);color:#fff;font-size:28px;line-height:1;cursor:pointer;box-shadow:0 10px 25px rgba(0,0,0,.22)}
body.modal-open{overflow:hidden}

/* COMPLAINT FORM */
.complaint-section{background:var(--blue-light)}
.complaint-card{background:#fff;border-radius:22px;padding:28px}
.complaint-form{display:grid;gap:12px}
.complaint-form label{font-weight:700;color:#18324a}
.complaint-form input,.complaint-form textarea,.complaint-form select{width:100%;padding:12px;border:1px solid #cfddea;border-radius:12px;font:inherit;transition:border-color .2s}
.complaint-form input:focus,.complaint-form textarea:focus,.complaint-form select:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(14,165,233,.15)}
.complaint-form textarea{min-height:120px}
.choice-list{display:flex;gap:12px;flex-wrap:wrap}
.choice{font-weight:400!important;background:#f8fafc;padding:10px 12px;border-radius:10px;border:1px solid var(--card-border);transition:background .2s,border-color .2s}
.choice:hover{background:var(--blue-light);border-color:var(--blue)}

/* SOCIAL FEED */
.social-feed{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.social-card{display:block;background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 12px 34px rgba(15,35,75,.1);text-decoration:none;color:var(--text-dark);transition:.2s transform,.2s box-shadow;border:1px solid var(--card-border)}
.social-card:hover{transform:translateY(-3px);box-shadow:0 16px 44px rgba(14,165,233,.2);border-color:var(--blue)}
.social-card img{width:100%;height:200px;object-fit:cover}
.social-card h3{padding:14px 14px 0;margin:0;font-size:16px;line-height:1.4;color:var(--blue-dark)}
.instagram-feed .social-card img{aspect-ratio:4/3;height:auto;object-fit:cover}
.instagram-feed iframe{max-width:100%!important}
.ig-card p{padding:0 14px 14px;margin:0;font-size:13px;color:#555;line-height:1.4;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.ig-card-fallback{display:flex;align-items:center;justify-content:center;min-height:140px;background:var(--blue-light);border:1px solid var(--card-border);border-radius:8px;text-decoration:none;color:var(--blue);font-weight:600;font-size:.85rem;padding:1rem;text-align:center}
.ig-card-fallback:hover{background:#e0f2fe}
.ig-card-fallback .ig-code{word-break:break-all}

/* FOOTER */
.site-footer{background:linear-gradient(135deg,var(--blue-darkest),#0a1d38);color:white;padding:clamp(34px,6vw,72px) var(--site-pad);border-top:4px solid var(--blue)}
.footer-inner{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;width:min(var(--container),100%);margin:auto}
.footer-inner b{font-size:20px;color:var(--yellow)}
.footer-inner p{max-width:650px;line-height:1.7;opacity:.92}
.footer-links{display:flex;gap:14px;flex-wrap:wrap;align-items:center}
.footer-links a{text-decoration:none;font-weight:800;color:var(--blue);transition:color .2s}
.footer-links a:hover{color:var(--yellow)}
.footer-copy{max-width:var(--container);margin:22px auto 0;padding-top:18px;border-top:1px solid rgba(255,255,255,.18);opacity:.82;font-size:14px;text-align:center}
.site-footer .social-icon{width:42px;height:42px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-weight:900;font-size:20px;border:1px solid var(--blue);color:var(--blue);line-height:1;opacity:.95;transition:all .2s}
.site-footer .social-icon:hover{opacity:1;transform:translateY(-2px);border-color:var(--yellow);color:var(--yellow)}
.site-footer .social-icon img{width:24px;height:24px;object-fit:contain;display:block}

/* EMPTY */
.empty{min-height:60vh;display:grid;place-items:center;text-align:center;padding:30px}

/* RESPONSIVE */
@media (min-width:901px){.site-header{flex-direction:row}.site-header .nav-toggle{display:none}.site-header-right nav{display:flex!important}}
@media (min-width:701px) and (max-width:1100px){.site-header{padding:14px 28px}.site-brand b{font-size:17px}.site-brand img{height:38px}.header-right-logos img{height:34px;max-width:74px}nav{gap:12px}.hero{min-height:430px}.widget-row.cols-4,.widget-grid.cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery img{height:200px}.footer-inner{display:grid;grid-template-columns:1fr auto}}
@media(max-width:800px){.site-header{align-items:flex-start;flex-direction:column}.hero{min-height:420px}.section{padding:38px 5vw}.slider{height:320px}.complaint-teaser{min-height:190px;padding:24px}.card-cover,.card-slider{height:180px}.complaint-modal-box{margin:3vh auto;max-height:94vh}.complaint-modal-box .complaint-card{padding:22px 18px}.widget-row,.widget-row.cols-2,.widget-row.cols-4,.widget-grid,.widget-grid.cols-2,.widget-grid.cols-4{grid-template-columns:1fr}}
@media (max-width:700px){.site-header{position:sticky;align-items:stretch;flex-direction:column;padding:10px 14px}.site-brand{font-size:16px}.site-brand img{height:34px}.site-brand small{font-size:11px}.site-header-right{width:100%;display:flex;flex-direction:column;align-items:stretch;gap:6px;padding-top:8px;border-top:1px solid var(--card-border);margin-top:4px}.header-right-logos{justify-content:flex-start;overflow:auto;padding-bottom:2px;gap:6px}.header-right-logos img{height:30px;max-width:64px;flex:0 0 auto}nav{width:100%;display:none}.site-header-right nav.open{display:grid;grid-template-columns:1fr 1fr;gap:6px}.nav-toggle{display:block;font-size:24px;padding:6px 10px;background:none;border:none;color:inherit;cursor:pointer;touch-action:manipulation;border-radius:8px;line-height:1}.nav-toggle:hover{background:rgba(0,0,0,.05)}nav a{display:block;text-align:center;background:var(--blue-light);border-radius:8px;padding:8px 6px;font-size:11px;font-weight:600;color:var(--blue-dark)}nav a::after{display:none}.hero{min-height:340px;text-align:center}.hero h1{font-size:clamp(30px,10vw,44px)}.site-btn{width:100%;max-width:320px;text-align:center}.social-card img{height:160px}.section.narrow{font-size:16px}.wide-img{border-radius:16px}.gallery{gap:12px}.gallery img{height:150px;border-radius:14px}.cards{gap:14px}.post-card,.info-card{border-radius:16px;padding:14px}.post-card img{height:160px}.card-cover,.card-slider{height:165px}.complaint-teaser{border-radius:18px;min-height:170px}.complaint-teaser em{padding:10px 14px}.complaint-modal-box{margin:12px auto;max-height:calc(100vh - 24px);border-radius:18px}.complaint-modal-box .complaint-card{border-radius:18px;padding:18px}.complaint-form input,.complaint-form textarea,.complaint-form select{font-size:16px}.choice-list{display:grid;grid-template-columns:1fr}.widget-row,.widget-row.cols-2,.widget-row.cols-4,.widget-grid,.widget-grid.cols-2,.widget-grid.cols-4{grid-template-columns:1fr!important}.social-feed{grid-template-columns:1fr}.instagram-feed{grid-template-columns:repeat(2,1fr)}.instagram-feed .social-card img{aspect-ratio:4/3;height:auto}.instagram-feed .social-card{border-radius:12px}.instagram-feed .ig-card-fallback{min-height:100px;font-size:.8rem}.footer-inner{display:flex;flex-direction:column;text-align:center;align-items:center}.footer-links{justify-content:center}.footer-copy{text-align:center}.article-cover{border-radius:18px}.embed iframe{min-height:220px}}
@media (max-width:380px){.site-header{padding:8px 10px}.site-brand{font-size:15px}.site-brand img{height:30px}.site-header-right nav.open{grid-template-columns:1fr}nav a{padding:6px 4px;font-size:11px}.header-right-logos img{height:26px;max-width:54px}.section{padding-left:12px;padding-right:12px}.hero{min-height:280px;padding:40px 14px}.hero h1{font-size:clamp(24px,8vw,32px)}.site-btn{max-width:100%}.article-cover{border-radius:12px}.social-card img{height:130px}.gallery img{height:130px}.footer-links .social-icon{width:38px;height:38px}.complaint-card{padding:16px 12px}}

/* ===== ENHANCED SERVICE CARDS ===== */
.service-card {
  border: none;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(15,35,75,.06);
  transition: all .4s cubic-bezier(.4,0,.2,1);
  position: relative;
  background: linear-gradient(180deg,#fff 55%,#f8fafc);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(15,35,75,.16);
}
.service-card .card-cover {
  height: 200px;
  transition: transform .5s ease;
  border-radius: 24px 24px 0 0;
}
.service-card:hover .card-cover {
  transform: scale(1.08);
}
.service-card h3 {
  font-size: 20px;
  font-weight: 800;
  padding: 22px 22px 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0c2340;
}
.service-card h3::before {
  content: '';
  width: 5px;
  height: 28px;
  border-radius: 5px;
  flex-shrink: 0;
}
.service-card p {
  font-size: 14px;
  line-height: 1.75;
  color: #475569;
  padding: 12px 22px 26px;
  margin: 0;
  text-align: justify;
}
.service-card:nth-child(1) h3::before { background: linear-gradient(180deg,#0ea5e9,#0369a1); }
.service-card:nth-child(2) h3::before { background: linear-gradient(180deg,#facc15,#ca8a04); }
.service-card:nth-child(3) h3::before { background: linear-gradient(180deg,#0284c7,#075985); }
.service-card:nth-child(4) h3::before { background: linear-gradient(180deg,#eab308,#a16207); }
.service-card:nth-child(5) h3::before { background: linear-gradient(180deg,#38bdf8,#0284c7); }
.service-card:nth-child(6) h3::before { background: linear-gradient(180deg,#fbbf24,#d97706); }
.service-card:nth-child(1) { border-bottom: 5px solid #0ea5e9; }
.service-card:nth-child(2) { border-bottom: 5px solid #facc15; }
.service-card:nth-child(3) { border-bottom: 5px solid #0284c7; }
.service-card:nth-child(4) { border-bottom: 5px solid #eab308; }
.service-card:nth-child(5) { border-bottom: 5px solid #38bdf8; }
.service-card:nth-child(6) { border-bottom: 5px solid #fbbf24; }

/* Cards grid 3 columns for 6 services */
.cards:has(.service-card:nth-child(6)) {
  grid-template-columns: repeat(3,1fr);
}

/* Section heading */
.section h2 {
  font-size: clamp(26px,4vw,38px);
  color: #0c2340;
  position: relative;
  padding-bottom: 18px;
  margin-bottom: 28px;
  text-align: center;
}
.section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg,#0ea5e9,#facc15);
  border-radius: 4px;
}

/* Gallery section with colorful header bar */
.gallery img {
  transition: all .4s ease;
  cursor: pointer;
}
.gallery img:hover {
  transform: scale(1.04);
  box-shadow: 0 16px 40px rgba(15,35,75,.18);
  border-radius: 14px;
}

/* Decorative gradient background for cards section */
.cards {
  gap: 24px;
}

/* Mobile adjustments */
@media (max-width:800px){
  .cards:has(.service-card:nth-child(6)){grid-template-columns:repeat(2,1fr)}
  .service-card h3{font-size:17px;padding:16px 16px 0}
  .service-card p{font-size:13px;padding:10px 16px 20px}
  .service-card .card-cover{height:160px}
}
@media (max-width:500px){
  .cards:has(.service-card:nth-child(6)){grid-template-columns:1fr}
}

/* ===== CARD NESTED DETAIL ===== */
.service-card .card-nested-widgets {
  padding: 0 22px 22px;
  margin: 0;
}
.detail-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 14px 0 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e2e8f0;
  color: #64748b;
}
.detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}
.detail-list li {
  font-size: 13px;
  line-height: 1.5;
  color: #334155;
  padding: 6px 10px 6px 28px;
  background: #f8fafc;
  border-radius: 8px;
  position: relative;
  transition: background .2s;
}
.detail-list li::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}
.service-card:nth-child(1) .detail-list li::before { background: #0ea5e9; }
.service-card:nth-child(2) .detail-list li::before { background: #facc15; }
.service-card:nth-child(3) .detail-list li::before { background: #0284c7; }
.service-card:nth-child(4) .detail-list li::before { background: #eab308; }
.service-card:nth-child(5) .detail-list li::before { background: #38bdf8; }
.service-card:nth-child(6) .detail-list li::before { background: #fbbf24; }
.service-card:nth-child(1) .detail-title { border-bottom-color: #0ea5e9; color: #0ea5e9; }
.service-card:nth-child(2) .detail-title { border-bottom-color: #facc15; color: #facc15; }
.service-card:nth-child(3) .detail-title { border-bottom-color: #0284c7; color: #0284c7; }
.service-card:nth-child(4) .detail-title { border-bottom-color: #eab308; color: #eab308; }
.service-card:nth-child(5) .detail-title { border-bottom-color: #38bdf8; color: #38bdf8; }
.service-card:nth-child(6) .detail-title { border-bottom-color: #fbbf24; color: #fbbf24; }
.detail-list li:hover { background: #f1f5f9; }

/* Service card without image - more padding top */
.service-card h3 {
  padding-top: 26px;
}

/* Mobile */
@media (max-width:800px){
  .service-card .card-nested-widgets{padding:0 16px 16px}
  .detail-title{font-size:12px}
  .detail-list li{font-size:12px;padding:5px 8px 5px 24px}
}
@media (max-width:500px){
  .service-card .card-nested-widgets{padding:0 14px 14px}
}

/* ===== MOBILE OPTIMIZATION v19 ===== */
/* iOS safe area support */
@supports (padding:env(safe-area-inset-top)){
  .site-header{padding-left:calc(var(--site-pad) + env(safe-area-inset-left));padding-right:calc(var(--site-pad) + env(safe-area-inset-right))}
  .complaint-modal-box{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}
}
/* Prevent iOS zoom on inputs */
input,textarea,select{font-size:16px}
/* Touch-friendly interactive elements */
.site-btn,.btn,button,nav a,.social-icon,.complaint-modal-close,.nav-toggle{touch-action:manipulation;-webkit-tap-highlight-color:transparent}

/* Mobile hero improvements */
@media (max-width:480px){
  .hero{min-height:280px;padding:34px 16px}
  .hero h1{font-size:clamp(26px,10vw,36px)}
  .hero p{font-size:15px}
}
/* Mobile slider */
@media (max-width:480px){
  .slider{height:200px}
  .slide img{object-fit:cover}
}
/* Mobile gallery */
@media (max-width:480px){
  .gallery{grid-template-columns:repeat(2,1fr);gap:8px}
  .gallery img{height:110px;border-radius:10px}
}
/* Mobile cards */
@media (max-width:480px){
  .cards{gap:10px}
  .post-card,.info-card{padding:10px;border-radius:12px}
  .post-card img{height:130px;border-radius:10px}
  .post-card h3,.info-card h3{font-size:14px;margin:8px 0 4px}
  .post-card p,.info-card p{font-size:12px;margin:0}
  .card-cover,.card-slider{height:150px}
}
/* Mobile content slider */
@media (max-width:480px){
  .content-slider,.content-slide{min-height:240px}
  .content-slide img{height:140px}
  .content-slide div{padding:12px}
  .content-slide h3{font-size:15px;margin:0 0 4px}
  .content-slide p{font-size:12px;margin:0;opacity:.9}
}
/* Mobile social feed */
@media (max-width:480px){
  .social-feed{grid-template-columns:1fr;gap:12px}
  .instagram-feed{grid-template-columns:1fr}
  .social-card img{height:170px}
  .social-card h3{font-size:14px;padding:10px 10px 0}
  .ig-card p{font-size:12px;padding:0 10px 10px}
  .ig-card-fallback{min-height:70px;font-size:.75rem}
}
/* Mobile embed */
@media (max-width:700px){
  .embed iframe{width:100%!important;height:auto!important;aspect-ratio:16/9}
}
/* Mobile complaint/survey widget */
@media (max-width:480px){
  .complaint-teaser{min-height:140px;padding:16px;border-radius:14px}
  .complaint-teaser b{font-size:20px}
  .complaint-teaser em{font-size:12px;padding:8px 12px;margin-top:12px}
  .complaint-teaser small{font-size:12px;margin-top:10px}
  .complaint-card{padding:16px 12px;border-radius:14px}
  .complaint-card h2{font-size:18px}
  .complaint-form{gap:8px}
  .complaint-form label{font-size:13px}
  .complaint-form input,.complaint-form textarea,.complaint-form select{padding:10px 11px;border-radius:10px}
  .complaint-modal-close{width:36px;height:36px;font-size:20px;top:6px;right:6px}
  .choice{padding:8px 10px;font-size:13px}
  .survey-rating-options{display:flex;width:100%}.survey-rating-opt{flex:1;min-width:38px;text-align:center}
  .survey-rating-opt span{font-size:13px}
}
/* Mobile footer */
@media (max-width:480px){
  .site-footer{padding:24px 16px}
  .footer-inner{flex-direction:column;gap:14px}
  .footer-inner b{font-size:16px}
  .footer-inner p{font-size:13px;line-height:1.6}
  .footer-links{gap:6px}
  .site-footer .social-icon{width:36px;height:36px;font-size:15px}
  .footer-copy{font-size:12px;margin:16px auto 0;padding-top:12px}
}
/* Mobile article page */
@media (max-width:480px){
  .article{margin:20px auto}
  .article h1{font-size:clamp(22px,8vw,30px)}
  .article-cover{border-radius:14px;max-height:300px}
}
/* Mobile post list */
@media (max-width:480px){
  .section h2{font-size:clamp(20px,6vw,26px)}
  .section:not(.narrow) h2{font-size:clamp(20px,6vw,28px)}
}

/* ===== PDF ATTACHMENT IN POST ===== */
.pdf-attachment{display:flex;align-items:center;gap:16px;background:#f0f9ff;border:2px solid #bae6fd;border-radius:18px;padding:20px 24px;margin:30px 0;flex-wrap:wrap}
.pdf-attachment-icon{width:56px;height:56px;border-radius:12px;background:#ef4444;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:14px;flex-shrink:0}
.pdf-attachment-info{flex:1;min-width:160px}
.pdf-attachment-info strong{display:block;font-size:16px;color:#0c2340}
.pdf-attachment-info span{display:block;font-size:13px;color:#64748b;margin-top:4px;word-break:break-all}
.pdf-attachment .site-btn{margin:0;white-space:nowrap}

/* ===== PDF BLOCK (Page Builder) ===== */
.pdf-block .pdf-card{display:inline-flex;flex-direction:column;align-items:center;gap:14px;background:#fff;border:2px dashed #bae6fd;border-radius:24px;padding:40px 50px;max-width:420px;margin:auto;box-shadow:0 8px 30px rgba(15,35,75,.06)}
.pdf-block .pdf-card-icon{width:72px;height:72px;border-radius:16px;background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:18px;box-shadow:0 8px 24px rgba(239,68,68,.3)}
.pdf-block .pdf-card h3{font-size:20px;color:#0c2340;margin:0}
.pdf-block .pdf-card .site-btn{margin:0;font-size:16px;padding:12px 28px}

/* ===== PDF VIEWER OVERLAY (Flipbook) ===== */
.pdf-viewer-overlay{position:fixed;inset:0;z-index:9999;background:rgba(2,12,27,.92);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0}
.pdf-viewer-overlay.open{display:flex}
.pdf-viewer-container{width:100vw;height:100vh;background:#1e293b;border-radius:0;overflow:hidden;display:flex;flex-direction:column;box-shadow:none}
.pdf-viewer-header{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;background:#0f172a;color:#fff;flex-shrink:0}
.pdf-viewer-header span{font-weight:700;font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:12px}
.pdf-close-btn{width:36px;height:36px;border:0;border-radius:50%;background:#ef4444;color:#fff;font-size:22px;line-height:1;cursor:pointer;flex-shrink:0;transition:background .2s}
.pdf-close-btn:hover{background:#dc2626}
.pdf-viewer-toolbar{display:flex;align-items:center;gap:8px;padding:6px 16px;background:#1e293b;border-top:1px solid #334155;flex-shrink:0;color:#94a3b8;font-size:14px;flex-wrap:wrap}
.pdf-viewer-toolbar button{background:#334155;border:0;color:#e2e8f0;padding:6px 14px;border-radius:8px;cursor:pointer;font-size:16px;font-weight:700;transition:background .2s}
.pdf-viewer-toolbar button:hover{background:#475569}
.pdf-viewer-toolbar button:disabled{opacity:.4;cursor:default}
.pdf-viewer-toolbar button:disabled:hover{background:#334155}
.pdf-viewer-body{flex:1;overflow:auto;display:flex;align-items:center;justify-content:center;padding:8px;background:#334155;position:relative}
.pdf-loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#94a3b8;font-size:18px;background:#1e293b;z-index:2}
.pdf-loading.hidden{display:none}
.pdf-book{display:flex;gap:16px;align-items:center;justify-content:center;width:100%;height:100%}
.pdf-book canvas{background:#fff;border-radius:6px;box-shadow:0 4px 30px rgba(0,0,0,.35)}

.pdf-viewer-toolbar #pdfZoomInfo{min-width:45px;text-align:center;font-weight:600}

.pdf-nav{position:absolute;top:0;bottom:0;width:35%;display:flex;align-items:center;justify-content:center;z-index:2;cursor:pointer;color:#fff;font-size:48px;font-weight:700;opacity:0;transition:opacity .2s;-webkit-tap-highlight-color:transparent;user-select:none;text-shadow:0 2px 12px rgba(0,0,0,.5)}
.pdf-nav-left{left:0;background:linear-gradient(90deg,rgba(0,0,0,.2),transparent)}
.pdf-nav-right{right:0;background:linear-gradient(270deg,rgba(0,0,0,.2),transparent)}
.pdf-viewer-body:hover .pdf-nav{opacity:.6}
.pdf-viewer-body .pdf-nav:active{opacity:1}
@media(hover:none){.pdf-nav{opacity:.4}}
@media(max-width:480px){.pdf-nav{width:30%;font-size:36px}}

/* PDF viewer responsive */
@media(max-width:800px){
  .pdf-viewer-container{border-radius:12px}
  .pdf-viewer-header{padding:10px 14px}
  .pdf-viewer-header span{font-size:14px}
  .pdf-viewer-toolbar{padding:6px 12px;gap:5px;font-size:13px}
  .pdf-viewer-toolbar button{padding:5px 10px;font-size:14px}
  .pdf-viewer-body{min-height:200px}
  .pdf-book{gap:8px}
}
@media(max-width:480px){
  .pdf-viewer-header{padding:8px 10px}
  .pdf-close-btn{width:32px;height:32px;font-size:18px}
  .pdf-viewer-toolbar{padding:4px 8px;gap:4px}
  .pdf-viewer-toolbar button{padding:4px 8px;font-size:13px}
  .pdf-viewer-body{min-height:150px}
  .pdf-book{gap:4px;flex-direction:column;align-items:center}
}
@media(max-width:480px){
  .pdf-attachment{padding:14px 16px;gap:12px}
  .pdf-attachment-icon{width:44px;height:44px;font-size:12px;border-radius:10px}
  .pdf-attachment-info strong{font-size:14px}
  .pdf-attachment-info span{font-size:12px}
  .pdf-attachment .site-btn{width:100%;text-align:center}
  .pdf-block .pdf-card{padding:28px 24px}
}

/* Website Counter Widget */
.counter-widget{
  background:#0b2344;color:#fff;padding:32px 24px;border-radius:16px;text-align:center;
  box-shadow:0 4px 24px rgba(0,0,0,.12)
}
.counter-title{font-size:20px;margin:0 0 20px;opacity:.9}
.counter-items{display:flex;gap:24px;justify-content:center;flex-wrap:wrap}
.counter-item{display:flex;flex-direction:column;align-items:center;min-width:100px}
.counter-num{font-size:36px;font-weight:800;line-height:1.2}
.counter-label{font-size:13px;opacity:.75;margin-top:4px}
@media(max-width:480px){
  .counter-num{font-size:28px}
  .counter-item{min-width:80px}
  .counter-widget{padding:24px 16px}
}
