:root {
  --paper: #fdfcfc;
  --line: #f0f0f0;
  --wine: #9b2c2c;
  --rose: #d2a0a0;
  --ink: #171717;
  --muted: #6d6868;
  --soft: #f7f4f4;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(23, 23, 23, 0.08);
  --bottom-nav-height: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: BentonSans, Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

.public-shell,
.public-shell * {
  min-width: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-loading {
  min-height: 100vh;
  display: grid;
  place-content: center;
  gap: 18px;
  text-align: center;
  animation: loadingFade 0.75s ease both;
}

.site-loading img {
  width: min(240px, 70vw);
  height: auto;
  margin: 0 auto;
  aspect-ratio: 342 / 63;
  object-fit: contain;
  animation: logoFade 1.15s ease both;
}

.site-loading strong {
  animation: logoFade 1.15s ease 0.18s both;
}

.public-shell {
  min-height: 100vh;
  padding-bottom: 46px;
  overflow-x: clip;
}

.public-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(140px, 210px) 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(155, 44, 44, 0.12);
  background: rgba(253, 252, 252, 0.94);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 180px;
  height: auto;
  aspect-ratio: 342 / 63;
  object-fit: contain;
}

.public-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: #3b3838;
  font-size: 0.92rem;
}

.public-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.public-nav a.active {
  color: var(--wine);
  border-color: var(--wine);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid #ded8d8;
  background: var(--white);
  color: var(--ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  content: "";
}

.menu-toggle span::before {
  transform: translateY(-6px);
}

.menu-toggle span::after {
  transform: translateY(4px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--wine);
  background: var(--wine);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
}

.btn.secondary {
  background: transparent;
  color: var(--wine);
}

.btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  padding: clamp(54px, 7vw, 108px) clamp(22px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--wine);
  font-family: "D-DIN Condensed", "Arial Narrow", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.98;
  font-family: "D-DIN Condensed", Impact, "Arial Narrow", sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.9rem, 9vw, 8.5rem);
}

h2 {
  font-size: clamp(2.6rem, 5.2vw, 5.4rem);
}

h3 {
  font-size: clamp(1.7rem, 2.6vw, 2.8rem);
}

.lead {
  max-width: 680px;
  margin: 0;
  color: #504c4c;
  font-size: clamp(1.08rem, 1.45vw, 1.35rem);
  line-height: 1.62;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-media {
  position: relative;
  min-height: 520px;
  background: #e9e5e5;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-credit {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  max-width: calc(100% - 20px);
  padding: 5px 8px;
  color: #fff;
  background: rgba(20, 18, 18, 0.7);
  font-size: 0.76rem;
  line-height: 1.2;
}

.hero-photo-credit {
  top: 10px;
  bottom: auto;
}

.hero-project-label {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  max-width: 520px;
  padding-top: 14px;
  color: #fff;
  border-top: 3px solid var(--wine);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.42);
}

.hero-project-label strong {
  display: block;
  font-size: 1.3rem;
}

.hero-project-label span {
  display: block;
  margin-top: 6px;
}

.image-placeholder {
  min-height: 100%;
  display: grid;
  place-content: center;
  padding: 36px;
  color: var(--muted);
  text-align: center;
  background: linear-gradient(135deg, #f4f1f1 0%, #e8e2e2 100%);
}

.section {
  padding: clamp(52px, 8vw, 112px) clamp(18px, 5vw, 72px);
}

.section.alt {
  background: var(--soft);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 34px;
}

.section-head p {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #ded8d8;
  border-left: 1px solid #ded8d8;
}

.feature {
  min-height: 190px;
  padding: 24px;
  border-right: 1px solid #ded8d8;
  border-bottom: 1px solid #ded8d8;
  background: rgba(255, 255, 255, 0.46);
}

.feature span {
  display: block;
  width: 32px;
  height: 4px;
  margin-bottom: 22px;
  background: var(--wine);
}

.feature strong {
  display: block;
  font-size: 1.12rem;
}

.feature p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.project-card {
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: start;
  min-height: 430px;
  background: var(--white);
  border: 1px solid #e6dfdf;
  box-shadow: 0 18px 44px rgba(23, 23, 23, 0.06);
  overflow: hidden;
}

.project-card:hover img {
  transform: scale(1.025);
}

.project-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ede9e9;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.project-info {
  padding: 22px;
  align-self: start;
}

.project-info small {
  color: var(--wine);
  font-weight: 800;
  text-transform: uppercase;
}

.project-info h3 {
  margin-top: 10px;
  font-size: clamp(2rem, 3vw, 3.1rem);
}

.project-info p {
  color: var(--muted);
  line-height: 1.56;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.category-card {
  min-height: 360px;
  display: grid;
  grid-template-rows: 1fr auto;
  border: 1px solid #e3dcdc;
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 16px 42px rgba(23, 23, 23, 0.05);
}

.category-card:hover img {
  transform: scale(1.035);
}

.category-card-image {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  background: #ede9e9;
}

.category-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.85s ease;
}

.category-card-info {
  padding: 20px;
}

.category-card-info small,
.category-section-head small {
  color: var(--wine);
  font-weight: 800;
  text-transform: uppercase;
}

.category-card-info h3 {
  margin-top: 8px;
  font-size: clamp(1.9rem, 2.8vw, 2.8rem);
}

.category-card-info p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.48;
}

.product-category-section {
  display: grid;
  gap: 24px;
  padding: 0 0 clamp(48px, 7vw, 82px);
}

.product-category-section + .product-category-section {
  padding-top: clamp(44px, 7vw, 80px);
  border-top: 1px solid #ded8d8;
}

.category-section-head {
  display: grid;
  gap: 8px;
}

.product-finish-group {
  display: grid;
  gap: 18px;
}

.product-finish-group + .product-finish-group {
  margin-top: 14px;
}

.product-finish-group > h3 {
  padding-left: 14px;
  border-left: 4px solid var(--wine);
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.materials-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid #ded8d8;
}

.material-item {
  min-height: 150px;
  padding: 24px;
  border-right: 1px solid #ded8d8;
  background: var(--paper);
}

.material-item:last-child {
  border-right: 0;
}

.material-item strong {
  display: block;
  font-family: "D-DIN Condensed", Impact, "Arial Narrow", sans-serif;
  font-size: 2rem;
}

.material-item span {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.45;
}

.architects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.architects-list {
  display: grid;
  gap: 14px;
}

.architects-list div {
  padding: 18px 0;
  border-bottom: 1px solid #ddd6d6;
}

.architects-list strong {
  display: block;
}

.architects-list span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.testimonials-section {
  display: grid;
  place-items: center;
  padding-block: clamp(28px, 5vw, 48px);
  background: #f4eeee;
}

.testimonial-card {
  width: min(760px, 100%);
  height: auto;
  padding: clamp(24px, 4vw, 40px);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(155, 44, 44, 0.13);
  box-shadow: 0 24px 60px rgba(23, 23, 23, 0.045);
  text-align: center;
}

.testimonial-card blockquote {
  margin: 0;
  color: #322f2f;
  font-size: clamp(1rem, 2.8vw, 1.16rem);
  line-height: 1.55;
}

.testimonial-card cite {
  display: block;
  margin-top: 12px;
  color: var(--wine);
  font-style: normal;
  font-weight: 700;
}

.bottom-nav,
.more-nav-sheet,
.more-nav-backdrop {
  display: none;
}

.filters {
  display: grid;
  grid-template-columns: 1fr 220px 220px;
  gap: 12px;
  margin-bottom: 28px;
}

.field,
.filters input,
.filters select,
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 1px solid #d6d0d0;
  background: var(--white);
  color: var(--ink);
  padding: 0 14px;
  outline: 0;
}

.contact-form .birthday-field {
  width: min(100%, 210px);
}

.contact-form textarea {
  min-height: 150px;
  padding-top: 14px;
  resize: vertical;
}

.file-field {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid #ded7d7;
  background: rgba(253, 252, 252, 0.82);
  color: var(--muted);
  font-weight: 700;
}

.file-field input {
  width: 100%;
  max-width: 100%;
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 0.92rem;
}

.file-field input::file-selector-button {
  margin-right: 10px;
  border: 1px solid rgba(155, 44, 44, 0.32);
  background: #fff;
  color: var(--wine);
  padding: 8px 12px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.file-field small {
  font-weight: 600;
}

.filters input:focus,
.filters select:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--wine);
  box-shadow: 0 0 0 3px rgba(155, 44, 44, 0.14);
}

.page-hero {
  padding: clamp(56px, 9vw, 126px) clamp(18px, 5vw, 72px) clamp(34px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 900px;
}

.project-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.project-meta {
  display: grid;
  gap: 16px;
  padding: 24px 0;
  border-top: 3px solid var(--wine);
}

.project-meta div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #ded8d8;
}

.project-meta span {
  color: var(--muted);
}

.gallery {
  display: grid;
  gap: 18px;
}

.gallery figure {
  margin: 0;
}

.gallery img {
  width: 100%;
  max-height: 760px;
  object-fit: cover;
}

.gallery figcaption {
  display: grid;
  gap: 4px;
  margin-top: 10px;
  color: var(--muted);
}

.gallery figcaption small {
  color: #6b6666;
  font-size: 0.78rem;
}

.share-button {
  gap: 8px;
}

.share-button img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.blog-categories a,
.blog-categories span {
  padding: 9px 12px;
  border: 1px solid #ded8d8;
  color: var(--wine);
  background: var(--white);
  font-weight: 800;
}

.blog-article-page {
  background: var(--paper);
}

.blog-article-header {
  width: min(940px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(38px, 5vw, 58px) 0 clamp(24px, 3vw, 36px);
}

.blog-article-header h1 {
  max-width: 840px;
  font-size: clamp(2.7rem, 4.4vw, 4.2rem);
  line-height: 1.04;
}

.blog-article-header .lead {
  max-width: 780px;
  margin-top: 18px;
  font-size: clamp(1.02rem, 1.25vw, 1.18rem);
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--wine);
  font-weight: 800;
  text-transform: uppercase;
}

.blog-meta span + span::before {
  content: "·";
  margin-right: 12px;
}

.blog-detail {
  width: min(940px, calc(100% - 36px));
  max-width: none;
  margin: 0 auto;
  padding: 0 0 clamp(64px, 9vw, 118px);
}

.blog-detail article {
  display: grid;
  gap: 22px;
  color: #373232;
  font-size: 1.12rem;
  line-height: 1.75;
}

.blog-detail article p {
  margin: 0;
}

.blog-detail article h2 {
  margin: 18px 0 0;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
}

.blog-detail article ul {
  margin: 0;
  padding-left: 24px;
}

.blog-article-gallery {
  column-count: 2;
  column-gap: 6px;
  margin: 0;
  padding: 6px;
  background: #fdfcfc;
}

.blog-article-gallery.single {
  column-count: 1;
}

.blog-article-gallery figure {
  display: block;
  break-inside: avoid;
  min-width: 0;
  margin: 0 0 6px;
  overflow: hidden;
  background: #eee9e9;
}

.blog-gallery-image {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.blog-gallery-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: opacity 180ms ease;
}

.blog-gallery-image:hover img {
  opacity: 0.9;
}

body.lightbox-open {
  overflow: hidden;
}

.blog-lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 30px 72px;
  border: 0;
  background: rgba(253, 252, 252, 0.98);
  overflow: hidden;
}

.blog-lightbox[open] {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  align-items: center;
}

.blog-lightbox::backdrop {
  background: rgba(20, 18, 18, 0.58);
}

.blog-lightbox figure {
  display: grid;
  place-items: center;
  gap: 12px;
  height: calc(100vh - 60px);
  margin: 0;
}

.blog-lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 110px);
  object-fit: contain;
}

.blog-lightbox figcaption {
  min-height: 20px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.blog-lightbox-close,
.blog-lightbox-nav {
  display: grid;
  place-items: center;
  border: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.blog-lightbox-close {
  position: fixed;
  top: 22px;
  right: 26px;
  width: 48px;
  height: 48px;
  font-size: 3rem;
  line-height: 1;
}

.blog-lightbox-nav {
  width: 52px;
  height: 72px;
  font-size: 4rem;
  line-height: 1;
}

.blog-lightbox-nav.previous {
  grid-column: 1;
}

.blog-lightbox figure {
  grid-column: 2;
  grid-row: 1;
}

.blog-lightbox-nav.next {
  grid-column: 3;
}

.blog-lightbox-close:focus-visible,
.blog-lightbox-nav:focus-visible,
.blog-gallery-image:focus-visible {
  outline: 3px solid var(--wine);
  outline-offset: 3px;
}

.careers-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.career-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.career-list article {
  padding: 20px;
  border-left: 4px solid var(--wine);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(23, 23, 23, 0.05);
}

.career-list strong {
  display: block;
  font-size: 1.08rem;
}

.career-list p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 6vw, 70px);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form .wide {
  grid-column: 1 / -1;
}

.name-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.phone-row {
  display: grid;
  grid-template-columns: minmax(150px, 210px) minmax(240px, 1fr);
  gap: 14px;
  align-items: stretch;
}

.phone-row.with-birthday {
  grid-template-columns: minmax(145px, 190px) minmax(230px, 1fr) minmax(150px, 190px);
}

.lead-file-field label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.lead-file-field {
  display: grid;
  gap: 8px;
}

.lead-file-field small {
  color: var(--muted);
  line-height: 1.4;
}

.lead-attachment-list {
  display: grid;
  gap: 6px;
  margin-top: 4px;
}

.lead-attachment-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 7px 10px 7px 12px;
  border: 1px solid var(--line);
  background: var(--white);
}

.lead-attachment-chip > * {
  min-width: 0;
}

.lead-attachment-chip span {
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 800;
}

.lead-attachment-chip small {
  margin-left: 6px;
  white-space: nowrap;
  font-weight: 700;
}

.lead-attachment-chip button {
  width: 28px;
  min-height: 28px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--wine);
  font-size: 1rem;
  cursor: pointer;
}

.privacy-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  line-height: 1.45;
}

.privacy-check input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--wine);
}

.form-status {
  min-height: 26px;
  color: var(--wine);
  font-weight: 800;
}

.whatsapp-fab {
  position: fixed;
  right: 24px;
  bottom: 72px;
  z-index: 70;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #1f9d55;
  box-shadow: 0 12px 30px rgba(23, 23, 23, 0.24);
  cursor: pointer;
}

.whatsapp-fab:hover,
.whatsapp-fab:focus-visible {
  background: #167a41;
  outline: 3px solid rgba(31, 157, 85, 0.28);
  outline-offset: 3px;
}

.whatsapp-fab svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.whatsapp-dialog {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid #ded8d8;
  border-radius: 6px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 28px 80px rgba(23, 23, 23, 0.22);
  overflow: auto;
}

.whatsapp-dialog::backdrop {
  background: rgba(23, 23, 23, 0.52);
  backdrop-filter: blur(3px);
}

.whatsapp-form {
  display: grid;
  gap: 16px;
  padding: 26px;
}

.whatsapp-form header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #ded8d8;
}

.whatsapp-form h2 {
  margin-top: 4px;
  font-size: clamp(2rem, 6vw, 3rem);
}

.whatsapp-form input,
.whatsapp-form select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid #d7d0d0;
  border-radius: 4px;
  color: var(--ink);
  background: #fff;
}

.whatsapp-form input:focus,
.whatsapp-form select:focus {
  border-color: var(--wine);
  outline: 3px solid rgba(155, 44, 44, 0.14);
}

.whatsapp-name-row,
.whatsapp-phone-row {
  display: grid;
  gap: 12px;
}

.whatsapp-name-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.whatsapp-phone-row {
  grid-template-columns: minmax(145px, 0.9fr) minmax(190px, 1.1fr);
}

.dialog-close {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid #ded8d8;
  border-radius: 4px;
  color: var(--ink);
  background: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.empty-state {
  padding: 32px;
  border: 1px solid #e4dddd;
  background: var(--white);
  color: var(--muted);
}

.footer {
  padding: 42px clamp(18px, 5vw, 72px);
  border-top: 1px solid #ded8d8;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 28px;
  align-items: center;
  color: var(--muted);
}

.footer img {
  width: 170px;
  height: auto;
  aspect-ratio: 342 / 63;
  object-fit: contain;
}

.footer-brand {
  display: inline-flex;
  width: fit-content;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.footer a:hover {
  color: var(--wine);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.78s ease, transform 0.78s ease;
  }

  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .section.reveal,
  .project-card.reveal,
  .category-card.reveal,
  .gallery figure.reveal,
  .blog-article-gallery figure.reveal {
    opacity: 1;
    transform: none;
  }

  @keyframes loadingFade {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  @keyframes logoFade {
    from {
      opacity: 0;
      transform: translateY(12px) scale(0.985);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
}

@media (max-width: 1080px) {
  .public-header {
    grid-template-columns: 1fr auto;
  }

  .public-nav {
    display: none;
    grid-column: 1 / -1;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .public-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero,
  .architects,
  .project-detail,
  .contact-layout,
  .careers-layout,
  .name-row,
  .phone-row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 420px;
  }

  .feature-grid,
  .category-grid,
  .materials-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer img {
    margin: 0 auto;
  }

  .footer-brand {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .public-header {
    grid-template-columns: 1fr;
    min-height: 58px;
    padding: 10px clamp(12px, 4vw, 18px);
  }

  .brand img {
    width: clamp(118px, 38vw, 148px);
  }

  .public-nav,
  .public-nav.open,
  .menu-toggle,
  .header-actions .btn {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .public-shell {
    padding-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom) + 18px);
  }

  .bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 75;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    min-height: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom));
    padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(155, 44, 44, 0.16);
    background: rgba(253, 252, 252, 0.98);
    box-shadow: 0 -12px 32px rgba(23, 23, 23, 0.09);
    backdrop-filter: blur(18px);
  }

  .bottom-nav a,
  .bottom-nav button {
    display: grid;
    place-items: center;
    gap: 3px;
    min-height: 58px;
    padding: 4px 2px;
    border: 0;
    border-radius: 6px;
    color: #565050;
    background: transparent;
    font: inherit;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1.05;
    text-align: center;
  }

  .bottom-nav svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
  }

  .bottom-nav .active {
    color: var(--wine);
    background: rgba(155, 44, 44, 0.08);
  }

  .more-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 72;
    display: block;
    background: rgba(23, 23, 23, 0.18);
  }

  .more-nav-backdrop[hidden],
  .more-nav-sheet[hidden] {
    display: none;
  }

  .more-nav-sheet {
    position: fixed;
    right: 12px;
    bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom) + 10px);
    left: 12px;
    z-index: 76;
    display: grid;
    gap: 4px;
    padding: 10px;
    border: 1px solid rgba(155, 44, 44, 0.14);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: 0 18px 60px rgba(23, 23, 23, 0.18);
  }

  .more-nav-sheet a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    border-radius: 5px;
    font-weight: 800;
  }

  .more-nav-sheet a.active {
    color: var(--wine);
    background: rgba(155, 44, 44, 0.08);
  }

  .hero-copy {
    padding: clamp(30px, 8vw, 44px) clamp(16px, 5vw, 22px);
    gap: 18px;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 0;
    aspect-ratio: 4 / 2.55;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.55rem, 12vw, 4.15rem);
    line-height: 0.98;
    overflow-wrap: anywhere;
  }

  .lead {
    font-size: clamp(1rem, 4vw, 1.12rem);
    line-height: 1.5;
  }

  .hero-actions,
  .section-actions {
    gap: 10px;
  }

  .hero-actions .btn,
  .section-actions .btn {
    width: 100%;
  }

  .testimonial-card {
    width: 100%;
    min-height: 0;
    padding: 24px 20px;
  }

  .testimonial-card blockquote {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
  }

  .blog-article-header {
    width: calc(100% - 32px);
    padding-top: 34px;
  }

  .blog-article-header h1 {
    font-size: clamp(2.5rem, 12vw, 3.7rem);
  }

  .blog-detail {
    width: calc(100% - 32px);
  }

  .blog-article-gallery {
    column-count: 1;
    column-gap: 0;
    padding: 4px;
  }

  .blog-lightbox {
    padding: 18px 8px;
  }

  .blog-lightbox[open] {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
  }

  .blog-lightbox figure {
    height: calc(100vh - 36px);
  }

  .blog-lightbox img {
    max-height: calc(100vh - 92px);
  }

  .blog-lightbox-close {
    top: 10px;
    right: 10px;
  }

  .blog-lightbox-nav {
    width: 40px;
    font-size: 3.2rem;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .feature-grid,
  .category-grid,
  .materials-strip,
  .project-grid,
  .filters,
  .contact-form,
  .careers-layout {
    grid-template-columns: 1fr;
  }

  .whatsapp-fab {
    right: 16px;
    bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom) + 18px);
    width: 50px;
    height: 50px;
  }

  .whatsapp-fab svg {
    width: 27px;
    height: 27px;
  }

  .whatsapp-dialog {
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
    margin: auto;
  }

  .whatsapp-form {
    gap: 12px;
    padding: 16px;
  }

  .whatsapp-form header {
    gap: 12px;
    padding-bottom: 10px;
  }

  .whatsapp-form h2 {
    font-size: clamp(1.65rem, 8vw, 2.3rem);
    line-height: 1;
  }

  .dialog-close {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .whatsapp-name-row,
  .whatsapp-phone-row {
    grid-template-columns: 1fr;
  }

  .phone-row,
  .phone-row.with-birthday {
    grid-template-columns: 1fr;
  }

  .file-field {
    padding: 12px;
  }

  .file-field input::file-selector-button {
    display: block;
    width: 100%;
    margin: 0 0 8px;
  }

  .project-card {
    min-height: auto;
  }

  .contact-form .wide {
    grid-column: auto;
  }
}
