@import "tailwindcss";
@source "../html";

/* Override Tailwind v4 hover media query — allow hover on all devices */
.phone-bar__item:hover {
  background-color: var(--color-accent) !important;
}
.phone-bar__item:hover span {
  color: var(--color-primary) !important;
}
.phone-bar__item:hover svg path {
  fill: var(--color-primary) !important;
}

/* Yellow button scale-up on hover */
.cta-button:hover,
.cta-submit:hover,
.cta-btn:hover {
  transform: scale(1.05);
}
.cta-button,
.cta-submit,
.cta-btn {
  transition: transform 0.2s ease, filter 0.3s, box-shadow 0.3s;
}

/* Testimonials photo collage — smooth slide between positions */
.testimonial-photo {
  transition: left 0.5s ease, top 0.5s ease, width 0.5s ease, height 0.5s ease, opacity 0.5s ease;
}
.testimonial-photo[data-photo-slot="left"] {
  left: 16px; top: 193px; width: 197px; height: 218px; z-index: 0; opacity: 0.6;
}
.testimonial-photo[data-photo-slot="middle"] {
  left: 236px; top: 193px; width: 197px; height: 218px; z-index: 1; opacity: 1;
}
.testimonial-photo[data-photo-slot="main"] {
  left: 456px; top: 130px; width: 258px; height: 286px; z-index: 2; opacity: 1;
}

/* Specialities accordion panel — responsive animation */
.spec-panel {
  overflow: hidden;
  opacity: 0;
  transition: all 0.35s ease;
}

/* Mobile: vertical expand (max-height) */
@media (max-width: 1023px) {
  .spec-panel {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .spec-panel.open {
    max-height: 600px;
    opacity: 1;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
}

/* Desktop: horizontal expand (max-width) */
@media (min-width: 1024px) {
  .spec-panel {
    max-width: 0;
    padding-left: 0;
    padding-right: 0;
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-top: 48px;
    padding-bottom: 32px;
  }
  .spec-panel.open {
    max-width: 700px;
    opacity: 1;
    padding-left: 40px;
    padding-right: 31px;
  }
}

/* Desktop: trigger text rotated vertically */
@media (min-width: 1024px) {
  .spec-trigger span {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
  }
}

/* Journey eye dots */
.journey-dot {
  transform: translate(-50%, -50%) scale(1);
  transform-origin: center;
}
.journey-dot.active {
  transform: translate(-50%, -50%) scale(1.5);
  box-shadow: 0 0 0 3px rgba(255, 203, 5, 0.4);
}

/* Callback form gradient border with border-radius */
.callback-gradient-border {
  position: relative;
}
.callback-gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 11px;
  padding: 1px;
  background: linear-gradient(180deg, #2B286F 0%, #FFFFFF 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .callback-gradient-border::before {
    display: none;
  }
  .callback-form__card {
    background: white !important;
    backdrop-filter: none !important;
  }
}

/* Callback input gradient border */
.callback-input-border {
  position: relative;
}
.callback-input-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 6px;
  padding: 1px;
  background: linear-gradient(180deg, #2B286F 0%, #FFFFFF 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .callback-input-border {
    background: white !important;
    backdrop-filter: none !important;
  }
}

@theme {
  /* Colors */
  --color-primary: #2b286f;
  --color-primary-light: #4b479a;
  --color-accent: #ffcb05;
  --color-gray-50: #f8f8f8;
  --color-gray-100: #f1f1f1;
  --color-gray-200: #f0f0f0;
  --color-gray-300: #d9d9d9;
  --color-gray-400: #cccbcb;
  --color-gray-500: #909090;
  --color-text-dark: #434343;
  --color-text-muted: #bcbbbb;
  --color-text-body: #1a1a1a;

  /* Fonts */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Lato', sans-serif;

  /* Font sizes with line heights */
  --text-section-title: 69px;
  --text-section-title--line-height: 81px;
  --text-section-title-mobile: 37px;
  --text-section-title-mobile--line-height: 90px;
  --text-hero-heading: 66px;
  --text-hero-heading--line-height: 81px;
  --text-hero-heading-mobile: 38px;
  --text-stat-number: 52px;
  --text-stat-number--line-height: 40px;
  --text-hero-subtitle: 36px;
  --text-hero-subtitle--line-height: 81px;
  --text-card-heading: 29px;
  --text-card-heading--line-height: 45px;
  --text-subtitle: 21px;
  --text-subtitle--line-height: 27px;
  --text-cta-button: 25px;
  --text-cta-button--line-height: 37px;
  --text-nav: 15px;
  --text-nav--line-height: 24px;

  /* Border Radii */
  --radius-sm: 2px;
  --radius-md: 6px;
  --radius-card: 7px;
  --radius-btn: 8px;
  --radius-input: 7px;
  --radius-lg: 13px;
  --radius-card-lg: 17px;
  --radius-section: 21px;
  --radius-section-lg: 30px;

  /* Transitions */
  --duration-400: 400ms;

  /* Spacing / Container */
  --container-site: 1440px;
  --container-inner: 1380px;
}
