/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  overflow-x: hidden;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: #1e293b;
  background-color: #ffffff;
  background-image: url('../images/fractal-left.svg'), url('../images/fractal-right.svg');
  background-position: left -32px top, right -32px top;
  background-repeat: repeat-y, repeat-y;
  background-size: 198px auto, 198px auto;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1600px; margin: 0 auto; padding: 0 40px; }

/* ===== VARIABLES ===== */
:root {
  --blue-dark:   #0f3460;
  --blue-main:   #1a56db;
  --blue-light:  #e8f0fe;
  --blue-hover:  #1347c0;
  --gray-bg:     #f4f7fb;
  --gray-line:   #e2e8f0;
  --gray-text:   #64748b;
  --white:       #ffffff;
  --shadow:      0 2px 12px rgba(15,52,96,.10);
  --shadow-card: 0 4px 20px rgba(15,52,96,.13);
  --radius:      10px;
  --radius-sm:   6px;
}

/* ===== HEADER ===== */
#header { position: sticky; top: 0; z-index: 1000; background: var(--blue-dark); box-shadow: 0 2px 16px rgba(15,52,96,.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.header-left { display: flex; align-items: center; gap: 0; }
.header-left .logo { padding-right: 16px; margin-right: 8px; border-right: 1px solid rgba(255,255,255,.2); }
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-icon { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #fff; flex-shrink: 0; }
.logo-text { font-size: 1.1rem; font-weight: 800; color: #fff; letter-spacing: .5px; line-height: 1.2; }
.logo-text span { display: block; font-size: .77rem; font-weight: 400; color: #93c5fd; letter-spacing: .8px; text-transform: uppercase; margin-top: 5px; }
nav { display: flex; align-items: center; gap: 4px; }
nav a { color: #cbd5e1; font-size: .9rem; font-weight: 500; padding: 7px 16px; border-radius: 6px; transition: background .18s, color .18s; }
nav a:hover { background: rgba(255,255,255,.12); color: #fff; }
.header-phone { color: #fff; font-size: 1rem; font-weight: 700; letter-spacing: .5px; white-space: nowrap; flex-shrink: 0; cursor: default; user-select: text; }
.header-phone small { display: block; font-size: .75rem; font-weight: 400; color: #93c5fd; letter-spacing: .5px; text-align: right; }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.4rem; color: #fff; cursor: pointer; padding: 6px; }
.mobile-nav { display: none; flex-direction: column; background: var(--blue-dark); border-top: 1px solid rgba(255,255,255,.1); padding: 6px 0; }
.mobile-nav.active { display: flex; }
.mob-link { color: #fff; padding: 12px 20px; font-size: 1.05rem; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.05); }
.mob-link:last-child { border-bottom: none; }

/* ===== HERO ===== */
#hero { background: transparent; padding: 96px 0 36px; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; max-width: calc(100% - 100px); margin: 0 auto; }
.hero-content { display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.hero-content h1 { font-size: clamp(2rem, 3.5vw, 3.4rem); font-weight: 900; color: #e67e22; line-height: 1.15; }
.hero-content h1 span { display: block; margin-top: 10px; color: var(--blue-dark); font-size: clamp(1.4rem, 2.5vw, 2.2rem); font-weight: 700; }
.hero-location { font-size: 1.05rem; font-weight: 600; color: var(--blue-dark); }
.hero-bottom-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; margin-top: 10px; }
.hero-features { display: flex; flex-direction: column; gap: 18px; margin-top: -40px; }
.hero-feat { display: flex; align-items: center; gap: 14px; }
.hero-feat-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--blue-light); color: var(--blue-dark); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.hero-feat-text { font-size: 1.02rem; color: #334155; line-height: 1.4; padding-top: 4px; }
.hero-cta-column { display: flex; flex-direction: column; gap: 29px; min-width: 220px; }
.hero-phone-box { background: #f1f5f9; border: 1px solid var(--gray-line); border-radius: var(--radius-sm); padding: 11px 20px; display: flex; align-items: center; gap: 10px; font-size: .97rem; font-weight: 700; color: var(--blue-dark); cursor: default; user-select: text; white-space: nowrap; justify-content: center; }
.hero-phone-box .flag { font-size: 1.1rem; color: #e67e22; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 26px; border-radius: var(--radius-sm); font-size: 1.08rem; font-weight: 600; cursor: pointer; border: 2px solid transparent; transition: all .2s; }
.btn-orange { background: #e67e22; color: #fff; border-color: #e67e22; }
.btn-orange:hover { background: #d35400; border-color: #d35400; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(230,126,34,.35); }
.btn-primary { background: var(--blue-main); color: #fff; border-color: var(--blue-main); }
.btn-primary:hover { background: var(--blue-hover); border-color: var(--blue-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,86,219,.4); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; transform: translateY(-2px); }
.hero-image-wrap { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 32px rgba(15,52,96,.15); transform: scale(0.95); transform-origin: center left; }
.hero-image-wrap img { width: 100%; height: auto; display: block; border-radius: var(--radius); }

/* ===== SECTIONS ===== */
.section { padding: 26px 0; background: transparent; }
.section-gray { background: transparent; }
.section-header, .services-category, .contacts-inner { max-width: calc(100% - 100px); margin-left: auto; margin-right: auto; }
.section-header { text-align: center; margin-bottom: 18px; }
.section-label { display: inline-block; background: var(--blue-light); color: var(--blue-main); font-size: .73rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; padding: 4px 14px; border-radius: 999px; margin-bottom: 10px; }
.section-header h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; color: var(--blue-dark); line-height: 1.2; }
.section-header p { color: var(--gray-text); margin-top: 6px; font-size: 1.08rem; }

/* ===== ADVANTAGES ===== */
.adv-section { background: transparent; position: relative; padding: 51px 0; }
.adv-title { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; color: var(--blue-dark); }
.adv-subtitle { color: var(--gray-text); font-size: 1.1rem; margin-top: 6px; font-style: italic; }
.adv-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; max-width: calc(100% - 100px); margin: 0 auto; }
.adv-item { display: flex; align-items: flex-start; gap: 18px; background: #ffffff; border: 1px solid var(--gray-line); border-radius: var(--radius); box-shadow: 0 4px 16px rgba(15,52,96,.06); padding: 22px 24px; transition: transform .2s, box-shadow .2s; }
.adv-circle { width: 52px; height: 52px; border-radius: 50%; background: #e67e22; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; box-shadow: 0 4px 14px rgba(230,126,34,.28); }
.adv-item-text h3 { font-size: 1.02rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 4px; }
.adv-item-text p { font-size: 1.0rem; color: var(--gray-text); line-height: 1.5; }

/* ===== SERVICES ===== */
.services-category { margin-bottom: 16px; }
.cat-title { display: flex; align-items: center; gap: 12px; font-size: 1.08rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 10px; }
.cat-icon { width: 34px; height: 34px; border-radius: 8px; background: var(--blue-main); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; flex-shrink: 0; }
.services-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--gray-line); }
.services-table thead tr { background: var(--blue-dark); color: #fff; }
.services-table thead th { padding: 12px 18px; font-size: .84rem; font-weight: 600; letter-spacing: .4px; text-align: left; }
.services-table thead th:last-child { text-align: right; width: 220px; }
.services-table tbody tr { border-bottom: 1px solid var(--gray-line); transition: background .15s; }
.services-table tbody tr:last-child { border-bottom: none; }
.services-table tbody tr:hover { background: var(--blue-light); }
.services-table td { padding: 12px 18px; font-size: 1.03rem; color: #1e293b; vertical-align: middle; }
.services-table td:last-child { text-align: right; width: 220px; }
.svc-name { display: flex; align-items: center; gap: 12px; }
.svc-num { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; background: var(--blue-light); color: var(--blue-main); border-radius: 50%; font-size: .84rem; font-weight: 700; flex-shrink: 0; }
.price-badge { display: inline-block; background: var(--blue-light); color: var(--blue-main); font-size: .84rem; font-weight: 700; padding: 4px 14px; border-radius: 999px; white-space: nowrap; }
.time-badge { display: inline-block; background: #f0fdf4; color: #16a34a; font-size: .82rem; font-weight: 600; padding: 2px 10px; border-radius: 999px; white-space: nowrap; }
.services-note { max-width: calc(100% - 100px); margin: 12px auto 0; font-size: .91rem; color: var(--gray-text); font-style: italic; }

/* ===== CONTACTS ===== */
.contacts-inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 24px; align-items: stretch; }
.contact-card { background: var(--white); border: 1px solid var(--gray-line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.contact-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--blue-light); }
.contact-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--gray-line); }
.contact-item:last-child { border-bottom: none; }
.contact-ic { width: 38px; height: 38px; border-radius: 8px; background: var(--blue-light); color: var(--blue-dark); display: flex; align-items: center; justify-content: center; font-size: 1.05rem; flex-shrink: 0; }
.contact-label { font-size: .87rem; color: var(--gray-text); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; display: block; margin-bottom: 2px; }
.contact-val { font-size: 1.02rem; font-weight: 700; color: var(--blue-dark); cursor: default; user-select: text; }
.contact-val.normal { font-size: .93rem; font-weight: 400; color: #334155; }
.messenger-btns { display: flex; gap: 10px; margin-top: 18px; flex-wrap: nowrap; }
.btn-social { flex: 1; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); font-size: 1.35rem; color: #fff; text-decoration: none; transition: transform .2s, box-shadow .2s, filter .2s; }
.btn-social:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.btn-viber { background: #7360f2; }
.btn-viber:hover { background: #624fe1; }
.btn-telegram { background: #229ED9; }
.btn-telegram:hover { background: #1b8ec5; }
.btn-whatsapp { background: #25D366; }
.btn-whatsapp:hover { background: #20bd5a; }
.btn-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.btn-instagram:hover { filter: brightness(1.1); }
.map-wrapper { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--gray-line); height: 100%; min-height: 100%; }
.map-wrapper iframe { width: 100%; height: 100%; border: none; display: block; }

/* ===== FOOTER ===== */
footer { background: var(--blue-dark); color: #94a3b8; padding: 16px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-logo { font-size: 1rem; font-weight: 800; color: #fff; }
.footer-logo small { display: block; font-size: .82rem; font-weight: 400; color: #475569; margin-top: 3px; }
.footer-links { display: flex; gap: 4px; }
.footer-links a { color: #94a3b8; font-size: .88rem; padding: 5px 12px; border-radius: 6px; transition: background .15s, color .15s; }
.footer-links a:hover { background: rgba(255,255,255,.08); color: #fff; }
.footer-copy { font-size: .8rem; color: #475569; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  body { background-image: none; }
  .adv-list { grid-template-columns: 1fr; max-width: 100%; }
  .section-header, .services-category, .contacts-inner, .services-note { max-width: 100%; }
  .contacts-inner { grid-template-columns: 1fr; }
  .map-wrapper { height: 300px; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; max-width: 100%; }
  .hero-bottom-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-image-wrap { order: -1; max-height: 280px; overflow: hidden; transform: none; width: 100%; }
  .hero-image-wrap img { object-fit: cover; max-height: 280px; width: 100%; }
  .header-inner { height: 58px; gap: 12px; }
  .logo-text { font-size: .9rem; }
  .header-left .logo { border-right: none; padding-right: 0; margin-right: 0; }
  .header-phone, nav { display: none; }
  .mobile-menu-btn { display: block; }
  #hero { padding: 36px 0 40px; }
  .hero-features { margin-top: 0; }
  .hero-phone-box { width: 100%; justify-content: center; }
  .btn-orange { width: 100%; justify-content: center; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .container { padding: 0 16px; }
  .services-table thead th:last-child, .services-table td:last-child { width: auto; text-align: right; }
  .services-table thead th, .services-table td { padding: 12px 10px; }
}
@media (max-width: 420px) {
  .services-table thead th:first-child, .services-table td:first-child { min-width: 150px; }
}

