:root {
  --bg: #f3f4f6;
  --bg-soft: #e8ebef;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --surface-muted: #eef1f4;
  --line: rgba(31, 41, 55, 0.1);
  --text: #17212b;
  --muted: #5f6c79;
  --accent: #2b3947;
  --accent-soft: rgba(43, 57, 71, 0.08);
  --shadow: 0 24px 70px rgba(30, 41, 59, 0.1);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    linear-gradient(120deg, #fbfcfd 0%, #f2f5f7 18%, #d8dfe6 18%, #f5f7f9 43%, #cfd7df 43%, #eef2f5 100%);
}

body.is-lightbox-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.34) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.34) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.9;
}

.site-shell {
  position: relative;
  z-index: 1;
  overflow: clip;
}

.section,
.footer {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-wrap {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 0 0 2rem;
  overflow: hidden;
  isolation: isolate;
}

.hero-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 17, 24, 0.84) 0%, rgba(10, 17, 24, 0.62) 42%, rgba(10, 17, 24, 0.18) 72%, rgba(10, 17, 24, 0.3) 100%),
    linear-gradient(180deg, rgba(10, 17, 24, 0.25), transparent 52%, rgba(10, 17, 24, 0.5));
}

.hero-background-slideshow,
.hero-background-slide {
  position: absolute;
  inset: 0;
}

.hero-background-slideshow {
  z-index: -2;
  background: #26333f;
}

.hero-background-slide {
  opacity: 0;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  transition: opacity 900ms ease;
}

.hero-background-slide.is-active {
  opacity: 1;
}

.hero-background-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topbar {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 0.45rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 15rem;
  height: 15rem;
  overflow: hidden;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-wrap .brand-mark img {
  filter: brightness(1.78) contrast(0.84);
}

.hero h1,
.hero-card h2,
.section-heading h2,
.advantage-panel h2,
.contact-copy h2 {
  font-family: "Sora", "Segoe UI", sans-serif;
}

.menu {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.menu a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding: 0.85rem 0.35rem;
  border-radius: 999px;
  font-size: 1.38rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.menu a:hover,
.menu a:focus-visible {
  color: #ffffff;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font: inherit;
}

.hero {
  flex: 1;
  display: flex;
  align-items: center;
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  min-height: 0;
  padding: 0 0 3rem;
}

.eyebrow {
  margin: 0;
  color: #617080;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.76);
}

.hero-copy {
  max-width: 760px;
}

.hero h1 {
  margin: 0.45rem 0 1rem;
  font-size: clamp(3rem, 6vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  max-width: 11ch;
  color: #ffffff;
}

.lead,
.section-heading p,
.hero-card p,
.service-card p,
.gallery-card p,
.step-card p,
.advantage-panel p,
.mini-card p,
.contact-copy p {
  color: var(--muted);
  line-height: 1.74;
}

.lead {
  max-width: 65ch;
  margin: 0;
  font-size: 1.05rem;
}

.hero .lead {
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 2rem 0 1.8rem;
}

.hero-configurator-tile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "label arrow"
    "title arrow";
  align-items: center;
  column-gap: 1rem;
  width: min(100%, 610px);
  margin-top: 0.35rem;
  padding: 1rem 1.05rem 1rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 22px;
  background: rgba(15, 25, 34, 0.36);
  color: #ffffff;
  text-decoration: none;
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 44px rgba(10, 17, 24, 0.2);
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.hero-configurator-tile:hover,
.hero-configurator-tile:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(15, 25, 34, 0.5);
}

.hero-configurator-tile span,
.hero-configurator-tile strong {
  display: block;
}

.hero-configurator-tile span {
  grid-area: label;
  margin-bottom: 0.28rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-configurator-tile strong {
  grid-area: title;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1.03rem;
}

.hero-configurator-tile b {
  grid-area: arrow;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  font-size: 1.35rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 1.45rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, #24313d 0%, #3f5161 100%);
  color: #fff;
  box-shadow: 0 18px 36px rgba(36, 49, 61, 0.18);
}

.button-secondary {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.hero-panel {
  min-height: 0;
  height: min(68svh, 680px);
}

.hero-slideshow,
.hero-card,
.service-card,
.gallery-card,
.step-card,
.advantage-panel,
.mini-card,
.contact-card {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.hero-slideshow {
  position: relative;
  min-height: 100%;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.82), transparent 28%),
    linear-gradient(145deg, #fdfdfd 0%, #eff2f5 34%, #dee4e9 34%, #f9fafb 60%, #edf1f4 100%);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.45rem;
  opacity: 0;
  transition: opacity 700ms ease;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02) 35%, rgba(17, 25, 33, 0.62) 100%),
    var(--hero-image),
    linear-gradient(145deg, #fdfdfd 0%, #eff2f5 34%, #dee4e9 34%, #f9fafb 60%, #edf1f4 100%);
  background-position: center;
  background-size: cover;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.4;
}

.hero-slide-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide-copy {
  position: relative;
  z-index: 2;
  max-width: 25rem;
  padding: 1rem;
  border-radius: 24px;
  background: rgba(20, 29, 37, 0.56);
  backdrop-filter: blur(12px);
  color: #fff;
}

.hero-slide-copy h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  line-height: 1.06;
}

.hero-slide-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.hero-card {
  border-radius: 30px;
  padding: 1.5rem;
}

.hero-card-main {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.82), transparent 28%),
    linear-gradient(145deg, #fdfdfd 0%, #eff2f5 34%, #dee4e9 34%, #f9fafb 60%, #edf1f4 100%);
}

.hero-card-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(23, 33, 43, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 33, 43, 0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.55;
}

.hero-card-main > * {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 1rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #415262;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-slide-copy .hero-badge {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.hero-dots {
  position: absolute;
  right: 0;
  bottom: 3.4rem;
  z-index: 3;
  display: inline-flex;
  gap: 0.45rem;
}

.hero-dot {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.hero-dot.is-active {
  background: #ffffff;
}

.hero-card h2 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.05;
}

.hero-card-metric strong {
  display: block;
  margin-bottom: 1rem;
  font-size: 1rem;
}

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

.metric-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem;
  border-radius: 16px;
  background: var(--surface-muted);
  color: #455465;
  font-size: 0.92rem;
  font-weight: 700;
}

.section {
  padding: 2.5rem 0 4rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading h2,
.advantage-panel h2,
.contact-copy h2 {
  margin: 0.45rem 0 1rem;
  font-size: clamp(2.15rem, 4.4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.services-grid,
.gallery-grid,
.steps-grid,
.section-split,
.contact-card {
  display: grid;
  gap: 1rem;
}

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

.service-card {
  border-radius: 24px;
  padding: 0;
  overflow: hidden;
}

.service-card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.service-media {
  position: relative;
  min-height: 205px;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  overflow: hidden;
  background-image:
    linear-gradient(180deg, rgba(238, 243, 246, 0.04), rgba(22, 31, 38, 0.58)),
    var(--service-image),
    linear-gradient(145deg, #e8edf1 0%, #cbd4db 48%, #f6f8f9 100%);
  background-position: center;
  background-size: cover;
  transition: transform 450ms ease;
}

.service-card:hover .service-media {
  transform: scale(1.035);
}

.service-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.32;
}

.service-media span {
  position: relative;
  z-index: 1;
  padding: 0.48rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #40515f;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-content {
  position: relative;
  z-index: 1;
  padding: 1.15rem 1.2rem 1.3rem;
  background: rgba(255, 255, 255, 0.72);
}

.service-card h3,
.gallery-card strong,
.step-card h3,
.mini-card strong {
  display: block;
  margin: 0 0 0.8rem;
  font-size: 1.16rem;
}

.service-card p {
  margin: 0;
}

.service-more {
  display: inline-flex;
  margin-top: 1rem;
  color: #3b4e5e;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.section-gallery {
  position: relative;
}

.section-gallery::before {
  content: "";
  position: absolute;
  inset: 10% -8% auto 55%;
  height: 260px;
  background: radial-gradient(circle, rgba(209, 215, 222, 0.55), transparent 68%);
  pointer-events: none;
}

.gallery-nav,
.gallery-lightbox-nav {
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(43, 57, 71, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #263542;
  box-shadow: 0 14px 34px rgba(30, 41, 59, 0.1);
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: clamp(3.1rem, 4.8vw, 4rem);
  height: clamp(3.1rem, 4.8vw, 4rem);
  font-size: clamp(1.9rem, 3vw, 2.45rem);
  transform: translateY(-50%);
}

.gallery-nav-prev {
  left: max(0.75rem, calc((100vw - var(--max-width)) / 2 + 0.25rem));
}

.gallery-nav-next {
  right: max(0.75rem, calc((100vw - var(--max-width)) / 2 + 0.25rem));
}

.gallery-nav:hover,
.gallery-nav:focus-visible {
  transform: translateY(-50%) scale(1.04);
  background: #263542;
  color: #fff;
}

.gallery-lightbox-nav:hover,
.gallery-lightbox-nav:focus-visible {
  transform: translateY(-2px);
  background: #263542;
  color: #fff;
}

.gallery-stage {
  position: relative;
}

.gallery-carousel {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  margin-inline: calc(50% - 50vw);
  padding: 0.35rem 0 1.2rem;
  cursor: grab;
  scrollbar-width: none;
  scroll-behavior: smooth;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

.gallery-carousel::-webkit-scrollbar {
  display: none;
}

.gallery-carousel.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.gallery-carousel.is-manual .gallery-track,
.gallery-carousel.is-dragging .gallery-track {
  animation-play-state: paused;
}

.gallery-carousel::before,
.gallery-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: min(12vw, 150px);
  pointer-events: none;
}

.gallery-carousel::before {
  left: 0;
  background: linear-gradient(90deg, #f3f4f6 0%, rgba(243, 244, 246, 0) 100%);
}

.gallery-carousel::after {
  right: 0;
  background: linear-gradient(270deg, #eef2f5 0%, rgba(238, 242, 245, 0) 100%);
}

.gallery-track {
  display: flex;
  width: max-content;
  gap: clamp(1rem, 2vw, 1.45rem);
  padding-inline: max(1rem, calc((100vw - var(--max-width)) / 2));
  animation: gallery-scroll 34s linear infinite;
  will-change: transform;
}

.gallery-carousel:hover .gallery-track,
.gallery-carousel:focus-within .gallery-track {
  animation-play-state: paused;
}

.gallery-card {
  flex: 0 0 clamp(280px, 34vw, 460px);
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  background: #f8fafc;
  box-shadow: var(--shadow);
}

.gallery-media {
  position: relative;
  min-height: clamp(240px, 28vw, 360px);
  width: 100%;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  border: 0;
  background: #d8e0e8;
  color: inherit;
  cursor: zoom-in;
  overflow: hidden;
  text-align: left;
}

.gallery-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(11, 19, 27, 0.04) 0%, rgba(11, 19, 27, 0.1) 45%, rgba(11, 19, 27, 0.56) 100%);
  opacity: 0.9;
  transition: opacity 220ms ease;
}

.gallery-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #d8e0e8;
  transform: scale(1.01);
  transition: transform 520ms ease, filter 520ms ease;
}

.gallery-media span {
  position: relative;
  z-index: 2;
  display: inline-flex;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #415262;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.gallery-media:hover img,
.gallery-media:focus-visible img {
  transform: scale(1.08);
  filter: saturate(1.08) contrast(1.04);
}

.gallery-media:hover::before,
.gallery-media:focus-visible::before {
  opacity: 0.58;
}

.gallery-media:focus-visible {
  outline: 3px solid rgba(43, 57, 71, 0.55);
  outline-offset: -6px;
}

.gallery-card figcaption {
  padding: 1.15rem 1.2rem 1.25rem;
  background: rgba(255, 255, 255, 0.96);
}

.gallery-card figcaption p {
  margin: 0;
}

@keyframes gallery-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - clamp(0.5rem, 1vw, 0.725rem)));
  }
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2.5rem);
  background: rgba(10, 17, 24, 0.84);
  backdrop-filter: blur(14px);
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox figure {
  width: min(100%, 1120px);
  margin: 0;
}

.gallery-lightbox img {
  display: block;
  width: 100%;
  max-height: min(78vh, 820px);
  object-fit: contain;
  border-radius: 26px;
  background: #111923;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
}

.gallery-lightbox figcaption {
  margin-top: 1rem;
  color: #fff;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.7rem);
  text-align: center;
}

.gallery-lightbox-close {
  position: absolute;
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 0.8rem 1.1rem;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: clamp(3rem, 6vw, 4.4rem);
  height: clamp(3rem, 6vw, 4.4rem);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.6rem);
  transform: translateY(-50%);
}

.gallery-lightbox-nav:hover,
.gallery-lightbox-nav:focus-visible {
  transform: translateY(-50%) scale(1.04);
}

.gallery-lightbox-prev {
  left: clamp(1rem, 3vw, 2rem);
}

.gallery-lightbox-next {
  right: clamp(1rem, 3vw, 2rem);
}

.section-process {
  padding-top: 1rem;
}

.process-layout {
  display: grid;
  gap: 2rem;
}

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

.step-card {
  border-radius: 24px;
  padding: 1.35rem;
}

.step-card span {
  display: inline-flex;
  width: 2.35rem;
  height: 2.35rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #465667;
  font-weight: 800;
  margin-bottom: 0.95rem;
}

.section-split {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  align-items: start;
}

.advantage-panel,
.mini-card {
  border-radius: 28px;
  padding: 1.5rem;
}

.advantage-list {
  display: grid;
  gap: 1rem;
}

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

.faq-grid .mini-card h3 {
  margin: 0 0 0.75rem;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1.08rem;
  line-height: 1.2;
}

.faq-grid .mini-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.area-summary {
  max-width: 920px;
  padding: clamp(1.25rem, 3vw, 1.8rem);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
  color: #435362;
  box-shadow: 0 16px 38px rgba(30, 41, 59, 0.07);
  backdrop-filter: blur(12px);
}

.area-summary p {
  margin: 0;
  font-size: clamp(1rem, 1.8vw, 1.14rem);
  line-height: 1.8;
}

.area-summary .button {
  margin-top: 1.2rem;
}

.area-summary strong {
  color: #2f4150;
}

.contact-card {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  border-radius: 32px;
  padding: 1.7rem;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.82), transparent 25%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(239, 242, 245, 0.94));
}

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

.contact-grid div {
  border-top: 1px solid rgba(23, 33, 43, 0.08);
  padding-top: 1rem;
}

.contact-grid span {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.contact-grid a,
.contact-grid p {
  margin: 0;
  color: var(--text);
  text-decoration: none;
  line-height: 1.6;
}

.contact-social {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding-top: 0.25rem;
}

.contact-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.62rem 0.82rem;
  border: 1px solid rgba(43, 57, 71, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #344554;
  text-decoration: none;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.contact-social a:hover,
.contact-social a:focus-visible {
  border-color: rgba(43, 57, 71, 0.28);
  background: #ffffff;
  transform: translateY(-2px);
}

.contact-social span {
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  border-radius: 999px;
  background: #344554;
  color: #ffffff;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-social svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.contact-social strong {
  font-size: 0.84rem;
}

.footer {
  padding: 0 0 2.5rem;
}

.footer p {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.cookie-consent {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  width: min(calc(100% - 2rem), 720px);
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  background: rgba(250, 252, 253, 0.94);
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.16);
  backdrop-filter: blur(18px);
}

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

.cookie-consent p {
  margin: 0;
  color: #43515f;
  line-height: 1.55;
}

.cookie-consent strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
}

.cookie-button {
  min-height: 44px;
  padding: 0 1rem;
  border: 1px solid rgba(43, 57, 71, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #344554;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.cookie-button-primary {
  border-color: transparent;
  background: linear-gradient(135deg, #24313d 0%, #3f5161 100%);
  color: #fff;
}

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

.reveal-delay {
  transition-delay: 120ms;
}

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

@media (max-width: 980px) {
  .services-grid,
  .faq-grid,
  .steps-grid,
  .section-split,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .gallery-card-large {
    grid-row: auto;
  }

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

}

@media (prefers-reduced-motion: reduce) {
  .gallery-track {
    animation: none;
    transform: none;
  }
}

@media (max-width: 760px) {
  .section,
  .footer {
    width: min(calc(100% - 1.2rem), var(--max-width));
  }

  .gallery-nav {
    width: 2.85rem;
    height: 2.85rem;
    font-size: 2rem;
  }

  .gallery-nav-prev {
    left: 0.65rem;
  }

  .gallery-nav-next {
    right: 0.65rem;
  }

  .gallery-card {
    flex-basis: min(82vw, 340px);
  }

  .gallery-lightbox {
    padding: 4.8rem 0.7rem 1rem;
  }

  .gallery-lightbox-nav {
    top: auto;
    bottom: 1rem;
    transform: none;
  }

  .gallery-lightbox-nav:hover,
  .gallery-lightbox-nav:focus-visible {
    transform: scale(1.04);
  }

  .topbar {
    flex-wrap: wrap;
    align-items: flex-start;
    width: min(calc(100% - 1.2rem), var(--max-width));
  }

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

  .menu {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0.5rem;
  }

  .menu.is-open {
    display: flex;
  }

  .hero {
    width: min(calc(100% - 1.2rem), var(--max-width));
    padding: 1rem 0 3rem;
  }

  .brand-mark {
    width: 11rem;
    height: 11rem;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 14vw, 4.8rem);
  }

  .hero-slideshow {
    min-height: 360px;
  }

  .hero-dots {
    bottom: 1.6rem;
  }

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

  .contact-card {
    padding: 1.3rem;
  }

  .cookie-consent {
    left: 0.6rem;
    right: 0.6rem;
    bottom: 0.6rem;
    width: auto;
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    justify-content: stretch;
  }

  .cookie-button {
    flex: 1;
  }
}
.automation-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.automation-spotlight-copy {
  max-width: 760px;
}

.automation-spotlight-copy > p:not(.eyebrow) {
  margin: 1.25rem 0 0;
  max-width: 68ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.8;
}

.automation-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.6rem;
}

.automation-points span {
  padding: 0.72rem 0.95rem;
  border: 1px solid rgba(32, 51, 65, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--text);
  font-weight: 700;
  font-size: 0.86rem;
}

.automation-spotlight-links {
  display: grid;
  gap: 0.8rem;
}

.automation-spotlight-links a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 1rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(32, 51, 65, 0.14);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(224, 231, 236, 0.72));
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 18px 50px rgba(35, 51, 63, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.automation-spotlight-links a:hover,
.automation-spotlight-links a:focus-visible {
  transform: translateX(-8px);
  border-color: rgba(32, 51, 65, 0.34);
  box-shadow: 0 22px 60px rgba(35, 51, 63, 0.13);
}

.automation-spotlight-links span {
  grid-row: 1 / 3;
  color: var(--accent);
  font-family: "Sora", sans-serif;
  font-weight: 800;
}

.automation-spotlight-links strong {
  font-family: "Sora", sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.22rem);
}

.automation-spotlight-links b {
  color: var(--muted);
  font-size: 0.84rem;
}

@media (max-width: 860px) {
  .automation-spotlight {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .automation-spotlight-links a {
    padding: 1.05rem;
  }

  .automation-spotlight-links a:hover,
  .automation-spotlight-links a:focus-visible {
    transform: translateY(-3px);
  }
}
