:root {
  --orange: #8d7b68;
  --orange-dark: #716158;
  --ink: #20201f;
  --body: #5f5954;
  --muted: #7a716c;
  --surface: #faf9f7;
  --footer: #191817;
  --white: #fff;
  --whatsapp: #25d366;
  --container: 1380px;
  --shadow: 0 12px 30px rgb(32 32 31 / 10%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--body);
  background: var(--white);
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

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

img.is-missing {
  opacity: 0;
}

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

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

button {
  cursor: pointer;
}

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

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

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--ink);
  border-radius: 5px;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgb(255 255 255 / 96%);
  border-bottom: 1px solid #e6e1dd;
  backdrop-filter: blur(12px);
  transition: box-shadow .25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 5px 18px rgb(32 32 31 / 8%);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  width: 64px;
  min-width: 64px;
}

.logo-image {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 50%;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 31px;
  margin-left: auto;
  color: #302e2c;
  font-size: .82rem;
  font-weight: 600;
}

.desktop-nav a,
.footer-nav a {
  transition: color .2s ease;
}

.desktop-nav a {
  position: relative;
  padding: 8px 0;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  background: var(--orange);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.desktop-nav a:hover,
.desktop-nav .is-active {
  color: var(--orange);
}

.desktop-nav a:hover::after,
.desktop-nav .is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: .83rem;
  font-weight: 800;
  white-space: nowrap;
}

.whatsapp-mark {
  display: inline-grid;
  width: 29px;
  height: 29px;
  place-items: center;
  color: #fff;
  background: var(--whatsapp);
  border-radius: 50%;
  font-size: 1.35rem;
  font-weight: 900;
}

.whatsapp-mark svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  color: #fff;
  background: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, border .2s ease, box-shadow .2s ease;
}

.button:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgb(141 123 104 / 25%);
}

.button--small {
  min-height: 42px;
  padding: 0 22px;
  font-size: .78rem;
}

.button--outline {
  color: #fff;
  background: transparent;
  border-color: rgb(255 255 255 / 85%);
}

.button--outline:hover {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.menu-toggle,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 650px;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
}

.hero-media,
.hero-media-fallback,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media-fallback {
  background: linear-gradient(125deg, #272421 0%, #706258 48%, #c1b3a6 100%);
}

.hero-media img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.025);
  transition: opacity .45s ease;
}

.hero-media img.is-missing {
  opacity: 0;
}

.hero-overlay {
  background: linear-gradient(90deg, rgb(0 0 0 / 77%) 0%, rgb(0 0 0 / 49%) 43%, rgb(0 0 0 / 20%) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 650px;
  flex-direction: column;
  justify-content: center;
  padding-top: 50px;
  padding-bottom: 28px;
}

.hero-copy {
  width: min(100%, 680px);
  margin-left: 80px;
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--orange);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow--light {
  color: rgb(255 255 255 / 90%);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  color: var(--ink);
  letter-spacing: -.048em;
}

h1 {
  margin-bottom: 16px;
  color: #fff;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  line-height: 1.1;
}

h1 span,
h2 span,
.projects h2 span {
  color: var(--orange);
}

.hero-description {
  max-width: 570px;
  margin-bottom: 28px;
  color: #f3f4f6;
  font-size: 1.05rem;
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-handwriting {
  position: absolute;
  right: 55px;
  bottom: 67px;
  margin: 0;
  color: #fff;
  font-family: Caveat, cursive;
  font-size: clamp(2rem, 3vw, 3.3rem);
  font-weight: 700;
  line-height: .94;
  text-align: right;
  text-shadow: 0 2px 5px rgb(0 0 0 / 45%);
  transform: rotate(-4deg);
}

.hero-handwriting em {
  font-style: normal;
  text-decoration: underline 2px var(--orange);
  text-underline-offset: 6px;
}

.slider-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 45px;
  height: 60px;
  color: #fff;
  background: transparent;
  border: 0;
  font-size: 3.4rem;
  font-weight: 300;
  line-height: .8;
  opacity: .8;
  transform: translateY(-50%);
  transition: opacity .2s ease;
}

.slider-arrow:hover {
  opacity: 1;
}

.slider-arrow--previous {
  left: 18px;
}

.slider-arrow--next {
  right: 18px;
}

.slider-dots {
  display: flex;
  align-self: center;
  gap: 9px;
  margin-top: auto;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  background: rgb(255 255 255 / 65%);
  border: 0;
  border-radius: 50%;
  transition: transform .2s ease, background .2s ease;
}

.slider-dots button.is-active {
  width: 12px;
  height: 12px;
  background: var(--orange);
  transform: scale(1.05);
}

.benefits {
  padding: 26px 0 24px;
  background: var(--surface);
  border-bottom: 1px solid #e6e1dd;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.benefit {
  display: grid;
  place-items: center;
  color: var(--ink);
  text-align: center;
}

.benefit p {
  margin: 7px 0 0;
  font-size: .79rem;
  font-weight: 700;
  line-height: 1.25;
}

.line-icon {
  display: block;
  width: 32px;
  height: 32px;
  color: var(--ink);
}

.line-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.section {
  padding: 67px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 23px;
}

.section-heading h2,
.quote h2,
.projects h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2rem, 3.15vw, 3rem);
  line-height: 1.1;
}

.section-heading>p {
  max-width: 430px;
  margin: 0 3px 3px 0;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.45;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 21px 12px;
}

.service-card {
  min-width: 0;
}

.service-card img {
  height: 132px;
  object-fit: cover;
  background: #e6e1dd;
}

.service-card h3 {
  margin: 8px 0 1px;
  color: #242321;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.15;
}

.service-card a {
  color: #514b47;
  font-size: .69rem;
  font-weight: 500;
}

.service-card a span {
  margin-left: 2px;
  transition: transform .2s ease;
  display: inline-block;
}

.service-card a:hover {
  color: var(--orange);
}

.service-card a:hover span {
  transform: translateX(3px);
}

.projects {
  padding: 0;
  overflow: clip;
  color: #fff;
  background: linear-gradient(110deg, #191817, #302b28);
}

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

.projects-layout {
  display: grid;
  grid-template-columns: minmax(285px, .74fr) minmax(0, 2.3fr);
  min-height: 0;
  gap: 48px;
  align-items: center;
  padding: 38px 0;
}

.projects-copy {
  padding: 0;
}

.projects h2 {
  margin-bottom: 13px;
  color: #fff;
  font-size: clamp(2.1rem, 3.2vw, 3.4rem);
}

.projects-copy>p:not(.eyebrow) {
  max-width: 335px;
  margin-bottom: 18px;
  color: #ebe6e2;
  font-size: .82rem;
  line-height: 1.5;
}

.projects-copy .button {
  min-height: 43px;
  padding: 0 22px;
  font-size: .77rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  height: clamp(270px, 26vw, 400px);
  gap: 8px;
}

.projects-grid img {
  height: 100%;
  object-fit: cover;
  background: #6b635d;
}

.gallery {
  background: var(--surface);
}

.gallery-heading {
  margin-bottom: 30px;
}

.gallery-grid {
  display: grid;
  grid-template-areas:
    "a b c"
    "a d e"
    "f g h"
    "i i h";
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(4, clamp(135px, 11.8vw, 190px));
  gap: 12px;
}

.gallery-card {
  position: relative;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #e6e1dd;
  cursor: zoom-in;
  text-align: left;
}

.gallery-card:nth-child(1) { grid-area: a; }
.gallery-card:nth-child(2) { grid-area: b; }
.gallery-card:nth-child(3) { grid-area: c; }
.gallery-card:nth-child(4) { grid-area: d; }
.gallery-card:nth-child(5) { grid-area: e; }
.gallery-card:nth-child(6) { grid-area: f; }
.gallery-card:nth-child(7) { grid-area: g; }
.gallery-card:nth-child(8) { grid-area: h; }
.gallery-card:nth-child(9) { grid-area: i; }

.gallery-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 42%, rgb(25 24 23 / 72%) 100%);
  pointer-events: none;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
  transform: scale(1.045);
}

.gallery-card:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.gallery-card span {
  position: absolute;
  right: 15px;
  bottom: 13px;
  left: 15px;
  z-index: 1;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .03em;
}

.gallery-action {
  display: flex;
  justify-content: center;
  margin-top: 27px;
}

.gallery-action .button {
  min-height: 46px;
  padding: 0 24px;
  font-size: .78rem;
}

body.is-gallery-open {
  overflow: hidden;
}

.gallery-dialog {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 30px 74px;
  background: rgb(15 14 13 / 92%);
}

.gallery-dialog[hidden] {
  display: none;
}

.gallery-dialog__panel {
  position: relative;
  width: min(100%, 1160px);
}

.gallery-dialog__figure {
  display: grid;
  gap: 14px;
  margin: 0;
  color: #fff;
  text-align: center;
}

.gallery-dialog__image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 150px);
  margin: 0 auto;
  object-fit: contain;
  background: #302b28;
}

.gallery-dialog figcaption {
  display: flex;
  justify-content: center;
  gap: 12px;
  color: #f3efeb;
  font-size: .82rem;
}

.gallery-dialog__counter {
  color: #d8c9bd;
  font-variant-numeric: tabular-nums;
}

.gallery-dialog__close,
.gallery-dialog__control {
  position: absolute;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  color: #fff;
  background: rgb(255 255 255 / 13%);
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: 50%;
  font-family: inherit;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.gallery-dialog__close:hover,
.gallery-dialog__control:hover,
.gallery-dialog__close:focus-visible,
.gallery-dialog__control:focus-visible {
  background: var(--orange);
  transform: scale(1.06);
}

.gallery-dialog__close {
  z-index: 1;
  top: -8px;
  right: -56px;
  font-size: 1.8rem;
  line-height: 1;
}

.gallery-dialog__control {
  top: calc(50% - 30px);
  font-size: 2.2rem;
  line-height: 1;
}

.gallery-dialog__control--previous { left: -58px; }
.gallery-dialog__control--next { right: -58px; }

.quote {
  padding-bottom: 0;
}

.quote-layout {
  display: grid;
  grid-template-columns: 1fr .95fr 1.18fr;
  gap: 44px;
  align-items: start;
}

.quote-copy {
  padding: 15px 0 34px 10px;
}

.quote h2 {
  margin-bottom: 15px;
}

.quote-copy>p:not(.eyebrow) {
  max-width: 350px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: .83rem;
  line-height: 1.48;
}

.quote-benefits {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: #4f4945;
  font-size: .78rem;
  font-weight: 600;
}

.quote-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quote-benefits span {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid #7a716c;
  border-radius: 50%;
  color: #20201f;
  font-size: .9rem;
}

.quote-form {
  padding-top: 20px;
}

.form-field {
  margin-bottom: 9px;
}

.form-field label {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 41px;
  padding: 10px 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d8d0ca;
  border-radius: 4px;
  font-size: .76rem;
  outline: 0;
  transition: border .2s ease, box-shadow .2s ease;
}

.form-field textarea {
  resize: vertical;
  min-height: 90px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgb(141 123 104 / 14%);
}

.button--form {
  width: 100%;
  min-height: 47px;
  border-radius: 4px;
}

.form-status {
  min-height: 18px;
  margin: 8px 0 0;
  color: #716158;
  font-size: .72rem;
  text-align: center;
}

.quote-visual {
  position: relative;
  min-height: 388px;
  overflow: hidden;
  background: #d9d3ce;
}

.quote-visual img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.quote-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgb(255 255 255 / 96%) 13%, rgb(255 255 255 / 68%) 34%, rgb(255 255 255 / 14%) 61%, rgb(0 0 0 / 16%) 100%);
  pointer-events: none;
}

.quote-visual>p {
  position: absolute;
  z-index: 1;
  right: 27px;
  bottom: 76px;
  margin: 0;
  color: #fff;
  font-family: Caveat, cursive;
  font-size: 2.3rem;
  font-weight: 700;
  line-height: .9;
  text-align: right;
  text-shadow: 0 2px 4px rgb(0 0 0 / 55%);
  transform: rotate(-4deg);
}

.whatsapp-button {
  position: absolute;
  z-index: 2;
  right: 21px;
  bottom: 17px;
  display: block;
  padding: 9px 20px 9px 49px;
  color: #fff;
  background: var(--whatsapp);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.05;
  box-shadow: 0 6px 12px rgb(0 0 0 / 18%);
}

.whatsapp-button__icon {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 22px;
  height: 22px;
  fill: currentColor;
  font-size: 1.55rem;
  transform: translateY(-50%);
}

.whatsapp-button small {
  font-size: .64rem;
  font-weight: 600;
}

.floating-whatsapp {
  position: fixed;
  z-index: 20;
  right: 22px;
  bottom: 22px;
  display: none;
  width: 50px;
  height: 50px;
  place-items: center;
  color: #fff;
  background: var(--whatsapp);
  border-radius: 50%;
  box-shadow: var(--shadow);
  font-size: 1.9rem;
}

.floating-whatsapp svg {
  width: 29px;
  height: 29px;
  fill: currentColor;
}

.site-footer {
  padding: 31px 0;
  color: #d8d2cd;
  background: var(--footer);
  border-top: 1px solid #3b3633;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 22px;
}

.logo--footer {
  width: 70px;
  min-width: 70px;
}

.logo--footer .logo-image {
  width: 70px;
  height: 70px;
}

.footer-brand p {
  margin: 0;
  font-size: .68rem;
}

.footer-nav,
.footer-contact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-nav {
  font-size: .68rem;
  font-weight: 600;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--orange);
}

.footer-contact {
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
}

.footer-social-link {
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
}

.footer-social-link svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.footer-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 22px;
}

.footer-phone svg {
  width: 16px;
  height: 16px;
  fill: var(--orange);
}

@media (max-width: 1110px) {
  .desktop-nav {
    gap: 18px;
  }

  .header-phone {
    display: none;
  }

  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .projects-layout {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 39px 0;
  }

  .projects-copy {
    padding: 0;
  }

  .projects-grid {
    height: 210px;
    margin-top: 27px;
  }

  .quote-layout {
    grid-template-columns: 1fr 1fr;
  }

  .quote-visual {
    grid-column: 1 / -1;
    min-height: 330px;
  }
}

@media (max-width: 780px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .header-content {
    min-height: 68px;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: grid;
    width: 40px;
    height: 40px;
    align-content: center;
    gap: 5px;
    padding: 9px;
    background: transparent;
    border: 0;
  }

  .menu-toggle span:not(.sr-only) {
    display: block;
    height: 2px;
    background: var(--ink);
    border-radius: 5px;
    transition: transform .2s ease, opacity .2s ease;
  }

  .menu-toggle.is-open span:nth-of-type(2) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-of-type(3) {
    opacity: 0;
  }

  .menu-toggle.is-open span:nth-of-type(4) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-nav {
    position: absolute;
    left: 0;
    right: 0;
    display: grid;
    gap: 5px;
    max-height: 0;
    padding: 0 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 18px rgb(32 32 31 / 8%);
    transition: max-height .25s ease, padding .25s ease;
  }

  .mobile-nav.is-open {
    max-height: 390px;
    padding: 12px 16px 19px;
  }

  .mobile-nav a:not(.button) {
    padding: 10px 5px;
    color: var(--ink);
    font-size: .9rem;
    font-weight: 600;
  }

  .mobile-nav .button {
    margin-top: 6px;
  }

  .hero,
  .hero-content {
    min-height: 610px;
  }

  .hero-content {
    padding-top: 68px;
  }

  .hero-copy {
    width: 100%;
    min-width: 0;
    margin-left: 0;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 9.2vw, 2.7rem);
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgb(0 0 0 / 76%), rgb(0 0 0 / 38%));
  }

  .hero-handwriting,
  .slider-arrow {
    display: none;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 8px;
  }

  .benefit:last-child {
    grid-column: 1 / -1;
  }

  .section {
    padding: 48px 0;
  }

  .section-heading {
    display: block;
    margin-bottom: 25px;
  }

  .section-heading>p {
    margin-top: 15px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 12px;
  }

  .service-card img {
    height: 125px;
  }

  .projects-layout {
    padding: 42px 0;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    height: auto;
    gap: 8px;
  }

  .projects-grid img {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .gallery-grid {
    grid-template-areas: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: 165px;
  }

  .gallery-card {
    grid-area: auto !important;
  }

  .gallery-card:nth-child(1),
  .gallery-card:nth-child(8) {
    grid-row: span 2;
  }

  .gallery-card:nth-child(9) {
    grid-column: span 2;
  }

  .gallery-dialog {
    padding: 58px 14px 25px;
  }

  .gallery-dialog__image {
    max-height: calc(100vh - 150px);
  }

  .gallery-dialog__close {
    top: -49px;
    right: 0;
  }

  .gallery-dialog__control--previous { left: 8px; }
  .gallery-dialog__control--next { right: 8px; }

  .quote-layout {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .quote-copy {
    padding: 0;
  }

  .quote-visual {
    grid-column: auto;
    margin-top: 24px;
    min-height: 365px;
  }

  .footer-content,
  .footer-brand {
    flex-direction: column;
    text-align: center;
  }

  .logo--footer {
    transform-origin: center;
  }

  .footer-nav {
    justify-content: center;
    gap: 13px 17px;
  }

  .footer-phone {
    margin-left: 0;
  }

  .floating-whatsapp {
    display: grid;
  }
}

@media (max-width: 410px) {
  .logo {
    transform: scale(.9);
    transform-origin: left center;
  }

  h1 {
    font-size: 2.42rem;
  }

  .hero-actions {
    display: grid;
  }

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

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

  .service-card img {
    height: 185px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 210px;
  }

  .gallery-card:nth-child(1),
  .gallery-card:nth-child(8),
  .gallery-card:nth-child(9) {
    grid-column: auto;
    grid-row: auto;
  }

}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
