:root {
  --red: #b5122b;
  --red-dark: #8f0d20;
  --black: #101114;
  --ink: #24262b;
  --muted: #656a73;
  --paper: #f6f4ef;
  --surface: #ffffff;
  --soft: #ece9e2;
  --line: rgba(16,17,20,.13);
  --green: #25d366;
  --shadow-sm: 0 10px 30px rgba(16,17,20,.08);
  --shadow-lg: 0 28px 70px rgba(16,17,20,.14);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 34px;
  --max: 1240px;
  --header-height: 92px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
picture { display: block; }
a { color: inherit; text-underline-offset: .18em; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(181,18,43,.5); outline-offset: 4px; border-radius: 6px; }
::selection { background: rgba(181,18,43,.18); }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 1000;
  padding: 12px 16px;
  background: var(--black);
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246,244,239,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  transition: box-shadow .2s ease, background .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 26px rgba(16,17,20,.07); background: rgba(255,255,255,.96); }
.topbar { background: var(--black); color: #fff; font-size: .82rem; }
.topbar-inner {
  max-width: var(--max);
  margin: auto;
  min-height: 36px;
  padding: 6px 24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}
.topbar a { text-decoration: none; font-weight: 700; }
.topbar span { color: rgba(255,255,255,.7); }
.main-nav {
  max-width: var(--max);
  min-height: var(--header-height);
  margin: auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 220px;
  text-decoration: none;
}
.brand img { flex: 0 0 auto; object-fit: contain; }
.brand span { display: grid; line-height: 1.08; }
.brand strong { color: var(--black); font-size: 1.02rem; letter-spacing: -.01em; }
.brand small { max-width: 240px; margin-top: 5px; color: var(--muted); font-size: .68rem; font-weight: 600; }
.primary-menu { display: flex; align-items: center; gap: 18px; }
.primary-menu > a:not(.button), .nav-dropdown > button {
  position: relative;
  border: 0;
  background: transparent;
  padding: 12px 0;
  color: #3b3d43;
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.primary-menu > a:not(.button)::after, .nav-dropdown > button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 5px;
  height: 2px;
  background: var(--red);
  transition: right .2s ease;
}
.primary-menu > a:hover::after, .primary-menu > a[aria-current="page"]::after, .nav-dropdown > button:hover::after { right: 0; }
.primary-menu > a[aria-current="page"] { color: var(--red); }
.nav-dropdown { position: relative; }
.nav-dropdown > button { display: flex; align-items: center; gap: 7px; }
.nav-dropdown > button span { transition: transform .2s ease; }
.nav-dropdown > button[aria-expanded="true"] span { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: -24px;
  z-index: 20;
  min-width: 285px;
  padding: 12px;
  display: grid;
  gap: 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: .18s ease;
}
.nav-dropdown.is-open .dropdown-menu, .nav-dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 650;
  text-decoration: none;
}
.dropdown-menu a:hover, .dropdown-menu a:focus-visible { background: var(--paper); color: var(--red); }
.menu-toggle { display: none; }
.language-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.language-switcher a {
  padding: 7px 9px;
  border-radius: 8px;
  color: var(--muted);
  font-size: .74rem;
  font-weight: 800;
  text-decoration: none;
}
.language-switcher a[aria-current="true"] { background: var(--black); color: #fff; }
.lang-short { display: none; }

.button {
  min-height: 50px;
  padding: 12px 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--red);
  border-radius: 13px;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); background: var(--red-dark); border-color: var(--red-dark); box-shadow: 0 10px 22px rgba(181,18,43,.2); }
.button-outline { color: var(--black); background: transparent; border-color: rgba(16,17,20,.28); }
.button-outline:hover { color: var(--black); background: #fff; border-color: var(--black); box-shadow: var(--shadow-sm); }
.button-light { color: var(--black); background: #fff; border-color: #fff; }
.button-light:hover { color: var(--black); background: #f3f3f3; border-color: #f3f3f3; }
.button-whatsapp { color: #082d16; background: var(--green); border-color: var(--green); }
.button-whatsapp:hover { color: #082d16; background: #1fc65d; border-color: #1fc65d; box-shadow: 0 10px 22px rgba(37,211,102,.2); }
.nav-quote { min-height: 42px; padding: 10px 15px; font-size: .84rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.text-link { color: var(--red); font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

main { overflow: clip; }
h1, h2, h3 { margin: 0; color: var(--black); line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 16ch; font-size: clamp(2.65rem, 6vw, 5.85rem); }
h2 { max-width: 17ch; font-size: clamp(2rem, 4vw, 3.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0; }
.lead { max-width: 710px; margin-top: 24px; color: #4d5057; font-size: clamp(1.08rem, 1.7vw, 1.35rem); }
.eyebrow {
  display: inline-block;
  margin-bottom: 15px;
  color: var(--red);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.section {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
  padding-block: clamp(68px, 9vw, 118px);
}
.section-heading { margin-bottom: 42px; }
.section-heading.split { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 48px; }
.section-heading.split p { max-width: 520px; color: var(--muted); }

.home-hero {
  position: relative;
  min-height: min(800px, calc(100vh - 36px));
  display: grid;
  align-items: end;
  color: #fff;
  background: var(--black);
}
.home-hero-media, .home-hero-media picture, .home-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.home-hero-media img { object-fit: cover; object-position: center; }
.home-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,11,13,.88) 0%, rgba(10,11,13,.62) 45%, rgba(10,11,13,.2) 80%), linear-gradient(0deg, rgba(10,11,13,.45), transparent 45%); }
.home-hero-copy {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 130px 0 78px;
}
.home-hero h1 { max-width: 15ch; color: #fff; }
.home-hero .lead { max-width: 690px; color: rgba(255,255,255,.83); }
.home-hero .button-outline { color: #fff; border-color: rgba(255,255,255,.52); }
.home-hero .button-outline:hover { color: var(--black); }
.home-hero .eyebrow { color: #ff6a7c; }
.hero-meta { margin-top: 46px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-meta span, .trust-pills span { padding: 8px 12px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; color: rgba(255,255,255,.82); font-size: .78rem; font-weight: 750; }

.hero.service-hero {
  width: min(calc(100% - 48px), var(--max));
  min-height: 650px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 112px) 0;
  display: grid;
  grid-template-columns: minmax(0,.95fr) minmax(390px,1.05fr);
  align-items: center;
  gap: clamp(36px,6vw,76px);
}
.hero-copy h1 { max-width: 13ch; }
.hero-picture { height: min(580px, 65vw); overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero-picture img { width: 100%; height: 100%; object-fit: cover; }
.trust-pills { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.trust-pills span { color: var(--ink); border-color: var(--line); background: rgba(255,255,255,.6); }
.page-intro {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
  padding: clamp(76px, 10vw, 136px) 0 clamp(50px, 6vw, 78px);
}
.page-intro h1 { max-width: 15ch; }
.notfound { min-height: 60vh; display: grid; align-content: center; justify-items: start; }
.error-code { color: var(--red); font-size: clamp(5rem,18vw,14rem); font-weight: 950; line-height: .8; letter-spacing: -.08em; }

.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.service-card, .article-card, .project-card, .value-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover, .article-card:hover, .project-card:hover, .value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.service-card > div, .article-card > div { padding: 25px; }
.service-card p, .article-card p { margin: 12px 0 18px; color: var(--muted); }
.card-picture { height: 230px; overflow: hidden; }
.card-picture img, .article-picture img, .project-picture img { width: 100%; height: 100%; object-fit: cover; }

.feature-split { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(40px,7vw,90px); align-items: center; }
.feature-picture { min-height: 520px; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.feature-picture img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.feature-split p { margin: 24px 0; color: var(--muted); }
.compact-process { margin: 28px 0; padding: 0; display: grid; gap: 12px; list-style: none; }
.compact-process li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.compact-process span, .process-grid span { width: 34px; height: 34px; display: inline-grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: var(--black); color: #fff; font-size: .78rem; font-weight: 900; }
.proof-panel { padding-inline: clamp(24px,5vw,64px); display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; background: var(--black); color: #fff; border-radius: var(--radius-lg); }
.proof-panel h2 { color: #fff; }
.proof-panel ul { margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; list-style: none; }
.proof-panel li { padding: 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; color: rgba(255,255,255,.8); }

.service-list { padding-top: 30px; }
.check-grid { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 28px; list-style: none; }
.check-grid li { position: relative; padding: 15px 18px 15px 48px; background: rgba(255,255,255,.7); border: 1px solid var(--line); border-radius: 13px; }
.check-grid li::before { content: "✓"; position: absolute; left: 17px; top: 14px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; font-size: .74rem; font-weight: 900; }
.notice-card { padding: clamp(28px,5vw,54px); background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--red); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.notice-card p + p { margin-top: 18px; }
.process-grid { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; list-style: none; }
.process-grid li { min-height: 142px; padding: 20px; display: grid; align-content: space-between; gap: 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.media-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.media-gallery figure { margin: 0; position: relative; overflow: hidden; min-height: 360px; border-radius: var(--radius); background: var(--black); }
.gallery-picture, .gallery-picture img { width: 100%; height: 100%; }
.gallery-picture img { min-height: 360px; object-fit: cover; transition: transform .45s ease; }
.media-gallery figure:hover img { transform: scale(1.025); }
.media-gallery figcaption { position: absolute; left: 16px; bottom: 16px; max-width: calc(100% - 32px); padding: 9px 12px; border-radius: 10px; background: rgba(16,17,20,.82); color: #fff; font-size: .84rem; backdrop-filter: blur(8px); }
.guarantee-teaser { padding-inline: clamp(26px,5vw,58px); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.guarantee-teaser p { max-width: 760px; margin-top: 20px; color: var(--muted); }
.faq { max-width: 960px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.faq details + details { margin-top: 12px; }
.faq summary { padding: 20px 58px 20px 22px; position: relative; cursor: pointer; color: var(--black); font-weight: 850; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--red); font-size: 1.5rem; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 22px 22px; color: var(--muted); }

.cta-band {
  margin: clamp(48px,7vw,90px) auto 0;
  padding: clamp(58px,8vw,100px) max(24px, calc((100% - var(--max))/2));
  background: linear-gradient(135deg, var(--black), #25262b);
  color: #fff;
}
.cta-band > div { max-width: 900px; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 720px; margin-top: 20px; color: rgba(255,255,255,.72); }
.cta-band .button-outline { color: #fff; border-color: rgba(255,255,255,.45); }
.cta-band .button-outline:hover { color: var(--black); }

.projects-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.project-card { margin: 0; position: relative; min-height: 340px; background: var(--black); }
.project-picture, .project-picture img { width: 100%; height: 100%; min-height: 340px; }
.project-card figcaption { position: absolute; inset: auto 0 0; padding: 58px 22px 22px; display: grid; gap: 4px; background: linear-gradient(transparent, rgba(0,0,0,.8)); color: #fff; }
.project-card figcaption span { color: rgba(255,255,255,.7); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; }
.project-card figcaption strong { font-size: 1.15rem; }

.advisor {
  padding: clamp(28px,5vw,58px);
  background: var(--black);
  color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.advisor-head { display: flex; align-items: center; gap: 18px; }
.advisor-mark { width: 54px; height: 54px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; overflow: hidden; background: transparent; }
.advisor-mark img { width: 100%; height: 100%; display: block; object-fit: contain; }
.advisor h2 { color: #fff; }
.advisor-head p { margin-top: 7px; color: rgba(255,255,255,.65); font-size: .9rem; }
.advisor-search { margin-top: 28px; display: grid; grid-template-columns: 1fr auto auto; gap: 10px; }
.advisor-search input { min-height: 54px; padding: 12px 16px; border: 1px solid rgba(255,255,255,.18); border-radius: 13px; background: rgba(255,255,255,.1); color: #fff; }
.advisor-search input::placeholder { color: rgba(255,255,255,.54); }
.advisor .button-outline { color: #fff; border-color: rgba(255,255,255,.28); }
.advisor .button-outline:hover { color: var(--black); }
.advisor-suggestions { margin-top: 24px; display: grid; gap: 10px; }
.advisor-suggestions strong, .advisor-history strong { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.6); }
.advisor-suggestions > div, .advisor-history > div { display: flex; flex-wrap: wrap; gap: 7px; }
.advisor-suggestions button, .advisor-history button { padding: 7px 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: transparent; color: #fff; font-size: .8rem; cursor: pointer; }
.advisor-suggestions button:hover, .advisor-history button:hover { background: rgba(255,255,255,.1); }
.advisor-status { min-height: 28px; margin-top: 22px; color: #ff9aaa; font-weight: 800; }
.advisor-status.is-loading::after { content: ""; width: 14px; height: 14px; margin-left: 9px; display: inline-block; border: 2px solid rgba(255,255,255,.25); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; vertical-align: -2px; }
@keyframes spin { to { transform: rotate(360deg); } }
.advisor-results { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.advice-result { padding: 20px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; }
.advice-result span { color: #ff9aaa; font-size: .75rem; font-weight: 850; text-transform: uppercase; }
.advice-result h3 { margin-top: 7px; color: #fff; letter-spacing: -.02em; }
.advice-result p { margin: 10px 0 14px; color: rgba(255,255,255,.68); }
.advice-result a { color: #fff; font-weight: 800; }
.related-questions { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.6); font-size: .82rem; }
.advisor-history { margin-top: 22px; display: grid; gap: 9px; }
.articles-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.article-picture { height: 210px; overflow: hidden; }
.article-card > div > span, .related-card span { color: var(--red); font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; }
.article-card h3 { margin-top: 8px; }

.article-page { width: min(calc(100% - 48px), 920px); margin: 0 auto; padding: clamp(76px,9vw,120px) 0; }
.article-page header { margin-bottom: 42px; }
.article-page h1 { max-width: 15ch; }
.article-hero { height: min(560px,65vw); margin-bottom: 55px; overflow: hidden; border-radius: var(--radius-lg); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-page > section { padding: 28px 0; border-bottom: 1px solid var(--line); }
.article-page > section h2 { max-width: none; font-size: clamp(1.45rem,3vw,2.25rem); }
.article-page > section p { margin-top: 14px; color: #50545c; font-size: 1.06rem; }
.article-callout { margin-top: 34px; padding: 24px; border-left: 5px solid var(--red); border-radius: 14px; background: #fff; }
.article-callout p { margin-top: 8px; color: var(--muted); }
.related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.related-card { min-height: 145px; padding: 20px; display: grid; align-content: space-between; border: 1px solid var(--line); border-radius: 15px; background: #fff; text-decoration: none; }
.related-card:hover { box-shadow: var(--shadow-sm); }

.values-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.value-card { padding: 24px; }
.value-card p { margin-top: 12px; color: var(--muted); }

.contact-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 24px; align-items: start; padding-top: 20px; }
.contact-panel { position: sticky; top: 145px; padding: 30px; display: grid; gap: 12px; background: var(--black); color: #fff; border-radius: var(--radius); }
.contact-panel h2 { color: #fff; }
.contact-panel a { font-weight: 800; text-decoration: none; }
.contact-panel p { color: rgba(255,255,255,.65); }
.contact-form { padding: clamp(26px,4vw,44px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; }
.form-grid label { display: grid; gap: 7px; color: var(--black); font-size: .9rem; font-weight: 800; }
.form-grid .full { grid-column: 1/-1; }
.form-grid input:not([type="checkbox"]), .form-grid select, .form-grid textarea {
  width: 100%;
  min-height: 49px;
  padding: 11px 13px;
  border: 1px solid rgba(16,17,20,.24);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
.form-grid textarea { resize: vertical; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(181,18,43,.1); outline: none; }
.form-grid [aria-invalid="true"] { border-color: #b00020 !important; }
.field-error { min-height: 18px; color: #a0001d; font-size: .78rem; font-weight: 700; }
.consent { grid-template-columns: auto 1fr; align-items: start; }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--red); }
.consent .field-error { grid-column: 2; }
.form-status { min-height: 28px; margin-top: 18px; color: var(--red-dark); font-weight: 800; }
.honeypot { position: absolute; left: -9999px; }

.legal-copy { max-width: 900px; }
.legal-copy > section { padding: 28px 0; border-bottom: 1px solid var(--line); }
.legal-copy h2 { max-width: none; font-size: clamp(1.45rem,3vw,2.25rem); }
.legal-copy p { margin-top: 14px; color: #50545c; }
.legal-copy .notice-card { margin-top: 34px; }

.floating-actions { position: fixed; right: 18px; bottom: 28px; z-index: 90; display: grid; gap: 8px; }
.floating-actions a { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; box-shadow: 0 12px 24px rgba(16,17,20,.24); }
.floating-phone { background: var(--red); }
.floating-whatsapp { background: var(--green); }
.floating-actions img { filter: brightness(0) invert(1); }
.floating-whatsapp img { filter: brightness(0); }
.mobile-actions { display: none; }

.site-footer { background: #0d0e11; color: #fff; }
.footer-grid {
  width: min(calc(100% - 48px), var(--max));
  margin: auto;
  padding: 74px 0 52px;
  display: grid;
  grid-template-columns: 1.4fr .8fr .9fr .9fr;
  gap: 42px;
}
.footer-grid > div { display: grid; align-content: start; gap: 10px; }
.footer-grid h2 { max-width: none; color: #fff; font-size: .88rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid a { color: rgba(255,255,255,.82); text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.footer-grid p { color: rgba(255,255,255,.55); font-size: .9rem; }
.footer-brand strong { color: #fff; }
.footer-brand small { color: rgba(255,255,255,.55); }
.footer-bottom { width: min(calc(100% - 48px), var(--max)); margin: auto; padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.48); font-size: .78rem; }

.language-landing { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 50% 0,#363941,var(--black) 60%); color: #fff; }
.language-landing main { width: min(100%,900px); text-align: center; }
.language-landing main > img { margin: 0 auto 18px; }
.language-landing h1 { max-width: none; color: #fff; }
.language-landing main > p { margin: 16px 0 28px; color: rgba(255,255,255,.7); }
.language-landing main > p a { color: #fff; font-weight: 800; }
.language-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.language-cards a { padding: 24px; display: grid; gap: 6px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; color: #fff; text-decoration: none; }
.language-cards a:hover, .language-cards a:focus-visible { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.language-cards strong { font-size: 1.25rem; }
.language-cards span { color: rgba(255,255,255,.6); font-size: .85rem; }

@media (hover:hover) and (min-width: 1001px) {
  .nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
}

@media (max-width: 1100px) {
  .primary-menu { gap: 11px; }
  .brand small { display: none; }
  .brand { min-width: auto; }
  .lang-full { display: none; }
  .lang-short { display: inline; }
  .language-switcher a { padding-inline: 7px; }
  .nav-quote { display: none; }
  .services-grid, .articles-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .projects-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .values-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 900px) {
  :root { --header-height: 76px; }
  body { padding-bottom: 68px; }
  .topbar { display: none; }
  .main-nav { min-height: 76px; padding: 9px 18px; }
  .brand img { width: 50px; height: 50px; }
  .brand small { display: block; max-width: 170px; }
  .menu-toggle {
    width: 52px;
    height: 48px;
    padding: 9px 11px;
    display: grid;
    align-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
  }
  .menu-toggle span { height: 2px; background: var(--black); border-radius: 2px; transition: .2s ease; }
  .menu-toggle b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .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); }
  .primary-menu {
    position: fixed;
    inset: 76px 0 0;
    padding: 22px 20px 110px;
    display: block;
    overflow: auto;
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: .2s ease;
  }
  .primary-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .primary-menu > a:not(.button), .nav-dropdown > button { width: 100%; padding: 16px 4px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); font-size: 1.05rem; text-align: left; }
  .primary-menu > a::after, .nav-dropdown > button::after { display: none; }
  .nav-dropdown { width: 100%; }
  .dropdown-menu { position: static; min-width: 0; max-height: 0; padding: 0 12px; gap: 2px; overflow: hidden; opacity: 1; visibility: visible; transform: none; background: transparent; border: 0; border-radius: 0; box-shadow: none; transition: max-height .25s ease, padding .25s ease; }
  .nav-dropdown.is-open .dropdown-menu { max-height: 500px; padding-block: 9px; }
  .dropdown-menu a { padding: 11px 8px 11px 20px; border-left: 2px solid var(--line); }
  .language-switcher { margin-top: 22px; justify-content: space-between; }
  .language-switcher a { flex: 1; text-align: center; }
  .lang-full { display: inline; }
  .lang-short { display: none; }
  .nav-quote { margin-top: 18px; display: flex; }

  .home-hero { min-height: 720px; }
  .home-hero-overlay { background: linear-gradient(0deg,rgba(10,11,13,.92),rgba(10,11,13,.28) 85%); }
  .home-hero-copy { padding-bottom: 54px; }
  .hero.service-hero { min-height: 0; grid-template-columns: 1fr; padding-top: 55px; }
  .hero-picture { height: min(520px,90vw); order: -1; }
  .section-heading.split, .feature-split, .proof-panel, .contact-layout { grid-template-columns: 1fr; }
  .feature-split > div:first-child { order: 2; }
  .process-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .proof-panel ul { grid-template-columns: 1fr; }
  .guarantee-teaser { grid-template-columns: 1fr; }
  .contact-panel { position: static; }
  .floating-actions { display: none; }
  .mobile-actions {
    position: fixed;
    inset: auto 0 0;
    z-index: 120;
    min-height: 64px;
    padding: 7px max(8px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 7px;
    background: rgba(16,17,20,.97);
    border-top: 1px solid rgba(255,255,255,.14);
    backdrop-filter: blur(16px);
  }
  .mobile-actions a { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 10px; background: rgba(255,255,255,.08); color: #fff; font-size: .76rem; font-weight: 800; text-align: center; text-decoration: none; }
  .mobile-actions a:nth-child(2) { background: var(--green); color: #092e17; }
  .mobile-actions a:nth-child(3) { background: var(--red); }
  .mobile-actions img { filter: brightness(0) invert(1); }
  .mobile-actions a:nth-child(2) img { filter: brightness(0); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 650px) {
  .section, .page-intro, .hero.service-hero, .home-hero-copy, .footer-grid, .footer-bottom { width: min(calc(100% - 32px), var(--max)); }
  .section { padding-block: 66px; }
  h1 { font-size: clamp(2.45rem,13vw,4rem); }
  h2 { font-size: clamp(1.9rem,9vw,2.75rem); }
  .brand strong { font-size: .94rem; }
  .brand small { max-width: 135px; font-size: .6rem; }
  .home-hero { min-height: 700px; }
  .home-hero-copy { padding-top: 105px; }
  .home-hero .button-row, .hero-copy .button-row, .cta-band .button-row { display: grid; grid-template-columns: 1fr 1fr; }
  .home-hero .button-row .button:first-child, .hero-copy .button-row .button:first-child, .cta-band .button-row .button:first-child { grid-column: 1/-1; }
  .hero.service-hero { gap: 28px; }
  .hero-picture { border-radius: 22px; }
  .services-grid, .articles-grid, .projects-grid, .values-grid, .media-gallery, .check-grid, .related-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .media-gallery figure, .gallery-picture img { min-height: 300px; }
  .feature-picture, .feature-picture img { min-height: 380px; }
  .proof-panel { width: calc(100% - 32px); border-radius: 22px; }
  .advisor { padding: 24px; border-radius: 22px; }
  .advisor-search { grid-template-columns: 1fr 1fr; }
  .advisor-search input { grid-column: 1/-1; }
  .advisor-results { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .consent { grid-template-columns: auto 1fr; }
  .consent .field-error { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .language-cards { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .brand span { display: none; }
  .home-hero .button-row, .hero-copy .button-row, .cta-band .button-row { grid-template-columns: 1fr; }
  .home-hero .button-row .button:first-child, .hero-copy .button-row .button:first-child, .cta-band .button-row .button:first-child { grid-column: auto; }
  .process-grid { grid-template-columns: 1fr; }
  .lang-full { display: none; }
  .lang-short { display: inline; }
}

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


/* Studio Dantas updated logo */
.brand img, .language-landing main > img { border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(177,18,38,.10); }
.footer-brand img { box-shadow: 0 0 0 1px rgba(255,255,255,.22); }

/* Responsive reliability patch — mobile and tablet navigation */
@media (max-width: 900px) {
  /* A backdrop filter creates a containing block for fixed descendants in
     several browsers. Removing it on compact screens lets the mobile menu
     occupy the full viewport instead of being clipped inside the header. */
  .site-header {
    overflow: visible;
    background: rgba(246,244,239,.99);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .site-header.is-scrolled { background: rgba(255,255,255,.99); }
  .main-nav { position: relative; }
  .primary-menu {
    top: calc(var(--header-height) + 1px);
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height) - 1px);
    height: calc(100dvh - var(--header-height) - 1px);
    max-height: calc(100vh - var(--header-height) - 1px);
    max-height: calc(100dvh - var(--header-height) - 1px);
    z-index: 150;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .primary-menu.is-open { box-shadow: 0 28px 60px rgba(16,17,20,.18); }
  body { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
  body.menu-open .mobile-actions {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(110%);
  }
  .mobile-actions {
    transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
  }
  .home-hero-copy { padding-bottom: calc(108px + env(safe-area-inset-bottom)); }
  .hero.service-hero { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
}

@media (max-width: 520px) {
  .main-nav { gap: 12px; }
  .brand { min-width: 0; gap: 10px; }
  .brand small { display: none; }
  .brand strong { font-size: 1rem; white-space: nowrap; }
  .mobile-actions {
    grid-template-columns: repeat(3,minmax(0,1fr));
    padding-inline: max(6px,env(safe-area-inset-left));
    gap: 6px;
  }
  .mobile-actions a {
    min-width: 0;
    padding: 6px 4px;
    line-height: 1.12;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 360px) {
  .main-nav { padding-inline: 14px; }
  .brand img { width: 46px; height: 46px; }
  .menu-toggle { width: 48px; height: 46px; }
  .mobile-actions a { font-size: .69rem; }
}

@media (max-width: 400px) {
  /* Phone and WhatsApp remain permanently available in the bottom action bar.
     Hiding the duplicate hero buttons prevents partial buttons from appearing
     underneath that fixed bar on narrow screens. */
  .home-hero .button-row a[href^="tel:"],
  .home-hero .button-row a[href*="wa.me"],
  .hero-copy .button-row a[href^="tel:"],
  .hero-copy .button-row a[href*="wa.me"] {
    display: none;
  }
}


/* Contact Google Maps */
.map-section { padding-top: 0; }
.map-card {
  display: grid;
  grid-template-columns: minmax(290px,.72fr) minmax(0,1.55fr);
  overflow: hidden;
  border: 1px solid rgba(16,17,20,.10);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 22px 52px rgba(16,17,20,.10);
}
.map-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  padding: clamp(28px,4vw,54px);
}
.map-copy h2 { margin: 0; }
.map-copy p { margin: 0 0 4px; color: var(--muted); }
.button-outline-dark {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}
.button-outline-dark:hover, .button-outline-dark:focus-visible {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.map-frame { min-height: 420px; background: #e9e7e2; }
.map-frame iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }

@media (max-width: 900px) {
  .map-card { grid-template-columns: 1fr; }
  .map-frame, .map-frame iframe { min-height: 390px; }
}

@media (max-width: 650px) {
  .map-copy { padding: 28px 24px; }
  .map-frame, .map-frame iframe { min-height: 330px; }
  .map-copy .button { width: 100%; text-align: center; }
}


/* Premium finalisation: desktop header, tablet navigation and real form states */
.primary-menu > a:not(.button),
.nav-dropdown > button,
.nav-quote { white-space: nowrap; }
.form-status.is-success { color: #08783b; }
.form-status.is-error { color: #a0001d; }
.contact-form[aria-busy="true"] { cursor: progress; }
.contact-form button:disabled { opacity: .64; cursor: wait; transform: none; box-shadow: none; }

@media (min-width: 1181px) {
  .main-nav { max-width: 1480px; padding-inline: 28px; gap: 16px; }
  .brand { min-width: 205px; gap: 12px; }
  .brand small { max-width: 205px; }
  .primary-menu { min-width: 0; gap: 14px; }
  .primary-menu > a:not(.button), .nav-dropdown > button { font-size: .88rem; }
  .language-switcher { flex: 0 0 auto; }
}

@media (min-width: 1181px) and (max-width: 1350px) {
  .brand small { display: none; }
  .brand { min-width: auto; }
  .lang-full { display: none; }
  .lang-short { display: inline; }
  .language-switcher a { padding-inline: 8px; }
  .nav-quote { padding-inline: 13px; }
}

@media (max-width: 1180px) {
  :root { --header-height: 76px; }
  .topbar { display: none; }
  .site-header {
    overflow: visible;
    background: rgba(246,244,239,.99);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .site-header.is-scrolled { background: rgba(255,255,255,.99); }
  .main-nav { position: relative; min-height: 76px; padding: 9px 18px; }
  .brand img { width: 50px; height: 50px; }
  .brand small { display: block; max-width: 170px; }
  .menu-toggle {
    width: 52px;
    height: 48px;
    padding: 9px 11px;
    display: grid;
    align-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
  }
  .menu-toggle span { height: 2px; background: var(--black); border-radius: 2px; transition: .2s ease; }
  .menu-toggle b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .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); }
  .primary-menu {
    position: fixed;
    top: 76px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 150;
    width: 100%;
    height: calc(100vh - 76px);
    height: calc(100dvh - 76px);
    padding: 22px 20px 110px;
    display: block;
    overflow: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: .2s ease;
  }
  .primary-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); box-shadow: 0 28px 60px rgba(16,17,20,.18); }
  .primary-menu > a:not(.button), .nav-dropdown > button {
    width: 100%; padding: 16px 4px; display: flex; justify-content: space-between;
    border-bottom: 1px solid var(--line); font-size: 1.05rem; text-align: left; white-space: normal;
  }
  .primary-menu > a::after, .nav-dropdown > button::after { display: none; }
  .nav-dropdown { width: 100%; }
  .dropdown-menu {
    position: static; min-width: 0; max-height: 0; padding: 0 12px; gap: 2px; overflow: hidden;
    opacity: 1; visibility: visible; transform: none; background: transparent; border: 0; border-radius: 0; box-shadow: none;
    transition: max-height .25s ease, padding .25s ease;
  }
  .nav-dropdown.is-open .dropdown-menu { max-height: 500px; padding-block: 9px; }
  .dropdown-menu a { padding: 11px 8px 11px 20px; border-left: 2px solid var(--line); }
  .language-switcher { margin-top: 22px; justify-content: space-between; }
  .language-switcher a { flex: 1; text-align: center; }
  .lang-full { display: inline; }
  .lang-short { display: none; }
  .nav-quote { margin-top: 18px; display: flex; }
}

@media (max-width: 1180px) {
  .floating-actions { display: none; }
}

@media (max-width: 900px) {
  body.menu-open .mobile-actions { display: none; }
}
