/* Shared chrome: contact drawer, cookie bar, product proof, compact services */

.cookie-banner {
  position: fixed;
  left: max(1rem, env(safe-area-inset-left, 0px));
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  z-index: 12000;
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.9rem 1rem;
  background: #0f2744;
  color: #e2e8f0;
  border-radius: 12px;
  font-size: 0.88rem;
}

.cookie-banner[hidden] { display: none !important; }

.cookie-banner a { color: #5eead4; }

.cookie-banner__actions { display: flex; gap: 0.5rem; margin-left: auto; }

.cookie-banner button {
  min-height: 40px;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.cookie-banner [data-cookie="accept"] { background: #c4a227; color: #0c1f33; }
.cookie-banner [data-cookie="decline"] { background: transparent; color: #fff; border-color: rgba(255,255,255,0.28); }

.service-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.service-tile {
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 16px;
  background: #fff;
  padding: 0;
  overflow: hidden;
  align-self: start;
  height: fit-content;
}

.service-tile[open] {
  grid-column: 1 / -1;
  border-color: #99f6e4;
  box-shadow: 0 12px 28px -20px rgba(15, 39, 68, 0.28);
}

.service-tile summary {
  list-style: none;
  cursor: pointer;
  padding: 1.2rem 2.5rem 1.1rem 1.25rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15rem 0.85rem;
  position: relative;
}

.service-tile summary::-webkit-details-marker { display: none; }

.service-tile summary::after {
  content: "";
  position: absolute;
  top: 1.35rem;
  right: 1.15rem;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid #94a3b8;
  border-bottom: 2px solid #94a3b8;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.service-tile[open] summary::after {
  transform: rotate(225deg);
  top: 1.5rem;
}

.service-tile summary span {
  grid-row: 1 / span 2;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent, #0e9a8c);
  padding-top: 0.2rem;
}

.service-tile summary strong {
  display: block;
  color: var(--ink, #0c1f33);
  font-size: 1.05rem;
}

.service-tile summary em {
  font-style: normal;
  color: var(--muted, #64748b);
  font-size: 0.9rem;
}

.service-tile__body {
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid var(--line, #e2e8f0);
  color: var(--ink-soft, #334155);
  font-size: 0.95rem;
}

.service-tile__body ul { margin: 0.5rem 0 0; padding-left: 1.1rem; }

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  margin-top: 2.25rem;
}

.proof-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
}

.proof-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 40px -24px rgba(15, 39, 68, 0.45);
}

.proof-card__frame {
  background: #0b1220;
  padding: 0.7rem 0.7rem 0;
  position: relative;
}

.proof-card__frame::before {
  content: "";
  display: block;
  height: 10px;
  margin-bottom: 0.55rem;
  background:
    radial-gradient(circle at 10px 5px, #f43f5e 3.5px, transparent 4px),
    radial-gradient(circle at 24px 5px, #f59e0b 3.5px, transparent 4px),
    radial-gradient(circle at 38px 5px, #10b981 3.5px, transparent 4px);
}

.proof-card img,
.proof-shot {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
  background: #111827;
  border-radius: 8px 8px 0 0;
}

.proof-card__meta { padding: 1rem 1.1rem 1.15rem; }
.proof-card__meta strong { display: block; color: var(--ink, #0c1f33); }
.proof-card__meta span { color: var(--muted, #64748b); font-size: 0.88rem; }

.product-shot {
  margin: 1.5rem 0 2rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line, #e2e8f0);
  background: #0b1220;
}

.product-shot::before {
  content: "";
  display: block;
  height: 12px;
  background:
    radial-gradient(circle at 14px 6px, #f43f5e 3.5px, transparent 4px),
    radial-gradient(circle at 28px 6px, #f59e0b 3.5px, transparent 4px),
    radial-gradient(circle at 42px 6px, #10b981 3.5px, transparent 4px);
  background-color: #111827;
}

.product-shot img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: top center;
  vertical-align: middle;
  background: #fff;
}

.hero-orb {
  position: absolute;
  width: 42vw;
  max-width: 520px;
  height: 42vw;
  max-height: 520px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.35;
  pointer-events: none;
  animation: orb-drift 14s ease-in-out infinite alternate;
}

.hero { position: relative; overflow: hidden; }

.hero-orb--one { top: -12%; right: -8%; background: #14b8a6; }
.hero-orb--two { bottom: -18%; left: -10%; background: #c4a227; animation-delay: -6s; }

@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-30px, 18px) scale(1.08); }
}

.btn--primary {
  position: relative;
  overflow: hidden;
}

.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.22) 50%, transparent 60%);
  transform: translateX(-120%);
}

.btn--primary:hover::after { animation: btn-shine 0.7s ease; }

@keyframes btn-shine {
  to { transform: translateX(120%); }
}

.legal-prose { max-width: 46rem; }
.legal-prose h2 { margin-top: 1.6rem; }
.legal-prose p, .legal-prose li { color: var(--ink-soft, #334155); }
.legal-prose .subpage-cta,
.legal-prose .subpage-cta p,
.legal-prose .subpage-cta li {
  color: #fff;
}

.brief-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  margin: 0 0 1.75rem;
  font-size: 0.92rem;
}

.brief-meta a { font-weight: 600; }

.error-page {
  min-height: 70vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 4rem 1.25rem;
}

.error-page h1 { font-size: clamp(2.5rem, 8vw, 4.5rem); letter-spacing: -0.05em; }

.subpage-footer__links { display: flex; flex-wrap: wrap; gap: 0.75rem 1.1rem; margin-top: 0.6rem; }

.subpage-footer__linkedin {
  margin-top: 0.85rem;
  font-size: 0.85rem;
}

.subpage-footer__linkedin a {
  font-weight: 600;
}

.nav-toggle {
  z-index: 20;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px !important;
  background: #0c1f33 !important;
  border-radius: 2px;
}

.nav-toggle span {
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.subpage-header.is-open .nav-toggle span,
.site-header.is-open .nav-toggle span {
  background: transparent !important;
}

.subpage-header.is-open .nav-toggle span::before,
.site-header.is-open .nav-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

.subpage-header.is-open .nav-toggle span::after,
.site-header.is-open .nav-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 860px) {
  .service-board, .proof-grid { grid-template-columns: 1fr; }
  .cookie-banner {
    font-size: 0.82rem;
    padding: 0.7rem 0.85rem;
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-banner__actions {
    margin-left: 0;
    width: 100%;
  }
  .cookie-banner button {
    flex: 1;
    min-height: 44px;
  }
  .contact-modal .form-control {
    font-size: 16px;
  }
}

.contact-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.contact-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.contact-modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  width: min(420px, 100%);
  height: 100%;
  height: 100dvh;
  overflow: auto;
  background: #fff;
  border-radius: 16px 0 0 16px;
  box-shadow: -18px 0 50px rgba(15, 23, 42, 0.22);
  z-index: 10001;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.32s ease;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.contact-modal.active {
  transform: translateX(0);
  visibility: visible;
}

body.contact-open .floating-contact-btn {
  opacity: 0;
  pointer-events: none;
}

.contact-modal-header {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 1.6rem 1.5rem 0.75rem;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}

.contact-modal-header h3 { font-size: 1.25rem; margin: 0 0 0.35rem; }
.contact-modal-header p { color: #64748b; font-size: 0.92rem; margin: 0; }

.contact-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 36px;
  height: 36px;
  border: 0;
  background: #f8fafc;
  border-radius: 8px;
  font-size: 1.25rem;
  cursor: pointer;
  color: #0c1f33;
}

.contact-modal-body { padding: 1.25rem 1.5rem 1.5rem; }

.contact-modal .form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  margin: 0 0 0.28rem;
}

.contact-modal .form-control {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font: inherit;
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
  background: #fff;
  color: #0c1f33;
}

.contact-modal .form-control:focus {
  border-color: #0e9a8c;
  outline: none;
  box-shadow: 0 0 0 3px rgba(14, 154, 140, 0.16);
}

.contact-modal textarea.form-control { min-height: 110px; resize: vertical; }

.modal-submit-btn {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: #0f2744;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.contact-modal-info {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}

.fit-calendar {
  margin: 0 0 1rem;
  padding: 0.85rem 0.85rem 0.65rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
}

.fit-calendar .form-label { margin-top: 0; }
.fit-calendar .form-hint { margin-bottom: 0.65rem; }

.fit-cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.fit-cal-nav__month {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 650;
  color: #0c1f33;
}

.fit-cal-nav__btn {
  width: 36px;
  height: 36px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #0c1f33;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.fit-cal-weekdays,
.fit-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.2rem;
  text-align: center;
}

.fit-cal-weekdays {
  margin-bottom: 0.25rem;
  font-size: 0.68rem;
  font-weight: 650;
  color: #64748b;
  letter-spacing: 0.02em;
}

.fit-cal-day {
  min-height: 36px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #0c1f33;
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}

.fit-cal-day.is-empty {
  background: transparent;
  pointer-events: none;
}

.fit-cal-day.is-today { box-shadow: inset 0 0 0 1px #0e9a8c; }
.fit-cal-day.is-selected {
  background: #0f2744;
  color: #fff;
}
.fit-cal-day.is-disabled,
.fit-cal-day:disabled {
  background: transparent;
  color: #94a3b8;
  cursor: not-allowed;
}

.fit-cal-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.5rem;
}

.fit-cal-slot {
  min-height: 36px;
  padding: 0.35rem 0.65rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #0c1f33;
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
}

.fit-cal-slot.is-selected {
  background: #0f2744;
  border-color: #0f2744;
  color: #fff;
}

.fit-cal-summary {
  margin: 0 0 0.35rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  background: #e5f7f3;
  color: #0c5c56;
  font-size: 0.82rem;
  line-height: 1.4;
}

.fit-cal-summary.is-final {
  text-align: left;
  margin: 1rem 0;
}

.subpage-footer__map {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-bottom: 0.85rem;
  font-size: 0.82rem;
}

.form-success .modal-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin-top: 0.5rem;
}

.form-success { text-align: center; padding: 1.5rem 0; }

.floating-contact-btn {
  position: fixed;
  bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  right: calc(1.25rem + env(safe-area-inset-right, 0px));
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 10px;
  background: #0f2744;
  color: #fff;
  cursor: pointer;
  z-index: 40;
}

body.cookie-visible .floating-contact-btn {
  bottom: calc(6.5rem + env(safe-area-inset-bottom, 0px));
}

body.nav-open {
  overflow: hidden;
}

body.nav-open .floating-contact-btn {
  display: none;
}

.service-tile {
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
}

.service-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -24px rgba(15, 39, 68, 0.4);
}

.service-tile[open]:hover {
  transform: none;
}

.site-header,
.subpage-header {
  background: var(--header-bg, #f7f5f1);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}

.nav-overlay {
  position: fixed;
  top: var(--header-offset, 72px);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3000;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(8, 18, 30, 0.55);
  cursor: default;
}

.nav-overlay[hidden] {
  display: none !important;
}

.nav.is-drawer,
.subpage-header__nav.is-drawer {
  display: flex !important;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0;
  position: fixed;
  top: var(--header-offset, 72px);
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  margin: 0;
  z-index: 3001;
  background: #f7f5f1;
  padding: 1.25rem 1.5rem calc(1.75rem + env(safe-area-inset-bottom, 0px));
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.32s ease;
}

body.nav-open .nav.is-drawer,
body.nav-open .subpage-header__nav.is-drawer {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.nav.is-drawer a,
.subpage-header__nav.is-drawer a {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 56px;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(12, 34, 56, 0.10);
  color: #0c1f33;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
}

.nav.is-drawer a.btn,
.nav.is-drawer a.btn--primary,
.subpage-header__nav.is-drawer a.subpage-header__cta {
  display: flex;
  width: 100%;
  max-width: 100%;
  margin-top: 0.85rem;
  padding: 0.85rem 1rem !important;
  border-bottom: 0 !important;
  border-radius: 8px;
  justify-content: center;
  text-align: center;
  background: var(--gold, #c4a227);
  color: #0c1f33 !important;
}

@media (max-width: 980px) {
  .site-header,
  .subpage-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 3002;
    background: #f7f5f1;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transform: none;
    filter: none;
    overflow: visible;
  }

  body.site-aarohii {
    padding-top: var(--header-offset, 72px);
  }

  .hero__actions,
  .product-hero__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
  }

  .hero__actions .btn,
  .product-hero__actions .btn,
  .subpage-cta__btn,
  .contact-band .btn,
  .subpage-main .btn {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    text-align: center;
    white-space: normal;
    flex-wrap: wrap;
    line-height: 1.3;
    box-sizing: border-box;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-orb, .btn--primary::after, .contact-modal { animation: none !important; }
  .nav.is-drawer,
  .subpage-header__nav.is-drawer {
    transition: none;
  }
}
