:root {
  --bg: #f8fafc;
  --bg-gradient: linear-gradient(165deg, #f0f9ff 0%, #f8fafc 45%, #eff6ff 100%);
  --surface: #ffffff;
  --surface-muted: rgba(255, 255, 255, 0.55);
  --text: #0f172a;
  --text-muted: #64748b;
  --accent: #38bdf8;
  --accent-dark: #0ea5e9;
  --accent-soft: #f0f9ff;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.12);
  --radius: 14px;
  --radius-sm: 10px;
  --header-height: 68px;
  --font: "DM Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-gradient);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

ul {
  list-style: none;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.6rem 1rem;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 500;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(240, 249, 255, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.header.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--text);
}

.logo-text {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.logo-tld {
  color: var(--accent-dark);
}

.logo-mark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-dark);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

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

.nav-menu a {
  text-decoration: none;
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.nav-menu a:hover {
  color: var(--text);
  background: var(--surface-muted);
}

.nav-cta {
  background: var(--accent-dark) !important;
  color: #fff !important;
  margin-left: 0.25rem;
}

.nav-cta:hover {
  background: #0284c7 !important;
  color: #fff !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.35rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* Hero */
.hero {
  padding: 0 0 4.5rem;
  margin-top: -1.25rem;
  background:
    radial-gradient(ellipse 70% 55% at 90% 10%, rgba(56, 189, 248, 0.12) 0%, transparent 65%),
    transparent;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-logo {
  display: block;
  max-width: min(280px, 85vw);
  height: auto;
  margin: 1rem auto 1.25rem;
}

@media (min-width: 860px) {
  .hero-logo {
    margin: 2.5rem 0 1.25rem 4rem;
  }
}

.hero-copy h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.hero-copy p {
  color: var(--text-muted);
  max-width: 42ch;
  margin-bottom: 1.75rem;
  font-size: 1.1rem;
}

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

.hero-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 2;
  min-height: 240px;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  pointer-events: none;
  z-index: 2;
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

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

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s, transform 0.2s;
}

.hero-nav:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: translateY(-50%) scale(1.05);
}

.hero-prev {
  left: 0.75rem;
}

.hero-next {
  right: 0.75rem;
}

.hero-dots {
  position: absolute;
  bottom: 0.85rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.45rem;
}

.hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.hero-dot.active {
  background: #fff;
  transform: scale(1.2);
}

@media (min-width: 860px) {
  .hero {
    padding: 0 0 5.5rem;
  }

  .hero-grid {
    grid-template-columns: 0.9fr 1.5fr;
    gap: 3rem;
    align-items: center;
  }

  .hero-visual {
    min-height: 400px;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

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

.btn-primary {
  background: var(--accent-dark);
  color: #fff;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
  background: #0284c7;
}

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

.btn-ghost:hover {
  border-color: #cbd5e1;
}

.btn-full {
  width: 100%;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-muted {
  background: var(--surface-muted);
  backdrop-filter: blur(8px);
}

.section-head {
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.section-head-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  cursor: pointer;
  text-align: center;
  align-items: center;
}

.service-card:hover,
.service-card:focus-visible {
  border-color: #7dd3fc;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  outline: none;
}

.service-card:focus-visible {
  box-shadow: var(--shadow-md), 0 0 0 3px var(--accent-soft);
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
}

.service-teaser {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.service-hint {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-dark);
  margin-top: auto;
}

.service-detail-desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.service-detail-desc strong {
  color: var(--text);
  font-weight: 600;
}

.service-detail-block {
  margin-bottom: 1.1rem;
}

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

.service-detail-block h4 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-dark);
  margin-bottom: 0.5rem;
}

.service-detail-block ul {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.service-detail-block li {
  font-size: 0.92rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
}

.service-detail-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-dark);
}

.service-detail-occasions {
  margin-top: 0.25rem;
  padding: 1.1rem 1.15rem;
  background: var(--accent-soft);
  border: 1px solid #7dd3fc;
  border-radius: var(--radius-sm);
}

.service-detail-occasions h4 {
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.service-detail-occasions li {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.service-detail-occasions li::before {
  width: 7px;
  height: 7px;
  background: var(--accent-dark);
  top: 0.5em;
}

@media (max-width: 960px) {
  .service-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
}

/* Equipment */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}

.equipment-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  cursor: pointer;
}

.equipment-card:hover,
.equipment-card:focus-visible {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: #7dd3fc;
  outline: none;
}

.equipment-card:focus-visible {
  box-shadow: var(--shadow-md), 0 0 0 3px var(--accent-soft);
}

.equipment-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.equipment-icon svg {
  width: 24px;
  height: 24px;
}

.equipment-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
}

.equipment-hint {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Info modal (services + specs) */
.info-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

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

.info-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
}

.info-modal-panel {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2rem 1.75rem 1.5rem;
  z-index: 1;
}

.info-modal-panel h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  padding-right: 2rem;
}

.info-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--surface-muted);
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-modal-close:hover {
  background: var(--accent-soft);
}

.info-modal-note {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.specs-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.specs-list div {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.specs-list div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

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

.specs-list dd {
  font-size: 0.98rem;
  line-height: 1.5;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery-item {
  cursor: pointer;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface-muted);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s;
}

.gallery-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

/* Contact */
.contact-layout {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.contact-intro h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.contact-intro > p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 36ch;
}

.contact-block {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

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

.contact-item a {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--accent-dark);
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

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

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-row label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.form-row input,
.form-row textarea {
  padding: 0.75rem 0.9rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-row textarea {
  resize: vertical;
  min-height: 120px;
}

.form-status {
  font-size: 0.9rem;
  min-height: 1.4em;
  text-align: center;
}

.form-status.error {
  color: #dc2626;
}

.form-status.success {
  color: #16a34a;
}

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

/* Footer */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

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

.footer-inner p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.logo-footer .logo-mark {
  width: 8px;
  height: 8px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-image {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lightbox-close {
  top: 1.25rem;
  right: 1.25rem;
}

.lightbox-prev {
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
}

/* Mobile */
@media (max-width: 859px) {
  .hero {
    margin-top: 0;
  }

  .hero-grid {
    gap: 1.75rem;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy p {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }
}

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

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 1rem;
    right: 1rem;
    z-index: 200;
    background: var(--surface);
    flex-direction: column;
    padding: 0.75rem;
    gap: 0.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s, opacity 0.2s;
  }

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

  .nav-menu a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.75rem;
  }

  .nav-cta {
    margin-left: 0 !important;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1rem;
  }

  .logo {
    font-size: 0.95rem;
  }

  .hero {
    padding-bottom: 3rem;
  }

  .hero-copy h1 {
    font-size: clamp(1.6rem, 7vw, 2rem);
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

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

  .hero-nav {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }

  .hero-prev {
    left: 0.5rem;
  }

  .hero-next {
    right: 0.5rem;
  }

  .section {
    padding: 3rem 0;
  }

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

  .service-grid {
    max-width: none;
  }

  .service-card {
    padding: 1.5rem;
  }

  .equipment-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }

  .card {
    padding: 1.5rem;
  }

  .contact-intro > p {
    max-width: none;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }

  .info-modal {
    padding: 1rem;
    align-items: center;
  }

  .info-modal-panel {
    padding: 1.5rem 1.25rem 1.25rem;
    max-height: 88vh;
  }

  .lightbox {
    padding: 1rem;
  }

  .lightbox-close {
    top: 0.75rem;
    right: 0.75rem;
    width: 40px;
    height: 40px;
  }

  .lightbox-prev {
    left: 0.5rem;
  }

  .lightbox-next {
    right: 0.5rem;
  }

  body {
    background-attachment: scroll;
  }
}

@media (max-width: 380px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .logo-text {
    font-size: 0.9rem;
  }
}

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

  *, *::before, *::after {
    transition-duration: 0.01ms !important;
  }

  .hero-slide {
    transition: none;
  }
}
