/* ─── Hero Art Photo Overlay ─── */
.hero-art {
  background: #0e3348;
  position: absolute;
  overflow: hidden;
}

.hero-art picture,
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 25%;
  opacity: 1;
  z-index: 0;
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(246, 248, 246, 0.92) 0%, rgba(246, 248, 246, 0.35) 12%, transparent 30%),
              linear-gradient(0deg, rgba(9, 36, 54, 0.65) 0%, rgba(9, 36, 54, 0.15) 35%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

/* Hide vector placeholder shapes so the dental lab photograph is clearly visible */
.hero-art .orb,
.hero-art .hero-circle,
.hero-art .arch {
  display: none !important;
}

.hero-art .scan-line,
.hero-art .hero-card,
.hero-art .art-label {
  z-index: 2;
}

.hero-card {
  box-shadow: 0 18px 50px rgba(3, 28, 43, 0.3);
}

/* ─── Solutions Product Images (consolidated — no !important needed) ─── */
.visual-zirconia,
.visual-implant,
.visual-removable {
  background-size: cover;
  background-position: center;
}

.visual-zirconia {
  background-image: linear-gradient(0deg, rgba(5, 38, 57, 0.45), rgba(5, 38, 57, 0.05)),
                     url("img/restorations-ai.webp");
}

.visual-implant {
  background-image: linear-gradient(0deg, rgba(5, 38, 57, 0.45), rgba(5, 38, 57, 0.05)),
                     url("img/product-implant.webp");
}

.visual-removable {
  background-image: linear-gradient(0deg, rgba(5, 38, 57, 0.45), rgba(5, 38, 57, 0.05)),
                     url("img/product-removable.webp");
}

/* Hide the cartoon vector shapes so the clinical photos are unobstructed */
.visual-zirconia .object-shape,
.visual-implant .implant-post,
.visual-implant .implant-crown,
.visual-removable .partial,
.visual-removable .partial-a,
.visual-removable .partial-b {
  display: none !important;
}

/* Sleek modern material tag badge overlay */
.product-visual .material-tag {
  display: inline-block !important;
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: rgba(14, 48, 71, 0.82);
  backdrop-filter: blur(6px);
  color: #c9f5f0;
  padding: 4px 9px;
  border-radius: 3px;
  font-size: 10px;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  z-index: 2;
}

/* ─── Workflow Visual Clean Presentation ─── */
.workflow-visual {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(17, 48, 71, 0.12);
}

.workflow-tooth,
.grid-plane,
.workflow-visual p.mono {
  display: none !important;
}

.workflow-visual::before {
  display: none !important;
}

/* ─── Contact Details ─── */
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 24px;
}

.contact-details a {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
  padding-bottom: 2px;
  transition: color 0.2s ease;
}

.contact-details a:hover {
  color: #b9f4ed;
}

/* ─── Contact Map ─── */
.contact-map {
  margin-top: 24px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-map iframe {
  display: block;
}

/* ─── WhatsApp Floating Button ─── */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 10;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #25d366;
  box-shadow: 0 12px 26px rgba(13, 67, 55, 0.3);
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  background: #1da851;
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(13, 67, 55, 0.4);
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
}

/* ─── Footer Social Links ─── */
.footer-social {
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer-social a {
  color: #67808f;
  transition: color 0.2s ease, transform 0.2s ease;
  display: grid;
  place-items: center;
}

.footer-social a:hover {
  color: var(--blue);
  transform: translateY(-2px);
}

/* ─── Mobile Responsive ─── */
@media (max-width: 780px) {
  .hero-art {
    opacity: 1;
  }
  .hero-photo {
    object-position: 60% center;
  }
  .hero-art::after {
    background: linear-gradient(0deg, rgba(10, 51, 72, 0.75) 0%, transparent 60%);
  }
  .contact-map iframe {
    height: 180px;
  }
}

/* ─── Section Headings for Tech Stack and Principles ─── */
.tech-heading {
  font: 500 38px var(--serif);
  letter-spacing: -0.03em;
  margin: 12px 0 32px;
  color: var(--ink);
}

.tech-heading em {
  font-style: italic;
  color: var(--blue);
}

.principles h2 {
  font: 500 38px var(--serif);
  letter-spacing: -0.03em;
  margin: 12px 0 40px;
  color: var(--ink);
}

.principles h2 em {
  font-style: italic;
  color: var(--blue);
}

/* ─── File Upload Field ─── */

.file-upload-label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.file-upload-label > span {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.file-upload-label > span em {
  font-style: normal;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
  text-transform: none;
  letter-spacing: 0;
}

/* Hide the native input visually */
#file-upload {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  pointer-events: none;
}

.file-upload-zone {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border: 1.5px dashed rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.file-upload-zone:hover,
.file-upload-zone:focus-within {
  border-color: rgba(180, 240, 235, 0.6);
  background: rgba(255, 255, 255, 0.07);
}

.file-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  color: #fff;
  font: 700 11px var(--sans);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.file-upload-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.file-upload-btn svg {
  flex-shrink: 0;
  opacity: 0.85;
}

.file-name-display {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.file-name-display.has-file {
  color: #9ee8e2;
  font-weight: 600;
}

.file-hint-text {
  font-size: 10px !important;
  color: rgba(255, 255, 255, 0.32) !important;
  margin: 0 !important;
  font-family: var(--mono) !important;
  letter-spacing: 0.04em;
}
