:root {
  --bg: #f8f6f2;
  --surface: #ffffff;
  --surface-soft: #f0ebe2;
  --surface-muted: #e8e4dd;
  --text: #111111;
  --text-soft: #4f4a42;
  --brand: #8b5a2b;
  --brand-dark: #6f451d;
  --accent: #1f4e79;
  --accent-deep: #153756;
  --line: rgba(17, 17, 17, 0.12);
  --shadow: 0 22px 60px rgba(17, 17, 17, 0.08);
  --image-shadow: 0 18px 42px rgba(17, 17, 17, 0.14);
  --radius: 24px;
  --radius-small: 16px;
  --container: 1180px;
  --cookie-banner-offset: 0px;
  --space-header: clamp(0.6rem, 1.2vw, 1rem);
  --header-h: clamp(4rem, 4vw + 3rem, 5.5rem);
  --gutter: clamp(1rem, 4vw, 1.5rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(201, 164, 106, 0.12), transparent 32%),
    linear-gradient(180deg, #fcfbf8 0%, var(--bg) 32%, #f4f0e9 100%);
  line-height: 1.65;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-deep);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #d89738;
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - (var(--gutter) * 2)), var(--container));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  background: var(--accent);
  color: #fff;
  padding: 0.8rem 1rem;
  border-radius: 0 0 12px 12px;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(248, 246, 242, 0.92);
  border-bottom: 1px solid rgba(17, 17, 17, 0.07);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding-block: var(--space-header);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-logo img {
  display: block;
  width: clamp(9rem, 14vw, 13rem);
  height: auto;
}

.menu-toggle {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.site-nav {
  width: 100%;
}

.site-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}

.site-nav a.is-active,
.site-nav a:hover {
  color: var(--accent);
}

.nav-cta {
  margin-top: 0.75rem;
}

a.button.button-primary.nav-cta,
a.button.button-primary.nav-cta:hover,
a.button.button-primary.nav-cta:focus-visible {
  color: #fff;
}

.no-js .site-nav {
  display: block;
}

.js .site-nav {
  display: none;
  padding: 1rem 0 1.25rem;
}

.js .site-nav.is-open {
  display: block;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.875rem;
  padding: 0.88rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--brand) 0%, #a97034 100%);
  color: #fff;
  box-shadow: 0 16px 32px rgba(139, 90, 43, 0.22);
}

a.button.button-primary {
  white-space: nowrap;
}

.button-primary:hover,
.button-primary:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(17, 17, 17, 0.16);
}

.button-nowrap {
  white-space: nowrap;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 700;
}

h3.eyebrow {
  font-size: 1.2rem;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.35rem, 5vw, 4.9rem);
  max-width: 13ch;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.2rem;
  color: #C9A46A;
  margin-bottom: 0.7rem;
}

p {
  margin-top: 0;
  color: var(--text-soft);
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  max-width: 62ch;
}

.hero-section,
.page-hero {
  padding: 0;
}

.split-section,
.contact-grid {
  display: grid;
  gap: 2rem;
}

.hero-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #1a1a1a;
}

.hero-banner__bg {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(1.02) contrast(1.02);
  background-color: #1a1a1a;
}

.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 16, 22, 0.84) 0%, rgba(10, 16, 22, 0.6) 42%, rgba(10, 16, 22, 0.34) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.34) 100%),
    linear-gradient(120deg, rgba(201, 164, 106, 0.2), transparent 35%);
  pointer-events: none;
}

.hero-banner__inner {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: clamp(5.5rem, 8vw, 7.5rem) 0 clamp(3rem, 5vw, 4.5rem);
}

.hero-copy {
  position: relative;
}

.hero-copy-overlay {
  max-width: min(42rem, 100%);
}

.hero-copy-overlay::before {
  content: "";
  position: absolute;
  inset: -1rem auto auto -1rem;
  width: 4rem;
  height: 4rem;
  border-top: 2px solid rgba(201, 164, 106, 0.88);
  border-left: 2px solid rgba(201, 164, 106, 0.88);
}

.hero-banner .eyebrow,
.hero-banner h1,
.hero-banner h2,
.hero-banner p,
.hero-banner li {
  color: #fff;
}

.hero-banner h1 {
  max-width: 18ch;
  font-size: clamp(2rem, 4.3vw, 4rem);
  margin-bottom: 0.75rem;
}

.hero-banner h2 {
  max-width: 24ch;
  font-size: clamp(1.35rem, 2.5vw, 2.15rem);
  color: rgba(255, 255, 255, 0.94);
  margin-bottom: 0.75rem;
}

.hero-banner h3 {
  max-width: 34ch;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  color: #f0c98c;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-banner .eyebrow {
  color: #f0c98c;
  margin-bottom: 1rem;
}

.hero-banner .lead {
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.75rem 0;
}

.trust-list,
.check-list,
.footer-links,
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 30rem;
}

.hero-copy-overlay .trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  max-width: none;
}

.trust-list li,
.check-list li {
  position: relative;
  padding-left: 1.3rem;
  color: var(--text);
  font-weight: 500;
}

.hero-copy-overlay .trust-list li {
  color: #fff;
  white-space: nowrap;
}

.trust-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 999px;
  background: var(--brand);
}

.framed-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(145deg, #efe7db, #d7cab6);
}

.framed-media::after {
  content: "";
  position: absolute;
  inset: auto 1rem 1rem auto;
  width: 5rem;
  height: 5rem;
  border-right: 2px solid rgba(255, 255, 255, 0.6);
  border-bottom: 2px solid rgba(255, 255, 255, 0.6);
}

.framed-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.framed-media-natural img {
  height: auto;
  object-fit: contain;
  aspect-ratio: 3 / 2;
}

.section {
  padding: clamp(4rem, 6vw, 6rem) 0;
}

.section-light {
  background: rgba(255, 255, 255, 0.65);
}

.section-muted {
  background: linear-gradient(180deg, rgba(232, 228, 221, 0.55), rgba(255, 255, 255, 0.75));
}

.section-accent {
  background: linear-gradient(135deg, rgba(31, 78, 121, 0.08), rgba(139, 90, 43, 0.08));
}

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

.section-heading-center {
  text-align: center;
  max-width: 46rem;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.section-copy {
  align-self: center;
}

.text-link {
  display: inline-block;
  font-weight: 700;
}

.card-grid,
.project-grid,
.blog-grid {
  display: grid;
  gap: 1.25rem;
}

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

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

.info-card,
.project-card,
.blog-card,
.note-card,
.contact-panel,
.contact-form {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.note-card {
  padding: 10px;
}

.info-card {
  padding: 1.5rem;
}

.icon-badge {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(31, 78, 121, 0.1);
  color: var(--accent);
  margin-bottom: 1rem;
}

.info-card a,
.blog-card a {
  font-weight: 700;
}

.project-card,
.blog-card {
  overflow: hidden;
}

.project-card {
  align-self: start;
}

.blog-card {
  align-self: start;
}

.project-card img,
.blog-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: saturate(0.88) contrast(1.05);
  transition: transform 0.25s ease, filter 0.25s ease;
}

.project-card:hover img,
.blog-card:hover img,
.framed-media:hover img {
  transform: scale(1.02);
  filter: saturate(1);
}

.project-card > div,
.blog-card-copy {
  padding: 1.25rem;
}

.project-tag {
  font-size: 0.82rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.project-card h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.28;
  color: var(--text);
  font-weight: 700;
}

.feature-band {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
  justify-content: space-between;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: linear-gradient(135deg, rgba(17, 17, 17, 0.97), rgba(31, 78, 121, 0.88));
  box-shadow: var(--shadow);
}

.feature-band h2,
.feature-band p,
.feature-band .eyebrow {
  color: #fff;
}

.stacked-services {
  display: grid;
  gap: 2rem;
}

.service-detail {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.service-detail img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--image-shadow);
}

.service-heading {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  margin-bottom: 0.95rem;
}

.service-detail .eyebrow {
  margin-bottom: 0;
}

.service-heading h2 {
  font-size: 1.5rem;
  line-height: 1.1;
  margin-bottom: 0;
  white-space: nowrap;
}

.service-detail p,
.service-detail .check-list li {
  line-height: 1.85;
}

.page-hero-compact .hero-banner__inner {
  padding-top: clamp(5rem, 8vw, 6.8rem);
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.contact-panel,
.contact-form {
  padding: 1.5rem;
}

.contact-panel {
  display: flex;
  flex-direction: column;
}

.contact-panel-logo {
  display: block;
  width: min(100%, 16rem);
  height: auto;
  margin: 0 auto 1.5rem;
  border-radius: var(--radius-small);
  box-shadow: var(--image-shadow);
}

.contact-panel-logo-bottom {
  margin-top: auto;
  margin-bottom: 0;
}

.contact-list {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-list li span,
.footer-links li span {
  margin-top: 0.18rem;
}

.contact-panel .note-card h3 {
  margin-bottom: 1rem;
}

.contact-panel .note-card p {
  line-height: 1.9;
}

.form-row {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.contact-form .button.button-primary {
  display: flex;
  margin: 1.5rem auto 0;
}

.form-row label {
  font-weight: 600;
  color: var(--accent);
}

.required-text,
.form-help {
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(31, 78, 121, 0.16);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

input::placeholder,
textarea::placeholder {
  color: rgba(58, 71, 82, 0.58);
  font-size: 0.95rem;
  font-weight: 500;
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(31, 78, 121, 0.32);
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(31, 78, 121, 0.58);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(31, 78, 121, 0.1);
  outline: none;
}

select:has(option[value=""]:checked) {
  color: rgba(58, 71, 82, 0.66);
}

select {
  padding-left: 1.2rem;
  padding-right: 1.2rem;
}

textarea {
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
  resize: vertical;
}

.checkbox-row {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.75rem;
}

.checkbox-row input {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.15rem;
}

.legal-layout {
  max-width: 62rem;
  display: grid;
  gap: 1rem;
}

.site-footer {
  margin-top: 3rem;
  background: linear-gradient(180deg, #10253a, #111111);
  color: rgba(255, 255, 255, 0.9);
}

.kit-digital-footer {
  width: 100%;
  overflow: hidden;
  background: #ffffff;
  padding: 10px;
}

.kit-digital-footer img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  box-shadow: var(--image-shadow);
}

.footer-grid {
  display: grid;
  width: min(calc(100% - 2.5rem), 1440px);
  max-width: 1440px;
  gap: 2.25rem;
  padding: 3rem 0 2rem;
  align-items: start;
}

.footer-grid h2,
.footer-mark {
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.footer-mark {
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.footer-logo {
  width: 6.5rem;
  height: 6.5rem;
  object-fit: contain;
  margin: 0 auto 1rem;
}

.footer-grid > section:first-child {
  text-align: center;
}

.footer-grid > section:first-child p {
  color: #ffffff;
}

.footer-grid h2 {
  color: #d8d8d8;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-links {
  display: grid;
  gap: 0.65rem;
}

.footer-links li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.88);
}

.legal-strip,
.copyright {
  padding-bottom: 1.4rem;
}

.legal-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  text-align: center;
}

.legal-strip a,
.copyright p {
  color: rgba(255, 255, 255, 0.82);
}

.copyright {
  padding-top: 0.4rem;
  padding-bottom: 1.8rem;
  text-align: center;
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: calc(1rem + var(--cookie-banner-offset));
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1fa855;
  color: #fff;
  box-shadow: 0 18px 36px rgba(31, 168, 85, 0.32);
  z-index: 45;
  text-decoration: none;
  font-size: 1.6rem;
}

.has-cookie-modal {
  overflow: hidden;
}

.cookie-consent {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 1050;
  width: min(calc(100% - 1.5rem), 78rem);
  transform: translate(-50%, calc(100% + 1rem));
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent.is-visible {
  transform: translate(-50%, -0.75rem);
  opacity: 1;
}

.cookie-consent__inner {
  display: grid;
  gap: 1.2rem;
  padding: 1.2rem;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 1.4rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 244, 237, 0.98));
  box-shadow: 0 24px 60px rgba(17, 17, 17, 0.16);
  backdrop-filter: blur(12px);
}

.cookie-consent__copy {
  display: grid;
  gap: 0.55rem;
}

.cookie-consent__eyebrow {
  margin: 0;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cookie-consent__title {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.15;
}

.cookie-consent__text {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.98rem;
}

.cookie-consent__text a {
  font-weight: 700;
}

.cookie-consent__actions,
.cookie-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cookie-button {
  min-height: 3rem;
  cursor: pointer;
  font: inherit;
}

.cookie-button.cookie-button--secondary {
  background: #fff;
  color: var(--text);
  border-color: rgba(17, 17, 17, 0.14);
}

.cookie-button.cookie-button--secondary:hover,
.cookie-button.cookie-button--secondary:focus-visible {
  background: var(--surface-soft);
}

.cookie-button.cookie-button--ghost {
  background: rgba(31, 78, 121, 0.08);
  color: var(--accent);
  border-color: rgba(31, 78, 121, 0.16);
}

.cookie-button.cookie-button--ghost:hover,
.cookie-button.cookie-button--ghost:focus-visible {
  background: rgba(31, 78, 121, 0.14);
  color: var(--accent-deep);
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.cookie-modal[hidden] {
  display: none;
}

.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 20, 28, 0.56);
}

.cookie-modal__dialog {
  position: relative;
  width: min(100%, 46rem);
  max-height: min(100vh - 2rem, 44rem);
  overflow: auto;
  padding: 1.35rem;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 1.5rem;
  background:
    linear-gradient(180deg, #fffdfa 0%, #f6f1e8 100%);
  box-shadow: 0 28px 68px rgba(17, 17, 17, 0.22);
}

.cookie-modal__header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: start;
  margin-bottom: 1rem;
}

.cookie-modal__header-copy {
  display: grid;
  gap: 0.45rem;
}

.cookie-modal__title {
  margin: 0;
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
  line-height: 1.15;
}

.cookie-modal__description {
  margin: 0;
  color: var(--text-soft);
}

.cookie-modal__close {
  width: 2.8rem;
  height: 2.8rem;
  min-height: 0;
  padding: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--text);
}

.cookie-modal__list {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1.15rem;
}

.cookie-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.88);
}

.cookie-option__copy {
  display: grid;
  gap: 0.35rem;
}

.cookie-option__title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
}

.cookie-option__description {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.cookie-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  min-width: 3.5rem;
  height: 2rem;
}

.cookie-toggle input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
}

.cookie-toggle__track {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.18);
  transition: background-color 0.2s ease;
}

.cookie-toggle__track::after {
  content: "";
  position: absolute;
  top: 0.22rem;
  left: 0.22rem;
  width: 1.56rem;
  height: 1.56rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 10px rgba(17, 17, 17, 0.18);
  transition: transform 0.2s ease;
}

.cookie-toggle input:checked + .cookie-toggle__track {
  background: linear-gradient(135deg, var(--brand) 0%, #a97034 100%);
}

.cookie-toggle input:checked + .cookie-toggle__track::after {
  transform: translateX(1.5rem);
}

.cookie-toggle input:disabled + .cookie-toggle__track {
  background: rgba(139, 90, 43, 0.45);
}

.cookie-toggle input:focus-visible + .cookie-toggle__track {
  outline: 3px solid #d89738;
  outline-offset: 3px;
}

.cookie-modal__note {
  margin: 0 0 1.2rem;
  color: var(--text-soft);
  font-size: 0.92rem;
}

@media (min-width: 768px) {
  .cookie-consent__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .cookie-consent__actions {
    justify-content: flex-end;
  }

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

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

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

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

  .feature-band {
    flex-direction: row;
    align-items: center;
  }

  .service-detail,
  .service-detail-reverse {
    grid-template-columns: 1.1fr 1fr;
  }

  .service-detail-reverse img {
    order: 2;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 0.96rem;
  }

  .page-home main > :not(.hero-section),
  .page-services main > :not(.page-hero),
  .page-blog main > :not(.page-hero),
  .page-contact main > :not(.page-hero),
  .page-cookies main > :not(.page-hero),
  .page-legal main > :not(.page-hero),
  .page-accessibility main > :not(.page-hero) {
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }

  .header-inner {
    position: relative;
    min-height: clamp(3.5rem, 14vw, 4.5rem);
    padding-block: 0.5rem;
    padding-inline: var(--gutter);
  }

  .site-nav .nav-cta {
    display: none;
  }

  .js .site-nav {
    position: absolute;
    top: calc(100% - 0.35rem);
    right: var(--gutter);
    width: auto;
    min-width: 10.5rem;
    padding: 0.75rem 0 1rem;
    padding-inline: 0.9rem;
    text-align: right;
    background: rgba(248, 246, 242, 0.98);
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 18px;
    box-shadow: 0 18px 32px rgba(17, 17, 17, 0.12);
  }

  .cookie-consent {
    width: min(calc(100% - 1rem), 100%);
  }

  .cookie-consent__inner {
    padding: 1rem;
    border-radius: 1.15rem;
  }

  .cookie-consent__actions,
  .cookie-modal__actions {
    display: grid;
  }

  .cookie-button {
    width: 100%;
  }

  .cookie-modal {
    padding: 0.75rem;
  }

  .cookie-modal__dialog {
    padding: 1rem;
    border-radius: 1.2rem;
  }

  .cookie-option {
    grid-template-columns: 1fr;
  }

  .cookie-toggle {
    justify-self: start;
  }

  .site-nav ul {
    align-items: flex-end;
    gap: 0.35rem;
  }

  .site-nav a {
    font-size: 0.95rem;
  }

  .section {
    padding: 3.25rem 0;
  }

  .page-home .section {
    padding: 1.625rem 0;
  }

  h1 {
    font-size: clamp(1.95rem, 7vw, 2.5rem);
  }

  h2 {
    font-size: clamp(1.45rem, 5.2vw, 1.95rem);
  }

  h3,
  h3.eyebrow {
    font-size: 1.05rem;
    line-height: 1.3;
  }

  .lead {
    font-size: 0.98rem;
  }

  p,
  li {
    line-height: 1.65;
  }

  .eyebrow {
    font-size: 0.82rem;
    letter-spacing: 0.12em;
  }

  .hero-banner::after {
    background:
      linear-gradient(180deg, rgba(10, 16, 22, 0.82) 0%, rgba(10, 16, 22, 0.56) 52%, rgba(10, 16, 22, 0.62) 100%),
      linear-gradient(120deg, rgba(201, 164, 106, 0.12), transparent 35%);
  }

  .hero-banner__inner {
    width: min(calc(100% - 2.75rem), var(--container));
    align-items: flex-end;
    padding-top: 5.75rem;
    padding-bottom: 2.5rem;
  }

  .hero-banner-home .hero-banner__inner {
    align-items: center;
    justify-content: center;
    padding-bottom: 1.5rem;
  }

  .page-hero .hero-banner__inner {
    align-items: center;
    justify-content: center;
  }

  .hero-banner-home .hero-copy {
    width: 100%;
    text-align: center;
  }

  .page-hero .hero-copy {
    width: 100%;
    text-align: center;
  }

  .hero-banner-home .hero-copy-overlay {
    margin-inline: auto;
  }

  .page-hero .hero-copy-overlay {
    margin-inline: auto;
  }

  .page-hero .hero-copy h2,
  .page-hero .hero-copy h3,
  .page-hero .hero-copy .lead {
    display: none;
  }

  .hero-banner-accessibility .hero-copy .lead {
    display: block;
  }

  .hero-copy-overlay {
    max-width: 100%;
  }

  .hero-copy-overlay::before {
    inset: -0.75rem auto auto -0.5rem;
    width: 2.5rem;
    height: 2.5rem;
  }

  .hero-banner h1,
  .hero-banner h2,
  .hero-banner h3 {
    max-width: 100%;
  }

  .hero-banner h1 {
    font-size: clamp(1.65rem, 7vw, 2.15rem);
    line-height: 1.08;
  }

  .hero-banner h2 {
    font-size: clamp(1.02rem, 4.3vw, 1.3rem);
  }

  .hero-banner h3 {
    font-size: 0.88rem;
    line-height: 1.35;
  }

  .hero-banner .lead {
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-copy-overlay .trust-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .hero-copy-overlay .trust-list li {
    white-space: normal;
  }

  .hero-banner-home .hero-copy h2,
  .hero-banner-home .hero-copy h3,
  .hero-banner-home .hero-copy .lead,
  .hero-banner-home .hero-copy .hero-actions,
  .hero-banner-home .hero-copy .trust-list {
    display: none;
  }

  .hero-banner-home .hero-copy h1 {
    max-width: 100%;
    margin-bottom: 0;
    padding-inline: 0.75rem;
    text-align: center;
  }

  .section-heading,
  .section-heading-center {
    margin-bottom: 1.75rem;
  }

  .info-card,
  .contact-panel,
  .contact-form,
  .feature-band {
    padding: 1.25rem;
  }

  .project-card > div,
  .blog-card-copy {
    padding: 1rem;
  }

  .project-tag {
    font-size: 0.74rem;
  }

  .project-card h3,
  .blog-card h3 {
    font-size: 1rem;
    line-height: 1.3;
  }

  .blog-card p {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .service-heading h2 {
    font-size: 1.02rem;
  }

  .service-detail p,
  .service-detail .check-list li {
    font-size: 0.94rem;
    line-height: 1.65;
  }

  .feature-band h2 {
    font-size: 1.3rem;
  }

  .footer-grid h2 {
    font-size: 1rem;
  }

  .footer-links,
  .copyright,
  .legal-strip {
    font-size: 0.92rem;
  }

  .footer-grid {
    width: min(calc(100% - 20px), 1440px);
    gap: 1.75rem;
    padding: 2.5rem 0 1.75rem;
    text-align: center;
  }

  .footer-grid > section {
    text-align: center;
  }

  .footer-links li {
    justify-content: center;
  }

  .legal-strip {
    gap: 0.75rem;
  }

  .page-contact .contact-panel-logo-bottom {
    margin-top: 2rem;
  }
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }

  .site-nav,
  .js .site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2rem;
    width: auto;
    padding: 0;
  }

  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
  }

  .nav-cta {
    margin-top: 0;
  }

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

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

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

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

.blog-card__media-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.blog-card-copy h3 a {
  color: inherit;
  text-decoration: none;
}

.blog-card-date {
  margin: 0.25rem 0 0;
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 600;
}

.blog-state {
  grid-column: 1 / -1;
  max-width: 44rem;
  margin: 0 auto;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.78);
  text-align: center;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.25rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
}

.breadcrumbs a {
  color: #fff;
}

.article-layout {
  max-width: 960px;
}

.article-featured-image {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--image-shadow);
  object-fit: cover;
}

.article-content {
  margin: 3rem auto 0;
  max-width: 820px;
  color: var(--text-soft);
  font-size: 1.06rem;
}

.article-content > * + * {
  margin-top: 1.15rem;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  color: var(--text);
  line-height: 1.25;
}

.article-content h2 {
  margin-top: 2.5rem;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.article-content h3 {
  margin-top: 2rem;
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
}

.article-content a {
  color: var(--brand);
  font-weight: 700;
}

.article-content img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-small);
}

.article-content ul,
.article-content ol {
  padding-left: 1.35rem;
}

.article-cta {
  margin-top: 3rem;
}
/* Language selector */
.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.language-switcher a { text-decoration: none; opacity: .65; }
.language-switcher a[aria-current="true"] { opacity: 1; text-decoration: underline; text-underline-offset: .2em; }

/* Google Translate: English route only. Keep the automatic widget invisible. */
#google_translate_element { position: fixed; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.goog-te-banner-frame.skiptranslate, iframe.goog-te-banner-frame { display: none !important; }
body { top: 0 !important; }
.goog-logo-link, .goog-te-gadget span { display: none !important; }
