/* Оформление «Эфир» для сайта Coffee.FM: те же шрифты и формы, что в портале, CRM и брендбуке.
   Подключается ПОСЛЕДНИМ в <head>. Тексты, структура и скрипты сайта не меняются. Убрать оформление = убрать одну строку <link> в index.html. */

:root{--ether-esp:#2B1B14;--ether-cream:#F6EFE6;--ether-latte:#EADDCD;--ether-copper:#C9643B;--ether-roast:#7A4B3A;
  --ether-body:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;--ether-head:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif}

html,html body{background-color:var(--ether-esp)}

/* кнопки-«таблетки» */
html body .btn,html body .tg-cta-btn,html body .founder-cta-btn,html body .modal-btn,html body .status-modal-btn,html body .cookie-banner-accept,html body .franchise-form button[type=submit]{border-radius:999px;font-weight:600;letter-spacing:.005em}
html body .format-filter-btn,html body .calc-tab-btn{border-radius:999px;font-weight:600}
html body .btn{box-shadow:0 6px 20px rgba(201,100,59,.38)}

/* карточки */
html body .founder-container,html body .rebrand-container,html body .calc-col,html body .calc-rebrand-card,html body .cookie-banner{border-radius:20px}
html body .card,html body .support-item,html body .timeline-step,html body .stat-item,html body .faq-item,html body .promo-price-box{border-radius:16px}
html body .franchise-form input,html body .franchise-form select,html body .franchise-form textarea{border-radius:12px}
html body .modal-content,html body .status-modal-content{border-radius:24px}


/* ===== Шапка «Эфир»: как в портале — тёмная, надпись с логотипа, шкала приёмника ===== */
html body header.ether-header{background:var(--ether-esp);color:var(--ether-latte);padding:0;box-shadow:none;border:0}
.eh-row{display:flex;align-items:center;gap:22px;height:78px;width:100%;max-width:1500px;margin:0 auto;padding:0 28px}
.eh-menu{flex:0 0 auto;width:46px;height:46px;border-radius:50%;border:1px solid rgba(234,221,205,.28);background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background .2s,border-color .2s}
.eh-menu:hover{background:rgba(234,221,205,.08);border-color:rgba(234,221,205,.5)}
.eh-menu span{display:block;width:18px;height:2px;border-radius:2px;background:var(--ether-cream)}
.eh-brand{flex:0 0 auto;display:flex;align-items:center;gap:14px;text-decoration:none;-webkit-tap-highlight-color:transparent}
.eh-brand img{height:58px;width:auto;display:block}
html body .eh-sub{font-family:var(--ether-head);font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--ether-cream);padding-left:14px;border-left:1px solid rgba(234,221,205,.3);line-height:1}
.eh-right{flex:0 0 auto;display:flex;align-items:center;gap:16px}
.eh-contacts{display:flex;flex-direction:column;align-items:flex-end;gap:3px}
html body header.ether-header .phone-link{color:var(--ether-cream);font-size:15px}
html body header.ether-header .email-link{color:rgba(234,221,205,.78);font-size:12.5px;opacity:1}
html body header.ether-header .social-icon-link.tg{color:#5BBCEB}
html body header.ether-header .social-icon-link.mail{color:var(--ether-cream)}
html body header.ether-header .header-socials{display:flex;gap:12px}
html body .eh-cta{border:0;border-radius:999px;background:var(--ether-copper);color:#000;font-weight:600;font-size:14px;padding:11px 20px;cursor:pointer;white-space:nowrap;box-shadow:0 6px 18px rgba(201,100,59,.4);-webkit-tap-highlight-color:transparent}
html body .eh-cta:hover{background:#D5714A}
html body .eh-cta{display:inline-flex;align-items:center;gap:9px}
/* подпись текущего раздела под шкалой */
.eh-now,.eh-dots{display:none!important}
/* боковое меню разделов */
.eh-backdrop{position:fixed;inset:0;background:rgba(20,12,8,.55);opacity:0;pointer-events:none;transition:opacity .25s;z-index:2900}
.eh-backdrop.open{opacity:1;pointer-events:auto}
.eh-drawer{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(234,221,205,.28) transparent;position:fixed;top:0;left:0;bottom:0;width:min(86vw,340px);background:var(--ether-esp);color:var(--ether-cream);z-index:3000;transform:translateX(-100%);transition:transform .28s ease;display:flex;flex-direction:column;padding:18px 0;overflow-y:auto;box-shadow:12px 0 40px rgba(0,0,0,.4)}
.eh-drawer.open{transform:none}
.eh-drawer-head{display:flex;justify-content:space-between;align-items:center;padding:4px 24px 14px;font-family:var(--ether-head);font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase}
.eh-drawer-head button{background:none;border:0;color:var(--ether-cream);font-size:30px;line-height:1;cursor:pointer}
.eh-drawer a{color:rgba(246,239,230,.9);text-decoration:none;padding:13px 24px;font-size:16px;font-weight:500;border-left:3px solid transparent}
.eh-drawer a:hover{background:rgba(234,221,205,.07);border-left-color:var(--ether-copper)}
.eh-drawer a.eh-drawer-cta{margin:14px 24px 0;padding:13px 20px;border-radius:999px;background:var(--ether-copper);color:#000;font-weight:600;text-align:center;border-left:0}
/* уже́ экраны */
@media (max-width:1300px){html body header.ether-header .email-link{display:none}}
@media (max-width:1280px){html body .eh-cta{display:none}}
@media (max-width:1120px){.eh-sub{display:none}}
@media (max-width:992px){
  .eh-row{height:auto;flex-wrap:wrap;gap:6px 10px;padding:8px 12px 6px}
  .eh-brand{flex:0 0 auto}
  .eh-menu{width:40px;height:40px}
  .eh-brand img{height:40px}
  .eh-contacts{display:flex}
  html body header.ether-header .email-link{display:none}
  html body header.ether-header .phone-link{font-size:0!important;width:38px;height:38px;border-radius:50%;display:block;background:var(--ether-copper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1l-2.3 2.2z'/%3E%3C/svg%3E") center/19px no-repeat}
  .eh-right{gap:10px;flex:0 0 100%;order:3;justify-content:flex-start}
  html body .eh-cta{display:inline-flex!important;margin-left:auto;flex:0 0 auto;justify-content:center;font-size:13px;padding:9px 16px;box-shadow:none}
  html body header.ether-header .header-socials{gap:10px;align-items:center}
  .eh-now{display:none}
}
@media (max-width:420px){.eh-brand img{height:36px}}


/* ===== Шкала приёмника — один в один как в портале: 24 деления, высокие в начале LAT / CAP / AMER, подписи по центру отрезков, медная стрелка ===== */
.eh-tuner{flex:1 1 auto;display:flex;justify-content:center;min-width:0}
.eh-scale{position:relative;width:clamp(330px,33.75vw,648px);height:54px;cursor:pointer;-webkit-tap-highlight-color:transparent;user-select:none}
.eh-tk{position:absolute;top:2px;width:2px;height:12px;margin-left:0;border-radius:2px;background:rgba(234,221,205,.42);pointer-events:none}
.eh-tk.t{height:19px;background:rgba(234,221,205,.78)}
.eh-needle{position:absolute;top:-4px;left:5%;width:3px;height:27px;margin-left:-1px;border-radius:2px;background:var(--ether-copper);box-shadow:0 0 12px var(--ether-copper);transition:left .45s ease;pointer-events:none}
.eh-names{position:absolute;left:0;right:0;top:36px;display:grid;grid-template-columns:repeat(4,1fr);pointer-events:none}
html body .eh-names span{text-align:center;font-family:var(--ether-head);font-size:11px;font-weight:600;letter-spacing:.14em;color:rgba(234,221,205,.85);line-height:1}
@media (max-width:992px){
  .eh-tuner{order:2;flex:1 1 0;min-width:0;justify-content:center}
  .eh-scale{width:100%;max-width:none;height:40px}
  .eh-tk{height:10px;top:4px}.eh-tk.t{height:16px;top:4px}
  .eh-needle{top:0;height:22px}
  .eh-names{top:27px}
  html body .eh-names span{font-size:10px;letter-spacing:.06em}
}


html body header.ether-header .header-socials svg{width:24px;height:24px;display:block;fill:currentColor}
html body header.ether-header .social-icon-link{display:flex;align-items:center;justify-content:center}
@media (max-width:992px){html body header.ether-header .header-socials svg{width:26px;height:26px}}
@media (hover:hover) and (pointer:fine){html body header.ether-header .social-icon-link.mail{display:none!important}}
@media (max-width:380px){html body .eh-cta{font-size:12px;padding:11px 8px;gap:6px}html body .eh-cta svg{width:15px;height:15px}.eh-right{gap:8px}}

@media (max-width:992px){
  html body header.ether-header .social-icon-link.mail{display:none!important}
  html body header.ether-header .header-socials svg{width:30px;height:30px}
  html body header.ether-header .phone-link{width:42px;height:42px;background-size:21px}
  .eh-right{gap:14px}
  html body .eh-cta svg{width:16px;height:16px}
}
@media (max-width:380px){html body .eh-cta{font-size:12px;padding:9px 12px}html body .eh-names span{font-size:9px;letter-spacing:.04em}}

/* контакты внизу бокового меню */
.eh-drawer-contacts{margin-top:auto;padding:18px 24px 6px;border-top:1px solid rgba(234,221,205,.16);display:flex;flex-direction:column;gap:2px}
html body .eh-dc-title{font-family:var(--ether-head);font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--ether-copper);margin-bottom:6px}
html body .eh-drawer .eh-dc-row{display:flex;align-items:center;gap:14px;padding:11px 0;border-left:0;font-size:16px;color:var(--ether-cream)}
html body .eh-drawer .eh-dc-row:hover{background:none;color:#fff}
.eh-dc-row svg{flex:0 0 22px;width:22px;height:22px;fill:var(--ether-copper)}
html body .eh-drawer .eh-dc-row:first-of-type span{font-family:var(--ether-head);font-size:16px;font-weight:600}
.eh-drawer a.eh-drawer-cta{margin-bottom:20px}

/* телефон: сверху меню, логотип, Telegram и запись; шкала с подписями — отдельной строкой ниже; трубка только в меню */
@media (max-width:992px){
  .eh-row{align-items:center}
  .eh-brand{flex:1 1 auto;min-width:0}
  .eh-right{order:2;flex:0 0 auto;gap:10px}
  html body header.ether-header .eh-contacts{display:none}
  html body header.ether-header .header-socials svg{width:28px;height:28px}
  html body .eh-cta{margin-left:0;font-size:13px;padding:9px 14px}
  .eh-tuner{order:4;flex:1 0 100%;justify-content:center}
  .eh-scale{max-width:none;width:100%;height:40px}
}
@media (max-width:380px){html body .eh-cta{font-size:12px;padding:9px 10px;gap:5px}.eh-right{gap:8px}}

.eh-short{display:none}
@media (max-width:560px){.eh-long{display:none}.eh-short{display:inline}html body .eh-cta{padding:9px 14px}.eh-brand img{height:36px}}

/* изящная полоса прокрутки бокового меню */
.eh-drawer::-webkit-scrollbar{width:6px}
.eh-drawer::-webkit-scrollbar-track{background:transparent}
.eh-drawer::-webkit-scrollbar-thumb{background:rgba(234,221,205,.25);border-radius:6px}
.eh-drawer::-webkit-scrollbar-thumb:hover{background:rgba(201,100,59,.7)}

/* ===== Уровни заголовков ===== */
/* Телефон: шапка выше прежней, поэтому страницы начинаются ниже — между шапкой и заголовком есть воздух */
@media (max-width:992px){
  html body .page:not(.rebranding-section){padding-top:106px}
  /* «Новый фирменный стиль»: блок остаётся на прежнем месте, выше поднят только заголовок (смещение считает ether-site.js) */
  html body .page.rebranding-section .page-content-wrapper > h2{translate:0 var(--brand-lift,0px)}
}
/* Компьютер: форма заявки — заголовок на уровне «Часто задаваемых вопросов» (уровень считает ether-site.js) */
@media (min-width:993px){
  html body .page.cta-section .page-content-wrapper{justify-content:flex-start!important;padding-top:var(--faq-off,55px)!important}
  html body .page.cta-section .page-content-wrapper > h2{margin-top:0!important;margin-bottom:15px!important}
}
@media (max-width:992px) and (max-height:700px){
  html body .page.calculator-section .page-content-wrapper,html body .page.finance .page-content-wrapper,html body .page.steps-section .page-content-wrapper{padding-top:18px!important}
}

/* Телефон: «О нашей концепции» — заголовок выше, текст и карточки остаются на месте */
@media (max-width:992px){html body .page.about h2{position:relative;top:-24px}}
