:root{
  --bg:#F7F7F2;
  --card:#FFFFFF;
  --card2:#EEF2F5;
  --line:#CAD4DC;
  --ink:#0B1F3B;     /* corporate navy */
  --muted:#637684;
  --accent:#0B1F3B;
  --shadow: 0 14px 34px rgba(11,31,59,.08);
  --radius: 18px;
  --radius2: 24px;
  --max: 1120px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height:1.45;
}
/* Glacier ribbon (right) */
body::after{
  content:"";
  position:fixed;
  top:0; right:0;
  width:18px; height:100vh;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)) ,
    repeating-linear-gradient(160deg, rgba(175,210,240,.22) 0 2px, rgba(0,0,0,0) 2px 14px),
    repeating-linear-gradient(20deg, rgba(200,230,255,.14) 0 1px, rgba(0,0,0,0) 1px 12px),
    linear-gradient(180deg, #0B1F3B, #0B1F3B);
  box-shadow: -1px 0 0 rgba(202,212,220,.9);
  z-index:0;
  pointer-events:none;
}
a{color:inherit; text-decoration:none}
.wrap{max-width:var(--max); margin:0 auto; padding:0 20px; position:relative; z-index:1;}
/* Nav */
.nav{
  position:sticky; top:0; z-index:10;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  border-bottom:1px solid rgba(202,212,220,.7);
}
.nav-inner{display:flex; align-items:center; justify-content:space-between; padding:14px 0;}
.brand{display:flex; align-items:center; gap:10px}
.mark{
  width:10px; height:28px; border-radius:10px;
  background:linear-gradient(180deg, #0B1F3B, #1A3B66);
  box-shadow: 0 8px 20px rgba(11,31,59,.20);
}
.brand b{font-family:"Playfair Display", Georgia, serif; letter-spacing:.2px; font-size:18px;}
.menu{display:flex; gap:12px; align-items:center; font-weight:600; color:rgba(11,31,59,.86)}
.menu a{padding:8px 10px; border-radius:10px}
.menu a:hover{background:rgba(202,212,220,.35)}
.menu a.active{background:rgba(202,212,220,.45)}
.cta{
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 14px; border-radius:12px;
  background:var(--ink); color:white;
  box-shadow: 0 10px 24px rgba(11,31,59,.20);
  font-weight:700;
}
.cta:hover{transform:translateY(-1px)}
/* Typography */
.h1{font-family:"Playfair Display", Georgia, serif; font-size:44px; line-height:1.05; margin:0 0 10px}
.h2{font-family:"Playfair Display", Georgia, serif; font-size:30px; margin:0}
.sub{font-size:18px; color:rgba(11,31,59,.80); max-width:70ch}
.small{font-size:13px; color:rgba(99,118,132,.95)}
/* Layout */
.hero{padding:50px 0 18px}
.grid-hero{display:grid; grid-template-columns: 1.15fr .85fr; gap:22px; align-items:stretch}
.section{padding:46px 0}
.sec-head{display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin-bottom:16px}
.sec-head p{margin:0; color:rgba(99,118,132,.95); max-width:70ch}
/* Components */
.pillrow{display:flex; flex-wrap:wrap; gap:10px; margin-top:18px}
.pill{
  border:1px solid rgba(202,212,220,.9);
  background:rgba(255,255,255,.65);
  padding:8px 12px; border-radius:999px;
  font-weight:700; color:rgba(11,31,59,.86);
}
.card{
  background:var(--card);
  border:1px solid rgba(202,212,220,.9);
  border-radius:var(--radius2);
  box-shadow: var(--shadow);
  padding:18px;
}
.card.soft{background:rgba(255,255,255,.75)}
.card h3{font-family:"Playfair Display", Georgia, serif; margin:0 0 10px; font-size:18px}
.cards3{display:grid; grid-template-columns:repeat(3, 1fr); gap:16px}
.cards2{display:grid; grid-template-columns:repeat(2, 1fr); gap:16px}
.hero-card{
  background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.72));
  border:1px solid rgba(202,212,220,.9);
  border-radius:var(--radius2);
  box-shadow: var(--shadow);
  padding:18px;
  display:flex; flex-direction:column; justify-content:space-between;
  overflow:hidden;
}
.kpi{display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:14px}
.kpi .box{
  background:rgba(238,242,245,.72);
  border:1px solid rgba(202,212,220,.75);
  border-radius:14px; padding:12px;
}
.kpi .box b{display:block; font-size:15px}
.kpi .box span{color:rgba(99,118,132,.95); font-size:13px}
ul{margin:0; padding-left:18px}
li{margin:7px 0; color:rgba(11,31,59,.86)}
.steps{display:grid; grid-template-columns:repeat(4, 1fr); gap:12px}
.step{
  background:rgba(255,255,255,.75);
  border:1px solid rgba(202,212,220,.9);
  border-radius:20px;
  padding:14px;
}
.num{
  display:inline-flex; align-items:center; justify-content:center;
  width:42px; height:30px;
  border-radius:999px;
  background:var(--ink);
  color:white; font-weight:800; font-size:13px;
  box-shadow: 0 10px 18px rgba(11,31,59,.18);
}
.step b{display:block; margin-top:10px; font-family:"Playfair Display", Georgia, serif}
/* Pricing */
.pricing{display:grid; grid-template-columns:repeat(3, 1fr); gap:16px}
.price{
  background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.74));
  border:1px solid rgba(202,212,220,.9);
  border-radius:24px;
  box-shadow: var(--shadow);
  padding:18px;
  position:relative;
  overflow:hidden;
}
.badge{
  display:inline-flex; align-items:center; justify-content:center;
  padding:7px 12px; border-radius:999px;
  background:var(--ink);
  color:white; font-weight:800; font-size:13px;
}
.price h3{margin:10px 0 4px; font-family:"Playfair Display", Georgia, serif}
.price .term{color:rgba(99,118,132,.95); font-weight:700}
.amount{
  margin-top:12px;
  padding:10px 12px;
  background:rgba(238,242,245,.75);
  border:1px solid rgba(202,212,220,.75);
  border-radius:16px;
  font-family:"Playfair Display", Georgia, serif;
  font-size:18px;
}
.table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border-radius:18px;
  border:1px solid rgba(202,212,220,.9);
  box-shadow: var(--shadow);
  background:rgba(255,255,255,.85);
}
.table th, .table td{
  padding:12px 14px;
  border-bottom:1px solid rgba(202,212,220,.7);
  vertical-align:top;
  text-align:left;
}
.table th{
  background:rgba(238,242,245,.72);
  font-family:"Playfair Display", Georgia, serif;
}
.table tr:last-child td{border-bottom:none}
/* Team */
.team{display:grid; grid-template-columns: .85fr 1.15fr; gap:16px; align-items:stretch}
.photo{
  border-radius:24px;
  border:1px solid rgba(202,212,220,.9);
  box-shadow: var(--shadow);
  overflow:hidden;
  background: #0B1F3B;
  min-height:320px;
}
.photo img{width:100%; height:100%; object-fit:cover; display:block}
.contact{margin-top:14px; display:flex; flex-wrap:wrap; gap:10px;}
.chip{
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(202,212,220,.9);
  background:rgba(255,255,255,.70);
  font-weight:700;
}
/* Footer */
footer{
  padding:30px 0 46px;
  border-top:1px solid rgba(202,212,220,.7);
  color:rgba(99,118,132,.95);
}
/* Responsive */
@media (max-width: 980px){
  body::after{width:14px}
  .grid-hero{grid-template-columns:1fr}
  .cards3{grid-template-columns:1fr}
  .cards2{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr 1fr}
  .pricing{grid-template-columns:1fr}
  .team{grid-template-columns:1fr}
  .h1{font-size:38px}
  .menu{display:none}
}


/* ---------------- Mobile & premium responsive fixes ---------------- */

/* Prevent right ribbon overlaying content */
body{ padding-right: 18px; }
@media (max-width: 980px){ body{ padding-right: 14px; } }
@media (max-width: 520px){ body{ padding-right: 12px; } }

/* Typography scale */
.h1{ font-size: clamp(30px, 6vw, 44px); }
.h2{ font-size: clamp(24px, 4.6vw, 30px); }
.sub{ font-size: clamp(16px, 3.6vw, 18px); }

/* Hero spacing */
.hero{ padding: 38px 0 14px; }
@media (max-width: 520px){
  .hero{ padding: 28px 0 10px; }
  .section{ padding: 32px 0; }
}

/* Cards spacing */
.card, .hero-card, .price{ padding: 16px; border-radius: 22px; }
@media (max-width: 520px){
  .card, .hero-card, .price{ padding: 14px; border-radius: 20px; }
}

/* Hamburger button */
.burger{
  display:none;
  width:44px; height:40px;
  border-radius:12px;
  border:1px solid rgba(202,212,220,.9);
  background: rgba(255,255,255,.65);
  align-items:center; justify-content:center;
  box-shadow: 0 10px 18px rgba(11,31,59,.08);
}
.burger span{
  display:block; width:18px; height:2px;
  background: rgba(11,31,59,.86);
  margin:3px 0; border-radius:2px;
}
@media (max-width: 980px){ .burger{ display:flex; } }

/* Drawer */
.drawer-backdrop{
  position:fixed; inset:0;
  background: rgba(11,31,59,.32);
  backdrop-filter: blur(6px);
  z-index: 50;
  display:none;
}
.drawer{
  position:fixed; top:0; right:0;
  width:min(360px, 92vw);
  height:100vh;
  background: rgba(255,255,255,.92);
  border-left: 1px solid rgba(202,212,220,.9);
  box-shadow: -20px 0 60px rgba(11,31,59,.18);
  z-index: 60;
  transform: translateX(105%);
  transition: transform .22s ease;
  padding: 18px;
}
.drawer.open{ transform: translateX(0); }
.drawer-backdrop.open{ display:block; }
.drawer .top{
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom: 14px;
}
.drawer .links a{
  display:block;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(202,212,220,.75);
  background: rgba(238,242,245,.55);
  margin: 10px 0;
  font-weight: 800;
}
.drawer .links a:hover{ background: rgba(238,242,245,.75); }
.drawer .close{
  width:44px; height:40px;
  border-radius:12px;
  border:1px solid rgba(202,212,220,.9);
  background: rgba(238,242,245,.6);
  font-weight: 900;
}
.drawer .cta2{
  margin-top: 10px;
  display:inline-flex; justify-content:center;
  width:100%;
}

/* Tables on mobile */
.table-wrap{ overflow-x:auto; -webkit-overflow-scrolling:touch; }
.table{ min-width: 720px; }
@media (max-width: 520px){
  .table{ min-width: 640px; }
  .table th, .table td{ padding: 10px 12px; font-size: 12.5px; }
}

/* Steps: avoid cramped */
@media (max-width: 520px){
  .steps{ grid-template-columns: 1fr; }
  .step{ border-radius: 18px; }
}

/* Improve tap targets for chips */
.chip{ line-height:1.1; }


/* --- Hero mosaic (from deck cover) --- */
.mosaic{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 22px;
  gap: 10px;
  margin-bottom: 18px;
}
.mosaic .tile{
  position:relative;
  overflow:hidden;
  border-radius: 18px;
  border: 1px solid rgba(202,212,220,.9);
  box-shadow: 0 14px 34px rgba(11,31,59,.10);
  background: rgba(238,242,245,.7);
}
.mosaic img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  transform: scale(1.02);
}
/* Layout similar to slide cover */
.t-meeting{ grid-column: 1 / span 6; grid-row: 1 / span 6; }
.t-skyscraper{ grid-column: 7 / span 6; grid-row: 1 / span 3; }
.t-moscow{ grid-column: 7 / span 6; grid-row: 4 / span 6; }
.t-paper{ grid-column: 1 / span 6; grid-row: 7 / span 4; }
.t-mine{ grid-column: 7 / span 6; grid-row: 10 / span 2; }

/* Subtle “premium” overlay for readability and consistency */
.mosaic .tile::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.00) 0%, rgba(0,0,0,.08) 100%);
  pointer-events:none;
}

/* Mobile: turn mosaic into scrollable strip (fun + clean) */
@media (max-width: 980px){
  .mosaic{
    grid-template-columns: repeat(10, 1fr);
    grid-auto-rows: 18px;
    gap: 10px;
  }
}
@media (max-width: 520px){
  .mosaic{
    display:flex;
    gap:12px;
    overflow-x:auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }
  .mosaic .tile{
    flex: 0 0 78%;
    height: 170px;
    border-radius: 20px;
  }
  .t-meeting,.t-skyscraper,.t-moscow,.t-paper,.t-mine{
    grid-column:auto; grid-row:auto;
  }
}


/* --- Portrait tile: show full photo (avoid cropping) --- */
.t-meeting img{
  object-fit: contain;
  object-position: center center;
  background: #0B1F3B;
  padding: 10px;
}
@media (max-width: 520px){
  .t-meeting img{ padding: 8px; }
}
