:root {
  --bg: #f4f6f8;
  --bg-elevated: #eef1f5;
  --surface: #ffffff;
  --text: #111418;
  --text-muted: #5c6370;
  --border: #e2e6ea;
  --accent: #0d9488;
  --accent-hover: #0f766e;
  --accent-soft: color-mix(in srgb, var(--accent) 12%, transparent);
  --shadow-sm: 0 1px 2px rgb(17 20 24 / 0.06);
  --shadow-md: 0 8px 24px rgb(17 20 24 / 0.08);
  --radius: 12px;
  --radius-lg: 16px;
  --content-max: 1160px;
  --font-heading: "Manrope", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.45, 0, 0.15, 1);
  --header-offset: 5.5rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
}

html.lenis {
  scroll-behavior: auto;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition:
    color 0.2s var(--ease-out),
    text-decoration-color 0.2s var(--ease-out);
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.skip-link:focus {
  left: 0.75rem;
}

.wrap {
  width: min(var(--content-max), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
  padding-block: 0.5rem;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-decoration: none;
  color: inherit;
}

.brand:hover {
  color: inherit;
}

.brand__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.brand__tag {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  color: var(--text);
}

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 1.25rem;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition:
    transform 0.25s var(--ease-out),
    opacity 0.2s;
}

.nav-toggle.is-open .nav-toggle__bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.25rem;
}

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

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

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition:
      max-height 0.35s var(--ease-out),
      opacity 0.25s var(--ease-out),
      visibility 0.25s;
  }

  .site-nav.is-open {
    max-height: 320px;
    opacity: 1;
    visibility: visible;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0;
  }

  .site-nav a {
    display: block;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border);
  }

  .site-nav li:last-child a {
    border-bottom: 0;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.2s var(--ease-out),
    transform 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn--ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

@media (prefers-reduced-motion: no-preference) {
  .btn--primary:hover,
  .btn--ghost:hover {
    transform: translateY(-1px);
  }
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: min(92vh, 56rem);
  padding-block: 0;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 90% 70% at 72% -15%,
      var(--accent-soft),
      transparent 58%
    ),
    linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 100%);
  pointer-events: none;
}

.hero__decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero__deco svg {
  display: block;
  width: 100%;
  height: auto;
}

.hero__deco-inner {
  width: 100%;
  display: block;
}

.hero__deco--tl {
  position: absolute;
  top: min(12%, 5rem);
  /* 75% from center toward left edge → 50% − 0.75×50% = 12.5% */
  left: 12.5%;
  transform: translateX(-50%);
  width: min(42vw, 22rem);
  opacity: 0.85;
}

.hero__deco--dish {
  position: absolute;
  top: min(14%, 5.5rem);
  /* Mirror: 75% from center toward right → 50% + 0.75×50% = 87.5% */
  left: 87.5%;
  transform: translateX(-50%);
  width: min(38vw, 18rem);
  opacity: 0.88;
}

.hero__deco--grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(13 148 136 / 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgb(13 148 136 / 0.09) 1px, transparent 1px),
    linear-gradient(rgb(13 148 136 / 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgb(13 148 136 / 0.045) 1px, transparent 1px);
  background-size:
    40px 40px,
    40px 40px,
    10px 10px,
    10px 10px;
  mask-image: radial-gradient(
    ellipse 98% 90% at 50% 38%,
    #000 20%,
    transparent 78%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 98% 90% at 50% 38%,
    #000 20%,
    transparent 78%
  );
}

.hero__grid-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mask-image: radial-gradient(
    ellipse 98% 90% at 50% 38%,
    #000 20%,
    transparent 78%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 98% 90% at 50% 38%,
    #000 20%,
    transparent 78%
  );
}

@media (max-width: 640px) {
  .hero__deco--tl {
    left: 14%;
    width: min(58vw, 14rem);
    top: 8%;
    transform: translateX(-50%);
    opacity: 0.52;
  }

  .hero__deco--dish {
    left: 86%;
    width: min(52vw, 13rem);
    top: 10%;
    transform: translateX(-50%);
    opacity: 0.48;
  }

  .hero__deco--grid {
    background-size:
      32px 32px,
      32px 32px,
      8px 8px,
      8px 8px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__deco--drift {
    animation: hero-float 2.4s ease-in-out infinite alternate;
  }

  .hero__deco--drift-slow {
    animation: hero-float 3s ease-in-out infinite alternate-reverse;
  }

  .hero__trace {
    stroke-dasharray: 220;
    stroke-dashoffset: 220;
    animation: hero-trace 4.5s var(--ease-out) infinite alternate;
  }
}

@keyframes hero-float {
  0% {
    transform: translateX(-5px);
  }
  100% {
    transform: translateX(5px);
  }
}

@keyframes hero-trace {
  0% {
    stroke-dashoffset: 220;
    opacity: 0.25;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0.55;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__trace {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
  }

  .hero__deco--drift,
  .hero__deco--drift-slow {
    animation: none !important;
  }
}

.hero__body {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding-block: clamp(4rem, 11vh, 7.5rem);
}

@media (max-width: 899px) {
  .hero__body {
    padding-block: clamp(2rem, 5.5vh, 3.75rem);
  }
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero__grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 3rem;
    align-items: center;
  }
}

.hero__copy {
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 4.8vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 1.1rem;
}

@media (min-width: 900px) {
  .hero h1 {
    max-width: 22ch;
  }
}

.hero__lead {
  font-size: clamp(1.0625rem, 1.6vw, 1.2rem);
  color: var(--text-muted);
  margin: 0 0 1.85rem;
  max-width: 42ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__foot {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding-bottom: clamp(1.25rem, 4vh, 2rem);
}

.hero-scroll {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem 0.25rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 999px;
  transition:
    color 0.25s var(--ease-out),
    background 0.25s var(--ease-out);
}

.hero-scroll:hover {
  color: var(--accent);
  background: rgb(255 255 255 / 0.55);
}

.hero-scroll__icon {
  display: flex;
  color: var(--accent);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-scroll__icon {
    animation: hero-bounce 2.2s var(--ease-smooth) infinite;
  }
}

@keyframes hero-bounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.85;
  }
  50% {
    transform: translateY(6px);
    opacity: 1;
  }
}

.hero-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: var(--shadow-md);
}

.hero-card__icon {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 2.75rem;
  height: 2.75rem;
  opacity: 0.9;
}

.hero-card h2 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 1rem;
  padding-right: 3rem;
  color: var(--text);
}

.hero-card dl {
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.hero-card dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
}

.hero-card dd {
  margin: 0.2rem 0 0;
  font-weight: 500;
}

.hero-card a {
  font-weight: 600;
}

.section {
  padding-block: clamp(3rem, 6vw, 4.5rem);
  scroll-margin-top: var(--header-offset);
}

.section--pcb {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
}

.section--pcb::before {
  content: "";
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  transform: none;
  z-index: 0;
  pointer-events: none;
  background-image: url("/assets/images/pcb-traces.svg");
  background-repeat: no-repeat;
  /* One corner instance; desktop: mask keeps art in side margins, not under .wrap */
  background-size: 20vw;
  background-position: var(--pcb-x, 18%) var(--pcb-y, 32%);
  opacity: 0.5;
  mix-blend-mode: multiply;
}

.section--pcb-fr-a {
  --pcb-x: 20%;
  --pcb-y: 36%;
}

.section--pcb-fr-b {
  --pcb-x: 82%;
  --pcb-y: 34%;
}

/* «Γιατί να μας επιλέξετε»: photo instead of vector trace */
.section--pcb-fr-b::before {
  background-image: url("/assets/images/printed-circuit-board.jpg");
  background-size: min(880px, 72vw);
  background-position: var(--pcb-x) var(--pcb-y);
  opacity: 1;
}

.section--pcb-fr-c {
  --pcb-x: 22%;
  --pcb-y: 70%;
}

.section--pcb-fr-d {
  --pcb-x: 80%;
  --pcb-y: 68%;
}

.section--pcb > .wrap {
  position: relative;
  z-index: 1;
}

@supports not (mix-blend-mode: multiply) {
  .section--pcb::before {
    mix-blend-mode: normal;
    opacity: 0.5;
  }
}

@media (max-width: 767px) {
  .section--pcb::before {
    display: none;
  }
}

@media (min-width: 768px) {
  /* Strong at left/right (margins); clear under centered content column */
  .section--pcb::before {
    -webkit-mask-image: linear-gradient(
      90deg,
      #000 0%,
      #000 12%,
      rgba(0, 0, 0, 0.5) 22%,
      transparent 34%,
      transparent 66%,
      rgba(0, 0, 0, 0.5) 78%,
      #000 88%,
      #000 100%
    );
    mask-image: linear-gradient(
      90deg,
      #000 0%,
      #000 12%,
      rgba(0, 0, 0, 0.5) 22%,
      transparent 34%,
      transparent 66%,
      rgba(0, 0, 0, 0.5) 78%,
      #000 88%,
      #000 100%
    );
  }
}

.section--alt {
  background: var(--bg-elevated);
}

.section__head {
  max-width: 52ch;
  margin-bottom: 2rem;
}

.section__head h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

.section__head p {
  margin: 0;
  color: var(--text-muted);
}

.services-split {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
}

@media (min-width: 900px) {
  .services-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: clamp(2rem, 5vw, 3.5rem);
    /* Fallback until JS measures .services-split__intro */
    --services-rail-h: min(30rem, 62vh);
  }

  .services-split__intro {
    position: sticky;
    top: calc(var(--header-offset) + 1rem);
    align-self: start;
    padding-bottom: 1rem;
  }

  .services-split__rail {
    align-self: start;
  }

  .services-marquee {
    height: var(--services-rail-h);
    box-sizing: border-box;
  }
}

.services-split__head {
  margin-bottom: 0;
}

.services-split__lead {
  margin: 0;
  color: var(--text-muted);
  max-width: 42ch;
}

.services-split__rail {
  min-width: 0;
}

.services-marquee {
  overflow: hidden;
  border-radius: var(--radius-lg);
  mask-image: linear-gradient(
    to bottom,
    transparent,
    black 3%,
    black 97%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent,
    black 3%,
    black 97%,
    transparent
  );
}

.services-marquee__track {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: max-content;
  gap: 1.25rem;
  animation: services-marquee-y 19s linear infinite;
  padding-inline: 0.15rem;
  padding-block: 0.25rem;
}

@media (prefers-reduced-motion: reduce) {
  .services-marquee {
    mask-image: none;
    -webkit-mask-image: none;
  }

  @media (min-width: 900px) {
    .services-marquee {
      overflow-y: auto;
    }
  }

  .services-marquee__track {
    animation: none;
  }

  .services-marquee__group[aria-hidden="true"] {
    display: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .services-marquee:hover .services-marquee__track {
    animation-play-state: paused;
  }
}

@keyframes services-marquee-y {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}

.services-marquee__group {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex-shrink: 0;
}

.services-marquee__card {
  width: 100%;
  flex-shrink: 0;
}

@media (max-width: 899px) {
  .services-marquee {
    height: auto;
    max-height: min(24rem, 52vh);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scroll-snap-type: y mandatory;
    border-radius: var(--radius);
    mask-image: none;
    -webkit-mask-image: none;
  }

  .services-marquee__track {
    animation: none;
    width: 100%;
    height: auto;
    padding: 0 0.15rem 0.5rem;
  }

  .services-marquee__group[aria-hidden="true"] {
    display: none;
  }

  .services-marquee__card {
    scroll-snap-align: start;
    width: 100%;
  }
}

.tabs {
  margin-top: 0.25rem;
}

.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  padding: 0.35rem;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.tabs__tab {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.6rem 1.1rem;
  border: none;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition:
    background 0.2s var(--ease-out),
    color 0.2s var(--ease-out);
}

.tabs__tab:hover {
  color: var(--text);
  background: rgb(255 255 255 / 0.65);
}

.tabs__tab[aria-selected="true"] {
  background: var(--surface);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.tabs__panel {
  padding-top: 0.15rem;
}

.tabs .service-group {
  margin-bottom: 0;
}

.cards {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .cards--3 {
    grid-template-columns: repeat(3, 1fr);
  }

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.35rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition:
    border-color 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
}

@media (prefers-reduced-motion: no-preference) {
  .card {
    transition:
      border-color 0.25s var(--ease-out),
      box-shadow 0.25s var(--ease-out),
      transform 0.25s var(--ease-out);
  }

  .card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
  }
}

.card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.card__link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
}

.card__link:hover {
  text-decoration: underline;
}

.list-check {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.list-check li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--text-muted);
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.contact-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin: 0 0 1rem;
}

.contact-card p,
.contact-card address {
  margin: 0 0 0.75rem;
  font-style: normal;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.contact-card a {
  font-weight: 600;
}

.contact-card--address h3 {
  margin-bottom: 0.65rem;
}

.contact-card--address .contact-card__business {
  margin: 0 0 0.85rem;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--text);
}

.contact-card--address .contact-card__address {
  margin: 0;
}

.contact-card__map-link {
  display: block;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--border));
  background: color-mix(in srgb, var(--accent) 5%, var(--surface));
  color: var(--accent);
  font-size: 0.9375rem;
  line-height: 1.55;
  text-decoration: none;
  transition:
    border-color 0.2s var(--ease-out),
    background 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out);
}

.contact-card__map-link:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
  background: color-mix(in srgb, var(--accent) 9%, var(--surface));
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.contact-card__address-meta {
  display: inline-block;
  margin-top: 0.15rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}

.contact-card__map-link:hover .contact-card__address-meta {
  color: var(--accent-hover);
}

.map-stack {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  background: var(--border);
}

.map-stack .map-embed {
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.map-embed {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 16 / 10;
  max-height: min(360px, 65vh);
  background: var(--border);
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-embed__footer {
  margin: 0;
  padding: 0.65rem 1rem;
  text-align: center;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.map-embed__footer a,
.map-embed__open {
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
}

.map-embed__open:hover {
  text-decoration: underline;
}

.service-notice {
  margin: 0 0 1.5rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--accent-soft);
  background: color-mix(in srgb, var(--accent) 6%, var(--surface));
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  padding-block: 2rem;
  margin-top: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.site-footer a {
  color: var(--text-muted);
  font-weight: 500;
}

.site-footer a:hover {
  color: var(--accent);
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.55s var(--ease-out),
    transform 0.55s var(--ease-out);
}

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

.hero-card.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.75s var(--ease-smooth);
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.page-intro {
  max-width: 62ch;
  margin-bottom: 2.5rem;
}

.page-intro p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.page-intro p:last-child {
  margin-bottom: 0;
}

.service-group {
  margin-bottom: 2.75rem;
}

.service-group:last-child {
  margin-bottom: 0;
}

.service-group h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent-soft);
}

.service-group > p {
  margin: 0.5rem 0 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent-hover);
  margin-bottom: 0.5rem;
}

.page-hero {
  padding-block: clamp(2.25rem, 5vw, 3rem) 1.75rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 100%);
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  line-height: 1.2;
}
