:root {
  --ink: #071426;
  --muted: #5a6b81;
  --paper: #f6f9fc;
  --white: #ffffff;
  --blue: #075ec7;
  --blue-deep: #06245f;
  --cyan: #23b7eb;
  --green: #35b66b;
  --amber: #ffb340;
  --red: #e6534f;
  --line: #dce7f4;
  --shadow: 0 24px 70px rgba(7, 20, 38, 0.14);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 34px rgba(7, 20, 38, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 3px solid currentColor;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-size: 25px;
  line-height: 1;
  font-weight: 900;
}

.site-header.is-scrolled .brand-mark,
.site-header.nav-active .brand-mark {
  border-color: var(--blue);
}

.brand-name {
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 0.94rem;
  font-weight: 750;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-call,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  line-height: 1;
}

.header-call {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.38);
}

.site-header.is-scrolled .header-call,
.site-header.nav-active .header-call {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.header-call svg,
.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius);
  color: inherit;
  background: rgba(255, 255, 255, 0.12);
}

.site-header.is-scrolled .nav-toggle,
.site-header.nav-active .nav-toggle {
  border-color: var(--line);
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-header.nav-active .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.nav-active .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-active .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  display: flex;
  align-items: end;
  min-height: 84svh;
  padding: 130px clamp(18px, 5vw, 72px) clamp(48px, 8vw, 92px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(3, 22, 58, 0.94) 0%, rgba(3, 31, 82, 0.84) 43%, rgba(4, 25, 58, 0.18) 100%),
    image-set(url("assets/bulhost-reference.jpg") type("image/jpeg")) center right / auto 100% no-repeat;
}

.hero-inner {
  width: min(760px, 100%);
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(4rem, 11vw, 9.5rem);
  font-weight: 950;
}

.hero-lede {
  max-width: 690px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.3rem, 2.6vw, 2.45rem);
  font-weight: 850;
  line-height: 1.17;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button.primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 14px 32px rgba(7, 94, 199, 0.34);
}

.button.ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.38);
}

.button.outline {
  color: var(--blue);
  background: var(--white);
  border-color: var(--line);
}

.button.full {
  width: 100%;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  font-weight: 750;
}

.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.contact-strip a {
  display: grid;
  place-items: center;
  min-height: 64px;
  padding: 12px 18px;
  color: var(--blue-deep);
  background: var(--white);
  font-weight: 850;
  text-align: center;
}

.section-pad {
  padding: clamp(68px, 9vw, 118px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 900px;
}

.section-heading.center {
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2,
.split-copy h2,
.reputation-copy h2 {
  font-size: clamp(2rem, 4.2vw, 4.5rem);
  font-weight: 950;
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  background: var(--white);
}

.intro-copy {
  display: grid;
  gap: 20px;
  padding-top: 8px;
}

.services {
  background:
    linear-gradient(180deg, #f6f9fc 0%, #ffffff 100%);
}

.services.section-pad {
  padding-bottom: clamp(18px, 2.5vw, 32px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.timeline article,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 46px rgba(7, 20, 38, 0.08);
}

.service-card {
  min-height: 306px;
  padding: 28px;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 24px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--blue);
}

.service-icon svg,
.support-grid svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.service-card:nth-child(2) .service-icon {
  background: var(--green);
}

.service-card:nth-child(3) .service-icon {
  background: var(--amber);
}

.service-card:nth-child(4) .service-icon {
  background: var(--blue-deep);
}

.service-card h3,
.timeline h3,
.support-grid h3,
.contact-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  background: var(--white);
}

.split.section-pad {
  padding-top: clamp(18px, 2.5vw, 32px);
  padding-bottom: clamp(42px, 5vw, 76px);
}

.media-panel {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  justify-self: center;
  width: min(100%, 690px);
}

.media-panel img {
  width: 100%;
  height: auto;
}

.split-copy p:not(.eyebrow) {
  margin-top: 22px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--ink);
  font-weight: 750;
  line-height: 1.5;
}

.check-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: var(--white);
  content: "✓";
  background: var(--green);
  font-size: 0.82rem;
  font-weight: 950;
}

.process {
  background: var(--paper);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.timeline article {
  position: relative;
  min-height: 300px;
  padding: 28px;
}

.timeline span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue-deep);
  font-size: 0.85rem;
  font-weight: 950;
}

.timeline article:nth-child(2) span {
  background: var(--green);
}

.timeline article:nth-child(3) span {
  background: var(--amber);
}

.timeline article:nth-child(4) span {
  background: var(--red);
}

.reputation {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(280px, 460px);
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
  color: var(--white);
  background: #0a1730;
}

.reputation .eyebrow {
  color: var(--amber);
}

.reputation p {
  color: rgba(255, 255, 255, 0.78);
}

.reputation-copy p:not(.eyebrow) {
  margin-top: 22px;
}

.rating-ladder {
  display: grid;
  gap: 10px;
}

.rating-ladder div {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  min-height: 58px;
  padding: 10px 16px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.rating-ladder strong {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
}

.rating-ladder div:nth-child(2) strong {
  background: #ef7f45;
}

.rating-ladder div:nth-child(3) strong {
  background: var(--amber);
}

.rating-ladder div:nth-child(4) strong {
  background: var(--cyan);
}

.rating-ladder div:nth-child(5) strong {
  background: var(--green);
}

.support-band {
  padding: clamp(52px, 7vw, 86px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background: var(--blue);
}

.support-band h2 {
  margin-bottom: 34px;
  text-align: center;
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  font-weight: 950;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.28);
}

.support-grid div {
  min-height: 220px;
  padding: 28px;
  background: var(--blue);
  text-align: center;
}

.support-grid svg {
  width: 42px;
  height: 42px;
  margin: 0 auto 18px;
}

.support-grid p {
  color: rgba(255, 255, 255, 0.82);
}

.contact {
  background: var(--white);
}

.contact .section-heading {
  margin-bottom: 34px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(280px, 360px);
  gap: 18px;
}

.map-frame {
  overflow: hidden;
  min-height: 480px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.map-frame iframe {
  display: block;
  border: 0;
}

.contact-card {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 24px;
}

.contact-card img {
  width: min(220px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.footer {
  display: grid;
  gap: 18px;
  justify-items: center;
  padding: 44px clamp(18px, 5vw, 72px);
  color: var(--white);
  background: var(--ink);
  text-align: center;
}

.footer-brand .brand-mark {
  border-color: var(--blue);
}

.footer p {
  color: rgba(255, 255, 255, 0.74);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  font-weight: 750;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--cyan);
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 72px 16px auto 16px;
    display: none;
    grid-column: 1 / -1;
    align-items: stretch;
    justify-self: stretch;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-header.nav-active .site-nav {
    display: grid;
  }

  .site-nav a {
    min-height: 54px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-nav a::after {
    display: none;
  }

  .header-call {
    display: none;
  }

  .service-grid,
  .timeline,
  .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .hero {
    min-height: 78svh;
    padding-top: 112px;
    background:
      linear-gradient(180deg, rgba(4, 19, 52, 0.94) 0%, rgba(4, 26, 68, 0.86) 52%, rgba(4, 25, 58, 0.44) 100%),
      image-set(url("assets/bulhost-reference.jpg") type("image/jpeg")) center top / contain no-repeat;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 19vw, 5.6rem);
  }

  .hero-lede {
    font-size: clamp(1.25rem, 7vw, 2rem);
  }

  .button {
    width: 100%;
  }

  .contact-strip,
  .intro,
  .split,
  .reputation,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-strip a {
    min-height: 54px;
  }

  .section-heading.center {
    text-align: left;
  }

  .media-panel img {
    aspect-ratio: auto;
  }

  .map-frame {
    min-height: 380px;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 66px;
    padding: 10px 14px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

  .site-nav {
    inset: 66px 12px auto 12px;
  }

  .hero {
    min-height: 74svh;
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero-points span {
    font-size: 0.82rem;
  }

  .service-grid,
  .timeline,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .timeline article {
    min-height: auto;
  }

  .support-grid div {
    min-height: 190px;
  }
}
