:root {
  --local-navy: #10283c;
  --local-navy-deep: #0d2233;
  --local-teal: #2f8b83;
  --local-cream: #f1ebe1;
}

body.local-site-open { overflow: hidden; }

.local-hero {
  min-height: 580px;
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(122deg, var(--local-navy-deep), #14384b 62%, #1b5363);
}

.local-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 54%;
  background:
    linear-gradient(90deg, #14384b 0%, rgba(20,56,75,.24) 34%, rgba(20,56,75,.06) 100%),
    url("images/surface-bardilio.webp") center / cover no-repeat;
  opacity: .78;
  mix-blend-mode: luminosity;
}

.local-hero::after {
  content: "";
  position: absolute;
  width: 580px;
  height: 580px;
  right: -250px;
  top: 58px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  box-shadow: 0 0 0 92px rgba(255,255,255,.025), 0 0 0 184px rgba(255,255,255,.017);
}

.local-shell {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.local-nav {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.local-logo-card {
  width: 126px;
  height: 68px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  padding: 5px 9px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 8px 24px rgba(4,20,30,.12);
}

.local-logo-card img {
  display: block;
  width: 108px;
  height: 58px;
  object-fit: contain;
}

.local-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.local-menu a,
.local-menu button {
  appearance: none;
  padding: 8px 0;
  border: 0;
  color: rgba(255,255,255,.74);
  background: transparent;
  font: inherit;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
}

.local-menu a:hover,
.local-menu button:hover,
.local-menu a:focus-visible,
.local-menu button:focus-visible { color: #fff; }

.local-nav-contact {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.local-phone-list { display: flex; align-items: center; gap: 18px; }

.local-phone {
  display: grid;
  gap: 2px;
  color: #fff;
  text-decoration: none;
  text-align: right;
  font-size: 15px;
  font-weight: 700;
}

.local-phone small {
  color: rgba(255,255,255,.53);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.local-nav-cta {
  padding: 12px 18px;
  border-radius: 3px;
  color: var(--local-navy);
  background: var(--local-cream);
  text-decoration: none;
  font-size: 13px;
  font-weight: 750;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.local-hero-main {
  min-height: 492px;
  display: grid;
  grid-template-columns: minmax(0, 700px) 1fr;
  gap: 48px;
  align-items: center;
  padding: 16px 0 28px;
}

.local-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 17px;
  color: #b8ded7;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.local-eyebrow::before { content: ""; width: 38px; height: 1px; background: currentColor; }

.local-hero h1 {
  margin: 0;
  max-width: 720px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 4.6vw, 68px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.045em;
}

.local-hero h1 em { display: block; color: var(--local-cream); font-style: normal; }

.local-lead {
  max-width: 650px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.76);
  font-size: 16px;
  line-height: 1.52;
}

.local-lead strong { color: #fff; font-weight: 700; }
.local-actions { display: flex; gap: 12px; margin-top: 22px; }
.local-primary { min-width: 184px; padding: 13px 20px; border-radius: 3px; color: var(--local-navy); background: var(--local-cream); text-align: center; text-decoration: none; font-size: 13px; font-weight: 750; }

.local-partner-panel {
  justify-self: start;
  width: 390px;
  margin: -50px 0 0;
  transform: translateX(36px);
}

.local-surface-card {
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(8,29,42,.79);
  box-shadow: 0 20px 56px rgba(4,20,30,.22);
  backdrop-filter: blur(14px);
}

.local-partner-copy { padding: 19px 24px 18px; }
.local-partner-copy small,
.local-factory-label { display: block; color: #b8ded7; font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.local-partner-copy h2 { margin: 7px 0 0; color: #fff; font: 400 36px Georgia, "Times New Roman", serif; letter-spacing: .04em; }
.local-partner-copy p { margin: 5px 0 0; color: rgba(255,255,255,.67); font-size: 12px; line-height: 1.4; }
.local-made-in { display: flex; align-items: center; gap: 9px; margin-top: 12px; padding-top: 11px; border-top: 1px solid rgba(255,255,255,.14); color: #fff; font-size: 11px; }
.local-flag { width: 21px; height: 14px; border-radius: 1px; background: linear-gradient(#fff 0 33%, #1f58a8 33% 66%, #d4483d 66%); box-shadow: 0 0 0 1px rgba(255,255,255,.22); }
.local-factory-list { margin: 14px 6px 0; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.29); }
.local-factory-label { margin-bottom: 7px; }
.local-factory-list ul { list-style: none; margin: 0; padding: 0; }
.local-factory-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 5px 0; color: #fff; font: 400 18px/1.05 Georgia, "Times New Roman", serif; letter-spacing: .035em; }
.local-factory-list li span { color: rgba(255,255,255,.95); font: 750 10px "Segoe UI", Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; }

.local-services-wrap { background: #fff; border-bottom: 1px solid rgba(21,49,63,.14); }
.local-services { min-height: 142px; display: grid; grid-template-columns: 1.22fr repeat(3, 1fr); align-items: stretch; }
.local-services-title,
.local-service { display: flex; flex-direction: column; justify-content: center; border-right: 1px solid rgba(21,49,63,.14); }
.local-services-title { padding-right: 38px; }
.local-services-title small { color: var(--local-teal); font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.local-services-title h2 { margin: 7px 0 0; font: 400 26px/1.08 Georgia, "Times New Roman", serif; }
.local-service { padding: 16px 24px; }
.local-service:last-child { border-right: 0; }
.local-service i { display: grid; place-items: center; width: 26px; height: 26px; margin-bottom: 9px; border: 1px solid rgba(47,139,131,.34); border-radius: 50%; color: var(--local-teal); font-size: 10px; font-style: normal; font-weight: 800; }
.local-service b { font-size: 14px; line-height: 1.22; }
.local-service span { margin-top: 6px; color: #637681; font-size: 11px; line-height: 1.35; }

.local-services-wrap + .architect-announcement-wrap { padding-top: 18px; }
.local-services-wrap + .architect-announcement-wrap .architect-announcement { margin-top: 0; }
.architect-announcement-wrap + main .toolbar { margin-top: 12px; }
.toolbar { scroll-margin-top: 16px; }

.local-dialog {
  width: min(1180px, 95vw);
  max-height: 90vh;
  padding: 0;
  border: 0;
  color: #15313f;
  background: #f7f6f2;
  box-shadow: 0 30px 100px rgba(10,20,30,.36);
  overflow: auto;
}

.local-dialog::backdrop { background: rgba(14,27,39,.74); }
.local-dialog-close { position: sticky; float: right; right: 14px; top: 12px; z-index: 4; width: 42px; height: 42px; margin: 12px 12px -54px 0; border: 0; border-radius: 50%; color: #15313f; background: rgba(255,255,255,.94); font-size: 25px; cursor: pointer; }
.local-dialog-head { padding: 44px 52px 28px; background: #10283c; color: #fff; }
.local-dialog-head small { display: block; color: #b8ded7; font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.local-dialog-head h2 { margin: 8px 0 0; font: 400 39px/1.05 Georgia, "Times New Roman", serif; }
.local-dialog-head p { max-width: 760px; margin: 12px 0 0; color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.55; }

.local-factory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 28px 52px 48px; }
.local-factory-card { min-height: 136px; padding: 20px; border: 1px solid rgba(21,49,63,.14); color: #15313f; background: #fff; text-align: left; cursor: pointer; }
.local-factory-card:hover,
.local-factory-card:focus-visible { border-color: var(--local-teal); box-shadow: inset 4px 0 0 var(--local-teal); }
.local-factory-card strong { display: block; font: 400 25px Georgia, "Times New Roman", serif; }
.local-factory-card span { display: block; margin-top: 9px; color: #637681; font-size: 11px; line-height: 1.45; }
.local-factory-card small { display: block; margin-top: 14px; color: var(--local-teal); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.local-services-dialog { width: min(1280px, 96vw); }
.local-service-intro { display: grid; grid-template-columns: minmax(0, 1fr) 180px; align-items: center; gap: 34px; padding: 28px 52px; background: #fff; border-bottom: 1px solid rgba(21,49,63,.14); }
.local-service-intro h3 { margin: 0; font: 400 28px Georgia, "Times New Roman", serif; }
.local-service-intro p { margin: 9px 0 0; color: #637681; font-size: 13px; line-height: 1.55; }
.local-sk-logo { width: 150px; max-height: 110px; justify-self: end; object-fit: contain; }
.local-partner-contact { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px 16px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(21,49,63,.14); }
.local-partner-contact small { flex-basis: 100%; color: var(--local-teal); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.local-partner-contact strong { color: #15313f; font-size: 14px; }
.local-partner-contact a { color: #15313f; font-size: 12px; font-weight: 750; text-decoration: none; }
.local-partner-contact a:hover { color: var(--local-teal); }
.local-company-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 24px 52px; }
.local-company-service { padding: 18px; border: 1px solid rgba(21,49,63,.12); background: #eef4f4; }
.local-company-service strong { display: block; font-size: 14px; }
.local-company-service span { display: block; margin-top: 7px; color: #637681; font-size: 11px; line-height: 1.45; }
.local-company-service em { display: block; margin-top: 14px; color: var(--local-teal); font-size: 11px; font-style: normal; font-weight: 800; }
.local-portfolio { padding: 34px 52px 44px; border-top: 1px solid rgba(21,49,63,.12); background: #e8efee; }
.local-portfolio-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); align-items: end; gap: 42px; margin-bottom: 22px; }
.local-portfolio-head small { display: block; color: var(--local-teal); font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.local-portfolio-head h3 { margin: 7px 0 0; color: #15313f; font: 400 31px/1.08 Georgia, "Times New Roman", serif; }
.local-portfolio-head p { margin: 0; color: #637681; font-size: 12px; line-height: 1.55; }
.local-portfolio-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.local-portfolio-card { grid-column: span 2; }
.local-portfolio-card { position: relative; min-height: 270px; overflow: hidden; background: #10283c; box-shadow: 0 14px 34px rgba(10,32,43,.12); }
.local-portfolio-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,25,38,.02) 22%, rgba(8,25,38,.9) 100%); pointer-events: none; }
.local-portfolio-card img { width: 100%; height: 100%; min-height: 270px; object-fit: cover; display: block; transition: transform .35s ease; }
.local-portfolio-card:nth-child(1) img { object-position: 50% 37%; }
.local-portfolio-card:nth-child(2) img { object-position: 50% 50%; }
.local-portfolio-card:nth-child(3) img { object-position: 50% 50%; }
.local-portfolio-card:nth-child(4) img { object-position: 50% 34%; }
.local-portfolio-card:nth-child(5) img { object-position: 50% 48%; }
.local-portfolio-card:nth-child(6) img { object-position: 50% 56%; }
.local-portfolio-card:hover img { transform: scale(1.025); }
.local-portfolio-card > div:not(.local-portfolio-media) { position: absolute; z-index: 1; inset: auto 0 0; padding: 56px 22px 20px; color: #fff; }
.local-portfolio-media { display: grid; grid-template-columns: 1.18fr .82fr; width: 100%; height: 100%; min-height: 270px; }
.local-portfolio-media img { width: 100%; height: 100%; min-height: 270px; object-fit: cover; }
.local-portfolio-media img { object-position: 50% 50%; }
.local-portfolio-card small { color: #b8ded7; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.local-portfolio-card h4 { margin: 6px 0 0; font: 400 24px/1.08 Georgia, "Times New Roman", serif; }
.local-portfolio-card p { margin: 8px 0 0; color: rgba(255,255,255,.78); font-size: 11px; line-height: 1.4; }
.local-price-wrap { padding: 8px 52px 52px; }
.local-price-wrap h3 { margin: 18px 0 6px; font: 400 29px Georgia, "Times New Roman", serif; }
.local-price-note { margin: 0 0 18px; color: #637681; font-size: 11px; }
.local-price-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 12px; }
.local-price-table th,
.local-price-table td { padding: 11px 12px; border-bottom: 1px solid rgba(21,49,63,.12); text-align: left; vertical-align: top; }
.local-price-table thead th { position: sticky; top: 0; z-index: 2; color: #fff; background: #15313f; font-size: 9px; letter-spacing: .09em; text-transform: uppercase; }
.local-price-table td:nth-child(2),
.local-price-table td:nth-child(3) { white-space: nowrap; }
.local-price-table td:nth-child(3) { font-weight: 800; }
.local-price-table .local-price-category th { padding-top: 16px; color: #2f8b83; background: #eef4f4; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.local-price-table .local-price-subitem td:first-child { padding-left: 28px; color: #3d5562; }

.local-contacts-dialog { width: min(1120px, 94vw); }
.local-contact-sheet { display: grid; grid-template-columns: 1.15fr .85fr; background: #f4f1eb; }
.local-contact-company { min-height: 430px; padding: 42px 48px 46px; }
.local-contact-company + .local-contact-company { border-left: 1px solid rgba(21,49,63,.16); }
.local-contact-company-sfera { background: #fff; }
.local-contact-company-format { background: #eef4f4; }
.local-contact-brand { display: flex; align-items: center; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid rgba(21,49,63,.14); }
.local-contact-brand img { width: 146px; height: 92px; padding: 8px; object-fit: contain; background: #fff; }
.local-contact-company-format .local-contact-brand img { width: 126px; }
.local-contact-brand small { display: block; color: var(--local-teal); font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.local-contact-brand h3 { margin: 7px 0 0; color: #15313f; font: 400 29px/1.08 Georgia, "Times New Roman", serif; }
.local-contact-address,
.local-contact-role { margin: 28px 0 0; color: #566d78; font-size: 13px; line-height: 1.6; }
.local-contact-address a,
.local-person a,
.local-contact-details a { color: #15313f; text-decoration: none; }
.local-contact-address a:hover,
.local-person a:hover,
.local-contact-details a:hover { color: var(--local-teal); }
.local-person-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.local-person { padding: 19px; border: 1px solid rgba(21,49,63,.14); background: #f8faf9; }
.local-person small { display: block; color: #71828b; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.local-person strong { display: block; margin-top: 9px; color: #15313f; font: 400 21px Georgia, "Times New Roman", serif; }
.local-person a { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 800; }
.local-contact-details { margin: 26px 0 0; }
.local-contact-details div { display: grid; grid-template-columns: 82px 1fr; gap: 16px; padding: 13px 0; border-top: 1px solid rgba(21,49,63,.12); }
.local-contact-details dt { color: #71828b; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.local-contact-details dd { margin: 0; color: #15313f; font-size: 13px; line-height: 1.45; }

@media (max-width: 1120px) {
  .local-phone-list { display: none; }
  .local-menu { gap: 19px; }
  .local-hero-main { grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; }
  .local-partner-panel { width: 360px; transform: none; }
  .local-portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .local-portfolio-card { grid-column: auto; }
}

@media (max-width: 820px) {
  .local-shell { width: min(100% - 30px, 680px); }
  .local-hero::before { inset: 0; opacity: .28; }
  .local-nav {
    min-height: 0;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: center;
    gap: 14px 16px;
    padding: 15px 0 16px;
  }
  .local-logo-card { width: 92px; height: 54px; padding: 4px 7px; }
  .local-logo-card img { width: 78px; height: 44px; }
  .local-menu {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin-left: 0;
  }
  .local-menu a,
  .local-menu button {
    display: flex !important;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 6px 7px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 3px;
    color: rgba(255,255,255,.86);
    font-size: 12px;
    line-height: 1.1;
  }
  .local-nav-contact {
    grid-column: 1 / -1;
    width: 100%;
    margin-left: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
  }
  .local-phone-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
  }
  .local-phone {
    text-align: left;
    font-size: 13px;
  }
  .local-phone small { font-size: 8px; }
  .local-nav-cta {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    white-space: nowrap;
  }
  .local-hero-main { display: block; min-height: 0; padding: 50px 0 42px; }
  .local-hero h1 { font-size: 50px; }
  .local-partner-panel { width: 100%; margin: 40px 0 0; transform: none; }
  .local-services { grid-template-columns: 1fr; }
  .local-services-title,
  .local-service { min-height: 132px; padding: 28px 0; border-right: 0; border-bottom: 1px solid rgba(21,49,63,.14); }
  .local-factory-grid { grid-template-columns: 1fr 1fr; padding: 24px; }
  .local-dialog-head { padding: 38px 24px 24px; }
  .local-service-intro { grid-template-columns: 1fr; padding: 24px; }
  .local-sk-logo { justify-self: start; }
  .local-company-services { grid-template-columns: 1fr; padding: 20px 24px; }
  .local-portfolio { padding: 30px 24px 36px; }
  .local-portfolio-head { grid-template-columns: 1fr; gap: 12px; }
  .local-portfolio-grid { grid-template-columns: 1fr; }
  .local-portfolio-card,
  .local-portfolio-card img { min-height: 250px; }
  .local-price-wrap { padding: 6px 24px 36px; overflow-x: auto; }
  .local-price-table { min-width: 760px; }
  .local-contact-sheet { grid-template-columns: 1fr; }
  .local-contact-company { min-height: 0; padding: 30px 24px; }
  .local-contact-company + .local-contact-company { border-left: 0; border-top: 1px solid rgba(21,49,63,.16); }
}

@media (max-width: 540px) {
  .local-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .local-menu a,
  .local-menu button { font-size: 11.5px; }
  .local-nav-contact { grid-template-columns: 1fr; gap: 12px; }
  .local-phone-list { gap: 8px 12px; }
  .local-phone { font-size: 12px; }
  .local-nav-cta { width: 100%; }
  .local-hero h1 { font-size: 43px; }
  .local-lead { font-size: 14px; }
  .local-factory-grid { grid-template-columns: 1fr; }
  .local-person-grid { grid-template-columns: 1fr; }
  .local-contact-brand { align-items: flex-start; }
  .local-contact-brand img { width: 112px; height: 74px; }
}

/* Keep long tile-face strips inside the media column instead of allowing
   their intrinsic width to squeeze the product description. */
@media (min-width: 851px) {
  #detail .detail-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  }

  #detail .detail-media,
  #detail .detail-copy {
    min-width: 0;
  }

  #detail .detail-copy h2 {
    overflow-wrap: anywhere;
  }
}

@media print {
  .local-nav,
  .local-services-wrap,
  .architect-announcement-wrap,
  .local-dialog { display: none !important; }
  .local-hero { min-height: 0; padding: 10mm; }
  .local-hero-main { min-height: 0; padding: 0; }
  .local-partner-panel { display: none; }
}
