/* ============================================================================
   SilverLining Mobile Wash — Preserved NuRyde Merge
   ----------------------------------------------------------------------------
   This file keeps the fuller visual/effects system from your prior CSS instead
   of stripping it down. It is intended to replace style.mobile.css.

   QUICK NAV:
   01. Root Variables / Design Tokens
   02. Reset / Base Elements
   03. Background Layers / Grid / Glow
   04. Global Layout Utilities
   05. Section Labels / Headings
   06. Header / Logo / Nav / Mobile Menu
   07. Buttons / Hover Bars
   08. Hero Layout / Cards / Badge / Stats
   09. Services Section / Offset Grid
   10. About Section
   11. Pricing Section
   12. Gallery Section
   13. Contact Section / Form
   14. Footer
   15. Reveal / Motion Helpers
   16. Hover Glow Helpers
   17. Animation Keyframes
   18. Responsive Breakpoints
   19. Reduced Motion / Touch Overrides
   ============================================================================ */

:root {
  --bg: #050608;
  --bg-2: #090b0f;
  --panel: rgba(10, 12, 16, 0.9);
  --panel-soft: rgba(255, 255, 255, 0.03);
  --panel-strong: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f3f4f6;
  --muted: #a8afb9;
  --soft: #7e8793;
  --accent: #cfd6df;
  --accent-2: #8ea6c2;
  --glow: rgba(255, 255, 255, 0.08);

  --max: 1380px;
  --header-height: 82px;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;

  --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  --shadow-strong: 0 36px 90px rgba(0, 0, 0, 0.56);

  --ease: 320ms cubic-bezier(.22,.8,.2,1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent 16%),
    linear-gradient(180deg, #050608 0%, #07090d 48%, #050608 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, black 0%, rgba(0,0,0,0.28) 100%);
  z-index: -1;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
}

ul {
  list-style: none;
}

.bg-overlay,
.bg-grid,
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.bg-overlay {
  z-index: -4;
  background:
    radial-gradient(circle at 16% 18%, rgba(210, 220, 235, 0.08), transparent 24%),
    radial-gradient(circle at 52% 36%, rgba(90, 110, 140, 0.12), transparent 28%),
    radial-gradient(circle at 84% 78%, rgba(30, 40, 60, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent 30%, rgba(0,0,0,0.22));
}

.bg-grid {
  z-index: -5;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 72px 72px;
}

.bg-glow {
  z-index: -6;
  filter: blur(70px);
  opacity: 0.32;
  transition: transform 500ms ease;
}

.bg-glow-1 {
  width: 34vw;
  height: 34vw;
  top: -8vw;
  left: -8vw;
  border-radius: 50%;
  background: rgba(220, 228, 240, 0.12);
}

.bg-glow-2 {
  width: 24vw;
  height: 24vw;
  right: -6vw;
  top: 24vh;
  border-radius: 50%;
  background: rgba(125, 145, 170, 0.12);
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 120px 0;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--soft);
}

.section-tag::before {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(255,255,255,0.36);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-heading h2,
.about-content h2,
.contact-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.section-heading p,
.about-content p,
.contact-copy p,
.hero-description,
.stat-card p,
.service-card-content p,
.pricing-card li,
.site-footer p {
  color: var(--muted);
}

/* =========================
   HEADER
   ========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 72px;
  background: rgba(4, 5, 8, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: inset 0 -1px 0 rgba(255,255,255,0.03);
  transition:
    background var(--ease),
    border-color var(--ease),
    box-shadow var(--ease),
    backdrop-filter var(--ease);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 20px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(180,190,205,0.10),
    rgba(255,255,255,0.02) 20%,
    rgba(255,255,255,0.06) 40%,
    rgba(255,255,255,0.02) 60%,
    rgba(180,190,205,0.10)
  );
  opacity: 0.45;
}

.header-inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 28px;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 160px;
}

.logo img {
  display: block;
  width: auto;
  height: 100px;
  max-width: 180px;
  object-fit: contain;
  transition: transform 260ms ease, opacity 260ms ease;
}

.logo:hover img {
  transform: scale(1.03);
  opacity: 1;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

/* =============================
   NAV LINK / NURYDE CORNER WRAP
   ============================= */

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--ease);
}

.main-nav a > span {
  position: relative;
  z-index: 2;
}

.main-nav a:hover {
  color: var(--text);
}

/* corner system container */
.main-nav a .nav-meteors {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* all four pieces */
.main-nav a::before,
.main-nav a::after,
.main-nav a .nav-meteors::before,
.main-nav a .nav-meteors::after {
  content: "";
  position: absolute;
  background: rgba(255,255,255,0.22);
  opacity: 0;
  transition:
    opacity 800ms ease,
    transform 800ms cubic-bezier(.2,.8,.2,1);
}

/* top-left horizontal */
.main-nav a::before {
  top: 0;
  left: -1px;
  width: 12px;
  height: 1px;
  transform: scaleX(0.2);
  transform-origin: left center;
}

/* top-left vertical */
.main-nav a::after {
  top: 0;
  left: -2px;
  width: 1px;
  height: calc(100% - 10px);
  transform: scaleY(0.2);
  transform-origin: top center;
}

/* bottom-right vertical */
.main-nav a .nav-meteors::before {
  bottom: 0;
  right: -2px;
  width: 1px;
  height: calc(100% - 10px);
  transform: scaleY(0.2);
  transform-origin: bottom center;
}

/* bottom-right horizontal */
.main-nav a .nav-meteors::after {
  bottom: 0;
  right: -1px;
  width: 12px;
  height: 1px;
  transform: scaleX(0.2);
  transform-origin: right center;
}

/* hover state */
.main-nav a:hover::before,
.main-nav a:hover::after,
.main-nav a:hover .nav-meteors::before,
.main-nav a:hover .nav-meteors::after {
  opacity: 1;
}

.main-nav a:hover::before,
.main-nav a:hover .nav-meteors::after {
  transform: scaleX(1);
}

.main-nav a:hover::after,
.main-nav a:hover .nav-meteors::before {
  transform: scaleY(1);
}

/* continuation of previous section */

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  border-radius: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition:
    background var(--ease),
    border-color var(--ease),
    transform var(--ease);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  transition: transform 300ms ease, opacity 300ms ease;
}

/* =========================
   BUTTONS
   ========================= */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition:
    color 220ms ease,
    transform var(--ease),
    background var(--ease),
    border-color var(--ease),
    box-shadow var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--text);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.16);
}

.btn-secondary {
  color: var(--muted);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.08);
}

.btn-secondary:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.16);
}

.hover-bar {
  overflow: visible;
}

.hover-bar::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: -10px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.55),
    rgba(255,255,255,0.9),
    rgba(255,255,255,0.55),
    transparent
  );
  box-shadow: 0 0 10px rgba(255,255,255,0.18);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 360ms cubic-bezier(.22,1,.36,1);
}

.hover-bar:hover::after {
  transform: scaleX(1);
}

/* =========================
   HERO
   ========================= */

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: end;
  padding: 70px 0 100px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,6,8,0.62) 0%, rgba(5,6,8,0.18) 45%, rgba(5,6,8,0.42) 100%),
    linear-gradient(180deg, transparent 40%, rgba(5,6,8,0.92) 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  min-height: 760px;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(100%, 760px);
  padding-top: 24px;
}

.hero-content h1 {
  margin: 0 0 20px;
  max-width: 10ch;
  font-size: clamp(3.4rem, 8vw, 7.2rem);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.accent-text {
  color: var(--accent);
  text-shadow: 0 0 30px rgba(255,255,255,0.07);
}

.hero-description {
  max-width: 560px;
  margin-bottom: 28px;
  font-size: 1.02rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(100%, 760px);
}

.stat-card {
  position: relative;
  min-height: 132px;
  padding: 20px 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.018)),
    rgba(10, 12, 16, 0.88);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 50px rgba(0,0,0,0.28);
  transition:
    transform var(--ease),
    border-color var(--ease),
    box-shadow var(--ease);
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 1px;
  background: rgba(255,255,255,0.36);
}

.stat-card h3 {
  margin: 0 0 8px;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stat-card p {
  font-size: 0.92rem;
  line-height: 1.65;
}

.hero-visual {
  position: absolute;
  right: 0;
  top: 40px;
  width: min(52%, 720px);
  min-height: 700px;
  z-index: 2;
  perspective: 1200px;
}

.hero-image-card {
  position: absolute;
  overflow: hidden;
  border-radius: 0;
  border: 1px solid rgba(255,255,255,0.1);
  background: #0a0c10;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.03),
    0 30px 90px rgba(0,0,0,0.56);
}

.hero-image-card img {
  height: 100%;
  transition: transform 900ms cubic-bezier(.18,.8,.2,1), filter 500ms ease;
  filter: brightness(0.82) contrast(1.06) saturate(0.95);
}

.hero-image-card:hover img {
  transform: scale(1.06);
}

.hero-image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 84% 18%, rgba(255,255,255,0.08), transparent 26%),
    linear-gradient(180deg, transparent 42%, rgba(5,6,8,0.42) 100%);
}

.main-card {
  width: 78%;
  height: 560px;
  right: 0;
  top: 80px;
  transform: rotate(-1.25deg);
}

.top-card {
  width: 220px;
  height: 170px;
  left: 0;
  top: 10px;
  transform: rotate(1.8deg);
  animation: floatCard 7s ease-in-out infinite;
}

.bottom-card {
  width: 260px;
  height: 190px;
  left: 40px;
  bottom: 20px;
  transform: rotate(-1deg);
  animation: floatCard 8.2s ease-in-out infinite reverse;
}

.hero-badge {
  position: absolute;
  right: 10px;
  bottom: -14px;
  padding: 16px 18px;
  min-width: 220px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015)),
    rgba(8, 10, 14, 0.84);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.03),
    0 20px 50px rgba(0,0,0,0.3);
  backdrop-filter: blur(18px);
}

.hero-badge span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--soft);
}

.hero-badge strong {
  display: block;
  font-size: 0.96rem;
  letter-spacing: -0.03em;
}

/* =========================
   SERVICES
   ========================= */

.services {
  padding-top: 130px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 38px;
  align-items: start;
}

.service-card,
.about-panel-box,
.pricing-card,
.gallery-item,
.contact-form,
.contact-info > div {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.018)),
    rgba(10, 12, 16, 0.9);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}

.service-card {
  position: relative;
  overflow: hidden;
  transition:
    transform var(--ease),
    border-color var(--ease),
    box-shadow var(--ease);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 72px;
  height: 1px;
  background: rgba(255,255,255,0.4);
  z-index: 2;
}

.service-card:nth-child(2) {
  transform: translateY(72px);
}

.service-card:nth-child(3) {
  transform: translateY(36px);
  grid-column: 1 / span 2;
  max-width: 48%;
}

.service-card:hover {
  transform: translateY(-8px) !important;
  border-color: rgba(255,255,255,0.16);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 34px 84px rgba(0,0,0,0.58);
}

.service-card-image {
  height: 280px;
  overflow: hidden;
}

.service-card-image img {
  height: 100%;
  transition: transform 900ms cubic-bezier(.18,.8,.2,1), filter 500ms ease;
  filter: brightness(0.8) contrast(1.08) saturate(0.94);
}

.service-card:hover .service-card-image img {
  transform: scale(1.06);
  filter: brightness(0.88) contrast(1.1) saturate(1);
}

.service-card-content {
  padding: 22px 22px 24px;
}

.service-card-content h3 {
  margin: 0 0 10px;
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.service-card-content p {
  max-width: 36ch;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* =========================
   ABOUT
   ========================= */

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 38px;
  align-items: stretch;
}

.about-content {
  padding-top: 12px;
}

.about-content p {
  max-width: 42ch;
  font-size: 1rem;
  line-height: 1.75;
}

.about-content p + p {
  margin-top: 14px;
}

.about-content .btn {
  margin-top: 18px;
}

.about-panel {
  display: flex;
}

.about-panel-box {
  width: 100%;
  position: relative;
  padding: 34px 30px;
}

.about-panel-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 72px;
  height: 1px;
  background: rgba(255,255,255,0.4);
}

.about-panel-box h3 {
  margin: 0 0 18px;
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.about-panel-box ul {
  display: grid;
  gap: 14px;
}

.about-panel-box li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.about-panel-box li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 1px;
  background: rgba(255,255,255,0.42);
}

/* =========================
   PRICING
   ========================= */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.pricing-card {
  position: relative;
  padding: 30px 26px 28px;
  transition:
    transform var(--ease),
    border-color var(--ease),
    box-shadow var(--ease);
}

.pricing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 72px;
  height: 1px;
  background: rgba(255,255,255,0.4);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,0.16);
}

.pricing-card.featured {
  transform: translateY(-18px);
  border-color: rgba(255,255,255,0.18);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 34px 90px rgba(0,0,0,0.58);
}

.pricing-label {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--soft);
}

.pricing-card h3 {
  margin: 0 0 18px;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.price {
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.pricing-card ul {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.pricing-card li {
  position: relative;
  padding-left: 16px;
}

.pricing-card li::before {
  content: "";
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 7px;
  height: 1px;
  background: rgba(255,255,255,0.42);
}

/* =========================
   GALLERY
   ========================= */

.gallery.section {
  padding-top: 132px;
}

.gallery-compare-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 26px;
  align-items: stretch;
}

.compare-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.018)),
    rgba(10, 12, 16, 0.92);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
  transition:
    transform var(--ease),
    border-color var(--ease),
    box-shadow var(--ease);
}

.compare-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 78px;
  height: 1px;
  background: rgba(255,255,255,0.42);
  z-index: 3;
}

.compare-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,0.16);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 28px 78px rgba(0,0,0,0.56);
}

.compare-card-large {
  grid-row: span 2;
  min-height: 760px;
}

.compare-card:not(.compare-card-large) {
  min-height: 366px;
}

.compare-label-row {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 6px;
  pointer-events: none;
}

.compare-label {
  display: inline-block;
  width: fit-content;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 0.88;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f4f5f7;
  text-shadow: 0 8px 30px rgba(0,0,0,0.45);
}

.compare-kicker {
  display: inline-block;
  width: fit-content;
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b92424;
}

.compare-media {
  position: absolute;
  inset: 0;
}

.compare-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.08) 24%, rgba(0,0,0,0.18) 100%);
  pointer-events: none;
}

.compare-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.84) contrast(1.08) saturate(0.96);
  transition: transform 1s cubic-bezier(.18,.8,.2,1), filter 500ms ease;
}

.compare-card:hover .compare-media img {
  transform: scale(1.045);
  filter: brightness(0.92) contrast(1.12) saturate(1);
}

/* =========================
   CONTACT
   ========================= */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.contact-copy {
  padding-top: 10px;
}

.contact-copy p {
  max-width: 38ch;
  font-size: 1rem;
  line-height: 1.75;
}

.contact-info {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.contact-info > div {
  position: relative;
  padding: 18px 18px 18px 20px;
}

.contact-info > div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 1px;
  background: rgba(255,255,255,0.34);
}

.contact-info strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--soft);
}

.contact-info span {
  display: block;
  color: var(--text);
  line-height: 1.6;
}

.contact-form {
  position: relative;
  padding: 28px;
}

.contact-form::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 72px;
  height: 1px;
  background: rgba(255,255,255,0.34);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0;
  padding: 15px 16px;
  outline: none;
  transition:
    border-color var(--ease),
    box-shadow var(--ease),
    background var(--ease),
    transform var(--ease);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--soft);
}

.contact-form select {
  color: var(--muted);
}

.contact-form textarea {
  resize: vertical;
  min-height: 160px;
  margin-bottom: 18px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.03);
  background: rgba(255,255,255,0.045);
  transform: translateY(-1px);
}

/* =========================
   FOOTER
   ========================= */

.site-footer {
  padding: 34px 0 44px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.16);
}

.footer-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-inner h3 {
  margin: 0 0 4px;
  font-size: 1.06rem;
  letter-spacing: -0.03em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color var(--ease);
}

.footer-links a:hover {
  color: var(--text);
}

/* =========================
   REVEALS
   ========================= */

.reveal-left,
.reveal-right {
  opacity: 0;
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-left {
  transform: translateX(-90px);
}

.reveal-right {
  transform: translateX(90px);
}

.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* =========================
   EFFECT HELPERS
   ========================= */

.service-card.service-glow,
.hover-glow-border,
.hover-edge-glow {
  position: relative;
  overflow: visible;
}

.service-card.service-glow::after,
.hover-glow-border::after,
.hover-edge-glow::after {
  content: "";
  position: absolute;
  inset: -10px;
  background: rgba(255,255,255,0.12);
  filter: blur(18px);
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  z-index: -1;
}

.service-card.service-glow:hover::after,
.hover-glow-border:hover::after,
.hover-edge-glow:hover::after {
  opacity: 0.18;
  transform: scale(1);
}

/* =========================
   ANIMATIONS
   ========================= */

@keyframes floatCard {
  0%, 100% {
    transform: translateY(0) rotate(1.8deg);
  }
  50% {
    transform: translateY(-12px) rotate(2.3deg);
  }
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1180px) {
  .hero-grid {
    min-height: 700px;
  }

  .hero-visual {
    width: min(48%, 620px);
  }

  .service-card:nth-child(3) {
    max-width: 56%;
  }
}

@media (max-width: 1100px) {
  .hero {
    align-items: start;
    padding-top: 40px;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
  }

  .hero-content {
    width: 100%;
    max-width: 760px;
    padding-top: 0;
  }

  .hero-content h1 {
    max-width: 100%;
  }

  .hero-visual {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    max-width: 760px;
    min-height: 620px;
    margin-left: auto;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .services-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card:nth-child(2),
  .service-card:nth-child(3) {
    transform: translateY(0);
  }

  .service-card:nth-child(3) {
    grid-column: auto;
    max-width: none;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 72px;
  }

  .container {
    width: min(calc(100% - 24px), var(--max));
  }

  .section {
    padding: 84px 0;
  }

  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 12px;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .logo img {
    height: 66px;
    max-width: 210px;
  }

  .main-nav {
    position: fixed;
    top: calc(var(--header-height) + 10px);
    left: 12px;
    right: 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 14px;
    background: rgba(8, 10, 14, 0.98);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 24px 70px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 300ms ease, transform 300ms ease;
    backdrop-filter: blur(18px);
  }

  .main-nav.mobile-open {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  .main-nav a {
    width: 100%;
    padding: 14px 12px;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    padding: 28px 0 70px;
  }

  .hero-grid {
    gap: 22px;
  }

  .hero-content h1 {
    font-size: clamp(2.9rem, 11vw, 5rem);
    margin-bottom: 16px;
  }

  .hero-description {
    font-size: 0.98rem;
    margin-bottom: 22px;
  }

  .hero-actions {
    gap: 12px;
    margin-bottom: 24px;
  }

  .btn {
    min-height: 52px;
    padding: 0 22px;
  }

  .hero-stats,
  .services-grid,
  .pricing-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 12px;
  }

  .hero-visual {
    min-height: auto;
    display: grid;
    gap: 14px;
    perspective: none;
    margin: 0;
  }

  .hero-image-card {
    position: relative;
    inset: auto;
    width: 100%;
    transform: none !important;
  }

  .main-card {
    height: clamp(240px, 58vw, 380px);
  }

  .top-card,
  .bottom-card {
    display: block;
    width: 100%;
    height: clamp(150px, 34vw, 220px);
    animation: none;
  }

  .hero-badge {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 2px;
    width: 100%;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gallery-item,
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(4) {
    min-height: 280px;
    grid-row: auto;
    grid-column: auto;
  }

  .pricing-card.featured {
    transform: translateY(0);
  }

  .contact-form {
    padding: 22px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 18px), var(--max));
  }

  .section-tag {
    margin-bottom: 12px;
    font-size: 0.72rem;
  }

  .section-heading h2,
  .about-content h2,
  .contact-copy h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .hero-content h1 {
    font-size: clamp(2.4rem, 12vw, 4rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .service-card-content,
  .pricing-card,
  .about-panel-box,
  .contact-form {
    padding: 20px;
  }

  .contact-form textarea {
    min-height: 140px;
  }

  .logo img {
    height: 52px !important;
    max-width: 180px;
  }

  .gallery-item,
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(4) {
    min-height: 220px;
  }
}

@media (hover: none) and (pointer: coarse) {
  .btn:hover,
  .stat-card:hover,
  .service-card:hover,
  .pricing-card:hover,
  .gallery-item:hover,
  .logo:hover img,
  .hero-image-card:hover img,
  .service-card:hover .service-card-image img,
  .gallery-item:hover img {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal-left,
  .reveal-right {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 980px) {
  .gallery-compare-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .compare-card-large,
  .compare-card:not(.compare-card-large) {
    min-height: 360px;
    grid-row: auto;
  }
}

@media (max-width: 820px) {
  .site-header {
    min-height: 68px;
  }

  .site-header::after {
    display: none;
  }

  .header-inner {
    min-height: 68px;
    grid-template-columns: auto auto;
    gap: 12px;
  }

  .logo img {
    height: 46px;
    max-width: 150px;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: calc(var(--header-height) + 8px);
    left: 12px;
    right: 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px;
    background: rgba(8, 10, 14, 0.98);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 24px 70px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 300ms ease, transform 300ms ease;
    backdrop-filter: blur(18px);
  }

  .main-nav.mobile-open {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  .main-nav a {
    width: 100%;
    padding: 14px 10px;
  }

  .compare-label-row {
    top: 18px;
    left: 18px;
    right: 18px;
  }

  .compare-label {
    font-size: clamp(1.6rem, 10vw, 2.4rem);
  }
}