*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
:root{
--yellow:#FCB813;
--yellow-hover:#E5A510;
--yellow-light:#FEF7E0;
--yellow-glow:rgba(252,184,19,0.10);
--charcoal:#354343;
--charcoal-light:#4A5C5C;
--charcoal-dark:#2A3636;
--white:#FFFFFF;
--off-white:#FAFAF8;
--gray-100:#F5F5F2;
--gray-200:#EAEAE5;
--gray-300:#D5D5CE;
--gray-400:#9A9A90;
--gray-500:#6B7676;
--font:'DM Sans',system-ui,-apple-system,sans-serif;
--container:1260px;
--gap:7rem;
}
html{scroll-behavior:smooth}
body{font-family:var(--font);color:var(--charcoal);background:var(--white);line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.container{max-width:var(--container);margin:0 auto;padding:0 2rem}

/* ═══ HEADER ═══ */
.header{position:fixed;top:0;left:0;right:0;z-index:1000;background:rgba(255,255,255,0.96);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);transition:box-shadow .3s}
.header.scrolled{box-shadow:0 1px 0 var(--gray-200)}
.header-inner{display:flex;align-items:center;justify-content:space-between;min-height:var(--japuha-header-offset,68px);height:auto;max-width:var(--container);margin:0 auto;padding:10px 2rem;box-sizing:border-box}
.logo-wrap{display:flex;align-items:center;line-height:0}
.logo-wrap img{height:var(--japuha-header-logo-h,36px);width:auto;max-height:var(--japuha-header-logo-h,36px);object-fit:contain}
nav{display:flex;align-items:center;gap:2rem}
nav a{font-size:.88rem;font-weight:500;color:var(--charcoal);transition:color .2s;position:relative}
nav a:hover{color:var(--yellow-hover)}
nav a::after{content:'';position:absolute;bottom:-4px;left:0;width:0;height:2px;background:var(--yellow);transition:width .25s}
nav a:hover::after{width:100%}
.nav-lang{font-size:.8rem;color:var(--gray-400);display:flex;gap:2px}
.nav-lang a{padding:3px 6px;border-radius:4px;font-weight:500}
.nav-lang a.active{color:var(--charcoal);background:var(--gray-100)}
.nav-cta{background:var(--charcoal);color:var(--white)!important;padding:.5rem 1.3rem;border-radius:100px;font-weight:600;font-size:.82rem;letter-spacing:.02em;transition:all .25s}
.nav-cta:hover{background:var(--charcoal-dark);transform:translateY(-1px)}
.nav-cta::after{display:none!important}
.hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:8px}
.hamburger span{width:22px;height:2px;background:var(--charcoal);border-radius:2px;transition:all .3s}

/* ═══ HERO (Variant A) ═══ */
.home main#primary{padding-top:calc(var(--japuha-header-offset,68px) + var(--japuha-fixed-top-offset,0px) + 1rem)}
.hero{padding:0 2rem;display:block;position:relative;overflow:visible;background:var(--white)}
.hero-a{position:relative;border-radius:16px;margin:0 auto;max-width:var(--container);height:600px;max-height:600px;min-height:520px;overflow:hidden}
.hero-a__media{position:absolute;inset:0}
.hero-a__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity 1.2s ease}
.hero-a__bg.is-active{opacity:1}
.hero-a__overlay{position:absolute;inset:0;background:linear-gradient(135deg,rgba(53,67,67,0.92) 0%,rgba(53,67,67,0.65) 45%,rgba(53,67,67,0.25) 100%)}
.hero-a__punkt-circle{position:absolute;right:-100px;bottom:-100px;width:380px;height:380px;border-radius:50%;background:var(--yellow);opacity:.12}
.hero-a__punkt-dot{position:absolute;border-radius:50%;background:var(--yellow)}
.hero-a__punkt-dot--1{right:60px;top:50px;width:14px;height:14px;opacity:.7}
.hero-a__punkt-dot--2{right:200px;bottom:80px;width:8px;height:8px;opacity:.5}
.hero-a__content{position:relative;z-index:2;width:100%;max-width:640px;padding:5rem 4rem}
.hero-tag{display:inline-flex;align-items:flex-start;gap:8px;font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.12em;color:var(--yellow);margin-bottom:1.5rem;max-width:min(100%,40rem);line-height:1.35;white-space:normal}
.hero-tag .dot{margin-top:0.35em;flex-shrink:0}
.hero-tag .dot{width:6px;height:6px;border-radius:50%;background:var(--yellow)}
.hero-a h1{font-size:clamp(2.4rem,4.5vw,3.6rem);font-weight:700;line-height:1.12;letter-spacing:-.02em;margin-bottom:1rem;color:var(--white)}
.hero-a h1 .yellow{color:var(--yellow)}
.hero-desc{font-size:1.1rem;color:rgba(255,255,255,0.72);line-height:1.7;margin-bottom:2rem;max-width:480px}
.hero-btns{display:flex;gap:.75rem;flex-wrap:wrap;margin-bottom:2rem}
.btn-yellow{display:inline-flex;align-items:center;gap:8px;background:var(--yellow);color:var(--charcoal);padding:.8rem 1.8rem;border-radius:100px;font-weight:600;font-size:.92rem;transition:all .3s;border:none;cursor:pointer}
.btn-yellow:hover{background:var(--yellow-hover);transform:translateY(-2px);box-shadow:0 12px 32px rgba(252,184,19,0.35)}
.btn-outline{display:inline-flex;align-items:center;gap:8px;color:var(--charcoal);padding:.8rem 1.8rem;border-radius:100px;font-weight:500;font-size:.92rem;border:1.5px solid var(--gray-200);transition:all .25s}
.btn-outline:hover{border-color:var(--charcoal);background:var(--gray-100)}
.btn-outline-white{display:inline-flex;align-items:center;gap:8px;padding:.8rem 1.8rem;border-radius:100px;font-weight:500;font-size:.92rem;border:1.5px solid rgba(255,255,255,0.3);color:var(--white);transition:all .25s}
.btn-outline-white:hover{border-color:rgba(255,255,255,0.6);background:rgba(255,255,255,0.08)}
.hero-clients{display:flex;align-items:center;gap:1.25rem;flex-wrap:wrap}
.hero-clients-label{font-size:.68rem;text-transform:uppercase;letter-spacing:.1em;color:rgba(255,255,255,0.35);font-weight:600}
.client-logos{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;opacity:.35;filter:grayscale(1) brightness(2)}
.client-logos img{height:24px;width:auto;object-fit:contain}
.hero-a__dots{position:absolute;right:4rem;bottom:2.5rem;display:flex;gap:8px;z-index:3;align-items:center}
.hero-a__dot{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,0.3);cursor:pointer;transition:all .3s;border:0}
.hero-a__dot.is-active{width:24px;border-radius:4px;background:var(--yellow)}
.hero-a__dot:focus-visible{outline:2px solid var(--yellow);outline-offset:3px}

/* ═══ CATEGORIES ═══ */
.categories{padding:var(--gap) 0;background:var(--off-white)}
.sec-label{display:inline-flex;align-items:center;gap:8px;font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.12em;color:var(--gray-400);margin-bottom:.75rem}
.sec-label .punkt{width:7px;height:7px;border-radius:50%;background:var(--yellow)}
.sec-title{font-size:clamp(1.8rem,3vw,2.5rem);font-weight:700;letter-spacing:-.02em;margin-bottom:.5rem}
.sec-sub{font-size:1rem;color:var(--gray-500);max-width:480px;margin-bottom:3rem}
/* ═══ CATEGORY CARDS — Option B: Icon cards ═══ */
.cat-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:1rem}
.cat-card{display:flex;flex-direction:column;border-radius:14px;overflow:hidden;cursor:pointer;transition:all .4s ease;text-decoration:none;color:inherit}
.cat-card:hover{transform:translateY(-4px);box-shadow:0 20px 48px rgba(53,67,67,0.15)}
.cat-card-icon{background:transparent;aspect-ratio:3/4;display:block;padding:0;line-height:0}
.cat-card-icon svg{width:56px;height:56px;transition:transform .4s ease}
.cat-card:hover .cat-card-icon svg{transform:scale(1.1)}
.cat-card-image{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s ease}
.cat-card:hover .cat-card-image{transform:scale(1.04)}
.cat-bottom{background:var(--yellow);display:flex;align-items:center;justify-content:space-between;padding:.75rem 1.2rem;transition:background .35s}
.cat-name{font-size:.88rem;font-weight:600;color:var(--charcoal)}
.cat-arrow{opacity:0;transform:translateX(-8px);transition:all .35s;color:var(--charcoal)}
.cat-arrow svg{width:18px;height:18px}
.cat-card:hover .cat-arrow{opacity:1;transform:translateX(0)}
.all-link{display:inline-flex;align-items:center;gap:6px;margin-top:2rem;font-weight:600;font-size:.9rem;color:var(--charcoal);transition:all .2s}
.all-link:hover{color:var(--yellow-hover)}
.all-link:hover svg{transform:translateX(4px)}
.all-link svg{transition:transform .2s}

/* ═══ USP ═══ */
.usp{padding:var(--gap) 0;background:var(--white)}
.usp-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem}
.usp-card{padding:2rem 1.5rem;border-radius:14px;border:1px solid var(--gray-200);transition:all .3s;position:relative;overflow:hidden}
.usp-card::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:var(--yellow);transform:scaleX(0);transform-origin:left;transition:transform .4s}
.usp-card:hover{border-color:var(--yellow);box-shadow:0 8px 24px var(--yellow-glow)}
.usp-card:hover::before{transform:scaleX(1)}
.usp-num{font-size:2.5rem;font-weight:300;color:var(--yellow);line-height:1;margin-bottom:1rem}
.usp-card h3{font-size:.95rem;font-weight:700;margin-bottom:.5rem}
.usp-card p{font-size:.85rem;color:var(--gray-500);line-height:1.65}

/* ═══ TESTIMONIALS ═══ */
.testimonials{padding:var(--gap) 0;background:var(--charcoal);position:relative;overflow:hidden}
.testimonials::before{content:'';position:absolute;right:-8%;top:-15%;width:40vw;height:40vw;border-radius:50%;background:var(--yellow);opacity:.06;pointer-events:none}
.testimonials .sec-label{color:rgba(255,255,255,0.35)}
.testimonials .sec-title{color:var(--white)}
.testimonials .sec-sub{color:rgba(255,255,255,0.45)}
.test-slider{position:relative}
.test-track{display:flex;gap:1.25rem;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding-bottom:1.5rem;scrollbar-width:none;cursor:grab;touch-action:pan-y}
.test-track::-webkit-scrollbar{display:none}
.test-track.is-dragging{cursor:grabbing;scroll-snap-type:none}
.test-track.is-dragging .test-card{-webkit-user-select:none;user-select:none}
.test-track:focus{outline:2px solid var(--yellow);outline-offset:4px}
.test-track:focus:not(:focus-visible){outline:none}
.test-card{flex:0 0 360px;scroll-snap-align:start;background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.07);border-radius:14px;padding:1.75rem;transition:all .3s}
.test-card:hover{background:rgba(255,255,255,0.08);border-color:rgba(252,184,19,0.15)}
.test-stars{display:flex;gap:2px;margin-bottom:1rem}
.test-star{color:var(--yellow);font-size:14px}
.test-quote{font-size:.88rem;color:rgba(255,255,255,0.7);line-height:1.7;margin-bottom:1.25rem}
.test-author{display:flex;align-items:center;gap:.65rem;padding-top:1rem;border-top:1px solid rgba(255,255,255,0.06)}
.test-logo{width:36px;height:36px;border-radius:8px;object-fit:contain;background:rgba(255,255,255,0.08);padding:4px}
.test-name{font-size:.82rem;font-weight:600;color:var(--white)}
.test-company{font-size:.75rem;color:rgba(255,255,255,0.4)}
.test-nav{display:flex;gap:.5rem;margin-top:1.5rem}
.test-btn{width:40px;height:40px;border-radius:50%;border:1px solid rgba(255,255,255,0.15);background:transparent;color:var(--white);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .25s}
.test-btn:hover{background:var(--yellow);border-color:var(--yellow);color:var(--charcoal)}

/* ═══ CTA ═══ */
.cta{padding:4.5rem 0;background:var(--yellow);position:relative;overflow:hidden}
.cta::before{content:'';position:absolute;right:-5%;top:-50%;width:300px;height:300px;border-radius:50%;border:60px solid rgba(255,255,255,0.12);pointer-events:none}
.cta-inner{display:flex;align-items:center;justify-content:space-between;gap:2rem;flex-wrap:wrap}
.cta h2{font-size:clamp(1.5rem,2.5vw,2rem);font-weight:700;color:var(--charcoal);letter-spacing:-.02em}
.cta p{color:var(--charcoal-light);font-size:.95rem;margin-top:.35rem}
.btn-dark{display:inline-flex;align-items:center;gap:8px;background:var(--charcoal);color:var(--white);padding:.85rem 2rem;border-radius:100px;font-weight:600;font-size:.9rem;transition:all .25s;border:none;cursor:pointer}
.btn-dark:hover{background:var(--charcoal-dark);transform:translateY(-2px);box-shadow:0 12px 30px rgba(53,67,67,0.25)}

/* ═══ FOOTER ═══ */
.footer{background:var(--charcoal-dark);padding:4rem 0 1.5rem;color:rgba(255,255,255,0.55);font-size:.88rem}
.footer-top{display:grid;grid-template-columns:1.8fr 1fr 1fr 1.2fr;gap:2.5rem;padding-bottom:3rem;border-bottom:1px solid rgba(255,255,255,0.06)}
.footer-brand p{margin-top:.75rem;line-height:1.7;max-width:280px;font-size:.85rem}
.footer-logo{height:var(--japuha-footer-logo-h,30px);width:auto;margin-bottom:0}
.footer h4{font-size:.68rem;text-transform:uppercase;letter-spacing:.12em;color:rgba(255,255,255,0.3);margin-bottom:1rem;font-weight:600}
.footer-links{display:flex;flex-direction:column;gap:.5rem}
.footer-links a{transition:color .2s;font-size:.85rem}
.footer-links a:hover{color:var(--yellow)}
.footer-social{display:flex;gap:.6rem;margin-top:.85rem}
.footer-social a{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:999px;border:1px solid rgba(255,255,255,0.25);color:rgba(255,255,255,0.8);transition:border-color .2s,color .2s,background .2s}
.footer-social a:hover{border-color:var(--yellow);color:var(--yellow);background:rgba(252,184,19,0.08)}
.footer-social svg{width:16px;height:16px;fill:currentColor}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;padding-top:1.5rem;font-size:.78rem;color:rgba(255,255,255,0.25)}

/* ═══ RESPONSIVE ═══ */
@media(max-width:1024px){
.home main#primary{padding-top:calc(var(--japuha-header-offset,68px) + var(--japuha-fixed-top-offset,0px) + .75rem)}
.hero{padding:0 1rem}
.hero-a{height:min(calc(78vh - .75rem),600px);max-height:600px;min-height:460px}
.hero-a__content{max-width:100%;padding:4rem 2rem}
.hero-desc{margin-left:0}
.hero-a__dots{right:2rem;bottom:2rem}
.cat-grid{grid-template-columns:repeat(3,1fr)}
.usp-grid{grid-template-columns:repeat(2,1fr)}
.footer-top{grid-template-columns:1fr 1fr}
nav{display:none}
.hamburger{display:flex}
}
@media(max-width:768px){
.home main#primary{padding-top:calc(var(--japuha-header-offset,68px) + var(--japuha-fixed-top-offset,0px) + .5rem)}
.hero.hero-a{margin:0 .75rem}
.hero-a{height:min(calc(72vh - .5rem),600px);max-height:600px;min-height:420px}
.cat-grid{grid-template-columns:repeat(2,1fr)}
.usp-grid{grid-template-columns:1fr}
.hero-a__content{padding:3rem 2rem}
.hero-a__dots{right:1.5rem;bottom:1.5rem}
.test-card{flex:0 0 290px}
.cta-inner{flex-direction:column;text-align:center}
.footer-top{grid-template-columns:1fr;gap:2rem}
.footer-bottom{flex-direction:column;gap:.5rem;text-align:center}
}
@media(max-width:480px){
.hero.hero-a{margin:0 .5rem}
.hero{padding:0 .5rem}
.cat-grid{grid-template-columns:1fr}
.cat-card-icon{aspect-ratio:2/1}
.hero-btns{flex-direction:column;align-items:center}
.hero-a__content{padding:2.5rem 1.25rem}
.hero-a__dots{right:1.25rem}
}

/* ═══ SCROLL ANIMATIONS ═══ */
.reveal{opacity:0;transform:translateY(24px);transition:all .7s cubic-bezier(.4,0,.2,1)}
.reveal.visible{opacity:1;transform:translateY(0)}
.reveal-delay-1{transition-delay:.1s}
.reveal-delay-2{transition-delay:.2s}
.reveal-delay-3{transition-delay:.3s}
.reveal-delay-4{transition-delay:.4s}
/* ═══ WordPress + inner pages + WooCommerce + inquiry (uses v2 tokens) ═══ */
:root {
  --color-yellow: var(--yellow);
  --color-charcoal: var(--charcoal);
  --color-bg-primary: var(--white);
  --color-bg-secondary: var(--off-white);
  --color-bg-card: var(--white);
  --color-text-primary: var(--charcoal);
  --color-text-secondary: var(--gray-500);
  --color-text-on-dark: var(--white);
  --color-text-on-yellow: var(--charcoal);
  --color-accent: var(--yellow);
  --color-accent-hover: var(--yellow-hover);
  --color-border: var(--gray-200);
  --color-bg-dark: var(--charcoal);
  --color-overlay: rgba(53, 67, 67, 0.8);
  --font-primary: var(--font);
  --font-heading: var(--font);
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --container-width: var(--container);
  --container-padding: 2rem;
  --section-spacing: var(--gap);
  --card-radius: 14px;
  --btn-radius: 8px;
  --transition: 0.25s ease;
}

.japuha-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

body {
  --japuha-fixed-top-offset: 0px;
}

.japuha-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100000;
  padding: 0.75rem 1rem;
  background: var(--yellow);
  color: var(--charcoal);
}
.japuha-skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
}

body.admin-bar {
  --japuha-fixed-top-offset: 32px;
}
body.admin-bar .header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar {
    --japuha-fixed-top-offset: 46px;
  }
  body.admin-bar .header {
    top: 46px;
  }
}

/* Mobile menu overlay */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1190;
  background: rgba(53, 67, 67, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  bottom: 0;
  width: min(380px, 92vw);
  max-width: 100%;
  z-index: 1200;
  background: var(--white);
  padding: calc(env(safe-area-inset-top, 0px) + 1rem) 1rem 1.25rem;
  overflow: auto;
  box-shadow: -12px 0 40px rgba(53, 67, 67, 0.18);
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.28s ease, visibility 0.28s ease;
}
.mobile-nav.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}
body.nav-open {
  overflow: hidden;
}
.mobile-nav-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
}
.mobile-nav__close {
  border: none;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: var(--charcoal);
}
.mobile-nav .menu,
.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.mobile-nav a {
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-200);
}
.mobile-nav .nav-lang {
  margin-top: 1rem;
  padding-top: 1rem;
}
.mobile-nav__cta-wrap {
  margin-top: 0.9rem;
}
.mobile-nav__cta {
  display: inline-flex;
  width: 100%;
  justify-content: center;
}
.mobile-nav__company {
  margin-top: 1.15rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.mobile-nav__company-title {
  font-weight: var(--font-weight-semibold);
}
.mobile-nav__company a {
  color: var(--gray-500);
  border-bottom: none;
  padding: 0;
  font-size: 0.92rem;
}
.mobile-nav__social {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.5rem;
}
.mobile-nav__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--gray-300);
  color: var(--charcoal);
  transition: border-color .2s, color .2s, background .2s;
}
.mobile-nav__social a:hover {
  border-color: var(--yellow);
  color: var(--yellow-hover);
  background: rgba(252,184,19,0.08);
}
.mobile-nav__social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Header inquiry bag + search */
.header-inquiry-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--charcoal);
  margin-left: 0.5rem;
}
.header-inquiry-toggle .japuha-icon-bag {
  display: block;
  width: 22px;
  height: 22px;
  border: 2px solid currentColor;
  border-radius: 4px 4px 6px 6px;
  position: relative;
}
.header-inquiry-toggle .japuha-icon-bag::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 6px;
  border: 2px solid currentColor;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
}
.japuha-inquiry-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--charcoal);
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}
.japuha-inquiry-badge.is-empty {
  opacity: 0.5;
}

.japuha-search-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 12px 32px rgba(53, 67, 67, 0.08);
  padding: 0.85rem 0;
  z-index: 1002;
  pointer-events: auto;
}
.japuha-search-panel[hidden] {
  display: none !important;
}
.japuha-search-panel__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  min-height: 50px;
}
.japuha-search-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border: none;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--charcoal);
  cursor: pointer;
  position: relative;
  z-index: 2;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s, color 0.2s;
}
.japuha-search-close:hover,
.japuha-search-close:focus-visible {
  background: var(--gray-200);
  color: var(--charcoal-dark);
}
.japuha-search-form {
  display: flex;
  align-items: stretch;
  flex: 1 1 auto;
  min-width: 0;
  max-width: min(640px, 100%);
  height: 50px;
  border: 1.5px solid var(--gray-200);
  border-radius: 999px;
  overflow: hidden;
  background: var(--off-white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.japuha-search-form:focus-within {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px var(--yellow-glow);
}
.japuha-search-form__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  border: none;
  background: transparent;
  padding: 0 1.15rem 0 1.35rem;
  font: inherit;
  font-size: 0.95rem;
  color: var(--charcoal);
  outline: none;
}
.japuha-search-form__input::placeholder {
  color: var(--gray-400);
}
.japuha-search-form__submit {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin: 0;
  padding: 0 1.35rem 0 1rem;
  border: none;
  border-left: 1px solid var(--gray-200);
  border-radius: 0;
  background: var(--yellow);
  color: var(--charcoal);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.japuha-search-form__submit:hover,
.japuha-search-form__submit:focus-visible {
  background: var(--yellow-hover);
}
.japuha-search-toggle.is-active {
  color: var(--yellow-hover);
}
@media (max-width: 600px) {
  .japuha-search-panel__inner {
    flex-wrap: wrap;
    justify-content: stretch;
    gap: 0.65rem;
  }
  .japuha-search-form {
    max-width: none;
    flex: 1 1 calc(100% - 58px);
    min-width: 0;
  }
  .japuha-search-close {
    flex: 0 0 50px;
  }
}

/* Inner pages: offset below fixed header */
body:not(.home) #primary.site-main,
body:not(.home) main#primary {
  padding-top: 2rem;
  padding-bottom: var(--gap);
}

/* CTA/prefooter is last in-page block; skip extra main bottom padding above footer */
body:not(.home) main#primary:has(.japuha-teenused-page),
body:not(.home) main#primary:has(.japuha-contact-page),
body:not(.home) main#primary:has(.japuha-meist-page),
body:not(.home) main#primary:has(.japuha-service-subpage),
body:not(.home) main#primary:has(.japuha-portfolio-page) {
  padding-bottom: 0;
}

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.button.japuha-btn,
.japuha-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--btn-radius);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  border: none;
  cursor: pointer;
  font: inherit;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.japuha-btn--primary,
.button.japuha-btn--primary {
  background: var(--yellow);
  color: var(--charcoal);
}
.japuha-btn--primary:hover,
.japuha-btn--primary:focus-visible {
  background: var(--yellow-hover);
}
.japuha-btn--dark {
  background: var(--charcoal);
  color: var(--white);
}
.japuha-btn--cta {
  background: var(--white);
  color: var(--charcoal);
  border-radius: 999px;
}

.japuha-page {
  padding: 2.5rem 0 var(--gap);
}
.japuha-page-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 1.5rem;
  font-weight: var(--font-weight-bold);
}

.japuha-service-layout {
  display: grid;
  gap: 2rem;
  padding: 2.5rem 0 var(--gap);
}
.japuha-service-subpage .japuha-service-layout {
  padding: 0;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .japuha-service-layout {
    grid-template-columns: 260px 1fr;
    align-items: start;
  }
}
.japuha-service-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.japuha-service-nav__item a {
  display: block;
  padding: 0.65rem 0.85rem;
  text-decoration: none;
  border-radius: 10px;
  border-left: 3px solid transparent;
  margin-left: -0.85rem;
  padding-left: calc(0.85rem - 3px);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.japuha-service-nav__item a:hover {
  background: var(--gray-100);
  color: var(--charcoal);
}
.japuha-service-nav__item.is-current a {
  border-color: var(--yellow);
  background: rgba(252, 184, 19, 0.08);
  font-weight: var(--font-weight-semibold);
  color: var(--charcoal);
}
.japuha-service-subpage .japuha-service-layout__aside {
  position: sticky;
  top: calc(var(--japuha-header-offset, 68px) + 1rem);
  align-self: start;
}
.japuha-service-subpage .japuha-service-nav {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 1.25rem 1rem 1.25rem 1.15rem;
  box-shadow: 0 4px 24px rgba(53, 67, 67, 0.06);
}

/* Teenused subpages (Service Page template) */
.japuha-service-subpage .service-sub-hero {
  position: relative;
  padding: calc(var(--japuha-header-offset, 68px) + 3rem) 0 3.5rem;
  background: var(--off-white);
  overflow: hidden;
}
.japuha-service-subpage .service-sub-hero::before {
  content: '';
  position: absolute;
  right: -8%;
  top: -28%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0.06;
  pointer-events: none;
}
.japuha-service-subpage .service-sub-hero::after {
  content: '';
  position: absolute;
  left: 5%;
  bottom: -18%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0.07;
  pointer-events: none;
}
.japuha-service-subpage .service-sub-hero .hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.japuha-service-subpage .service-sub-hero.japuha-hero--visual .hero-inner {
  grid-template-columns: 1fr minmax(300px, 520px);
  align-items: center;
}
.japuha-service-subpage .service-sub-hero .hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.japuha-service-subpage .service-sub-hero .hero-left .sec-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-400);
  margin-top: 0.35rem;
  margin-bottom: 0.65rem;
}
.japuha-service-subpage .service-sub-hero .punkt {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
}
.japuha-service-subpage .service-sub-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 11px;
  padding-bottom: 11px;
  transition: color 0.2s;
}
.japuha-service-subpage .service-sub-back:hover {
  color: var(--yellow-hover);
}
.japuha-service-subpage .service-sub-back svg {
  flex-shrink: 0;
}
.japuha-service-subpage .service-sub-hero .hero-left h1 {
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  line-height: 1.15;
  color: var(--charcoal);
}
.japuha-service-subpage .service-sub-hero .hero-left h1 .yellow {
  color: var(--yellow);
}
.japuha-service-subpage .service-sub-hero__lead {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.65;
  max-width: 440px;
  margin: 0;
}

/* Shared big visual hero (circular bleed image) */
.page-hero.japuha-hero--visual,
.japuha-wc-hero.japuha-hero--visual {
  position: relative;
  overflow: hidden;
}
.page-hero.japuha-hero--visual .container,
.japuha-wc-hero.japuha-hero--visual .japuha-wc-hero__head,
.japuha-wc-hero.japuha-hero--visual .woocommerce-breadcrumb {
  position: relative;
  z-index: 2;
}
.japuha-hero-visual {
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: min(720px, 55vw);
  height: min(720px, 55vw);
  border-radius: 999px;
  overflow: hidden;
  background: var(--gray-200);
  box-shadow: 0 18px 70px rgba(53, 67, 67, 0.18);
  z-index: 1;
  pointer-events: none;
}
.japuha-hero-visual::before {
  content: '';
  position: absolute;
  inset: -15%;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, rgba(238, 184, 22, 0.22), rgba(238, 184, 22, 0) 55%);
  z-index: 1;
}
.japuha-hero-visual img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 1024px) {
  .japuha-hero-visual {
    right: -40px;
    width: min(520px, 72vw);
    height: min(520px, 72vw);
  }
}
@media (max-width: 768px) {
  .japuha-hero-visual {
    right: -20px;
    width: min(380px, 86vw);
    height: min(380px, 86vw);
    opacity: 0.95;
  }
}

/* Prevent Rent hero text from sitting on top of the visual image */
.japuha-wc-hero.japuha-hero--visual .japuha-wc-hero__copy {
  max-width: min(760px, calc(100% - 460px));
  padding-right: 0.75rem;
}
.japuha-wc-hero.japuha-hero--visual .japuha-hero-visual {
  right: -170px;
  width: min(660px, 48vw);
  height: min(660px, 48vw);
}
@media (max-width: 1024px) {
  .japuha-wc-hero.japuha-hero--visual .japuha-wc-hero__copy {
    max-width: 100%;
    padding-right: 0;
  }
  .japuha-wc-hero.japuha-hero--visual .japuha-hero-visual {
    right: -110px;
    width: min(520px, 58vw);
    height: min(520px, 58vw);
    opacity: 0.35;
  }
}
@media (max-width: 768px) {
  .japuha-wc-hero.japuha-hero--visual .japuha-hero-visual {
    display: none;
  }
}
.japuha-service-subpage .service-sub-hero__media {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(53, 67, 67, 0.12);
  background: var(--gray-200);
  aspect-ratio: 3 / 2;
}
.japuha-service-subpage .service-sub-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.japuha-service-subpage .service-sub-hero__media--visual {
  border-radius: 999px;
  aspect-ratio: 1 / 1;
  width: min(520px, 42vw);
  justify-self: end;
}
.japuha-service-subpage .service-sub-hero.japuha-hero--visual .japuha-hero-visual {
  opacity: 0.22;
}
.japuha-service-subpage .service-sub-content {
  padding: 3.5rem 0 4rem;
  background: var(--white);
}
.japuha-service-subpage .japuha-service__intro {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--charcoal-light);
}
.japuha-service-subpage .japuha-service__intro p {
  margin: 0 0 1.15em;
}
.japuha-service-subpage .japuha-service__intro p:last-child {
  margin-bottom: 0;
}
.japuha-service-subpage .japuha-service__gallery {
  margin-top: 2rem;
  gap: 1rem;
}
.japuha-service-subpage .japuha-service__inquiry-btn {
  margin-top: 2rem;
  border-radius: 999px;
}
/* Legacy page builders (WPBakery / VC) inside service body */
.japuha-service-subpage .japuha-service__intro--service-default h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: var(--charcoal);
}
.japuha-service-subpage .japuha-service__intro--service-default h3:first-of-type {
  margin-top: 0;
}
.japuha-service-subpage .japuha-service__intro--legacy .vc_row,
.japuha-service-subpage .japuha-service__intro--legacy .vc_row-fluid {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.japuha-service-subpage .japuha-service__intro--legacy .vc_column_container > .vc_column-inner {
  padding-left: 0;
  padding-right: 0;
}
.japuha-service-subpage .japuha-service__intro--legacy img {
  max-width: 100%;
  height: auto;
  border-radius: var(--card-radius);
}
.japuha-service-subpage .cta {
  position: relative;
  overflow: hidden;
}
.japuha-service-subpage .cta::after {
  content: '';
  position: absolute;
  left: 5%;
  bottom: -30%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}
@media (max-width: 1024px) {
  .japuha-service-subpage .service-sub-hero .hero-inner {
    grid-template-columns: 1fr;
  }
  .japuha-service-subpage .japuha-service-layout__aside {
    position: static;
  }
}
@media (max-width: 580px) {
  .japuha-service-subpage .cta .cta-inner {
    flex-direction: column;
    text-align: center;
  }
}

.japuha-service__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
}
.japuha-service__gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--card-radius);
}

/* Service page: slide-in contact panel */
.japuha-service-inquiry-drawer {
  position: fixed;
  inset: 0;
  z-index: 1150;
  pointer-events: none;
}
.japuha-service-inquiry-drawer[hidden] {
  display: none;
}
.japuha-service-inquiry-drawer:not([hidden]) {
  pointer-events: auto;
}
.japuha-service-inquiry-drawer__backdrop {
  position: absolute;
  inset: 0;
  top: 0 !important;
  background: rgba(53, 67, 67, 0.45);
}
.japuha-service-inquiry-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(480px, 100vw);
  background: var(--white);
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}
/* Sit below #wpadminbar when logged in (drawer z-index is below admin bar) */
body.admin-bar .japuha-service-inquiry-drawer__panel {
  top: var(--wp-admin--admin-bar--height, 32px);
  height: calc(100% - var(--wp-admin--admin-bar--height, 32px));
}
@media screen and (max-width: 782px) {
  body.admin-bar .japuha-service-inquiry-drawer__panel {
    top: var(--wp-admin--admin-bar--height, 46px);
    height: calc(100% - var(--wp-admin--admin-bar--height, 46px));
  }
}
.japuha-service-inquiry-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--gray-200);
  flex-shrink: 0;
}
.japuha-service-inquiry-drawer__head h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}
.japuha-service-inquiry-drawer__close {
  border: none;
  background: var(--gray-100);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.japuha-service-inquiry-drawer__close:hover {
  background: var(--gray-200);
}
.japuha-service-inquiry-drawer__scroll {
  overflow-y: auto;
  padding: 1.25rem 1.25rem 2rem;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}
.japuha-service-inquiry-drawer__quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}
.japuha-service-inquiry-drawer__quick-card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  background: var(--off-white);
  text-decoration: none;
  color: var(--charcoal);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.japuha-service-inquiry-drawer__quick-card:hover {
  border-color: var(--yellow);
  box-shadow: 0 4px 16px var(--yellow-glow);
}
.japuha-service-inquiry-drawer__quick-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  font-weight: 600;
}
.japuha-service-inquiry-drawer__quick-value {
  font-size: 0.88rem;
  font-weight: 600;
  word-break: break-word;
}
.japuha-service-inquiry-drawer__section-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
}
.japuha-service-inquiry-drawer__section-lead {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin: 0 0 1rem;
}
.japuha-service-inquiry-drawer__form .form-group {
  margin-bottom: 1rem;
}
.japuha-service-inquiry-drawer__form .form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.japuha-service-inquiry-drawer__form .form-group .req {
  color: var(--yellow-hover);
}
.japuha-service-inquiry-drawer__form .form-group input,
.japuha-service-inquiry-drawer__form .form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  font: inherit;
  font-size: 0.9rem;
}
.japuha-service-inquiry-drawer__form .form-group input:focus,
.japuha-service-inquiry-drawer__form .form-group textarea:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px var(--yellow-glow);
}

/* Contact Form 7 — theme styling (scoped) */
.japuha-cf7,
.japuha-cf7 .wpcf7 {
  width: 100%;
}
.japuha-cf7 label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.japuha-cf7 .wpcf7-form-control-wrap {
  display: block;
  margin-bottom: 1rem;
}
.japuha-cf7 input.wpcf7-form-control,
.japuha-cf7 textarea.wpcf7-form-control,
.japuha-cf7 select.wpcf7-form-control {
  width: 100%;
  max-width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  font: inherit;
  font-size: 0.9rem;
  color: var(--charcoal);
  background: var(--white);
}
.japuha-cf7 textarea.wpcf7-form-control {
  min-height: 140px;
  resize: vertical;
}
.japuha-cf7 input.wpcf7-form-control::placeholder,
.japuha-cf7 textarea.wpcf7-form-control::placeholder {
  color: var(--gray-400);
}
.japuha-cf7 input.wpcf7-form-control:focus,
.japuha-cf7 textarea.wpcf7-form-control:focus,
.japuha-cf7 select.wpcf7-form-control:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px var(--yellow-glow);
}
.japuha-cf7 input.wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--yellow);
  color: var(--charcoal);
  padding: .8rem 1.8rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: .92rem;
  transition: all .3s;
  border: none;
  cursor: pointer;
  width: 100%;
}
.japuha-cf7 input.wpcf7-submit:hover {
  background: var(--yellow-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(252,184,19,0.35);
}
.japuha-cf7 .wpcf7-not-valid-tip {
  font-size: 0.8rem;
  margin-top: 0.35rem;
}
.japuha-cf7 .wpcf7-response-output {
  margin: 1rem 0 0;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--gray-200);
  font-size: 0.86rem;
}
.grecaptcha-badge{visibility:hidden!important}
.japuha-recaptcha-notice{margin-top:.75rem;font-size:.78rem;color:var(--gray-500);line-height:1.5}
.japuha-recaptcha-notice a{color:inherit;text-decoration:underline}
.japuha-cf7 .wpcf7 form.invalid .wpcf7-response-output,
.japuha-cf7 .wpcf7 form.failed .wpcf7-response-output,
.japuha-cf7 .wpcf7 form.aborted .wpcf7-response-output {
  background: #ffebee;
  color: #c62828;
  border-color: rgba(198, 40, 40, 0.25);
}
.japuha-cf7 .wpcf7 form.sent .wpcf7-response-output {
  background: #e8f5e9;
  color: #2e7d32;
  border-color: rgba(46, 125, 50, 0.25);
}

/* CF7 in service inquiry drawer: more compact than contact page */
.japuha-service-inquiry-drawer__panel .japuha-cf7 label {
  font-size: 0.74rem;
  margin-bottom: 0.25rem;
}
.japuha-service-inquiry-drawer__panel .japuha-cf7 .wpcf7-form-control-wrap {
  margin-bottom: 0.75rem;
}
.japuha-service-inquiry-drawer__panel .japuha-cf7 input.wpcf7-form-control,
.japuha-service-inquiry-drawer__panel .japuha-cf7 textarea.wpcf7-form-control,
.japuha-service-inquiry-drawer__panel .japuha-cf7 select.wpcf7-form-control {
  padding: 0.5rem 0.65rem;
  font-size: 0.86rem;
  border-radius: 10px;
}
.japuha-service-inquiry-drawer__panel .japuha-cf7 textarea.wpcf7-form-control {
  min-height: 110px;
}
.japuha-service-inquiry-drawer__panel .japuha-cf7 input.wpcf7-submit {
  margin-top: 0.25rem;
  padding: 0.7rem 1.4rem;
}

/* Hard fallback: if CF7 is rendered without .japuha-cf7 wrapper, still match theme */
.japuha-service-inquiry-drawer__panel .wpcf7 {
  width: 100%;
}
.japuha-service-inquiry-drawer__panel .wpcf7 label {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.japuha-service-inquiry-drawer__panel .wpcf7 .wpcf7-form-control-wrap {
  display: block;
  margin-bottom: 0.75rem;
}
.japuha-service-inquiry-drawer__panel .wpcf7 input.wpcf7-form-control,
.japuha-service-inquiry-drawer__panel .wpcf7 textarea.wpcf7-form-control,
.japuha-service-inquiry-drawer__panel .wpcf7 select.wpcf7-form-control {
  width: 100%;
  max-width: 100%;
  padding: 0.5rem 0.65rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  font: inherit;
  font-size: 0.86rem;
  color: var(--charcoal);
  background: var(--white);
}
.japuha-service-inquiry-drawer__panel .wpcf7 textarea.wpcf7-form-control {
  min-height: 110px;
  resize: vertical;
}
.japuha-service-inquiry-drawer__panel .wpcf7 input.wpcf7-form-control:focus,
.japuha-service-inquiry-drawer__panel .wpcf7 textarea.wpcf7-form-control:focus,
.japuha-service-inquiry-drawer__panel .wpcf7 select.wpcf7-form-control:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px var(--yellow-glow);
}
.japuha-service-inquiry-drawer__panel .wpcf7 input.wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--yellow);
  color: var(--charcoal);
  padding: 0.7rem 1.4rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all .3s;
  border: none;
  cursor: pointer;
  width: 100%;
  margin-top: 0.25rem;
}
.japuha-service-inquiry-drawer__panel .wpcf7 input.wpcf7-submit:hover {
  background: var(--yellow-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(252,184,19,0.35);
}
.japuha-service-inquiry-drawer__form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.japuha-service-inquiry-drawer__form .char-count {
  text-align: right;
  font-size: 0.72rem;
  color: var(--gray-400);
  margin-top: 0.25rem;
}
.japuha-service-inquiry-drawer__submit {
  width: 100%;
  margin-top: 0.5rem;
  justify-content: center;
  border-radius: 999px;
}
.japuha-service-inquiry-drawer__form .form-success {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 0.86rem;
}
.japuha-service-inquiry-drawer__form .form-error {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: #ffebee;
  color: #c62828;
  font-size: 0.86rem;
}
.japuha-service-inquiry-drawer__team {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
}
.japuha-service-inquiry-drawer__team-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid var(--gray-200);
  margin-bottom: 0.75rem;
  background: var(--off-white);
}
.japuha-service-inquiry-drawer__team-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--yellow);
}
.japuha-service-inquiry-drawer__team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.japuha-service-inquiry-drawer__team-details h4 {
  margin: 0 0 0.15rem;
  font-size: 0.92rem;
  font-weight: 700;
}
.japuha-service-inquiry-drawer__team-role {
  font-size: 0.75rem;
  color: var(--gray-500);
  display: block;
  margin-bottom: 0.35rem;
}
.japuha-service-inquiry-drawer__team-links a {
  display: block;
  font-size: 0.82rem;
  color: var(--charcoal-light);
  text-decoration: none;
  line-height: 1.5;
}
.japuha-service-inquiry-drawer__team-links a:hover {
  color: var(--yellow-hover);
}
body.japuha-service-inquiry-open {
  overflow: hidden;
}
@media (max-width: 520px) {
  .japuha-service-inquiry-drawer__quick {
    grid-template-columns: 1fr;
  }
  .japuha-service-inquiry-drawer__form .form-row {
    grid-template-columns: 1fr;
  }
}

.japuha-team-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 768px) {
  .japuha-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.japuha-team-card {
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  background: var(--color-bg-card);
}
.japuha-team-card__photo img {
  border-radius: var(--card-radius);
  width: 100%;
  max-height: 280px;
  object-fit: cover;
}
.japuha-team-card__name {
  margin: 1rem 0 0.25rem;
}
.japuha-team-card__role {
  margin: 0 0 0.5rem;
  color: var(--color-text-secondary);
}

.japuha-service-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}
@media (min-width: 768px) {
  .japuha-service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.japuha-service-grid__card {
  display: block;
  padding: 1.5rem;
  border-radius: var(--card-radius);
  border: 1px solid var(--color-border);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.japuha-service-grid__card:hover {
  border-color: var(--yellow);
  box-shadow: 0 8px 28px rgba(53, 67, 67, 0.1);
}
.japuha-service-grid__title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}
.japuha-service-grid__link {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: var(--font-weight-semibold);
  color: var(--yellow-hover);
}

.japuha-wc-archive__layout {
  display: grid;
  gap: 2rem;
  padding-bottom: var(--gap);
}
.japuha-wc-archive,
.japuha-wc-single {
  padding-top: calc(var(--japuha-fixed-top-offset, 0px) + var(--japuha-header-offset, 68px) + 1.25rem);
}
.japuha-wc-hero {
  position: relative;
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 1.1rem 1.25rem 1.35rem;
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.japuha-wc-hero::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0.08;
  right: -48px;
  top: -60px;
  pointer-events: none;
}
.japuha-wc-hero__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.japuha-wc-hero__copy {
  flex: 1 1 auto;
  min-width: 0;
}
.japuha-wc-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: var(--font-weight-semibold);
  margin-bottom: 0.45rem;
}
.japuha-wc-hero__title {
  margin: 0;
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
}
.japuha-wc-hero__desc {
  margin-top: 0.55rem;
  max-width: 78ch;
}
.japuha-wc-hero__desc p {
  margin: 0 0 0.6rem;
  line-height: 1.65;
  word-break: normal;
  overflow-wrap: normal;
}
.japuha-wc-hero__desc p:last-child {
  margin-bottom: 0;
}
.japuha-wc-hero__read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.85rem;
  text-decoration: none;
  font-weight: var(--font-weight-semibold);
  color: var(--yellow-hover);
}
.japuha-wc-hero__read-more::after {
  content: "\2193";
}
.japuha-wc-cats-toggle {
  display: none;
  border: 1px solid var(--gray-300);
  border-radius: 999px;
  background: var(--white);
  color: var(--charcoal);
  font: inherit;
  font-weight: var(--font-weight-semibold);
  padding: 0.55rem 0.95rem;
  line-height: 1;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
}
.japuha-wc-cats-toggle span {
  font-size: 1rem;
}
@media (min-width: 1024px) {
  .japuha-wc-archive__layout {
    grid-template-columns: 260px 1fr;
    align-items: start;
  }
}
.japuha-wc-archive__sidebar {
  position: sticky;
  top: calc(var(--japuha-header-offset, 68px) + var(--japuha-fixed-top-offset, 0px) + 0.75rem);
  align-self: start;
}
.japuha-wc-archive__sidebar .japuha-wc-cats {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 1.1rem 1rem 1.15rem;
  box-shadow: 0 4px 24px rgba(53, 67, 67, 0.06);
}
.japuha-wc-cats__heading {
  font-size: 1rem;
  margin: 0 0 1rem;
}
.japuha-wc-cats__summary {
  list-style: none;
  cursor: pointer;
  font-weight: var(--font-weight-medium);
}
.japuha-wc-cats__summary::-webkit-details-marker {
  display: none;
}
.japuha-wc-cats__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.japuha-wc-cats__item {
  margin: 0;
}
.japuha-wc-cats__item + .japuha-wc-cats__item {
  border-top: 1px solid rgba(53, 67, 67, 0.08);
}
.japuha-wc-cats__item.is-current > a,
.japuha-wc-cats__item.is-current .japuha-wc-cats__summary a {
  font-weight: var(--font-weight-bold);
  color: var(--yellow-hover);
}
.japuha-wc-cats__link {
  position: relative;
  text-decoration: none;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.8rem 1.8rem 0.8rem 1.4rem;
  color: var(--charcoal);
  min-width: 0;
}
.japuha-wc-cats__summary {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.8rem 1.8rem 0.8rem 1.4rem;
}
.japuha-wc-cats__summary a {
  color: var(--charcoal);
  text-decoration: none;
  display: inline-block;
  min-width: 0;
}
.japuha-wc-cats__link::before,
.japuha-wc-cats__summary::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: #ecece7;
}
.japuha-wc-cats__item:hover > .japuha-wc-cats__link::before,
.japuha-wc-cats__item:hover > .japuha-wc-cats__details > .japuha-wc-cats__summary::before {
  background: rgba(252, 184, 19, 0.45);
}
.japuha-wc-cats__item.is-current > .japuha-wc-cats__link::before,
.japuha-wc-cats__item.is-current > .japuha-wc-cats__details > .japuha-wc-cats__summary::before {
  background: var(--yellow);
}
.japuha-wc-cats__item.is-current > .japuha-wc-cats__link,
.japuha-wc-cats__item.is-current > .japuha-wc-cats__details > .japuha-wc-cats__summary {
  font-weight: var(--font-weight-semibold);
  justify-content: space-between;
}
.japuha-wc-cats__item.is-current > .japuha-wc-cats__link::after,
.japuha-wc-cats__item.is-current > .japuha-wc-cats__details > .japuha-wc-cats__summary::after {
  content: "\2192";
  position: static;
  margin-left: 0.6rem;
  color: var(--yellow-hover);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  flex: 0 0 auto;
}
.japuha-wc-cats__list--child .japuha-wc-cats__item.is-current > .japuha-wc-cats__link::after,
.japuha-wc-cats__list--child .japuha-wc-cats__item.is-current > .japuha-wc-cats__details > .japuha-wc-cats__summary::after {
  content: none;
}
.japuha-wc-cats__list--child {
  margin: 0.1rem 0 0.5rem;
  padding: 0 0 0 1rem;
}
.japuha-wc-cats__list--child .japuha-wc-cats__item + .japuha-wc-cats__item {
  border-top: 0;
}
.japuha-wc-cats__list--child .japuha-wc-cats__link,
.japuha-wc-cats__list--child .japuha-wc-cats__summary {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  opacity: 0.9;
}
.japuha-wc-cats-drawer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  pointer-events: none;
}
.japuha-wc-cats-drawer[aria-hidden="true"] {
  display: none;
}
.japuha-wc-cats-drawer[aria-hidden="false"] {
  display: block;
  pointer-events: auto;
}
.japuha-wc-cats-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(53, 67, 67, 0.45);
}
.japuha-wc-cats-drawer__panel {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: min(320px, 88vw);
  background: var(--white);
  box-shadow: 8px 0 40px rgba(0, 0, 0, 0.15);
  padding: 1rem;
  overflow: auto;
}
body.japuha-wc-cats-open {
  overflow: hidden;
}
.japuha-wc-cats-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 0.8rem;
}
.japuha-wc-cats-drawer__close {
  border: none;
  background: none;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}
.japuha-wc-bottom-extra {
  margin-top: 2rem;
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 1.2rem 1.3rem;
  scroll-margin-top: calc(var(--japuha-header-offset, 68px) + var(--japuha-fixed-top-offset, 0px) + 1rem);
}
.japuha-wc-bottom-extra__content p {
  margin: 0 0 0.85rem;
  line-height: 1.65;
}
.japuha-wc-bottom-extra__content p:last-child {
  margin-bottom: 0;
}
.japuha-seo-block {
  margin: 1.5rem 0 2.25rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  background: #fff;
}
.japuha-seo-block h2 {
  font-size: 1.35rem;
  margin: 0 0 0.55rem;
}
.japuha-seo-block h3 {
  font-size: 1.05rem;
  margin: 0.9rem 0 0.35rem;
}
.japuha-seo-block p {
  margin: 0;
  color: var(--gray-500);
  line-height: 1.72;
}
.japuha-seo-block--home {
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.japuha-seo-block__links a {
  color: var(--charcoal);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.japuha-seo-block__links a:hover {
  color: var(--yellow-hover);
}
@media (max-width: 1023px) {
  .japuha-wc-cats-toggle {
    display: inline-flex;
  }
  .japuha-wc-archive__layout {
    grid-template-columns: 1fr;
  }
  .japuha-wc-archive__sidebar {
    display: none;
  }
  .japuha-wc-hero__head {
    flex-direction: column;
  }
}

@media (max-width: 1024px) {
  .header-inner {
    padding: 10px 1rem;
    gap: 0.5rem;
  }
  nav.header-primary-nav {
    display: none !important;
  }
  .hamburger {
    display: inline-flex;
    margin-left: auto;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
  }
  .mobile-nav {
    top: 0;
    bottom: 0;
    padding: calc(env(safe-area-inset-top, 0px) + 1.25rem) 1rem 1.5rem;
  }
  .mobile-nav .menu {
    width: 100%;
  }
  .mobile-nav .menu > li > a {
    display: block;
    width: 100%;
  }
  .mobile-nav .menu .sub-menu {
    display: block;
    list-style: none;
    margin: 0.35rem 0 0.65rem;
    padding: 0 0 0 0.9rem;
  }
  .mobile-nav .menu .sub-menu a {
    font-size: 0.92rem;
    color: var(--gray-500);
    border-bottom: none;
    padding: 0.3rem 0;
  }
  .mobile-nav .btn-yellow {
    width: 100%;
    justify-content: center;
  }
}

.woocommerce ul.products {
  display: grid !important;
  gap: 1.25rem !important;
  grid-template-columns: 1fr !important;
  margin: 1.25rem 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

/*
 * WooCommerce layout bundles a clearfix on ul.products (::before/::after display:table).
 * On display:grid those pseudo-elements participate as grid items — the first column is an
 * empty "ghost" cell and every product shifts right (same on any site using grid here).
 */
.woocommerce ul.products::before,
.woocommerce ul.products::after {
  content: none !important;
  display: none !important;
}
@media (min-width: 600px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (min-width: 1024px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/*
 * Product cards AND WooCommerce subcategory tiles (li.product-category) share li.product.
 * Without this, subcategory rows keep .first + float/clear from core CSS and grid leaves column 1 empty.
 */
.woocommerce ul.products > li.product {
  float: none !important;
  clear: none !important;
  width: auto !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.japuha-product-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border) !important;
  border-radius: var(--card-radius) !important;
  padding: 1rem !important;
  box-shadow: 0 4px 16px rgba(53, 67, 67, 0.05) !important;
  width: 100% !important;
  margin: 0 !important;
  min-width: 0 !important;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.japuha-product-card:hover {
  border-color: rgba(252, 184, 19, 0.55) !important;
  box-shadow: 0 10px 28px rgba(53, 67, 67, 0.1) !important;
  transform: translateY(-2px);
}

/* Extra space below the CTA: card padding, not button margin (archive + related grids). */
.woocommerce ul.products li.product.japuha-product-card {
  padding: 1rem 1rem 1.5rem !important;
}
.japuha-product-card__media {
  display: block;
  width: 100%;
  max-width: 300px;
  border-radius: calc(var(--card-radius) - 4px);
  background: var(--gray-100);
  overflow: hidden;
}
.japuha-product-card__media img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  object-position: center;
  padding: 0.65rem;
  box-sizing: border-box;
  background: var(--gray-100);
  border-radius: calc(var(--card-radius) - 4px);
}
.japuha-product-card__title {
  font-size: 1rem;
  margin: 0.85rem 0 0.6rem;
  line-height: 1.35;
  flex: 0 0 auto;
  word-break: normal;
  overflow-wrap: anywhere;
}
.japuha-product-card__title a {
  text-decoration: none;
}
.japuha-product-card__price {
  font-size: 0.95rem;
  font-weight: var(--font-weight-medium);
  color: var(--gray-700, #354343);
  margin: 0 0 0.65rem;
}
.japuha-product-card__price .woocommerce-Price-amount {
  font-weight: inherit;
}
.japuha-product-card__actions {
  margin-top: 0;
  display: flex;
  justify-content: flex-start;
}

/*
 * Fallback: any subcategory <li> still inside the archive grid (e.g. third-party) must not
 * reserve the first track — display:none removes it from grid flow so products start in column 1.
 */
.japuha-wc-archive .woocommerce ul.products > li.product-category {
  display: none !important;
}

.japuha-wc-archive .woocommerce-result-count,
.japuha-wc-archive .woocommerce-ordering {
  margin-bottom: 0.75rem;
}
.japuha-wc-archive .woocommerce-ordering select {
  min-height: 2.5rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0.35rem 0.75rem;
  background: var(--white);
}

.japuha-wc-single {
  padding-bottom: var(--gap);
}
.japuha-single-product__wrap {
  display: grid;
  gap: 2rem;
  padding: 2rem 0;
  position: relative;
}
@media (min-width: 1024px) {
  .japuha-single-product__wrap {
    /* Strict 50% / 50% — minmax(0,1fr) stops overflow from stealing column width */
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
  /* WooCommerce defaults use float + ~48% width on .images — break grid if left alone */
  .japuha-single-product__wrap > div.images {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    grid-column: 1;
    min-width: 0;
  }
  .japuha-single-product__wrap > .japuha-single-product__summary {
    grid-column: 2;
    min-width: 0;
    /* WooCommerce core uses float + ~48% width on .summary — breaks grid column width */
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }
}
.japuha-single-product__wrap::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -70px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: none;
  pointer-events: none;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  /* Matches former ring wash (rgba(..., 0.08) on a thick border). */
  opacity: 0.1;
}
.woocommerce-product-gallery {
  max-width: 100%;
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: 18px;
  padding: 1rem;
}
.woocommerce div.product div.images {
  margin-bottom: 0;
}
.japuha-single-product__summary {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 18px;
  padding: 1.2rem 1.25rem 1.35rem;
  box-shadow: 0 12px 34px rgba(53, 67, 67, 0.07);
  float: none !important;
  width: 100% !important;
  max-width: none !important;
}
.japuha-single-product__summary .product_meta {
  display: none !important;
}
.japuha-single-product__after {
  grid-column: 1 / -1;
  margin-top: 0.25rem;
}
.japuha-single-product__after .woocommerce-tabs,
.japuha-single-product__after .related.products {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 18px;
  padding: 1.1rem 1.25rem 1.3rem;
  box-shadow: 0 10px 28px rgba(53, 67, 67, 0.06);
}
.japuha-single-product__after .woocommerce-tabs {
  margin-bottom: 1.25rem;
}
.japuha-single-product__after .woocommerce-Tabs-panel,
.japuha-single-product__after .woocommerce-Tabs-panel p {
  max-width: 90ch;
}
.japuha-single-product__after ul.products {
  margin-top: 0.9rem;
}
.woocommerce div.product .product_title {
  font-size: 1.75rem;
}

.woocommerce-breadcrumb {
  display: block;
  font-size: 0.875rem;
  margin: 1rem 0 0;
  color: var(--color-text-secondary);
  word-spacing: normal;
}
.woocommerce-breadcrumb a {
  color: var(--color-text-secondary);
}

.footer .footer-brand .footer-logo {
  width: auto !important;
  height: var(--japuha-footer-logo-h, 30px) !important;
  max-width: 140px;
  max-height: 140px;
  object-fit: contain;
}

.japuha-inquiry-add {
  width: 100%;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--yellow);
  background: var(--yellow);
  color: var(--charcoal) !important;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.japuha-product-card .japuha-inquiry-add:hover,
.japuha-product-card .japuha-inquiry-add:focus-visible {
  background: var(--yellow-hover);
  border-color: var(--yellow-hover);
  color: var(--charcoal) !important;
  transform: translateY(-1px);
}
.japuha-product-card .japuha-inquiry-add::after {
  content: "";
  display: none !important;
}

/* Force override against global WP button styles */
.woocommerce ul.products li.product.japuha-product-card .japuha-product-card__actions .japuha-inquiry-add.wp-block-button__link {
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 32px !important;
  padding: 0.35rem 0.75rem !important;
  border-radius: 999px !important;
  border: 1px solid var(--yellow) !important;
  background: var(--yellow) !important;
  color: var(--charcoal) !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  box-shadow: none !important;
  align-self: flex-start !important;
}
.woocommerce ul.products li.product.japuha-product-card .japuha-product-card__actions .japuha-inquiry-add.wp-block-button__link:hover,
.woocommerce ul.products li.product.japuha-product-card .japuha-product-card__actions .japuha-inquiry-add.wp-block-button__link:focus-visible {
  background: var(--yellow-hover) !important;
  border-color: var(--yellow-hover) !important;
  color: var(--charcoal) !important;
}

/* Single product: same compact pill button as archive cards */
.japuha-single-product__inquiry-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin-top: 1.25rem;
}
.japuha-single-product__summary .japuha-inquiry-add.wp-block-button__link {
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 40px !important;
  padding: 0.55rem 1.15rem !important;
  border-radius: 999px !important;
  border: 1px solid var(--yellow) !important;
  background: var(--yellow) !important;
  color: var(--charcoal) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  box-shadow: none !important;
  margin: 0 !important;
  align-self: flex-start;
}
.japuha-rent-terms-link {
  background: none;
  border: none;
  padding: 0.15rem 0;
  margin: 0;
  font: inherit;
  cursor: pointer;
  color: var(--charcoal);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 14px;
  font-weight: 600;
}
.japuha-rent-terms-link:hover,
.japuha-rent-terms-link:focus-visible {
  color: var(--yellow-hover);
}
.japuha-rent-terms-dialog {
  padding: 0;
  border: none;
  border-radius: 18px;
  max-width: min(720px, 94vw);
  width: min(720px, 94vw);
  max-height: min(85vh, 900px);
  background: transparent;
  box-shadow: none;
  /* Center in viewport (overrides inconsistent native dialog placement) */
  position: fixed;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  margin: 0;
  transform: translate(-50%, -50%);
}
.japuha-rent-terms-dialog::backdrop {
  background: rgba(53, 67, 67, 0.55);
}
.japuha-rent-terms-dialog__panel {
  background: var(--white);
  border-radius: 18px;
  border: 1px solid var(--gray-200);
  box-shadow: 0 24px 60px rgba(53, 67, 67, 0.22);
  display: flex;
  flex-direction: column;
  max-height: min(85vh, 900px);
  overflow: hidden;
}
.japuha-rent-terms-dialog__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--gray-200);
  flex-shrink: 0;
}
.japuha-rent-terms-dialog__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.3;
  color: var(--charcoal);
}
.japuha-rent-terms-dialog__close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 12px;
  background: var(--off-white);
  color: var(--charcoal);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.japuha-rent-terms-dialog__close:hover,
.japuha-rent-terms-dialog__close:focus-visible {
  background: var(--gray-200);
}
.japuha-rent-terms-dialog__body {
  overflow-y: auto;
  padding: 1rem 1.25rem 1.35rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--charcoal-light);
}
.japuha-rent-terms-dialog__body h3 {
  margin: 1.35rem 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--charcoal);
}
.japuha-rent-terms-dialog__body h3:first-of-type {
  margin-top: 0.75rem;
}
.japuha-rent-terms-dialog__body p {
  margin: 0 0 0.75rem;
}
.japuha-rent-terms-dialog__body ul {
  margin: 0 0 0.85rem;
  padding-left: 1.15rem;
}
.japuha-rent-terms-dialog__body li {
  margin-bottom: 0.35rem;
}
.japuha-rent-terms-dialog__lead {
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.85rem !important;
}
.japuha-rent-terms-dialog__foot {
  padding: 0.9rem 1.25rem;
  border-top: 1px solid var(--gray-200);
  flex-shrink: 0;
  background: var(--off-white);
}
.japuha-single-product__summary .japuha-inquiry-add.wp-block-button__link:hover,
.japuha-single-product__summary .japuha-inquiry-add.wp-block-button__link:focus-visible {
  background: var(--yellow-hover) !important;
  border-color: var(--yellow-hover) !important;
  color: var(--charcoal) !important;
}

/* Inquiry drawer */
.japuha-inquiry-drawer {
  position: fixed;
  inset: 0;
  z-index: 1100;
  pointer-events: none;
}
.japuha-inquiry-drawer[hidden] {
  display: none;
}
.japuha-inquiry-drawer:not([hidden]) {
  pointer-events: auto;
}
.japuha-inquiry-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(53, 67, 67, 0.45);
}
.japuha-inquiry-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 100%);
  background: var(--white);
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.15);
  overflow: auto;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
}
.japuha-inquiry-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}
.japuha-inquiry-drawer__head h2 {
  margin: 0;
  font-size: 1.25rem;
}
.japuha-inquiry-drawer__close {
  border: none;
  background: none;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}
.japuha-inquiry-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}
.japuha-inquiry-list__item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-200);
}
.japuha-inquiry-list__thumb {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  display: block;
  border-radius: 6px;
  object-fit: contain;
  background: var(--off-white);
}
.japuha-inquiry-list__meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.japuha-inquiry-list__name {
  text-decoration: none;
  font-weight: var(--font-weight-medium);
}
.japuha-inquiry-list__price {
  font-size: 0.875rem;
  color: var(--gray-600, #5a6a6a);
}
.japuha-inquiry-list__prices {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.875rem;
  color: var(--gray-600, #5a6a6a);
}
.japuha-inquiry-list__price-line {
  display: block;
}
.japuha-inquiry-list__price-label {
  font-weight: var(--font-weight-medium);
  color: var(--gray-700, #354343);
}
.japuha-inquiry-list__price-period {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: 0.35rem;
  padding-top: 0.35rem;
  border-top: 1px solid var(--gray-200);
}
.japuha-inquiry-list__price-period .japuha-inquiry-list__price-label {
  color: var(--gray-800, #1a2e2e);
}
.japuha-inquiry-list__remove {
  align-self: flex-start;
  border: none;
  background: var(--off-white);
  border-radius: 4px;
  cursor: pointer;
  padding: 0.15rem 0.45rem;
}
.japuha-inquiry-drawer__form {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
}
.japuha-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: var(--font-weight-medium);
  margin-bottom: 0.35rem;
}
.japuha-field input,
.japuha-field textarea {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--btn-radius);
  font: inherit;
}

.japuha-inquiry-rental {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-200);
}
.japuha-inquiry-rental__title {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--charcoal);
}
.japuha-inquiry-rental__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 1fr);
  align-items: center;
  gap: 0.5rem 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--gray-200);
}
.japuha-inquiry-rental__row:last-of-type {
  border-bottom: none;
}
.japuha-inquiry-rental__label {
  font-size: 0.875rem;
  font-weight: var(--font-weight-medium);
  color: var(--charcoal);
  margin: 0;
}
.japuha-inquiry-rental__input-wrap {
  min-width: 0;
}
.japuha-inquiry-rental__input {
  width: 100%;
  max-width: 100%;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  font: inherit;
  font-size: 0.88rem;
  color: var(--charcoal);
  background: var(--white);
}
.japuha-inquiry-rental__input::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.65;
}
.japuha-inquiry-rental__days {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  color: var(--gray-500);
}
@media (max-width: 400px) {
  .japuha-inquiry-rental__row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

body.japuha-inquiry-open {
  overflow: hidden;
}

.japuha-inquiry-page__layout {
  display: grid;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .japuha-inquiry-page__layout {
    grid-template-columns: 1fr 1fr;
  }
}

.japuha-post-card {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--gray-200);
}
.japuha-post-card__title {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}
.japuha-post-card__title a {
  text-decoration: none;
}
.japuha-post-card__date {
  font-size: 0.85rem;
  color: var(--gray-500);
}

@media (max-width: 1024px) {
  .header-inquiry-toggle {
    margin-left: auto;
    margin-right: 0.5rem;
  }
}

/* WordPress menus inside fixed header nav */
nav.header-primary-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
nav.header-primary-nav .menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
nav.header-primary-nav .menu li {
  position: relative;
}
nav.header-primary-nav .menu .sub-menu {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 200px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(53, 67, 67, 0.12);
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  display: none;
  z-index: 1001;
}
nav.header-primary-nav .menu li:hover > .sub-menu,
nav.header-primary-nav .menu li:focus-within > .sub-menu {
  display: block;
}
nav.header-primary-nav .menu .sub-menu a {
  display: block;
  padding: 0.35rem 1rem;
  font-size: 0.85rem;
}
nav.header-primary-nav .menu a::after {
  bottom: -4px;
}
.japuha-search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--charcoal);
  padding: 0;
}
@media (max-width: 1024px) {
  .japuha-search-toggle {
    display: none;
  }
}

button.circle-dot {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  font: inherit;
  line-height: 0;
  padding: 0;
}

.footer .footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-bottom .nav-lang {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* ═══ Contact page (kontakt) ═══ */
.japuha-contact-page .page-hero {
  position: relative;
  padding: calc(var(--japuha-header-offset, 68px) + 3rem) 0 4rem;
  background: var(--off-white);
  overflow: hidden;
}
.japuha-contact-page .page-hero::before {
  content: '';
  position: absolute;
  left: -6%;
  top: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0.05;
  pointer-events: none;
}
.japuha-contact-page .page-hero::after {
  content: '';
  position: absolute;
  right: 5%;
  bottom: -25%;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0.07;
  pointer-events: none;
}
.japuha-contact-page .hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.japuha-contact-page .hero-left h1 {
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  line-height: 1.15;
}
.japuha-contact-page .hero-left h1 .yellow {
  color: var(--yellow);
}
.japuha-contact-page .hero-left p {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 440px;
  line-height: 1.7;
}
.japuha-contact-page .quick-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.japuha-contact-page .quick-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.japuha-contact-page .quick-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--yellow);
  transform: scaleY(0);
  transition: transform 0.3s;
}
.japuha-contact-page .quick-card:hover {
  border-color: var(--yellow);
  box-shadow: 0 6px 24px var(--yellow-glow);
}
.japuha-contact-page .quick-card:hover::before {
  transform: scaleY(1);
}
.japuha-contact-page .quick-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--yellow-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.japuha-contact-page .quick-card-icon svg {
  width: 22px;
  height: 22px;
  color: var(--yellow-hover);
}
.japuha-contact-page .quick-card-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}
.japuha-contact-page .quick-card-text span {
  font-size: 0.85rem;
  color: var(--gray-500);
}
.japuha-contact-page .quick-card-text a {
  color: var(--charcoal);
  font-weight: 600;
  transition: color 0.2s;
}
.japuha-contact-page .quick-card-text a:hover {
  color: var(--yellow-hover);
}

.japuha-contact-page .contact-section {
  padding: 4rem 0 5rem;
}
.japuha-contact-page .contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 5rem;
  align-items: start;
}
.japuha-contact-page .form-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.japuha-contact-page .form-subtitle {
  font-size: 0.88rem;
  color: var(--gray-500);
  margin-bottom: 1.75rem;
}
.japuha-contact-page .form-group {
  margin-bottom: 1.25rem;
}
.japuha-contact-page .form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.japuha-contact-page .form-group .req {
  color: var(--yellow-hover);
}
.japuha-contact-page .form-group input,
.japuha-contact-page .form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 0.92rem;
  color: var(--charcoal);
  background: var(--white);
  transition: all 0.25s;
  outline: none;
}
.japuha-contact-page .form-group input:focus,
.japuha-contact-page .form-group textarea:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px var(--yellow-glow);
}
.japuha-contact-page .form-group input::placeholder,
.japuha-contact-page .form-group textarea::placeholder {
  color: var(--gray-400);
}
.japuha-contact-page .form-group textarea {
  resize: vertical;
  min-height: 130px;
}
.japuha-contact-page .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.japuha-contact-page .char-count {
  text-align: right;
  font-size: 0.72rem;
  color: var(--gray-400);
  margin-top: 0.3rem;
}
.japuha-contact-page .japuha-contact-form .btn-yellow {
  width: 100%;
  margin-top: 0.5rem;
  justify-content: center;
}
.japuha-contact-page .form-success {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 0.88rem;
  font-weight: 500;
}
.japuha-contact-page .form-error {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: #ffebee;
  color: #c62828;
  font-size: 0.88rem;
  font-weight: 500;
}

.japuha-contact-page .info-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-400);
  font-weight: 600;
  margin-bottom: 1rem;
}
.japuha-contact-page .info-block {
  margin-bottom: 2.5rem;
}
.japuha-contact-page .team-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.35rem 1.35rem;
  border-radius: 14px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: all 0.3s;
  margin-bottom: 1rem;
}
.japuha-contact-page .team-card:hover {
  border-color: var(--yellow);
  box-shadow: 0 6px 20px var(--yellow-glow);
}
.japuha-contact-page .team-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}
.japuha-contact-page .team-photo::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 3px solid var(--yellow);
  pointer-events: none;
}
.japuha-contact-page .team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.japuha-contact-page .team-details h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.1rem;
}
.japuha-contact-page .team-role {
  font-size: 0.78rem;
  color: var(--gray-500);
  display: block;
  margin-bottom: 0.4rem;
}
.japuha-contact-page .team-links a {
  display: block;
  font-size: 0.82rem;
  color: var(--charcoal-light);
  transition: color 0.2s;
  line-height: 1.5;
}
.japuha-contact-page .team-links a:hover {
  color: var(--yellow-hover);
}
.japuha-contact-page .legal-card {
  padding: 1.5rem;
  border-radius: 14px;
  background: var(--off-white);
  border: 1px solid var(--gray-200);
}
.japuha-contact-page .legal-card p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin: 0 0 0.35rem;
}
.japuha-contact-page .legal-card p:last-child {
  margin-bottom: 0;
}
.japuha-contact-page .legal-card strong {
  color: var(--charcoal);
  font-weight: 600;
}

@media (max-width: 768px) {
  .japuha-contact-page .hero-inner {
    grid-template-columns: 1fr;
  }
  .japuha-contact-page .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .japuha-contact-page .form-row {
    grid-template-columns: 1fr;
  }
  .japuha-contact-page .cta .cta-inner {
    flex-direction: column;
    text-align: center;
  }
}
@media (max-width: 540px) {
  .japuha-contact-page .team-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .japuha-contact-page .team-details {
    width: 100%;
  }
}

/* ═══ About page (Meist) ═══ */
.japuha-meist-page .container--narrow {
  max-width: 42rem;
}
.japuha-meist-page .page-hero {
  position: relative;
  padding: calc(var(--japuha-header-offset, 68px) + 3rem) 0 4rem;
  background: var(--off-white);
  overflow: hidden;
}
.japuha-meist-page .page-hero::before {
  content: '';
  position: absolute;
  left: -10%;
  top: -25%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0.07;
  pointer-events: none;
}
.japuha-meist-page .page-hero::after {
  content: '';
  position: absolute;
  right: 8%;
  bottom: -20%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0.06;
  pointer-events: none;
}
.japuha-meist-page .hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.japuha-meist-page .hero-left .sec-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-400);
  margin-bottom: 0.75rem;
}
.japuha-meist-page .hero-left .punkt {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
}
.japuha-meist-page .hero-left h1 {
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  line-height: 1.15;
  color: var(--charcoal);
}
.japuha-meist-page .hero-left h1 .yellow {
  color: var(--yellow);
}
.japuha-meist-page .hero-left p {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 440px;
  line-height: 1.7;
}
.japuha-meist-page .meist-hero-aside {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 4px 24px rgba(53, 67, 67, 0.06);
  position: relative;
  overflow: hidden;
}
.japuha-meist-page .meist-hero-aside::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--yellow);
  border-radius: 16px 0 0 16px;
}
.japuha-meist-page .meist-stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}
.japuha-meist-page .meist-stat__num {
  font-size: clamp(2.5rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--yellow);
  line-height: 1;
}
.japuha-meist-page .meist-stat__label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.4;
}
.japuha-meist-page .meist-aside-tagline {
  font-size: 0.92rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin: 0 0 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--gray-200);
}
.japuha-meist-page .meist-aside-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.japuha-meist-page .meist-aside-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--charcoal);
  text-decoration: none;
  border-bottom: 1px solid var(--gray-200);
  transition: color 0.25s, gap 0.25s, border-color 0.25s;
}
.japuha-meist-page .meist-aside-link:last-child {
  border-bottom: none;
}
.japuha-meist-page .meist-aside-link svg {
  flex-shrink: 0;
  color: var(--yellow-hover);
  transition: transform 0.25s;
}
.japuha-meist-page .meist-aside-link:hover {
  color: var(--yellow-hover);
  border-color: var(--yellow);
}
.japuha-meist-page .meist-aside-link:hover svg {
  transform: translateX(4px);
}
.japuha-meist-page .meist-gallery-section {
  padding: 0 0 3.5rem;
  background: var(--off-white);
}
.japuha-meist-page .meist-gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: clamp(140px, 22vw, 220px) clamp(140px, 22vw, 220px);
  gap: 1rem;
}
.japuha-meist-page .meist-tile {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--gray-200);
  box-shadow: 0 4px 20px rgba(53, 67, 67, 0.08);
}
.japuha-meist-page .meist-tile--0 {
  grid-column: span 7;
  grid-row: span 2;
}
.japuha-meist-page .meist-tile--1 {
  grid-column: span 5;
  grid-row: span 1;
}
.japuha-meist-page .meist-tile--2 {
  grid-column: span 5;
  grid-row: span 1;
}
.japuha-meist-page .meist-tile--3 {
  grid-column: span 12;
  grid-row: span 1;
  min-height: clamp(120px, 18vw, 200px);
}
.japuha-meist-page .meist-tile__link {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  line-height: 0;
}
.japuha-meist-page .meist-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.japuha-meist-page .meist-tile:hover img {
  transform: scale(1.04);
}
.japuha-meist-page .meist-story {
  padding: 4rem 0 4.5rem;
  background: var(--white);
}
.japuha-meist-page .meist-prose {
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--charcoal-light);
}
.japuha-meist-page .meist-prose p {
  margin: 0 0 1.25em;
}
.japuha-meist-page .meist-prose p:last-child {
  margin-bottom: 0;
}
.japuha-meist-page .meist-signature {
  margin: 2.75rem 0 0;
  padding: 1.75rem 1.75rem 1.75rem 2rem;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--off-white) 0%, rgba(252, 184, 19, 0.08) 100%);
  border-left: 4px solid var(--yellow);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: center;
}
.japuha-meist-page .meist-signature__mark {
  display: flex;
  flex-shrink: 0;
  line-height: 0;
}
.japuha-meist-page .meist-signature__mark img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  display: block;
  background: none;
  background-color: transparent;
  border: 0;
  box-shadow: none;
}
.japuha-meist-page .meist-signature--text-only {
  grid-template-columns: 1fr;
}
.japuha-meist-page .meist-signature__text {
  font-size: 1.05rem;
  font-weight: 600;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.6;
}
.japuha-meist-page .meist-signature__text p {
  margin: 0 0 0.5em;
}
.japuha-meist-page .meist-signature__text p:last-child {
  margin-bottom: 0;
}
.japuha-meist-page .cta {
  position: relative;
  overflow: hidden;
}
.japuha-meist-page .cta::after {
  content: '';
  position: absolute;
  left: 5%;
  bottom: -30%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}
.japuha-meist-page .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.japuha-meist-page .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.japuha-meist-page .reveal-delay-1 {
  transition-delay: 0.1s;
}
.japuha-meist-page .reveal-delay-2 {
  transition-delay: 0.2s;
}
@media (max-width: 1024px) {
  .japuha-meist-page .hero-inner {
    grid-template-columns: 1fr;
  }
  .japuha-meist-page .meist-gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }
  .japuha-meist-page .meist-tile--0,
  .japuha-meist-page .meist-tile--1,
  .japuha-meist-page .meist-tile--2,
  .japuha-meist-page .meist-tile--3 {
    grid-column: span 1;
    grid-row: auto;
    min-height: 200px;
  }
  .japuha-meist-page .meist-tile--0 {
    grid-column: span 2;
    min-height: 240px;
  }
}
@media (max-width: 580px) {
  .japuha-meist-page .meist-gallery-grid {
    grid-template-columns: 1fr;
  }
  .japuha-meist-page .meist-tile--0 {
    grid-column: span 1;
  }
  .japuha-meist-page .meist-signature {
    grid-template-columns: 1fr;
  }
  .japuha-meist-page .meist-signature__mark {
    justify-self: center;
  }
  .japuha-meist-page .cta .cta-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ═══ Portfolio (Portfoolio) ═══ */
.japuha-portfolio-page .container--narrow-portfolio {
  max-width: 42rem;
}
.japuha-portfolio-page .portfolio-hero {
  position: relative;
  padding: calc(var(--japuha-header-offset, 68px) + 3rem) 0 3.5rem;
  background: var(--off-white);
  overflow: hidden;
}
.japuha-portfolio-page .portfolio-hero::before {
  content: '';
  position: absolute;
  right: -6%;
  top: -25%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0.07;
  pointer-events: none;
}
.japuha-portfolio-page .portfolio-hero::after {
  content: '';
  position: absolute;
  left: 10%;
  bottom: -20%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0.06;
  pointer-events: none;
}
.japuha-portfolio-page .portfolio-hero .hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.japuha-portfolio-page .portfolio-hero .hero-left .sec-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-400);
  margin-bottom: 0.75rem;
}
.japuha-portfolio-page .portfolio-hero .punkt {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
}
.japuha-portfolio-page .portfolio-hero .hero-left h1 {
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  line-height: 1.15;
  color: var(--charcoal);
}
.japuha-portfolio-page .portfolio-hero .hero-left h1 .yellow {
  color: var(--yellow);
}
.japuha-portfolio-page .portfolio-hero__lead {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.65;
  max-width: 440px;
  margin: 0;
}
.japuha-portfolio-page .portfolio-hero__decor {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}
.japuha-portfolio-page .portfolio-hero__badge {
  width: min(200px, 50vw);
  height: min(200px, 50vw);
  border-radius: 50%;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 1;
  box-shadow: none;
}
.japuha-portfolio-page .portfolio-tabs-section {
  padding: 3rem 0 3.5rem;
  background: var(--white);
}
.japuha-portfolio-page .portfolio-tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 1rem;
}
.japuha-portfolio-page .portfolio-tabs__tab {
  appearance: none;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--charcoal);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.japuha-portfolio-page .portfolio-tabs__tab:hover {
  border-color: var(--yellow);
  color: var(--charcoal-dark);
}
.japuha-portfolio-page .portfolio-tabs__tab[aria-selected='true'] {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--charcoal);
  box-shadow: 0 4px 16px var(--yellow-glow);
}
.japuha-portfolio-page .portfolio-tabs__tab:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}
.japuha-portfolio-page .portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.japuha-portfolio-page .portfolio-grid__item {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--gray-100);
  box-shadow: 0 4px 20px rgba(53, 67, 67, 0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}
.japuha-portfolio-page .portfolio-grid__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(53, 67, 67, 0.12);
}
.japuha-portfolio-page .portfolio-grid__link {
  display: block;
  line-height: 0;
}
.japuha-portfolio-page .portfolio-grid__link img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* Portfoolio lightbox (dialog is mounted on body) */
.portfolio-lightbox {
  position: fixed;
  inset: 0;
  padding: 0;
  border: none;
  margin: 0;
  max-width: none;
  max-height: none;
  width: 100%;
  min-height: 100%;
  background: transparent;
  box-sizing: border-box;
}
.portfolio-lightbox::backdrop {
  background: rgba(17, 24, 27, 0.88);
  backdrop-filter: blur(2px);
}
.portfolio-lightbox__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  cursor: pointer;
}
.portfolio-lightbox__frame {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2.5rem);
  pointer-events: none;
}
.portfolio-lightbox__img {
  max-width: min(96vw, 1200px);
  max-height: min(88vh, 900px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  pointer-events: auto;
}
.portfolio-lightbox__close {
  position: absolute;
  top: clamp(0.75rem, 2vw, 1.25rem);
  right: clamp(0.75rem, 2vw, 1.25rem);
  z-index: 3;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white, #fff);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  pointer-events: auto;
}
.portfolio-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.22);
}
.portfolio-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white, #fff);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  pointer-events: auto;
}
.portfolio-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.22);
}
.portfolio-lightbox__nav--prev {
  left: clamp(0.5rem, 3vw, 1.5rem);
}
.portfolio-lightbox__nav--next {
  right: clamp(0.5rem, 3vw, 1.5rem);
}
@media (max-width: 640px) {
  .portfolio-lightbox__nav {
    width: 40px;
    height: 40px;
  }
}

.japuha-portfolio-page .portfolio-tabs__empty {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin: 0;
}
.japuha-portfolio-page .portfolio-empty {
  padding: 3rem 0 4rem;
  background: var(--white);
}
.japuha-portfolio-page .portfolio-empty__msg,
.japuha-portfolio-page .portfolio-empty__hint {
  text-align: center;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}
.japuha-portfolio-page .portfolio-empty__hint {
  margin-top: 1rem;
  font-size: 0.92rem;
}
.japuha-portfolio-page .portfolio-empty__hint a {
  color: var(--yellow-hover);
  font-weight: 600;
  text-decoration: underline;
}
.japuha-portfolio-page .portfolio-empty__hint--muted {
  color: var(--gray-500);
  font-size: 0.88rem;
}
.japuha-portfolio-page .portfolio-page-content {
  padding: 0 0 3rem;
  background: var(--white);
}
.japuha-portfolio-page .portfolio-page-content__inner {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--charcoal-light);
}
.japuha-portfolio-page .cta {
  position: relative;
  overflow: hidden;
}
.japuha-portfolio-page .cta::after {
  content: '';
  position: absolute;
  left: 5%;
  bottom: -30%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}
@media (max-width: 900px) {
  .japuha-portfolio-page .portfolio-hero .hero-inner {
    grid-template-columns: 1fr;
  }
  .japuha-portfolio-page .portfolio-hero__decor {
    min-height: 140px;
  }
}
@media (max-width: 580px) {
  .japuha-portfolio-page .portfolio-tabs__list {
    flex-direction: column;
    align-items: stretch;
  }
  .japuha-portfolio-page .portfolio-tabs__tab {
    text-align: center;
  }
  .japuha-portfolio-page .cta .cta-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ═══ Teenused overview page ═══ */
.japuha-teenused-page .page-hero {
  position: relative;
  padding: calc(var(--japuha-header-offset, 68px) + 3rem) 0 4rem;
  background: var(--off-white);
  overflow: hidden;
}
.japuha-teenused-page .page-hero::before {
  content: '';
  position: absolute;
  right: -8%;
  top: -30%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0.06;
  pointer-events: none;
}
.japuha-teenused-page .page-hero::after {
  content: '';
  position: absolute;
  right: 12%;
  bottom: -15%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0.08;
  pointer-events: none;
}
.japuha-teenused-page .hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.japuha-teenused-page .hero-left .sec-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-400);
  margin-bottom: 0.75rem;
}
.japuha-teenused-page .hero-left h1 {
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  line-height: 1.15;
}
.japuha-teenused-page .hero-left h1 .yellow {
  color: var(--yellow);
}
.japuha-teenused-page .hero-left p {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 440px;
  line-height: 1.7;
}
.japuha-teenused-page .hero-right {
  position: relative;
}
.japuha-teenused-page .service-rotator {
  position: relative;
  padding: 1.5rem 0;
}
.japuha-teenused-page .rotator-line {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 3rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--gray-200);
  transition: color 0.25s, border-color 0.25s, background 0.25s;
  cursor: pointer;
  box-sizing: border-box;
}
.japuha-teenused-page .rotator-line:last-child {
  border-bottom: none;
}
.japuha-teenused-page .rotator-line .line-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-200);
  transition: all 0.4s;
  flex-shrink: 0;
}
.japuha-teenused-page .rotator-line .line-text {
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 500;
  color: var(--gray-400);
  transition: color 0.25s, font-weight 0.25s;
}
.japuha-teenused-page .rotator-line .line-arrow {
  margin-left: auto;
  flex: 0 0 22px;
  width: 22px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s, transform 0.25s, color 0.25s;
  pointer-events: none;
}
.japuha-teenused-page .rotator-line .line-arrow svg {
  width: 16px;
  height: 16px;
  display: block;
}
.japuha-teenused-page .rotator-line.active .line-dot {
  background: var(--yellow);
  box-shadow: 0 0 0 4px var(--yellow-glow);
}
.japuha-teenused-page .rotator-line.active .line-text {
  color: var(--charcoal);
  font-weight: 700;
}
.japuha-teenused-page .rotator-line.active .line-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--yellow);
}
.japuha-teenused-page .rotator-line:hover .line-text {
  color: var(--charcoal);
}
.japuha-teenused-page .rotator-line:hover .line-dot {
  background: var(--yellow-hover);
}
.japuha-teenused-page .rotator-line.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--yellow);
  animation: japuhaProgressBar 3s linear forwards;
}
@keyframes japuhaProgressBar {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.japuha-teenused-page .services-section {
  padding: 4rem 0 5rem;
}
.japuha-teenused-page .services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.japuha-teenused-page .service-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: all 0.35s;
  display: flex;
  flex-direction: column;
  position: relative;
}
.japuha-teenused-page .service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(53, 67, 67, 0.1);
  border-color: var(--yellow);
}
.japuha-teenused-page .service-card-img {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  position: relative;
}
.japuha-teenused-page .service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.japuha-teenused-page .service-card:hover .service-card-img img {
  transform: scale(1.06);
}
.japuha-teenused-page .service-card-img::after {
  content: '';
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.35s;
}
.japuha-teenused-page .service-card:hover .service-card-img::after {
  opacity: 0.9;
  transform: scale(1);
}
.japuha-teenused-page .service-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.japuha-teenused-page .service-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.japuha-teenused-page .service-card-body p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.6;
  flex: 1;
}
.japuha-teenused-page .service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--yellow-hover);
  margin-top: 1rem;
  transition: gap 0.25s;
}
.japuha-teenused-page .service-card:hover .service-card-link {
  gap: 10px;
}

.japuha-teenused-page .cta::after {
  content: '';
  position: absolute;
  left: 5%;
  bottom: -30%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.japuha-teenused-page .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.japuha-teenused-page .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.japuha-teenused-page .reveal-delay-1 {
  transition-delay: 0.1s;
}
.japuha-teenused-page .reveal-delay-2 {
  transition-delay: 0.2s;
}

@media (max-width: 1024px) {
  .japuha-teenused-page .hero-inner {
    grid-template-columns: 1fr;
  }
  .japuha-teenused-page .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 580px) {
  .japuha-teenused-page .services-grid {
    grid-template-columns: 1fr;
  }
  .japuha-teenused-page .cta .cta-inner {
    flex-direction: column;
    text-align: center;
  }
}
