/* Krome Elementor widgets — design system taken from the homepage HTML.
   Montserrat, blue #1a80c8, slate #0f172a, soft #f8fafc, rounded cards.

   Specificity rule: component rules use :where(.kph) so they weigh (0,1,0).
   Every Elementor style control targets {{WRAPPER}} .class (0,2,0) and therefore always wins. */

/* ---------- Tokens ---------- */
.kph{
  --kph-blue:#1a80c8;
  --kph-blue-dark:#1465a0;
  --kph-sky:#38bdf8;
  --kph-ink:#0f172a;
  --kph-ink-2:#1e293b;
  --kph-text:#475569;
  --kph-muted:#64748b;
  --kph-line:#e2e8f0;
  --kph-line-2:#cbd5e1;
  --kph-soft:#f8fafc;
  --kph-tint:#f0f7fc;
  --kph-tint-2:#eef7fc;
  --kph-font:'Montserrat',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --kph-ease:cubic-bezier(.16,1,.3,1);
}

/* ---------- Base / reset inside widgets ---------- */
:where(.kph){font-family:var(--kph-font);color:var(--kph-ink);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}
.kph *,.kph *::before,.kph *::after{box-sizing:border-box}
.kph :where(h1,h2,h3,h4,h5,h6,p,ul,ol,li,figure,figcaption,blockquote,fieldset,legend,dl,dd){margin:0;padding:0;border:0}
.kph :where(h1,h2,h3,h4,h5,h6){font-family:inherit;text-transform:none;letter-spacing:normal;font-stretch:normal}
.kph :where(ul,ol){list-style:none}
.kph :where(a){text-decoration:none}
.kph :where(button,input,select,textarea){font-family:inherit}
:where(.kph) .kph-wrap{width:100%;max-width:1200px;margin-inline:auto}
:where(.kph) .kph-svg{display:block;width:1em;height:1em;flex:none}
:where(.kph) .kph-flip{transform:scaleX(-1)}
:where(.kph) .kph-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.kph :focus-visible{outline:3px solid var(--kph-blue);outline-offset:3px}

/* ---------- Eyebrow ---------- */
:where(.kph) .kph-eyebrow{display:inline-flex;align-items:center;gap:12px;margin-bottom:20px;color:var(--kph-blue);font-size:.85rem;font-weight:700;line-height:1.3;text-transform:uppercase;letter-spacing:.12em;--kph-eyebrow-line:var(--kph-blue);--kph-eyebrow-w:30px}
:where(.kph) .kph-eyebrow--line-before::before,
:where(.kph) .kph-eyebrow--line-both::before,
:where(.kph) .kph-eyebrow--line-both::after{content:'';flex:none;width:var(--kph-eyebrow-w);height:2px;background-color:var(--kph-eyebrow-line)}
:where(.kph) .kph-eyebrow--pill{gap:8px;padding:8px 18px;margin-bottom:24px;border:1px solid rgba(26,128,200,.25);border-radius:10px;background-color:var(--kph-tint-2);font-size:.8rem;font-weight:800;letter-spacing:.08em}
:where(.kph) .kph-eyebrow--pill .kph-svg{width:14px;height:14px}

/* ---------- Section header ---------- */
:where(.kph) .kph-head{display:flex;flex-direction:column;align-items:var(--kph-head-justify,flex-start);text-align:var(--kph-head-align,left);margin-inline:var(--kph-head-mx,0)}
:where(.kph) .kph-title{margin:0;color:var(--kph-ink);font-size:2.8rem;font-weight:700;line-height:1.15;letter-spacing:-.02em}
:where(.kph) .kph-title .kph-hl{color:var(--kph-blue);font-weight:inherit}
:where(.kph) .kph-intro{margin-top:24px;color:var(--kph-text);font-size:1.05rem;font-weight:500;line-height:1.75}
:where(.kph) .kph-intro p+p{margin-top:16px}
:where(.kph) .kph-intro a{color:var(--kph-blue);text-decoration:underline}

/* ---------- Buttons ---------- */
:where(.kph) .kph-actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px}
:where(.kph) .kph-actions--center{justify-content:center}
:where(.kph) .kph-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;margin:0;padding:16px 32px;border:2px solid transparent;border-radius:8px;font-family:var(--kph-font);font-size:.95rem;font-weight:500;line-height:1.2;letter-spacing:.02em;text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer;transition:background-color .25s ease,border-color .25s ease,color .25s ease,box-shadow .25s ease,transform .25s ease}
:where(.kph) .kph-btn .kph-svg{width:18px;height:18px;transition:transform .25s ease}
:where(.kph) .kph-btn:hover{transform:translateY(-2px)}
:where(.kph) .kph-btn:hover .kph-svg:last-child:not(:first-child){transform:translateX(4px)}

:where(.kph) .kph-btn--primary{background-color:var(--kph-blue);border-color:var(--kph-blue);color:#fff;box-shadow:0 6px 18px rgba(26,128,200,.25)}
:where(.kph) .kph-btn--primary:hover,:where(.kph) .kph-btn--primary:focus{background-color:var(--kph-blue-dark);border-color:var(--kph-blue-dark);color:#fff;box-shadow:0 8px 22px rgba(26,128,200,.35)}
:where(.kph) .kph-btn--light{padding:15px 28px;background-color:#fff;border-color:var(--kph-line);color:var(--kph-ink)}
:where(.kph) .kph-btn--light:hover,:where(.kph) .kph-btn--light:focus{background-color:var(--kph-tint-2);border-color:var(--kph-blue);color:var(--kph-blue)}
:where(.kph) .kph-btn--outline{padding:16px 36px;background-color:transparent;border-color:var(--kph-line-2);color:var(--kph-ink);font-weight:700}
:where(.kph) .kph-btn--outline:hover,:where(.kph) .kph-btn--outline:focus{background-color:#fff;border-color:var(--kph-blue);color:var(--kph-blue)}
:where(.kph) .kph-btn--ghost{background-color:transparent;border-color:rgba(255,255,255,.4);color:#fff}
:where(.kph) .kph-btn--ghost:hover,:where(.kph) .kph-btn--ghost:focus{background-color:#fff;border-color:#fff;color:var(--kph-ink)}
:where(.kph) .kph-btn--block{width:100%}

/* ---------- Image frames and placeholders ---------- */
:where(.kph) .kph-frame{position:relative;overflow:hidden;isolation:isolate}
:where(.kph) .kph-frame .kph-img,:where(.kph) .kph-bento__card .kph-img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;border-radius:0;transition:transform .6s ease}
:where(.kph) .kph-frame:has(> .kph-ph){min-height:200px}
:where(.kph) .kph-ph{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:16px;background:linear-gradient(135deg,#e2e8f0 0%,#f1f5f9 55%,#e9eef5 100%);color:#94a3b8;text-align:center}
:where(.kph) .kph-ph svg{width:44px;height:44px}
:where(.kph) .kph-ph__label{display:none;font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#64748b}
body.logged-in .kph .kph-ph__label,.elementor-editor-active .kph .kph-ph__label{display:block}

/* ---------- Bullets (hero) ---------- */
:where(.kph) .kph-bullets{display:flex;flex-wrap:wrap;gap:16px 28px;margin-top:32px}
:where(.kph) .kph-bullet{display:flex;align-items:center;gap:10px;color:var(--kph-ink-2);font-size:.95rem;font-weight:700;line-height:1.3}
:where(.kph) .kph-bullet__icon{display:flex;flex:none;align-items:center;justify-content:center;width:26px;height:26px;border:1px solid rgba(26,128,200,.3);border-radius:50%;background-color:var(--kph-tint-2);color:var(--kph-blue)}
:where(.kph) .kph-bullet__icon .kph-svg,:where(.kph) .kph-bullet__icon i{width:14px;height:14px;font-size:14px}

/* ---------- Pills (split) ---------- */
:where(.kph) .kph-pills{display:flex;flex-wrap:wrap;gap:16px;margin-top:32px}
:where(.kph) .kph-pill{display:inline-flex;align-items:center;gap:10px;padding:12px 20px;border:1px solid var(--kph-line);border-radius:10px;background-color:var(--kph-soft);color:var(--kph-ink);font-size:.92rem;font-weight:700;line-height:1.3;transition:all .25s ease}
:where(.kph) .kph-pill:hover{border-color:var(--kph-blue);background-color:var(--kph-tint);transform:translateY(-2px)}
:where(.kph) .kph-pill__icon{display:flex;flex:none;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background-color:var(--kph-blue);color:#fff}
:where(.kph) .kph-pill__icon .kph-svg,:where(.kph) .kph-pill__icon i{width:12px;height:12px;font-size:12px}

/* ========== HERO ========== */
:where(.kph-hero) .kph-hero__grid{display:grid;grid-template-columns:var(--kph-cols,1fr 1fr);gap:60px;align-items:center}
:where(.kph-hero) .kph-hero__grid>*{min-width:0}
:where(.kph-hero) .kph-hero__text{display:flex;flex-direction:column}
:where(.kph-hero) .kph-title{font-size:2.85rem;line-height:1.2;margin-bottom:0}
:where(.kph-hero) .kph-intro{margin-top:24px;font-size:1.05rem;line-height:1.7}
:where(.kph-hero) .kph-actions{margin-top:36px}
:where(.kph-hero) .kph-bullets+.kph-actions{margin-top:36px}
:where(.kph-hero) .kph-hero__media{position:relative;display:flex;align-items:center;justify-content:center}
:where(.kph-hero) .kph-hero__frame{width:100%;aspect-ratio:4/3;border:4px solid #fff;border-radius:20px;background-color:#fff;box-shadow:0 20px 40px -15px rgba(15,23,42,.12)}
:where(.kph-zoom-yes) .kph-hero__media:hover .kph-img{transform:scale(1.02)}
:where(.elementor-widget-kph-hero.kph-hero--image-left) .kph-hero__media{order:-1}
:where(.elementor-widget-kph-hero.kph-hero--text-only) .kph-hero__grid{grid-template-columns:minmax(0,1fr)}
:where(.elementor-widget-kph-hero.kph-hero--text-only) .kph-hero__text{max-width:860px}
:where(.elementor-widget-kph-hero.kph-hero-align-center) .kph-hero__text{margin-inline:auto;align-items:center;text-align:center}
:where(.elementor-widget-kph-hero.kph-hero-align-center) .kph-head{align-items:center;text-align:center}
:where(.elementor-widget-kph-hero.kph-hero-align-center) .kph-bullets,:where(.elementor-widget-kph-hero.kph-hero-align-center) .kph-actions{justify-content:center}

:where(.kph-hero) .kph-float{position:absolute;bottom:-20px;left:-20px;z-index:10;display:flex;align-items:center;gap:14px;padding:16px 22px;border:1px solid var(--kph-line);border-radius:14px;background-color:#fff;box-shadow:0 12px 30px rgba(15,23,42,.12)}
:where(.kph-card-pos-bottom-right) .kph-float{left:auto;right:-20px}
:where(.kph-card-pos-top-left) .kph-float{bottom:auto;top:-20px}
:where(.kph-card-pos-top-right) .kph-float{bottom:auto;top:-20px;left:auto;right:-20px}
:where(.kph-hero) .kph-float__icon{display:flex;flex:none;align-items:center;justify-content:center;width:44px;height:44px;border-radius:10px;background-color:var(--kph-tint-2);color:var(--kph-blue)}
:where(.kph-hero) .kph-float__icon .kph-svg,:where(.kph-hero) .kph-float__icon i{width:22px;height:22px;font-size:22px}
:where(.kph-hero) .kph-float__body{display:flex;flex-direction:column}
:where(.kph-hero) .kph-float__title{color:var(--kph-ink);font-size:.95rem;font-weight:800;line-height:1.2}
:where(.kph-hero) .kph-float__sub{margin-top:3px;color:var(--kph-muted);font-size:.78rem;font-weight:600;line-height:1.3}

/* ========== SPLIT (image + text) ========== */
:where(.kph-split) .kph-split__grid{display:grid;grid-template-columns:var(--kph-split-cols,0.95fr 1.05fr);gap:70px;align-items:center}
:where(.kph-split) .kph-split__grid>*{min-width:0;direction:ltr}
:where(.kph-split--img-right) .kph-split__grid{direction:rtl}
:where(.kph-split) .kph-split__media{position:relative;width:100%}
:where(.kph-split) .kph-split__plate{--kph-plate:16px;position:absolute;top:calc(var(--kph-plate) * -1);left:calc(var(--kph-plate) * -1);z-index:1;width:100%;height:100%;border:1px solid rgba(26,128,200,.15);border-radius:28px;background-color:var(--kph-tint)}
:where(.kph-split--img-right) .kph-split__plate{left:auto;right:calc(var(--kph-plate) * -1)}
:where(.kph-split) .kph-split__frame{z-index:2;width:100%;aspect-ratio:4/3;border-radius:24px;background-color:#fff}
:where(.kph-split--frame-offset) .kph-split__frame{border:1px solid var(--kph-line);box-shadow:0 20px 40px -15px rgba(15,23,42,.1)}
:where(.kph-split--frame-plain) .kph-split__frame{border-radius:20px;box-shadow:0 30px 60px -15px rgba(15,23,42,.15)}
:where(.kph-zoom-yes) .kph-split__media:hover .kph-img{transform:scale(1.03)}
:where(.kph-split) .kph-split__text{display:flex;flex-direction:column}
:where(.kph-split) .kph-title{font-size:2.6rem;line-height:1.22}
:where(.kph-split) .kph-intro{margin-top:24px;font-size:1.02rem;line-height:1.75}
:where(.kph-split) .kph-pills{margin-top:32px}
:where(.kph-split) .kph-actions{margin-top:36px}
:where(.kph-split) .kph-intro+.kph-actions{margin-top:32px}

/* ========== BENTO ========== */
:where(.kph-bento) .kph-wrap{max-width:1280px}
:where(.kph-bento) .kph-head{max-width:600px;margin-bottom:50px}
:where(.kph-bento) .kph-eyebrow{gap:12px;margin-bottom:16px;letter-spacing:.15em}
:where(.kph-bento) .kph-bento__grid{--kph-cols:4;display:grid;grid-template-columns:repeat(var(--kph-cols),minmax(0,1fr));grid-auto-rows:340px;gap:20px;width:100%}
:where(.kph-bento) .kph-span-1{grid-column:span 1}
:where(.kph-bento) .kph-span-2{grid-column:span 2}
:where(.kph-bento) .kph-span-3{grid-column:span 3}
:where(.kph-bento) .kph-span-4{grid-column:1 / -1}
:where(.kph-bento) .kph-bento__card{--kph-overlay:15,23,42;position:relative;display:flex;flex-direction:column;justify-content:flex-end;overflow:hidden;border:1px solid rgba(226,232,240,.2);border-radius:20px;background-color:var(--kph-ink);box-shadow:0 10px 30px -10px rgba(15,23,42,.1);color:#fff;text-decoration:none;transform:translateZ(0);transition:all .4s var(--kph-ease)}
:where(.kph-bento) .kph-bento__card:hover,:where(.kph-bento) .kph-bento__card:focus-visible{border-color:rgba(26,128,200,.5);box-shadow:0 20px 40px -10px rgba(26,128,200,.3);color:#fff}
:where(.kph-bento) .kph-bento__card .kph-img{position:absolute;inset:0;z-index:1;transition:transform .8s var(--kph-ease)}
:where(.kph-bento) .kph-bento__card:hover .kph-img{transform:scale(1.06)}
:where(.kph-bento) .kph-bento__card .kph-ph{z-index:1;background:linear-gradient(135deg,#1e293b 0%,#334155 100%);color:#64748b;justify-content:flex-start;padding-top:40px}
:where(.kph-bento) .kph-bento__overlay{position:absolute;inset:0;z-index:2;background:linear-gradient(to top,rgba(15,23,42,.98) 0%,rgba(15,23,42,.85) 40%,rgba(15,23,42,.2) 80%,transparent 100%);transition:background .4s ease}
:where(.kph-bento) .kph-bento__card:hover .kph-bento__overlay{background:linear-gradient(to top,rgba(15,23,42,1) 0%,rgba(15,23,42,.9) 50%,rgba(15,23,42,.4) 100%)}
:where(.kph-bento) .kph-bento__arrow{position:absolute;top:24px;right:24px;z-index:4;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid rgba(255,255,255,.3);border-radius:50%;background:rgba(255,255,255,.15);color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:all .4s var(--kph-ease)}
:where(.kph-bento) .kph-bento__arrow .kph-svg{width:20px;height:20px;transition:transform .4s var(--kph-ease)}
:where(.kph-bento) .kph-bento__card:hover .kph-bento__arrow{border-color:var(--kph-blue);background-color:var(--kph-blue);transform:scale(1.05)}
:where(.kph-bento) .kph-bento__card:hover .kph-bento__arrow .kph-svg{transform:translate(2px,-2px)}
:where(.kph-bento) .kph-bento__content{position:relative;z-index:3;display:flex;flex-direction:column;gap:8px;padding:32px 28px}
:where(.kph-bento) .kph-bento__title{margin:0;color:#fff;font-size:1.35rem;font-weight:700;line-height:1.2;text-shadow:0 2px 4px rgba(0,0,0,.4)}
:where(.kph-bento) .kph-bento__desc{display:block;max-width:95%;color:var(--kph-soft);font-size:.95rem;font-weight:500;line-height:1.5;text-shadow:0 1px 3px rgba(0,0,0,.6)}
:where(.kph-bento) .kph-bento__link{display:flex;align-items:center;gap:6px;margin-top:12px;color:var(--kph-sky);font-size:.85rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;text-shadow:0 1px 2px rgba(0,0,0,.5);opacity:0;transform:translateY(10px);transition:all .4s var(--kph-ease)}
:where(.kph-bento) .kph-bento__card:hover .kph-bento__link,:where(.kph-bento) .kph-bento__card:focus-visible .kph-bento__link,.kph-bento-link-always-yes .kph-bento__link{opacity:1;transform:none}
@media (hover:none){:where(.kph-bento) .kph-bento__link{opacity:1;transform:none}}

/* ========== FEATURE CARDS ========== */
:where(.kph-cards) .kph-wrap{max-width:1192px}
:where(.kph-cards) .kph-head{max-width:800px;margin-bottom:60px}
:where(.kph-cards) .kph-eyebrow{margin-bottom:24px;--kph-eyebrow-w:40px}
:where(.kph-cards) .kph-cards__grid{--kph-cols:3;display:grid;grid-template-columns:repeat(var(--kph-cols),minmax(0,1fr));gap:24px}
:where(.kph-cards) .kph-card{position:relative;display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--kph-line);border-radius:16px;background-color:#fff;color:inherit;text-decoration:none;transition:all .3s var(--kph-ease)}
:where(.kph-cards-lift-yes) .kph-card:hover{transform:translateY(-6px)}
:where(.kph-cards) .kph-card:hover{border-color:rgba(26,128,200,.4);box-shadow:0 16px 32px -10px rgba(15,23,42,.08);color:inherit}
:where(.kph-cards) .kph-card__body{display:flex;flex:1;flex-direction:column;align-items:inherit;padding:40px 32px}
:where(.kph-cards) .kph-card__icon{display:flex;flex:none;align-items:center;justify-content:center;width:54px;height:54px;margin-bottom:24px;border:1px solid rgba(26,128,200,.15);border-radius:14px;background-color:var(--kph-tint);color:var(--kph-blue)}
:where(.kph-cards) .kph-card__icon .kph-svg,:where(.kph-cards) .kph-card__icon i{width:24px;height:24px;font-size:24px}
:where(.kph-cards) .kph-card__num{font-size:1rem;font-weight:800;letter-spacing:.04em;font-variant-numeric:tabular-nums}
:where(.kph-cards) .kph-card__photo{align-self:stretch;width:100%;aspect-ratio:3/2;background-color:var(--kph-soft)}
:where(.kph-cards) .kph-card:hover .kph-card__photo .kph-img{transform:scale(1.04)}
:where(.kph-cards) .kph-card__title{margin:0 0 12px;color:var(--kph-ink);font-size:1.15rem;font-weight:700;line-height:1.3}
:where(.kph-cards) .kph-card__desc{color:var(--kph-muted);font-size:.95rem;font-weight:500;line-height:1.6}
:where(.kph-cards) .kph-card__desc p+p{margin-top:12px}
:where(.kph-cards) .kph-card__link{display:inline-flex;align-items:center;gap:8px;margin-top:auto;padding-top:22px;color:var(--kph-blue);font-size:.85rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;text-decoration:none}
:where(.kph-cards) .kph-card__link .kph-svg{width:16px;height:16px;transition:transform .25s ease}
:where(.kph-cards) .kph-card__link:hover,:where(.kph-cards) .kph-card:hover span.kph-card__link{color:var(--kph-blue-dark)}
:where(.kph-cards) .kph-card__link:hover .kph-svg,:where(.kph-cards) .kph-card:hover .kph-card__link .kph-svg{transform:translateX(4px)}

/* ========== PROFILE ========== */
:where(.kph-profile) .kph-wrap{max-width:1192px}
:where(.kph-profile) .kph-profile__card{display:grid;grid-template-columns:0.8fr 1.2fr;gap:80px;align-items:center;padding:60px;border:1px solid #f1f5f9;border-radius:32px;background-color:#fff;box-shadow:0 10px 40px -15px rgba(15,23,42,.05)}
:where(.kph-profile) .kph-profile__card>*{min-width:0}
:where(.kph-profile--img-right) .kph-profile__photo{order:2}
:where(.kph-profile) .kph-profile__photo{aspect-ratio:3/4;border-radius:24px;background-color:var(--kph-soft);box-shadow:0 25px 50px -12px rgba(15,23,42,.1)}
:where(.kph-zoom-yes) .kph-profile__photo:hover .kph-img{transform:scale(1.03)}
:where(.kph-profile) .kph-eyebrow{margin-bottom:24px;--kph-eyebrow-w:40px}
:where(.kph-profile) .kph-profile__name{margin:0 0 12px;color:var(--kph-ink);font-size:3.4rem;font-weight:700;line-height:1.1;letter-spacing:-.03em}
:where(.kph-profile) .kph-profile__role{margin-bottom:30px;color:var(--kph-blue);font-size:1.1rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
:where(.kph-profile) .kph-profile__bio{margin-bottom:40px;color:var(--kph-text);font-size:1.05rem;font-weight:500;line-height:1.8}
:where(.kph-profile) .kph-profile__bio p+p{margin-top:16px}
:where(.kph-profile) .kph-profile__creds{display:flex;flex-wrap:wrap;gap:12px}
:where(.kph-profile) .kph-cred{display:flex;align-items:center;gap:10px;padding:12px 24px;border:1px solid var(--kph-line);border-radius:10px;background-color:#fff;color:var(--kph-ink);font-size:.9rem;font-weight:700;box-shadow:0 4px 6px -1px rgba(15,23,42,.02)}
:where(.kph-profile) .kph-cred .kph-svg,:where(.kph-profile) .kph-cred i{width:20px;height:20px;font-size:20px;color:var(--kph-blue)}

/* ========== GALLERY ========== */
:where(.kph-gallery) .kph-wrap{max-width:1192px}
:where(.kph-gallery) .kph-head{max-width:800px;margin-bottom:50px}
:where(.kph-gallery) .kph-gallery__grid{--kph-cols:3;display:grid;grid-template-columns:repeat(var(--kph-cols),minmax(0,1fr));gap:20px}
:where(.kph-gallery) .kph-gallery__item{--kph-overlay:15,23,42;position:relative;margin:0;overflow:hidden;aspect-ratio:4/3;border-radius:16px;background-color:var(--kph-ink);box-shadow:0 10px 30px -10px rgba(15,23,42,.1)}
:where(.kph-gallery) .kph-gallery__link{position:absolute;inset:0;display:block;color:inherit}
:where(.kph-gallery) .kph-gallery__item .kph-img{transition:transform .6s var(--kph-ease)}
:where(.kph-zoom-yes) .kph-gallery__item:hover .kph-img,:where(.kph-gallery) .kph-gallery__item:hover .kph-img{transform:scale(1.08)}
:where(.kph-gallery) .kph-gallery__overlay{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;justify-content:flex-end;padding:24px;background:linear-gradient(to top,rgba(15,23,42,.85) 0%,rgba(15,23,42,.2) 50%,rgba(15,23,42,0) 100%);opacity:0;transition:opacity .4s ease}
:where(.kph-gallery) .kph-gallery__item:hover .kph-gallery__overlay,:where(.kph-gallery) .kph-gallery__item:focus-within .kph-gallery__overlay,.kph-gallery--labels-always .kph-gallery__overlay{opacity:1}
@media (hover:none){:where(.kph-gallery) .kph-gallery__overlay{opacity:1}}
:where(.kph-gallery) .kph-gallery__label{color:#fff;font-size:1.15rem;font-weight:700;line-height:1.3;transform:translateY(15px);transition:transform .4s var(--kph-ease)}
:where(.kph-gallery) .kph-gallery__sublabel{margin-top:6px;color:var(--kph-sky);font-size:.85rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase;transform:translateY(15px);transition:transform .4s var(--kph-ease)}
:where(.kph-gallery) .kph-gallery__item:hover .kph-gallery__label,:where(.kph-gallery) .kph-gallery__item:hover .kph-gallery__sublabel,.kph-gallery--labels-always .kph-gallery__label,.kph-gallery--labels-always .kph-gallery__sublabel{transform:none}
@media (hover:none){:where(.kph-gallery) .kph-gallery__label,:where(.kph-gallery) .kph-gallery__sublabel{transform:none}}
:where(.kph-gallery) .kph-actions{margin-top:50px}

/* ========== REVIEWS ========== */
:where(.kph-reviews) .kph-wrap{max-width:1192px;padding-inline:24px}
:where(.kph-reviews) .kph-head{max-width:800px;margin-bottom:50px}
:where(.kph-reviews) .kph-reviews__viewport{width:100%;padding:20px 0 40px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none}
:where(.kph-reviews) .kph-reviews__viewport::-webkit-scrollbar{display:none}
:where(.kph-reviews) .kph-reviews__track{display:flex;gap:24px;width:max-content;padding:0 24px}
:where(.kph-reviews-center-yes) .kph-reviews__track{margin-inline:auto}
:where(.kph-reviews) .kph-review{display:flex;flex:none;flex-direction:column;width:400px;margin:0;padding:32px;border:1px solid var(--kph-line);border-radius:16px;background-color:#fff;box-shadow:0 10px 25px -10px rgba(15,23,42,.08);scroll-snap-align:center;transition:transform .3s ease,box-shadow .3s ease}
:where(.kph-reviews) .kph-review:hover{transform:translateY(-4px);box-shadow:0 15px 35px -10px rgba(15,23,42,.12)}
:where(.kph-reviews) .kph-review__head{display:flex;align-items:center;gap:16px;margin-bottom:20px}
:where(.kph-reviews) .kph-review__avatar{display:flex;flex:none;align-items:center;justify-content:center;width:48px;height:48px;overflow:hidden;border-radius:50%;background-color:var(--kph-blue);color:#fff;font-size:1.1rem;font-weight:700}
:where(.kph-reviews) .kph-review__avatar .kph-img{width:100%;height:100%;object-fit:cover}
:where(.kph-reviews) .kph-review__who{display:flex;flex-direction:column;flex-grow:1}
:where(.kph-reviews) .kph-review__name{color:var(--kph-ink);font-size:1.05rem;font-weight:700;line-height:1.2}
:where(.kph-reviews) .kph-review__meta{display:flex;align-items:center;gap:8px;margin-top:4px;color:var(--kph-muted);font-size:.85rem;font-weight:500}
:where(.kph-reviews) .kph-review__g{width:16px;height:16px;flex:none}
:where(.kph-reviews) .kph-review__stars{display:flex;gap:2px;margin-bottom:16px}
:where(.kph-reviews) .kph-review__stars svg{width:18px;height:18px;fill:#fbbc04}
:where(.kph-reviews) .kph-review__text{margin:0;padding:0;border:0;color:var(--kph-text);font-size:.98rem;font-style:normal;font-weight:500;line-height:1.6}
:where(.kph-reviews) .kph-reviews__foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px 28px;margin-top:10px;padding-inline:24px}
:where(.kph-reviews) .kph-reviews__hint{display:flex;align-items:center;justify-content:center;gap:8px;color:#94a3b8;font-size:.85rem;font-weight:600}
:where(.kph-reviews) .kph-reviews__hint .kph-svg{width:20px;height:20px}
@media (prefers-reduced-motion:no-preference){:where(.kph-reviews) .kph-reviews__hint .kph-svg{animation:kphSwipe 2s infinite ease-in-out}}
@keyframes kphSwipe{0%,100%{transform:translateX(0)}50%{transform:translateX(6px)}}
:where(.kph-reviews) .kph-reviews__nav{display:flex;gap:10px}
:where(.kph-reviews) .kph-reviews__btn{display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid var(--kph-line);border-radius:50%;background-color:#fff;color:var(--kph-ink);cursor:pointer;transition:all .25s ease}
:where(.kph-reviews) .kph-reviews__btn:hover,:where(.kph-reviews) .kph-reviews__btn:focus{border-color:var(--kph-blue);background-color:var(--kph-blue);color:#fff}
:where(.kph-reviews) .kph-reviews__btn .kph-svg{width:18px;height:18px}
:where(.kph-reviews) .kph-reviews__more{padding-bottom:2px;border-bottom:2px solid var(--kph-blue);color:var(--kph-ink);font-size:.95rem;font-weight:700}
:where(.kph-reviews) .kph-reviews__more:hover,:where(.kph-reviews) .kph-reviews__more:focus{color:var(--kph-blue)}

/* ========== TEXT BLOCK ========== */
:where(.kph-text) .kph-text__grid{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:80px;align-items:start}
:where(.kph-text--stacked) .kph-text__grid{grid-template-columns:minmax(0,1fr);gap:0}
:where(.kph-text--stacked) .kph-text__main{max-width:860px}
:where(.kph-text--stacked) .kph-head{margin-bottom:24px}
:where(.kph-text) .kph-title{font-size:2.4rem;line-height:1.2}
:where(.kph-text) .kph-text__body{color:var(--kph-text);font-size:1.05rem;font-weight:500;line-height:1.8}
:where(.kph-text) .kph-text__body p+p,:where(.kph-text) .kph-text__body ul,:where(.kph-text) .kph-text__body ol{margin-top:16px}
:where(.kph-text) .kph-text__body ul{padding-left:1.2em;list-style:disc}
:where(.kph-text) .kph-text__body ol{padding-left:1.2em;list-style:decimal}
:where(.kph-text) .kph-text__body strong{color:var(--kph-ink);font-weight:700}
:where(.kph-text) .kph-text__body a{color:var(--kph-blue);text-decoration:underline}
:where(.kph-text) .kph-tags__label{margin:32px 0 14px;color:var(--kph-blue);font-size:.8rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
:where(.kph-text) .kph-tags{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
:where(.kph-text) .kph-tags__label+.kph-tags{margin-top:0}
:where(.kph-text) .kph-tag{display:inline-flex;align-items:center;gap:8px;padding:10px 18px;border:1px solid var(--kph-line);border-radius:10px;background-color:#fff;color:var(--kph-ink);font-size:.92rem;font-weight:700;line-height:1.3}
:where(.kph-text) .kph-tag .kph-svg,:where(.kph-text) .kph-tag i{width:16px;height:16px;font-size:16px;color:var(--kph-blue)}
:where(.kph-text) .kph-actions{margin-top:32px}
:where(.kph-text-box-card) .kph-text__grid{padding:56px;border:1px solid var(--kph-line);border-radius:24px;background-color:#fff;box-shadow:0 10px 40px -15px rgba(15,23,42,.06)}

/* ========== CTA ========== */
:where(.kph-cta) .kph-cta__panel{position:relative;display:flex;align-items:center;justify-content:space-between;gap:32px 48px;overflow:hidden;padding:56px 60px;border-radius:24px;background-color:var(--kph-ink);background-image:radial-gradient(120% 140% at 100% 0%,rgba(26,128,200,.35) 0%,rgba(26,128,200,0) 55%)}
:where(.kph-cta) .kph-head{max-width:680px}
:where(.kph-cta) .kph-title{color:#fff;font-size:2.4rem;line-height:1.2}
:where(.kph-cta) .kph-eyebrow{color:var(--kph-sky);--kph-eyebrow-line:var(--kph-sky)}
:where(.kph-cta) .kph-intro{margin-top:16px;color:#cbd5e1}
:where(.kph-cta) .kph-actions{flex:none}
:where(.kph-cta--soft) .kph-cta__panel{border:1px solid rgba(26,128,200,.15);background-color:var(--kph-tint);background-image:none}
:where(.kph-cta--soft) .kph-title{color:var(--kph-ink)}
:where(.kph-cta--soft) .kph-eyebrow{color:var(--kph-blue);--kph-eyebrow-line:var(--kph-blue)}
:where(.kph-cta--soft) .kph-intro{color:var(--kph-text)}
:where(.kph-cta--soft) .kph-btn--ghost{background-color:#fff;border-color:var(--kph-line);color:var(--kph-ink)}
:where(.kph-cta--soft) .kph-btn--ghost:hover,:where(.kph-cta--soft) .kph-btn--ghost:focus{background-color:var(--kph-tint-2);border-color:var(--kph-blue);color:var(--kph-blue)}
:where(.kph-cta--blue) .kph-cta__panel{background-color:var(--kph-blue);background-image:radial-gradient(120% 140% at 100% 0%,rgba(255,255,255,.18) 0%,rgba(255,255,255,0) 55%)}
:where(.kph-cta--blue) .kph-eyebrow{color:#e0f2fe;--kph-eyebrow-line:#e0f2fe}
:where(.kph-cta--blue) .kph-intro{color:#e0f2fe}
:where(.kph-cta--blue) .kph-btn--primary{background-color:#fff;border-color:#fff;color:var(--kph-blue);box-shadow:0 6px 18px rgba(15,23,42,.18)}
:where(.kph-cta--blue) .kph-btn--primary:hover,:where(.kph-cta--blue) .kph-btn--primary:focus{background-color:var(--kph-ink);border-color:var(--kph-ink);color:#fff}
:where(.kph-cta-layout-centered) .kph-cta__panel{flex-direction:column;text-align:center}
:where(.kph-cta-layout-centered) .kph-head{align-items:center;text-align:center;margin-inline:auto}
:where(.kph-cta-layout-centered) .kph-actions{justify-content:center}

/* ========== QUOTE FORM ========== */
:where(.kph-quote) .kph-quote__grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:72px;align-items:start}
:where(.kph-quote--form-only) .kph-quote__grid{grid-template-columns:minmax(0,1fr);max-width:760px}
:where(.kph-quote) .kph-title{font-size:2.8rem}
:where(.kph-quote) .kph-quote__contact{display:flex;flex-direction:column;align-items:flex-start;gap:14px;margin-top:40px;padding-top:32px;border-top:1px solid var(--kph-line)}
:where(.kph-quote) .kph-quote__label{color:var(--kph-muted);font-size:.8rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
:where(.kph-quote) .kph-quote__phone{display:inline-flex;align-items:center;gap:14px;color:var(--kph-ink);font-size:2rem;font-weight:700;letter-spacing:-.02em;line-height:1.1;font-variant-numeric:tabular-nums;transition:color .2s ease}
:where(.kph-quote) .kph-quote__phone .kph-svg{width:28px;height:28px;color:var(--kph-blue)}
:where(.kph-quote) .kph-quote__email{display:inline-flex;align-items:center;gap:12px;color:var(--kph-ink);font-size:1.05rem;font-weight:600;overflow-wrap:anywhere;transition:color .2s ease}
:where(.kph-quote) .kph-quote__email .kph-svg{width:20px;height:20px;color:var(--kph-blue)}
:where(.kph-quote) .kph-quote__phone:hover,:where(.kph-quote) .kph-quote__phone:focus,:where(.kph-quote) .kph-quote__email:hover,:where(.kph-quote) .kph-quote__email:focus{color:var(--kph-blue)}
:where(.kph-quote) .kph-quote__extra{color:var(--kph-muted);font-size:.95rem;line-height:1.6}

:where(.kph-quote) .kph-form{position:relative;display:grid;gap:18px;padding:40px;border:1px solid var(--kph-line);border-radius:20px;background-color:#fff;box-shadow:0 20px 40px -15px rgba(15,23,42,.1)}
:where(.kph-quote) .kph-form__title{color:var(--kph-ink);font-size:1.4rem;font-weight:700;line-height:1.25}
:where(.kph-quote) .kph-form__text{margin-top:-8px;color:var(--kph-text);font-size:.95rem;line-height:1.6}
:where(.kph-quote) .kph-form__row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
:where(.kph-quote) .kph-form label,:where(.kph-quote) .kph-form legend{display:block;color:var(--kph-ink);font-size:.9rem;font-weight:700;line-height:1.3}
:where(.kph-quote) .kph-form .kph-field{display:block;width:100%;min-height:50px;margin-top:8px;padding:13px 16px;border:1px solid var(--kph-line-2);border-radius:10px;background-color:#fff;color:var(--kph-ink);font-family:var(--kph-font);font-size:1rem;font-weight:500;line-height:1.4;box-shadow:none;transition:border-color .2s ease,box-shadow .2s ease}
:where(.kph-quote) .kph-form select.kph-field{appearance:none;-webkit-appearance:none;padding-right:44px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;background-size:16px}
:where(.kph-quote) .kph-form textarea.kph-field{min-height:120px;resize:vertical}
:where(.kph-quote) .kph-form .kph-field:focus{outline:none;border-color:var(--kph-blue);box-shadow:0 0 0 4px rgba(26,128,200,.15)}
:where(.kph-quote) .kph-form__choice{display:flex;flex-wrap:wrap;gap:10px 22px;margin:0;padding:0;border:0}
:where(.kph-quote) .kph-form__choice legend{width:100%;margin-bottom:10px}
:where(.kph-quote) .kph-form .kph-radio{display:inline-flex;align-items:center;gap:8px;font-weight:600;cursor:pointer}
:where(.kph-quote) .kph-form .kph-radio input{width:18px;height:18px;margin:0;accent-color:var(--kph-blue)}
:where(.kph-quote) .kph-form .kph-btn{margin-top:6px;min-height:56px;font-weight:700}
:where(.kph-quote) .kph-form__notice{padding:14px 16px;border-radius:10px;font-size:.95rem;font-weight:600;line-height:1.5}
:where(.kph-quote) .kph-form__notice--ok{background-color:#e1f5e8;color:#11562a}
:where(.kph-quote) .kph-form__notice--err{background-color:#fde8e4;color:#8a1f0f}
:where(.kph-quote) .kph-form__trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* ========== Tablet (Elementor tablet breakpoint: 1024px) ========== */
@media (max-width:1024px){
  :where(.kph-hero) .kph-hero__grid{grid-template-columns:minmax(0,1fr);gap:48px}
  :where(.kph-hero) .kph-title{font-size:2.3rem}
  :where(.kph-hero) .kph-float{left:10px;bottom:-15px}
  :where(.kph-card-pos-bottom-right) .kph-float,:where(.kph-card-pos-top-right) .kph-float{left:auto;right:10px}
  :where(.kph-card-pos-top-left) .kph-float,:where(.kph-card-pos-top-right) .kph-float{bottom:auto;top:-15px}

  :where(.kph-split--stack-at-tablet) .kph-split__grid{grid-template-columns:minmax(0,1fr);direction:ltr}
  :where(.kph-split--stack-at-tablet.kph-split--stack-text-first) .kph-split__media{order:2;max-width:600px;margin-inline:auto}
  :where(.kph-split--stack-at-tablet.kph-split--stack-image-first) .kph-split__media{order:-1}
  :where(.kph-split--stack-at-tablet) .kph-title{font-size:2.2rem}
  :where(.kph-split) .kph-split__grid{gap:50px}

  :where(.kph-bento) .kph-bento__grid{--kph-cols:2;grid-auto-rows:320px}
  :where(.kph-bento) .kph-span-3,:where(.kph-bento) .kph-span-4{grid-column:1 / -1}

  :where(.kph-cards) .kph-cards__grid{--kph-cols:2}
  :where(.kph-profile) .kph-profile__card{gap:50px}
  :where(.kph-gallery) .kph-gallery__grid{--kph-cols:2}

  :where(.kph-text) .kph-text__grid{grid-template-columns:minmax(0,1fr);gap:24px}
  :where(.kph-cta) .kph-cta__panel{flex-direction:column;align-items:flex-start}
  :where(.kph-cta-layout-centered) .kph-cta__panel{align-items:center}
  :where(.kph-quote) .kph-quote__grid{grid-template-columns:minmax(0,1fr);gap:48px}
}

/* ========== Phone (Elementor mobile breakpoint: 767px) ========== */
@media (max-width:767px){
  :where(.kph-bento) .kph-title,:where(.kph-quote) .kph-title{font-size:2.2rem}
  :where(.kph-cards) .kph-title{font-size:2.5rem}
  :where(.kph-gallery) .kph-title,:where(.kph-reviews) .kph-title{font-size:2.4rem}
  :where(.kph-text) .kph-title,:where(.kph-section-heading) .kph-title{font-size:2rem}
  :where(.kph-split--stack-at-mobile) .kph-split__grid{grid-template-columns:minmax(0,1fr);direction:ltr}
  :where(.kph-split--stack-at-mobile.kph-split--stack-text-first) .kph-split__media{order:2}
  :where(.kph-split--stack-at-mobile.kph-split--stack-image-first) .kph-split__media{order:-1}

  :where(.kph-bento) .kph-bento__grid{--kph-cols:1;grid-auto-rows:300px}
  :where(.kph-bento) .kph-span-1,:where(.kph-bento) .kph-span-2,:where(.kph-bento) .kph-span-3,:where(.kph-bento) .kph-span-4{grid-column:1 / -1}
  :where(.kph-bento) .kph-bento__content{padding:24px 20px}
  :where(.kph-bento) .kph-bento__link{opacity:1;transform:none}

  :where(.kph-cards) .kph-cards__grid{--kph-cols:1}
  :where(.kph-profile) .kph-profile__card{grid-template-columns:minmax(0,1fr);padding:40px 24px}
  :where(.kph-profile) .kph-profile__photo{width:100%;max-width:400px;margin-inline:auto}
  :where(.kph-profile--img-right) .kph-profile__photo{order:0}
  :where(.kph-profile) .kph-profile__name{font-size:2.8rem}
  :where(.kph-gallery) .kph-gallery__grid{--kph-cols:1}
  :where(.kph-reviews) .kph-review{width:320px}

  :where(.kph-text-box-card) .kph-text__grid{padding:32px 24px}
  :where(.kph-cta) .kph-cta__panel{padding:40px 24px;border-radius:20px}
  :where(.kph-cta) .kph-title{font-size:1.9rem}
  :where(.kph-quote) .kph-form{padding:28px 20px}
  :where(.kph-quote) .kph-form__row{grid-template-columns:minmax(0,1fr)}
  :where(.kph-quote) .kph-quote__phone{font-size:1.6rem}
}

/* ========== Small phones (from the HTML: 480px) ========== */
@media (max-width:480px){
  :where(.kph) .kph-actions{flex-direction:column;align-items:stretch;width:100%}
  :where(.kph) .kph-btn{width:100%}
  :where(.kph-hero) .kph-hero__media{flex-direction:column}
  :where(.kph-hero) .kph-float{position:relative;bottom:auto;left:auto;right:auto;top:auto;width:92%;margin:-20px auto 0}
  :where(.kph-split) .kph-split__plate{--kph-plate:10px}
  :where(.kph-split) .kph-pills{flex-direction:column}
  :where(.kph-split) .kph-pill{width:100%}
  :where(.kph-cards) .kph-card__body{padding:32px 24px}
  :where(.kph-profile) .kph-cred{width:100%;justify-content:center}
  :where(.kph-reviews) .kph-review{width:300px;padding:24px}
}

@media (prefers-reduced-motion:reduce){
  .kph *,.kph *::before,.kph *::after{transition-duration:.01ms!important;animation-duration:.01ms!important}
}

/* ========== Service pages (single-krome_service.php) ==========
   Section bands around the widgets, matching the Elementor container spacing used on the pages. */
.krome-svc-band{padding:90px 24px;background-color:#fff}
.krome-svc-band--soft{background-color:#f8fafc}
.krome-svc-band--hero{padding:80px 24px 90px;background:linear-gradient(180deg,#f8fafc 0%,#fff 100%)}
.krome-svc-band--cta{padding-top:40px;padding-bottom:100px}
.krome-svc .elementor-widget{margin:0}
.krome-svc-content{max-width:860px;color:#475569;font-size:1.05rem;line-height:1.8}
.krome-svc-content > * + *{margin-top:16px}
@media (max-width:767px){
  .krome-svc-band{padding:60px 16px}
  .krome-svc-band--hero{padding:40px 16px 56px}
  .krome-svc-band--cta{padding-top:24px;padding-bottom:64px}
}

/* ---------- Dark section helper: add the CSS class "kph-dark-band" to a container ---------- */
.kph-dark-band{background-image:radial-gradient(90% 120% at 100% 0%,rgba(26,128,200,.28) 0%,rgba(26,128,200,0) 60%)}
.kph-dark-band .kph-quote__label{color:#94a3b8}
.kph-dark-band .kph-quote__contact{border-top-color:rgba(255,255,255,.14)}
.kph-dark-band .kph-quote__extra{color:#94a3b8}
.kph-dark-band .kph-eyebrow{--kph-eyebrow-line:#38bdf8}

/* Feature Cards — compact "icon beside title" style */
:where(.kph-cards--inline) .kph-card__body{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:16px;padding:22px 24px;text-align:left}
:where(.kph-cards--inline) .kph-card__icon{grid-row:span 2;width:48px;height:48px;margin:0;border-radius:12px}
:where(.kph-cards--inline) .kph-card__title{margin:0;font-size:1.05rem}
:where(.kph-cards--inline) .kph-card__desc{grid-column:2;margin-top:4px;font-size:.92rem}
:where(.kph-cards--inline) .kph-card__link{grid-column:2;padding-top:8px}
/* Quote form on a dark band: keep the text column centred beside the tall form */
.kph-dark-band .kph-quote__grid{align-items:center}
:where(.kph-cards--inline) .kph-card__body:not(:has(.kph-card__desc,.kph-card__link)) .kph-card__icon{grid-row:auto}
