:root {
  --brand: #f2a900;
  --brand-dark: #c98600;
  --ink: #17191d;
  --ink-soft: #34383f;
  --muted: #69707a;
  --surface: #ffffff;
  --surface-alt: #f5f6f7;
  --surface-dark: #16191e;
  --line: #e4e7eb;
  --success: #177245;
  --error: #b42318;
  --shadow-sm: 0 8px 24px rgba(20, 25, 34, 0.08);
  --shadow-lg: 0 24px 70px rgba(20, 25, 34, 0.16);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1180px;
  --header-height: 92px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
  background: var(--surface);
}

body {
  margin: 0;
  min-width: 0;
  color: var(--ink-soft);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

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

a:hover {
  color: var(--brand-dark);
}

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

h1,
h2,
h3,
h4 {
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.5rem, 5.6vw, 5.35rem);
}

h2 {
  font-size: clamp(2rem, 3.8vw, 3.65rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

::selection {
  color: var(--ink);
  background: rgba(242, 169, 0, 0.34);
}

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

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

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  color: var(--ink);
  background: var(--brand);
  border-radius: 8px;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 2px;
  background: currentColor;
  content: "";
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 760;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  color: #17191d;
  background: var(--brand);
  box-shadow: 0 12px 28px rgba(242, 169, 0, 0.26);
}

.button-primary:hover {
  color: #17191d;
  background: #ffb914;
  box-shadow: 0 15px 34px rgba(242, 169, 0, 0.34);
}

.button-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.button-ghost:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.button-dark {
  color: #fff;
  background: var(--ink);
}

.button-dark:hover {
  color: #fff;
  background: #292d34;
}

/* Header */
.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(23, 25, 29, 0.08);
  backdrop-filter: blur(18px);
  transition: box-shadow 200ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(23, 25, 29, 0.08);
}

.header-topline {
  color: rgba(255, 255, 255, 0.78);
  background: var(--surface-dark);
  font-size: 0.78rem;
}

.header-topline-inner {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-contact-links {
  display: flex;
  gap: 22px;
}

.header-contact-links a {
  color: #fff;
}

.header-contact-links a:hover {
  color: var(--brand);
}

.header-main {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

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

.primary-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.primary-nav > a {
  position: relative;
  padding: 11px 13px;
  color: var(--ink-soft);
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 720;
  transition: color 160ms ease, background 160ms ease;
}

.primary-nav > a:not(.nav-cta):hover,
.primary-nav > a.active {
  color: var(--ink);
  background: var(--surface-alt);
}

.primary-nav > a.active::after {
  position: absolute;
  right: 18px;
  bottom: 5px;
  left: 18px;
  height: 2px;
  background: var(--brand);
  border-radius: 99px;
  content: "";
}

.primary-nav .nav-cta {
  margin-left: 6px;
  padding-inline: 20px;
  color: var(--ink);
  background: var(--brand);
}

.primary-nav .nav-cta:hover {
  color: var(--ink);
  background: #ffb914;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: var(--surface-alt);
  cursor: pointer;
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  display: block;
  width: 21px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
  transition: transform 180ms ease, opacity 180ms ease;
  content: "";
}

.menu-toggle-lines {
  position: relative;
}

.menu-toggle-lines::before {
  position: absolute;
  top: -7px;
}

.menu-toggle-lines::after {
  position: absolute;
  top: 7px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 126px));
  color: #fff;
  background: var(--surface-dark);
}

.hero-slider {
  position: relative;
  min-height: inherit;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  min-height: inherit;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  background-position: center;
  background-size: cover;
  transform: scale(1.025);
  transition: opacity 700ms ease, visibility 700ms ease, transform 6s ease;
}

.hero-slide::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 20, 25, 0.94) 0%, rgba(18, 20, 25, 0.74) 48%, rgba(18, 20, 25, 0.16) 100%),
    linear-gradient(0deg, rgba(18, 20, 25, 0.35), transparent 45%);
  content: "";
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hero-slide-1 { background-image: url('/design/images/slider-1.jpg'); }
.hero-slide-2 { background-image: url('/design/images/slider-2.jpg'); }
.hero-slide-3 { background-image: url('/design/images/slider-3.jpg'); }
.hero-slide-4 { background-image: url('/design/images/slider-4.jpg'); }
.hero-slide-5 { background-image: url('/design/images/slider-5.jpg'); }

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 100px;
}

.hero-content .eyebrow {
  color: var(--brand);
}

.hero-content h1,
.hero-content h2 {
  max-width: 850px;
  margin-bottom: 24px;
  color: #fff;
}

.hero-content h2 {
  font-size: clamp(2.6rem, 5.2vw, 5rem);
}

.hero-content p {
  max-width: 680px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.slider-button {
  position: absolute;
  z-index: 5;
  top: 50%;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: #fff;
  background: rgba(18, 20, 25, 0.34);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transform: translateY(-50%);
  transition: background 160ms ease, border-color 160ms ease;
}

.slider-button:hover {
  border-color: var(--brand);
  background: rgba(18, 20, 25, 0.72);
}

.slider-prev { left: 24px; }
.slider-next { right: 24px; }

.slider-dots {
  position: absolute;
  z-index: 6;
  right: 0;
  bottom: 30px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 9px;
}

.slider-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.slider-dot.is-active {
  width: 30px;
  background: var(--brand);
}

.trust-strip {
  position: relative;
  z-index: 7;
  margin-top: -1px;
  color: #fff;
  background: var(--ink);
}

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

.trust-grid > div {
  min-height: 128px;
  padding: 27px 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-grid > div:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  margin-bottom: 7px;
  color: #fff;
  font-size: 1rem;
}

.trust-grid span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
  line-height: 1.45;
}

/* Sections */
.section {
  padding-block: clamp(72px, 9vw, 126px);
}

.section-muted {
  background: var(--surface-alt);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 46px;
}

.section-heading-wide > div {
  max-width: 700px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p {
  max-width: 420px;
  margin-bottom: 4px;
  color: var(--muted);
}

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

.service-card {
  position: relative;
  display: flex;
  min-height: 335px;
  flex-direction: column;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.service-card::after {
  position: absolute;
  right: -60px;
  bottom: -70px;
  width: 170px;
  height: 170px;
  border: 26px solid rgba(242, 169, 0, 0.08);
  border-radius: 50%;
  content: "";
  transition: transform 350ms ease;
}

.service-card:hover {
  z-index: 2;
  border-color: rgba(242, 169, 0, 0.55);
  box-shadow: var(--shadow-lg);
  transform: translateY(-7px);
}

.service-card:hover::after {
  transform: scale(1.18);
}

.service-number {
  margin-bottom: 34px;
  color: var(--brand-dark);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.service-card h3 {
  margin-bottom: 15px;
}

.service-card p {
  position: relative;
  z-index: 1;
  margin-bottom: 26px;
  color: var(--muted);
}

.service-card > a {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--ink);
  font-size: 0.93rem;
  font-weight: 800;
}

.service-card > a span {
  color: var(--brand-dark);
  transition: transform 160ms ease;
}

.service-card > a:hover span {
  transform: translateX(4px);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: clamp(45px, 8vw, 100px);
}

.split-copy h2 {
  margin-bottom: 22px;
}

.split-copy > p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.05rem;
}

.check-list {
  display: grid;
  margin: 32px 0 0;
  padding: 0;
  gap: 14px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--ink-soft);
  font-weight: 650;
}

.check-list li::before {
  position: absolute;
  top: 0.18em;
  left: 0;
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  color: var(--ink);
  background: var(--brand);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 900;
  content: "✓";
}

.process-card {
  padding: clamp(30px, 5vw, 50px);
  color: #fff;
  border-radius: var(--radius-lg);
  background: var(--ink);
  box-shadow: var(--shadow-lg);
}

.process-card .eyebrow {
  color: var(--brand);
}

.process-list {
  display: grid;
  margin: 6px 0 0;
  padding: 0;
  gap: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.process-list li:last-child {
  border-bottom: 0;
}

.process-list li > span {
  color: var(--brand);
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.process-list strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: 1.1rem;
}

.process-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
  line-height: 1.55;
}

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

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

.cta-card {
  display: flex;
  min-height: 315px;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(38px, 7vw, 80px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 255, 255, 0.28), transparent 23%),
    linear-gradient(135deg, var(--brand), #f7c351);
}

.cta-card > div {
  max-width: 760px;
}

.cta-card .eyebrow {
  color: rgba(23, 25, 29, 0.72);
}

.cta-card h2 {
  margin-bottom: 16px;
}

.cta-card p {
  max-width: 670px;
  margin-bottom: 0;
  color: rgba(23, 25, 29, 0.72);
  font-size: 1.05rem;
}

/* Interior page hero */
.page-hero,
.article-hero,
.reference-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--surface-dark);
}

.page-hero::after,
.article-hero::after {
  position: absolute;
  right: -120px;
  bottom: -280px;
  width: 620px;
  height: 620px;
  border: 85px solid rgba(242, 169, 0, 0.16);
  border-radius: 50%;
  content: "";
}

.page-hero-inner,
.article-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 360px;
  flex-direction: column;
  justify-content: center;
  padding-block: 72px;
}

.page-hero .eyebrow,
.article-hero .eyebrow {
  color: var(--brand);
}

.page-hero h1,
.article-hero h1,
.reference-hero h1 {
  max-width: 900px;
  margin-bottom: 0;
  color: #fff;
}

.page-hero p {
  max-width: 700px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
}

.page-hero-references {
  background:
    linear-gradient(90deg, rgba(18, 20, 25, 0.96), rgba(18, 20, 25, 0.6)),
    url('/design/images/slider-2.jpg') center/cover;
}

.page-hero-blog {
  background:
    linear-gradient(90deg, rgba(18, 20, 25, 0.96), rgba(18, 20, 25, 0.58)),
    url('/design/images/slider-5.jpg') center/cover;
}

.reference-hero {
  background-position: center;
  background-size: cover;
}

.reference-hero .page-hero-inner {
  min-height: 430px;
}

.back-link {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 26px;
  color: var(--brand);
  font-weight: 780;
}

.back-link:hover {
  color: #ffc94b;
}

/* CMS and prose */
.content-layout {
  max-width: 1120px;
}

.content-shell,
.article-shell {
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.article-shell {
  max-width: 900px;
}

.prose {
  color: var(--ink-soft);
}

.prose > :first-child {
  margin-top: 0;
}

.prose > :last-child {
  margin-bottom: 0;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
  margin-top: 1.6em;
  margin-bottom: 0.65em;
}

.prose h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
.prose h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); }
.prose h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }

.prose p,
.prose li {
  color: #4f5660;
}

.prose p {
  margin-bottom: 1.2em;
}

.prose ul,
.prose ol {
  margin: 1.4em 0;
  padding-left: 1.35em;
}

.prose li {
  margin: 0.55em 0;
}

.prose a {
  color: var(--brand-dark);
  font-weight: 720;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.prose img {
  margin: 26px auto;
  border-radius: var(--radius-sm);
}

.prose table {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 26px 0;
  overflow-x: auto;
  border-collapse: collapse;
}

.prose th,
.prose td {
  min-width: 160px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  text-align: left;
}

.prose th {
  color: var(--ink);
  background: var(--surface-alt);
}

.prose hr {
  margin: 46px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 40px 0 54px;
}

.contact-card {
  min-height: 145px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
}

.contact-label {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-card a,
.contact-card strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.contact-section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 28px;
  margin-top: 36px;
}

.contact-form-wrap,
.map-card {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

.contact-form-wrap h2 {
  margin-bottom: 14px;
}

.contact-form-wrap > p {
  margin-bottom: 28px;
  color: var(--muted);
}

.contact-form {
  position: relative;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

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

.form-grid label > span:first-child {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 760;
}

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

.form-grid input,
.form-grid textarea,
.form-grid select {
  width: 100%;
  border: 1px solid #d8dce1;
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-grid input,
.form-grid select {
  min-height: 50px;
  padding: 0 14px;
}

.form-grid textarea {
  min-height: 170px;
  padding: 14px;
  resize: vertical;
}

.form-grid input:focus,
.form-grid textarea:focus,
.form-grid select:focus {
  border-color: var(--brand-dark);
  box-shadow: 0 0 0 4px rgba(242, 169, 0, 0.14);
}

.form-consent {
  display: grid !important;
  grid-template-columns: 20px 1fr;
  align-items: flex-start;
  gap: 11px !important;
}

.form-consent input {
  width: 18px;
  min-height: auto;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--brand-dark);
}

.form-consent span {
  color: var(--muted) !important;
  font-size: 0.83rem !important;
  font-weight: 520 !important;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.map-card {
  min-height: 560px;
  padding: 0;
  overflow: hidden;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 560px;
  border: 0;
}

.form-notice {
  margin: 24px 0;
  padding: 16px 18px;
  border-radius: 10px;
  font-weight: 700;
}

.form-notice.success {
  color: var(--success);
  border: 1px solid rgba(23, 114, 69, 0.25);
  background: rgba(23, 114, 69, 0.08);
}

.form-notice.error {
  color: var(--error);
  border: 1px solid rgba(180, 35, 24, 0.25);
  background: rgba(180, 35, 24, 0.08);
}

/* References */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 34px;
}

.filter-button {
  min-height: 42px;
  padding: 8px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: #fff;
  font-weight: 720;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.filter-button:hover,
.filter-button.active {
  color: var(--ink);
  border-color: var(--brand);
  background: var(--brand);
}

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

.reference-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.reference-card[hidden] {
  display: none;
}

.reference-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.reference-card > a {
  display: block;
}

.reference-image {
  aspect-ratio: 16 / 10;
  background-color: #d6d8dc;
  background-position: center;
  background-size: cover;
  transition: transform 500ms ease;
}

.reference-card:hover .reference-image {
  transform: scale(1.035);
}

.reference-content {
  padding: 26px 28px 29px;
}

.reference-content > span:first-child {
  display: block;
  margin-bottom: 9px;
  color: var(--brand-dark);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.reference-content h2 {
  margin-bottom: 22px;
  font-size: clamp(1.35rem, 2.3vw, 1.95rem);
}

.reference-link {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.reference-description {
  max-width: 960px;
  margin-bottom: 65px;
}

.gallery-heading {
  margin-top: 10px;
}

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

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-sm);
  background-position: center;
  background-size: cover;
  cursor: zoom-in;
}

.gallery-item::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(17, 19, 23, 0.54);
  opacity: 0;
  content: "";
  transition: opacity 180ms ease;
}

.gallery-item span {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  opacity: 0;
  transition: opacity 180ms ease;
}

.gallery-item:hover::after,
.gallery-item:hover span {
  opacity: 1;
}

.lightbox {
  position: fixed;
  z-index: 3000;
  inset: 0;
  display: grid;
  padding: 60px 24px 24px;
  place-items: center;
  background: rgba(8, 9, 11, 0.92);
  backdrop-filter: blur(12px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1200px, 96vw);
  max-height: 84vh;
  border-radius: 12px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.45);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #fff;
  background: transparent;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.blog-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.blog-card-image {
  display: block;
  aspect-ratio: 16 / 10;
  background-color: #dadde1;
  background-position: center;
  background-size: cover;
}

.blog-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
  text-transform: uppercase;
}

.blog-meta span {
  color: var(--brand-dark);
}

.blog-card h2 {
  margin-bottom: 15px;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

.blog-excerpt {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.93rem;
}

.blog-excerpt p:last-child {
  margin-bottom: 0;
}

.text-link {
  margin-top: auto;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 820;
}

.article-hero-inner {
  min-height: 430px;
}

.article-section {
  background: var(--surface-alt);
}

.article-navigation {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 60px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.article-navigation a {
  text-decoration: none;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 50px;
  border: 1px dashed #cdd2d8;
  border-radius: var(--radius-md);
  color: var(--muted);
  background: var(--surface-alt);
  text-align: center;
}

/* Footer */
.site-footer {
  color: rgba(255, 255, 255, 0.66);
  background: var(--surface-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr 1fr;
  gap: 55px;
  padding-block: 72px;
}

.footer-grid h2 {
  margin-bottom: 18px;
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-grid p,
.footer-grid address {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
  font-style: normal;
}

.footer-grid a {
  color: rgba(255, 255, 255, 0.76);
}

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

.footer-brand img {
  width: 210px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.footer-brand p {
  max-width: 360px;
}

.footer-nav {
  display: grid;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-bottom-inner {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.8rem;
}

.back-to-top {
  position: fixed;
  z-index: 900;
  right: 20px;
  bottom: 20px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: var(--brand);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  cursor: pointer;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Focus */
:focus-visible {
  outline: 3px solid rgba(242, 169, 0, 0.72);
  outline-offset: 3px;
}

/* Responsive */
@media (max-width: 1080px) {
  :root { --header-height: 78px; }

  .header-topline { display: none; }

  .header-main {
    min-height: var(--header-height);
  }

  .brand img {
    width: 190px;
  }

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

  .primary-nav {
    position: absolute;
    z-index: 1500;
    top: 100%;
    right: 0;
    left: 0;
    display: flex;
    height: calc(100dvh - var(--header-height));
    padding: 28px 20px 45px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.99);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

  .primary-nav > a {
    padding: 15px 17px;
    border-radius: 10px;
    font-size: 1.05rem;
  }

  .primary-nav .nav-cta {
    margin: 12px 0 0;
    text-align: center;
  }

  .primary-nav > a.active::after {
    display: none;
  }

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

  .trust-grid > div:nth-child(3) {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }

  .services-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(2, 1fr);
  }
}

@media (max-width: 820px) {
  .section-heading,
  .cta-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading > p {
    max-width: 680px;
  }

  .split-layout,
  .contact-section-grid {
    grid-template-columns: 1fr;
  }

  .process-card {
    max-width: none;
  }

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

  .contact-card {
    min-height: 0;
  }

  .map-card,
  .map-card iframe {
    min-height: 420px;
  }

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

  .slider-button {
    top: auto;
    bottom: 20px;
    width: 44px;
    height: 44px;
  }

  .slider-prev { left: 20px; }
  .slider-next { right: 20px; }

  .slider-dots {
    bottom: 37px;
  }
}

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

  .brand img {
    width: 166px;
  }

  .hero {
    min-height: 650px;
  }

  .hero-slide {
    background-position: 60% center;
  }

  .hero-slide::before {
    background: linear-gradient(90deg, rgba(18, 20, 25, 0.96), rgba(18, 20, 25, 0.75));
  }

  .hero-content {
    padding-top: 64px;
    padding-bottom: 100px;
  }

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

  .hero-content p {
    font-size: 1rem;
  }

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

  .button {
    width: 100%;
  }

  .trust-grid,
  .services-grid,
  .references-grid,
  .blog-grid,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid > div,
  .trust-grid > div:first-child,
  .trust-grid > div:nth-child(3) {
    min-height: auto;
    padding: 22px 4px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 0;
  }

  .service-card {
    min-height: 300px;
    padding: 28px;
  }

  .section {
    padding-block: 72px;
  }

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

  .page-hero-inner,
  .article-hero-inner,
  .reference-hero .page-hero-inner {
    min-height: 310px;
    padding-block: 58px;
  }

  .content-shell,
  .article-shell {
    padding: 24px 20px;
    border-radius: 14px;
  }

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

  .form-full {
    grid-column: auto;
  }

  .cta-card {
    min-height: 0;
    padding: 34px 24px;
  }

  .footer-grid {
    gap: 38px;
    padding-block: 54px;
  }

  .footer-bottom-inner {
    padding-block: 18px;
    flex-direction: column;
    align-items: flex-start;
  }

  .article-navigation {
    flex-direction: column;
  }
}

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

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

/* Modern CMS content helpers */
.content-lead {
  margin-bottom: 42px;
  padding: 28px 30px;
  border-left: 5px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--surface-alt);
}

.content-lead p:last-child {
  margin-bottom: 0;
}

.content-lead strong {
  color: var(--ink);
  font-size: 1.12rem;
}

.content-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0 46px;
}

.content-card-block {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}

.content-card-block h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.content-card-block p:last-child {
  margin-bottom: 0;
}

.pill-list {
  display: flex !important;
  padding: 0 !important;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.pill-list li {
  margin: 0 !important;
  padding: 9px 14px;
  border: 1px solid rgba(242, 169, 0, 0.35);
  border-radius: 999px;
  color: var(--ink) !important;
  background: rgba(242, 169, 0, 0.09);
  font-size: 0.88rem;
  font-weight: 720;
}

@media (max-width: 820px) {
  .content-card-grid {
    grid-template-columns: 1fr;
  }
}

/* Rich text content images inserted from the TEPÓ CMS */
.prose figure.content-image {
  display: flow-root;
  max-width: 100%;
  margin: 34px 0;
}
.prose figure.content-image img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 34px rgba(17, 24, 39, .10);
}
.prose figure.content-image a {
  display: block;
}
.prose figure.content-image figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.5;
  text-align: center;
}
.prose figure.content-image--center {
  width: min(76%, 760px);
  margin-inline: auto;
}
.prose figure.content-image--left,
.prose figure.content-image--right {
  width: min(45%, 520px);
  margin-top: 10px;
}
.prose figure.content-image--left {
  float: left;
  margin-right: 28px;
}
.prose figure.content-image--right {
  float: right;
  margin-left: 28px;
}
.prose blockquote {
  margin: 30px 0;
  padding: 22px 26px;
  color: var(--ink);
  background: #fff8e8;
  border-left: 5px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.prose pre {
  max-width: 100%;
  padding: 20px;
  overflow: auto;
  color: #e8edf3;
  background: #171b20;
  border-radius: var(--radius-sm);
  font: .92rem/1.65 ui-monospace, SFMono-Regular, Consolas, monospace;
}
.prose::after {
  display: table;
  clear: both;
  content: "";
}
@media (max-width: 760px) {
  .prose figure.content-image--center,
  .prose figure.content-image--left,
  .prose figure.content-image--right {
    width: 100%;
    float: none;
    margin-inline: 0;
  }
}

/* Tudástárba és tartalmi oldalakba ágyazott videók */
.prose .video-embed,
.article-body .video-embed,
.content .video-embed {
  position: relative;
  width: 100%;
  margin: 32px 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #101318;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(18, 20, 25, 0.14);
}
.prose .video-embed iframe,
.article-body .video-embed iframe,
.content .video-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.article-hero-with-image {
  background-position: center;
  background-size: cover;
}


/* Karrieroldal – pozíciócsempék és részletes állásleírások */
.career-openings {
  margin-top: 58px;
  scroll-margin-top: 130px;
}

.career-section-heading {
  max-width: 820px;
  margin-bottom: 30px;
}

.career-section-heading h2 {
  margin-bottom: 14px;
}

.career-section-heading > p {
  max-width: 760px;
  color: var(--muted);
}

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


.prose a.career-card {
  color: var(--ink-soft);
  font-weight: inherit;
  text-decoration: none;
}

.prose a.career-card:hover,
.prose a.career-card:focus-visible {
  color: var(--ink-soft);
}

.prose .career-card h3,
.prose .career-section-heading h2,
.prose .career-position-header h2 {
  margin-top: 0;
}

.prose .career-card > p {
  margin-bottom: 18px;
}

.prose .career-card-meta span,
.prose .career-position-meta span {
  color: var(--ink-soft);
}

.career-card {
  position: relative;
  display: flex;
  min-height: 320px;
  flex-direction: column;
  padding: 30px;
  overflow: hidden;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.career-card::after {
  position: absolute;
  right: -52px;
  bottom: -64px;
  width: 164px;
  height: 164px;
  border: 22px solid rgba(242, 169, 0, 0.10);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.career-card:hover,
.career-card:focus-visible {
  color: var(--ink-soft);
  border-color: rgba(242, 169, 0, 0.55);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.career-card:focus-visible {
  outline: 3px solid rgba(242, 169, 0, 0.32);
  outline-offset: 3px;
}

.career-number {
  position: relative;
  z-index: 1;
  margin-bottom: 30px;
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.career-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
  font-size: clamp(1.32rem, 2vw, 1.7rem);
}

.career-card > p {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
  color: var(--muted);
}

.career-card-meta,
.career-position-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.career-card-meta {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}

.career-card-meta span,
.career-position-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  color: var(--ink-soft);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.career-card-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  color: var(--ink);
  font-size: 0.92rem;
}

.career-card-link span {
  color: var(--brand-dark);
  transition: transform 180ms ease;
}

.career-card:hover .career-card-link span {
  transform: translateX(4px);
}

.career-position-list {
  display: grid;
  gap: 28px;
  margin-top: 72px;
}

.career-position {
  padding: clamp(26px, 4vw, 52px);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  scroll-margin-top: 130px;
}

.career-position-header {
  padding-bottom: 26px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.career-position-header h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.career-position-body > :last-child {
  margin-bottom: 0;
}

.career-position-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding-top: 30px;
  margin-top: 32px;
  border-top: 1px solid var(--line);
}

.career-back-link {
  color: var(--muted);
  font-weight: 720;
}

@media (max-width: 980px) {
  .career-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 660px) {
  .career-grid { grid-template-columns: 1fr; }
  .career-card { min-height: 280px; padding: 24px; }
  .career-position { padding: 24px 20px; }
  .career-position-actions { align-items: stretch; flex-direction: column; }
  .career-position-actions .button { width: 100%; }
}


/* Adatvédelem, sütikezelés és blokkolt külső média */
.footer-legal-links { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:14px 20px; }
.footer-cookie-settings { padding:0; color:inherit; background:none; border:0; font:inherit; cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
.footer-cookie-settings:hover, .footer-cookie-settings:focus-visible { color:var(--brand); }
.legal-document { max-width:1000px; }
.legal-updated { display:inline-flex; padding:8px 12px; margin:0 0 28px; color:var(--muted); background:var(--surface-alt); border:1px solid var(--line); border-radius:999px; font-size:.86rem; }
.legal-document table { width:100%; border-collapse:collapse; margin:24px 0 34px; font-size:.95rem; }
.legal-document th, .legal-document td { padding:13px 15px; border:1px solid var(--line); text-align:left; vertical-align:top; }
.legal-document th { background:var(--surface-alt); color:var(--ink); }
.legal-document code { padding:2px 6px; background:var(--surface-alt); border-radius:5px; }
.form-consent a { color:var(--brand-dark); text-decoration:underline; text-underline-offset:3px; }
.external-media-placeholder { display:flex; min-height:280px; align-items:center; justify-content:center; flex-direction:column; gap:16px; padding:32px; margin:24px 0; color:var(--ink); background:linear-gradient(145deg,var(--surface-alt),#fff); border:1px solid var(--line); border-radius:var(--radius-md); text-align:center; }
.external-media-placeholder-map { min-height:100%; margin:0; border:0; border-radius:inherit; }
.external-media-placeholder-icon { display:grid; width:58px; height:58px; place-items:center; color:var(--brand-dark); background:rgba(242,169,0,.12); border-radius:50%; font-size:1.45rem; }
.external-media-placeholder-copy { display:grid; gap:6px; max-width:560px; }
.external-media-placeholder-copy strong { font-size:1.18rem; }
.external-media-placeholder-copy span { color:var(--muted); }
.external-media-placeholder.is-loaded { display:block; min-height:0; padding:0; background:#111; }
.external-media-placeholder iframe { display:block; width:100%; min-height:420px; border:0; border-radius:inherit; }
.map-card .external-media-placeholder iframe { min-height:100%; height:100%; }
.cookie-banner { position:fixed; z-index:9000; right:22px; bottom:22px; left:22px; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:24px; align-items:center; max-width:1240px; padding:24px; margin:auto; color:#fff; background:#17191d; border:1px solid rgba(255,255,255,.14); border-radius:18px; box-shadow:0 22px 70px rgba(0,0,0,.32); }
.cookie-banner[hidden], .cookie-modal[hidden] { display:none !important; }
.cookie-banner-copy strong { display:block; margin-bottom:7px; font-size:1.18rem; }
.cookie-banner-copy p { margin:0; color:rgba(255,255,255,.78); }
.cookie-inline-links { display:flex; flex-wrap:wrap; gap:10px 18px; margin-top:10px; }
.cookie-inline-links a { color:inherit; font-size:.86rem; text-decoration:underline; text-underline-offset:3px; }
.cookie-banner-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:10px; }
.cookie-button-secondary { color:#fff; background:transparent; border:1px solid rgba(255,255,255,.35); }
.cookie-button-secondary:hover, .cookie-button-secondary:focus-visible { background:rgba(255,255,255,.10); }
.cookie-modal { position:fixed; z-index:9100; inset:0; display:grid; place-items:center; padding:20px; }
.cookie-modal-backdrop { position:absolute; inset:0; background:rgba(8,10,13,.72); backdrop-filter:blur(5px); }
.cookie-modal-card { position:relative; z-index:1; width:min(760px,100%); max-height:min(86vh,850px); overflow:auto; padding:clamp(24px,4vw,42px); background:#fff; border-radius:20px; box-shadow:0 28px 90px rgba(0,0,0,.38); }
.cookie-modal-card > h2 { margin:0 46px 10px 0; }
.cookie-modal-card > p { color:var(--muted); }
.cookie-modal-close { position:absolute; top:18px; right:18px; display:grid; width:40px; height:40px; place-items:center; background:var(--surface-alt); border:1px solid var(--line); border-radius:50%; cursor:pointer; font-size:1.4rem; }
.cookie-category-list { display:grid; gap:12px; margin:26px 0; }
.cookie-category { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:18px; align-items:center; padding:18px; background:var(--surface-alt); border:1px solid var(--line); border-radius:14px; cursor:pointer; }
.cookie-category > span { display:grid; gap:5px; }
.cookie-category small { color:var(--muted); line-height:1.5; }
.cookie-category input { position:absolute; opacity:0; pointer-events:none; }
.cookie-category i { position:relative; width:48px; height:28px; background:#c9ced5; border-radius:999px; transition:background .18s ease; }
.cookie-category i::after { position:absolute; top:4px; left:4px; width:20px; height:20px; background:#fff; border-radius:50%; box-shadow:0 2px 7px rgba(0,0,0,.22); content:""; transition:transform .18s ease; }
.cookie-category input:checked + i { background:var(--brand); }
.cookie-category input:checked + i::after { transform:translateX(20px); }
.cookie-category.is-required { cursor:default; }
.cookie-category.is-required i { width:auto; height:auto; padding:5px 9px; color:var(--brand-dark); background:rgba(242,169,0,.12); border-radius:999px; font-style:normal; font-size:.78rem; font-weight:750; }
.cookie-category.is-required i::after { display:none; }
.cookie-modal-footer { display:flex; justify-content:space-between; gap:20px; align-items:flex-end; padding-top:20px; border-top:1px solid var(--line); }
.cookie-modal-footer .cookie-inline-links { color:var(--muted); }
body.cookie-dialog-open { overflow:hidden; }
@media (max-width:860px) { .cookie-banner { grid-template-columns:1fr; } .cookie-banner-actions { justify-content:flex-start; } }
@media (max-width:620px) { .cookie-banner { right:10px; bottom:10px; left:10px; padding:18px; } .cookie-banner-actions .button { width:100%; } .cookie-modal { padding:10px; } .cookie-modal-card { padding:24px 18px; border-radius:16px; } .cookie-category { padding:15px; } .cookie-modal-footer { align-items:stretch; flex-direction:column; } .cookie-modal-footer .button { width:100%; } .external-media-placeholder { min-height:240px; padding:24px 18px; } .external-media-placeholder iframe { min-height:240px; } .footer-legal-links { justify-content:flex-start; } }


/* Street View / Google Maps teljes magasságú megjelenítés – 2026-07-27 */
.contact-section-grid {
  align-items: stretch;
}

.map-card {
  position: relative;
  min-height: 560px;
  padding: 0;
  overflow: hidden;
}

.map-card > .external-media-placeholder-map {
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
}

.map-card > .external-media-placeholder-map.is-loaded {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
}

.map-card > .external-media-placeholder-map > iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  border-radius: inherit;
}

@media (max-width: 820px) {
  .map-card { min-height: 420px; }
}

@media (max-width: 620px) {
  .map-card { min-height: 340px; }
}
