/* =====================================================
   ================= MAIN PAGE =========================
===================================================== */

/* =====================================================
   FONTS (шрифты проекта)
===================================================== */

@font-face {
  font-family: 'Sulphur Point';
  src: url('fonts/SulphurPoint-Light.ttf') format('truetype');
  font-weight: 300;
}

@font-face {
  font-family: 'Sulphur Point';
  src: url('fonts/SulphurPoint-Regular.ttf') format('truetype');
  font-weight: 400;
}

@font-face {
  font-family: 'Sulphur Point';
  src: url('fonts/SulphurPoint-Bold.ttf') format('truetype');
  font-weight: 700;
}


/* =====================================================
   BASE (глобальные стили страницы)
===================================================== */

body {
  margin: 0;
  font-family: 'Sulphur Point', sans-serif;
  color: #111;
}


/* =====================================================
   NAVIGATION (основная навигация landing)
===================================================== */

.nav {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 0.3s ease, opacity 0.3s ease;
  width: auto;
  padding: 12px 30px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  border-radius: 12px;
  z-index: 100;
}

.nav.hidden {
  transform: translateY(-50%, -80%);
  opacity: 0;
}

.nav-inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-inner nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
}

.nav a {
  color: #111;
  text-decoration: none;
  position: relative;
  font-size: 16px;
  letter-spacing: 0.08em;
  opacity: 0.8;
  transition: opacity 0.2s ease;
  text-shadow: 0 1px 3px rgba(255,255,255,0.4);
}

.nav a:hover {
  opacity: 1;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 60%;
  height: 1px;
  background: #111;

  opacity: 0;
  transform: translateX(-50%) scaleX(0.6);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav a:hover::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

/* =====================================================
   HERO SECTION (главный экран)
===================================================== */

.hero {
  height: 100vh;
  position: relative;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  pointer-events: none;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
}

.hero h1 {
  font-family: 'Sulphur Point';
  font-weight: 300;
  letter-spacing: 0.3em;
  font-size: 42px;
}

.hero-buttons a {
  margin: 10px;
  padding: 10px 20px;
  border-bottom: 1px solid white;
  color: white;
  text-decoration: none;
}

.hero-buttons .dark {
  background: black;
  border: none;
}


/* =====================================================
   ABOUT SECTION
===================================================== */

.about {
  text-align: center;
  padding: 100px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.about-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 16px;
}

.about-sub {
  line-height: 1.7;
  color: rgba(0,0,0,0.6);
  margin: 0 auto;
}

.stats {
  display: flex;
  justify-content: center;
  gap: 0;
  align-items: center;
  margin-top: 40px;
}

.stats div {
  position: relative;
  padding: 0 60px;
  text-align: center;
}

/* вертикальная линия */
.stats div:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: rgba(0,0,0,0.15);
}

.stats strong {
  font-size: 28px;
  font-weight: 500;
}

.stats span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  opacity: 0.6;
  margin-top: 6px;
}

/* =====================================================
   DESIGNERS SECTION
===================================================== */

/* LABEL */
.section-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 16px;
}

/* SECTION */
.instagram {
  position: relative;
  background: #f8f6f2;
  padding: 100px 20px;
  text-align: center;
}

/* TITLE */
.instagram h2 {
  font-size: 32px;
  line-height: 1.3;
  letter-spacing: 0.02em;
  font-weight: 400;
  margin-bottom: 16px;
}

/* DESCRIPTION */
.instagram-note {
  line-height: 1.7;
  color: rgba(0,0,0,0.6);
  margin: 0 auto;
}

/* LINK */
.instagram-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  text-decoration: none;
  color: #111;
  border-bottom: 1px solid #111;
  transition: opacity 0.2s ease;
}

.instagram-link:hover {
  opacity: 0.6;
}

/* IFRAME WRAPPER */
.instagram iframe {
  max-width: 1100px;
  width: 100%;
  margin: 40px auto 0;
  display: block;
  border: none;
}

/* LIGHTWIDGET */
.lightwidget-widget {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: block;
  border-radius: 6px;
  overflow: hidden;
}

/* IMAGE HOVER (subtle premium) */
.lightwidget-widget img {
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.lightwidget-widget img:hover {
  transform: scale(1.03);
  opacity: 0.95;
}

/* FADE EFFECT (делает “галерею”) */
.instagram::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100px;
  background: linear-gradient(to bottom, rgba(248,246,242,0), #f8f6f2);
  pointer-events: none;
}

/* =====================================================
   SARADNJA SECTION
===================================================== */

.saradnja {
  padding: 100px 20px;
  text-align: center;
}

/* TITLE */
.saradnja h2 {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 16px;
}

/* INTRO */
.saradnja-intro {
  line-height: 1.7;
  color: rgba(0,0,0,0.6);
  margin: 0 auto 60px;
  padding-bottom: 0;
}

/* GRID */
.saradnja-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0; /* важно */
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

/* ITEM */
.saradnja-item {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 0 20px;
}

/* NUMBER */
.saradnja-number {
  width: 44px;
  height: 44px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #111;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  position: relative;
  z-index: 2;
}

/* ЛИНИЯ (длинная, красивая) */
.saradnja-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px; /* центр круга */
  right: -50%;
  width: 100%;
  height: 1px;
  background: rgba(0,0,0,0.12);
  z-index: 1;
}

/* TITLE */
.saradnja-item h3 {
  font-size: 14px;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

/* TEXT */
.saradnja-item p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(0,0,0,0.6);
}

/* NOTE */
.saradnja-note {
  margin-top: 70px;
  font-size: 13px;
  color: rgba(0,0,0,0.5);
}

.saradnja-extra {
  margin-top: 80px;
  max-width: 500px; /* было слишком узко */
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.saradnja-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #111;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* сама галочка */
.saradnja-icon::after {
  content: "✓";
  color: white;
  font-size: 16px;
  line-height: 1;
}

/* заголовок */
.saradnja-extra h3 {
  font-size: 14px;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

/* текст */
.saradnja-extra p {
  font-size: 14px;
  line-height: 1.7; /* увеличили */
  color: rgba(0,0,0,0.6);
}


/* =====================================================
   CTA SECTION
===================================================== */

.cta {
  background: #111;
  color: white;
  text-align: center;
  padding: 100px 20px;
}

.cta a {
  color: white;
  text-decoration: none;
}

.cta p {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.8;
}


/* =====================================================
   CONTACT SECTION
===================================================== */


.contact {
  padding: 100px 20px 100px;
  text-align: center;
}

/* TITLE */
.contact h2 {
  font-weight: 400;
  margin-bottom: 16px;
}

/* TAGLINE */
.contact-tagline {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(0,0,0,0.65);
  margin-bottom: 20px;
}

/* PHILOSOPHY */
.contact-philosophy {
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(0,0,0,0.6);
}

/* INFO */
.contact-info {
  margin-bottom: 40px;
}

.contact-info p {
  font-size: 14px;
  margin-bottom: 6px;
  color: rgba(0,0,0,0.75);
}

/* EMAIL */
.contact-email {
  margin-top: 12px;
}

/* LINK */
.contact-info a {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  text-decoration: none;
  color: #111;
  border-bottom: 1px solid #111;
  padding-bottom: 2px;
  transition: opacity 0.2s ease;
}

.contact-info a:hover {
  opacity: 0.6;
}

/* MAP */
.contact-map iframe {
  width: 100%;
  height: 350px;
  border: 0;
  margin-top: 40px;
}


/* =====================================================
  ОБЩИЕ СТИЛИ
===================================================== */

/* общие правила */
.about h2,
.instagram h2,
.saradnja h2,
.contact h2 {
  font-size: 32px;
  line-height: 1.3;
  font-weight: 400;
}

/* основной текст */
p {
  font-size: 15px;
  line-height: 1.7;
}

/* маленький текст */
.small {
  font-size: 13px;
}

.container {
  max-width: 900px;
  margin: 0 auto;
}

.text {
  max-width: 600px;
  margin: 0 auto;
}

.about-sub,
.instagram-note,
.saradnja-intro,
.contact-philosophy {
  font-size: 15px;
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin: 0 auto 40px;
}

/* =====================================================
   FLOATING BUTTON (кнопка формы)
===================================================== */

#floatingFormBtn {
  position: fixed;
  right: 15px;
  top: 40%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: right center;
  background: #7B5A3A;
  color: white;
  border: none;
  padding: 20px 24px;
  font-size: 16px;
  letter-spacing: 0.08em;
  cursor: pointer;
  border-radius: 8px 8px 0 0;
  z-index: 999;
  transition: right 0.3s ease;
}

#floatingFormBtn:hover {
  background: #5e432b;
  right: 28px;
  transform: translateY(-50%) rotate(-90deg);
}


/* =====================================================
   LOGO
===================================================== */

.logo img {
  height: 40px;
  width: auto;
  display: block;
}

.seo-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;

  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* =====================================================
   AI BAR
===================================================== */

.ai-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 45px;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  border-top: 1px solid rgba(255,255,255,0.08);
  z-index: 200;
}


/* =====================================================
   SOCIAL ICONS
===================================================== */

.ai-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-left a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  opacity: 1;
  transition: 0.2s ease;
  border-radius: 10px;
  overflow: visible;
}

.ai-left img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ai-left a:hover img {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}


/* =====================================================
   AI RIGHT
===================================================== */

.ai-right {
  display: flex;
  align-items: center;
  gap: 4px;
}

.manner-text {
  font-size: 20px;
  letter-spacing: 0.06em;
  color: #7B5A3A;
  opacity: 0.95;
  font-weight: 300;
}


/* =====================================================
   CHAT BUTTON
===================================================== */

#manner-toggle-chat {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  position: relative;
  border-radius: 12px;
  overflow: visible;
}

#manner-toggle-chat img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  transform: scale(1.5);
}

#manner-toggle-chat:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transform: scale(1.1);
}


/* =====================================================
   TOOLTIP
===================================================== */

[data-tooltip] {
  position: relative;
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 142%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(0,0,0,0.85);
  color: white;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 6px;
  font-family: 'Sulphur Point', sans-serif;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

[data-tooltip]::before {
  content: "";
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  border: 6px solid transparent;
  border-top-color: rgba(0,0,0,0.85);
  opacity: 0;
  transition: all 0.2s ease;
}

[data-tooltip]:hover::after,
[data-tooltip]:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* =====================================================
   MOBILE (адаптация под телефоны)
===================================================== */

@media (max-width: 768px) {
  .nav {
    width: auto;
    max-width: 90%;
    padding: 10px 16px;
    box-sizing: border-box;
  }

  .nav-inner {
    padding: 0 16px;
  }

  .nav-inner nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
  }

  .nav a {
    font-size: 12px;
    letter-spacing: 0.05em;
    white-space: nowrap;
  }

  .hero-content {
    width: 90%;
  }

  .ai-bar {
    padding: 0 16px;
  }

  .ai-left {
    gap: 8px;
  }

  .ai-left img {
    width: 32px;
    height: 32px;
  }

  #floatingFormBtn {
    padding: 10px 12px;
    font-size: 11px;
    right: 10px;
  }
}

/* =====================================================
   ================= END MAIN PAGE =====================
===================================================== */

/* =====================================================
   ================= FORM PAGE =========================
===================================================== */


/* NAV (form only) */

body.form-page .nav {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  transform: none;
  padding: 20px 0px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-radius: 0;
  box-shadow: none;
}

body.form-page .nav-inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


/* FORM SECTION */

.form-section {
  max-width: 600px;
  margin: 140px auto 80px;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.form-section h1 {
  font-size: 36px;
  margin-bottom: 10px;
  font-family: 'Sulphur Point', sans-serif;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.form-subtitle {
  margin-top: 40px;
  margin-bottom: 40px;
  font-size: 20px;
  font-family: 'Sulphur Point', sans-serif;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.form-layout {
  position: relative;
}

.form-layout::after {
  content: "";
  position: fixed;
  background:
    linear-gradient(to left, rgba(248,246,242,0) 55%, #f8f6f2 100%),
    url("images/designer-form-image-1.jpg") no-repeat center/cover;
  top: 50%;
  right: -150px;
  width: 600px;
  height: 600px;
  transform: translateY(-50%) rotate(45deg);
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

.form-layout::before {
  content: "";
  position: fixed;
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background:
    linear-gradient(to right, rgba(248,246,242,0) 60%, #f8f6f2 90%),
    url("images/designer-form-image-2.jpg") no-repeat center/cover;
  transform: rotate(-38deg);
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

@media (max-width: 768px) {
  .form-layout::before,
  .form-layout::after {
    display: none;
  }

  body.form-page .nav-inner {
    max-width: 100%;     /* растягиваем */
    width: 100%;
    padding: 0 16px;     /* аккуратные отступы */
    display: flex;              /* на всякий случай */
    justify-content: space-between;
  }
}

/* ERRORS */

.input-error {
  border-bottom: none !important;
  background: rgba(178, 59, 59, 0.05);
}

.error {
  color: #b23b3b;
  font-size: 12px;
  margin-top: 6px;
  margin-top: 6px; /* ⚠️ дубль */
  opacity: 0;
  transform: translateY(-4px);
  transition: all 0.2s ease;
}

.error.active {
  opacity: 1;
  transform: translateY(0);
  display: block;
}


/* ANIMATIONS */

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-4px); }
  100% { transform: translateX(0); }
}

.shake {
  animation: shake 0.3s ease;
}


/* TOAST */

.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #7B5A3A;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}


/* FORM ELEMENTS */

form {
  display: flex;
  flex-direction: column;
}

label {
  font-size: 16px;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
  font-family: 'Sulphur Point', sans-serif;
  font-weight: 400;
}

input,
textarea {
  width: 100%;
  padding: 12px 10px;
  background: transparent;
  font-size: 14px;
  outline: none;
  border: none;
  font-family: 'Sulphur Point', sans-serif;
}

input:focus,
textarea:focus {
  outline: none;
  border-bottom: none;
}

textarea {
  resize: none;
  height: 80px;
}

.textarea-group textarea {
  border: none !important;
  outline: none;
}

.textarea-group::before {
  display: none !important;
}

.textarea-group::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 20px;
  height: 1px;
  background: #ccc;
  transition: background 0.3s ease;
}

.textarea-group:focus-within::after {
  background: #1a1a1a;
}


/* INPUT GROUP */

.input-group {
  position: relative;
  margin-bottom: 30px;
}

.checkmark {
  position: absolute;
  right: 0;
  bottom: 8px;
  font-size: 14px;
  color: #7B5A3A;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.2s ease;
}

.input-group.valid .checkmark {
  opacity: 1;
  transform: translateY(0);
}

.input-group.valid::before {
  opacity: 1;
}

.input-group.valid::after {
  opacity: 0;
}

.input-group::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 20px;
  height: 1px;
  background: #ccc;
}

.input-group::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #1a1a1a;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.input-group:focus-within::after {
  transform: scaleX(1);
  width: calc(100% - 20px);
}

.input-group.error-state::before,
.input-group.error-state::after {
  display: none;
}


/* RADIO */

.radio-group {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.radio-group label {
  font-size: 14px;
  cursor: pointer;
}


/* CHECKBOX */

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 30px;
  max-width: 320px;
  cursor: pointer;
}

.checkbox input {
  display: none;
}

.custom-box {
  width: 16px;
  height: 16px;
  border: 1px solid #1a1a1a;
  display: inline-block;
  position: relative;
  flex-shrink: 0;
  margin-top: 3px;
  transition: all 0.2s ease;
}

.custom-box::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 5px;
  width: 4px;
  height: 8px;
  border: solid #1a1a1a;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg) scale(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.checkbox input:checked + .custom-box::after {
  transform: rotate(45deg) scale(1);
}

.checkbox:hover .custom-box {
  border-color: #555;
}

.checkbox-text {
  display: block;
}


/* BUTTONS */

button[type="submit"] {
  background: #7B5A3A;
  color: white;
  border: none;
  padding: 14px;
  font-size: 16px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Sulphur Point', sans-serif;
}

button[type="submit"]:hover {
  background: #5e432b;
}

.back-btn {
  font-family: 'Sulphur Point', sans-serif;
  background: transparent;
  border: 1px solid #7B5A3A;
  color: #7B5A3A;
  padding: 8px 18px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.back-btn:hover {
  background: #7B5A3A;
  color: white;
}


/* SUCCESS MESSAGE */

#successMessage {
  display: none;
  margin-top: 30px;
  color: #7B5A3A;
  font-size: 14px;
}


/* PLACEHOLDER */

input::placeholder,
textarea::placeholder {
  color: #999;
  font-size: 12px;
  letter-spacing: 0.01em;
  font-family: 'Inter', sans-serif;
  opacity: 0.8;
}


/* SPINNER */

#submitBtn {
  position: relative;
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top: 2px solid #fff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
}

#submitBtn.loading .spinner {
  opacity: 1;
  animation: spin 0.8s linear infinite;
}

#submitBtn.loading .btn-text {
  opacity: 0;
}

@keyframes spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}


/* =====================================================
   ================= END FORM PAGE =========================
===================================================== */

