/* demo-site-5 · Temelia Construct · white, charcoal, construction orange (Civisb-style layout) */
:root{
  --bg:#FFFFFF; --soft:#F4F4F2; --soft2:#ECECE9; --ink:#1B1B1B; --mut:#6E6E6A; --line:#DEDED9;
  --dark:#1E1E1E; --dark2:#2A2A2A; --or:#F26B1D; --or2:#FF8A3D;
  --r:28px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{background:var(--bg);color:var(--ink);font:400 16px/1.55 "Geist",system-ui,sans-serif;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
svg{width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
h1,h2,h3{font-weight:400;letter-spacing:-.02em;line-height:1.1}
.wrap{width:min(1180px,100% - 48px);margin-inline:auto}
section{margin-top:clamp(72px,9vw,120px)}

/* pills / buttons */
.pill{display:inline-flex;align-items:center;gap:10px;height:44px;padding:0 22px;border-radius:99px;font-size:14px;font-weight:500;white-space:nowrap;transition:.2s}
.pill i{display:grid;place-items:center;font-size:15px}
.pill.or{background:var(--or);color:#fff}.pill.or:hover{background:var(--or2)}
.pill.line{border:1.5px solid var(--ink);height:40px;padding:0 16px}.pill.line:hover{background:var(--ink);color:#fff}
.pill.darkp{background:var(--dark);color:#fff}.pill.darkp:hover{background:#000}
.pill.light{background:#fff;color:var(--ink)}.pill.light:hover{background:var(--or);color:#fff}

/* header: floating dark pill */
.top{position:sticky;top:14px;z-index:50;width:min(1180px,100% - 32px);margin:14px auto 0}
.nav{display:flex;align-items:center;gap:14px;background:var(--dark);color:#fff;border-radius:99px;padding:8px 8px 8px 22px;box-shadow:0 10px 30px rgba(0,0,0,.12)}
.brand{display:flex;align-items:center;gap:10px}
.brand .mk svg{width:34px;height:34px;stroke:none}
.brand .wm{display:flex;flex-direction:column;font-weight:600;font-size:19px;line-height:1;letter-spacing:-.02em}
.brand .wm small{font-size:8.5px;font-weight:500;letter-spacing:.32em;text-transform:uppercase;opacity:.65;margin-top:3px}
.menu{display:flex;gap:28px;margin:0 auto;font-size:14px}
.menu a{opacity:.82}.menu a:hover{opacity:1;color:var(--or2)}
.lang{position:relative;font-size:13px}
.lang summary{list-style:none;cursor:pointer;padding:6px 10px;border-radius:99px;border:1px solid #444}
.lang summary::-webkit-details-marker{display:none}
.lang div{position:absolute;right:0;top:calc(100% + 8px);background:var(--dark);border-radius:14px;padding:6px;display:grid;min-width:64px}
.lang a{padding:6px 10px;border-radius:8px}.lang a:hover,.lang a[aria-current]{background:#333}
.ring{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--or);font-size:17px}
.nav-cta{height:40px;border:1.5px solid #fff;background:transparent;color:#fff}.nav-cta:hover{background:#fff;color:var(--ink)}
.burger{display:none;width:40px;height:40px;border:0;border-radius:50%;background:#333;cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:5px}
.burger span{width:16px;height:1.6px;background:#fff;transition:.2s}

/* HERO */
.hero{margin-top:clamp(48px,6vw,84px)}
.h-top{display:flex;justify-content:space-between;align-items:flex-start;gap:24px}
.hero h1{font-size:min(clamp(36px,4.4vw,58px),8.4vw);line-height:1.12}
.hero h1 span{display:block;white-space:nowrap}
.rev{display:flex;align-items:center;gap:12px;margin-top:10px}
.avs{display:flex}.avs img{width:42px;height:42px;border-radius:50%;object-fit:cover;border:2.5px solid #fff;margin-left:-12px}.avs img:first-child{margin:0}
.stars{display:flex;gap:2px;color:var(--ink)}.stars svg{fill:currentColor;stroke:none;font-size:15px}
.rev small{font-size:12px;color:var(--mut)}
.h-card{position:relative;margin-top:36px;border-radius:var(--r);background:var(--soft)}
.h-card>img{width:100%;height:clamp(420px,46vw,560px);object-fit:cover;object-position:50% 62%;border-radius:var(--r)}

/* notch: a white cut in the top-right corner of a photo, with concave corners */
.notch{--nb:var(--bg);--nr:var(--r);position:absolute;top:0;right:0;background:var(--nb);border-bottom-left-radius:var(--nr)}
.notch::before,.notch::after{content:"";position:absolute;width:var(--nr);height:var(--nr);background:radial-gradient(circle at 0 100%,transparent calc(var(--nr) - .5px),var(--nb) var(--nr))}
.notch::before{left:calc(var(--nr) * -1);top:0}
.notch::after{right:0;bottom:calc(var(--nr) * -1)}
.h-notch{width:min(40%,420px);padding:18px 0 22px 30px}
.h-notch p{font-size:14.5px;line-height:1.55;color:#333;display:flex;gap:12px}
.h-notch i{font-style:normal;color:var(--or);font-size:16px;line-height:1.3}
.chips{position:absolute;left:22px;bottom:22px;display:flex;flex-wrap:wrap;gap:8px;max-width:min(560px,70%);list-style:none}
.chips li{display:flex;align-items:center;gap:8px;padding:8px 16px;border-radius:99px;border:1.5px solid rgba(255,255,255,.9);color:#fff;font-size:14px;backdrop-filter:blur(6px);background:rgba(20,20,20,.18)}
.chips li.on{background:#fff;color:var(--ink)}
.chips li i{font-style:normal;font-size:11px;color:var(--or2)}
.chips li.on i{color:var(--or)}
.badge{position:absolute;right:clamp(40px,8vw,120px);bottom:-52px;width:118px;height:118px;border-radius:50%;background:var(--dark);border:7px solid #fff;display:grid;place-items:center;color:#fff}
.badge svg.spin{position:absolute;inset:4px;width:calc(100% - 8px);height:calc(100% - 8px);stroke:none}
.badge text{fill:#fff;font-size:10.4px;font-weight:600;letter-spacing:.2em}
.badge i{font-size:24px;display:grid}
.js .badge svg.spin{animation:spin 14s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.stats{display:grid;grid-template-columns:repeat(4,1fr);margin-top:clamp(70px,8vw,96px)}
.stats div{text-align:center;padding:4px 18px;border-left:1.5px solid var(--line)}
.stats div:first-child{border:0}
.stats b{display:block;font-size:clamp(40px,4.6vw,60px);font-weight:400;letter-spacing:-.03em;line-height:1}
.stats span{display:block;font-size:13px;color:var(--mut);margin-top:10px;max-width:170px;margin-inline:auto;line-height:1.4}

/* section heads */
.head{margin-bottom:44px}
.head.center{text-align:center}
.head h2,.t-head h2{font-size:min(clamp(30px,3.4vw,44px),7vw);white-space:nowrap}
.head p,.t-head p{color:var(--mut);margin-top:12px;font-size:16px}
.head.center p{max-width:560px;margin-inline:auto}
h2.two span{display:block;white-space:nowrap}

/* SERVICES */
.s-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.s-grid article{background:var(--soft);border-radius:22px;padding:40px 30px 34px;text-align:center;display:flex;flex-direction:column;align-items:center}
.s-grid .ic{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:var(--or);color:#fff;font-size:24px;margin-bottom:26px;box-shadow:0 0 0 8px rgba(242,107,29,.12)}
.s-grid h3{font-size:22px}
.s-grid p{color:var(--mut);font-size:14.5px;margin:14px 0 26px;flex:1}
.s-grid a:not(.pill){display:flex;align-items:center;gap:8px;font-size:14px;font-weight:500}
.s-grid a:not(.pill):hover{color:var(--or)}
.s-grid .dark{background:var(--dark) repeating-linear-gradient(115deg,transparent 0 70px,rgba(255,255,255,.035) 70px 140px);color:#fff;text-align:left;align-items:flex-start;justify-content:flex-end}
.s-grid .dark h3{font-size:30px;line-height:1.15}
.s-grid .dark p{color:#bdbdb8;flex:0}

/* EXPERIENCE */
.panel{background:var(--soft);border-radius:32px;padding:clamp(28px,4vw,52px)}
.e-head{display:grid;grid-template-columns:auto 1fr auto;gap:40px;align-items:center}
.e-head h2{font-size:min(clamp(28px,3vw,40px),6.6vw);padding-right:40px;border-right:1.5px solid var(--line)}
.e-head p{font-size:15px;color:#444;max-width:440px}
.e-photos{display:grid;grid-template-columns:1fr 2.1fr;gap:16px;margin-top:44px}
.e-photos figure{position:relative;border-radius:24px;height:clamp(260px,30vw,380px)}
.e-photos img{width:100%;height:100%;object-fit:cover;border-radius:24px}
.e-a img{object-position:40% 50%}
.e-notch{--nb:var(--soft);--nr:22px;padding:0 0 10px 10px}
.arr{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:var(--dark);color:#fff;font-size:20px;transition:.2s}
.arr:hover{background:var(--or)}
.e-b figcaption{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);background:#fff;border-radius:99px;padding:7px 16px;font-size:13px;white-space:nowrap}

/* TRUST */
.trust{background:var(--dark);color:#fff;border-radius:24px;padding:26px 36px;text-align:center}
.trust p{font-size:13px;font-weight:500;opacity:.8}
.trust ul{list-style:none;display:flex;justify-content:space-between;flex-wrap:wrap;gap:18px 30px;margin-top:20px}
.trust li{display:flex;align-items:center;gap:9px;font-weight:600;font-size:17px;opacity:.75;letter-spacing:-.01em}
.trust li svg{font-size:22px;color:var(--or2)}

/* TEAM */
.t-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:40px}
.t-head .pill i{width:18px;height:18px;border-radius:50%;background:var(--or)}
.t-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;align-items:start}
.t-grid figure{border-radius:20px;overflow:hidden;background:var(--soft)}
.t-grid img{width:100%;height:100%;object-fit:cover}
.t-grid article:nth-child(1) figure{height:330px}
.t-grid article:nth-child(2) figure{height:270px}
.t-grid article:nth-child(3) figure{height:310px}
.t-grid article:nth-child(4) figure{height:230px}
.t-grid article:nth-child(1) img{object-position:50% 20%}
.t-grid article:nth-child(2) img{object-position:30% 30%}
.t-grid article:nth-child(4) img{object-position:50% 25%}
.t-grid h3{font-size:17px;font-weight:500;margin-top:14px}
.t-grid p{font-size:13.5px;color:var(--mut)}
.dots{display:flex;gap:6px;margin-top:10px}
.dots i{width:9px;height:9px;border-radius:50%;background:var(--line)}
.dots i:first-child{background:var(--ink)}.dots i:nth-child(2){background:var(--or)}

/* PRICES */
.kick{display:inline-block;background:var(--or);color:#fff;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;padding:4px 12px;border-radius:99px;margin-bottom:14px}
.toggle{display:inline-flex;align-items:center;gap:12px;margin-top:26px;font-size:14px}
.toggle button{border:0;background:none;font:inherit;color:var(--mut);cursor:pointer}
.toggle button[aria-pressed=true]{color:var(--ink);font-weight:600}
.sw{width:50px;height:28px;border-radius:99px;background:var(--soft2);position:relative;cursor:pointer}
.sw i{position:absolute;top:4px;left:4px;width:20px;height:20px;border-radius:50%;background:var(--or);transition:.25s}
.price[data-mode=key] .sw i{left:26px}
.p-grid{display:grid;grid-template-columns:repeat(2,minmax(0,380px));justify-content:center;gap:18px}
.plan{position:relative;background:var(--soft);border-radius:24px;padding:40px 32px 32px;display:flex;flex-direction:column;
  clip-path:polygon(0 0,58% 0,63% 22px,100% 22px,100% 100%,0 100%)}
.plan.dark{background:var(--dark);color:#fff}
.plan h3{font-size:22px;font-weight:500;margin-top:6px}
.plan .sub{font-size:13.5px;color:var(--mut);margin-top:4px}
.plan.dark .sub{color:#a9a9a4}
.amt{margin:24px 0 20px;padding-bottom:20px;border-bottom:1px solid var(--line);display:flex;align-items:baseline;gap:8px}
.plan.dark .amt{border-color:#3a3a3a}
.amt b{font-size:46px;font-weight:500;letter-spacing:-.03em;line-height:1}
.amt span{font-size:14px;color:var(--mut)}
.plan ul{list-style:none;display:grid;gap:12px;font-size:14px;margin-bottom:30px;flex:1}
.plan li{display:flex;gap:10px;align-items:flex-start}
.plan li svg{flex:none;font-size:16px;color:var(--or);margin-top:2px;stroke-width:2.4}
.plan .pill{justify-content:center}
.price[data-mode=red] .m-key,.price[data-mode=key] .m-red{display:none}
.p-note{text-align:center;font-size:13px;color:var(--mut);margin-top:22px}

/* PROJECTS */
.pj-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.pj-grid figure{position:relative;border-radius:22px;overflow:hidden;aspect-ratio:4/3.3}
.pj-grid img{width:100%;height:100%;object-fit:cover;transition:transform .6s}
.pj-grid article:hover img{transform:scale(1.04)}
.pj-grid .tag{position:absolute;left:14px;top:14px;background:#fff;border-radius:99px;padding:5px 12px;font-size:12px;font-weight:500}
.pj-grid h3{font-size:19px;font-weight:500;margin-top:16px}
.pj-grid p{font-size:14px;color:var(--mut);margin-top:4px}

/* FOOTER */
footer{margin:clamp(80px,10vw,130px) auto 24px}
.foot{background:var(--dark);color:#fff;border-radius:34px;padding:clamp(32px,5vw,60px) clamp(24px,4vw,56px) 26px;overflow:hidden}
.f-top{display:grid;grid-template-columns:1.6fr 1fr 1fr .8fr;gap:32px}
.f-cta h2{font-size:min(clamp(28px,3vw,40px),7.4vw)}
.f-cta p{color:#b5b5b0;font-size:14.5px;margin:14px 0 24px;max-width:360px}
.f-cta .pill{height:40px}
.f-col h4{font-size:13px;font-weight:600;margin-bottom:14px}
.f-col a,.f-col p{display:block;font-size:13.5px;color:#b5b5b0;margin-bottom:8px}
.f-col a:hover{color:#fff}
.soc{display:flex;gap:8px}
.soc a{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;border:1px solid #444;font-size:17px;color:#fff;margin:0}
.soc a:hover{background:var(--or);border-color:var(--or)}
.marq{margin:clamp(40px,6vw,70px) calc(clamp(24px,4vw,56px) * -1) 10px;overflow:hidden;white-space:nowrap}
.marq div{display:inline-flex;align-items:center}
.js .marq div{animation:marq 34s linear infinite}
.marq span{font-size:clamp(64px,10vw,150px);font-weight:500;letter-spacing:-.04em;line-height:1}
.marq i{font-style:normal;color:var(--or);font-size:clamp(44px,6vw,90px);margin:0 .45em}
@keyframes marq{to{transform:translateX(-50%)}}
.f-bot{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid #333;padding-top:20px;margin-top:20px}
.f-bot p{font-size:12.5px;color:#8d8d88}

/* RESPONSIVE */
@media (max-width:1060px){
  .menu{gap:18px}
  .e-head{grid-template-columns:1fr auto}.e-head h2{border:0;padding:0;grid-column:1/-1}
  .f-top{grid-template-columns:1fr 1fr}
}
@media (max-width:900px){
  .nav{padding-left:16px}
  .burger{display:flex}
  .menu{position:absolute;left:0;right:0;top:calc(100% + 8px);flex-direction:column;gap:0;background:var(--dark);border-radius:22px;padding:10px;display:none}
  .menu a{padding:12px 14px}
  .top.open .menu{display:flex}
  .top.open .burger span:first-child{transform:translateY(3.3px) rotate(45deg)}
  .top.open .burger span:last-child{transform:translateY(-3.3px) rotate(-45deg)}
  .nav-cta{display:none}
  .lang{margin-left:auto}
  .h-top{flex-direction:column;gap:14px}
  .h-notch{position:static;width:auto;padding:0 0 18px;background:none}
  .h-notch::before,.h-notch::after{display:none}
  .h-card{background:none}
  .h-card{display:flex;flex-direction:column-reverse}
  .h-card>img{height:440px}
  .chips{max-width:none;right:22px;bottom:22px}
  .s-grid,.pj-grid{grid-template-columns:1fr}
  .s-grid .dark{min-height:260px}
  .stats{grid-template-columns:1fr 1fr;row-gap:36px}
  .stats div:nth-child(3){border:0}
  .e-photos{grid-template-columns:1fr}
  .t-grid{grid-template-columns:1fr 1fr}
  .t-head{flex-direction:column;align-items:flex-start}
  .p-grid{grid-template-columns:minmax(0,440px)}
}
@media (max-width:560px){
  .wrap{width:calc(100% - 32px)}
  .ring{display:none}
  .h-card>img{height:400px;object-position:42% 60%}
  .chips li{font-size:12.5px;padding:6px 12px}
  .chips li:nth-child(n+5){display:none}
  .badge{width:96px;height:96px;bottom:-44px;right:24px}
  .badge text{font-size:11px}
  .e-head{grid-template-columns:1fr}
  .e-head .pill{justify-self:start}
  .trust{padding:24px 20px}.trust ul{justify-content:center}
  .t-grid{gap:14px}
  .t-grid article figure{height:220px!important}
  .f-top{grid-template-columns:1fr}
  .f-bot{flex-direction:column;align-items:flex-start}
  .plan{padding:38px 22px 26px}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
