/* ============================================================
   GETMONEY.CASA — STYLES
   ============================================================
   Host this file in HubSpot Design Manager OR paste inside a
   <style>...</style> block in the page's Head HTML.

   All classes are prefixed with .gm- to avoid clashing with
   HubSpot's defaults.
   ============================================================ */

/* IMPORT MONTSERRAT */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,700&display=swap');

/* CSS VARIABLES — set on :root so form selectors (which live
   outside .gm-page) can also use them. */
:root {
  --gm-cobalt: #2440E0;
  --gm-cobalt-deep: #1A2FB8;
  --gm-orange: #FF6B1F;
  --gm-orange-bright: #FF7A33;
  --gm-white: #FFFFFF;
  --gm-white-70: rgba(255, 255, 255, 0.7);
  --gm-white-50: rgba(255, 255, 255, 0.5);
  --gm-white-30: rgba(255, 255, 255, 0.3);
  --gm-white-15: rgba(255, 255, 255, 0.15);
  --gm-white-08: rgba(255, 255, 255, 0.08);
}

/* ============================================================
   HUBSPOT TEMPLATE OVERRIDES
   ============================================================
   These force the cobalt background to fill the viewport,
   hide the default header/footer, and remove default padding.
   If your template still shows header/footer, also try toggling
   them off in Settings → Template inside HubSpot.
   ============================================================ */

body,
html {
  background: #2440E0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Hide common HubSpot header/footer wrappers. Add or remove
   selectors here based on what your template actually renders.
   Inspect the page in dev tools to find the exact IDs/classes. */
header.header,
.header-container-wrapper,
.header-container,
footer.footer,
.footer-container-wrapper,
.footer-container,
.hs-blog-social-share,
.cm-menu-wrapper,
#hs_cos_wrapper_site_header,
#hs_cos_wrapper_site_footer {
  display: none !important;
}

/* Strip default content wrapper padding so our page goes edge-to-edge */
.body-container-wrapper,
.body-container,
.page-center,
.row-fluid-wrapper,
.dnd-section,
.dnd_area-row-0-padding,
.widget-span,
.widget-type-rich_text,
.widget-type-custom_widget {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

/* ============================================================
   PAGE STYLES
   ============================================================ */

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

.gm-page {
  font-family: 'Montserrat', -apple-system, sans-serif;
  background: var(--gm-cobalt);
  color: var(--gm-white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 24px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* TOP BAR */
.gm-topbar {
  width: 100%;
  max-width: 720px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 80px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gm-white-50);
}

.gm-topbar-left,
.gm-topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gm-pulse {
  width: 6px;
  height: 6px;
  background: var(--gm-orange);
  border-radius: 50%;
  display: inline-block;
  animation: gm-pulse 2s ease-in-out infinite;
}

@keyframes gm-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* WORDMARK */
.gm-wordmark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  animation: gm-fadeUp 0.9s ease-out 0.1s both;
}

.gm-wordmark-word {
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
  font-weight: 800;
  font-size: clamp(56px, 11vw, 120px);
  line-height: 0.95;
  color: var(--gm-white);
  letter-spacing: -0.04em;
}

.gm-wordmark-dot {
  width: 12px;
  height: 12px;
  background: var(--gm-orange);
  border-radius: 50%;
  flex-shrink: 0;
}

/* TAGLINE */
.gm-tagline {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gm-white-70);
  margin-bottom: 56px;
  animation: gm-fadeUp 0.9s ease-out 0.25s both;
}

.gm-sep { color: var(--gm-orange); margin: 0 12px; }

/* CTA HEADLINE */
.gm-cta-headline {
  text-align: center;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 12px;
  color: var(--gm-white);
  animation: gm-fadeUp 0.9s ease-out 0.4s both;
}

.gm-accent {
  color: var(--gm-orange);
  font-style: italic;
  font-weight: 700;
}

.gm-cta-sub {
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  color: var(--gm-white-70);
  line-height: 1.5;
  max-width: 480px;
  margin: 0 auto 40px;
  animation: gm-fadeUp 0.9s ease-out 0.55s both;
}

/* FORM CARD */
.gm-form-card {
  width: 100%;
  max-width: 520px;
  background: var(--gm-cobalt-deep);
  border: 1px solid var(--gm-white-15);
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.4);
  animation: gm-fadeUp 0.9s ease-out 0.7s both;
}

.gm-form-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gm-orange);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gm-form-card-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  color: var(--gm-white);
}

/* HUBSPOT FORM PLACEHOLDER */
.gm-hubspot-form-placeholder {
  min-height: 220px;
  border: 2px dashed var(--gm-white-30);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 32px 20px;
  text-align: center;
  color: var(--gm-white-50);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.gm-hubspot-form-placeholder strong {
  color: var(--gm-white);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: block;
}

/* ============================================================
   HUBSPOT FORM STYLING (GLOBAL — applies everywhere on the page)
   ============================================================
   These selectors target HubSpot's default form markup and
   restyle it to match the cobalt/orange theme. They are
   intentionally NOT scoped to .gm-form-card so they catch the
   form regardless of where HubSpot drops it.
   ============================================================ */

/* Form title text that HubSpot sometimes renders above the form
   ("Get Money! Sign up now!" etc) — make it visible or hide it. */
.hs-form,
.hs_cos_wrapper_type_form h3,
.hs_cos_wrapper_type_form h2,
.hs_cos_wrapper_type_form .form-title {
  color: var(--gm-white) !important;
  font-family: 'Montserrat', sans-serif !important;
}

/* Hide the auto-generated form title since we already have our own */
.hs_cos_wrapper_type_form > h3:first-child,
.hs_cos_wrapper_type_form > h2:first-child,
.hs-form-iframe + h3,
.hbspt-form > h3:first-child,
.hbspt-form > h2:first-child,
.form-title {
  display: none !important;
}

.hs-form,
.hs-form-field,
.hbspt-form {
  font-family: 'Montserrat', sans-serif !important;
}

.hs-form-field {
  margin-bottom: 16px !important;
}

/* FIELD LABELS */
.hs-form-field > label,
.hs-form-field > label span {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--gm-white-70) !important;
  margin-bottom: 8px !important;
  display: block !important;
  font-family: 'Montserrat', sans-serif !important;
}

/* INPUTS */
.hs-form-field input[type="text"],
.hs-form-field input[type="email"],
.hs-form-field input[type="tel"],
.hs-form-field input[type="number"],
.hs-form-field input[type="url"],
.hs-form-field input[type="password"],
.hs-form-field select,
.hs-form-field textarea,
.hs-input {
  width: 100% !important;
  max-width: 100% !important;
  padding: 14px 16px !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: var(--gm-white) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1.5px solid var(--gm-white-15) !important;
  border-radius: 10px !important;
  outline: none !important;
  transition: border-color 0.2s, background 0.2s !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.hs-form-field input::placeholder,
.hs-form-field textarea::placeholder,
.hs-input::placeholder {
  color: var(--gm-white-30) !important;
}

.hs-form-field input:focus,
.hs-form-field select:focus,
.hs-form-field textarea:focus,
.hs-input:focus {
  border-color: var(--gm-orange) !important;
  background: rgba(255, 255, 255, 0.12) !important;
}

.hs-form-field textarea,
textarea.hs-input {
  min-height: 100px !important;
  resize: vertical !important;
}

/* TWO-COLUMN ROWS (e.g. First Name / Last Name) */
.hs-form fieldset.form-columns-2 .hs-form-field,
.hs-form fieldset.form-columns-2 .input {
  width: 100% !important;
}

.hs-form fieldset {
  max-width: 100% !important;
}

.hs-form fieldset .input {
  margin-right: 0 !important;
}

/* SUBMIT BUTTON */
.hs-button,
.hs-form input[type="submit"],
.actions input[type="submit"] {
  width: 100% !important;
  padding: 16px 28px !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--gm-white) !important;
  background: var(--gm-orange) !important;
  border: none !important;
  border-radius: 999px !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  margin-top: 8px !important;
  box-shadow: 0 8px 20px -8px rgba(255, 107, 31, 0.5) !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.hs-button:hover,
.hs-form input[type="submit"]:hover,
.actions input[type="submit"]:hover {
  background: var(--gm-orange-bright) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 28px -8px rgba(255, 107, 31, 0.6) !important;
}

.hs_submit,
.hs-submit,
.actions {
  margin-top: 8px !important;
  text-align: center !important;
}

/* ERROR / VALIDATION MESSAGES */
.hs-error-msg,
.hs-error-msgs label,
.hs-error-msgs li label {
  color: #FFB199 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  margin-top: 4px !important;
  display: block !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.hs-form-required {
  color: var(--gm-orange) !important;
}

.hs-error-msgs {
  list-style: none !important;
  padding: 0 !important;
  margin: 4px 0 0 0 !important;
}

/* SUCCESS / THANK YOU MESSAGE */
.submitted-message,
.hs-form .submitted-message {
  color: var(--gm-white) !important;
  font-size: 16px !important;
  text-align: center !important;
  padding: 20px !important;
  font-family: 'Montserrat', sans-serif !important;
}

/* CHECKBOX / RADIO */
.hs-form-checkbox label,
.hs-form-radio label,
.hs-form-booleancheckbox label,
.hs-form-checkbox-display,
.hs-form-radio-display,
.hs-form-booleancheckbox-display {
  color: var(--gm-white-70) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  font-family: 'Montserrat', sans-serif !important;
}

/* GDPR / LEGAL CONSENT TEXT */
.legal-consent-container,
.legal-consent-container p,
.legal-consent-container span,
.hs-richtext,
.hs-richtext p {
  color: var(--gm-white-70) !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  font-family: 'Montserrat', sans-serif !important;
}

.legal-consent-container a {
  color: var(--gm-orange) !important;
}

/* EXPLAINER TILE */
.gm-explainer {
  width: 100%;
  max-width: 520px;
  margin-top: 28px;
  border: 1.5px solid var(--gm-white-30);
  border-radius: 16px;
  padding: 32px;
  background: var(--gm-white-08);
  animation: gm-fadeUp 0.9s ease-out 0.85s both;
}

.gm-explainer-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gm-orange);
  margin-bottom: 14px;
}

.gm-explainer-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--gm-white);
}

.gm-explainer-text {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--gm-white-70);
}

.gm-explainer-text strong {
  color: var(--gm-white);
  font-weight: 700;
}

/* FOOT */
.gm-foot {
  margin-top: 60px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gm-white-30);
  text-align: center;
}

/* ANIMATIONS */
@keyframes gm-fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .gm-page { padding: 40px 16px; }
  .gm-topbar { margin-bottom: 56px; font-size: 10px; }
  .gm-wordmark { gap: 10px; margin-bottom: 20px; }
  .gm-wordmark-dot { width: 8px; height: 8px; }
  .gm-tagline { margin-bottom: 40px; font-size: 11px; letter-spacing: 0.18em; }
  .gm-cta-headline { margin-bottom: 10px; }
  .gm-cta-sub { margin-bottom: 32px; font-size: 15px; }
  .gm-form-card { padding: 32px 24px; border-radius: 14px; }
  .gm-form-card-title { font-size: 22px; }
  .gm-explainer { padding: 26px 22px; border-radius: 14px; }
  .gm-explainer-title { font-size: 18px; }
}
