:root {
  --red: #e80020;
  --red-dark: #c9001b;
  --red-deep: #a90018;
  --ink: #202126;
  --muted: #686b73;
  --line: #dedfe3;
  --soft: #f1f1f2;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(57, 0, 8, 0.18);
  --radius: 16px;
  --container: 1180px;
  --header-height: 82px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, Montserrat, "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #ffe16b;
  outline-offset: 3px;
}

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

.narrow {
  width: min(calc(100% - 48px), 820px);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10000;
  padding: 10px 16px;
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
  transform: translateY(-150%);
}

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

.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;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: 82px;
  color: var(--white);
  transition: background 0.25s ease, box-shadow 0.25s ease, height 0.25s ease;
}

.site-header.scrolled {
  height: 72px;
  background: rgba(205, 0, 27, 0.96);
  box-shadow: 0 8px 30px rgba(72, 0, 10, 0.2);
  backdrop-filter: blur(12px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  flex: 0 0 auto;
}

.brand img,
.site-footer .footer-about > img {
  width: 150px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.main-nav a:not(.nav-search)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--white);
  transition: right 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--white);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  right: 0;
}

.nav-search svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 4px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  position: relative;
  min-height: 780px;
  padding: 130px 0 60px;
  overflow: hidden;
  color: var(--white);
  background: var(--red);
}

.hero-pattern,
.hero-pattern::before,
.hero-pattern::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-pattern {
  opacity: 0.82;
  background:
    linear-gradient(45deg, transparent 0 49%, rgba(160, 0, 24, 0.18) 49% 51%, transparent 51%) 0 0 / 260px 260px,
    linear-gradient(135deg, rgba(120, 0, 18, 0.18) 0 25%, transparent 25% 75%, rgba(255, 45, 67, 0.13) 75%) 0 0 / 320px 320px;
}

.hero-pattern::before {
  content: "";
  background:
    linear-gradient(90deg, rgba(145, 0, 21, 0.32) 50%, transparent 50%) 7% 24% / 180px 120px,
    linear-gradient(rgba(245, 0, 35, 0.16) 50%, transparent 50%) 80% 8% / 220px 150px;
}

.hero-pattern::after {
  content: "";
  background: radial-gradient(circle at 51% 48%, rgba(255, 46, 70, 0.36), transparent 42%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  align-items: center;
  gap: clamp(54px, 7vw, 100px);
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.74);
}

.hero h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(2.45rem, 5vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 610px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.06rem;
}

.hero-message {
  width: min(100%, 640px);
  margin: 0 auto 24px;
  text-align: left;
}

.hero-message h1 {
  max-width: 640px;
  font-size: clamp(1.85rem, 2.7vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-transform: none;
}

.hero-message .hero-copy {
  max-width: 620px;
  margin-top: 13px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
  line-height: 1.55;
}

.hero-image {
  width: min(100%, 640px);
  max-width: 100%;
  height: auto;
  margin: 0;
  border-radius: 10px;
  box-shadow: 0 30px 70px rgba(85, 0, 12, 0.28);
}

.outline-button,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 7px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.outline-button {
  margin-top: 24px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  color: var(--white);
}

.outline-button:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.hero-actions {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  width: min(100%, 640px);
  margin-top: 24px;
}

.hero-network-button,
.hero-actions .outline-button {
  min-height: 48px;
  padding: 9px 18px;
  border: 1px solid var(--white);
  border-radius: 7px;
  color: var(--red);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(83, 0, 12, 0.2);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.045em;
  text-align: center;
  text-transform: uppercase;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.hero-actions .outline-button {
  flex: 0 0 auto;
  margin-top: 0;
}

.hero-network-button {
  display: inline-flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
}

.hero-network-button svg {
  flex: 0 0 auto;
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.hero-network-button:hover,
.hero-actions .outline-button:hover {
  color: var(--red-dark);
  background: var(--white);
  box-shadow: 0 17px 38px rgba(83, 0, 12, 0.28);
  transform: translateY(-2px);
}

.lead-card {
  padding: clamp(26px, 4vw, 46px);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

.lead-card-heading span {
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lead-card h2 {
  margin: 6px 0 24px;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.25;
}

.lead-form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 4px;
}

.field > span {
  color: #44464d;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.field input,
.field select {
  width: 100%;
  height: 42px;
  padding: 0 2px;
  border: 0;
  border-bottom: 1px solid #bfc1c8;
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  font-size: 0.93rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input::placeholder {
  color: #9a9ca3;
}

.field input:focus,
.field select:focus {
  border-color: var(--red);
  box-shadow: 0 2px 0 -1px var(--red);
}

.field.invalid input,
.field.invalid select {
  border-color: #bc1d2e;
}

.field-error {
  min-height: 0;
  color: #ae1829;
  font-size: 0.71rem;
  line-height: 1.35;
}

.field-error:empty {
  display: none;
}

.field-row {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 18px;
}

.privacy-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.privacy-consent input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--red);
}

.privacy-consent a {
  color: var(--red);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-consent:has(input[aria-invalid="true"]) {
  color: #ae1829;
}

.privacy-error {
  margin-top: -6px;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.primary-button {
  border: 0;
  color: var(--white);
  background: var(--red);
  cursor: pointer;
}

.primary-button:hover {
  background: var(--red-dark);
  box-shadow: 0 12px 28px rgba(232, 0, 32, 0.24);
  transform: translateY(-2px);
}

.submit-button {
  width: 100%;
  margin-top: 10px;
  gap: 10px;
}

.submit-button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.submit-button[disabled] {
  cursor: wait;
  opacity: 0.7;
}

.form-status {
  display: none;
  margin: 0;
  padding: 10px 12px;
  border-radius: 7px;
  font-size: 0.82rem;
  line-height: 1.45;
}

.form-status.visible {
  display: block;
}

.form-status.success {
  color: #175b33;
  background: #eaf8ef;
}

.form-status.error {
  color: #8c1422;
  background: #fff0f2;
}

.whatsapp-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 16px;
  border-radius: 7px;
  color: var(--white);
  background: #1da851;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.whatsapp-button[hidden] {
  display: none;
}

.whatsapp-button:hover {
  background: #168b42;
  box-shadow: 0 10px 24px rgba(29, 168, 81, 0.25);
  transform: translateY(-2px);
}

.whatsapp-button b {
  flex: 0 0 auto;
  font-size: 1rem;
}

.hero-steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 52px;
}

.hero-steps a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-steps strong {
  color: var(--white);
  font-size: 0.88rem;
}

.section {
  padding: clamp(80px, 10vw, 128px) 0;
}

.section-heading {
  margin-bottom: 56px;
}

.section-heading.centered {
  text-align: center;
}

.script-label {
  margin: 0 0 4px;
  color: #51535a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-style: italic;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.section-heading h2 span {
  position: relative;
}

.section-heading h2 span::after,
.section-heading.centered > h2::after {
  content: "";
  display: block;
  width: 46px;
  height: 2px;
  margin: 16px auto 0;
  background: var(--red);
}

.story {
  background: var(--white);
}

.story-copy {
  color: #5e6067;
  text-align: center;
}

.story-copy p {
  margin: 0 0 20px;
}

.story-copy p:last-child {
  margin-bottom: 0;
}

.stats {
  color: var(--white);
  background: var(--red);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat {
  display: grid;
  align-content: center;
  min-height: 190px;
  padding: 35px clamp(25px, 5vw, 68px);
  border-inline-start: 1px solid rgba(255, 255, 255, 0.2);
}

.stat:last-child {
  border-inline-end: 1px solid rgba(255, 255, 255, 0.2);
}

.stat strong {
  font-size: clamp(2.1rem, 4vw, 3.65rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.stat strong[data-counter] {
  position: relative;
  display: block;
  transform-origin: left center;
  will-change: opacity, filter, transform;
}

.stat strong[data-counter].counter-ready {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(30px) scale(0.96);
}

.stat strong[data-counter].counter-running {
  animation: counter-roll-focus 2.1s cubic-bezier(0.16, 1, 0.3, 1) var(--counter-delay, 0ms) both;
}

.stat strong[data-counter].counter-finished {
  opacity: 1;
  filter: none;
  transform: none;
}

@keyframes counter-roll-focus {
  0% {
    opacity: 0;
    filter: blur(8px);
    text-shadow: 0 18px 18px rgba(255, 255, 255, 0.22);
    transform: translateY(30px) scale(0.96);
  }
  18% {
    opacity: 1;
  }
  58% {
    filter: blur(1.5px);
    text-shadow: 0 8px 12px rgba(255, 255, 255, 0.16);
    transform: translateY(4px) scale(0.995);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    text-shadow: none;
    transform: translateY(0) scale(1);
  }
}

.stat span {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 48px;
  border-top: 1px solid var(--line);
}

.benefit {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  min-height: 150px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.check-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  border: 2px solid var(--red);
  border-radius: 50%;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 900;
}

.benefit h3 {
  margin: 0 0 7px;
  color: var(--red);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.benefit p {
  margin: 0;
  color: var(--muted);
  font-size: 0.91rem;
}

.structure,
.blog {
  background: #dededf;
}

.video-card {
  position: relative;
  display: block;
  width: min(100%, 900px);
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 4px;
  background: #111;
  box-shadow: 0 25px 70px rgba(27, 27, 30, 0.16);
  cursor: pointer;
}

.video-embed {
  width: min(100%, 900px);
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 4px;
  background: #111;
  box-shadow: 0 25px 70px rgba(27, 27, 30, 0.16);
}

.video-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(21, 0, 4, 0.74));
  transition: background 0.2s ease;
}

.video-card:hover::after {
  background: linear-gradient(180deg, rgba(232, 0, 32, 0.08), rgba(21, 0, 4, 0.8));
}

.video-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-card:hover img {
  transform: scale(1.02);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border: 6px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  box-shadow: 0 12px 30px rgba(141, 0, 20, 0.35);
  transform: translate(-50%, -50%);
}

.play-button svg {
  width: 32px;
  fill: currentColor;
}

.video-caption {
  position: absolute;
  z-index: 2;
  left: 28px;
  right: 28px;
  bottom: 24px;
  display: grid;
  color: var(--white);
  text-align: left;
}

.video-caption strong {
  font-size: 1.22rem;
}

.video-caption small {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.79rem;
}

.testimonials {
  padding: 54px 0;
  color: var(--white);
  background: var(--red);
}

.testimonial-shell {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
}

.testimonial-icon {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border: 2px solid rgba(255, 255, 255, 0.74);
}

.testimonial-icon svg {
  width: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.testimonial-track {
  position: relative;
  min-height: 112px;
}

.testimonial {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.testimonial.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.testimonial.has-photo {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
}

.testimonial-photo {
  width: 76px;
  height: 76px;
  border: 3px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  object-fit: cover;
}

.testimonial p {
  max-width: 780px;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.9);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 2vw, 1.42rem);
  font-style: italic;
  line-height: 1.55;
}

.testimonial cite {
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.testimonial-controls {
  display: flex;
  gap: 8px;
}

.testimonial-controls button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  color: var(--white);
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.testimonial-controls button:hover {
  background: rgba(255, 255, 255, 0.14);
}

.section-intro {
  max-width: 760px;
  margin: 22px auto 0;
  color: var(--muted);
}

.unit-filters {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(150px, 0.32fr) auto auto;
  align-items: center;
  gap: 10px;
  max-width: 880px;
  margin: -8px auto 38px;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(32, 33, 38, 0.06);
}

.unit-filters input,
.unit-filters select {
  width: 100%;
  height: 46px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: var(--white);
}

.unit-filters button {
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  color: var(--white);
  background: var(--red);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}

.unit-filters > a {
  padding: 10px 6px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
  white-space: nowrap;
}

.units-empty {
  padding: 56px 24px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--white);
  text-align: center;
}

.units-empty strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
}

.units-empty p {
  margin: 5px 0 0;
}

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

.units-carousel {
  --units-gap: 22px;
  --units-visible: 3;
}

.units-carousel.is-enhanced .units-viewport {
  margin: -8px 0 -20px;
  padding: 8px 0 20px;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.units-carousel.is-enhanced.is-dragging .units-viewport {
  cursor: grabbing;
}

.units-carousel.is-enhanced .units-grid {
  display: flex;
  width: 100%;
  gap: var(--units-gap);
  will-change: transform;
}

.units-carousel.is-enhanced .unit-card {
  flex: 0 0 calc((100% - (var(--units-gap) * (var(--units-visible) - 1))) / var(--units-visible));
}

.units-carousel.is-enhanced img {
  -webkit-user-drag: none;
}

.unit-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 14px 35px rgba(32, 33, 38, 0.08);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.unit-card:hover {
  box-shadow: 0 22px 48px rgba(32, 33, 38, 0.14);
  transform: translateY(-4px);
}

.unit-card-link {
  display: block;
}

.unit-card img {
  width: 100%;
  aspect-ratio: 1.3 / 1;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.unit-card:hover img {
  transform: scale(1.045);
}

.unit-card h3 {
  margin: 0;
  color: var(--red);
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-align: center;
  text-transform: uppercase;
}

.unit-card h3 .unit-name {
  color: var(--ink);
}

.unit-card-content {
  min-height: 126px;
  padding: 18px 18px 16px;
  text-align: center;
}

.unit-card-content p {
  display: -webkit-box;
  margin: 8px 0 12px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.unit-card-content > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.unit-card-content > span b {
  color: var(--red);
  font-size: 1rem;
}

.units-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 42px;
}

.units-pagination a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.units-pagination a:hover {
  border-color: var(--red);
  color: var(--red);
}

.units-pagination a.active {
  border-color: var(--red);
  color: var(--white);
  background: var(--red);
}

.units-pagination .pagination-arrow {
  font-size: 1rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.post-card {
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 15px 40px rgba(25, 25, 28, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.post-card:hover {
  box-shadow: 0 25px 55px rgba(25, 25, 28, 0.13);
  transform: translateY(-5px);
}

.post-image {
  position: relative;
  overflow: hidden;
}

.post-image-link {
  display: block;
}

.post-image img {
  width: 100%;
  aspect-ratio: 1.62 / 1;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.post-card:hover .post-image img {
  transform: scale(1.04);
}

.post-image time {
  position: absolute;
  left: 18px;
  bottom: 0;
  display: grid;
  place-items: center;
  width: 54px;
  height: 62px;
  color: var(--white);
  background: var(--red);
  font-size: 0.66rem;
  line-height: 1;
  pointer-events: none;
  text-transform: uppercase;
}

.post-image time strong {
  font-size: 1.45rem;
}

.post-content {
  padding: 24px 24px 28px;
}

.post-content > span {
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-content h3 {
  margin: 8px 0 10px;
  font-size: 1.08rem;
  line-height: 1.35;
}

.post-content h3 a {
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: none;
  transition: color 0.2s ease;
}

.post-content h3 a:hover {
  color: var(--red);
}

.post-content p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.post-content .post-author {
  margin: -6px 0 16px;
  color: var(--ink);
  font-size: 0.72rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.post-content .post-author strong {
  color: var(--red);
}

.post-content > a {
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer {
  padding: 80px 0 24px;
  color: var(--white);
  background: var(--red);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 0.7fr 0.8fr;
  gap: clamp(44px, 8vw, 100px);
}

.footer-about p {
  max-width: 470px;
  margin: 24px 0 18px;
  color: rgba(255, 255, 255, 0.75);
}

.footer-about address {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  font-style: normal;
}

.footer-about address a {
  font-weight: 800;
}

.social-links {
  display: flex;
  gap: 8px;
  margin-top: 22px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
}

.social-links a:hover {
  color: var(--red);
  background: var(--white);
}

.footer-nav,
.instagram-grid {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-nav h2,
.instagram-grid h2 {
  margin: 0 0 16px;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

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

.instagram-grid > div {
  display: grid;
  grid-template-columns: repeat(3, 58px);
  gap: 4px;
}

.instagram-grid img {
  width: 58px;
  height: 58px;
  object-fit: cover;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 58px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.75rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: var(--white);
  font-weight: 700;
}

.mobile-franchise-cta {
  display: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.mobile-franchise-cta.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(90px);
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 4, 6, 0.8);
  backdrop-filter: blur(7px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  width: min(100%, 980px);
  max-height: min(86vh, 650px);
  overflow: auto;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.35);
}

.modal-panel > img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.modal-panel > div:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 44px;
}

.modal-panel h2 {
  margin: 0 0 12px;
  font-size: 2rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.modal-panel p:not(.script-label) {
  margin: 0 0 24px;
  color: var(--muted);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  font-size: 1.5rem;
  cursor: pointer;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 4000;
  max-width: min(390px, calc(100% - 44px));
  padding: 14px 18px;
  border-radius: 9px;
  color: var(--white);
  background: #1d663c;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

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

  .main-nav a {
    font-size: 0.7rem;
  }

  .hero-grid {
    grid-template-columns: 1fr 390px;
    gap: 40px;
  }

  .benefits-grid {
    gap: 0 28px;
  }
}

@media (max-width: 860px) {
  .container,
  .narrow {
    width: min(calc(100% - 36px), var(--container));
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 2;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    padding: 100px max(28px, 8vw) 50px;
    color: var(--white);
    background: rgba(181, 0, 25, 0.985);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  }

  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav a {
    font-size: 1.15rem;
  }

  .nav-search {
    display: none;
  }

  .hero {
    padding-top: 116px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero-visual {
    text-align: center;
  }

  .hero-message {
    text-align: center;
  }

  .hero h1,
  .hero-copy {
    margin-inline: auto;
  }

  .hero-image {
    margin-inline: auto;
  }

  .lead-card {
    width: min(100%, 600px);
    margin-inline: auto;
  }

  .hero-steps {
    margin-top: 58px;
  }

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

  .stats-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .stat {
    min-height: 145px;
    padding-inline: 36px;
    border-inline: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
  }

  .stat:last-child {
    border-inline-end: 0;
    border-bottom: 0;
  }

  .units-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .units-carousel {
    --units-visible: 2;
  }

  .blog-grid .post-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 14px);
    margin-inline: auto;
  }

  .testimonial-shell {
    grid-template-columns: 74px 1fr;
  }

  .testimonial-icon {
    width: 70px;
    height: 70px;
  }

  .testimonial-controls {
    grid-column: 2;
  }

  .footer-grid {
    grid-template-columns: 1.35fr 0.65fr;
  }

  .instagram-grid {
    grid-column: 1 / -1;
  }

  .instagram-grid > div {
    grid-template-columns: repeat(6, 58px);
  }
}

@media (max-width: 600px) {
  body.has-mobile-cta {
    padding-bottom: 66px;
  }

  .container,
  .narrow {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-header,
  .site-header.scrolled {
    height: 68px;
  }

  .brand img {
    width: 126px;
  }

  .hero {
    min-height: auto;
    padding: 104px 0 38px;
  }

  .hero h1 {
    font-size: clamp(2.18rem, 11vw, 3.35rem);
  }

  .hero-message {
    margin-bottom: 20px;
  }

  .hero-message h1 {
    font-size: clamp(1.7rem, 8vw, 2.35rem);
  }

  .hero-copy {
    font-size: 0.98rem;
  }

  .hero-message .hero-copy {
    font-size: 0.94rem;
  }

  .hero-actions {
    gap: 8px;
    margin-top: 20px;
  }

  .hero-network-button {
    width: auto;
    padding-inline: 10px;
    font-size: 0.67rem;
  }

  .hero-actions .outline-button {
    padding-inline: 13px;
    font-size: 0.7rem;
  }

  .hero-image {
    border-radius: 7px;
  }

  .lead-card {
    padding: 25px 20px;
    border-radius: 12px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .hero-steps a {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .section {
    padding: 76px 0;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .story-copy {
    text-align: left;
  }

  .benefits-grid,
  .units-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .units-carousel {
    --units-gap: 16px;
    --units-visible: 1;
  }

  .benefit {
    min-height: auto;
  }

  .blog-grid .post-card:last-child {
    grid-column: auto;
    width: auto;
  }

  .video-card {
    border-radius: 0;
  }

  .video-embed {
    border-radius: 0;
  }

  .play-button {
    width: 62px;
    height: 62px;
    border-width: 4px;
  }

  .play-button svg {
    width: 26px;
  }

  .video-caption {
    left: 16px;
    right: 16px;
    bottom: 13px;
  }

  .video-caption strong {
    font-size: 0.95rem;
  }

  .video-caption small {
    display: none;
  }

  .testimonials {
    padding: 48px 0;
  }

  .testimonial-shell {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .testimonial-icon {
    margin-inline: auto;
  }

  .testimonial-controls {
    grid-column: auto;
    justify-content: center;
  }

  .testimonial-track {
    min-height: 180px;
  }

  .testimonial.has-photo {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
  }

  .testimonial-photo {
    width: 68px;
    height: 68px;
  }

  .unit-filters {
    grid-template-columns: 1fr;
    margin-top: -4px;
    padding: 12px;
  }

  .unit-filters > a {
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .instagram-grid {
    grid-column: auto;
  }

  .instagram-grid > div {
    grid-template-columns: repeat(3, 74px);
  }

  .instagram-grid img {
    width: 74px;
    height: 74px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-franchise-cta {
    position: fixed;
    right: 12px;
    bottom: 10px;
    left: 12px;
    z-index: 1900;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    color: var(--white);
    background: var(--red);
    box-shadow: 0 12px 30px rgba(77, 0, 11, 0.28);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .modal-panel {
    grid-template-columns: 1fr;
  }

  .modal-panel > img {
    min-height: 200px;
    max-height: 240px;
  }

  .modal-panel > div:last-child {
    padding: 30px 24px;
  }

  .modal-panel h2 {
    font-size: 1.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Página interna de artigo */
.article-site-header {
  background: var(--red);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.article-back {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-page {
  min-height: 70vh;
  padding-top: var(--header-height);
}

.article-hero {
  background: var(--red);
  color: #fff;
  padding: clamp(72px, 10vw, 132px) 0 clamp(58px, 8vw, 100px);
}

.article-heading {
  max-width: 900px;
  text-align: center;
}

.article-heading .eyebrow {
  color: #fff;
}

.article-heading h1 {
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.05;
  margin: 14px auto 22px;
  max-width: 920px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
  align-items: center;
}

.article-heading time,
.article-author,
.article-views {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  opacity: 0.85;
  text-transform: uppercase;
}

.article-author strong {
  color: #fff;
}

.article-content {
  max-width: 900px;
  margin-bottom: 0;
  padding-bottom: 40px;
}

.article-cover {
  aspect-ratio: 16 / 8.5;
  border-radius: 18px;
  box-shadow: 0 24px 65px rgba(33, 37, 41, 0.14);
  display: block;
  margin: clamp(-48px, -5vw, -70px) auto 48px;
  object-fit: cover;
  position: relative;
  width: 100%;
}

.article-lead {
  color: var(--text);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  font-weight: 600;
  line-height: 1.75;
  margin: 54px 0 34px;
}

.article-cover + .article-lead {
  margin-top: 0;
}

.article-copy {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.95;
}

.article-copy p {
  margin: 0 0 1.5em;
}

.article-copy h2,
.article-copy h3 {
  color: var(--ink);
  line-height: 1.25;
}

.article-copy h2 {
  margin: 2.1em 0 0.65em;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.article-copy h3 {
  margin: 1.8em 0 0.55em;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.article-copy ul,
.article-copy ol {
  margin: 0 0 1.6em;
  padding-left: 1.6em;
}

.article-copy li + li {
  margin-top: 0.45em;
}

.article-copy blockquote {
  margin: 2em 0;
  padding: 18px 22px;
  border-left: 4px solid var(--red);
  color: var(--ink);
  background: #f5f5f6;
  font-size: 1.08rem;
  font-style: italic;
}

.article-copy a {
  color: var(--red);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-cta {
  align-items: center;
  background: var(--red);
  border-radius: 7px;
  color: #fff;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 800;
  gap: 14px;
  letter-spacing: 0.05em;
  margin-top: 25px;
  margin-bottom: 0;
  padding: 18px 24px;
  text-transform: uppercase;
}

.article-popular {
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.article-popular-heading {
  margin-bottom: 30px;
  text-align: center;
}

.article-popular-heading > span {
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-popular-heading h2 {
  margin: 7px 0 0;
  color: var(--ink);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.15;
}

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

.article-popular-card {
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 14px 38px rgba(25, 25, 28, 0.09);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.article-popular-card:hover {
  box-shadow: 0 21px 48px rgba(25, 25, 28, 0.14);
  transform: translateY(-4px);
}

.article-popular-image {
  display: block;
  overflow: hidden;
  background: #e6e6e8;
}

.article-popular-image img,
.article-popular-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 1.55 / 1;
}

.article-popular-image img {
  object-fit: cover;
  transition: transform 0.4s ease;
}

.article-popular-card:hover .article-popular-image img {
  transform: scale(1.045);
}

.article-popular-placeholder {
  display: grid;
  place-items: center;
  color: #9b9ca1;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-popular-content {
  padding: 19px 18px 22px;
}

.article-popular-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--red);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.article-popular-meta small {
  color: var(--muted);
  font: inherit;
  white-space: nowrap;
}

.article-popular-content h3 {
  margin: 10px 0 18px;
  font-size: 0.94rem;
  line-height: 1.4;
}

.article-popular-content h3 a {
  color: var(--ink);
  transition: color 0.2s ease;
}

.article-popular-content h3 a:hover {
  color: var(--red);
}

.article-popular-more {
  color: var(--red);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.article-footer {
  background: #171717;
  color: rgba(255, 255, 255, 0.62);
  margin-top: 0;
  padding: 34px 0;
}

.article-footer .container {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.article-footer img {
  width: 180px;
  max-width: 60%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .article-content {
    padding-bottom: 25px;
  }

  .article-popular-grid {
    grid-template-columns: 1fr;
  }

  .article-popular-card {
    display: grid;
    grid-template-columns: minmax(180px, 0.8fr) 1fr;
  }

  .article-popular-image,
  .article-popular-image img,
  .article-popular-placeholder {
    height: 100%;
  }
}

.article-footer p {
  font-size: 0.72rem;
  margin: 0;
}

@media (max-width: 640px) {
  .article-back {
    font-size: 0.68rem;
  }

  .article-cover {
    border-radius: 10px;
    margin-bottom: 34px;
  }

  .article-popular {
    margin-top: 56px;
    padding-top: 40px;
  }

  .article-popular-card {
    display: flex;
    flex-direction: column;
  }

  .article-popular-image,
  .article-popular-image img,
  .article-popular-placeholder {
    height: auto;
  }

  .article-popular-content {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    color: var(--ink);
    background: var(--white);
  }

  .article-footer .container {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
}

/* Página de detalhes da unidade */
.unit-detail-page {
  min-height: 75vh;
  padding-top: var(--header-height);
}

.unit-related {
  background: var(--white);
}

.unit-related .section-heading {
  margin-bottom: 42px;
}

.unit-card-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1.3 / 1;
  color: #989ba2;
  background: #dedfe2;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.unit-detail-hero {
  padding: clamp(50px, 8vw, 105px) 0;
  background: #f2f2f3;
}

.unit-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: clamp(38px, 7vw, 90px);
  align-items: center;
}

.unit-detail-media {
  min-height: 420px;
  overflow: hidden;
  background: #dedfe2;
  box-shadow: 0 24px 65px rgba(33, 37, 41, 0.14);
}

.unit-detail-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.unit-detail-placeholder {
  display: grid;
  place-items: center;
  min-height: 420px;
  color: #989ba2;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.unit-detail-content h1 {
  margin: 4px 0 8px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.04;
  text-transform: uppercase;
}

.unit-detail-location {
  margin: 0;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.unit-detail-info {
  display: grid;
  gap: 0;
  margin: 34px 0;
}

.unit-detail-info div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid #d5d6d9;
}

.unit-detail-info dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.unit-detail-info dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
}

.unit-detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.unit-detail-actions .primary-button {
  min-height: 50px;
}

.unit-contact-link {
  padding: 14px 5px;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.unit-network-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #d5d6d9;
  color: var(--muted);
  font-size: 0.78rem;
}

.unit-network-contact span {
  width: 100%;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.unit-network-contact a {
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 860px) {
  .unit-detail-grid {
    grid-template-columns: 1fr;
  }

  .unit-detail-media,
  .unit-detail-media img,
  .unit-detail-placeholder {
    min-height: 320px;
  }
}

@media (max-width: 560px) {
  .unit-detail-hero {
    padding: 32px 0 60px;
  }

  .unit-detail-info div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .unit-detail-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .unit-detail-actions a {
    justify-content: center;
    text-align: center;
  }
}
