:root {
  --bg: #0b0b0b;
  --bg-soft: #121212;
  --bg-panel: #161616;
  --graphite: #1f1f22;
  --text: #f6f3ec;
  --text-soft: #cfc8bc;
  --line: rgba(255, 255, 255, 0.1);
  --gold: #b8964a;
  --gold-soft: #dcc483;
  --gold-deep: #8f712f;
  --shadow: 0 12px 45px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.32);
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.72;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-background {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(circle at 10% 15%, rgba(207, 173, 83, 0.16), transparent 38%),
    radial-gradient(circle at 88% 82%, rgba(207, 173, 83, 0.12), transparent 42%),
    linear-gradient(145deg, #0a0a0a 0%, #101010 55%, #0c0c0c 100%);
}

.site-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.16;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -100px;
  z-index: 500;
  background: #111;
  color: #fff;
  border: 1px solid rgba(242, 215, 139, 0.6);
  padding: 0.7rem 0.95rem;
  border-radius: 10px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.section {
  padding: 6.5rem 0;
  position: relative;
}

.eyebrow {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 600;
  font-size: 0.74rem;
  margin: 0 0 1rem;
}

h1,
h2,
h3,
h4 {
  font-family: "Cinzel", serif;
  line-height: 1.2;
  margin: 0;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.9rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.8rem, 3.3vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 1rem;
  text-wrap: balance;
}

h3 {
  font-weight: 600;
  letter-spacing: 0.01em;
}

p {
  margin: 0;
  color: var(--text-soft);
}

.section-heading {
  max-width: 720px;
}

.section-heading p + p {
  margin-top: 1rem;
}

.section-heading.center {
  text-align: center;
  margin-inline: auto;
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.header.scrolled {
  background: rgba(8, 8, 8, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.navbar {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-logo {
  height: 58px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.4));
  image-rendering: -webkit-optimize-contrast;
}

.brand-fallback {
  display: none;
  font-family: "Cinzel", serif;
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: var(--gold-soft);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
}

.menu-toggle span + span {
  margin-top: 5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.nav a {
  color: #efefef;
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  transition: color 0.25s ease, transform 0.25s ease;
}

.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--gold-soft);
  transition: transform 0.3s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav a:hover {
  color: var(--gold-soft);
  transform: translateY(-1px);
}

.nav a[aria-current="page"] {
  color: var(--gold-soft);
}

.nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  min-height: 46px;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.28s ease, border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px) scale(1.03);
}

.btn:focus-visible,
.menu-toggle:focus-visible,
.nav a:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
}

.btn-nav,
.btn-primary {
  background: linear-gradient(135deg, #f2d78b 0%, #cfad53 45%, #a48234 100%);
  color: #1a1509;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28), 0 8px 18px rgba(184, 150, 74, 0.2);
}

.btn-nav:hover,
.btn-primary:hover {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34), 0 10px 26px rgba(184, 150, 74, 0.34), 0 0 0 4px rgba(184, 150, 74, 0.16);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.btn-secondary:hover {
  border-color: rgba(220, 196, 131, 0.56);
  box-shadow: 0 0 0 3px rgba(184, 150, 74, 0.12);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: clip;
  padding-top: 6.4rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 26%, rgba(207, 173, 83, 0.17), transparent 38%),
    radial-gradient(circle at 25% 78%, rgba(207, 173, 83, 0.12), transparent 40%);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(96deg, rgba(4, 4, 4, 0.93) 0%, rgba(6, 6, 6, 0.78) 42%, rgba(7, 7, 7, 0.58) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.1) 100%);
  z-index: 1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 660px;
}

.hero-description {
  max-width: 62ch;
  margin: 1.2rem 0 1.9rem;
  font-size: 1.08rem;
  color: #dfd8cb;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.hero-metas {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-metas span {
  border: 1px solid rgba(242, 215, 139, 0.34);
  background: rgba(255, 255, 255, 0.04);
  color: #f3ede0;
  border-radius: 999px;
  padding: 0.34rem 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.hero-visual {
  position: relative;
  isolation: isolate;
  transition: transform 0.35s ease-out;
}

.hero-photo {
  margin: 0;
  border-radius: 26px;
  min-height: 540px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  position: relative;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(7, 7, 7, 0.66), rgba(7, 7, 7, 0.2));
}

.hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
  object-position: center;
  transform: scale(var(--hero-scale, 1.02));
  transition: transform 0.55s ease-out;
}

.hero-badge {
  position: absolute;
  left: -1.2rem;
  bottom: 1.2rem;
  background: rgba(9, 9, 9, 0.9);
  border: 1px solid rgba(242, 215, 139, 0.38);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  max-width: 250px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(8px);
}

.hero-badge-title {
  display: block;
  font-family: "Cinzel", serif;
  color: var(--gold-soft);
  letter-spacing: 0.05em;
}

.hero-badge-text {
  font-size: 0.86rem;
  color: #d8d3ca;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.2rem;
  align-items: start;
}

.about-quote {
  margin: 1.25rem 0 0;
  border-left: 2px solid rgba(242, 215, 139, 0.45);
  padding-left: 1rem;
  color: #e8e2d7;
  font-style: italic;
}

.about-column {
  display: grid;
  gap: 1rem;
  align-items: start;
}

.about-panel {
  display: grid;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  justify-self: center;
  align-self: start;
  justify-items: center;
  align-items: start;
  place-items: start center;
}

.about-photo-wrap {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  display: block;
  justify-self: center;
  align-self: start;
}

.about-panel-copy h3 {
  margin-bottom: 0.95rem;
}

.about-panel-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
  color: #dbd6cb;
  font-size: 0.95rem;
}

.about-panel-copy li {
  padding-left: 1.2rem;
  position: relative;
}

.about-panel-copy li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--gold);
  position: absolute;
  left: 0;
  top: 0.58rem;
}

.about-photo {
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-md);
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #111;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.34);
}

.about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(8, 8, 8, 0.22), rgba(8, 8, 8, 0.04));
}

.about-photo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  filter: brightness(1.08) contrast(1.02) saturate(1.03);
}

.about-panel-copy {
  padding: 0.15rem 0.35rem 0.3rem;
}

.section-bruno {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.bruno-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 2.2rem;
  align-items: center;
}

.section-bruno .section-heading {
  max-width: 62ch;
}

.authority-slider {
  margin: 0;
  position: relative;
  width: 100%;
  max-width: 460px;
  min-height: 0;
  height: auto;
  display: grid;
  justify-content: center;
  align-items: start;
  justify-self: end;
}

.authority-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(162deg, rgba(6, 6, 6, 0.12), rgba(6, 6, 6, 0.02));
}

.authority-slide {
  position: relative;
  grid-area: 1 / 1;
  margin: 0;
  display: block;
  width: fit-content;
  max-width: 100%;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(220, 196, 131, 0.26);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.46), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  background: #111;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.015);
  transition: opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1), transform 1.25s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.95s;
  will-change: opacity, transform;
}

.authority-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition: opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1), transform 4.8s ease-out, visibility 0s linear 0s;
}

.authority-slide img {
  display: block;
  width: auto;
  max-width: min(100%, 460px);
  height: auto;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
  transform: scale(1.035);
  transition: transform 4.8s ease-out;
  will-change: transform;
  filter: brightness(1) contrast(1.02);
}

.authority-slide.is-active img {
  transform: scale(1);
}

.slider-indicators {
  position: absolute;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  gap: 0.42rem;
  padding: 0.45rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(8, 8, 8, 0.56);
  backdrop-filter: blur(8px);
}

.slider-indicators span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.slider-indicators span.is-active {
  transform: scale(1.18);
  background: var(--gold-soft);
}

.bruno-highlight {
  margin-top: 1rem;
  color: #eee2c7;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.bruno-highlight::before {
  content: "Assinatura institucional";
  display: block;
  color: var(--gold-soft);
  font-family: "Cinzel", serif;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  margin-bottom: 0.3rem;
}

.section-diferenciais {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.02), transparent);
}

.cards-grid {
  margin-top: 2.3rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.feature-card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    linear-gradient(180deg, rgba(191, 157, 79, 0.08), transparent 32%);
  padding: 1.5rem 1.4rem 1.35rem;
  min-height: 220px;
  display: grid;
  align-content: start;
  gap: 0.45rem;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.feature-card:hover {
  transform: translateY(-7px) scale(1.01);
  border-color: rgba(220, 196, 131, 0.46);
  box-shadow: 0 22px 34px rgba(0, 0, 0, 0.34);
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 0.28rem 0.72rem;
  margin-bottom: 0.45rem;
  background: rgba(207, 173, 83, 0.16);
  border: 1px solid rgba(242, 215, 139, 0.36);
  color: #f0dfba;
  font-family: "Cinzel", serif;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

.feature-card h3 {
  font-size: 1.12rem;
  line-height: 1.3;
  margin-bottom: 0.24rem;
}

.feature-card p {
  color: #d8d1c4;
}

@keyframes gallerySlideIn {
  from {
    opacity: 0;
    transform: scale(1.035);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.gallery-slider {
  margin: 2rem auto 0;
  position: relative;
  width: fit-content;
  max-width: 100%;
}

.gallery-slide {
  display: none;
  position: relative;
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.42);
}

.gallery-slide.is-active {
  display: block;
  animation: gallerySlideIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.gallery-slide img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 76vh;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
}

.gallery-slide.is-active img {
  transform: scale(1);
}

.gallery-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.42rem 0.68rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(8, 8, 8, 0.6);
  color: #ece6db;
  font-size: 0.73rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 3;
}

.services-showcase {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.service-block {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.012)),
    linear-gradient(180deg, rgba(191, 157, 79, 0.08), transparent 34%);
  padding: 1.35rem;
  box-shadow: var(--shadow-soft);
}

.service-block h3 {
  margin-bottom: 0.9rem;
}

.service-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.62rem;
}

.service-list li {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 0.84rem 0.9rem;
  background: rgba(8, 8, 8, 0.3);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.service-list li:hover,
.service-list li.is-open {
  border-color: rgba(220, 196, 131, 0.36);
  background: rgba(12, 12, 12, 0.52);
}

.service-list h4 {
  font-family: "Cinzel", serif;
  font-size: 0.95rem;
  color: #efe4cc;
  margin: 0;
  letter-spacing: 0.02em;
}

.service-list p {
  color: #d4cdc0;
  font-size: 0.9rem;
  line-height: 1.62;
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-4px);
  transition: max-height 0.35s ease, opacity 0.3s ease, transform 0.3s ease, margin-top 0.3s ease;
}

.service-list li:hover p,
.service-list li:focus-within p,
.service-list li.is-open p {
  margin-top: 0.45rem;
  max-height: 380px;
  opacity: 1;
  transform: translateY(0);
}

.service-list button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  width: 100%;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.service-list button:focus-visible {
  outline: 2px solid rgba(220, 196, 131, 0.56);
  outline-offset: 3px;
  border-radius: 6px;
}

.section-cta {
  padding-top: 4rem;
}

.cta-box {
  border: 1px solid rgba(220, 196, 131, 0.38);
  border-radius: 26px;
  padding: 2.2rem;
  background:
    linear-gradient(115deg, rgba(152, 123, 55, 0.16), rgba(255, 255, 255, 0.01)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(255, 255, 255, 0.01));
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.cta-box h2 {
  font-size: clamp(2rem, 3.8vw, 3.3rem);
  margin-bottom: 0.9rem;
}

.cta-box .btn-primary {
  box-shadow: 0 10px 24px rgba(184, 150, 74, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.btn-trinks {
  border-color: rgba(220, 196, 131, 0.52);
  background: linear-gradient(135deg, rgba(220, 196, 131, 0.2), rgba(220, 196, 131, 0.08));
  color: #f4e7ca;
}

.btn-trinks:hover {
  border-color: rgba(220, 196, 131, 0.72);
  box-shadow: 0 0 0 3px rgba(184, 150, 74, 0.16), 0 12px 24px rgba(0, 0, 0, 0.28);
}

.cta-box p {
  max-width: 64ch;
  margin-bottom: 1.2rem;
}

.footer {
  border-top: 1px solid var(--line);
  margin-top: 5rem;
  padding: 2.3rem 0;
  background: rgba(0, 0, 0, 0.35);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 1.5rem;
}

.footer h3,
.footer h4 {
  margin-bottom: 0.6rem;
}

.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 0.9rem;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.42));
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
}

.footer strong {
  color: #f0eadf;
  font-weight: 600;
}

.footer a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer a:hover {
  color: #efe0b4;
}

.footer p + p {
  margin-top: 0.45rem;
}

.footer p,
.footer a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-content,
  .split-layout {
    grid-template-columns: 1fr;
  }

  .bruno-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
  }

  .authority-slider {
    justify-self: center;
    max-width: 520px;
  }

  .nav {
    gap: 1rem;
  }

  .nav a {
    font-size: 0.88rem;
  }

  .btn-nav {
    padding-inline: 1rem;
  }

  .hero-photo,
  .hero-photo img {
    min-height: 420px;
  }

  .about-photo {
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-slide img {
    max-height: 60vh;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-block;
  }

  .nav {
    position: fixed;
    top: 86px;
    left: 1rem;
    right: 1rem;
    display: grid;
    gap: 0.9rem;
    padding: 1.2rem;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(10, 10, 10, 0.95);
    z-index: 130;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hero {
    min-height: auto;
    padding: 7rem 0 3rem;
  }

  .hero-content {
    gap: 1.6rem;
  }

  .hero-badge {
    left: 1rem;
  }

  .gallery-caption {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 1.4rem, var(--container));
  }

  .section {
    padding: 5rem 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
  }

  .hero-metas {
    gap: 0.4rem;
  }

  .btn {
    width: 100%;
    min-height: 48px;
  }

  .cards-grid,
  .services-showcase,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-description {
    font-size: 1rem;
  }

  .cta-box {
    padding: 1.5rem;
  }

  .cta-box h2 {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .hero-badge {
    left: 0.7rem;
    right: 0.7rem;
    max-width: none;
  }

  .gallery-caption {
    font-size: 0.68rem;
  }

  .gallery-slide img {
    max-height: 58vh;
  }

  .about-photo {
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .authority-slider {
    max-width: 100%;
  }

  .service-list li:hover p {
    max-height: 0;
    opacity: 0;
    transform: translateY(-4px);
    margin-top: 0;
  }

  .service-list li.is-open p,
  .service-list li:focus-within p {
    margin-top: 0.45rem;
    max-height: 420px;
    opacity: 1;
    transform: translateY(0);
  }

  .service-block {
    padding: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
