/*
Theme Name: Five Valley Tech
Theme URI: https://fivevalleytech.co.uk/
Author: Five Valley Tech
Description: Modern Five Valley Tech WordPress theme with FVT branding, animated hero styling, responsive dropdown navigation, service pages, pricing, case studies, and bundled FVT SEO/FVT Backup content.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: five-valley-tech
*/

:root {
  --midnight: #021426;
  --deep: #052a43;
  --teal: #03c5ca;
  --aqua: #0eedee;
  --deep-teal: #0e839b;
  --steel: #0c4e6a;
  --ice: #e4f0f7;
  --silver: #8dbad3;
  --line: rgba(14, 237, 238, 0.2);
  --panel: rgba(5, 42, 67, 0.72);
  --os-navy: var(--midnight);
  --os-navy-deep: #061d31;
  --os-gold: var(--teal);
  --os-gold-soft: var(--aqua);
  --os-off-white: var(--ice);
  --os-slate: var(--deep);
  --os-steel: var(--silver);
  --os-card: #f7fbff;
  --os-border: rgba(14, 237, 238, 0.3);
  --os-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
  --os-serif: "Libre Baskerville", Georgia, serif;
  --os-sans: Inter, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 4%, rgba(14, 237, 238, 0.18), transparent 28rem),
    linear-gradient(135deg, var(--midnight) 0%, var(--deep) 55%, var(--steel) 100%);
  color: var(--ice);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.os-content {
  width: min(100% - 2rem, 1200px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.25rem, 3vw, 3.5rem);
  min-height: 8.2rem;
  padding: 1.15rem clamp(1.25rem, 4vw, 4.5rem);
  border-bottom: 1px solid rgba(141, 186, 211, 0.22);
  background: rgba(2, 20, 38, 0.94);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
}

.brand span {
  display: none;
}

.brand img {
  width: clamp(12rem, 19vw, 17.25rem);
}

.site-header nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.35rem, 1vw, 1.15rem);
  margin-left: auto;
}

.site-header nav a,
.site-header summary,
.header-cta {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  padding: 0.55rem 0.45rem;
  color: rgba(228, 240, 247, 0.78);
  font-size: clamp(0.72rem, 0.82vw, 0.86rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  list-style: none;
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.site-header summary {
  cursor: pointer;
}

.site-header summary::-webkit-details-marker {
  display: none;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 30;
  display: grid;
  min-width: 14.5rem;
  gap: 0.2rem;
  border: 1px solid rgba(14, 237, 238, 0.2);
  border-radius: 0.5rem;
  background: rgba(2, 20, 38, 0.96);
  padding: 0.45rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.12rem);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-toggle,
.menu-toggle {
  display: none;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu,
.has-submenu[open] .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.submenu a {
  display: block;
  width: 100%;
  min-height: 0;
  padding: 0.7rem 0.8rem;
  letter-spacing: 0.08em;
}

.has-submenu > summary::after {
  content: "⌄";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.35rem;
  color: var(--aqua);
  font-size: 0.9em;
  line-height: 1;
  transform: translateY(-0.02em);
}

.site-header nav a:hover,
.site-header summary:hover,
.has-submenu[open] > summary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ice);
}

.header-cta,
.button.primary {
  background: var(--teal);
  color: var(--midnight);
  box-shadow: 0 0 32px rgba(14, 237, 238, 0.22);
}

.header-cta:hover,
.button.primary:hover {
  background: var(--aqua);
}

.header-cta {
  flex: 0 0 auto;
  padding: 0.8rem 1.05rem;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
}

.hero,
.split,
.section,
.contact,
.site-footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 4vw, 3rem);
}

.hero {
  position: relative;
  display: grid;
  min-height: 680px;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
  overflow: hidden;
}

.home-hero {
  max-width: none;
  background:
    radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.08), transparent 20%),
    radial-gradient(circle at 80% 20%, rgba(170, 230, 255, 0.06), transparent 20%),
    linear-gradient(135deg, #03101c 0%, #04182a 35%, #031324 65%, #020c16 100%);
}

.home-hero > .hero-copy,
.home-hero > .hero-visual {
  position: relative;
  z-index: 2;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: drift 14s ease-in-out infinite alternate;
}

.glow-1 {
  width: 320px;
  height: 320px;
  left: -80px;
  bottom: -60px;
  background: rgba(38, 225, 255, 0.22);
}

.glow-2 {
  width: 280px;
  height: 280px;
  right: -40px;
  top: -40px;
  background: rgba(130, 220, 255, 0.16);
  animation-duration: 18s;
}

.orb {
  position: absolute;
  border: 1px solid rgba(170, 235, 255, 0.18);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01) 60%, transparent 75%);
  box-shadow:
    inset 0 0 60px rgba(130, 220, 255, 0.06),
    0 0 40px rgba(0, 220, 255, 0.04);
  pointer-events: none;
  animation: floaty 18s ease-in-out infinite;
}

.orb-1 {
  width: 500px;
  height: 500px;
  right: -180px;
  top: -140px;
}

.orb-2 {
  width: 620px;
  height: 620px;
  left: -380px;
  bottom: -320px;
  animation-duration: 22s;
}

.ribbon {
  position: absolute;
  left: -10%;
  width: 120%;
  height: 180px;
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.95;
  pointer-events: none;
}

.ribbon::before,
.ribbon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.ribbon::before {
  background: linear-gradient(90deg, rgba(0, 255, 255, 0) 0%, rgba(95, 255, 255, 0.18) 18%, rgba(32, 224, 255, 0.3) 35%, rgba(160, 235, 255, 0.2) 52%, rgba(0, 255, 255, 0) 100%);
  filter: blur(8px);
}

.ribbon::after {
  inset: 44% 0 auto;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 255, 255, 0) 0%, rgba(68, 241, 255, 0.95) 30%, rgba(191, 242, 255, 0.9) 50%, rgba(68, 241, 255, 0.95) 70%, rgba(0, 255, 255, 0) 100%);
  box-shadow:
    0 0 12px rgba(56, 233, 255, 0.7),
    0 0 22px rgba(56, 233, 255, 0.35);
}

.ribbon-1 {
  bottom: 18%;
  transform: rotate(-8deg);
  animation: wave1 10s ease-in-out infinite;
}

.ribbon-2 {
  bottom: 14%;
  opacity: 0.7;
  transform: rotate(4deg) scaleY(0.82);
  animation: wave2 13s ease-in-out infinite;
}

.ribbon-3 {
  bottom: 9%;
  opacity: 0.45;
  transform: rotate(-2deg) scaleY(0.68);
  animation: wave3 16s ease-in-out infinite;
}

.lines {
  position: absolute;
  inset: auto 0 12% 0;
  height: 220px;
  pointer-events: none;
}

.lines::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-radial-gradient(ellipse at 20% 100%, rgba(70, 225, 255, 0) 0 18px, rgba(70, 225, 255, 0.14) 19px 20px);
  filter: blur(0.2px);
  opacity: 0.45;
  transform: scaleY(0.5);
}

.lines-1 {
  left: -20%;
  width: 70%;
  animation: sway 14s ease-in-out infinite;
}

.lines-2 {
  right: -20%;
  left: auto;
  width: 65%;
  opacity: 0.25;
  animation: sway 18s ease-in-out infinite reverse;
}

.particles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(61, 235, 255, 0.95) 0 1px, transparent 1.8px),
    radial-gradient(circle, rgba(180, 240, 255, 0.8) 0 1.2px, transparent 2px),
    radial-gradient(circle, rgba(0, 220, 255, 0.7) 0 1.5px, transparent 2.4px);
  background-position: 20% 35%, 65% 20%, 80% 75%;
  background-size: 220px 220px, 320px 320px, 420px 420px;
  filter: blur(0.3px);
  opacity: 0.45;
  pointer-events: none;
  animation: twinkle 8s linear infinite;
}

.mesh {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(125deg, transparent 48%, rgba(90, 220, 255, 0.22) 49%, transparent 50%) 8% 22% / 220px 140px no-repeat,
    linear-gradient(40deg, transparent 48%, rgba(90, 220, 255, 0.18) 49%, transparent 50%) 18% 18% / 220px 150px no-repeat,
    linear-gradient(150deg, transparent 48%, rgba(90, 220, 255, 0.18) 49%, transparent 50%) 72% 30% / 260px 180px no-repeat,
    linear-gradient(30deg, transparent 48%, rgba(90, 220, 255, 0.18) 49%, transparent 50%) 74% 34% / 240px 160px no-repeat;
  opacity: 0.18;
  pointer-events: none;
  animation: pulseMesh 10s ease-in-out infinite;
}

.page-hero {
  min-height: 420px;
  grid-template-columns: 1fr;
}

.hero-copy h1,
.section h2,
.split h2,
.contact h2 {
  margin: 0;
  color: var(--ice);
  font-size: clamp(2.4rem, 6vw, 5.9rem);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.02;
}

.contact h1 {
  max-width: 900px;
  margin: 0;
  color: var(--ice);
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.02;
}

.section h2,
.split h2,
.contact h2 {
  max-width: 820px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.hero-copy p,
.section-intro,
.split p,
.contact p {
  max-width: 720px;
  color: #b7d4e5;
  font-size: 1.12rem;
  line-height: 1.8;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--aqua);
  font-size: 0.82rem;
  font-weight: 780;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  border-radius: 0.5rem;
  padding: 0.8rem 1.1rem;
  font-weight: 750;
}

.button.secondary {
  border: 1px solid rgba(14, 237, 238, 0.35);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ice);
}

.hero-visual {
  position: relative;
  min-height: 500px;
}

.main-shot,
.product-card,
.cards article,
.proof-card {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--panel);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.main-shot {
  width: 92%;
  margin-left: auto;
  aspect-ratio: 16 / 9;
  padding: 0.6rem;
  object-fit: cover;
  object-position: top;
}

.proof-card {
  position: absolute;
  bottom: 1rem;
  left: 0;
  display: grid;
  width: min(21rem, 66%);
  gap: 0.7rem;
  padding: 1.25rem;
}

.proof-card strong {
  color: var(--ice);
}

.proof-card span,
.checks span {
  color: var(--silver);
  font-size: 0.94rem;
}

.proof-card span::before,
.checks span::before,
.product-card li::before {
  content: "✓";
  margin-right: 0.45rem;
  color: var(--aqua);
}

.stats {
  display: grid;
  max-width: 1240px;
  margin: 0 auto;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(3, 28, 49, 0.72);
}

.stats div {
  padding: 2rem clamp(1.25rem, 3vw, 2.5rem);
}

.stats h2 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
}

.stats p,
.cards p,
.cards small,
.product-card li,
footer {
  color: var(--silver);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}

.checks.wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.text-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--aqua);
  font-size: 0.94rem;
  font-weight: 750;
}

.checks span {
  border: 1px solid rgba(12, 78, 106, 0.7);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.85rem 1rem;
}

.section.alt,
.contact {
  border-block: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 42, 67, 0.45);
}

.grid {
  display: grid;
  gap: 1rem;
}

.cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2rem;
}

.cards article {
  padding: 1.5rem;
}

.cards h3 {
  margin: 0 0 0.9rem;
  color: var(--ice);
  font-size: 1.28rem;
}

.cards small {
  display: block;
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.price {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: var(--aqua);
  font-weight: 780;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.product-card {
  overflow: hidden;
}

.product-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
}

.product-card div {
  padding: 1.5rem;
}

.product-card h3 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
}

.product-card ul {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.process div {
  min-height: 10rem;
  border: 1px solid rgba(141, 186, 211, 0.35);
  border-radius: 0.5rem;
  background: rgba(2, 20, 38, 0.55);
  padding: 1.25rem;
  color: var(--ice);
  font-weight: 700;
}

.process span {
  display: block;
  margin-bottom: 1.5rem;
  color: var(--aqua);
}

.contact {
  margin-top: clamp(2rem, 5vw, 4rem);
}

.site-footer {
  max-width: none;
  border-top: 1px solid rgba(14, 237, 238, 0.32);
  background: rgba(2, 12, 22, 0.92);
  color: var(--silver);
  padding: 0;
}

.footer-main {
  display: grid;
  max-width: 1240px;
  margin: 0 auto;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: clamp(2rem, 7vw, 6rem);
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.25rem, 4vw, 3rem);
}

.footer-brand img {
  width: clamp(13rem, 20vw, 18rem);
}

.site-footer h2 {
  margin: 0 0 1.6rem;
  color: var(--aqua);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  width: fit-content;
  color: rgba(228, 240, 247, 0.72);
  font-size: 1rem;
  line-height: 1.9;
}

.site-footer a:hover {
  color: var(--aqua);
}

.footer-bottom {
  border-top: 1px solid rgba(14, 237, 238, 0.24);
  padding: 1.45rem;
  text-align: center;
  color: rgba(228, 240, 247, 0.54);
  font-size: 0.9rem;
}

@keyframes drift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(30px, -20px) scale(1.08);
  }
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(18px) translateX(-12px);
  }
}

@keyframes wave1 {
  0%,
  100% {
    transform: translateX(0) rotate(-8deg);
  }
  50% {
    transform: translateX(28px) translateY(-10px) rotate(-3deg);
  }
}

@keyframes wave2 {
  0%,
  100% {
    transform: translateX(0) rotate(4deg) scaleY(0.82);
  }
  50% {
    transform: translateX(-26px) translateY(8px) rotate(7deg) scaleY(0.88);
  }
}

@keyframes wave3 {
  0%,
  100% {
    transform: translateX(0) rotate(-2deg) scaleY(0.68);
  }
  50% {
    transform: translateX(18px) translateY(-6px) rotate(1deg) scaleY(0.74);
  }
}

@keyframes sway {
  0%,
  100% {
    opacity: 0.28;
    transform: translateX(0);
  }
  50% {
    opacity: 0.5;
    transform: translateX(20px);
  }
}

@keyframes twinkle {
  0% {
    opacity: 0.25;
    transform: translateY(0);
  }
  50% {
    opacity: 0.55;
    transform: translateY(-6px);
  }
  100% {
    opacity: 0.25;
    transform: translateY(0);
  }
}

@keyframes pulseMesh {
  0%,
  100% {
    opacity: 0.12;
  }
  50% {
    opacity: 0.24;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 980px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
    min-height: 0;
    padding: 1.25rem clamp(1rem, 5vw, 2.5rem);
  }

  .menu-toggle {
    position: relative;
    display: inline-flex;
    width: 2.75rem;
    height: 2.75rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.32rem;
    border: 1px solid rgba(14, 237, 238, 0.28);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 1.18rem;
    height: 2px;
    border-radius: 999px;
    background: var(--ice);
    transition: transform 180ms ease, opacity 180ms ease, background 180ms ease;
    transform-origin: center;
  }

.menu-toggle::before,
.menu-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M9 9L23 23M23 9L9 23' stroke='%230EEDEE' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-toggle:checked + .menu-toggle span {
  opacity: 0;
}

.nav-toggle:checked + .menu-toggle::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.nav-toggle:checked + .menu-toggle::after {
  opacity: 0;
}

  .site-header nav {
    grid-column: 1 / -1;
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
    border-top: 1px solid rgba(14, 237, 238, 0.16);
    padding: 1.65rem 0 0.4rem;
  }

  .nav-toggle:checked + .menu-toggle + nav {
    display: flex;
  }

  .site-header nav a,
  .site-header summary,
  .nav-item {
    width: 100%;
    justify-content: flex-start;
    min-height: 2.75rem;
    padding-inline: 0.15rem;
    font-size: 0.74rem;
    letter-spacing: 0.13em;
  }

  .nav-item {
    display: grid;
    align-items: stretch;
  }

  .submenu {
    position: static;
    display: none;
    min-width: 0;
    width: 100%;
    margin: 0.15rem 0 1rem;
    border: 0;
    background: transparent;
    padding: 0 0 0 1.35rem;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    gap: 0.35rem;
  }

  .has-submenu:hover .submenu,
  .has-submenu:focus-within .submenu {
    display: none;
  }

  .has-submenu[open] .submenu {
    display: grid;
  }

  .submenu a {
    width: auto;
    min-height: 2.25rem;
    padding: 0;
    color: rgba(228, 240, 247, 0.62);
  }

  .has-submenu > summary {
    justify-content: flex-start;
  }

  .site-header summary:hover,
  .has-submenu[open] > summary {
    background: transparent;
  }

  .has-submenu > summary::after {
    content: "›";
    margin-left: 1.2rem;
    color: var(--ice);
    font-size: 1.1rem;
    line-height: 1;
    transform: translateY(-0.01em);
  }

  .has-submenu[open] > summary::after {
    transform: translateY(-0.01em) rotate(90deg);
  }

  .header-cta {
    grid-column: 1 / -1;
    display: none;
    width: 100%;
    margin-top: 0.65rem;
  }

  .nav-toggle:checked ~ .header-cta {
    display: inline-flex;
  }

  .hero,
  .split,
  .stats,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

@media (max-width: 640px) {
  .brand img {
    width: 10rem;
  }

  .header-cta {
    padding-inline: 0.7rem;
  }

  .hero-visual {
    min-height: 340px;
  }

  .main-shot {
    width: 100%;
  }

  .proof-card {
    width: 82%;
  }

  .cards,
  .pricing-grid,
  .process,
  .checks {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .site-footer a {
    font-size: 0.95rem;
  }
}
.os-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 6vw, 78px) 0 clamp(54px, 8vw, 94px);
  text-align: center;
}

.os-hero__logo {
  display: none;
}

.os-deco-rule,
.os-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--os-gold);
}

.os-deco-rule::before,
.os-deco-rule::after,
.os-divider span {
  width: min(190px, 22vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--os-gold), transparent);
  content: "";
}

.os-hero h1,
.os-section h2,
.os-why h2,
.os-cta h2,
.os-contact-panel h2 {
  margin: 24px auto 18px;
  color: var(--os-off-white);
  font-family: var(--os-serif);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.12;
}

.os-hero h1 {
  max-width: 920px;
  font-size: clamp(2.2rem, 6vw, 5rem);
}

.os-hero p {
  max-width: 790px;
  margin: 0 auto;
  color: rgba(245, 245, 245, 0.78);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.os-section,
.os-why,
.os-cta,
.os-contact-panel,
.os-stats-strip {
  position: relative;
  margin: clamp(54px, 8vw, 92px) 0;
}

.os-content > :first-child {
  margin-top: 0;
}

.os-content > .os-why:first-child,
.os-content > .os-contact-panel:first-child {
  border-top: 0;
  padding-top: clamp(18px, 3vw, 34px);
}

.os-section__header {
  max-width: 790px;
  margin: 0 auto 36px;
  text-align: center;
}

.os-eyebrow,
.os-divider strong {
  margin: 0;
  color: var(--os-gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.os-section h2,
.os-why h2,
.os-cta h2,
.os-contact-panel h2 {
  font-size: clamp(1.9rem, 4vw, 3.3rem);
}

.os-section__header p:not(.os-eyebrow),
.os-why p,
.os-cta p,
.os-contact-panel p {
  color: rgba(245, 245, 245, 0.74);
}

.os-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

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

.os-service-card,
.os-case-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(14, 237, 238, 0.18);
  border-radius: 6px;
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(245, 245, 245, 0.9)),
    var(--os-card);
  color: var(--os-navy);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.os-service-card::before,
.os-case-grid article::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--os-gold), transparent);
  content: "";
}

.os-service-card h3,
.os-case-grid h3 {
  margin: 0 0 14px;
  color: var(--os-navy);
  font-family: var(--os-serif);
  font-size: 1.32rem;
  letter-spacing: 0.04em;
}

.os-service-card p,
.os-case-grid p {
  margin: 0;
  color: #263142;
}

.os-service-card small {
  display: block;
  margin-top: 18px;
  color: var(--os-steel);
  font-size: 0.84rem;
}

.os-service-card__link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--os-navy);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.os-service-card__link::after {
  margin-left: 10px;
  color: var(--os-gold);
  content: ">";
}

.os-why,
.os-contact-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  border-top: 1px solid var(--os-border);
  border-bottom: 1px solid var(--os-border);
  padding: clamp(38px, 6vw, 70px) 0;
}

.os-why ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.os-why li {
  border-left: 2px solid var(--os-gold);
  padding: 10px 0 10px 14px;
  color: var(--os-off-white);
  font-weight: 600;
}

.os-divider {
  margin: 48px 0;
}

.os-cta {
  overflow: hidden;
  border: 1px solid var(--os-border);
  border-radius: 6px;
  padding: clamp(36px, 6vw, 68px);
  background:
    linear-gradient(135deg, rgba(14, 237, 238, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  text-align: center;
}

.os-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.os-process li,
.os-stats-strip div {
  border-top: 1px solid var(--os-border);
  padding-top: 20px;
  color: rgba(245, 245, 245, 0.82);
  font-weight: 600;
}

.os-process span {
  display: block;
  margin-bottom: 14px;
  color: var(--os-gold);
  font-family: var(--os-serif);
  font-size: 1.6rem;
}

.os-stats-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.os-stats-strip strong {
  display: block;
  margin-bottom: 8px;
  color: var(--os-gold);
  font-family: var(--os-serif);
  font-size: 1.25rem;
}

.os-stats-strip span {
  color: rgba(245, 245, 245, 0.7);
  font-size: 0.92rem;
}

.os-capability-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.os-capability-list li {
  border: 1px solid rgba(14, 237, 238, 0.22);
  border-radius: 6px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(245, 245, 245, 0.82);
  font-size: 0.9rem;
  font-weight: 600;
}

.os-capability-list a,
.os-case-grid a {
  color: inherit;
  text-decoration-color: var(--os-gold);
  text-underline-offset: 0.18em;
}

.os-editor-actions,
.os-editor-add {
  margin-top: 14px;
}

.os-editor-chip-remove {
  margin-left: 10px;
}

.os-contact-panel .os-button {
  justify-self: end;
}

@media (max-width: 900px) {
  .os-services-grid,
  .os-case-grid,
  .os-process,
  .os-stats-strip,
  .os-capability-list,
  .os-why,
  .os-contact-panel {
    grid-template-columns: 1fr;
  }

  .os-contact-panel .os-button {
    justify-self: start;
  }
}
