/* Contacts page only. */

/* ---------- Contact cards ---------- */
.ct-cards__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.ct-card__link {
  position: relative; display: flex; flex-direction: column; height: 100%; padding: 30px 26px 24px; border-radius: 26px;
  background: var(--c-ivory); border: 1px solid rgba(184, 154, 103, .24); overflow: hidden; isolation: isolate;
  transition: translate .6s var(--ease), box-shadow .6s var(--ease), border-color .4s var(--ease);
}
.ct-card__link::before { content: ""; position: absolute; z-index: -1; right: -40px; bottom: -40px; width: 170px; aspect-ratio: 506 / 437; background: url(../img/tooth/tooth-outline-gold.svg) center / contain no-repeat; opacity: .12; transition: opacity .6s var(--ease), transform .8s var(--ease); }
.ct-card__link:hover { translate: 0 -5px; border-color: rgba(184, 154, 103, .55); box-shadow: 0 34px 60px -34px rgba(21, 42, 35, .35); }
.ct-card__link:hover::before { opacity: .3; transform: rotate(-6deg) scale(1.06); }
.ct-card__icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 26px; border-radius: 50%; background: var(--c-forest); color: var(--c-champagne-light); box-shadow: 0 0 0 6px var(--c-ivory), 0 0 0 7px rgba(184, 154, 103, .35); }
.ct-card__icon .i { width: 22px; height: 22px; }
.ct-card--whatsapp .ct-card__icon { color: #4ADE80; }
.ct-card__label { font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--c-gold-ink); }
.ct-card__value { margin-top: 6px; font-family: var(--f-display); font-size: clamp(1.2rem, 1.05rem + .45vw, 1.45rem); line-height: 1.25; color: var(--c-forest-deep); overflow-wrap: anywhere; }
.ct-card__note { margin-top: 6px; font-size: .84rem; color: var(--c-stone); }
.ct-card__action { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 22px; font-size: .86rem; font-weight: 600; color: var(--c-forest); }
.ct-card__action .i { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.ct-card__link:hover .ct-card__action .i { transform: translateX(4px); }

/* ---------- Map ---------- */
.ct-map { background: var(--c-ivory); }
.ct-map__frame { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }
.ct-map__canvas { position: relative; height: clamp(440px, 46vw, 640px); border-radius: var(--r-xl); overflow: hidden; background: var(--c-cream); box-shadow: 0 40px 80px -46px rgba(21, 42, 35, .5), inset 0 0 0 1px rgba(184, 154, 103, .3); }
.ct-map__iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) sepia(.18) contrast(.92) brightness(1.04); }
.ct-map__card {
  position: absolute; left: clamp(16px, 3vw, 40px); top: clamp(16px, 3vw, 40px); width: min(420px, calc(100% - 32px)); padding: 28px 28px 24px; border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow-lift);
}
.ct-map__facts { display: grid; gap: 14px; }
.ct-map__facts div { display: grid; gap: 4px; }
.ct-map__facts dt { display: flex; align-items: center; gap: 8px; font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--c-gold-ink); }
.ct-map__facts dt .i { width: 16px; height: 16px; color: #9A7640; }
.ct-map__facts dd { margin: 0; font-size: .92rem; line-height: 1.5; color: var(--c-graphite); }
.ct-map__copy { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 7px 14px; border-radius: var(--r-pill); border: 1px solid var(--c-line); font-size: .78rem; font-weight: 600; color: var(--c-forest); transition: background-color .3s, color .3s, border-color .3s; }
.ct-map__copy[hidden] { display: none; }
.ct-map__copy .i { width: 15px; height: 15px; }
.ct-map__copy:hover, .ct-map__copy.is-done { background: var(--c-forest); border-color: var(--c-forest); color: var(--c-ivory); }
.ct-map__route { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--c-line); font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--c-gold-ink); }
.ct-map__apps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ct-map__apps a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: var(--r-pill); background: var(--c-ivory); border: 1px solid rgba(184, 154, 103, .35); font-size: .8rem; font-weight: 600; color: var(--c-forest); transition: background-color .3s, color .3s, border-color .3s; }
.ct-map__apps a .i { width: 14px; height: 14px; color: #9A7640; transition: color .3s; }
.ct-map__apps a:hover { background: var(--c-forest); border-color: var(--c-forest); color: var(--c-ivory); }
.ct-map__apps a:hover .i { color: var(--c-champagne-light); }

/* ---------- Ways to book (green band) ---------- */
.ct-book { position: relative; overflow: clip; isolation: isolate; padding-block: calc(clamp(70px, 8vw, 120px) + var(--curve-h, 0px)) clamp(70px, 8vw, 120px); color: var(--c-ivory); background: radial-gradient(90% 120% at 0% 0%, var(--c-forest-2) 0%, var(--c-forest) 40%, var(--c-forest-deep) 100%); }
.ct-book__tooth { position: absolute; z-index: -1; right: -80px; top: 18%; width: 420px; height: auto; opacity: .12; pointer-events: none; }
.ct-book__ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); }
.ct-way { position: relative; display: flex; flex-direction: column; padding: 32px 28px 26px; border-radius: 26px; background: rgba(247, 244, 238, .05); border: 1px solid rgba(217, 196, 154, .22); transition: background-color .5s var(--ease), border-color .5s var(--ease); }
.ct-way:hover { background: rgba(247, 244, 238, .09); border-color: rgba(217, 196, 154, .45); }
.ct-way__num { position: absolute; right: 26px; top: 22px; font-family: var(--f-display); font-size: 2.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(217, 196, 154, .5); }
.ct-way__icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 26px; border-radius: 50%; border: 1px solid rgba(217, 196, 154, .55); color: var(--c-champagne-light); }
.ct-way__icon .i { width: 22px; height: 22px; }
.ct-way__title { font-family: var(--f-display); font-size: 1.5rem; font-weight: 400; line-height: 1.2; color: var(--c-ivory); margin-bottom: 10px; }
.ct-way__text { font-size: .92rem; line-height: 1.6; color: rgba(247, 244, 238, .72); }
.ct-way__cta { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding: 10px 18px; border-radius: var(--r-pill); background: var(--c-champagne-light); color: var(--c-forest-deep); font-size: .86rem; font-weight: 600; transition: background-color .3s; }
.ct-way__text + .ct-way__cta { margin-top: 24px; }
.ct-way__cta:hover { background: #E6D5B1; }
.ct-way__cta .i { width: 16px; height: 16px; }

/* ---------- Hours + legal ---------- */
.ct-info__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 5vw, 80px); align-items: start; }
.ct-hours__list { margin-top: 28px; }
.ct-hours__list li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; font-size: .98rem; color: var(--c-graphite); transition: background-color .4s var(--ease); }
.ct-hours__list li + li { box-shadow: 0 -1px 0 rgba(28, 31, 30, .09); }
.ct-hours__list i { flex: 1; height: 1px; background: repeating-linear-gradient(90deg, rgba(184, 154, 103, .5) 0 2px, transparent 2px 6px); }
.ct-hours__list b { font-weight: 600; color: var(--c-forest-deep); font-variant-numeric: tabular-nums; }
.ct-hours__list li.is-today { background: var(--c-forest); color: var(--c-ivory); box-shadow: none; }
.ct-hours__list li.is-today + li { box-shadow: none; }
.ct-hours__list li.is-today b { color: var(--c-champagne-light); }
.ct-hours__list li.is-today i { background: repeating-linear-gradient(90deg, rgba(217, 196, 154, .5) 0 2px, transparent 2px 6px); }
.ct-hours__today { padding: 2px 10px; border-radius: var(--r-pill); background: var(--c-champagne-light); color: var(--c-forest-deep); font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ct-hours__note { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: .86rem; color: var(--c-stone); }
.ct-hours__note .i { color: #9A7640; }
.ct-legal { position: relative; padding: clamp(28px, 3.4vw, 44px); border-radius: var(--r-xl); background: var(--c-paper); border: 1px solid rgba(184, 154, 103, .3); box-shadow: 0 30px 60px -44px rgba(21, 42, 35, .4); }
.ct-legal__icon { position: absolute; right: 26px; top: 26px; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(184, 154, 103, .5); color: #9A7640; }
.ct-legal__title { font-family: var(--f-display); font-size: 1.8rem; font-weight: 400; line-height: 1.15; color: var(--c-forest-deep); margin-bottom: 18px; }
.ct-legal__rows div { display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid var(--c-line); }
.ct-legal__rows dt { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--c-gold-ink); }
.ct-legal__rows dd { margin: 0; font-size: .95rem; line-height: 1.5; color: var(--c-graphite); overflow-wrap: anywhere; }
.ct-legal__rows a { color: var(--c-forest); text-decoration: underline; text-underline-offset: 3px; }
.ct-legal .text-link { margin-top: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .ct-cards__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .ct-map__card { position: relative; left: auto; top: auto; width: auto; margin: -60px 16px 0; }
  .ct-map__canvas { height: clamp(340px, 60vw, 480px); }
  .ct-book__ways { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
  .ct-info__inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .ct-cards__grid { grid-template-columns: minmax(0, 1fr); }
  .ct-card__link { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; padding: 22px 20px; }
  .ct-card__icon { grid-row: span 4; margin: 0; align-self: start; }
  .ct-card__action { padding-top: 12px; }
  .ct-map__card { margin: -40px 10px 0; padding: 22px 20px 20px; }
  .ct-book__tooth { width: 240px; right: -60px; }
  .ct-hours__list li { padding: 12px 10px; font-size: .92rem; }
}
