/*
Theme Name: Raya Garment
Author: PT Raya Karsa Adhikari
Description: Landing page Raya Garment, blog dan integrasi Rank Math serta Google Tag Manager.
Version: 1.0.2
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: raya-garment
*/
:root {
  color-scheme: light;
  --ink:#102f35;
  --muted:#4a6267;
  --deep:#073b3e;
  --dark:#072f34;
  --teal:#006d67;
  --aqua:#76ebde;
  --mist:#eef8f6;
  --line:#c9e0dc;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color:var(--ink);
  background:#fff;
  line-height:1.6;
}
*, *::before, *::after { box-sizing:border-box; }
body, figure, p, h1, h2, h3 { margin:0; }
img { display:block; max-width:100%; height:auto; }
a { color:inherit; }
a, button, summary { -webkit-tap-highlight-color:transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline:3px solid #cb7200; outline-offset:4px; }
button { font:inherit; cursor:pointer; }
.wrap { width:min(calc(100% - 3rem), 72rem); margin-inline:auto; }
.section { padding-block:clamp(3.3rem,7vw,6rem); }
.surface { background:var(--mist); }
.skip { position:fixed; z-index:10; top:.5rem; left:.5rem; padding:.5rem; color:var(--dark); background:#fff; transform:translateY(-200%); }
.skip:focus { transform:none; }
.site-header { background:var(--dark); color:white; border-bottom:1px solid rgba(255,255,255,.16); }
.header-inner { display:flex; align-items:center; justify-content:space-between; gap:1.5rem; min-height:76px; }
.wordmark { display:inline-flex; flex:none; align-items:center; gap:.35rem; font-weight:900; letter-spacing:.045em; font-size:1.12rem; text-decoration:none; }
.wordmark span { color:var(--aqua); font-weight:650; }
nav { display:flex; flex-wrap:wrap; gap:clamp(.8rem,2.4vw,2rem); }
nav a { text-decoration:none; font-size:.9rem; font-weight:600; }
nav a:hover, footer a:hover { color:var(--aqua); text-decoration:underline; }
.menu { color:white; background:transparent; border:1px solid #87b9b4; border-radius:.45rem; padding:.4rem .75rem; }
.button { display:inline-flex; min-height:46px; align-items:center; justify-content:center; padding:.64rem 1.12rem; border:1px solid transparent; border-radius:.42rem; background:var(--aqua); color:var(--dark); font-size:.94rem; font-weight:750; text-decoration:none; }
.button:hover { background:#b1fbf0; }
.button.outline { color:#fff; background:transparent; border-color:#9fd6d1; }
.button.outline:hover { background:#17585a; }
.header-cta { min-height:40px; }
.hero { color:#fff; background:linear-gradient(122deg,#073b3e 10%,#0b5152 71%,#126a64); position:relative; }
.hero-inner { display:grid; grid-template-columns:1fr 1.05fr; align-items:center; gap:clamp(1.5rem,4vw,4.2rem); padding-block:clamp(3.4rem,6.8vw,6.4rem); }
.eyebrow { margin-bottom:.7rem; color:var(--teal); font-size:.88rem; letter-spacing:.11em; text-transform:uppercase; font-weight:750; }
.hero .eyebrow, .contact .eyebrow { color:var(--aqua); }
h1, h2, h3 { line-height:1.12; text-wrap:balance; }
h1 { font-size:clamp(2.65rem,5.4vw,5.15rem); letter-spacing:-.066em; }
h1 em { display:block; color:var(--aqua); font-style:normal; }
h2 { font-size:clamp(2rem,4vw,3.3rem); letter-spacing:-.048em; margin-bottom:1rem; }
h3 { font-size:1.28rem; letter-spacing:-.025em; }
p { color:var(--muted); }
p + p { margin-top:.85rem; }
.hero-copy { max-width:44ch; color:#e0f6f3; margin-top:1.1rem; font-size:1.1rem; }
.actions { display:flex; flex-wrap:wrap; gap:.7rem; margin-top:1.75rem; }
.hero-figure { overflow:hidden; background:var(--dark); border:1px solid #86c2bb; border-radius:.9rem; box-shadow:0 20px 48px #062d2c78; }
.hero-figure img { width:100%; aspect-ratio:6/5; object-fit:cover; object-position:center 48%; }
.hero-figure figcaption { padding:.7rem 1rem; color:#cef4ee; font-size:.88rem; }
.facts { background:#d8f3ee; }
.facts-grid { display:grid; grid-template-columns:repeat(3,1fr); padding-block:1.3rem; }
.facts-grid div { padding:.25rem clamp(.4rem,3vw,2.6rem); border-left:1px solid #98cdc3; }
.facts-grid div:first-child { padding-left:0; border-left:0; }
.facts-grid strong, .facts-grid span { display:block; }
.facts-grid strong { font-size:clamp(1.12rem,2.75vw,2rem); letter-spacing:-.04em; line-height:1.2; }
.facts-grid span { font-size:.88rem; margin-top:.3rem; color:#34595b; }
.intro, .split { display:grid; grid-template-columns:1fr 1.2fr; align-items:start; gap:clamp(1.5rem,6vw,5rem); }
.intro p:not(.eyebrow) { max-width:63ch; }
.cards { display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; margin-top:1.7rem; }
.cards article, .service-grid article { background:#fff; border:1px solid var(--line); border-top:3px solid #169d90; border-radius:.55rem; padding:1.25rem; }
.cards p, .service-grid p { margin-top:.6rem; }
#fasilitas .split { grid-template-columns:1.5fr 1fr; }
.facility-image { width:100%; aspect-ratio:4/5; object-fit:cover; object-position:center 48%; border-radius:.8rem; }
details { border-bottom:1px solid var(--line); padding-block:.82rem; }
* + details { margin-top:.25rem; }
p + details { margin-top:1rem; }
summary { cursor:pointer; font-weight:750; color:#115a56; }
details ul, details p { margin:.6rem 0 .2rem; color:var(--muted); }
details ul { padding-left:1.15rem; }
details li + li { margin-top:.3rem; }
.gallery { display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; margin-top:1.6rem; }
.gallery figure { background:white; border:1px solid var(--line); border-radius:.55rem; }
.gallery a { display:block; border-radius:.55rem .55rem 0 0; overflow:hidden; cursor:zoom-in; }
.gallery img { width:100%; aspect-ratio:4/3; object-fit:cover; object-position:center 49%; transition:transform .2s; }
.gallery a:hover img { transform:scale(1.04); }
.gallery figcaption { font-size:.9rem; padding:.53rem .7rem; }
.product-gallery { padding-bottom:0; }
.product-gallery .gallery img { aspect-ratio:1; object-position:center; }
.product-gallery details { margin-top:1rem; }
.service-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:1rem; margin-top:1.65rem; }
.service-grid h3 { font-size:1.5rem; }
.service-grid h3 span { display:block; color:var(--teal); margin-top:.35rem; font-size:.94rem; letter-spacing:0; }
.steps-title { margin-top:2.4rem; }
.steps { display:grid; grid-template-columns:repeat(5,1fr); gap:1rem; padding:0; margin-bottom:0; list-style:none; }
.steps li { border-top:1px solid var(--line); padding-top:.9rem; }
.steps .step-number { display:grid; place-items:center; width:1.7rem; height:1.7rem; font-weight:800; border-radius:50%; background:#d8f3ee; color:var(--teal); margin-bottom:.55rem; }
.steps strong, .steps span { display:block; }
.steps span { margin-top:.25rem; font-size:.94rem; color:var(--muted); }
.contact { background:var(--deep); color:#fff; padding-block:clamp(3.3rem,7vw,5.5rem); }
.contact h2 { max-width:16ch; }
.contact p { color:#e0f6f3; }
.contact .button { margin-top:1.35rem; }
.contact-card { border:1px solid #598c88; border-radius:.7rem; background:#114a4b; padding:1.45rem; overflow-wrap:anywhere; }
.contact-card p, address { margin-top:.65rem; }
address { font-style:normal; }
.map { color:var(--aqua); display:inline-block; margin-top:.7rem; }
footer { background:var(--dark); color:#fff; }
.footer-inner { padding-block:1.25rem; display:flex; justify-content:space-between; flex-wrap:wrap; gap:.7rem 1.4rem; align-items:center; font-size:.9rem; }
.footer-inner p { color:#c0dedb; }
dialog { width:min(calc(100% - 1.2rem),56rem); max-height:95dvh; border:0; border-radius:.7rem; padding:.7rem; }
dialog::backdrop { background:#031f24df; }
dialog form { text-align:right; margin-bottom:.5rem; }
dialog button { border:0; border-radius:.35rem; background:var(--aqua); color:var(--dark); font-weight:700; padding:.42rem .72rem; }
dialog img { max-height:calc(91dvh - 6rem); max-width:100%; width:auto; margin:auto; }
dialog p { text-align:center; padding-top:.5rem; }
@media (max-width: 880px) {
  .header-cta { display:none; }
  .cards, .gallery { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 740px) {
  .wrap { width:calc(100% - 2rem); }
  .header-inner { flex-wrap:wrap; min-height:64px; gap:0; }
  .header-inner nav { flex-basis:100%; padding:.45rem 0 .85rem; }
  .has-menu nav:not(.is-open) { display:none; }
  .hero-inner, .intro, .split, #fasilitas .split { grid-template-columns:1fr; gap:1.4rem; }
  .hero-inner { padding-block:2.5rem; }
  .hero-figure img { aspect-ratio:5/4; }
  .intro h2, .faq h2 { margin-bottom:0; }
  .facility-image { max-height:32rem; }
  .steps { grid-template-columns:repeat(2,1fr); }
  .facts-grid span { font-size:.82rem; }
}
@media (max-width: 400px) {
  .cards, .service-grid { grid-template-columns:1fr; }
  .facts-grid { padding-block:1.05rem; }
  .facts-grid div { padding-inline:.45rem; }
}
@media (prefers-reduced-motion:reduce) { *, *::before, *::after { transition:none !important; } }

.entry-shell { max-width:48rem; }
.entry-shell .breadcrumbs { margin-bottom:1rem; }
.entry-shell h1, .blog-heading h1 { font-size:clamp(2.25rem,6vw,4rem); margin-bottom:1.25rem; }
.entry-content { overflow-wrap:anywhere; }
.entry-content > * + * { margin-top:1rem; }
.entry-content + .entry-links { margin-top:1.75rem; }
.entry-links { display:flex; flex-wrap:wrap; align-items:center; gap:1rem; }
.entry-links .button { background:var(--deep); color:#fff; }
.entry-links .button:hover { background:#105c5d; }
.post-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; margin-top:1.4rem; }
.post-grid article { background:white; border:1px solid var(--line); border-radius:.55rem; padding:1.15rem; }
.post-grid h2, .post-grid h3 { font-size:1.2rem; line-height:1.25; margin-bottom:.55rem; letter-spacing:-.025em; }
.post-grid a { text-underline-offset:.18em; }
.blog-link { display:inline-block; margin-top:1.25rem; color:var(--teal); font-weight:750; }
.pagination { margin-top:1.25rem; }
.footer-links { display:flex; flex-wrap:wrap; gap:.5rem 1rem; }
.mobile-wa { display:none; }
@media (max-width:740px) {
  .post-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .mobile-wa { display:block; position:fixed; z-index:5; right:1rem; bottom:max(1rem, env(safe-area-inset-bottom)); }
  .mobile-wa .button { box-shadow:0 3px 12px #09282e45; border-color:#136a67; }
  body.home footer { padding-bottom:4.2rem; }
}
@media (max-width:440px) { .post-grid { grid-template-columns:1fr; } }
