/* =============================================
   Northmint Technology — style.css
   ============================================= */

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: #1A2027;
  background: #F8FAFC;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

::selection { background: #3FBB8E; color: #1A2027; }
::placeholder { color: #94A3B8; }

/* Focus states */
input:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 2px solid #3FBB8E;
  outline-offset: 2px;
}

/* =============================================
   Animations
   ============================================= */
@keyframes nm-aurora-a {
  0%   { transform: translate(0,0) scale(1); }
  50%  { transform: translate(60px,-40px) scale(1.18); }
  100% { transform: translate(0,0) scale(1); }
}
@keyframes nm-aurora-b {
  0%   { transform: translate(0,0) scale(1.12); }
  50%  { transform: translate(-70px,30px) scale(1); }
  100% { transform: translate(0,0) scale(1.12); }
}
@keyframes nm-draw {
  from { stroke-dashoffset: 1; }
  to   { stroke-dashoffset: 0; }
}
@keyframes nm-fill-in {
  from { fill-opacity: 0; }
  to   { fill-opacity: 1; }
}
@keyframes nm-reveal {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  [data-hero-anim] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
  }
  [data-hero-anim][data-hero-shown] {
    opacity: 1 !important;
    transform: none !important;
  }
  [data-reveal]:not([data-shown]) { opacity: 0; }
  [data-reveal][data-shown] {
    animation: nm-reveal .7s cubic-bezier(.16,1,.3,1) both;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-hero-anim] { animation: none !important; opacity: 1 !important; transform: none !important; }
  .hero-logo [data-draw] { stroke-dashoffset: 0 !important; fill-opacity: 1 !important; animation: none !important; }
  [data-aurora] { animation: none !important; }
}

/* =============================================
   Layout helpers
   ============================================= */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad {
  padding-top: 96px;
  padding-bottom: 96px;
}

/* =============================================
   Header
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248,250,252,0.82);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid #E2E8F0;
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-link img {
  height: 30px;
  width: auto;
  display: block;
}

/* Desktop nav */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  color: #334155;
  font-size: 14.5px;
  font-weight: 500;
  transition: color .2s ease;
}
.nav-link:hover { color: #3FBB8E; }

/* Language pill switcher */
.lang-pill {
  display: flex;
  align-items: center;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 999px;
  padding: 3px;
}

.lang-btn {
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 12.5px;
  padding: 5px 11px;
  border-radius: 999px;
  background: transparent;
  color: #64748B;
  transition: background .2s ease, color .2s ease;
}
.lang-btn.active {
  background: #1A2027;
  color: #F8FAFC;
}

/* CTA button in header */
.header-cta {
  text-decoration: none;
  background: #3FBB8E;
  color: #F8FAFC;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 8px;
  transition: background .2s ease, transform .2s ease;
  white-space: nowrap;
}
.header-cta:hover { background: #34a87e; transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  cursor: pointer;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  border-top: 1px solid #E2E8F0;
  background: #F8FAFC;
  padding: 16px 24px 22px;
}
.mobile-menu.open { display: block; }

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav-links a {
  text-decoration: none;
  color: #1A2027;
  font-weight: 500;
  font-size: 16px;
  padding: 12px 4px;
  border-bottom: 1px solid #E2E8F0;
  display: block;
}

.mobile-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
}

.mobile-cta {
  text-decoration: none;
  background: #3FBB8E;
  color: #F8FAFC;
  font-weight: 600;
  font-size: 14px;
  padding: 11px 20px;
  border-radius: 8px;
}

/* =============================================
   Hero section
   ============================================= */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 110% 90% at 8% 10%, #162642 0%, #1A2027 55%);
  color: #F8FAFC;
}

.hero-aurora-a {
  position: absolute;
  top: -120px;
  left: -40px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63,187,142,0.30), rgba(63,187,142,0) 68%);
  filter: blur(34px);
  pointer-events: none;
  animation: nm-aurora-a 26s ease-in-out infinite;
}

.hero-aurora-b {
  position: absolute;
  bottom: -160px;
  right: 60px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56,178,190,0.22), rgba(56,178,190,0) 68%);
  filter: blur(40px);
  pointer-events: none;
  animation: nm-aurora-b 32s ease-in-out infinite;
}

/* Noise overlay — static PNG data-URI, lighter than feTurbulence */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4t5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAAWElEQVR42u3BSQqAIBRAwS8q5nn3v2ik/CW7EIjgJUiYxqAHCFEiIJBFoAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgBBxbAAKRqsoAAAAASUVORK5CYII=");
  background-repeat: repeat;
}

.hero-logo {
  position: absolute;
  right: -70px;
  bottom: -110px;
  opacity: 0.16;
  pointer-events: none;
  overflow: visible;
}

.hero-logo [data-draw] {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  fill-opacity: 0;
}

.hero-logo [data-draw]:nth-child(1) {
  animation: nm-draw 1.5s cubic-bezier(.65,0,.35,1) .2s forwards,
             nm-fill-in .9s ease .9s forwards;
}
.hero-logo [data-draw]:nth-child(2) {
  animation: nm-draw 1.7s cubic-bezier(.65,0,.35,1) .45s forwards,
             nm-fill-in 1s ease 1.2s forwards;
}
.hero-logo [data-draw]:nth-child(3) {
  animation: nm-draw 1.4s cubic-bezier(.65,0,.35,1) .75s forwards,
             nm-fill-in .9s ease 1.5s forwards;
}

.hero-content {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 116px 24px 120px;
}

.hero-inner { max-width: 760px; }

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #3FBB8E;
  margin-bottom: 24px;
}
.hero-kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #3FBB8E;
  flex-shrink: 0;
}

.hero-title {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 56px;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  color: #F8FAFC;
  text-wrap: balance;
}

.hero-sub {
  font-size: 19px;
  color: #94A3B8;
  max-width: 620px;
  margin: 0 0 36px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  background: #3FBB8E;
  color: #F8FAFC;
  font-weight: 600;
  font-size: 15.5px;
  padding: 15px 26px;
  border-radius: 9px;
  transition: background .2s ease, transform .2s ease;
}
.hero-cta:hover { background: #34a87e; transform: translateY(-2px); }

/* =============================================
   Values bar
   ============================================= */
.values-bar {
  background: #F1F5F9;
  border-bottom: 1px solid #E2E8F0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 44px 0;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.value-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #E2E8F0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.value-label {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  color: #1A2027;
}

.value-desc {
  font-size: 13px;
  color: #64748B;
  line-height: 1.4;
}

/* =============================================
   About section
   ============================================= */
.about-section { scroll-margin-top: 84px; }

.two-col {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.section-tag {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #3FBB8E;
  text-transform: uppercase;
}

.section-heading {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 14px 0 0;
  color: #1A2027;
  text-wrap: balance;
}

.about-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-body p {
  margin: 0;
  font-size: 16.5px;
  color: #334155;
}

/* =============================================
   Services section
   ============================================= */
.services-section {
  scroll-margin-top: 84px;
  background: #F1F5F9;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}

.section-intro { max-width: 640px; margin-bottom: 52px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 30px;
  transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15,23,42,0.07);
  border-color: #3FBB8E;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 11px;
  background: rgba(63,187,142,0.1);
  margin-bottom: 20px;
}

.service-title {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 19px;
  margin: 0 0 10px;
  color: #1A2027;
}

.service-desc {
  margin: 0 0 18px;
  font-size: 14.5px;
  color: #64748B;
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.service-list li {
  display: flex;
  gap: 9px;
  font-size: 13.5px;
  color: #334155;
  line-height: 1.5;
}

.service-list li svg {
  flex-shrink: 0;
  margin-top: 3px;
}

/* CTA card in services */
.service-cta-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #1A2027;
  border-radius: 14px;
  padding: 30px;
  color: #F8FAFC;
}

.service-cta-title {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 20px;
  margin: 0 0 10px;
  color: #F8FAFC;
  text-wrap: balance;
}

.service-cta-desc {
  margin: 0 0 20px;
  font-size: 14.5px;
  color: #94A3B8;
}

.service-cta-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  background: #3FBB8E;
  color: #F8FAFC;
  font-weight: 600;
  font-size: 14px;
  padding: 11px 18px;
  border-radius: 8px;
  transition: background .2s ease, transform .2s ease;
}
.service-cta-btn:hover { background: #34a87e; transform: translateY(-1px); }

/* =============================================
   Process section
   ============================================= */
.process-section { scroll-margin-top: 84px; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.process-step {
  position: relative;
  padding-top: 28px;
  border-top: 2px solid #E2E8F0;
}

.process-step::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 40%;
  height: 2px;
  background: #3FBB8E;
}

.step-num {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #3FBB8E;
  display: block;
}

.step-title {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 18px;
  margin: 8px 0 10px;
  color: #1A2027;
}

.step-desc {
  margin: 0;
  font-size: 14.5px;
  color: #64748B;
}

/* =============================================
   Who section
   ============================================= */
.who-section {
  scroll-margin-top: 84px;
  background: #F1F5F9;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}

.who-intro {
  margin: 0;
  font-size: 16px;
  color: #64748B;
  margin-top: 16px;
}

.who-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.who-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 18px 20px;
}

.who-item svg { flex-shrink: 0; margin-top: 2px; }

.who-item span { font-size: 15.5px; color: #334155; }

/* =============================================
   FAQ section
   ============================================= */
.faq-section { scroll-margin-top: 84px; }

.faq-section .container { max-width: 820px; }

.faq-header { margin-bottom: 44px; }

.faq-list { border-top: 1px solid #E2E8F0; }

.faq-item { border-bottom: 1px solid #E2E8F0; }

.faq-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 4px;
  font-family: 'Sora', sans-serif;
  font-weight: 500;
  font-size: 17px;
  color: #1A2027;
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform .3s ease;
}
.faq-btn[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }

.faq-body {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .34s cubic-bezier(.16,1,.3,1), opacity .28s ease;
}
.faq-body.open {
  max-height: 320px;
  opacity: 1;
}

.faq-body p {
  margin: 0;
  padding: 0 4px 22px;
  font-size: 15.5px;
  color: #64748B;
  max-width: 680px;
}

/* =============================================
   Contact section
   ============================================= */
.contact-section {
  scroll-margin-top: 84px;
  background: #1A2027;
  color: #F8FAFC;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact-heading {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 14px 0 16px;
  color: #F8FAFC;
  text-wrap: balance;
}

.contact-sub {
  margin: 0 0 28px;
  font-size: 16.5px;
  color: #94A3B8;
}

.contact-email-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: #F8FAFC;
  font-size: 15.5px;
  font-weight: 500;
  transition: color .2s ease;
}
.contact-email-link:hover { color: #3FBB8E; }

.contact-direct {
  margin: 12px 0 0;
  font-size: 13.5px;
  color: #94A3B8;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

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

label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #94A3B8;
  margin-bottom: 7px;
}

label .req { color: #3FBB8E; }

.form-input,
.form-textarea {
  width: 100%;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 9px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  color: #F8FAFC;
  transition: border-color .2s ease;
}
.form-input:focus,
.form-textarea:focus { border-color: #3FBB8E; outline: none; }
.form-input.error,
.form-textarea.error { border-color: #f87171; }

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

.field-error {
  display: none;
  font-size: 12.5px;
  color: #f87171;
  margin-top: 6px;
}
.field-error.visible { display: block; }

.form-rodo {
  font-size: 12px;
  color: #64748B;
  line-height: 1.5;
}
.form-rodo a { color: #94A3B8; }
.form-rodo a:hover { color: #3FBB8E; }

.form-submit {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #3FBB8E;
  color: #F8FAFC;
  font-weight: 600;
  font-size: 15px;
  font-family: inherit;
  padding: 13px 26px;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.form-submit:hover { background: #34a87e; transform: translateY(-1px); }

/* Success message */
.form-success {
  display: none;
  gap: 16px;
  align-items: flex-start;
  background: rgba(63,187,142,0.12);
  border: 1px solid #3FBB8E;
  border-radius: 14px;
  padding: 28px;
}
.form-success.visible { display: flex; }

.form-success-title {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 18px;
  margin: 0 0 6px;
  color: #F8FAFC;
}

.form-success p { margin: 0; font-size: 15px; color: #94A3B8; }

/* =============================================
   Footer
   ============================================= */
.site-footer {
  background: #1A2027;
  border-top: 1px solid #1e293b;
}

.footer-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-name {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #F8FAFC;
}

.footer-tagline {
  font-size: 13px;
  color: #94A3B8;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13.5px;
}

.footer-links a {
  color: #94A3B8;
  text-decoration: none;
  transition: color .2s ease;
}
.footer-links a:hover { color: #3FBB8E; }
.footer-links span { color: #94A3B8; }

.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-social a {
  color: #94A3B8;
  transition: color .2s ease;
  display: flex;
}
.footer-social a:hover { color: #3FBB8E; }

.footer-bottom {
  border-top: 1px solid #1e293b;
}

.footer-bottom-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 24px;
  font-size: 12.5px;
  color: #64748B;
}

/* =============================================
   Responsive — mobile-first breakpoint 880px
   ============================================= */
@media (max-width: 880px) {
  .desktop-nav { display: none !important; }
  .hamburger { display: inline-flex !important; }

  .hero-title { font-size: 38px !important; line-height: 1.12 !important; }

  .section-pad {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .two-col,
  .contact-grid {
    grid-template-columns: 1fr !important;
  }

  .services-grid {
    grid-template-columns: 1fr !important;
  }

  .process-grid {
    grid-template-columns: 1fr !important;
  }

  .values-grid {
    grid-template-columns: 1fr 1fr !important;
    row-gap: 28px !important;
  }

  .form-row {
    grid-template-columns: 1fr !important;
  }
}
