:root {
  --primary: #5c3db3;
  --primary-dark: #3d248c;
  --primary-light: #8b6fd4;
  --accent: #e91e8c;
  --accent2: #f5a623;
  --bg: #f6f5f2;
  --white: #ffffff;
  --text: #1a1618;
  --text2: #6b6570;
  --border: #e4e1ed;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 20px rgba(92,61,179,.10);
  --shadow-lg: 0 12px 40px rgba(92,61,179,.18);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Manrope', sans-serif; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; position: relative; min-height: 100vh; }

.edge-glow-left { position: fixed; top:0; left:0; width:32%; height:100%; pointer-events:none; z-index:1; filter:blur(50px); opacity:.65; animation: slowShiftLeft 16s infinite alternate ease-in-out; }
.edge-glow-right { position: fixed; top:0; right:0; width:32%; height:100%; pointer-events:none; z-index:1; filter:blur(50px); opacity:.65; animation: slowShiftRight 18s infinite alternate ease-in-out; }
.corner-top-left { position:fixed; top:-12%; left:-12%; width:44%; height:44%; pointer-events:none; z-index:1; filter:blur(58px); opacity:.55; animation: slowCornerTL 20s infinite alternate ease-in-out; }
.corner-top-right { position:fixed; top:-12%; right:-12%; width:44%; height:44%; pointer-events:none; z-index:1; filter:blur(58px); opacity:.55; animation: slowCornerTR 19s infinite alternate ease-in-out; }
.corner-bottom-left { position:fixed; bottom:-12%; left:-12%; width:44%; height:44%; pointer-events:none; z-index:1; filter:blur(58px); opacity:.55; animation: slowCornerBL 22s infinite alternate ease-in-out; }
.corner-bottom-right { position:fixed; bottom:-12%; right:-12%; width:44%; height:44%; pointer-events:none; z-index:1; filter:blur(58px); opacity:.55; animation: slowCornerBR 21s infinite alternate ease-in-out; }
.vertical-glow { position:fixed; top:0; left:0; width:100%; height:100%; pointer-events:none; z-index:2; filter:blur(45px); opacity:.4; animation: slowVerticalPulse 15s infinite alternate ease-in-out; }

@keyframes slowShiftLeft {
  0% { background: radial-gradient(ellipse at 0% 50%, rgba(40,90,255,.55) 0%, rgba(80,60,210,.35) 35%, transparent 75%); }
  50% { background: radial-gradient(ellipse at 0% 50%, rgba(180,75,190,.6) 0%, rgba(220,80,160,.4) 35%, transparent 75%); }
  100% { background: radial-gradient(ellipse at 0% 50%, rgba(50,100,250,.52) 0%, rgba(70,85,235,.32) 35%, transparent 75%); }
}
@keyframes slowShiftRight {
  0% { background: radial-gradient(ellipse at 100% 50%, rgba(230,75,150,.58) 0%, rgba(190,65,180,.38) 35%, transparent 75%); }
  50% { background: radial-gradient(ellipse at 100% 50%, rgba(80,95,240,.58) 0%, rgba(60,105,245,.38) 35%, transparent 75%); }
  100% { background: radial-gradient(ellipse at 100% 50%, rgba(220,80,160,.55) 0%, rgba(200,75,175,.35) 35%, transparent 75%); }
}
@keyframes slowCornerTL {
  0% { background: radial-gradient(circle, rgba(50,100,245,.5) 0%, rgba(80,70,210,.25) 40%, transparent 80%); }
  100% { background: radial-gradient(circle, rgba(70,110,240,.48) 0%, rgba(90,80,225,.24) 40%, transparent 80%); }
}
@keyframes slowCornerTR {
  0% { background: radial-gradient(circle, rgba(220,80,160,.52) 0%, rgba(180,70,185,.26) 40%, transparent 80%); }
  100% { background: radial-gradient(circle, rgba(200,85,170,.5) 0%, rgba(210,80,165,.24) 40%, transparent 80%); }
}
@keyframes slowCornerBL {
  0% { background: radial-gradient(circle, rgba(100,80,230,.5) 0%, rgba(130,65,200,.25) 40%, transparent 80%); }
  100% { background: radial-gradient(circle, rgba(120,70,215,.48) 0%, rgba(100,85,220,.24) 40%, transparent 80%); }
}
@keyframes slowCornerBR {
  0% { background: radial-gradient(circle, rgba(240,85,145,.52) 0%, rgba(200,75,170,.26) 40%, transparent 80%); }
  100% { background: radial-gradient(circle, rgba(215,80,155,.5) 0%, rgba(195,75,170,.24) 40%, transparent 80%); }
}
@keyframes slowVerticalPulse {
  0% { background: linear-gradient(90deg, rgba(60,90,240,.18) 0%, transparent 20%, transparent 80%, rgba(220,80,150,.18) 100%); }
  100% { background: linear-gradient(90deg, rgba(80,100,245,.18) 0%, transparent 20%, transparent 80%, rgba(200,85,165,.18) 100%); }
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 99px; }

.nav-top { background: var(--white); border-bottom: 1px solid var(--border); height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 2rem; position: sticky; top: 0; z-index: 200; }
.nav-links { display: flex; gap: 1.5rem; list-style: none; flex: 1; }
.nav-links a { font-size: 13px; color: var(--text2); text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--primary); }
.nav-logo { font-family: 'Playfair Display', serif; font-size: 22px; font-style: italic; color: var(--text); letter-spacing: -.5px; position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.nav-actions { display: flex; align-items: center; gap: 10px; flex: 1; justify-content: flex-end; }
.nav-phone { color: var(--accent); font-weight: 700; font-size: 14px; text-decoration: none; }

.hero { background: #2a1050; border-radius: 28px; margin: 1.5rem 2rem; position: relative; overflow: hidden; min-height: 460px; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.55); z-index: 1; border-radius: 28px; }
.hero-content { position: relative; z-index: 2; max-width: 620px; margin: 0 auto; animation: fadeUp .65s ease both; color: #fff; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.hero-tag { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); border-radius: 99px; padding: 5px 14px; font-size: 12px; font-weight: 600; letter-spacing: .5px; margin-bottom: 1.2rem; backdrop-filter: blur(4px); }
.hero h1 { font-family: 'Playfair Display', serif; font-size: 48px; line-height: 1.15; font-weight: 700; margin-bottom: .9rem; }
.hero p { font-size: 16px; opacity: .9; margin-bottom: 1.8rem; line-height: 1.65; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-hero-primary { display: inline-block; text-decoration: none; background: var(--accent); color: #fff; border: none; border-radius: 12px; padding: 13px 30px; font-size: 15px; font-weight: 700; cursor: pointer; transition: transform .15s, box-shadow .15s; font-family: inherit; }
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(233,30,140,.4); }
.btn-hero-secondary { display: inline-block; text-decoration: none; background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.35); border-radius: 12px; padding: 13px 30px; font-size: 15px; font-weight: 600; cursor: pointer; transition: background .2s; font-family: inherit; }
.btn-hero-secondary:hover { background: rgba(255,255,255,.25); }

.section { padding: 2rem 2rem; max-width: 1200px; margin: 0 auto; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.section-title { font-size: 22px; font-weight: 800; }
.see-all-link { font-size: 13px; color: var(--primary); text-decoration: none; border: 1.5px solid var(--primary); border-radius: 99px; padding: 5px 16px; font-weight: 600; transition: all .2s; }
.see-all-link:hover { background: var(--primary); color: #fff; }

.cat-grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-photo-card { display: block; text-decoration: none; position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; height: 260px; box-shadow: 0 4px 18px rgba(0,0,0,.10); transition: transform .3s, box-shadow .3s; background: #ddd; }
.cat-photo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.cat-photo-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cat-photo-card:hover .cat-photo-bg { transform: scale(1.06); }
.cat-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.65) 0%, rgba(0,0,0,.2) 70%); transition: background .3s; }
.cat-card-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 22px; z-index: 2; }
.cat-card-icon { width: 52px; height: 52px; background: rgba(255,255,255,.18); border-radius: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; backdrop-filter: blur(4px); }
.cat-card-icon svg { width: 28px; height: 28px; }
.cat-card-label { color: #fff; font-size: 19px; font-weight: 700; line-height: 1.3; text-shadow: 0 1px 4px rgba(0,0,0,.4); }

.cat-grid-cards .cat-photo-card { animation: cubeReveal .7s cubic-bezier(.34,1.56,.64,1) both; }
.cat-grid-cards .cat-photo-card:nth-child(1) { animation-delay: .05s; }
.cat-grid-cards .cat-photo-card:nth-child(2) { animation-delay: .12s; }
.cat-grid-cards .cat-photo-card:nth-child(3) { animation-delay: .19s; }
.cat-grid-cards .cat-photo-card:nth-child(4) { animation-delay: .26s; }
.cat-grid-cards .cat-photo-card:nth-child(5) { animation-delay: .33s; }
.cat-grid-cards .cat-photo-card:nth-child(6) { animation-delay: .4s; }
@keyframes cubeReveal {
  from { opacity: 0; transform: translateY(28px) scale(.9) rotate(-2deg); }
  to { opacity: 1; transform: translateY(0) scale(1) rotate(0deg); }
}
.cat-photo-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  box-shadow: 0 0 0 0 rgba(233,30,140,0);
  transition: box-shadow .3s;
  pointer-events: none;
  z-index: 3;
}
.cat-photo-card:hover::after { box-shadow: 0 0 0 3px rgba(233,30,140,.35); }
.cat-photo-card:hover .cat-card-icon { transform: scale(1.15) rotate(-6deg); background: rgba(255,255,255,.3); }
.cat-card-icon { transition: transform .3s ease, background .3s ease; }

footer { background: var(--white); border-top: 1px solid var(--border); padding: 2.5rem 2rem 1.5rem; margin-top: 1rem; position: relative; z-index: 10; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 2rem; margin-bottom: 2rem; flex-wrap: wrap; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 22px; font-style: italic; color: var(--text); }
.footer-logo-sub { font-size: 12px; color: var(--text2); margin-top: 6px; line-height: 1.5; max-width: 220px; }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--text); margin-bottom: 12px; }
.footer-col ul { list-style: none; }
.footer-col ul li a { font-size: 13px; color: var(--text2); text-decoration: none; display: block; padding: 3px 0; transition: color .15s; }
.footer-col ul li a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.25rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-copy { font-size: 12px; color: var(--text2); }
.footer-contact { text-align: right; }
.footer-phone { font-size: 18px; font-weight: 800; color: var(--text); text-decoration: none; display: block; }
.footer-email { font-size: 12px; color: var(--text2); }
.footer-hours { font-size: 12px; color: var(--text2); }
.rating-badge { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 8px 14px; }
.rating-stars { display: flex; gap: 2px; }
.rating-score { font-size: 14px; font-weight: 800; color: var(--text); }
.rating-label { font-size: 11px; color: var(--text2); }

.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

.form-row { display: flex; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.form-input, .form-textarea {
  flex: 1 1 220px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14px;
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: border .2s, background .2s;
  font-family: inherit;
  width: 100%;
}
.form-input:focus, .form-textarea:focus { border-color: var(--primary); background: #fff; }
.form-textarea { resize: vertical; min-height: 78px; }
.form-submit-btn {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 4px;
  transition: transform .15s, box-shadow .15s, opacity .2s;
  font-family: inherit;
}
.form-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(233,30,140,.35); }
.form-submit-btn:disabled { opacity: .6; cursor: default; transform: none; box-shadow: none; }
.form-status { font-size: 13px; margin-top: 10px; text-align: center; display: none; }
.form-status.show { display: block; }
.form-status.ok { color: #1f9d55; }
.form-status.err { color: var(--accent); }

.request-card {
  background: var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow);
  display: flex;
  overflow: hidden;
}
.request-card-left {
  flex: 1 1 300px;
  background: linear-gradient(150deg, #2a1050 0%, #4a2a8c 60%, #5c3db3 100%);
  color: #fff;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.request-tag { display: inline-flex; align-self: flex-start; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); border-radius: 99px; padding: 5px 14px; font-size: 12px; font-weight: 600; letter-spacing: .5px; margin-bottom: 1rem; backdrop-filter: blur(4px); }
.request-title { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; margin-bottom: .8rem; line-height: 1.2; }
.request-sub { font-size: 14px; opacity: .85; line-height: 1.65; margin-bottom: 1.5rem; }
.request-perks { display: flex; flex-direction: column; gap: 10px; }
.request-perk { display: flex; align-items: center; gap: 10px; font-size: 13px; opacity: .92; }
.request-perk svg { flex-shrink: 0; }
.request-form-wrap { flex: 1 1 340px; padding: 40px 36px; }

@media (max-width: 900px) {
  .cat-grid-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .request-card { flex-direction: column; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
  .footer-contact { text-align: left; }
  .nav-links { display: none; }
  .hero h1 { font-size: 32px; }
}

@media (max-width: 520px) {
  .cat-grid-cards { grid-template-columns: 1fr; }
  .cat-photo-card { height: 220px; }
}

/* ===== Страницы отдельных направлений продукции ===== */
.page-hero {
  position: relative;
  min-height: 340px;
  border-radius: 28px;
  margin: 1.5rem 2rem;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: #2a1050;
  display: flex;
  align-items: flex-end;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,16,20,.35) 0%, rgba(26,16,20,.88) 100%);
}
.page-hero-content { position: relative; z-index: 2; color: #fff; padding: 40px 48px; max-width: 720px; }
.breadcrumb { display: inline-block; color: #fff; opacity: .9; font-size: 13px; text-decoration: none; margin-bottom: 16px; border: 1px solid rgba(255,255,255,.35); border-radius: 99px; padding: 5px 14px; transition: background .2s; }
.breadcrumb:hover { background: rgba(255,255,255,.18); }
.page-hero-content h1 { font-family: 'Playfair Display', serif; font-size: 38px; font-weight: 700; margin-bottom: 10px; line-height: 1.15; }
.page-hero-content p { font-size: 15px; opacity: .92; line-height: 1.6; }

.page-text { font-size: 15px; line-height: 1.85; color: var(--text2); max-width: 760px; margin-bottom: 1.5rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-item { background: #f5f0ff; color: var(--primary); border: 1px solid #e3d9fb; border-radius: 99px; padding: 8px 16px; font-size: 13px; font-weight: 600; }

.product-showcase { display: flex; gap: 0; align-items: stretch; background: var(--white); border-radius: 28px; box-shadow: var(--shadow); overflow: hidden; }
.product-showcase-img { flex: 1 1 380px; min-height: 320px; background: #ddd; }
.product-showcase-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-showcase-text { flex: 1 1 320px; padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; }
.product-showcase-text h2 { font-family: 'Playfair Display', serif; font-size: 24px; margin: 10px 0 12px; color: var(--text); }
.product-showcase-text p { font-size: 14.5px; line-height: 1.8; color: var(--text2); }

@media (max-width: 768px) {
  .page-hero { margin: 1rem; min-height: 260px; }
  .page-hero-content { padding: 26px 22px; }
  .page-hero-content h1 { font-size: 27px; }
  .product-showcase { flex-direction: column; }
  .product-showcase-img { min-height: 220px; }
  .product-showcase-text { padding: 24px; }
}
