:root {
	--ribas-ink: #101820;
	--ribas-night: #07111f;
	--ribas-steel: #526171;
	--ribas-line: #d9e2ea;
	--ribas-soft: #f5f7f9;
	--ribas-white: #ffffff;
	--ribas-amber: #f4b63f;
	--ribas-cyan: #159bd3;
	--ribas-green: #1fae5b;
	--ribas-radius: 8px;
	--ribas-shadow: 0 18px 50px rgba(16, 24, 32, 0.14);
	--ribas-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--ribas-white);
	color: var(--ribas-ink);
	font-family: var(--ribas-font);
	font-size: 16px;
	line-height: 1.6;
	letter-spacing: 0;
}

body.menu-open {
	overflow: hidden;
}

img,
svg,
video,
iframe {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

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

p {
	margin: 0 0 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	color: inherit;
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: 0;
}

h1 {
	font-size: 3.7rem;
	max-width: 820px;
}

h2 {
	font-size: 2.45rem;
	max-width: 760px;
}

h3 {
	font-size: 1.2rem;
}

ul,
ol {
	margin: 0;
	padding: 0;
}

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

.container {
	width: min(100% - 40px, 1180px);
	margin-inline: auto;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	z-index: 10000;
	top: 12px;
	left: 12px;
	width: auto;
	height: auto;
	padding: 10px 14px;
	clip: auto;
	background: var(--ribas-night);
	color: var(--ribas-white);
	border-radius: var(--ribas-radius);
}

.eyebrow {
	margin-bottom: 0.75rem;
	color: var(--ribas-cyan);
	font-size: 0.78rem;
	font-weight: 800;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	min-height: 48px;
	padding: 0.75rem 1.1rem;
	border: 1px solid transparent;
	border-radius: var(--ribas-radius);
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn:hover,
.btn:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 14px 34px rgba(16, 24, 32, 0.16);
}

.btn--primary {
	background: var(--ribas-amber);
	color: #17120a;
}

.btn--ghost {
	border-color: rgba(255, 255, 255, 0.42);
	background: rgba(255, 255, 255, 0.1);
	color: var(--ribas-white);
	backdrop-filter: blur(12px);
}

.btn--outline {
	border-color: var(--ribas-line);
	background: var(--ribas-white);
	color: var(--ribas-ink);
}

.btn--light {
	background: var(--ribas-white);
	color: var(--ribas-night);
}

.btn--whatsapp {
	background: var(--ribas-green);
	color: var(--ribas-white);
}

.btn--small {
	min-height: 42px;
	padding: 0.65rem 0.9rem;
	font-size: 0.9rem;
}

.site-header {
	position: sticky;
	z-index: 80;
	top: 0;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 1px 0 rgba(16, 24, 32, 0.08);
	backdrop-filter: blur(16px);
}

.topbar {
	background: var(--ribas-night);
	color: rgba(255, 255, 255, 0.84);
	font-size: 0.86rem;
}

.topbar__inner {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 1.4rem;
	min-height: 34px;
}

.topbar a:hover {
	color: var(--ribas-amber);
}

.nav-shell {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 1.4rem;
	min-height: 82px;
}

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

.brand img {
	width: 190px;
	height: auto;
	object-fit: contain;
}

.primary-menu {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.25rem;
	list-style: none;
}

.primary-menu > .menu-item {
	position: relative;
}

.primary-menu a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0.55rem 0.78rem;
	border-radius: var(--ribas-radius);
	color: var(--ribas-ink);
	font-size: 0.92rem;
	font-weight: 750;
	line-height: 1.2;
}

.primary-menu a:hover,
.primary-menu a:focus-visible,
.primary-menu .current-menu-item > a {
	background: var(--ribas-soft);
	color: var(--ribas-cyan);
}

.primary-menu .sub-menu {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	display: grid;
	gap: 0.2rem;
	min-width: 240px;
	padding: 0.55rem;
	list-style: none;
	border: 1px solid rgba(16, 24, 32, 0.08);
	border-radius: var(--ribas-radius);
	background: var(--ribas-white);
	box-shadow: var(--ribas-shadow);
	opacity: 0;
	pointer-events: none;
	transform: translateY(8px);
	transition: opacity 160ms ease, transform 160ms ease;
}

.primary-menu .menu-item:hover > .sub-menu,
.primary-menu .menu-item:focus-within > .sub-menu {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.primary-menu .sub-menu a {
	justify-content: flex-start;
	width: 100%;
	white-space: normal;
}

.header-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.7rem;
}

.menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--ribas-line);
	border-radius: var(--ribas-radius);
	background: var(--ribas-white);
	cursor: pointer;
}

.menu-toggle span {
	display: block;
	width: 18px;
	height: 2px;
	margin: 4px auto;
	background: var(--ribas-ink);
	transition: transform 180ms ease, opacity 180ms ease;
}

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

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

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

.mobile-navigation {
	position: fixed;
	z-index: 90;
	inset: 116px 0 auto;
	display: none;
	max-height: calc(100vh - 116px);
	padding: 18px 20px 26px;
	overflow: auto;
	background: var(--ribas-white);
	box-shadow: 0 26px 60px rgba(16, 24, 32, 0.18);
}

.mobile-navigation.is-open {
	display: block;
}

.mobile-menu,
.mobile-menu .sub-menu {
	display: grid;
	gap: 0.35rem;
	list-style: none;
}

.mobile-menu a {
	display: flex;
	padding: 0.9rem 1rem;
	border: 1px solid var(--ribas-line);
	border-radius: var(--ribas-radius);
	font-weight: 800;
}

.mobile-menu .sub-menu {
	margin: 0.35rem 0 0.7rem 1rem;
}

.mobile-menu .sub-menu a {
	font-size: 0.94rem;
	font-weight: 700;
}

.mobile-navigation__cta {
	width: 100%;
	margin-top: 1rem;
}

.home-hero,
.page-hero {
	position: relative;
	isolation: isolate;
	min-height: 680px;
	display: flex;
	align-items: center;
	overflow: hidden;
	background: var(--ribas-night);
	color: var(--ribas-white);
}

.home-hero::before,
.page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background-image: linear-gradient(90deg, rgba(7, 17, 31, 0.92), rgba(7, 17, 31, 0.72) 46%, rgba(7, 17, 31, 0.24)), var(--hero-image);
	background-position: center;
	background-size: cover;
}

.home-hero::after,
.page-hero::after {
	content: "";
	position: absolute;
	right: -80px;
	bottom: -80px;
	z-index: -1;
	width: 480px;
	height: 260px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	transform: rotate(-8deg);
}

.home-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	align-items: end;
	gap: 3rem;
	padding: 110px 0 86px;
}

.home-hero__copy p:not(.eyebrow),
.page-hero__copy p:not(.eyebrow) {
	max-width: 650px;
	color: rgba(255, 255, 255, 0.84);
	font-size: 1.12rem;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	margin-top: 1.55rem;
}

.hero-proof {
	display: grid;
	gap: 0.8rem;
}

.hero-proof div {
	padding: 1.15rem;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: var(--ribas-radius);
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(12px);
}

.hero-proof strong {
	display: block;
	color: var(--ribas-amber);
	font-size: 2rem;
	line-height: 1;
}

.hero-proof span {
	display: block;
	margin-top: 0.35rem;
	color: rgba(255, 255, 255, 0.82);
	font-weight: 700;
}

.page-hero {
	min-height: 520px;
}

.page-hero--compact {
	min-height: 390px;
}

.page-hero__inner {
	padding: 92px 0 70px;
}

.section {
	padding: 92px 0;
}

.section--tight {
	padding: 24px 0;
}

.section--dark {
	background: var(--ribas-night);
	color: var(--ribas-white);
}

.section--soft {
	background: var(--ribas-soft);
}

.section-heading {
	margin-bottom: 2.4rem;
}

.section-heading > p:not(.eyebrow) {
	max-width: 680px;
	color: var(--ribas-steel);
}

.section-heading--split {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 2rem;
}

.section--dark .section-heading p,
.section--dark .section-heading h2 {
	color: var(--ribas-white);
}

.service-rail {
	position: relative;
	z-index: 2;
	margin-top: -42px;
}

.service-rail__grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 0.8rem;
}

.rail-item {
	position: relative;
	display: grid;
	min-height: 132px;
	overflow: hidden;
	border-radius: var(--ribas-radius);
	background: var(--ribas-night);
	box-shadow: var(--ribas-shadow);
}

.rail-item img {
	width: 100%;
	height: 100%;
	min-height: 132px;
	object-fit: cover;
	opacity: 0.68;
	transition: transform 260ms ease, opacity 260ms ease;
}

.rail-item span {
	position: absolute;
	inset: auto 12px 12px;
	color: var(--ribas-white);
	font-weight: 900;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.rail-item:hover img {
	transform: scale(1.06);
	opacity: 0.86;
}

.group-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.1rem;
}

.group-card {
	display: grid;
	gap: 1rem;
}

.group-card a {
	position: relative;
	display: grid;
	overflow: hidden;
	border-radius: var(--ribas-radius);
	background: var(--ribas-night);
	aspect-ratio: 1.34;
}

.group-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.74;
	transition: transform 260ms ease, opacity 260ms ease;
}

.group-card span {
	position: absolute;
	inset: auto 18px 18px;
	color: var(--ribas-white);
	font-size: 1.35rem;
	font-weight: 900;
}

.group-card p {
	color: var(--ribas-steel);
}

.group-card:hover img {
	transform: scale(1.04);
	opacity: 0.92;
}

.service-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

.service-card {
	display: grid;
	grid-template-rows: auto 1fr;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: var(--ribas-radius);
	background: var(--ribas-white);
	color: var(--ribas-ink);
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.service-grid--light .service-card {
	border-color: var(--ribas-line);
}

.service-card__media {
	display: block;
	overflow: hidden;
	aspect-ratio: 1.32;
	background: var(--ribas-night);
}

.service-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 260ms ease;
}

.service-card:hover .service-card__media img {
	transform: scale(1.05);
}

.service-card__body {
	display: grid;
	align-content: start;
	gap: 0.7rem;
	padding: 1.05rem;
}

.service-card__group {
	margin: 0;
	color: var(--ribas-cyan);
	font-size: 0.76rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.service-card h3 a:hover {
	color: var(--ribas-cyan);
}

.service-card p {
	margin: 0;
	color: var(--ribas-steel);
	font-size: 0.94rem;
}

.mini-list,
.quality-list {
	display: grid;
	gap: 0.55rem;
	list-style: none;
}

.mini-list li,
.quality-list li {
	position: relative;
	padding-left: 1.35rem;
	color: var(--ribas-steel);
}

.mini-list li::before,
.quality-list li::before {
	content: "";
	position: absolute;
	top: 0.62rem;
	left: 0;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--ribas-amber);
	box-shadow: 0 0 0 4px rgba(244, 182, 63, 0.16);
}

.about-grid,
.service-detail,
.contact-band__grid,
.process-grid,
.article-layout {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	align-items: center;
	gap: 4rem;
}

.about-media,
.service-detail__media {
	overflow: hidden;
	border-radius: var(--ribas-radius);
	box-shadow: var(--ribas-shadow);
}

.about-media img,
.service-detail__media img {
	width: 100%;
	height: 520px;
	object-fit: cover;
}

.about-copy p {
	color: var(--ribas-steel);
	font-size: 1.04rem;
}

.quality-list {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 1.4rem;
}

.portfolio-mosaic {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 180px;
	gap: 1rem;
}

.portfolio-mosaic figure {
	position: relative;
	margin: 0;
	overflow: hidden;
	border-radius: var(--ribas-radius);
	background: var(--ribas-night);
}

.portfolio-mosaic figure.is-large {
	grid-column: span 2;
	grid-row: span 2;
}

.portfolio-mosaic img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.9;
	transition: transform 280ms ease, opacity 280ms ease;
}

.portfolio-mosaic figcaption {
	position: absolute;
	inset: auto 12px 12px;
	padding: 0.45rem 0.55rem;
	border-radius: 6px;
	background: rgba(7, 17, 31, 0.82);
	color: var(--ribas-white);
	font-size: 0.86rem;
	font-weight: 800;
}

.portfolio-mosaic figure:hover img {
	transform: scale(1.04);
	opacity: 1;
}

.process-grid {
	align-items: start;
}

.steps {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.step-card,
.testimonial-card,
.content-block,
.aside-panel,
.contact-panel {
	border: 1px solid var(--ribas-line);
	border-radius: var(--ribas-radius);
	background: var(--ribas-white);
	box-shadow: 0 12px 34px rgba(16, 24, 32, 0.06);
}

.step-card,
.content-block,
.aside-panel {
	padding: 1.35rem;
}

.step-card span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin-bottom: 1.1rem;
	border-radius: 50%;
	background: var(--ribas-night);
	color: var(--ribas-amber);
	font-weight: 900;
}

.step-card p,
.content-block p,
.aside-panel p {
	color: var(--ribas-steel);
}

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.testimonial-card {
	margin: 0;
	padding: 1.25rem;
}

.testimonial-card p {
	color: var(--ribas-ink);
	font-size: 1rem;
}

.testimonial-card cite {
	display: block;
	margin-top: 1rem;
	color: var(--ribas-cyan);
	font-style: normal;
	font-weight: 900;
}

.blog-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.blog-card {
	display: grid;
	overflow: hidden;
	border: 1px solid var(--ribas-line);
	border-radius: var(--ribas-radius);
	background: var(--ribas-white);
	box-shadow: 0 12px 34px rgba(16, 24, 32, 0.06);
}

.blog-card img {
	width: 100%;
	height: 210px;
	object-fit: cover;
}

.blog-card span {
	display: block;
	padding: 1rem;
	font-size: 1.05rem;
	font-weight: 900;
	line-height: 1.25;
}

.blog-card p {
	padding: 0 1rem 1rem;
	color: var(--ribas-steel);
}

.blog-card--post a {
	display: grid;
}

.content-columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.entry-shell {
	max-width: 920px;
}

.entry-content {
	color: var(--ribas-steel);
}

.entry-content > * + * {
	margin-top: 1rem;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
	color: var(--ribas-ink);
}

.entry-content h2 {
	font-size: 2rem;
}

.entry-content h3 {
	font-size: 1.35rem;
}

.entry-content a {
	color: var(--ribas-cyan);
	font-weight: 800;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.3rem;
}

.entry-content img {
	border-radius: var(--ribas-radius);
}

.contact-band {
	background: var(--ribas-night);
	color: var(--ribas-white);
}

.contact-band h2 {
	color: var(--ribas-white);
}

.contact-band p {
	color: rgba(255, 255, 255, 0.76);
}

.contact-panel {
	display: grid;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.96);
}

.contact-panel a {
	display: grid;
	gap: 0.25rem;
	padding: 1.1rem 1.25rem;
	border-bottom: 1px solid var(--ribas-line);
	color: var(--ribas-ink);
}

.contact-panel a:last-child {
	border-bottom: 0;
}

.contact-panel span {
	color: var(--ribas-cyan);
	font-size: 0.78rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.contact-panel strong {
	font-size: 1.05rem;
	line-height: 1.35;
}

.map-section {
	padding-top: 0;
}

.map-section iframe {
	width: 100%;
	height: 420px;
	border: 0;
	border-radius: var(--ribas-radius);
	box-shadow: var(--ribas-shadow);
}

.article-layout {
	align-items: start;
	grid-template-columns: minmax(0, 1fr) 340px;
}

.article-content {
	min-width: 0;
}

.post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	margin-bottom: 1.4rem;
	color: var(--ribas-steel);
	font-weight: 800;
}

.article-aside {
	position: sticky;
	top: 120px;
}

.pagination-wrap {
	margin-top: 2rem;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	min-height: 42px;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--ribas-line);
	border-radius: var(--ribas-radius);
	font-weight: 800;
}

.page-numbers.current {
	background: var(--ribas-night);
	color: var(--ribas-white);
}

.elementor-full-width-ribas {
	width: 100%;
}

.page-builder-content {
	width: 100%;
}

.page-builder-content > p,
.page-builder-content > h1,
.page-builder-content > h2,
.page-builder-content > h3,
.page-builder-content > h4,
.page-builder-content > ul,
.page-builder-content > ol {
	width: min(100% - 40px, 920px);
	margin-inline: auto;
}

.page-builder-content > p:first-child,
.page-builder-content > h1:first-child,
.page-builder-content > h2:first-child {
	margin-top: 4rem;
}

.page-builder-content .service-card,
.page-builder-content .group-card,
.page-builder-content .blog-card {
	text-align: left;
}

.site-footer {
	background: #0a0f16;
	color: rgba(255, 255, 255, 0.76);
}

.footer-cta {
	background: linear-gradient(90deg, var(--ribas-cyan), var(--ribas-amber));
	color: var(--ribas-night);
}

.footer-cta__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding: 2rem 0;
}

.footer-cta h2 {
	color: var(--ribas-night);
	font-size: 2rem;
}

.footer-cta .eyebrow {
	color: rgba(7, 17, 31, 0.76);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 0.8fr 1.1fr 0.8fr;
	gap: 2rem;
	padding: 58px 0 36px;
}

.footer-grid h3 {
	margin-bottom: 1rem;
	color: var(--ribas-white);
}

.footer-grid ul {
	display: grid;
	gap: 0.55rem;
	list-style: none;
}

.footer-grid a:hover {
	color: var(--ribas-amber);
}

.footer-brand img {
	width: 190px;
	margin-bottom: 1rem;
	border-radius: 6px;
	background: var(--ribas-white);
}

.social-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
}

.social-links a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0.55rem 0.75rem;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--ribas-radius);
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 20px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.92rem;
}

.footer-bottom p {
	margin: 0;
}

.floating-whatsapp {
	position: fixed;
	z-index: 70;
	right: 22px;
	bottom: 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: var(--ribas-green);
	color: var(--ribas-white);
	box-shadow: 0 16px 34px rgba(31, 174, 91, 0.36);
	font-size: 1.45rem;
	font-weight: 900;
}

[data-ribas-reveal] {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 520ms ease, transform 520ms ease;
}

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

@media (max-width: 1120px) {
	h1 {
		font-size: 3rem;
	}

	h2 {
		font-size: 2.15rem;
	}

	.primary-navigation {
		display: none;
	}

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

	.nav-shell {
		grid-template-columns: auto 1fr;
	}

	.header-actions {
		grid-column: 2;
	}

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

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

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

@media (max-width: 820px) {
	.container {
		width: min(100% - 28px, 1180px);
	}

	.topbar {
		display: none;
	}

	.nav-shell {
		min-height: 76px;
	}

	.mobile-navigation {
		inset: 76px 0 auto;
		max-height: calc(100vh - 76px);
	}

	.header-actions .btn {
		display: none;
	}

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

	.home-hero,
	.page-hero {
		min-height: 620px;
	}

	.home-hero__grid,
	.page-hero__inner {
		padding: 86px 0 64px;
	}

	.home-hero__grid,
	.about-grid,
	.service-detail,
	.contact-band__grid,
	.process-grid,
	.article-layout {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

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

	.hero-proof strong {
		font-size: 1.35rem;
	}

	.section {
		padding: 68px 0;
	}

	.section--tight {
		padding: 22px 0;
	}

	.section-heading--split,
	.footer-cta__inner,
	.footer-bottom {
		align-items: flex-start;
		flex-direction: column;
	}

	.group-grid,
	.testimonials-grid,
	.blog-grid,
	.content-columns {
		grid-template-columns: 1fr;
	}

	.portfolio-mosaic {
		grid-template-columns: repeat(2, 1fr);
		grid-auto-rows: 170px;
	}

	.quality-list,
	.steps {
		grid-template-columns: 1fr;
	}

	.about-media img,
	.service-detail__media img {
		height: 380px;
	}

	.article-aside {
		position: static;
	}
}

@media (max-width: 560px) {
	body {
		font-size: 15px;
	}

	h1 {
		font-size: 2.25rem;
	}

	h2 {
		font-size: 1.85rem;
	}

	.home-hero,
	.page-hero {
		min-height: 560px;
	}

	.home-hero::before,
	.page-hero::before {
		background-image: linear-gradient(180deg, rgba(7, 17, 31, 0.94), rgba(7, 17, 31, 0.76)), var(--hero-image);
	}

	.hero-proof,
	.service-rail__grid,
	.service-grid,
	.portfolio-mosaic {
		grid-template-columns: 1fr;
	}

	.service-rail {
		margin-top: 0;
	}

	.hero-actions .btn,
	.footer-cta .btn,
	.contact-band .btn {
		width: 100%;
	}

	.rail-item {
		min-height: 104px;
	}

	.portfolio-mosaic figure.is-large {
		grid-column: span 1;
		grid-row: span 1;
	}

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

	.floating-whatsapp {
		right: 14px;
		bottom: 14px;
		width: 52px;
		height: 52px;
	}
}

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

	[data-ribas-reveal] {
		opacity: 1;
		transform: none;
	}
}
