/* Страница офиса /office/ (ТЗ 27.11.2026). Цвета, шрифты и кнопки — общие из landing.css. */
.of h1,.of h2,.of h3{font-family:var(--ff-display,inherit)}
.of p{margin:0 0 12px}
.of-sec{padding:56px 0;scroll-margin-top:calc(var(--hdr-h,72px))}
.of [id]{scroll-margin-top:calc(var(--hdr-h,72px) + 12px)}
.of-sec--tint{background:var(--aqua-soft)}
.of-sec h2{font-size:clamp(26px,3vw,36px);line-height:1.18;color:var(--navy);margin:0 0 16px}
.of-sec h3{font-size:21px;line-height:1.25;color:var(--navy);margin:0 0 10px}
.of-lead{max-width:760px}

.of-hero{background:linear-gradient(135deg,var(--navy-d),var(--navy) 60%,#0b5a8c);color:#fff;padding:calc(var(--hdr-h,72px) + 28px) 0 32px}
.of-hero__grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.8fr) minmax(0,.95fr);grid-template-areas:"text photo board";gap:28px;align-items:stretch}
.of-hero__text{grid-area:text;align-self:center}
.of-eyebrow{letter-spacing:.14em;text-transform:uppercase;font-size:13px;color:var(--mint)}
.of-hero h1{font-size:clamp(32px,3.5vw,48px);line-height:1.1;color:#fff;margin:0 0 14px}
.of-sub{font-size:17px;line-height:1.5;opacity:.92}
.of-chips{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 20px}
.of-chips a{border:1px solid rgba(255,255,255,.35);border-radius:999px;padding:9px 14px;font-size:14px;color:#fff;text-decoration:none;background:rgba(255,255,255,.07)}
.of-chips a:hover{background:rgba(255,255,255,.2)}
.of-btns{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px}
.of-hero .of-btn-line{border:1px solid rgba(255,255,255,.6);color:#fff;background:transparent}
.of-hero__photo{grid-area:photo;position:relative;min-height:420px}
.of-hero__photo img{position:absolute;inset:0;object-position:50% 25%}
.of-board{grid-area:board;background:#fff;color:var(--black-ui,#222);border-radius:var(--r-l,24px);padding:22px;display:flex;flex-direction:column;gap:18px;align-self:center;min-width:0}
.of-board h2{font-size:18px;color:var(--navy);margin:0 0 8px}
.of-board p{font-size:14px;margin:8px 0 0;color:#4a5a68}
.of-menu{list-style:none;margin:0;padding:0}
.of ul.of-menu li{display:flex;justify-content:space-between;align-items:baseline;gap:14px;padding:6px 0;border-bottom:1px dashed #d8e2e8;margin:0}
.of ul.of-menu li::before{content:none}
.of-menu b{white-space:nowrap;color:var(--navy)}
.of ul.of-hours li{flex-wrap:wrap;gap:0 14px}
.of-hours b{white-space:normal}

.of-ph{margin:0;border-radius:var(--r-m,14px);overflow:hidden;background:#dbe9ee}
.of-ph img{display:block;width:100%;height:100%;object-fit:cover}
.of-ph--empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:4px;padding:18px;background:linear-gradient(140deg,#e4f4f6,#d3e5ee);color:var(--navy);min-height:150px}
.of-ph--empty small{opacity:.6;font-size:12px}
.of-tall{aspect-ratio:4/5}
.of-wide{aspect-ratio:16/9}

.of-split{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:44px;align-items:start}
.of-split>.of-tall{max-width:420px}
.of-split--rev{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}
.of-duo>*{min-width:0}
.of-duo{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:start}

.of-more summary{cursor:pointer;color:var(--navy);font-weight:600;padding:10px 0;list-style:none;display:flex;gap:10px;align-items:center;min-height:44px}
.of-more summary::-webkit-details-marker{display:none}
.of-more summary::before{content:"+";flex:none;width:22px;height:22px;border-radius:50%;background:var(--aqua-tint,#e4fcfd);display:grid;place-items:center;font-weight:700;line-height:1}
.of-more[open]>summary::before{content:"−"}
.of-board .of-more summary{font-size:14px;padding:4px 0}
.of-board .of-more p{font-size:14px}
.of-acc{border-top:1px solid #cfe3e8}
.of-tea{display:grid;grid-template-columns:1fr 1fr;gap:6px 24px;padding-bottom:10px}
.of-tea h4{margin:8px 0 4px;color:var(--navy)}
.of-tea ul{margin:0;padding-left:18px}

.of-via{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:6px 0 20px;font-size:14px}
.of-via button{min-height:40px;padding:8px 16px;border-radius:999px;border:1px solid var(--navy);background:#fff;color:var(--navy);cursor:pointer;font:inherit}
.of-via button[aria-pressed="true"]{background:var(--navy);color:#fff}
.of-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start}
.of-coffee{border:1px solid #dde8ed;border-radius:var(--r-m,14px);overflow:hidden;background:#fff;min-width:0}
.of-pack{aspect-ratio:16/10;border-radius:0;width:100%}
.of-pack img{object-fit:contain}
.of-pack--empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:var(--aqua-soft,#f5fbfc);color:var(--navy)}
.of-pack--empty img{width:84px;height:56px;object-fit:cover;border-radius:6px;box-shadow:0 2px 10px rgba(9,62,104,.18)}
.of-coffee__body{padding:14px 16px 16px}
.of-coffee h3{display:flex;gap:10px;align-items:center;font-size:18px}
.of-flag{flex:none;width:30px;height:20px;object-fit:cover;border-radius:3px;box-shadow:0 0 0 1px rgba(0,0,0,.08)}
.of-notes{font-size:14px;color:#4a5a68;min-height:2.9em}
.of .of-price{margin-bottom:4px}
.of-price b{font-size:22px;color:var(--navy)}
.of .of-meta{font-size:13px;color:#5d6d7a;margin:0}
.of-coffee dl{margin:0 0 8px;font-size:14px}
.of-coffee dl div{display:flex;justify-content:space-between;gap:12px;padding:4px 0;border-bottom:1px dashed #d8e2e8}
.of-coffee dd{margin:0;text-align:right}
.of-coffee__btns{display:flex;flex-wrap:wrap;gap:8px}
.of-coffee__btns .btn{flex:1 1 auto;justify-content:center;text-align:center}

.of-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:24px}
.of-gallery .of-ph{aspect-ratio:3/2;min-height:0;min-width:0}
.of-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start}
.of-card{background:#fff;border:1px solid #dde8ed;border-radius:var(--r-m,14px);padding:22px;min-width:0}
.of-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
.of-card--media>.of-ph{margin-bottom:18px}
.of-card--dark{background:var(--navy);color:#fff;border-color:var(--navy)}
.of-card--dark h2,.of-card--dark summary{color:#fff}
.of-card--dark .of-more summary::before{color:var(--navy)}
.of .of-badge{display:inline-block;border:1px solid var(--mint);color:var(--mint);border-radius:999px;padding:6px 14px;font-size:13px}
.of-stack{display:grid;gap:18px}
.of-tel{font-size:24px;font-weight:700;color:var(--navy);text-decoration:none}

@media (max-width:1100px){
  .of-hero__grid{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);grid-template-areas:"text board" "photo photo"}
  .of-hero__photo{min-height:360px}
  .of-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .of-cols{grid-template-columns:1fr}
}
@media (max-width:760px){
  .of-sec{padding:38px 0}
  .of-hero{padding:calc(var(--hdr-h,64px) + 14px) 0 22px}
  .of-hero__grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"text" "board" "photo";gap:16px}
  .of-hero h1{font-size:30px;margin-bottom:8px}
  .of-eyebrow{margin-bottom:6px!important}
  .of-sub{font-size:16px;margin-bottom:10px!important}
  .of-chips{gap:6px;margin:0 0 12px}
  .of-chips a{padding:8px 11px;font-size:14px}
  .of-board{padding:14px 16px;gap:10px}
  .of ul.of-drinks{display:grid;grid-template-columns:1fr 1fr;column-gap:16px}
  .of ul.of-drinks li{flex-direction:column;gap:0;font-size:14px;padding:4px 0}
  .of-board h2{margin-bottom:2px}
  .of-hero__photo{min-height:0;aspect-ratio:4/5}
  .of-split,.of-split--rev,.of-two{grid-template-columns:minmax(0,1fr);gap:22px}
  .of-split>.of-tall{max-width:none;aspect-ratio:4/3}
  .of-grid{gap:10px}
  .of-pack{aspect-ratio:16/10}
  .of-coffee__body{padding:10px}
  .of-coffee h3{flex-direction:column;align-items:flex-start;gap:6px;font-size:16px;min-height:2.6em}
  .of-notes{font-size:13px;min-height:4.3em}
  .of-coffee__btns .btn{flex-basis:100%;min-height:44px;padding-left:8px;padding-right:8px;font-size:14px}
  .of-coffee .of-more summary{font-size:13px;gap:6px}
  .of-coffee dl div{flex-direction:column;gap:0}
  .of-coffee dd{text-align:left}
  .of-gallery{grid-template-columns:1fr 1fr}
  .of-gallery .of-ph:last-child{grid-column:1/-1;aspect-ratio:16/9}
  .of-tea{grid-template-columns:1fr}
}
@media (max-width:359px){.of-grid{grid-template-columns:1fr}.of-coffee h3,.of-notes{min-height:0}}
