/* ========================================
   K4 Home Improvement — Premium Dark Luxury
   Color System: Plum + Amber
======================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --plum-950: #0d0514;
  --plum-900: #1a0a2e;
  --plum-800: #2d1250;
  --plum-700: #3d1a6b;
  --plum-600: #5c2d9e;
  --plum-500: #7c4dff;
  --amber-400: #f5c842;
  --amber-500: #d4a017;
  --amber-600: #b8860b;
  --amber-300: #fce88a;
  --neutral-50: #f8f7f4;
  --neutral-100: #f0eeeb;
  --neutral-200: #e2dfd9;
  --neutral-300: #c4c0b8;
  --neutral-400: #9e9a92;
  --neutral-500: #6b6760;
  --neutral-600: #4a4640;
  --neutral-700: #2e2b26;
  --neutral-800: #1e1c18;
  --neutral-900: #12100d;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--neutral-100);
  background-color: var(--plum-950);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--amber-500);
  color: var(--plum-950);
  padding: 0.5rem 1rem;
  border-radius: 0 0 0.5rem 0.5rem;
  z-index: 1000;
  font-weight: 600;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Typography ---------- */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber-500);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--neutral-50);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--neutral-300);
  max-width: 600px;
  line-height: 1.7;
}

.text-gold {
  color: var(--amber-400);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(135deg, var(--amber-400) 0%, var(--amber-600) 100%);
  color: var(--plum-950);
  box-shadow: 0 4px 20px rgba(212, 160, 23, 0.25), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 160, 23, 0.4), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-gold:active {
  transform: translateY(0);
}

.btn-outline-light {
  background: transparent;
  color: var(--neutral-50);
  border: 1.5px solid rgba(248, 247, 244, 0.3);
}

.btn-outline-light:hover {
  border-color: var(--amber-400);
  color: var(--amber-400);
  background: rgba(245, 200, 66, 0.05);
}

.btn-outline-gold {
  background: transparent;
  color: var(--amber-500);
  border: 1.5px solid var(--amber-500);
}

.btn-outline-gold:hover {
  background: rgba(212, 160, 23, 0.1);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(13, 5, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 160, 23, 0.1);
  transition: background 0.3s, box-shadow 0.3s;
}

.header.scrolled {
  background: rgba(13, 5, 20, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.logo-mark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--amber-400);
  letter-spacing: -0.02em;
}

.logo-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--neutral-200);
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a:not(.btn) {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--neutral-300);
  transition: color 0.2s;
  position: relative;
}

.nav a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--amber-400);
  transition: width 0.3s var(--ease-out);
}

.nav a:not(.btn):hover {
  color: var(--neutral-50);
}

.nav a:not(.btn):hover::after {
  width: 100%;
}

/* Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  z-index: 110;
}

.nav-toggle-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--neutral-200);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--plum-950);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 5, 20, 0.92) 0%,
    rgba(26, 10, 46, 0.88) 40%,
    rgba(45, 18, 80, 0.80) 100%
  );
}

.hero .container {
  position: relative;
  z-index: 1;
  padding-top: 72px;
  padding-bottom: 4rem;
}

.hero-content {
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--amber-400);
  background: rgba(212, 160, 23, 0.1);
  border: 1px solid rgba(212, 160, 23, 0.25);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--neutral-50);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  color: var(--neutral-300);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--neutral-400);
}

.trust-item svg {
  color: var(--amber-500);
  flex-shrink: 0;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--neutral-500);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ---------- Services ---------- */
.services {
  padding: 7rem 0;
  background: var(--plum-950);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(92, 45, 158, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: linear-gradient(135deg, rgba(45, 18, 80, 0.3) 0%, rgba(26, 10, 46, 0.5) 100%);
  border: 1px solid rgba(212, 160, 23, 0.08);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--amber-500), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 160, 23, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(212, 160, 23, 0.05);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 160, 23, 0.1);
  border: 1px solid rgba(212, 160, 23, 0.2);
  border-radius: 0.75rem;
  color: var(--amber-400);
  margin-bottom: 1.25rem;
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--neutral-50);
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.9375rem;
  color: var(--neutral-400);
  line-height: 1.7;
}

/* ---------- About ---------- */
.about {
  padding: 7rem 0;
  background: linear-gradient(180deg, var(--plum-950) 0%, var(--plum-900) 50%, var(--plum-950) 100%);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-main {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.about-image-main img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-image-accent {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 3px solid var(--plum-800);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.about-image-accent img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.about-stat {
  position: absolute;
  top: -1.5rem;
  left: -1rem;
  background: linear-gradient(135deg, var(--amber-400) 0%, var(--amber-600) 100%);
  color: var(--plum-950);
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  text-align: center;
  box-shadow: 0 10px 40px rgba(212, 160, 23, 0.3);
}

.about-stat .stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.about-stat .stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-content .section-title {
  margin-top: 0.5rem;
}

.about-text {
  font-size: 1.0625rem;
  color: var(--neutral-300);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-features {
  margin-top: 2rem;
  display: grid;
  gap: 0.875rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--neutral-200);
}

.feature-item svg {
  color: var(--amber-500);
  flex-shrink: 0;
}

/* ---------- Projects ---------- */
.projects {
  padding: 7rem 0;
  background: var(--plum-950);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.project-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  group: true;
}

.project-img {
  overflow: hidden;
}

.project-img img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.project-card:hover .project-img img {
  transform: scale(1.05);
}

.project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 5, 20, 0.8) 0%, transparent 50%);
  pointer-events: none;
}

.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  z-index: 1;
}

.project-category {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-400);
  background: rgba(212, 160, 23, 0.15);
  border: 1px solid rgba(212, 160, 23, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 0.5rem;
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--neutral-50);
}

/* ---------- Testimonials ---------- */
.testimonials {
  padding: 7rem 0;
  background: linear-gradient(180deg, var(--plum-950) 0%, var(--plum-900) 100%);
  position: relative;
}

.testimonials::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: linear-gradient(135deg, rgba(45, 18, 80, 0.25) 0%, rgba(26, 10, 46, 0.4) 100%);
  border: 1px solid rgba(212, 160, 23, 0.08);
  border-radius: 1rem;
  padding: 2rem;
  position: relative;
  transition: all 0.3s var(--ease-out);
}

.testimonial-card:hover {
  border-color: rgba(212, 160, 23, 0.2);
  transform: translateY(-2px);
}

.testimonial-quote {
  color: var(--amber-500);
  opacity: 0.4;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 0.9375rem;
  color: var(--neutral-300);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--plum-700) 0%, var(--plum-600) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--amber-400);
  border: 1px solid rgba(212, 160, 23, 0.2);
}

.author-name {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--neutral-50);
}

.author-location {
  display: block;
  font-size: 0.8125rem;
  color: var(--neutral-500);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--plum-800) 0%, var(--plum-900) 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.cta-content {
  flex: 1;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--neutral-50);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.cta-text {
  font-size: 1.0625rem;
  color: var(--neutral-300);
  line-height: 1.7;
  max-width: 500px;
}

.cta-actions {
  flex-shrink: 0;
}

/* ---------- Contact ---------- */
.contact {
  padding: 7rem 0;
  background: var(--plum-950);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-desc {
  font-size: 1.0625rem;
  color: var(--neutral-400);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.contact-details {
  display: grid;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 160, 23, 0.1);
  border: 1px solid rgba(212, 160, 23, 0.2);
  border-radius: 0.625rem;
  color: var(--amber-400);
  flex-shrink: 0;
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--neutral-500);
  margin-bottom: 0.25rem;
}

.contact-value {
  font-size: 0.9375rem;
  color: var(--neutral-200);
  line-height: 1.6;
}

.contact-value a {
  transition: color 0.2s;
}

.contact-value a:hover {
  color: var(--amber-400);
}

/* Form */
.contact-form-wrap {
  background: linear-gradient(135deg, rgba(45, 18, 80, 0.3) 0%, rgba(26, 10, 46, 0.5) 100%);
  border: 1px solid rgba(212, 160, 23, 0.1);
  border-radius: 1rem;
  padding: 2.5rem;
}

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

.form-group {
  display: grid;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--neutral-300);
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--neutral-50);
  background: rgba(13, 5, 20, 0.6);
  border: 1px solid rgba(212, 160, 23, 0.15);
  border-radius: 0.5rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--neutral-600);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--amber-500);
  box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.1);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23d4a017' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group select option {
  background: var(--plum-900);
  color: var(--neutral-200);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Success State */
.form-success {
  text-align: center;
  padding: 2rem;
}

.success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 160, 23, 0.1);
  border: 2px solid rgba(212, 160, 23, 0.3);
  border-radius: 50%;
  color: var(--amber-400);
}

.success-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--neutral-50);
  margin-bottom: 0.75rem;
}

.success-text {
  font-size: 0.9375rem;
  color: var(--neutral-400);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--neutral-900);
  border-top: 1px solid rgba(212, 160, 23, 0.08);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-desc {
  font-size: 0.9375rem;
  color: var(--neutral-500);
  line-height: 1.7;
  margin-top: 1rem;
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber-500);
  margin-bottom: 1.25rem;
}

.footer-links ul {
  display: grid;
  gap: 0.625rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--neutral-400);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--neutral-50);
}

.footer-phone {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--amber-400);
  transition: color 0.2s;
}

.footer-phone:hover {
  color: var(--amber-300);
}

.footer-address {
  font-size: 0.875rem;
  color: var(--neutral-500);
  line-height: 1.7;
  margin-top: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--neutral-600);
}

/* ---------- Scroll Reveal (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
  .reveal-delay-5 { transition-delay: 0.5s; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .testimonials-grid .testimonial-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    height: 100dvh;
    background: rgba(13, 5, 20, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    border-left: 1px solid rgba(212, 160, 23, 0.1);
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav a:not(.btn) {
    font-size: 1.125rem;
    color: var(--neutral-200);
  }

  .nav .btn-gold {
    margin-top: 1rem;
    justify-content: center;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

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

  .hero-actions .btn {
    justify-content: center;
  }

  .hero-trust {
    gap: 1rem;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image-accent {
    right: 0;
    bottom: -1.5rem;
  }

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

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

  .testimonials-grid .testimonial-card:last-child {
    grid-column: span 1;
    max-width: 100%;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-text {
    max-width: 100%;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .services,
  .about,
  .projects,
  .testimonials,
  .contact {
    padding: 5rem 0;
  }

  .contact-form-wrap {
    padding: 1.5rem;
  }
}
