/* IBH Companies: static rebuild of the 2017 Wix site (2026-12). Same look, plain HTML + CSS. */
:root {
  --ink: #3c3c3c;
  --text: #555;
  --muted: #8a8a8a;
  --bar: #3d3d3d;
  --orange: #f15a22;
  --blue: #1b8fd8;
  --blue-dark: #0b78c2;
  --mint: #eef6dc;
  --sky: #dfeaee;
  --white: #fff;
  --wrap: 980px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font: 300 15px/1.75 "Helvetica Neue", Helvetica, Arial, sans-serif;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(var(--wrap), 100% - 32px); margin: 0 auto; }
.center { text-align: center; }

/* ---------- header ---------- */
.site-header { background: var(--bar); color: var(--white); position: relative; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 6px; text-decoration: none; color: var(--white); font-size: 15px; font-weight: 400; }
.brand img { height: 36px; width: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; padding: 0; list-style: none; }
.nav a { color: #b5b5b5; text-decoration: none; font-size: 14px; letter-spacing: .01em; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav-toggle { display: none; background: none; border: 1px solid #777; color: var(--white); padding: 6px 10px; font: inherit; font-size: 13px; cursor: pointer; }

/* ---------- headings ---------- */
.title {
  margin: 0 0 24px;
  font-size: clamp(20px, 3.2vw, 30px);
  font-weight: 300;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.35;
}
.title b { font-weight: 700; letter-spacing: .12em; }
.lede { max-width: 760px; margin: 0 auto; font-size: 15px; }
.section { padding: 72px 0; }
.btn {
  display: inline-block; padding: 9px 38px; border: 0; cursor: pointer;
  background: var(--orange); color: var(--white); text-decoration: none;
  font: 400 13px/1.6 "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.btn:hover { background: #d94c17; }
.btn-blue { background: var(--blue); }
.btn-blue:hover { background: var(--blue-dark); }

/* ---------- photo bands ---------- */
.band { background: center / cover no-repeat; }
.hero { height: 360px; }
.hero-strip { height: 143px; }
.band-text {
  min-height: 480px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px 16px;
}
.band-text .title { margin: 0; }

/* ---------- home ---------- */
.home-top { background: var(--sky); }
.home-top .wrap { height: 270px; position: relative; }
.home-top .logo { position: absolute; left: 0; top: 22px; width: 140px; height: auto; }
.band.dim { position: relative; }
.band.dim::before { content: ""; position: absolute; inset: 0; background: rgba(20, 42, 52, .5); }
.band.dim > * { position: relative; }
.band.blur { position: relative; overflow: hidden; background-image: none !important; }
.band.blur::before { content: ""; position: absolute; inset: -24px; background: var(--img) center / cover no-repeat; filter: blur(7px); }
.rule-orange { height: 12px; background: var(--orange); }
.notch { position: relative; }
.notch::after {
  content: ""; position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%);
  border-left: 42px solid transparent; border-right: 42px solid transparent; border-top: 26px solid var(--blue);
  filter: drop-shadow(0 4px 0 #4a4a4a);
}
.tabs-bar { background: var(--blue); color: var(--white); }
.tabs-bar .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.tabs-bar h3 { margin: 0; padding: 4px 0; text-align: center; font-weight: 400; font-size: 17px; letter-spacing: .28em; text-transform: uppercase; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 0 0 56px; }
.card img { width: 100%; height: auto; aspect-ratio: 292 / 150; object-fit: cover; }
.card p { font-size: 12.5px; line-height: 2.1; text-align: center; margin: 26px 8px 18px; }
.card .more { display: block; text-align: center; color: var(--orange); font-size: 12px; }
.card h3.m { display: none; margin: 18px 0 0; text-align: center; font-weight: 400; font-size: 15px; letter-spacing: .28em; text-transform: uppercase; color: var(--ink); }
.mint { background: var(--mint); }
.subs { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; text-align: center; }
.subs p { font-size: 14px; margin: 0 0 18px; }
.brand-circle {
  width: min(100%, 320px); aspect-ratio: 1; border-radius: 50%; background: #ddd; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; align-content: center; justify-items: center; gap: 10px 8px; padding: 34px;
}
.brand-circle img { max-height: 46px; width: auto; }
.brand-circle .wide { grid-column: 1 / -1; max-height: 40px; }
.econ-link { display: inline-block; margin-top: 18px; color: var(--blue); font-size: 12px; }

/* ---------- team ---------- */
.portraits { display: grid; grid-template-columns: repeat(3, 1fr); }
.portrait { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #000; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.portrait .cap {
  position: absolute; inset: auto 0 0 0; padding: 60px 8px 18px; text-align: center; color: var(--white);
  background: linear-gradient(to top, rgba(0,0,0,.45), rgba(0,0,0,0));
  line-height: 1.3;
}
.portrait .name { font-size: 17px; font-weight: 400; display: block; }
.portrait .role { font-size: 11px; display: block; margin: 2px 0 4px; }
.portrait button { background: none; border: 0; color: var(--white); text-decoration: underline; font: inherit; font-size: 12px; cursor: pointer; }
dialog.bio { max-width: 720px; width: calc(100% - 32px); border: 0; padding: 40px 44px; color: var(--text); font-size: 14px; line-height: 1.8; }
dialog.bio::backdrop { background: rgba(0,0,0,.7); }
dialog.bio h2 { margin: 0 0 4px; font-weight: 400; color: var(--ink); }
dialog.bio .role { margin: 0 0 18px; color: var(--muted); }
dialog.bio .close { position: absolute; top: 10px; right: 14px; background: none; border: 0; font-size: 28px; line-height: 1; cursor: pointer; color: #777; }

/* ---------- resources ---------- */
.bokeh {
  background:
    radial-gradient(circle at 8% 20%, rgba(255,255,255,.45) 0 30px, transparent 46px),
    radial-gradient(circle at 18% 78%, rgba(255,255,255,.28) 0 48px, transparent 70px),
    radial-gradient(circle at 33% 40%, rgba(255,255,255,.2) 0 18px, transparent 34px),
    radial-gradient(circle at 62% 88%, rgba(255,255,255,.28) 0 56px, transparent 80px),
    radial-gradient(circle at 78% 18%, rgba(255,255,255,.25) 0 36px, transparent 58px),
    radial-gradient(circle at 92% 62%, rgba(255,255,255,.35) 0 50px, transparent 74px),
    radial-gradient(circle at 50% 10%, rgba(255,255,255,.18) 0 22px, transparent 38px),
    linear-gradient(135deg, #f3d9cf 0%, #f2b5a6 45%, #ee8f84 100%);
}
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 48px; }
.col img { width: 100%; height: auto; aspect-ratio: 292 / 150; object-fit: cover; }
.col h3 { margin: 22px 0 10px; text-align: center; font-weight: 400; font-size: 15px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink); }
.col p { text-align: center; margin: 0 0 14px; font-size: 14px; color: #5a4a46; }
.col ul { margin: 0; padding-left: 18px; font-size: 13px; line-height: 2; color: #5a4a46; }

/* ---------- contact ---------- */
.address { font-weight: 700; color: var(--ink); font-size: 16px; line-height: 1.45; margin-top: 30px; }
.address a { text-decoration: none; }
.directions { display: inline-block; margin-top: 14px; color: var(--blue); font-size: 13px; }

/* ---------- 4TK offer page (/pdf) ---------- */
.back { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 2px solid var(--orange); border-radius: 50%; color: var(--orange); text-decoration: none; font-size: 30px; line-height: 1; padding-bottom: 4px; }
.offer-body { max-width: 780px; margin: 0 auto; text-align: center; font-size: 14.5px; }
.offer-body p { margin: 0 0 24px; }
.offer-body a, .offer-bios a { color: var(--ink); }
.offer .hl { color: #f55e0c; font-weight: 700; font-size: 17px; }
.offer-bios { max-width: 780px; margin: 40px auto 0; font-size: 12.5px; line-height: 1.7; }
.offer-bios p { margin: 0 0 20px; }
.offer-bios strong, .offer-body strong { color: var(--ink); font-weight: 700; }
.download { margin-top: 36px; }
.dl-title { color: #858582; font-weight: 700; font-size: 18px; margin: 0 0 18px; }
.pdf-link { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: #858582; }
.pdf-link span { font-weight: 700; font-size: 13px; }
.pdf-link .pdf-word { font-weight: 400; font-size: 16px; letter-spacing: .05em; }

/* ---------- booking form ---------- */
.booking { display: grid; grid-template-columns: 1fr 1.25fr; border: 1px solid #e3e3e3; margin-top: 40px; text-align: left; }
.booking .side { background: linear-gradient(160deg, #1b8fd8 0%, #0d5f94 100%); color: var(--white); padding: 36px 32px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; min-height: 260px; }
.booking .side img { width: 54px; margin-bottom: auto; }
.booking .side h2 { margin: 0 0 6px; font-weight: 400; font-size: 22px; }
.booking .side p { margin: 0; font-size: 14px; }
.booking form { padding: 32px; display: grid; gap: 14px; }
.field label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.field input, .field textarea {
  width: 100%; padding: 9px 10px; border: 1px solid #ccc; border-radius: 0; font: 400 14px/1.4 "Helvetica Neue", Helvetica, Arial, sans-serif; color: var(--ink); background: #fff;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 12px; color: var(--muted); margin: 0; }
.form-status { font-size: 14px; margin: 0; min-height: 1.4em; }
.form-status.ok { color: #2e7d32; }
.form-status.err { color: #c62828; }

/* ---------- footer ---------- */
.site-footer { background: var(--bar); color: #e6e6e6; font-size: 12px; line-height: 1.65; padding: 0 0 22px; }
.site-footer a { color: #e6e6e6; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.foot { display: grid; grid-template-columns: 96px 1fr; gap: 34px; }
.foot .logo { width: 96px; margin-top: 24px; }
.strip { width: 100%; height: 97px; object-fit: cover; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 16px 30px; padding-top: 14px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0 30px 0 0; border-right: 1px solid #9a9a9a; }
.foot-cols ul:last-of-type { border-right: 0; }
.foot-addr { padding-right: 30px; border-right: 1px solid #9a9a9a; }
.foot-addr strong { font-size: 13px; font-weight: 700; color: var(--white); }
.meet { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.meet img { width: 38px; }
.meet b { display: block; color: var(--white); font-weight: 700; }
.legal { margin: 18px 0 0; max-width: 360px; font-size: 9.5px; color: #a6a6a6; line-height: 1.5; }

/* ---------- small screens ---------- */
@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; width: 100%; flex-direction: column; padding: 8px 0 14px; }
  .nav.open { display: flex; }
  .site-header .wrap { flex-wrap: wrap; }
  .tabs-bar .wrap, .cards, .cols3, .subs, .portraits, .booking, .row2 { grid-template-columns: 1fr; }
  .tabs-bar h3 { display: none; }
  .card h3.m { display: block; }
  .hero { height: 220px; }
  .home-top .wrap { height: 190px; }
  .home-top .logo { width: 100px; }
  .section { padding: 52px 0; }
  .foot { grid-template-columns: 1fr; }
  .foot .logo { display: none; }
  .foot-cols ul, .foot-addr { border-right: 0; padding-right: 0; }
  .meet { margin-left: 0; }
  dialog.bio { padding: 34px 22px; }
}
