/* ==========================================================================
   THE HAUTE ATELIER HERO & STATIC GRID SERVICES SHOWCASE (Front Page)
   ========================================================================== */

.hero-cinematic {
  position: relative;
  width: 100%;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #1f1a21;
  color: #faf7f5;
}

/* 1. Cinematic Background & Chiaroscuro Atmosphere */
.hero-cinematic-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-image-container {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.hero-doctor-portrait {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  opacity: 0.48;
  /* filter: contrast(1.15) brightness(0.82) saturate(0.9); */
  transform: scale(1.08);
  animation: heroPortraitZoom 16s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform;
}

/* Multi-Dimensional Chiaroscuro Lighting Veil */
/* .hero-lighting-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 50% 25%,
      rgba(52, 44, 47, 0.2) 0%,
      rgba(31, 26, 33, 0.8) 55%,
      #1f1a21 100%
    ),
    linear-gradient(
      180deg,
      rgba(31, 26, 33, 0.5) 0%,
      rgba(31, 26, 33, 0.75) 45%,
      #1f1a21 95%
    );
  z-index: 2;
}

 
.hero-film-grain {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0.035;
  background-image: radial-gradient(#ffffff 1px, transparent 1px);
  background-size: 3px 3px;
  pointer-events: none;
} */

/* Architectural Horizon & Coordinates */
.hero-grid-architectural {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.grid-tick {
  position: absolute;
  font-family: "Cinzel", serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(164, 133, 116, 0.45);
  user-select: none;
}

.tick-tl {
  top: 1.8rem;
  left: 2.5rem;
}
.tick-tr {
  top: 1.8rem;
  right: 2.5rem;
}

.grid-hairline-h {
  position: absolute;
  top: 3.2rem;
  left: 2.5rem;
  right: 2.5rem;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(164, 133, 116, 0.15) 15%,
    rgba(164, 133, 116, 0.15) 85%,
    transparent 100%
  );
}

@media (max-width: 768px) {
  .grid-tick {
    display: none;
  }
  .grid-hairline-h {
    display: none;
  }
  .hero-doctor-portrait {
    object-position: 50% 15%;
    opacity: 0.42;
  }
}

/* 2. Main Editorial Stage Container */
.hero-editorial-stage {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 2.5rem 0rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  min-height: 100vh;
  gap: 46px;
}

/* 3. The Haute Kicker Row */
.hero-kicker-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 2rem;
  opacity: 0;
  animation: kickerFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

.hero-monogram-symbol {
  color: #b1835e4c;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.hero-kicker-text {
  display: inline-flex;
  align-items: center;
}

.kicker-sub {
  font-family: "Noto Sans Arabic", sans-serif;
  font-size: clamp(0.88rem, 1.1vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #d8ceca;
}

.hero-kicker-line {
  flex-grow: 1;
  max-width: 220px;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(164, 133, 116, 0.45) 0%,
    rgba(152, 107, 76, 0.2) 60%,
    transparent 100%
  );
}

/* 4. Monumental Editorial Typography */
.hero-headline-block {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 3.25rem;
}

.headline-slice {
  overflow: hidden;
  display: block;
  margin: 0;
}

.slice-inner {
  display: block;
  transform: translateY(115%);
  will-change: transform;
}

.slice-2 .slice-inner {
  font-family: "Noto Sans Arabic", sans-serif;
  font-size: clamp(3rem, 6.8vw, 5.8rem);
  font-weight: 900;
  line-height: 1.14;
  color: #ffffff;
  letter-spacing: -0.5px;
  animation: sliceUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
}

.name-monument {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35em;
  font-size: 37px !important;
}

.name-dr {
  font-size: 0.42em;
  font-weight: 700;
  color: #b1835e;
  -webkit-text-fill-color: #b1835e;
  margin-left: 0.25em;
  vertical-align: 0.15em;
}

.name-first {
  color: #b1835e;
}

.slice-3 .slice-inner {
  font-family: "Noto Sans Arabic", sans-serif;
  font-size: clamp(1.1rem, 2.1vw, 1.5rem);
  font-weight: 400;
  color: #d8ceca;
  line-height: 1.7;
  max-width: 800px;
  margin: 0;
  letter-spacing: 0.15px;
  animation: sliceUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.55s forwards;
}

/* 5. Haute Couture Action Bar & Buttons */
.hero-action-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.8rem;
  opacity: 0;
  animation: footerFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

.action-btn-wrapper {
  z-index: 2;
}

.btn-bespoke-cta {
  cursor: pointer;
  position: relative;
  padding: 14px 34px;
  font-family: "Noto Sans Arabic", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: #faf7f5;
  border: 2px solid #b1835e4c;
  border-radius: 999px;
  background-color: #b1835e4c;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  z-index: 1;
}

.btn-bespoke-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 44px;
  height: 44px;
  border-radius: inherit;
  transform: scale(0);
  z-index: -1;
  background-color: #a87856;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-bespoke-cta:hover::before {
  transform: scale(10);
}

.btn-bespoke-cta:hover {
  color: #faf7f5;
  transform: scale(1.03);
}

.btn-bespoke-cta:active {
  transform: scale(0.98);
}

.btn-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.btn-bespoke-cta:hover .btn-icon-wrap {
  transform: translateX(-4px);
}

/* Luxury Direct Line Chip */
.hero-contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Noto Sans Arabic", sans-serif;
  font-size: 0.92rem;
  color: #d8ceca;
  text-decoration: none;
  padding: 13px 22px;
  background: rgba(52, 44, 47, 0.6);
  border: 1px solid rgba(164, 133, 116, 0.25);
  border-radius: 999px;
  transition: all 0.25s ease;
}

.hero-contact-chip:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: #b1835e4c;
  color: #ffffff;
}

.chip-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b1835e;
  animation: chipPulse 2s infinite;
}

@keyframes chipPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.6;
  }
}

/* Architectural Scroll Cue */
.hero-scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #d8ceca;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  margin-right: auto;
  transition: color 0.25s ease;
}

.hero-scroll-cue:hover {
  color: #b1835e4c;
}

.scroll-cue-needle {
  width: 2px;
  height: 38px;
  background: rgba(255, 255, 255, 0.12);
  position: relative;
  border-radius: 999px;
  overflow: hidden;
}

.needle-spark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 14px;
  background: linear-gradient(180deg, #a48574, #b1835e4c);
  border-radius: 999px;
  animation: needleGlide 2.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes needleGlide {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: translateY(300%);
    opacity: 0;
  }
}

/* Keyframe Animations */
@keyframes sliceUp {
  from {
    transform: translateY(115%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes kickerFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes footerFadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroPortraitZoom {
  0% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

/* ==========================================================================
   STATIC GRID SERVICES SHOWCASE
   ========================================================================== */
.services-section-static {
  position: relative;
  background-color: #1f1a21;
  min-height: 100vh;
  padding: 8rem 0 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.services-static-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  width: 100%;
}

.static-card {
  transition:
    transform 0.5s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.5s ease;
  height: 100%;
}

.static-card:hover {
  transform: translateY(-12px);
}

.card-glass-panel {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  background: linear-gradient(
    145deg,
    rgba(52, 44, 47, 0.85) 0%,
    rgba(31, 26, 33, 0.95) 100%
  );
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(164, 133, 116, 0.22);
}

.card-reconstructive .card-glass-panel {
  border-top: 2px solid #a48574;
}
.card-cosmetic .card-glass-panel {
  border-top: 2px solid #b1835e4c;
}

.card-reconstructive:hover {
  box-shadow: 0 20px 40px -10px rgba(164, 133, 116, 0.2);
}
.card-cosmetic:hover {
  box-shadow: 0 20px 40px -10px rgba(152, 107, 76, 0.2);
}

.card-image-wrapper {
  position: relative;
  width: 100%;
  height: 240px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.8rem;
}

.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.static-card:hover .card-image-wrapper img {
  transform: scale(1.1);
}

.image-overlay-cyan,
.image-overlay-gold {
  position: absolute;
  inset: 0;
  transition: opacity 0.5s ease;
}
.image-overlay-cyan {
  background: linear-gradient(
    0deg,
    rgba(31, 26, 33, 0.9) 0%,
    rgba(164, 133, 116, 0.2) 100%
  );
  opacity: 0.8;
}
.image-overlay-gold {
  background: linear-gradient(
    0deg,
    rgba(31, 26, 33, 0.9) 0%,
    rgba(152, 107, 76, 0.2) 100%
  );
  opacity: 0.8;
}

.static-card:hover .image-overlay-cyan,
.static-card:hover .image-overlay-gold {
  opacity: 0.4;
}

.absolute-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(52, 40, 37, 0.85);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 8px;
  font-family: "Cinzel", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
  border: 1px solid;
}
.tag-cyan.absolute-tag {
  border-color: rgba(164, 133, 116, 0.4);
  color: #a48574;
}
.tag-gold.absolute-tag {
  border-color: rgba(152, 107, 76, 0.35);
  color: #b1835e4c;
}

.card-content h3 {
  font-family: "Noto Sans Arabic", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 1rem;
  line-height: 1.2;
}
.card-content p {
  font-family: "Noto Sans Arabic", sans-serif;
  font-size: 1.05rem;
  color: #d8ceca;
  line-height: 1.6;
  margin: 0;
  margin-bottom: 16px !important;
}

.btn-orbit {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  font-family: "Noto Sans Arabic", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  background: transparent;
}

.btn-orbit span,
.btn-orbit svg {
  position: relative;
  z-index: 2;
  transition:
    transform 0.4s ease,
    color 0.4s ease;
}

.btn-orbit:hover svg {
  transform: translateX(-5px);
}

.btn-orbit::before {
  content: "";
  position: absolute;
  right: -50px;
  top: 0;
  width: 0;
  height: 100%;
  transform: skewX(-45deg);
  z-index: 1;
  transition: width 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-orbit:hover {
  transform: scale(1.05);
}

.btn-orbit:hover::before {
  width: 250%;
}

.btn-cyan {
  color: #a48574;
  outline: 2px solid #a48574;
}
.btn-cyan::before {
  background-color: #a48574;
}
.btn-cyan:hover {
  color: #faf7f5;
  outline-color: #a48574;
  box-shadow: 0 5px 20px -4px rgba(164, 133, 116, 0.3);
}

.btn-gold {
  color: #b1835e4c;
  outline: 2px solid #b1835e4c;
}
.btn-gold::before {
  background-color: #b1835e4c;
}
.btn-gold:hover {
  color: #faf7f5;
  outline-color: #b1835e4c;
  box-shadow: 0 5px 20px -4px rgba(152, 107, 76, 0.4);
}

/* ==========================================================================
   MOBILE RESPONSIVENESS (Front Page)
   ========================================================================== */
@media (max-width: 992px) {
  .services-grid {
    gap: 2rem;
  }
  .card-image-wrapper {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .hero-cinematic {
    min-height: calc(83svh - 64px) !important;
  }
  .hero-editorial-stage {
    padding: 1.25rem 1.15rem 1rem !important;
    gap: 20px;
    min-height: auto !important;
  }
  .hero-kicker-row {
    margin-bottom: 0px;
    gap: 8px;
    margin-top: 15px;
  }
  .hero-monogram-symbol svg {
    width: 18px;
    height: 18px;
  }
  .kicker-sub {
    font-size: 0.78rem !important;
    /* line-height: 1.4; */
  }
  .hero-kicker-line {
    display: none;
  }
  .hero-headline-block {
    gap: 0.45rem;
    margin-bottom: 1.35rem;
  }
  .name-monument {
    font-size: clamp(1.45rem, 5.2vw, 1.85rem) !important;
    gap: 0.25em;
  }
  .name-dr {
    font-size: 0.42em;
    margin-left: 0.2em;
  }
  .slice-3 .slice-inner {
    font-size: 0.88rem;
    line-height: 1.55;
    max-width: 100%;
  }
  .hero-action-footer {
    flex-direction: column;
    gap: 0.75rem;
  }
  .action-btn-wrapper,
  .btn-bespoke-cta {
    width: 90%;
    font-size: 0.92rem;
    padding: 11px 18px;
    border-radius: 999px;
  }
  .btn-bespoke-cta:hover {
    transform: scale(1.01);
  }
  .hero-contact-chip {
    width: 90%;
    justify-content: center;
    font-size: 0.82rem;
    padding: 9px 12px;
    border-radius: 999px;
  }
  .hero-scroll-cue {
    display: none;
  }
  .services-section-static {
    padding: 0rem 0 3rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .card-image-wrapper {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .hero-editorial-stage {
    padding: 1rem 0.9rem 0.85rem !important;
    gap: 16px;
  }
  .name-monument {
    font-size: 1.45rem !important;
  }
  .kicker-sub {
    font-size: 0.85rem;
  }
  .slice-3 .slice-inner {
    font-size: 14px;
    line-height: 1.5;
  }
  .btn-bespoke-cta {
    font-size: 0.88rem;
    padding: 10px 16px;
  }
  .hero-contact-chip {
    font-size: 0.78rem;
    padding: 8px 10px;
  }
}
