/*
  Click: dark, photo-first design (website standard).
  Live parts (.rb-*) come from public/assets/css/rb-site.css; this file gives them the Click look.
  Customize changes var(--rb-brand) / var(--rb-font-heading) / var(--rb-font-body).
*/
:root {
  --rb-brand: #00d3b7;
  --rb-on-brand: #062a25;
  --rb-font-heading: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  --rb-font-body: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  --rb-text: #ececf1;
  --rb-muted: #a3a6b4;
  --rb-line: rgba(255, 255, 255, .12);
  --rb-surface: #17181d;
  --rb-soft: #22242b;
  --rb-card: #22242b;
  --rb-radius: 6px;
  --rb-sticky-top: 0px;
  --ck-side: #2f313b;
  --ck-side-w: 300px;
}

html { background: var(--rb-surface); }
body.ck { margin: 0; background: var(--rb-surface); color: var(--rb-text); font-family: var(--rb-font-body); font-weight: 300; line-height: 1.65; }
.ck h1, .ck h2, .ck h3 { font-family: var(--rb-font-heading); font-weight: 300; letter-spacing: .01em; margin: 0; color: #fff; }
.ck-main a:not([class]) { color: var(--rb-brand); }
.ck-eyebrow { display: block; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--rb-brand); font-weight: 500; margin-bottom: 10px; }
.ck-link { color: var(--rb-brand); text-decoration: none; font-weight: 400; font-size: 14px; white-space: nowrap; }
.ck-link:hover { text-decoration: underline; }
.ck .rb-btn { border-radius: 999px; font-weight: 500; letter-spacing: .02em; color: var(--rb-on-brand); }
.ck .rb-btn.rb-btn-outline { color: var(--rb-brand); }
.ck .rb-btn.rb-btn-outline:hover { color: var(--rb-on-brand); }
.ck .ck-btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; }
.ck .ck-btn-ghost:hover { background: #fff; color: #111; filter: none; }

/* Side panel (desktop) */
.ck-side { position: fixed; top: 0; right: 0; bottom: 0; width: var(--ck-side-w); background: var(--ck-side); display: flex; flex-direction: column; padding: 32px 26px 20px; overflow-y: auto; z-index: 40; text-align: center; }
.ck-side-top { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ck-logo .rb-logo-img { height: 96px; width: 96px; max-width: none; border-radius: 50%; object-fit: cover; background: #fff; }
.ck-logo .rb-logo-mark { width: 96px; height: 96px; flex-basis: 96px; font-size: 32px; font-weight: 300; }
.ck-name { font-family: var(--rb-font-heading); font-weight: 100; font-size: 34px; line-height: 1.15; color: #fff; margin: 10px 0 0; }
.ck-tagline { font-size: 13px; color: var(--rb-muted); margin: 0 0 8px; }
.ck-social .rb-social { justify-content: center; gap: 6px; }
.ck-social .rb-social a { width: 34px; height: 34px; border-color: transparent; color: #fff; font-size: 15px; }
.ck-social .rb-social a:hover { background: transparent; color: var(--rb-brand); border-color: transparent; }
.ck-nav { margin: 26px 0 18px; border-top: 1px solid var(--rb-line); border-bottom: 1px solid var(--rb-line); padding: 8px 0; }
.ck-nav .rb-menu { flex-direction: column; gap: 0; }
.ck-nav .rb-menu a { display: block; padding: 9px 0; color: var(--rb-muted); border: 0; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; font-weight: 400; }
.ck-nav .rb-menu a:hover, .ck-nav .rb-menu a.is-active { color: #fff; }
.ck-nav .rb-menu a.is-active::after { content: ""; display: block; width: 24px; height: 2px; background: var(--rb-brand); margin: 6px auto 0; }
.ck-nav .rb-menu-toggle { display: none !important; }
.ck-side-actions { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.ck-book { width: 100%; }
.ck-account .rb-account-login { color: var(--rb-muted); font-size: 14px; }
.ck-account .rb-account-login:hover { color: #fff; }
.ck-account .rb-account-btn { color: #fff; }
.ck-account .rb-account-menu { right: auto; left: 50%; transform: translateX(-50%); top: auto; bottom: calc(100% + 8px); text-align: left; }
.ck-side-foot { margin-top: auto; padding-top: 22px; display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--rb-muted); }
.ck-side-foot .rb-powered { color: var(--rb-muted); }

/* Phone top bar (hidden on desktop) */
.ck-top { display: none; }

/* Main area */
.ck-main { margin-right: var(--ck-side-w); min-height: 100vh; }
.ck-section { padding: 64px 48px; }
.ck-section-tight { padding-top: 8px; }
.ck-section-alt { background: #1c1d23; }
.ck-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 22px; }
.ck-section-head h2, .ck-split h2 { font-size: 38px; font-weight: 100; }
.ck-split { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: start; }
.ck-split > .ck-card:only-child { grid-column: 1 / -1; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.ck-split h2 { margin-bottom: 16px; }
.ck-split .rb-about p { color: #d3d5dd; font-size: 17px; }

/* Hero */
.ck-hero { position: relative; height: 100vh; min-height: 520px; display: flex; align-items: flex-end; background: #0f1013 center / cover no-repeat; }
.ck-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 16, 16, 0) 45%, rgba(16, 16, 16, .78) 100%); }
.ck-hero.rb-no-hero { background: radial-gradient(900px 500px at 25% 20%, color-mix(in srgb, var(--rb-brand) 35%, transparent), transparent 70%), #121318; }
.ck-hero-caption { position: relative; padding: 0 48px 64px; max-width: 980px; }
.ck-hero h1 { font-size: clamp(42px, 6vw, 84px); font-weight: 100; line-height: 1.05; margin-bottom: 26px; }
.ck-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ck-scroll { position: absolute; right: 32px; bottom: 28px; color: rgba(255, 255, 255, .7); font-size: 18px; animation: ck-bob 2s ease-in-out infinite; }
@keyframes ck-bob { 50% { transform: translateY(6px); } }

/* Inner page head */
.ck-page-head { padding: 72px 48px 28px; border-bottom: 1px solid var(--rb-line); margin-bottom: 28px; }
.ck-page-head h1 { font-size: clamp(38px, 5vw, 64px); font-weight: 100; }
.ck-page-head p { color: var(--rb-muted); margin: 10px 0 0; max-width: 640px; font-size: 16px; }

/* Live parts, Click look */
.ck .rb-grid { gap: 4px; }
.ck .rb-tile { border-radius: 2px; }
.ck .rb-tab { background: transparent; color: var(--rb-muted); border-color: var(--rb-line); }
.ck .rb-tab:hover { color: #fff; }
.ck .rb-tab.is-active { background: var(--rb-brand); color: var(--rb-on-brand); border-color: var(--rb-brand); }
.ck .rb-tabs-sticky { background: var(--rb-surface); }
.ck .rb-cat-title { font-weight: 300; color: #fff; }
.ck .rb-service-title, .ck .rb-service-card-title { font-weight: 400; color: #fff; }
.ck .rb-service, .ck .rb-service-card, .ck .rb-review { border-color: var(--rb-line); }
.ck .rb-service-card:hover { border-color: var(--rb-brand); }
.ck .rb-option-name { font-weight: 500; color: #fff; }
.ck .rb-service-from .rb-price, .ck .rb-service-top > .rb-price { font-weight: 400; }
.ck .rb-price { color: var(--rb-brand); font-weight: 500; }
.ck .rb-review blockquote { color: #d3d5dd; font-weight: 300; font-size: 16px; }
.ck .rb-stars { color: var(--rb-brand); }
.ck .rb-contact-form input, .ck .rb-contact-form textarea { background: #1c1d23; color: #fff; border-color: var(--rb-line); }
.ck .rb-contact-form label { font-weight: 400; color: #d3d5dd; }
.ck .rb-account-menu a { color: var(--rb-text); }
.ck .rb-account-menu a:hover { background: rgba(255, 255, 255, .06); }
.ck .rb-chooser-box h3 { color: #fff; }
.ck .rb-chooser-list a { color: var(--rb-text); }
.ck .rb-chooser-list a:hover, .ck .rb-chooser-list a:focus { background: rgba(255, 255, 255, .04); }
.ck .rb-chooser-close { color: #fff; }

.ck-card { background: var(--rb-card); border: 1px solid var(--rb-line); border-radius: 8px; padding: 24px; display: grid; gap: 22px; }
.ck-card h3, .ck-foot h3 { font-family: var(--rb-font-body); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--rb-muted); font-weight: 500; margin-bottom: 8px; }
.ck .rb-hours li { border-bottom-color: var(--rb-line); }

/* CTA + footer */
.ck-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 56px 48px; background: linear-gradient(90deg, color-mix(in srgb, var(--rb-brand) 22%, #17181d), #17181d); border-top: 1px solid var(--rb-line); }
.ck-cta h2 { font-size: 34px; font-weight: 100; }
.ck-cta p { margin: 6px 0 0; color: var(--rb-muted); }
.ck-foot { padding: 36px 48px 28px; border-top: 1px solid var(--rb-line); font-size: 13px; color: var(--rb-muted); }
.ck-foot-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.ck-foot .rb-contact-details { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.ck-foot .rb-contact-details li { font-size: 14px; }
.ck-foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.ck-foot .rb-powered { color: var(--rb-muted); }

/* Gallery mode: Home with the Portfolio page off = the classic Click photo stage + thumbnails in the side panel */
.ck-stage { position: fixed; top: 0; bottom: 0; left: 0; right: var(--ck-side-w); background: #101010; display: flex; align-items: center; justify-content: center; }
.ck-stage-figure { margin: 0; width: 100%; height: 100%; position: relative; display: flex; align-items: center; justify-content: center; }
.ck-stage-figure img, .ck-stage-figure video { max-width: 100%; max-height: 100%; width: 100%; height: 100%; object-fit: contain; display: block; }
.ck-stage-figure figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 40px 30px; background: linear-gradient(180deg, rgba(16, 16, 16, 0), rgba(16, 16, 16, .75)); color: #fff; display: flex; flex-direction: column; gap: 4px; pointer-events: none; }
.ck-stage-figure figcaption strong { font-family: var(--rb-font-heading); font-weight: 300; font-size: 30px; }
.ck-stage-figure figcaption span { color: #d3d5dd; font-size: 15px; }
.ck-stage-prev, .ck-stage-next { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .35); color: #fff; font-size: 20px; cursor: pointer; z-index: 2; transition: background .15s; }
.ck-stage-prev { left: 18px; }
.ck-stage-next { right: 18px; }
.ck-stage-prev:hover, .ck-stage-next:hover { background: rgba(0, 0, 0, .6); }
.ck-side-gallery { margin: 18px -10px 0; }
.ck-side-gallery .rb-tabs { position: sticky; top: 0; z-index: 2; background: var(--ck-side); }
.ck-side-gallery .rb-cat-select { background: rgba(0, 0, 0, .2); color: #fff; border-color: rgba(255, 255, 255, .18); }
/* categories: a compact list of names that wraps, like the menu */
.ck-side-gallery .rb-tabs { justify-content: center; gap: 2px 4px; margin: 0 0 14px; padding: 10px 0; border-top: 1px solid var(--rb-line); border-bottom: 1px solid var(--rb-line); }
.ck-side-gallery .rb-tab { border: 0; border-radius: 4px; background: transparent; padding: 5px 8px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--rb-muted); font-weight: 500; }
.ck-side-gallery .rb-tab:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.ck-side-gallery .rb-tab.is-active { background: transparent; color: var(--rb-brand); box-shadow: inset 0 -2px 0 var(--rb-brand); border-radius: 0; }
.ck-side-gallery .rb-count { font-size: 10px; opacity: .6; letter-spacing: 0; }
.ck-side-gallery .rb-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 104px; gap: 4px; }
.ck-side-gallery .rb-tile { cursor: pointer; border-radius: 0; opacity: .82; transition: opacity .15s; }
.ck-side-gallery .rb-tile:hover, .ck-side-gallery .rb-tile.is-current { opacity: 1; }
.ck-side-gallery .rb-tile.is-current { outline: 2px solid var(--rb-brand); outline-offset: -2px; }
.ck-side-gallery .rb-tile-caption { display: none; }
.ck-side-gallery .rb-tile:hover img { transform: none; }
.ck-home.rb-off-portfolio-page .ck-main { min-height: 0; }

@media (max-width: 1280px) {
  :root { --ck-side-w: 260px; }
  .ck-section { padding: 56px 36px; }
  .ck-hero-caption { padding: 0 36px 52px; }
  .ck-page-head { padding: 60px 36px 24px; }
}
@media (max-width: 980px) {
  :root { --rb-sticky-top: 58px; }
  .ck-side { display: none; }
  .ck-main { margin-right: 0; }
  .ck-top { display: block; position: sticky; top: 0; z-index: 45; background: rgba(23, 24, 29, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rb-line); }
  .ck-top-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 58px; padding: 0 16px; }
  .ck-top .rb-logo-name { color: #fff; font-family: var(--rb-font-heading); font-weight: 300; font-size: 18px; max-width: 52vw; }
  .ck-top .rb-logo-mark { width: 34px; height: 34px; flex-basis: 34px; font-size: 13px; }
  .ck-top .rb-logo-img { height: 34px; }
  .ck-top-actions { display: flex; align-items: center; gap: 4px; }
  .ck-top .rb-account-login { font-size: 0; color: #fff; }
  .ck-top .rb-account-login i { font-size: 18px; padding: 8px; }
  .ck-top .rb-account-name { display: none; }
  .ck-top .rb-menu-toggle { display: inline-flex; color: #fff; }
  .ck-top .rb-menu { display: none; position: absolute; left: 0; right: 0; top: 58px; flex-direction: column; gap: 0; background: #1c1d23; border-bottom: 1px solid var(--rb-line); padding: 6px 16px 12px; }
  .ck-top .rb-menu.is-open { display: flex; }
  .ck-top .rb-menu a { display: block; padding: 12px 0; color: var(--rb-text); border-bottom: 1px solid var(--rb-line); }
  .ck-top .rb-menu li:last-child a { border-bottom: 0; }
  .ck-hero { height: 78vh; min-height: 420px; }
  /* gallery mode on phones: the side panel becomes the page (name, filter, thumbnails); taps open the viewer */
  .ck-stage { display: none; }
  .ck-home.rb-off-portfolio-page .ck-top { display: none; }
  .ck-home.rb-off-portfolio-page .ck-side { display: flex; position: static; width: auto; min-height: 100vh; padding: 28px 16px 24px; overflow: visible; }
  .ck-home.rb-off-portfolio-page .ck-side-gallery { margin: 16px 0 0; }
  .ck-home.rb-off-portfolio-page .ck-side-gallery .rb-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 110px; }
  .ck-split { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 767px) {
  .ck-home.rb-off-portfolio-page .ck-side-gallery .rb-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }
  .ck-section { padding: 40px 16px; }
  .ck-section-tight { padding-top: 4px; }
  .ck-section-head h2, .ck-split h2 { font-size: 30px; }
  .ck-hero-caption { padding: 0 16px 36px; }
  .ck-scroll { display: none; }
  .ck-page-head { padding: 36px 16px 18px; margin-bottom: 18px; }
  .ck-cta { flex-direction: column; align-items: flex-start; padding: 40px 16px; }
  .ck-cta h2 { font-size: 28px; }
  .ck-foot { padding: 28px 16px 24px; }
  .ck .rb-mobile-bar { background: #1c1d23; border-top-color: var(--rb-line); }
  .ck .rb-bar-btn { background: transparent; color: #fff; border-color: var(--rb-line); }
  .ck .rb-bar-btn.rb-bar-primary { background: var(--rb-brand); border-color: var(--rb-brand); color: var(--rb-on-brand); }
}

/* Services dropdown in the side menu: opens in place (with the arrow), and stays open on the Services pages */
.ck .rb-menu .rb-has-sub { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; }
.ck .rb-submenu { position: static; width: 100%; min-width: 0; padding: 4px 0 6px; background: transparent; border: 0; box-shadow: none; }
.ck .rb-submenu::before { content: none; }
.ck .rb-has-sub:hover > .rb-submenu, .ck .rb-has-sub:focus-within > .rb-submenu { display: none; }
.ck .rb-has-sub.is-sub-open > .rb-submenu, .ck .rb-has-sub:has(> a.is-active) > .rb-submenu { display: block; }
.ck ul.rb-menu .rb-submenu a { padding: 6px 0; font-size: 12px; opacity: .8; }
.ck ul.rb-menu .rb-submenu a:hover, .ck ul.rb-menu .rb-submenu a.is-active { background: transparent; opacity: 1; }

/* Category pages (/services/<category>) */
.ck-cp-hero { padding: 72px 48px 56px; border-bottom: 1px solid var(--rb-line); }
.ck-cp-hero h1 { font-size: clamp(38px, 5vw, 64px); font-weight: 100; line-height: 1.1; }
.ck .rb-cp-wrap { max-width: none; padding: 0 48px; }
.ck .rb-cp-title { font-weight: 300; }
@media (max-width: 767px) {
  .ck-cp-hero { padding: 32px 16px 40px; }
  .ck .rb-cp-wrap { padding: 0 16px; }
}
