@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #101828;
  --muted: #667085;
  --primary: #2563eb;
  --purple: #7c3aed;
  --teal: #0d9488;
  --border: #e2e8f0;
  --page-bg: #f5f7fc;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

/* Header */

.site-header {
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 75px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #fff;
  border-bottom: 1px solid #e7ebf2;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.025em;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #fff;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #7c3aed, #0891b2);
  box-shadow: 0 6px 16px rgba(79, 70, 229, .2);
}

.back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 17px;
  border: 1px solid #dbe2ec;
  border-radius: 11px;
  background: #fff;
  color: #263247;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 700;
  transition: .25s ease;
}

.back-button:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(110deg, #2563eb, #7c3aed, #db2777);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 70, 229, .2);
}

/* Hero */

.contact-page {
  width: min(1160px, calc(100% - 36px));
  margin: 34px auto;
}

.contact-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 300px;
  padding: clamp(30px, 5vw, 58px);
  overflow: hidden;
  border-radius: 25px;
  color: #fff;
  background: linear-gradient(120deg, #101d40, #174b83 58%, #087e8b);
  box-shadow: 0 18px 45px rgba(23, 57, 100, .15);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  color: #078b8d;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.contact-hero .eyebrow {
  color: #75eee1;
}

.contact-hero h1 {
  max-width: 650px;
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -.055em;
}

.contact-hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 0;
  color: #dce8f8;
  font-size: 1.04rem;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-top: 25px;
  padding: 12px 17px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 13px;
  background: rgba(255, 255, 255, .09);
  backdrop-filter: blur(8px);
}

.email-icon {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, #06b6d4, #0d9488);
  font-size: 1.2rem;
}

.email-label {
  display: block;
  color: #c6d7ec;
  font-size: .72rem;
}

.contact-email a {
  color: #fff;
  text-decoration: none;
  font-size: .93rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-email a:hover {
  text-decoration: underline;
}

/* Decorative hero graphic */

.hero-decoration {
  position: relative;
  flex: 0 0 260px;
  width: 260px;
  height: 230px;
}

.orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one {
  width: 150px;
  height: 150px;
}

.orbit-two {
  width: 205px;
  height: 205px;
}

.orbit-three {
  width: 255px;
  height: 255px;
}

.ai-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 25px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #7c3aed, #db2777);
  font-size: 1.8rem;
  font-weight: 800;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .2);
  transform: translate(-50%, -50%) rotate(-8deg);
}

.floating-dot {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #5eead4;
  box-shadow: 0 0 18px rgba(94, 234, 212, .6);
}

.dot-one {
  top: 25px;
  right: 40px;
}

.dot-two {
  bottom: 20px;
  left: 28px;
  background: #c4b5fd;
}

.dot-three {
  top: 45%;
  right: 4px;
  width: 9px;
  height: 9px;
  background: #f9a8d4;
}

/* Main contact section */

.contact-section {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 32px;
  align-items: start;
  margin-top: 34px;
}

.contact-intro {
  padding: 20px 8px 20px 0;
}

.contact-intro h2,
.form-heading h2 {
  margin: 0 0 12px;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  line-height: 1.25;
  letter-spacing: -.04em;
}

.contact-intro > p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-size: .97rem;
}

.info-card {
  display: flex;
  gap: 14px;
  margin-top: 25px;
  padding: 18px;
  border: 1px solid #e6ebf3;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .035);
}

.info-icon {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  font-size: 1.2rem;
  font-weight: 800;
}

.info-card h3 {
  margin: 0 0 5px;
  font-size: .98rem;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  font-size: .87rem;
}

/* Contact form */

.contact-form-card {
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid #e3e8f1;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(15, 23, 42, .065);
}

.form-heading {
  margin-bottom: 25px;
}

.form-heading h2 {
  margin-bottom: 7px;
  font-size: 1.65rem;
}

.form-heading p {
  margin: 0;
  color: var(--muted);
  font-size: .87rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}

.form-group {
  min-width: 0;
  margin-bottom: 19px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #263247;
  font-size: .87rem;
  font-weight: 700;
}

.form-group label span {
  color: #e11d48;
}

.form-group input,
.form-group textarea {
  display: block;
  width: 100%;
  border: 1px solid #d9e1ec;
  border-radius: 11px;
  outline: none;
  padding: 13px 14px;
  background: #fbfcff;
  color: #111827;
  font: inherit;
  font-size: .91rem;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.form-group input {
  min-height: 49px;
}

.form-group textarea {
  min-height: 145px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #98a2b3;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #6366f1;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, .11);
}

.form-group input:invalid:not(:placeholder-shown) {
  border-color: #fda4af;
}

.character-count {
  margin-top: 5px;
  text-align: right;
  color: #8791a2;
  font-size: .75rem;
}

.website-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.form-status {
  display: none;
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: .88rem;
  overflow-wrap: anywhere;
}

.form-status.success {
  display: block;
  color: #166534;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
}

.form-status.error {
  display: block;
  color: #991b1b;
  background: #fee2e2;
  border: 1px solid #fecaca;
}

.submit-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 20px;
  border: none;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(110deg, #2563eb, #7c3aed, #db2777);
  box-shadow: 0 9px 20px rgba(99, 102, 241, .22);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.submit-button:hover:not(:disabled) {
  transform: translateY(-3px);
  filter: saturate(1.2);
  box-shadow: 0 14px 28px rgba(99, 102, 241, .32);
}

.submit-button:active:not(:disabled) {
  transform: translateY(0);
}

.submit-button:disabled {
  opacity: .7;
  cursor: wait;
}

.button-arrow {
  font-size: 1.2rem;
  transition: transform .2s ease;
}

.submit-button:hover .button-arrow {
  transform: translateX(5px);
}

.privacy-note {
  margin: 13px 0 0;
  color: #8791a2;
  text-align: center;
  font-size: .76rem;
}

/* Footer */

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 22px clamp(18px, 5vw, 75px);
  border-top: 1px solid #e5eaf2;
  background: #fff;
  color: #778196;
  font-size: .82rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #4f46e5;
  text-decoration: none;
  font-weight: 700;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Responsive layout */

@media (max-width: 850px) {
  .hero-decoration {
    flex-basis: 190px;
    transform: scale(.85);
  }

  .contact-section {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-intro {
    padding: 10px 0;
  }

  .info-card {
    margin-top: 15px;
  }
}

@media (max-width: 600px) {
  .site-header {
    min-height: 65px;
    padding: 11px 14px;
  }

  .brand {
    gap: 8px;
    font-size: .83rem;
  }

  .brand-icon {
    width: 35px;
    height: 35px;
  }

  .back-button {
    padding: 9px 10px;
    font-size: .77rem;
  }

  .contact-page {
    width: calc(100% - 24px);
    margin: 18px auto;
  }

  .contact-hero {
    min-height: auto;
    padding: 30px 23px;
    border-radius: 20px;
  }

  .contact-hero h1 {
    font-size: 2.25rem;
  }

  .contact-hero p:not(.eyebrow) {
    font-size: .95rem;
  }

  .hero-decoration {
    display: none;
  }

  .contact-email {
    max-width: 100%;
    padding: 10px;
  }

  .contact-email a {
    font-size: .81rem;
  }

  .contact-section {
    margin-top: 24px;
  }

  .contact-form-card {
    padding: 23px 18px;
    border-radius: 18px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    padding: 20px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}