/*
 /* Theme Name: Translate Theme
 /* Description: Translate Theme
*/

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&family=Geist:ital,wght@0,100..900;1,100..900&display=swap');


/* =========================================
   1. Спільні змінні та базові стилі (GLOBAL)
   ========================================= */
:root {
  --bg: #FDFCF8;
  --ink: #111209;
  --ink2: #3a3a28;
  --muted: #888880;
  --line: rgba(17,18,9,0.10);
  --green: #1E8C3A;
  --greendk: #186830;
  --dark: #0D1A11;
  --paper: #F7F8F3;
  --serif: 'Bodoni Moda', 'Times New Roman', serif;
  --sans: 'Geist', -apple-system, sans-serif;
  --px: clamp(24px, 5vw, 64px);
  --maxw: 1440px;
}

* { box-sizing: border-box; margin: 0; padding: 0; cursor: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}
::selection { background: rgba(30,140,58,0.35); }
a { color: inherit; text-decoration: none; }

/* Кастомний курсор (спільний для всіх сторінок) */
.cursor-dot, #dot {
  position: fixed; width: 22px; height: 22px;
  pointer-events: none; z-index: 9999999; top: 0; left: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Cpath d='M4 2L4 17L8 13L11 19L13 18L10 12L16 12Z' fill='%231E8C3A' stroke='white' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: contain;
  transform: translate(-2px, -2px); transition: width .2s, height .2s;
}
/* Специфічний розмір курсору для головної сторінки (було 24px) */
.page-template-main .cursor-dot { width: 24px; height: 24px; }
body:has(a:hover) .cursor-dot, body:has(button:hover) .cursor-dot,
body:has(a:hover) #dot, body:has(button:hover) #dot { width: 32px; height: 32px; }

/* Маркер та анімації */
.marker {
  display: inline; padding: 0 0.05em;
  background-image: linear-gradient(to right, rgba(30,140,58,0.28), rgba(30,140,58,0.50), rgba(30,140,58,0.28));
  background-repeat: no-repeat; background-size: 100% 56%; background-position: 0 76%;
}
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.page-template-main .reveal { transform: translateY(24px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.on { opacity: 1; transform: translateY(0); }

/* Рядок, що біжить (Ticker) */
.ticker-wrap, .ticker { overflow: hidden; border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); background: var(--bg); padding: 13px 0; }
.ticker-track { display: flex; width: max-content; white-space: nowrap; animation: ticker 28s linear infinite; }
.ticker-track span { padding: 10px 0; font-size: 10px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); padding-right: 48px; }
/* Деякі сторінки мають інший шрифт у тікері */
.page-template-about .ticker-track span, .page-template-order-pay .ticker-track span { font-family: var(--serif); font-size: 17px; color: rgba(17,18,9,0.14); padding-right: 60px; letter-spacing: -0.01em; padding-top: 0; padding-bottom: 0; text-transform: none; }
@keyframes ticker { from { transform: translateX(0) } to { transform: translateX(-50%) } }
@keyframes tick { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* =========================================
   2. Глобальні компоненти (Nav, Footer, Buttons, Forms)
   ========================================= */

/* NAV */
.nav, nav {
  position: fixed; top: 0; z-index: 50; height: 64px;
  background: rgba(253,252,248,0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); display: flex; align-items: center;width:100%;
}
nav { padding: 0 clamp(24px,5vw,64px); gap: 32px; } /* Для contacts та privacy */
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--px);
  height: 100%; display: flex; align-items: center; gap: 32px; width: 100%;
}
.brand { display: flex; align-items: baseline; gap: 10px; font-family: var(--serif); font-size: 20px; color: var(--ink); white-space: nowrap; text-decoration: none; }
.brand-sub { font-family: var(--sans); font-size: 9px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-left: 10px; }
.nav-links { margin-left: auto; display: flex; gap: 28px; align-items: center; font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: #444;position:relative;}
.nav-links a { color: inherit; transition: color .2s; }
.nav-links a:hover { color: var(--green); }
.nav-links .sub-menu{    position: absolute;top: 40px;left: 1px;display: flex;flex-direction: column;gap: 15px;box-shadow: 0px 0px 10px rgb(0 0 0 / 15%);padding: 15px;background: #fff;background: rgba(253, 252, 248, 0.92);backdrop-filter: blur(12px);-webkit-backdrop-filter: blur(12px);border-radius: 5px;width: 260px; opacity: 0;visibility: hidden;pointer-events: none;transform: translateY(-15px);transition:opacity .3s ease,transform .3s ease,visibility .3s ease;}
.nav-links:has(.services-item:hover) .sub-menu, .nav-links .sub-menu:hover {opacity: 1;visibility: visible;pointer-events: auto;transform: translateY(0);}
.sub-menu:before{content: '';position: absolute;left: 0;top: -29px;width: 100%;height: 29px;background: transparent;}
.nav-links .sub-menu a{border-bottom:1px dotted #000;padding-bottom: 10px;}
.nav-links .sub-menu a:last-child{border-bottom:none;padding-bottom: 0px;}
.nav-btn, .nav-cta {
  padding: 10px 18px; border-radius: 10px; font-size: 11px; font-weight: 500;
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink);
  transition: background .2s; white-space: nowrap; text-decoration: none;
}
.nav-btn:hover, .nav-cta:hover { background: var(--green); border-color: var(--green); }
/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 10px;
  font-size: 13px; font-weight: 500; font-family: var(--sans);
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink);
  transition: background .25s, transform .2s, border-color .25s; width: fit-content;
}
.page-template-main .btn, .page-template-about .btn, .page-template-order-pay .btn { padding: 12px 22px; }
.btn:hover { background: var(--green); border-color: var(--green); transform: translateY(-1px); }
.btn-lg { padding: 15px 26px; font-size: 14px; }
.btn-green { background: var(--green); border-color: var(--green); }
.btn-green:hover { background: var(--greendk); border-color: var(--greendk); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(17,18,9,0.25); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* FOOTER */
footer { background: var(--dark); color: var(--paper); padding: clamp(36px,5vw,56px) var(--px) clamp(24px,3vw,36px); }
.page-template-privacy footer { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 8px; }
.page-template-contacts footer { padding: clamp(36px,5vw,56px) clamp(24px,5vw,64px) clamp(24px,3vw,36px); }
.ft-inner { max-width: var(--maxw); margin: 0 auto; }
.ft-name { font-family: var(--serif); font-size: clamp(24px,3.5vw,48px); letter-spacing: -0.02em; display: flex; align-items: baseline; gap: 14px; padding-bottom: 20px; justify-content: space-between; color: var(--paper); }
.page-template-main .ft-name, .page-template-about .ft-name, .page-template-order-pay .ft-name { font-size: clamp(28px,4vw,48px); justify-content: flex-start; }
.ft-name-sub, .ft-sub { font-family: var(--sans); font-size: 9px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(247,248,243,0.38); }
.ft-divider, .ft-line { border: none; border-top: 1px solid rgba(255,255,255,0.12); margin-bottom: 32px; }
.page-template-main .ft-divider, .page-template-about .ft-divider, .page-template-order-pay .ft-divider, .page-template-contacts .ft-line { margin: 0 0 32px; }
.ft-cols { display: grid; grid-template-columns: 1.6fr 1.8fr 1fr 1.2fr; gap: 24px; margin-bottom: 32px; }
.ft-col h4 { font-size: 9px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 16px; }
.ft-col p, .ft-col-lead { font-size: 14px; line-height: 1.65; color: rgba(247,248,243,0.72); }
.ft-col-lead span { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(247,248,243,0.35); }
.ft-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ft-col li a, .ft-col a { font-size: 14px; color: rgba(247,248,243,0.8); transition: color .2s; text-decoration: none; }
.ft-col li a:hover, .ft-col a:hover { color: var(--green); }
.page-template-main .ft-col a:hover, .page-template-about .ft-col a:hover, .page-template-order-pay .ft-col a:hover { color: var(--paper); }
.ft-bottom-divider, .ft-line2 { border: none; border-top: 1px solid rgba(255,255,255,0.10); margin-bottom: 18px; }
.page-template-main .ft-bottom-divider, .page-template-about .ft-bottom-divider, .page-template-order-pay .ft-bottom-divider, .page-template-contacts .ft-line2 { margin: 0 0 18px; }
.ft-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
.ft-copy { font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.28); }
.ft-legal { font-size: 10px; color: rgba(255,255,255,0.22); margin-top: 4px; }

/* FORMS (Глобальні стилі форм та CTA) */
.cta-section { background: var(--green); padding: clamp(56px,8vw,100px) var(--px); margin-top: clamp(40px,5vw,64px); text-align: center; }
.page-template-main .cta-section, .page-template-about .cta-section, .page-template-order-pay .cta-section { padding: 40px var(--px); margin-top: 0; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.cta-inner { max-width: var(--maxw); margin: 0 auto; }
.cta-label { font-size: 9px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.page-template-main .cta-label, .page-template-about .cta-label, .page-template-order-pay .cta-label { letter-spacing: 0.18em; margin-bottom: 20px; }
.cta-h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px,5vw,72px); line-height: 1.05; letter-spacing: -0.025em; color: #fff; max-width: 900px; margin: 0 auto 36px; }
.page-template-main .cta-h2, .page-template-about .cta-h2, .page-template-order-pay .cta-h2 { line-height: 1.02; margin-bottom: 24px; max-width: none; }
.cta-h2 em { font-style: italic; }

.form-wrap { background: var(--bg); border-radius: 16px; padding: clamp(24px,3vw,36px); max-width: 620px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; text-align: left; width: 100%; }
.page-template-main .form-wrap, .page-template-about .form-wrap, .page-template-order-pay .form-wrap { background: var(--paper); padding: 28px; max-width: 560px; gap: 10px; }
.field { width: 100%; padding: 13px 18px; border: 1px solid rgba(17,18,9,0.12); border-radius: 10px; font-family: var(--sans); font-size: 14px; color: var(--ink); background: #fff; outline: none; transition: border-color .2s; }
.page-template-main .field, .page-template-about .field, .page-template-order-pay .field { padding: 11px 16px; }
.field:focus { border-color: var(--green); }
.field::placeholder { color: #bbb; }
textarea.field { min-height: 80px; resize: vertical; }
.page-template-main textarea.field, .page-template-about textarea.field, .page-template-order-pay textarea.field { min-height: 70px; }
.form-attach-label { font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

.dropzone { border: 1px dashed rgba(17,18,9,0.18); border-radius: 10px; background: var(--bg); padding: 24px; text-align: center; cursor: pointer; }
.page-template-main .dropzone, .page-template-about .dropzone, .page-template-order-pay .dropzone { background: #F5F5F0; padding: 16px 20px; }
.dropzone p { font-size: 13px; color: var(--ink2); margin-bottom: 10px; }
.page-template-main .dropzone p, .page-template-about .dropzone p, .page-template-order-pay .dropzone p { color: #888; margin-bottom: 12px; }
.dropzone-icon { font-size: 18px; color: var(--muted); margin-bottom: 8px; }
.page-template-main .dropzone-icon, .page-template-about .dropzone-icon, .page-template-order-pay .dropzone-icon { font-size: 24px; color: #bbb; }
.dropzone-btn { display: inline-flex; align-items: center; padding: 9px 20px; background: var(--ink); color: #fff; border-radius: 8px; font-size: 12px; font-weight: 500; }
.page-template-main .dropzone-btn, .page-template-about .dropzone-btn, .page-template-order-pay .dropzone-btn { padding: 8px 18px; color: var(--paper); }
.dropzone-hint { font-size: 10px; color: var(--muted); margin-top: 8px; }
.page-template-main .dropzone-hint, .page-template-about .dropzone-hint, .page-template-order-pay .dropzone-hint { color: #bbb; }

.form-submit { width: 100%; padding: 15px; background: var(--green); color: #fff; border: none; border-radius: 10px; font-family: var(--sans); font-size: 14px; font-weight: 500; transition: background .2s; cursor: pointer; }
.form-submit:hover { background: var(--greendk); }
.form-privacy { font-size: 10px; color: var(--muted); text-align: center; }
.page-template-main .form-privacy, .page-template-about .form-privacy, .page-template-order-pay .form-privacy { color: #aaa; line-height: 1.5; }
.form-privacy a { color: var(--muted); text-decoration: underline; }
.page-template-main .form-privacy a, .page-template-about .form-privacy a, .page-template-order-pay .form-privacy a { color: #aaa; }

/* MOBILE FIXED CTA */
.mobile-fixed-cta, .mobile-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  padding: 12px 24px 28px; background: linear-gradient(to top, var(--bg) 70%, transparent);
}
.mobile-fixed-cta a, .mobile-cta a {
  display: flex; align-items: center; justify-content: center; width: 100%; padding: 15px;
  background: var(--ink); color: var(--paper); border-radius: 10px; font-size: 14px; font-weight: 500;
  font-family: var(--sans); text-decoration: none; box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.mobile-fixed-cta a:hover, .mobile-cta a:hover { background: var(--green); }


/* =========================================
   3. Спільні блоки контентних/сервісних сторінок
   ========================================= */

.pg-header { max-width: var(--maxw); margin: 0 auto; padding: clamp(48px,7vw,100px) var(--px) clamp(40px,5vw,64px); display: grid; grid-template-columns: 1fr 280px; gap: 48px; align-items: end; }
.page-template-about .pg-header { grid-template-columns: 1fr; padding: clamp(80px,10vw,140px) var(--px) clamp(56px,7vw,96px); border-bottom: 1px solid var(--line); gap: 0; }
.page-template-order-pay .pg-header { grid-template-columns: 1fr; padding: clamp(105px,5vw,105px) var(--px) clamp(32px,4vw,48px); border-bottom: 1px solid var(--line); gap: 0; }
.blog .pg-header, .single-post .pg-header { grid-template-columns: 1fr; }

.pg-breadcrumb { font-size: 10px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.pg-breadcrumb a { color: var(--muted); }
.pg-breadcrumb a:hover { color: var(--green); }

.pg-label { font-size: 10px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.page-template-about .pg-label, .page-template-order-pay .pg-label { color: var(--muted); gap: 14px; margin-bottom: clamp(28px,4vw,48px); }
.page-template-order-pay .pg-label { margin-bottom: clamp(20px,3vw,32px); }
.pg-label::before { content: ''; width: 24px; height: 1px; background: var(--green); }
.page-template-about .pg-label::before, .page-template-order-pay .pg-label::before { display: none; }
.page-template-about .pg-label::after, .page-template-order-pay .pg-label::after { content: ''; width: 60px; height: 1px; background: var(--ink); opacity: .2; }

.pg-h1 { font-family: var(--serif); font-size: clamp(36px,5.5vw,76px); line-height: 1.0; letter-spacing: -0.025em; }
.page-template-about .pg-h1 { font-weight: 400; font-size: clamp(36px,5.5vw,80px); line-height: 1.02; color: var(--ink); }
.page-template-order-pay .pg-h1 { font-weight: 400; font-size: clamp(28px,3.5vw,52px); line-height: 1.02; color: var(--ink); }
.pg-h1 em { font-style: italic; }

.pg-sub { font-size: clamp(14px,1.2vw,16px); line-height: 1.65; color: var(--ink2); margin-top: 20px; max-width: 52ch; }
.pg-side { display: flex; flex-direction: column; gap: 20px; padding-bottom: 8px; }
.pg-side-stat .k { font-size: 9px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 4px; }
.pg-side-stat .v { font-family: var(--serif); font-size: clamp(28px,2.5vw,40px); line-height: 1; letter-spacing: -0.02em; }
.pg-side-stat .v small { font-family: var(--sans); font-size: 12px; color: #888; margin-left: 2px; }

.content-wrap { max-width: var(--maxw); margin: 0 auto; }
.section-block { padding: clamp(56px,7vw,96px) var(--px); border-top: 1px solid var(--line); }
.section-block:first-child { border-top: none; }

.s-label { font-size: 9px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.s-h2 { font-family: var(--serif); font-size: clamp(26px,3vw,42px); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 20px; }
.s-h2 em { font-style: italic; }
.s-body { font-size: clamp(14px,1.1vw,16px); line-height: 1.7; color: var(--ink2); max-width: 62ch; }
.s-body + .s-body { margin-top: 14px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,5vw,80px); align-items: start; }
.two-col-wide { grid-template-columns: 1.3fr 1fr; }

/* Doc List */
.doc-list { list-style: none; display: flex; flex-direction: column; border-top: 1px solid var(--line); margin-top: 28px; }
.doc-list li { display: flex; align-items: flex-start; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.5; color: var(--ink2); transition: padding-left .25s, color .25s; }
.doc-list li:hover { padding-left: 6px; color: var(--ink); }
.doc-list li::before { content: '→'; color: var(--green); flex-shrink: 0; margin-top: 1px; font-size: 13px; }
.doc-list li.has-sub::before { display: none; }
.doc-list li.has-sub { flex-direction: column; gap: 6px; padding-left: 0; }
.doc-list li.has-sub:hover { padding-left: 0; }
.doc-list li.has-sub .sub-title { display: flex; align-items: flex-start; gap: 16px; font-size: 14px; color: var(--ink2); }
.doc-list li.has-sub .sub-title::before { content: '→'; color: var(--green); flex-shrink: 0; font-size: 13px; margin-top: 1px; }
.sub-list { list-style: none; padding-left: 30px; display: flex; flex-direction: column; gap: 2px; }
.sub-list li { font-size: 13px; color: var(--muted); padding: 3px 0; border: none; display: flex; gap: 10px; }
.sub-list li::before { content: '–'; color: var(--green); flex-shrink: 0; }

/* Process Steps */
.process-steps { display: grid; grid-template-columns: repeat(5,1fr); gap: 0; margin-top: 40px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.step { padding: 28px 20px; border-right: 1px solid var(--line); position: relative; transition: background .3s; }
.step:last-child { border-right: none; }
.step:hover { background: rgba(30,140,58,0.04); }
.step-num { font-size: 9px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green); margin-bottom: 12px; }
.step-title { font-family: var(--serif); font-size: 16px; line-height: 1.3; margin-bottom: 8px; }
.step-body { font-size: 12px; line-height: 1.6; color: var(--muted); }

/* Cert Box */
.cert-box { background: rgba(30,140,58,0.06); border: 1px solid rgba(30,140,58,0.18); border-radius: 16px; padding: clamp(28px,3vw,40px); display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.cert-item { border-left: 2px solid rgba(30,140,58,0.3); padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.cert-title { font-family: var(--serif); font-size: 20px; margin-bottom: 4px; }
.cert-body { font-size: 14px; line-height: 1.7; color: var(--ink2); margin: 0; padding: 0; }
.cert-body + .cert-body { margin-top: 0; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); margin-top: 32px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-size: clamp(14px,1.1vw,16px); font-weight: 500; color: var(--ink); cursor: none; gap: 20px; }
.faq-q::after { content: '+'; font-size: 20px; color: var(--green); flex-shrink: 0; transition: transform .3s; font-weight: 300; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { display: none; padding-bottom: 20px; font-size: 14px; line-height: 1.7; color: var(--ink2); max-width: 64ch; }
.faq-item.open .faq-a { display: block; }

/* Related Cards */
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 32px; }
.related-card { padding: 24px; border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; gap: 8px; transition: border-color .25s, transform .25s; }
.related-card:hover { border-color: var(--green); transform: translateY(-2px); }
.related-card-label { font-size: 9px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.related-card-title { font-family: var(--serif); font-size: 17px; line-height: 1.3; }
.related-card-arrow { font-size: 12px; color: var(--green); margin-top: auto; padding-top: 8px; }


/* =========================================
   4. Унікальні стилі конкретних сторінок
   ========================================= */

/* --- MAIN PAGE --- */
.page-template-main .hero { max-width: var(--maxw); margin: 0 auto; padding: clamp(105px,8vw,120px) var(--px) clamp(48px,6vw,80px); display: grid; grid-template-columns: 1fr 260px; gap: 64px; align-items: end; min-height: calc(100vh - 64px); }
.page-template-main .hero-label { font-size: 10px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 14px; margin-bottom: clamp(36px,6vw,64px); }
.page-template-main .hero-label::after { content: ''; width: 80px; height: 1px; background: var(--ink); opacity: 0.25; }
.page-template-main .hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px,7.5vw,108px); line-height: 0.95; letter-spacing: -0.025em; }
.page-template-main .hero h1 em { font-style: italic; }
.page-template-main .hero-sub { margin-top: clamp(20px,3vw,32px); max-width: 540px; font-size: clamp(14px,1.2vw,16px); line-height: 1.6; color: var(--ink2); }
.page-template-main .hero-sub strong { color: var(--ink); font-weight: 600; }
.page-template-main .hero-cta { margin-top: clamp(24px,3vw,36px); display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.page-template-main .hero-micro { font-size: 10px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }
.page-template-main .hero-side { display: flex; flex-direction: column; gap: 28px; padding-bottom: 4px; align-self: start; }
.page-template-main .stat .k { display: block; font-size: 9px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.page-template-main .stat .v { font-family: var(--serif); font-size: clamp(36px,3.5vw,52px); line-height: 1; letter-spacing: -0.02em; }
.page-template-main .stat .v small { font-family: var(--sans); font-size: 13px; color: #666; margin-left: 3px; }
.page-template-main .section { max-width: var(--maxw); margin: 0 auto; padding: clamp(80px,10vw,140px) var(--px); position: relative; overflow: hidden; }
.page-template-main .section-head { display: grid; grid-template-columns: 180px 1fr; gap: 40px; align-items: baseline; margin-bottom: clamp(40px,5vw,72px); position: relative; }
.page-template-main .section-idx { display: flex; flex-direction: column; gap: 4px; }
.page-template-main .section-num { font-size: 10px; font-weight: 500; letter-spacing: 0.14em; color: var(--muted); }
.page-template-main .section-tag { font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.page-template-main .section-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px,4vw,56px); line-height: 1.02; letter-spacing: -0.02em; }
.page-template-main .section-lede { font-size: 15px; line-height: 1.6; color: var(--ink2); max-width: 52ch; margin-top: 12px; }
.page-template-main .svc-list { border-top: 1px solid var(--line); }
.page-template-main .svc-row { display: grid; grid-template-columns: 56px 1.1fr 1fr auto; gap: 32px; align-items: center; padding: 28px 8px; border-bottom: 1px solid var(--line); cursor: pointer; transition: padding-left .3s ease, background .3s ease; text-decoration: none; color: inherit; }
.page-template-main .svc-row:hover { padding-left: 24px; background: linear-gradient(to right, rgba(30,140,58,0.12) 0%, transparent 80%); }
.page-template-main .svc-n { font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: 0.08em; }
.page-template-main .svc-name { font-family: var(--serif); font-size: clamp(20px,2.2vw,30px); line-height: 1.1; letter-spacing: -0.01em; }
.page-template-main .svc-meta { font-size: 13px; color: var(--ink2); line-height: 1.45; }
.page-template-main .svc-more { font-size: 12px; font-weight: 500; color: var(--ink2); white-space: nowrap; transition: color .2s; }
.page-template-main .svc-row:hover .svc-more { color: var(--green); }
.page-template-main .about-teaser { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.page-template-main .about-teaser-inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(56px,7vw,100px) var(--px); display: flex; justify-content: space-between; align-items: center; gap: 48px; }
.page-template-main .about-label { font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.page-template-main .about-lead { font-family: var(--serif); font-weight: 400; font-size: clamp(24px,3vw,40px); line-height: 1.15; letter-spacing: -0.015em; max-width: 600px; }
.page-template-main .deco-num { position: absolute; top: -20px; right: 0; font-family: var(--serif); font-size: clamp(120px, 16vw, 220px); line-height: 1; color: rgba(17,18,9,0.04); letter-spacing: -0.04em; pointer-events: none; user-select: none; }
.page-template-main .hero-est { position: absolute; bottom: clamp(40px,5vw,80px); right: var(--px); font-size: 9px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(17,18,9,0.22); writing-mode: vertical-rl; text-orientation: mixed; }
.page-template-main .hero-word { display: inline-block; opacity: 0; transform: translateY(40px); animation: wordIn .8s cubic-bezier(.16,1,.3,1) forwards; }
@keyframes wordIn { to { opacity: 1; transform: translateY(0); } }

/* --- ABOUT PAGE --- */
.page-template-about { background: var(--bg); }
.page-template-about .timeline { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--px); position: relative; }
.page-template-about .timeline::before { content: ''; position: absolute; left: calc(var(--px) + 24px); top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, var(--line), var(--green) 40%, var(--line)); }
.page-template-about .tl-item { display: grid; grid-template-columns: 64px 1fr; gap: 48px; padding: clamp(48px,6vw,80px) 0; border-bottom: 1px solid var(--line); position: relative; }
.page-template-about .tl-item:last-child { border-bottom: none; }
.page-template-about .tl-dot { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 6px; }
.page-template-about .tl-dot::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line); flex-shrink: 0; transition: border-color .3s, background .3s; position: relative; z-index: 1; }
.page-template-about .tl-item:first-child .tl-dot::before, .page-template-about .tl-item:hover .tl-dot::before { border-color: var(--green); background: var(--green); }
.page-template-about .tl-year { font-size: 9px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); writing-mode: vertical-rl; text-orientation: mixed; }
.page-template-about .tl-item:first-child .tl-year, .page-template-about .tl-item:nth-child(2) .tl-year, .page-template-about .tl-item:nth-child(4) .tl-year { color: var(--green); }
.page-template-about .tl-lead { font-family: var(--serif); font-weight: 400; font-size: clamp(18px,1.8vw,26px); line-height: 1.3; letter-spacing: -0.008em; color: var(--ink); margin-bottom: 16px; max-width: 28ch; }
.page-template-about .tl-lead em { font-style: italic; }
.page-template-about .tl-body { font-size: clamp(14px,1.2vw,16px); line-height: 1.7; color: var(--ink2); max-width: 58ch; }
.page-template-about .tl-stats { display: grid; grid-template-columns: 64px 1fr; gap: 48px; padding: clamp(40px,5vw,64px) 0; border-bottom: 1px solid var(--line); }
.page-template-about .tl-stats-inner { display: flex; gap: clamp(32px,5vw,72px); align-items: flex-end; }
.page-template-about .tl-stat .k { font-size: 9px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); display: block; margin-bottom: 6px; }
.page-template-about .tl-stat .v { font-family: var(--serif); font-size: clamp(36px,4vw,56px); line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.page-template-about .tl-stat .v small { font-family: var(--sans); font-size: 13px; color: #888; margin-left: 3px; }

/* --- BLOG PAGE --- */
.blog .blog-post { display: grid; grid-template-columns: 200px 1fr; gap: 40px; padding: 32px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: padding-left .25s; }
.blog .blog-post:first-child { border-top: 1px solid var(--line); }
.blog .blog-post:hover { padding-left: 8px; }
.blog .blog-post:hover .blog-read { color: var(--green); }
.blog .blog-post-meta { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.blog .blog-cat { font-size: 9px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); }
.blog .blog-date { font-size: 12px; color: var(--muted); }
.blog .blog-title { font-family: var(--serif); font-size: clamp(22px,2.2vw,34px); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 12px; }
.blog .blog-excerpt { font-size: 14px; line-height: 1.7; color: var(--ink2); max-width: 60ch; margin-bottom: 16px; }
.blog .blog-read { font-size: 12px; font-weight: 500; color: var(--muted); transition: color .2s; }


.single-post .blog-post { display: grid; grid-template-columns: 200px 1fr; gap: 40px; padding: 32px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: padding-left .25s; }
.single-post .blog-post:first-child { border-top: 1px solid var(--line); }
.single-post .blog-post:hover { padding-left: 8px; }
.single-post .blog-post:hover .blog-read { color: var(--green); }
.single-post .blog-post-meta { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.single-post .blog-cat { font-size: 9px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); }
.single-post .blog-date { font-size: 12px; color: var(--muted); }
.single-post .blog-title { font-family: var(--serif); font-size: clamp(22px,2.2vw,34px); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 12px; }
.single-post .blog-excerpt { font-size: 14px; line-height: 1.7; color: var(--ink2); max-width: 60ch; margin-bottom: 16px; }
.single-post .blog-read { font-size: 12px; font-weight: 500; color: var(--muted); transition: color .2s; }

/* --- SINGLE POST PAGE --- */
.single-post .article-body { display: flex; flex-direction: column; gap: 0; }
.single-post .article-body p { font-size: clamp(15px,1.2vw,17px); line-height: 1.8; color: var(--ink2); margin-bottom: 24px; }
.single-post .article-body h2 { font-family: var(--serif); font-size: clamp(22px,2.2vw,32px); line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); margin: 40px 0 16px; }
.single-post .article-body h3 { font-family: var(--serif); font-size: clamp(22px,2.2vw,32px); line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); margin: 40px 0 16px; }
.single-post .article-body h4 { font-family: var(--serif); font-size: clamp(22px,2.2vw,32px); line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); margin: 40px 0 16px; }
.single-post .article-body h5 { font-family: var(--serif); font-size: clamp(22px,2.2vw,32px); line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); margin: 40px 0 16px; }
.single-post .article-body ul { list-style: none; display: flex; flex-direction: column; gap: 0; margin-bottom: 24px; border-top: 1px solid var(--line); }
.single-post .article-body ul li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.6; color: var(--ink2); display: flex; gap: 14px; }
.single-post .article-body ul li::before { content: '→'; color: var(--green); flex-shrink: 0; }
.single-post .article-body ol { list-style: none; display: flex; flex-direction: column; gap: 0; margin-bottom: 24px; border-top: 1px solid var(--line); }
.single-post .article-body ol li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.6; color: var(--ink2); display: flex; gap: 14px; }
.single-post .article-body ol li::before { content: '→'; color: var(--green); flex-shrink: 0; }
.single-post .article-cta { background: var(--dark); border-radius: 16px; padding: clamp(24px,3vw,36px); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin: 40px 0; }
.single-post .article-cta p { font-family: var(--serif); font-size: clamp(18px,1.8vw,24px); color: #fff; line-height: 1.3; margin: 0; }

/* --- CONTACTS PAGE --- */
.page-template-contacts body { font-family: 'Geist', sans-serif; background: #FDFCF8; color: #111209; }
.page-template-contacts .layout { display: flex; flex-direction: row; min-height: calc(100vh - 64px); align-items: stretch; }
.page-template-contacts .left { width: 50%; padding: clamp(105px,3vw,40px) clamp(24px,5vw,64px); border-right: 1px solid rgba(17,18,9,0.10); display: flex; flex-direction: column; gap: 48px; }
.page-template-contacts .page-label { font-size: 10px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: #888; margin-bottom: 12px; }
.page-template-contacts h1 { font-family: 'Bodoni Moda', serif; font-size: clamp(32px,3.5vw,52px); line-height: 0.95; letter-spacing: -0.025em; color: #111209; }
.page-template-contacts .page-sub { font-size: 15px; line-height: 1.65; color: #3a3a28; margin-top: 18px; max-width: 40ch; }
.page-template-contacts .contacts { display: flex; flex-direction: column; }
.page-template-contacts .contact { display: flex; align-items: center; gap: 18px; padding: 12px 0; border-bottom: 1px solid rgba(17,18,9,0.10); text-decoration: none; color: #111209; transition: padding-left .25s; }
.page-template-contacts .contact:last-child { border-bottom: none; }
.page-template-contacts .contact:hover { padding-left: 8px; }
.page-template-contacts .icon { width: 34px; height: 34px; border-radius: 8px; background: rgba(30,140,58,0.09); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 15px; color: #1E8C3A; }
.page-template-contacts .icon svg{width:23px;height:23px;}
.page-template-contacts .contact-label { font-size: 9px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: #888; margin-bottom: 1px; }
.page-template-contacts .contact-val { font-size: 13px; color: #111209; }
.page-template-contacts .right { width: 50%; background: #1E8C3A; padding: clamp(105px,3vw,40px) clamp(24px,5vw,64px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.page-template-contacts .right h2 { font-family: 'Bodoni Moda', serif; font-size: clamp(28px,3vw,42px); line-height: 1.08; letter-spacing: -0.02em; color: #fff; margin-bottom: 8px; }
.page-template-contacts .right h2 em { font-style: italic; }
.page-template-contacts .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.page-template-contacts input, .page-template-contacts textarea { width: 100%; padding: 13px 18px; border: 1px solid rgba(255,255,255,0.22); border-radius: 10px; font-family: 'Geist', sans-serif; font-size: 14px; color: #111209; background: rgba(253,252,248,0.96); outline: none; }
.page-template-contacts input:focus, .page-template-contacts textarea:focus { border-color: rgba(255,255,255,0.6); }
.page-template-contacts input::placeholder, .page-template-contacts textarea::placeholder { color: #bbb; }
.page-template-contacts textarea { min-height: 80px; resize: vertical; }
.page-template-contacts .drop { border: 1px dashed rgba(255,255,255,0.3); border-radius: 10px; background: rgba(255,255,255,0.08); padding: 20px; text-align: center; cursor: pointer; }
.page-template-contacts .drop p { font-size: 13px; color: rgba(255,255,255,0.7); margin-bottom: 10px; }
.page-template-contacts .drop-btn { display: inline-flex; padding: 8px 18px; background: rgba(255,255,255,0.15); color: #fff; border-radius: 8px; font-size: 12px; font-weight: 500; }
.page-template-contacts .drop-hint { font-size: 10px; color: rgba(255,255,255,0.4); margin-top: 6px; }
.page-template-contacts .submit { width: 100%; padding: 14px; background: #111209; color: #F7F8F3; border: none; border-radius: 10px; font-family: 'Geist', sans-serif; font-size: 14px; font-weight: 500; cursor: none; transition: background .2s; }
.page-template-contacts .submit:hover { background: #186830; color: #fff; }
.page-template-contacts .privacy { font-size: 10px; color: rgba(255,255,255,0.38); text-align: center; }
.page-template-contacts .privacy a { color: rgba(255,255,255,0.38); text-decoration: underline; }

/* --- ORDER & PAY PAGE --- */
.page-template-order-pay .process-section { border-bottom: 1px solid var(--line); padding: clamp(32px,4vw,52px) var(--px); position: relative; overflow: hidden; }
.page-template-order-pay .process-label { font-size: 10px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: clamp(24px,3vw,36px); max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.page-template-order-pay .process-steps { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; border: none; border-radius: 0; }
.page-template-order-pay .process-steps::before { content: ''; position: absolute; top: 28px; left: 28px; right: 28px; height: 1px; background: linear-gradient(to right, var(--green), var(--line) 80%); }
.page-template-order-pay .process-step { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-right: 24px; padding: 16px 24px 16px 0; position: relative; transition: padding-left .25s; border-right: none; }
.page-template-order-pay .process-step:hover { padding-left: 8px; background: transparent; }
.page-template-order-pay .process-step:hover .process-step-dot { border-color: var(--green); background: var(--green); }
.page-template-order-pay .process-step:hover .process-step-n { color: #fff; }
.page-template-order-pay .process-step-dot { width: 56px; height: 56px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; z-index: 1; transition: border-color .3s, background .3s; }
.page-template-order-pay .process-step-n { font-family: var(--serif); font-size: 18px; color: var(--muted); line-height: 1; }
.page-template-order-pay .process-step-text { font-size: clamp(13px,1.1vw,14px); line-height: 1.6; color: var(--ink2); transition: font-size .25s, color .25s; }
.page-template-order-pay .process-step:hover .process-step-text { font-size: clamp(14px,1.25vw,16px); color: var(--ink); }

.page-template-order-pay .bottom-row { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.page-template-order-pay .bottom-col { padding: clamp(48px,6vw,80px) var(--px); }
.page-template-order-pay .bottom-col:first-child { border-right: 1px solid var(--line); }
.page-template-order-pay .bottom-col-label { font-family: var(--serif); font-weight: 400; font-size: clamp(24px,2.5vw,36px); line-height: 1.05; letter-spacing: -0.015em; color: var(--ink); margin-bottom: clamp(20px,2.5vw,32px); padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.page-template-order-pay .pay-opts { display: flex; flex-direction: column; gap: 12px; }
.page-template-order-pay .pay-opt { display: flex; gap: 14px; align-items: center; padding: 14px 18px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); }
.page-template-order-pay .pay-icon { width: 36px; height: 36px; border-radius: 8px; background: rgba(30,140,58,0.1); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; color: var(--green); flex-shrink: 0; }
.page-template-order-pay .pay-title { font-size: 14px; font-weight: 500; color: var(--ink); }
.page-template-order-pay .pay-desc { font-size: 12px; color: var(--muted); margin-top: 2px; line-height: 1.4; }
.page-template-order-pay .urgent-inner { display: flex; flex-direction: column; gap: 28px; justify-content: center; height: 100%; }
.page-template-order-pay .urgent-text { font-family: var(--serif); font-weight: 400; font-size: clamp(18px,1.8vw,26px); line-height: 1.15; letter-spacing: -0.015em; color: var(--ink); }
.page-template-order-pay .urgent-text em { font-style: italic; color: var(--green); }
.page-template-order-pay .urgent-cta { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 10px; background: var(--green); color: #fff; font-family: var(--sans); font-size: 14px; font-weight: 500; margin-top: clamp(24px,3vw,40px); transition: background .2s; width: fit-content; }
.page-template-order-pay .urgent-cta:hover { background: var(--greendk); }

/* --- PRIVACY PAGE --- */
.page-template-privacy body { background: #FDFCF8; color: #111209; font-family: 'Geist', sans-serif; font-size: 15px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
.page-template-privacy .wrap { max-width: 720px; margin: 0 auto; padding: clamp(48px,8vw,96px) clamp(24px,5vw,64px); }
.page-template-privacy .page-label { font-size: 10px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: #888; margin-bottom: 12px; }
.page-template-privacy h1 { font-family: 'Bodoni Moda', serif; font-size: clamp(36px,5vw,64px); line-height: 1; letter-spacing: -0.025em; margin-bottom: 8px; }
.page-template-privacy .wrap .date { font-size: 13px; color: #888; margin-bottom: 48px; }
.page-template-privacy h2 { font-family: 'Bodoni Moda', serif; font-size: clamp(20px,2.5vw,28px); letter-spacing: -0.015em; margin: 40px 0 12px; }
.page-template-privacy .wrap p { color: #3a3a28; margin-bottom: 14px; }
.page-template-privacy .wrap ul { padding-left: 20px; margin-bottom: 14px; }
.page-template-privacy .wrap li { color: #3a3a28; margin-bottom: 6px; }
.page-template-privacy .wrap a { color: #1E8C3A; text-decoration: underline; }
.page-template-privacy .wrap .divider { border: none; border-top: 1px solid rgba(17,18,9,0.10); margin: 48px 0 0; }


/* =========================================
   5. МЕДІА-ЗАПИТИ (АДАПТИВ)
   ========================================= */

@media (max-width: 960px) {
  /* Глобальні приховання */
  .nav-links, .nav-btn, .cursor-dot, .pg-side { display: none; }
  .mobile-fixed-cta, .mobile-cta { display: block; }
  
  /* Структурні зміни (1 колонка) */
  .pg-header, .two-col, .two-col-wide, .cta-inner, .page-template-contacts .layout { grid-template-columns: 1fr; flex-direction: column; }
  
  /* Структурні зміни (2 колонки) */
  .process-steps, .ft-cols, .cert-box { grid-template-columns: 1fr; }
  .step:nth-child(2) { border-right: none; }
  .step { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
  .related-grid { grid-template-columns: 1fr 1fr; }
  
  /* Специфічні для сторінок */
  .page-template-contacts .left { width: 100%; border-right: none; border-bottom: 1px solid rgba(17,18,9,0.10); }
  .page-template-contacts .right { width: 100% !important; padding: clamp(24px,5vw,40px) clamp(24px,5vw,64px) !important; }
}

@media (max-width: 900px) {
  /* Main */
  .page-template-main .hero-est, .page-template-main .deco-num, #dot { display: none; }
  .page-template-main .hero { overflow: hidden; grid-template-columns: 1fr; gap: 32px; min-height: 0; }
  .page-template-main .hero-side { flex-direction: row; flex-wrap: wrap; gap: 24px; display: flex; border-left: none !important; padding-left: 0 !important; }
  .page-template-main .stat .v { font-size: 32px; }
  .page-template-main .section-head { grid-template-columns: 1fr; gap: 16px; }
  .page-template-main .svc-row { grid-template-columns: 40px 1fr auto; gap: 16px; }
  .page-template-main .svc-meta { display: none; }
  .page-template-main .about-teaser-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .page-template-main .ft-cols { grid-template-columns: 1fr 1fr; gap: 32px; }

  /* About */
  .page-template-about .tl-stats { grid-template-columns: 1fr 1fr !important; gap: 16px !important; text-align: center; }
  .page-template-about .tl-stats-inner { flex-direction: row !important; flex-wrap: wrap; justify-content: center; gap: 16px !important; }

  /* Contacts */
  .page-template-contacts .layout { flex-direction: column; }
  .page-template-contacts .row2 { grid-template-columns: 1fr; }

  /* Order Pay */
  .page-template-order-pay .process-steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .page-template-order-pay .process-steps::before { display: none; }
  .page-template-order-pay .bottom-row { grid-template-columns: 1fr; }
  .page-template-order-pay .bottom-col:first-child { border-right: none; border-bottom: 1px solid var(--line); }
}

@media (max-width: 700px) {
  .blog .blog-post { grid-template-columns: 1fr; gap: 8px; }
  .page-template-about .timeline::before { display: none; }
  .page-template-about .tl-item { grid-template-columns: 1fr; gap: 16px; }
  .page-template-about .tl-dot { flex-direction: row; align-items: center; }
  .page-template-about .tl-year { writing-mode: horizontal-tb; }
  .page-template-about .tl-stats { grid-template-columns: 1fr; gap: 16px; }
  .page-template-about .tl-stats-inner { flex-direction: column; gap: 20px; }
}

@media (max-width: 600px) {
  .process-steps, .related-grid, .ft-cols { grid-template-columns: 1fr!important; }
  .page-template-about .tl-stats { grid-template-columns: 1fr!important; }
}

.codedropz-upload-inner{
	display:flex;
	flex-direction:column;
	margin-top: 24px;
}

.codedropz-upload-inner span{
	order:3;
	color:#bbb;
	font-size:10px;
}

.cd-upload-btn{
	display: inline-flex;
    align-items: center;
    padding: 9px 20px;
    background: var(--ink);
    color: #fff;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
}

.codedropz-upload-inner > div{
	color: #888;
    margin-bottom: 12px;
    font-size: 13px;
}

form .codedropz-upload-handler {
    position: relative;
    background: #F5F5F0;
    padding: 16px 20px 7px 20px;
    border: 1px dashed rgba(17, 18, 9, 0.18);
    border-radius: 10px;
    text-align: center;
}

.reveal form .codedropz-upload-handler {
	background:#fff;
}

.dnd-upload-counter {
    position: absolute;
    right: 5px;
    bottom: 3px;
    font-size: 12px;
    color: #bbb;
    font-size: 10px;
}

.grid-input p{
	display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
	margin-bottom:12px;
}

.form-wrap{
	position:relative;
}

form h4{
	font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #888880;
	margin-bottom:12px;
}

form input[type="text"]{
	padding: 11px 16px;
    width: 100%;
    border: 1px solid rgba(17, 18, 9, 0.12);
    border-radius: 10px;
    font-family: var(--sans);
    font-size: 14px;
    color: var(--ink);
    background: #fff;
    outline: none;
    transition: border-color .2s;
}

form input[type="email"]{
	padding: 11px 16px;
    width: 100%;
    border: 1px solid rgba(17, 18, 9, 0.12);
    border-radius: 10px;
    font-family: var(--sans);
    font-size: 14px;
    color: var(--ink);
    background: #fff;
    outline: none;
    transition: border-color .2s;
}

form textarea{
	padding: 11px 16px;
    width: 100%;
    border: 1px solid rgba(17, 18, 9, 0.12);
    border-radius: 10px;
    font-family: var(--sans);
    font-size: 14px;
    color: var(--ink);
    background: #fff;
    outline: none;
    transition: border-color .2s;
	height:70px;
	margin-top:10px;
}

form input[type="submit"]{
	width: 100%;
    padding: 15px;
    background: var(--green);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 500;
    transition: background .2s;
    cursor: pointer;
	margin-top: 5px;
}

form input[type="submit"]:hover{
	background:#186830;
}

.codedropz-upload-wrapper {
    position: relative;
}

.codedropz-upload-wrapper::before {
    content: "↑";
    position: absolute;
    top: 15px;
    left: 50%;
    font-size: 22px;
    z-index: 9;
    color: #bbbbbb;
    transform: translateX(-50%);
}

.wpcf7-spinner{
	position: absolute;
    left: 0;
    bottom: 0;
}

form .dnd-upload-status .dnd-upload-details .name {
    color: #111209;
    padding: 4px 0;
    padding-right: 60px;
    display: flex;
    font-size: 13px;
}

form .dnd-upload-status .dnd-upload-details .name em {
    color: #111209;
    font-weight: 500;
    font-style: normal;
    font-size: 13px;
}

.dnd-upload-status .dnd-upload-details .dnd-progress-bar span{
	padding-right:5px;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450;
    text-align: center;
    font-size: 14px;
    padding: 10px 20px;
}

.wpcf7-not-valid{
	border-color:red!important;
}

.wpcf7-not-valid-tip{
	display:none!important;
}

.wpcf7 form .wpcf7-response-output{
	display:none;
}

.page-template-contacts form h4{
	display:none;
}

.page-template-contacts form .codedropz-upload-handler{
    border: 1px dashed rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.page-template-contacts form input[type="submit"]{
	background: #111209;
}

.page-template-contacts .cd-upload-btn{
	background: rgba(255, 255, 255, 0.15);
}

.page-template-contacts .codedropz-upload-inner > div{
	color: rgba(255, 255, 255, 0.7);
}

.page-template-contacts .codedropz-upload-inner span{
	color: rgba(255, 255, 255, 0.4);
}

.page-template-contacts form textarea{
	background:#fff;
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: none;
  margin-left: auto;
  padding: 0;
  background: none;
  border: none;
  flex-shrink: 0;
}
.nav-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #111209;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* MOBILE DROPDOWN MENU */
	.nav-mobile-menu {display: none;position: fixed;top: 64px;left: 0;right: 0;background: rgba(253,252,248,0.98);backdrop-filter: blur(12px);-webkit-backdrop-filter: blur(12px);border-bottom: 1px solid rgba(17,18,9,0.10);z-index: 49;padding: 16px clamp(24px,5vw,64px) 24px;flex-direction: column;gap: 0;overflow-y: scroll;height: 100%;padding-bottom: 100px;}
	.nav-mobile-menu.open { display: flex; }
	.nav-mobile-menu a {font-size: 15px;font-weight: 500;color: #111209;text-decoration: none;padding: 14px 0;border-bottom: 1px solid rgba(17,18,9,0.08);letter-spacing: 0.01em;transition: color .2s, padding-left .2s;width: 100%;}
	.nav-mobile-menu a:last-child { border-bottom: none; }
	.nav-mobile-menu a:hover { color: #1E8C3A; padding-left: 6px; }
	.nav-mobile-menu .nav-mobile-cta {margin-top: 16px;padding: 14px 20px;background: #111209;color: #F7F8F3 !important;border-radius: 10px;text-align: center;font-size: 13px;border-bottom: none !important;}
	.nav-mobile-menu .nav-mobile-cta:hover {background: #1E8C3A;padding-left: 20px;
}

@media (max-width: 960px) {
	.nav-burger { display: flex; }
	.nav-links { display: none !important; }
	.nav-btn { display: none !important; }
}

@media (max-width: 960px) {
	.nav-mobile-menu {flex-direction: column;align-items: flex-start;}
	.nav-mobile-menu .sub-menu {position: relative;top: 0;left: 0;padding-top: 0;padding-bottom: 0;transition: all .3s ease;flex-direction: column;display: flex;padding-left: 25px;display:none;width: 100%;}
	.nav-mobile-menu .sub-menu.active {display:flex;}
	.nav-mobile-menu .sub-menu a{padding:10px 0;font-size: 14px;}
}

@media(max-width:414px){
	.brand{flex-direction: column;gap: 1px;}
}

/* --- Загальний контейнер (затемнення) --- */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  
  /* Налаштування для плавної появи */
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 99;
}

/* Клас, який активує видимість */
.popup-overlay.is-visible {
  visibility: visible;
  opacity: 1;
}

/* --- Вміст попапу --- */
.popup-content {
  background: #1E8C3A;
  border-radius: 16px;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
  min-height: 320px;
  max-width: 400px;
  width: 90%;
  position: relative;
  font-family: 'Georgia', serif;
  box-sizing: border-box;
}

/* Кнопка закриття (хрестик) */
.popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 5px;
  transition: opacity 0.2s;
}

.popup-close:hover {
  opacity: 0.7;
}

/* Іконка галочки */
.popup-icon {
  width: 64px;
  height: 64px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
}

/* Заголовок */
.popup-title {
  font-size: 32px;
  font-weight: 400;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

/* Текст */
.popup-text {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  max-width: 34ch;
  margin: 0;
  font-family: sans-serif;
  font-weight: 400;
}