/*
Theme Name: IT Bragin
Theme URI: https://ipbragin.ru
Author: IT Bragin
Description: Светлая блочная тема для сайта IT Bragin. Полностью совместима с редактором сайта Gutenberg.
Version: 1.1.2
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: itbragin
*/

:root { --itb-blue:#1769e0; --itb-navy:#102849; --itb-soft:#f3f8ff; --itb-text:#56677d; }
html { scroll-behavior:smooth; }
body { text-rendering:optimizeLegibility; }
.wp-site-blocks { overflow:hidden; }
h1,h2,h3,.wp-block-post-title { overflow-wrap:normal; word-break:normal; hyphens:none; text-wrap:balance; }
.itb-shell { width:min(1180px,calc(100% - 40px)); margin-inline:auto; }
.itb-header { position:sticky; top:0; z-index:20; backdrop-filter:blur(16px); box-shadow:0 1px 0 rgba(198,214,232,.75); }
.itb-header .wp-block-navigation-item__content { font-weight:650; }
.itb-logo-link { display:inline-flex; align-items:center; flex:0 0 auto; }
.itb-logo { display:block; width:150px; height:68px; object-fit:contain; }
.itb-logo--footer { width:170px; height:86px; }
.itb-hero { background:radial-gradient(circle at 7% 0%,#ddecff 0,transparent 32%),linear-gradient(180deg,#fff 0%,#f3f8ff 100%); }
.itb-hero-photo { height:540px; margin:0; border-radius:32px 32px 96px 32px; overflow:hidden; box-shadow:0 28px 70px rgba(20,56,100,.2); }
.itb-hero-photo img,.itb-feature-photo img { display:block; width:100%; height:100%; object-fit:cover; }
.itb-eyebrow { text-transform:uppercase; letter-spacing:.12em; font-size:13px; font-weight:800; color:var(--itb-blue); }
.itb-hero h1 { max-width:680px; font-size:clamp(40px,4.6vw,62px)!important; letter-spacing:-.05em; line-height:1.04; }
.itb-hero h1 mark { white-space:nowrap; }
.itb-service-grid .wp-block-post { display:flex; }
.itb-card { height:100%; border:1px solid #dce6f1; border-radius:22px; box-shadow:0 10px 35px rgba(26,65,111,.06); transition:.2s ease; }
.itb-card:hover { transform:translateY(-4px); border-color:#aac9ee; box-shadow:0 18px 44px rgba(26,65,111,.11); }
.itb-feature-photo { height:560px; margin:0; border-radius:30px 80px 30px 30px; overflow:hidden; }
#news .wp-block-post-title { font-size:clamp(24px,2.15vw,31px)!important; line-height:1.12; }
.itb-step { border-top:1px solid #dce6f1; padding-top:16px; }
.itb-contact-link { border:1px solid rgba(255,255,255,.14); border-radius:14px; background:rgba(255,255,255,.06); }
.itb-contact-link a { color:#8dcbff; text-decoration-color:rgba(141,203,255,.55); }
.itb-contact-link strong { color:#fff; }
.itb-contact-link:hover { background:rgba(255,255,255,.1); }
.wp-block-button__link { transition:.2s ease; }
.wp-block-button__link:hover { transform:translateY(-2px); }
@media (max-width:781px) {
  .itb-shell { width:min(100% - 28px,1180px); }
  .itb-logo { width:118px; height:54px; }
  .itb-hero h1 { font-size:clamp(32px,9.2vw,40px)!important; }
  .itb-hero-photo,.itb-feature-photo { height:390px; border-radius:24px 24px 62px; }
  .itb-header .wp-block-buttons { display:none; }
}
@media (prefers-reduced-motion:reduce) { html{scroll-behavior:auto} *{transition-duration:.01ms!important} }
