/* Opt-in service reference layout. Loaded only for presentation: reference. */
.seo-reference { --sr-ink: #c0cedb; padding-bottom: 96px; }
.seo-reference > .wrap { max-width: 1240px; }
.seo-reference p { color: var(--sr-ink); font-size: 17px; line-height: 1.7; margin: 0 0 18px; }
.seo-reference h2 { font-size: clamp(28px,3.1vw,42px); line-height: 1.15; letter-spacing: -1.2px; margin: 12px 0 24px; text-wrap: balance; }
.seo-reference h3 { font-size: 21px; line-height: 1.3; margin: 0 0 12px; letter-spacing: -.35px; }
.seo-reference a:focus-visible, .seo-reference summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; border-radius: 6px; }
.seo-reference [id] { scroll-margin-top: 115px; }
.sr-kicker { color: #70d5fb; font-size: 12px; letter-spacing: 1.8px; text-transform: uppercase; font-weight: 700; }
.sr-hero { display: grid; grid-template-columns: 1.16fr 1fr; gap: 24px; align-items: center; padding: 24px 0 0; }
.sr-hero-copy.catalog-heading { padding: 32px 0; position: relative; z-index: 1; }
.sr-hero-copy h1 { font-size: clamp(40px,4.8vw,66px); max-width: 720px; letter-spacing: -2.7px; line-height: 1.04; text-wrap: balance; }
.sr-hero-copy .lead { font-size: 19px; max-width: 550px; }
.sr-hero-copy .catalog-actions { margin-top: 30px; }
.seo-reference .catalog-actions { gap: 12px; }
.seo-reference .catalog-actions a { min-width: 154px; text-align: center; }
.sr-text-link { color: #85dafa; text-decoration: underline; text-decoration-color: #42758a; text-underline-offset: 5px; line-height: 1.55; }
.sr-text-link span { display: inline-block; margin-left: 5px; }
.sr-location { display: inline-block; margin-top: 25px; font-size: 14px; }
.sr-hero-visual { position: relative; margin: 0; height: 580px; overflow: hidden; border-radius: 28px; background: #030d16; }
.sr-hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.sr-hero-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 55%,#03101ee8); pointer-events: none; }
.sr-hero-visual figcaption { position: absolute; bottom: 25px; left: 24px; right: 24px; z-index: 1; border: 1px solid #a6d8ed30; border-radius: 14px; padding: 16px; background: #081725b5; backdrop-filter: blur(12px); font-size: 14px; line-height: 1.5; display: flex; gap: 12px; align-items: center; }
.sr-light { width: 7px; height: 7px; border-radius: 50%; background: #8be8ff; box-shadow: 0 0 14px #3bc7ff; flex: 0 0 auto; }
.sr-hero-tags { display: flex; list-style: none; padding: 26px 0; margin: 0; gap: 34px; color: #c7d6e2; font-size: 14px; }
.sr-hero-tags li::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); margin: 0 10px 2px 0; }
.sr-page-nav { display: flex; flex-wrap: wrap; gap: 8px 26px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sr-page-nav a { display: inline-flex; gap: 16px; align-items: center; min-height: 44px; color: #b4c8d9; font-size: 14px; }
.sr-page-nav a span { color: #5aa7cc; }
.sr-section { margin-top: 100px; }
.sr-section-heading { max-width: 790px; margin-bottom: 34px; }
.sr-card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.sr-card { padding: 28px; border: 1px solid #74b3e324; background: linear-gradient(135deg,#0b2134b0,#071523a0); border-radius: 20px; min-width: 0; }
.sr-card p { font-size: 16px; margin: 0; }
.sr-card.reveal { transition-delay: calc(var(--sr-order,0) * 45ms); }
.sr-step-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.sr-step-grid .sr-card { padding: 22px; }
.sr-step-number { display: block; font-size: 13px; color: #78d9ff; margin-bottom: 30px; }
.sr-step-grid h3 { font-size: 18px; }
.sr-step-grid p { font-size: 15px; }
.sr-note { padding: 20px 24px; border-left: 2px solid #3bc7ff90; background: #0c223358; border-radius: 0 12px 12px 0; }
.seo-reference p.sr-note { margin-top: 24px; font-size: 15px; max-width: 1000px; }
.sr-scene { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 60px; align-items: center; padding: 45px; border-radius: 28px; border: 1px solid #73c5f028; background: radial-gradient(ellipse at 80% 60%,#0a669b29,transparent 65%),#061522; }
.sr-scene .sr-section-heading { margin: 0; }
.sr-assessment { min-height: 340px; display: grid; align-content: center; position: relative; padding: 28px; background: radial-gradient(ellipse at 100% 50%,#36c1f01a,transparent 70%); }
.sr-assessment ol { list-style: none; margin: 0; padding: 0; position: relative; }
.sr-assessment ol::before { content: ''; position: absolute; width: 1px; top: 10px; bottom: 46px; left: 6px; background: linear-gradient(#185174,#54cdec); }
.sr-assessment li { position: relative; display: flex; align-items: baseline; gap: 24px; padding-bottom: 26px; }
.sr-assessment li:last-child { padding-bottom: 0; }
.sr-assessment-dot { width: 13px; height: 13px; border: 1px solid #6fcee5; background: #0a3447; border-radius: 50%; flex: 0 0 auto; z-index: 1; }
.sr-assessment li:last-child .sr-assessment-dot { background: #9de9f7; box-shadow: 0 0 20px #53d9ff85; }
.sr-assessment h3 { margin-bottom: 6px; }
.sr-assessment p { font-size: 14px; margin: 0; }
.sr-assessment-caption { margin: 25px 0 0 37px; color: #90dff4; font-size: 22px; line-height: 1.4; }
.sr-assessment-caption span { color: #9baebb; font-size: 14px; }
.sr-service-links { grid-column: 1 / -1; list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); }
.sr-service-links a { display: inline-block; border-radius: 10px; padding: 12px 15px; background: #0a2336; color: #91d9f8; font-size: 14px; }
.sr-timeline .sr-step-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; }
.sr-timeline .sr-card { background: none; border: 0; border-top: 1px solid #23759a66; border-radius: 0; padding: 28px 30px 34px 0; }
.sr-timeline .sr-step-number { font-size: 26px; margin-bottom: 22px; color: #5fcbf5; }
.sr-note.sr-section { background: linear-gradient(110deg,#0b2939,#0a1724); border: 1px solid #3bc7ff30; border-left: 3px solid var(--cyan); border-radius: 20px; padding: 36px 42px; }
.sr-note .sr-section-heading { max-width: 960px; margin: 0; }
.sr-note.sr-section h2 { font-size: 30px; }
.sr-note .sr-section-heading p:last-child { margin-bottom: 0; }
.sr-recovery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.sr-recovery { padding: 34px; border: 1px solid #478fb53d; border-radius: 22px; background: #0921308c; }
.sr-recovery-alert { background: linear-gradient(140deg,#361d2875,#111726); border-color: #dd757a44; }
.sr-status { height: 3px; width: 32px; margin-bottom: 26px; background: #5dcbe5; }
.sr-recovery-alert .sr-status { background: #fa787e; }
.sr-recovery ul { padding-left: 19px; margin: 20px 0 24px; color: #e0e8ed; }
.sr-recovery li { line-height: 1.65; margin-bottom: 12px; }
.sr-recovery p { font-size: 16px; }
.sr-price { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 44px; background: radial-gradient(ellipse at 95% 100%,#194f8329,transparent 70%),#0b1b2a; border: 1px solid #528bad40; border-radius: 24px; padding: 42px; }
.sr-price p { max-width: 760px; }
.seo-reference .sr-small { font-size: 14px; color: #9bb1c5; margin-bottom: 0; }
.sr-price-actions { display: grid; gap: 12px; text-align: center; }
.sr-principles .sr-card-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 40px; }
.sr-principles .sr-card { background: none; padding: 25px 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.sr-principles .sr-card h3 { font-size: 19px; }
.sr-visitors { margin-top: 65px; padding: 32px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 50px; justify-content: space-between; }
.sr-visitors h2 { font-size: 28px; margin-bottom: 14px; }
.sr-visitors p { max-width: 770px; margin: 0; }
.sr-visitors > a { flex: 0 0 210px; }
.sr-faq { display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; }
.sr-faq details { border-bottom: 1px solid #558cac35; }
.sr-faq details:first-child { border-top: 1px solid #558cac35; }
.sr-faq summary { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 25px 0; cursor: pointer; list-style: none; }
.sr-faq summary::-webkit-details-marker { display: none; }
.sr-faq h3 { font-size: 18px; margin: 0; }
.sr-faq-toggle { position: relative; width: 18px; height: 18px; flex: 0 0 auto; color: #82d7ff; }
.sr-faq-toggle::before,.sr-faq-toggle::after { content: ''; position: absolute; width: 14px; height: 1px; top: 8px; left: 2px; background: currentColor; }
.sr-faq-toggle::after { transform: rotate(90deg); }
.sr-faq details[open] .sr-faq-toggle::after { transform: none; }
.sr-faq details[open] summary { color: #8bddff; }
.sr-faq details p { padding: 0 36px 5px 0; font-size: 16px; }
.sr-related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.sr-related-grid h3 { font-size: 20px; display: flex; justify-content: space-between; gap: 16px; }
.sr-related-grid h3 span { color: #6ecdf1; }
.sr-related-grid p { font-size: 15px; }
.sr-related-grid > a { transition: transform .2s, border-color .2s; }
.sr-contact { padding: 42px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 70px; border: 1px solid #79bee22b; border-radius: 26px; background: linear-gradient(130deg,#0b2538,#071420); }
.sr-contact address { border-left: 1px solid var(--line); padding-left: 42px; font-style: normal; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.sr-contact address p { font-size: 16px; margin: 0; }
.sr-contact address strong { font-size: 20px; }
.sr-phone { font-size: 24px; margin: 9px 0; }
@media (hover:hover) {
  .seo-reference a:hover { color: #d0f4ff; }
  .sr-related-grid > a:hover { transform: translateY(-3px); border-color: #69cfff7a; }
  .sr-faq summary:hover { color: #8bddff; }
}
@media (max-width:1100px) {
  .sr-hero-visual { height: 520px; }
  .sr-hero-copy h1 { font-size: 49px; }
  .sr-step-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .sr-scene { gap: 24px; padding: 30px; }
  .sr-faq { gap: 32px; }
}
@media (max-width:760px) {
  .seo-reference { padding-top: 20px; }
  .seo-reference > .wrap { width: calc(100% - 36px); }
  .seo-reference h2 { font-size: 30px; letter-spacing: -.8px; }
  .seo-reference p { font-size: 16px; }
  .sr-hero { grid-template-columns: 1fr; gap: 12px; padding-top: 0; }
  .sr-hero-copy.catalog-heading { padding: 32px 0 10px; }
  .sr-hero-copy h1 { font-size: clamp(36px,7.4vw,52px); line-height: 1.08; letter-spacing: -1.5px; max-width: 590px; }
  .sr-hero-copy .lead { font-size: 17px; }
  .seo-reference .catalog-actions { flex-wrap: wrap; }
  .seo-reference .catalog-actions a { min-width: 0; flex: 1; padding-left: 12px; padding-right: 12px; }
  .sr-location { font-size: 13px; margin-top: 22px; }
  .sr-hero-visual { height: 370px; border-radius: 20px; }
  .sr-hero-visual img { object-position: center top; }
  .sr-hero-visual figcaption { bottom: 18px; left: 16px; right: 16px; padding: 14px; font-size: 13px; }
  .sr-hero-tags { flex-wrap: wrap; gap: 12px 20px; font-size: 12px; padding: 22px 0; }
  .sr-page-nav { gap: 0 20px; }
  .sr-page-nav a { font-size: 13px; gap: 8px; }
  .sr-section { margin-top: 65px; }
  .sr-section-heading { margin-bottom: 24px; }
  .sr-card-grid,.sr-recovery-grid,.sr-related-grid { grid-template-columns: 1fr; gap: 14px; }
  .sr-card { padding: 24px; }
  .sr-step-grid { grid-template-columns: 1fr; gap: 0; }
  .sr-steps .sr-card { display: grid; grid-template-columns: 28px 1fr; gap: 0 15px; padding: 20px 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; }
  .sr-steps .sr-step-number { margin: 2px 0 0; grid-row: span 2; }
  .sr-step-grid p { font-size: 15px; }
  .sr-steps .sr-card p { grid-column: 2; }
  .sr-scene { grid-template-columns: 1fr; padding: 25px; gap: 10px; }
  .sr-assessment { padding: 18px 0; min-height: 0; }
  .sr-service-links { flex-direction: column; gap: 10px; }
  .sr-service-links a { display: block; font-size: 13px; }
  .sr-timeline .sr-step-grid { grid-template-columns: 1fr 1fr; }
  .sr-timeline .sr-card { padding: 22px 12px 24px 0; }
  .sr-note.sr-section { padding: 27px 24px; }
  .sr-note.sr-section h2 { font-size: 27px; }
  .sr-recovery { padding: 27px; }
  .sr-price,.sr-contact { padding: 27px; grid-template-columns: 1fr; gap: 25px; }
  .sr-price-actions { grid-template-columns: 1fr; }
  .sr-principles .sr-card-grid { grid-template-columns: 1fr; }
  .sr-principles .sr-card { padding: 22px 0; }
  .sr-visitors { flex-direction: column; align-items: flex-start; gap: 22px; }
  .sr-visitors > a { flex: none; }
  .sr-faq { grid-template-columns: 1fr; gap: 0; }
  .sr-faq summary { padding: 23px 0; gap: 18px; }
  .sr-faq h3 { font-size: 17px; }
  .sr-faq details p { padding-right: 0; }
  .sr-contact address { padding: 25px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .sr-phone { font-size: 22px; }
}
@media (max-width:360px) {
  .seo-reference > .wrap { width: calc(100% - 28px); }
  .sr-hero-copy h1 { font-size: 34px; }
  .sr-hero-visual { height: 325px; }
  .sr-timeline .sr-step-grid { grid-template-columns: 1fr; }
  .sr-price,.sr-contact,.sr-scene,.sr-recovery { padding: 22px; }
}
@media (prefers-reduced-motion:reduce) {
  .seo-reference .reveal,.js .seo-reference .reveal:not(.on) { opacity: 1; transform: none; transition: none; }
  .seo-reference * { transition: none !important; animation: none !important; }
  .sr-related-grid > a:hover { transform: none; }
}

/* Optional hero compositions; the approved default reference remains unchanged. */
@media (min-width:761px) {
  .sr-hero.sr-hero--portrait { grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: 48px; }
  .sr-hero--portrait .sr-hero-visual { max-width: 470px; justify-self: end; width: 100%; }
  .sr-hero.sr-hero--reverse { grid-template-columns: minmax(0,.94fr) minmax(0,1.06fr); gap: 48px; }
  .sr-hero--reverse .sr-hero-copy { grid-column: 2; grid-row: 1; }
  .sr-hero--reverse .sr-hero-visual { grid-column: 1; grid-row: 1; }
  .sr-hero.sr-hero--wide { grid-template-columns: minmax(0,1fr) minmax(0,1.12fr); gap: 36px; }
  .sr-hero--wide .sr-hero-visual { height: 550px; border-radius: 28px 60px 28px 28px; }
}
