/* =============================================
   Linkage Commerce FZC — Custom Stylesheet
   ============================================= */

:root {
  --brand-dark: #0e1a2b;
  --brand-mid: #1a2a3f;
  --brand-light: #2a3a4f;
  --grid-pattern-dark: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='grid' width='60' height='60' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 10 0 L 0 0 0 10' fill='none' stroke='%23ffffff' stroke-opacity='0.04' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23grid)'/%3E%3C/svg%3E");
  --grid-pattern-light: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='grid' width='60' height='60' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 10 0 L 0 0 0 10' fill='none' stroke='%23000000' stroke-opacity='0.03' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23grid)'/%3E%3C/svg%3E");
}

/* ---- Base ---- */
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #18181b;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.2; }

/* ---- Grid overlay ---- */
.grid-overlay-dark { background-image: var(--grid-pattern-dark); }
.grid-overlay-light { background-image: var(--grid-pattern-light); }

/* ============================
   NAVIGATION
   ============================ */
.navbar {
  background: rgba(255,255,255,0.97) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
  padding: 0.85rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand img { height: 40px; width: auto; }

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #52525b !important;
  padding: 0.5rem 1rem !important;
  border-radius: 6px;
  transition: all 0.15s ease;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-dark) !important;
  background: #f4f4f5;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.75rem;
  right: 0.75rem;
  height: 2px;
  background: var(--brand-dark);
  border-radius: 2px;
}

.btn-nav-cta {
  background: var(--brand-dark) !important;
  color: #fff !important;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem !important;
  border-radius: 8px;
  border: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(14,26,43,0.25);
}

.btn-nav-cta:hover {
  background: var(--brand-mid) !important;
  box-shadow: 0 4px 16px rgba(14,26,43,0.3);
  transform: translateY(-1px);
}

/* Mobile menu */
.navbar-collapse .nav-link {
  padding: 0.75rem 1rem !important;
}

/* ============================
   BUTTONS
   ============================ */
.btn-brand {
  background: var(--brand-dark);
  color: #fff;
  font-weight: 600;
  padding: .4rem 1rem;
  border-radius: 8px;
  border: none;
  font-size: .875rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 12px rgba(14,26,43,0.25);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.btn-brand:hover {
  background: var(--brand-mid);
  color: #fff;
  box-shadow: 0 4px 20px rgba(14,26,43,0.35);
  transform: translateY(-1px);
}
.btn-brand:hover .btn-arrow { transform: translateX(4px); }
.btn-arrow { transition: transform 0.2s ease; }

.btn-outline-brand {
  background: transparent;
  color: var(--brand-dark);
  border: 2px solid var(--brand-dark);
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 8px;
  font-size: .875rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.btn-outline-brand:hover {
  background: var(--brand-dark);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--brand-dark);
  font-weight: 600;
  padding: 0.6rem 1.75rem;
  border-radius: 8px;
  border: none;
  font-size: .875rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.btn-white:hover {
  background: #f4f4f5;
  color: var(--brand-dark);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  transform: translateY(-2px) scale(1.02);
}
.btn-white:hover .btn-arrow { transform: translateX(4px); }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  font-weight: 600;
  padding: 0.6rem 1.75rem;
  border-radius: 8px;
  font-size: .875rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.btn-outline-white:hover {
  background: #fff;
  color: var(--brand-dark);
}

/* ============================
   COMMON SECTION STYLES
   ============================ */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  background: #f4f4f5;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #3f3f46;
  margin-bottom: 1rem;
}

.section-badge-white {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  color: #fff;
}

/* ============================
   HERO — HOME
   ============================ */
.hero-home {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fafafa 0%, #fff 50%, #f9fafb 100%);
  padding: 60px 0 120px;
}

.hero-home::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--grid-pattern-light);
  opacity: 0.5;
}

.hero-home .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(14,26,43,0.06);
  border: 1px solid rgba(14,26,43,0.1);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--brand-dark);
  margin-bottom: 2rem;
}

.hero-home h1 {
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  color: #18181b;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero-home h1 .brand-color { color: var(--brand-dark); }

.hero-home p.lead {
  font-size: 1.125rem;
  color: #52525b;
  line-height: 1.75;
  max-width: 720px;
  margin: 0 auto 2rem;
}

/* Feature check list */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  max-width: 700px;
  margin: 0 auto;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #52525b;
  text-align: left;
}

.feature-list .icon-check {
  color: #16a34a;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================
   BUSINESS VERTICALS CARDS
   ============================ */
.vertical-card {
  border: 1px solid #e4e4e7;
  border-radius: 1.25rem;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.vertical-card:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  transform: scale(1.03);
  color: inherit;
  text-decoration: none;
}

.vertical-card .card-corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: linear-gradient(to bottom-left, rgba(255,255,255,0.5), transparent);
  border-radius: 0 0 0 100%;
  opacity: 0;
  transition: opacity 0.3s;
}

.vertical-card:hover .card-corner { opacity: 1; }

.vertical-card .icon-box {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: transform 0.3s;
}

.vertical-card:hover .icon-box { transform: scale(1.1); }

.vertical-card h3 {
  font-size: 1.375rem;
  color: #18181b;
  margin-bottom: 0.75rem;
}

.vertical-card p {
  color: #52525b;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.vertical-card .card-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand-dark);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: gap 0.2s;
}

.vertical-card:hover .card-cta { gap: 0.75rem; }

/* ============================
   DARK SECTION (Capabilities, CTA, etc.)
   ============================ */
.section-dark {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-mid) 50%, var(--brand-dark) 100%);
  position: relative;
  overflow: hidden;
  color: #fff;
}

.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--grid-pattern-dark);
  opacity: 0.5;
}

.section-dark > * { position: relative; }

/* Capability card */
.capability-card {
  text-align: center;
}

.capability-card .icon-circle {
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.3s;
}

.capability-card:hover .icon-circle {
  transform: scale(1.1);
  background: rgba(255,255,255,0.18);
}

.capability-card .stat-num {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, #d4d4d8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.capability-card .stat-label {
  font-size: 0.75rem;
  color: #a1a1aa;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.capability-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.capability-card p { color: #d4d4d8; line-height: 1.65; font-size: 0.9375rem; }

/* ============================
   TRUST INDICATORS
   ============================ */
.trust-item {
  text-align: center;
  transition: transform 0.2s;
}
.trust-item:hover { transform: scale(1.05); }

.trust-item .icon-box {
  width: 64px;
  height: 64px;
  border: 2px solid rgba(14,26,43,0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  background: #fff;
  transition: all 0.2s;
}

.trust-item:hover .icon-box {
  border-color: rgba(14,26,43,0.3);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.trust-item .trust-value {
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 0.25rem;
}

.trust-item .trust-label {
  font-size: 0.8125rem;
  color: #52525b;
}

/* ============================
   CTA SECTION
   ============================ */
.cta-card {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-mid) 50%, var(--brand-dark) 100%);
  border-radius: 1.75rem;
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #fff;
  box-shadow: 0 20px 60px rgba(14,26,43,0.3);
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--grid-pattern-dark);
  opacity: 0.5;
}

.cta-card > * { position: relative; }

.cta-card h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 1rem; }
.cta-card p { color: #d4d4d8; font-size: 1.0625rem; max-width: 500px; margin: 0 auto 2rem; line-height: 1.7; }

/* ============================
   PAGE HEADERS
   ============================ */
.page-header {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-mid) 50%, var(--brand-dark) 100%);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--grid-pattern-dark);
  opacity: 0.5;
}

.page-header > .container { position: relative; }
.page-header h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); margin-bottom: 1rem; }
.page-header p.lead { color: #d4d4d8; font-size: 1.125rem; max-width: 680px; margin: 0 auto; }

/* ============================
   ABOUT PAGE
   ============================ */
.values-card {
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 1.25rem;
  padding: 2rem;
  transition: all 0.3s;
}
.values-card:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  transform: translateY(-8px);
}

.values-card .icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: transform 0.3s;
}
.values-card:hover .icon-box { transform: scale(1.1); }
.values-card h3 { font-size: 1.125rem; color: #18181b; margin-bottom: 0.5rem; }
.values-card p { font-size: 0.875rem; color: #52525b; line-height: 1.65; }

/* Legal/Scope panels */
.info-panel-light {
  background: linear-gradient(135deg, #fafafa, #fff);
  border: 1px solid #e4e4e7;
  border-radius: 1.25rem;
  padding: 2.5rem;
}

.info-panel-dark {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand-mid));
  border-radius: 1.25rem;
  padding: 2.5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.info-panel-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--grid-pattern-dark);
  opacity: 0.5;
}

.info-panel-dark > * { position: relative; }

/* Stats row */
.stat-box {
  text-align: center;
  transition: transform 0.2s;
}
.stat-box:hover { transform: scale(1.05); }

.stat-box .icon-box {
  width: 64px;
  height: 64px;
  border: 2px solid rgba(14,26,43,0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.2s;
}

.stat-box:hover .icon-box {
  border-color: rgba(14,26,43,0.3);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.stat-box .stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-dark);
  margin-bottom: 0.25rem;
}

.stat-box .stat-label { font-size: 0.8125rem; color: #52525b; }

/* ============================
   BUSINESS VERTICALS PAGE
   ============================ */
.vertical-section {
  padding: 80px 0;
}

.vertical-image {
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  border: 1px solid #e4e4e7;
  position: relative;
}

.vertical-image::before {
  content: '';
  position: absolute;
  inset: -16px;
  border-radius: 1.75rem;
  z-index: -1;
  opacity: 0.3;
  filter: blur(30px);
}

.vertical-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.vertical-image:hover img { transform: scale(1.04); }

.vertical-image .img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,26,43,0.55) 0%, transparent 50%);
}

.vertical-image .img-badges {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.img-badge {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  padding: 0.375rem 0.75rem;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #18181b;
}

.capabilities-box {
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
  margin-bottom: 2rem;
}

.capabilities-box h4 {
  font-size: 1.125rem;
  color: #18181b;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.capabilities-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.capabilities-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #3f3f46;
}

/* ============================
   DIGITAL SERVICES PAGE
   ============================ */
.service-card {
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 1.25rem;
  padding: 2rem;
  transition: all 0.3s;
  height: 100%;
}
.service-card:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,0.09);
  transform: translateY(-8px);
}

.service-card .icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: transform 0.3s;
}
.service-card:hover .icon-box { transform: scale(1.1); }

.service-card h3 { font-size: 1.125rem; color: #18181b; margin-bottom: 0.75rem; }
.service-card .service-desc { color: #52525b; font-size: 0.9375rem; line-height: 1.65; margin-bottom: 1.5rem; }

.service-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.service-features li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: #52525b; }

/* Use case cards */
.usecase-card {
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  height: 100%;
}

/* Process steps */
.process-step {
  display: flex;
  gap: 1.5rem;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1.25rem;
  padding: 1.5rem;
  transition: background 0.2s;
}
.process-step:hover { background: rgba(255,255,255,0.09); }

.process-step .step-num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #312e81, #1e3a5f);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  font-weight: 800;
  color: #fff;
}

.process-step h4 { font-size: 1.125rem; margin-bottom: 0.375rem; }
.process-step p { color: #d4d4d8; font-size: 0.9375rem; line-height: 1.6; margin: 0; }

/* ============================
   MARKETS PAGE
   ============================ */
.region-card {
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 1.25rem;
  padding: 2rem;
  transition: all 0.3s;
  height: 100%;
}
.region-card:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,0.09);
  transform: translateY(-8px);
}

.region-card .icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.region-card:hover .icon-box { transform: scale(1.1); }

.region-card h3 { font-size: 1.375rem; color: #18181b; }

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: #f4f4f5;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #3f3f46;
  margin-top: 0.5rem;
}

.activities-box {
  background: linear-gradient(135deg, #fafafa, #fff);
  border: 1px solid #f4f4f5;
  border-radius: 1rem;
  padding: 1.5rem;
  margin-top: 1rem;
}

.activities-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.activities-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: #52525b;
}

.activities-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--brand-dark);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}

.compliance-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1.25rem;
  padding: 2rem;
  transition: background 0.2s;
  height: 100%;
}
.compliance-card:hover { background: rgba(255,255,255,0.09); }

/* ============================
   CONTACT PAGE
   ============================ */
.contact-info-card {
  background: #fff;
  border: 1px solid #e4e4e7;
  padding: 2rem;
  text-align: center;
}

.inquiry-type-card {
  background: #fff;
  border: 1px solid #e4e4e7;
  padding: 2rem;
  transition: border-color 0.2s;
  text-align: left;
}
.inquiry-type-card:hover { border-color: #18181b; }

.inquiry-type-card h3 { font-size: 1.0625rem; color: #18181b; margin-bottom: 0.5rem; }
.inquiry-type-card p { font-size: 0.875rem; color: #52525b; line-height: 1.6; margin-bottom: 1.25rem; }

.inquiry-type-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #18181b;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: gap 0.2s;
}
.inquiry-type-card .card-link:hover { gap: 0.75rem; }

.hours-box {
  background: #fafafa;
  border: 1px solid #e4e4e7;
  padding: 2rem;
}

/* ============================
   INQUIRY FORM PAGE
   ============================ */
.inquiry-header {
  border-bottom: 1px solid #e4e4e7;
  padding: 60px 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #52525b;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 0.15s;
  margin-bottom: 1.5rem;
}
.back-link:hover { color: #18181b; }

.form-section-title {
  font-size: 1.5rem;
  color: #18181b;
  margin-bottom: 1.5rem;
  padding-bottom: 0;
}

.form-divider { border-top: 1px solid #e4e4e7; padding-top: 2rem; margin-top: 2rem; }

.form-label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #3f3f46;
  margin-bottom: 0.5rem;
}

.form-control, .form-select {
  border: 1px solid #d4d4d8;
  border-radius: 8px;
  padding: 0.625rem 0.875rem;
  font-size: 0.9375rem;
  color: #18181b;
  transition: border-color 0.15s, box-shadow 0.15s;
  background: #fff;
}

.form-control:focus, .form-select:focus {
  border-color: var(--brand-dark);
  box-shadow: 0 0 0 3px rgba(14,26,43,0.1);
  outline: none;
}

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

/* Success state */
.success-card {
  border: 1px solid #e4e4e7;
  border-radius: 1.25rem;
  padding: 4rem 3rem;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: var(--brand-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}

/* ============================
   FOOTER
   ============================ */
.site-footer {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-mid) 50%, var(--brand-dark) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--grid-pattern-dark);
  opacity: 0.5;
}

.site-footer > * { position: relative; }

.footer-logo { height: 48px; width: auto; filter: brightness(0) invert(1); }

.footer-desc { font-size: 0.875rem; color: #a1a1aa; line-height: 1.7; }

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s;
}

.footer-social a:hover { background: rgba(255,255,255,0.18); }

.footer-heading { font-size: 1.0625rem; font-weight: 700; margin-bottom: 1.5rem; }

.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.75rem; }

.footer-links li a {
  font-size: 0.875rem;
  color: #a1a1aa;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.15s, gap 0.15s;
}

.footer-links li a:hover { color: #fff; }
.footer-links li a .link-arrow { opacity: 0; transition: opacity 0.15s; font-size: 0.75rem; }
.footer-links li a:hover .link-arrow { opacity: 1; }

.footer-contact-item {
    display: flex;
    flex-direction: column;
    /* icon above text on mobile */
    align-items: center;
    /* both centered horizontally */
    gap: 0.625rem;
    /* spacing between icon and text */
    text-align: center;
    /* center the text content itself */
}

@media (min-width: 768px) {
    .footer-contact-item {
        flex-direction: row;
        /* back to side-by-side on desktop */
        align-items: flex-start;
        justify-content: flex-start;
        text-align: left;
        gap: 0.875rem;
    }
}

.footer-contact-item .contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.footer-contact-item:hover .contact-icon { background: rgba(255,255,255,0.18); }

.footer-contact-item .contact-label { font-size: 0.75rem; color: #71717a; margin-bottom: 0.125rem; }
.footer-contact-item .contact-value { font-size: 0.875rem; color: #e4e4e7; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  font-size: 0.8125rem;
  color: #71717a;
}

.footer-bottom a {
  color: #71717a;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-bottom a:hover { color: #fff; }

/* ============================
   ALERT / TOAST
   ============================ */
.alert-success-custom {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  color: #15803d;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
}

.alert-danger-custom {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  color: #dc2626;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
}

/* ============================
   GRADIENT BG HELPERS
   ============================ */
.bg-blue-gradient { background: linear-gradient(135deg, #eff6ff 0%, #fff 50%, #ecfeff 100%); }
.bg-purple-gradient { background: linear-gradient(135deg, #faf5ff 0%, #fff 50%, #fdf2f8 100%); }
.bg-emerald-gradient { background: linear-gradient(135deg, #f0fdf4 0%, #fff 50%, #f0fdfa 100%); }
.bg-zinc-gradient { background: linear-gradient(135deg, #fafafa 0%, #fff 100%); }

/* Gradient icon boxes */
.icon-blue { background: linear-gradient(135deg, #1d4ed8, #0891b2) !important;
            color: #fff;}
.icon-purple { background: linear-gradient(135deg, #a855f7, #ec4899) !important; }
.icon-emerald { background: linear-gradient(135deg, #10b981, #14b8a6) !important; }
.icon-orange { background: linear-gradient(135deg, #f97316, #ef4444) !important; }
.icon-indigo { background: linear-gradient(135deg, #6366f1, #a855f7) !important; }
.icon-pink { background: linear-gradient(135deg, #ec4899, #f43f5e) !important; }
.icon-brand { background: var(--brand-dark) !important; }

/* ============================
   PAGE TRANSITION
   ============================ */
.page-content {
  animation: pageFadeIn 0.25s ease;
}

@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================
   RESPONSIVE TWEAKS
   ============================ */
@media (max-width: 768px) {
  .hero-home { padding: 60px 0 80px; }
  .feature-list { grid-template-columns: 1fr; }
  .vertical-image img { height: 300px; }
  .info-panel-light, .info-panel-dark { padding: 1.75rem; }
  .cta-card { padding: 3rem 1.5rem; }
  .page-header { padding: 60px 0; }
  .process-step { flex-direction: column; gap: 1rem; }
  .contact-info-card { padding: 1.5rem; }
  .success-card { padding: 2.5rem 1.5rem; }
}

@media (max-width: 576px) {
  .btn-brand, .btn-outline-brand, .btn-white, .btn-outline-white {
    width: 100%;
    justify-content: center;
  }
  .hero-buttons { flex-direction: column; }
  .img-badges { bottom: 1rem; left: 1rem; right: 1rem; }
}

/* Scroll to top */
.scroll-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--brand-dark);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s;
  z-index: 900;
  box-shadow: 0 4px 16px rgba(14,26,43,0.3);
}

.scroll-top-btn.visible { opacity: 1; transform: translateY(0); }
.scroll-top-btn:hover { background: var(--brand-mid); transform: translateY(-2px); }
