/* ═══════════════════════════════════════════════════════
   LUMALIS — Service page styles (extends style.css)
   ═══════════════════════════════════════════════════════ */

/* ─── SERVICE HERO ─── */
.s-hero {
  position: relative; min-height: auto;
  display: flex; align-items: center;
  background: var(--navy); overflow: hidden;
}
.s-hero__bg { position: absolute; inset: 0; }
.s-hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.15; filter: grayscale(0.5);
}
.s-hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(170deg, rgba(15,23,66,0.95) 0%, rgba(15,23,66,0.7) 50%, rgba(26,38,122,0.85) 100%);
}
.s-hero__inner {
  position: relative; z-index: 1; width: 100%;
  padding: 148px 24px 44px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px;
}
.s-hero__content { max-width: 620px; }
.s-hero__breadcrumb { font-size: 13px; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.s-hero__breadcrumb a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.s-hero__breadcrumb a:hover { color: #fff; }
.s-hero__breadcrumb span { color: rgba(255,255,255,0.7); }
.s-hero h1 {
  font-size: clamp(30px, 4vw, 44px); font-weight: 800;
  line-height: 1.12; color: #fff; margin-bottom: 16px; letter-spacing: -0.02em;
}
.s-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--pink-soft), #a78bfa);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.s-hero__lead { font-size: 15px; line-height: 1.65; color: rgba(255,255,255,0.6); max-width: 500px; margin-bottom: 20px; }

.s-hero__mini-stats { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.s-hero__mini-stats span { font-size: 13px; color: rgba(255,255,255,0.55); }
.s-hero__mini-stats strong { color: #fff; }
.s-hero__mini-sep { width: 1px; height: 16px; background: rgba(255,255,255,0.15); }

.s-hero__cta-panel { flex-shrink: 0; }
.s-hero__cta-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; padding: 28px; width: 280px;
  backdrop-filter: blur(12px); text-align: left;
}
.s-hero__cta-card h3 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.s-hero__cta-card p { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 14px; line-height: 1.5; }
.s-hero__cta-btn { width: 100%; justify-content: center; font-size: 13px; padding: 11px 20px; }
.s-hero__cta-note { display: block; text-align: center; font-size: 11px; color: rgba(255,255,255,0.25); margin-top: 8px; }

/* ─── PROBLEM / SOLUTION ─── */
.s-problem { padding: 72px 0; }
.s-problem__inner { display: flex; flex-direction: column; gap: 36px; }
.s-problem__text { max-width: 520px; }
.s-problem__text h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 400; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 10px; }
.s-problem__text h2 strong { font-weight: 800; }
.s-problem__text p { font-size: 15px; color: var(--text-secondary); }
.s-problem__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.problem-card {
  padding: 32px; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--surface);
}
.problem-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; color: var(--text-secondary); }

.problem-list { display: flex; flex-direction: column; gap: 14px; }
.problem-list li {
  font-size: 15px; line-height: 1.4; padding-left: 32px; position: relative;
  display: flex; align-items: center; min-height: 24px;
}
/* Bad list — red minus rounded square */
.problem-list--bad li { color: var(--text-secondary); }
.problem-list--bad li::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px;
  border-radius: 6px; background: #fef2f2;
}
.problem-list--bad li::after {
  content: ''; position: absolute; left: 7px; top: 50%; transform: translateY(-50%);
  width: 8px; height: 2px; background: #ef4444; border-radius: 1px;
}
/* Good list — check rounded square (dark filled) */
.problem-list--good li { color: rgba(255,255,255,0.9); font-weight: 500; }
.problem-list--good li::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px;
  border-radius: 7px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
}
.problem-list--good li::after {
  content: ''; position: absolute; left: 9px; top: 50%;
  transform: translateY(-60%) rotate(45deg);
  width: 5px; height: 9px; border: solid var(--pink-soft); border-width: 0 2.5px 2.5px 0;
}

.problem-card--green { background: var(--navy); border-color: transparent; }
.problem-card--green h3 { color: #fff; }

/* ─── PILLARS (How it works) ─── */
.s-pillars { padding: 72px 0; background: var(--surface); }
.s-pillars__head { margin-bottom: 40px; max-width: 480px; }
.s-pillars__head h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
/* Backbone block */
.s-pillars__backbone {
  display: flex; gap: 40px; align-items: stretch;
  background: var(--navy); border-radius: var(--radius); padding: 40px;
  margin-bottom: 20px;
}
.backbone__content { flex: 1; }
.backbone__badge {
  display: inline-block; padding: 4px 12px; border-radius: 50px;
  background: rgba(232,69,143,0.15); color: var(--pink-soft);
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 14px; border: 1px solid rgba(232,69,143,0.2);
}
.backbone__content h3 { font-size: 24px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.backbone__content p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.6; margin-bottom: 8px; }
.backbone__content p strong { color: #fff; }
.backbone__items { flex: 0 0 380px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.backbone__item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 18px; border-radius: 10px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
}
.backbone__item svg { flex-shrink: 0; margin-top: 2px; color: var(--pink-soft); }
.backbone__item strong { display: block; font-size: 14px; color: #fff; }
.backbone__item span { font-size: 12px; color: rgba(255,255,255,0.5); }

.s-pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.pillar__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.pillar__icon { flex-shrink: 0; }

.pillar {
  padding: 32px; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--bg); transition: all 0.3s;
}
.pillar:hover { border-color: var(--indigo); box-shadow: 0 8px 32px rgba(26,38,122,0.06); }
.pillar__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--navy); color: #fff; font-size: 13px; font-weight: 800;
  margin-bottom: 16px;
}
.pillar h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.pillar > p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px; }
.pillar > p strong { color: var(--text); }
.pillar__list { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 1px solid var(--border); }
.pillar__list li {
  font-size: 13px; color: var(--text); padding-left: 18px; position: relative; line-height: 1.5;
}
.pillar__list li::before { content: '→'; position: absolute; left: 0; color: var(--indigo); font-weight: 700; font-size: 12px; }

/* ─── QUOTE ─── */
.s-quote { padding: 56px 0; }
.s-quote__inner { max-width: 720px; margin: 0 auto; text-align: center; }
.s-quote blockquote::before {
  content: '"'; font-size: 72px; font-weight: 800; line-height: 1;
  color: var(--pink); opacity: 0.15; display: block; margin-bottom: -16px;
}
.s-quote blockquote p { font-size: 17px; line-height: 1.65; color: var(--text); font-style: italic; margin-bottom: 16px; }
.s-quote blockquote strong { font-style: normal; }
.s-quote footer { display: flex; flex-direction: column; gap: 2px; }
.s-quote footer strong { font-size: 15px; }
.s-quote footer span { font-size: 13px; color: var(--text-secondary); }

/* ─── FOR WHO ─── */
.s-for { padding: 72px 0; background: var(--surface); }
.s-for__inner { }
.s-for__text { max-width: 520px; margin-bottom: 36px; }
.s-for__text h2 { font-size: clamp(22px, 2.8vw, 30px); font-weight: 400; line-height: 1.25; margin-bottom: 10px; }
.s-for__text h2 strong { font-weight: 800; }
.s-for__text p { font-size: 15px; color: var(--text-secondary); }
.s-for__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.for-card {
  padding: 28px; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--bg); transition: all 0.3s;
}
.for-card:hover { border-color: var(--indigo); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(26,38,122,0.06); }
.for-card span { font-size: 28px; display: block; margin-bottom: 12px; }
.for-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.for-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

/* ─── PROCESS (dark, reuses homepage styles) ─── */
.s-process { padding: 64px 0; background: var(--navy); }
.s-process__inner { display: flex; gap: 48px; }
.s-process__header { flex: 0 0 260px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.s-process__header h2 { font-size: clamp(20px, 2.5vw, 26px); font-weight: 800; line-height: 1.25; color: #fff; }
.s-process__header p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.6); }
.s-process__header p strong { color: #fff; }
.s-process__steps { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.s-process .pstep { color: #fff; }
.s-process .pstep h3 { color: #fff; font-size: 16px; }
.s-process .pstep p { color: rgba(255,255,255,0.55); font-size: 13px; }
.s-process .pstep p strong { color: #fff; }
.s-process .pstep__dot { background: #fff; color: var(--navy); }
.s-process .pstep__line { background: rgba(255,255,255,0.12); }

/* ─── CTA ─── */
.s-cta { padding: 72px 0; background: linear-gradient(135deg, var(--navy), var(--blue)); }
.s-cta__inner { display: flex; gap: 48px; }
.s-cta__content { flex: 1; }
.s-cta__content h2 { font-size: clamp(26px, 3.5vw, 36px); font-weight: 800; color: #fff; margin-bottom: 16px; }
.s-cta__content p { font-size: 15px; color: rgba(255,255,255,0.6); margin-bottom: 24px; }
.s-cta__form-steps {
  display: flex; gap: 4px; margin-bottom: 16px;
}
.s-cta__form-step {
  flex: 1; padding: 8px 0; text-align: center;
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.3);
  border-bottom: 2px solid rgba(255,255,255,0.08);
  transition: all 0.2s;
}
.s-cta__form-step.is-active { color: var(--pink-soft); border-color: var(--pink-soft); }
.s-cta__form { display: flex; flex-direction: column; gap: 12px; }
.s-cta__row { display: flex; gap: 12px; }
.s-cta__row input { flex: 1; }
.s-cta__form input, .s-cta__form textarea {
  padding: 12px 16px; border: 1px solid rgba(255,255,255,0.15); border-radius: 8px;
  background: rgba(255,255,255,0.06); color: #fff; font-family: inherit; font-size: 14px;
  outline: none; transition: border-color 0.2s; width: 100%;
}
.s-cta__form input::placeholder, .s-cta__form textarea::placeholder { color: rgba(255,255,255,0.35); }
.s-cta__form input:focus, .s-cta__form textarea:focus, .s-cta__form select:focus { border-color: var(--pink-soft); box-shadow: 0 0 0 3px rgba(232,69,143,0.15); }
.s-cta__form textarea { resize: vertical; min-height: 60px; }
.s-cta__form select {
  padding: 12px 16px; border: 1px solid rgba(255,255,255,0.15); border-radius: 8px;
  background: rgba(255,255,255,0.06); color: #fff; font-family: inherit; font-size: 14px;
  outline: none; appearance: none; width: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.s-cta__form select option { background: var(--navy); color: #fff; }
.s-cta__fieldset { border: none; padding: 0; }
.s-cta__fieldset legend { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.7); margin-bottom: 10px; }
.s-cta__checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.s-cta__checks label {
  display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.7);
  cursor: pointer; padding: 8px 12px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.2s;
}
.s-cta__checks label:has(input:checked) { background: rgba(232,69,143,0.1); border-color: rgba(232,69,143,0.3); color: #fff; }
.s-cta__checks input[type="checkbox"] {
  width: 16px; height: 16px; accent-color: var(--pink-soft); cursor: pointer;
}

.s-cta__sidebar { flex: 0 0 280px; display: flex; flex-direction: column; gap: 28px; }
.s-cta__contact h3 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.s-cta__phone { display: block; font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.s-cta__contact a:not(.s-cta__phone) { font-size: 14px; color: rgba(255,255,255,0.6); }
.s-cta__guarantee {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px; border-radius: 10px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
}
.s-cta__guarantee svg { flex-shrink: 0; margin-top: 2px; }
.s-cta__guarantee strong { display: block; font-size: 14px; color: #fff; margin-bottom: 2px; }
.s-cta__guarantee span { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.4; }

.s-cta__mini-quote {
  padding: 16px; border-radius: 10px; border-left: 3px solid var(--pink-soft);
  background: rgba(255,255,255,0.03);
}
.s-cta__mini-quote p { font-size: 14px; color: rgba(255,255,255,0.75); font-style: italic; margin-bottom: 8px; line-height: 1.5; }
.s-cta__mini-quote footer { font-size: 12px; color: rgba(255,255,255,0.4); }

.s-cta__trust { display: flex; gap: 8px; }
.s-cta__trust-item {
  padding: 14px 18px; border-radius: 10px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
}
.s-cta__trust-item strong { display: block; font-size: 20px; color: #fff; }
.s-cta__trust-item span { font-size: 12px; color: rgba(255,255,255,0.5); }

/* ─── FOUNDERS ─── */
.s-founders { padding: 72px 0; background: var(--bg); }
.s-founders__inner { display: flex; align-items: center; gap: 56px; }
.s-founders__photo {
  flex: 0 0 380px; border-radius: var(--radius); overflow: hidden;
  box-shadow: 8px 8px 0 var(--border);
}
.s-founders__photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.s-founders__content { flex: 1; text-align: center; }
.s-founders__quote-mark { margin: 0 auto 16px; opacity: 0.15; }
.s-founders__content blockquote p {
  font-size: clamp(18px, 2vw, 22px); line-height: 1.6; color: var(--text);
  margin-bottom: 24px; font-style: normal;
}
.s-founders__author { margin-bottom: 16px; }
.s-founders__author strong { display: block; font-size: 16px; color: var(--blue); }
.s-founders__author span { font-size: 14px; color: var(--text-secondary); }
.s-founders__line { width: 48px; height: 3px; background: var(--pink); margin: 0 auto; border-radius: 2px; }

@media (max-width: 1024px) {
  .s-founders__inner { flex-direction: column; gap: 32px; }
  .s-founders__photo { flex: none; max-width: 320px; }
}

/* ─── FAQ ─── */
.s-faq { padding: 72px 0; }
.s-faq__inner { display: flex; gap: 56px; }
.s-faq__head { flex: 0 0 260px; }
.s-faq__head h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 800; letter-spacing: -0.02em; }
.s-faq__list { flex: 1; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .s-hero__inner { flex-direction: column; align-items: flex-start; }
  .s-hero__highlights { flex-direction: row; flex-wrap: wrap; }
  .s-problem__cards { grid-template-columns: 1fr; }
  .s-pillars__backbone { flex-direction: column; }
  .backbone__items { flex: none; }
  .s-pillars__grid { grid-template-columns: 1fr; }
  .s-for__grid { grid-template-columns: repeat(2, 1fr); }
  .s-process__inner { flex-direction: column; gap: 28px; }
  .s-process__header { flex: none; }
  .s-process__steps { grid-template-columns: 1fr; gap: 24px; }
  .s-process .pstep__line { display: none; }
  .s-cta__inner { flex-direction: column; }
  .s-cta__sidebar { flex: none; flex-direction: row; gap: 16px; flex-wrap: wrap; }
  .s-faq__inner { flex-direction: column; gap: 24px; }
}

@media (max-width: 768px) {
  .s-hero { min-height: auto; }
  .s-hero__inner { padding: 100px 16px 32px; gap: 24px; }
  .s-hero__highlights { flex-direction: column; }
  .s-hero__content { max-width: 100%; }
  .s-hero__cta-panel { width: 100%; flex: none; }
  .s-hero__cta-card { width: 100%; }
  .s-hero h1 { font-size: clamp(26px, 7vw, 36px); }
  .s-hero__lead { font-size: 14px; }
  .s-hero__mini-stats { flex-direction: column; gap: 6px; }
  .s-hero__mini-sep { display: none; }

  .s-problem { padding: 48px 0; }
  .s-problem__cards { grid-template-columns: 1fr !important; }
  .problem-card { padding: 24px; }

  .s-pillars { padding: 48px 0; }
  .s-pillars__backbone { padding: 24px; gap: 24px; }
  .backbone__items { flex: none !important; }
  .s-pillars__grid { grid-template-columns: 1fr !important; }
  .pillar { padding: 24px; }

  .s-for { padding: 48px 0; }
  .s-for__grid { grid-template-columns: 1fr !important; }

  .s-process { padding: 48px 0; }
  .s-process__inner { flex-direction: column; gap: 24px; }
  .s-process__header { flex: none !important; }
  .s-process__steps { grid-template-columns: 1fr !important; gap: 20px; }
  .s-process .pstep__line { display: none; }
  .s-process .pstep { display: grid; grid-template-columns: 36px 1fr; gap: 0 12px; }
  .s-process .pstep__top { grid-column: 1; grid-row: 1; margin-bottom: 0; }
  .s-process .pstep h3 { grid-column: 2; grid-row: 1; align-self: center; margin-bottom: 4px; }
  .s-process .pstep p { grid-column: 2; grid-row: 2; }

  .s-cta { padding: 48px 0; }
  .s-cta__inner { flex-direction: column; gap: 32px; }
  .s-cta__content h2 { font-size: clamp(22px, 6vw, 30px); }
  .s-cta__row { flex-direction: column; }
  .s-cta__checks { grid-template-columns: 1fr; }
  .s-cta__sidebar { flex: none !important; flex-direction: column; gap: 16px; }
  .s-cta__trust { flex-direction: column; }

  .s-founders { padding: 48px 0; }
  .s-founders__inner { flex-direction: column; gap: 24px; }
  .s-founders__photo { flex: none !important; max-width: 100%; }

  .s-faq { padding: 48px 0; }
  .s-faq__inner { flex-direction: column; gap: 16px; }
  .s-faq__head { flex: none !important; }

  .s-quote { padding: 40px 0; }
  .s-quote blockquote p { font-size: 15px; }
}
