/* ============================================================
   Nahness — portfolio. Dark + purple, smooth GPU-only motion.
   ============================================================ */

:root {
  --bg: #07070c;
  --bg-2: #0c0c15;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --text: #f3f2f8;
  --muted: #9b99ae;
  --accent: #8b5cf6;
  --accent-2: #c084fc;
  --accent-3: #6d28d9;
  --glow: rgba(139, 92, 246, 0.35);
  --grad: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 45%, #6d28d9 100%);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Unbounded", "Inter", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(139, 92, 246, 0.45); color: #fff; }

/* ---------- particles canvas ---------- */
#particles {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* ---------- header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 5vw, 64px);
  transition: background 0.4s var(--ease-out), backdrop-filter 0.4s var(--ease-out),
              padding 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(7, 7, 12, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom-color: var(--border);
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: transform 0.35s var(--ease-spring);
  display: inline-block;
}
.logo:hover { transform: scale(1.05); }
.logo-dot {
  color: var(--accent-2);
  display: inline-block;
  animation: dotPulse 2.4s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

.nav { display: flex; gap: 8px; align-items: center; }
.nav-link {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 10px;
  transition: color 0.3s var(--ease-out), background 0.3s var(--ease-out), transform 0.3s var(--ease-spring);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.nav-link:hover { color: var(--text); background: var(--surface); transform: translateY(-1px); }
.nav-link:hover::after { transform: scaleX(1); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px clamp(20px, 5vw, 64px) 90px;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-gif {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroDrift 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes heroDrift {
  from { transform: scale(1.06) translate(0, 0); }
  to   { transform: scale(1.12) translate(-1.5%, -2%); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 65% at 50% 38%, rgba(139, 92, 246, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(7, 7, 12, 0.82) 0%, rgba(7, 7, 12, 0.68) 45%, rgba(7, 7, 12, 0.94) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 980px;
  width: 100%;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.35);
  padding: 8px 18px;
  border-radius: 100px;
  backdrop-filter: blur(6px);
}
.tag-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 10px var(--accent-2);
  animation: dotPulse 2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(52px, 11vw, 128px);
  line-height: 1.04;
  margin-top: 22px;
  letter-spacing: 0.01em;
  background: linear-gradient(110deg, #ffffff 20%, #c4b5fd 42%, #8b5cf6 55%, #ffffff 78%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleShine 7s ease-in-out infinite;
  filter: drop-shadow(0 6px 34px rgba(139, 92, 246, 0.35));
}
@keyframes titleShine {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-subtitle {
  margin-top: 18px;
  font-size: clamp(16px, 2.4vw, 21px);
  color: var(--muted);
  font-weight: 500;
  max-width: 560px;
}

/* ---------- hero info cards (hours + clock) ---------- */
.hero-info {
  margin-top: 52px;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(12, 12, 21, 0.62);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px 28px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  transition: transform 0.45s var(--ease-spring), border-color 0.35s var(--ease-out),
              box-shadow 0.45s var(--ease-out);
  will-change: transform;
}
.info-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(139, 92, 246, 0.14);
}

.info-icon {
  flex: none;
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: var(--accent-2);
}
.info-icon svg { width: 26px; height: 26px; }

.info-text { text-align: left; }
.info-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.info-value { font-size: 22px; font-weight: 700; margin-top: 2px; }
.info-tz {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-2);
  background: rgba(139, 92, 246, 0.16);
  border: 1px solid rgba(139, 92, 246, 0.35);
  padding: 2px 8px;
  border-radius: 7px;
  vertical-align: middle;
}

.work-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 7px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
}
.status-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px #34d399;
  animation: dotPulse 1.8s ease-in-out infinite;
}
.status-dot.offline { background: #f87171; box-shadow: 0 0 10px #f87171; }

/* ---------- clock ---------- */
.clock-card { padding-right: 34px; }
.clock {
  width: 118px;
  height: 118px;
  flex: none;
  filter: drop-shadow(0 0 18px rgba(139, 92, 246, 0.25));
}
.clock-face { fill: rgba(10, 10, 18, 0.85); }
.clock-rim {
  fill: none;
  stroke: url(#rimGrad);
  stroke-width: 3;
}
#ticks line { stroke: rgba(255, 255, 255, 0.22); stroke-width: 1.6; }
#ticks line.major { stroke: var(--accent-2); stroke-width: 3; }

.hand { transform-origin: 100px 100px; will-change: transform; }
.hand line { stroke-linecap: round; }
.hour-hand line { stroke: #e9e7f5; stroke-width: 6; }
.min-hand line { stroke: #c4b5fd; stroke-width: 4; }
.sec-hand line { stroke: var(--accent-2); stroke-width: 2; }
.sec-tip { fill: var(--accent-2); }
.clock-cap { fill: var(--accent); }
.clock-cap-inner { fill: #0c0c15; }

.clock-side { text-align: left; }
.clock-digital {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.clock-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

/* ---------- scroll hint ---------- */
.scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.3s var(--ease-out);
}
.scroll-hint svg { width: 20px; height: 20px; animation: hintBounce 1.8s var(--ease-out) infinite; }
.scroll-hint:hover { color: var(--accent-2); }
@keyframes hintBounce {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(7px); opacity: 1; }
}

/* ---------- sections ---------- */
.projects {
  position: relative;
  z-index: 2;
  padding: 110px clamp(20px, 5vw, 64px) 90px;
  max-width: 1280px;
  margin: 0 auto;
}

.section-head { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.35);
  padding: 7px 16px;
  border-radius: 100px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  margin-top: 18px;
}
.section-desc { color: var(--muted); margin-top: 12px; font-size: 16px; }

/* ---------- project cards ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
  perspective: 1200px;
}

.project-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--border);
  cursor: pointer;
  transform-style: preserve-3d;
  transition: border-color 0.35s var(--ease-out), box-shadow 0.45s var(--ease-out);
  will-change: transform;
  opacity: 0;
  transform: translateY(34px);
}
.project-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out),
              border-color 0.35s var(--ease-out), box-shadow 0.45s var(--ease-out);
  transition-delay: var(--rd, 0s), var(--rd, 0s), 0s, 0s;
}
.project-card:hover {
  border-color: rgba(139, 92, 246, 0.55);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.55), 0 0 46px rgba(139, 92, 246, 0.16);
}

.pc-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #101019;
}
.pc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 0.8s var(--ease-out), filter 0.5s var(--ease-out);
  will-change: transform;
  backface-visibility: hidden;
}
.project-card:hover .pc-media img { transform: scale(1.07); filter: brightness(0.75); }

.pc-hover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(7, 7, 12, 0) 20%, rgba(7, 7, 12, 0.88) 78%);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}
.project-card:hover .pc-hover { opacity: 1; transform: translateY(0); }
.pc-hover p { font-size: 14.5px; color: #d9d7e6; line-height: 1.5; }
.pc-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.pc-more svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease-spring); }
.project-card:hover .pc-more svg { transform: translateX(4px); }

.pc-body { padding: 20px 22px 22px; }
.pc-title { font-family: var(--font-display); font-size: 19px; font-weight: 700; }
.pc-tag { font-size: 13px; color: var(--muted); margin-top: 5px; }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 13px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out),
              background 0.3s var(--ease-out), filter 0.3s var(--ease-out);
  will-change: transform;
}
.btn svg { width: 17px; height: 17px; transition: transform 0.3s var(--ease-spring); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn:active { transform: scale(0.96); }

.btn-primary {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(139, 92, 246, 0.5);
  filter: brightness(1.08);
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: ripple 0.65s var(--ease-out) forwards;
  pointer-events: none;
}
@keyframes ripple {
  to { transform: scale(3.2); opacity: 0; }
}

/* ---------- modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 22px;
  visibility: hidden;
  pointer-events: none;
}
.modal.open { visibility: visible; pointer-events: auto; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 8, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}
.modal.open .modal-backdrop { opacity: 1; }

.modal-panel {
  position: relative;
  width: min(680px, 100%);
  max-height: min(86vh, 860px);
  overflow-y: auto;
  background: rgba(14, 14, 23, 0.96);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 24px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7), 0 0 60px rgba(139, 92, 246, 0.12);
  opacity: 0;
  transform: translateY(34px) scale(0.96);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-spring);
  scrollbar-width: thin;
  scrollbar-color: var(--accent-3) transparent;
}
.modal.open .modal-panel { opacity: 1; transform: translateY(0) scale(1); }

.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 3;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(10, 10, 18, 0.7);
  backdrop-filter: blur(8px);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.4s var(--ease-spring), background 0.3s, border-color 0.3s, color 0.3s;
}
.modal-close svg { width: 18px; height: 18px; }
.modal-close:hover {
  transform: rotate(90deg) scale(1.06);
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.5);
  color: var(--accent-2);
}

.modal-media { position: relative; aspect-ratio: 16 / 8; overflow: hidden; }
.modal-panel.no-media .modal-media { display: none; }
.modal-panel.no-media .modal-body { padding-top: 30px; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.modal-media-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(14, 14, 23, 0.96) 100%);
}

.modal-body { padding: 6px 32px 32px; }
.modal-title { font-family: var(--font-display); font-size: 26px; font-weight: 700; }
.modal-tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.35);
  padding: 5px 12px;
  border-radius: 100px;
}
.modal-desc { margin-top: 16px; color: #cfcddc; font-size: 15.5px; }

.modal-pros-title {
  margin-top: 24px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.modal-pros { list-style: none; margin-top: 12px; display: grid; gap: 9px; }
.modal-pros li {
  position: relative;
  padding-left: 28px;
  font-size: 14.5px;
  color: #d9d7e6;
}
.modal-pros li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.18);
  border: 1px solid rgba(139, 92, 246, 0.5);
}
.modal-pros li::after {
  content: "";
  position: absolute;
  left: 5px; top: 8.5px;
  width: 6px; height: 3.5px;
  border-left: 2px solid var(--accent-2);
  border-bottom: 2px solid var(--accent-2);
  transform: rotate(-45deg);
}

.modal-link { margin-top: 28px; }

/* ---------- contacts ---------- */
.contacts {
  position: relative;
  z-index: 2;
  padding: 60px clamp(20px, 5vw, 64px) 40px;
  max-width: 1080px;
  margin: 0 auto;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
  transition: transform 0.45s var(--ease-spring), border-color 0.35s var(--ease-out),
              box-shadow 0.45s var(--ease-out);
  will-change: transform;
}
.contact-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.55);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 44px rgba(139, 92, 246, 0.15);
}

.contact-logo {
  flex: none;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: var(--grad);
  box-shadow: 0 10px 26px rgba(139, 92, 246, 0.4);
  color: #fff;
  transition: transform 0.45s var(--ease-spring), box-shadow 0.4s var(--ease-out);
}
.contact-card:hover .contact-logo {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 14px 34px rgba(139, 92, 246, 0.55);
}
.contact-logo svg { width: 30px; height: 30px; }

.contact-info { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.contact-name { font-family: var(--font-display); font-size: 20px; font-weight: 700; }
.contact-time {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
}
.contact-time svg { width: 15px; height: 15px; flex: none; color: var(--accent-2); }
.contact-btn { margin-top: 8px; font-size: 14px; padding: 11px 20px; }

.contacts-note {
  margin-top: 26px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  padding: 14px 20px;
  border: 1px dashed rgba(139, 92, 246, 0.35);
  border-radius: 14px;
  background: rgba(139, 92, 246, 0.06);
}

/* ---------- pricing / services ---------- */
.pricing {
  position: relative;
  z-index: 2;
  padding: 90px clamp(20px, 5vw, 64px) 100px;
  max-width: 1280px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  perspective: 1200px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 26px;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: border-color 0.35s var(--ease-out), box-shadow 0.45s var(--ease-out);
  will-change: transform;
  opacity: 0;
  transform: translateY(34px);
}
.service-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out),
              border-color 0.35s var(--ease-out), box-shadow 0.45s var(--ease-out);
  transition-delay: var(--rd, 0s), var(--rd, 0s), 0s, 0s;
}
.service-card:hover {
  border-color: rgba(139, 92, 246, 0.55);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 44px rgba(139, 92, 246, 0.15);
}

.sc-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: var(--accent-2);
  transition: transform 0.45s var(--ease-spring), background 0.3s var(--ease-out);
}
.service-card:hover .sc-icon {
  transform: scale(1.1) rotate(-5deg);
  background: rgba(139, 92, 246, 0.24);
}
.sc-icon svg { width: 24px; height: 24px; }

.sc-title { font-family: var(--font-display); font-size: 17.5px; font-weight: 700; line-height: 1.3; }

.sc-price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sc-short { font-size: 14px; color: var(--muted); line-height: 1.55; flex: 1; }

.sc-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.sc-more svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease-spring); }
.service-card:hover .sc-more svg { transform: translateX(4px); }

/* ---------- footer ---------- */
.footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 34px 20px 40px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--border);
}

/* ---------- reveal on load / scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- responsive ---------- */
@media (max-width: 640px) {
  .hero-info { flex-direction: column; align-items: stretch; }
  .info-card { justify-content: flex-start; }
  .clock-card { justify-content: flex-start; }
  .modal-body { padding: 4px 22px 26px; }
  .nav-link { padding: 8px 10px; font-size: 13.5px; }
  .contact-card { flex-direction: column; }
  .contacts, .pricing { padding-left: 16px; padding-right: 16px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
