:root {
  --primary: #2e3f57;
  --secondary: #d1a85c;
  --tertiary: #6f8396;
  --accent: #a45b3e;
  --paper: #f5efe6;
  --cream: #fcf9f4;
  --text-primary: #2d3440;
  --text-secondary: #5f6670;
  --white: #ffffff;
  --border: #e5ddd2;
  --shadow: 0 18px 46px rgba(46, 63, 87, 0.12);
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text-secondary);
  background: linear-gradient(135deg, #fdf9f4 0%, #f1ebe3 100%);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
input, textarea, button { font: inherit; }
button { cursor: pointer; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 18px;
  color: var(--text-primary);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.15;
}
p { margin: 0 0 18px; }

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}
.section { padding: 88px 0; }
.section-white { background: var(--white); }
.section-title { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.eyebrow {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}
.text-large { font-size: 19px; }

.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;
  gap: 24px;
  min-height: 84px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.logo-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  font-size: 20px;
}
.logo-title {
  font-size: 31px;
  line-height: 1;
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}
.logo-subtitle {
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-size: 15px;
  color: var(--text-secondary);
  transition: color .25s ease;
}
.main-nav a:hover,
.main-nav a.active { color: var(--primary); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
@media (max-width: 720px) {
  .header-actions>.btn {
display: none;
}
}

.phone-link {
  color: var(--text-secondary);
  font-size: 14px;
  white-space: nowrap;
}
.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--primary);
  font-size: 27px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease, opacity .25s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { opacity: .94; }
.btn-light { background: var(--white); color: var(--primary); }
.btn-outline { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-dark { background: var(--primary); color: var(--white); }

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(46, 63, 87, 0.95) 0%, rgba(46, 63, 87, 0.82) 46%, rgba(164, 91, 62, 0.36) 100%),
    url('../img/hero.png') center/cover no-repeat;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  padding: 112px 0 108px;
  align-items: center;
}
.hero-title {
  font-size: clamp(42px, 5vw, 68px);
  color: var(--white);
  margin-bottom: 24px;
}
.hero p,
.hero li { color: #eef2f6; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 30px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-size: 14px;
}
.hero-meta span { white-space: nowrap; }

.panel {
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
  padding: 34px;
  color: var(--text-secondary);
  position: relative;
}
.panel::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(209,168,92,.28);
  border-radius: 22px;
  pointer-events: none;
}
.panel h2, .panel h3 { color: var(--text-primary); }

.form-stack { display: grid; gap: 14px; }
.form-input, .form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd5ca;
  border-radius: 14px;
  background: rgba(255,255,255,0.96);
  color: var(--text-primary);
}
.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.form-textarea { min-height: 132px; resize: vertical; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 30px;
}
.card-paper {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.card-dark {
  background: var(--primary);
  color: var(--white);
}
.card-dark h3, .card-dark p, .card-dark .price { color: var(--white); }
.icon-box {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}
.icon-primary { background: rgba(46,63,87,.1); color: var(--primary); }
.icon-accent { background: rgba(164,91,62,.1); color: var(--accent); }
.icon-light { background: rgba(255,255,255,.12); color: var(--secondary); }
.price { font-weight: 700; color: var(--text-primary); }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.stat {
  background: var(--white);
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.stat strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--primary);
  font-size: 34px;
  line-height: 1.1;
}
.image-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.feature-item {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 22px;
}
.feature-item h3 { margin-bottom: 8px; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.process-step {
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 28px;
}
.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 16px;
}

.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 16px; }
.faq-item {
  background: var(--paper);
  border-radius: 22px;
  border: 1px solid #e6ddd1;
  padding: 22px 24px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text-primary);
}
.faq-item p { margin-top: 14px; }

.contact-grid {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 36px;
  align-items: start;
}
.contact-list { display: grid; gap: 22px; }
.contact-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
}
.contact-item .icon-box { margin: 0; width: 52px; height: 52px; border-radius: 16px; }
.map-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
}
.map-placeholder {
  min-height: 360px;
  border-radius: 22px;
  border: 2px dashed var(--secondary);
  background: linear-gradient(180deg, #f7efe3 0%, #f2e7d8 100%);
  display: grid;
  place-items: center;
  color: var(--text-primary);
  text-align: center;
  padding: 30px;
}

.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #415572 100%);
  border-radius: var(--radius-lg);
  color: var(--white);
  padding: 42px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-banner h2, .cta-banner p { color: var(--white); }

.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(46, 63, 87, 0.93) 0%, rgba(46, 63, 87, 0.84) 48%, rgba(164, 91, 62, 0.30) 100%), url('../img/case.png') center/cover no-repeat;
}
.page-hero-inner {
  position: relative;
  padding: 92px 0;
  max-width: 760px;
}
.page-hero h1 { color: var(--white); font-size: clamp(36px, 4vw, 58px); }
.breadcrumbs { font-size: 14px; color: #e7edf2; margin-bottom: 18px; }
.breadcrumbs a { color: inherit; }

.content-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}
.columns-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.check-list { display: grid; gap: 14px; }
.check-list li {
  padding-left: 28px;
  position: relative;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--secondary);
  font-weight: 700;
}

.site-footer {
  background: #27384e;
  color: var(--white);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 28px;
}
.site-footer h4 { color: var(--secondary); margin-bottom: 18px; }
.site-footer p,
.site-footer li,
.site-footer a { color: #dfe5ea; }
.footer-bottom {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 14px;
  color: #dfe5ea;
}

.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  background: var(--white);
  border-top: 4px solid var(--secondary);
  box-shadow: 0 -12px 30px rgba(0,0,0,.12);
  display: none;
}
.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}
.cookie-actions { display: flex; gap: 12px; }
.btn-muted { background: #e9ecef; color: var(--text-primary); }

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .85s ease, transform .85s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .hero-inner,
  .grid-2,
  .contact-grid,
  .columns-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4,
  .process-grid,
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-list { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid var(--border);
    padding: 18px 16px 22px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 14px; }
  .mobile-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .phone-link { display: none; }
  .hero-inner { padding: 82px 0 88px; }
  .hero-title { font-size: 40px; }
  .stats,
  .grid-3,
  .grid-4,
  .process-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner,
  .cookie-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .section { padding: 72px 0; }
  .logo-title { font-size: 26px; }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
  .panel, .card, .card-paper, .content-box { padding: 24px; }
}
