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

:root {
  --bg: #070708;
  --bg-card: #0e0e10;
  --bg-elevated: #151518;
  --text: #f1f1f3;
  --text-muted: #7f7f89;
  --accent: #d4a373;
  --accent-dim: rgba(212, 163, 115, 0.08);
  --accent-glow: rgba(212, 163, 115, 0.15);
  --border: #1c1c1f;
  --radius: 16px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

::selection {
  background: var(--accent);
  color: #0a0a0a;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }

/* ─── Custom Cursor ─── */
#cursor {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.15s, height 0.15s;
}
#cursor-blur {
  position: fixed;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--accent-dim) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s, width 0.2s, height 0.2s;
}

/* ─── Nav ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  background: rgba(7, 7, 8, 0.8);
  border-bottom: 1px solid var(--border);
  height: 64px;
  animation: navSlideIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes navSlideIn {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  transition: transform 0.4s;
  filter: saturate(1.2);
}
.logo:hover .logo-img { transform: rotate(-6deg) scale(1.08); }

.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
  padding: 4px 0;
  letter-spacing: 0.01em;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

/* ─── Shared Animations ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ─── Hero ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 0 24px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 700px 450px at 50% 35%, var(--accent-dim), transparent 70%),
    radial-gradient(ellipse 300px 300px at 20% 80%, rgba(212, 163, 115, 0.04), transparent 70%),
    radial-gradient(ellipse 300px 300px at 80% 70%, rgba(212, 163, 115, 0.03), transparent 70%);
  pointer-events: none;
  will-change: transform;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}
.hero-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, #f5d6b3 40%, #e8b88a 60%, var(--accent) 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 5s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeIn 1s 1.8s both;
  pointer-events: none;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.4); }
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--accent);
  color: #0a0a0a;
  border: none;
}
.btn-primary:hover {
  box-shadow: 0 0 40px var(--accent-glow), 0 0 80px var(--accent-dim);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  background: var(--accent-dim);
}
.btn svg {
  margin-left: 8px;
  transition: transform 0.3s;
}
.btn:hover svg {
  transform: translate(3px, -3px);
}

/* ─── Page Hero ─── */
.page-hero {
  padding: 160px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 500px 300px at 50% 60%, var(--accent-dim), transparent 70%);
  pointer-events: none;
}
.page-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  position: relative;
}
.page-hero-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}

/* ─── Sections ─── */
.section { padding: 120px 24px; }
.container { max-width: 1100px; margin: 0 auto; }

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  text-align: center;
  position: relative;
  display: inline-block;
  width: 100%;
}
.section-title::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  margin: 10px auto 0;
  border-radius: 2px;
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.section-title.reveal::after { width: 60px; }

.section-desc {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 60px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── Services ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: all 0.4s;
  opacity: 0;
  transform: translateY(30px);
  position: relative;
  isolation: isolate;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius) + 1px);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dim) 50%, transparent 80%);
  opacity: 0;
  transition: opacity 0.5s;
  z-index: -1;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 1px;
}
.service-card.visible { opacity: 1; transform: translateY(0); }
.service-card:hover {
  border-color: transparent;
  transform: translateY(-6px);
  box-shadow: 0 24px 80px rgba(0,0,0,0.3);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border: 1px solid rgba(212, 163, 115, 0.15);
  border-radius: 14px;
  margin-bottom: 24px;
  color: var(--accent);
  transition: all 0.4s;
}
.service-card:hover .service-icon {
  background: var(--accent);
  color: #0a0a0a;
  border-color: var(--accent);
  transform: scale(1.08) rotate(-3deg);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  transition: color var(--transition);
}
.service-card:hover h3 { color: var(--accent); }

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ─── Hero Badge ─── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid rgba(212, 163, 115, 0.2);
  background: rgba(212, 163, 115, 0.06);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  position: relative;
  animation: fadeUp 0.7s 0.2s both;
  backdrop-filter: blur(8px);
}
.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ─── Hero Grid Overlay ─── */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask: radial-gradient(ellipse 60% 50% at 50% 50%, transparent 0%, #000 100%);
  -webkit-mask: radial-gradient(ellipse 60% 50% at 50% 50%, transparent 0%, #000 100%);
}

/* ─── Particles ─── */
.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat linear infinite;
}
@keyframes particleFloat {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ─── Floating Shapes ─── */
.floating-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  border: 1px solid var(--accent);
  animation: shapeFloat 20s ease-in-out infinite;
}
.shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: -5%;
  animation-delay: 0s;
}
.shape-2 {
  width: 200px;
  height: 200px;
  top: 60%;
  right: -3%;
  animation-delay: -5s;
}
.shape-3 {
  width: 150px;
  height: 150px;
  bottom: 20%;
  left: 15%;
  animation-delay: -10s;
}
.shape-4 {
  width: 250px;
  height: 250px;
  top: 20%;
  right: 10%;
  animation-delay: -15s;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}
@keyframes shapeFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(30px, -40px) rotate(5deg); }
  50% { transform: translate(-20px, 20px) rotate(-3deg); }
  75% { transform: translate(40px, 30px) rotate(4deg); }
}

/* ─── Testimonials ─── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: all 0.4s;
  opacity: 0;
  transform: translateY(30px);
  position: relative;
}
.testimonial-card.visible { opacity: 1; transform: translateY(0); }
.testimonial-card:hover {
  border-color: rgba(212, 163, 115, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}
.testimonial-card > p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid rgba(212, 163, 115, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent);
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 2px;
}
.testimonial-author span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ─── Feedback Form ─── */
.feedback-section {
  margin-top: 80px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.feedback-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.feedback-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 36px;
}
.feedback-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: left;
}
.feedback-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.feedback-form input,
.feedback-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition);
}
.feedback-form input:focus,
.feedback-form textarea:focus {
  border-color: var(--accent);
}
.feedback-form input::placeholder,
.feedback-form textarea::placeholder {
  color: var(--text-muted);
}
.feedback-stars-input {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.feedback-stars-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.feedback-stars {
  display: flex;
  gap: 4px;
  cursor: pointer;
}
.feedback-stars svg {
  transition: all 0.2s;
}
.feedback-stars svg:hover {
  transform: scale(1.15);
}
.feedback-form textarea {
  resize: vertical;
  min-height: 100px;
  margin-bottom: 20px;
}
.feedback-form .btn {
  width: 100%;
}
.feedback-toast {
  margin-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  padding: 12px 20px;
  border-radius: 10px;
  display: none;
  animation: fadeIn 0.3s;
}
.feedback-toast.show {
  display: block;
}
.feedback-toast.success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

/* ─── CTA Section ─── */
.section-cta {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 800px 400px at 50% 50%, var(--accent-glow), transparent 70%);
  pointer-events: none;
}
.cta-content {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}
.cta-content h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.cta-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 36px;
}
.btn-lg {
  padding: 18px 44px;
  font-size: 1.05rem;
}

/* ─── Work / Portfolio ─── */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.work-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.4s;
  opacity: 0;
  transform: translateY(30px);
}
.work-card.visible { opacity: 1; transform: translateY(0); }
.work-card:hover {
  border-color: rgba(212, 163, 115, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 24px 80px rgba(0,0,0,0.3);
}
.work-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg);
  position: relative;
}
.work-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,7,8,0.6) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.work-card:hover .work-img::after { opacity: 1; }
.work-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}
.work-card:hover .work-img img { transform: scale(1.06); }
.work-info { padding: 20px 24px; }
.work-info h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  transition: color var(--transition);
}
.work-card:hover .work-info h3 { color: var(--accent); }
.work-tag {
  font-size: 0.7rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  opacity: 0.85;
}
.work-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.5;
}

/* ─── Work Showcase ─── */
.work-showcase {
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.work-showcase-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s;
}
.work-showcase-card.visible { opacity: 1; transform: translateY(0); }
.work-showcase-card:nth-child(even) .work-showcase-img { order: 1; }
.work-showcase-card:nth-child(even) .work-showcase-body { order: 0; }

.work-showcase-img {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
}
.work-showcase-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.7s;
}
.work-showcase-card:hover .work-showcase-img img { transform: scale(1.03); }

.work-showcase-body h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 12px 0 16px;
  letter-spacing: -0.02em;
  transition: color var(--transition);
}
.work-showcase-card:hover .work-showcase-body h2 { color: var(--accent); }

.work-showcase-body p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 28px;
}
.work-showcase-body .btn svg { margin-left: 8px; transition: transform 0.3s; }
.work-showcase-body .btn:hover svg { transform: translate(3px, -3px); }

/* ─── Contact Grid ─── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 64px;
}
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  transition: all 0.4s;
  opacity: 0;
  transform: translateY(30px);
}
.contact-card.visible { opacity: 1; transform: translateY(0); }
.contact-card:hover {
  border-color: rgba(212, 163, 115, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 24px 80px rgba(0,0,0,0.3);
}
.contact-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border: 1px solid rgba(212, 163, 115, 0.15);
  border-radius: 14px;
  margin: 0 auto 24px;
  color: var(--accent);
  transition: all 0.4s;
}
.contact-card:hover .contact-card-icon {
  background: var(--accent);
  color: #0a0a0a;
  border-color: var(--accent);
  transform: scale(1.08) rotate(-3deg);
}
.contact-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  transition: color var(--transition);
}
.contact-card:hover h3 { color: var(--accent); }
.contact-card > p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.contact-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 500;
  transition: gap var(--transition);
}
.contact-card-link svg { transition: transform 0.3s; }
.contact-card-link:hover svg { transform: translate(3px, -3px); }
.contact-card-link.disabled { color: var(--text-muted); cursor: default; }
.contact-cta {
  text-align: center;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.contact-cta p { color: var(--text-muted); margin-bottom: 20px; }

/* ─── Footer ─── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.footer-logo {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: cover;
  transition: transform 0.4s;
}
.footer-brand:hover .footer-logo { transform: rotate(-6deg) scale(1.08); }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color var(--transition);
  position: relative;
  padding: 2px 0;
}
.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s;
}
.footer-links a:hover { color: var(--accent); }
.footer-links a:hover::after { width: 100%; }

/* ─── Responsive ─── */

/* Tablets & small laptops */
@media (max-width: 1024px) {
  .work-showcase-card {
    gap: 32px;
  }
}

/* Mobile landscape & large phones */
@media (max-width: 768px) {
  .hero {
    min-height: 100dvh;
    padding: 0 20px;
    padding-top: 64px;
  }
  .hero-content {
    padding-bottom: 60px;
  }
  .hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }
  .hero-sub {
    font-size: 1rem;
    margin-bottom: 32px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .hero-actions .btn {
    width: 100%;
    max-width: 320px;
  }
  .scroll-indicator {
    display: none;
  }

  .page-hero {
    padding: 130px 20px 50px;
  }
  .page-hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-hero-sub {
    font-size: 1rem;
  }

  .section {
    padding: 64px 20px;
  }
  .section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }
  .section-desc {
    font-size: 0.95rem;
    margin-bottom: 40px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(7, 7, 8, 0.98);
    flex-direction: column;
    align-items: center;
    padding: 24px 20px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    animation: fadeIn 0.2s;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    font-size: 1rem;
    padding: 8px 0;
  }
  .hamburger { display: flex; }

  .hero-badge {
    font-size: 0.65rem;
    padding: 6px 16px;
    margin-bottom: 20px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .testimonial-card {
    padding: 28px 24px;
  }

  .cta-content h2 {
    font-size: 1.6rem;
  }
  .btn-lg {
    padding: 14px 32px;
    font-size: 0.95rem;
  }

  .shape-1, .shape-2, .shape-3, .shape-4 {
    display: none;
  }

  .services-grid, .work-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .service-card, .contact-card {
    padding: 28px 24px;
  }

  .work-showcase {
    gap: 56px;
  }
  .work-showcase-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .work-showcase-card:nth-child(even) .work-showcase-img { order: 0; }
  .work-showcase-card:nth-child(even) .work-showcase-body { order: 0; }
  .work-showcase-body h2 {
    font-size: 1.4rem;
    margin: 8px 0 12px;
  }
  .work-showcase-body p {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .contact-links {
    flex-direction: column;
  }
  .contact-link {
    width: 100%;
  }
  .contact-cta .btn {
    width: 100%;
    max-width: 400px;
  }

  footer {
    padding: 24px 20px;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .footer-links {
    gap: 20px;
  }

  body { cursor: auto; }
  #cursor, #cursor-blur { display: none; }
  .btn { cursor: pointer; }
}

/* Small phones */
@media (max-width: 480px) {
  .hero {
    padding: 0 16px;
    padding-top: 64px;
  }
  .hero-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }
  .hero-sub {
    font-size: 0.9rem;
    margin-bottom: 28px;
  }

  .page-hero {
    padding: 120px 16px 40px;
  }
  .page-hero-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .section {
    padding: 48px 16px;
  }
  .section-desc {
    font-size: 0.9rem;
    margin-bottom: 32px;
  }

  .testimonial-card {
    padding: 24px 20px;
  }
  .testimonial-card > p {
    font-size: 0.85rem;
  }

  .cta-content h2 {
    font-size: 1.4rem;
  }
  .cta-content p {
    font-size: 0.9rem;
  }

  .service-card, .contact-card {
    padding: 24px 20px;
  }
  .service-icon, .contact-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin-bottom: 20px;
  }
  .service-icon svg, .contact-card-icon svg {
    width: 32px;
    height: 32px;
  }
  .service-card h3, .contact-card h3 {
    font-size: 1.1rem;
  }

  .work-info {
    padding: 16px 20px;
  }
  .work-info h3 {
    font-size: 1rem;
  }

  .work-showcase-body h2 {
    font-size: 1.2rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .contact-card-link {
    font-size: 0.85rem;
    word-break: break-all;
  }

  footer {
    padding: 20px 16px;
  }
  .footer-brand {
    font-size: 0.8rem;
    flex-direction: column;
    gap: 6px;
  }
}

/* Very small devices */
@media (max-width: 375px) {
  .hero-title {
    font-size: 1.5rem;
  }
  .section-title {
    font-size: 1.3rem;
  }
  .hero-actions .btn {
    max-width: 100%;
  }
  .nav-links a {
    font-size: 0.9rem;
  }
}
