/*
Theme Name: Easton Child — Acilen Elektrik
Theme URI: https://www.acilenelektrik.com/
Description: Дочерняя тема Easton: современная дизайн-система Acilen Elektrik (Antalya). Самостоятельный хостинг шрифтов, новая шапка/подвал, компоненты главной страницы.
Author: Acilen Elektrik
Template: easton
Version: 1.0.0
Text Domain: easton-child
*/

/* ============================================================
   1. ШРИФТ (самостоятельный хостинг, без Google CDN)
   ============================================================ */
@font-face { font-family: "PJS"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/pjs-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "PJS"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/pjs-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "PJS"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/pjs-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "PJS"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/pjs-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "PJS"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/pjs-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "PJS"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/pjs-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "PJS"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("fonts/pjs-800-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "PJS"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("fonts/pjs-800-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ============================================================
   2. ТОКЕНЫ
   ============================================================ */
:root {
  --ae-bg: #14100C;
  --ae-bg-2: #1C1712;
  --ae-glass: rgba(255, 255, 255, .055);
  --ae-glass-2: rgba(255, 255, 255, .09);
  --ae-line-d: rgba(255, 245, 230, .11);
  --ae-text-d: #F7F2EB;
  --ae-muted-d: #B7ABA0;

  --ae-paper: #FAF7F2;
  --ae-paper-2: #F2EDE5;
  --ae-ink: #17130F;
  --ae-muted-l: #6D635A;
  --ae-line-l: #E4DDD3;

  --ae-amber: #FFB43C;
  --ae-amber-deep: #EF9420;
  --ae-amber-ink: #4A2E05;
  --ae-sky: #63C9EA;

  --ae-r-xl: 30px;
  --ae-r-lg: 22px;
  --ae-r-md: 14px;
  --ae-pill: 999px;
  --ae-shell: 1200px;
  --ae-font: "PJS", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ae-lift: 0 2px 4px rgba(0, 0, 0, .04), 0 18px 40px -20px rgba(23, 19, 15, .28);
}

/* ============================================================
   3. БАЗА
   ============================================================ */
body,
body.boxed_wrapper,
.elementor-widget-container {
  font-family: var(--ae-font);
}
body {
  color: var(--ae-ink);
  background: var(--ae-paper);
  font-size: 16.5px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ae-font);
  letter-spacing: -.03em;
  font-weight: 800;
  color: inherit;
  text-wrap: balance;
}
a { text-decoration: none; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--ae-amber-deep); outline-offset: 3px; border-radius: 4px; }

.ae-shell { width: 100%; max-width: var(--ae-shell); margin: 0 auto; padding: 0 26px; }
.ae-kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ae-amber-deep);
}
.ae-kicker::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: currentColor; box-shadow: 0 0 12px 2px rgba(255, 180, 60, .55);
}
.ae-h2 { font-size: clamp(30px, 4vw, 50px); line-height: 1.04; margin: 16px 0 0; }
.ae-sec { padding: 104px 0; }
.ae-sec--dark { background: var(--ae-bg); color: var(--ae-text-d); position: relative; overflow: hidden; }
.ae-sec--dark .ae-kicker { color: var(--ae-sky); }
.ae-sec--light { background: var(--ae-paper); color: var(--ae-ink); }
.ae-sec__top { margin-bottom: 52px; }
.ae-sec__top p { margin: 14px 0 0; color: var(--ae-muted-l); font-size: 17px; max-width: 48ch; }
.ae-sec--dark .ae-sec__top p { color: var(--ae-muted-d); }

/* ============================================================
   4. КНОПКИ
   ============================================================ */
.ae-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 17px 26px; border-radius: var(--ae-pill);
  font-weight: 800; font-size: 16.5px; font-variant-numeric: tabular-nums;
  transition: transform .25s, box-shadow .25s, background .25s;
  border: 0; cursor: pointer;
}
.ae-btn--amber { background: var(--ae-amber); color: var(--ae-amber-ink); box-shadow: 0 8px 30px -10px rgba(255, 170, 45, .55); }
.ae-btn--amber:hover, .ae-btn--amber:focus { background: #FFC661; color: var(--ae-amber-ink); transform: translateY(-2px); box-shadow: 0 14px 44px -10px rgba(255, 170, 45, .7); }
.ae-btn--glass { background: var(--ae-glass); color: var(--ae-text-d); border: 1px solid var(--ae-line-d); backdrop-filter: blur(8px); }
.ae-btn--glass:hover, .ae-btn--glass:focus { background: var(--ae-glass-2); color: var(--ae-text-d); transform: translateY(-2px); }
.ae-btn--outline { background: transparent; color: var(--ae-ink); border: 1px solid var(--ae-line-l); }
.ae-btn--outline:hover { border-color: var(--ae-amber-deep); color: var(--ae-ink); transform: translateY(-2px); }

/* ============================================================
   5. ШАПКА (стеклянная плавающая)
   ============================================================ */
.ae-navwrap { position: sticky; top: 14px; z-index: 999; padding: 0 26px; margin-bottom: -74px; }
.ae-nav {
  max-width: 1120px; margin: 0 auto; display: flex; align-items: center; gap: 26px;
  padding: 11px 12px 11px 20px; border-radius: var(--ae-pill);
  background: rgba(20, 16, 12, .72);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--ae-line-d);
  box-shadow: 0 12px 40px -16px rgba(0, 0, 0, .7);
  transition: background .3s, box-shadow .3s;
}
.ae-nav.is-stuck { background: rgba(20, 16, 12, .93); box-shadow: 0 16px 46px -18px rgba(0, 0, 0, .85); }
.ae-logo { display: flex; align-items: center; gap: 9px; flex-shrink: 0; color: var(--ae-text-d); }
.ae-logo:hover { color: var(--ae-text-d); }
.ae-logo__txt { font-weight: 800; font-size: 15.5px; letter-spacing: -.02em; line-height: 1; }
.ae-logo__txt span { display: block; font-size: 9px; font-weight: 700; letter-spacing: .2em; color: var(--ae-amber); margin-top: 3px; }
.ae-menu { display: flex; align-items: center; gap: 22px; margin-left: auto; list-style: none; margin-bottom: 0; padding: 0; }
.ae-menu li { position: relative; }
.ae-menu a { font-size: 14.5px; color: var(--ae-muted-d); font-weight: 500; white-space: nowrap; }
.ae-menu a:hover, .ae-menu .current-menu-item > a { color: var(--ae-text-d); }
.ae-menu .sub-menu {
  position: absolute; top: 100%; left: -14px; min-width: 288px; list-style: none; padding: 10px; margin: 14px 0 0;
  background: rgba(24, 19, 14, .97); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--ae-line-d); border-radius: var(--ae-r-md);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .8);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .25s;
}
.ae-menu li:hover > .sub-menu, .ae-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.ae-menu .sub-menu a { display: block; padding: 9px 12px; border-radius: 9px; font-size: 13.5px; white-space: normal; }
.ae-menu .sub-menu a:hover { background: var(--ae-glass-2); }
.ae-lang { display: flex; gap: 3px; font-size: 11.5px; font-weight: 700; }
.ae-lang a { padding: 5px 8px; border-radius: var(--ae-pill); color: var(--ae-muted-d); }
.ae-lang a:hover { color: var(--ae-text-d); }
.ae-lang a.is-on { background: var(--ae-glass-2); color: var(--ae-text-d); }
.ae-nav__cta {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: var(--ae-pill);
  background: var(--ae-amber); color: var(--ae-amber-ink); font-weight: 800; font-size: 14.5px;
  font-variant-numeric: tabular-nums; white-space: nowrap; transition: transform .25s, box-shadow .25s;
}
.ae-nav__cta:hover { color: var(--ae-amber-ink); transform: translateY(-1px); box-shadow: 0 10px 30px -8px rgba(255, 170, 45, .6); }
.ae-burger {
  display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--ae-glass);
  border: 1px solid var(--ae-line-d); color: var(--ae-text-d); align-items: center; justify-content: center;
}

/* ============================================================
   6. ГЕРОЙ
   ============================================================ */
.ae-hero { position: relative; padding: 132px 0 96px; background: var(--ae-bg); color: var(--ae-text-d); overflow: hidden; }
.ae-hero::before, .ae-hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.ae-hero::before { width: 780px; height: 780px; top: -300px; left: -180px; background: radial-gradient(circle, rgba(255, 168, 45, .2), transparent 66%); filter: blur(20px); }
.ae-hero::after { width: 620px; height: 620px; bottom: -320px; right: -120px; background: radial-gradient(circle, rgba(99, 201, 234, .1), transparent 68%); filter: blur(24px); }
.ae-hero__grid { position: relative; display: grid; grid-template-columns: 1.06fr .94fr; gap: 60px; align-items: center; }
.ae-hero h1 { font-size: clamp(40px, 5.6vw, 74px); line-height: .99; margin: 20px 0 22px; color: var(--ae-text-d); }
.ae-hero h1 i { font-style: normal; background: linear-gradient(96deg, var(--ae-amber), #FFD98A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ae-hero .ae-kicker { color: var(--ae-amber); }
.ae-hero__lead { font-size: 19px; color: var(--ae-muted-d); max-width: 54ch; margin: 0 0 32px; }
.ae-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ae-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; }
.ae-chip { font-size: 12.5px; font-weight: 600; padding: 8px 14px; border-radius: var(--ae-pill); background: var(--ae-glass); border: 1px solid var(--ae-line-d); color: var(--ae-muted-d); }
.ae-chip b { color: var(--ae-text-d); font-weight: 700; }

.ae-stack { position: relative; padding-bottom: 26px; }
.ae-stack__main { width: 100%; aspect-ratio: 3 / 4; border-radius: var(--ae-r-xl); overflow: hidden; border: 1px solid var(--ae-line-d); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .85); }
.ae-stack__main img, .ae-stack__small img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ae-stack__small { position: absolute; width: 47%; aspect-ratio: 1 / 1; right: -14px; bottom: -6px; border-radius: var(--ae-r-lg); overflow: hidden; border: 3px solid var(--ae-bg); box-shadow: 0 26px 60px -26px rgba(0, 0, 0, .9); }
.ae-badge { position: absolute; left: -20px; top: 34px; z-index: 3; background: rgba(20, 16, 12, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--ae-line-d); border-radius: var(--ae-r-md); padding: 13px 17px; box-shadow: 0 20px 44px -20px rgba(0, 0, 0, .8); }
.ae-badge__t { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ae-muted-d); }
.ae-badge__v { font-size: 21px; font-weight: 800; letter-spacing: -.02em; margin-top: 2px; }
.ae-badge__v em { font-style: normal; color: var(--ae-amber); }
.ae-live { position: absolute; right: -12px; top: -12px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; background: var(--ae-amber); color: var(--ae-amber-ink); border-radius: var(--ae-pill); padding: 9px 15px; font-size: 12.5px; font-weight: 800; }
.ae-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ae-amber-ink); animation: ae-blink 2s ease-in-out infinite; }
@keyframes ae-blink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

/* ============================================================
   7. ПОЛОСА ЦИФР
   ============================================================ */
.ae-stats { background: var(--ae-bg-2); border-top: 1px solid var(--ae-line-d); border-bottom: 1px solid var(--ae-line-d); color: var(--ae-text-d); }
.ae-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.ae-stat { padding: 34px 26px; border-right: 1px solid var(--ae-line-d); }
.ae-stat:last-child { border-right: 0; }
.ae-stat__v { font-size: 40px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.ae-stat__v span { color: var(--ae-amber); }
.ae-stat__l { font-size: 12.5px; color: var(--ae-muted-d); margin-top: 8px; }

/* ============================================================
   8. КАРТОЧКИ УСЛУГ
   ============================================================ */
.ae-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ae-card { position: relative; display: block; background: var(--ae-paper-2); border: 1px solid var(--ae-line-l); border-radius: var(--ae-r-lg); padding: 26px 24px 24px; color: var(--ae-ink); transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s; }
.ae-card:hover { transform: translateY(-5px); box-shadow: var(--ae-lift); color: var(--ae-ink); }
.ae-card__ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(239, 148, 32, .14); color: var(--ae-amber-deep); margin-bottom: 16px; }
.ae-card h3 { font-size: 19px; margin: 0 0 7px; letter-spacing: -.02em; }
.ae-card p { margin: 0; font-size: 14.5px; color: var(--ae-muted-l); }
.ae-new { position: absolute; top: 20px; right: 20px; font-size: 10.5px; font-weight: 800; letter-spacing: .09em; background: var(--ae-amber); color: var(--ae-amber-ink); padding: 4px 9px; border-radius: var(--ae-pill); }

/* ============================================================
   9. БЛОК ВИДЕОНАБЛЮДЕНИЯ
   ============================================================ */
.ae-sec--dark::before { content: ""; position: absolute; width: 700px; height: 700px; right: -260px; top: -180px; background: radial-gradient(circle, rgba(99, 201, 234, .12), transparent 66%); filter: blur(26px); border-radius: 50%; pointer-events: none; }
.ae-cctv { position: relative; display: grid; grid-template-columns: .82fr 1.18fr; gap: 56px; align-items: center; }
.ae-cctv__photo { border-radius: var(--ae-r-xl); overflow: hidden; border: 1px solid var(--ae-line-d); box-shadow: 0 40px 90px -44px #000; }
.ae-cctv__photo img { width: 100%; display: block; }
.ae-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; margin-top: 34px; }
.ae-duo h4 { margin: 0 0 14px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ae-sky); font-weight: 700; }
.ae-duo ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: 15px; color: var(--ae-muted-d); }
.ae-duo li { display: flex; gap: 10px; align-items: flex-start; }
.ae-duo li::before { content: ""; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--ae-sky); margin-top: 8px; opacity: .8; }
.ae-duo b { color: var(--ae-text-d); font-weight: 600; }
.ae-brands { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--ae-line-d); font-size: 14.5px; color: var(--ae-muted-d); }
.ae-brands b { color: var(--ae-text-d); }

/* ============================================================
   10. ПОЧЕМУ МЫ / РАЙОНЫ / CTA
   ============================================================ */
.ae-why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 56px; }
.ae-why__i { display: flex; gap: 20px; align-items: flex-start; }
.ae-why__n { font-size: 44px; font-weight: 800; letter-spacing: -.05em; line-height: .85; background: linear-gradient(180deg, var(--ae-amber-deep), rgba(239, 148, 32, .25)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ae-why__i h3 { font-size: 19px; margin: 0 0 6px; }
.ae-why__i p { margin: 0; color: var(--ae-muted-l); font-size: 15px; }

.ae-areas { display: flex; flex-wrap: wrap; gap: 10px; }
.ae-area { font-size: 14.5px; font-weight: 600; padding: 10px 18px; border-radius: var(--ae-pill); background: var(--ae-paper-2); border: 1px solid var(--ae-line-l); color: var(--ae-ink); transition: background .25s, transform .25s, color .25s; }
.ae-area:hover { background: var(--ae-amber); color: var(--ae-amber-ink); transform: translateY(-2px); }

.ae-band { position: relative; overflow: hidden; border-radius: var(--ae-r-xl); padding: 62px 54px; background: linear-gradient(120deg, #2A1F12, #1A140E 60%); border: 1px solid rgba(255, 180, 60, .22); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 34px; color: var(--ae-text-d); }
.ae-band::before { content: ""; position: absolute; width: 520px; height: 520px; left: 22%; top: -290px; background: radial-gradient(circle, rgba(255, 170, 45, .3), transparent 65%); filter: blur(18px); border-radius: 50%; }
.ae-band > * { position: relative; }
.ae-band h2 { color: var(--ae-text-d); }
.ae-band p { margin: 12px 0 0; color: var(--ae-muted-d); font-size: 17px; }

/* ============================================================
   11. ПОДВАЛ
   ============================================================ */
.ae-ftr { background: var(--ae-bg-2); border-top: 1px solid var(--ae-line-d); padding: 66px 0 30px; color: var(--ae-muted-d); }
.ae-ftr__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.ae-ftr h5 { margin: 0 0 16px; font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--ae-amber); font-weight: 700; }
.ae-ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.ae-ftr a { color: var(--ae-muted-d); }
.ae-ftr a:hover { color: var(--ae-text-d); }
.ae-ftr__legal { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--ae-line-d); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 13px; }

/* ============================================================
   11b. СОСТАВ УСЛУГИ + FAQ
   ============================================================ */
.ae-scope { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.ae-scope__i { padding: 18px 0; border-bottom: 1px solid var(--ae-line-l); }
.ae-scope__i h3 { font-size: 17px; margin: 0 0 5px; letter-spacing: -.015em; }
.ae-scope__i p { margin: 0; font-size: 14.5px; color: var(--ae-muted-l); }

.ae-faq { max-width: 80ch; }
.ae-faq__i {
  border: 1px solid var(--ae-line-l); border-radius: var(--ae-r-md);
  background: var(--ae-paper-2); margin-bottom: 10px; overflow: hidden;
}
.ae-faq__i summary {
  cursor: pointer; padding: 17px 22px; font-weight: 700; font-size: 16.5px;
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.ae-faq__i summary::-webkit-details-marker { display: none; }
.ae-faq__i summary::after {
  content: ""; flex-shrink: 0; width: 11px; height: 11px;
  border-right: 2px solid var(--ae-amber-deep); border-bottom: 2px solid var(--ae-amber-deep);
  transform: rotate(45deg); transition: transform .25s; margin-top: -4px;
}
.ae-faq__i[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.ae-faq__i summary:hover { color: var(--ae-amber-deep); }
.ae-faq__a { padding: 0 22px 19px; }
.ae-faq__a p { margin: 0; color: var(--ae-muted-l); font-size: 15.5px; max-width: 72ch; }

/* ============================================================
   12. МОБИЛЬНАЯ ПОЛОСА ЗВОНКА
   ============================================================ */
.ae-mob { display: none; }

/* ============================================================
   13. ПОЯВЛЕНИЕ ПРИ ПРОКРУТКЕ
   ============================================================ */
.ae-rv { opacity: 0; transform: translateY(20px); }
.ae-rv.is-in { opacity: 1; transform: none; transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1); }
@media (prefers-reduced-motion: reduce) {
  .ae-rv, .ae-rv.is-in { opacity: 1; transform: none; transition: none; }
  .ae-live i { animation: none; }
  .ae-btn:hover, .ae-card:hover, .ae-area:hover, .ae-nav__cta:hover { transform: none; }
}

/* ============================================================
   14. ВНУТРЕННИЕ СТРАНИЦЫ (заголовок страницы)
   ============================================================ */
.ae-phead { background: var(--ae-bg); color: var(--ae-text-d); padding: 148px 0 64px; position: relative; overflow: hidden; }
.ae-phead::before { content: ""; position: absolute; width: 620px; height: 620px; top: -280px; left: -140px; background: radial-gradient(circle, rgba(255, 168, 45, .18), transparent 66%); filter: blur(22px); border-radius: 50%; }
.ae-phead h1 { position: relative; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.02; margin: 14px 0 0; color: var(--ae-text-d); }
.ae-phead__crumbs { position: relative; font-size: 13.5px; color: var(--ae-muted-d); }
.ae-phead__crumbs a { color: var(--ae-amber); }

/* контент внутренних страниц: читаемая мера строки */
.ae-page { padding: 72px 0 96px; background: var(--ae-paper); }
.ae-page__body { max-width: 74ch; font-size: 17px; }
.ae-page__body h2 { font-size: clamp(24px, 3vw, 34px); margin: 44px 0 14px; }
.ae-page__body h3 { font-size: 21px; margin: 32px 0 10px; }
.ae-page__body p { margin: 0 0 18px; color: var(--ae-muted-l); }
.ae-page__body img { border-radius: var(--ae-r-lg); margin: 18px 0; }

/* ============================================================
   15. АДАПТИВ
   ============================================================ */
@media (max-width: 1024px) {
  .ae-menu { gap: 16px; }
  .ae-menu a { font-size: 13.5px; }
}
@media (max-width: 940px) {
  .ae-hero__grid, .ae-cctv, .ae-cards, .ae-why, .ae-ftr__grid, .ae-duo, .ae-scope { grid-template-columns: 1fr; }
  .ae-scope { gap: 0; }
  .ae-stats__grid { grid-template-columns: 1fr 1fr; }
  .ae-stat { border-right: 0; border-bottom: 1px solid var(--ae-line-d); padding: 24px 26px; }
  .ae-navwrap { top: 10px; margin-bottom: -66px; padding: 0 16px; }
  .ae-burger { display: flex; margin-left: auto; }
  .ae-menu, .ae-nav__cta { display: none; }
  .ae-nav.is-open .ae-menu {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: calc(100% + 10px); left: 0; right: 0; margin: 0; padding: 14px;
    background: rgba(24, 19, 14, .98); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border: 1px solid var(--ae-line-d); border-radius: var(--ae-r-lg); max-height: 70vh; overflow-y: auto;
  }
  .ae-nav { position: relative; }
  .ae-nav.is-open .ae-menu > li { width: 100%; }
  .ae-nav.is-open .ae-menu a { display: block; padding: 11px 12px; font-size: 15px; }
  .ae-nav.is-open .ae-menu .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    background: transparent; border: 0; border-left: 1px solid var(--ae-line-d);
    margin: 0 0 8px 12px; padding: 0 0 0 6px; min-width: 0;
  }
  .ae-hero { padding: 108px 0 64px; }
  .ae-sec, .ae-page { padding: 68px 0; }
  .ae-phead { padding: 120px 0 48px; }
  .ae-band { padding: 38px 26px; }
  .ae-sec__top { margin-bottom: 34px; }
  .ae-stack { max-width: 420px; margin: 0 auto; }
  .ae-badge { left: 0; }
  .ae-shell { padding: 0 18px; }
  .ae-mob {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 998; gap: 10px; padding: 12px 14px;
    background: rgba(20, 16, 12, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid var(--ae-line-d);
  }
  .ae-mob a { flex: 1; text-align: center; padding: 15px; border-radius: var(--ae-pill); font-weight: 800; font-size: 15.5px; }
  .ae-mob__call { background: var(--ae-amber); color: var(--ae-amber-ink); }
  .ae-mob__wa { background: var(--ae-glass); color: var(--ae-text-d); border: 1px solid var(--ae-line-d); }
  body { padding-bottom: 82px; }
}

/* ============================================================
   16. ГАЛЕРЕЯ РЕФЕРЕНСОВ
   ============================================================ */
.ae-refs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ae-ref {
  margin: 0; border: 1px solid var(--ae-line-l); border-radius: var(--ae-r-lg);
  overflow: hidden; background: var(--ae-paper-2);
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s;
}
.ae-ref:hover { transform: translateY(-5px); box-shadow: var(--ae-lift); }
.ae-ref img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.ae-ref figcaption { padding: 18px 20px 20px; display: grid; gap: 5px; }
.ae-ref figcaption strong { font-size: 16.5px; font-weight: 700; letter-spacing: -.015em; }
.ae-ref figcaption span { font-size: 14px; color: var(--ae-muted-l); }

/* форма Contact Form 7 в новом оформлении */
.wpcf7 { max-width: 780px; }
.wpcf7 .wpcf7-form-control:not([type="submit"]):not(.wpcf7-submit) {
  width: 100%; padding: 14px 16px; font-family: var(--ae-font); font-size: 16px;
  color: var(--ae-ink); background: var(--ae-paper-2);
  border: 1px solid var(--ae-line-l); border-radius: var(--ae-r-md);
}
.wpcf7 .wpcf7-form-control:focus { outline: 2px solid var(--ae-amber-deep); outline-offset: 1px; }
.wpcf7 textarea.wpcf7-form-control { min-height: 140px; resize: vertical; }
.wpcf7 p { margin: 0 0 14px; }
.wpcf7 .theme-btn, .wpcf7 button[type="submit"], .wpcf7 input[type="submit"] {
  display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px;
  border: 0; border-radius: var(--ae-pill); cursor: pointer;
  background: var(--ae-amber); color: var(--ae-amber-ink);
  font-family: var(--ae-font); font-weight: 800; font-size: 16.5px;
  transition: transform .25s, box-shadow .25s;
}
.wpcf7 .theme-btn:hover, .wpcf7 button[type="submit"]:hover, .wpcf7 input[type="submit"]:hover {
  transform: translateY(-2px); box-shadow: 0 12px 34px -10px rgba(255, 170, 45, .6);
}
.wpcf7-not-valid-tip { color: #C0392B; font-size: 13.5px; margin-top: 5px; }
.wpcf7 form .wpcf7-response-output {
  border-radius: var(--ae-r-md); border-width: 1px; padding: 13px 16px;
  font-size: 14.5px; margin: 16px 0 0;
}

@media (max-width: 940px) {
  .ae-refs { grid-template-columns: 1fr; }
}

/* ============================================================
   17. БЛОГ: миниатюры в карточках и пагинация
   ============================================================ */
.ae-card__thumb { display: block; margin: -26px -24px 18px; }
.ae-card__thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.ae-card__date { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--ae-amber-deep); margin-bottom: 6px; }
.ae-pager { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.ae-pager .page-numbers {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px;
  padding: 0 14px; border-radius: var(--ae-pill); border: 1px solid var(--ae-line-l);
  background: var(--ae-paper-2); color: var(--ae-ink); font-weight: 700; font-size: 15px;
}
.ae-pager .page-numbers:hover { border-color: var(--ae-amber-deep); }
.ae-pager .page-numbers.current { background: var(--ae-amber); border-color: var(--ae-amber); color: var(--ae-amber-ink); }

/* ============================================================
   18. ВИЗИТКА (в конце каждой страницы)
   ============================================================ */
.ae-vcard-wrap { background: var(--ae-bg); padding: 0 0 76px; }
.ae-vcard {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr auto; gap: 34px; align-items: center;
  padding: 34px 38px; border-radius: var(--ae-r-xl);
  background: linear-gradient(120deg, #241B10, #17120D 62%);
  border: 1px solid rgba(255, 180, 60, .24);
  box-shadow: 0 30px 70px -34px rgba(0, 0, 0, .8);
  color: var(--ae-text-d);
}
.ae-vcard::before {
  content: ""; position: absolute; width: 420px; height: 420px; left: -120px; top: -230px;
  background: radial-gradient(circle, rgba(255, 170, 45, .26), transparent 66%);
  filter: blur(18px); border-radius: 50%; pointer-events: none;
}
.ae-vcard > * { position: relative; }
.ae-vcard__mark {
  width: 78px; height: 78px; border-radius: 20px; display: grid; place-items: center;
  background: var(--ae-amber); flex-shrink: 0;
}
.ae-vcard__name { font-size: 25px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.ae-vcard__role { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ae-amber); margin-top: 5px; }
.ae-vcard__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ae-vcard__meta span {
  font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: var(--ae-pill);
  background: var(--ae-glass); border: 1px solid var(--ae-line-d); color: var(--ae-muted-d);
}
.ae-vcard__side { display: grid; gap: 10px; justify-items: stretch; min-width: 232px; }
.ae-vcard__tel {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--ae-amber); color: var(--ae-amber-ink); border-radius: var(--ae-pill);
  padding: 15px 22px; font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums;
  transition: transform .25s, box-shadow .25s;
}
.ae-vcard__tel:hover { color: var(--ae-amber-ink); transform: translateY(-2px); box-shadow: 0 12px 34px -10px rgba(255, 170, 45, .6); }
.ae-vcard__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ae-vcard__btn {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  border: 1px solid var(--ae-line-d); background: var(--ae-glass); color: var(--ae-text-d);
  border-radius: var(--ae-pill); padding: 11px 14px; font-size: 13.5px; font-weight: 700;
}
.ae-vcard__btn:hover { background: var(--ae-glass-2); color: var(--ae-text-d); }

@media (max-width: 940px) {
  .ae-vcard { grid-template-columns: auto 1fr; gap: 18px 16px; padding: 24px 20px; }
  .ae-vcard__side { grid-column: 1 / -1; min-width: 0; }
  .ae-vcard__name { font-size: 21px; }
  .ae-vcard-wrap { padding-bottom: 44px; }
}

/* ============================================================
   19. МОБИЛЬНАЯ ШАПКА: удобная кнопка меню
   Логотип с подписью + 4 языка распирали панель и выдавливали
   бургер за край экрана — теперь всё сжимается, а кнопка крупная.
   ============================================================ */
@media (max-width: 940px) {
  .ae-nav {
    gap: 10px;
    padding: 9px 10px 9px 14px;
    flex-wrap: nowrap;
  }
  .ae-logo { gap: 7px; min-width: 0; flex: 0 1 auto; }
  .ae-logo__txt {
    font-size: 13.5px; min-width: 0;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .ae-logo__txt span { font-size: 8px; letter-spacing: .14em; }
  .ae-lang { gap: 0; flex: 0 0 auto; margin-left: auto; }
  .ae-lang a { padding: 6px 7px; font-size: 11px; }
  .ae-burger {
    display: flex; flex: 0 0 46px; width: 46px; height: 46px;
    margin-left: 2px; border-radius: 14px;
  }
  /* увеличенная область нажатия вокруг кнопки */
  .ae-burger::after {
    content: ""; position: absolute; inset: -6px; border-radius: 18px;
  }
  .ae-burger { position: relative; }
}

@media (max-width: 480px) {
  .ae-navwrap { padding: 0 12px; }
  .ae-nav { gap: 8px; padding: 8px 8px 8px 12px; }
  .ae-logo__txt { font-size: 12.5px; }
  .ae-logo__txt span { display: none; }   /* подпись ANTALYA · 7/24 скрыта — освобождает место */
  .ae-lang a { padding: 6px 5px; font-size: 10.5px; }
  .ae-burger { flex: 0 0 44px; width: 44px; height: 44px; }
}

@media (max-width: 380px) {
  /* на самых узких экранах оставляем только знак логотипа */
  .ae-logo__txt { display: none; }
}

/* ============================================================
   20. КНОПКА WHATSAPP (Joinchat) НАД ЛИПКОЙ ПОЛОСОЙ
   На мобильных плавающая кнопка плагина перекрывала «Hemen ara».
   ============================================================ */
@media (max-width: 940px) {
  .joinchat {
    --bottom: 94px;
    bottom: 94px !important;
    z-index: 997 !important;   /* ниже полосы звонка (998), но выше контента */
  }
  .joinchat__button { margin-bottom: 0 !important; }
}
@media (max-width: 480px) {
  .joinchat { --bottom: 88px; bottom: 88px !important; }
}

/* ============================================================
   21. ФОРМА CF7: выравнивание по колонке контента
   Стили Elementor подключаются после наших и перебивали ширину
   виджета — поэтому селектор усилен и ширина зафиксирована.
   ============================================================ */
.e-con > .elementor-element.elementor-widget-shortcode,
.elementor-element.elementor-widget-shortcode {
  width: 100% !important;
  max-width: var(--ae-shell) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 26px 10px !important;
  align-self: center !important;
}
.elementor-widget-shortcode .elementor-shortcode { width: 100%; }
.elementor-widget-shortcode .wpcf7 { max-width: 760px; margin: 0; }
.elementor-widget-shortcode .wpcf7 .wpcf7-form > p:last-of-type { margin-bottom: 0; }

/* два поля в строку на широком экране */
@media (min-width: 760px) {
  .elementor-widget-shortcode .wpcf7 .wpcf7-form {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px;
  }
  .elementor-widget-shortcode .wpcf7 .wpcf7-form > p:nth-of-type(n+3),
  .elementor-widget-shortcode .wpcf7 .wpcf7-form > .wpcf7-response-output {
    grid-column: 1 / -1;
  }
}

@media (max-width: 940px) {
  .e-con > .elementor-element.elementor-widget-shortcode,
  .elementor-element.elementor-widget-shortcode { padding: 0 18px 10px !important; }
}
