@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --bg:#fcfcfb;
  --bg2:#ffffff;
  --text:#0f141a;
  --muted:#5b6673;
  --line:#e8edf2;

  --accent:#14a3ff;
  --accent2:#10bfb2;

  --shadow: 0 18px 44px rgba(16,20,24,.10);
  --radius: 20px;
  --max: 1160px;

  --serif: "Cormorant Garamond", ui-serif, Georgia, "Times New Roman", serif;
  --sans:  Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: var(--sans);
  color:var(--text);
  background:
    radial-gradient(1200px 800px at 12% 0%, rgba(20,163,255,.08), transparent 55%),
    radial-gradient(1000px 700px at 90% -10%, rgba(16,191,178,.08), transparent 55%),
    var(--bg);
  line-height:1.7;
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.wrap{max-width:var(--max);margin:0 auto;padding:26px}
.small{font-size:13px;color:var(--muted)}
.muted{color:var(--muted)}
.hr{height:1px;background:var(--line);border:0;margin:26px 0}

header{
  position:sticky;top:0;z-index:50;
  background: rgba(252,252,251,.86);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.nav{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:12px 0;
}
.brand{display:flex;align-items:center;gap:14px;min-width:320px}
.brand img{
  width:88px;height:88px;
  border-radius:22px;
  object-fit:cover;
  border:1px solid var(--line);
  box-shadow: 0 10px 24px rgba(16,20,24,.08);
}
.brand b{
  font-family: var(--serif);
  letter-spacing:.2px;
  font-weight:700;
  font-size:22px;
  line-height:1.05;
}
.brand span{
  display:block;
  color:var(--muted);
  font-size:13px;
  margin-top:4px;
}

.menu{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;align-items:center}
.menu a{
  color:var(--muted);
  font-size:14px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid transparent;
  font-weight:600;
}
.menu a:hover{color:var(--text);background:rgba(20,163,255,.08);border-color:rgba(20,163,255,.18)}
.menu a.active{color:var(--text);background:rgba(16,191,178,.10);border-color:rgba(16,191,178,.22)}

.burger{display:none}
@media (max-width: 980px){
  .brand{min-width:auto}
  .brand img{width:70px;height:70px}
  .burger{
    display:inline-flex;align-items:center;justify-content:center;
    width:44px;height:44px;border-radius:14px;
    border:1px solid var(--line);
    background:rgba(255,255,255,.85);
    cursor:pointer;
  }
  .menu{display:none;width:100%;padding:10px 0}
  .menu.open{display:flex}
  .nav{flex-wrap:wrap}
}

/* EN | RU */
.langSwitch{
  display:inline-flex;
  border:1px solid var(--line);
  background:rgba(255,255,255,.88);
  border-radius:999px;
  overflow:hidden;
  box-shadow: 0 8px 18px rgba(16,20,24,.06);
}
.langSwitch button{
  border:0;background:transparent;
  padding:9px 12px;
  font-weight:800;
  font-size:13px;
  color:var(--muted);
  cursor:pointer;
}
.langSwitch button.active{
  color:var(--text);
  background:linear-gradient(135deg, rgba(20,163,255,.16), rgba(16,191,178,.14));
}

/* Buttons */
.btnRow{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:12px 16px;border-radius:16px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.92);
  font-weight:700;font-size:14px;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(16,20,24,.08);
  transition:transform .08s ease,box-shadow .15s ease,border-color .15s ease;
}
.btn:hover{background:#fff;border-color:rgba(20,163,255,.28);box-shadow:0 14px 32px rgba(16,20,24,.12)}
.btn:active{transform:translateY(1px)}
.btn.primary{
  border-color:rgba(20,163,255,.28);
  background:linear-gradient(135deg, rgba(20,163,255,.18), rgba(16,191,178,.14));
}
.btn.ghost{background:transparent;box-shadow:none}

/* Pills */
.pill{
  display:inline-flex;align-items:center;gap:10px;
  padding:8px 12px;border-radius:999px;
  border:1px solid rgba(20,163,255,.18);
  background:rgba(20,163,255,.06);
  font-size:14px;
  font-weight:700;
}

/* Instagram bar (portfolio) */
.igBar{
  margin:18px 0 8px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.igBar .igText{
  font-family: var(--serif);
  font-size:18px;
  color: rgba(15,20,26,.90);
}
.igBtn{
  display:inline-flex;align-items:center;gap:10px;
  padding:10px 14px;border-radius:999px;
  border:1px solid rgba(20,163,255,.28);
  background:linear-gradient(135deg, rgba(20,163,255,.14), rgba(16,191,178,.10));
  font-weight:800;font-size:14px;
  box-shadow:0 10px 22px rgba(16,20,24,.08);
}
.igBtn:hover{background:linear-gradient(135deg, rgba(20,163,255,.18), rgba(16,191,178,.14))}

/* Layout */
.grid2{display:grid;grid-template-columns:1.1fr .9fr;gap:24px;align-items:start}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
@media (max-width: 980px){
  .grid2{grid-template-columns:1fr}
  .grid3{grid-template-columns:1fr}
}

/* Cards */
.card{
  background:var(--bg2);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.card .pad{padding:18px}
.card h3{
  margin:0 0 6px;
  font-family: var(--serif);
  font-size:20px;
  font-weight:700;
}
.card p{margin:0;color:var(--muted)}

/* Media */
.media{aspect-ratio:16/10;width:100%;object-fit:cover}

/* Hero */
.hero{padding:18px 0 10px}
.hTitle{
  margin:12px 0 12px;
  font-family: var(--serif);
  font-size:50px;
  line-height:1.05;
  letter-spacing:-.3px;
}
@media (max-width:520px){ .hTitle{font-size:40px} }
.hLead{margin:0;color:var(--muted);font-size:16px}

.heroMedia{
  position:relative;
  border-radius:26px;
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}
.heroMedia img{width:100%;height:460px;object-fit:cover}
.heroOverlay{
  position:absolute;inset:0;
  background:linear-gradient(90deg, rgba(252,252,251,.92), rgba(252,252,251,.25) 58%, rgba(252,252,251,.08));
}
.quote{
  position:absolute;left:18px;right:18px;bottom:18px;
  padding:16px 16px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.72);
  background:rgba(255,255,255,.86);
  backdrop-filter:blur(10px);
}
.quote p{margin:0;font-family:var(--serif);font-size:18px}
.quote span{display:block;margin-top:6px;color:var(--muted);font-size:13px}

section{padding:20px 0}
.sectionTitle{margin:0 0 10px;font-family:var(--serif);font-size:26px}
.sectionLead{margin:0 0 12px;color:var(--muted)}
.list{margin:10px 0 0;padding-left:18px;color:var(--muted)}
.list li{margin:6px 0}

input,select,textarea{
  width:100%;
  margin:6px 0 12px;
  padding:12px 12px;
  border-radius:16px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--text);
  outline:none;
}
input:focus,select:focus,textarea:focus{
  border-color: rgba(20,163,255,.40);
  box-shadow: 0 0 0 4px rgba(20,163,255,.10);
}

.avatar{width:110px;height:110px;border-radius:22px;object-fit:cover;border:1px solid var(--line)}

footer{
  margin-top:30px;
  border-top:1px solid var(--line);
  background: rgba(255,255,255,.70);
}
.footerGrid{display:grid;grid-template-columns:1.25fr .75fr;gap:16px;align-items:start}
@media (max-width:900px){ .footerGrid{grid-template-columns:1fr} }
.footerLinks{display:flex;flex-wrap:wrap;gap:10px}
.footerLinks a{color:var(--muted);font-size:13px;padding:6px 8px;border-radius:10px;font-weight:600}
.footerLinks a:hover{color:var(--text);background:rgba(20,163,255,.07)}