/*
Theme Name: rkoboiler
Theme URI: https://www.rkoboiler.com
Author: RKO Boiler
Description: Custom theme for rkoboiler.com — industrial boiler catalogue, technical guides and multilingual site.
Version: 1.0.5
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: yxboilerid
*/

:root{
  --yx-red:#f73229;
  --yx-red-dark:#d8261d;
  --yx-dark:#191919;
  --yx-body:#4b5563;
  --yx-muted:#8b929c;
  --yx-line:#e6e8ec;
  --yx-soft:#f6f7f9;
  --yx-navy:#0b2d4d;
  --yx-radius:14px;
  --yx-shadow:0 10px 30px rgba(17,24,39,.08);
  --yx-shadow-lg:0 24px 60px rgba(17,24,39,.14);
  --yx-container:1200px;
  --yx-font:"Muli","Mulish",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  --yx-head:"Poppins",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;font-family:var(--yx-font);font-size:16px;line-height:1.75;
  color:var(--yx-body);background:#fff;overflow-x:clip;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--yx-red);text-decoration:none;transition:color .2s ease}
a:hover{color:var(--yx-red-dark)}
h1,h2,h3,h4,h5,h6{font-family:var(--yx-head);color:var(--yx-dark);line-height:1.25;margin:0 0 .6em;font-weight:700}
h1{font-size:clamp(30px,4vw,54px)}
h2{font-size:clamp(24px,2.8vw,40px)}
h3{font-size:clamp(19px,1.6vw,24px)}
p{margin:0 0 1.1em}
ul,ol{padding-left:1.2em}
.yx-container{width:100%;max-width:var(--yx-container);margin:0 auto;padding:0 20px}
.yx-section{padding:84px 0}
.yx-section--soft{background:var(--yx-soft)}
.yx-eyebrow{display:inline-flex;align-items:center;gap:8px;font-family:var(--yx-head);font-size:13px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--yx-red);margin-bottom:14px}
.yx-eyebrow::before{content:"";width:26px;height:2px;background:var(--yx-red);display:block}
.yx-lead{font-size:17px;color:var(--yx-body);max-width:760px}
.yx-center{text-align:center}
.yx-center .yx-lead{margin-left:auto;margin-right:auto}
.yx-center .yx-eyebrow{justify-content:center}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}

/* ---------- buttons ---------- */
.yx-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  padding:13px 28px;border-radius:8px;font-family:var(--yx-head);font-weight:600;font-size:15px;
  background:var(--yx-red);color:#fff;border:0;cursor:pointer;transition:.22s ease;
  box-shadow:0 8px 22px rgba(247,50,41,.28);
}
.yx-btn:hover{background:var(--yx-red-dark);color:#fff;transform:translateY(-1px)}
.yx-btn--ghost{background:transparent;color:var(--yx-dark);border:1.5px solid var(--yx-line);box-shadow:none}
.yx-btn--ghost:hover{background:var(--yx-dark);border-color:var(--yx-dark);color:#fff}
.yx-btn--light{background:#fff;color:var(--yx-red);box-shadow:0 8px 22px rgba(0,0,0,.12)}
.yx-btn--light:hover{background:var(--yx-dark);color:#fff}

/* ---------- top bar ---------- */
.yx-topbar{background:#fff;border-bottom:1px solid var(--yx-line)}
.yx-topbar__inner{display:flex;align-items:center;gap:28px;min-height:104px;flex-wrap:wrap;padding:14px 0}
.yx-logo{display:flex;align-items:center;gap:12px;flex:0 0 auto}
.yx-logo img{max-height:74px;width:auto}
.yx-logo__text{font-family:var(--yx-head);font-weight:700;font-size:20px;color:var(--yx-dark);line-height:1.1;letter-spacing:.02em}
.yx-logo__text span{display:block;font-size:11px;letter-spacing:.22em;color:var(--yx-red);font-weight:600;margin-top:3px}
.yx-info{display:flex;align-items:center;gap:12px}
.yx-info img{width:30px;height:30px;object-fit:contain}
.yx-info__label{font-family:var(--yx-head);font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--yx-muted);display:block;margin-bottom:2px}
.yx-info__value{font-family:var(--yx-head);font-weight:600;color:var(--yx-dark);font-size:15px;line-height:1.45}
.yx-info__value a{color:var(--yx-dark)}
.yx-info__value a:hover{color:var(--yx-red)}
.yx-topbar__cta{margin-left:auto}
.yx-topbar__cta .yx-btn{padding:12px 24px;font-size:14px}

/* ---------- main nav ---------- */
.yx-nav{background:var(--yx-red);position:sticky;top:0;z-index:90;box-shadow:0 2px 0 rgba(0,0,0,.04)}
body.admin-bar .yx-nav{top:32px}
.yx-nav__inner{display:flex;align-items:center;gap:6px;min-height:56px}
.yx-menu{display:flex;align-items:center;gap:2px;list-style:none;margin:0;padding:0}
.yx-menu>li{position:relative}
.yx-menu>li>a{
  display:block;padding:17px 18px;color:#fff;font-family:var(--yx-head);font-size:14.5px;font-weight:600;letter-spacing:.02em;
}
.yx-menu>li>a:hover,.yx-menu>li.current-menu-item>a,.yx-menu>li.current-menu-ancestor>a{background:rgba(0,0,0,.13);color:#fff}
.yx-menu .sub-menu{
  position:absolute;top:100%;left:0;min-width:290px;background:#fff;list-style:none;margin:0;padding:8px 0;
  box-shadow:var(--yx-shadow-lg);border-radius:0 0 10px 10px;opacity:0;visibility:hidden;transform:translateY(8px);transition:.2s ease;
}
.yx-menu li:hover>.sub-menu{opacity:1;visibility:visible;transform:translateY(0)}
.yx-menu .sub-menu a{display:block;padding:11px 20px;color:var(--yx-dark);font-size:14px;line-height:1.4}
.yx-menu .sub-menu a:hover{background:var(--yx-soft);color:var(--yx-red)}
.yx-nav__search{margin-left:auto;display:flex;align-items:center}
.yx-nav__search input{
  width:210px;padding:9px 14px;border:0;border-radius:6px 0 0 6px;font-size:14px;font-family:var(--yx-font);
  background:rgba(255,255,255,.18);color:#fff;outline:none;
}
.yx-nav__search input::placeholder{color:rgba(255,255,255,.8)}
.yx-nav__search button{
  border:0;background:rgba(0,0,0,.18);color:#fff;padding:9px 15px;border-radius:0 6px 6px 0;cursor:pointer;font-size:13px;font-family:var(--yx-head);font-weight:600;
}
.yx-nav__search button:hover{background:rgba(0,0,0,.3)}
.yx-burger{display:none;background:transparent;border:0;color:#fff;padding:16px 4px;cursor:pointer;font-size:13px;font-family:var(--yx-head);font-weight:600;align-items:center;gap:8px}
.yx-burger span{display:block;width:22px;height:2px;background:#fff;position:relative}
.yx-burger span::before,.yx-burger span::after{content:"";position:absolute;left:0;width:22px;height:2px;background:#fff}
.yx-burger span::before{top:-7px}.yx-burger span::after{top:7px}
.yx-nav__tel{display:none}

/* ---------- hero ---------- */
.yx-hero{position:relative;overflow:hidden;background:var(--yx-navy);color:#fff}
.yx-hero__slides{position:relative;height:clamp(380px,42vw,560px)}
.yx-hero__slide{
  position:absolute;inset:0;display:flex;align-items:center;
  background-size:cover;background-position:center;
  opacity:0;transition:opacity .9s ease;pointer-events:none;
}
.yx-hero__slide.is-active{opacity:1;pointer-events:auto}
.yx-hero__slide::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.99) 0%,rgba(255,255,255,.985) 46%,rgba(255,255,255,.78) 66%,rgba(255,255,255,.2) 88%,rgba(255,255,255,0) 100%)}
.yx-hero__content{position:relative;z-index:2;max-width:640px;padding:40px 0;color:var(--yx-dark)}
.yx-hero__welcome{font-family:var(--yx-head);font-size:13px;font-weight:600;letter-spacing:.24em;text-transform:uppercase;color:var(--yx-muted);margin-bottom:10px}
.yx-hero h1{margin:0 0 14px;font-size:clamp(28px,4.2vw,56px);letter-spacing:-.01em}
.yx-hero p{max-width:520px;color:#3f4854;margin-bottom:24px}
.yx-hero__badges{display:flex;gap:34px;flex-wrap:wrap;margin-top:26px}
.yx-badge{display:flex;align-items:center;gap:12px}
.yx-badge img{width:56px;height:56px;border-radius:50%;background:#fff;padding:12px;box-shadow:var(--yx-shadow)}
.yx-badge:nth-child(3) img{background:var(--yx-red);padding:13px}
.yx-badge strong{display:block;font-family:var(--yx-head);font-size:19px;color:var(--yx-dark);line-height:1.1}
.yx-badge span{font-family:var(--yx-head);font-size:14px;color:var(--yx-muted);font-weight:500}
.yx-hero__dots{position:absolute;left:0;right:0;bottom:18px;display:flex;justify-content:center;gap:9px;z-index:3}
.yx-hero__dots button{width:10px;height:10px;border-radius:50%;border:0;background:rgba(25,25,25,.25);cursor:pointer;padding:0}
.yx-hero__dots button.is-active{background:var(--yx-red);width:26px;border-radius:6px}

/* ---------- about ---------- */
.yx-about{display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center}
.yx-about__media{position:relative}
.yx-about__media img{border-radius:var(--yx-radius);box-shadow:var(--yx-shadow-lg);width:100%;object-fit:cover}
.yx-about__stats{display:flex;gap:28px;margin:28px 0 30px;flex-wrap:wrap}
.yx-stat strong{display:block;font-family:var(--yx-head);font-size:clamp(28px,3vw,40px);color:var(--yx-red);line-height:1}
.yx-stat span{font-size:14px;color:var(--yx-body)}
.yx-check{list-style:none;padding:0;margin:0 0 26px;display:grid;gap:10px}
.yx-check li{position:relative;padding-left:30px}
.yx-check li::before{content:"";position:absolute;left:0;top:7px;width:16px;height:16px;border-radius:50%;background:#fde8e6;border:1.5px solid var(--yx-red)}
.yx-check li::after{content:"";position:absolute;left:5px;top:11px;width:6px;height:3px;border-left:2px solid var(--yx-red);border-bottom:2px solid var(--yx-red);transform:rotate(-45deg)}

/* ---------- feature cards ---------- */
.yx-grid{display:grid;gap:24px}
.yx-grid--4{grid-template-columns:repeat(4,1fr)}
.yx-grid--3{grid-template-columns:repeat(3,1fr)}
.yx-grid--2{grid-template-columns:repeat(2,1fr)}
.yx-card{background:#fff;border:1px solid var(--yx-line);border-radius:var(--yx-radius);padding:32px 26px;transition:.24s ease}
.yx-card:hover{transform:translateY(-4px);box-shadow:var(--yx-shadow-lg);border-color:transparent}
.yx-card__icon{width:54px;height:54px;object-fit:contain;margin-bottom:16px}
.yx-card h3{font-size:19px;margin-bottom:8px}
.yx-card p{font-size:14.5px;margin:0;color:var(--yx-body)}
.yx-card--accent{background:var(--yx-red);border-color:var(--yx-red);color:rgba(255,255,255,.92)}
.yx-card--accent h3,.yx-card--accent a{color:#fff}
.yx-card--accent p{color:rgba(255,255,255,.86)}

/* ---------- products ---------- */
.yx-products{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.yx-product{background:#fff;border:1px solid var(--yx-line);border-radius:var(--yx-radius);overflow:hidden;display:flex;flex-direction:column;transition:.24s ease}
.yx-product:hover{box-shadow:var(--yx-shadow-lg);transform:translateY(-4px)}
.yx-product__media{background:linear-gradient(180deg,#f2f5f9,#fff);padding:24px;display:flex;align-items:center;justify-content:center;min-height:230px}
.yx-product__media img{max-height:190px;width:auto;object-fit:contain;transition:transform .3s ease}
.yx-product:hover .yx-product__media img{transform:scale(1.04)}
.yx-product__body{padding:22px 24px 26px;display:flex;flex-direction:column;gap:10px;flex:1}
.yx-product__body h3{font-size:18px;margin:0}
.yx-product__body p{font-size:14px;margin:0;flex:1}
.yx-product__link{font-family:var(--yx-head);font-weight:600;font-size:14px;display:inline-flex;align-items:center;gap:6px}
.yx-product__link::after{content:"→";transition:transform .2s ease}
.yx-product__link:hover::after{transform:translateX(4px)}

/* ---------- cta band ---------- */
.yx-cta{position:relative;color:#fff;background:var(--yx-dark) center/cover no-repeat;padding:96px 0;overflow:hidden}
.yx-cta::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(11,45,77,.94),rgba(11,45,77,.72))}
.yx-cta__inner{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:40px;flex-wrap:wrap}
.yx-cta h2{color:#fff;margin:0 0 8px}
.yx-cta p{color:rgba(255,255,255,.86);margin:0;max-width:640px}
.yx-cta__kicker{font-family:var(--yx-head);font-size:13px;letter-spacing:.2em;text-transform:uppercase;color:#ffb4ae;margin-bottom:12px;display:block}

/* ---------- testimonials ---------- */
.yx-quotes{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.yx-quote{background:#fff;border:1px solid var(--yx-line);border-radius:var(--yx-radius);padding:28px 26px;display:flex;flex-direction:column;gap:14px}
.yx-quote__stars{color:#f5a623;letter-spacing:2px;font-size:14px}
.yx-quote p{margin:0;font-size:14.5px;color:#3f4854;flex:1}
.yx-quote__author{display:flex;align-items:center;gap:12px;border-top:1px solid var(--yx-line);padding-top:14px}
.yx-quote__avatar{width:40px;height:40px;border-radius:50%;background:#fde8e6;color:var(--yx-red);display:flex;align-items:center;justify-content:center;font-family:var(--yx-head);font-weight:700}
.yx-quote__name{font-family:var(--yx-head);font-weight:600;color:var(--yx-dark);font-size:14.5px}
.yx-quote__role{font-size:12.5px;color:var(--yx-muted)}

/* ---------- counters ---------- */
.yx-counters{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;text-align:center}
.yx-counter{background:#fff;border-radius:var(--yx-radius);padding:34px 20px;border:1px solid var(--yx-line)}
.yx-counter strong{display:block;font-family:var(--yx-head);font-size:clamp(30px,4vw,48px);color:var(--yx-red);line-height:1}
.yx-counter span{font-family:var(--yx-head);font-weight:500;color:var(--yx-dark);font-size:14.5px}

/* ---------- articles ---------- */
.yx-posts{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.yx-post{background:#fff;border:1px solid var(--yx-line);border-radius:var(--yx-radius);overflow:hidden;display:flex;flex-direction:column;transition:.24s ease}
.yx-post:hover{box-shadow:var(--yx-shadow-lg);transform:translateY(-3px)}
.yx-post__thumb{aspect-ratio:3/2;overflow:hidden;background:var(--yx-soft)}
.yx-post__thumb img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.yx-post:hover .yx-post__thumb img{transform:scale(1.05)}
.yx-post__body{padding:22px 22px 24px;display:flex;flex-direction:column;gap:10px;flex:1}
.yx-post__meta{font-size:12.5px;color:var(--yx-muted);font-family:var(--yx-head);letter-spacing:.02em}
.yx-post__body h3{font-size:17.5px;margin:0;line-height:1.4}
.yx-post__body h3 a{color:var(--yx-dark)}
.yx-post__body h3 a:hover{color:var(--yx-red)}
.yx-post__body p{font-size:14px;margin:0;flex:1}

/* ---------- page content ---------- */
.yx-page-head{background:linear-gradient(90deg,#0b2d4d,#14416b);color:#fff;padding:64px 0 58px;position:relative;overflow:hidden}
.yx-page-head::after{content:"";position:absolute;right:-60px;top:-60px;width:280px;height:280px;border-radius:50%;background:rgba(247,50,41,.22)}
.yx-page-head h1{color:#fff;margin:0 0 8px;position:relative;z-index:2}
.yx-page-head .yx-breadcrumb{position:relative;z-index:2;font-size:14px;color:rgba(255,255,255,.78);font-family:var(--yx-head)}
.yx-page-head .yx-breadcrumb a{color:#fff}
.yx-entry{max-width:900px;margin:0 auto}
.yx-entry h2,.yx-entry h3{margin-top:1.6em}
.yx-entry img{border-radius:10px;margin:1.2em auto;max-width:100%;height:auto;display:block}
.yx-entry figure{margin:1.4em 0}
.yx-entry figure img{margin:0 auto}
.yx-entry .wp-caption{max-width:100%}
.yx-page-media{margin:0 auto 1.8em;max-width:560px;display:flex;justify-content:center;background:linear-gradient(180deg,#f2f5f9,#fff);border:1px solid var(--yx-line);border-radius:14px;padding:22px}
.yx-page-media img{margin:0;width:100%;max-width:460px;height:auto;object-fit:contain;border-radius:10px}
.yx-entry table{width:100%;border-collapse:collapse;margin:1.2em 0;font-size:14.5px}
.yx-entry th,.yx-entry td{border:1px solid var(--yx-line);padding:10px 12px;text-align:left}
.yx-entry th{background:var(--yx-soft);font-family:var(--yx-head)}
.yx-entry blockquote{margin:1.4em 0;padding:16px 22px;border-left:4px solid var(--yx-red);background:var(--yx-soft);border-radius:0 10px 10px 0}

/* ---------- forms ---------- */
.yx-form{display:grid;gap:16px}
.yx-form input,.yx-form textarea,.yx-form select{
  width:100%;padding:13px 15px;border:1px solid var(--yx-line);border-radius:8px;font-family:var(--yx-font);font-size:15px;background:#fff;color:var(--yx-dark);
}
.yx-form input:focus,.yx-form textarea:focus,.yx-form select:focus{outline:none;border-color:var(--yx-red);box-shadow:0 0 0 3px rgba(247,50,41,.12)}
.wpcf7-form p{margin:0 0 14px}
.wpcf7-form input[type=submit]{background:var(--yx-red);color:#fff;border:0;border-radius:8px;padding:13px 30px;font-family:var(--yx-head);font-weight:600;cursor:pointer}
.yx-contact-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:44px;align-items:start}
.yx-contact-card{background:#fff;border:1px solid var(--yx-line);border-radius:var(--yx-radius);padding:26px}
.yx-contact-item{display:flex;gap:14px;padding:14px 0;border-bottom:1px dashed var(--yx-line)}
.yx-contact-item:last-child{border-bottom:0}
.yx-contact-item img{width:26px;height:26px}
.yx-contact-item strong{display:block;font-family:var(--yx-head);font-size:14px;color:var(--yx-dark)}
.yx-contact-item span,.yx-contact-item a{font-size:14.5px;color:var(--yx-body)}

/* ---------- footer ---------- */
.yx-footer{background:#111a24;color:rgba(255,255,255,.72);padding:64px 0 0;margin-top:0}
.yx-footer a{color:rgba(255,255,255,.78)}
.yx-footer a:hover{color:#fff}
.yx-footer__grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1.1fr;gap:36px;padding-bottom:44px}
.yx-footer h4{color:#fff;font-size:16px;margin:0 0 16px;letter-spacing:.02em}
.yx-footer p{font-size:14px;line-height:1.8;margin:0 0 10px}
.yx-footer ul{list-style:none;padding:0;margin:0;display:grid;gap:9px;font-size:14px}
.yx-footer__logo{max-height:66px;margin-bottom:16px}
.yx-footer__bottom{border-top:1px solid rgba(255,255,255,.1);padding:18px 0;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:13px}
.yx-footer__brand{font-family:var(--yx-head);font-weight:700;letter-spacing:.1em;color:#fff;border-bottom:1px solid rgba(255,255,255,.35);padding-bottom:1px}
.yx-footer__brand:hover{color:#fff;border-color:var(--yx-red)}

/* ---------- floating contact (desktop rail / mobile bar) ---------- */
.yx-fab{position:fixed;right:18px;top:50%;transform:translateY(-50%);z-index:95;display:flex;flex-direction:column;background:#fff;border:1px solid var(--yx-line);border-radius:12px;box-shadow:0 18px 45px rgba(17,24,39,.18);overflow:hidden}
.yx-fab__item{width:76px;height:74px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border-bottom:1px solid var(--yx-line);color:var(--yx-dark);transition:.22s ease}
.yx-fab__item:last-child{border-bottom:0}
.yx-fab__ico{width:24px;height:24px;display:block}
.yx-fab__ico svg{width:100%;height:100%;display:block}
.yx-fab__label{font-family:var(--yx-head);font-size:10px;font-weight:700;line-height:1;letter-spacing:.02em;color:#333;transition:color .22s ease}
.yx-fab__item--wa .yx-fab__ico{color:#25d366}
.yx-fab__item--mail .yx-fab__ico{color:#1c6ee8}
.yx-fab__item--contact .yx-fab__ico{color:var(--yx-navy)}
.yx-fab__item:hover{color:#fff}
.yx-fab__item:hover .yx-fab__ico,.yx-fab__item:hover .yx-fab__label{color:#fff}
.yx-fab__item--wa:hover{background:#25d366}
.yx-fab__item--mail:hover{background:#1c6ee8}
.yx-fab__item--contact:hover{background:var(--yx-navy)}

/* ---------- pagination ---------- */
.yx-pagination{display:flex;gap:8px;justify-content:center;margin-top:44px;list-style:none;padding:0}
.yx-pagination .page-numbers{padding:9px 15px;border-radius:8px;border:1px solid var(--yx-line);color:var(--yx-dark);font-family:var(--yx-head);font-weight:600;font-size:14px}
.yx-pagination .page-numbers.current,.yx-pagination .page-numbers:hover{background:var(--yx-red);border-color:var(--yx-red);color:#fff}

/* ---------- responsive ---------- */
@media (max-width:1100px){
  .yx-topbar__inner{gap:18px}
  .yx-grid--4{grid-template-columns:repeat(2,1fr)}
  .yx-products,.yx-quotes,.yx-posts{grid-template-columns:repeat(2,1fr)}
  .yx-footer__grid{grid-template-columns:1fr 1fr}
}
@media (max-width:991px){
  .yx-about{grid-template-columns:1fr;gap:34px}
  .yx-about__media{order:-1}
  .yx-contact-grid{grid-template-columns:1fr}
  .yx-hero__slides{height:auto;min-height:0}
  .yx-hero__slide{position:relative;display:none;opacity:1}
  .yx-hero__slide.is-active{display:flex}
  .yx-hero__slide::before{background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(255,255,255,.86))}
  .yx-hero__content{padding:46px 0}
  .yx-hero__dots{position:static;padding:16px 0 22px;background:#fff}
}
/* Bottom contact bar for tablet and narrower desktops (avoids rail overlap) */
@media (max-width:1399px){
  .yx-fab{top:auto;bottom:0;left:0;right:0;transform:none;flex-direction:row;border-radius:0;border:0;border-top:1px solid var(--yx-line);box-shadow:0 -6px 22px rgba(0,0,0,.14);padding-bottom:env(safe-area-inset-bottom)}
  .yx-fab__item{flex:1;width:auto;height:60px;border-bottom:0;border-right:1px solid var(--yx-line);gap:4px}
  .yx-fab__item:last-child{border-right:0}
  .yx-fab__ico{width:21px;height:21px}
  .yx-fab__label{font-size:11px}
  body{padding-bottom:calc(60px + env(safe-area-inset-bottom))}
}
@media (max-width:820px){
  .yx-logo img{height:48px}
  .yx-footer__logo{height:46px}
  .yx-section{padding:60px 0}
  body.admin-bar .yx-nav{top:46px}
  .yx-topbar__inner{min-height:0;padding:12px 0}
  .yx-info{display:none}
  .yx-topbar__cta{margin-left:auto}
  .yx-nav__inner{flex-wrap:wrap}
  .yx-burger{display:inline-flex}
  .yx-nav__tel{display:inline-flex;align-items:center;margin-left:auto;color:#fff;font-family:var(--yx-head);font-weight:600;font-size:13px;letter-spacing:.01em;padding:10px 0}
  .yx-nav__tel:hover{color:#fff}
  .yx-nav__tel::before{content:"\260E";margin-right:6px;font-size:14px}
  .yx-nav__search{display:none}
  .yx-menu{
    display:none;flex-direction:column;align-items:stretch;width:100%;padding:6px 0 12px;
  }
  .yx-menu.is-open{display:flex}
  .yx-menu>li>a{padding:13px 4px;border-bottom:1px solid rgba(255,255,255,.14)}
  .yx-menu .sub-menu{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;border-radius:0;background:rgba(0,0,0,.1);min-width:0;padding:0}
  .yx-menu .sub-menu a{color:#fff;padding:11px 16px}
  .yx-menu .sub-menu a:hover{background:rgba(0,0,0,.18);color:#fff}
}
@media (max-width:640px){
  .yx-grid--4,.yx-grid--3,.yx-grid--2,.yx-products,.yx-quotes,.yx-posts,.yx-counters{grid-template-columns:1fr}
  .yx-hero__badges{gap:18px}
  .yx-badge img{width:46px;height:46px;padding:9px}
  .yx-badge strong{font-size:16px}
  .yx-footer__grid{grid-template-columns:1fr;gap:28px}
  .yx-cta{padding:64px 0}
  .yx-cta__inner{flex-direction:column;align-items:flex-start}
}

/* ============================================================
   v2 — tampilan baru (layout terpisah dari referensi)
   ============================================================ */

.yx-ic{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}
.yx-ic svg{width:100%;height:100%;display:block}
.yx-ic--soft{width:38px;height:38px;border-radius:10px;background:#fdeceb;padding:8px}

/* --- hero split --- */
.yx-hero--split{background-size:cover;background-position:center;padding:84px 0 88px;color:#fff}
.yx-hero__grid{display:grid;grid-template-columns:1.15fr .85fr;gap:48px;align-items:center}
.yx-hero__eyebrow{font-family:var(--yx-head);font-size:12.5px;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:#ff9b95;margin-bottom:14px;display:inline-block}
.yx-hero--split h1{color:#fff;font-size:clamp(28px,3.6vw,50px);line-height:1.14;margin:0 0 18px;max-width:15ch}
.yx-hero--split p{color:rgba(255,255,255,.82);max-width:56ch;margin:0 0 26px;font-size:16.5px}
.yx-hero__actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:34px}
.yx-btn--outline{background:transparent;border:1.5px solid rgba(255,255,255,.42);color:#fff;box-shadow:none}
.yx-btn--outline:hover{background:rgba(255,255,255,.12);border-color:#fff;color:#fff}
.yx-hero__facts{display:flex;gap:34px;flex-wrap:wrap;list-style:none;margin:0;padding:0}
.yx-hero__facts li{display:flex;flex-direction:column;gap:2px;padding-left:14px;border-left:2px solid rgba(247,50,41,.85)}
.yx-hero__facts strong{font-family:var(--yx-head);font-size:17px;color:#fff;line-height:1.2;text-shadow:0 1px 10px rgba(0,0,0,.5)}
.yx-hero__facts span{font-size:13px;color:rgba(255,255,255,.75);text-shadow:0 1px 8px rgba(0,0,0,.45)}

.yx-hero__panel{background:rgba(255,255,255,.96);color:var(--yx-dark);border-radius:16px;padding:28px 28px 24px;box-shadow:0 30px 70px rgba(0,0,0,.28)}
.yx-hero__panel h2{font-size:17px;margin:0 0 16px;letter-spacing:.01em}
.yx-hero__panel dl{margin:0 0 18px;display:grid;gap:12px}
.yx-hero__panel dl div{display:flex;justify-content:space-between;gap:18px;border-bottom:1px dashed var(--yx-line);padding-bottom:10px}
.yx-hero__panel dl div:last-child{border-bottom:0;padding-bottom:0}
.yx-hero__panel dt{font-family:var(--yx-head);font-size:12.5px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--yx-muted);flex:0 0 42%}
.yx-hero__panel dd{margin:0;font-size:14px;color:#374151;text-align:right}
.yx-panel__link{font-family:var(--yx-head);font-weight:600;font-size:14px;color:var(--yx-red)}

/* --- section head --- */
.yx-section__head{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;flex-wrap:wrap;margin-bottom:40px}
.yx-section__head h2{margin:0;max-width:26ch}
.yx-section__note{max-width:42ch;margin:0;font-size:15px;color:var(--yx-body)}
.yx-section__head--light h2,.yx-section--dark h2,.yx-section--dark h3{color:#fff}
.yx-section--dark{background:#0d2740;color:rgba(255,255,255,.78)}
.yx-section--dark .yx-eyebrow{color:#ff9b95}
.yx-section--dark .yx-eyebrow::before{background:#ff9b95}

/* --- reasons --- */
.yx-reasons{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.yx-reason{display:flex;gap:18px;padding:24px;border:1px solid rgba(255,255,255,.14);border-radius:14px;background:rgba(255,255,255,.04)}
.yx-reason__no{font-family:var(--yx-head);font-weight:700;font-size:26px;color:#f73229;line-height:1;opacity:.9}
.yx-reason h3{font-size:17px;margin:0 0 6px}
.yx-reason p{margin:0;font-size:14.5px;color:rgba(255,255,255,.7)}

/* --- sectors --- */
.yx-sectors{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.yx-sector{border:1px solid var(--yx-line);border-radius:12px;padding:22px;background:#fff;transition:.2s ease}
.yx-sector:hover{border-color:#f7c9c6;box-shadow:var(--yx-shadow);transform:translateY(-2px)}
.yx-sector strong{display:block;font-family:var(--yx-head);font-size:16px;color:var(--yx-dark);margin-bottom:4px}
.yx-sector span{font-size:13.5px;color:var(--yx-body)}

/* --- about panel & steps --- */
.yx-about__panel{background:#fff;border:1px solid var(--yx-line);border-radius:16px;padding:30px}
.yx-about__panel h3{font-size:18px;margin:0 0 18px}
.yx-steps{list-style:none;margin:0;padding:0;display:grid;gap:16px;counter-reset:s}
.yx-steps li{display:flex;gap:14px;align-items:flex-start}
.yx-steps li>span{width:28px;height:28px;flex:0 0 28px;border-radius:50%;background:#fdeceb;color:var(--yx-red);font-family:var(--yx-head);font-weight:700;font-size:13px;display:flex;align-items:center;justify-content:center}
.yx-steps strong{display:block;font-family:var(--yx-head);font-size:15px;color:var(--yx-dark)}
.yx-steps p{margin:2px 0 0;font-size:13.5px}

/* --- faq --- */
.yx-faq-list{max-width:860px;margin:0 auto;display:grid;gap:12px}
.yx-faq-list details{border:1px solid var(--yx-line);border-radius:12px;background:#fff;padding:0}
.yx-faq-list summary{cursor:pointer;padding:18px 22px;font-family:var(--yx-head);font-weight:600;font-size:15.5px;color:var(--yx-dark);list-style:none;display:flex;justify-content:space-between;gap:16px}
.yx-faq-list summary::-webkit-details-marker{display:none}
.yx-faq-list summary::after{content:"+";color:var(--yx-red);font-size:20px;line-height:1}
.yx-faq-list details[open] summary::after{content:"–"}
.yx-faq-list details p{margin:0;padding:0 22px 20px;font-size:14.5px;color:var(--yx-body)}

/* --- product tag & svg media --- */
.yx-tag{display:inline-block;font-family:var(--yx-head);font-size:11.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--yx-red);background:#fdeceb;padding:4px 10px;border-radius:20px}
.yx-product__media{background:linear-gradient(180deg,#f4f7fb,#fff);min-height:220px;padding:18px}
.yx-product__media img{max-height:200px}

/* --- floating mail --- */
.yx-float .mail{background:#0d2740}
.yx-float .mail .yx-ic svg{stroke:#fff}

/* --- responsive --- */
@media (max-width:991px){
  .yx-hero__grid{grid-template-columns:1fr;gap:34px}
  .yx-hero--split{padding:64px 0}
  .yx-reasons{grid-template-columns:1fr}
  .yx-sectors{grid-template-columns:1fr 1fr}
}
@media (max-width:640px){
  .yx-sectors{grid-template-columns:1fr}
  .yx-hero__facts{gap:20px}
  .yx-hero__facts strong{font-size:15px}
  .yx-hero__panel{padding:22px}
  .yx-hero__panel dd{text-align:left}
  .yx-hero__panel dl div{flex-direction:column;gap:2px}
}

/* Logo eksplisit (SVG tanpa ukuran intrinsik) */
.yx-logo img{height:64px;width:auto;max-height:none}
.yx-footer__logo{height:54px;width:auto;max-height:none}
.yx-hero__panel dd{text-align:left}

/* Foto & logo asli */
.yx-hero--photo{position:relative;background-size:cover;background-position:center right}
.yx-hero--photo::before{content:"";position:absolute;inset:0;background:linear-gradient(100deg,rgba(9,24,38,.95) 0%,rgba(9,24,38,.88) 42%,rgba(9,24,38,.55) 70%,rgba(9,24,38,.25) 100%)}
.yx-hero--photo .yx-hero__grid{position:relative;z-index:1}
.yx-product__media{display:flex;align-items:center;justify-content:center}
.yx-product__media img{width:100%;max-height:230px;object-fit:contain}

/* Banner foto penuh + intro di bawahnya */
.yx-banner{padding-top:0;background:#fff}
.yx-banner img{width:100%;height:auto;display:block;border-radius:0}
.yx-intro{padding-top:56px}
.yx-intro h1{color:var(--yx-dark);font-size:clamp(26px,3.2vw,44px);line-height:1.16;margin:0 0 16px;max-width:18ch}
.yx-intro p{color:var(--yx-body);max-width:56ch;margin:0 0 24px}
.yx-hero__actions .yx-btn--ghost{background:#fff;border:1.5px solid var(--yx-line);color:var(--yx-dark)}
.yx-hero__facts li{border-left-color:#f73229}
.yx-hero__facts strong{color:var(--yx-dark)}
.yx-hero__facts span{color:var(--yx-muted)}

/* ============================================================
   v3 — tata letak halaman dalam (katalog, produk, artikel)
   ============================================================ */

/* --- page head variants --- */
.yx-eyebrow--light{color:#ffb4ae}
.yx-eyebrow--light::before{background:#ffb4ae}
.yx-page-head__lead{position:relative;z-index:2;max-width:780px;margin:14px 0 18px;color:rgba(255,255,255,.8);font-size:16.5px;line-height:1.7}
.yx-page-head--catalog,.yx-page-head--archive,.yx-page-head--article,.yx-page-head--product,.yx-page-head--page{padding:72px 0 64px}
.yx-page-head::before{content:"";position:absolute;inset:0;background:radial-gradient(600px 260px at 12% 120%,rgba(247,50,41,.16),transparent 60%);pointer-events:none}
.yx-page-head h1{max-width:900px}
.yx-tag--light{background:rgba(255,255,255,.14);color:#fff;border:1px solid rgba(255,255,255,.3);position:relative;z-index:2;margin-bottom:10px}
.yx-breadcrumb{position:relative;z-index:2}

/* --- catalog stats --- */
.yx-cat-stats{background:#fff;border-bottom:1px solid var(--yx-line)}
.yx-cat-stats__inner{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;padding-top:26px;padding-bottom:26px}
.yx-cat-stats__inner>div{padding-left:20px;border-left:1px solid var(--yx-line)}
.yx-cat-stats__inner>div:first-child{border-left:0;padding-left:0}
.yx-cat-stats strong{display:block;font-family:var(--yx-head);font-size:21px;color:var(--yx-dark);line-height:1.15;letter-spacing:-.01em}
.yx-cat-stats span{font-size:13px;color:var(--yx-muted)}

/* --- product card extras --- */
.yx-spec-chips{list-style:none;padding:0;margin:2px 0 8px;display:flex;flex-wrap:wrap;gap:6px}
.yx-spec-chips li{font-family:var(--yx-head);font-size:11.5px;font-weight:600;color:#374151;background:var(--yx-soft);border:1px solid var(--yx-line);padding:4px 9px;border-radius:6px}
.yx-product__body h3 a{color:var(--yx-dark)}
.yx-product__body h3 a:hover{color:var(--yx-red)}

/* --- comparison table --- */
.yx-table-wrap{overflow-x:auto;border:1px solid var(--yx-line);border-radius:14px;background:#fff}
.yx-compare{width:100%;border-collapse:collapse;min-width:780px;font-size:14px}
.yx-compare th,.yx-compare td{padding:15px 18px;text-align:left;border-bottom:1px solid var(--yx-line);vertical-align:top}
.yx-compare thead th{background:var(--yx-navy);color:#fff;font-family:var(--yx-head);font-size:13px;letter-spacing:.02em}
.yx-compare tbody th{font-family:var(--yx-head);color:var(--yx-dark);width:170px;background:#fbfcfd;font-weight:600}
.yx-compare tbody tr:last-child th,.yx-compare tbody tr:last-child td{border-bottom:0}

/* --- step cards --- */
.yx-card--step{padding-top:26px}
.yx-step-no{font-family:var(--yx-head);font-weight:700;font-size:13px;color:var(--yx-red);letter-spacing:.1em;display:block;margin-bottom:10px}
.yx-card--step h3{font-size:16.5px}

/* --- product detail --- */
.yx-pd-section{padding-top:56px}
.yx-pd{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:44px;align-items:start}
.yx-pd__main{min-width:0}
.yx-pd__media{margin:0 0 30px;background:linear-gradient(180deg,#f2f5f9,#fff);border:1px solid var(--yx-line);border-radius:16px;padding:26px;display:flex;justify-content:center;align-items:center}
.yx-pd__media img{width:100%;max-width:560px;height:auto;max-height:410px;object-fit:contain;border-radius:10px}
.yx-pd__side{position:sticky;top:24px;display:grid;gap:20px}
.yx-pd-facts{list-style:none;padding:0;margin:22px 0 0;display:flex;gap:34px;flex-wrap:wrap;position:relative;z-index:2}
.yx-pd-facts li{display:flex;flex-direction:column;gap:3px;padding-left:14px;border-left:2px solid var(--yx-red)}
.yx-pd-facts span{font-family:var(--yx-head);font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.58)}
.yx-pd-facts strong{font-family:var(--yx-head);font-size:15.5px;color:#fff;line-height:1.3}
.yx-pd__mobile-cta{display:none}

/* --- sidebar cards --- */
.yx-side-card{background:#fff;border:1px solid var(--yx-line);border-radius:14px;padding:24px}
.yx-side-card h3{font-size:16.5px;margin:0 0 14px}
.yx-side-card--dark{background:var(--yx-navy);border-color:var(--yx-navy);color:rgba(255,255,255,.76)}
.yx-side-card--dark h3{color:#fff}
.yx-side-card--dark p{font-size:14px;color:rgba(255,255,255,.72);margin:0 0 16px;line-height:1.65}
.yx-spec-list{margin:0 0 18px;display:grid;gap:0}
.yx-spec-list>div{display:flex;justify-content:space-between;gap:14px;padding:9px 0;border-bottom:1px dashed var(--yx-line)}
.yx-spec-list>div:last-child{border-bottom:0}
.yx-spec-list dt{font-size:12.5px;color:var(--yx-muted);font-family:var(--yx-head);flex:0 0 38%}
.yx-spec-list dd{margin:0;font-size:13.5px;color:var(--yx-dark);text-align:right;line-height:1.5}
.yx-btn--block{display:flex;width:100%;text-align:center}
.yx-btn--wa{background:#25d366;box-shadow:0 8px 22px rgba(37,211,102,.28);margin-top:8px;color:#fff}
.yx-btn--wa:hover{background:#1fb757;color:#fff}
.yx-side-wa{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:10px;font-family:var(--yx-head);font-size:13.5px;font-weight:600;color:#128c4a}
.yx-side-wa svg{width:16px;height:16px}
.yx-side-wa:hover{color:#0b6b39}
.yx-side-phone{display:inline-block;margin-top:4px;font-family:var(--yx-head);font-weight:700;font-size:17px;color:#fff;letter-spacing:.02em}
.yx-side-card--dark .yx-side-phone:hover{color:#fff}
.yx-side-note{display:block;font-size:12px;color:rgba(255,255,255,.5);margin-top:2px}
.yx-side-links{list-style:none;padding:0;margin:0;display:grid}
.yx-side-links li{border-bottom:1px solid var(--yx-line)}
.yx-side-links li:last-child{border-bottom:0}
.yx-side-links a{display:block;padding:10px 0;font-size:14px;color:var(--yx-dark);line-height:1.5}
.yx-side-links a:hover{color:var(--yx-red)}
.yx-side-posts{list-style:none;padding:0;margin:0;display:grid;gap:14px}
.yx-side-posts li{display:grid;gap:3px}
.yx-side-posts a{font-size:14px;line-height:1.45;color:var(--yx-dark)}
.yx-side-posts a:hover{color:var(--yx-red)}
.yx-side-posts span{font-size:12px;color:var(--yx-muted)}

/* --- two column layout --- */
.yx-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:44px;align-items:start}
.yx-layout__main{min-width:0}
.yx-layout__side{position:sticky;top:24px;display:grid;gap:20px}

/* --- featured article --- */
.yx-feature-post{display:grid;grid-template-columns:1.05fr .95fr;border:1px solid var(--yx-line);border-radius:16px;overflow:hidden;margin-bottom:34px;background:#fff;transition:.24s ease}
.yx-feature-post:hover{box-shadow:var(--yx-shadow-lg)}
.yx-feature-post__thumb{display:block;min-height:320px;overflow:hidden;background:var(--yx-soft)}
.yx-feature-post__thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s ease}
.yx-feature-post:hover .yx-feature-post__thumb img{transform:scale(1.04)}
.yx-feature-post__body{padding:32px;display:flex;flex-direction:column;gap:12px;justify-content:center}
.yx-feature-post__body h2{font-size:26px;margin:0;line-height:1.25}
.yx-feature-post__body h2 a{color:var(--yx-dark)}
.yx-feature-post__body h2 a:hover{color:var(--yx-red)}
.yx-feature-post__body p{margin:0;font-size:14.5px;color:var(--yx-body)}
.yx-feature-post__meta{display:flex;gap:16px;font-size:12.5px;color:var(--yx-muted);font-family:var(--yx-head)}
.yx-posts--two{grid-template-columns:repeat(2,1fr)}
.yx-post__link{font-family:var(--yx-head);font-size:13.5px;font-weight:600;margin-top:auto;color:var(--yx-red)}
.yx-section__more{font-family:var(--yx-head);font-size:14px;font-weight:600}
.yx-empty{padding:60px 0;text-align:center}

/* --- article --- */
.yx-entry-meta{display:flex;gap:8px 18px;flex-wrap:wrap;font-size:13px;color:rgba(255,255,255,.7);position:relative;z-index:2;margin-top:8px;font-family:var(--yx-head)}
.yx-entry-meta span{position:relative}
.yx-article__media{margin:0 0 30px;border-radius:16px;overflow:hidden;background:var(--yx-soft);border:1px solid var(--yx-line)}
.yx-article__media img{width:100%;height:auto;display:block}
.yx-entry--article{max-width:none;font-size:16.5px;line-height:1.85}
.yx-entry--article>p:first-of-type{font-size:18px;color:#374151;line-height:1.75}
.yx-entry--article h2,.yx-entry--pd h2{font-size:clamp(22px,2.2vw,30px);margin-top:2em}
.yx-entry--article h2::before,.yx-entry--pd h2::before{content:"";display:block;width:38px;height:3px;background:var(--yx-red);border-radius:2px;margin-bottom:12px}
.yx-entry--article h3,.yx-entry--pd h3{font-size:20px;margin-top:1.7em}
.yx-entry--article ul,.yx-entry--article ol{margin:0 0 1.3em;padding-left:1.3em}
.yx-entry--article li{margin-bottom:.45em}
.yx-entry--article table{font-size:14.5px;border-radius:10px;overflow:hidden;border:0}
.yx-entry--article thead th{background:var(--yx-navy);color:#fff;border-color:transparent}
.yx-entry--article tbody tr:nth-child(even){background:#fbfcfd}
.yx-entry--pd{max-width:none;font-size:16px;line-height:1.8}
.yx-entry--pd h2:first-child{margin-top:0}
.yx-article__tags{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:34px 0 0;font-size:13px;color:var(--yx-muted)}
.yx-article__tags a{background:var(--yx-soft);border:1px solid var(--yx-line);padding:4px 10px;border-radius:20px;font-size:12.5px;color:#374151}
.yx-article__tags a:hover{border-color:var(--yx-red);color:var(--yx-red)}
.yx-share{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:22px 0 0;padding:18px 0;border-top:1px solid var(--yx-line);border-bottom:1px solid var(--yx-line);font-size:13px;color:var(--yx-muted)}
.yx-share a,.yx-share button{font-family:var(--yx-head);font-size:12.5px;font-weight:600;padding:7px 13px;border-radius:6px;border:1px solid var(--yx-line);background:#fff;color:var(--yx-dark);cursor:pointer;transition:.2s ease}
.yx-share a:hover,.yx-share button:hover{border-color:var(--yx-red);color:var(--yx-red)}
.yx-author{display:flex;gap:16px;align-items:flex-start;background:var(--yx-soft);border-radius:14px;padding:22px;margin-top:28px}
.yx-author__avatar{width:48px;height:48px;border-radius:50%;background:var(--yx-red);color:#fff;display:flex;align-items:center;justify-content:center;font-family:var(--yx-head);font-weight:700;flex:0 0 48px}
.yx-author strong{display:block;font-family:var(--yx-head);color:var(--yx-dark);font-size:15px}
.yx-author p{margin:3px 0 0;font-size:13.5px;line-height:1.6}
.yx-post-nav{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:30px}
.yx-post-nav__item{display:grid;gap:4px;padding:18px;border:1px solid var(--yx-line);border-radius:12px;background:#fff;transition:.2s ease}
.yx-post-nav__item span{font-size:11.5px;color:var(--yx-muted);font-family:var(--yx-head);text-transform:uppercase;letter-spacing:.08em}
.yx-post-nav__item strong{font-size:14px;color:var(--yx-dark);line-height:1.4;font-family:var(--yx-head)}
.yx-post-nav__item:hover{border-color:#f7c9c6;box-shadow:var(--yx-shadow)}
.yx-post-nav__item--next{text-align:right}
.yx-cta__actions{display:flex;gap:12px;flex-wrap:wrap;position:relative;z-index:2}

/* --- why choose us --- */
.yx-why__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.yx-why__card{background:var(--yx-soft);border:1px solid var(--yx-line);border-radius:14px;padding:26px 24px;transition:.22s ease}
.yx-why__card:hover{background:#fff;box-shadow:var(--yx-shadow);transform:translateY(-3px)}
.yx-why__card img{width:58px;height:58px;object-fit:contain;display:block;margin-bottom:14px}
.yx-why__card h3{font-size:16.5px;margin:0 0 8px;line-height:1.35}
.yx-why__card p{font-size:14px;color:var(--yx-body);margin:0;line-height:1.65}

/* --- static page entry --- */
.yx-entry--page{max-width:1080px}
.yx-entry--page h2{font-size:clamp(23px,2.4vw,32px);margin-top:2em}
.yx-entry--page h2::before{content:"";display:block;width:34px;height:3px;background:var(--yx-red);border-radius:2px;margin-bottom:12px}
.yx-entry--page h3{font-size:20px;margin-top:1.7em}
.yx-entry--page ul,.yx-entry--page ol{margin-bottom:1.3em}
.yx-entry--page li{margin-bottom:.45em}

/* --- responsive --- */
@media (max-width:1100px){
  .yx-layout{grid-template-columns:minmax(0,1fr) 300px;gap:32px}
  .yx-pd{grid-template-columns:minmax(0,1fr) 310px;gap:32px}
  .yx-why__grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:991px){
  .yx-layout,.yx-pd{grid-template-columns:1fr;gap:36px}
  .yx-layout__side,.yx-pd__side{position:static;grid-template-columns:repeat(2,1fr);gap:18px}
  .yx-pd__mobile-cta{display:flex;gap:10px;flex-wrap:wrap;margin:30px 0 0}
  .yx-feature-post{grid-template-columns:1fr}
  .yx-feature-post__thumb{min-height:240px;aspect-ratio:16/9}
  .yx-feature-post__body{padding:26px}
  .yx-cat-stats__inner{grid-template-columns:repeat(2,1fr);row-gap:20px}
  .yx-cat-stats__inner>div:nth-child(3){border-left:0;padding-left:0}
}
@media (max-width:640px){
  .yx-why__grid{grid-template-columns:1fr}
  .yx-layout__side,.yx-pd__side{grid-template-columns:1fr}
  .yx-posts--two,.yx-products--two{grid-template-columns:1fr}
  .yx-cat-stats__inner{grid-template-columns:1fr;gap:0}
  .yx-cat-stats__inner>div{border-left:0;padding:14px 0 0;border-top:1px solid var(--yx-line)}
  .yx-cat-stats__inner>div:first-child{border-top:0;padding-top:0}
  .yx-page-head__lead{font-size:15px}
  .yx-pd-facts{gap:18px}
  .yx-pd-facts strong{font-size:14px}
  .yx-post-nav{grid-template-columns:1fr}
  .yx-post-nav__item--next{text-align:left}
  .yx-feature-post__body h2{font-size:21px}
  .yx-entry--article{font-size:16px}
  .yx-entry--article>p:first-of-type{font-size:17px}
  .yx-share{gap:8px}
  .yx-compare{min-width:640px}
}

/* --- mobile header fix: keep logo compact, prevent overflow --- */
@media (max-width:820px){
  .yx-topbar .yx-logo img{height:44px;width:auto;max-height:44px}
  .yx-footer__logo{height:44px}
  .yx-topbar__inner{flex-wrap:nowrap;gap:12px;min-height:0;padding:10px 0}
  .yx-topbar__cta{margin-left:auto}
  .yx-topbar__cta .yx-btn{padding:10px 16px;font-size:13px;white-space:nowrap}
  .yx-header .yx-container{max-width:100%}
}
@media (max-width:400px){
  .yx-topbar .yx-logo img{height:38px;max-height:38px}
  .yx-topbar__cta .yx-btn{padding:9px 13px;font-size:12px}
}

/* --- boiler.ph build: product cards, gallery, page layouts --- */
.yx-section--soft{background:var(--yx-soft)}
.yx-cat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.yx-cat-card{background:#fff;border:1px solid var(--yx-line);border-radius:var(--yx-radius);overflow:hidden;box-shadow:var(--yx-shadow);display:flex;flex-direction:column;transition:transform .25s ease,box-shadow .25s ease}
.yx-cat-card:hover{transform:translateY(-4px);box-shadow:var(--yx-shadow-lg)}
.yx-cat-card__img{display:block;aspect-ratio:3/2;overflow:hidden;background:var(--yx-soft)}
.yx-cat-card__img img{width:100%;height:100%;object-fit:cover}
.yx-cat-card__body{padding:20px 22px 24px;display:flex;flex-direction:column;gap:8px;flex:1}
.yx-cat-card__body h3{font-size:19px;margin:0}
.yx-cat-card__body p{margin:0;font-size:14.5px;color:var(--yx-body)}
.yx-btn--sm{padding:9px 16px;font-size:13px;align-self:flex-start;margin-top:6px}
.yx-about-row{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;margin-bottom:56px}
.yx-about-row figure{margin:0;border-radius:var(--yx-radius);overflow:hidden;box-shadow:var(--yx-shadow)}
.yx-about-row figure img{width:100%;height:100%;object-fit:cover}
.yx-about-row h2{font-size:clamp(22px,2.4vw,32px)}
.yx-gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.yx-gallery__item{display:block;aspect-ratio:4/3;overflow:hidden;border-radius:10px;background:var(--yx-soft)}
.yx-gallery__item img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.yx-gallery__item:hover img{transform:scale(1.06)}
.yx-contact-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px;align-items:start}
.yx-contact-list{list-style:none;margin:24px 0 0;padding:0;display:grid;gap:14px}
.yx-contact-list li{display:grid;grid-template-columns:110px 1fr;gap:12px;padding-bottom:12px;border-bottom:1px solid var(--yx-line);font-size:15px}
.yx-contact-list strong{color:var(--yx-dark);font-weight:600}
.yx-callout{margin:56px 0 0;padding:34px 36px;background:var(--yx-dark);color:#fff;border-radius:var(--yx-radius)}
.yx-callout h2{color:#fff;font-size:clamp(20px,2.2vw,28px);margin-bottom:8px}
.yx-callout p{color:rgba(255,255,255,.82);margin:0 0 18px;max-width:640px}
.yx-tags{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.yx-tags li{padding:9px 16px;border:1px solid var(--yx-line);border-radius:999px;background:#fff;font-size:14px;color:var(--yx-dark)}
@media (max-width:1100px){
  .yx-cat-grid{grid-template-columns:repeat(2,1fr)}
  .yx-gallery{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:900px){
  .yx-about-row,.yx-contact-grid{grid-template-columns:1fr;gap:28px}
  .yx-about-row--rev figure{order:-1}
}
@media (max-width:640px){
  .yx-cat-grid,.yx-gallery{grid-template-columns:1fr 1fr;gap:12px}
  .yx-cat-card__body{padding:16px}
  .yx-gallery{grid-template-columns:repeat(2,1fr)}
  .yx-contact-list li{grid-template-columns:1fr;gap:2px}
}

/* --- contact form (CF7) --- */
.yx-entry--page .wpcf7-form p{margin:0 0 16px}
.yx-entry--page .wpcf7-form label{display:block;font-size:14px;color:var(--yx-dark);font-weight:600;margin-bottom:6px}
.yx-entry--page .wpcf7-form input[type="text"],
.yx-entry--page .wpcf7-form input[type="email"],
.yx-entry--page .wpcf7-form input[type="tel"],
.yx-entry--page .wpcf7-form textarea{width:100%;padding:12px 14px;border:1px solid var(--yx-line);border-radius:10px;font:inherit;font-size:15px;background:#fff;color:var(--yx-dark)}
.yx-entry--page .wpcf7-form input:focus,
.yx-entry--page .wpcf7-form textarea:focus{outline:none;border-color:var(--yx-red);box-shadow:0 0 0 3px rgba(247,50,41,.12)}
.yx-entry--page .wpcf7-form textarea{min-height:150px;resize:vertical}
.yx-entry--page .wpcf7-form input[type="submit"]{background:var(--yx-red);color:#fff;border:0;border-radius:999px;padding:12px 26px;font-weight:600;cursor:pointer;transition:background .2s ease}
.yx-entry--page .wpcf7-form input[type="submit"]:hover{background:var(--yx-red-dark)}
.yx-entry--page .wpcf7-form .wpcf7-not-valid-tip{color:var(--yx-red);font-size:13px}
.yx-entry--page .wpcf7-form .wpcf7-response-output{border-radius:10px;padding:12px 16px;font-size:14px}

/* footer logo sits on a dark panel: give the white-background mark a card */
.yx-footer__logo{background:#fff;padding:8px 12px;border-radius:10px;height:auto;max-height:58px;width:auto}

/* keep grid galleries clean when the editor injects <br> between items */
.yx-gallery br,
.yx-cat-grid br{display:none}
.yx-hero__facts{background:rgba(9,24,38,.45);padding:14px 18px;border-radius:14px;margin-top:8px}

/* hero facts: keep text readable on the photo background */
.yx-hero__facts strong{color:#fff}
.yx-hero__facts span{color:rgba(255,255,255,.8)}

/* keep imported article copy readable: normalise legacy inline colours */
.yx-post__body font[color],
.yx-post__body span[style*="color"],
.yx-post__body p[style*="color"]{color:inherit !important}

/* official RKO logo tuning */
.yx-logo img{height:56px;width:auto;max-height:56px}
.yx-footer__logo{background:#fff;padding:6px 10px;border-radius:10px;height:52px;width:auto;max-height:52px}
@media(max-width:991px){.yx-logo img{height:46px}}
@media(max-width:480px){.yx-topbar .yx-logo img{height:40px;max-height:40px}}

/* Language switcher */
.yx-topbar__langs{margin-left:auto;margin-right:14px}
.yx-langs{display:flex;align-items:center;gap:6px}
.yx-lang{display:inline-flex;align-items:center;justify-content:center;padding:2px;border:1px solid var(--yx-line);border-radius:4px;opacity:.72;transition:.15s;line-height:0}
.yx-lang:hover{opacity:1;border-color:#c9ced6}
.yx-lang.is-active{opacity:1;border-color:var(--yx-red);box-shadow:0 0 0 1px var(--yx-red)}
.yx-lang img{width:22px;height:15px;object-fit:cover;border-radius:2px;display:block}
@media(max-width:991px){.yx-topbar__langs{margin:8px 0 0;order:5;width:100%}.yx-lang img{width:20px;height:14px}}

/* RTL (Arabic) */
html[dir="rtl"] body{direction:rtl;text-align:right}
html[dir="rtl"] .yx-hero--photo{background-position:center left}
html[dir="rtl"] .yx-hero--photo::before{background:linear-gradient(260deg,rgba(9,24,38,.95) 0%,rgba(9,24,38,.88) 42%,rgba(9,24,38,.55) 70%,rgba(9,24,38,.25) 100%)}
html[dir="rtl"] .yx-lang img{transform:none}
html[dir="rtl"] .yx-check li{padding-right:26px;padding-left:0}
html[dir="rtl"] .yx-check li::before{right:0;left:auto}
html[dir="rtl"] .yx-panel__link,html[dir="rtl"] .yx-btn{text-align:center}
html[dir="rtl"] .yx-info,html[dir="rtl"] .yx-topbar__inner{direction:rtl}
html[dir="rtl"] .yx-menu{text-align:right}
html[dir="rtl"] .yx-nav__search input{text-align:right}
html[dir="rtl"] .yx-footer__grid,html[dir="rtl"] .yx-cat-grid,html[dir="rtl"] .yx-section__head{direction:rtl}
html[dir="rtl"] .yx-prose ul,html[dir="rtl"] .yx-prose ol{padding-right:22px;padding-left:0}
html[dir="rtl"] .yx-article__meta,html[dir="rtl"] .yx-breadcrumb{direction:rtl}

/* Mobile: quote button becomes an icon-only contact button */
.yx-quote-btn__icon{display:none}
@media(max-width:991px){
  .yx-topbar__cta{margin-left:0}
  .yx-topbar__cta .yx-quote-btn{width:38px;height:38px;padding:0;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;flex:0 0 38px}
  .yx-quote-btn__label{display:none}
  .yx-quote-btn__icon{display:block}
}

/* Mobile top bar: keep logo + icon button on the first row, flags on their own scrollable row */
@media(max-width:767px){
  .yx-topbar__inner{flex-wrap:wrap;row-gap:8px}
  .yx-topbar__langs{order:10;flex:1 0 100%;width:100%;margin:0;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .yx-topbar__langs::-webkit-scrollbar{display:none}
  .yx-langs{flex-wrap:nowrap;gap:8px;padding-bottom:2px}
  .yx-lang img{width:20px;height:14px}
}

/* ---------- group sites strip ---------- */
.yx-footer p.yx-footer__sites{margin:14px 0 0;font-size:12.5px;line-height:1.7;color:rgba(255,255,255,.42);letter-spacing:.01em}
.yx-footer__sites a{color:rgba(255,255,255,.72);border-bottom:1px solid rgba(255,255,255,.2);padding-bottom:1px;transition:.2s}
.yx-footer__sites a:hover{color:#fff;border-color:var(--yx-red)}
.yx-footer__sites i{font-style:normal;margin:0 9px;color:rgba(255,255,255,.55)}
.yx-footer__net{border-top:1px solid rgba(255,255,255,.1);padding:26px 0 6px;margin-top:4px}
.yx-footer__net-title{font-family:var(--yx-head);font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:rgba(255,255,255,.45);margin:0 0 14px}
.yx-footer__net-list{display:flex;flex-wrap:wrap;gap:14px 42px}
.yx-footer__net-item{display:flex;flex-direction:column;gap:6px}
.yx-footer__net-name{font-family:var(--yx-head);font-weight:600;font-size:15px;color:#fff !important;border-bottom:1px solid transparent;transition:.2s}
.yx-footer__net-name:hover{border-color:var(--yx-red)}
.yx-footer__net-sub{display:flex;gap:16px;font-size:13px}
.yx-footer__net-sub a{color:rgba(255,255,255,.6) !important;border-bottom:1px dotted rgba(255,255,255,.28);padding-bottom:1px}
.yx-footer__net-sub a:hover{color:#fff !important;border-color:var(--yx-red)}
html[dir="rtl"] .yx-footer__net-list,html[dir="rtl"] .yx-footer__net-sub{direction:rtl}
@media(max-width:480px){.yx-footer__net-list{gap:16px}.yx-footer__net-item{width:100%}}

/* ---------- group sites box (About / Contact) ---------- */
.yx-netbox{margin:34px 0 0;padding:22px 24px;border:1px solid var(--yx-line,#e6e9ee);border-radius:14px;background:#f7f9fb}
.yx-netbox__title{font-family:var(--yx-head);font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:#6b7280;margin:0 0 12px}
.yx-netbox__list{list-style:none;margin:0;padding:0;display:grid;gap:10px;font-size:15px}
.yx-netbox__list a{font-weight:600;border-bottom:1px solid rgba(0,0,0,.15)}
.yx-netbox__list a:hover{border-color:var(--yx-red,#c8102e)}
@media(max-width:480px){.yx-netbox{padding:18px}.yx-netbox__list{font-size:14px}}
