/*
  Ladrilife — Premium presentation layer
  Loaded after styles.css so the proven form, validation and multilingual
  behaviour stay intact while the public presentation becomes more editorial.
*/

:root {
  --page: #ece9e1;
  --paper: #faf8f3;
  --paper-soft: #e7e2d8;
  --ink: #111713;
  --ink-soft: #252d27;
  --muted: #626a64;
  --line: rgba(17, 23, 19, .16);
  --line-light: rgba(255, 255, 255, .16);
  --accent: #b48045;
  --accent-dark: #895b2c;
  --accent-soft: #e8d7bd;
  --green: #205f43;
  --shadow-sm: 0 18px 50px rgba(17, 23, 19, .08);
  --shadow-md: 0 38px 110px rgba(17, 23, 19, .16);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 18px;
  --container: 1360px;
  --header-height: 88px;
}

body {
  background: var(--paper);
  font-size: 17px;
  line-height: 1.65;
}

.container {
  width: min(calc(100% - 72px), var(--container));
}

.section {
  padding: clamp(112px, 10vw, 168px) 0;
}

h1,
h2 {
  font-weight: 400;
  letter-spacing: -.052em;
}

h1 {
  max-width: 10.5ch;
  font-size: clamp(4rem, 6.5vw, 7.15rem);
  line-height: .92;
}

h2 {
  max-width: 12ch;
  font-size: clamp(3.15rem, 5vw, 5.6rem);
  line-height: .94;
}

h3 {
  letter-spacing: -.015em;
}

.eyebrow {
  gap: 15px;
  font-size: .68rem;
  letter-spacing: .21em;
}

.eyebrow::before {
  width: 48px;
}

.button {
  min-height: 56px;
  padding-inline: 26px;
  border-radius: 2px;
  font-size: .78rem;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.button:hover {
  transform: translateY(-2px);
}

.button-accent {
  background: var(--accent);
  box-shadow: none;
}

.button-accent:hover {
  background: #c18c51;
  box-shadow: 0 18px 42px rgba(180, 128, 69, .22);
}

.button-primary {
  background: var(--ink);
}

/* Header */
.site-header {
  min-height: var(--header-height);
}

.site-header.is-scrolled,
.site-header.has-open-menu {
  border-color: rgba(17, 23, 19, .09);
  background: rgba(250, 248, 243, .94);
  box-shadow: 0 14px 42px rgba(17, 23, 19, .065);
  backdrop-filter: blur(20px);
}

.header-inner {
  min-height: var(--header-height);
  gap: 34px;
}

.brand {
  gap: 14px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  gap: 2px;
  padding: 7px;
  border-radius: 2px;
  box-shadow: none;
}

.brand-mark i {
  border-radius: 0;
}

.brand-copy strong {
  font-size: .88rem;
  letter-spacing: .2em;
}

.brand-copy small {
  margin-top: 7px;
  font-size: .55rem;
  letter-spacing: .12em;
}

.desktop-nav {
  gap: 34px;
}

.desktop-nav a {
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.language-switch {
  gap: 0;
  padding: 2px;
  border-radius: 2px;
  background: transparent;
}

.lang-button {
  width: 29px;
  height: 28px;
  border-radius: 1px;
  font-size: .58rem;
}

.header-quote {
  min-height: 43px;
  padding-inline: 17px;
  font-size: .65rem;
}

.menu-button {
  border-radius: 2px;
}

/* Hero */
.hero {
  min-height: 100svh;
  padding: calc(var(--header-height) + clamp(78px, 7vw, 112px)) 0 clamp(72px, 7vw, 110px);
  background: #0e1511;
}

.hero::before {
  top: auto;
  right: -220px;
  bottom: -340px;
  left: auto;
  width: 760px;
  height: 760px;
  background: rgba(180, 128, 69, .11);
  filter: blur(30px);
}

.hero::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(255, 255, 255, .06);
  content: "";
}

.hero-pattern {
  opacity: .12;
  background-size: 96px 96px;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.45) 44%, transparent 72%);
}

.hero-grid {
  min-height: calc(100svh - var(--header-height) - 170px);
  grid-template-columns: minmax(0, .82fr) minmax(540px, 1.18fr);
  gap: clamp(60px, 8vw, 128px);
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 650px;
  padding: 24px 0;
}

.hero .eyebrow {
  margin-bottom: 34px;
  color: #d6b17d;
}

.hero h1 {
  text-wrap: balance;
}

.hero-lead {
  max-width: 580px;
  margin-top: 38px;
  color: rgba(255, 255, 255, .64);
  font-size: 1rem;
  line-height: 1.82;
}

.hero-actions {
  gap: 15px;
  margin-top: 42px;
}

.hero .button-ghost-dark {
  border-color: rgba(255, 255, 255, .22);
  background: transparent;
}

.hero-facts {
  display: grid;
  max-width: 610px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, .13);
}

.hero-facts li {
  min-height: 78px;
  align-items: flex-start;
  padding: 20px 18px 0 0;
  border-right: 1px solid rgba(255, 255, 255, .11);
  color: rgba(255, 255, 255, .66);
  font-size: .66rem;
  line-height: 1.45;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.hero-facts li + li {
  padding-left: 18px;
}

.hero-facts li:last-child {
  border-right: 0;
}

.hero-facts svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  padding: 2px;
  border-radius: 0;
  background: transparent;
}

.hero-visual {
  min-height: clamp(650px, 68vh, 830px);
}

.hero-main-image,
.hero-small-image {
  border-color: rgba(255, 255, 255, .15);
  border-radius: 2px;
  box-shadow: 0 45px 120px rgba(0, 0, 0, .34);
}

.hero-main-image {
  top: 0;
  right: 0;
  width: 91%;
  height: 87%;
}

.hero-main-image::after {
  background: linear-gradient(180deg, rgba(8, 12, 9, .02) 42%, rgba(8, 12, 9, .72));
}

.hero-main-image img {
  object-position: 55% 50%;
  filter: saturate(.82) contrast(1.035);
}

.hero-main-image figcaption {
  right: 34px;
  bottom: 31px;
  left: 34px;
  gap: 7px;
  font-size: .58rem;
  letter-spacing: .13em;
}

.hero-main-image figcaption strong {
  max-width: 310px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  font-weight: 400;
  line-height: 1.2;
}

.hero-small-image {
  bottom: 0;
  width: 31%;
  height: 38%;
}

.hero-small-image-one {
  right: 8%;
}

.hero-small-image-two {
  right: auto;
  bottom: 5%;
  left: -3%;
  width: 27%;
  height: 33%;
}

.hero-small-image img {
  filter: saturate(.82) contrast(1.04);
}

.hero-stamp {
  top: 9%;
  left: -6%;
  width: 108px;
  height: 108px;
  border-color: rgba(255, 255, 255, .28);
  background: rgba(14, 21, 17, .82);
  box-shadow: none;
  transform: none;
}

.hero-stamp::before,
.hero-stamp::after {
  inset: 9px;
}

/* Project qualification strip */
.project-fit {
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: #0e1511;
  box-shadow: none;
  color: #fff;
}

.project-fit-grid > div {
  min-height: 122px;
  padding: 27px 32px;
  border-color: rgba(255, 255, 255, .1);
}

.project-fit-grid > div:first-child {
  border-left-color: rgba(255, 255, 255, .1);
}

.project-fit-grid strong {
  color: #fff;
  font-size: .72rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.project-fit-grid span {
  color: rgba(255, 255, 255, .48);
  font-size: .7rem;
}

/* Shared headings */
.section-heading {
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .55fr);
  gap: clamp(50px, 9vw, 140px);
  margin-bottom: clamp(58px, 7vw, 96px);
}

.section-heading .eyebrow {
  margin-bottom: 26px;
}

.section-heading > p {
  max-width: 520px;
  padding-bottom: 5px;
  font-size: .93rem;
  line-height: 1.85;
}

/* Portfolio — proof comes before service claims */
.portfolio-section {
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
}

.section-heading-light .eyebrow {
  color: var(--accent-dark);
}

.section-heading-light h2 {
  color: var(--ink);
}

.section-heading-light > p {
  color: var(--muted);
}

.portfolio-filters {
  gap: 0;
  margin-bottom: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.filter-button {
  min-height: 52px;
  padding: 0 21px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  color: var(--muted);
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.filter-button:hover,
.filter-button.is-active {
  background: var(--ink);
  color: #fff;
}

.portfolio-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-auto-rows: clamp(62px, 5.45vw, 80px);
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.portfolio-item,
.portfolio-item-wide,
.portfolio-item-tall {
  min-height: 0;
  border-radius: 2px;
  background: #d8d5cd;
}

/* Repeat the editorial rhythm for every group of eight projects.
   This keeps newly added CMS items full-sized instead of collapsing to a single grid cell. */
.portfolio-item:nth-child(8n + 1) { grid-column: span 8; grid-row: span 7; }
.portfolio-item:nth-child(8n + 2) { grid-column: span 4; grid-row: span 9; }
.portfolio-item:nth-child(8n + 3) { grid-column: span 4; grid-row: span 5; }
.portfolio-item:nth-child(8n + 4) { grid-column: span 4; grid-row: span 5; }
.portfolio-item:nth-child(8n + 5) { grid-column: span 6; grid-row: span 6; }
.portfolio-item:nth-child(8n + 6) { grid-column: span 6; grid-row: span 6; }
.portfolio-item:nth-child(8n + 7) { grid-column: span 7; grid-row: span 7; }
.portfolio-item:nth-child(8n) { grid-column: span 5; grid-row: span 7; }

.portfolio-item img {
  filter: saturate(.84) contrast(1.025);
  transition: transform .8s var(--ease), filter .5s ease;
}

.portfolio-item:nth-child(1) img { object-position: 52% 50%; }
.portfolio-item:nth-child(2) img { object-position: 50% 68%; }
.portfolio-item:nth-child(3) img { object-position: 50% 48%; }
.portfolio-item:nth-child(4) img { object-position: 50% 58%; }
.portfolio-item:nth-child(5) img { object-position: 50% 31%; }
.portfolio-item:nth-child(6) img { object-position: 50% 57%; }
.portfolio-item:nth-child(7) img { object-position: 50% 58%; }
.portfolio-item:nth-child(8) img { object-position: 50% 62%; }

.portfolio-item::before {
  position: absolute;
  z-index: 3;
  top: 22px;
  left: 22px;
  display: grid;
  width: 41px;
  height: 41px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .4);
  color: #fff;
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .08em;
  content: counter(project, decimal-leading-zero);
}

.portfolio-grid {
  counter-reset: project;
}

.portfolio-item {
  counter-increment: project;
}

.portfolio-item::after {
  background: linear-gradient(180deg, rgba(6, 9, 7, .02) 42%, rgba(6, 9, 7, .78));
}

.portfolio-item:hover img {
  filter: saturate(.94) contrast(1.04);
  transform: scale(1.028);
}

.portfolio-overlay {
  right: 28px;
  bottom: 26px;
  left: 28px;
  align-items: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 1.7vw, 1.72rem);
  font-weight: 400;
  line-height: 1.15;
}

.portfolio-overlay span {
  max-width: 78%;
}

.portfolio-overlay svg {
  width: 21px;
  height: 21px;
}

.portfolio-cta {
  margin-top: 28px;
  padding: 34px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.portfolio-cta p {
  color: var(--muted);
  font-size: .86rem;
}

.portfolio-cta .button-light {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

/* Services — quiet, technical and unboxed */
.services {
  border-top: 1px solid rgba(17, 23, 19, .06);
  background: #e9e5dc;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 330px;
  padding: 34px 32px 36px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.service-card::after {
  right: 30px;
  bottom: 30px;
  width: 42px;
  height: 1px;
  border-radius: 0;
  background: var(--accent);
  opacity: 1;
  transform: none;
}

.service-card:hover {
  border-color: var(--line);
  background: rgba(250, 248, 243, .72);
  box-shadow: none;
  transform: none;
}

.service-card:hover::after {
  opacity: 1;
  transform: scaleX(1.65);
  transform-origin: right;
}

.service-icon {
  width: 43px;
  height: 43px;
  border: 1px solid rgba(137, 91, 44, .3);
  border-radius: 0;
  background: transparent;
}

.service-icon svg {
  width: 21px;
  height: 21px;
}

.service-number {
  top: 35px;
  right: 31px;
  color: rgba(17, 23, 19, .36);
  font-size: .62rem;
  letter-spacing: .18em;
}

.service-card h3 {
  margin-top: 78px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 400;
}

.service-card p {
  max-width: 330px;
  margin-top: 16px;
  font-size: .81rem;
  line-height: 1.75;
}

/* Working method */
.standards {
  position: relative;
  overflow: hidden;
  background: #111814;
  color: #fff;
}

.standards::before {
  position: absolute;
  inset: 0;
  opacity: .09;
  background-image:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 92px 92px;
  content: "";
  mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.standards-grid {
  position: relative;
  grid-template-columns: minmax(420px, 1.02fr) minmax(0, .98fr);
  gap: clamp(68px, 9vw, 140px);
}

.standards-media {
  min-height: 760px;
}

.standards-media > img {
  width: 100%;
  height: 760px;
  border-radius: 2px;
  filter: saturate(.78) contrast(1.04);
  object-position: 50% 52%;
}

.standards-media::after {
  border-radius: 2px;
  background: linear-gradient(180deg, transparent 58%, rgba(6, 9, 7, .45));
}

.standards-note {
  right: -30px;
  bottom: 36px;
  max-width: 360px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 2px;
  background: rgba(13, 20, 16, .92);
  box-shadow: 0 22px 65px rgba(0,0,0,.25);
}

.standards-note svg {
  border-radius: 0;
}

.standards-copy .eyebrow {
  color: #d6b17d;
}

.standards-copy h2 {
  max-width: 10.5ch;
  color: #fff;
}

.standards-copy .section-intro {
  max-width: 570px;
  margin-top: 32px;
  color: rgba(255, 255, 255, .58);
  font-size: .93rem;
  line-height: 1.82;
}

.standard-list {
  margin-top: 54px;
  border-top-color: rgba(255, 255, 255, .15);
}

.standard-list article {
  min-height: 112px;
  grid-template-columns: 44px 1fr;
  padding: 24px 0;
  border-bottom-color: rgba(255, 255, 255, .15);
}

.standard-list article > span {
  color: #d6b17d;
}

.standard-list h3 {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  font-weight: 400;
}

.standard-list p {
  margin-top: 7px;
  color: rgba(255, 255, 255, .48);
}

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

.process-grid {
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.process-card {
  min-height: 330px;
  padding: 32px 30px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.process-card:first-child,
.process-card:last-child {
  border-radius: 0;
}

.process-card::after {
  display: none;
}

.process-card > svg {
  width: 42px;
  height: 42px;
  margin-top: 58px;
  border: 1px solid rgba(137, 91, 44, .25);
  border-radius: 0;
  background: transparent;
}

.process-card h3 {
  margin-top: 32px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 400;
}

.process-card p {
  margin-top: 14px;
  font-size: .78rem;
}

/* Quote request */
.request-section {
  padding: clamp(110px, 10vw, 160px) 0;
  background: #0e1511;
}

.request-section::before {
  right: -300px;
  bottom: -340px;
  width: 820px;
  height: 820px;
  background: rgba(180, 128, 69, .075);
}

.request-section::after {
  opacity: .055;
  background-size: 92px 92px;
}

.request-layout {
  grid-template-columns: minmax(330px, .78fr) minmax(600px, 1.22fr);
  gap: clamp(64px, 9vw, 132px);
}

.request-intro .eyebrow {
  color: #d6b17d;
}

.request-intro h2 {
  max-width: 10ch;
}

.request-intro > p:not(.eyebrow) {
  margin-top: 32px;
  font-size: .9rem;
}

.request-benefits {
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.request-benefits > div {
  min-height: 91px;
  align-items: center;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  border-radius: 0;
  background: transparent;
}

.request-benefits svg {
  border-radius: 0;
  background: rgba(180, 128, 69, .13);
}

.request-card {
  min-height: 735px;
  border-radius: 4px;
  box-shadow: 0 50px 140px rgba(0, 0, 0, .3);
}

.request-card input,
.request-card select,
.request-card textarea,
.dropzone,
.choice-chip span,
.service-choice span {
  border-radius: 2px;
}

.form-progress-track,
.form-progress-track span {
  border-radius: 0;
}

.form-status li span {
  border-radius: 2px;
}

/* FAQ and closing */
.faq-section {
  background: #f4f1ea;
}

.faq-layout {
  grid-template-columns: minmax(320px, .72fr) minmax(560px, 1.28fr);
  gap: clamp(70px, 10vw, 150px);
}

.faq-list summary i {
  border-radius: 2px;
}

.final-cta {
  padding: clamp(76px, 7vw, 108px) 0;
  background: #dfc7a5;
}

.final-cta h2 {
  max-width: 13ch;
  font-size: clamp(2.7rem, 4.4vw, 4.7rem);
}

.site-footer {
  background: #0b100d;
}

.footer-main {
  padding-top: 86px;
  padding-bottom: 76px;
}

.brand-footer .brand-mark {
  border-radius: 2px;
}

.whatsapp-float {
  right: 24px;
  bottom: 24px;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 2px;
  background: #205f43;
  box-shadow: 0 18px 50px rgba(12, 49, 33, .27);
  font-size: .66rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lightbox,
.lightbox-close {
  border-radius: 2px;
}

/* Tablet */
@media (max-width: 1180px) {
  :root {
    --header-height: 78px;
  }

  .container {
    width: min(calc(100% - 48px), var(--container));
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 82px);
  }

  .hero-grid {
    min-height: 0;
    grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
    gap: 54px;
  }

  .hero-visual {
    min-height: 620px;
  }

  .hero-main-image {
    width: 94%;
    height: 84%;
  }

  .hero-stamp {
    left: -2%;
  }

  .portfolio-grid {
    grid-auto-rows: 66px;
  }

  .standards-grid {
    grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr);
    gap: 64px;
  }

  .standards-media,
  .standards-media > img {
    min-height: 650px;
    height: 650px;
  }

  .request-layout {
    grid-template-columns: minmax(300px, .72fr) minmax(520px, 1.28fr);
    gap: 52px;
  }
}

@media (max-width: 960px) {
  .section {
    padding: 104px 0;
  }

  h1 {
    font-size: clamp(3.9rem, 9vw, 6rem);
  }

  h2 {
    font-size: clamp(3rem, 7.8vw, 4.8rem);
  }

  .hero::after {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 68px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero h1 {
    max-width: 11ch;
  }

  .hero-visual {
    min-height: 720px;
  }

  .hero-main-image {
    width: 88%;
  }

  .hero-small-image-two {
    left: 1%;
  }

  .hero-stamp {
    left: 2%;
  }

  .project-fit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-fit-grid > div:nth-child(3) {
    border-left: 1px solid rgba(255, 255, 255, .1);
  }

  .project-fit-grid > div:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-heading > p {
    max-width: 650px;
  }

  .portfolio-grid {
    grid-auto-rows: 58px;
    gap: 12px;
  }

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

  .standards-grid {
    grid-template-columns: 1fr;
  }

  .standards-media,
  .standards-media > img {
    min-height: 680px;
    height: 680px;
  }

  .standards-note {
    right: 28px;
  }

  .standards-copy {
    max-width: 760px;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .request-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .request-intro,
  .faq-intro {
    position: static;
    max-width: 760px;
  }

  .request-benefits {
    max-width: 650px;
    grid-template-columns: repeat(2, 1fr);
    border-left: 1px solid rgba(255, 255, 255, .14);
  }

  .request-benefits > div {
    padding-inline: 18px;
    border-right: 1px solid rgba(255, 255, 255, .14);
  }
}

/* Mobile */
@media (max-width: 680px) {
  :root {
    --header-height: 70px;
  }

  body {
    font-size: 16px;
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .section {
    padding: 82px 0;
  }

  h1 {
    max-width: 10.5ch;
    font-size: clamp(3.3rem, 15vw, 4.65rem);
    line-height: .92;
  }

  h2 {
    max-width: 12ch;
    font-size: clamp(2.7rem, 12vw, 3.9rem);
    line-height: .96;
  }

  .button {
    min-height: 54px;
    padding-inline: 20px;
    font-size: .7rem;
  }

  .header-inner {
    gap: 10px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    padding: 6px;
  }

  .brand-copy strong {
    font-size: .74rem;
  }

  .brand-copy small {
    display: none;
  }

  .header-quote {
    display: none;
  }

  .menu-button {
    width: 42px;
    height: 42px;
  }

  .mobile-menu {
    background: var(--paper);
  }

  .mobile-menu a {
    padding: 15px 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    font-weight: 400;
  }

  .hero {
    padding: calc(var(--header-height) + 58px) 0 62px;
  }

  .hero-grid {
    gap: 52px;
  }

  .hero .eyebrow {
    margin-bottom: 26px;
  }

  .hero-lead {
    margin-top: 28px;
    font-size: .88rem;
    line-height: 1.72;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    margin-top: 35px;
  }

  .hero-facts li,
  .hero-facts li + li {
    min-height: 0;
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  .hero-visual {
    min-height: 500px;
  }

  .hero-main-image {
    width: 91%;
    height: 82%;
  }

  .hero-main-image figcaption {
    right: 20px;
    bottom: 19px;
    left: 20px;
  }

  .hero-main-image figcaption strong {
    font-size: 1rem;
  }

  .hero-small-image-one {
    right: 0;
    width: 38%;
    height: 35%;
  }

  .hero-small-image-two {
    display: none;
  }

  .hero-stamp {
    top: -22px;
    left: 0;
    width: 84px;
    height: 84px;
  }

  .hero-stamp span {
    font-size: 1.35rem;
  }

  .hero-stamp small {
    max-width: 60px;
    font-size: .45rem;
  }

  .project-fit-grid {
    grid-template-columns: 1fr;
  }

  .project-fit-grid > div,
  .project-fit-grid > div:first-child,
  .project-fit-grid > div:nth-child(3) {
    min-height: 92px;
    padding: 20px 0;
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  .project-fit-grid > div:last-child {
    border-bottom: 0;
  }

  .section-heading {
    margin-bottom: 50px;
  }

  .section-heading > p {
    font-size: .84rem;
    line-height: 1.75;
  }

  .portfolio-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    margin-right: -16px;
    margin-left: -16px;
    padding-left: 16px;
    scrollbar-width: none;
  }

  .portfolio-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-button {
    flex: 0 0 auto;
  }

  .portfolio-grid {
    display: grid;
    grid-auto-rows: auto;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .portfolio-item,
  .portfolio-item-wide,
  .portfolio-item-tall,
  .portfolio-item:nth-child(n) {
    min-height: 320px;
    grid-column: auto;
    grid-row: auto;
  }

  .portfolio-item:nth-child(1),
  .portfolio-item:nth-child(2),
  .portfolio-item:nth-child(5),
  .portfolio-item:nth-child(7) {
    min-height: 430px;
  }

  .portfolio-item::before {
    top: 16px;
    left: 16px;
    width: 36px;
    height: 36px;
  }

  .portfolio-overlay {
    right: 19px;
    bottom: 18px;
    left: 19px;
    font-size: 1.25rem;
  }

  .portfolio-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .portfolio-cta .button {
    width: 100%;
  }

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

  .service-card,
  .process-card {
    min-height: 285px;
    padding: 27px 25px 30px;
  }

  .service-card h3 {
    margin-top: 58px;
  }

  .standards-media,
  .standards-media > img {
    min-height: 520px;
    height: 520px;
  }

  .standards-note {
    right: 16px;
    bottom: 16px;
    left: 16px;
    max-width: none;
  }

  .standards-copy h2 {
    max-width: 11ch;
  }

  .standard-list article {
    grid-template-columns: 38px 1fr;
  }

  .request-benefits {
    grid-template-columns: 1fr;
    border-left: 0;
  }

  .request-benefits > div {
    padding-inline: 0;
    border-right: 0;
  }

  .request-card {
    padding: 24px 18px;
    border-radius: 3px;
  }

  .faq-layout {
    gap: 50px;
  }

  .final-cta-inner {
    gap: 34px;
  }

  .footer-main {
    padding-top: 64px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 50px;
    border-radius: 2px;
  }
}

@media (max-width: 430px) {
  .portfolio-grid {
    grid-auto-rows: auto;
  }

  .portfolio-item,
  .portfolio-item-wide,
  .portfolio-item-tall,
  .portfolio-item:nth-child(n) {
    min-height: 300px;
    grid-column: auto;
    grid-row: auto;
  }

  .portfolio-item:nth-child(1),
  .portfolio-item:nth-child(2),
  .portfolio-item:nth-child(5),
  .portfolio-item:nth-child(7) {
    min-height: 405px;
  }
}

/* Content blocks added through the browser editor. */
.cms-custom-section {
  background: var(--surface, #f4f1e9);
}
.cms-custom-section:nth-child(even) {
  background: #ebe6dc;
}
.cms-custom-inner {
  display: grid;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.cms-custom-image,
.cms-custom-copy {
  min-width: 0;
}
.cms-custom-image {
  margin: 0;
  overflow: hidden;
  min-height: 28rem;
}
.cms-custom-image img {
  width: 100%;
  height: 100%;
  min-height: 28rem;
  object-fit: cover;
}
.cms-custom-copy {
  max-width: 48rem;
}
.cms-custom-copy h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.2rem, 4.5vw, 4.8rem);
  line-height: 1.02;
}
.cms-custom-body {
  margin: 0 0 1.8rem;
  white-space: pre-line;
  color: var(--text-muted, #5e625d);
  font-size: 1.05rem;
  line-height: 1.75;
}
.cms-custom-text .cms-custom-inner {
  display: block;
}
.cms-custom-text .cms-custom-copy {
  margin-inline: auto;
  text-align: center;
}
@media (min-width: 850px) {
  .cms-custom-image-left .cms-custom-inner,
  .cms-custom-image-right .cms-custom-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
@media (max-width: 849px) {
  .cms-custom-image {
    min-height: 20rem;
  }
  .cms-custom-image img {
    min-height: 20rem;
  }
}
