:root {
  --ivory: #f7f1ea;
  --cream: #fffaf4;
  --sand: #d9cbbd;
  --taupe: #9f8678;
  --coffee: #3b241b;
  --espresso: #18100d;
  --bronze: #a87555;
  --copper: #c59676;
  --stone: #ebe5df;
  --muted: #76645d;
  --line: rgba(59, 36, 27, 0.14);
  --white-soft: rgba(255, 250, 244, 0.78);
  --shadow: 0 28px 80px rgba(44, 27, 20, 0.14);
  --radius-xl: 38px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--coffee);
  background:
    radial-gradient(circle at 15% 5%, rgba(197, 150, 118, 0.22), transparent 28rem),
    radial-gradient(circle at 88% 2%, rgba(59, 36, 27, 0.1), transparent 25rem),
    linear-gradient(180deg, var(--ivory), #fffdf9 44%, var(--ivory));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.menu-open {
  overflow: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

p {
  color: var(--muted);
  line-height: 1.72;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--cream);
  background: var(--coffee);
}

.skip-link:focus {
  left: 10px;
}

.section-pad {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 60;
  width: min(var(--max), calc(100% - 24px));
  min-height: 74px;
  margin: 14px auto 0;
  padding: 10px 14px 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.78);
  box-shadow: 0 18px 54px rgba(44, 27, 20, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 176px;
  height: 48px;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  padding: 11px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
  transition: 0.22s ease;
}

.main-nav a:hover {
  color: var(--coffee);
  background: rgba(168, 117, 85, 0.1);
}

.main-nav .nav-cta {
  color: var(--cream);
  background: var(--coffee);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(168, 117, 85, 0.12);
  cursor: pointer;
}

.menu-toggle span {
  width: 21px;
  height: 2px;
  display: block;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--coffee);
  transition: 0.2s ease;
}

.hero {
  width: min(var(--max), calc(100% - 32px));
  min-height: calc(100vh - 96px);
  margin: 0 auto;
  padding: 78px 0 88px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 8px 13px;
  border: 1px solid rgba(168, 117, 85, 0.25);
  border-radius: 999px;
  color: var(--bronze);
  background: rgba(255, 250, 244, 0.66);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--coffee);
}

h1,
.section-heading h2,
.process-copy h2,
.location-copy h2 {
  margin: 18px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

h1 {
  max-width: 740px;
  font-size: clamp(3.35rem, 8vw, 7.8rem);
}

.hero-copy p {
  max-width: 620px;
  font-size: 1.12rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: var(--cream);
  background: linear-gradient(135deg, var(--coffee), var(--bronze));
  box-shadow: 0 18px 45px rgba(59, 36, 27, 0.24);
}

.btn.ghost {
  color: var(--coffee);
  background: rgba(255, 250, 244, 0.72);
  border-color: var(--line);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 38px;
}

.hero-points span {
  padding: 10px 14px;
  border: 1px solid rgba(168, 117, 85, 0.2);
  border-radius: 999px;
  color: var(--coffee);
  background: rgba(255, 250, 244, 0.72);
  font-size: 0.9rem;
  font-weight: 750;
}

.hero-media {
  position: relative;
  min-height: 690px;
}

.hero-media figure {
  margin: 0;
  overflow: hidden;
  background: var(--stone);
  box-shadow: var(--shadow);
}

.hero-photo {
  position: absolute;
  inset: 0 9% 0 18%;
  border-radius: 50% 50% var(--radius-xl) var(--radius-xl);
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(24, 16, 13, 0.22));
  pointer-events: none;
}

.hero-photo img,
.hero-mini img,
.gallery-item img,
.environment-grid img,
.team-card img,
.location-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-mini {
  position: absolute;
  width: 190px;
  height: 250px;
  border: 8px solid rgba(255, 250, 244, 0.95);
  border-radius: 120px 120px 28px 28px;
}

.hero-mini.one {
  left: 0;
  bottom: 74px;
}

.hero-mini.two {
  right: 0;
  top: 72px;
}

.section-heading {
  max-width: 760px;
}

.section-heading.center {
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading h2,
.process-copy h2,
.location-copy h2 {
  font-size: clamp(2.35rem, 5vw, 5rem);
}

.section-heading p {
  max-width: 640px;
  margin-inline: auto;
}

.about {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 54px;
  align-items: center;
}

.about-card {
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 250, 244, 0.72);
  box-shadow: var(--shadow);
}

.about-card p:first-child {
  margin-top: 0;
}

.signature-box {
  margin-top: 26px;
  padding: 22px;
  border-radius: 24px;
  color: var(--cream);
  background: linear-gradient(135deg, var(--espresso), var(--coffee));
}

.signature-box strong,
.signature-box span {
  display: block;
}

.signature-box strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 500;
}

.signature-box span {
  margin-top: 8px;
  color: rgba(255, 250, 244, 0.72);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.featured-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}

.featured-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.88), rgba(245, 238, 230, 0.72));
  box-shadow: 0 18px 58px rgba(44, 27, 20, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-tag {
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--bronze);
  background: rgba(168, 117, 85, 0.1);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.featured-card h3 {
  margin: 20px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.85rem;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.featured-card strong {
  color: var(--bronze);
  font-size: 2rem;
}

.price-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 244, 0.7);
  box-shadow: 0 18px 58px rgba(44, 27, 20, 0.06);
}

.price-row {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.price-row:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.price-row:nth-last-child(-n + 1) {
  border-bottom: 0;
}

.price-row span {
  color: var(--muted);
}

.price-row strong {
  white-space: nowrap;
  color: var(--coffee);
}

.process-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
  padding: clamp(28px, 5vw, 62px);
  border-radius: var(--radius-xl);
  color: var(--cream);
  background:
    radial-gradient(circle at top right, rgba(197, 150, 118, 0.22), transparent 24rem),
    linear-gradient(135deg, var(--espresso), #3f271e 62%, #6f4d3e);
  box-shadow: var(--shadow);
}

.process-panel h2,
.process-panel h3,
.process-panel p {
  color: var(--cream);
}

.process-panel p {
  opacity: 0.74;
}

.process-steps {
  display: grid;
  gap: 14px;
}

.process-steps article {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
  padding: 20px;
  border: 1px solid rgba(255, 250, 244, 0.14);
  border-radius: 24px;
  background: rgba(255, 250, 244, 0.08);
}

.process-steps span {
  grid-row: span 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--coffee);
  background: var(--sand);
  font-weight: 900;
}

.process-steps h3,
.process-steps p {
  margin: 0;
}

.process-steps p {
  margin-top: 6px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--stone);
  cursor: zoom-in;
  box-shadow: 0 18px 58px rgba(44, 27, 20, 0.08);
}

.gallery-item img {
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(24, 16, 13, 0.56));
}

.gallery-item span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  color: var(--cream);
  font-weight: 850;
  text-align: left;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.environment {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 44px;
  align-items: center;
}

.environment-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}

.environment-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--stone);
  box-shadow: 0 18px 58px rgba(44, 27, 20, 0.08);
}

.environment-main {
  min-height: 560px;
}

.environment-side {
  display: grid;
  gap: 16px;
}

.environment-side figure {
  min-height: 272px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.team-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 250, 244, 0.72);
  box-shadow: var(--shadow);
}

.team-card img {
  height: 560px;
  filter: saturate(0.9);
}

.team-card img.team-photo-top {
  object-position: center top;
}

.team-card div {
  padding: 26px;
}

.team-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.team-card p {
  margin-bottom: 0;
}

.location-card {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 34px;
  align-items: stretch;
  padding: clamp(26px, 4vw, 48px);
  border-radius: var(--radius-xl);
  background: rgba(255, 250, 244, 0.72);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.location-copy {
  align-self: center;
}

address {
  margin-top: 28px;
  color: var(--muted);
  font-style: normal;
  line-height: 1.65;
}

.location-photo {
  min-height: 420px;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius-lg);
  background: var(--stone);
}

.site-footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto 24px;
  padding: 24px;
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 244, 0.78);
}

.site-footer img {
  width: 150px;
  mix-blend-mode: multiply;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--bronze);
  font-weight: 850;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(24, 16, 13, 0.84);
}

body.lightbox-open .lightbox {
  display: grid;
}

.lightbox img {
  max-width: min(980px, 92vw);
  max-height: 86vh;
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 22px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 250, 244, 0.28);
  border-radius: 50%;
  color: var(--cream);
  background: rgba(255, 250, 244, 0.1);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 1040px) {
  .hero,
  .about,
  .process-panel,
  .environment,
  .location-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 74px;
  }

  .hero-media {
    min-height: 620px;
  }

  .featured-services {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .environment-grid {
    grid-template-columns: 1fr;
  }

  .environment-main,
  .environment-side figure {
    min-height: 360px;
  }
}

@media (max-width: 820px) {
  .section-pad {
    padding: 72px 0;
  }

  .brand {
    width: 142px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 92px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255, 250, 244, 0.96);
    box-shadow: var(--shadow);
  }

  body.menu-open .main-nav {
    display: flex;
  }

  .main-nav a {
    text-align: center;
  }

  body.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  body.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .hero-media {
    min-height: 520px;
  }

  .hero-photo {
    inset: 0 5% 0 5%;
  }

  .hero-mini {
    width: 144px;
    height: 190px;
    border-width: 6px;
  }

  .hero-mini.one {
    bottom: 28px;
  }

  .hero-mini.two {
    top: 34px;
  }

  .price-list,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .price-row:nth-child(odd) {
    border-right: 0;
  }

  .price-row:nth-last-child(-n + 1) {
    border-bottom: 1px solid var(--line);
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 320px;
  }

  .gallery-item.tall,
  .gallery-item.wide {
    grid-row: auto;
    grid-column: auto;
  }

  .team-card img {
    height: 420px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .section-pad,
  .hero,
  .site-footer {
    width: min(var(--max), calc(100% - 22px));
  }

  .hero-actions .btn,
  .contact-actions .btn {
    width: 100%;
  }

  .hero-media {
    min-height: 470px;
  }

  .hero-mini {
    display: none;
  }

  .gallery-grid {
    grid-auto-rows: 280px;
  }

  .environment-main,
  .environment-side figure,
  .location-photo {
    min-height: 300px;
  }
}


/* Capital Moto Week campaign */
.campaign-strip {
  position: sticky;
  top: 96px;
  z-index: 45;
  width: min(var(--max), calc(100% - 32px));
  margin: 10px auto 0;
}

.campaign-strip[hidden] {
  display: none;
}

.campaign-strip a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(197, 150, 118, 0.32);
  border-radius: 999px;
  color: var(--cream);
  background:
    radial-gradient(circle at 14% 20%, rgba(255, 159, 51, 0.42), transparent 16rem),
    linear-gradient(135deg, #1b100d, #4f211b 55%, #241211);
  box-shadow: 0 18px 54px rgba(44, 27, 20, 0.16);
  text-align: center;
}

.campaign-strip strong {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.campaign-strip span {
  color: rgba(255, 250, 244, 0.78);
  font-size: 0.92rem;
}

.cmw-section-card {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 34px;
  align-items: center;
  overflow: hidden;
  padding: clamp(28px, 5vw, 60px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(197, 150, 118, 0.22);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 178, 58, 0.34), transparent 22rem),
    radial-gradient(circle at 88% 30%, rgba(116, 34, 30, 0.48), transparent 22rem),
    linear-gradient(135deg, #160e0b, #3c2019 55%, #111);
  box-shadow: var(--shadow);
}

.cmw-section-copy h2 {
  margin: 18px 0;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 5vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.cmw-section-copy p {
  max-width: 720px;
  color: rgba(255, 250, 244, 0.76);
}

.cmw-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.cmw-section .btn.ghost {
  color: var(--cream);
  background: rgba(255, 250, 244, 0.1);
  border-color: rgba(255, 250, 244, 0.22);
}

.cmw-visual {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.cmw-logo {
  width: min(380px, 80vw);
  border-radius: 50%;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
}

.cmw-nd {
  position: absolute;
  width: min(230px, 48vw);
  right: 0;
  bottom: 10px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 250, 244, 0.9);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.cmw-memory-carousel {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  outline: none;
}

.cmw-memory-carousel:focus-visible {
  border-radius: 24px;
  outline: 2px solid var(--copper);
  outline-offset: 6px;
}

.cmw-memory-stack {
  position: relative;
  width: min(350px, calc(100% - 46px));
  height: clamp(380px, 44vw, 500px);
  margin: 0 auto;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.cmw-memory-stack.is-dragging {
  cursor: grabbing;
}

.cmw-memory-card {
  position: absolute;
  inset: 0;
  overflow: hidden;
  margin: 0;
  border: 8px solid rgba(255, 250, 244, 0.94);
  border-radius: 26px;
  background: #17100e;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  transform-origin: center bottom;
  transition: transform 0.38s ease, opacity 0.3s ease;
  will-change: transform, opacity;
}

.cmw-memory-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-drag: none;
}

.cmw-memory-card[data-position="0"] {
  z-index: 3;
  opacity: 1;
  transform: translate3d(-8px, 0, 0) rotate(-1.5deg);
}

.cmw-memory-card[data-position="1"] {
  z-index: 2;
  opacity: 0.9;
  transform: translate3d(14px, 8px, 0) rotate(3deg) scale(0.97);
}

.cmw-memory-card[data-position="2"] {
  z-index: 1;
  opacity: 0.72;
  transform: translate3d(32px, 16px, 0) rotate(6deg) scale(0.94);
}

.cmw-memory-card[data-position="hidden"] {
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(48px, 22px, 0) rotate(8deg) scale(0.9);
}

.cmw-memory-stack.is-dragging .cmw-memory-card[data-position="0"] {
  transition: none;
  transform: translate3d(var(--cmw-drag-x, 0), 0, 0) rotate(-1.5deg);
}

.cmw-memory-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.cmw-memory-button {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 250, 244, 0.24);
  border-radius: 50%;
  color: var(--cream);
  background: rgba(255, 250, 244, 0.1);
  cursor: pointer;
  font: inherit;
  font-size: 1.15rem;
}

.cmw-memory-button:hover,
.cmw-memory-button:focus-visible {
  background: rgba(255, 250, 244, 0.2);
  outline: none;
}

.cmw-memory-status {
  min-width: 58px;
  color: rgba(255, 250, 244, 0.76);
  font-size: 0.82rem;
  font-weight: 750;
  text-align: center;
}

.campaign-popup {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  place-items: center;
  padding: 20px;
}

body.cmw-popup-open .campaign-popup {
  display: grid;
}

.campaign-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(24, 16, 13, 0.72);
  backdrop-filter: blur(10px);
}

.campaign-popup__card {
  position: relative;
  width: min(620px, 100%);
  overflow: hidden;
  padding: clamp(26px, 5vw, 44px);
  border: 1px solid rgba(197, 150, 118, 0.3);
  border-radius: 34px;
  color: var(--cream);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 173, 47, 0.42), transparent 18rem),
    radial-gradient(circle at 100% 20%, rgba(121, 28, 31, 0.58), transparent 20rem),
    linear-gradient(135deg, #1b100d, #4a211b 62%, #120d0b);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.42);
}

.campaign-popup__card::after {
  content: "";
  position: absolute;
  inset: auto -20% -45% -20%;
  height: 70%;
  background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 60%);
  pointer-events: none;
}

.campaign-popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 250, 244, 0.25);
  border-radius: 50%;
  color: var(--cream);
  background: rgba(255, 250, 244, 0.08);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.campaign-popup__logos {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.campaign-popup__logos img:first-child {
  width: 140px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 250, 244, 0.86);
}

.campaign-popup__logos img:last-child {
  width: 86px;
  height: 86px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.26);
}

.campaign-popup__logos span {
  color: rgba(255, 250, 244, 0.76);
  font-size: 1.2rem;
  font-weight: 900;
}

.campaign-popup__label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-bottom: 12px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 250, 244, 0.24);
  border-radius: 999px;
  color: rgba(255, 250, 244, 0.78);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.campaign-popup h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 520px;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 8vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.campaign-popup p {
  position: relative;
  z-index: 1;
  max-width: 520px;
  color: rgba(255, 250, 244, 0.78);
  font-size: 1.05rem;
}

.campaign-popup__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.campaign-popup .btn.primary {
  color: #1b100d;
  background: linear-gradient(135deg, #fff7ec, #c59676);
}

.campaign-popup .btn.ghost {
  color: var(--cream);
  background: rgba(255, 250, 244, 0.1);
  border-color: rgba(255, 250, 244, 0.22);
}

.campaign-popup small {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 18px;
  color: rgba(255, 250, 244, 0.58);
}

@media (max-width: 1040px) {
  .cmw-section-card {
    grid-template-columns: 1fr;
  }

  .cmw-visual {
    min-height: 340px;
  }
}

@media (max-width: 820px) {
  .campaign-strip {
    top: 92px;
  }

  .campaign-strip a {
    flex-direction: column;
    gap: 2px;
    border-radius: 24px;
  }

  .campaign-strip span {
    font-size: 0.84rem;
  }

  .campaign-popup__actions .btn,
  .cmw-actions .btn {
    width: 100%;
  }

  .cmw-nd {
    right: 50%;
    bottom: 0;
    transform: translateX(50%);
  }
}

@media (max-width: 480px) {
  .campaign-popup {
    padding: 12px;
  }

  .campaign-popup__logos img:first-child {
    width: 118px;
  }

  .campaign-popup__logos img:last-child {
    width: 72px;
    height: 72px;
  }

  .cmw-visual {
    min-height: 300px;
  }
}


/* Novo agendamento oficial */
.official-booking-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
  padding: clamp(28px, 5vw, 60px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top left, rgba(197, 150, 118, 0.2), transparent 24rem),
    linear-gradient(180deg, rgba(255, 250, 244, 0.84), rgba(247, 241, 234, 0.74));
  box-shadow: var(--shadow);
}

.official-booking-copy h2 {
  margin: 18px 0;
  color: var(--coffee);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 5vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.official-booking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.official-booking-copy small {
  display: block;
  margin-top: 16px;
  color: var(--muted);
}

.official-booking-steps {
  display: grid;
  gap: 14px;
}

.official-booking-steps article {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  padding: 20px;
  border: 1px solid rgba(59, 36, 27, 0.12);
  border-radius: 24px;
  background: rgba(255, 250, 244, 0.78);
  box-shadow: 0 14px 34px rgba(44, 27, 20, 0.06);
}

.official-booking-steps span {
  grid-row: span 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--cream);
  background: linear-gradient(135deg, var(--coffee), var(--bronze));
  font-weight: 900;
}

.official-booking-steps strong {
  color: var(--coffee);
  font-size: 1.03rem;
}

.official-booking-steps p {
  margin: 5px 0 0;
  font-size: 0.95rem;
}

@media (max-width: 1040px) {
  .official-booking-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .official-booking-actions .btn {
    width: 100%;
  }
}

/* USER AUTH NO HEADER */

.auth-area {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.google-login-btn {
  display: flex;
  align-items: center;
  gap: 8px;

  padding: 8px 12px;
  border-radius: 10px;

  border: 1px solid var(--line);
  background: white;

  cursor: pointer;

  font-size: 14px;
  font-weight: 500;

  transition: 0.2s ease;
}

.google-login-btn img {
  width: 18px;
  height: 18px;
}

.google-login-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

@media (max-width: 768px) {
  .auth-area {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
  }

  .google-login-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .site-header {
    flex-wrap: wrap;
  }

  .auth-area {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
  }

  .google-login-btn {
    width: 100%;
    justify-content: center;
  }
}

.auth-area {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

/* botão login */
.google-login-btn {
  display: flex;
  align-items: center;
  gap: 8px;

  padding: 8px 12px;
  border-radius: 999px;

  border: 1px solid var(--line);
  background: white;

  cursor: pointer;

  font-size: 14px;
  font-weight: 500;
}

/* avatar container */
#userBox {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* avatar */
#userBox img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
}

/* botão sair */
#logoutBtn {
  border: none;
  background: var(--coffee);
  color: var(--cream);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
}

@media (max-width: 768px) {
  .auth-area {
    width: auto;
    margin-left: auto;
    justify-content: flex-end;
  }

  .google-login-btn {
    padding: 6px 10px;
    font-size: 13px;
  }
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 14px 24px;

  background: rgba(255, 250, 244, 0.9);
  backdrop-filter: blur(10px);

  border-bottom: 1px solid var(--line);

  position: sticky;
  top: 0;
  z-index: 1000;
}

/* LOGO */
.site-header .brand img {
  height: 42px;
}

/* MENU PRINCIPAL */
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}

/* CTA */
.nav-cta {
  background: var(--coffee);
  color: var(--cream);
  padding: 8px 14px;
  border-radius: 999px;
}

/* BLOCO DIREITO (AUTH) */
.header-right {
  display: flex;
  align-items: center;
  margin-left: auto;
}

/* AUTH AREA */
.auth-area {
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 6px 10px;
  border-radius: 999px;

  background: rgba(255, 250, 244, 0.8);
  border: 1px solid var(--line);
}

/* BOTÃO GOOGLE */
.google-login-btn {
  display: flex;
  align-items: center;
  gap: 8px;

  padding: 8px 12px;
  border-radius: 999px;

  border: 1px solid #ddd;
  background: #fff;

  cursor: pointer;

  font-size: 14px;
  font-weight: 500;

  transition: 0.2s ease;
}

.google-login-btn img {
  width: 18px;
  height: 18px;
}

.google-login-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* AVATAR */
#userBox img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
}

/* BOTÃO SAIR */
#logoutBtn {
  border: none;
  background: var(--coffee);
  color: var(--cream);

  padding: 6px 10px;
  border-radius: 999px;

  font-size: 12px;
  cursor: pointer;
}

/* MENU MOBILE */
.menu-toggle {
  display: none;
}

/* RESPONSIVO */
@media (max-width: 820px) {

  .site-header {
    flex-wrap: wrap;
    gap: 10px;
  }

  .main-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .header-right {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
  }

  .auth-area {
    width: 100%;
    justify-content: center;
  }

  .google-login-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 820px) {

  .main-nav {
    display: none;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    padding: 20px;
  }

  .main-nav.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
  }
}

/* Presença da marca no cabeçalho mobile */
@media (max-width: 820px) {
  .site-header {
    width: min(var(--max), calc(100% - 16px));
    min-height: 76px;
    flex-wrap: nowrap;
    gap: 10px;
    margin-top: 8px;
    padding: 1px 8px 1px 10px;
    border: 1px solid rgba(59, 36, 27, 0.12);
    background: rgba(255, 250, 244, 0.94);
    box-shadow: 0 10px 28px rgba(44, 27, 20, 0.09);
  }

  .site-header .brand {
    width: 74px;
    height: 74px;
    flex: 0 0 74px;
  }

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

  .site-header .menu-toggle {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    margin-left: auto;
  }

  .hero {
    gap: 38px;
    padding-top: 30px;
    padding-bottom: 52px;
  }

  .section-pad {
    padding: 52px 0;
  }

  .section-heading.center {
    margin-bottom: 32px;
  }

  .hero-actions,
  .contact-actions {
    margin-top: 24px;
  }

  .hero-points {
    margin-top: 28px;
  }

  .featured-card {
    min-height: 250px;
    padding: 24px;
  }

  .process-panel,
  .official-booking-card,
  .cmw-section-card {
    gap: 28px;
    padding: 30px;
  }

  .process-steps article,
  .official-booking-steps article {
    padding: 17px;
  }

  .gallery-grid {
    grid-auto-rows: 280px;
  }

  .environment-main,
  .environment-side figure {
    min-height: 300px;
  }

  .team-grid {
    gap: 20px;
  }

  .team-card div {
    padding: 22px;
  }

  .official-booking-actions,
  .cmw-actions {
    margin-top: 24px;
  }

  .cmw-memory-controls {
    margin-top: 22px;
  }

  .location-card {
    gap: 28px;
    padding: 30px;
  }

  .location-photo {
    min-height: 300px;
  }

  .site-footer {
    padding: 20px;
  }
}

@media (min-width: 821px) and (max-width: 1040px) {
  .hero {
    padding-top: 54px;
    padding-bottom: 68px;
  }
}

@media (max-width: 480px) {
  .hero {
    gap: 32px;
    padding-top: 24px;
    padding-bottom: 44px;
  }

  .section-pad {
    padding: 46px 0;
  }

  .about-card,
  .process-panel,
  .official-booking-card,
  .cmw-section-card,
  .location-card {
    padding: 24px;
  }

  .featured-card {
    min-height: 224px;
    padding: 22px;
  }

  .gallery-grid {
    grid-auto-rows: 240px;
  }

  .environment-main,
  .environment-side figure,
  .location-photo {
    min-height: 250px;
  }

}

/* Relato da palestra no Capital Moto Week */
.cmw-talk-experience {
  width: min(900px, 100%);
  margin: 34px auto 0;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid rgba(197, 150, 118, 0.22);
  border-radius: var(--radius-xl);
  color: var(--cream);
  background:
    radial-gradient(circle at 12% 0, rgba(197, 150, 118, 0.2), transparent 24rem),
    linear-gradient(145deg, #261510, #130d0b);
  box-shadow: var(--shadow);
}

.cmw-talk-heading {
  margin: 0 auto 26px;
  text-align: center;
}

.cmw-talk-heading h3 {
  margin: 16px 0 8px;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.cmw-talk-heading p {
  margin: 0;
  color: rgba(255, 250, 244, 0.68);
}

.cmw-talk-video {
  display: block;
  width: min(680px, 100%);
  height: auto;
  margin: 0 auto;
  border: 7px solid rgba(255, 250, 244, 0.1);
  border-radius: 28px;
  background: #0d0908;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.cmw-story-intro {
  width: min(680px, 100%);
  margin: 28px auto 0;
}

.cmw-story-preview {
  position: relative;
  width: 100%;
  max-height: 218px;
  overflow: hidden;
  padding: 0 0 54px;
  border: 0;
  color: rgba(255, 250, 244, 0.82);
  background: transparent;
  cursor: pointer;
  font: inherit;
  line-height: 1.72;
  text-align: left;
}

.cmw-story-preview span {
  display: block;
  margin-bottom: 14px;
}

.cmw-story-preview::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 96px;
  background: linear-gradient(180deg, rgba(19, 13, 11, 0), #130d0b 86%);
  pointer-events: none;
}

.cmw-story-preview:focus-visible,
.cmw-story-read:focus-visible,
.cmw-story-modal__close:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 4px;
}

.cmw-story-read {
  display: block;
  min-height: 46px;
  margin: 8px auto 0;
  padding: 0 18px;
  border: 1px solid rgba(255, 250, 244, 0.24);
  border-radius: 999px;
  color: var(--cream);
  background: rgba(255, 250, 244, 0.1);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.cmw-story-read:hover {
  background: rgba(255, 250, 244, 0.18);
}

.cmw-actions-after-story {
  justify-content: center;
  margin-top: 28px;
}

body.cmw-story-open {
  overflow: hidden;
}

.cmw-story-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 20px;
}

.cmw-story-modal[aria-hidden="true"] {
  display: none;
}

.cmw-story-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 10, 8, 0.78);
  backdrop-filter: blur(8px);
}

.cmw-story-modal__card {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(86vh, 820px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid rgba(197, 150, 118, 0.28);
  border-radius: var(--radius-xl);
  color: var(--cream);
  background:
    radial-gradient(circle at 10% 0, rgba(197, 150, 118, 0.22), transparent 24rem),
    linear-gradient(145deg, #2b1812, #130d0b);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
  overscroll-behavior: contain;
}

.cmw-story-modal__card h2 {
  margin: 18px 44px 24px 0;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}

.cmw-story-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 250, 244, 0.2);
  border-radius: 50%;
  color: var(--cream);
  background: rgba(255, 250, 244, 0.1);
  cursor: pointer;
  font: inherit;
  font-size: 1.65rem;
  line-height: 1;
}

.cmw-story-modal__content p {
  color: rgba(255, 250, 244, 0.82);
  line-height: 1.72;
}

.cmw-story-modal__content p:first-child {
  color: var(--cream);
  font-size: 1.08rem;
  font-weight: 700;
}

@media (max-width: 480px) {
  .cmw-talk-experience {
    margin-top: 26px;
    padding: 22px;
    border-radius: 28px;
  }

  .cmw-talk-video {
    border-width: 5px;
    border-radius: 22px;
  }

  .cmw-story-preview {
    max-height: 202px;
  }

  .cmw-story-modal {
    padding: 10px;
  }

  .cmw-story-modal__card {
    max-height: 92vh;
    padding: 26px 22px 30px;
    border-radius: 28px;
  }

  .cmw-story-modal__close {
    top: 12px;
    right: 12px;
  }
}

/* Presença da marca e estado de rolagem do cabeçalho */
.site-header {
  transition:
    background 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    backdrop-filter 0.28s ease;
}

.site-header.is-scrolled {
  border-color: rgba(59, 36, 27, 0.2);
  background: rgba(255, 250, 244, 0.98);
  box-shadow: 0 16px 46px rgba(44, 27, 20, 0.14);
  backdrop-filter: blur(22px);
}

@media (min-width: 821px) {
  .site-header .brand {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
  }

  .site-header .brand img {
    width: 58px;
    height: 58px;
  }
}
