/* ==========================================================================
   Smyle Dental — service page
   Split hero, treatment cards, after-hours panel. Everything else on the
   page reuses the shared components, so a homepage fix lands here too.
   ========================================================================== */

.crumb {
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--soft);
  margin: 0 0 18px;
}
.crumb b { color: var(--ink3); }

.spacts { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.gridacts { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 44px; }

/* ------------------------------------------------------------ split hero -- */
.heroA { display: grid; grid-template-columns: 1fr 1fr; min-height: 600px; align-items: stretch; }
.heroA .shot { position: relative; overflow: hidden; background: #EDE6D8; }
/* Taken out of flow on purpose. Left in flow, a portrait photo resolves its
   own height and drags the whole hero band down to 1000px+; absolute lets the
   panel and the min-height set the band, and object-fit crops to it. */
.heroA .shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.heroA .mark {
  position: absolute;
  right: 26px;
  top: 26px;
  z-index: 2;
  background: rgba(250, 247, 241, .92);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink3);
}
.heroA .panel {
  background: var(--ink3);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 76px;
}
.heroA .panel .crumb { color: rgba(250, 247, 241, .55); }
.heroA .panel .crumb b { color: var(--yellow); }
.heroA h1 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: clamp(34px, 3.6vw, 54px);
  line-height: 1.08;
  letter-spacing: -.03em;
  margin: 0 0 28px;
  color: var(--cream);
  max-width: 19ch;
}
.heroA h1 em { font-style: italic; color: var(--yellow); }
.heroA .lede { color: rgba(250, 247, 241, .74); font-size: 16.5px; margin: 0 0 30px; }
.heroA .btn-line { color: var(--cream); box-shadow: inset 0 0 0 2px rgba(250, 247, 241, .55); }
.heroA .btn-line:hover { background: var(--cream); color: var(--ink3); box-shadow: inset 0 0 0 2px var(--cream); }

/* The proof band pulls up under the tall homepage hero. This hero is its own
   shape, so reset the pull rather than letting the band sit on the buttons. */
.heroA + .proofsec { margin: 44px 0 0; }

/* ------------------------------------------------------- treatment cards -- */
.svcgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 44px; }
.svccard {
  background: #fff;
  border: 1px solid rgba(30, 27, 22, .10);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(30, 27, 22, .05);
  display: flex;
  flex-direction: column;
}
.svccard .shot { height: 190px; overflow: hidden; background: var(--cream); }
.svccard .shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--e-out); }
.svccard:hover .shot img { transform: scale(1.04); }
.svccard .bd { padding: 24px 28px 28px; flex: 1 1 auto; }
.svccard .no {
  font-family: Fraunces, Georgia, serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--yellow-deep);
  display: block;
  margin-bottom: 8px;
}
.svccard h3 {
  font-family: Fraunces, Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--ink3);
}
.svccard p { font-size: 15px; line-height: 1.68; color: var(--mid); margin: 0; }

/* ------------------------------------------------------ after-hours panel -- */
.hours {
  background: var(--ink3);
  color: var(--cream);
  border-radius: 24px;
  padding: 46px 48px;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 44px;
  align-items: start;
}
.hours h2 { font-size: 34px; line-height: 1.12; margin: 0 0 18px; color: var(--cream); }
.hours h2 em { color: var(--yellow); }
.hours > div > p { font-size: 15.5px; line-height: 1.7; color: rgba(250, 247, 241, .74); margin: 0 0 14px; }
.hours > div > p:last-child { margin-bottom: 0; }
.hours .card {
  background: rgba(250, 247, 241, .06);
  border: 1px solid rgba(250, 247, 241, .14);
  border-radius: 18px;
  padding: 26px 28px;
}
.hours .card h4 { font-family: Fraunces, Georgia, serif; font-size: 19px; font-weight: 600; margin: 0 0 6px; color: var(--cream); }
.hours .card .addr { font-size: 14.5px; line-height: 1.6; color: rgba(250, 247, 241, .66); margin: 0 0 16px; }
.hours .card .tel {
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--yellow);
  margin-bottom: 6px;
}
.hours .card .open { font-size: 13.5px; color: rgba(250, 247, 241, .6); margin: 0 0 20px; }
.hours .card .btn { width: 100%; justify-content: center; }

/* ------------------------------------------------------------ responsive -- */
@media (max-width: 1000px) {
  .heroA { grid-template-columns: 1fr; }
  .heroA .shot { height: 300px; }
  .heroA .panel { padding: 44px 30px; }
  .heroA + .proofsec { margin: 32px 0 0; }
  .svcgrid { grid-template-columns: 1fr; }
  .hours { grid-template-columns: 1fr; gap: 30px; padding: 34px 26px; }
  .hours h2 { font-size: 28px; }
}

@media (max-width: 560px) {
  .svccard .bd { padding: 20px 22px 24px; }
  .svccard .shot { height: 160px; }
}
