/* Solutions page – Figma 2096:1828 */

body.page-solutions {
  margin: 0;
  background: #f2f2f6;
}

.page-solutions {
  --primary: #ff6562;
  --primary-dark: #e44e4b;
  --primary-20: #ffe0e0;
  --primary-60: #ffa3a1;
  --ink: #121517;
  --ink-l2: #171a1d;
  --muted: rgba(23, 26, 29, 0.6);
  --line: rgba(126, 134, 142, 0.16);
  --bg: #f2f2f6;
  --hero-bg: #fdf3f4;
  --dark-bg: #303030;
  --container: 1400px;
  --font-heading: 'Montserrat', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'PingFang SC', ui-sans-serif, system-ui, 'Helvetica Neue', sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-solutions *,
.page-solutions *::before,
.page-solutions *::after { box-sizing: border-box; }

.page-solutions .container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.page-solutions .center { text-align: center; }

.page-solutions h1,
.page-solutions h2,
.page-solutions h3 { margin-top: 0; }

.page-solutions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 8px 16px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  box-shadow: none;
  transform: none;
}

.page-solutions .btn:hover { transform: none; }

.page-solutions .btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.page-solutions .btn-primary:hover { background: var(--primary-dark); }

.page-solutions .btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.page-solutions .btn-outline:hover { background: rgba(255, 101, 98, 0.06); }

.page-solutions .btn-sm {
  min-height: 40px;
  padding: 8px 12px;
  font-size: 14px;
}

/* Header */
.page-solutions .header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 40px 0 0;
  pointer-events: none;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

.page-solutions .header-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fff;
  border-radius: 24px;
  padding: 16px 32px;
  box-shadow: 0 2px 2px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.08);
  position: relative;
}

.page-solutions .brand { display: flex; text-decoration: none; flex-shrink: 0; }

.page-solutions .brand-text {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.04em;
}

.page-solutions .nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  font-size: 14px;
  color: var(--ink);
}

.page-solutions .nav-links a {
  font-weight: 500;
  text-decoration: none;
  color: inherit;
}

.page-solutions .nav-links a.active,
.page-solutions .nav-links a:hover { color: var(--primary); }

.page-solutions .nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.page-solutions .nav-contact {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.page-solutions .hide-mobile { display: inline-flex; }
.page-solutions .nav-mobile-actions { display: none; }

.page-solutions .mobile-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
  color: var(--ink);
  padding: 4px;
}

/* Hero */
.page-solutions .solutions-hero {
  position: relative;
  z-index: 1;
  min-height: clamp(640px, 52vw, 1000px);
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}

.page-solutions .solutions-hero-bg {
  position: absolute;
  inset: 0;
  background: var(--hero-bg);
  z-index: 0;
}

.page-solutions .solutions-hero-visual {
  position: absolute;
  right: clamp(-40px, 2vw, 80px);
  top: clamp(100px, 12vw, 130px);
  width: min(58%, 1047px);
  height: auto;
  max-height: 573px;
  object-fit: contain;
  object-position: right top;
  pointer-events: none;
  z-index: 0;
}

.page-solutions .solutions-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(253, 243, 244, 0.97) 0%, rgba(253, 243, 244, 0.9) 38%, rgba(253, 243, 244, 0.45) 58%, transparent 78%);
  pointer-events: none;
}

.page-solutions .solutions-hero-bg::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

.page-solutions .solutions-hero-content {
  position: relative;
  z-index: 1;
  padding: 190px 0 80px;
  padding-left: 20px;
}

.page-solutions .solutions-hero-content .eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 7px 12px;
  border-radius: 28px;
  background: linear-gradient(90deg, rgba(58, 58, 58, 0.12), rgba(115, 115, 115, 0.12));
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 24px;
}

.page-solutions .solutions-hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 30px;
  max-width: 760px;
}

.page-solutions .solutions-hero-content .lead {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.4;
  letter-spacing: 0.32px;
  margin: 0;
  max-width: 621px;
}

/* Section header */
.page-solutions .solutions-section-header {
  margin-bottom: 60px;
}

.page-solutions .solutions-section-header .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 7px 12px;
  border-radius: 28px;
  background: var(--primary-20);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 12px;
}

.page-solutions .solutions-section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
}

/* Portfolio */
.page-solutions .solutions-portfolio-section {
  position: relative;
  z-index: 2;
  margin-top: -48px;
  padding: 0 0 120px;
}

.page-solutions .solutions-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.page-solutions .solutions-portfolio-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px 16px;
  text-decoration: none;
  color: inherit;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 4px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-solutions .solutions-portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.12);
}

.page-solutions .portfolio-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 6.667px;
  background: var(--primary-20);
  color: var(--primary-60);
  font-family: var(--font-body);
  font-size: 22.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.4;
}

.page-solutions .portfolio-body {
  flex: 1;
  min-width: 0;
}

.page-solutions .portfolio-body h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 12px;
}

.page-solutions .portfolio-body > p {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--muted);
  margin: 0 0 12px;
}

.page-solutions .portfolio-meta {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--muted);
  margin: 0 0 12px;
}

.page-solutions .portfolio-meta strong {
  font-weight: 500;
}

.page-solutions .portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 400;
  color: var(--primary);
  letter-spacing: 0.28px;
}

.page-solutions .portfolio-link img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* Deployment */
.page-solutions .solutions-deployment-section {
  padding-bottom: 120px;
}

.page-solutions .solutions-deployment-rows {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-solutions .solutions-deployment-row {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.06);
}

.page-solutions .deployment-label {
  flex: 0 0 350px;
  background: #fff5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.4px;
  color: var(--ink);
  text-align: center;
  border-right: 2px solid var(--primary);
}

.page-solutions .deployment-flow {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 33px 40px;
  gap: 16px;
  min-height: 130px;
}

.page-solutions .deployment-step {
  flex: 1;
  max-width: 278px;
  background: rgba(255, 193, 192, 0.2);
  border-radius: 10px;
  padding: 8px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 400;
  line-height: 2;
  color: var(--ink);
  text-align: center;
}

.page-solutions .deployment-plus {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 300;
  color: var(--ink);
}

/* Business */
.page-solutions .solutions-business-section {
  padding-bottom: 80px;
}

.page-solutions .solutions-business {
  background: #fff;
  border-radius: 24px;
  padding: 60px clamp(24px, 8vw, 139px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 4px 24px rgba(0, 0, 0, 0.08);
}

.page-solutions .solutions-business .solutions-section-header {
  margin-bottom: 40px;
}

.page-solutions .solutions-business-divider {
  height: 1px;
  background: var(--line);
  margin-bottom: 40px;
}

.page-solutions .solutions-business-cols {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 24px;
  align-items: start;
}

.page-solutions .solutions-business-col {
  text-align: center;
}

.page-solutions .solutions-business-col h3 {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  color: var(--primary);
  margin: 0 0 20px;
  text-transform: capitalize;
}

.page-solutions .solutions-business-col p {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.28px;
  color: var(--muted);
  margin: 0 auto;
  max-width: 348px;
}

.page-solutions .solutions-business-sep {
  width: 1px;
  height: 87px;
  background: var(--line);
  justify-self: center;
}

/* CTA */
.page-solutions .solutions-cta {
  padding-bottom: 120px;
  text-align: center;
}

.page-solutions .solutions-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--primary);
  margin: 0 auto 40px;
  max-width: 1000px;
}

.page-solutions .solutions-cta p {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink-l2);
  margin: 0 auto 40px;
  max-width: 900px;
}

.page-solutions .solutions-cta .btn {
  min-width: 320px;
}

/* Footer */
.page-solutions .footer {
  background: var(--dark-bg);
  color: #fff;
  padding: 60px 0;
}

.page-solutions .footer-grid {
  display: grid;
  grid-template-columns: minmax(200px, 280px) repeat(5, minmax(0, 1fr));
  gap: 28px 20px;
  align-items: start;
  
}

.page-solutions .footer-brand { max-width: 280px; }

.page-solutions .footer-logo {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.04em;
}

.page-solutions .footer-brand p {
  font-size: 16px;
  line-height: 1.4;
  color: rgba(255,255,255,.6);
  margin: 24px 0 0;
}

.page-solutions .footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-solutions .footer-col h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
  color: #fff;
}

.page-solutions .footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  line-height: 1.5;
}

.page-solutions .footer-col a:hover { color: #fff; }

.page-solutions .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 48px;
  padding-top: 24px;
  font-size: 14px;
  color: rgba(255,255,255,.6);
  flex-wrap: wrap;
  gap: 12px;
}

/* Responsive */
@media (max-width: 1200px) {
  .page-solutions .solutions-portfolio-grid { grid-template-columns: 1fr; }
  .page-solutions .deployment-label { flex: 0 0 240px; font-size: 16px; }
  .page-solutions .deployment-step { font-size: 14px; }

  .page-solutions .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .page-solutions .footer-brand { grid-column: 1 / -1; max-width: 420px; }
}

@media (max-width: 980px) {
  .page-solutions .header { padding: 12px 0 0; }
  .page-solutions .header-inner { padding: 12px 16px; border-radius: 16px; }
  .page-solutions .hide-mobile { display: none !important; }
  .page-solutions .mobile-toggle { display: block; }

  .page-solutions .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border: 1px solid #e7eaf0;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 16px 40px rgba(16,24,40,.12);
    z-index: 200;
  }

  .page-solutions .nav-links.open { display: flex; }
  .page-solutions .nav-links a { padding: 14px 12px; border-radius: 10px; }
  .page-solutions .nav-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid #e7eaf0;
  }
  .page-solutions .nav-mobile-actions .btn { width: 100%; }
  .page-solutions .nav-actions { margin-left: auto; gap: 8px; }

  .page-solutions .solutions-hero { min-height: auto; }
  .page-solutions .solutions-hero-visual {
    opacity: 0.4;
    right: -15%;
    width: 65%;
    top: 120px;
  }
  .page-solutions .solutions-hero-bg { background-position: 75% 20%; }
  .page-solutions .solutions-hero-content { padding: 150px 0 60px; }

  .page-solutions .solutions-deployment-row { flex-direction: column; }
  .page-solutions .deployment-label {
    flex: none;
    width: 100%;
    border-right: none;
    border-bottom: 2px solid var(--primary);
  }
  .page-solutions .deployment-flow {
    flex-direction: column;
    padding: 24px 20px;
  }
  .page-solutions .deployment-step { max-width: 100%; width: 100%; }
  .page-solutions .deployment-plus { transform: rotate(90deg); }

  .page-solutions .solutions-business-cols {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .page-solutions .solutions-business-sep { display: none; }
  .page-solutions .footer-grid { display: grid; grid-template-columns: 1fr 1fr; }
  .page-solutions .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .page-solutions .container { width: min(100% - 24px, var(--container)); }
  .page-solutions .solutions-hero-bg { background-position: 80% 15%; }
  .page-solutions .solutions-hero-content { padding: 130px 0 48px; }
  .page-solutions .solutions-portfolio-section,
  .page-solutions .solutions-deployment-section,
  .page-solutions .solutions-business-section,
  .page-solutions .solutions-cta { padding-bottom: 80px; }
  .page-solutions .solutions-business { padding: 40px 20px; }
  .page-solutions .solutions-cta .btn { min-width: 0; width: 100%; }
  .page-solutions .footer-grid { grid-template-columns: 1fr; }
}
