.site-brand-credit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1rem auto 0;
  padding: .875rem 1rem;
  width: min(100%, 34rem);
  box-sizing: border-box;
  background: #102a40;
  color: #fff;
  border-radius: .75rem;
  font: .9rem/1.45 system-ui, sans-serif;
  text-align: left;
}
.site-brand-credit img { width: 4.25rem; height: auto; border-radius: .25rem; }
.site-brand-credit span, .site-brand-credit strong, .site-brand-credit em { display: block; }
.site-brand-credit strong { font-size: 1.05rem; }
.site-brand-credit em { color: #e1edf7; }

.nav.site-header { border-bottom: 1px solid #d7e2ec; background: #fff; }
.site-header > .wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 4.75rem;
  height: auto;
  gap: clamp(.85rem, 1.5vw, 1.5rem);
}
.site-header .logo { display: flex; min-width: 0; }
.site-header .header-logo {
  display: block;
  width: clamp(11.9rem, 16vw, 14rem);
  height: auto;
  max-width: 100%;
  object-fit: contain;
  box-shadow: none;
  border-radius: 0;
}
.site-nav, .site-actions {
  display: flex;
  align-items: center;
  gap: clamp(.65rem, 1.35vw, 1.45rem);
  min-width: 0;
}
.site-nav { justify-content: center; color: #102a40; font-weight: 650; }
.site-nav details { position: relative; }
.site-nav summary {
  display: flex;
  align-items: center;
  gap: .45rem;
  list-style: none;
  cursor: pointer;
}
.site-nav summary::-webkit-details-marker { display: none; }
.site-nav summary::after {
  content: '';
  width: .38rem;
  height: .38rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.site-nav details[open] > summary::after { transform: rotate(225deg); }
.site-nav > a, .site-nav summary { padding: .75rem .125rem; white-space: nowrap; }
.site-nav a:hover, .site-nav summary:hover { color: #095d9a; }
.site-menu {
  position: absolute;
  z-index: 1;
  top: 100%;
  left: -.75rem;
  min-width: 12rem;
  padding: .4rem;
  border: 1px solid #d7e2ec;
  border-radius: .65rem;
  box-shadow: 0 .5rem 1.5rem #102a401a;
  background: #fff;
}
.site-menu a { display: block; padding: .55rem .65rem; border-radius: .3rem; }
.site-menu a:hover, .site-menu a:focus-visible { background: #e1edf7; }
.site-actions { gap: .5rem; justify-content: flex-end; }
.site-actions .country { width: auto; min-width: 0; max-width: none; padding: .55rem .4rem; margin: 0; }
.site-actions .navcta { display: inline-flex; padding: .65rem .8rem; white-space: nowrap; font-size: .9rem; }
.site-actions .ht-navphone { white-space: nowrap; font-size: .875rem; }
.site-menu-toggle { display: none; }
.site-header :focus-visible, .video-play:focus-visible, .video-player iframe:focus-visible {
  outline: 3px solid #095d9a;
  outline-offset: 3px;
}
section[id] { scroll-margin-top: 5.75rem; }
.ht-story .ht-story-figure img { width: 100%; max-width: 100%; height: auto; }
.about-video-card { margin-top: 1rem; }
.video-player { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #102a40; border-radius: .5rem; }
.video-player.video-short { aspect-ratio: 9 / 16; max-width: 18rem; margin-inline: auto; }
.video-player iframe, .video-play { display: block; width: 100%; height: 100%; border: 0; }
.video-play { position: relative; padding: 0; color: #fff; background: #102a40; }
.video-play img { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-play .video-play-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: .5rem;
  align-items: center;
  padding: .55rem .8rem;
  border-radius: .5rem;
  color: #fff;
  background: #095d9a;
  font-weight: 700;
}
.video-privacy { margin: .55rem .75rem; color: #526477; font-size: .875rem; }
.ht-project-thumb-wrap .project-photo-pending {
  display: grid;
  margin: 0;
  width: 100%;
  min-height: 10rem;
  place-items: center;
  padding: 1rem;
  color: #102a40;
  background: #e1edf7;
  text-align: center;
}

@media (max-width: 1250px) { .site-actions .ht-navphone { display: none; } }
@media (max-width: 1050px) {
  .site-header > .wrap { grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; min-height: 4rem; }
  .site-header .header-logo { width: clamp(8.4rem, 25vw, 11rem); }
  .site-nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    max-height: 70dvh;
    overflow: auto;
    padding: .75rem max(1rem, (100% - 44rem) / 2);
    border-bottom: 1px solid #d7e2ec;
    background: #fff;
  }
  .site-nav.is-open, .site-menu-toggle { display: block; }
  .site-nav > a { display: block; }
  .site-nav > a, .site-nav summary { padding: .75rem .5rem; }
  .site-menu { position: static; box-shadow: none; margin-bottom: .35rem; min-width: 0; }
  .site-menu-toggle { background: transparent; padding: .35rem; min-width: 2rem; font-size: 1.3rem; color: #102a40; }
}
@media (max-width: 480px) {
  .site-header > .wrap { width: 100%; padding-inline: .5rem; }
  .site-actions { gap: .25rem; }
  .site-actions .navcta { white-space: normal; text-align: center; max-width: 6rem; padding: .45rem; line-height: 1.15; font-size: .875rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (max-width: 760px) { .site-header > .wrap { height: auto; } }
.site-header .header-logo { background: #fff; }
.process-player { max-width: 46rem; margin-block: 1.5rem 1rem; }
.hero-photo { margin: 0; min-width: 0; }
.hero-photo img { display: block; width: 100%; max-height: 34rem; height: auto; object-fit: cover; border-radius: .75rem; }

.editorial-page { min-height: 60vh; }
.editorial-heading { padding-block: clamp(2rem, 5vw, 4.5rem) 1.75rem; }
.editorial-heading h1 {
  margin: 0;
  color: #102a40;
  font-size: clamp(2rem, 6vw, 4.5rem);
  line-height: 1.08;
}
.editorial-page .section { padding-top: clamp(1.75rem, 4vw, 3.25rem); }
.editorial-page .section h2 { font-size: clamp(1.4rem, 3vw, 2.4rem); }
.site-nav [aria-current="page"] { color: #095d9a; text-decoration: underline; text-underline-offset: .35em; }
.preview-notice {
  padding: .45rem .75rem;
  background: #e1edf7;
  color: #102a40;
  font: .9rem/1.45 system-ui, sans-serif;
  text-align: center;
}

.project-media fieldset { display: grid; gap: .9rem; max-width: 46rem; min-width: 0; margin-block: 1.5rem; border: 1px solid #d7e2ec; padding: 1rem; }
.project-media label { display: grid; gap: .35rem; min-width: 0; }
.project-media select, .project-media input:not([type="checkbox"]) { max-width: 100%; min-width: 0; }
.project-media label:has(input[type="checkbox"]) { display: flex; align-items: flex-start; }
.project-media img { border-radius: .5rem; height: auto; }
.portfolio-videos { margin-top: clamp(2.5rem, 6vw, 5rem); }

/* Admin pages outside the CRM shell: same logo header and visible links. */
.admin-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; flex-wrap: wrap; padding-block: 1.15rem; border-bottom: 1px solid #d7e2ec; }
.admin-header img { display: block; max-width: 45vw; height: auto; }
.admin-nav { display: flex; gap: .5rem 1.25rem; flex-wrap: wrap; }
.admin-nav a, .project-media a { color: #095d9a; text-decoration: underline; text-underline-offset: .2em; }
.admin-nav a:hover, .project-media a:hover { color: #102a40; }

/* Industries request fields inside the quote dialog (E4-M05-01). */
.b2b-fields { margin: 0 0 1rem; padding: .75rem 1rem 0; border: 1px solid #d7e2ec; border-radius: .5rem; min-width: 0; }
.b2b-fields legend { padding: 0 .35rem; font-weight: 600; }
.b2b-fields[hidden] { display: none; }

/* Individual project pages (E4-M01-02). */
.project-detail { max-width: 52rem; }
.project-detail .ht-project-card { margin-bottom: 1.5rem; }
.ht-project-detail { display: inline-block; margin-top: .5rem; color: #095d9a; text-decoration: underline; text-underline-offset: .2em; }

/* Brand layer: Open Sans and hebeltech.ro colours. */
@font-face{font-family:'Open Sans';font-style:normal;font-weight:400;font-display:swap;src:url(open-sans-latin-ext-400-normal.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:'Open Sans';font-style:normal;font-weight:400;font-display:swap;src:url(open-sans-latin-400-normal.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:'Open Sans';font-style:normal;font-weight:600;font-display:swap;src:url(open-sans-latin-ext-600-normal.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:'Open Sans';font-style:normal;font-weight:600;font-display:swap;src:url(open-sans-latin-600-normal.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:'Open Sans';font-style:normal;font-weight:700;font-display:swap;src:url(open-sans-latin-ext-700-normal.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:'Open Sans';font-style:normal;font-weight:700;font-display:swap;src:url(open-sans-latin-700-normal.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}
body,button,input,select,textarea{font-family:'Open Sans','Segoe UI',Arial,sans-serif}
h1,h2,h3{font-family:'Open Sans','Segoe UI',Arial,sans-serif;font-weight:700;letter-spacing:0}
.navcta,.site-actions .btn{background:#f8ba41;color:#192c4d}
.preview-notice{background:#fff4d9;color:#192c4d}
body{background:#fff}

/* v8: editorial pages open with a brand band; section titles follow the hebeltech.ro scale */
.editorial-page .section h2 { font-size: clamp(1.6rem, 2.6vw, 2.125rem); }
.whatsapp-float { position: fixed; left: 22px; bottom: 22px; z-index: 11; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 12px 18px; border-radius: 4px; background: #0b6e4f; color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 6px 22px rgba(0,0,0,.2); }
.whatsapp-float:hover { background: #085a40; color: #fff; }
@media (max-width: 760px) { .whatsapp-float { left: 15px; bottom: 15px; padding: 12px; } .whatsapp-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
@media print { .whatsapp-float { display: none; } }

.has-preview-banner .whatsapp-float{bottom:56px}
