/* ==========================================================================
   Occams — digital agency
   ========================================================================== */

:root {
  --ink: #0e0f1a;
  --paper: #f7f4ef;
  --paper-2: #efeae2;
  --white: #ffffff;
  --accent: #ffd460;       /* primary */
  --accent-dark: #f5c232;  /* hover state for accent fills */
  --accent-soft: #fff4d6;
  --accent-text: #8a5d00;  /* readable amber for accent-toned text on light backgrounds */
  --secondary: #2d4059;    /* secondary — dark surfaces */
  --secondary-2: #364b67;  /* cards on secondary */
  --secondary-3: #405775;  /* hover on secondary */
  --muted: #5d6072;
  --muted-light: #c3cad8;
  --line: rgba(14, 15, 26, 0.1);
  --line-light: rgba(255, 255, 255, 0.12);

  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(14, 15, 26, 0.25);
  --container: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.02em; font-weight: 600; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
ul { padding: 0; margin: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; }
.section-sm { padding: 70px 0; }
.section-dark { background: var(--secondary); color: var(--white); }
.section-white { background: var(--white); }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.accent { color: var(--accent-text); }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--secondary); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-text); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section-dark .eyebrow, .page-hero .eyebrow { color: var(--accent); }
::selection { background: var(--accent); color: var(--ink); }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head h2 { max-width: 640px; margin: 0; }
.section-head p { max-width: 420px; margin: 0; color: var(--muted); }
.section-dark .section-head p { color: var(--muted-light); }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(245, 194, 50, .6); }
.btn-dark { background: var(--secondary); color: var(--white); }
.btn-dark:hover { background: var(--secondary-3); transform: translateY(-2px); }
.btn-outline { border-color: currentColor; color: var(--ink); }
.btn-outline:hover { background: var(--secondary); color: var(--white); border-color: var(--secondary); }
.section-dark .btn-outline, .page-hero .btn-outline { color: var(--white); }
.section-dark .btn-outline:hover, .page-hero .btn-outline:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-sm { padding: 10px 20px; font-size: .92rem; }
.btn-lg { padding: 18px 34px; font-size: 1.08rem; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent-text); }
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 244, 239, .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0,0,0,.4); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.03em; }
.logo-mark { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); border: 6px solid var(--secondary); position: relative; }
.logo-dot { color: var(--accent-text); }
.site-footer .logo-mark { background: transparent; border-color: var(--accent); }
.site-footer .logo-dot { color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav > ul { display: flex; gap: 6px; align-items: center; }
.site-nav > ul > li > a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: .96rem; transition: background .2s, color .2s;
}
.site-nav > ul > li > a:hover { background: rgba(14, 15, 26, .06); }
.site-nav > ul > li > a.active { color: var(--accent-text); }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translate(-50%, 8px);
  width: 560px; padding: 14px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.dropdown::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 12px; transition: background .2s; }
.dropdown a:hover { background: var(--paper); }
.dropdown strong { display: block; font-size: .95rem; }
.dropdown small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.4; }
.dd-icon { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }
.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); }

/* Home hero -------------------------------------------------------------- */
.hero { padding: 70px 0 100px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--accent-text); position: relative; white-space: nowrap; isolation: isolate; }
.hero h1 em::after {
  content: ""; position: absolute; left: -.04em; right: -.04em; bottom: .08em; height: .32em; z-index: -1;
  background: var(--accent); border-radius: 4px;
}
.hero-lead { font-size: 1.2rem; color: var(--muted); max-width: 520px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-proof { display: flex; align-items: center; gap: 16px; margin-top: 44px; }
.avatars { display: flex; }
.avatars img { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--paper); object-fit: cover; margin-left: -12px; }
.avatars img:first-child { margin-left: 0; }
.hero-proof p { margin: 0; font-size: .93rem; color: var(--muted); line-height: 1.4; }
.hero-proof strong { color: var(--ink); }

.hero-visual { position: relative; height: 560px; }
.hero-visual .hv-main { position: absolute; inset: 0 0 60px 60px; border-radius: 28px; overflow: hidden; }
.hero-visual .hv-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .hv-small { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 4/3; border-radius: 20px; overflow: hidden; border: 6px solid var(--paper); box-shadow: var(--shadow); }
.hero-visual .hv-small img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; right: -10px; bottom: 100px; background: var(--white); border-radius: 16px; padding: 16px 20px;
  box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; animation: float 5s ease-in-out infinite;
}
.hero-badge .hb-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent); color: var(--ink); display: grid; place-items: center; }
.hero-badge strong { font-family: var(--font-head); font-size: 1.4rem; display: block; line-height: 1; }
.hero-badge span { font-size: .82rem; color: var(--muted); }
.hero-circle {
  position: absolute; top: -30px; right: 30px; width: 130px; height: 130px; border-radius: 50%;
  background: var(--secondary); color: var(--white); display: grid; place-items: center;
}
.hero-circle svg.spin { position: absolute; inset: 0; animation: spin 18s linear infinite; }
.hero-circle .hc-arrow { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-10px); } }

/* Logo strip / marquee --------------------------------------------------- */
.logos { padding: 40px 0; border-block: 1px solid var(--line); overflow: hidden; }
.logos p { text-align: center; font-size: .85rem; color: var(--muted); margin-bottom: 24px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.marquee { display: flex; gap: 70px; width: max-content; animation: marquee 30s linear infinite; }
.marquee span { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: rgba(14, 15, 26, .35); white-space: nowrap; letter-spacing: -0.02em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Service cards ---------------------------------------------------------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  position: relative; background: var(--white); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card .sc-img { aspect-ratio: 16/10; overflow: hidden; }
.service-card .sc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover .sc-img img { transform: scale(1.06); }
.service-card .sc-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.service-card .sc-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--accent); color: var(--ink); display: grid; place-items: center;
  margin-top: -54px; margin-bottom: 18px; position: relative; border: 4px solid var(--white); box-sizing: content-box;
}
.service-card p { color: var(--muted); flex: 1; }
.service-card .link-arrow { margin-top: 8px; }
.service-card > a.stretched::after { content: ""; position: absolute; inset: 0; }

/* Stats ------------------------------------------------------------------ */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { padding: 30px 0; border-top: 1px solid var(--line-light); }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; color: var(--white); margin-bottom: 10px; letter-spacing: -0.03em; }
.stat strong span { color: var(--accent); }
.stat p { margin: 0; color: var(--muted-light); }

/* Split / about-style ---------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split-img { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4/5; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-img .tag {
  position: absolute; left: 20px; bottom: 20px; background: var(--white); border-radius: 14px; padding: 14px 18px;
  font-weight: 700; display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow);
}
.split-img .tag::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #2ecc71; box-shadow: 0 0 0 4px rgba(46, 204, 113, .2); }
.check-list li { display: flex; gap: 14px; margin-bottom: 16px; align-items: flex-start; }
.check-list li::before {
  content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; margin-top: 2px;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a5d00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* Process ---------------------------------------------------------------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { padding: 32px 28px; border-radius: var(--radius); background: var(--secondary-2); border: 1px solid var(--line-light); transition: background .3s, transform .3s var(--ease); }
.step:hover { background: var(--secondary-3); transform: translateY(-4px); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; color: var(--accent); margin-bottom: 24px; line-height: 1; }
.step p { color: var(--muted-light); margin: 0; font-size: .96rem; }

/* Case study cards ------------------------------------------------------- */
.cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.case-card { display: block; position: relative; }
.case-card .cc-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; margin-bottom: 22px; position: relative; }
.case-card .cc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.case-card:hover .cc-img img { transform: scale(1.05); }
.case-card .cc-result {
  position: absolute; right: 18px; top: 18px; background: var(--white); border-radius: 12px; padding: 10px 14px; text-align: right; box-shadow: var(--shadow);
}
.case-card .cc-result strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--accent-text); line-height: 1; }
.case-card .cc-result span { font-size: .78rem; color: var(--muted); font-weight: 600; }
.case-card h3 { font-size: 1.5rem; margin-bottom: 10px; transition: color .2s; }
.case-card:hover h3 { color: var(--accent-text); }
.case-card p { color: var(--muted); margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tag-pill { font-size: .78rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--paper-2); color: var(--ink); }
.tag-pill.accent { background: var(--accent-soft); color: var(--accent-text); }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.filter-btn {
  border: 2px solid var(--line); background: transparent; padding: 10px 20px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 700; font-size: .92rem; cursor: pointer; color: var(--ink); transition: all .2s;
}
.filter-btn:hover { border-color: var(--ink); }
.filter-btn.active { background: var(--secondary); color: var(--white); border-color: var(--secondary); }
.case-card.hidden { display: none; }

/* Testimonials ----------------------------------------------------------- */
.testimonial-wrap { max-width: 880px; margin: 0 auto; text-align: center; position: relative; }
.testimonial { display: none; }
.testimonial.active { display: block; animation: fadeUp .6s var(--ease); }
.testimonial blockquote { font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.3; margin: 0 0 28px; letter-spacing: -0.02em; font-weight: 500; }
.testimonial cite { font-style: normal; font-weight: 700; color: var(--muted); }
.quote-mark { font-family: Georgia, serif; font-size: 6rem; line-height: .6; color: var(--accent-text); display: block; margin-bottom: 20px; }
.t-dots { display: flex; justify-content: center; gap: 10px; margin-top: 36px; }
.t-dots button { width: 12px; height: 12px; border-radius: 999px; border: 0; background: var(--line); cursor: pointer; transition: width .3s, background .3s; padding: 0; }
.t-dots button.active { width: 36px; background: var(--accent); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Inner page hero -------------------------------------------------------- */
.page-hero { position: relative; color: var(--white); padding: 130px 0 110px; overflow: hidden; background: var(--secondary); }
.page-hero .ph-bg { position: absolute; inset: 0; }
.page-hero .ph-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.page-hero .ph-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(45,64,89,.95) 30%, rgba(45,64,89,.45)); }
.page-hero .container { position: relative; }
.page-hero h1 { max-width: 860px; }
.page-hero p.lead { font-size: 1.2rem; max-width: 620px; color: rgba(255,255,255,.8); margin-bottom: 32px; }
.breadcrumb { display: flex; gap: 8px; font-size: .9rem; color: rgba(255,255,255,.65); margin-bottom: 24px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span[aria-current] { color: var(--accent); }

/* Service detail --------------------------------------------------------- */
.offers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.offer { background: var(--white); padding: 36px 32px; transition: background .3s; }
.offer:hover { background: var(--paper); }
.offer .num { font-family: var(--font-head); font-weight: 700; color: var(--accent-text); font-size: .95rem; display: block; margin-bottom: 18px; }
.offer p { color: var(--muted); margin: 0; font-size: .96rem; }
.stats-inline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.stats-inline div { border-left: 3px solid var(--accent-dark); padding-left: 16px; }
.stats-inline strong { display: block; font-family: var(--font-head); font-size: 2rem; line-height: 1.1; }
.stats-inline span { font-size: .88rem; color: var(--muted); }

.other-services { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.other-services a {
  display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--radius); background: var(--white);
  font-weight: 700; font-family: var(--font-head); font-size: 1.1rem; transition: transform .3s var(--ease), background .3s, color .3s;
}
.other-services a span { color: var(--accent-text); }
.other-services a:hover { transform: translateY(-4px); background: var(--secondary); color: var(--white); }
.other-services a:hover span { color: var(--accent); }

/* FAQ -------------------------------------------------------------------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 0; font-family: var(--font-head); font-size: 1.2rem; font-weight: 600;
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.8rem; font-weight: 400; color: var(--accent-text); transition: transform .3s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; max-width: 720px; }

/* Services overview page ------------------------------------------------- */
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding: 70px 0; border-bottom: 1px solid var(--line); }
.service-row:last-child { border-bottom: 0; }
.service-row:nth-child(even) .sr-img { order: 2; }
.sr-img { border-radius: 24px; overflow: hidden; aspect-ratio: 5/4; }
.sr-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.service-row:hover .sr-img img { transform: scale(1.04); }
.sr-num { font-family: var(--font-head); font-weight: 700; color: var(--accent-text); }
.sr-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; margin: 24px 0 32px; }
.sr-list li { font-weight: 600; font-size: .95rem; display: flex; gap: 10px; align-items: center; }
.sr-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-text); flex: none; }

/* Case study detail ------------------------------------------------------ */
.cs-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.cs-meta small { display: block; text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.cs-meta strong { font-family: var(--font-head); font-size: 1.1rem; }
.cs-cover { border-radius: 24px; overflow: hidden; aspect-ratio: 21/9; margin-top: -70px; position: relative; box-shadow: var(--shadow); }
.cs-cover img { width: 100%; height: 100%; object-fit: cover; }
.cs-body { display: grid; grid-template-columns: 280px 1fr; gap: 60px; }
.cs-body h2 { font-size: 1.8rem; }
.cs-body p { font-size: 1.1rem; color: var(--muted); }
.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.result-box { background: var(--secondary); color: var(--white); border-radius: var(--radius); padding: 36px 30px; }
.result-box strong { display: block; font-family: var(--font-head); font-size: 3rem; color: var(--accent); line-height: 1; margin-bottom: 10px; }
.result-box span { color: var(--muted-light); }
.cs-quote { background: var(--accent); color: var(--ink); border-radius: 24px; padding: 60px; }
.cs-quote blockquote { font-family: var(--font-head); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.3; margin: 0 0 20px; font-weight: 500; }
.cs-quote cite { font-style: normal; font-weight: 700; opacity: .9; }

/* About ------------------------------------------------------------------ */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value { background: var(--white); border-radius: var(--radius); padding: 34px 28px; }
.value .v-icon { width: 54px; height: 54px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; margin-bottom: 22px; }
.value p { color: var(--muted); margin: 0; font-size: .96rem; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.member .m-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; margin-bottom: 18px; background: var(--paper-2); }
.member .m-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: filter .5s, transform .6s var(--ease); }
.member:hover .m-img img { filter: none; transform: scale(1.04); }
.member h3 { margin-bottom: 2px; font-size: 1.2rem; }
.member p { color: var(--muted); margin: 0; font-size: .95rem; }
.timeline { position: relative; max-width: 820px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 90px; top: 8px; bottom: 8px; width: 2px; background: var(--line-light); }
.tl-item { display: grid; grid-template-columns: 90px 1fr; gap: 40px; padding-bottom: 40px; position: relative; }
.tl-item::before { content: ""; position: absolute; left: 84px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(255, 212, 96, .25); }
.tl-year { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--accent); }
.tl-item h3 { margin-bottom: 6px; }
.tl-item p { color: var(--muted-light); margin: 0; }
.photo-mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 16px; }
.photo-mosaic div { border-radius: var(--radius); overflow: hidden; }
.photo-mosaic div:first-child { grid-row: span 2; }
.photo-mosaic img { width: 100%; height: 100%; object-fit: cover; }

/* Contact ---------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.ci-item { display: flex; gap: 18px; padding: 24px; background: var(--white); border-radius: var(--radius); align-items: flex-start; }
.ci-item .ci-icon { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--secondary); color: var(--white); display: grid; place-items: center; }
.ci-item small { display: block; color: var(--muted); font-weight: 600; font-size: .85rem; }
.ci-item strong, .ci-item a { font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; }
.ci-item a:hover { color: var(--accent-text); }
.contact-form { background: var(--white); border-radius: 24px; padding: 44px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 2px solid var(--line); border-radius: var(--radius-sm); background: var(--paper);
  font-family: var(--font-body); font-size: 1rem; color: var(--ink); transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-text); background: var(--white); }
.field textarea { min-height: 140px; resize: vertical; }
.field .err { color: #c62828; font-size: .85rem; margin-top: 6px; display: block; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #c62828; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: 9px 16px; border-radius: 999px; border: 2px solid var(--line); font-weight: 600; font-size: .9rem; cursor: pointer; transition: all .2s;
}
.chip input:checked + span { background: var(--accent); border-color: var(--accent-dark); color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--accent-text); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 18px 22px; border-radius: 12px; margin-bottom: 24px; font-weight: 600; }
.alert-success { background: #e8f8ee; color: #1b7a43; }
.alert-error { background: #fdecea; color: #b3261e; }
.map-wrap { border-radius: 24px; overflow: hidden; height: 420px; filter: grayscale(.4); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* CTA banner ------------------------------------------------------------- */
.cta-banner {
  border-radius: 28px; padding: 70px; background: var(--accent); color: var(--ink);
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden;
}
.cta-banner::after { content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; border-radius: 50%; border: 50px solid rgba(255,255,255,.35); }
.cta-banner h2 { margin: 0; }
.cta-banner .btn { background: var(--secondary); color: var(--white); justify-self: end; position: relative; z-index: 1; }
.cta-banner .btn:hover { background: var(--white); color: var(--secondary); }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--secondary); color: var(--white); padding: 90px 0 30px; }
.footer-cta { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-bottom: 70px; border-bottom: 1px solid var(--line-light); flex-wrap: wrap; }
.footer-cta h2 { margin: 0; }
.footer-cta h2 span { color: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding: 60px 0; }
.footer-brand p { color: var(--muted-light); max-width: 320px; margin: 18px 0 24px; }
.site-footer h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted-light); margin-bottom: 20px; font-family: var(--font-body); font-weight: 700; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul a { color: rgba(255,255,255,.85); transition: color .2s; }
.site-footer ul a:hover { color: var(--accent); }
.footer-contact li { color: rgba(255,255,255,.85); }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.socials a:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 28px; border-top: 1px solid var(--line-light); color: var(--muted-light); font-size: .9rem; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.footer-bottom a:hover { color: var(--white); }

/* Reveal animation ------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; } .reveal-d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process, .values-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .other-services { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; top: 78px; left: 0; right: 0; bottom: 0; background: var(--paper);
    flex-direction: column; align-items: stretch; gap: 20px; padding: 24px; overflow-y: auto;
    transform: translateX(100%); transition: transform .35s var(--ease);
  }
  .nav-open .site-nav { transform: none; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav > ul > li > a { padding: 16px 4px; font-size: 1.2rem; border-radius: 0; border-bottom: 1px solid var(--line); width: 100%; justify-content: space-between; }
  .site-nav > ul > li > a:hover { background: none; }
  .dropdown { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; grid-template-columns: 1fr; padding: 6px 0; }
  .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { transform: none; }
  .dropdown small { display: none; }
  .nav-cta { justify-content: center; }

  .hero-grid, .split, .contact-grid, .service-row, .cs-body { grid-template-columns: 1fr; gap: 44px; }
  .service-row:nth-child(even) .sr-img { order: 0; }
  .hero-visual { height: 440px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: 1fr; }
  .offers-grid { grid-template-columns: repeat(2, 1fr); }
  .cs-meta { grid-template-columns: repeat(2, 1fr); }
  .cta-banner { grid-template-columns: 1fr; padding: 50px 36px; }
  .cta-banner .btn { justify-self: start; }
  .split-img { aspect-ratio: 4/3; }
  .section { padding: 80px 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .services-grid, .process, .values-grid, .offers-grid, .results-grid, .stats-inline, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .team-grid, .other-services { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 40px; }
  .hero-visual { height: 360px; }
  .hero-visual .hv-main { inset: 0 0 40px 30px; }
  .hero-circle { width: 100px; height: 100px; right: 10px; top: -20px; }
  .hero-badge { right: 0; bottom: 60px; padding: 12px 14px; }
  .sr-list { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
  .photo-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 140px 140px; }
  .photo-mosaic div:first-child { grid-column: span 2; grid-row: auto; }
  .cs-quote { padding: 36px 26px; }
  .cs-cover { aspect-ratio: 4/3; margin-top: -50px; }
  .page-hero { padding: 90px 0 90px; }
  .timeline::before { left: 6px; }
  .tl-item { grid-template-columns: 1fr; gap: 6px; padding-left: 34px; }
  .tl-item::before { left: 0; }
}
