/* ═══════════════════════════════════════════════════════
   PANSRO — Brand Stylesheet
   Navy + Gold B2B Textile Platform
═══════════════════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --navy-900: #071325;
  --navy-800: #0f2444;
  --navy-700: #163461;
  --navy-600: #1e4587;
  --navy-500: #2659a8;
  --gold-600: #a87922;
  --gold-500: #c9962d;
  --gold-400: #dba83a;
  --gold-300: #f0c459;
  --white: #ffffff;
  --gray-50:  #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:  0 4px 12px rgba(0,0,0,.1), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg:  0 10px 30px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
  --shadow-xl:  0 20px 50px rgba(0,0,0,.15);

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:  12px;
  --radius-xl:  18px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  --header-h: 70px;
  --transition: 200ms ease;
  --transition-slow: 350ms ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}
address { font-style: normal; }

/* ── Layout ── */
.container {
  width: min(100%, 1200px);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.section {
  padding-block: clamp(4rem, 8vw, 6rem);
}

.bg-light { background: var(--gray-50); }
.bg-navy  { background: var(--navy-800); }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.125rem; font-weight: 600; }
h4 { font-size: 0.9375rem; font-weight: 600; }

p { color: var(--gray-600); }

.section-header {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-500);
  background: rgba(201, 150, 45, 0.12);
  padding: 0.3em 0.9em;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-tag--light {
  color: var(--gold-300);
  background: rgba(240, 196, 89, 0.15);
}

.section-title {
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.section-title--light { color: var(--white); }

.section-desc {
  font-size: 1.0625rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.section-cta {
  text-align: center;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.accent-text {
  font-style: normal;
  color: var(--gold-400);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6875rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  white-space: nowrap;
  text-align: center;
}

.btn-primary {
  background: var(--gold-500);
  color: var(--navy-900);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--gold-400);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,150,45,.4);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.9);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
}

.btn-gold {
  background: var(--gold-500);
  color: var(--navy-900);
  font-size: 1.0625rem;
  padding: 0.875rem 2rem;
}
.btn-gold:hover, .btn-gold:focus-visible {
  background: var(--gold-300);
  box-shadow: 0 8px 24px rgba(201,150,45,.45);
  transform: translateY(-2px);
}

.btn-lg  { padding: 0.875rem 2rem; font-size: 1rem; }
.btn-sm  { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-full { width: 100%; justify-content: center; }

.btn:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 3px;
}

/* ── Header ── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(7, 19, 37, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background var(--transition-slow);
}

.header.scrolled {
  background: rgba(7, 19, 37, 0.99);
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}

.logo-mark { flex-shrink: 0; }

.logo-text {
  font-size: 1.3125rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-md);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.nav-cta { margin-left: 0.5rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(140deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 36px 36px;
  pointer-events: none;
}

.hero-pattern::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 30% 50%, rgba(22, 52, 97, 0.6) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 75% 50%, rgba(201, 150, 45, 0.08) 0%, transparent 70%);
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(3rem, 8vw, 6rem);
}

.hero-content { max-width: 600px; }

.pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-400);
  background: rgba(201,150,45,0.15);
  border: 1px solid rgba(201,150,45,0.3);
  padding: 0.35em 0.9em;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-desc strong { color: rgba(255,255,255,0.9); font-weight: 500; }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gold-400);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-svg {
  width: 100%;
  max-width: 440px;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 10px 40px rgba(201,150,45,0.15));
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.45;
  font-size: 0.75rem;
  color: var(--white);
  letter-spacing: 0.05em;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(5px); }
}

/* ── About ── */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.about-graphic {
  position: relative;
}

.about-graphic-inner {
  position: relative;
  aspect-ratio: 1;
  max-width: 420px;
  margin: auto;
}

.about-graphic-bg {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.about-graphic-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--gray-200) 1px, transparent 1px),
    linear-gradient(90deg, var(--gray-200) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.5;
}

.about-graphic-bg::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,150,45,0.12) 0%, transparent 70%);
}

.about-graphic-bg::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  box-shadow:
    0 0 0 30px rgba(201,150,45,0.06),
    0 0 0 60px rgba(201,150,45,0.04),
    0 0 0 90px rgba(201,150,45,0.025),
    0 0 0 120px rgba(201,150,45,0.015);
}

.about-card-float {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 0.625rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-700);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}

.about-card-1 { top: 18%; right: -5%; animation: floatCard1 5s ease-in-out infinite; }
.about-card-2 { bottom: 30%; left: -5%; animation: floatCard2 5.5s ease-in-out 1s infinite; }
.about-card-3 { bottom: 15%; right: 8%; animation: floatCard3 4.5s ease-in-out 0.5s infinite; }

@keyframes floatCard1 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
@keyframes floatCard2 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
@keyframes floatCard3 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.about-body .section-tag { text-align: left; display: block; margin-bottom: 0.75rem; }

.about-lead {
  font-size: 1.0625rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.about-lead strong { color: var(--navy-800); font-weight: 600; }

.about-body > p { margin-bottom: 1.5rem; line-height: 1.75; }

.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--gray-700);
  font-weight: 500;
}

.check-list svg { flex-shrink: 0; margin-top: 0.15rem; }

/* ── Partner Network ── */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.partner-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.partner-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,150,45,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.partner-card:hover {
  border-color: rgba(201,150,45,0.35);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.partner-card:hover::before { opacity: 1; }

.partner-icon {
  width: 56px;
  height: 56px;
  background: rgba(201,150,45,0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.125rem;
  transition: background var(--transition-slow);
}
.partner-card:hover .partner-icon { background: rgba(201,150,45,0.18); }

.partner-card h3 {
  margin-bottom: 0.5rem;
  color: var(--navy-800);
  font-size: 1rem;
}

.partner-card p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--gray-500);
}

/* ── Industries ── */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 0;
}

.industry-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.875rem;
  padding: 1.75rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  transition: all var(--transition-slow);
  cursor: default;
}

.industry-card:hover {
  border-color: var(--navy-600);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.industry-card:hover .industry-icon { background: var(--navy-800); color: var(--white); }

.industry-icon {
  width: 52px;
  height: 52px;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-700);
  transition: all var(--transition-slow);
  flex-shrink: 0;
}

.industry-card h3 {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.3;
}

.industry-card--other {
  border-style: dashed;
  border-color: var(--gray-300);
  background: var(--gray-50);
}
.industry-card--other h3 { color: var(--gray-500); }
.industry-card--other .industry-icon { background: var(--gray-200); }

/* ── Products ── */
.product-tabs {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.tab-nav {
  display: flex;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
  padding: 0.5rem;
  gap: 0.25rem;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-500);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  background: transparent;
}

.tab-btn:hover {
  color: var(--gray-700);
  background: rgba(0,0,0,0.04);
}

.tab-btn.active {
  background: var(--white);
  color: var(--navy-800);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.tab-panels { padding: 2rem; }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.product-grid--centered { max-width: 360px; margin: auto; }

.product-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.product-item:hover {
  border-color: var(--gold-500);
  background: rgba(201,150,45,0.04);
  transform: translateY(-2px);
}

.product-icon { font-size: 1.75rem; line-height: 1; }

.product-item span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  line-height: 1.3;
}

.product-item--featured {
  grid-column: 1 / -1;
  padding: 2rem;
}

.product-desc {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-top: 0.25rem;
}

.custom-cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin-top: 1.5rem;
}

.custom-cta-box p {
  color: rgba(255,255,255,0.8);
  font-size: 0.9375rem;
  font-weight: 500;
  margin: 0;
}

/* ── How It Works ── */
.steps {
  display: flex;
  gap: 0;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 2.25rem;
  left: 2.25rem;
  right: 2.25rem;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300), var(--gold-500));
  opacity: 0.3;
  z-index: 0;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--gold-400);
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 3px solid var(--gold-500);
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
  transition: all var(--transition-slow);
}

.step:hover .step-num {
  background: var(--gold-500);
  color: var(--navy-900);
  transform: scale(1.08);
}

.step-body { padding-inline: 0.25rem; }

.step-body h3 {
  font-size: 0.95rem;
  color: var(--navy-800);
  margin-bottom: 0.5rem;
}

.step-body p {
  font-size: 0.8375rem;
  line-height: 1.65;
  color: var(--gray-500);
}

.step-arrow {
  position: absolute;
  top: 1.45rem;
  right: -0.6rem;
  font-size: 1.2rem;
  color: var(--gold-500);
  opacity: 0.5;
  z-index: 2;
}

.step:last-child .step-arrow { display: none; }

/* ── Quote Form ── */
.section-quote { padding-block: clamp(4rem, 8vw, 7rem); }

.quote-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.quote-intro .section-tag { text-align: left; display: block; }

.quote-intro .section-title { margin-bottom: 1.25rem; }

.quote-intro-text {
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.quote-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.quote-benefits li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

.quote-benefits svg { flex-shrink: 0; }

.quote-or {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.quote-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold-400);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: color var(--transition);
}
.quote-contact-link:hover { color: var(--gold-300); }

.quote-form-wrap {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-xl);
}

/* Form fields */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: 1rem;
}

.form-group:last-child { margin-bottom: 0; }

.form-row .form-group { margin-bottom: 0; }

label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
}

label span { color: var(--gold-500); }

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 0.6875rem 0.875rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--gray-900);
  font-size: 0.9375rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--navy-600);
  box-shadow: 0 0 0 3px rgba(30, 69, 135, 0.12);
}

input.error, select.error, textarea.error {
  border-color: #e53e3e;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

textarea { resize: vertical; min-height: 90px; line-height: 1.6; }

.form-error {
  font-size: 0.8rem;
  color: #e53e3e;
  display: none;
}
.form-error.visible { display: block; }

/* File upload */
.file-upload-wrap { display: flex; flex-direction: column; gap: 0.375rem; }

.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.file-upload-label {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1rem;
  border: 1.5px dashed var(--gray-300);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  background: var(--gray-50);
}
.file-upload-label:hover {
  border-color: var(--navy-500);
  background: rgba(38,89,168,0.04);
}

.file-upload-text { font-size: 0.875rem; color: var(--gray-500); font-weight: 500; }
.file-upload-hint { font-size: 0.78rem; color: var(--gray-400); line-height: 1.4; }
.file-selected { font-size: 0.8rem; color: var(--navy-600); font-weight: 500; }

.btn-arrow { transition: transform var(--transition); }
.btn-full:hover .btn-arrow { transform: translateX(4px); }

.form-disclaimer {
  text-align: center;
  font-size: 0.78rem;
  color: var(--gray-400);
  line-height: 1.5;
  margin-top: 0.75rem;
}

/* Form success state */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem;
  gap: 1rem;
}

.form-success h3 { color: var(--navy-800); font-size: 1.375rem; }
.form-success p { color: var(--gray-500); max-width: 320px; }

/* ── Why Pansro ── */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.value-card {
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  background: var(--white);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.value-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.value-card:hover {
  border-color: rgba(201,150,45,0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.value-card:hover::after { transform: scaleX(1); }

.value-icon {
  width: 50px;
  height: 50px;
  background: rgba(201,150,45,0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-500);
  margin-bottom: 1rem;
  transition: background var(--transition-slow);
}
.value-card:hover .value-icon { background: var(--gold-500); color: var(--white); }

.value-card h3 {
  font-size: 0.975rem;
  color: var(--navy-800);
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--gray-500);
}

/* ── CTA Banner ── */
.cta-banner {
  position: relative;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  overflow: hidden;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 28px 28px;
}

.cta-banner-bg::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 15%;
  transform: translateY(-50%);
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,150,45,0.12) 0%, transparent 70%);
}

.cta-banner-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 0.875rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.cta-banner p {
  color: rgba(255,255,255,0.65);
  font-size: 1.0625rem;
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

/* ── Footer ── */
.footer {
  background: var(--navy-900);
  padding-top: clamp(3rem, 6vw, 5rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo .logo-text { color: var(--white); }

.footer-tagline {
  margin-top: 1.125rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

.footer-founder {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
  font-style: italic;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all var(--transition);
}
.social-link:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--navy-900);
  transform: translateY(-2px);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }

.footer-col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--gold-400); }

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
}
.footer-contact-item svg { color: var(--gold-500); flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-contact-item a:hover { color: var(--gold-400); }

.footer-cta { margin-top: 1.25rem; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-block: 1.5rem;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom strong { color: rgba(255,255,255,0.5); font-weight: 500; }

.footer-bottom-links {
  display: flex;
  gap: 1.25rem;
}
.footer-bottom-links a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
  transition: color var(--transition);
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.65); }

/* ── Back to Top ── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  z-index: 50;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition);
  opacity: 0;
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--gold-500);
  color: var(--navy-900);
  transform: translateY(-2px);
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */

/* ── Large tablets ── */
@media (max-width: 1024px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { flex-wrap: wrap; }
  .steps::before { display: none; }
  .step { flex: 0 0 calc(50% - 0.5rem); min-width: 0; }
  .step-arrow { display: none; }
}

/* ── Tablets ── */
@media (max-width: 768px) {
  :root { --header-h: 64px; }

  /* Nav */
  .hamburger { display: flex; }

  .nav-menu {
    position: fixed;
    inset: var(--header-h) 0 0;
    background: rgba(7,19,37,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 1.5rem 1.25rem;
    transform: translateX(100%);
    transition: transform var(--transition-slow);
    z-index: 99;
    overflow-y: auto;
  }

  .nav-menu.open { transform: translateX(0); }

  .nav-link {
    font-size: 1.0625rem;
    padding: 0.75rem 1rem;
    width: 100%;
    border-radius: var(--radius-md);
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 0.5rem;
    width: 100%;
    justify-content: center;
  }

  /* Hero */
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-bottom: 3rem;
  }
  .hero-visual { display: none; }
  .hero-ctas { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-content { max-width: 100%; }
  .hero-desc { max-width: 100%; }

  /* About */
  .about-layout { grid-template-columns: 1fr; }
  .about-graphic { display: none; }
  .about-body .section-tag { text-align: center; }
  .about-body .section-title { text-align: center; }

  /* Partners */
  .partner-grid { grid-template-columns: 1fr 1fr; }

  /* Industries */
  .industry-grid { grid-template-columns: repeat(2, 1fr); }

  /* Products */
  .tab-nav { flex-direction: column; }
  .tab-btn { width: 100%; justify-content: center; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .tab-panels { padding: 1.25rem; }

  /* Steps */
  .step { flex: 0 0 100%; }

  /* Quote */
  .quote-layout { grid-template-columns: 1fr; }
  .quote-intro { text-align: center; }
  .quote-benefits { align-items: center; }
  .quote-intro .section-tag { text-align: center; }

  /* Value props */
  .value-grid { grid-template-columns: 1fr 1fr; }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── Mobile ── */
@media (max-width: 480px) {
  .partner-grid  { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .value-grid    { grid-template-columns: 1fr; }
  .product-grid  { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .stat-divider { display: none; }
  .custom-cta-box { flex-direction: column; text-align: center; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
