/* ============================================================
   Копирен Свят – site.css
   Clean, professional design inspired by nevex.co.uk
   ============================================================ */

:root {
  --primary:       #1c3d6e;
  --primary-dark:  #122951;
  --primary-light: #2563a8;
  --accent:        #c0392b;
  --accent-hover:  #a93226;
  --bg:            #f4f6f9;
  --bg-white:      #ffffff;
  --text:          #1e272e;
  --text-muted:    #6c757d;
  --border:        #dee2e6;
  --shadow-sm:     0 2px 8px rgba(0,0,0,.07);
  --shadow-md:     0 4px 20px rgba(0,0,0,.11);
  --radius:        8px;
  --radius-lg:     12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Ubuntu, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-light); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ─── Buttons ─── */
.btn {
  display: inline-block;
  padding: 11px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  text-decoration: none !important;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: #f0f4ff; }
.btn-ghost { background: transparent; border: 2px solid var(--primary-light); color: var(--primary-light); }
.btn-ghost:hover { background: rgba(37,99,168,.08); }

/* ─── Announcement bar ─── */
.announcement-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,.88);
  text-align: center;
  font-size: .82rem;
  padding: 7px 16px;
  letter-spacing: .01em;
}
.announcement-bar a { color: #fff; text-decoration: underline; }

/* ─── Top info bar ─── */
.topbar {
  background: #0f2347;
  color: rgba(255,255,255,.8);
  font-size: .82rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.topbar-group { display: flex; align-items: center; gap: 18px; }
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,.8);
  text-decoration: none;
}
.topbar-item:hover { color: #fff; text-decoration: none; }
.topbar-icon { font-size: .95rem; }

/* ─── Header / Nav ─── */
.site-header {
  background: var(--primary);
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
  position: sticky;
  top: 0;
  z-index: 200;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 66px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  flex-shrink: 0;
}
.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.logo-text strong {
  display: block;
  font-size: 1.05rem;
  color: #fff;
  font-weight: 800;
  letter-spacing: -.01em;
}
.logo-text span {
  font-size: .72rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .09em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.main-nav a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 6px;
  font-size: .94rem;
  font-weight: 500;
  transition: background .18s, color .18s;
}
.main-nav a:hover,
.main-nav a.active {
  background: rgba(255,255,255,.13);
  color: #fff;
}

.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 1.6rem;
  padding: 4px 8px;
  line-height: 1;
}

/* ─── Hero Slider ─── */
.hero {
  position: relative;
  height: 500px;
  overflow: hidden;
  background: var(--primary-dark);
}
@media (max-width: 768px) { .hero { height: 340px; } }

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transition: opacity .9s ease;
}
.slide.active { opacity: 1; z-index: 1; }

.slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 28, 60, .58);
}
.slide-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 700px;
  padding: 20px;
}
.slide-label {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.slide-content h1 {
  font-size: clamp(1.7rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.13;
  margin-bottom: 14px;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.slide-content p {
  font-size: 1.05rem;
  opacity: .9;
  margin-bottom: 26px;
  text-shadow: 0 1px 5px rgba(0,0,0,.3);
}
.slide-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Slide background gradients */
.slide-bg-1 { background: linear-gradient(135deg, #1a3a6b 0%, #0d4c8f 50%, #1565c0 100%); }
.slide-bg-2 { background: linear-gradient(135deg, #1a1a2e 0%, #4a1942 50%, #880e4f 100%); }
.slide-bg-3 { background: linear-gradient(135deg, #0d3b2e 0%, #1b5e20 50%, #00695c 100%); }

/* Hero controls */
.hero-prev, .hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,.32);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.hero-prev { left: 16px; }
.hero-next { right: 16px; }
.hero-prev:hover, .hero-next:hover { background: rgba(0,0,0,.55); }

.hero-dots {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}
.hero-dot.active { background: #fff; transform: scale(1.2); }

/* ─── Info Strip ─── */
.info-strip { background: var(--accent); color: #fff; }
.info-strip .container {
  display: flex;
  align-items: stretch;
}
.info-item {
  flex: 1;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 13px;
  border-right: 1px solid rgba(255,255,255,.22);
}
.info-item:last-child { border-right: none; }
.info-icon { font-size: 1.7rem; flex-shrink: 0; }
.info-item h4 {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  opacity: .8;
  margin-bottom: 2px;
}
.info-item p { font-size: .95rem; font-weight: 600; }
.info-item a { color: #fff; }

/* ─── Section Titles ─── */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-white); }
.section-head { text-align: center; margin-bottom: 48px; }
.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 8px;
}
.section-head h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-head p {
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  font-size: 1.02rem;
}

/* ─── Service Cards ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s, transform .25s;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.sc-icon {
  font-size: 2rem;
  width: 58px;
  height: 58px;
  background: rgba(28,61,110,.07);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.service-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.service-card p {
  color: var(--text-muted);
  font-size: .91rem;
  line-height: 1.62;
  flex: 1;
  margin-bottom: 18px;
}
.sc-link {
  color: var(--accent);
  font-weight: 600;
  font-size: .88rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}
.sc-link:hover { text-decoration: underline; }

/* ─── About / Intro ─── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } }

.about-text h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}
.about-text p {
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.75;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}
.stat-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
}
.stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}
.stat-label {
  font-size: .78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.about-visual {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  box-shadow: var(--shadow-md);
}

/* ─── CTA Banner ─── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  text-align: center;
  padding: 72px 20px;
}
.cta-banner h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.cta-banner p {
  opacity: .85;
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto 28px;
}
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─── Footer ─── */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,.78); }
.footer-main { padding: 56px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 36px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { font-size: .87rem; line-height: 1.68; opacity: .72; max-width: 280px; }
.footer-socials { display: flex; gap: 8px; margin-top: 16px; }
.footer-socials a {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,.1);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 700;
  transition: background .2s;
}
.footer-socials a:hover { background: rgba(255,255,255,.22); }

.footer-col h4 {
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  color: rgba(255,255,255,.68);
  text-decoration: none;
  font-size: .87rem;
  transition: color .18s;
}
.footer-col ul li a:hover { color: #fff; }

.fci-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: .87rem;
}
.fci-icon { font-size: .95rem; margin-top: 1px; opacity: .75; flex-shrink: 0; }
.fci-item a { color: rgba(255,255,255,.75); text-decoration: none; }
.fci-item a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 16px 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
}
.footer-bottom a { color: rgba(255,255,255,.45); transition: color .18s; }
.footer-bottom a:hover { color: rgba(255,255,255,.75); }

/* ─── Page Hero (inner pages) ─── */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 52px 20px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 10px;
}
.page-hero p { opacity: .85; font-size: 1.05rem; max-width: 540px; margin: 0 auto; }

/* ─── Services Page ─── */
.service-category { margin-bottom: 52px; }
.service-category h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.price-table th {
  background: var(--primary);
  color: #fff;
  padding: 11px 16px;
  text-align: left;
  font-size: .85rem;
  font-weight: 600;
  white-space: nowrap;
}
.price-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  font-size: .91rem;
  vertical-align: middle;
}
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:nth-child(even) td { background: var(--bg); }
.price-tag { font-weight: 700; color: var(--accent); }

.service-quicknav {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.service-quicknav .container { display: flex; flex-wrap: wrap; gap: 8px; }
.qn-link {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 15px;
  font-size: .83rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: background .18s, border-color .18s;
}
.qn-link:hover { background: rgba(28,61,110,.08); border-color: var(--primary-light); color: var(--primary); }

/* ─── Contact Page ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-card {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 34px 28px;
}
.contact-info-card h2 { font-size: 1.35rem; font-weight: 700; margin-bottom: 26px; }
.ci-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.ci-icon {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,.13);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.ci-item h4 { font-size: .76rem; opacity: .72; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 2px; }
.ci-item p { font-size: 1rem; font-weight: 600; }
.ci-item a { color: #fff; text-decoration: none; }
.ci-item a:hover { text-decoration: underline; }

.hours-table { width: 100%; font-size: .89rem; margin-top: 6px; border-collapse: collapse; }
.hours-table td { padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.hours-table tr:last-child td { border-bottom: none; }
.hours-table td:last-child { text-align: right; font-weight: 600; }

.contact-form-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
}
.contact-form-card h2 { font-size: 1.35rem; font-weight: 700; color: var(--primary); margin-bottom: 24px; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: .86rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .94rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-control:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(37,99,168,.14);
}
select.form-control {
  cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236c757d' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  padding-right: 40px;
}
textarea.form-control { min-height: 120px; resize: vertical; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.alert-box {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: .92rem;
  margin-bottom: 20px;
}
.alert-box.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-box.error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ─── Utilities ─── */
.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }
.mt-4  { margin-top: 16px; }
.mt-8  { margin-top: 32px; }
.mb-4  { margin-bottom: 16px; }
.mb-8  { margin-bottom: 32px; }

/* ─── Responsive Nav ─── */
@media (max-width: 820px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    flex-direction: column;
    padding: 10px;
    gap: 2px;
    box-shadow: 0 6px 20px rgba(0,0,0,.2);
    z-index: 300;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 11px 16px; border-radius: 6px; }
  .nav-toggle { display: flex; }
  .nav-cta .btn { display: none; }
  .topbar { display: none; }
}

@media (max-width: 768px) {
  .info-strip .container { flex-direction: column; }
  .info-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.2); width: 100%; }
  .info-item:last-child { border-bottom: none; }
  .about-visual { min-height: 220px; font-size: 4rem; }
  .cta-banner { padding: 48px 20px; }
}
