@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope/Manrope-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f3efe7;
  --surface: rgba(255, 252, 247, 0.88);
  --surface-strong: #fffdf9;
  --text: #1c211d;
  --muted: #5d655f;
  --primary: #2a7b61;
  --primary-dark: #184f3e;
  --accent: #d7e6dc;
  --accent-warm: #ead9c9;
  --line: rgba(31, 52, 42, 0.1);
  --radius: 24px;
  --shadow: 0 20px 60px rgba(24, 33, 28, 0.1);
  --shadow-soft: 0 12px 30px rgba(24, 33, 28, 0.08);
  --transition: 260ms ease;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(215, 230, 220, 0.9) 0%, rgba(215, 230, 220, 0) 34%),
    radial-gradient(circle at 85% 10%, rgba(234, 217, 201, 0.78) 0%, rgba(234, 217, 201, 0) 28%),
    linear-gradient(180deg, #f7f4ed 0%, var(--bg) 52%, #f7f2ea 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

a,
button,
img,
.card,
.service,
.photo-slot,
.contact-box {
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition),
    background-color var(--transition),
    color var(--transition),
    opacity var(--transition);
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.hero {
  position: relative;
  padding: 1.25rem 0 4.5rem;
  overflow: clip;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(16px);
  opacity: 0.65;
  pointer-events: none;
}

.hero-orb-left {
  width: 18rem;
  height: 18rem;
  left: -6rem;
  top: 7rem;
  background: rgba(202, 224, 211, 0.7);
  animation: drift 16s ease-in-out infinite;
}

.hero-orb-right {
  width: 24rem;
  height: 24rem;
  right: -8rem;
  top: -3rem;
  background: rgba(231, 214, 198, 0.62);
  animation: drift 20s ease-in-out infinite reverse;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.brand {
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-logo {
  width: 88px;
  height: auto;
  display: block;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.hero-layout {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 680px;
}

.kicker {
  margin: 0;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin-top: 0.5rem;
}

h1 {
  font-size: clamp(1.9rem, 3.75vw, 3.35rem);
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
}

.hero-content p {
  color: var(--muted);
  max-width: 62ch;
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.88rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 28px rgba(42, 123, 97, 0.24);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 251, 245, 0.72);
  color: var(--text);
  border-color: rgba(29, 41, 35, 0.08);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 251, 245, 0.96);
}

.hero-points {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
  width: fit-content;
  max-width: 100%;
}

.hero-points span {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.72);
  border: 1px solid rgba(28, 33, 29, 0.08);
  box-shadow: var(--shadow-soft);
  color: #283028;
  font-weight: 600;
  white-space: nowrap;
}

.hero-visual {
  position: relative;
  min-height: 32rem;
}

.hero-photo-stack {
  position: relative;
  height: 100%;
}

.hero-photo {
  margin: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.hero-photo-main {
  height: 31rem;
  border-radius: 2rem;
}

.hero-photo-small {
  position: absolute;
  width: 46%;
  right: -1.2rem;
  bottom: -1.3rem;
  height: 14rem;
  border-radius: 1.6rem;
  border: 6px solid rgba(247, 244, 237, 0.95);
}

.hero-badge {
  position: absolute;
  max-width: 13rem;
  padding: 0.78rem 0.9rem;
  border-radius: 1.25rem;
  background: rgba(255, 253, 249, 0.88);
  border: 1px solid rgba(31, 52, 42, 0.1);
  box-shadow: var(--shadow-soft);
}

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

.hero-badge strong {
  line-height: 1.3;
  font-size: 0.98rem;
}

.hero-badge span {
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-badge-top {
  top: 1.4rem;
  left: -2rem;
}

.hero-badge-bottom {
  left: auto;
  right: 1.85rem;
  bottom: -1rem;
}

.highlights {
  display: grid;
  grid-template-columns: minmax(240px, 0.88fr) minmax(0, 1.12fr);
  grid-template-areas:
    "hours location"
    "contact location";
  gap: 1rem;
  margin-bottom: 3.5rem;
  align-items: stretch;
}

.highlights > :nth-child(1) {
  grid-area: hours;
}

.highlights > :nth-child(2) {
  grid-area: location;
}

.highlights > :nth-child(3) {
  grid-area: contact;
}

.highlights .card {
  height: 100%;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.card h2 {
  margin-top: 0;
  font-size: 1.2rem;
}

.card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.text-link {
  color: var(--primary-dark);
  font-weight: 700;
}

.map-embed {
  margin-top: 0.9rem;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(14, 24, 19, 0.12);
}

.map-embed iframe {
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}

.map-placeholder {
  min-height: 260px;
  display: grid;
  gap: 0.8rem;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding: 1.2rem;
  background: #e8f0ec;
}

.map-placeholder p {
  margin: 0;
  color: #294236;
}

.section {
  padding: 1.4rem 0 4.4rem;
}

.section-head {
  max-width: 680px;
  margin-bottom: 1.75rem;
}

.section-head h2 {
  font-size: clamp(1.85rem, 3.6vw, 3rem);
  letter-spacing: -0.03em;
}

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

.service {
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.92) 0%, rgba(249, 245, 238, 0.84) 100%);
  border-radius: var(--radius);
  padding: 1.3rem;
  border: 1px solid rgba(38, 58, 47, 0.09);
  box-shadow: 0 12px 30px rgba(14, 24, 19, 0.06);
}

.service-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.service-icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: linear-gradient(160deg, #e6efe8 0%, #d7e6dc 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  flex: 0 0 auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.service-icon svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: currentColor;
}

.service h3 {
  margin: 0;
}

.service p {
  color: var(--muted);
  margin-bottom: 0;
}

.service-detail {
  margin-top: 1rem;
  padding: 1.9rem;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.98) 0%, rgba(250, 247, 241, 0.94) 100%);
  border: 1px solid rgba(31, 52, 42, 0.08);
  box-shadow: 0 16px 36px rgba(24, 33, 28, 0.07);
}

.service-detail::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 8.5rem;
  background:
    linear-gradient(180deg, rgba(226, 236, 228, 0.55) 0%, rgba(239, 230, 219, 0.22) 62%, rgba(255, 253, 249, 0) 100%);
  pointer-events: none;
}

.service-detail-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(15rem, 0.75fr);
  gap: 1.4rem;
  align-items: start;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(31, 52, 42, 0.08);
}

.service-detail-head h3 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.65rem;
}

.service-detail-head p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  max-width: 56ch;
}

.service-detail-note {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  padding: 1.2rem 1.2rem 1.15rem;
  border-radius: 1rem;
  background: rgba(255, 251, 246, 0.96);
  border: 1px solid rgba(31, 52, 42, 0.08);
  box-shadow: 0 10px 24px rgba(24, 33, 28, 0.05);
}

.service-detail-note strong,
.service-detail-note span {
  display: block;
}

.service-detail-note strong {
  font-size: 1.55rem;
  line-height: 1;
  color: var(--primary-dark);
}

.service-detail-note span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.service-list {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: service-item;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
}

.service-list li {
  counter-increment: service-item;
  margin: 0;
  padding: 1rem 1rem 1rem 4rem;
  border-radius: 14px;
  border: 1px solid rgba(41, 68, 55, 0.1);
  background: rgba(255, 253, 249, 0.92);
  color: #22372e;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 8.25rem;
  box-shadow: 0 8px 18px rgba(14, 24, 19, 0.04);
  opacity: 0;
  transform: translateY(20px);
}

.service-list li::before {
  content: counter(service-item, decimal-leading-zero);
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.8rem;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(223, 236, 228, 0.95) 0%, rgba(212, 228, 218, 0.95) 100%);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.service-list li strong {
  display: block;
  color: #1b2f26;
  font-size: 1rem;
  line-height: 1.4;
  max-width: none;
}

.service-list li span {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

.service-list li:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(24, 33, 28, 0.08);
  border-color: rgba(88, 132, 113, 0.18);
}

.service-detail.is-visible .service-list li {
  animation: serviceItemIn 620ms ease forwards;
}

.service-detail.is-visible .service-list li:nth-child(1) { animation-delay: 40ms; }
.service-detail.is-visible .service-list li:nth-child(2) { animation-delay: 90ms; }
.service-detail.is-visible .service-list li:nth-child(3) { animation-delay: 140ms; }
.service-detail.is-visible .service-list li:nth-child(4) { animation-delay: 190ms; }
.service-detail.is-visible .service-list li:nth-child(5) { animation-delay: 240ms; }
.service-detail.is-visible .service-list li:nth-child(6) { animation-delay: 290ms; }
.service-detail.is-visible .service-list li:nth-child(7) { animation-delay: 340ms; }
.service-detail.is-visible .service-list li:nth-child(8) { animation-delay: 390ms; }
.service-detail.is-visible .service-list li:nth-child(9) { animation-delay: 440ms; }
.service-detail.is-visible .service-list li:nth-child(10) { animation-delay: 490ms; }
.service-detail.is-visible .service-list li:nth-child(11) { animation-delay: 540ms; }
.service-detail.is-visible .service-list li:nth-child(12) { animation-delay: 590ms; }
.service-detail.is-visible .service-list li:nth-child(13) { animation-delay: 640ms; }
.service-detail.is-visible .service-list li:nth-child(14) { animation-delay: 690ms; }
.service-detail.is-visible .service-list li:nth-child(15) { animation-delay: 740ms; }
.service-detail.is-visible .service-list li:nth-child(16) { animation-delay: 790ms; }
.service-detail.is-visible .service-list li:nth-child(17) { animation-delay: 840ms; }

@keyframes serviceItemIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-accent {
  position: relative;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 24%),
    linear-gradient(180deg, #dde9e1 0%, #ebf1eb 100%);
  padding: 4rem 0;
}

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

.photo-slot {
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  background: #dfe9e3;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
  align-items: start;
}

.contact-box {
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.97) 0%, rgba(243, 238, 230, 0.94) 100%);
  border-radius: var(--radius);
  padding: 1.4rem;
  border: 1px solid rgba(38, 58, 47, 0.09);
  box-shadow: var(--shadow);
}

.career-banner {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 28%),
    linear-gradient(135deg, #1f7a5a 0%, #155741 100%);
  color: #ffffff;
  border-radius: 24px;
  padding: 1.8rem;
  box-shadow: 0 18px 40px rgba(21, 87, 65, 0.22);
  display: grid;
  grid-template-columns: 1.5fr auto;
  gap: 1.4rem;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.career-banner::after {
  content: "";
  position: absolute;
  inset: auto auto -3.5rem -2rem;
  width: 11rem;
  height: 11rem;
  border-radius: 999px;
  background: rgba(234, 217, 201, 0.18);
  filter: blur(6px);
}

.career-banner-copy,
.career-banner-actions {
  position: relative;
  z-index: 1;
}

.career-banner h2 {
  margin-top: 0.4rem;
  margin-bottom: 0.8rem;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
}

.career-banner .kicker,
.career-banner p {
  color: #ecf7f2;
}

.career-banner-mail {
  margin: 1rem 0 0;
  font-size: 0.95rem;
}

.text-link-light {
  color: #ffffff;
}

.career-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
}

.career-banner-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.career-banner-points span {
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f5faf7;
  font-weight: 600;
}

.career-banner .btn-secondary {
  background: #ffffff;
}

.career-hero {
  position: relative;
  padding: 1.25rem 0 4.5rem;
  overflow: clip;
}

.career-hero-layout {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  gap: 1.5rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.career-hero-copy {
  max-width: 720px;
}

.career-points {
  margin-top: 1.35rem;
}

.career-hero-card {
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.97) 0%, rgba(245, 240, 232, 0.94) 100%);
  border: 1px solid rgba(31, 52, 42, 0.08);
  border-radius: 1.4rem;
  padding: 1.3rem;
  box-shadow: var(--shadow-soft);
}

.career-facts {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.career-facts li {
  padding: 0.95rem 1rem;
  border-radius: 0.95rem;
  background: rgba(255, 252, 247, 0.96);
  border: 1px solid rgba(41, 68, 55, 0.08);
}

.career-facts strong,
.career-facts span {
  display: block;
}

.career-facts strong {
  font-size: 0.98rem;
}

.career-facts span {
  margin-top: 0.18rem;
  color: var(--muted);
}

.footer {
  padding: 1.8rem 0;
  background: #17251d;
  color: #d0ded7;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: #d0ded7;
  text-decoration: none;
  font-weight: 700;
}

.text-button {
  background: transparent;
  border: 0;
  color: #d0ded7;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 999;
}

.cookie-banner-content {
  width: min(760px, 100%);
  margin: 0 auto;
  border-radius: 14px;
  background: #fffdf9;
  box-shadow: 0 14px 40px rgba(14, 24, 19, 0.2);
  border: 1px solid #d8e6df;
  padding: 1rem;
}

.cookie-banner-content p {
  margin: 0 0 0.8rem;
  color: var(--text);
}

.cookie-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.dev-notice-popup {
  position: fixed;
  inset: 0;
  background: rgba(12, 20, 16, 0.58);
  display: grid;
  place-items: center;
  padding: 1rem;
  z-index: 1200;
}

.dev-notice-content {
  width: min(560px, 100%);
  background: #fffdf9;
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(14, 24, 19, 0.24);
  border: 1px solid #d8e6df;
  padding: 1.25rem;
}

.dev-notice-content h2 {
  margin: 0 0 0.55rem;
}

.dev-notice-content p {
  margin: 0 0 1rem;
  color: var(--text);
}

.hidden {
  display: none;
}

.legal-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-main {
  flex: 1;
  padding: 3rem 0;
}

.legal-card {
  background: var(--surface-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem;
  border: 1px solid var(--line);
}

.legal-card h1 {
  margin-top: 0;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
}

.legal-card h2 {
  margin-top: 1.8rem;
}

.career-page {
  max-width: 920px;
}

.career-lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 54ch;
}

.career-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1rem;
  margin-top: 1.6rem;
}

.career-panel {
  padding: 1.35rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.97) 0%, rgba(247, 242, 234, 0.93) 100%);
  border: 1px solid rgba(41, 68, 55, 0.08);
  box-shadow: var(--shadow-soft);
}

.career-panel h2 {
  margin-top: 0;
}

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

.career-list li {
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background: rgba(255, 252, 247, 0.9);
  border: 1px solid rgba(41, 68, 55, 0.08);
}

.career-list strong,
.career-list span {
  display: block;
}

.career-list span {
  color: var(--muted);
}

.career-cta-box {
  margin-top: 1.4rem;
  padding: 1.5rem;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.98) 0%, rgba(243, 238, 230, 0.94) 100%);
  border: 1px solid rgba(41, 68, 55, 0.08);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.career-cta-box h2 {
  margin-top: 0;
}

.career-cta-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.back-link {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: none;
}

.card:hover,
.service:hover,
.contact-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 58px rgba(24, 33, 28, 0.14);
}

.photo-slot:hover {
  transform: translateY(-4px) rotate(-0.35deg);
  box-shadow: 0 20px 44px rgba(24, 33, 28, 0.14);
}

.photo-slot:hover img,
.hero-photo:hover img {
  transform: scale(1.05);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms ease,
    box-shadow var(--transition),
    border-color var(--transition),
    background-color var(--transition),
    color var(--transition);
}

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

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -12px, 0) scale(1.04);
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .service-list li {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .career-hero-layout,
  .hero-layout,
  .highlights,
  .grid-3,
  .gallery,
  .contact-wrap,
  .career-grid,
  .career-cta-box {
    grid-template-columns: 1fr 1fr;
  }

  .highlights {
    grid-template-areas:
      "hours location"
      "contact location";
  }

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

  .hero-layout {
    align-items: start;
  }

  .hero-visual {
    min-height: 24rem;
    grid-column: 1 / -1;
  }

  .hero-photo-main {
    height: 24rem;
  }

  .hero-badge-top {
    left: 1rem;
  }

  .service-detail-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .career-banner {
    grid-template-columns: 1fr;
  }

  .career-banner-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .career-hero-layout {
    align-items: start;
  }

  .career-hero-card {
    grid-column: 1 / -1;
  }

  .career-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-logo {
    width: 74px;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero {
    padding-bottom: 3.5rem;
  }

  .hero-layout {
    margin-top: 2.4rem;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-photo-main {
    height: 20rem;
  }

  .hero-photo-small {
    width: 48%;
    height: 8rem;
    right: 0;
    bottom: -1rem;
    border-width: 4px;
  }

  .hero-badge {
    position: static;
    max-width: none;
    margin-top: 0.8rem;
  }

  .hero-points {
    flex-wrap: wrap;
    width: auto;
  }

  .highlights,
  .grid-3,
  .gallery,
  .contact-wrap,
  .career-grid,
  .career-cta-box {
    grid-template-columns: 1fr;
  }

  .highlights {
    grid-template-areas:
      "hours"
      "location"
      "contact";
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .service-detail {
    padding: 1.25rem;
  }

  .career-banner {
    padding: 1.35rem;
  }

  .career-banner-actions,
  .career-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .career-points {
    flex-wrap: wrap;
    width: auto;
  }
}
