/* X-Ray Agency — Section styles */

/* About */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 920px) { .pillars { grid-template-columns: 1fr; } }
.pillar { padding: 28px; }
.pillar__k { color: var(--accent); margin-bottom: 18px; }
.pillar h3 { margin-bottom: 10px; }
.pillar p { font-size: 15px; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 820px) { .services-grid { grid-template-columns: 1fr; } }
.service { padding: 32px; min-height: 240px; position: relative; color: var(--ink); }
.service__icon { color: var(--accent); margin-bottom: 22px; opacity: 0.95; transition: transform .3s ease; display: inline-block; }
.service:hover .service__icon { transform: translateY(-2px); }
.service__meta { color: var(--ink-3); margin-bottom: 12px; }
.service h3 { margin-bottom: 12px; }
.service p { font-size: 15px; max-width: 52ch; }
.service__num { position: absolute; top: 24px; right: 28px; color: var(--ink-3); }

/* Selection (checklist) */
.checks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.check { display: grid; grid-template-columns: 60px 1fr 28px; gap: 28px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: flex-start; transition: background .25s ease; }
.check:hover { background: linear-gradient(90deg, color-mix(in oklab, var(--accent) 5%, transparent), transparent 60%); }
.check__n { color: var(--accent); padding-top: 4px; }
.check__body h3 { margin-bottom: 6px; }
.check__body p { max-width: 64ch; font-size: 15px; }
.check__mark { color: var(--signal); padding-top: 4px; opacity: 0.6; transition: opacity .25s ease; }
.check:hover .check__mark { opacity: 1; }
@media (max-width: 720px) { .check { grid-template-columns: 40px 1fr 24px; gap: 12px; } }
.checks__footer { display: flex; gap: 14px; padding: 28px 0 0; align-items: flex-start; }
.checks__footer-tag { display: inline-block; width: 22px; height: 1px; background: var(--accent); margin-top: 12px; flex-shrink: 0; }
.checks__footer p { color: var(--ink); font-size: 15px; max-width: 64ch; }

/* Process */
.process-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.process-grid--five { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1020px) { .process-grid--five { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 920px) { .process-grid { grid-template-columns: 1fr; } .process-grid--five { grid-template-columns: 1fr; } }
.process-step { position: relative; padding: 32px 28px 32px 28px; border-left: 1px solid var(--line); }
.process-step:first-child { border-left: 0; }
@media (max-width: 1020px) {
  .process-grid--five .process-step:nth-child(odd) { border-left: 1px solid var(--line); }
  .process-grid--five .process-step:nth-child(even) { padding-left: 28px; }
}
@media (max-width: 920px) {
  .process-step { border-left: 0 !important; border-top: 1px solid var(--line); padding: 28px 0 !important; }
  .process-step:first-child { border-top: 0; padding-top: 0 !important; }
}
.process-step__rail { position: absolute; left: -1px; top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, var(--accent), transparent 60%); opacity: 0; transition: opacity .4s ease; }
.process-step:hover .process-step__rail { opacity: 1; }
.process-step__dot { position: absolute; left: -4px; top: 32px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
@media (max-width: 920px) { .process-step__dot { left: 0; top: 24px; } .process-step:first-child .process-step__dot { display: none; } }
.process-step__n { color: var(--accent); margin-bottom: 14px; }
.process-step h3 { margin-bottom: 10px; }
.process-step p { font-size: 14.5px; max-width: 30ch; }

/* Audience */
.audience-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.audience-item { display: grid; grid-template-columns: 80px 1fr; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); transition: padding .25s ease, background .25s ease; }
.audience-item:hover { padding-left: 12px; background: linear-gradient(90deg, color-mix(in oklab, var(--accent) 6%, transparent), transparent 50%); }
.audience-item__num { color: var(--ink-3); }
.audience-item__text { font-family: var(--display); font-size: clamp(20px, 2.4vw, 30px); color: var(--ink); letter-spacing: -0.01em; }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (max-width: 720px) { .why-grid { grid-template-columns: 1fr; } }
.why-item { padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; }
.why-item__check {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: color-mix(in oklab, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in oklab, var(--accent) 50%, var(--line-2));
  color: var(--accent);
  margin-bottom: 18px;
}
.why-item h3 { margin-bottom: 8px; }
.why-item p { font-size: 14.5px; max-width: 44ch; }

/* Dont */
.dont-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (max-width: 720px) { .dont-grid { grid-template-columns: 1fr; } }
.dont-item { padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; }
.dont-item__x {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(217,119,119,0.12);
  border: 1px solid rgba(217,119,119,0.4);
  color: #d97777;
  margin-bottom: 18px;
}
.dont-item h3 { margin-bottom: 8px; }
.dont-item p { font-size: 14.5px; max-width: 44ch; }

/* FAQ */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; cursor: pointer; transition: padding .2s ease; }
.faq-item:hover { padding-left: 8px; }
.faq-item__q { display: flex; justify-content: space-between; align-items: center; gap: 24px; font-family: var(--display); font-size: clamp(17px, 1.8vw, 22px); letter-spacing: -0.01em; color: var(--ink); }
.faq-item__plus { color: var(--accent); font-size: 24px; line-height: 1; min-width: 18px; text-align: right; }
.faq-item.is-open .faq-item__plus { color: var(--ink-2); }
.faq-item__a { padding-top: 12px; max-width: 64ch; }
.faq-item__a p { font-size: 15px; color: var(--ink-2); }

/* Final CTA */
.final { padding-top: 80px; padding-bottom: 80px; }
.final__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 920px) { .final__grid { grid-template-columns: 1fr; gap: 32px; } }
.final__title { margin: 18px 0 18px; font-size: clamp(36px, 4.4vw, 60px); }
.final__title-b { background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: italic; font-weight: 400; }
.final__sub { font-size: 17px; max-width: 44ch; }

.final__form { background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005)); border: 1px solid var(--line-2); border-radius: 16px; padding: 28px; }
.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-row label { color: var(--ink-3); }
.form-row input, .form-row textarea {
  background: rgba(0,0,0,0.3); border: 1px solid var(--line); border-radius: 8px;
  color: var(--ink); padding: 12px 14px; font-family: var(--body); font-size: 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: color-mix(in oklab, var(--accent) 60%, var(--line-2)); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 14%, transparent); }
.form-row--split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row--split > div { display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 540px) { .form-row--split { grid-template-columns: 1fr; } }
.form-submit { width: 100%; justify-content: center; margin-top: 8px; }
.form-disclaimer { color: var(--ink-3); margin-top: 12px; text-align: center; }
