/* ================================================================
   CARO — Shared Stylesheet
   Inter Tight · fw300 · #F8F8F8 · #222 · #FA5D29
   No cards, no boxes — pure typography & whitespace
   ================================================================ */

:root {
  --font-1: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;
  --fw-light: 300;
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semi: 600;
  --fw-bold: 700;
  --fw-black: 800;

  --c-primary: #222;
  --c-muted: #777;
  --c-light: #aaa;
  --c-faint: #ccc;
  --c-white: #fff;
  --c-orange: #FA5D29;
  --c-orange-soft: rgba(250, 93, 41, 0.08);

  --bg-1: #F8F8F8;
  --bg-2: #fff;
  --bg-3: #ededed;
  --bg-dark: #222;

  --border: #ededed;
  --border-light: rgba(0,0,0,0.04);

  --ts-xs: 11px;
  --ts-sm: 13px;
  --ts-base: 15px;
  --ts-md: 18px;
  --ts-lg: 22px;
  --ts-xl: clamp(28px, 3.5vw, 44px);
  --ts-hero: clamp(36px, 5.5vw, 72px);

  --pad: clamp(24px, 4vw, 60px);
  --pad-section: clamp(64px, 8vw, 140px);
  --container: min(1200px, 100% - var(--pad) * 2);
  --container-sm: min(800px, 100% - var(--pad) * 2);

  --header-h: 64px;
  --radius: 8px;
  --radius-pill: 72px;
}

[data-mode="dark"] {
  --c-primary: #eee;
  --c-muted: #888;
  --c-light: #555;
  --c-faint: #333;
  --bg-1: #0e0e0e;
  --bg-2: #161616;
  --bg-3: #222;
  --bg-dark: #eee;
  --border: #2a2a2a;
  --border-light: rgba(255,255,255,0.04);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: var(--ts-base); }

body {
  font-family: var(--font-1);
  font-weight: var(--fw-light);
  background: var(--bg-1);
  color: var(--c-primary);
  line-height: 190%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  padding-top: var(--header-h);
}
/* Extra top padding when sticky-top bar is present */
body:has(.sticky-top) { padding-top: calc(var(--header-h) + 52px); }

::selection { background: var(--c-orange); color: var(--c-white); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

.w { width: var(--container); margin: 0 auto; }
.w-sm { width: var(--container-sm); margin: 0 auto; }

/* === HEADER === */
.hd {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad);
  background: var(--bg-1);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.hd.s { box-shadow: 0 1px 0 var(--border); }

.hd-logo { font-size: 15px; font-weight: var(--fw-medium); letter-spacing: -0.02em; }
.hd-logo b { font-weight: var(--fw-black); color: var(--c-orange); font-size: 18px; }

.hd-nav { display: flex; gap: 28px; }
.hd-nav a { font-size: var(--ts-sm); font-weight: var(--fw-normal); color: var(--c-muted); transition: color 0.2s; }
.hd-nav a:hover { color: var(--c-primary); }
.hd-nav a.active { color: var(--c-primary); font-weight: var(--fw-medium); }

.hd-r { display: flex; align-items: center; gap: 10px; }

.hd-soc { display: flex; gap: 2px; }
.hd-soc a {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; color: var(--c-light); font-size: 12px;
  transition: color 0.2s, background 0.2s;
}
.hd-soc a:hover { color: var(--c-primary); background: var(--bg-3); }

.hd-lang { display: flex; background: var(--bg-3); border-radius: var(--radius-pill); overflow: hidden; }
.hd-lang button {
  background: transparent; border: none;
  padding: 5px 11px; font-size: var(--ts-xs); font-weight: var(--fw-semi);
  letter-spacing: 0.04em; color: var(--c-muted); border-radius: var(--radius-pill);
  transition: all 0.2s;
}
.hd-lang button.on { background: var(--c-primary); color: var(--bg-1); }

.hd-mode {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--border); background: transparent;
  color: var(--c-light); font-size: 12px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.hd-mode:hover { border-color: var(--c-primary); color: var(--c-primary); }

.hd-menu {
  display: none; width: 30px; height: 30px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: transparent; color: var(--c-primary); font-size: 14px;
  align-items: center; justify-content: center;
}

/* === HERO === */
.hero { padding: clamp(48px, 7vw, 100px) 0 0; }

.hero-top {
  display: flex; align-items: center; gap: 8px;
  font-size: var(--ts-xs); font-weight: var(--fw-medium);
  color: var(--c-muted); margin-bottom: 24px;
}
.hero-top .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--c-orange); }

.hero-h {
  font-size: var(--ts-hero); font-weight: var(--fw-light);
  line-height: 110%; letter-spacing: -0.035em;
  margin-bottom: 32px; max-width: 900px;
}

.hero-split {
  display: grid; grid-template-columns: 1fr 360px;
  gap: clamp(40px, 5vw, 80px); align-items: end;
  padding-bottom: var(--pad-section);
  border-bottom: 1px solid var(--border);
}

.hero-left p {
  font-size: var(--ts-md); font-weight: var(--fw-light);
  color: var(--c-muted); line-height: 180%;
  margin-bottom: 36px; max-width: 480px;
}

.hero-nums { display: flex; gap: 40px; margin-bottom: 36px; }

.hero-num strong {
  display: block;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: var(--fw-black);
  line-height: 110%; letter-spacing: -0.04em;
}
.hero-num span {
  font-size: var(--ts-xs); font-weight: var(--fw-semi);
  color: var(--c-muted); text-transform: uppercase; letter-spacing: 0.08em;
}

.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 46px; padding: 0 24px;
  font-size: var(--ts-sm); font-weight: var(--fw-medium); font-family: var(--font-1);
  border: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.25s, opacity 0.2s;
}
.btn:active { transform: scale(0.97); }

.btn-o { background: var(--c-orange); color: var(--c-white); border-radius: var(--radius-pill); }
.btn-o:hover { box-shadow: 0 6px 20px rgba(250,93,41,0.3); transform: translateY(-1px); }

.btn-g { background: transparent; color: var(--c-primary); border: 1px solid var(--border); border-radius: var(--radius-pill); }
.btn-g:hover { border-color: var(--c-primary); }

.hero-img {
  position: relative;
}
.hero-photo {
  width: 100%; aspect-ratio: 3/4;
  border-radius: var(--radius); overflow: hidden;
  background: var(--bg-3);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.hero-badge {
  position: absolute; bottom: -16px; left: 50%; transform: translateX(-50%);
  background: var(--bg-2); border: 1px solid var(--border);
  padding: 8px 20px; border-radius: var(--radius-pill);
  text-align: center; white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.hero-badge strong { display: block; font-size: var(--ts-xs); font-weight: var(--fw-semi); }
.hero-badge span { font-size: 10px; color: var(--c-muted); }

/* === SECTION === */
.sc { padding: clamp(24px, 3vw, 48px) 0; }
.sc-line { border-bottom: 1px solid var(--border); }

.sc-label {
  font-size: var(--ts-xs); font-weight: var(--fw-semi);
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--c-orange); margin-bottom: 20px;
}

.sc-title {
  font-size: var(--ts-xl); font-weight: var(--fw-light);
  line-height: 125%; letter-spacing: -0.025em; margin-bottom: 12px;
}

.sc-desc {
  font-size: var(--ts-md); font-weight: var(--fw-light);
  color: var(--c-muted); line-height: 180%; max-width: 600px;
}

.sc-head { margin-bottom: clamp(40px, 5vw, 64px); }
.sc-head-c { text-align: center; }
.sc-head-c .sc-desc { margin: 0 auto; }

/* === SERVICES — editorial list, no cards === */
.svc-cols {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; margin-bottom: 40px;
}

.svc-col {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.svc-col:nth-child(odd) { padding-right: clamp(20px, 3vw, 48px); border-right: 1px solid var(--border); }
.svc-col:nth-child(even) { padding-left: clamp(20px, 3vw, 48px); }

.svc-icon { font-size: 24px; margin-bottom: 16px; }

.svc-h {
  font-size: var(--ts-lg); font-weight: var(--fw-medium);
  letter-spacing: -0.02em; margin-bottom: 8px;
}

.svc-sub {
  font-size: var(--ts-sm); color: var(--c-muted); margin-bottom: 24px;
}

.svc-row {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 0; border-top: 1px solid var(--border-light);
  font-size: var(--ts-sm); line-height: 160%;
}

.svc-row:first-of-type { border-top: 1px solid var(--border); }

.svc-d { flex-shrink: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--c-orange); margin-top: 8px; }
.svc-n { flex: 1; }
.svc-p { flex-shrink: 0; font-weight: var(--fw-semi); white-space: nowrap; }

.svc-foot {
  margin-top: 20px; font-size: var(--ts-sm); color: var(--c-muted); line-height: 180%;
}
.svc-foot p + p { margin-top: 6px; }

.disc {
  border-top: 1px solid var(--border);
  padding-top: 24px; font-size: var(--ts-sm); color: var(--c-muted);
}
.disc b { color: var(--c-orange); font-weight: var(--fw-semi); }

/* === ABOUT — magazine spread === */
.about-grid {
  display: grid; grid-template-columns: 320px 1fr;
  gap: clamp(40px, 5vw, 80px); align-items: start;
}

.about-photo img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
  border-radius: var(--radius); background: var(--bg-3);
}

.about-name {
  font-size: clamp(28px, 3vw, 40px); font-weight: var(--fw-light);
  letter-spacing: -0.025em; margin-bottom: 4px;
}

.about-role {
  font-size: var(--ts-sm); font-weight: var(--fw-semi);
  color: var(--c-orange); margin-bottom: 28px;
}

.about-q {
  font-size: var(--ts-md); font-weight: var(--fw-light); font-style: italic;
  color: var(--c-muted); line-height: 180%;
  padding-left: 20px; border-left: 2px solid var(--c-orange);
  margin-bottom: 24px;
}

.about-p {
  font-size: var(--ts-base); color: var(--c-muted);
  line-height: 200%; margin-bottom: 16px;
}
.about-p + .about-p { padding-top: 16px; border-top: 1px solid var(--border-light); }

.about-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 24px; }
.about-tag {
  padding: 5px 14px; background: var(--bg-3);
  border-radius: var(--radius-pill);
  font-size: var(--ts-xs); font-weight: var(--fw-medium);
}

/* === CONTACT — split === */
.ct-grid {
  display: grid; grid-template-columns: 1fr 440px;
  gap: clamp(40px, 5vw, 80px); align-items: start;
}

.ct-title {
  font-size: var(--ts-xl); font-weight: var(--fw-light);
  line-height: 125%; letter-spacing: -0.025em; margin-bottom: 12px;
}

.ct-desc { font-size: var(--ts-md); color: var(--c-muted); font-weight: var(--fw-light); margin-bottom: 36px; }

.ct-items { display: flex; flex-direction: column; gap: 16px; }
.ct-item { display: flex; align-items: center; gap: 14px; }
.ct-item-i {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-3); display: flex; align-items: center; justify-content: center;
  color: var(--c-primary); font-size: 14px; flex-shrink: 0;
}
.ct-item-t { font-size: var(--ts-sm); color: var(--c-muted); line-height: 150%; }
.ct-item-t strong { display: block; color: var(--c-primary); font-weight: var(--fw-medium); }

.ct-form {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px;
}
[data-mode="dark"] .ct-form { background: var(--bg-3); }

.ct-form h3 {
  font-size: var(--ts-lg); font-weight: var(--fw-medium);
  letter-spacing: -0.02em; margin-bottom: 24px;
}

.fg { margin-bottom: 16px; }
.fg label {
  display: block; font-size: var(--ts-xs); font-weight: var(--fw-semi);
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--c-muted); margin-bottom: 5px;
}
.fg input, .fg select, .fg textarea {
  width: 100%; height: 46px; padding: 0 14px;
  background: var(--bg-1); border: 1px solid var(--border);
  border-radius: var(--radius); font-size: var(--ts-sm);
  font-family: var(--font-1); font-weight: var(--fw-light);
  color: var(--c-primary); transition: border-color 0.2s; line-height: normal;
}
.fg textarea { height: auto; padding: 12px 14px; resize: vertical; line-height: 170%; }
.fg input:focus, .fg select:focus, .fg textarea:focus { outline: none; border-color: var(--c-primary); }

.fg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.fg-submit {
  width: 100%; height: 46px;
  background: var(--c-orange); color: var(--c-white); border: none;
  border-radius: var(--radius-pill);
  font-size: var(--ts-sm); font-family: var(--font-1); font-weight: var(--fw-medium);
  cursor: pointer; margin-top: 6px;
  transition: transform 0.15s, box-shadow 0.25s;
}
.fg-submit:hover { box-shadow: 0 6px 20px rgba(250,93,41,0.3); transform: translateY(-1px); }
.fg-submit:active { transform: scale(0.98); }

/* === FOOTER === */
.ft {
  padding: 32px 0; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.ft-c { font-size: var(--ts-xs); color: var(--c-light); }
.ft-links { display: flex; gap: 20px; margin-bottom: 12px; }
.ft-links a { font-size: var(--ts-xs); color: var(--c-muted); transition: color 0.2s; }
.ft-links a:hover { color: var(--c-primary); }
.ft-s { display: flex; gap: 6px; }
.ft-s a {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-muted); font-size: 12px; transition: all 0.2s;
}
.ft-s a:hover { border-color: var(--c-primary); color: var(--c-primary); }

/* === REVEAL === */
.rv { opacity: 0; transform: translateY(16px); transition: opacity 0.5s cubic-bezier(0.16,1,0.3,1), transform 0.5s cubic-bezier(0.16,1,0.3,1); }
.rv.v { opacity: 1; transform: translateY(0); }
.rv-1 { transition-delay: 0.06s; }
.rv-2 { transition-delay: 0.12s; }
.rv-3 { transition-delay: 0.18s; }

/* === MOBILE PANEL === */
.m-ov { position: fixed; inset: 0; background: rgba(0,0,0,0.15); z-index: 199; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.m-ov.on { opacity: 1; pointer-events: auto; }
.m-pn {
  position: fixed; top: 0; right: -280px; width: 260px; height: 100vh;
  background: var(--bg-1); border-left: 1px solid var(--border); z-index: 200;
  padding: 72px 24px 24px; transition: right 0.3s cubic-bezier(0.16,1,0.3,1);
}
.m-pn.on { right: 0; }
.m-x {
  position: absolute; top: 16px; right: 16px;
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border);
  background: transparent; color: var(--c-primary); font-size: 12px;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.m-pn a {
  display: block; padding: 14px 0; font-size: var(--ts-md); font-weight: var(--fw-normal);
  color: var(--c-muted); border-bottom: 1px solid var(--border); transition: color 0.2s;
}
.m-pn a:hover { color: var(--c-primary); }

/* === STICKY TOP CTA BAR (subpages only) === */
.sticky-top {
  position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 99;
  background: #222; padding: 10px 0; text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  display: flex; align-items: center; justify-content: center; gap: 20px;
}
.sticky-top p {
  color: #fff; font-size: 19px; font-weight: 400; margin: 0;
  letter-spacing: -0.01em;
}
.sticky-top a.sticky-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 20px;
  background: #FA5D29; color: #fff;
  border-radius: 72px;
  font-size: 13px; font-weight: 500;
  text-decoration: none; white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}
.sticky-top a.sticky-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(250, 93, 41, 0.35); }
.sticky-top a.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  color: #fff; font-size: 14px;
  text-decoration: none;
  transition: transform 0.2s;
}
.sticky-top a.icon-btn:hover { transform: scale(1.1); }
.sticky-top a.icon-btn.phone { background: #0078FF; }
.sticky-top a.icon-btn.wa { background: #25D366; }
[data-mode="dark"] .sticky-top { background: #1a1a1a; }
@media (max-width: 700px) {
  .sticky-top p { display: none; }
  .sticky-top { gap: 12px; }
}

/* === BREADCRUMBS === */
.breadcrumbs { padding: 8px 0 0; font-size: var(--ts-xs); color: var(--c-muted); }
.breadcrumbs a { color: var(--c-orange); transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--c-primary); }
.breadcrumbs span.sep { margin: 0 8px; color: var(--c-faint); }

/* === PAGE CONTENT (articles & service pages) === */
.page-content { max-width: 780px; margin: 0 auto; }
.page-content h2 { font-size: clamp(22px, 2.5vw, 30px); font-weight: var(--fw-medium); margin: 32px 0 12px; letter-spacing: -0.02em; color: var(--c-primary); }
.page-content h2:first-child { margin-top: 0; }
.page-content h3 { font-size: clamp(18px, 2vw, 22px); font-weight: var(--fw-medium); margin: 32px 0 12px; color: var(--c-primary); }
.page-content p { margin-bottom: 20px; color: var(--c-muted); line-height: 200%; }
.page-content ul, .page-content ol { margin: 16px 0 24px 24px; color: var(--c-muted); line-height: 200%; list-style: disc; }
.page-content ol { list-style: decimal; }
.page-content li { margin-bottom: 8px; }
.page-content a { color: var(--c-orange); text-decoration: underline; text-underline-offset: 3px; }
.page-content a:hover { color: var(--c-primary); }
.page-content strong { color: var(--c-primary); font-weight: var(--fw-medium); }
.page-content blockquote { border-left: 3px solid var(--c-orange); padding-left: 20px; margin: 24px 0; font-style: italic; color: var(--c-muted); }

/* === PAGE HERO (subpages) === */
.page-hero { padding: 8px 0 12px; }
.page-hero h1 {
  font-size: clamp(30px, 4vw, 52px); font-weight: var(--fw-light);
  line-height: 120%; letter-spacing: -0.03em; margin-bottom: 16px;
  max-width: 780px;
}
.page-hero .page-intro {
  font-size: var(--ts-md); color: var(--c-muted); font-weight: var(--fw-light);
  line-height: 180%; max-width: 680px;
}

/* === INFO BOX === */
.info-box { background: var(--bg-2); border: 1px solid var(--border); border-left: 3px solid var(--c-orange); border-radius: var(--radius); padding: 24px; margin: 32px 0; }
.info-box strong { color: var(--c-orange); }
.info-box p { margin-bottom: 0; }

/* === CTA BANNER === */
.cta-banner { background: var(--bg-dark); padding: clamp(48px, 6vw, 80px) 0; text-align: center; }
.cta-banner h2 { color: var(--bg-1); font-size: clamp(26px, 3vw, 36px); font-weight: var(--fw-light); margin-bottom: 16px; letter-spacing: -0.02em; }
.cta-banner p { color: var(--c-muted); margin-bottom: 32px; font-size: var(--ts-md); }
[data-mode="dark"] .cta-banner { background: var(--bg-2); }
[data-mode="dark"] .cta-banner h2 { color: var(--c-primary); }

/* === BLOG GRID === */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.blog-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; transition: transform 0.2s, box-shadow 0.3s; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.06); }
.blog-card-label { font-size: var(--ts-xs); font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-orange); margin-bottom: 12px; }
.blog-card-title { font-size: var(--ts-lg); font-weight: var(--fw-medium); letter-spacing: -0.02em; margin-bottom: 12px; }
.blog-card-desc { font-size: var(--ts-base); color: var(--c-muted); margin-bottom: 20px; line-height: 180%; flex: 1; }
.blog-card-link { font-size: var(--ts-base); font-weight: var(--fw-medium); color: var(--c-orange); }
.blog-card-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* === TABLE === */
.page-content table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.page-content th, .page-content td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: var(--ts-base); }
.page-content th { font-weight: var(--fw-bold); color: var(--c-primary); background: var(--bg-2); }
.page-content td { color: var(--c-muted); }

/* === FAQ SECTION === */
.faq { padding: var(--pad-section) 0; }
.faq-item { border-top: 1px solid var(--border); padding: 20px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-q { font-size: var(--ts-md); font-weight: var(--fw-medium); cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-q::after { content: '+'; font-size: 20px; color: var(--c-muted); transition: transform 0.2s; flex-shrink: 0; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { font-size: var(--ts-base); color: var(--c-muted); line-height: 190%; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; padding: 0; }
.faq-item.open .faq-a { max-height: 500px; padding-top: 12px; }

/* === TESTIMONIAL === */
.testi { padding: var(--pad-section) 0; }
.testi-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; margin-bottom: 16px; }
.testi-text { font-size: var(--ts-md); font-style: italic; color: var(--c-muted); line-height: 180%; margin-bottom: 16px; }
.testi-author { font-size: var(--ts-sm); font-weight: var(--fw-semi); }
.testi-role { font-size: var(--ts-xs); color: var(--c-muted); }

/* === RESPONSIVE === */
@media (max-width: 960px) {
  .hero-split { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-split > div:first-child { order: 2; }
  .hero-split > div:last-child { order: 1; }
  .hero-left p { margin: 0 auto 36px; }
  .hero-nums { justify-content: center; }
  .hero-btns { justify-content: center; }
  .hero-h { margin: 0 auto 32px; text-align: center; }
  .hero-top { justify-content: center; }
  .hero-photo { max-width: 280px; margin: 0 auto; }

  .svc-cols { grid-template-columns: 1fr; }
  .svc-col { border-right: none !important; padding-left: 0 !important; padding-right: 0 !important; }

  .about-grid { grid-template-columns: 1fr; text-align: center; gap: 36px; }
  .about-photo { max-width: 240px; margin: 0 auto; }
  .about-q { border-left: none; padding-left: 0; text-align: center; }
  .about-tags { justify-content: center; }

  .ct-grid { grid-template-columns: 1fr; gap: 40px; }

  .hd-nav, .hd-soc { display: none; }
  .hd-menu { display: flex; }

  .blog-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero-nums { flex-direction: column; gap: 12px; align-items: center; }
  .fg-row { grid-template-columns: 1fr; }
  .ft { flex-direction: column; gap: 16px; text-align: center; }
  .svc-row { flex-wrap: wrap; }
  .svc-p { width: 100%; text-align: left; padding-left: 15px; margin-top: -4px; }
  .page-content table { font-size: var(--ts-sm); }
  .page-content th, .page-content td { padding: 8px 10px; }
}

@media print {
  .hd, .m-pn, .m-ov, .wa-float { display: none !important; }
  body { padding-top: 0; }
  .sc { padding: 20px 0; }
  .rv { opacity: 1 !important; transform: none !important; }
}

/* === ACCESSIBILITY === */
.btn:focus-visible, .fg-submit:focus-visible, .hd-mode:focus-visible,
.hd-lang button:focus-visible, .hd-menu:focus-visible, .m-x:focus-visible,
.ft-s a:focus-visible, .hd-soc a:focus-visible, .wa-float:focus-visible {
  outline: 2px solid var(--c-orange);
  outline-offset: 2px;
}

.fg input:focus-visible, .fg select:focus-visible, .fg textarea:focus-visible {
  outline: none;
  border-color: var(--c-orange);
  box-shadow: 0 0 0 3px var(--c-orange-soft);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .rv { transition: none !important; opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
  .btn, .fg-submit, .hd, .hd-nav a, .hd-soc a, .hd-mode, .ft-s a, .wa-float, .blog-card { transition: none !important; }
}

/* === HIGH CONTRAST MODE === */
@media (forced-colors: active) {
  .btn-o, .fg-submit { border: 2px solid ButtonText; }
  .svc-d { background: ButtonText; }
  .hero-badge { border: 2px solid ButtonText; }
}

/* === ADDITIONAL LAYOUT === */
.svc-col:first-child .svc-row:first-of-type { margin-top: 0; }
.svc-col:last-child .svc-foot { padding-bottom: 0; }

.about-grid > div:last-child { min-width: 0; }
.ct-grid > div:first-child { min-width: 0; }
.ct-grid > div:last-child { min-width: 0; }

/* Smooth image loading */
.hero-photo img, .about-photo img {
  opacity: 1;
  transition: opacity 0.4s ease;
}

/* Scrollbar styling */
* { scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
*::-webkit-scrollbar { width: 6px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
*::-webkit-scrollbar-thumb:hover { background: var(--c-muted); }

/* Container query */
.svc-cols, .about-grid, .ct-grid { container-type: inline-size; }

@container (max-width: 600px) {
  .svc-cols { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .ct-grid { grid-template-columns: 1fr; }
}

/* Spacing utilities */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.hidden { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.text-center { text-align: center; }
