:root {
  --black: #0A0A0B;
  --coal: #101013;
  --panel: #141419;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --blue: #356DFF;
  --cyan: #27D7FF;
  --crimson: #E8434E;
  --crimson-deep: #9E1B22;
  --text: #F2F4F8;
  --muted: #8A8F9C;
  --dim: #5A5F6B;
  --font: 'Space Grotesk', system-ui, sans-serif;
  --r: 18px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--text);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--crimson);
  color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  line-height: 1.2 !important;
  letter-spacing: -.025em;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  position: relative;
}

button {
  font-family: var(--font);
}

/* grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2000;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

/* ---------- custom cursor ---------- */
#cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  z-index: 4000;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width .25s, height .25s, background .25s;
  mix-blend-mode: difference;
}

#cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35);
  z-index: 4000;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width .3s, height .3s, border-color .3s, opacity .3s;
}

body.cursor-hover #cursor {
  width: 16px;
  height: 16px;
  background: var(--crimson);
}

body.cursor-hover #cursor-ring {
  width: 56px;
  height: 56px;
  border-color: rgba(232, 67, 78, .6);
}

@media(hover:none) {

  #cursor,
  #cursor-ring {
    display: none;
  }
}

/* ---------- loader ---------- */
#loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 5000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  transition: opacity .7s, visibility .7s;
}

#loader.done {
  opacity: 0;
  visibility: hidden;
}

#loader .mark {
  width: 80px;
  animation: pulseMark 1.5s ease-in-out infinite;
}

@keyframes pulseMark {

  0%,
  100% {
    filter: drop-shadow(0 0 4px rgba(53, 109, 255, .2));
  }

  50% {
    filter: drop-shadow(0 0 20px rgba(232, 67, 78, .6));
  }
}

#loader .pct {
  font-size: .72rem;
  letter-spacing: .4em;
  color: var(--muted);
  text-transform: uppercase;
}

#loader .bar {
  width: 200px;
  height: 1px;
  background: rgba(255, 255, 255, .1);
  overflow: hidden;
}

#loader .bar i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--crimson));
  transition: width .2s;
}

/* ---------- page transition curtain ---------- */
#curtain {
  position: fixed;
  inset: 0;
  z-index: 3500;
  pointer-events: none;
  display: flex;
}

#curtain i {
  flex: 1;
  background: var(--coal);
  transform: scaleY(0);
  transform-origin: bottom;
  border-right: 1px solid rgba(255, 255, 255, .03);
}

#curtain.in i {
  animation: curIn .5s var(--ease) forwards;
}

#curtain.out i {
  animation: curOut .55s var(--ease) forwards;
}

#curtain.load-state i {
  transform: scaleY(1) !important;
  animation: none !important;
}

#curtain.load-state .cl {
  opacity: 0 !important;
  transition: none !important;
}

#curtain i:nth-child(2) {
  animation-delay: .06s;
}

#curtain i:nth-child(3) {
  animation-delay: .12s;
}

#curtain i:nth-child(4) {
  animation-delay: .18s;
}

#curtain i:nth-child(5) {
  animation-delay: .24s;
}

@keyframes curIn {
  to {
    transform: scaleY(1);
  }
}

@keyframes curOut {
  from {
    transform: scaleY(1);
    transform-origin: top;
  }

  to {
    transform: scaleY(0);
    transform-origin: top;
  }
}

#curtain .cl {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity .25s;
}

#curtain.in .cl {
  opacity: 1;
  transition-delay: .3s;
}

#curtain .cl svg {
  width: 64px;
  filter: drop-shadow(0 0 14px rgba(232, 67, 78, .5));
}

/* ---------- progress / glow ---------- */
#progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--cyan) 55%, var(--crimson));
  z-index: 3000;
}

#glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(53, 109, 255, .09), rgba(232, 67, 78, .04) 45%, transparent 70%);
  transform: translate(-50%, -50%);
  left: 50%;
  top: 30%;
}

/* ---------- nav ---------- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2900;
  transition: .4s;
  border-bottom: 1px solid transparent;
}

nav.solid {
  border-bottom-color: var(--line);
}

nav.solid::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 11, .85);
  backdrop-filter: blur(18px);
  z-index: -1;
}

.nav-in {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  cursor: pointer;
}

.logo img,
.logo svg {
  height: 73px !important;
  width: auto;
}

.logo .word {
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: .05em;
}

.logo .word b {
  color: #7FA0FF;
}

.logo .word i {
  color: #FF5A63;
  font-style: normal;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 26px;
  margin-left: auto;
  align-items: center;
}

.nav-links a {
  font-size: .85rem;
  font-weight: 400;
  color: var(--muted);
  position: relative;
  transition: color .25s;
  white-space: nowrap;
  cursor: pointer;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--crimson));
  transition: width .35s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a.active::after,
.nav-links a:hover::after {
  width: 100%;
}

.burger {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  z-index: 2600;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: .3s;
}

.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 500;
  font-size: .92rem;
  cursor: pointer;
  border: 0;
  position: relative;
  overflow: hidden;
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s;
  white-space: nowrap;
}

.btn-grad {
  color: #fff;
  background: linear-gradient(120deg, var(--blue), #4A3DD8 45%, var(--crimson) 110%);
  background-size: 220% 220%;
  animation: gradShift 5s ease infinite;
  box-shadow: 0 8px 30px -10px rgba(232, 67, 78, .5);
}

@keyframes gradShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.btn-grad::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .25) 50%, transparent 70%);
  transform: translateX(-120%);
}

.btn-grad:hover::before {
  animation: shine .8s ease;
}

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

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  background: rgba(39, 215, 255, .05);
}

.btn-sm {
  padding: 11px 22px;
  font-size: .82rem;
}

.btn .arr {
  transition: transform .3s;
}

.btn:hover .arr {
  transform: translateX(4px);
}

/* ---------- reveals ---------- */
.rv {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}

.rv.on {
  opacity: 1;
  transform: none;
}

.rv-blur {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(22px);
  transition: all .95s var(--ease);
}

.rv-blur.on {
  opacity: 1;
  filter: blur(0);
  transform: none;
}

.rv-l {
  opacity: 0;
  transform: translateX(-44px);
  transition: all .85s var(--ease);
}

.rv-r {
  opacity: 0;
  transform: translateX(44px);
  transition: all .85s var(--ease);
}

.rv-l.on,
.rv-r.on {
  opacity: 1;
  transform: none;
}

[data-d="1"] {
  transition-delay: .08s;
}

[data-d="2"] {
  transition-delay: .16s;
}

[data-d="3"] {
  transition-delay: .24s;
}

[data-d="4"] {
  transition-delay: .32s;
}

[data-d="5"] {
  transition-delay: .4s;
}

[data-d="6"] {
  transition-delay: .48s;
}

/* word-reveal headings */
.wr .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}

.wr .w span {
  display: inline-block;
  transform: translateY(115%);
  transition: transform .9s var(--ease);
}

.wr.on .w span {
  transform: none;
}

/* ---------- shared ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .7rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), var(--crimson));
}

.sec-title {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  max-width: 780px;
}

.sec-sub {
  color: var(--muted);
  max-width: 620px;
  margin-top: 16px;
  font-size: 1rem;
}

.grad-txt {
  background: linear-gradient(100deg, #7FA0FF, var(--cyan) 50%, #FF5A63);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pad {
  padding: 110px 0;
}

.card {
  border-radius: var(--r);
  background: var(--panel);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}

.card:hover {
  transform: translateY(-7px);
  border-color: var(--line-2);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(53, 109, 255, .15);
}

.spot {
  position: relative;
}

.spot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
  background: radial-gradient(400px circle at var(--sx, 50%) var(--sy, 50%), rgba(53, 109, 255, .1), transparent 60%);
}

.spot:hover::before {
  opacity: 1;
}

/* ---------- page shell ---------- */
#app {
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
}

.page {
  animation: pageIn .7s var(--ease);
  overflow-x: hidden;
  width: 100%;
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.page-hero {
  padding: 170px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero .bgnum {
  position: absolute;
  right: -2%;
  top: 60px;
  font-size: clamp(9rem, 24vw, 20rem);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .05);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.crumb {
  display: flex;
  gap: 10px;
  font-size: .75rem;
  color: var(--dim);
  margin-bottom: 26px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.crumb a {
  color: var(--muted);
  cursor: pointer;
}

.crumb a:hover {
  color: var(--cyan);
}

.page-hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  max-width: 820px;
}

.page-hero .lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin-top: 22px;
}

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 70px 0 30px;
  background: var(--black);
  position: relative;
  z-index: 10;
}

.ft-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 44px;
}

.ft-grid h5 {
  font-size: .72rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 20px;
  font-weight: 500;
}

.ft-grid ul {
  list-style: none;
  display: grid;
  gap: 11px;
}

.ft-grid ul a {
  font-size: .86rem;
  color: var(--muted);
  transition: color .25s;
  cursor: pointer;
}

.ft-grid ul a:hover {
  color: #FF8A90;
}

.ft-about p {
  color: var(--muted);
  font-size: .86rem;
  margin: 18px 0 22px;
  max-width: 300px;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--coal);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: .3s;
  cursor: pointer;
}

.socials a:hover {
  color: #fff;
  border-color: var(--crimson);
  background: rgba(232, 67, 78, .1);
  transform: translateY(-3px);
}

.news input {
  width: 100% !important;
  background: var(--panel) !important;
  border: 1px solid var(--line-2) !important;
  border-radius: 14px !important;
  padding: 14px 20px !important;
  color: var(--text) !important;
  font-family: var(--font) !important;
  font-size: .9rem !important;
  margin-bottom: 14px !important;
  height: 50px !important;
  transition: border-color 0.3s, box-shadow 0.3s !important;
}

.news input:focus {
  outline: none !important;
  border-color: var(--cyan) !important;
  box-shadow: 0 0 0 3px rgba(39, 215, 255, .15) !important;
}

.news button[type="submit"]#mc-embedded-subscribe {
  background: transparent !important;
  border: 1px solid var(--line-2) !important;
  color: #fff !important;
  border-radius: 999px !important;
  height: 50px !important;
  width: 100% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--font) !important;
  font-weight: 500 !important;
  font-size: .92rem !important;
  cursor: pointer !important;
  transition: all .25s ease !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.news button[type="submit"]#mc-embedded-subscribe:hover {
  background: var(--blue) !important;
  border-color: var(--blue) !important;
  color: #fff !important;
}

.ft-bottom {
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--dim);
  font-size: .76rem;
}

/* ---------- floating contacts ---------- */
.float-ct {
  position: fixed;
  right: 22px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2600;
}

.float-ct a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .7);
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
  position: relative;
  cursor: pointer;
}

.float-ct a:hover {
  transform: scale(1.14);
}

.float-ct a::after {
  content: attr(data-tip);
  position: absolute;
  right: 62px;
  background: var(--panel);
  border: 1px solid var(--line-2);
  padding: 6px 13px;
  border-radius: 9px;
  font-size: .7rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: .3s;
  transform: translateX(6px);
}

.float-ct a:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.f-wa {
  background: #1EBE5D;
}

.f-call {
  background: linear-gradient(140deg, var(--blue), #4A3DD8);
}

.f-mail {
  background: linear-gradient(140deg, var(--crimson), var(--crimson-deep));
}

.f-cal {
  background: linear-gradient(140deg, #0C86A8, var(--blue));
}

/* ---------- responsive ---------- */
@media(max-width:1024px) {
  .ft-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width:760px) {
  .nav-links {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(10, 10, 11, .98);
    backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    transform: translateX(100%);
    transition: transform .45s var(--ease);
    z-index: 2550;
  }

  body.menu-open {
    overflow: hidden;
  }

  .nav-links.open {
    transform: none;
  }

  .nav-links a {
    font-size: 1.15rem;
  }

  .burger {
    display: block;
  }

  .ft-grid {
    grid-template-columns: 1fr;
  }

  .pad {
    padding: 80px 0;
  }

  .page-hero {
    padding: 140px 0 60px;
  }

  .cta-box {
    padding: 40px 20px !important;
  }

  .cta-box .btn {
    padding: 12px 15px !important;
  }

  .logo img,
  .logo svg {
    height: 55px !important;
  }

  .rv-l {
    transform: translateX(-15px);
  }

  .rv-r {
    transform: translateX(15px);
  }
}

@media(prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .001s !important;
    transition-duration: .001s !important;
    animation-iteration-count: 1 !important;
  }

  html {
    scroll-behavior: auto;
  }

  .rv,
  .rv-blur,
  .rv-l,
  .rv-r {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .wr .w span {
    transform: none;
  }
}

/* Service card icon colors */
.ic-blue {
  background: rgba(53, 109, 255, .14) !important;
  color: #7FA0FF !important;
}

.ic-cyan {
  background: rgba(39, 215, 255, .11) !important;
  color: var(--cyan) !important;
}

.ic-red {
  background: rgba(232, 67, 78, .12) !important;
  color: #FF8A90 !important;
}

.ic-vio {
  background: rgba(122, 90, 255, .13) !important;
  color: #B0A0FF !important;
}

/* Global bottom CTA box styles */
.cta-box {
  border-radius: 26px;
  background: linear-gradient(140deg, #15151C, #0D0D10 50%, #171013);
  border: 1px solid var(--line-2);
  padding: 90px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 67, 78, .13), transparent 65%);
  top: -260px;
  left: 50%;
  transform: translateX(-50%);
  animation: pulse 4s infinite;
}

.cta-box h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 720px;
  margin: 0 auto 18px;
}

.cta-box p {
  color: var(--muted);
  margin-bottom: 40px;
  font-size: 1.02rem;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .3;
  }
}

/* intl-tel-input country list styling */
.intl-tel-input .country-list .country {
  color: #101013 !important;
}

.intl-tel-input {
  display: unset !important;
}

/* Mailchimp Newsletter form styling overrides */
#mc_embed_signup form {
  margin: 0;
  padding: 0;
}

#mc_embed_signup input.mce_inline_error {
  border-color: var(--crimson) !important;
}

div.mce_inline_error {
  color: var(--crimson) !important;
  font-size: 0.8rem !important;
  margin: -6px 0 12px 4px !important;
  background-color: transparent !important;
  font-weight: normal !important;
  padding: 0 !important;
}

#mce-error-response,
#mce-success-response {
  font-size: 0.82rem;
  margin: -6px 0 12px 4px;
  line-height: 1.4;
}

#mce-error-response {
  color: var(--crimson) !important;
}

#mce-success-response {
  color: var(--cyan) !important;
}

/* ---------- Contact Form 7 custom success/error message styles ---------- */
/* Shared base for both messages */
.wpcf7 form .wpcf7-response-output {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 16px 24px !important;
  margin: 20px 0 0 0 !important;
  border-radius: 12px !important;
  border: 1px solid transparent !important;
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transition: opacity 0.35s ease-out, transform 0.35s ease-out;
}

/* Display response output when form has status classes */
.wpcf7 form.sent .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
  display: flex !important;
}

.wpcf7 form .wpcf7-response-output.cf7-animate-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Success message */
.wpcf7 form.sent .wpcf7-response-output {
  border-color: #1D9E75 !important;
  background: rgba(29, 158, 117, 0.12) !important;
  color: #F1F5F3 !important;
}

/* Error message (validation) */
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  border-color: #E24B4A !important;
  background: rgba(226, 75, 74, 0.12) !important;
  color: #FDEDED !important;
}

/* Server-side send failure */
.wpcf7 form.failed .wpcf7-response-output {
  border-color: #E24B4A !important;
  background: rgba(226, 75, 74, 0.12) !important;
  color: #FDEDED !important;
}

/* Icon colors */
.cf7-check-icon circle,
.cf7-check-icon path {
  stroke: #5DCAA5;
}

.cf7-error-icon circle,
.cf7-error-icon line,
.cf7-error-icon circle[r="1.2"] {
  stroke: #F09595;
  fill: #F09595;
}

/* Success checkmark draw */
.cf7-check-icon circle {
  stroke-dasharray: 69;
  stroke-dashoffset: 69;
  transition: stroke-dashoffset 0.5s ease-out 0.1s;
}

.cf7-check-icon path {
  stroke-dasharray: 16;
  stroke-dashoffset: 16;
  transition: stroke-dashoffset 0.35s ease-out 0.55s;
}

.cf7-animate-in .cf7-check-icon circle,
.cf7-animate-in .cf7-check-icon path {
  stroke-dashoffset: 0;
}

/* Error shake */
@keyframes cf7-shake {
  0% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-6px);
  }

  40% {
    transform: translateX(5px);
  }

  60% {
    transform: translateX(-4px);
  }

  80% {
    transform: translateX(3px);
  }

  100% {
    transform: translateX(0);
  }
}

.cf7-shake {
  animation: cf7-shake 0.4s ease-in-out 0.35s;
}

/* Invalid input field border highlighting */
input.wpcf7-not-valid,
select.wpcf7-not-valid,
textarea.wpcf7-not-valid {
  border-color: #E24B4A !important;
  box-shadow: 0 0 0 3px rgba(226, 75, 74, 0.2) !important;
}

/* Individual field error tooltips */
.wpcf7-not-valid-tip {
  color: #F09595 !important;
  font-size: 0.8rem;
  margin-top: 6px;
  display: block;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.wpcf7-not-valid-tip.cf7-animate-in {
  opacity: 1;
  transform: translateY(0);
}


/* ---------- Booking Modal Popup ---------- */
.booking-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 11, 0.7);
  backdrop-filter: blur(12px);
  z-index: 6000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.booking-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.booking-modal-card {
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: 20px;
  width: 92%;
  max-width: 500px;
  padding: 38px;
  position: relative;
  transform: scale(0.92) translateY(12px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.95);
}

.booking-modal-overlay.open .booking-modal-card {
  transform: scale(1) translateY(0);
}

.booking-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: 0;
  font-size: 1.8rem;
  color: var(--muted);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.25s ease;
}

.booking-modal-close:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.booking-modal-header {
  margin-bottom: 24px;
}

.booking-modal-header h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.booking-modal-header p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.booking-field {
  margin-bottom: 18px;
}

.booking-field label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 8px;
}

.booking-field input,
.booking-field select {
  width: 100%;
  background: var(--black);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.9rem;
  height: 46px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.booking-field input:focus,
.booking-field select:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(39, 215, 255, 0.14);
}

.booking-field select option {
  background: var(--coal);
  color: var(--text);
}

.booking-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}

/* Success Screen inside Modal */
.booking-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(93, 202, 165, 0.12);
  border: 1px solid rgba(93, 202, 165, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: #5DCAA5;
}

.booking-success-icon svg {
  color: #5DCAA5;
}

.booking-success-icon .cf7-check-icon circle {
  stroke-dasharray: 69;
  stroke-dashoffset: 69;
  transition: stroke-dashoffset 0.6s ease-out 0.1s;
}

.booking-success-icon .cf7-check-icon path {
  stroke-dasharray: 16;
  stroke-dashoffset: 16;
  transition: stroke-dashoffset 0.4s ease-out 0.65s;
}

.booking-success-icon .cf7-animate-in circle,
.booking-success-icon .cf7-animate-in path {
  stroke-dashoffset: 0;
}

#proposal-form {
  scroll-margin-top: 120px !important;
}

/* ---------- Mobile Responsive Overrides ---------- */
@media (max-width: 768px) {
  .hero-ctas {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    align-items: stretch !important;
    width: fit-content !important;
  }

  .hero-ctas .btn {
    width: 100% !important;
    justify-content: center !important;
    margin: 0 !important;
  }
}

@media (max-width: 580px) {
  .booking-modal-card {
    padding: 30px 20px !important;
  }

  .booking-row {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
}