﻿/* =========================================================================
   Growthminth Team Global Stylesheet
   Green palette built from the Growthminth logo.
   Hover dropdowns on all nav items.
   Floating Email Us button on every page.
   No dashes, no special characters.
   ========================================================================= */

/* 01. RESET AND BASE */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, figure, blockquote, dl, dd { margin: 0; }

ul, ol { padding: 0; list-style: none; }

img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a { color: inherit; text-decoration: none; }

button,
input,
select,
textarea { font: inherit; color: inherit; }

button { cursor: pointer; background: none; border: 0; }


/* 02. DESIGN TOKENS */
:root {
  --green-950: #062A20;
  --green-900: #0B3B2E;
  --green-800: #0F4936;
  --green-700: #14543F;
  --green-600: #1B6B4C;
  --green-500: #16A34A;
  --green-400: #22C55E;
  --green-100: #DCFCE7;
  --green-50:  #F0FDF4;

  --gold-500: #F2B441;
  --gold-100: #FDF2D6;

  --ink-900: #0B1B12;
  --ink-700: #1F2A44;
  --ink-500: #4A5568;
  --ink-400: #6B7280;
  --ink-300: #9AA3B2;

  --line: #D6E5DC;
  --line-strong: #BFD4C7;

  --bg: #F4FAF6;
  --bg-soft: #E6F4EC;
  --bg-muted: #DCEEE3;
  --white: #FFFFFF;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(11, 27, 18, 0.06);
  --shadow:    0 8px 24px rgba(11, 27, 18, 0.08);
  --shadow-lg: 0 20px 44px rgba(11, 27, 18, 0.14);

  --container: 1180px;
  --gutter: 24px;

  --ease: cubic-bezier(.2, .6, .2, 1);
  --dur: 220ms;
}


/* 03. TYPOGRAPHY */
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--ink-900);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.25rem, 4vw + 1rem, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 1.8vw + 1rem, 2.5rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
h4 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-900); }

p { color: var(--ink-500); }

.lead { font-size: clamp(1.05rem, 0.5vw + 0.95rem, 1.2rem); color: var(--ink-500); }
.narrow { max-width: 720px; }
.muted { color: var(--ink-400); font-size: 0.875rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--green-600);
  border-radius: 2px;
}

.center { text-align: center; }
.mt-6 { margin-top: 36px; }
.mt-8 { margin-top: 56px; }
.gap-lg { gap: 48px; }


/* 04. LAYOUT */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: 88px 0; background: var(--bg); }
.section-alt { background: var(--bg-soft); }

.section-head {
  max-width: 780px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head .eyebrow { justify-content: center; }
.section-head .lead { margin-top: 16px; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }


/* 05. BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform var(--dur) var(--ease),
              background-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
  white-space: nowrap;
}

.btn-sm { padding: 10px 18px; font-size: 0.875rem; }

.btn-primary {
  background: var(--green-600);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(27, 107, 76, 0.32);
}
.btn-primary:hover {
  background: var(--green-900);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(11, 59, 46, 0.34);
}

.btn-outline {
  background: transparent;
  color: var(--green-900);
  border-color: var(--green-600);
}
.btn-outline:hover {
  border-color: var(--green-900);
  color: var(--white);
  background: var(--green-900);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--green-600);
  transition: gap var(--dur) var(--ease), color var(--dur) var(--ease);
}
.link-arrow:hover {
  gap: 10px;
  color: var(--green-900);
}


/* 06. HEADER AND NAV */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(244, 250, 246, 0.96);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(255,255,255,0.99);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 96px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--green-900);
  flex: none;
}
.logo-img {
  height: 60px;
  width: auto;
  max-width: none;
  display: block;
  flex: none;
  object-fit: contain;
  border-radius: 50%;
  background: var(--white);
}
.logo-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text .name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--green-900);
}
.logo-text .tag {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-400);
  font-weight: 600;
}

.nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-menu > li { position: relative; }

.nav-menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-900);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav-menu > li > a:hover { color: var(--green-600); background: var(--green-50); }
.nav-menu > li > a.active { color: var(--green-900); font-weight: 700; }

.nav-menu > li.has-dropdown > a::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  margin-left: 4px;
  transition: transform var(--dur) var(--ease);
}
.nav-menu > li.has-dropdown:hover > a::after {
  transform: rotate(225deg) translateY(-1px);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  max-width: 320px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  margin-top: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              visibility var(--dur) var(--ease);
  z-index: 100;
}
.dropdown-scroll {
  max-height: 420px;
  overflow-y: auto;
}
.nav-menu > li.has-dropdown:hover > .dropdown,
.nav-menu > li.has-dropdown:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 12px;
  font-size: 0.9rem;
  border-radius: 8px;
  color: var(--ink-700);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
  white-space: normal;
  line-height: 1.35;
}
.dropdown a:hover {
  background: var(--green-50);
  color: var(--green-900);
}
.dropdown a.dropdown-all {
  font-weight: 700;
  color: var(--green-900);
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
  padding-bottom: 12px;
  border-radius: 8px 8px 0 0;
}
.dropdown a.dropdown-all:hover {
  background: var(--green-100);
}

.nav-cta { margin-left: 12px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex: none;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--green-900);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* 07. HERO */
.hero-dark {
  position: relative;
  background: linear-gradient(160deg, var(--green-950) 0%, var(--green-900) 60%, var(--green-800) 100%);
  color: var(--white);
  padding: 130px 0 140px;
  overflow: hidden;
  text-align: center;
}

.hero-dark::before {
  content: "";
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  max-width: 120vw;
  background: radial-gradient(
    circle at center,
    rgba(34, 197, 94, 0.20) 0%,
    rgba(11, 59, 46, 0.14) 30%,
    rgba(6, 42, 32, 0) 65%
  );
  pointer-events: none;
  z-index: 0;
}

.hero-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.hero-dark .container { position: relative; z-index: 1; }

.hero-dark h1 {
  color: var(--white);
  margin: 8px auto 20px;
  max-width: 900px;
}

.hero-dark .eyebrow {
  color: var(--green-400);
}
.hero-dark .eyebrow::before {
  background: var(--green-400);
}

.hero-dark .lead {
  color: rgba(255,255,255,0.82);
  max-width: 640px;
  margin: 0 auto;
  font-size: clamp(1rem, 0.6vw + 0.95rem, 1.15rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 40px;
}


/* 08. PAGE HERO */
.page-hero {
  padding: 84px 0 56px;
  background: var(--bg-soft);
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin: 8px 0 16px; }
.page-hero .lead { max-width: 780px; margin: 0 auto; }
.page-hero .eyebrow { justify-content: center; }


/* 09. CARDS */
.card,
.problem-card,
.service-card,
.resource-card,
.platform-card,
.testimonial,
.case-card,
.info-card,
.chip-card,
.contact-card,
.portfolio-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}

.problem-card:hover,
.service-card:hover,
.resource-card:hover,
.portfolio-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--green-500);
}

.problems-section {
  background: var(--bg-soft);
  padding: 96px 0;
}
.problem-card { background: var(--white); text-align: left; }
.problem-card .num {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--green-600);
  margin-bottom: 10px;
}
.problem-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--ink-900);
}
.problem-card p { font-size: 0.94rem; color: var(--ink-500); }

.service-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.service-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--green-50), var(--green-100));
  color: var(--green-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.service-card .icon svg { width: 24px; height: 24px; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: 0.94rem; }
.service-card .link-arrow { margin-top: 16px; }


/* 10. SERVICE DETAIL SECTIONS */
.service-detail {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  margin-bottom: 32px;
  scroll-margin-top: 120px;
}
.service-detail:last-child { margin-bottom: 0; }
.service-detail .service-num {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--green-600);
  margin-bottom: 8px;
}
.service-detail h2 {
  margin-bottom: 12px;
  scroll-margin-top: 120px;
}
.service-detail .service-intro {
  font-size: 1.02rem;
  color: var(--ink-500);
  margin-bottom: 22px;
}
.service-detail h3 {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-900);
  margin: 26px 0 12px;
}
.service-detail p {
  margin-bottom: 14px;
  font-size: 1rem;
}
.service-detail .btn { margin-top: 22px; }

.service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
}
.service-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
  color: var(--ink-500);
  font-size: 0.96rem;
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-600);
}

.step-list {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  counter-reset: step;
}
.step-list li {
  position: relative;
  padding-left: 44px;
  margin-bottom: 12px;
  color: var(--ink-500);
  font-size: 0.96rem;
  min-height: 28px;
}
.step-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green-900);
  font-weight: 700;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--green-100);
}
.step-list li strong { color: var(--ink-900); }


/* 11. PROCESS */
.process,
.journey {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 42px;
}
.process li,
.journey li {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.process li .num {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--green-600);
  margin-bottom: 10px;
}
.process li strong,
.journey li strong {
  display: block;
  color: var(--green-900);
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.process li p,
.journey li span { font-size: 0.9rem; color: var(--ink-500); }


/* 12. PORTFOLIO */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.portfolio-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.portfolio-thumb {
  height: 200px;
  background: linear-gradient(135deg, var(--green-900), var(--green-600));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 20px;
  text-align: center;
}
.portfolio-thumb-placeholder {
  gap: 8px;
  text-align: center;
}
.portfolio-thumb-placeholder .ph-name {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--white);
  line-height: 1.25;
  padding: 0 12px;
}
.portfolio-thumb-placeholder .ph-cat {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

.cat-game     { background: linear-gradient(135deg, #0B3B2E, #16A34A); }
.cat-tabletop { background: linear-gradient(135deg, #14543F, #22C55E); }
.cat-tech     { background: linear-gradient(135deg, #062A20, #16A34A); }
.cat-apparel  { background: linear-gradient(135deg, #0B3B2E, #1B6B4C); }
.cat-footwear { background: linear-gradient(135deg, #14543F, #16A34A); }
.cat-watch    { background: linear-gradient(135deg, #062A20, #14543F); }
.cat-fitness  { background: linear-gradient(135deg, #0B3B2E, #22C55E); }
.cat-outdoor  { background: linear-gradient(135deg, #14543F, #1B6B4C); }

.portfolio-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.portfolio-cat {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-600);
  font-weight: 600;
  margin-bottom: 8px;
}
.portfolio-body h3 { font-size: 1.05rem; margin-bottom: 6px; }
.portfolio-body p { font-size: 0.9rem; color: var(--ink-500); flex: 1; }
.portfolio-body .link-arrow { margin-top: 14px; }


/* 13. TESTIMONIALS */
.testimonial { padding: 26px; }
.testimonial p {
  color: var(--ink-700);
  font-size: 0.96rem;
  line-height: 1.6;
  margin-bottom: 18px;
}
.testimonial footer {
  font-size: 0.85rem;
  color: var(--ink-900);
  font-weight: 600;
}
.testimonial footer span {
  display: block;
  color: var(--ink-400);
  font-weight: 400;
  font-size: 0.8rem;
  margin-top: 2px;
}


/* 14. CTA BAND */
.cta-band {
  background: var(--green-900);
  color: var(--white);
  padding: 88px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 12px; }
.cta-band p {
  color: rgba(255,255,255,0.80);
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.02rem;
}
.cta-band .hero-actions { margin-top: 30px; }


/* 15. FOOTER */
.site-footer {
  background: var(--green-950);
  color: rgba(255,255,255,0.72);
  padding: 72px 0 0;
}
.site-footer h4 {
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.72);
  font-size: 0.92rem;
  transition: color var(--dur) var(--ease);
  word-break: break-word;
}
.footer-links a:hover { color: var(--green-400); }

.footer-brand p {
  color: rgba(255,255,255,0.62);
  font-size: 0.9rem;
  margin-top: 14px;
  max-width: 320px;
}
.footer-brand .logo-text .name { color: var(--white); }
.footer-brand .logo-text .tag { color: rgba(255,255,255,0.55); }

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.footer-social a:hover {
  background: var(--green-600);
  transform: translateY(-2px);
}
.footer-social svg { width: 18px; height: 18px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0 30px;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}


/* 16. CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-form-wrap h2 { margin-bottom: 8px; }
.contact-form-wrap > .muted { margin-bottom: 26px; }

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.contact-form .form-row.single { grid-template-columns: 1fr; }

.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-700);
}
.form-field label span { color: #D84B20; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink-900);
  font-size: 0.95rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.15);
}
.form-field.invalid input,
.form-field.invalid select,
.form-field.invalid textarea {
  border-color: #D84B20;
}
.form-field .field-error { font-size: 0.8rem; color: #D84B20; }
.form-actions { margin-top: 8px; }
.form-status {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  display: none;
}
.form-status.show { display: block; }
.form-status.info    { background: var(--green-50); color: var(--green-900); }
.form-status.error   { background: #FDEEE9; color: #D84B20; }
.form-status.success { background: #EAF7EF; color: #166534; }

.contact-side h2 { margin-bottom: 12px; }
.contact-side p { margin-bottom: 22px; }

.social-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.social-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.social-card:hover {
  border-color: var(--green-500);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.social-card .ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex: none;
}
.social-card .ico.fb { background: #1877F2; }
.social-card .ico.tt { background: #000000; }
.social-card .ico.tg { background: #229ED9; }
.social-card .ico svg { width: 20px; height: 20px; }
.social-card .meta { display: flex; flex-direction: column; line-height: 1.3; }
.social-card .meta strong { font-size: 0.95rem; color: var(--ink-900); }
.social-card .meta span { font-size: 0.82rem; color: var(--ink-400); }

.contact-info-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.contact-info-list li:last-child { border-bottom: 0; }
.contact-info-list strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-400);
  margin-bottom: 4px;
  font-weight: 600;
}


/* 17. LEGAL PAGES */
.legal {
  max-width: 820px;
  margin: 0 auto;
}
.legal h2 {
  margin-top: 40px;
  margin-bottom: 12px;
  font-size: 1.4rem;
}
.legal h2:first-child { margin-top: 0; }
.legal h3 {
  margin-top: 26px;
  margin-bottom: 8px;
  font-size: 1.05rem;
  color: var(--green-900);
}
.legal p, .legal li { color: var(--ink-500); font-size: 1rem; }
.legal ul { margin: 8px 0 14px 22px; list-style: disc; }
.legal ul li { margin-bottom: 6px; }
.legal p { margin-bottom: 14px; }
.legal a { color: var(--green-600); font-weight: 600; }
.legal a:hover { text-decoration: underline; }


/* 18. REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: none; }


/* 19. FLOATING EMAIL BUTTON */
.email-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--green-600);
  color: var(--white);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 12px 28px rgba(27, 107, 76, 0.38);
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease);
  text-decoration: none;
}
.email-float:hover {
  transform: translateY(-2px);
  background: var(--green-900);
  box-shadow: 0 16px 34px rgba(11, 59, 46, 0.45);
  color: var(--white);
}
.email-float svg {
  flex: none;
  width: 20px;
  height: 20px;
}
.email-float span { white-space: nowrap; }


/* 20. ACCESSIBILITY */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(22, 163, 74, 0.55);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}


/* 21. RESPONSIVE TABLET */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process,
  .journey { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-dark { padding: 100px 0 110px; }
  .logo-img { height: 54px; }
  .logo-text .name { font-size: 1.05rem; }
  .nav { min-height: 88px; }
  .service-detail { padding: 32px 30px; }
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}


/* 22. RESPONSIVE MOBILE */
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }

  .nav-menu {
    position: fixed;
    top: 88px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 20px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
    max-height: calc(100vh - 88px);
    overflow-y: auto;
    z-index: 95;
  }
  .nav-menu.open { opacity: 1; transform: none; pointer-events: auto; }

  .nav-menu > li { border-bottom: 1px solid var(--line); }
  .nav-menu > li:last-child { border-bottom: 0; }
  .nav-menu > li > a {
    display: flex;
    justify-content: space-between;
    padding: 16px 8px;
    font-size: 1rem;
    border-radius: 8px;
  }
  .nav-menu > li > a.active { background: var(--green-50); }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    margin-top: 0;
    padding: 0 0 12px;
    max-width: none;
    min-width: 0;
    display: none;
  }
  .dropdown-scroll { max-height: none; overflow: visible; }
  .nav-menu > li.has-dropdown.open > .dropdown { display: block; }
  .nav-menu > li.has-dropdown:hover > .dropdown { display: none; }
  .nav-menu > li.has-dropdown.open:hover > .dropdown { display: block; }

  .nav-menu > li.has-dropdown.open > a::after {
    transform: rotate(225deg) translateY(-1px);
  }

  .dropdown a { padding: 12px 14px; font-size: 0.94rem; }
  .dropdown a.dropdown-all { font-size: 0.94rem; }

  .nav-cta { margin: 14px 0 0; }
  .nav-cta .btn { width: 100%; }

  .logo-img { height: 48px; }
  .logo-text .name { font-size: 1rem; }
  .logo-text .tag { font-size: 0.62rem; }
  .nav { min-height: 80px; }

  .email-float { bottom: 16px; right: 16px; padding: 12px 18px; font-size: 0.88rem; }
  .email-float span { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .problems-section { padding: 64px 0; }
  .hero-dark { padding: 72px 0 80px; }
  .page-hero { padding: 56px 0 36px; }

  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }
  .process,
  .journey { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .contact-form .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }

  .hero-actions .btn { flex: 1 1 auto; }

  .logo-img { height: 42px; }
  .logo-text .name { font-size: 0.95rem; }

  .service-detail { padding: 26px 22px; }
  .service-detail h2 { font-size: 1.35rem; }
}