:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #f97316;
  --accent-dark: #ea580c;
  --teal: #0d9488;
  --green: #16a34a;
  --ink: #0f172a;
  --muted: #475569;
  --bg: #f8fafc;
  --bg-blue: #f0f9ff;
  --white: #ffffff;
  --border: #e2e8f0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.reveal.visible { opacity: 1; transform: none; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-size: 21px; font-weight: 800; letter-spacing: 0.3px; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo .mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), #3b82f6);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 17px; color: #fff;
}
.logo small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: 0.4px; }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .15s; }
.nav a:hover { color: var(--ink); }
.nav .cta {
  background: var(--accent); color: #fff; padding: 10px 20px; border-radius: 10px;
  font-weight: 700; font-size: 14px;
}
.nav .cta:hover { background: var(--accent-dark); color: #fff; }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--bg-blue) 0%, #ffffff 100%);
  padding: 88px 0 76px; text-align: center;
}
.hero .badge {
  display: inline-block; background: #fff; border: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(15,23,42,0.05);
  padding: 7px 18px; border-radius: 100px; font-size: 13px; font-weight: 500; color: var(--muted);
  margin-bottom: 26px;
}
.hero h1 { font-size: 46px; font-weight: 800; line-height: 1.15; max-width: 860px; margin: 0 auto 20px; color: var(--ink); letter-spacing: -0.5px; }
.hero h1 .accent { color: var(--accent); }
.hero p.sub { font-size: 18px; color: var(--muted); max-width: 700px; margin: 0 auto 34px; }
.hero .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* typewriter */
.typewriter { font-weight: 800; color: var(--primary); }
.typewriter .caret { display: inline-block; width: 3px; height: 1em; background: var(--primary); margin-left: 2px; vertical-align: -2px; animation: caret-blink 0.9s steps(1) infinite; }
@keyframes caret-blink { 50% { opacity: 0; } }

/* hero fadein (staggered) */
.fade { opacity: 0; transform: translateY(22px); animation: hero-fadein 0.7s cubic-bezier(.22,1,.36,1) forwards; }
.fade.d1 { animation-delay: 0.1s; }
.fade.d2 { animation-delay: 0.25s; }
.fade.d3 { animation-delay: 0.4s; }
.fade.d4 { animation-delay: 0.55s; }
@keyframes hero-fadein { to { opacity: 1; transform: none; } }

.btn {
  display: inline-block; padding: 14px 30px; border-radius: 11px; font-weight: 700;
  font-size: 16px; text-decoration: none; transition: all .15s;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(249,115,22,0.28); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-ghost:hover { background: var(--bg-blue); }

/* ===== Sections ===== */
section { padding: 76px 0; }
section.alt { background: var(--bg); }
.section-head { text-align: center; margin-bottom: 46px; }
.section-head h2 { font-size: 34px; font-weight: 800; color: var(--ink); letter-spacing: -0.4px; }
.section-head p { color: var(--muted); margin-top: 10px; font-size: 16px; }

/* ===== Services ===== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.service-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #bfdbfe; }
.service-card .ico {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
.ico-blue { background: #eff6ff; }
.ico-teal { background: #ecfeff; }
.ico-orange { background: #fff7ed; }
.ico-green { background: #f0fdf4; }
.service-card h3 { font-size: 18px; color: var(--ink); margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: 15px; }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.step {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 18px; text-align: center; box-shadow: var(--shadow); transition: transform .2s;
}
.step:hover { transform: translateY(-4px); }
.step .n {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #3b82f6); color: #fff;
  font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px;
}
.step b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 6px; }
.step span { color: var(--muted); font-size: 13.5px; }

/* ===== Why us ===== */
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.why-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.why-item .ico { font-size: 28px; margin-bottom: 12px; }
.why-item b { color: var(--ink); font-size: 16px; display: block; margin-bottom: 6px; }
.why-item p { color: var(--muted); font-size: 14.5px; }

/* ===== Tables ===== */
.tables { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; }
.table-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.table-card h3 { background: var(--ink); color: #fff; padding: 16px 22px; font-size: 17px; }
.table-card table { width: 100%; border-collapse: collapse; }
.table-card td, .table-card th { padding: 13px 20px; text-align: left; font-size: 15px; border-bottom: 1px solid var(--border); }
.table-card th { color: var(--muted); font-weight: 600; font-size: 13.5px; background: #fafbfd; }
.table-card tr:last-child td { border-bottom: none; }
.table-card td b { color: var(--accent); }
.table-card .note { padding: 12px 20px; font-size: 13px; color: var(--muted); background: #fff7ed; border-top: 1px dashed var(--border); }

/* ===== Tags ===== */
.tag { display: inline-block; padding: 4px 12px; border-radius: 100px; font-size: 12.5px; font-weight: 600; }
.tag-orange { background: #fff3e0; color: #e65100; border: 1px solid #ffcc80; }
.tag-amber { background: #fff8e1; color: #ff8f00; border: 1px solid #ffe082; }
.tag-teal { background: #e0f7fa; color: #00838f; border: 1px solid #80deea; }
.tag-green { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }

/* ===== Delivery ===== */
.delivery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.delivery-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow); position: relative; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.delivery-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.delivery-card.featured { border: 2px solid var(--primary); }
.delivery-card .badge-top {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; padding: 4px 16px; border-radius: 100px;
  font-size: 12px; font-weight: 700; white-space: nowrap;
}
.delivery-card .d-ico { font-size: 34px; margin-bottom: 12px; }
.delivery-card h3 { font-size: 19px; color: var(--ink); }
.delivery-card .time { font-size: 30px; font-weight: 800; color: var(--primary); margin: 10px 0 4px; letter-spacing: -0.5px; }
.delivery-card .price { color: var(--accent); font-weight: 700; font-size: 16px; }
.delivery-card ul { list-style: none; margin: 16px 0 0; padding: 0; }
.delivery-card li { padding: 6px 0; color: var(--muted); font-size: 14.5px; }
.delivery-card li::before { content: "✓ "; color: var(--green); font-weight: 700; }

/* ===== Reviews ===== */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.review-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.review-card .stars { color: #f59e0b; font-size: 16px; letter-spacing: 2px; margin-bottom: 10px; }
.review-card p { color: var(--muted); font-size: 15px; font-style: italic; }
.review-card .who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.review-card .avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), #3b82f6); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 17px;
}
.review-card .who b { color: var(--ink); font-size: 15px; display: block; }
.review-card .who span { color: var(--muted); font-size: 13px; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.about-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.about-card h3 { color: var(--ink); font-size: 18px; margin-bottom: 14px; }
.about-card table { width: 100%; border-collapse: collapse; }
.about-card td { padding: 9px 0; font-size: 15px; border-bottom: 1px solid var(--border); }
.about-card td:first-child { color: var(--muted); width: 42%; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-info { background: linear-gradient(135deg, var(--ink) 0%, #1e293b 100%); color: #fff; border-radius: var(--radius); padding: 34px; }
.contact-info h3 { font-size: 20px; margin-bottom: 20px; }
.contact-info .row { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,0.12); font-size: 15px; }
.contact-info .row:last-child { border-bottom: none; }
.contact-info .row a { color: #fff; text-decoration: none; }
.contact-info .row a:hover { text-decoration: underline; }
.contact-form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.contact-form label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-size: 14px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px;
  font-size: 15px; font-family: inherit; margin-bottom: 16px; resize: vertical; background: #fafbfd;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--primary); border-color: transparent; background: #fff; }
.contact-form .btn { width: 100%; border: none; cursor: pointer; font-family: inherit; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 44px 0; font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.site-footer a { color: rgba(255,255,255,0.85); text-decoration: none; }

/* ===== Floating social buttons ===== */
.social-float { position: fixed; right: 18px; bottom: 18px; z-index: 99; display: flex; flex-direction: column; gap: 12px; }
.social-float a { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,0.22); transition: transform .15s; text-decoration: none; }
.social-float a:hover { transform: scale(1.1); }
.social-float svg { width: 26px; height: 26px; fill: #fff; }
.social-float .vk-txt { color: #fff; font-weight: 800; font-size: 19px; }
.sf-tg { background: #229ED9; }
.sf-wa { background: #25D366; }
.sf-vk { background: #0077FF; }

/* ===== Footer social ===== */
.footer-social { display: flex; gap: 12px; margin-top: 12px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; transition: background .15s; text-decoration: none; }
.footer-social a:hover { background: rgba(255,255,255,0.25); }
.footer-social svg { width: 20px; height: 20px; fill: #fff; }
.footer-social .vk-txt { color: #fff; font-weight: 800; font-size: 14px; }

/* ===== Responsive ===== */
@media (max-width: 720px) {
  .nav { gap: 14px; }
  .nav a { font-size: 13px; }
  .hero h1 { font-size: 32px; }
  .hero p.sub { font-size: 16px; }
  section { padding: 54px 0; }
  .contact-grid { grid-template-columns: 1fr; }
}
