  :root{
    --ink:#1E1B18;
    --plaster:#F3EEE4;
    --concrete:#DAD3C6;
    --ochre:#D6A02A;
    --rust:#A8472B;
    --line: rgba(30,27,24,0.18);
    --line-strong: rgba(30,27,24,0.4);
    --paper:#FBF9F4;
  }

  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  @media (prefers-reduced-motion: reduce){
    html{scroll-behavior:auto;}
    *{animation-duration:0.001ms !important; transition-duration:0.001ms !important;}
  }

  body{
    margin:0;
    background:var(--plaster);
    color:var(--ink);
    font-family:'PT Sans', sans-serif;
    font-size:17px;
    line-height:1.6;
  }

  h1,h2,h3,.display{
    font-family:'Teko',Arial,sans-serif;
    font-weight:600;
    letter-spacing:0.01em;
    line-height:0.95;
    margin:0;
  }

  a{color:inherit;}
  img,svg{display:block;max-width:100%;}
  button{font-family:inherit;}

  :focus-visible{
    outline:3px solid var(--rust);
    outline-offset:3px;
  }

  .wrap{
    max-width:1180px;
    margin:0 auto;
    padding:0 28px;
  }

  /* ---------- header ---------- */
  header{
    border-bottom:1px solid var(--line-strong);
    background:var(--paper);
    position:sticky;
    top:0;
    z-index:30;
  }
  .header-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:16px 28px;
    gap:24px;
  }
  .logo{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
    color:var(--ink);
  }
  .logo-mark{width:32px;height:32px;flex:none;}
  .logo-text{
    font-family:'Teko',Arial,sans-serif;
    font-size:26px;
    font-weight:600;
    line-height:1;
  }
  .logo-text span{color:var(--rust);}
  nav{display:flex;gap:28px;}
  nav a{
    font-size:15.5px;
    text-decoration:none;
    color:var(--ink);
    border-bottom:1px solid transparent;
    padding-bottom:2px;
  }
  nav a:hover{border-bottom-color:var(--rust);}
  .header-cta{
    font-family:'PT Sans',sans-serif;
    font-weight:700;
    font-size:14.5px;
    background:var(--ink);
    color:var(--paper);
    padding:10px 18px;
    text-decoration:none;
    white-space:nowrap;
    border:1px solid var(--ink);
  }
  .header-cta:hover{background:var(--rust);border-color:var(--rust);}

  /* ---------- hero (photo, dark overlay) ---------- */
  .hero{
    position:relative;
    min-height:600px;
    display:flex;
    align-items:flex-end;
    background:#0f0d0b;
  }
  .hero-bg{
    position:absolute;
    inset:0;
    background-image:url('https://images.unsplash.com/photo-1704742950992-9815a104820c?auto=format&fit=crop&w=2000&q=70');
    background-size:cover;
    background-position:center 62%;
  }
  .hero-overlay{
    position:absolute;
    inset:0;
    background:
      linear-gradient(180deg, rgba(15,13,11,0.35) 0%, rgba(15,13,11,0.55) 55%, rgba(15,13,11,0.92) 100%),
      linear-gradient(90deg, rgba(15,13,11,0.85) 0%, rgba(15,13,11,0.25) 55%);
  }
  .hero-content{
    position:relative;
    z-index:2;
    padding:100px 28px 56px;
    max-width:1180px;
    margin:0 auto;
    width:100%;
  }
  .hero-tag{
    font-size:14.5px;
    color:var(--ochre);
    font-weight:700;
    margin-bottom:16px;
    letter-spacing:0.02em;
  }
  .hero h1{
    color:var(--paper);
    font-size:clamp(42px,6vw,74px);
    max-width:14ch;
    margin-bottom:22px;
  }
  .hero p.lede{
    font-family:'PT Sans',sans-serif;
    font-size:19px;
    max-width:48ch;
    margin:0 0 30px;
    color:#EDE7DA;
  }
  .btn-primary{
    display:inline-block;
    font-family:'PT Sans',sans-serif;
    font-weight:700;
    font-size:16px;
    background:var(--paper);
    color:var(--ink);
    padding:16px 28px;
    text-decoration:none;
    border:1px solid var(--paper);
  }
  .btn-primary:hover{background:var(--ochre);border-color:var(--ochre);}
  .btn-ghost-light{
    display:inline-block;
    font-family:'PT Sans',sans-serif;
    font-weight:700;
    font-size:16px;
    background:transparent;
    color:var(--paper);
    padding:16px 28px;
    text-decoration:none;
    border:1px solid rgba(251,249,244,0.5);
    margin-left:14px;
  }
  .btn-ghost-light:hover{border-color:var(--paper);}

  /* ---------- section shell ---------- */
  section{padding:80px 0;scroll-margin-top:72px;}
  .section-head{
    margin-bottom:36px;
  }
  .eyebrow{
    font-size:15px;
    color:var(--rust);
    font-weight:700;
    margin-bottom:8px;
  }
  .section-head h2{
    font-size:clamp(32px,4.5vw,48px);
  }
  .section-head p{
    max-width:60ch;
    font-size:16px;
    color:#4a443c;
    margin:16px 0 0;
  }

  /* ---------- about + icon grid ---------- */
  .icon-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:36px 28px;
    margin-top:48px;
  }
  .icon-item{
    text-align:left;
    padding:0 0 24px;
    border:1px solid var(--line-strong);
    background:var(--paper);
    overflow:hidden;
  }
  .icon-item .icon-photo{
    display:block;
    width:100%;
    aspect-ratio:16/10;
    object-fit:cover;
    margin-bottom:16px;
  }
  .icon-item h3{
    font-family:'PT Sans',sans-serif;
    font-weight:700;
    font-size:16.5px;
    margin:0 24px 8px;
  }
  .icon-item p{
    font-size:14.5px;
    color:#4a443c;
    margin:0 24px;
  }

  /* ---------- carousel ---------- */
  .carousel-wrap{
    position:relative;
    margin-top:8px;
  }
  .carousel{
    display:flex;
    gap:2px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
    background:var(--ink);
  }
  .carousel::-webkit-scrollbar{display:none;}
  .carousel .slide{
    position:relative;
    flex:0 0 calc(33.333% - 1.4px);
    scroll-snap-align:start;
    aspect-ratio:4/3;
    overflow:hidden;
  }
  .carousel .slide img{
    width:100%;height:100%;object-fit:cover;
    filter:saturate(1.05) contrast(1.03);
  }
  .carousel .slide .cap{
    position:absolute;left:0;right:0;bottom:0;
    padding:12px 16px;
    background:linear-gradient(transparent, rgba(15,13,11,0.85) 75%);
    color:var(--paper);
    font-size:13.5px;
  }
  .carousel .slide .cap b{
    display:block;
    font-family:'Teko',Arial,sans-serif;
    font-size:19px;
    font-weight:600;
    color:var(--ochre);
  }
  .car-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:44px;height:44px;
    background:var(--paper);
    border:1px solid var(--ink);
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:2;
  }
  .car-btn:hover{background:var(--ochre);}
  .car-btn.prev{left:-16px;}
  .car-btn.next{right:-16px;}
  .car-btn svg{width:18px;height:18px;}

  @media (max-width:760px){
    .carousel .slide{flex:0 0 calc(85%);}
    .car-btn{display:none;}
  }

  /* ---------- process / stages ---------- */
  .stages{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    border:1px solid var(--ink);
  }
  .stage{
    padding:30px 24px;
    border-right:1px solid var(--ink);
    background:var(--paper);
  }
  .stage:last-child{border-right:none;}
  .stage-photo{
    width:100%;
    aspect-ratio:16/10;
    object-fit:cover;
    margin:-30px -24px 22px;
    display:block;
    width:calc(100% + 48px);
    border-bottom:1px solid var(--ink);
  }
  .stage-sheet{
    font-family:'Teko',Arial,sans-serif;
    font-size:16px;
    color:var(--rust);
    margin-bottom:16px;
    font-weight:600;
  }
  .stage h3{font-size:28px;margin-bottom:6px;}
  .stage .stage-sub{font-size:14px;color:#6b645a;margin-bottom:16px;}
  .stage ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:11px;}
  .stage li{font-size:14.5px;line-height:1.5;padding-left:18px;position:relative;color:#332e28;}
  .stage li::before{content:"";position:absolute;left:0;top:9px;width:10px;height:2px;border-radius:1px;background:var(--rust);}
  .stage li b{font-weight:700;}

  /* ---------- pricing ---------- */
  .price-table{border:1px solid var(--ink);background:var(--paper);}
  .price-row{display:grid;grid-template-columns:1fr auto;gap:20px;padding:20px 26px;border-bottom:1px solid var(--line-strong);align-items:baseline;}
  .price-row:last-child{border-bottom:none;}
  .price-row .p-name{font-size:19px;font-weight:700;}
  .price-row .p-note{font-size:14px;color:#6b645a;display:block;margin-top:4px;font-weight:400;}
  .price-row .p-value{font-family:'Teko',Arial,sans-serif;font-size:30px;color:var(--rust);white-space:nowrap;}
  .price-row .p-value small{font-family:'PT Sans',sans-serif;font-size:13.5px;color:var(--ink);font-weight:700;}
  .price-foot{font-size:14px;color:#6b645a;padding:14px 26px 0;}

  /* ---------- why us ---------- */
  /* ---------- section divider (чертёжная отметка между блоками) ---------- */
  .section-divider{
    position:relative;
    height:1px;
    background:var(--line-strong);
    max-width:1180px;
    margin:0 auto;
  }
  .section-divider::before{
    content:"";
    position:absolute;
    left:50%;
    top:50%;
    width:11px;
    height:11px;
    background:var(--plaster);
    border:1.5px solid var(--rust);
    transform:translate(-50%,-50%) rotate(45deg);
  }
  .section-divider::after{
    content:"";
    position:absolute;
    left:50%;
    top:50%;
    width:3px;
    height:3px;
    background:var(--rust);
    transform:translate(-50%,-50%);
  }

  .why-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line-strong);border:1px solid var(--line-strong);}
  .why-item{background:var(--plaster);padding:26px 22px;}
  .why-item svg{width:24px;height:24px;stroke:var(--rust);margin-bottom:14px;}
  .why-item h3{font-family:'PT Sans',sans-serif;font-size:15.5px;font-weight:700;margin-bottom:8px;}
  .why-item p{font-size:14px;color:#4a443c;margin:0;}

  /* ---------- contacts (colored block + map) ---------- */
  .contact-block{
    background:var(--ink);
    color:var(--paper);
  }
  .contact-layout{
    display:grid;
    grid-template-columns:1fr 1.4fr;
    gap:0;
    border:1px solid var(--ink);
  }
  .contact-panel{
    background:var(--rust);
    padding:44px 38px;
  }
  .contact-panel .eyebrow2{
    font-family:'Teko',Arial,sans-serif;
    font-size:15px;
    text-transform:none;
    color:rgba(251,249,244,0.75);
    margin-bottom:6px;
    font-weight:600;
  }
  .contact-panel h2{
    color:var(--paper);
    font-size:38px;
    margin-bottom:26px;
  }
  .c-line{margin-bottom:20px;}
  .c-line span{display:block;font-size:12.5px;color:rgba(251,249,244,0.7);margin-bottom:4px;letter-spacing:0.02em;}
  .c-line strong{font-size:16px;font-weight:700;}
  .c-line a.c-link{color:var(--paper);text-decoration:none;border-bottom:1px solid rgba(251,249,244,0.4);}
  .c-line a.c-link:hover{border-bottom-color:var(--paper);}
  .contact-panel .btn-primary{margin-top:10px;}

  .map-embed{
    background:#ddd;
    min-height:340px;
  }
  .map-embed iframe{width:100%;height:100%;min-height:340px;border:0;display:block;}

  .req-strip{
    border-top:1px solid rgba(251,249,244,0.18);
    padding:26px 0 32px;
    margin-top:0;
  }
  .req-strip strong{
    display:block;
    color:var(--paper);
    font-weight:700;
    margin-bottom:16px;
    font-size:14px;
    text-transform:uppercase;
    letter-spacing:0.04em;
  }
  .req-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
  }
  .req-card{
    border:1px solid rgba(251,249,244,0.18);
    background:rgba(251,249,244,0.04);
    padding:16px 18px;
  }
  .req-card .bank-name{
    display:block;
    color:var(--ochre);
    font-weight:700;
    font-size:14px;
    margin-bottom:8px;
  }
  .req-card p{
    margin:0 0 5px;
    font-size:13px;
    color:rgba(251,249,244,0.75);
  }
  .req-card p:last-child{margin-bottom:0;}
  .req-card b{color:var(--paper);font-weight:700;}

  @media (max-width:600px){
    .req-grid{grid-template-columns:1fr;}
  }

  /* ---------- projects / portfolio page ---------- */
  nav a.active{border-bottom-color:var(--rust);color:var(--rust);}

  .projects-list{
    display:flex;
    flex-direction:column;
    border:1px solid var(--ink);
    background:var(--paper);
    margin-bottom:20px;
  }
  .project-card{
    display:grid;
    grid-template-columns:140px 1fr auto;
    align-items:center;
    gap:24px;
    padding:18px 26px;
    border-bottom:1px solid var(--line-strong);
  }
  .project-card:last-child{border-bottom:none;}
  .project-card h3{font-size:24px;}
  .project-thumb{
    width:140px;
    height:96px;
    object-fit:cover;
    border:1px solid var(--line-strong);
  }
  .project-meta{
    display:flex;
    flex-direction:column;
    gap:4px;
    font-family:'PT Sans',sans-serif;
    font-size:14px;
    color:#4a443c;
    text-align:right;
  }

  .btn-back{
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-family:'PT Sans',sans-serif;
    font-weight:700;
    font-size:14px;
    color:var(--ink);
    text-decoration:none;
    border:1px solid var(--line-strong);
    padding:10px 18px;
    margin-bottom:8px;
  }
  .btn-back:hover{border-color:var(--rust);color:var(--rust);}

  .cta-strip{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    background:var(--ink);
    color:var(--paper);
    padding:34px 40px;
    flex-wrap:wrap;
  }
  .cta-strip h3{color:var(--paper);font-size:26px;margin-bottom:4px;}
  .cta-strip p{margin:0;font-family:'PT Sans',sans-serif;font-size:15px;color:rgba(251,249,244,0.75);}
  .btn-primary-dark{
    display:inline-block;
    font-family:'PT Sans',sans-serif;
    font-weight:700;
    font-size:16px;
    background:var(--rust);
    color:var(--paper);
    padding:16px 28px;
    text-decoration:none;
    border:1px solid var(--rust);
    white-space:nowrap;
  }
  .btn-primary-dark:hover{background:var(--ochre);border-color:var(--ochre);}

  @media (max-width:700px){
    .project-card{grid-template-columns:1fr;gap:10px;}
    .project-thumb{width:100%;height:160px;}
    .project-meta{text-align:left;}
    .cta-strip{flex-direction:column;align-items:flex-start;}
  }

  /* ---------- footer ---------- */
  footer{border-top:1px solid var(--line-strong);padding:24px 0;}
  .footer-row{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;font-size:13px;color:#6b645a;}

  @media (max-width:860px){
    nav{display:none;}
    .icon-grid{grid-template-columns:1fr 1fr;}
    .stages{grid-template-columns:1fr;}
    .stage{border-right:none;border-bottom:1px solid var(--ink);}
    .stage:last-child{border-bottom:none;}
    .why-grid{grid-template-columns:1fr 1fr;}
    .contact-layout{grid-template-columns:1fr;}
    .header-cta{display:none;}
  }
  @media (max-width:520px){
    .icon-grid{grid-template-columns:1fr;}
    .why-grid{grid-template-columns:1fr;}
    .price-row{grid-template-columns:1fr;}
    .btn-ghost-light{margin-left:0;margin-top:12px;display:block;width:fit-content;}
  }
