﻿:root {
  --cream: #f7efe4;
  --cream-2: #f0e3d3;
  --paper: rgba(255, 251, 246, 0.93);
  --brown: #5b4027;
  --brown-dark: #2d1f13;
  --brown-soft: #7f6348;
  --gold: #b58d56;
  --text: #33261b;
  --muted: #6e5a49;
  --line: rgba(94, 68, 43, 0.16);
  --shadow: 0 20px 60px rgba(35, 20, 9, 0.16);
  --radius: 28px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
svg { display: block; }
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 999;
  background: #fff;
  padding: .75rem 1rem;
  border-radius: 12px;
}
.container {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(252, 247, 241, 0.94);
  border-bottom: 1px solid rgba(89, 68, 46, 0.08);
  backdrop-filter: blur(16px);
}
.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
}
.brand-header img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}
.brand-title {
  font-size: 1rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
}
.site-nav ul,
.footer-links-wix {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
}
.site-nav a,
.footer-links-wix a {
  text-decoration: none;
  font-size: .84rem;
  letter-spacing: .13em;
  font-weight: 600;
  transition: color .2s ease;
}
.site-nav a:hover,
.footer-links-wix a:hover { color: var(--brown); }
.menu-toggle {
  display: none;
  width: 52px;
  height: 42px;
  border: 1px solid rgba(89, 68, 46, 0.25);
  border-radius: 14px;
  background: #fff8f0;
  color: var(--text);
  padding: 0;
  position: relative;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--brown-dark);
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle::before { transform: translateY(-6px); }
.menu-toggle::after { transform: translateY(6px); }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: rotate(-45deg); }
.menu-toggle span { display: block; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero {
  position: relative;
  min-height: min(96vh, 900px);
  display: grid;
  align-items: center;
  overflow: hidden;
}
.hero-home {
  background-image: url('../img/remote/contexto/hero-bicicleta-antiga-brasao.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.hero-backdrop,
.section-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 18, 9, 0.35), rgba(61, 44, 27, 0.62));
}
.overlay-soft {
  background: linear-gradient(180deg, rgba(40, 24, 12, 0.05), rgba(38, 24, 14, 0.4));
}
.hero-content,
.portfolio-hero-inner,
.photo-panel-wrap,
.contact-layout-wix {
  position: relative;
  z-index: 1;
}
.centered-stack {
  text-align: center;
  color: #fff;
  padding-block: 5rem 4rem;
}
.hero-kicker,
.hero-tagline {
  text-transform: uppercase;
  letter-spacing: .24em;
  font-size: .82rem;
  font-weight: 700;
}
.hero-logo {
  width: min(360px, 70vw);
  margin: 1rem auto 1.3rem;
  filter: drop-shadow(0 14px 34px rgba(0, 0, 0, 0.26));
}
.hero-tagline {
  max-width: 700px;
  margin: .5rem auto 0;
}
.social-row,
.mobile-socials,
.contact-links-inline,
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
}
.mobile-socials { display: none; }
.social-row { margin-top: 1.6rem; }
.social-row a,
.mobile-socials a,
.contact-links-inline a,
.footer-socials a,
.whats-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 44px;
  padding: .72rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.social-row a,
.mobile-socials a,
.contact-links-inline a,
.whats-link {
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}
.footer-socials a {
  background: rgba(91, 64, 39, 0.08);
  color: var(--brown);
  border: 1px solid rgba(91, 64, 39, 0.14);
  width: 44px;
  height: 44px;
  padding: 0;
}
.social-row a:hover,
.mobile-socials a:hover,
.contact-links-inline a:hover,
.whats-link:hover,
.footer-socials a:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,.2);
}
.social-row svg,
.mobile-socials svg,
.contact-links-inline svg,
.footer-socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.section {
  position: relative;
  padding: 5.5rem 0;
}
.section-plain { background: linear-gradient(180deg, var(--cream-2) 0%, var(--cream) 100%); }
.section-intro {
  text-align: center;
  margin-bottom: 2rem;
}
.anchor-label {
  margin: 0 0 .4rem;
  font-size: .98rem;
  color: var(--muted);
}
.anchor-light { color: rgba(255,255,255,.82); }
.section-intro h2,
.photo-panel h2,
.contact-card-wix h2,
.portfolio-hero h1 {
  margin: 0;
  font-size: clamp(2.15rem, 4.3vw, 3.85rem);
  line-height: 1.08;
  letter-spacing: .08em;
  font-weight: 400;
}
.section-subtitle {
  margin: 1rem auto 0;
  max-width: 700px;
  color: var(--muted);
  font-size: 1.12rem;
}
.section-rule {
  width: min(180px, 32vw);
  height: 2px;
  margin: 1rem auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.section-rule.light {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.9), transparent);
}

.card-soft {
  background: rgba(255, 251, 246, 0.92);
  border: 1px solid rgba(111, 86, 61, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.services-grid-wix {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.2rem;
}
.service-card-wix {
  grid-column: span 2;
  text-align: center;
  padding: 1.8rem 1.4rem;
}
.service-card-wide { grid-column: span 2; }
.services-grid-wix > :nth-child(4) { grid-column: 2 / span 2; }
.services-grid-wix > :nth-child(5) { grid-column: 4 / span 2; }
.service-icon {
  width: 58px;
  height: 58px;
  margin: 0 0 1rem;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--brown);
  background: linear-gradient(180deg, rgba(181, 141, 86, 0.12), rgba(91, 64, 39, 0.08));
  border: 1px solid rgba(181, 141, 86, 0.18);
}
.service-icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}
.service-icon svg path,
.service-icon svg circle,
.service-icon svg rect {
  vector-effect: non-scaling-stroke;
}
.service-card-wix h3 {
  margin: 0 0 .75rem;
  font-size: 1.08rem;
  line-height: 1.35;
  letter-spacing: .01em;
  text-transform: none;
}
.service-card-wix p {
  margin: 0;
  color: var(--muted);
  max-width: 36ch;
}
.services-grid-wix > :first-child .service-card-content p {
  max-width: 43ch;
}
.services-grid-wix > :nth-child(3) .service-icon {
  width: 60px;
  height: 60px;
}
.services-grid-wix > :nth-child(3) .service-icon svg {
  width: 34px;
  height: 34px;
}

.trabalho-section { background: #f7f2e8; }
.gallery-grid-wix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.gallery-tile {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow);
  min-height: 300px;
  display: block;
  text-decoration: none;
  background: #d6c2a8;
}
.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform .35s ease;
}
.gallery-tile:hover img { transform: scale(1.04); }
.gallery-tile span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.1rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, rgba(19, 12, 7, 0), rgba(19, 12, 7, 0.76));
}

.section-photo {
  position: relative;
  overflow: hidden;
  background: #d6c2a8;
}
.section-photo-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 152%;
  object-fit: cover;
  object-position: center;
}
.photo-panel-wrap,
.contact-layout-wix {
  display: flex;
  justify-content: center;
}
.card-overlay,
.light-surface {
  width: min(760px, 100%);
  background: rgba(255, 251, 246, 0.9);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 30px;
  box-shadow: var(--shadow);
  padding: 2.2rem;
}
.photo-panel {
  text-align: center;
  color: var(--brown-dark);
}
.photo-panel p { margin: 1rem 0 0; font-size: 1.04rem; }
.contacto-shell { min-height: 820px; }
.contact-card-wix {
  width: min(640px, 100%);
  margin: 2rem auto 0;
  text-align: center;
}
.contact-card-wix h2 {
  font-size: clamp(1.35rem, 3.2vw, 2.35rem);
  letter-spacing: .04em;
  white-space: nowrap;
}
.contact-logo {
  width: 92px;
  margin: 0 auto 1rem;
}
.contact-copy p { margin: .3rem 0; font-size: 1.04rem; }
.contact-copy a { color: var(--brown-dark); }
.secure-form {
  margin-top: 1.5rem;
  text-align: left;
}
.form-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem;
}
.form-row { display: grid; gap: .35rem; margin-bottom: .95rem; }
label { font-weight: 700; font-size: .96rem; }
input, textarea {
  width: 100%;
  border: 1px solid rgba(93, 71, 49, 0.22);
  border-radius: 14px;
  background: rgba(255,255,255,.96);
  padding: .92rem 1rem;
  color: var(--text);
  font: inherit;
}
input:focus, textarea:focus {
  outline: 2px solid rgba(181, 141, 86, 0.35);
  border-color: rgba(181, 141, 86, 0.55);
}
textarea { resize: vertical; min-height: 140px; }
.checkbox-label {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: .7rem;
  font-weight: 400;
}
.checkbox-label input {
  width: 18px;
  height: 18px;
  margin-top: .15rem;
}
.button-send {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #725339, #523722);
  color: #fff;
  padding: .95rem 1.5rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  min-width: 140px;
}
.button-send:hover { filter: brightness(1.04); }
.button-send:disabled {
  opacity: .7;
  cursor: not-allowed;
}
.form-status {
  min-height: 1.5rem;
  margin: .8rem 0 0;
  color: var(--brown);
  font-weight: 700;
}
.form-status[data-state="error"] {
  color: #7d2b22;
}
.form-status[data-state="pending"] {
  color: var(--brown-dark);
}
.captcha-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
  padding: .85rem 1rem;
  border: 1px solid rgba(93, 71, 49, 0.18);
  border-radius: 14px;
  background: rgba(255,255,255,.78);
}
.captcha-question {
  margin: 0;
  color: var(--brown-dark);
  font-weight: 700;
}
.captcha-refresh {
  appearance: none;
  border: 1px solid rgba(93, 71, 49, 0.18);
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  color: var(--brown-dark);
  padding: .55rem .9rem;
  font: inherit;
  font-size: .92rem;
  font-weight: 700;
  cursor: pointer;
}
.captcha-refresh:hover {
  filter: brightness(1.03);
}
.form-success-message {
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255,255,255,.95);
  color: var(--brown-dark);
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: var(--shadow);
}
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}
.contact-links-inline {
  margin-top: 1.15rem;
}

.portfolio-hero {
  min-height: min(78vh, 620px);
  display: grid;
  align-items: center;
}
.portfolio-hero-inner {
  display: flex;
  justify-content: center;
  text-align: center;
  padding-block: 5rem 3rem;
}
.details-section {
  background: linear-gradient(180deg, #f5ecdf 0%, #fbf7f1 100%);
}
.portfolio-stack {
  display: grid;
  gap: 1.5rem;
}
.portfolio-item-detailed {
  display: grid;
  grid-template-columns: minmax(280px, 460px) 1fr;
  gap: 0;
  overflow: hidden;
}
.portfolio-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}
.portfolio-copy {
  padding: 1.7rem 1.7rem 1.8rem;
}
.portfolio-kicker {
  margin: 0 0 .35rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .82rem;
  font-weight: 700;
}
.portfolio-copy h2 {
  margin: 0 0 .8rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.15;
}
.portfolio-copy p {
  margin: 0 0 1rem;
  color: var(--muted);
}
.portfolio-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .55rem;
}
.portfolio-points li {
  position: relative;
  padding-left: 1.15rem;
}
.portfolio-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .65rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.site-footer {
  background: #f3e7d8;
  border-top: 1px solid var(--line);
}
.footer-inner-wix {
  min-height: 96px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto auto;
  align-items: center;
  gap: 1rem;
}
.footer-inner-wix p { margin: 0; }
.footer-brand-block strong {
  display: block;
  margin-bottom: .25rem;
  font-size: 1rem;
}
.footer-brand-block p {
  color: var(--muted);
  font-size: .95rem;
}

.centered-error {
  text-align: center;
  padding: 2rem;
  max-width: 720px;
}
.centered-actions { margin-top: 1rem; }
.centered-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .85rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #725339, #523722);
  color: #fff;
  text-decoration: none;
}

@media (max-width: 980px) {
  .services-grid-wix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-card-wix,
  .service-card-wide,
  .services-grid-wix > :nth-child(4),
  .services-grid-wix > :nth-child(5) {
    grid-column: auto;
  }
  .gallery-grid-wix { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio-item-detailed { grid-template-columns: 1fr; }
  .footer-inner-wix { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}

@media (max-width: 820px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
        position: absolute;
        top: calc(100% + .1rem);
        left: 1rem;
        right: 1rem;
        background: rgba(253, 249, 243, 0.99);
        border: 1px solid rgba(89, 68, 46, 0.12);
        border-radius: 2px 2px 20px 20px;
        box-shadow: var(--shadow);
        padding: 1rem;
        display: none;
        text-align: center;
    }
  .site-nav.open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: center;
    gap: .55rem;
  }
  .site-nav a {
    display: block;
    width: 100%;
    padding: 1rem 1rem;
    border-radius: 16px;
    text-align: center;
  }
  .site-nav a:hover { background: rgba(91, 64, 39, 0.06); }
  .mobile-socials {
    display: flex;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(89, 68, 46, 0.1);
    justify-content: center;
    gap: .85rem;
  }
  .mobile-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    min-height: 62px;
    padding: 0;
    border-radius: 16px;
    background: rgba(91, 64, 39, 0.08);
    color: var(--brown-dark);
    border: 1px solid rgba(91, 64, 39, 0.14);
    backdrop-filter: none;
  }
  .mobile-socials a span { display: none; }
  .mobile-socials .whats-link {
    background: rgba(25, 160, 86, 0.12);
    color: #18683b;
    border-color: rgba(25, 160, 86, 0.22);
  }
  .services-grid-wix,
  .gallery-grid-wix,
  .form-two-col { grid-template-columns: 1fr; }
  .service-card-wide { grid-column: auto; }
  .hero { min-height: 84vh; }
  .hero-home {
    min-height: 560px;
    background-position: center right 34%;
  }
  .hero-home .hero-content {
    display: flex;
    flex-direction: column;
    min-height: 560px;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    padding-block: 1.2rem 2rem;
  }
  .hero-home .hero-logo {
    position: absolute;
    top: 1rem;
    left: 0;
    width: min(170px, 42vw);
    margin: 0;
  }
  .hero-home .hero-kicker {
    margin-top: 12.25rem;
    max-width: 15rem;
    font-size: .7rem;
    letter-spacing: .18em;
  }
  .hero-home .hero-tagline {
    max-width: 20rem;
    margin: auto 0 0;
    font-size: 1.22rem;
    letter-spacing: .08em;
  }
  .hero-home .social-row {
    align-self: flex-start;
    justify-content: flex-start;
    margin-top: .9rem;
    padding-bottom: .2rem;
  }
  .mobile-socials svg {
    width: 22px;
    height: 22px;
  }
  .brand-title { font-size: .88rem; letter-spacing: .1em; }
}

@media (max-width: 560px) {
  .section { padding: 4.4rem 0; }
  .card-overlay, .light-surface { padding: 1.4rem; border-radius: 22px; }
  .gallery-tile { min-height: 240px; }
  .social-row a span,
  .mobile-socials a span,
  .contact-links-inline a span,
  .whats-link span { display: none; }
  .social-row a,
  .mobile-socials a,
  .contact-links-inline a,
  .whats-link {
    width: 44px;
    height: 44px;
    padding: 0;
  }
  .header-inner { min-height: 60px; }
  .brand-title {
    font-size: .78rem;
    letter-spacing: .07em;
  }
  .mobile-socials a {
    width: 62px;
    height: 62px;
    min-height: 62px;
  }
  .hero-home {
    min-height: 520px;
  }
  .hero-home .hero-content {
    min-height: 520px;
  }
  .hero-home .hero-logo {
    width: min(148px, 44vw);
  }
  .hero-home .hero-kicker {
    margin-top: 10.75rem;
    max-width: 13rem;
  }
  .hero-home .hero-tagline {
    max-width: 17rem;
    font-size: 1.05rem;
  }
  .contact-card-wix h2 {
    font-size: 1.24rem;
    letter-spacing: .03em;
  }
  .captcha-box {
    flex-direction: column;
    align-items: stretch;
  }
  .captcha-refresh {
    width: 100%;
  }
}


.hero-logo-proportional {
  width: min(420px, 78vw);
  height: auto;
  max-height: 430px;
}
.service-card-photo {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 270px;
  color: #fff;
  text-decoration: none;
  background-color: #7f6348;
}
.service-card-photo.card-soft {
  border: 0;
}
.service-card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  border: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(28,18,9,.14), rgba(28,18,9,.58));
}
.service-card-content {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: .5rem .1rem;
  text-align: left;
}
.service-card-content .service-icon {
  margin-top: auto;
  margin-bottom: 2rem;
}
.service-card-photo .service-icon {
  color: #fff;
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.2);
}
.service-card-photo p,
.service-card-photo h3 { color: #fff; }
.service-card-photo p { max-width: 44ch; }
.portfolio-rich {
  padding: 1.1rem;
}
.rich-portfolio-stack { gap: 2rem; }
.portfolio-rich-top {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(220px, .82fr);
  gap: 1.1rem;
  align-items: stretch;
  min-height: 292px;
}
.portfolio-rich-copy {
  padding: .2rem;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  gap: .55rem;
}
.portfolio-rich-copy h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  line-height: 1.12;
}
.portfolio-rich-copy > p:not(.portfolio-kicker):not(.portfolio-actions) {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}
.portfolio-points {
  display: grid;
  gap: .32rem;
  margin: 0;
  padding-left: 1.1rem;
  font-size: .95rem;
}
.portfolio-points li {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}
.portfolio-rich-cover img {
  width: 100%;
  height: 100%;
  min-height: 292px;
  max-height: 292px;
  object-fit: cover;
  border-radius: 22px;
}
.mini-gallery-grid,
.detail-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .9rem;
  margin-top: 1.2rem;
}
.mini-gallery-item,
.detail-gallery-item { margin: 0; }
.mini-gallery-item img,
.detail-gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 185px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow);
  background: #e2d3c0;
}
.detail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .85rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  background: linear-gradient(180deg, #725339, #523722);
  color: #fff;
  font-weight: 700;
}
.secondary-link {
  background: rgba(91,64,39,.08);
  color: var(--brown-dark);
  border: 1px solid rgba(91,64,39,.16);
}
.portfolio-actions,
.detail-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: auto;
  padding-top: .8rem;
}
.detail-hero {
  min-height: min(74vh, 640px);
  display: grid;
  align-items: center;
}
.detail-hero-inner { position: relative; z-index: 1; padding-block: 4.5rem 3.5rem; }
.detail-hero-panel {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  color: var(--brown-dark);
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 1.4rem;
}
.detail-copy-card,
.detail-side-card { padding: 1.6rem; }
.detail-copy-card h2,
.detail-side-card h3 { margin-top: 0; }
.detail-side-card h3 { margin-bottom: .4rem; font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; }
.detail-side-card p { color: var(--muted); margin-top: 0; }
.related-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: .8rem;
}
.related-links-list a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: .6rem .9rem;
  border-radius: 999px;
  text-decoration: none;
  background: rgba(91,64,39,.08);
  border: 1px solid rgba(91,64,39,.14);
}
.compact-intro { margin-bottom: 1.4rem; }
@media (max-width: 980px) {
  .portfolio-rich-top,
  .detail-grid,
  .detail-gallery-grid,
  .mini-gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .portfolio-rich-top,
  .detail-gallery-grid,
  .mini-gallery-grid { grid-template-columns: 1fr; }
  .service-card-photo { min-height: 240px; }
}


.brand-header img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.contact-card-compact {
  width: min(580px, 100%);
}

.secure-form-compact {
  max-width: 400px;
  margin: 1.35rem auto 0;
}

.contact-card-compact .contact-copy {
  max-width: 380px;
  margin: 0 auto;
}

.contact-location {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .3rem .8rem;
  margin-top: .45rem;
  color: #fff;
  background: rgba(56, 38, 22, 0.82);
  border-radius: 999px;
  text-shadow: 0 1px 0 rgba(0,0,0,.2);
}

.service-card-static {
  cursor: default;
}

.service-card-static:hover {
  transform: none;
}

.detail-gallery-item,
.mini-gallery-item,
.portfolio-rich-cover {
  position: relative;
}

.detail-gallery-item img,
.mini-gallery-item img,
.portfolio-rich-cover img {
  cursor: zoom-in;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  background: rgba(15,10,6,.92);
  padding: 1.2rem;
}

.gallery-lightbox.open {
  display: grid;
  place-items: center;
}

.gallery-lightbox-inner {
  width: min(1200px, 100%);
  max-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1rem;
}

.gallery-lightbox-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  color: #fff;
}

.gallery-lightbox-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

.gallery-lightbox-btn,
.gallery-download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .8rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: #fff;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
}

.gallery-stage {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 1rem;
}

.gallery-nav {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

.gallery-lightbox-image-wrap {
  display: grid;
  place-items: center;
  min-height: 0;
}

.gallery-lightbox-image {
  max-width: 100%;
  max-height: min(72vh, 900px);
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
}

.gallery-lightbox-caption {
  text-align: center;
  color: rgba(255,255,255,.88);
}

@media (max-width: 700px) {
  .gallery-stage {
    grid-template-columns: 1fr;
  }
  .gallery-nav.prev { order: 2; justify-self: start; }
  .gallery-nav.next { order: 3; justify-self: end; }
  .gallery-lightbox-image-wrap { order: 1; }
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .18);
    display: grid;
    place-items: center;
    margin-bottom: auto;
    backdrop-filter: blur(6px);
}

.service-card-body {
    position: relative;
    z-index: 1;
    padding: 22px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
* {
    box-sizing: border-box;
}
user agent stylesheet
div {
    display: block;
    unicode-bidi: isolate;
}
.service-card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    min-height: 280px;
    background: #b7aa9a;
    color: #fff;
    box-shadow: var(--shadow);
}
/* body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.5;
} */
/* :root {
    --bg: #efe8dc;
    --bg-soft: #f5f0e6;
    --ink: #34261a;
    --ink-soft: #fffdf8;
    --line: rgba(91, 61, 34, .18);
    --overlay: rgba(33, 28, 25, .92);
    --surface: rgba(255, 248, 239, .92);
    --accent: #a7805e;
    --max: 1180px;
    --shadow: 0 14px 36px rgba(0, 0, 0, .14);
    --radius: 26px;
} */
