/*
Theme Name: Dominium Real Estate 2025
Theme URI: http://theodagency.com
Description: Dominium Real Estate 2025
Author: Ollie Stott
Author URI: http://theodagency.com
Version: 1.0.0
*/

/* ========================
   BASE
======================== */
body{
  font-family:"Inter",sans-serif;
  font-weight:300;
  font-style:normal;
  font-size:16px;
}

/* (Kept ONLY the effective value — later rule in your original file wins) */
b,strong,.strong{ font-weight:500; }

/* ========================
   PAGE HEADER
======================== */
.page-header{
  height:45vh;
  min-height:320px;
  position:relative;
}

@media (max-width:768px){
  .page-header{ min-height:220px;  height:40vh; }
}

/* Background */
.page-header-bg{
  position:absolute;
  top:0; left:0;
  width:100%; height:100%;
  background-size:cover;
  background-position:center;
  z-index:1;
}

/* Overlay */
.page-header-overlay{
  position:absolute;
  top:0; left:0;
  width:100%; height:100%;
  z-index:2;
}

/* Content */
.page-header-content{
  position:relative;
  z-index:3;
  padding-bottom:40px;
}

/* ========================
   GENERAL STYLES
======================== */
a,.text-secondary{ color:#000; }

.bg-dark{ background:#111!important; }
.bg-primary{ background:#4d4d4d!important; }
.bg-secondary{ background:#f2f2f2!important; }

.home #header.headroom--top > header{ background:none; }

.btn,
input[type=submit],
button[type=submit],
.button{
  padding:8px 25px!important;
  border-radius:0;
  text-transform:uppercase;
  letter-spacing:.1em;
  font-size:.9em;
}

.btn-primary{
  background:#000!important;
  border-color:#000!important;
}

.accordion-item,
.accordion-button{ background:none; }

.accordion-button{ box-shadow:none!important; }

.bg-dark .accordion-button:after{
  background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>")!important;
}

.accordion-button:not(.collapsed){
  color:var(--bs-accordion-active-color);
  background-color:#8a57c8;
  transform-origin:center;
}

#specification .accordion-button:not(.collapsed){ background:none; }
#specification .accordion-button.no-sec:after{ display:none; }

#specification .accordion-button{
  padding-left:35px;
  color:#211356;
  font-weight:500;
}

#specification .accordion-button:before{
  font-family:'Font Awesome 6 Pro';
  content:'\f00c';
  position:absolute;
  left:10px;
}

#specification .accordion-button:not(.collapsed)::after{ transform:rotate(45deg); }

.bgimg{
  background-size:cover;
  background-position:50%;
}

.vh-50{ height:50vh; }

ol li{ margin-bottom:10px; }
ul li{ margin-bottom:5px; }

.text-primary{ color:#63e2be!important; }

/* ========================
   HEADINGS
======================== */
h1,h2,h3,h4,h5,h6{
  font-family:"Inter",sans-serif;
  letter-spacing:-.025em;
  line-height:1em;
}

h1{ font-size:calc(4.5rem + 1.5vw); }
h2{ font-size:calc(2.875rem + 1vw); }
h3{ font-size:calc(1.375rem + 1vw); }

.display-4{
  font-weight:500;
  line-height:1em;
}

h6{
  font-family:"Inter",sans-serif;
  text-transform:uppercase;
  letter-spacing:.1em;
  font-size:.8em;
}

h6.pill{
  display:inline-block;
  position:relative;
  padding:3px 10px;
  border-radius:20px;
  font-size:.9em;
  color:#fff;
}

/* ========================
   FORMS
======================== */
.form-group input,
.form-group textarea,
.wpforms-field-container input,
.wpforms-field-container textarea{
  background-color:#4a168d!important;
  border:none!important;
  color:#fff!important;
  padding:20px!important;
  border-radius:25px!important;
}

.form-control::placeholder,
input::placeholder,
textarea::placeholder{ color:#fff!important; }

/* ========================
   HEADER
======================== */
#header,
.nav-item *{
  -webkit-transition:all .5s;
  -moz-transition:all .5s;
  -ms-transition:all .5s;
  -o-transition:all .5s;
  transition:all .5s;
}

#alert a{ text-decoration:none; }

#header.headroom--not-top{ top:-56px; }

.nav-item a{
  color:#fff;
  font-weight:500;
  position:relative;
  padding:5px 0;
  margin:0 15px;
}

.nav-item.active a,
.nav-item:hover > a{ color:#fff; }

.nav-item a:hover::after{
  width:100%;
  transition:.25s ease all;
  padding-left:0;
}

.nav-item.current-menu-item a::after{ width:100%; }

#notice{
  color:#64e2be;
  font-weight:500;
  font-size:.9em;
}

/* ========================
   ANIMATE BURGER (merged)
======================== */
.animated-bar{
  width:30px;
  height:20px;
  position:relative;
  margin:0;
  -webkit-transform:rotate(0deg);
  -moz-transform:rotate(0deg);
  -o-transform:rotate(0deg);
  transform:rotate(0deg);
  -webkit-transition:.5s ease-in-out;
  -moz-transition:.5s ease-in-out;
  -o-transition:.5s ease-in-out;
  transition:.5s ease-in-out;
  cursor:pointer;
}

.animated-bar span{
  display:block;
  position:absolute;
  height:3px;
  width:100%;
  border-radius:9px;
  opacity:1;
  left:0;
  background:#fff;
  -webkit-transform:rotate(0deg);
  -moz-transform:rotate(0deg);
  -o-transform:rotate(0deg);
  transform:rotate(0deg);
  -webkit-transition:.25s ease-in-out;
  -moz-transition:.25s ease-in-out;
  -o-transition:.25s ease-in-out;
  transition:.25s ease-in-out;
}

.animated-bar span:nth-child(1){ top:0; }
.animated-bar span:nth-child(2){ top:10px; }
.animated-bar span:nth-child(3){ top:20px; }

/* "open" variant */
.animated-bar.open span:nth-child(1){
  top:11px;
  -webkit-transform:rotate(135deg);
  -moz-transform:rotate(135deg);
  -o-transform:rotate(135deg);
  transform:rotate(135deg);
}
.animated-bar.open span:nth-child(2){
  opacity:0;
  left:-60px;
}
.animated-bar.open span:nth-child(3){
  top:11px;
  -webkit-transform:rotate(-135deg);
  -moz-transform:rotate(-135deg);
  -o-transform:rotate(-135deg);
  transform:rotate(-135deg);
}

/* "closer" variant */
.animated-bar.closer{ margin:15px 5px; }
.animated-bar.closer span:nth-child(1){ top:11px; transform:rotate(135deg); }
.animated-bar.closer span:nth-child(2){ opacity:0; left:-60px; }
.animated-bar.closer span:nth-child(3){ top:11px; transform:rotate(-135deg); }

/* ========================
   MEGA MENU
======================== */
@media (min-width:768px){
  .vh-lg-100{ height:100vh!important; }
  .carousel-control-prev{ left:-15%; }
  .carousel-control-next{ right:-15%; }

  .mega-menu-parent.dropdown .dropdown-menu{
    position:absolute!important;
    left:50%;
    background:rgba(242,242,242,.95);
    transform:translateX(-50%);
    top:auto!important;
  }

  .dropdown:hover>.dropdown-menu{
    visibility:visible;
    display:block;
    opacity:1;
    margin-top:-1px!important;
    border-radius:8px;
    transition:all .2s ease-in-out;
  }

  .dropdown>.dropdown-menu{
    position:absolute;
    top:100%;
    left:auto;
    z-index:1000;
    float:none;
    min-width:150px;
    padding:1rem;
    list-style:none;
    border:none;
    border-radius:0;
    box-shadow:none;
    opacity:0;
    margin-top:10px!important;
    display:block;
    visibility:hidden;
    transition:all .2s ease-in-out;
  }

  ul.dropdown-menu::before{
    content:'';
    width:0; height:0;
    border-left:8px solid transparent;
    border-right:8px solid transparent;
    border-bottom:8px solid #fff;
    position:absolute;
    top:-8px;
    left:25px;
  }

  .navbar-nav,
  .navbar .collapse,
  .navbar-nav li{ position:static; }

  header ul.menu{ list-style:none; padding-left:0; }
  header ul.menu>li{ float:left; width:20%; margin:0; padding-right:20px; }
  header ul.sub-menu{ padding:0 0 15px; list-style:none; }

  .mega-menu-wrapper a,
  .nav-item ul.sub-menu a,
  header ul.sub-menu ul.sub-menu li>a{ display:block; }

  ul.dropdown-menu{ padding-left:0!important; }
  .dropdown-menu li a{ color:#000!important; }
}

.mega-menu-wrapper li>a{ display:none; }
.mega-menu-wrapper.show li>a{ display:block; }
.mega-menu-wrapper li.hide>a{ display:none; }

.mega-menu-wrapper a,
.nav-item ul.sub-menu a{
  font-family:var(--font-heading);
  text-decoration:none!important;
  color:#666;
  font-size:1em;
  padding:5px 0;
}

header ul.sub-menu>li>a{
  font-family:var(--font-serif)!important;
  color:var(--menu-accent)!important;
  font-size:1.2em!important;
}

header ul.sub-menu ul.sub-menu li>a{
  font-family:var(--font-sans)!important;
  text-decoration:none!important;
  color:#666!important;
  font-size:.9em!important;
}

/* ========================
   PAGE HEADER EXTRA LAYER
======================== */
.olay{
  background-image:url(/wp-content/uploads/2024/08/mesh.png);
  background-repeat:no-repeat;
  background-size:contain;
  background-position:90%;
  position:absolute;
  height:100%;
  width:100%;
  top:0;
  left:0;
  transform:scale(1.2);
}

/* ========================
   MASONRY BLOCK
======================== */
#masonry [class*='col-']{ position:relative; }
#masonry h2{
  position:absolute;
  bottom:20px;
  left:25px;
}
#masonry img{ position:relative; }

/* ========================
   IMAGE + TEXT BLOCK
======================== */
#imgTxt [class*='col-']{ position:relative; }
#imgTxt img{
  z-index:99;
  position:relative;
}

/* ========================
   CARD BLOCK
======================== */
.card{
  background:#eee;
  border:none;
  box-shadow:2px 10px 15px rgba(0,0,0,.2);
}

.card-body{ padding:1.5em; }

.card ul{
  padding-left:20px;
  padding-top:15px;
}

.card-footer{
  background:none;
  border:none;
  padding:0 1.5em 1.5em;
}

/* ========================
   ICONS BLOCK
======================== */
#icons i,
#icons svg{
  font-size:3em;
  color:#63e2be;
}

#icons.wimg{
  position:relative;
  overflow:hidden;
}

#iconsImg{
  position:absolute;
  top:50%;
  transform:translateY(-50%) scale(1.25);
  right:-10%;
}

/* ========================
   NEWSLETTER
======================== */
.inside{
  position:absolute;
  right:0;
  top:50%;
  transform:translate(-10px,-50%);
}

/* ========================
   SEARCH
======================== */
.searchs span{
  font-size:2em!important;
  text-decoration:none!important;
  margin-top:5px;
}

#search{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(256,256,256,.85);
  -webkit-transition:-webkit-transform .5s, opacity .5s;
  transition:transform .5s, opacity .5s;
  opacity:0;
  z-index:-1;
}

#search.open{
  opacity:1;
  z-index:9999999;
  -webkit-transition:-webkit-transform .5s, opacity .5s;
  transition:transform .5s, opacity .5s;
}

#search aside{
  position:absolute;
  left:50%;
  top:10%;
  width:90%;
  max-width:600px;
  height:150px;
  transform:translate(-50%);
  background:none;
}

#search h4{ color:#6a7786; }

#search input[type=submit]{
  background:#fff!important;
  color:#274056!important;
}

#search input[type="search"]{
  position:absolute;
  top:50%;
  background:rgba(0,0,0,0);
  font-size:30px;
  font-weight:300;
  text-align:center;
  border:thin solid #ccc;
  margin:0 auto;
  margin-top:-51px;
  padding:10px 20px;
  outline:none;
  color:#fff;
  width:50%;
  margin-left:calc(50% / 2);
}

#search input::-webkit-input-placeholder{ color:#274056!important; }
#search input:-moz-placeholder{ color:#274056!important; }
#search input::-moz-placeholder{ color:#274056!important; }
#search input:-ms-input-placeholder{ color:#274056!important; }

#search .search-results a{ color:#000!important; }

#search .btn{
  position:absolute;
  top:50%;
  left:50%;
  margin-top:61px;
  margin-left:-45px;
}

#search .close{
  position:fixed;
  top:15px;
  right:15px;
  color:#000;
  opacity:1;
  padding:10px 17px;
  font-size:27px;
  background:none;
  border:none;
}

#mobSearch i{
  font-size:1.5em;
  margin-left:5px;
}

/* ========================
   HERO (legacy transform)
======================== */
#heroImg{ transform:scale(1.5) translateX(10%) translateY(180px); }

/* ========================
   NEWS
======================== */
#post .card{
  background:#f2f2f2;
  color:#1b1464;
  border:none;
}

.post a{
  color:#1b1464;
  text-decoration:none;
}

.page-item .current,
.page-item .page-link{
  padding:.375em .8em;
  display:block;
  background:#4a168d;
  color:#fff;
  border-radius:10px!important;
  border:thin solid #4a168d;
  margin:0 8px;
  font-size:1.2em;
}

.page-item .page-link{
  background:#fff;
  color:#4a168d;
}

.page-item .page-link:hover{
  background:#4a168d;
  color:#fff;
}

/* ========================
   CONTACT
======================== */
#location a{
  text-decoration:none;
  color:#fff;
}

#country{
  text-transform:uppercase;
  color:#63e2be;
  font-size:1em;
}

#country:before,
#phone:before,
#email:before{
  font-family:'Font Awesome 6 Pro';
  color:#fff;
  position:absolute;
  font-weight:800;
  margin-left:-1.5em;
}

#map a{
  font-weight:500;
  color:#63e2be;
}

#country:before{ content:'\f3c5'; }
#phone:before{ content:'\f095'; }
#email:before{ content:'\f0e0'; }

/* ========================
   TABLES
======================== */
#downloads .table{ --bs-table-bg:none; }

#downloads th,
#downloads td{ padding:15px!important; }

#downloads thead{ background:#5b20a0; }

#downloads .table thead th{ color:#fff; }

#downloads .table thead tr{
  background:#5b20a0;
  border-radius:20px!important;
}

#downloads td.size{
  padding-left:45px!important;
  position:relative;
}

#downloads td.size:before{
  font-family:'Font Awesome 6 Pro';
  content:'\f019';
  font-weight:800;
  position:absolute;
  left:15px;
}

/* ========================
   CASE STUDIES
======================== */
.case-card{
  position:relative;
  overflow:hidden;
  border-radius:4px;
}

.case-card img{
  transition:transform .6s ease;
  transform:scale(1);
}

.case-card:hover img{ transform:scale(1.06); }

.case-overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:flex-end;
  padding:1.5rem;
  pointer-events:none;
}

/* Gradient layer (separate from content) */
.case-overlay::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(0,0,0,.75), transparent 60%);
  opacity:1;
  transition:opacity .45s ease;
}

/* Content sits above gradient */
.case-overlay-content{
  position:relative;
  z-index:1;
  transform:translateY(0);
  transition:transform .45s ease;
}

/* Hover states */
.case-card:hover .case-overlay::before{ opacity:1; }
.case-card:hover .case-overlay-content{ transform:translateY(-6px); }

@media screen and (max-width:767px){
  .case-card .case-overlay::before{ opacity:1; }
}

/* ========================
   FOOTER
======================== */
footer ul{
  list-style:none;
  padding-left:0;
}

footer a{
  color:#fff;
  font-weight:300;
  text-decoration:none;
}

#copyright ul li{
  display:inline-block;
  padding-left:10px;
}

/* ========================
   RESPONSIVE NAV UNDERLINES + SINGLE CASE HEADER HEIGHT
======================== */
@media screen and (min-width:768px){
  .nav-item a::after,
  .nav-item.current-page-item a::after,
  .current-menu-item a::after {
    content:"";
    position:absolute;
    bottom:-5px;
    left:0;
    height:2px!important;
    width:0%;
    background-color:#fff;
    transition:.24s ease-out all;
    border:none;
  }

  .single-case_study .page-header{ min-height:600px; }
}

@media screen and (max-width:767px){
  #hero{ padding-top:140px; }

  #heroImg{ transform:scale(1.5) translateX(10%) translateY(80px); }

  #imgTxt{ overflow-x:hidden; }

  .navbar-toggler:focus{
    box-shadow:none;
    outline:0;
  }

  .offcanvas-body{ background:#000; }

  .nav-item a{
    font-size:1.15em;
    padding:5px 5px!important;
  }

  .vh-50{ height:35vh; }

  h1{
    font-size:calc(2.25rem + 1.5vw);
    line-height:1em;
  }

  h2{
    font-size:calc(1.75rem + 1.2vw);
    line-height:1em;
  }
	
  .lead {
    font-size: 1.05rem;
  }	

  .testimonial-fullscreen{ height:50vh; }
}

/* Wrapper row – allow positioning */
#2coltxt .row.align-items-center {
    position: relative;
}

/* First column gets the vertical divider */
#2coltxt .row.align-items-center .col-md-6:first-child {
    position: relative;
}

@media (min-width: 768px) {
    #2coltxt .row.align-items-center .col-md-6:first-child::after {
        content: "";
        position: absolute;
        right: -1.5rem;  /* tweak based on your gutter */
        top: 0;
        bottom: 0;
        width: 1px;
        background: rgba(255,255,255,0.25); /* default for dark bg */
    }

    /* If you ever use a light background on this block */
    #2coltxt.bg-white .row.align-items-center .col-md-6:first-child::after,
    #2coltxt:not(.text-white) .row.align-items-center .col-md-6:first-child::after {
        background: rgba(0,0,0,0.15);
    }
}


/* ========================
   TESTIMONIAL
======================== */
.testimonial-fullscreen{
  height:100vh;
  min-height:600px;
  position:relative;
}

.testimonial-bg{
  position:absolute;
  left:0;
  width:100%;
  height:120%; /* taller image for parallax safety */
  background-size:cover;
  background-position:center;
  z-index:1;
}

.testimonial-overlay{
  position:absolute;
  top:0; left:0;
  width:100%; height:100%;
  z-index:2;
}

.testimonial-content{
  position:relative;
  z-index:3;
  max-width:900px;
}

.testimonial-quote-mark{
  font-size:90px;
  line-height:.4;
  font-weight:300;
  opacity:.9;
  display:inline-block;
  margin-bottom:20px;
}

.testimonial-text{
  font-size:1.1rem;
  line-height:1.7;
}

.testimonial-name{
  margin:0;
  font-size:1.3rem;
  font-weight:600;
}

.testimonial-role{
  font-size:.85rem;
  margin-top:3px;
  opacity:.8;
}

/* Stats block */
.stats-block.bg-dark {
    background: #111;
}
.stats-block.bg-light {
    background: #f5f5f5;
}

.stats-row .stat-col {
    padding: 1rem 0;
}

.stat-value.stat-ticker {
    font-size: 4rem;
}

.stat-value {
    line-height: 1;
    font-weight: 500;
}

.stat-label {
    font-size: 1rem;
}


.case-stats-table {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    font-size: 1rem;
}
.stat-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: stretch;
    min-height: 68px;
}
.stat-row > div {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    border-right: 1px solid rgba(0,0,0,0.06);
    background: #fff;
}
.stat-row > div:last-child {
    border-right: none;
}
.stat-row:last-child > div {
    border-bottom: none;
}
.stat-row > div:nth-child(3) {
    background: #d8f5f6;
    font-weight: 700;
}
.stat-row:first-child > div:nth-child(3) {
    border-top-right-radius: 16px;
}
.stat-row:last-child > div:nth-child(3) {
    border-bottom-right-radius: 16px;
}
.stat-label {
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    line-height: 1.3;
}
.stat-label small {
    font-size: 0.65rem;
    opacity: .7;
}
.case-stats-table {
    transition: box-shadow .3s ease, transform .3s ease;
}
.case-stats-table.is-sticky {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}


@media (max-width: 768px) {
    .stat-value {
        font-size: 0.8rem;
    }	
    .stat-value.stat-ticker {
        font-size: 3rem;
    }
	.stat-row > div {
		padding: 12px;
	}
}

/* ========================
   HERO (HOME) BASE LAYOUT
======================== */
#home-hero{
  height:100vh;
  min-height:700px;
  position:relative;
  overflow:hidden;
}

@media (max-width:768px){
  #home-hero{
    padding:140px 0 100px;
  }
}

/* Background */
.hero-bg,
.hero-video{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:110%; /* extra height for parallax */
  object-fit:cover;
  background-size:cover;
  background-position:center;
  z-index:1;
  will-change:transform;
}

/* Overlay */
.hero-overlay{
  position:absolute;
  top:0; left:0;
  width:100%;
  height:100%;
  z-index:2;
  transition:background .15s linear;
  pointer-events:none;
}

/* ========================
   SHARED ANIMATION (kept only final/effective version)
======================== */
.fade-in-up{
  opacity:0;
  transform:translateY(30px);
  animation:fadeUp 1.1s ease-out forwards;
}

.delay-1{ animation-delay:.3s; }
.delay-2{ animation-delay:.55s; }
.delay-3{ animation-delay:.85s; }
.delay-4{ animation-delay:.65s; } /* retained from original */
.delay-5{ animation-delay:.8s; }  /* retained from original */

@keyframes fadeUp{
  from{ opacity:0; transform:translateY(30px); }
  to{ opacity:1; transform:translateY(0); }
}

/* Scroll indicator */
.scroll-indicator{
  z-index:3;
  font-size:28px;
  color:#fff;
  opacity:.8;
  animation:scrollBounce 1.4s infinite;
}

@keyframes scrollBounce{
  0%,100%{ transform:translateY(0); opacity:.8; }
  50%{ transform:translateY(6px); opacity:1; }
}

/* Ensures content is above background elements */
.hero-content{
  position:relative;
  z-index:3;
}

  :root{
    --dbs-header-offset: 0px; /* JS updates */
    --dbs-bar-height: 56px;   /* JS updates */
    --dbs-max: 1400px;
    --dbs-gap: 80px;
    --dbs-bar-bg: rgba(245,245,245,0.92);
  }

  /* Sticky pills bar (desktop only via markup class) */
  .dbs-bar{
    position: sticky;
    top: var(--dbs-header-offset);
    z-index: 999;
    width: 100%;
    background: var(--dbs-bar-bg);
    backdrop-filter: blur(10px);
    margin-bottom: 40px;
  }

  .dbs-bar-inner{
    max-width: var(--dbs-max);
    margin: 0 auto;
    padding: 15px 0;
    display: flex;
    justify-content: flex-end;
  }

  .dbs-nav{ width: 100%; display: flex; }

  .dbs-nav ul{
    display:flex;
    gap:10px;
    list-style:none;
    margin:0;
    padding:0;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .dbs-pill{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding: 10px 14px;
    border-radius: 999px;
    box-sizing: border-box;
    background: rgba(255,255,255,0.75);
    color: inherit;
    white-space: nowrap;
    text-decoration: none;
    font: inherit;
    font-weight: 500;
    line-height: 1;
    opacity: .95;
    transition: transform .2s ease, background .2s ease, border-color .2s ease, opacity .2s ease, box-shadow .2s ease;
  }

  .dbs-pill:hover{ opacity:1; transform: translateY(-1px); }

  .dbs-pill.is-active{
    background:#111;
    color:#fff;
    border-color:#111;
    opacity:1;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.12) inset;
  }

  .dbs-pill:focus{ outline:2px solid #111; outline-offset:2px; }

  .dbs-inner{
    display:grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--dbs-gap);
  }

  @media (max-width: 992px){
    .dbs-inner{ grid-template-columns: 1fr; gap: 40px; }
  }

  .dbs-left{ min-width:0; }

  /* Desktop section behavior */
  .dbs-section{
    scroll-margin-top: calc(var(--dbs-header-offset) + var(--dbs-bar-height) + 24px);
    min-height: 100vh;
    display:flex;
    align-items:center;
  }

  .dbs-section-inner{
    width: 100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding-top: 0;
    padding-bottom: 20vh;
  }

  .dbs-section h2{ margin-bottom: 16px; }

  .dbs-section p{
    max-width: 560px;
    margin-bottom: 16px;
  }

  .dbs-section ul{ list-style:none; padding:0; margin:0; }
  .dbs-section li{ padding-left:16px; position:relative; margin:8px 0; }
  .dbs-section li::before{ content:"— "; position:absolute; left:-10px; }

  /* Desktop sticky right visual */
  .dbs-right{
    position: sticky;
    top: calc(var(--dbs-header-offset) + var(--dbs-bar-height) + 12px);
    height: calc(100vh - (var(--dbs-header-offset) + var(--dbs-bar-height) + 40px));
    display:flex;
    align-items:center;
    justify-content:center;
  }

  .dbs-visual{
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    position: relative;
  }

  .dbs-visual img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit: cover;
    display:block;
    opacity: 0;
    transform: scale(1.01);
    transition: opacity 520ms ease, transform 520ms ease;
    will-change: opacity, transform;
  }

  .dbs-visual img.is-active{
    opacity: 1;
    transform: scale(1);
  }

  /* ==========================
     MOBILE MODE:
     - Image shown ABOVE content in each section
     - No sticky right column
     - No full-height sections
  ========================== */
  @media (max-width: 992px){
    .dbs-section{
      min-height: auto;
      display: block;
      scroll-margin-top: calc(var(--dbs-header-offset) + 24px);
      padding: 28px 0;
    }

    .dbs-section-inner{
      padding: 0;
      display: block;
    }

    .dbs-right{ display:none; }

    .dbs-mobile-visual{
      width: 100%;
      aspect-ratio: 1 / 1;
      border-radius: 18px;
      overflow: hidden;
      margin: 0 0 18px;
      background: #eee;
    }

    .dbs-mobile-visual img{
      width: 100%;
      height: 100%;
      object-fit: cover;
      display:block;
    }
  }