/* Modern torna atölyesi teması */
:root {
  --bg: #131416;
  --surface: #1e2126;
  --surface-strong: #2b2f36;
  --text: #e9ebef;
  --muted: #9aa1ac;
  --accent: #7f9cf5;
  --metal: linear-gradient(135deg, #4f545d 0%, #22272f 100%);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  min-height: 100%;
}

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, rgba(127, 156, 245, 0.12), transparent 28%),
              radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.05), transparent 22%),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0;
}

header {
  padding: 1.75rem 0 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.5rem;
}

.header-hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 1.5rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--text);
  min-height: 4.2rem;
}

.brand-copy {
  display: grid;
  gap: 0.3rem;
}

.brand-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.brand-mark {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 0.95rem;
  background: linear-gradient(180deg, #11161c, #0b0d11);
  border: 1px solid rgba(217, 217, 217, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 16px 44px rgba(0, 0, 0, 0.28);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.site-brand h1 {
  font-size: clamp(1.5rem, 2.5vw, 2.4rem);
  letter-spacing: 0.04em;
  line-height: 1.05;
}

html {
  scroll-behavior: smooth;
}

nav {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.98rem;
  padding: 0.5rem 0.9rem;
  border-radius: 0.6rem;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.18s ease;
  cursor: pointer;
}

.nav-link:hover, .nav-link.active {
  color: #f8fafc;
  background: linear-gradient(135deg, rgba(80,86,98,0.12), rgba(30,33,37,0.6));
  border-color: rgba(255,255,255,0.04);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.nav-link:focus { outline: none; box-shadow: 0 0 0 3px rgba(127,156,245,0.08); }

/* About section - corporate profile */
.about {
  margin-top: 3rem;
  padding: 2rem;
  border-radius: 1.6rem;
  background: linear-gradient(135deg, rgba(20,23,28,0.8), rgba(15,17,20,0.8));
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.about h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 1.2rem;
  color: #f8fafc;
}

.about h4 {
  font-size: 1.1rem;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
}

.about-profile {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.profile-image-area {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 1.4rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.04)), url('https://source.unsplash.com/1920x1080/?cnc,lathe,metal,precision,industrial');
  background-size: cover;
  background-position: center;
  border: 2px solid rgba(127,156,245,0.18);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.cnc-hero {
  background-image: url('https://source.unsplash.com/1920x1080/?cnc,lathe,metal,precision,industrial');
  background-size: cover;
  background-position: center;
}

.profile-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
}

.profile-card-text .hero-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  margin-bottom: 0.85rem;
}

/* Replaced profile card image - keep sizing and visual style */
.profile-placed-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 20%;
  filter: brightness(1.2) saturate(1.3);
  opacity: 1;
}

.catalog-card-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 1rem;
}

.catalog-card-image-wrap img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.catalog-card-content {
  display: grid;
  gap: 0.9rem;
}

.catalog-card-tag {
  display: inline-flex;
  width: fit-content;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  background: rgba(127, 156, 245, 0.08);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.tech-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  color: var(--text);
}

.tech-table th,
.tech-table td {
  text-align: left;
  padding: 0.58rem 0.6rem;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tech-table th {
  color: #f8fafc;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.03);
}

.tech-table td:first-child {
  width: 32%;
  color: var(--accent);
  font-weight: 600;
}

.profile-card-text .hero-tag svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 30px rgba(0,0,0,0.35));
}

.profile-card-text h3 {
  color: #ffffff;
  font-size: clamp(1.5rem, 2.6vw, 2.4rem);
  line-height: 1.1;
  margin: 0;
  max-width: 22rem;
  text-shadow: 0 14px 30px rgba(0, 0, 0, 0.6);
}

.profile-image-area:hover {
  transform: scale(1.03);
  box-shadow: 0 24px 48px rgba(31, 116, 255, 0.18);
}

.profile-image-area:hover .profile-overlay {
  background: rgba(0, 0, 0, 0.55);
}

.profile-info h3 {
  font-size: 1.4rem;
  color: #f8fafc;
  margin-bottom: 0.3rem;
}

.profile-title {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.98rem;
  margin-bottom: 0.8rem;
}

.profile-desc {
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

.mission-box {
  padding: 1.4rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(40,50,60,0.2), rgba(25,30,35,0.2));
  border: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 1rem;
}

.mission-box h4 {
  margin-bottom: 0.75rem;
}

.mission-box p {
  color: var(--muted);
  line-height: 1.7;
}

.values-list {
  list-style: none;
  display: grid;
  gap: 0.9rem;
  margin-top: 0.8rem;
}

.values-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: var(--text);
  line-height: 1.6;
}

.value-icon {
  flex-shrink: 0;
  width: 1.4rem;
  height: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(127,156,245,0.2), rgba(100,120,200,0.1));
  border-radius: 50%;
  color: var(--accent);
  font-weight: 900;
  font-size: 0.9rem;
}

.about-top {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 2rem;
  align-items: start;
}

.about-left {
  display: grid;
  gap: 2rem;
}

.services {
  padding: 1.8rem;
  border-radius: 1.5rem;
  background: linear-gradient(180deg, rgba(33,38,47,0.96), rgba(21,24,29,0.96));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

.services-header h2 {
  margin-bottom: 0.5rem;
  color: #f8fafc;
}

.services-header p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.services-list {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.services-list li {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
}

.service-icon {
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(127,156,245,0.2), rgba(75,85,110,0.25));
  color: var(--accent);
  font-size: 1.1rem;
}

.service-copy {
  min-width: 0;
  text-align: right;
}

.service-copy strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #f8fafc;
  font-size: 0.98rem;
  line-height: 1.4;
  font-style: italic;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.service-copy p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.machine-parkur {
  margin-top: 3rem;
  padding: 2rem;
  border-radius: 1.6rem;
  background: linear-gradient(135deg, rgba(20,23,28,0.85), rgba(13,15,19,0.85));
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 22px 70px rgba(0,0,0,0.22);
}

.machine-parkur .section-header h2 {
  margin-bottom: 0.5rem;
}

.machine-parkur .section-header p {
  color: var(--muted);
  max-width: 72ch;
}

.parkur-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2rem;
  margin-top: 1.8rem;
}

.machine-list h3,
.video-panel h3 {
  margin-bottom: 1rem;
  color: #f8fafc;
}

.machine-list ul {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.machine-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
}

.machine-list li strong {
  color: #f8fafc;
}

.machine-list li span {
  color: var(--muted);
  font-size: 0.95rem;
  text-align: right;
}

.video-frame {
  border-radius: 1.4rem;
  padding: 0.75rem;
  background: linear-gradient(180deg, rgba(35,40,50,0.95), rgba(20,24,30,0.95));
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}

.video-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  background: #121212;
  border-radius: 1.1rem;
  display: block;
}

.video-fallback {
  margin: 0.75rem 0.25rem 0.25rem;
  padding: 0.85rem 1rem;
  color: #d7dbe3;
  background: rgba(18,18,18,0.78);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.75rem;
  text-align: center;
  font-size: 0.92rem;
}

@media (max-width: 920px) {
  .about-top {
    grid-template-columns: 1fr;
  }
  .about-left {
    gap: 1.7rem;
  }
  .services {
    order: -1;
  }
}

@media (max-width: 768px) {
  .parkur-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .about-profile {
    align-items: center;
  }
  .profile-image-area {
    max-width: 280px;
    margin: 0 auto;
  }
  .file-upload-text {
    text-align: left;
  }
}

/* Gallery section */
.gallery {
  margin-top: 3rem;
  padding: 2rem;
  border-radius: 1.6rem;
  background: linear-gradient(135deg, rgba(20,23,28,0.8), rgba(15,17,20,0.8));
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.gallery h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 0.8rem;
  color: #f8fafc;
}

.gallery > p {
  color: var(--muted);
  margin-bottom: 1.8rem;
  font-size: 0.98rem;
}

.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 1rem;
  background: linear-gradient(135deg, #3a4556, #242a36);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
  filter: saturate(1.05) contrast(1.04);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 36px rgba(0,0,0,0.3);
  border-color: rgba(127,156,245,0.2);
}

.gallery-item:hover img {
  transform: scale(1.04);
  filter: saturate(1.14) contrast(1.08);
}

.gallery-placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(50,60,75,0.42), rgba(24,28,35,0.78));
  border-style: dashed;
  cursor: default;
}

.gallery-placeholder span {
  position: relative;
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
}

.gallery-placeholder span::before,
.gallery-placeholder span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.35rem;
  height: 2px;
  border-radius: 999px;
  background: rgba(209,217,230,0.72);
  transform: translate(-50%, -50%);
}

.gallery-placeholder span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.gallery-placeholder:hover {
  transform: none;
  box-shadow: 0 12px 36px rgba(0,0,0,0.2);
  border-color: rgba(127,156,245,0.18);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: rgba(6,8,11,0.86);
  backdrop-filter: blur(8px);
}

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

.gallery-lightbox-image {
  max-width: min(94vw, 1180px);
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background: #101418;
  box-shadow: 0 28px 80px rgba(0,0,0,0.55);
  cursor: zoom-out;
}

.gallery-lightbox-close {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(145deg, rgba(50,56,66,0.95), rgba(22,25,31,0.95));
  color: #f8fafc;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(0,0,0,0.34);
}

.gallery-lightbox-close:hover {
  border-color: rgba(127,156,245,0.24);
}

/* Responsive gallery grid */
@media (max-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
}

/* Contact form styles */
.contact {
  margin-top: 3rem;
  padding: 1.6rem 2rem;
  border-radius: 1.6rem;
  background: linear-gradient(180deg, rgba(18,20,24,0.94), rgba(12,14,17,0.92));
  border: 1px solid rgba(127,156,245,0.08);
  box-shadow: 0 24px 70px rgba(0,0,0,0.26);
}

.contact h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 0.65rem;
  color: #f8fafc;
}

.contact > p {
  color: var(--muted);
  margin-bottom: 1.75rem;
  max-width: 74ch;
  line-height: 1.75;
}

.contact-form {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
}

.form-row {
  display: flex;
  flex-direction: column;
}

.form-row label {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.form-row input,
.form-row textarea {
  background: linear-gradient(180deg, rgba(30,33,38,0.6), rgba(22,24,28,0.6));
  border: 1px solid rgba(255,255,255,0.04);
  padding: 0.75rem 0.9rem;
  border-radius: 0.6rem;
  color: var(--text);
  font-size: 0.98rem;
}

.form-row textarea { resize: vertical; }

.file-upload-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.file-upload-label {
  color: var(--muted);
  font-size: 0.95rem;
}

.file-upload {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  background: linear-gradient(145deg, rgba(33, 37, 43, 0.95), rgba(24, 27, 33, 0.95));
  border: 1px solid rgba(255,255,255,0.08);
}

.file-upload-button {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(100, 110, 132, 0.95), rgba(75, 82, 102, 0.95));
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.12);
  pointer-events: none;
}

.file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-upload-text {
  color: var(--text);
  font-size: 0.95rem;
  pointer-events: none;
  flex: 1;
  text-align: right;
}

.form-actions { display:flex; gap:1rem; align-items:center; }

.form-status { color: var(--muted); font-size: 0.95rem; }

@media (max-width: 640px) {
  .form-actions { flex-direction: column; align-items: stretch; }
}

/* Social buttons: Instagram (inline near form) and WhatsApp floating */
.instagram-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(127,156,245,0.08), rgba(75,85,110,0.06));
  border: 1px solid rgba(255,255,255,0.04);
  color: #fff;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.instagram-btn svg { display:block; }
.instagram-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(31,116,255,0.08); }

.whatsapp-float {
  position: fixed;
  right: 1.05rem;
  bottom: 1.05rem;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(180deg, #00b894, #009975);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35), 0 6px 18px rgba(0,153,97,0.12);
  z-index: 9999;
  text-decoration: none;
  transform: translateY(0);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.whatsapp-float svg { display:block; }
.whatsapp-float:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 26px 56px rgba(0,0,0,0.42); }

@media (max-width: 640px) {
  .whatsapp-float { right: 0.7rem; bottom: 0.9rem; width: 50px; height: 50px; }
  .instagram-btn { width: 40px; height: 40px; }
}

/* Instagram floating button positioned next to WhatsApp */
.instagram-float {
  position: fixed;
  right: 78px;
  bottom: 1.05rem;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, #8134AF, #E1306C);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35), 0 6px 18px rgba(200,80,160,0.08);
  z-index: 9999;
  text-decoration: none;
  transform: translateY(0);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.instagram-float svg { display:block; }
.instagram-float:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 26px 56px rgba(0,0,0,0.42); }

@media (max-width: 640px) {
  .instagram-float { right: 64px; bottom: 0.9rem; width: 50px; height: 50px; }
}

.quote-note {
  margin-top: 1.4rem;
  padding: 1.2rem 1.3rem;
  border-radius: 1rem;
  background: rgba(127,156,245,0.08);
  border: 1px solid rgba(127,156,245,0.12);
}

.quote-note p {
  margin: 0;
  color: #d1d9e6;
  font-size: 0.98rem;
  line-height: 1.8;
}

.map-block {
  margin-top: 2.5rem;
  padding: 1.8rem;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(32,36,42,0.96), rgba(18,20,23,0.96));
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 20px 56px rgba(0,0,0,0.24);
}

.map-block h3 {
  margin-bottom: 0.65rem;
  color: #f8fafc;
}

.map-block p {
  margin-bottom: 1rem;
  color: var(--muted);
}

.map-address {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.07);
}

.map-address strong {
  color: #f8fafc;
  letter-spacing: 0.04em;
}

.map-address span {
  color: #d1d9e6;
  line-height: 1.7;
}

.map-address a {
  width: fit-content;
  margin-top: 0.35rem;
  padding: 0.68rem 0.95rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #6578f3, #8aabe9);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(101,120,243,0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.map-address a:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(101,120,243,0.24);
}

.map-frame {
  width: 100%;
  min-height: 400px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: #101418;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03), 0 18px 45px rgba(0,0,0,0.28);
}

.google-map {
  width: 100%;
  height: 400px;
  min-height: 400px;
  display: block;
  border: 0;
  border-radius: 12px;
}

.map-info-window {
  min-width: 210px;
  color: #111827;
  font-family: inherit;
}

.map-info-window strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #0f172a;
  font-size: 0.95rem;
}

.map-info-window p {
  margin: 0 0 0.75rem;
  color: #475569;
  font-size: 0.85rem;
  line-height: 1.45;
}

.map-directions-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.65rem 0.9rem;
  border-radius: 0.55rem;
  background: #1f6feb;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.86rem;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(31,111,235,0.28);
}

.map-directions-button:hover {
  background: #388bfd;
}

.references {
  margin-top: 3rem;
  padding: 2rem;
  border-radius: 1.6rem;
  background: linear-gradient(135deg, rgba(20,23,28,0.85), rgba(12,14,17,0.85));
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.references .section-header h2 {
  color: #f8fafc;
}

.reference-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.reference-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.35rem;
  border-radius: 1.2rem;
  background: linear-gradient(180deg, rgba(38,44,54,0.96), rgba(25,29,35,0.96));
  border: 1px solid rgba(255,255,255,0.05);
}

.reference-icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(127,156,245,0.2), rgba(90,105,130,0.25));
  color: var(--accent);
  font-size: 1.35rem;
}

.reference-card h4 {
  margin-bottom: 0.5rem;
  color: #f8fafc;
}

.reference-card p {
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .google-map {
    height: 320px;
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .google-map {
    height: 260px;
    min-height: 260px;
  }
  .reference-grid {
    grid-template-columns: 1fr;
  }
}


.hero {
  margin-top: 3rem;
  padding: 2.5rem;
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.015), 0 20px 80px rgba(0, 0, 0, 0.2);
}

.hero h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
  max-width: min(100%, 30ch);
}

.hero p {
  margin: 1.75rem 0 0;
  max-width: 68ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.cta-group {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button, .button-secondary {
  padding: 1rem 1.85rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.button {
  background: linear-gradient(135deg, #6578f3, #8aabe9);
  color: #fff;
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

.features {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  padding: 1.8rem;
  border-radius: 1.5rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.006));
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.card h3 {
  margin-bottom: 0.85rem;
  color: #f8fafc;
}

.card p {
  color: var(--muted);
  font-size: 0.98rem;
}

.catalog {
  margin-top: 3.5rem;
  padding: 2.5rem;
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
}

.filter-gallery {
  margin-bottom: 2rem;
  padding: 1.3rem 1.4rem;
  border-radius: 1.6rem;
  background: linear-gradient(130deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03), 0 14px 28px rgba(0, 0, 0, 0.15);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.filter-button {
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(145deg, rgba(35, 41, 49, 0.95), rgba(22, 26, 31, 0.95));
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.filter-button:hover,
.filter-button.active {
  transform: translateY(-1px);
  background: linear-gradient(145deg, rgba(61, 68, 78, 0.98), rgba(37, 42, 51, 0.98));
  border-color: rgba(127, 156, 245, 0.25);
  color: #f8fafc;
}

.filter-button.active {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.catalog-card {
  position: relative;
  padding: 1.9rem;
  border-radius: 1.8rem;
  background: linear-gradient(180deg, rgba(48, 53, 61, 0.98), rgba(28, 31, 36, 0.98));
  border: 1px solid rgba(127, 156, 245, 0.14);
  box-shadow: 0 22px 62px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
  background-image: linear-gradient(90deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.02) 3%, transparent 3%, transparent 100%),
                    radial-gradient(circle at top left, rgba(255,255,255,0.05), transparent 25%),
                    linear-gradient(180deg, rgba(63, 69, 79, 0.9), rgba(24, 27, 31, 0.9));
  background-blend-mode: overlay, screen, normal;
}

.catalog-card.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.98);
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.catalog-card::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: 1.8rem;
  background: linear-gradient(90deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.01) 50%, rgba(255,255,255,0.02) 100%);
  opacity: 0.35;
}

.catalog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.3);
  border-color: rgba(127, 156, 245, 0.28);
}

.catalog-card:hover::before {
  opacity: 0.5;
}

.section-header {
  max-width: 760px;
  margin-bottom: 1.75rem;
}

.section-header h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--muted);
  font-size: 1rem;
}

.catalog-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.catalog-card {
  padding: 1.9rem;
  border-radius: 1.8rem;
  background: linear-gradient(180deg, rgba(36, 41, 48, 0.95), rgba(26, 29, 34, 0.95));
  border: 1px solid rgba(127, 156, 245, 0.14);
  box-shadow: 0 22px 62px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.catalog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.3);
  border-color: rgba(127, 156, 245, 0.28);
}

.catalog-card h3 {
  margin-bottom: 1rem;
  color: #f8fafc;
}

.catalog-card ul {
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.catalog-card li {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.catalog-card li strong {
  color: #e9ebef;
}

.catalog-meta {
  margin-top: 1.5rem;
}

.catalog-meta h4 {
  margin-bottom: 0.75rem;
  color: #d7dbea;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 0.65rem;
  padding-left: 0;
}

.feature-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--text);
  font-size: 0.95rem;
}

.feature-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: var(--accent);
  font-size: 1.1rem;
}

.tool-icons {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.tool-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #eef2ff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 -1px 0 rgba(255,255,255,0.04);
}

.catalog-card {
  position: relative;
  padding: 1.9rem;
  border-radius: 1.8rem;
  background: linear-gradient(180deg, rgba(48, 53, 61, 0.98), rgba(28, 31, 36, 0.98));
  border: 1px solid rgba(127, 156, 245, 0.14);
  box-shadow: 0 22px 62px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  background-image: linear-gradient(90deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.02) 3%, transparent 3%, transparent 100%),
                    radial-gradient(circle at top left, rgba(255,255,255,0.05), transparent 25%),
                    linear-gradient(180deg, rgba(63, 69, 79, 0.9), rgba(24, 27, 31, 0.9));
  background-blend-mode: overlay, screen, normal;
}

.catalog-card::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: 1.8rem;
  background: linear-gradient(90deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.01) 50%, rgba(255,255,255,0.02) 100%);
  opacity: 0.35;
}

.catalog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.3);
  border-color: rgba(127, 156, 245, 0.28);
}

.catalog-card:hover::before {
  opacity: 0.5;
}

footer {
  margin-top: 4rem;
  padding: 2rem 0 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .hero {
    padding: 1.75rem;
  }

  .button, .button-secondary {
    width: 100%;
  }
}
