@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@500;600&family=Manrope:wght@500;700;800&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap");

  /* Everything below is scoped under .shymind-contact so it can never
     leak out and override the theme/Elementor's own styling elsewhere on
     the page, and so the theme/Elementor's global CSS can't bleed into
     this section either - see shymind-homepage.html for the same
     treatment. */
  .shymind-contact {
    --ink: #0a1414;
    --teal-900: #0f2b29;
    --teal-800: #12332f;
    --teal-700: #1e5756;
    --teal-600: #2a6b69;
    --teal-500: #3a8785;
    --gold-300: #f3d9a4;
    --gold-400: #eecb8c;
    --gold-500: #eabe72;
    --gold-600: #d4a75a;
    --gold-700: #b8863f;
    --paper: #faf7f0;
    --paper-dim: #f1ead9;
    --ink-on-paper: #142e2c;
    --ink-on-paper-dim: rgba(20, 46, 44, 0.66);
    --white-92: rgba(250, 247, 240, 0.92);
    --white-70: rgba(250, 247, 240, 0.7);
    --white-50: rgba(250, 247, 240, 0.5);
    --sage: #6fae86;
    --clay: #c66a5c;
    --line-dark: rgba(250, 247, 240, 0.12);
    --line-light: rgba(20, 46, 44, 0.1);

    --font-eyebrow: "JetBrains Mono", ui-monospace, monospace;
    --font-display: "Manrope", "Segoe UI", sans-serif;
    --font-body: "Plus Jakarta Sans", "Segoe UI", sans-serif;

    --sm-container: 1180px;
    --radius: 20px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);

    background: var(--paper);
    color: var(--ink-on-paper);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    display: block;
  }

  .shymind-contact, .shymind-contact * { box-sizing: border-box; }
  .shymind-contact img, .shymind-contact svg { display: block; max-width: 100%; }
  .shymind-contact a { color: inherit; }
  .shymind-contact button { font-family: inherit; cursor: pointer; }

  .shymind-contact .container { max-width: var(--sm-container); margin: 0 auto; padding: 0 32px; }

  .shymind-contact h1:not(.grad-text), .shymind-contact h2:not(.grad-text), .shymind-contact h3:not(.grad-text), .shymind-contact h4:not(.grad-text) {
    font-family: var(--font-display);
    font-weight: 800;
    margin: 0;
    text-wrap: balance;
    letter-spacing: -0.01em;
    /* Force inheriting the enclosing section's color rather than letting
       the host theme's own h1-h4 rule win (explicit beats inherited,
       regardless of specificity) - see shymind-homepage.html. */
    color: inherit !important;
  }

  .shymind-contact .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-eyebrow);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .shymind-contact .eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.55; }
  .shymind-contact .on-dark .eyebrow, .shymind-contact .eyebrow.on-dark { color: var(--gold-400); }
  .shymind-contact .eyebrow.on-paper { color: var(--gold-700); }

  .shymind-contact .grad-text {
    background: linear-gradient(100deg, var(--gold-300), var(--gold-600) 60%, var(--gold-700));
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .shymind-contact .grad-text.ink {
    background: linear-gradient(100deg, var(--teal-700), var(--gold-600));
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }

  .shymind-contact .section { position: relative; padding: 110px 0; }
  .shymind-contact .section.tight { padding: 80px 0; }
  .shymind-contact .bg-ink { background: linear-gradient(175deg, var(--teal-800) 0%, var(--ink) 100%); color: var(--white-92); position: relative; overflow: hidden; }
  .shymind-contact .bg-paper { background: var(--paper); color: var(--ink-on-paper); position: relative; }
  .shymind-contact .bg-paper-dim { background: var(--paper-dim); color: var(--ink-on-paper); position: relative; overflow: hidden; }
  .shymind-contact .sub-on-dark { color: var(--white-70); }
  .shymind-contact .sub-on-paper { color: var(--ink-on-paper-dim); }

  .shymind-contact .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-weight: 700; font-size: 15px; padding: 15px 26px; border-radius: 12px; border: none;
    text-decoration: none;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s ease;
    white-space: nowrap;
  }
  .shymind-contact .btn-gold { color: var(--teal-900); background: linear-gradient(120deg, var(--gold-300), var(--gold-600)); box-shadow: 0 14px 30px -12px rgba(234, 190, 114, 0.55); }
  .shymind-contact .btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(234, 190, 114, 0.7); }
  .shymind-contact .btn-dark-solid { color: var(--paper); background: var(--teal-800); }
  .shymind-contact .btn-dark-solid:hover { transform: translateY(-2px); background: var(--ink); }
  .shymind-contact .btn:disabled { opacity: 0.6; cursor: default; transform: none !important; }
  .shymind-contact .btn .icon { transition: transform 0.3s var(--ease); }
  .shymind-contact .btn:hover .icon { transform: translateX(4px); }

  .shymind-contact .ambient-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.22; pointer-events: none; animation: ambientDrift 14s ease-in-out infinite; }
  .shymind-contact .ambient-blob.gold { background: radial-gradient(circle, var(--gold-500), transparent 70%); }
  .shymind-contact .ambient-blob.teal { background: radial-gradient(circle, var(--teal-500), transparent 70%); animation-delay: -6s; }
  .shymind-contact .ambient-blob.soft { opacity: 0.1; }
  @keyframes ambientDrift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(30px, -24px) scale(1.12); } }

  .shymind-contact .icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

  .shymind-contact .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
  .shymind-contact .reveal.in { opacity: 1; transform: translateY(0); }
  .shymind-contact .reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .shymind-contact .reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
  .shymind-contact .reveal-stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
  .shymind-contact .reveal-stagger.in > *:nth-child(2) { transition-delay: 0.15s; }
  .shymind-contact .reveal-stagger.in > *:nth-child(3) { transition-delay: 0.25s; }
  .shymind-contact .reveal-stagger.in > *:nth-child(4) { transition-delay: 0.35s; }
  @media (prefers-reduced-motion: reduce) {
    .shymind-contact .reveal, .shymind-contact .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
    .shymind-contact .ambient-blob { animation: none; }
  }

  .shymind-contact .section-head { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 0; margin-bottom: 48px; }
  .shymind-contact .section-head .eyebrow { justify-content: center; }
  .shymind-contact .section-head h2 { font-size: clamp(26px, 3vw, 36px); max-width: 640px; margin-top: 16px; }
  .shymind-contact .section-head p { max-width: 56ch; margin: 14px auto 0; }

  .shymind-contact .icon-chip { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(145deg, var(--gold-300), var(--gold-600)); display: flex; align-items: center; justify-content: center; }
  .shymind-contact .icon-chip .icon { width: 20px; height: 20px; color: var(--teal-900); }

  /* ==================================================================
     CONTACT HERO
     ================================================================== */
  .shymind-contact .contact-hero { position: relative; padding: clamp(90px, 12vw, 140px) 0 90px; background: linear-gradient(175deg, var(--teal-700) 0%, var(--teal-900) 78%); color: var(--white-92); overflow: hidden; isolation: isolate; }
  .shymind-contact .hero-aurora, .shymind-contact .hero-gridlines, .shymind-contact .hero-grain { position: absolute; pointer-events: none; }
  .shymind-contact .hero-aurora {
    inset: -25%; z-index: -3; filter: blur(70px); opacity: 0.8;
    background:
      radial-gradient(38% 46% at 82% 8%, rgba(234, 190, 114, 0.38), transparent 60%),
      radial-gradient(34% 40% at 6% 20%, rgba(111, 174, 134, 0.22), transparent 60%),
      radial-gradient(48% 52% at 58% 88%, rgba(58, 135, 133, 0.42), transparent 65%);
    animation: auroraDrift 24s ease-in-out infinite;
  }
  @keyframes auroraDrift { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(-3%, 3%) scale(1.07); } 66% { transform: translate(3%, -2%) scale(0.97); } }
  .shymind-contact .hero-gridlines {
    inset: -10%; z-index: -2; opacity: 0.06;
    background-image: linear-gradient(rgba(250, 247, 240, 0.6) 1px, transparent 1px), linear-gradient(90deg, rgba(250, 247, 240, 0.6) 1px, transparent 1px);
    background-size: 64px 64px; animation: gridDrift 34s linear infinite;
    mask-image: radial-gradient(80% 70% at 30% 20%, #000, transparent 75%);
  }
  @keyframes gridDrift { from { transform: translate(0, 0); } to { transform: translate(64px, 64px); } }
  .shymind-contact .hero-grain {
    inset: 0; z-index: -2; opacity: 0.045; mix-blend-mode: overlay;
    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='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 140px 140px;
  }
  @media (prefers-reduced-motion: reduce) { .shymind-contact .hero-aurora, .shymind-contact .hero-gridlines { animation: none; } }

  .shymind-contact .contact-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 40px; }
  .shymind-contact .contact-hero-inner { max-width: 680px; position: relative; z-index: 1; }
  .shymind-contact .contact-hero h1 { font-size: clamp(32px, 4.2vw, 50px); line-height: 1.08; margin: 20px 0 20px; max-width: 16ch; }
  .shymind-contact .contact-hero .lead { font-size: 17px; color: var(--white-70); max-width: 52ch; margin: 0 0 30px; }
  .shymind-contact .contact-hero-facts { display: flex; flex-wrap: wrap; gap: 14px 30px; }
  .shymind-contact .contact-fact { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--white-70); text-decoration: none; }
  .shymind-contact .contact-fact .icon { width: 16px; height: 16px; color: var(--gold-400); }
  .shymind-contact a.contact-fact:hover { color: var(--white-92); }

  /* ---- hero animated art: an envelope + the ShyMind butterfly, tilting
     together with the cursor like the homepage hero centerpiece ---- */
  .shymind-contact .hero-stage-slot { position: relative; height: 460px; }
  .shymind-contact .contact-hero-stage .hero-glow-ring { position: absolute; inset: 0; margin: auto; width: 70%; height: 70%; border-radius: 50%; border: 1px solid rgba(234, 190, 114, 0.18); animation: heroRingPulse 6s ease-in-out infinite; }
  .shymind-contact .contact-hero-stage .hero-glow-ring.r2 { width: 92%; height: 92%; animation-delay: 1.4s; opacity: 0.6; }
  @keyframes heroRingPulse { 0%, 100% { transform: scale(0.94); opacity: 0.5; } 50% { transform: scale(1.02); opacity: 0.9; } }
  .shymind-contact #contactHeroCanvas { position: absolute; inset: 0; opacity: 0.55; }

  .shymind-contact .contact-tilt-perspective { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; perspective: 1000px; }
  .shymind-contact #tiltContactArt { width: min(360px, 82%); height: auto; overflow: visible; transform-style: preserve-3d; will-change: transform; }
  .shymind-contact #tiltContactArt .env-shape { stroke: #2b2620; stroke-width: 7; stroke-linejoin: round; fill: url(#envGrad); }
  .shymind-contact #tiltContactArt .env-flap { stroke: #2b2620; stroke-width: 6; stroke-linejoin: round; fill: url(#envFlapGrad); }
  .shymind-contact #tiltContactArt .env-line { stroke: #a97e2f; stroke-width: 3; stroke-linecap: round; opacity: 0.55; fill: none; }
  .shymind-contact #tiltContactArt .cb-wing { stroke: #2b2620; stroke-width: 6; stroke-linejoin: round; fill: url(#cbWingGrad); }
  .shymind-contact #tiltContactArt .cb-body { fill: #2b2620; }
  .shymind-contact #tiltContactArt .cb-wingsBack, .shymind-contact #tiltContactArt .cb-wingsFront { transform-box: fill-box; transform-origin: 50% 50%; animation: flutterWing 3.6s ease-in-out infinite; }
  .shymind-contact #tiltContactArt .cb-wingsBack { animation-delay: 0.15s; opacity: 0.9; }
  @keyframes flutterWing { 0%, 100% { transform: scaleX(1) rotate(0deg); } 50% { transform: scaleX(0.86) rotate(-3deg); } }
  .shymind-contact .contact-send-path path { fill: none; stroke: var(--gold-500); stroke-width: 2; stroke-dasharray: 5 7; opacity: 0.5; animation: arcFlow 3.4s linear infinite; }
  @keyframes arcFlow { to { stroke-dashoffset: -24; } }

  @media (max-width: 860px) {
    .shymind-contact .contact-hero-grid { grid-template-columns: 1fr; text-align: left; }
    .shymind-contact .hero-stage-slot { height: 300px; margin-top: 24px; }
    .shymind-contact #tiltContactArt { width: min(260px, 78%); }
  }
  @media (prefers-reduced-motion: reduce) {
    .shymind-contact .contact-hero-stage .hero-glow-ring { animation: none; }
    .shymind-contact #tiltContactArt, .shymind-contact #tiltContactArt .cb-wingsBack, .shymind-contact #tiltContactArt .cb-wingsFront { animation: none !important; transform: none !important; }
    .shymind-contact .contact-send-path path { animation: none; }
    .shymind-contact .contact-send-path circle { display: none; }
  }

  /* ==================================================================
     CONTACT FORM + SIDEBAR
     ================================================================== */
  .shymind-contact .contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: start; }

  .shymind-contact .contact-form-card { background: #fff; border-radius: 24px; padding: 44px; box-shadow: 0 30px 70px -30px rgba(20, 46, 44, 0.18); border: 1px solid var(--line-light); }
  .shymind-contact .contact-form-card h2 { font-size: 24px; }
  .shymind-contact .contact-form-card > p { margin: 10px 0 30px; }

  .shymind-contact .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .shymind-contact .form-field { margin-bottom: 24px; }
  .shymind-contact .form-field label { display: block; font-family: var(--font-eyebrow); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-700); margin-bottom: 10px; }
  .shymind-contact .form-field input, .shymind-contact .form-field select, .shymind-contact .form-field textarea {
    width: 100%; border: none; border-bottom: 1px solid var(--line-light); border-radius: 0; background: transparent;
    padding: 12px 2px; font-family: var(--font-body); font-size: 16px; font-weight: 500; color: var(--ink-on-paper);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
  }
  .shymind-contact .form-field textarea { min-height: 130px; resize: vertical; padding-top: 12px; }
  .shymind-contact .form-field input:focus, .shymind-contact .form-field select:focus, .shymind-contact .form-field textarea:focus {
    outline: none; border-bottom-color: var(--gold-600); box-shadow: 0 1px 0 0 var(--gold-600);
  }
  .shymind-contact .form-field input::placeholder, .shymind-contact .form-field textarea::placeholder { color: var(--ink-on-paper-dim); opacity: 0.55; }
  .shymind-contact .form-field select {
    appearance: none; -webkit-appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23142e2c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 4px center;
  }
  .shymind-contact .form-field select:invalid { color: var(--ink-on-paper-dim); }
  .shymind-contact .contact-submit { width: 100%; margin-top: 6px; }
  .shymind-contact .form-hint { margin: 16px 0 0; font-size: 12.5px; color: var(--ink-on-paper-dim); text-align: center; }

  .shymind-contact .contact-success { display: none; text-align: center; padding: 30px 10px; }
  .shymind-contact .contact-success .icon-chip { margin: 0 auto 18px; width: 54px; height: 54px; border-radius: 50%; }
  .shymind-contact .contact-success .icon-chip .icon { width: 24px; height: 24px; }
  .shymind-contact .contact-success h3 { font-size: 20px; margin-bottom: 8px; }
  .shymind-contact .contact-success p { color: var(--ink-on-paper-dim); font-size: 14.5px; margin: 0; }

  @media (max-width: 640px) { .shymind-contact .form-row { grid-template-columns: 1fr; } }

  .shymind-contact .contact-side { display: flex; flex-direction: column; gap: 14px; }
  .shymind-contact .contact-info-card { background: var(--paper-dim); border: 1px solid var(--line-light); border-radius: 18px; padding: 20px 22px; }
  .shymind-contact .contact-info-card .icon-chip { width: 38px; height: 38px; border-radius: 10px; }
  .shymind-contact .contact-info-card .icon-chip .icon { width: 17px; height: 17px; }
  .shymind-contact .contact-info-card h3 { font-size: 15px; margin: 12px 0 5px; }
  .shymind-contact .contact-info-card p { font-size: 13px; color: var(--ink-on-paper-dim); margin: 0 0 8px; line-height: 1.5; }
  .shymind-contact .contact-info-link { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; font-weight: 700; color: var(--gold-700); text-decoration: none; }
  .shymind-contact .contact-info-link:hover { text-decoration: underline; }

  .shymind-contact .social-row { display: flex; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
  .shymind-contact .social-link {
    width: 42px; height: 42px; border-radius: 50%;
    background: linear-gradient(145deg, var(--gold-300), var(--gold-600));
    display: flex; align-items: center; justify-content: center; color: var(--teal-900);
    box-shadow: 0 10px 20px -10px rgba(234, 190, 114, 0.6);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.2s ease;
  }
  .shymind-contact .social-link:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 14px 26px -10px rgba(234, 190, 114, 0.8); filter: brightness(1.06); }
  .shymind-contact .social-link .icon { width: 19px; height: 19px; stroke-width: 2.2; }

  @media (max-width: 900px) { .shymind-contact .contact-grid { grid-template-columns: 1fr; } }

  /* ==================================================================
     FAQ (shared component)
     ================================================================== */
  .shymind-contact .faq-list { max-width: 720px; margin: 0 auto; display: grid; gap: 0; }
  .shymind-contact .faq-item { border-bottom: 1px solid var(--line-light); }
  .shymind-contact .faq-q { width: 100%; background: none; border: none; padding: 20px 4px; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; font-family: var(--font-display); font-weight: 700; font-size: 15.5px; color: var(--ink-on-paper); }
  .shymind-contact .faq-q .icon { transition: transform 0.3s var(--ease); color: var(--gold-700); flex-shrink: 0; }
  .shymind-contact .faq-item.open .faq-q .icon { transform: rotate(45deg); }
  .shymind-contact .faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
  .shymind-contact .faq-a p { margin: 0 4px 20px; color: var(--ink-on-paper-dim); font-size: 14px; max-width: 62ch; }
  .shymind-contact .faq-a a { color: var(--gold-700); font-weight: 700; }
  .shymind-contact .faq-footnote { text-align: center; margin-top: 32px; font-size: 13.5px; color: var(--ink-on-paper-dim); }
  .shymind-contact .faq-footnote a { color: var(--gold-700); font-weight: 700; }

  @media (max-width: 640px) {
    .shymind-contact .container { padding: 0 20px; }
    .shymind-contact .section { padding: 72px 0; }
  }

/* Inside the Elementor editor: always show animated content so it can be edited */
.elementor-editor-active .shymind-contact .reveal,.elementor-editor-active .shymind-contact .reveal-stagger>*{opacity:1!important;transform:none!important;visibility:visible!important}
/* sms-fixes */
.shymind-contact .contact-info-card .icon-chip{margin-bottom:6px!important}.shymind-contact .contact-info-card h3{margin-top:16px!important}
.sms-page-section.shymind-contact{overflow-x:clip!important;overflow-y:visible!important}
