/* ==========================================================================
   iTecweb — Main stylesheet
   Design system + layout for all pages. Responsive overrides: responsive.css
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Brand colours (sampled from the mockup) */
  --orange: #ff5409;
  --orange-hi: #ff7a00;
  --orange-dark: #e84800;
  --orange-grad: linear-gradient(90deg, #ff7a00 0%, #ff5409 100%);
  --orange-grad-banner: linear-gradient(100deg, #ff4a00 0%, #ff6a00 55%, #ff7d14 100%);
  --navy: #0e1727;
  --navy-2: #101b32;
  --text: #344054;
  --muted: #667085;
  --white: #ffffff;
  --bg-light: #f8fafc;
  --bg-grey: #f4f6fa;
  --bg-strip: #f2f3f6;
  --peach: #fff0e6;
  --peach-2: #ffe3d1;
  --sky: #eaf2fb;
  --border: #e6eaf0;
  --green: #22a45d;
  --blue: #2f7cf6;
  --red: #ef3b3b;

  /* Typography */
  --font: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-xs: 12px;
  --fs-sm: 13.5px;
  --fs-base: 15px;
  --fs-md: 16.5px;
  --fs-h1: 49px;
  --fs-h2: 30px;
  --fs-h3: 18px;

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-pill: 999px;

  /* Shadows */
  --sh-sm: 0 2px 6px rgba(16, 27, 50, .05);
  --sh-md: 0 10px 30px rgba(16, 27, 50, .07);
  --sh-lg: 0 24px 60px rgba(16, 27, 50, .12);
  --sh-orange: 0 10px 24px rgba(255, 84, 9, .28);

  /* Spacing */
  --container: 1280px;
  --gutter: 40px;
  --sec-y: 72px;
  --header-h: 80px;
}

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--navy); line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.accent { color: var(--orange); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
:focus-visible { outline: 3px solid rgba(255, 84, 9, .45); outline-offset: 3px; border-radius: 6px; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--sec-y); }
.icon { width: 1em; height: 1em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 3. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 28px;
  border-radius: var(--r-md); border: 1.5px solid transparent;
  font-weight: 700; font-size: 15px; white-space: nowrap; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn .icon { width: 17px; height: 17px; stroke-width: 2.2; transition: transform .2s ease; }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn-primary { background: var(--orange-grad); color: #fff; box-shadow: var(--sh-orange); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255, 84, 9, .36); }
.btn-outline-dark { background: #fff; border-color: var(--navy); color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: #fff; }
.btn-outline { background: transparent; border-color: var(--orange); color: var(--orange); height: 44px; padding: 0 22px; font-size: 14px; border-radius: var(--r-sm); }
.btn-outline:hover { background: var(--orange); color: #fff; }
.btn-white { background: #fff; color: var(--orange); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(120, 30, 0, .25); }
.btn-ghost-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.9); }
.btn-ghost-white:hover { background: #fff; color: var(--orange); }
.play-circle {
  width: 24px; height: 24px; border: 1.8px solid currentColor; border-radius: 50%;
  display: grid; place-items: center;
}
.play-circle svg { width: 9px; height: 9px; fill: currentColor; stroke: none; margin-left: 2px; }

/* ---------- 4. Section labels & headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--orange); border-radius: 2px; }
.h2 { font-size: var(--fs-h2); line-height: 1.2; }
.lead { font-size: var(--fs-md); color: var(--text); }
.section-desc { margin-top: 14px; color: var(--text); font-size: 15px; }

/* ---------- 5. Top info bar ---------- */
.topbar { background: var(--bg-strip); font-size: 12.5px; color: var(--navy); }
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 40px; gap: 20px; }
.topbar-left { display: flex; align-items: center; gap: 10px; }
.swiss-flag { width: 16px; height: 16px; border-radius: 2px; flex: none; }
.topbar-right { display: flex; align-items: center; gap: 40px; }
.topbar-right a, .topbar-right span { display: inline-flex; align-items: center; gap: 8px; }
.topbar-right .icon { width: 15px; height: 15px; }
.topbar-right a:hover { color: var(--orange); }

/* ---------- 6. Main header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(8px);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(16, 27, 50, .08); }
.site-header .container { display: flex; align-items: center; height: var(--header-h); gap: 32px; }
.logo { display: block; width: 186px; flex: none; }
.logo img { width: 100%; height: auto; }

.main-nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: 6px; }
.nav-item { position: relative; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 5px;
  height: var(--header-h); padding: 0 14px;
  font-size: 14.5px; font-weight: 600; color: var(--navy);
  background: none; border: 0; cursor: pointer;
}
.nav-link .chev { width: 13px; height: 13px; stroke-width: 2.4; transition: transform .2s ease; }
.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 16px; height: 3px;
  border-radius: 3px; background: var(--orange); transform: scaleX(0); transition: transform .25s ease;
}
.nav-link:hover, .nav-item.is-active > .nav-link { color: var(--navy); }
.nav-link:hover::after, .nav-item.is-active > .nav-link::after { transform: scaleX(1); }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% - 10px); left: 0; min-width: 230px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-md);
  box-shadow: var(--sh-lg); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.nav-item:hover > .dropdown,
.nav-item.is-open > .dropdown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dropdown a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 600; color: var(--navy);
}
.dropdown a .icon { width: 17px; height: 17px; color: var(--orange); }
.dropdown a:hover, .dropdown a:focus-visible { background: var(--peach); color: var(--orange); }

.header-cta { flex: none; height: 46px; padding: 0 24px; font-size: 15px; border-radius: 10px; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--border);
  background: #fff; cursor: pointer; place-items: center; margin-left: auto;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--navy);
  position: relative; transition: transform .25s ease, background .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-cta { display: none; }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 8% 10%, #fff6f0 0%, rgba(255,246,240,0) 60%),
    radial-gradient(900px 600px at 95% 30%, #eef4fb 0%, rgba(238,244,251,0) 65%),
    #fff;
}
.hero .container { position: relative; display: grid; grid-template-columns: 45fr 55fr; align-items: center; gap: 20px; min-height: 560px; padding-top: 34px; padding-bottom: 30px; }
.hero-copy { position: relative; z-index: 2; padding-bottom: 20px; }
.badge {
  display: inline-flex; align-items: center; padding: 7px 16px; border-radius: var(--r-pill);
  background: var(--peach-2); color: var(--orange); font-size: 13px; font-weight: 700;
}
.hero h1 { margin-top: 26px; font-size: var(--fs-h1); line-height: 1.1; letter-spacing: -.025em; }
.hero .lead { margin-top: 22px; max-width: 520px; font-size: 16.5px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 30px; }
.hero-actions .btn { height: 48px; }
.checks-inline { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; font-size: 13.5px; font-weight: 500; color: var(--navy); }
.checks-inline li { display: inline-flex; align-items: center; gap: 9px; }
.check { width: 16px; height: 16px; color: var(--orange); stroke-width: 2.6; }

.hero-visual { position: relative; z-index: 1; align-self: stretch; min-height: 480px; }
.hero-visual .mountains { position: absolute; right: -22%; top: -24px; width: 120%; max-width: none; opacity: .95;
  -webkit-mask-image: radial-gradient(ellipse 60% 62% at 58% 36%, #000 60%, transparent 100%);
          mask-image: radial-gradient(ellipse 60% 62% at 58% 36%, #000 60%, transparent 100%); }
.hero-visual .orange-swoosh { position: absolute; right: -15%; top: 60px; width: 38%; max-width: none; opacity: .85; }
.hero-visual .laptop { position: absolute; left: 2%; top: 84px; width: 100%; filter: drop-shadow(0 30px 40px rgba(16,27,50,.18)); }
.float-chip {
  position: absolute; display: grid; place-items: center; border-radius: 14px;
  box-shadow: var(--sh-md); animation: float 6s ease-in-out infinite;
}
.float-chip.code { left: 5%; top: 70px; width: 62px; height: 52px; background: var(--orange-grad); color: #fff; transform: rotate(-8deg); }
.float-chip.code .icon { width: 28px; height: 28px; stroke-width: 2.2; }
.float-chip.layers { right: 2%; bottom: 20px; width: 66px; height: 66px; background: #fff; color: var(--orange); animation-delay: -3s; }
.float-chip.layers .icon { width: 32px; height: 32px; }
.hero-visual .plant { position: absolute; right: -5%; bottom: 46px; width: 15%; }
.hero-visual .pencils { position: absolute; left: -2%; bottom: 60px; width: 9%; }
.hero-visual .flag-pole { position: absolute; right: 0; top: 30px; width: 28px; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* Soft edge fade so mountain panoramas blend into backgrounds */
.mountains, .bg-mtn {
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 55% 45%, #000 55%, transparent 100%);
          mask-image: radial-gradient(ellipse 50% 50% at 55% 45%, #000 55%, transparent 100%);
}

/* ---------- 8. Stats bar ---------- */
.stats-wrap { position: relative; z-index: 3; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--bg-grey); border-radius: var(--r-lg); padding: 26px 20px;
  box-shadow: inset 0 0 0 1px #edf0f5;
}
.stat { display: flex; align-items: center; justify-content: center; gap: 18px; position: relative; padding: 0 10px; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 10%; height: 80%; width: 1px; background: #dde2ea; }
.stat .icon { width: 40px; height: 40px; color: var(--orange); stroke-width: 1.6; }
.stat strong { display: block; font-size: 25px; font-weight: 800; color: var(--navy); line-height: 1.1; }
.stat span { font-size: 13.5px; color: var(--navy); }

/* ---------- 9. Services ---------- */
.services { padding-top: 54px; padding-bottom: 40px; }
.services .container { display: grid; grid-template-columns: 1.15fr 2.85fr; gap: 50px; align-items: center; }
.services-intro .h2 { font-size: 29px; }
.services-intro .section-desc { margin-bottom: 24px; max-width: 390px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 30px 24px 30px; box-shadow: var(--sh-md);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.service-card .icon { width: 44px; height: 44px; color: var(--orange); stroke-width: 1.6; margin-bottom: 26px; }
.service-card h3 { font-size: 18px; margin-bottom: 12px; letter-spacing: -.01em; }
.service-card p { font-size: 14.5px; line-height: 1.55; color: var(--text); }
.service-card:hover, .service-card.is-featured {
  background: linear-gradient(180deg, #fff6f0 0%, #fff 100%);
  border-color: #ffd7bf; box-shadow: 0 18px 40px rgba(255, 84, 9, .12);
}
.service-card:hover { transform: translateY(-6px); }

/* ---------- 10. CMS control ---------- */
.cms-control { padding-top: 40px; padding-bottom: 40px; }
.cms-control .container { display: grid; grid-template-columns: 1.08fr 1fr; gap: 70px; align-items: center; }
.cms-visual { position: relative; padding: 40px 0 40px; }
.cms-visual::before {
  content: ""; position: absolute; inset: 0 2% 0 -3%;
  background: radial-gradient(closest-side at 30% 55%, #ffe1cc 0%, #fff0e6 55%, rgba(255,240,230,0) 100%),
              radial-gradient(closest-side at 80% 45%, #e6effa 0%, rgba(230,239,250,0) 100%);
  border-radius: 50%; z-index: 0;
}
.cms-window {
  position: relative; z-index: 1; margin-left: 10%; width: 82%;
  background: #fff; border-radius: 18px; border: 1px solid var(--border);
  box-shadow: 0 30px 60px rgba(16,27,50,.16), 0 0 0 8px rgba(255,255,255,.7);
  overflow: hidden; transform: perspective(1400px) rotateY(8deg) rotateX(3deg);
}
.win-bar { display: flex; gap: 6px; padding: 12px 16px; background: #f5f7fa; border-bottom: 1px solid var(--border); }
.win-bar i { width: 9px; height: 9px; border-radius: 50%; background: #cfd6e0; }
.cms-body { display: grid; grid-template-columns: 33% 67%; min-height: 250px; }
.cms-side { background: var(--navy-2); color: #e7ebf3; padding: 22px 18px; }
.cms-side .brand { font-weight: 800; font-size: 15px; color: #fff; margin-bottom: 18px; letter-spacing: -.01em; }
.cms-side li { display: flex; align-items: center; gap: 10px; font-size: 12px; padding: 6px 0; }
.cms-side .icon { width: 14px; height: 14px; }
.cms-main { padding: 22px 22px; background: #fff; }
.cms-main h4 { font-size: 15px; margin-bottom: 18px; }
.cms-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cms-action { border: 1px solid var(--border); border-radius: 10px; padding: 16px 8px 12px; text-align: center; font-size: 11px; font-weight: 700; color: var(--navy); background: #fff; box-shadow: var(--sh-sm); }
.cms-action .ico { width: 34px; height: 34px; margin: 0 auto 10px; border-radius: 8px; display: grid; place-items: center; }
.cms-action .ico .icon { width: 20px; height: 20px; stroke-width: 2.4; }
.cms-action.add .ico { background: #e3f6eb; color: var(--green); }
.cms-action.edit { background: #edf4ff; border-color: #cfe0fb; }
.cms-action.edit .ico { background: transparent; color: var(--blue); }
.cms-action.remove .ico { background: #fde8e8; color: var(--red); }
.cms-action .lines { margin-top: 12px; display: grid; gap: 5px; padding: 0 8px; }
.cms-action .lines i { height: 4px; border-radius: 3px; background: #e9edf3; }
.cms-action.edit .lines i { background: #cddcf3; }
.cms-badge {
  position: absolute; z-index: 2; right: 4%; top: 14px;
  background: var(--orange-grad); color: #fff; border-radius: 14px; padding: 14px 16px;
  box-shadow: var(--sh-orange); transform: rotate(-6deg);
}
.cms-badge span { display: inline-block; border: 2px solid #fff; border-radius: 40% 40% 40% 40% / 55% 55% 45% 45%; padding: 2px 9px; font-weight: 800; font-size: 14px; }
.cms-cursor { position: absolute; z-index: 3; left: 61%; bottom: 76px; width: 24px; }
.dots-deco { position: absolute; right: 0; top: 0; width: 70px; opacity: .6; }
.check-list { display: grid; gap: 10px; margin-top: 18px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--navy); font-size: 15px; }
.check-list .check { margin-top: 4px; }
.cms-copy { position: relative; }
.cms-copy .h2 { font-size: 31px; }

/* ---------- 11. Why strip ---------- */
.why { padding-block: 30px 10px; }
.why-strip {
  display: grid; grid-template-columns: 1.7fr repeat(5, 1fr); align-items: center;
  background: var(--bg-grey); border-radius: var(--r-lg); padding: 26px 30px;
}
.why-strip .h2 { font-size: 26px; }
.why-item { text-align: center; position: relative; padding: 4px 10px; font-weight: 700; color: var(--navy); font-size: 14.5px; line-height: 1.35; }
.why-item::before { content: ""; position: absolute; left: 0; top: 8%; height: 84%; width: 1px; background: #dde2ea; }
.why-item .icon { width: 36px; height: 36px; color: var(--orange); margin: 0 auto 10px; stroke-width: 1.7; }

/* ---------- 12. Process ---------- */
.process { padding-top: 40px; padding-bottom: 30px; }
.process-head .section-desc { margin-top: 6px; }
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 30px; }
.step { position: relative; text-align: center; }
.step-top { display: flex; align-items: center; justify-content: center; gap: 12px; height: 60px; margin-bottom: 14px; }
.step-num {
  width: 30px; height: 30px; border-radius: 50%; background: var(--orange-grad); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 14px; box-shadow: 0 6px 14px rgba(255,84,9,.3);
}
.step-ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, #fff1e8 0%, #fff 72%); color: var(--orange); }
.step-ico .icon { width: 34px; height: 34px; stroke-width: 1.6; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 30px; left: calc(50% + 64px); width: calc(100% - 108px);
  border-top: 2px dotted #c9cfd9;
}
.step h3 { font-size: 16.5px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text); max-width: 200px; margin-inline: auto; }

/* ---------- 13. Projects ---------- */
.projects { background: linear-gradient(180deg, #fff 0%, var(--bg-light) 12%, var(--bg-light) 100%); padding-block: 26px 50px; }
.projects .container { display: grid; grid-template-columns: 1fr 3fr; gap: 40px; align-items: center; }
.projects-intro .h2 { font-size: 30px; }
.projects-intro .section-desc { margin-bottom: 26px; max-width: 300px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project-card {
  display: block; background: #fff; border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 10px; box-shadow: var(--sh-md); transition: transform .25s ease, box-shadow .25s ease;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.project-shot { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--bg-grey); }
.project-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card:hover .project-shot img { transform: scale(1.04); }
.placeholder-tag {
  position: absolute; left: 8px; bottom: 8px; background: rgba(14,23,39,.75); color: #fff;
  font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 5px; letter-spacing: .02em;
}
.project-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 12px 6px 6px; }
.project-meta h3 { font-size: 15.5px; }
.project-meta span { font-size: 13px; color: var(--text); }
.project-meta .icon { width: 17px; height: 17px; color: var(--navy); }

/* ---------- 14. Testimonial / trust ---------- */
.testimonial { position: relative; overflow: hidden; padding-block: 34px 40px; background: var(--bg-light); }
.testimonial .bg-mtn { position: absolute; left: -2%; bottom: 0; width: 34%; opacity: .9; pointer-events: none; }
.testimonial .bg-mtn.right { left: auto; right: -2%; width: 30%; opacity: .5; transform: scaleX(-1); }
.testimonial .container { position: relative; display: grid; grid-template-columns: .62fr 2fr 1px 1fr; gap: 50px; align-items: center; }
.quote-block { position: relative; display: grid; grid-template-columns: 50px 1fr; gap: 14px; grid-column: 2; }
.quote-block .eyebrow { grid-column: 1 / -1; margin-bottom: 4px; }
.quote-block .eyebrow::before { display: none; }
.quote-mark { font-size: 64px; line-height: .8; font-weight: 800; color: var(--orange); font-family: Georgia, serif; }
blockquote { margin: 0; font-style: italic; color: var(--navy); font-size: 15.5px; line-height: 1.6; }
.quote-author { display: flex; align-items: center; gap: 12px; margin-top: 12px; grid-column: 2; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: #d7dce4; display: grid; place-items: center; color: #8a94a6; overflow: hidden; }
.avatar .icon { width: 26px; height: 26px; margin-top: 8px; fill: #a3acba; stroke: none; }
.quote-author strong { display: block; font-size: 14px; color: var(--navy); line-height: 1.2; }
.quote-author span { font-size: 12.5px; }
.placeholder-note { grid-column: 1 / -1; font-size: 11.5px; color: var(--muted); margin-top: 6px; }
.v-sep { width: 1px; height: 110px; background: #dde2ea; grid-column: 3; grid-row: 1; }
.testimonial .trust { grid-column: 4; grid-row: 1; }
.quote-block { grid-row: 1; }
.trust { display: flex; align-items: center; gap: 22px; }
.trust .icon { width: 46px; height: 46px; color: var(--orange); stroke-width: 1.6; flex: none; }
.trust p { font-size: 17px; font-weight: 800; color: var(--navy); line-height: 1.35; }

/* ---------- 15. CTA banner ---------- */
.cta { padding-block: 0 26px; }
.cta-banner {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  background: var(--orange-grad-banner); border-radius: var(--r-xl);
  padding: 34px 50px; color: #fff; box-shadow: 0 24px 50px rgba(255, 84, 9, .25);
}
.cta-banner::before, .cta-banner::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 70%);
}
.cta-banner::before { width: 380px; height: 380px; right: -60px; top: -200px; }
.cta-banner::after { width: 300px; height: 300px; left: 30%; bottom: -220px; }
.cta-banner h2 { color: #fff; font-size: 29px; }
.cta-banner p { margin-top: 8px; max-width: 520px; font-size: 15px; color: rgba(255,255,255,.95); }
.cta-actions { position: relative; z-index: 1; display: flex; gap: 22px; flex-wrap: wrap; }
.cta-actions .btn { height: 52px; min-width: 210px; }
.cta-copy { position: relative; z-index: 1; }

/* ---------- 16. Footer ---------- */
.site-footer { background: #fff; padding-top: 30px; font-size: 13.5px; color: var(--navy); }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1.25fr 1.4fr 1.5fr; gap: 30px; padding-bottom: 26px; }
.footer-brand .logo { width: 150px; margin-bottom: 16px; }
.footer-brand p { max-width: 280px; color: var(--navy); line-height: 1.6; }
.footer-col h4 { font-size: 14px; margin-bottom: 12px; letter-spacing: -.005em; }
.footer-col li { padding: 2px 0; }
.footer-col a:hover { color: var(--orange); }
.contact-list li { display: flex; align-items: center; gap: 10px; }
.contact-list .icon { width: 15px; height: 15px; }
.newsletter p { color: var(--text); margin-bottom: 14px; font-size: 13px; }
.newsletter-form { display: flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: #fff; }
.newsletter-form input { flex: 1; min-width: 0; border: 0; padding: 0 12px; height: 42px; font-size: 13px; outline: none; }
.newsletter-form button { width: 46px; border: 0; background: var(--orange-grad); color: #fff; cursor: pointer; display: grid; place-items: center; }
.newsletter-form button .icon { width: 18px; height: 18px; stroke-width: 2.4; }
.newsletter-msg { font-size: 12px; margin-top: 8px; min-height: 18px; }
.newsletter-msg.ok { color: var(--green); }
.newsletter-msg.err { color: var(--red); }
.footer-bottom { border-top: 1px solid var(--border); }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 16px; font-size: 12.5px; }
.legal-links { display: flex; gap: 0; }
.legal-links a { padding: 0 12px; border-left: 1px solid #cfd5df; }
.legal-links a:first-child { border-left: 0; }
.legal-links a:hover { color: var(--orange); }

/* ---------- 17. Scroll-to-top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 46px; height: 46px;
  border-radius: 12px; border: 0; background: var(--orange-grad); color: #fff; cursor: pointer;
  display: grid; place-items: center; box-shadow: var(--sh-orange);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top .icon { width: 20px; height: 20px; stroke-width: 2.4; }

/* ---------- 18. Reveal animation (restrained) ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-chip { animation: none; }
  * { transition-duration: 0s !important; }
}

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero {
  position: relative; overflow: hidden; padding-block: 64px 70px;
  background:
    radial-gradient(700px 400px at 5% 0%, #fff3ea 0%, rgba(255,243,234,0) 60%),
    radial-gradient(800px 500px at 100% 40%, #edf3fb 0%, rgba(237,243,251,0) 65%), #fff;
}
.page-hero .mountains { position: absolute; right: -4%; bottom: -10px; width: 46%; opacity: .55; pointer-events: none; }
.page-hero .container { position: relative; }
.breadcrumb { display: flex; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--orange); }
.page-hero h1 { font-size: 46px; max-width: 760px; }
.page-hero .lead { margin-top: 18px; max-width: 640px; }
.page-hero .hero-actions { margin-top: 26px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.panel { background: var(--bg-grey); border-radius: var(--r-xl); padding: 40px; }
.prose p + p { margin-top: 14px; }
.prose .h2 { margin-bottom: 16px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.feature-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--sh-md); transition: transform .25s ease, box-shadow .25s ease; }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.feature-card .icon { width: 40px; height: 40px; color: var(--orange); margin-bottom: 18px; stroke-width: 1.6; }
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { font-size: 14.5px; }
.section-head { max-width: 680px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }

.service-detail { display: grid; grid-template-columns: 80px 1fr 1fr; gap: 32px; padding: 40px 0; border-top: 1px solid var(--border); align-items: start; scroll-margin-top: calc(var(--header-h) + 20px); }
.service-detail:first-of-type { border-top: 0; }
.service-detail .ico-box { width: 72px; height: 72px; border-radius: 18px; background: var(--peach); color: var(--orange); display: grid; place-items: center; }
.service-detail .ico-box .icon { width: 36px; height: 36px; stroke-width: 1.6; }
.service-detail h2 { font-size: 26px; margin-bottom: 12px; }

/* Portfolio */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter-btn { height: 40px; padding: 0 18px; border-radius: var(--r-pill); border: 1px solid var(--border); background: #fff; font-weight: 600; font-size: 14px; color: var(--navy); cursor: pointer; transition: all .2s; }
.filter-btn:hover { border-color: var(--orange); color: var(--orange); }
.filter-btn.is-active { background: var(--orange-grad); border-color: transparent; color: #fff; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.portfolio-item { transition: opacity .3s ease, transform .3s ease; }
.portfolio-item[hidden] { display: none; }
.portfolio-item .project-card { padding: 12px; }
.portfolio-item .project-desc { padding: 4px 6px 8px; font-size: 14px; }
.tag { display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--orange); background: var(--peach); padding: 3px 10px; border-radius: var(--r-pill); margin: 0 6px 8px 6px; }
.empty-slot { border: 2px dashed #d5dbe5; border-radius: var(--r-md); display: grid; place-items: center; text-align: center; padding: 30px; color: var(--muted); min-height: 260px; }

/* CMS page */
.cms-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.cms-step-card { border-radius: var(--r-lg); padding: 28px; border: 1px solid var(--border); background: #fff; box-shadow: var(--sh-md); }
.cms-step-card .ico { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; }
.cms-step-card .ico .icon { width: 26px; height: 26px; stroke-width: 2.2; }
.cms-step-card.add .ico { background: #e3f6eb; color: var(--green); }
.cms-step-card.edit .ico { background: #edf4ff; color: var(--blue); }
.cms-step-card.remove .ico { background: #fde8e8; color: var(--red); }
.cms-step-card h3 { font-size: 19px; margin-bottom: 10px; }
.manage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.manage-item { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--border); }
.manage-item .icon { width: 26px; height: 26px; color: var(--orange); margin-top: 2px; }
.manage-item strong { display: block; color: var(--navy); margin-bottom: 4px; }
.manage-item p { font-size: 14px; }
.faq { max-width: 820px; margin: 30px auto 0; }
.faq details { border: 1px solid var(--border); border-radius: var(--r-md); background: #fff; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 22px; font-weight: 700; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 18px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: start; }
.contact-card { background: var(--navy-2); color: #dfe5ef; border-radius: var(--r-xl); padding: 36px; position: relative; overflow: hidden; }
.contact-card h2 { color: #fff; font-size: 24px; margin-bottom: 10px; }
.contact-card .contact-list { margin-top: 26px; display: grid; gap: 18px; }
.contact-card .contact-list li { align-items: flex-start; gap: 14px; font-size: 15px; }
.contact-card .contact-list .ico { width: 42px; height: 42px; border-radius: 10px; background: rgba(255,84,9,.15); color: var(--orange-hi); display: grid; place-items: center; flex: none; }
.contact-card .contact-list .icon { width: 20px; height: 20px; }
.contact-card small { display: block; color: #9aa6b8; font-size: 12px; }
.contact-card a:hover { color: var(--orange-hi); }
.contact-card .mountains { position: absolute; left: 0; bottom: -10px; width: 120%; opacity: .12; filter: grayscale(1) brightness(3); }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); padding: 36px; box-shadow: var(--sh-md); }
.form-card h2 { font-size: 24px; margin-bottom: 6px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--navy); }
.field label .req { color: var(--orange); }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--border); border-radius: 10px; padding: 12px 14px; background: #fff;
  font-size: 14.5px; transition: border-color .2s, box-shadow .2s; outline: none;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,84,9,.12); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); box-shadow: 0 0 0 4px rgba(239,59,59,.1); }
.field.is-valid input, .field.is-valid select, .field.is-valid textarea { border-color: var(--green); }
.field .error { font-size: 12.5px; color: var(--red); min-height: 0; display: none; }
.field.has-error .error { display: block; }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; }
.checkbox-row input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--orange); flex: none; }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-group label { cursor: pointer; position: relative; }
.chip-group input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.chip-group span { display: inline-block; padding: 8px 14px; border-radius: var(--r-pill); border: 1.5px solid var(--border); font-size: 13.5px; font-weight: 600; color: var(--navy); transition: all .2s; }
.chip-group input:checked + span { border-color: var(--orange); background: var(--peach); color: var(--orange); }
.chip-group input:focus-visible + span { outline: 3px solid rgba(255,84,9,.45); outline-offset: 2px; }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: 10px; font-size: 14px; display: none; }
.form-status.ok { display: block; background: #e3f6eb; color: #16713f; }
.form-status.err { display: block; background: #fde8e8; color: #a52121; }
.demo-note { font-size: 12px; color: var(--muted); margin-top: 12px; }

/* ==========================================================================
   Mockup fidelity pass — tighter rhythm, larger copy, richer illustrations
   ========================================================================== */
:root { --fs-base: 16px; }
.hero .container { min-height: 520px; padding-top: 26px; padding-bottom: 18px; }
.hero h1 { margin-top: 22px; }
.hero .lead { margin-top: 18px; font-size: 17px; }
.hero-actions { margin-top: 28px; }
.checks-inline { margin-top: 26px; }

/* Hero illustration: big Alpine peak, orange ribbon, angled laptop */
.hero-visual .mountains {
  right: -9%; top: -18px; width: 104%;
  -webkit-mask-image: none; mask-image: none; opacity: 1;
}
.hero-visual .orange-swoosh { right: -7%; top: 140px; width: 22%; opacity: 1; }
.hero-visual .flag-pole { right: -3%; top: 70px; width: 30px; }
.hero-visual .laptop {
  left: 1%; top: 104px; width: 97%;
  transform: perspective(1800px) rotateY(13deg) rotateX(3deg) rotateZ(-1.5deg);
  transform-origin: 40% 60%;
  filter: drop-shadow(0 34px 38px rgba(16,27,50,.22));
}
.float-chip.code { left: 0; top: 126px; transform: rotate(-10deg); z-index: 2; }
.float-chip.layers { right: 4%; bottom: 14px; width: 70px; height: 70px; z-index: 3; }
.hero-visual .plant { right: -7%; bottom: 44px; width: 15%; z-index: 2; }
.hero-visual .pencils { left: -3%; bottom: 40px; width: 9%; z-index: 2; }

/* Stats sit tight under the hero */
.stats { padding: 22px 20px; }
.stat strong { font-size: 27px; }
.stat span { font-size: 14px; }

/* Services */
.services { padding-top: 40px; padding-bottom: 24px; }
.service-card { padding: 28px 24px; }
.service-card .icon { margin-bottom: 22px; }
.service-card p { font-size: 15px; }
.services-intro .section-desc { font-size: 15.5px; }

/* CMS control: glassy tilted window on a peach/blue blob */
.cms-control { padding-top: 20px; padding-bottom: 24px; }
.cms-visual::before {
  inset: 2% 4% 0 -6%;
  background:
    radial-gradient(closest-side at 32% 52%, #ffd9bf 0%, #ffe9da 45%, rgba(255,240,230,0) 100%),
    radial-gradient(closest-side at 78% 48%, #dfe9f7 0%, #eaf1fa 50%, rgba(234,241,250,0) 100%);
  border-radius: 50%;
}
.cms-window {
  border-radius: 20px; border: 1px solid #e3e8ef;
  box-shadow: 0 34px 60px rgba(16,27,50,.18), 0 0 0 10px rgba(255,255,255,.85), 0 0 0 11px #e6ebf2;
  transform: perspective(1400px) rotateY(12deg) rotateX(6deg) rotateZ(-1.5deg);
}
.win-bar { align-items: center; }
.win-bar .url-pill { display: block; margin-left: 14px; width: 42%; height: 10px; border-radius: 6px; background: #e3e8ef; }
.cms-cursor { left: auto; right: 34%; bottom: auto; top: 64%; width: 26px; }
.cms-badge { right: 6%; top: 6px; }
.check-list li { font-size: 16px; }
.cms-copy .section-desc { font-size: 15.5px; }

/* Why strip */
.why { padding-block: 18px 6px; }
.why-item { font-size: 15.5px; }
.why-item .icon { width: 40px; height: 40px; }

/* Process: larger icons with peach glow */
.process { padding-top: 30px; padding-bottom: 18px; }
.steps { margin-top: 22px; }
.step-top { height: 70px; margin-bottom: 8px; }
.step-ico { width: 68px; height: 68px; background: radial-gradient(circle, #ffe7d8 0%, #fff4ec 48%, rgba(255,255,255,0) 72%); }
.step-ico .icon { width: 42px; height: 42px; stroke-width: 1.7; }
.step h3 { font-size: 18px; }
.step p { font-size: 15px; }
.step:not(:last-child)::after { top: 35px; }

/* Projects */
.projects { padding-block: 22px 36px; }
.project-meta h3 { font-size: 16px; }

/* Testimonial: snowy peak left, CTA overlaps its bottom */
.testimonial { padding-block: 26px 70px; }
.testimonial .bg-mtn { width: 30%; left: -4%; bottom: 20px; opacity: 1; -webkit-mask-image: none; mask-image: none; transform: scaleX(-1); }
.testimonial .bg-mtn.right { width: 22%; right: -2%; bottom: 40px; opacity: .55; transform: none; }
blockquote { font-size: 16.5px; }
.trust p { font-size: 19px; }
.cta { position: relative; z-index: 2; margin-top: -54px; }
@media (min-width: 1200px) {
  .cta-banner { margin-inline: -30px; padding: 32px 56px; }
}
.cta-banner h2 { font-size: 31px; }

/* Footer */
.site-footer { padding-top: 26px; }
.footer-grid { padding-bottom: 20px; }
.footer-bottom { border-top: 0; }
.footer-bottom .container > * { }
.footer-bottom .container { border-top: 1px solid var(--border); }

.cms-visual { padding: 24px 0; }
.cms-body { min-height: 215px; }
.testimonial { padding-block: 14px 62px; }
.testimonial .bg-mtn { width: 27%; bottom: 40px; }
.placeholder-note { margin-top: 2px; font-size: 11px; }
.quote-author { margin-top: 8px; }
.site-footer { padding-top: 22px; }
.footer-col li { padding: 1px 0; }
.cms-visual::before {
  background:
    radial-gradient(closest-side at 34% 52%, #ffcfae 0%, #ffe2cf 50%, rgba(255,240,230,0) 100%),
    radial-gradient(closest-side at 78% 50%, #d3e2f6 0%, #e6eef9 55%, rgba(234,241,250,0) 100%);
}
.testimonial .container { grid-template-columns: .4fr 2.4fr 1px 1fr; gap: 44px; }
.cms-visual::before { inset: -4% -4% -6% -9%; }
@media (max-width: 767px) { .cms-visual::before { inset: 0 -6% 0 -6%; } }
.cms-control { overflow-x: clip; }
