/* SEO page extensions — built on the original Swoop N Shine water theme. */

.inner-page {
  background: var(--ice);
}

.inner-page .site-header {
  background: rgba(4, 17, 24, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(18px);
}

.inner-page main {
  min-height: 70vh;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20000;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 178px 0 105px;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 26%, rgba(70, 200, 255, 0.22), transparent 28%),
    linear-gradient(145deg, #071c27, #020b10);
}

.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(176, 235, 255, 0.15);
  border-radius: 50%;
  animation: ripplePulse 5s ease-out infinite;
}

.page-hero::before {
  top: 24px;
  right: 5%;
  width: 360px;
  height: 360px;
}

.page-hero::after {
  right: 18%;
  bottom: -150px;
  width: 260px;
  height: 260px;
  animation-delay: 1.4s;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  font-weight: 700;
}

.breadcrumb a:hover {
  color: var(--blue-bright);
}

.breadcrumb span[aria-current="page"] {
  color: var(--white);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(290px, 0.75fr);
  gap: 70px;
  align-items: end;
}

.page-hero-copy {
  max-width: 820px;
}

.page-hero h1 {
  max-width: 980px;
  font-size: clamp(2.85rem, 6.2vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.page-hero h1 em {
  color: transparent;
  font-style: normal;
  background: linear-gradient(90deg, #fff, var(--blue-bright), #fff);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  animation: textShine 4s linear infinite;
}

.page-hero-lede {
  max-width: 720px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.75;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.page-hero-card {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 28px 90px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(22px);
}

.page-hero-card h2 {
  margin-bottom: 18px;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

.check-list,
.plain-list {
  display: grid;
  gap: 12px;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  padding-left: 27px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.93rem;
  line-height: 1.55;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue-bright);
  font-weight: 800;
}

.content-section {
  padding: 105px 0;
  background:
    radial-gradient(circle at 90% 5%, rgba(70, 200, 255, 0.1), transparent 24%),
    var(--ice);
}

.content-section.white {
  background: linear-gradient(180deg, #fff, #edf9fd);
}

.content-section.dark {
  color: var(--white);
  background:
    radial-gradient(circle at 10% 15%, rgba(70, 200, 255, 0.14), transparent 25%),
    linear-gradient(180deg, #061821, #031017);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 72px;
  align-items: start;
}

.prose {
  max-width: 790px;
}

.prose > * + * {
  margin-top: 22px;
}

.prose h2,
.block-heading h2 {
  margin-top: 58px;
  font-size: clamp(2rem, 4.2vw, 3.75rem);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 34px;
  font-size: 1.3rem;
  letter-spacing: -0.025em;
}

.prose p,
.prose li,
.block-heading p,
.content-card p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.78;
}

.prose a {
  color: var(--blue-deep);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(8, 121, 182, 0.28);
  text-underline-offset: 4px;
}

.prose ul,
.prose ol {
  display: grid;
  gap: 11px;
  padding-left: 22px;
}

.prose-callout {
  margin: 34px 0;
  padding: 25px 28px;
  border: 1px solid rgba(70, 200, 255, 0.34);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(210, 242, 255, 0.7));
  box-shadow: inset 0 1px 0 #fff;
}

.prose-callout strong {
  display: block;
  margin-bottom: 7px;
  font-size: 1.05rem;
}

.side-card {
  position: sticky;
  top: 118px;
  padding: 27px;
  border: 1px solid rgba(55, 130, 160, 0.18);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.side-card h2 {
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.side-card > p {
  margin: 12px 0 20px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.side-card .button {
  width: 100%;
  margin-top: 18px;
}

.contact-stack {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.contact-stack a {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--blue-deep);
  font-size: 0.87rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-card {
  min-height: 100%;
  padding: 28px;
  border: 1px solid rgba(55, 130, 160, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(224, 246, 255, 0.7));
  box-shadow: inset 0 1px 0 #fff;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.content-card:hover {
  border-color: rgba(70, 200, 255, 0.56);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.content-card .card-kicker {
  display: block;
  margin-bottom: 20px;
  color: var(--blue-deep);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.content-card h2,
.content-card h3 {
  font-size: 1.3rem;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.content-card p {
  margin-top: 13px;
  font-size: 0.92rem;
}

.content-card .card-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
}

.block-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.block-heading h2 {
  margin-top: 0;
}

.block-heading p {
  max-width: 660px;
  margin-top: 18px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: service-step;
}

.step-card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(14px);
  counter-increment: service-step;
}

.step-card::before {
  content: "0" counter(service-step);
  display: block;
  margin-bottom: 48px;
  color: var(--blue-bright);
  font-size: 0.78rem;
  font-weight: 800;
}

.step-card h3 {
  font-size: 1.15rem;
  letter-spacing: -0.025em;
}

.step-card p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9rem;
  line-height: 1.65;
}

.faq-list {
  display: grid;
  gap: 13px;
}

.faq-list details {
  border: 1px solid rgba(55, 130, 160, 0.18);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.9);
}

.faq-list summary {
  padding: 20px 54px 20px 22px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.45;
}

.faq-list details p {
  padding: 0 22px 22px;
  color: var(--muted);
  line-height: 1.7;
}

.link-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.link-cloud a {
  padding: 11px 15px;
  border: 1px solid rgba(55, 130, 160, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  font-size: 0.83rem;
  font-weight: 800;
}

.link-cloud a:hover {
  border-color: var(--blue);
  background: var(--white);
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 30%, rgba(70, 200, 255, 0.2), transparent 30%),
    linear-gradient(145deg, #071c27, #020b10);
}

.cta-band-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
}

.cta-band h2 {
  max-width: 760px;
  font-size: clamp(2.2rem, 4.5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.cta-band p {
  max-width: 650px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.7;
}

.guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
  font-weight: 700;
}

.toc {
  margin: 34px 0;
  padding: 26px;
  border: 1px solid rgba(55, 130, 160, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
}

.toc strong {
  display: block;
  margin-bottom: 12px;
}

.toc ol {
  gap: 8px;
}

.project-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 34px 0;
}

.project-facts div {
  padding: 20px;
  border: 1px solid rgba(55, 130, 160, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
}

.project-facts span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-facts strong {
  line-height: 1.4;
}

.seo-footer-grid {
  grid-template-columns: 1.1fr 0.8fr 0.8fr;
  align-items: start;
}

.footer-column h2 {
  margin-bottom: 15px;
  color: var(--white);
  font-size: 0.84rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-column {
  display: grid;
  gap: 9px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.84rem;
}

.footer-column a:hover {
  color: var(--blue-bright);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.78rem;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.empty-note {
  padding: 24px;
  border-radius: 20px;
  background: rgba(70, 200, 255, 0.09);
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 980px) {
  .page-hero-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-card {
    max-width: 580px;
  }

  .content-grid {
    gap: 48px;
  }

  .side-card {
    position: static;
  }

  .card-grid,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .seo-footer-grid {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }

  .seo-footer-grid .footer-brand {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .page-hero {
    padding: 140px 0 78px;
  }

  .page-hero-grid {
    gap: 36px;
  }

  .page-hero h1 {
    font-size: clamp(2.65rem, 13vw, 4.5rem);
  }

  .content-section {
    padding: 78px 0;
  }

  .card-grid,
  .card-grid.two,
  .steps-grid,
  .project-facts,
  .seo-footer-grid,
  .cta-band-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-actions {
    display: grid;
  }

  .page-hero-actions .button,
  .cta-band .button {
    width: 100%;
  }

  .cta-band-grid {
    gap: 28px;
  }

  .seo-footer-grid {
    gap: 28px;
  }
}
