/*
Theme Name: Saro Pro
Theme URI: https://example.com/
Author: Saro Digital Media
Description: One-page dark and gold theme for Saro Digital Media (branding, websites and digital marketing). All text and images are editable from Appearance > Customize > Saro Site Content. Enquiry form saves every lead and emails it.
Version: 2.2.1
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: saro-pro
*/

/* Layout: dark editorial landing. Full-bleed crowd wallpaper hero with copy in its empty left half, ticker, split services list, sequence process, logo suite on three grounds, glow-wallpaper contact close. */
:root {
  --bg: #0a0907;
  --surface: #14110d;
  --line: #2b241a;
  --fg: #f6f1e7;
  --muted: #a89f8e;
  --gold: #fad00a;
  --amber: #e8952a;
  --ember: #d9532b;
  --grad: linear-gradient(180deg, #fcea85 0%, #fad00a 38%, #e8952a 72%, #d9532b 100%);
  --grad-h: linear-gradient(100deg, #fcea85, #fad00a 40%, #e8952a 75%, #d9532b);
  --f-display: "Times New Roman", Times, "Liberation Serif", serif;
  --f-body: "Times New Roman", Times, "Liberation Serif", serif;
  --f-mono: "Times New Roman", Times, "Liberation Serif", serif;
  --gutter: clamp(16px, 4vw, 56px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--bg); z-index: 60; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; }
.bleed { margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); }

.eyebrow { font-family: var(--f-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.08; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.9rem); }
.gtext { background: var(--grad-h); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-body); font-weight: 600; font-size: 15px; padding: 14px 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn-gold { background: var(--grad-h); background-origin: border-box; background-clip: border-box; border-color: transparent; color: #1a1205; box-shadow: 0 8px 30px -10px rgba(250, 208, 10, .55); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -10px rgba(250, 208, 10, .75); }
.btn-ghost { border-color: rgba(246, 241, 231, .28); color: var(--fg); background: rgba(10, 9, 7, .35); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* Nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding-inline: max(16px, env(safe-area-inset-left, 0px)); background: rgba(10, 9, 7, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(43, 36, 26, .7); }
/* Home page: header sits on top of the hero image */
.nav { padding-top: 10px; }
.has-hero .nav { padding-top: 0; margin-inline: 0; position: absolute; top: 10px; left: 0; right: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.nav img { height: 40px; width: auto; display: block; }
.nav-right { display: flex; align-items: center; gap: 34px; }
.nav-links { display: flex; gap: 30px; font-size: 14px; color: var(--muted); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--gold); }
.nav .btn { padding: 10px 18px; font-size: 14px; }
.nav .nav-cta { font-size: 14px; }

/* Menu button (phones and tablets) */
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.22); border-radius: 12px; background: rgba(10,9,7,.55); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; -webkit-tap-highlight-color: transparent; }
.nav-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: #f4efe4; transition: transform .25s, opacity .2s; }
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-cta { display: none; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-right { gap: 12px; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 6px max(16px, env(safe-area-inset-left, 0px)) 22px; background: rgba(10,9,7,.97); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 19px; color: var(--fg); }
  .nav.open .nav-links { display: flex; }
  .nav:not(.x) .nav-links { top: 78px; }
  .has-hero .nav .nav-links { top: 68px; }
  .nav-links a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .nav-btn { display: none; }
  .nav.open .nav-cta { display: inline-flex; justify-content: center; margin-top: 18px; font-size: 17px; padding: 14px 22px; }
}

/* Hero */
.hero { position: relative; margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding-inline: max(16px, env(safe-area-inset-left, 0px)); background: #000 var(--hero-img) 100% 50% / cover no-repeat; isolation: isolate; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 22%), linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 55%), linear-gradient(0deg, var(--bg) 0%, rgba(10, 9, 7, 0) 28%); }
.hero-in { padding-block: clamp(132px, 12vw, 210px) clamp(72px, 9vw, 130px); display: flex; flex-direction: column; gap: 28px; max-width: 1240px; margin-inline: auto; }
.hero h1 { font-size: clamp(2.7rem, 6.2vw, 5.8rem); max-width: 18ch; }
.hero .eyebrow { font-size: 14px; }
.hero .hero-cta .btn { font-size: 17px; padding: 16px 28px; }
.hero p.lead { margin: 0; max-width: 44ch; font-size: clamp(1.15rem, 1.9vw, 1.45rem); color: #d8d0c0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Ticker */
.ticker { margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); border-block: 1px solid var(--line); overflow: hidden; background: var(--surface); }
.ticker-track { display: flex; width: max-content; animation: tick var(--tick, 22s) linear infinite; }
.ticker-track span { font-family: var(--f-display); font-weight: 600; font-size: clamp(12px, 1.2vw, 15px); letter-spacing: .1em; text-transform: uppercase; padding: 15px 24px; display: flex; align-items: center; gap: 56px; white-space: nowrap; color: var(--fg); }
.ticker-track span::after { content: ""; width: 12px; height: 12px; background: var(--grad); clip-path: polygon(60% 0, 10% 58%, 44% 58%, 30% 100%, 90% 38%, 56% 38%); }
@keyframes tick { to { transform: translateX(-50%); } }

/* Services */
.sec { padding-block: clamp(72px, 10vw, 140px); }
.services-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.services-head { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 20px; }
.services-head p { margin: 0; color: var(--muted); max-width: 42ch; }
.svc-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 18px; padding: 30px 0; border-bottom: 1px solid var(--line); position: relative; transition: padding .3s; }
.svc::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--grad-h); transition: width .45s ease; }
.svc:hover::before { width: 100%; }
.svc .n { font-family: var(--f-mono); font-size: 13px; color: var(--amber); padding-top: 8px; }
.svc h3 { font-size: clamp(1.2rem, 2.2vw, 1.7rem); }
.svc p { grid-column: 2; margin: 8px 0 0; color: var(--muted); max-width: 52ch; }
.chips { grid-column: 2; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chips li { list-style: none; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; color: #cfc6b4; }
.chips { padding: 0; margin-bottom: 0; }

/* Process */
.process { background: var(--surface); margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding-inline: max(16px, env(safe-area-inset-left, 0px)); border-block: 1px solid var(--line); }
.process-head { display: flex; flex-direction: column; gap: 18px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.step { padding: 28px 26px 8px 0; border-top: 2px solid var(--line); position: relative; }
.step::before { content: ""; position: absolute; top: -2px; left: 0; width: 38%; height: 2px; background: var(--grad-h); }
.step .k { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; color: var(--gold); }
.step h3 { font-size: 1.25rem; margin: 10px 0 10px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* Logo suite */
.suite-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(30px, 4vw, 52px); }
.suite-head > div { display: flex; flex-direction: column; gap: 18px; max-width: 640px; }
.suite-head p { margin: 0; color: var(--muted); max-width: 36ch; }
.tiles { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.tile { border-radius: 20px; min-height: 340px; display: grid; place-items: center; padding: 30px; position: relative; overflow: hidden; }
.tile img { max-width: 100%; height: auto; display: block; }
.tile .cap { position: absolute; left: 20px; bottom: 16px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.t1 { background: radial-gradient(circle at 50% 38%, #1f1810, #0d0b08 70%); border: 1px solid var(--line); }
.t1 img { width: min(230px, 62%); }
.t1 .cap { color: var(--muted); }
.t2 { background: var(--grad); }
.t2 img { width: min(190px, 64%); }
.t2 .cap { color: #2a1b06; }
.t3 { background: #1a1510; border: 1px solid var(--line); }
.t3 img { width: min(190px, 64%); }
.t3 .cap { color: var(--muted); }

/* Contact */
.contact { position: relative; margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding-inline: max(16px, env(safe-area-inset-left, 0px)); background: #000 var(--contact-img) 50% 40% / cover no-repeat; isolation: isolate; border-top: 1px solid var(--line); }
.contact::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--bg) 0%, rgba(10, 9, 7, .55) 55%, rgba(10, 9, 7, .35) 100%); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.contact h2 { font-size: clamp(2rem, 4.8vw, 3.9rem); }
.contact-copy { display: flex; flex-direction: column; gap: 22px; }
.contact-copy p { margin: 0; color: #d4ccbb; max-width: 44ch; }
.reach { font-family: var(--f-mono); font-size: 13px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.enquiry-form { background: rgba(20, 17, 13, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 14px; }
.enquiry-form label { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: flex; flex-direction: column; gap: 8px; }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea { font: inherit; font-family: var(--f-body); font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--fg); background: #0d0b08; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; }
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(250, 208, 10, .15); }
.enquiry-form textarea { resize: vertical; min-height: 96px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.status { font-size: 13.5px; color: var(--gold); min-height: 1.4em; margin: 0; }

.site-footer { margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding-inline: max(16px, env(safe-area-inset-left, 0px)); border-top: 1px solid var(--line); background: var(--bg); }
.foot { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 72px); padding-block: clamp(44px, 6vw, 72px) 28px; font-size: 14px; color: var(--muted); align-items: start; }
.foot-brand { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.foot-brand img { height: 44px; width: auto; }
.social { display: flex; gap: 10px; flex-wrap: wrap; }
.social a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--fg); display: grid; place-items: center; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.social a svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.social a:hover { background: var(--grad-h); border-color: transparent; color: #1a1205; transform: translateY(-3px); }
.foot-col h4 { margin: 0 0 14px; font-family: var(--f-mono); font-weight: 500; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.foot-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.foot-steps a { color: var(--fg); font-weight: 500; transition: color .2s; }
.foot-steps a:hover { color: var(--gold); }
.foot-reach { display: flex; flex-direction: column; gap: 6px; font-family: var(--f-mono); font-size: 13px; }
.foot-base { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 22px; font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 960px) {
  .services-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .services-head { position: static; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
  .tiles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .t1 { grid-column: 1 / -1; min-height: 280px; }
}
@media (max-width: 640px) {
  .hero { --hh: max(720px, 202vw); min-height: var(--hh); background-size: auto var(--hh); background-position: calc(50vw - 1.5819 * var(--hh)) 0; }
  .hero::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(0, 0, 0, .78) 42%, rgba(0, 0, 0, .1) 100%); }
  .hero-in { padding-top: max(300px, 78vw); }
  .hero .eyebrow { font-size: 12px; letter-spacing: .12em; }
  .hero .hero-cta .btn { font-size: 15px; padding: 14px 18px; }
  .hero-cta { gap: 10px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .tile { min-height: 240px; }
  .foot { grid-template-columns: minmax(0, 1fr); }
  .row2 { grid-template-columns: minmax(0, 1fr); }
  .svc { grid-template-columns: 38px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  html { scroll-behavior: auto; }
  .btn, .svc::before { transition: none; }
}

/* Typing intro for the hero text */
.caret { display: inline-block; width: 0; position: relative; }
.caret::after { content: ""; position: absolute; left: 3px; bottom: -.1em; width: .07em; min-width: 2px; height: .85em; background: var(--gold); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-cta, .reveal-in { transition: opacity .6s ease, transform .6s ease; }
.pre-reveal { opacity: 0; transform: translateY(8px); }
@media (prefers-reduced-motion: reduce) { .caret::after { animation: none; } .hero-cta, .reveal-in { transition: none; } }

/* Honeypot field (hidden from people, visible to bots) */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.status.is-error { color: #ff8a6b; }
.status.is-ok { color: var(--gold); }

/* WordPress admin bar */
.admin-bar .nav { top: 32px; }
.admin-bar.has-hero .nav { top: 42px; }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } .admin-bar.has-hero .nav { top: 56px; } }

/* Generic pages and posts */
.page-body { padding-block: clamp(56px, 8vw, 110px); }
.page-body h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); margin-bottom: 28px; }
.entry { max-width: 760px; color: #d8d0c0; }
.entry h2, .entry h3 { margin: 1.6em 0 .6em; color: var(--fg); }
.entry a { color: var(--gold); text-decoration: underline; }
.entry img { max-width: 100%; height: auto; border-radius: 14px; }
.post-list { display: flex; flex-direction: column; gap: 32px; max-width: 760px; }
.post-list article { border-bottom: 1px solid var(--line); padding-bottom: 28px; }
.post-list h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.post-list p { color: var(--muted); }
.screen-reader-text { position: absolute; left: -9999px; }

/* ===== Page sections (pages built in the dashboard) ===== */
.pb-hero { position: relative; margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding-inline: max(16px, env(safe-area-inset-left, 0px)); padding-block: clamp(72px, 10vw, 150px) clamp(56px, 8vw, 110px); background: #000; isolation: isolate; border-bottom: 1px solid var(--line); }
.pb-hero.has-img { background: #000 var(--pb-img) center / cover no-repeat; }
.pb-hero.has-img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.35) 70%, rgba(0,0,0,.2) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(10,9,7,0) 30%); }
.pb-hero-in { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.pb-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); max-width: 18ch; }
.pb-lead { max-width: 52ch; font-size: clamp(1.1rem, 1.7vw, 1.35rem); color: #d8d0c0; }
.pb-lead p, .pb-text p { margin: 0 0 1em; }
.pb-lead p:last-child, .pb-text p:last-child { margin-bottom: 0; }
.pb-text { color: var(--muted); font-size: 1.08rem; line-height: 1.7; }
.pb-text a { color: var(--gold); text-decoration: underline; }
.pb-split-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.pb-split-in.no-img { grid-template-columns: minmax(0, 760px); }
.pb-split.is-left .pb-pic { order: -1; }
.pb-copy { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.pb-copy h2, .pb-head h2, .pb-cta h2 { font-size: clamp(1.9rem, 3.8vw, 3.1rem); }
.pb-pic img { width: 100%; height: auto; display: block; border-radius: 20px; border: 1px solid var(--line); }
.pb-head { display: flex; flex-direction: column; gap: 18px; max-width: 760px; margin-bottom: clamp(32px, 5vw, 60px); }
.pb-grid { display: grid; gap: 20px; }
.pb-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pb-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pb-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pb-card { display: flex; flex-direction: column; gap: 12px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); transition: border-color .25s, transform .25s; }
a.pb-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.pb-card img { width: 100%; height: auto; border-radius: 12px; display: block; }
.pb-card h3 { font-size: 1.35rem; }
.pb-card .k { font-family: var(--f-mono); font-size: 13px; letter-spacing: .14em; color: var(--gold); }
.pb-card .pb-text { font-size: 1rem; }
.pb-faq-list { max-width: 820px; display: flex; flex-direction: column; }
.pb-faq-list details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.pb-faq-list summary { cursor: pointer; font-family: var(--f-display); font-size: 1.2rem; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.pb-faq-list summary::-webkit-details-marker { display: none; }
.pb-faq-list summary::after { content: "+"; color: var(--gold); font-size: 1.5rem; line-height: 1; }
.pb-faq-list details[open] summary::after { content: "\2212"; }
.pb-faq-list .pb-text { margin-top: 12px; }
.pb-cta { background: var(--surface); border-block: 1px solid var(--line); margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding-inline: max(16px, env(safe-area-inset-left, 0px)); }
.pb-cta-in { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
@media (max-width: 960px) {
  .pb-split-in { grid-template-columns: minmax(0, 1fr); }
  .pb-split.is-left .pb-pic { order: 0; }
  .pb-grid.cols-3, .pb-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pb-grid.cols-2, .pb-grid.cols-3, .pb-grid.cols-4 { grid-template-columns: minmax(0, 1fr); }
}

/* ===== Chatbot ===== */
.cb-launch { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 62px; height: 62px; border-radius: 50%; border: 0; cursor: pointer; background: var(--grad-h); box-shadow: 0 12px 34px -8px rgba(250,208,10,.6), 0 0 0 1px rgba(255,255,255,.15) inset; display: grid; place-items: center; transition: transform .2s; }
.cb-launch:hover { transform: scale(1.06); }
.cb-launch svg { width: 28px; height: 28px; color: #1a1205; }
.cb-launch::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(250,208,10,.5); animation: cbpulse 2.4s ease-out infinite; pointer-events: none; }
@keyframes cbpulse { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
.cb-tip { position: fixed; right: 92px; bottom: 34px; z-index: 90; width: 250px; background: var(--surface); color: var(--fg); border: 1px solid rgba(255,196,0,.45); border-radius: 16px 16px 4px 16px; padding: 14px 34px 14px 16px; font-size: 15px; line-height: 1.45; box-shadow: 0 16px 36px -12px rgba(0,0,0,.85); animation: cbin .45s both; cursor: pointer; }
.cb-tip[hidden] { display: none; }
.cb-tip b { display: block; font-size: 17px; color: var(--gold); margin-bottom: 2px; }
.cb-tip span { color: var(--muted); font-size: 14px; }
.cb-tip .cb-tx { position: absolute; top: 6px; right: 8px; width: 24px; height: 24px; border: 0; background: transparent; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; padding: 0; }
.cb-tip .cb-tx:hover { color: var(--fg); }
.cb-tip .cb-dot { position: absolute; left: -2px; top: -2px; width: 10px; height: 10px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 3px rgba(61,220,132,.25); }
@keyframes cbin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cb-panel { position: fixed; right: 22px; bottom: 100px; z-index: 95; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100dvh - 130px)); display: flex; flex-direction: column; background: #0f0d0a; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(250,208,10,.08); overflow: hidden; transform-origin: bottom right; animation: cbopen .28s cubic-bezier(.2,.8,.2,1) both; }
@keyframes cbopen { from { opacity: 0; transform: scale(.92) translateY(10px); } to { opacity: 1; transform: none; } }
.cb-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: linear-gradient(180deg, #1a1610, #12100c); border-bottom: 1px solid var(--line); }
.cb-ava { width: 40px; height: 40px; border-radius: 50%; background: var(--grad-h); display: grid; place-items: center; flex: none; }
.cb-ava img { width: 24px; height: 24px; display: block; }
.cb-head b { display: block; font-size: 17px; line-height: 1.1; }
.cb-head small { color: #7fd18b; font-size: 13px; display: flex; align-items: center; gap: 6px; }
.cb-head small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #7fd18b; }
.cb-x { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--fg); cursor: pointer; font-size: 18px; line-height: 1; }
.cb-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.cb-msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 16px; line-height: 1.45; animation: cbin .25s both; white-space: pre-line; }
.cb-msg.bot { align-self: flex-start; background: #1a1610; border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.cb-msg.me { align-self: flex-end; background: var(--grad-h); color: #1a1205; font-weight: 600; border-bottom-right-radius: 5px; }
.cb-msg a { color: var(--gold); text-decoration: underline; }
.cb-typing { align-self: flex-start; display: flex; gap: 5px; padding: 13px 15px; background: #1a1610; border: 1px solid var(--line); border-radius: 16px; border-bottom-left-radius: 5px; }
.cb-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: cbdot 1s infinite; }
.cb-typing i:nth-child(2) { animation-delay: .15s; } .cb-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes cbdot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.cb-chips { display: flex; flex-wrap: wrap; gap: 8px; align-self: flex-start; animation: cbin .3s both; }
.cb-chips button, .cb-chips a { font: inherit; font-size: 15px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(250,208,10,.45); background: transparent; color: var(--gold); cursor: pointer; text-decoration: none; }
.cb-chips button:hover, .cb-chips a:hover { background: rgba(250,208,10,.12); }
.cb-chips .wa { border-color: #4cc16b; color: #6fdc8c; }
.cb-panel .cb-form { display: flex; flex-direction: row; align-items: center; gap: 8px; padding: 12px; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: #12100c; backdrop-filter: none; -webkit-backdrop-filter: none; }
.cb-panel .cb-form input { flex: 1; width: auto; min-width: 0; font-size: 16px; padding: 11px 16px; border-radius: 999px; border: 1px solid var(--line); background: #0a0907; color: var(--fg); box-shadow: none; }
.cb-panel .cb-form input:focus { border-color: var(--gold); box-shadow: none; }
.cb-panel .cb-form button { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--grad-h); color: #1a1205; cursor: pointer; display: grid; place-items: center; }
.cb-form button svg { width: 20px; height: 20px; }
.cb-note { font-size: 13px; color: var(--muted); text-align: center; padding: 0 16px 10px; background: #12100c; }
@media (max-width: 560px) {
  .cb-launch { right: 14px; bottom: 14px; width: 56px; height: 56px; }
  .cb-tip { right: 80px; bottom: 24px; }
  .cb-panel { right: 8px; left: 8px; width: auto; bottom: 8px; height: min(640px, calc(100dvh - 16px)); border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) { .cb-launch::after { animation: none; } }

/* ===== Quotation page ===== */
.q-wrap { max-width: 1180px; margin: 0 auto; padding: 40px 0 90px; display: grid; grid-template-columns: minmax(0,1fr) 350px; gap: 28px; align-items: start; }
.q-hero { grid-column: 1 / -1; }
.q-hero h1 { font-size: clamp(30px, 5vw, 52px); line-height: 1.08; margin: 12px 0 10px; font-weight: 700; }
.q-hero p { color: var(--muted); max-width: 680px; font-size: 18px; margin: 0; line-height: 1.5; }
.q-who { display: inline-flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-size: 15px; color: var(--muted); }
.q-who b { color: var(--fg); font-weight: 600; }
.q-cat { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); margin-bottom: 14px; overflow: hidden; }
.q-cat.open { border-color: rgba(250,208,10,.4); }
.q-cat-h { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; background: transparent; border: 0; color: var(--fg); font: inherit; text-align: left; cursor: pointer; }
.q-cat-h b { display: block; font-size: 20px; font-weight: 700; line-height: 1.2; }
.q-cat-h small { display: block; color: var(--muted); font-size: 14px; margin-top: 3px; }
.q-cat-h .q-n { color: var(--gold); font-size: 14px; white-space: nowrap; }
.q-cat-h i { width: 10px; height: 10px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); transition: transform .2s; flex: none; margin: 0 4px 4px 8px; }
.q-cat.open .q-cat-h i { transform: rotate(-135deg); margin-bottom: -4px; }
.q-body { display: none; padding: 0 12px 14px; }
.q-cat.open .q-body { display: block; }
.q-row { display: flex; align-items: center; gap: 12px; padding: 12px 10px; border-top: 1px solid var(--line); cursor: pointer; border-radius: 10px; }
.q-row:first-child { border-top: 0; }
.q-row:hover { background: rgba(250,208,10,.05); }
.q-row.on { background: rgba(250,208,10,.09); }
.q-chk { width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid #5a4e38; flex: none; display: grid; place-items: center; background: #0a0907; }
.q-row.tier .q-chk { border-radius: 50%; }
.q-row.on .q-chk { background: var(--grad-h); border-color: transparent; }
.q-row.on .q-chk::after { content: ""; width: 6px; height: 11px; border: solid #1a1205; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px,-1px); }
.q-nm { flex: 1; font-size: 17px; line-height: 1.3; }
.q-pr { color: var(--gold); font-weight: 700; font-size: 16px; text-align: right; white-space: nowrap; }
.q-qty { display: none; align-items: center; gap: 6px; }
.q-row.on .q-qty.show { display: inline-flex; }
.q-qty button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: #0a0907; color: var(--fg); font-size: 17px; line-height: 1; cursor: pointer; padding: 0; }
.q-qty span { min-width: 20px; text-align: center; font-size: 16px; }
.q-note { margin: 4px 10px 6px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.q-sum { position: sticky; top: 96px; border: 1px solid rgba(250,208,10,.4); border-radius: 18px; background: linear-gradient(160deg, #1d1809, #12100c 60%); padding: 20px; }
.q-sum h3 { margin: 0 0 4px; font-size: 22px; }
.q-sum .q-sub { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.q-lines { list-style: none; margin: 0; padding: 0; max-height: 260px; overflow-y: auto; }
.q-lines li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 15px; }
.q-lines li:first-child { border-top: 0; }
.q-lines li span:last-child { color: var(--gold); white-space: nowrap; }
.q-empty { color: var(--muted); font-size: 15px; padding: 8px 0; }
.q-tot { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(250,208,10,.35); display: grid; gap: 6px; }
.q-tot div { display: flex; justify-content: space-between; font-size: 16px; }
.q-tot b { font-size: 22px; color: var(--gold); }
.q-fine { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 10px 0 0; }
.q-act { display: grid; gap: 10px; margin-top: 14px; }
.q-act button, .q-act a { font: inherit; font-size: 16px; font-weight: 600; text-align: center; text-decoration: none; padding: 13px 18px; border-radius: 999px; cursor: pointer; border: 1px solid transparent; }
.q-act .q-go { background: var(--grad-h); background-origin: border-box; color: #1a1205; }
.q-act .q-cu { background: transparent; border-color: rgba(246,241,231,.3); color: var(--fg); }
.q-act .q-wa { background: transparent; border-color: #4cc16b; color: #6fdc8c; }
.q-act button:disabled { opacity: .5; cursor: not-allowed; }
.q-custom { display: none; margin-top: 12px; }
.q-custom.open { display: block; }
#saroQuote .q-custom textarea { width: 100%; min-height: 90px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: #0a0907; color: var(--fg); font: inherit; font-size: 16px; resize: vertical; box-shadow: none; }
.q-done { display: none; margin-top: 14px; padding: 14px; border-radius: 12px; border: 1px solid #2f6b3d; background: rgba(61,220,132,.08); font-size: 15px; line-height: 1.5; }
.q-done.open { display: block; }
.q-done.err { border-color: #7a3322; background: rgba(217,83,43,.1); }
.q-bar { display: none; }
@media (max-width: 900px) {
  .q-wrap { grid-template-columns: 1fr; padding-bottom: 120px; }
  .is-quote .cb-launch { bottom: 86px; }
  .is-quote .cb-tip { bottom: 96px; }
  .q-sum { position: static; }
  .q-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 7; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: rgba(10,9,7,.96); border-top: 1px solid rgba(250,208,10,.4); font-size: 15px; }
  .q-bar b { color: var(--gold); font-size: 18px; display: block; }
  .q-bar button { font: inherit; font-weight: 600; font-size: 15px; padding: 11px 18px; border-radius: 999px; border: 0; background: var(--grad-h); color: #1a1205; cursor: pointer; }
}
@media (max-width: 560px) { .is-quote .cb-launch { bottom: 82px; } .q-nm { font-size: 16px; } .q-row { flex-wrap: wrap; } .q-row .q-pr { margin-left: 34px; } }

/* ===== Prices popup ===== */
.sm-back { position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,.72); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 16px; overflow-y: auto; }
.sm-back[hidden] { display: none; }
.sm { position: relative; width: min(520px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; background: #12100c; border: 1px solid rgba(250,208,10,.4); border-radius: 22px; padding: 26px 24px 22px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.9); }
.sm h3 { margin: 0 0 6px; font-size: 26px; }
.sm p { margin: 0 0 16px; color: var(--muted); font-size: 16px; }
.sm .sm-form { background: transparent; border: 0; padding: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.sm-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--fg); font-size: 22px; line-height: 1; cursor: pointer; }
.sm-x:hover { border-color: var(--gold); color: var(--gold); }
.sm .sm-form textarea { min-height: 70px; }
@media (max-width: 560px) { .sm { padding: 22px 16px 18px; } .sm .row2 { grid-template-columns: 1fr; } }

.cb-panel .cb-card { align-self: stretch; background: #1a1610; border: 1px solid rgba(250,208,10,.35); border-radius: 16px; padding: 14px; display: grid; gap: 10px; animation: cbin .3s both; }
.cb-panel .cb-card b { font-size: 17px; color: var(--gold); }
.cb-panel .cb-card label { display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
.cb-panel .cb-card input, .cb-panel .cb-card textarea { width: 100%; font: inherit; font-size: 16px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: #0a0907; color: var(--fg); box-shadow: none; }
.cb-panel .cb-card textarea { min-height: 64px; resize: none; }
.cb-panel .cb-card input:focus, .cb-panel .cb-card textarea:focus { border-color: var(--gold); outline: 0; box-shadow: none; }
.cb-panel .cb-card .cf-err { margin: 0; color: #ff8a73; font-size: 14px; min-height: 0; }
.cb-panel .cb-card .cf-err:empty { display: none; }
.cb-panel .cb-card button { font: inherit; font-weight: 600; font-size: 16px; padding: 12px; border-radius: 999px; border: 0; background: var(--grad-h); color: #1a1205; cursor: pointer; }

