:root {
  --bg: #060b16;
  --surface-border: rgba(143, 220, 255, 0.14);
  --surface-border-strong: rgba(124, 219, 255, 0.4);
  --text: #f4f7fb;
  --muted: #9eafc8;
  --cyan: #7ae3ff;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(54, 207, 255, 0.14), transparent 26%),
    radial-gradient(circle at 80% 20%, rgba(75, 125, 255, 0.14), transparent 28%),
    linear-gradient(180deg, #060b16 0%, #040814 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

.page-shell {
  position: relative;
  isolation: isolate;
}

.bg-grid,
.bg-orb {
  position: fixed;
  pointer-events: none;
  z-index: -2;
}

.bg-grid {
  inset: 0;
  background-image:
    linear-gradient(rgba(122, 227, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 227, 255, 0.045) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 88%);
}

.bg-orb {
  width: 28rem;
  height: 28rem;
  border-radius: 999px;
  filter: blur(24px);
  opacity: 0.45;
}

.bg-orb-one {
  top: 9rem;
  right: 6%;
  background: radial-gradient(circle, rgba(54, 207, 255, 0.42), transparent 65%);
}

.bg-orb-two {
  bottom: 8rem;
  left: 4%;
  background: radial-gradient(circle, rgba(75, 125, 255, 0.35), transparent 65%);
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.section {
  padding: 5.5rem 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(6, 11, 22, 0.55);
  border-bottom: 1px solid rgba(122, 227, 255, 0.08);
}

.nav {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-logo {
  width: 2.6rem;
  height: 2.6rem;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(122, 227, 255, 0.22));
}

.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 1.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a,
.footer-links a {
  transition: color 180ms ease, text-shadow 180ms ease;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--text);
  text-shadow: 0 0 18px rgba(122, 227, 255, 0.28);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-small {
  min-height: 2.85rem;
  padding: 0.75rem 1.15rem;
}

.button-primary {
  color: #04101e;
  background: linear-gradient(135deg, #8af0ff 0%, #4bd7ff 45%, #72a3ff 100%);
  box-shadow: 0 16px 40px rgba(73, 180, 255, 0.3);
}

.button-primary:hover {
  box-shadow: 0 24px 50px rgba(73, 180, 255, 0.38);
}

.button-secondary,
.button-ghost {
  border-color: rgba(122, 227, 255, 0.18);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.button-secondary:hover,
.button-ghost:hover {
  border-color: rgba(122, 227, 255, 0.32);
  background: rgba(122, 227, 255, 0.08);
  box-shadow: 0 18px 36px rgba(22, 74, 108, 0.22);
}

.hero {
  padding-top: 4rem;
  min-height: calc(100vh - 5rem);
  display: flex;
  align-items: center;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(122, 227, 255, 0.18);
  background: rgba(122, 227, 255, 0.05);
  color: var(--cyan);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.cta-shell h2 {
  margin: 1.1rem 0 0;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(3.3rem, 8vw, 6.7rem);
}

.hero-subtitle,
.section-heading p,
.service-card p,
.portfolio-copy p,
.benefit-card p,
.testimonial-card p,
.cta-shell p,
.site-footer p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-subtitle {
  max-width: 42rem;
  margin: 1.4rem 0 0;
  font-size: 1.15rem;
}

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

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

.glass-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.1), transparent 45%);
  pointer-events: none;
}

.metric-card {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
}

.metric-card strong {
  display: block;
  font-size: 1.35rem;
  font-family: "Space Grotesk", "Manrope", sans-serif;
}

.metric-card span {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  perspective: 1200px;
}

.visual-shell {
  position: relative;
  min-height: 35rem;
}

.floating-panel,
.floating-card,
.floating-ring,
.floating-orb {
  position: absolute;
}

.panel-main {
  top: 4rem;
  right: 1rem;
  width: min(100%, 30rem);
  padding: 1rem;
  border-radius: 2rem;
  background: linear-gradient(160deg, rgba(18, 31, 58, 0.95), rgba(7, 14, 28, 0.86));
  border: 1px solid rgba(122, 227, 255, 0.16);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: rotateY(-15deg) rotateX(8deg);
  animation: drift 9s ease-in-out infinite;
}

.panel-header {
  display: flex;
  gap: 0.5rem;
  padding-bottom: 0.9rem;
}

.panel-header span {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #7ae3ff, #4b7dff);
  opacity: 0.72;
}

.panel-screen {
  border-radius: 1.5rem;
  padding: 1.25rem;
  background:
    radial-gradient(circle at 20% 0%, rgba(122, 227, 255, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(9, 16, 29, 0.98), rgba(4, 8, 18, 0.92));
  border: 1px solid rgba(122, 227, 255, 0.12);
}

.screen-pill {
  display: inline-flex;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(122, 227, 255, 0.08);
  border: 1px solid rgba(122, 227, 255, 0.18);
  color: var(--cyan);
  font-size: 0.88rem;
  font-weight: 700;
}

.screen-chart {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 0.75rem;
  height: 10rem;
  margin-top: 1.5rem;
}

.screen-chart div {
  border-radius: 1rem 1rem 0.4rem 0.4rem;
  background: linear-gradient(180deg, rgba(122, 227, 255, 0.95), rgba(58, 120, 255, 0.35));
  box-shadow: 0 0 24px rgba(122, 227, 255, 0.18);
}

.screen-chart div:nth-child(1) { height: 46%; }
.screen-chart div:nth-child(2) { height: 62%; }
.screen-chart div:nth-child(3) { height: 78%; }
.screen-chart div:nth-child(4) { height: 100%; }

.screen-lines {
  margin-top: 1.25rem;
}

.screen-lines span {
  display: block;
  height: 0.65rem;
  margin-top: 0.75rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(122, 227, 255, 0.16));
}

.screen-lines span:nth-child(1) { width: 78%; }
.screen-lines span:nth-child(2) { width: 58%; }
.screen-lines span:nth-child(3) { width: 65%; }

.floating-card {
  left: 0;
  bottom: 3rem;
  width: 16rem;
  padding: 1.25rem;
  border-radius: 1.5rem;
  animation: drift 7.5s ease-in-out infinite reverse;
}

.floating-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.floating-card strong {
  display: block;
  margin-top: 0.8rem;
  line-height: 1.4;
  font-size: 1rem;
}

.floating-orb {
  top: 2rem;
  left: 2rem;
  width: 9rem;
  height: 9rem;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.95), rgba(122, 227, 255, 0.4), rgba(75, 125, 255, 0.02) 70%);
  box-shadow: 0 0 60px rgba(122, 227, 255, 0.25);
  animation: pulse-float 8s ease-in-out infinite;
}

.floating-ring {
  right: 2rem;
  bottom: 1rem;
  width: 12rem;
  height: 12rem;
  border-radius: 999px;
  border: 1px solid rgba(122, 227, 255, 0.18);
  box-shadow: inset 0 0 30px rgba(122, 227, 255, 0.06);
  animation: spin-slow 18s linear infinite;
}

.page-hero {
  padding-top: 3rem;
}

.page-hero-shell,
.info-panel,
.detail-card,
.contact-card,
.contact-form,
.quote-card,
.process-card,
.service-detail-card {
  border-radius: 2rem;
}

.page-hero-shell {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
}

.page-hero-copy h1 {
  margin: 1rem 0 0;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.page-hero-copy p {
  margin-top: 1rem;
  color: var(--muted);
  line-height: 1.8;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.page-hero-art {
  min-height: 24rem;
  position: relative;
}

.art-card,
.art-float,
.art-glow {
  position: absolute;
}

.art-card {
  inset: 2rem 2rem auto auto;
  width: min(100%, 24rem);
  min-height: 16rem;
  padding: 1.4rem;
  background: linear-gradient(180deg, rgba(16, 28, 50, 0.94), rgba(8, 15, 28, 0.9));
  border: 1px solid rgba(122, 227, 255, 0.16);
  box-shadow: var(--shadow);
  transform: rotateY(-12deg) rotateX(8deg);
}

.art-card::before,
.art-card::after {
  content: "";
  display: block;
  border-radius: 1rem;
}

.art-card::before {
  height: 1rem;
  width: 6rem;
  background: rgba(122, 227, 255, 0.14);
}

.art-card::after {
  margin-top: 1rem;
  height: 10rem;
  background:
    linear-gradient(180deg, rgba(122, 227, 255, 0.25), rgba(75, 125, 255, 0.12)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
}

.art-float {
  left: 0;
  bottom: 1rem;
  width: 14rem;
  padding: 1.1rem 1.2rem;
}

.art-float p,
.art-float strong {
  margin: 0;
}

.art-float p {
  color: var(--cyan);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.art-float strong {
  display: block;
  margin-top: 0.75rem;
  line-height: 1.5;
}

.art-glow {
  top: 0;
  left: 4rem;
  width: 10rem;
  height: 10rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(122, 227, 255, 0.55), rgba(122, 227, 255, 0.08) 55%, transparent 70%);
  filter: blur(8px);
}

.stats-grid,
.detail-grid,
.process-grid,
.quote-grid,
.contact-grid {
  display: grid;
  gap: 1.25rem;
}

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

.stat-card,
.detail-card,
.quote-card,
.process-card,
.service-detail-card,
.contact-card,
.contact-form {
  padding: 1.5rem;
}

.stat-card strong,
.detail-card h3,
.quote-card strong,
.process-card h3,
.service-detail-card h3,
.contact-card h3 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
}

.stat-card strong {
  display: block;
  font-size: 1.7rem;
}

.stat-card span {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
}

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

.detail-card p,
.service-detail-card p,
.quote-card p,
.process-card p,
.contact-card p,
.contact-form p {
  color: var(--muted);
  line-height: 1.75;
}

.detail-list,
.service-list,
.contact-list {
  display: grid;
  gap: 0.7rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.detail-list li,
.service-list li,
.contact-list li {
  color: var(--text);
  background: rgba(122, 227, 255, 0.04);
  border: 1px solid rgba(122, 227, 255, 0.08);
  border-radius: 1rem;
  padding: 0.85rem 1rem;
}

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

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

.quote-card {
  position: relative;
}

.quote-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 4rem;
  line-height: 1;
  color: rgba(122, 227, 255, 0.12);
}

.process-card .step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  border: 1px solid rgba(122, 227, 255, 0.18);
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 800;
}

.contact-grid {
  grid-template-columns: 0.85fr 1.15fr;
  margin-top: 2rem;
}

.contact-form form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.55rem;
}

.field label {
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(122, 227, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-radius: 1rem;
  padding: 0.95rem 1rem;
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.field textarea {
  min-height: 11rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(122, 227, 255, 0.42);
  box-shadow: 0 0 0 4px rgba(122, 227, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}

.form-note {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.section-heading {
  max-width: 44rem;
}

.section-heading h2 {
  font-size: clamp(2.2rem, 5vw, 4.1rem);
}

.section-heading p {
  margin-top: 1rem;
}

.service-grid,
.portfolio-grid,
.benefit-grid,
.testimonial-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

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

.service-card,
.benefit-card,
.testimonial-card {
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.service-card:hover,
.benefit-card:hover,
.testimonial-card:hover,
.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: var(--surface-border-strong);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(58, 207, 255, 0.08);
}

.service-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  background: rgba(122, 227, 255, 0.07);
  border: 1px solid rgba(122, 227, 255, 0.16);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.service-card h3,
.portfolio-copy h3,
.benefit-card h3,
.testimonial-card strong {
  margin: 1rem 0 0;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.28rem;
}

.portfolio-section {
  position: relative;
}

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

.portfolio-card {
  border-radius: 2rem;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(15, 26, 49, 0.82), rgba(8, 14, 27, 0.94));
  border: 1px solid rgba(122, 227, 255, 0.12);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.portfolio-card-link {
  display: block;
}

.portfolio-screen {
  min-height: 17.5rem;
  border-radius: 1.45rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transform: perspective(1200px) rotateX(6deg) rotateY(-9deg);
  transition: transform 220ms ease, box-shadow 220ms ease;
  background:
    linear-gradient(120deg, rgba(122, 227, 255, 0.12), rgba(75, 125, 255, 0.08)),
    linear-gradient(180deg, #0d1730, #07111f);
}

.portfolio-card:hover .portfolio-screen {
  transform: perspective(1200px) rotateX(2deg) rotateY(-3deg) scale(1.02);
  box-shadow: 0 18px 50px rgba(58, 207, 255, 0.2);
}

.portfolio-screen::before,
.portfolio-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

.portfolio-screen::before {
  background: linear-gradient(rgba(255, 255, 255, 0.05), transparent), linear-gradient(120deg, rgba(122, 227, 255, 0.18), transparent 40%);
}

.portfolio-screen::after {
  display: none;
}

.portfolio-screen-one {
  background: linear-gradient(160deg, rgba(94, 149, 255, 0.42), transparent 40%), radial-gradient(circle at top right, rgba(122, 227, 255, 0.32), transparent 30%), linear-gradient(180deg, #0d1932, #060d1f);
}

.portfolio-screen-two {
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.08), transparent 36%), radial-gradient(circle at top, rgba(122, 227, 255, 0.2), transparent 30%), linear-gradient(180deg, #101b2e, #08101b);
}

.portfolio-screen-three {
  background: linear-gradient(150deg, rgba(122, 227, 255, 0.22), transparent 30%), radial-gradient(circle at bottom right, rgba(75, 125, 255, 0.32), transparent 36%), linear-gradient(180deg, #0b1528, #060c17);
}

.portfolio-screen-four {
  background: linear-gradient(140deg, rgba(75, 125, 255, 0.28), transparent 35%), radial-gradient(circle at top left, rgba(122, 227, 255, 0.2), transparent 30%), linear-gradient(180deg, #0f172a, #060b14);
}

.portfolio-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(7, 16, 30, 0.72);
  border: 1px solid rgba(122, 227, 255, 0.18);
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 3;
}

.portfolio-copy {
  padding: 1.15rem 0.3rem 0.2rem;
}

.portfolio-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  z-index: 1;
  opacity: 0;
  transition: transform 240ms ease, filter 240ms ease, opacity 220ms ease;
}

.portfolio-shot.is-loaded {
  opacity: 1;
}

.portfolio-shot-contain {
  object-fit: contain;
  object-position: center center;
  background: linear-gradient(180deg, #edf3f7, #dce8ef);
  padding: 0.35rem;
}

.portfolio-card:hover .portfolio-shot {
  transform: scale(1.04);
  filter: saturate(1.04) contrast(1.02);
}

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

.benefit-icon {
  width: 3.4rem;
  height: 3.4rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(122, 227, 255, 0.16), rgba(75, 125, 255, 0.18));
  border: 1px solid rgba(122, 227, 255, 0.12);
  color: var(--text);
  font-size: 1.2rem;
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.cta-section {
  padding-bottom: 6.5rem;
}

.cta-shell {
  display: grid;
  grid-template-columns: 1.15fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border-radius: 2rem;
  border-color: rgba(122, 227, 255, 0.2);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
}

.site-footer {
  padding: 0 0 2.5rem;
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(122, 227, 255, 0.08);
}

.footer-brand {
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drift {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotateY(-15deg) rotateX(8deg);
  }

  50% {
    transform: translate3d(0, -16px, 0) rotateY(-9deg) rotateX(10deg);
  }
}

@keyframes pulse-float {
  0%, 100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-14px) scale(1.04);
  }
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1080px) {
  .hero-layout,
  .cta-shell,
  .service-grid,
  .benefit-grid,
  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-layout,
  .cta-shell {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-shell,
  .contact-grid,
  .service-detail-grid,
  .quote-grid,
  .stats-grid,
  .detail-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 14ch;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 4.25rem 0;
  }

  .site-header {
    position: static;
  }

  .nav {
    flex-wrap: wrap;
    padding: 1rem 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 0.9rem;
    font-size: 0.88rem;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-subtitle {
    font-size: 1.02rem;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

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

  .hero-metrics,
  .service-grid,
  .benefit-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .visual-shell {
    min-height: 28rem;
  }

  .panel-main {
    right: 0;
    width: 100%;
  }

  .floating-card {
    left: auto;
    right: 0;
    bottom: 0;
    width: min(100%, 14rem);
  }

  .floating-ring {
    width: 9rem;
    height: 9rem;
  }

  .footer-layout {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
