/* --- CONTACT --- */
.contact {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.laser-flow-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  opacity: 0.84;
  mix-blend-mode: screen;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 18% 28%, rgba(0,255,136,0.09), transparent 34%),
    radial-gradient(circle at 82% 60%, rgba(0,196,106,0.07), transparent 30%),
    #050505;
}
.contact::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5,5,5,0.24), rgba(5,5,5,0.76));
}
.contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 100px;
  align-items: start;
}
.contact-illustration {
  width: clamp(220px, 22vw, 320px);
  margin: -72px 0 28px;
  transform-origin: 50% 80%;
  animation: talk-float 6.8s ease-in-out infinite;
  filter:
    drop-shadow(0 24px 42px rgba(0,0,0,0.38))
    drop-shadow(0 0 30px rgba(0,255,136,0.14));
}
.talk-image {
  width: 100%;
  height: auto;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), filter 0.45s ease;
}
.contact-illustration:hover .talk-image {
  transform: translateY(-4px) rotate(2deg) scale(1.035);
  filter: saturate(1.08);
}
@keyframes talk-float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}
.contact-sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 40px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}
.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--muted);
  transition: color 0.3s;
}
.contact-detail-item:hover { color: var(--white); }
.cdi-icon {
  width: 36px;
  height: 36px;
  background: var(--card);
  border: 1px solid var(--border-bright);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}
.social-links {
  display: flex;
  gap: 10px;
}
.social-icon {
  width: 40px;
  height: 40px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dim);
  transition: var(--transition);
}
.social-icon:hover {
  border-color: rgba(0,255,136,0.3);
  color: var(--green);
  background: var(--green-dim);
  transform: translateY(-2px);
}

/* Form */
.contact-form-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 48px;
  background: var(--card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.contact-form-wrap::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
}
.form-group {
  position: relative;
}
.float-label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--dim);
  pointer-events: none;
  transition: all 0.25s ease;
  background: transparent;
  padding: 0 4px;
}
.form-group:has(textarea) .float-label {
  top: 18px;
  transform: none;
}
.form-input:focus ~ .float-label,
.form-input:not(:placeholder-shown) ~ .float-label {
  top: 0;
  transform: translateY(-50%);
  font-size: 11px;
  color: var(--green);
  background: var(--card);
}
.form-group:has(textarea) .form-input:focus ~ .float-label,
.form-group:has(textarea) .form-input:not(:placeholder-shown) ~ .float-label {
  top: -8px;
  transform: none;
}
.form-input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  -webkit-appearance: none;
}
.form-input:focus {
  border-color: rgba(0,255,136,0.5);
  box-shadow: 0 0 0 3px rgba(0,255,136,0.08);
}
.form-select { cursor: pointer; }
.form-select option { background: var(--bg2); color: var(--white); }
.form-textarea { resize: vertical; min-height: 110px; padding-top: 14px; }

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: linear-gradient(135deg, var(--green-soft), var(--green));
  color: #000;
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  margin-top: 8px;
}
.btn-submit:hover {
  box-shadow: 0 0 40px rgba(0,255,136,0.35);
  transform: translateY(-2px);
}
.btn-submit-arrow {
  width: 36px;
  height: 36px;
  background: rgba(0,0,0,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}
.btn-submit:hover .btn-submit-arrow { transform: translateX(3px); }

.form-status {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.form-status.is-success {
  color: var(--green);
}

.form-status.is-error {
  color: #ff7a7a;
}

/* --- FOOTER --- */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--dim);
  line-height: 1.75;
  margin-top: 20px;
  max-width: 300px;
}
.footer-logo { margin-bottom: 4px; }
.footer-logo .brand-logo-img {
  height: 48px;
}
.contact-brand-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 22px;
}
.contact-brand-logo .brand-logo-img {
  height: 54px;
}
.hero-badge .brand-logo-img {
  height: 26px;
  margin-right: 8px;
}
.floating-brand-logo {
  position: absolute;
  right: 8%;
  bottom: 8%;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(0,255,136,0.24);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5,5,5,0.45);
  backdrop-filter: blur(18px);
  box-shadow: 0 0 42px rgba(0,255,136,0.16);
  animation: float-card 6s ease-in-out infinite;
}
.floating-brand-logo .brand-logo-img {
  max-width: 82%;
  height: auto;
}
.footer-col-title {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-links-col a {
  font-size: 14px;
  color: var(--dim);
  padding: 6px 0;
  transition: color 0.25s;
}
.footer-links-col a:hover { color: var(--green); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--dim);
}

/* --- PREMIUM EDITORIAL FOOTER --- */
.footer-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 92px 0 64px;
  background:
    radial-gradient(circle at 10% 8%, rgba(0, 255, 136, 0.22), transparent 28rem),
    radial-gradient(circle at 50% 42%, rgba(0, 255, 136, 0.11), transparent 34rem),
    radial-gradient(circle at 92% 86%, rgba(0, 255, 136, 0.18), transparent 30rem),
    url('../assets/images/footerbg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 15% 18%, rgba(0, 255, 136, 0.18), transparent 22rem),
    radial-gradient(circle at 52% 42%, rgba(0, 255, 136, 0.1), transparent 28rem),
    radial-gradient(circle at 86% 78%, rgba(0, 255, 136, 0.16), transparent 24rem);
  pointer-events: none;
}

.footer-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.75);
  pointer-events: none;
}

.footer-content {
  position: relative;
  z-index: 2;
}

.footer-grid,
.footer-divider,
.footer-section .footer-bottom {
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(42px, 5vw, 72px);
  align-items: start;
}

.footer-brand-panel p {
  max-width: 420px;
  margin: 24px 0 28px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.08rem;
  line-height: 1.75;
}

.footer-brand-mark {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.footer-brand-mark .brand-logo-img {
  height: 58px;
  width: auto;
  filter: drop-shadow(0 0 22px rgba(0, 255, 136, 0.2));
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-socials a {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  transition:
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    color 0.28s ease,
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.28s ease;
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
  color: var(--green);
  border-color: rgba(0, 255, 136, 0.58);
  background: rgba(0, 255, 136, 0.09);
  box-shadow: 0 0 28px rgba(0, 255, 136, 0.28);
  transform: scale(1.08);
  outline: none;
}

.footer-socials svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.footer-links-panel,
.footer-contact-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-style: normal;
}

.footer-links-panel h2,
.footer-contact-panel h2 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.footer-links-panel a,
.footer-contact-panel a,
.footer-contact-panel span {
  width: fit-content;
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.05rem;
  line-height: 1.45;
  transition:
    color 0.28s ease,
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-links-panel a:hover,
.footer-links-panel a:focus-visible,
.footer-contact-panel a:not(.footer-cta):hover,
.footer-contact-panel a:not(.footer-cta):focus-visible {
  color: #00ff9d;
  transform: translateX(4px);
  outline: none;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  margin-top: 16px;
  padding: 0 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green-soft), var(--green));
  color: #020805 !important;
  font-weight: 800;
  box-shadow: 0 0 34px rgba(0, 255, 136, 0.22);
}

.footer-cta:hover,
.footer-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 44px rgba(0, 255, 136, 0.38);
  outline: none;
}

.footer-divider {
  height: 1px;
  margin: 56px 0 24px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.footer-section .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 0;
  border-top: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.95rem;
}

.footer-section .footer-bottom p {
  margin: 0;
}

.footer-watermark {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 34px auto 0;
  color: rgba(255, 255, 255, 0.04);
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 13vw, 15.5rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.78;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  transform: none;
}

@media (max-width: 1199px) {
  .footer-section {
    padding: 82px 0 58px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 58px 64px;
  }

  .footer-brand-panel {
    grid-column: span 2;
  }
}

@media (max-width: 767px) {
  .footer-section {
    padding: 68px 0 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
    text-align: center;
  }

  .footer-brand-panel {
    grid-column: auto;
  }

  .footer-brand-mark,
  .footer-brand-panel p,
  .footer-socials,
  .footer-links-panel a,
  .footer-contact-panel a,
  .footer-contact-panel span {
    margin-inline: auto;
  }

  .footer-brand-panel p {
    font-size: 1.02rem;
    line-height: 1.8;
  }

  .footer-links-panel,
  .footer-contact-panel {
    align-items: center;
  }

  .footer-divider {
    margin: 42px 0 22px;
  }

  .footer-section .footer-bottom {
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    text-align: center;
  }

  .footer-watermark {
    margin-top: 28px;
    font-size: clamp(3.4rem, 17vw, 6.8rem);
    white-space: normal;
  }
}
