:root {
  --main-color: #111111;
  --bright-color: #111111;
  --brighter-color: #c4a035;
  --dark-color: #c4a035;
  --darkter-color: #000000;
  --grey-color: #9a9a9a;
  --lightgrey-color: #2a2a2a;
  --black-color: #f5f5f5;
  --darkgrey-color: #c8c8c8;
  --border-color: #333333;
  --header-background-color: #000000;
  --header-background-image: none;
  --top-background-color: #000000;
  --headbar-background-color: #000000;
  --header-text-color: #ffffff;
  --header-text-shadow: none;
  --header-text-filter: none;
  --logo-filter: none;
  --logo-max-width: 286px;
  --logo-max-height: 94px;
  --logo-menu-max-width: 234px;
  --logo-menu-max-height: 83px;
  --body-backcolor: #0b0b0b;
  --menu-backcolor: #000000;
  --menu-color: #ffffff;
  --menu-bordercolor: #222222;
  --menu-selcolor: #ffffff;
  --menu-selbackcolor: #1a1a1a;
  --menu-submenu-background: #111111;
  --menu-submenu-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
  --breadcrumb-color: #b0b0b0;
  --breadcrumb-color-hover: #ffffff;
  --footer-backcolor: #000000;
  --footer-color: #f2f2f2;
  --footer-colorhover: #c4a035;
  --powered-backcolor: #000000;
  --powered-color: #aaaaaa;
  --links-color: #f2f2f2;
  --links-hover-color: #c4a035;
  --buttons-backcolor: #000000;
  --buttons-color: #ffffff;
  --buttons-bordercolor: #ffffff;
  --buttons-hoverbackcolor: #c4a035;
  --buttons-hovercolor: #000000;
  --thumb-backcolor: #141414;
  --font-family: 'Work Sans', 'IBM Plex Sans', sans-serif;
  --header-font-family: 'Work Sans', 'IBM Plex Sans', sans-serif;
  --diarq-gold: #c4a035;
  --diarq-ink: #f2f2f2;
  --diarq-paper: #141414;
  --diarq-void: #0b0b0b;
  --diarq-blue: #0d3a52;
  --diarq-blue-soft: rgba(13, 58, 82, 0.78);
  --diarq-serif: 'Lora', Georgia, serif;
  --diarq-sans: 'Work Sans', 'IBM Plex Sans', sans-serif;
}

body,
#content,
#common-home,
#information-information,
#product-category,
#product-product {
  font-family: var(--diarq-sans);
  color: #e8e8e8;
  background-color: #0b0b0b;
}

#top,
header,
#menu,
#menu .navbar,
.navbar-header {
  background: #000 !important;
  background-color: #000 !important;
  border-color: #111 !important;
}

/* Home at scroll 0: slider shows through logo and menu */
body:has(#fluxslider0) #top {
  transition: background-color 0.35s ease, border-color 0.35s ease;
}

body:has(#fluxslider0):not(.diarq-header-solid) #top,
body:has(#fluxslider0):not(.diarq-header-solid) #top #menu,
body:has(#fluxslider0):not(.diarq-header-solid) #top .navbar,
body:has(#fluxslider0):not(.diarq-header-solid) #top .navbar-header {
  background: transparent !important;
  background-color: transparent !important;
  border-color: transparent !important;
  box-shadow: none;
}

/* Vertical black veil: 10% transparent at top, fully transparent at header bottom */
body:has(#fluxslider0) #top::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
  opacity: 1;
  transition: opacity 0.35s ease;
}

body:has(#fluxslider0).diarq-header-solid #top::before {
  opacity: 0;
}

body:has(#fluxslider0) #top > * {
  position: relative;
  z-index: 1;
}

/* header_style=2: menu inline next to the logo */
#top {
  padding: 8px 12px;
  border-bottom: 1px solid #111 !important;
}

body:has(#fluxslider0):not(.diarq-header-solid) #top {
  border-bottom-color: transparent !important;
}

#top .container-fluid {
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 8px;
}

#top #top-links {
  margin-left: auto;
}

#top .header-social-button {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

#top .header-social-button svg {
  fill: #fff;
}

#top .header-social-button:hover svg {
  fill: var(--diarq-gold);
}

#top #logo {
  flex: 0 0 auto;
  margin: 6px 16px 6px 8px;
}

/* Home wraps the img in h1.logo-heading, so header.css `#logo > a > img` misses it.
   The file is square (1625×1625). Keep that ratio: width/height attributes would
   paint the intrinsic size, then max-width 286 and max-height 94 stretch it. */
#top #logo > a > h1.logo-heading {
  display: block;
  width: auto;
  height: auto;
  line-height: 0;
}
#top #logo > a > h1.logo-heading img {
  display: block;
  width: auto;
  height: auto;
  max-width: var(--logo-max-height);
  max-height: var(--logo-max-height);
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

#top #menu.compact {
  flex: 1 1 auto;
  background: transparent !important;
  margin: 0;
  border: none !important;
  box-shadow: none;
  min-width: 0;
}

#top #menu.compact .navbar-collapse {
  width: auto;
  text-align: right;
}

#top #menu.compact .navbar-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}

#top #menu.compact .nav > li > a,
#top #menu.compact .navbar-nav > li > a {
  padding: 10px 12px;
  white-space: nowrap;
}

#search,
.mobile-search-row {
  display: none !important;
}

#menu .nav > li > a,
.tmdheader a,
#menu .navbar-nav > li > a,
header a,
.navbar-nav > li > a {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  color: #fff !important;
}

#menu .nav > li > a:hover,
.tmdheader a:hover,
#menu .navbar-nav > li > a:hover {
  color: var(--diarq-gold) !important;
}

.dropdown-menu {
  border-radius: 0;
  border: 1px solid #2a2a2a;
  background: #111 !important;
}

.dropdown-menu > li > a {
  text-transform: none;
  letter-spacing: 0.04em;
  font-size: 13px;
  color: #f2f2f2 !important;
  background: transparent !important;
}

.dropdown-menu > li > a:hover {
  color: var(--diarq-gold) !important;
  background: #1a1a1a !important;
}

#cart,
#search,
.btn-group-cart {
  display: none !important;
}

.price,
.product-thumb .price,
.product-price {
  display: none !important;
}

#product,
#button-cart,
input[name="quantity"],
.product-quantity,
#tab-review,
#review,
.rating,
.product-sku {
  display: none !important;
}

.btn-cart,
.button-cart,
#button-cart {
  display: none !important;
}

#common-home .preloader,
.preloader {
  display: none !important;
}

.product-thumb,
.product-layout,
.thumbnail,
.panel,
.well,
.list-group-item {
  background: #141414 !important;
  border-color: #2a2a2a !important;
  color: #e8e8e8;
}

.product-thumb h4 a,
.product-thumb .caption,
#content h1,
#content h2,
#content h3,
#content h4 {
  color: #f5f5f5;
}

.breadcrumb {
  background: transparent;
}

.diarq-page,
.diarq-home {
  font-family: var(--diarq-sans);
  color: #e8e8e8;
  line-height: 1.7;
  background: #0b0b0b;
}

.diarq-page h1,
.diarq-page h2,
.diarq-home h2,
.diarq-hero-title {
  font-family: var(--diarq-sans);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
}

.diarq-kicker {
  display: block;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 600;
  margin-bottom: 12px;
  text-align: center;
}

.diarq-kicker::before {
  content: '';
  display: block;
  width: 84px;
  height: 5px;
  margin: 0 auto 14px;
  background: #2f8eb8;
}

.diarq-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 8%;
  background-size: cover;
  background-position: center;
  color: #fff;
  filter: grayscale(0.35);
  text-align: center;
}

.diarq-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.78) 100%);
}

.diarq-hero > * {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.diarq-hero h1 {
  font-family: var(--diarq-sans);
  font-size: clamp(32px, 5vw, 56px);
  margin: 0 0 16px;
  color: #fff;
  font-weight: 500;
}

.diarq-hero p {
  font-size: 18px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* Atención al cliente: keep face clear between title and subtitle */
.diarq-hero.diarq-hero--split-vertical {
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding-top: 36px;
  padding-bottom: 36px;
  min-height: 520px;
  background-position: center center;
}

.diarq-hero.diarq-hero--split-vertical > * {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.diarq-hero--split-vertical .diarq-hero__top,
.diarq-hero--split-vertical .diarq-hero__bottom {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 820px;
}

.diarq-hero--split-vertical .diarq-hero__top h1 {
  margin-bottom: 0;
}

.diarq-hero--split-vertical .diarq-hero__bottom p {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .diarq-hero.diarq-hero--split-vertical {
    min-height: 460px;
    padding-top: 28px;
    padding-bottom: 28px;
  }
}

.diarq-page p {
  font-size: 18px;
}

.diarq-section > .diarq-kicker,
.diarq-section > h1,
.diarq-section > h2,
.diarq-home .diarq-section > .diarq-kicker,
.diarq-home .diarq-section > h2,
.diarq-prop-copy,
.diarq-prop-copy .diarq-kicker,
.diarq-prop-copy h2 {
  text-align: center;
}

.diarq-section > p,
.diarq-prop-copy > p {
  text-align: center;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.diarq-section {
  padding: 64px 8%;
  max-width: 1280px;
  margin: 0 auto;
  color: #e8e8e8;
}

.diarq-section.paper {
  background: #0d2430;
  max-width: none;
}

.diarq-section.ink {
  background: #000;
  color: #f4f4f4;
  max-width: none;
}

.diarq-grid-3,
.diarq-grid-4,
.diarq-grid-2 {
  display: grid;
  gap: 24px;
}

.diarq-grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.diarq-grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.diarq-grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.diarq-card,
.diarq-plan {
  background: #122632;
  border: 1px solid #1d4a62;
  border-top: 4px solid #2f8eb8;
  padding: 28px 24px;
  color: #e8e8e8;
}

.diarq-card h3,
.diarq-plan h3 {
  font-family: var(--diarq-sans);
  margin-top: 0;
  font-size: 22px;
  color: #fff;
}

.diarq-card img,
.diarq-service img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 16px;
  filter: grayscale(0.25);
}

.diarq-btn {
  display: inline-block;
  background: #000;
  color: #fff !important;
  text-decoration: none !important;
  padding: 12px 22px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid #fff;
  cursor: pointer;
  font-family: inherit;
}

.diarq-btn:hover {
  background: #fff;
  color: #000 !important;
}

.diarq-btn.ghost {
  background: transparent;
  color: #fff !important;
  border: 1px solid #fff;
}

.diarq-clients {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: center;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #bdbdbd;
}

.diarq-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.diarq-tab {
  cursor: pointer;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  padding: 10px 18px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
}

.diarq-tab.active {
  background: #fff;
  color: #000;
}

.diarq-tab-panel { display: none; }
.diarq-tab-panel.active { display: block; }

.diarq-map-wrap iframe {
  width: 100%;
  min-height: 380px;
  border: 0;
  filter: grayscale(1) invert(0.92) contrast(0.9);
}

.diarq-works-meta {
  font-size: 13px;
  color: #f2f2f2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  list-style: none;
  padding: 0;
  margin: 0;
}

#content .row ul.diarq-works-meta:not(.pagination) li,
.diarq-works-meta li {
  background-color: var(--diarq-blue) !important;
  border: 1px solid #1b4d66 !important;
  border-radius: 5px;
  color: #f2f2f2 !important;
  display: flex;
  align-items: center;
  margin: 8px 0;
  padding: 12px 16px;
}

#information-information .breadcrumb,
#information-information #content > h1:first-of-type {
  display: none;
}

/* Category title duplicates the page heading on obra pública and obra privada. */
#content:has(.diarq-obras) > h1.h2 {
  display: none;
}

#common-home #content {
  padding-left: 0;
  padding-right: 0;
}

/* Home: no header spacer so the slider starts at viewport top */
body:has(#fluxslider0) header {
  padding-top: 0 !important;
}

#fluxslider0.fluxslider_container {
  height: 100vh !important;
  max-height: 100vh;
  padding: 0 !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
  width: 100%;
  max-width: 100%;
}

#fluxslider0 .fluxslider,
#fluxslider0 .fluxslider .surface,
#fluxslider0 .fluxslider .images,
#fluxslider0 .fluxslider .image1,
#fluxslider0 .fluxslider .image2 {
  width: 100% !important;
  height: 100% !important;
  top: 0;
  left: 0;
}

#fluxslider0 .fluxslider .image1,
#fluxslider0 .fluxslider .image2 {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* Dissolve overlay inherits auto 100% from FluxSlider; force cover to avoid pre-fade jump */
#fluxslider0 .fluxslider .image1 > div.image,
#fluxslider0 .fluxslider .image1 > div {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

#fluxslider0 .fluxslider img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

#fluxslider0 .fluxslider ul.pagination {
  bottom: 24px;
}

.flux-slider,
.fluxslider,
#fluxslider0 .fluxslider {
  margin-bottom: 0 !important;
  filter: grayscale(0.2);
}

footer,
#footer {
  background: #000 !important;
  color: #f2f2f2;
}

footer h5::after,
#footer h5::after {
  background: var(--diarq-gold) !important;
}

footer a,
#footer a {
  color: #f2f2f2 !important;
}

footer a:hover,
#footer a:hover {
  color: var(--diarq-gold) !important;
}

@media (max-width: 767px) {
  .diarq-section { padding: 40px 20px; }
  .diarq-hero { min-height: 320px; padding: 32px 20px; }

  /* Mobile drawer is white in the theme; links are forced white. */
  #menu .navbar-collapse,
  #menu.menu-hamburger .navbar-collapse {
    background: #0b0b0b !important;
    background-color: #0b0b0b !important;
  }

  #menu .menu-mobile-header button {
    background: transparent;
    color: #fff;
  }

  #menu .menu-mobile-header button svg {
    fill: #fff;
  }

  #menu .navbar-nav {
    align-items: stretch;
  }
}

/* Dark catalog chrome (forms, PLM toolbar, property thumbs) */
.form-control,
input.form-control,
textarea.form-control,
select.form-control,
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  background: #161616 !important;
  color: #f2f2f2 !important;
  border: 1px solid #333 !important;
  box-shadow: none !important;
}

.form-control:focus,
input.form-control:focus,
textarea.form-control:focus {
  border-color: #c4a035 !important;
  outline: none;
}

.form-control::placeholder {
  color: #8a8a8a;
}

.select-box,
.select-box__current,
.select-box__list,
.select-box__value,
.select-box__input-text,
.select-box__option {
  background: #161616 !important;
  color: #f2f2f2 !important;
  border-color: #333 !important;
}

.property-listing-map__view-btn {
  background: #111 !important;
  color: #fff !important;
  border: 1px solid #fff !important;
}

.property-listing-map__view-btn:hover {
  background: #1a1a1a !important;
  border-color: #fff !important;
}

.property-listing-map__view-btn.active {
  background: #fff !important;
  color: #000 !important;
}

.property-listing-map__view-btn svg,
.property-listing-map__view-btn.active svg {
  fill: currentColor !important;
}

.property-thumb-image-wrap {
  background: #111 !important;
}

.property-thumb-carousel__nav {
  background: rgba(0, 0, 0, 0.72) !important;
  color: #fff !important;
  border: 1px solid #fff !important;
}

/*
 * property_thumb.twig ships a light card (white bg + dark text). Diarq forces a
 * dark .product-thumb background, so those hard-coded title/feature/address
 * colors must be overridden with !important: each thumb injects its <style>
 * after config_custom_css when the progressive list loads.
 */
.property-thumb-card {
  background: #141414 !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.45) !important;
}

.property-thumb-card .property-thumb-title a {
  color: #f5f5f5 !important;
}

.property-thumb-card .property-thumb-title a:hover {
  color: var(--diarq-gold) !important;
}

.property-thumb-card .property-thumb-features {
  color: #c8c8c8 !important;
}

.property-thumb-card .property-thumb-address,
.property-thumb-card .property-thumb-price-sub,
.property-thumb-card .property-thumb-expenses {
  color: #a0a0a0 !important;
}

.property-thumb-card .property-thumb-price {
  color: #f5f5f5 !important;
}

.property-thumb-card .property-thumb-price-wrap {
  border-top-color: #2a2a2a !important;
}

.property-thumb-card .property-thumb-furnished {
  color: #8fbf88 !important;
}

.property-thumb-card .property-thumb-consult,
.property-thumb-card .property-thumb-consult--whatsapp {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.55em !important;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(18, 140, 126, 0.28) !important;
}

.property-thumb-card .property-thumb-consult:hover,
.property-thumb-card .property-thumb-consult:focus,
.property-thumb-card .property-thumb-consult--whatsapp:hover,
.property-thumb-card .property-thumb-consult--whatsapp:focus {
  background: linear-gradient(135deg, #20bd5a 0%, #0f7a6d 100%) !important;
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(18, 140, 126, 0.36) !important;
}

.property-thumb-card .property-thumb-consult__icon {
  display: inline-flex !important;
  width: 1.25em !important;
  height: 1.25em !important;
  flex-shrink: 0 !important;
  line-height: 0 !important;
}

.property-thumb-card .property-thumb-consult__icon svg {
  width: 100% !important;
  height: 100% !important;
  fill: #fff !important;
}

.property-thumb-card .btn,
.property-thumb-card a.btn,
.product-thumb .btn,
#button-send,
input[type="submit"].btn,
.btn-primary {
  background: #000 !important;
  color: #fff !important;
  border: 1px solid #fff !important;
}

#information-contact legend {
  color: #f5f5f5 !important;
  border-bottom-color: #333333 !important;
}

#information-contact .control-label,
#information-contact label {
  color: #e8e8e8 !important;
}

#information-contact .btn-info,
#information-contact a.btn-info {
  background: var(--diarq-blue) !important;
  color: #fff !important;
  border: 1px solid #1b4d66 !important;
}

#information-contact .btn-info:hover,
#information-contact a.btn-info:hover {
  background: #0a2f43 !important;
  border-color: var(--diarq-gold) !important;
  color: #fff !important;
}

.property-thumb-card .btn:hover,
.btn-primary:hover,
#button-send:hover {
  background: #fff !important;
  color: #000 !important;
}

.panel-default > .panel-heading,
.panel-heading {
  background: #141414 !important;
  color: #f2f2f2 !important;
  border-color: #2a2a2a !important;
}

.pagination > li > a,
.pagination > li > span {
  background: #161616 !important;
  color: #f2f2f2 !important;
  border-color: #333 !important;
}

.pagination > .active > a,
.pagination > .active > span {
  background: #fff !important;
  color: #000 !important;
  border-color: #fff !important;
}

/* Banner captions: properties blue with transparency */
#fluxslider0 .fluxslider .caption,
.fluxslider .caption {
  background: var(--diarq-blue-soft) !important;
  color: #fff !important;
}

/* Category / works list: blue instead of white */
#product-category,
#product-category #content,
#product-category .product-list,
#product-category .product-layout,
#product-category .product-thumb,
#product-category .table,
#product-category .table-responsive,
#product-category .category-info,
.property-listing-map,
.property-listing-map__list,
.property-listing-map__results,
.productlist-progressive {
  background-color: #0a0a0a00 !important;
  color: #f2f2f2;
}

#product-category .table > thead > tr > th,
#product-category .table > tbody > tr > td,
#product-category .table > tbody > tr > th {
  background: #0a2f43 !important;
  color: #f2f2f2 !important;
  border-color: #1b4d66 !important;
}

/* Overlay the home search on the slider, near vertical center */
body:has(#fluxslider0) .diarq-home-search-wrap {
  position: fixed;
  left: 0;
  right: 0;
  top: 48%;
  transform: translateY(-50%);
  margin: 0;
  padding: 0 8%;
  z-index: 120;
  pointer-events: none;
}

body.diarq-search-away .diarq-home-search-wrap {
  opacity: 0;
  pointer-events: none;
}

body:has(#fluxslider0) .diarq-home-search {
  pointer-events: auto;
}

body:has(#fluxslider0) #common-home #content {
  min-height: 0;
  padding-bottom: 0;
}

.diarq-home-search-wrap {
  display: none !important;
}

.diarq-home-search,
.diarq-search {
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
}

.diarq-search__tabs {
  display: flex;
  gap: 4px;
  margin: 0 0 -1px 12px;
  position: relative;
  z-index: 2;
}

.diarq-search__tab {
  flex: 0 0 auto;
  background: #9aabb6;
  color: #fff;
  border: 0;
  border-radius: 4px 4px 0 0;
  padding: 10px 22px;
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.diarq-search__tab:hover {
  background: #7f97a5;
}

.diarq-search__tab.is-active {
  background: var(--diarq-blue);
  color: #fff;
}

.diarq-search__body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: stretch;
  background: #ececec;
  border: 1px solid #d7d7d7;
  border-radius: 4px;
  padding: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.diarq-search__fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.diarq-search__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
}

.diarq-search__row--filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(180px, 1.35fr);
  gap: 10px;
  align-items: end;
}

.diarq-search__row--filters > .diarq-search__field {
  min-width: 0;
}

.diarq-search__row--filters > .diarq-search__field--price {
  min-width: 0;
}

.diarq-search__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #444;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}

.diarq-search__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.diarq-search__field--grow {
  flex: 1 1 100%;
  width: 100%;
}

.diarq-search__field input,
.diarq-search__field select {
  background: #fff !important;
  color: #222 !important;
  border: 1px solid #cfcfcf !important;
  border-radius: 4px;
  min-height: 42px;
  padding: 8px 12px;
  width: 100%;
  box-shadow: none;
}

.diarq-search__field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  padding-right: 32px;
}

.diarq-inquiry input,
.diarq-inquiry textarea {
  background: #0a2f43 !important;
  color: #fff !important;
  border: 1px solid #2a5a72 !important;
  min-height: 44px;
  padding: 8px 12px;
}

.diarq-search__field--price {
  justify-content: center;
  padding: 0 4px 2px;
}

.diarq-search__price-label {
  color: var(--diarq-blue);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 2px;
}

.diarq-search__price-label strong {
  font-weight: 700;
}

.diarq-search__slider {
  position: relative;
  height: 28px;
}

.diarq-search__slider-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 4px;
  margin-top: -2px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    #c9d3d9 0%,
    #c9d3d9 var(--diarq-price-min, 0%),
    var(--diarq-blue) var(--diarq-price-min, 0%),
    var(--diarq-blue) var(--diarq-price-max, 100%),
    #c9d3d9 var(--diarq-price-max, 100%),
    #c9d3d9 100%
  );
  pointer-events: none;
  z-index: 0;
}

.diarq-search__slider input[type="range"] {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 16px;
  margin: -8px 0 0;
  padding: 0;
  min-height: 0;
  background: transparent !important;
  border: 0 !important;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  z-index: 1;
}

.diarq-search__slider input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  background: transparent;
}

.diarq-search__slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  width: 16px;
  height: 16px;
  margin-top: -6px; /* (track 4px - thumb 16px) / 2 */
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--diarq-blue);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 2;
}

.diarq-search__slider input[type="range"]::-moz-range-track {
  height: 4px;
  background: transparent;
  border: 0;
}

.diarq-search__slider input[type="range"]::-moz-range-thumb {
  box-sizing: border-box;
  width: 16px;
  height: 16px;
  border: 2px solid var(--diarq-blue);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  pointer-events: auto;
}

.diarq-search__submit {
  align-self: stretch;
  min-width: 120px;
  min-height: 100%;
  background: var(--diarq-blue) !important;
  color: #fff !important;
  border: 1px solid var(--diarq-blue) !important;
  border-radius: 4px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 26px;
  cursor: pointer;
}

.diarq-inquiry .diarq-btn {
  min-height: 44px;
  background: #fff !important;
  color: #0d3a52 !important;
  border: 1px solid #fff !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  padding: 10px 22px;
}

.diarq-search__submit:hover {
  background: #0a2f43 !important;
  border-color: #0a2f43 !important;
  color: #fff !important;
}

.diarq-inquiry .diarq-btn:hover {
  background: var(--diarq-gold) !important;
  border-color: var(--diarq-gold) !important;
  color: #000 !important;
}

.diarq-prop-intro {
  margin-bottom: 28px;
}

.diarq-prop-copy {
  padding: 36px 0 8px;
}

.diarq-inquiry-wrap,
.diarq-inquiry {
  margin-top: 24px;
}

.diarq-inquiry {
  background: #0a2f43;
  border: 1px solid #1b4d66;
  padding: 24px;
}

.diarq-inquiry h3 {
  margin-top: 0;
  color: #fff;
}

.diarq-inquiry__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.diarq-inquiry label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d8e4ec;
}

.diarq-modal[hidden] {
  display: none !important;
}

.diarq-modal {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.diarq-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.diarq-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: #0a2f43;
  border: 1px solid #1b4d66;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  scrollbar-width: thin;
  scrollbar-color: #3d6a80 transparent;
}

.diarq-modal__dialog::-webkit-scrollbar {
  width: 6px;
}

.diarq-modal__dialog::-webkit-scrollbar-track {
  background: transparent;
}

.diarq-modal__dialog::-webkit-scrollbar-thumb {
  background: #3d6a80;
  border-radius: 999px;
}

.diarq-modal__dialog::-webkit-scrollbar-thumb:hover {
  background: #5a8aa0;
}

.diarq-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 1px solid #2a5a72;
  border-radius: 50%;
  background: #0a2f43;
  color: #d8e4ec;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.diarq-modal__close:hover {
  color: #fff;
  border-color: var(--diarq-gold);
}

.diarq-modal .diarq-inquiry {
  margin: 0;
  border: 0;
  padding: 28px 28px 24px;
}

.diarq-modal .diarq-inquiry h3 {
  padding-right: 40px;
  margin-right: 0;
  line-height: 1.35;
}

.diarq-search-brief__lead {
  color: #d8e4ec;
  margin: 0 0 20px;
}

.diarq-search-brief__contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}

.diarq-search-brief__field--wide {
  min-width: 0;
}

.diarq-search-brief__field--phone {
  grid-column: 1 / -1 !important;
  min-width: 0;
  width: 100%;
}

.diarq-search-brief__nowrap {
  display: block;
  white-space: nowrap !important;
  letter-spacing: 0.04em;
  overflow: hidden;
  text-overflow: ellipsis;
}

.diarq-search-brief__field--phone input {
  width: 100%;
  max-width: 100%;
}

@media (max-width: 560px) {
  .diarq-search-brief__contact {
    grid-template-columns: 1fr;
  }
}

.diarq-search-brief input[type="text"],
.diarq-search-brief input[type="email"],
.diarq-search-brief input[type="tel"] {
  background: #0a2f43 !important;
  color: #fff !important;
  border: 1px solid #2a5a72 !important;
  min-height: 44px;
  padding: 8px 12px;
  width: 100%;
}

.diarq-search-brief__step {
  border: 1px solid #1b4d66;
  margin: 0 0 16px;
  padding: 16px;
}

.diarq-search-brief__step legend {
  padding: 0 8px;
  color: var(--diarq-gold);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

.diarq-search-brief__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.diarq-search-brief__label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d8e4ec;
  margin-bottom: 2px;
}

.diarq-check {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 10px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 14px !important;
  color: #f2f2f2 !important;
  cursor: pointer;
}

.diarq-check input {
  margin-top: 3px;
  flex: 0 0 auto;
  width: auto !important;
  min-height: 0 !important;
  accent-color: var(--diarq-gold);
}

.diarq-search-brief select,
.diarq-search-brief textarea {
  background: #0a2f43 !important;
  color: #fff !important;
  border: 1px solid #2a5a72 !important;
  min-height: 44px;
  padding: 8px 12px;
  width: 100%;
}

.diarq-search-brief__privacy {
  font-size: 13px;
  color: #9aa8b2;
  margin: 8px 0 18px;
}

.diarq-fachadas p {
  max-width: 820px;
}

.diarq-inspect__file {
  margin-top: 8px;
}

.diarq-inspect__file input[type="file"] {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 10px 12px;
  color: #d8e4ec;
  background: #082636;
  border: 1px dashed #2a5a72;
  cursor: pointer;
}

.diarq-inspect__hint {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: #9aa8b2;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

#diarq-inspection-modal .diarq-modal__dialog {
  width: min(760px, 100%);
}

body.diarq-modal-open {
  overflow: hidden;
}

.diarq-value__icon,
.diarq-value img.diarq-value__icon {
  width: 56px !important;
  height: 56px !important;
  object-fit: contain;
  margin-bottom: 16px;
  filter: none;
}

.diarq-value__svg,
.diarq-service__icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  color: #fff;
  margin-bottom: 16px;
}

.diarq-value__svg svg,
.diarq-service__icon svg {
  width: 56px;
  height: 56px;
}

.diarq-service img {
  display: none;
}

.diarq-niche-lead {
  margin: 0 0 24px;
  max-width: 760px;
}

.diarq-section--services {
  max-width: none;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  overflow: hidden;
}

.diarq-section--services > .diarq-kicker,
.diarq-section--services > h2 {
  padding-left: 8%;
  padding-right: 8%;
}

.diarq-service-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 28px;
  padding: 0 8%;
  box-sizing: border-box;
}

.diarq-service-carousel__viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.diarq-service-carousel__track {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
  transform: translateX(0);
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.diarq-service-carousel:not(.is-overflow) .diarq-service-carousel__nav {
  visibility: hidden;
  pointer-events: none;
}

.diarq-service-carousel .diarq-service {
  flex: 0 0 auto;
  width: 260px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 260px;
  overflow: hidden;
}

.diarq-service-carousel .diarq-service p {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.diarq-service-carousel__nav {
  flex: 0 0 44px;
  position: static;
  transform: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 4px;
  z-index: 2;
  backdrop-filter: blur(2px);
}

.diarq-service-carousel__nav:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.diarq-service-carousel__nav--prev,
.diarq-service-carousel__nav--next {
  left: auto;
  right: auto;
}

@media (max-width: 767px) {
  .diarq-section--services > .diarq-kicker,
  .diarq-section--services > h2 {
    padding-left: 20px;
    padding-right: 20px;
  }
  .diarq-service-carousel {
    padding: 0 12px;
    gap: 8px;
  }
  .diarq-service-carousel .diarq-service {
    width: min(240px, 72vw);
  }
}

.diarq-logo-marquee {
  overflow: hidden;
  margin-top: 32px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.diarq-logo-track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  animation: diarq-logo-scroll 36s linear infinite;
}

.diarq-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 88px;
  text-decoration: none;
}

.diarq-logo-item img {
  max-height: 72px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) brightness(1.15);
  opacity: 0.72;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.diarq-logo-item:hover img,
.diarq-logo-word:hover {
  filter: none;
  opacity: 1;
  color: #fff;
}

.diarq-logo-word {
  color: #9aa8b2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  transition: color 0.25s ease;
}

@keyframes diarq-logo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

#account-login .divider,
#account-login a[href*="register"],
#account-register {
  display: none !important;
}

/* Account incidents portal — dark chrome aligned with site tokens */
#account-incident .inner-content.account-incident-panel,
#account-incident-form .inner-content.account-incident-panel,
#account-incident-info .inner-content.account-incident-panel {
  background: #141414 !important;
  border-color: #2a2a2a !important;
  color: #f2f2f2 !important;
}

#account-incident .account-incident-title,
#account-incident-form .account-incident-title,
#account-incident-info .account-incident-title,
#account-incident-form .control-label,
#account-incident-info .control-label,
#account-incident-info .account-incident-section-title {
  color: #f5f5f5 !important;
}

#account-incident .account-incident-table,
#account-incident .account-incident-table > thead > tr > th,
#account-incident .account-incident-table > tbody > tr > td {
  background: transparent !important;
  color: #f2f2f2 !important;
  border-color: #2a2a2a !important;
}

#account-incident .account-incident-col-filters input.col-filter,
#account-incident .dt-container .dt-search input,
#account-incident .dt-container .dt-length select,
#account-incident .dataTables_wrapper .dataTables_filter input,
#account-incident .dataTables_wrapper .dataTables_length select {
  background: #161616 !important;
  color: #f2f2f2 !important;
  -webkit-text-fill-color: #f2f2f2 !important;
  border: 1px solid #444 !important;
}

#account-incident .account-incident-col-filters input.col-filter::placeholder,
#account-incident .dt-container .dt-search input::placeholder,
#account-incident .dataTables_wrapper .dataTables_filter input::placeholder {
  color: #9a9a9a !important;
  -webkit-text-fill-color: #9a9a9a !important;
  opacity: 1 !important;
  font-style: italic;
}

#account-incident .account-incident-col-filters input.col-filter:focus,
#account-incident .dt-container .dt-search input:focus {
  border-color: var(--diarq-gold) !important;
  box-shadow: 0 0 0 2px rgba(196, 160, 53, 0.28) !important;
}

#account-incident .dt-container .dt-info,
#account-incident .dt-container .dt-length label,
#account-incident .dt-container .dt-search label,
#account-incident .dataTables_wrapper .dataTables_info,
#account-incident .dataTables_wrapper .dataTables_length label,
#account-incident .dataTables_wrapper .dataTables_filter label {
  color: #e8e8e8 !important;
  -webkit-text-fill-color: #e8e8e8 !important;
}

#account-incident-info .account-incident-meta,
#account-incident-info .account-incident-message,
#account-incident-info .account-incident-body {
  background: #111 !important;
  border-color: #2a2a2a !important;
  color: #f2f2f2 !important;
}

#account-incident-info .account-incident-meta dt,
#account-incident-info .account-incident-message-meta,
#account-incident-info .account-incident-file-meta,
#account-incident-info .account-incident-empty-hint,
#account-incident-form .account-incident-help {
  color: #9a9a9a !important;
}

#account-incident-info .account-incident-files a {
  color: var(--diarq-gold) !important;
}

#account-incident .account-incident-view-btn,
#account-incident-form .btn-default,
#account-incident-info .btn-default {
  background: transparent !important;
  color: #f2f2f2 !important;
  border: 1px solid #fff !important;
}

#account-incident .account-incident-view-btn:hover,
#account-incident-form .btn-default:hover,
#account-incident-info .btn-default:hover {
  background: #1a1a1a !important;
  border-color: var(--diarq-gold) !important;
  color: #fff !important;
}

#product-product .diarq-inquiry {
  margin: 0 15px 48px;
  max-width: 1200px;
}

.diarq-obra {
  margin: 48px 0 0;
  padding-top: 36px;
  border-top: 1px solid #2a2a2a;
}

.diarq-obra h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 26px;
}

.diarq-obra__place {
  margin: 0 0 12px;
  color: var(--diarq-gold);
  letter-spacing: 0.04em;
}

.diarq-obra__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.diarq-obra__gallery a {
  display: block;
  background: #141414;
  overflow: hidden;
  cursor: zoom-in;
}

.diarq-obra__gallery img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}

.diarq-obra__gallery a:hover img,
.diarq-obra__gallery a:focus-visible img {
  transform: scale(1.06);
}

/* Scroll reveal starts only after JS marks the page, so content stays visible if JS fails. */
.diarq-motion .diarq-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.diarq-motion .diarq-reveal.is-inview {
  opacity: 1;
  transform: none;
}

.diarq-motion .diarq-obra.is-inview .diarq-obra__gallery a {
  animation: diarq-photo-in 0.55s ease both;
}

.diarq-motion .diarq-obra.is-inview .diarq-obra__gallery a:nth-child(2) { animation-delay: 0.08s; }
.diarq-motion .diarq-obra.is-inview .diarq-obra__gallery a:nth-child(3) { animation-delay: 0.16s; }
.diarq-motion .diarq-obra.is-inview .diarq-obra__gallery a:nth-child(4) { animation-delay: 0.24s; }
.diarq-motion .diarq-obra.is-inview .diarq-obra__gallery a:nth-child(5) { animation-delay: 0.32s; }

@keyframes diarq-photo-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

body.diarq-lightbox-open {
  overflow: hidden;
}

.diarq-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100080;
  display: flex;
  align-items: center;
  justify-content: center;
}

.diarq-lightbox[hidden] {
  display: none;
}

.diarq-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.diarq-lightbox__figure {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: min(92vw, 1280px);
  text-align: center;
}

.diarq-lightbox__img {
  display: block;
  max-width: min(92vw, 1280px);
  max-height: 78vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.28s ease, transform 0.28s ease;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.diarq-lightbox__img.is-shown {
  opacity: 1;
  transform: none;
}

.diarq-lightbox__caption {
  margin-top: 14px;
  color: #f2f2f2;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.diarq-lightbox__close,
.diarq-lightbox__nav {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  cursor: pointer;
  line-height: 1;
}

.diarq-lightbox__close {
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 28px;
}

.diarq-lightbox__nav {
  top: 50%;
  width: 48px;
  height: 72px;
  margin-top: -36px;
  font-size: 42px;
}

.diarq-lightbox__prev { left: 16px; }
.diarq-lightbox__next { right: 16px; }

.diarq-lightbox__close:hover,
.diarq-lightbox__nav:hover,
.diarq-lightbox__close:focus-visible,
.diarq-lightbox__nav:focus-visible {
  background: var(--diarq-gold);
  color: #000;
  border-color: var(--diarq-gold);
}

@media (max-width: 767px) {
  .diarq-lightbox__nav {
    top: auto;
    bottom: 18px;
    margin-top: 0;
    width: 56px;
    height: 48px;
    font-size: 34px;
  }
  .diarq-lightbox__prev { left: 18px; }
  .diarq-lightbox__next { right: 18px; }
  .diarq-lightbox__img { max-height: 68vh; }
  .diarq-lightbox__caption { margin-bottom: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .diarq-motion .diarq-reveal,
  .diarq-lightbox__img,
  .diarq-obra__gallery img {
    transition: none;
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.diarq-works-meta a {
  color: #fff;
  text-decoration: none;
}

.diarq-works-meta a:hover {
  color: var(--diarq-gold);
}

.diarq-card .diarq-btn {
  margin-top: 16px;
}

/* Portfolio pages replace the empty product grid. The live theme has no #product-category. */
body:has(.diarq-obras) #content > p,
body:has(.diarq-obras) #content > .buttons {
  display: none;
}

@media (max-width: 767px) {
  body:has(#fluxslider0) .diarq-home-search-wrap,
  .diarq-home-search-wrap {
    padding: 0 16px;
  }
  .diarq-search__tabs {
    margin-left: 0;
  }
  .diarq-search__tab {
    flex: 1 1 0;
    padding: 10px 12px;
    font-size: 13px;
    text-align: center;
  }
  .diarq-search__body {
    grid-template-columns: 1fr;
  }
  .diarq-search__row--filters {
    grid-template-columns: 1fr;
  }
  .diarq-search__row {
    flex-direction: column;
    align-items: stretch;
  }
  .diarq-search__submit {
    min-height: 48px;
    width: 100%;
  }
}

.diarq-inquiry__phone a {
  color: #fff;
  font-weight: 600;
}

/* Property page sits on the dark store background: description must stay light. */
.property-page .property-description,
.property-page .property-description p,
.property-page .property-description li,
.property-page .property-title,
.property-page .property-address,
.property-page .property-section__title {
  color: #f4f4f4 !important;
}

/* Login dialog uses --brighter-color, which on Diarq is gold. Keep the dark paper. */
#login-modal .login-modal__dialog {
  background: #141414;
  color: #f2f2f2;
  border: 1px solid #2c2c2c;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

#login-modal .login-modal__title,
#login-modal .login-modal__label,
#login-modal .login-modal__check,
#login-modal .login-modal__aside,
#login-modal .login-modal__close {
  color: #f2f2f2;
}

#login-modal .login-modal__close:hover,
#login-modal .login-modal__close:focus {
  background: #2a2a2a;
}

#login-modal .divider .divider-title,
#login-modal .login-modal__error {
  background: #141414;
  color: #c8c8c8;
}

/* Contact dialog shares .login-modal and the same gold --brighter-color. */
#contact-modal .login-modal__dialog {
  background: #141414;
  color: #f2f2f2;
  border: 1px solid #2c2c2c;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

#contact-modal .login-modal__title,
#contact-modal .login-modal__label,
#contact-modal .login-modal__close,
#contact-modal .contact-modal__name,
#contact-modal .contact-modal__row,
#contact-modal .contact-modal__row a {
  color: #f2f2f2;
}

#contact-modal .login-modal__close:hover,
#contact-modal .login-modal__close:focus {
  background: #2a2a2a;
}

#contact-modal .login-modal__error {
  background: #141414;
  color: #c8c8c8;
}