:root {
  --beko-primary: #9f2f78;
  --beko-primary-dark: #762159;
  --beko-primary-soft: #f8edf4;
  --beko-ink: #211c24;
  --beko-muted: #6d6670;
  --beko-surface: #f7f5f7;
  --beko-border: #e8e2e7;
  --bs-primary: #9f2f78;
  --bs-primary-rgb: 159, 47, 120;
  --bs-link-color: #8d296a;
  --bs-link-hover-color: #651c4c;
  --bs-focus-ring-color: rgba(159, 47, 120, .24);
}

html { scroll-padding-top: 96px; }
body { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--beko-ink); line-height: 1.72; background: #fff; -webkit-font-smoothing: antialiased; }
a { color: var(--bs-link-color); text-underline-offset: .18em; }
a:hover { color: var(--bs-link-hover-color); }
h1, h2, h3, h4, h5 { color: var(--beko-ink); font-weight: 750; line-height: 1.16; letter-spacing: -.025em; margin-bottom: 1.15rem; }
h1 { font-size: clamp(2rem, 4vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.45rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
.light { font-weight: 400; }
.strong, strong { font-weight: 750; }
.no-gutters { --bs-gutter-x: 0; }

/* Keep legacy containers fixed when they are direct children of a Bootstrap row. */
.row.no-gutters > .container {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  padding-inline: .75rem;
}

@media (min-width: 576px) { .row.no-gutters > .container { max-width: 540px; } }
@media (min-width: 768px) { .row.no-gutters > .container { max-width: 720px; } }
@media (min-width: 992px) { .row.no-gutters > .container { max-width: 960px; } }
@media (min-width: 1200px) { .row.no-gutters > .container { max-width: 1140px; } }
@media (min-width: 1400px) { .row.no-gutters > .container { max-width: 1320px; } }

section, footer { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.topbar { color: #5f5862; background: #f4f1f4; border-bottom: 1px solid var(--beko-border); padding: .35rem 0; font-size: .82rem; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: var(--beko-primary); }
.top-socials { display: flex; gap: .65rem; justify-content: flex-end; align-items: center; }

.navbar { font-weight: 700; background: rgba(255,255,255,.94) !important; border-bottom: 1px solid rgba(232,226,231,.8); box-shadow: 0 12px 35px rgba(33,28,36,.08); backdrop-filter: blur(14px); }
.navbar-brand img { width: 180px; height: auto; transition: width .3s ease; }
.navbar-small .navbar-brand img { width: 122px; }
.navbar .nav-link { color: #514a53; padding: .85rem .75rem !important; position: relative; }
.navbar .nav-link::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .55rem; height: 2px; background: var(--beko-primary); transform: scaleX(0); transition: transform .2s ease; }
.navbar .nav-link:hover, .navbar .nav-link:focus { color: var(--beko-primary); }
.navbar .nav-link:hover::after, .navbar .nav-link:focus::after { transform: scaleX(1); }
.navbar-toggler { border: 0; box-shadow: none !important; padding: .75rem; }
.icon-bar { width: 24px; height: 2px; background: var(--beko-ink); display: block; margin-top: 5px; transition: .2s ease; }
.navbar-toggler:not(.collapsed) .top-bar { transform: translateY(7px) rotate(45deg); }
.navbar-toggler:not(.collapsed) .middle-bar { opacity: 0; }
.navbar-toggler:not(.collapsed) .bottom-bar { transform: translateY(-7px) rotate(-45deg); }

.bg { background-position: center; background-repeat: no-repeat; background-size: cover; position: relative; min-height: min(68vh, 650px); display: grid; align-items: end; isolation: isolate; }
.bg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,15,22,.62), rgba(20,15,22,.12) 68%); }
.home-bg { background-image: url("../img/headers/home.jpg"); }
.home-bg .section { padding-bottom: clamp(4rem, 9vw, 7rem); }
.home-header { max-width: 880px; margin: 0 auto 1rem; color: #fff; text-shadow: 0 3px 20px rgba(0,0,0,.28); }
.home-header + h1 { color: #fff; font-size: clamp(1.3rem, 3vw, 2.4rem); text-shadow: 0 3px 18px rgba(0,0,0,.32); }

.btn { border-radius: .75rem; padding: .7rem 1.1rem; font-weight: 750; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-client { color: #fff !important; background: var(--beko-primary); border: 1px solid var(--beko-primary); box-shadow: 0 10px 24px rgba(159,47,120,.22); }
.btn-client:hover, .btn-client:focus { background: var(--beko-primary-dark); border-color: var(--beko-primary-dark); box-shadow: 0 14px 30px rgba(159,47,120,.3); }
.btn-client-alt { color: var(--beko-primary) !important; background: #fff; border: 1px solid #fff; }
.btn-client-alt:hover { color: var(--beko-primary-dark) !important; box-shadow: 0 10px 28px rgba(0,0,0,.16); }

.primary-bg { color: #fff; background: linear-gradient(135deg, var(--beko-primary-dark), var(--beko-primary)); }
.primary-bg h1, .primary-bg h2, .primary-bg h3 { color: #fff; }
.card { height: calc(100% - 1.5rem); margin-bottom: 1.5rem; border: 1px solid var(--beko-border); border-radius: 1.1rem; box-shadow: 0 14px 40px rgba(33,28,36,.08); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(33,28,36,.13); }
.card-img-top { aspect-ratio: 3 / 2; object-fit: cover; }
.card-body { padding: 1.55rem; }
.card .card-text { color: var(--beko-muted); font-size: .96rem; min-height: 0; }
.card .large-text { min-height: 0; }
.blockquote { margin: 1.5rem 0 2rem; padding: 1.35rem 1.5rem; border-left: 4px solid var(--beko-primary); border-radius: 0 .75rem .75rem 0; background: var(--beko-primary-soft); color: #4a414b; }

.form-group { margin-bottom: 1rem; }
.form-control, .form-select { min-height: 3.2rem; border-radius: .75rem; border-color: #dcd4da; padding-inline: .9rem; }
textarea.form-control { min-height: 9rem; padding-top: .8rem; }
.form-control:focus, .form-select:focus { border-color: var(--beko-primary); box-shadow: 0 0 0 .25rem rgba(159,47,120,.16); }
.robo { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.content-image-paragraph { display: flow-root; }
.image-right { float: right !important; width: min(48%, 600px); height: auto; margin: 0 0 1.5rem 2.25rem; border-radius: 1rem; box-shadow: 0 16px 38px rgba(33,28,36,.12); }
img.grayscale { filter: grayscale(100%); margin-top: 1.5rem; transition: filter .25s ease; border-radius: 1rem; }
img.grayscale:hover { filter: grayscale(0); }
.fa-ul { list-style: none; padding-left: 1.75rem; }
.fa-ul li { position: relative; margin-bottom: .45rem; }
.fa-li { position: absolute; left: -1.65rem; top: .15rem; }
.fa-stack { position: relative; display: inline-block; width: 2em; height: 2em; line-height: 2em; vertical-align: middle; }
.svg-icon { width: 1em; height: 1em; object-fit: contain; vertical-align: -.125em; }
.svg-icon.fa-fw { width: 1.25em; }
.svg-icon.fa-xs { width: .78em; height: .78em; }
.svg-icon.fa-circle { filter: invert(23%) sepia(46%) saturate(2457%) hue-rotate(287deg) brightness(92%); }
.fa-stack .svg-icon { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.fa-stack .fa-stack-1x { width: .9em; height: .9em; filter: brightness(0) invert(1); }
.fa-stack .fa-stack-2x { width: 2em; height: 2em; }
.topbar .svg-icon, footer .svg-icon { filter: opacity(.72); }

.footer { background: var(--beko-ink); color: #cfc8d0; }
.footer h4 { color: #fff; }
.footer a { color: #eee8ed; }
.copyright { padding: 1rem 0; background: #171319; color: #bdb5be; font-size: .88rem; }
.copyright__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.copyright__credit { margin-left: auto; text-align: right; }
.privacy, .cookies { max-width: 900px; margin: 0 auto; padding: clamp(2rem, 5vw, 5rem) 1rem; }

@media (max-width: 767.98px) {
  section, footer { padding-block: 3.25rem; }
  .topbar .row > div { text-align: center !important; }
  .top-socials { justify-content: center; }
  .navbar-brand img { width: 145px; }
  .bg { min-height: 520px; background-position: 58% center; }
  .bg::before { background: linear-gradient(0deg, rgba(20,15,22,.72), rgba(20,15,22,.08)); }
  .home-bg .section { padding: 0 1.1rem 3.5rem; }
  .image-right { float: none !important; display: block; width: 100%; margin: 0 0 1.5rem; }
  .copyright__inner { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Homepage redesign */
.eyebrow { margin: 0 0 1rem; color: var(--beko-primary); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.home-hero { position: relative; min-height: 720px; display: flex; align-items: flex-end; color: #fff; background-position: center; background-size: cover; isolation: isolate; overflow: hidden; }
.home-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(18,14,20,.88) 0%, rgba(18,14,20,.54) 52%, rgba(18,14,20,.08) 100%); }
.home-hero::after { content: ""; position: absolute; z-index: -1; width: 620px; height: 620px; right: -260px; bottom: -310px; border-radius: 50%; background: rgba(159,47,120,.82); filter: blur(2px); }
.home-hero__container { padding-block: 6.5rem 5rem; }
.home-hero .eyebrow { color: #f3b8dc; }
.home-hero h1 { max-width: 900px; margin-bottom: 1.25rem; color: #fff; font-size: clamp(3rem, 6.5vw, 6.4rem); line-height: .98; letter-spacing: -.055em; text-wrap: balance; }
.home-hero__lead { max-width: 720px; margin-bottom: 2rem; color: rgba(255,255,255,.82); font-size: clamp(1.05rem, 1.7vw, 1.3rem); line-height: 1.65; }
.home-hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.btn-ghost { color: #fff !important; border: 1px solid rgba(255,255,255,.6); background: rgba(255,255,255,.08); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: #fff; background: #fff; color: var(--beko-ink) !important; }
.hero-proof { margin-left: auto; max-width: 300px; padding: 1.8rem; border: 1px solid rgba(255,255,255,.24); border-radius: 1.35rem; background: rgba(25,18,26,.64); box-shadow: 0 24px 60px rgba(0,0,0,.24); backdrop-filter: blur(18px); }
.hero-proof__label { display: block; margin-bottom: .75rem; color: #f3b8dc; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero-proof strong { display: block; color: #fff; font-size: 2rem; line-height: 1.05; }
.hero-proof > span:not(.hero-proof__label) { color: rgba(255,255,255,.78); }
.hero-proof hr { border-color: rgba(255,255,255,.22); }
.hero-proof small { color: rgba(255,255,255,.7); line-height: 1.5; }

.intro-section { position: relative; background: #fff; }
.section-heading { max-width: 760px; margin: 0 auto 3.5rem; text-align: center; }
.section-heading > p:last-child { color: var(--beko-muted); font-size: 1.08rem; }
.feature-grid { align-items: stretch; }
.feature-card { height: 100%; padding: 2.2rem; border: 1px solid var(--beko-border); border-radius: 1.4rem; background: #fff; box-shadow: 0 18px 55px rgba(33,28,36,.07); }
.feature-card--accent { color: #fff; background: var(--beko-ink); border-color: var(--beko-ink); transform: translateY(-1.2rem); }
.feature-card--accent h3, .feature-card--accent a { color: #fff; }
.feature-card.feature-card--accent p { color: #fff; }
.feature-card .fa-stack { margin-bottom: 1.5rem; }
.feature-card h3 { margin-bottom: .8rem; }
.feature-card p { color: var(--beko-muted); }
.feature-card > a { display: inline-flex; align-items: center; gap: .45rem; margin-top: .5rem; font-weight: 750; text-decoration: none; }
.feature-card > a .svg-icon { transition: transform .2s ease; }
.feature-card > a:hover .svg-icon { transform: translateX(4px); }

.quote-banner { padding: 0 0 clamp(4.5rem, 8vw, 7rem); background: var(--beko-surface); }
.quote-banner__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(2.2rem, 5vw, 4.5rem); border-radius: 1.8rem; color: #fff; background: linear-gradient(120deg, var(--beko-primary-dark), var(--beko-primary)); box-shadow: 0 25px 60px rgba(118,33,89,.24); }
.quote-banner .eyebrow { color: #f6cbe5; }
.quote-banner h2 { margin-bottom: .65rem; color: #fff; }
.quote-banner p:last-child { margin: 0; color: rgba(255,255,255,.78); }
.quote-banner .btn { flex: 0 0 auto; }

.services-section { background: #fff; }
.section-heading--split { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 2rem; text-align: left; }
.section-heading--split > div { max-width: 680px; }
.section-heading--split h2 { margin-bottom: 0; }
.section-heading--split > a { flex: 0 0 auto; font-weight: 750; text-decoration: none; }
.service-card { position: relative; border: 0; background: var(--beko-surface); box-shadow: none; }
.service-card:hover { box-shadow: 0 24px 55px rgba(33,28,36,.14); }
.service-card--raised { transform: translateY(-1.4rem); }
.service-card--raised:hover { transform: translateY(-1.8rem); }
.service-card .card-img-top { height: 270px; }
.service-card .card-body { position: relative; padding: 2rem; }
.service-card__number { position: absolute; right: 1.8rem; top: 1.8rem; color: #d6cdd4; font-size: 2rem; font-weight: 800; line-height: 1; }
.service-card .card-title { padding-right: 3rem; font-size: 1.55rem; }
.service-card__link { display: inline-flex; align-items: center; gap: .5rem; margin-top: .4rem; color: var(--beko-primary-dark); font-weight: 800; text-decoration: none; }

@media (max-width: 991.98px) {
  .home-hero { min-height: 680px; }
  .home-hero h1 { max-width: 760px; }
  .hero-proof { max-width: none; margin: 1rem 0 0; }
  .feature-card--accent, .service-card--raised { transform: none; }
  .service-card--raised:hover { transform: translateY(-6px); }
}

@media (max-width: 767.98px) {
  .home-hero { min-height: 720px; background-position: 58% center; }
  .home-hero::before { background: linear-gradient(0deg, rgba(18,14,20,.94) 0%, rgba(18,14,20,.55) 58%, rgba(18,14,20,.1) 100%); }
  .home-hero::after { width: 390px; height: 390px; right: -260px; bottom: -150px; }
  .home-hero__container { padding-block: 5rem 3rem; }
  .home-hero h1 { font-size: clamp(2.7rem, 13vw, 4.4rem); }
  .home-hero__actions .btn { width: 100%; }
  .section-heading { margin-bottom: 2.5rem; text-align: left; }
  .feature-card { padding: 1.65rem; }
  .quote-banner__inner, .section-heading--split { display: block; }
  .quote-banner .btn { width: 100%; margin-top: 1.5rem; }
  .section-heading--split > a { display: inline-block; margin-top: 1.2rem; }
  .service-card .card-img-top { height: 230px; }
}
