@font-face {
  font-family: "Montserrat";
  src: url("./assets/fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Tactic";
  src: url("./assets/fonts/TacticSansExtExd-Bld.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #050608;
  --ink-soft: #161a1f;
  --paper: #f7f7f4;
  --paper-strong: #ffffff;
  --line: rgba(255, 255, 255, 0.18);
  --line-dark: rgba(5, 6, 8, 0.12);
  --muted: #6b717a;
  --blue: #1d55b7;
  --blue-strong: #0c43a1;
  --steel: #d8dde6;
  --warm: #c8a46a;
  --max: 1180px;
  --header: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper-strong);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

svg {
  flex: 0 0 auto;
}

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  background: var(--paper-strong);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 4px;
}

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

.container {
  width: 100%;
  max-width: calc(var(--max) + 40px);
  margin-inline: auto;
  padding-inline: 20px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  min-height: var(--header);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 12px max(20px, calc((100vw - var(--max)) / 2));
  background: rgba(5, 6, 8, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 142px;
}

.brand img {
  width: 142px;
  height: auto;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  font-weight: 600;
}

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

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  background: var(--blue);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
  transition: background 180ms ease, transform 180ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: var(--blue-strong);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  color: white;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 84svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  overflow: hidden;
  padding: calc(var(--header) + 24px) 0 22px;
  isolation: isolate;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg {
  background-image: url("./assets/img/casa-recife-render.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 6, 8, 0.96) 0%, rgba(5, 6, 8, 0.82) 48%, rgba(5, 6, 8, 0.42) 100%),
    linear-gradient(0deg, rgba(5, 6, 8, 0.94) 0%, rgba(5, 6, 8, 0.22) 46%, rgba(5, 6, 8, 0.6) 100%);
}

.hero-content {
  min-width: 0;
  width: 100%;
  max-width: 1040px;
}

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

.eyebrow.dark {
  color: var(--blue);
}

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

h1,
h2 {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 1040px;
  margin-bottom: 24px;
  font-size: clamp(2rem, 3.15vw, 2.95rem);
}

.hero h1 {
  max-width: 920px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(2.25rem, 4.4vw, 4.35rem);
  font-weight: 850;
  line-height: 1.02;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(1.85rem, 3.35vw, 3.35rem);
}

h3 {
  margin-bottom: 12px;
  color: inherit;
  font-size: clamp(1.05rem, 2vw, 1.34rem);
  line-height: 1.18;
}

.hero-copy {
  max-width: 710px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero-actions,
.center-action {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-size: 0.88rem;
  font-weight: 850;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--blue);
  color: white;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--blue-strong);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.28);
  color: white;
}

.section-light .btn-secondary {
  border-color: var(--line-dark);
  color: var(--ink);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--blue);
}

.hero-microcopy {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.trust-strip li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 700;
}

.trust-strip svg {
  width: 15px;
  height: 15px;
  color: rgba(200, 164, 106, 0.95);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section {
  scroll-margin-top: var(--header);
  padding: clamp(72px, 10vw, 128px) 0;
  background: var(--ink);
  color: var(--paper-strong);
}

.section-light {
  background: var(--paper);
  color: var(--ink);
}

.section-heading {
  max-width: 840px;
  margin-bottom: 44px;
}

.section-heading p,
.section-intro p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.72);
}

.section-light .section-heading p,
.section-light .section-intro p,
.authority-section p {
  color: #555d67;
}

.privacy-page {
  padding-top: calc(var(--header) + clamp(56px, 8vw, 92px));
}

.privacy-page .section-intro {
  max-width: 820px;
}

.privacy-page h1,
.privacy-page h2 {
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.18;
}

.privacy-page h1 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 850;
}

.privacy-page h2 {
  margin: 34px 0 10px;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  font-weight: 800;
}

.privacy-page p {
  max-width: 760px;
  color: #41474f;
  font-size: 1rem;
  line-height: 1.75;
}

.privacy-page a:not(.btn) {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.two-column,
.authority-grid,
.case-layout,
.services-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: start;
}

.need-list {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: white;
  box-shadow: 0 24px 60px rgba(5, 6, 8, 0.08);
}

.need-list ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.need-list li {
  position: relative;
  padding-left: 22px;
  color: #41474f;
}

.need-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
}

.conversion-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 45%),
    var(--ink);
}

.path-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.path-card,
.review-card {
  min-height: 100%;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: inherit;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.review-card:hover,
.review-card:focus-visible {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.085);
  transform: translateY(-2px);
  text-decoration: none;
}

.path-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--warm);
}

.card-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.path-card p,
.review-card p {
  color: rgba(255, 255, 255, 0.72);
}

.card-index {
  color: var(--warm);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.7rem;
  line-height: 1;
}

.text-link {
  margin-top: auto;
  color: white;
  font-weight: 850;
}

.text-link::after {
  content: " /";
  color: var(--blue);
}

.authority-section {
  background: var(--paper-strong);
  color: var(--ink);
}

.authority-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.authority-meta li {
  padding: 8px 12px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: #38404a;
  font-size: 0.8rem;
  font-weight: 850;
}

.authority-pillars {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.authority-pillars article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line-dark);
}

.authority-pillars span {
  grid-row: span 2;
  color: var(--blue);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.35rem;
  line-height: 1;
}

.authority-pillars h3 {
  margin: 0;
  font-size: 1.02rem;
}

.authority-pillars p {
  margin: 0;
}

.authority-figure {
  margin: 0;
}

.authority-figure img,
.case-media img,
.case-video,
.contact-copy img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 26px 80px rgba(5, 6, 8, 0.16);
}

.authority-figure img {
  display: block;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.authority-figure figcaption {
  margin-top: 12px;
  color: #5b626c;
  font-size: 0.88rem;
}

.featured-case {
  background:
    linear-gradient(90deg, rgba(29, 85, 183, 0.22), transparent 40%),
    #06101d;
}

.case-layout {
  align-items: center;
}

.case-media {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.case-video {
  display: block;
  max-width: 100%;
  height: clamp(520px, 58vw, 700px);
  aspect-ratio: 4 / 5;
  background: #0b111b url("./assets/img/casa-recife-drone.jpg") center / cover no-repeat;
}

.case-copy {
  min-width: 0;
}

.case-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.case-gallery figure {
  margin: 0;
}

.case-gallery img {
  display: block;
  aspect-ratio: 4 / 3;
}

.case-gallery figcaption {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.case-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.case-points {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.case-points div {
  padding: 20px;
  border-left: 2px solid var(--blue);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 0 8px 8px 0;
}

.experience-section {
  color: var(--ink);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.experience-card {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: white;
}

.edmais-card {
  grid-column: span 6;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: start;
}

.br-marina-card {
  grid-column: span 6;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: start;
}

.experience-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 6px;
  background: #eef1f4;
}

.experience-card > img {
  height: 390px;
  padding: 8px;
}

.experience-card--portrait > img {
  aspect-ratio: 4 / 5;
}

.experience-card--wide > img {
  aspect-ratio: 16 / 10;
}

.edmais-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.edmais-comparison figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #e9edf2;
}

.experience-card .edmais-comparison img {
  display: block;
  width: 100%;
  height: 390px;
  min-height: 0;
  border-radius: 0;
  padding: 8px;
}

.br-marina-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}

.br-marina-media img,
.br-marina-media video {
  display: block;
  width: 100%;
  height: 390px;
  min-width: 0;
  border-radius: 6px;
  background: #eef1f4;
  object-fit: cover;
  object-position: center;
}

.br-marina-media video {
  object-position: center;
}

.edmais-comparison figcaption {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(5, 6, 8, 0.78);
  color: white;
  font-size: 0.7rem;
  font-weight: 850;
  text-transform: uppercase;
}

.experience-card p {
  color: #555d67;
}

.experience-card strong {
  display: block;
  color: var(--ink);
  line-height: 1.35;
}

.tag {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.method-section {
  background:
    linear-gradient(180deg, rgba(29, 85, 183, 0.16), transparent 42%),
    var(--ink);
}

.method-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  background: var(--line);
  list-style: none;
  border: 1px solid var(--line);
}

.method-list li {
  min-height: 250px;
  padding: clamp(22px, 4vw, 34px);
  background: #080b10;
}

.method-list span {
  display: block;
  margin-bottom: 28px;
  color: var(--warm);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.9rem;
  line-height: 1;
}

.method-list p {
  color: rgba(255, 255, 255, 0.68);
}

.services-layout {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.service-groups {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: white;
}

summary {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 22px 24px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 850;
}

summary svg {
  width: 19px;
  height: 19px;
  color: var(--blue);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

summary::marker {
  color: var(--blue);
}

details ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 0;
  padding: 0 24px 24px;
  color: #4c535c;
  list-style: none;
}

.service-link {
  position: relative;
  display: block;
  min-height: 100%;
  padding-left: 18px;
  color: #3f4650;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease;
}

.service-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.service-link::after {
  content: " /";
  color: var(--blue);
  font-weight: 900;
}

.service-link:hover,
.service-link:focus-visible {
  color: var(--blue);
}

.reviews-section {
  background: #07101a;
}

.google-review-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.google-review-callout h3 {
  margin: 12px 0 10px;
  color: white;
}

.google-review-callout p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.review-card h3 {
  margin: 4px 0 0;
  color: white;
}

.review-card small {
  margin-top: auto;
  color: rgba(255, 255, 255, 0.52);
  font-weight: 750;
}

.review-person {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(29, 85, 183, 0.9), rgba(199, 185, 148, 0.72));
  color: white;
  font-size: 0.78rem;
  font-weight: 900;
}

.stars {
  color: var(--warm);
  letter-spacing: 0;
}

.contact-section {
  background:
    linear-gradient(90deg, rgba(29, 85, 183, 0.22), transparent 34%),
    var(--ink);
}

.contact-layout {
  align-items: center;
}

.contact-copy img {
  margin-top: 28px;
  aspect-ratio: 16 / 10;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row-full {
  grid-column: 1 / -1;
}

label {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  padding: 12px 14px;
  outline: none;
  transition: border-color 160ms ease, background 160ms ease;
}

select option {
  color: var(--ink);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  background: rgba(255, 255, 255, 0.12);
}

.field-error {
  min-height: 17px;
  color: #ffbd9f;
  font-size: 0.78rem;
}

.is-invalid {
  border-color: #ff9f7c;
}

.form-submit {
  grid-column: 1 / -1;
  width: 100%;
  border: 0;
  cursor: pointer;
}

.form-note {
  grid-column: 1 / -1;
  margin: -4px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.84rem;
}

.site-footer {
  padding: 52px 0 70px;
  background: #030405;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr 0.8fr;
  gap: 38px;
}

.site-footer img {
  width: 150px;
  margin-bottom: 18px;
}

address {
  font-style: normal;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.footer-links svg {
  width: 17px;
  height: 17px;
  color: rgba(200, 164, 106, 0.95);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: white;
}

.mobile-whatsapp {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 95;
  display: none;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: white;
  border-radius: 4px;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(5, 6, 8, 0.28);
}

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

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

@media (max-width: 980px) {
  :root {
    --header: 68px;
  }

  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .brand,
  .brand img {
    width: 124px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header) 0 auto;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 18px 20px 26px;
    background: rgba(5, 6, 8, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 200ms ease, opacity 200ms ease;
  }

  .menu-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 84svh;
    padding-bottom: 38px;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(5, 6, 8, 0.96) 0%, rgba(5, 6, 8, 0.76) 56%, rgba(5, 6, 8, 0.52) 100%),
      linear-gradient(90deg, rgba(5, 6, 8, 0.82), rgba(5, 6, 8, 0.38));
  }

  .two-column,
  .authority-grid,
  .case-layout,
  .services-layout,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .path-grid,
  .review-grid,
  .method-list {
    grid-template-columns: 1fr;
  }

  .google-review-callout {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .experience-card {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .experience-card > img {
    height: clamp(260px, 52vw, 360px);
  }

  .experience-card--portrait > img {
    aspect-ratio: 4 / 5;
  }

  .experience-card--wide > img {
    aspect-ratio: 16 / 10;
  }

  .experience-card .edmais-comparison img {
    height: clamp(240px, 42vw, 320px);
  }

  .br-marina-media img,
  .br-marina-media video {
    height: clamp(240px, 42vw, 320px);
  }

  .mobile-whatsapp {
    display: flex;
  }

  .site-footer {
    padding-bottom: 92px;
  }
}

@media (max-width: 640px) {
  .container {
    padding-inline: 14px;
  }

  .brand {
    width: 116px;
  }

  .brand img {
    width: 116px;
    height: 52px;
    object-fit: contain;
    object-position: left center;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(1.48rem, 6.2vw, 1.82rem);
    line-height: 1.06;
    overflow-wrap: normal;
    hyphens: manual;
  }

  .hero h1 {
    font-size: clamp(2rem, 8.8vw, 2.7rem);
    line-height: 1.04;
  }

  h2 {
    max-width: 100%;
    font-size: clamp(1.35rem, 5.65vw, 1.72rem);
    line-height: 1.08;
    overflow-wrap: normal;
    hyphens: manual;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .btn,
  .center-action .btn,
  .google-review-callout .btn {
    width: 100%;
  }

  .hero-copy {
    font-size: 0.95rem;
    line-height: 1.5;
  }

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

  .hero-actions .btn {
    min-height: 44px;
    padding-inline: 12px;
    font-size: 0.78rem;
  }

  .edmais-comparison {
    grid-template-columns: 1fr;
  }

  .br-marina-media {
    grid-template-columns: 1fr;
  }

  .case-gallery {
    grid-template-columns: 1fr;
  }

  .experience-card > img,
  .experience-card .edmais-comparison img,
  .br-marina-media img,
  .br-marina-media video {
    height: 260px;
  }

  .hero-microcopy {
    margin-top: 12px;
    font-size: 0.86rem;
  }

  .trust-strip {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .trust-strip::-webkit-scrollbar {
    display: none;
  }

  .trust-strip li {
    flex: 0 0 auto;
    padding: 7px 8px;
    text-align: center;
    font-size: 0.68rem;
    white-space: nowrap;
  }

  .section {
    padding: 68px 0;
  }

  .authority-pillars article,
  details ul,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .lead-form {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
