/* =====================================================================
   P02 v2 — Contact page
   ===================================================================== */
.cohero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 9rem 0 4rem;
}
.cohero video,
.cohero__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
.cohero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    0deg,
    var(--night) 0%,
    rgba(7, 9, 14, 0.55) 55%,
    rgba(7, 9, 14, 0.35) 100%
  );
}
.cohero__in {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1.6rem;
}
.cohero h1 {
  font-size: clamp(3rem, 8vw, 8.4rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.9;
  max-width: 12ch;
}
.cohero .lead {
  color: var(--fog);
  opacity: 1;
}
.quick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.6rem;
}
.qc {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.3rem 1.4rem;
  border-radius: var(--r-m);
  background: rgba(18, 22, 32, 0.75);
  border: 1px solid var(--line-d);
  backdrop-filter: blur(10px);
  transition:
    background 0.4s,
    color 0.4s,
    border-color 0.4s,
    transform 0.6s var(--e-out);
}
.qc:hover {
  transform: translateY(-3px);
  border-color: rgba(3, 255, 150, 0.45);
}
.qc i {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(3, 255, 150, 0.12);
  color: var(--signal);
  font-size: 1.15rem;
  flex: none;
}
.qc b {
  display: block;
  font-weight: 500;
}
.qc span {
  color: var(--fog);
  font-size: 0.9rem;
}
.qc.wa {
  background: #25d366;
  color: #04210f;
  border-color: #25d366;
}
.qc.wa i {
  background: rgba(255, 255, 255, 0.25);
  color: #04210f;
}
.qc.wa span {
  color: rgba(4, 33, 15, 0.75);
}
@media (max-width: 900px) {
  .quick {
    grid-template-columns: 1fr;
  }
}

.paths3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.pth {
  position: relative;
  text-align: left;
  padding: 2rem;
  border-radius: var(--r-l);
  background: #fff;
  border: 1px solid var(--line-l);
  display: grid;
  gap: 1.1rem;
  align-content: start;
  transition:
    background 0.4s,
    color 0.4s,
    transform 0.6s var(--e-out),
    box-shadow 0.6s;
}
.pth:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -40px rgba(10, 12, 16, 0.4);
}
.pth i.ico {
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--bone-2);
  color: var(--pine);
  font-size: 1.1rem;
}
.pth b {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.pth p {
  color: var(--ink-2);
}
.pth .go {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 0.4rem;
}
.pth.on {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.pth.on p {
  color: var(--fog);
}
.pth.on i.ico {
  background: rgba(3, 255, 150, 0.14);
  color: var(--signal);
}
.pth .tick {
  position: absolute;
  right: 1.4rem;
  top: 1.4rem;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  border: 1px solid var(--line-l);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  color: transparent;
}
.pth.on .tick {
  background: var(--signal);
  border-color: var(--signal);
  color: var(--night);
}
@media (max-width: 900px) {
  .paths3 {
    grid-template-columns: 1fr;
  }
}

.nexts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.nx {
  padding: 2rem;
  border-radius: var(--r-l);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line-l);
  display: grid;
  gap: 1rem;
  align-content: start;
}
.nx span {
  font-family: var(--f-serif);
  font-size: 3.2rem;
  line-height: 0.8;
  color: var(--pine);
}
.nx b {
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.nx p {
  color: var(--ink-2);
}
@media (max-width: 900px) {
  .nexts {
    grid-template-columns: 1fr;
  }
}

.mapcard {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  border-radius: var(--r-l);
  overflow: hidden;
  background: var(--night);
  color: #fff;
  min-height: 26rem;
}
.mapcard__img {
  position: relative;
}
.mapcard__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
}
.mapcard__pin {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  justify-items: center;
  gap: 0.6rem;
}
.mapcard__pin i {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--signal);
  color: var(--night);
  font-size: 1.3rem;
  box-shadow:
    0 0 0 12px rgba(3, 255, 150, 0.2),
    0 0 0 26px rgba(3, 255, 150, 0.08);
  animation: pinpulse 2.4s var(--e-out) infinite;
}
@keyframes pinpulse {
  0%,
  100% {
    box-shadow:
      0 0 0 12px rgba(3, 255, 150, 0.2),
      0 0 0 26px rgba(3, 255, 150, 0.08);
  }
  50% {
    box-shadow:
      0 0 0 18px rgba(3, 255, 150, 0.12),
      0 0 0 36px rgba(3, 255, 150, 0.04);
  }
}
.mapcard__pin span {
  padding: 0.45rem 0.85rem;
  border-radius: 99px;
  background: rgba(7, 9, 14, 0.75);
  backdrop-filter: blur(8px);
  font-size: 0.85rem;
}
.mapcard__body {
  padding: clamp(2rem, 4vw, 3rem);
  display: grid;
  gap: 1rem;
  align-content: center;
}
.mapcard__body h3 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}
.mapcard__body p {
  color: var(--fog);
}
.hours {
  display: grid;
  gap: 0.4rem;
  margin: 0.6rem 0 1rem;
}
.hours div {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-top: 1px solid var(--line-d);
  font-size: 0.95rem;
}
.hours div span {
  color: var(--fog);
}
.hours .now {
  color: var(--signal);
}
@media (max-width: 900px) {
  .mapcard {
    grid-template-columns: 1fr;
  }
  .mapcard__img {
    min-height: 16rem;
  }
}

/* ---------- Contact page spec (14 Nov 2026) ---------- */
.ways .pth {
  cursor: default;
}
.ways .pth .btn {
  justify-self: start;
  margin-top: 0.4rem;
}
.pth__lab {
  color: var(--signal-deep);
  font-size: 0.65rem;
}
.pth.on .pth__lab {
  color: var(--signal);
}
.pth__fine {
  font-size: 0.85rem;
  color: var(--ink-3) !important;
}
.pth.on .pth__fine {
  color: var(--fog) !important;
}
.pth__fine a {
  color: var(--signal);
}
.ways__more {
  margin-top: 2.4rem;
  text-align: center;
}
.cologos {
  padding: 2.2rem 0;
  border-bottom: 1px solid var(--line-l);
}
.cologos__mask {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.cologos__row {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  align-items: center;
  animation: cologos 60s linear infinite;
}
.cologos__row img {
  height: 44px;
  width: auto;
  opacity: 0.6;
  filter: grayscale(1) contrast(1.1);
  transition: opacity 0.4s, filter 0.4s;
}
.cologos__row img:hover {
  opacity: 1;
  filter: none;
}
.cologos:hover .cologos__row {
  animation-play-state: paused;
}
@keyframes cologos {
  to {
    transform: translateX(calc(-50% - 1.75rem));
  }
}
@media (prefers-reduced-motion: reduce) {
  .cologos__row {
    animation: none;
  }
  .cologos__mask {
    overflow-x: auto;
  }
}
.form__intro {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}
.form__intro h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  color: #fff;
}
.form__intro p {
  color: var(--fog);
}
@media (max-width: 600px) {
  .ways .pth .btn {
    width: 100%;
    justify-content: center;
    height: auto;
    min-height: 3rem;
    padding: 0.7rem 1.2rem;
    white-space: normal;
    text-align: center;
  }
  .cologos__row img {
    height: 36px;
  }
}

/* studio photo: small location label in the corner instead of a big pin over the whiteboard (14 Nov 2026) */
.mapcard__pin {
  left: 1.2rem;
  top: auto;
  bottom: 1.2rem;
  transform: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.9rem 0.4rem 0.4rem;
  border-radius: 99px;
  background: rgba(7, 9, 14, 0.78);
  backdrop-filter: blur(8px);
  color: #fff;
}
.mapcard__pin i {
  width: 2rem;
  height: 2rem;
  font-size: 0.85rem;
  box-shadow: none;
  animation: none;
}
.mapcard__pin span {
  padding: 0;
  background: none;
  backdrop-filter: none;
}

/* ---------- Contact page document (23 Nov 2026) ---------- */
/* hero: still photo in place of the video, dimmed under the same shade */
.cohero__poster {
  object-position: 40% 28%;
  filter: grayscale(1); /* hero photo shows in grey; a replacement image will be grey too (24 Nov 2026) */
}
/* three cards: each card shares the grid rows, so the buttons line up */
@media (min-width: 901px) {
  @supports (grid-template-rows: subgrid) {
    .ways .pth {
      grid-row: span 6;
      grid-template-rows: subgrid;
      row-gap: 1.1rem;
    }
    .ways .pth > .btn,
    .ways .pth > .btn ~ * {
      align-self: start;
    }
  }
}
/* long button labels wrap inside narrow cards instead of being cut off */
@media (min-width: 601px) {
  .ways .pth .btn {
    max-width: 100%;
    height: auto;
    min-height: 3.4rem;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    white-space: normal;
  }
}
/* below the cards: small outlined pill */
.ways__btn {
  height: 2.8rem;
  padding: 0 1.3rem;
  font-size: 0.88rem;
  color: var(--ink);
  border-color: rgba(10, 12, 16, 0.35);
}
/* logo strip label */
.cologos__lab {
  margin: 0 0 1.5rem;
  padding: 0 1rem;
  text-align: center;
  color: var(--ink-3);
}
/* form: two fields per row from 1080px (below that the half-width fields get too tight) */
@media (min-width: 1080px) and (max-width: 1200px) {
  #contactForm .row {
    grid-template-columns: 1fr 1fr;
  }
}
#contactForm .row > .field {
  min-width: 0;
}
/* dropdowns: own chevron with room on the right */
#contactForm select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23a3adbd' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.05rem center;
  background-size: 0.75rem auto;
  text-overflow: ellipsis;
  cursor: pointer;
}

/* ---------- Contact page review fixes (23 Nov 2026) ---------- */
/* cards section: less space above the logo strip so it sits right under the cards */
#paths {
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.nowrap,
.pth__fine a {
  white-space: nowrap;
}
/* paired fields keep their own height when one of them shows an error */
#contactForm .row {
  align-items: start;
}
/* the two dropdowns stay side by side on every desktop width */
@media (min-width: 901px) and (max-width: 1079px) {
  #contactForm .row--sel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
@media (max-width: 600px) {
  .cologos__row img {
    height: 40px;
  }
}

/* "Ways to work together": card buttons stay on one line on small desktops (24 Nov 2026)
   901-1199px: the Diagnosis card takes its own row, the other two sit side by side.
   1200-1399px: three columns; the card title already shows ₹4,999, so the button price is visually hidden. */
@media (min-width: 901px) and (max-width: 1199.98px) {
  .paths3.ways {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .paths3.ways .pth.on {
    grid-column: 1 / -1;
  }
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .ways .btn__price {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}
