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

:root {
  --ink: #0d1117;
  --ink2: #1e2530;
  --slate: #4a5568;
  --mist: #f7f8fa;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --green: #22c55e;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 4px 32px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 60px rgba(0,0,0,0.18);
}

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--ink); background: var(--white); line-height: 1.6; }

/* ─── Flash messages ─── */
.flash-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 9999; }
.flash-msg { padding: 14px 24px; text-align: center; font-weight: 500; font-size: 0.95rem; }
.flash-msg.success { background: #dcfce7; color: #166534; }
.flash-msg.error   { background: #fee2e2; color: #991b1b; }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 5%;
  background: rgba(13,17,23,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  transition: padding 0.3s;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-weight: 900;
  color: var(--gold); letter-spacing: -0.5px;
  text-decoration: none;
}
.nav-logo span { color: var(--white); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--gold); color: var(--ink);
  padding: 10px 22px; border-radius: 30px;
  text-decoration: none; font-weight: 600; font-size: 0.88rem;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  background: var(--ink);
  display: flex; align-items: center;
  padding: 120px 5% 80px;
  position: relative; overflow: hidden;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-glow {
  position: absolute; top: 20%; right: 10%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.12) 0%, transparent 70%);
  animation: pulse 6s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.1);opacity:0.7} }
.hero-inner { position: relative; max-width: 760px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,168,76,0.12); border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold); padding: 6px 16px; border-radius: 30px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; margin-bottom: 28px;
  animation: fadeUp 0.6s ease both;
}
.hero-badge::before { content:'●'; font-size: 0.5rem; }
.hero-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900; line-height: 1.1;
  color: var(--white); margin-bottom: 24px;
  animation: fadeUp 0.7s 0.1s ease both;
}
.hero-h1 em { color: var(--gold); font-style: normal; }
.hero-sub {
  font-size: 1.15rem; color: rgba(255,255,255,0.65);
  max-width: 560px; margin-bottom: 44px; font-weight: 300; line-height: 1.7;
  animation: fadeUp 0.7s 0.2s ease both;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeUp 0.7s 0.3s ease both; }
.btn-primary {
  background: var(--gold); color: var(--ink);
  padding: 16px 36px; border-radius: 40px;
  text-decoration: none; font-weight: 700; font-size: 0.95rem;
  box-shadow: 0 4px 24px rgba(201,168,76,0.35);
  transition: all 0.2s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(201,168,76,0.45); }
.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.25); color: var(--white);
  padding: 16px 36px; border-radius: 40px;
  text-decoration: none; font-weight: 500; font-size: 0.95rem;
  transition: all 0.2s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.hero-stats {
  display: flex; gap: 40px; margin-top: 64px; flex-wrap: wrap;
  animation: fadeUp 0.7s 0.4s ease both;
}
.hero-stat strong { display: block; font-size: 2rem; font-weight: 900; color: var(--gold); }
.hero-stat span { font-size: 0.85rem; color: rgba(255,255,255,0.5); }

@keyframes fadeUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }

/* ─── SECTIONS ─── */
section { padding: 96px 5%; }
.section-label {
  display: inline-block; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700; color: var(--ink); line-height: 1.2;
  margin-bottom: 16px;
}
.section-title.light { color: var(--white); }
.section-sub { font-size: 1.05rem; color: var(--slate); max-width: 560px; }
.section-sub.light { color: rgba(255,255,255,0.6); }
.center { text-align: center; }
.center .section-sub { margin: 0 auto; }

/* ─── WHAT I COVER ─── */
#what-i-cover { background: var(--mist); }
.cover-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 56px; }
.cover-card {
  background: var(--white); border-radius: var(--radius); padding: 32px 28px;
  border: 1px solid rgba(0,0,0,0.06); transition: transform 0.2s, box-shadow 0.2s;
}
.cover-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cover-icon { font-size: 2rem; margin-bottom: 14px; }
.cover-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.cover-card p { font-size: 0.88rem; color: var(--slate); }
.cover-check { color: var(--green); font-weight: 700; font-size: 0.8rem; margin-top: 12px; }

/* ─── SERVICES ─── */
#services { background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; margin-top: 56px; }
.service-card {
  border: 1.5px solid rgba(0,0,0,0.08); border-radius: var(--radius); padding: 36px 28px;
  transition: all 0.25s; position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.svc-icon { font-size: 2.2rem; margin-bottom: 16px; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.service-card p { font-size: 0.9rem; color: var(--slate); line-height: 1.65; }

/* ─── WHO I HELP (CUSTOMERS) ─── */
#customers { background: var(--ink); }
.customers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 56px; }
.customer-chip {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius); padding: 24px 20px;
  transition: background 0.2s, border-color 0.2s;
}
.customer-chip:hover { background: rgba(201,168,76,0.08); border-color: var(--gold); }
.customer-chip .cust-icon { font-size: 1.8rem; margin-bottom: 10px; }
.customer-chip h3 { font-size: 0.92rem; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.customer-chip p { font-size: 0.8rem; color: rgba(255,255,255,0.45); }

/* ─── PORTFOLIO ─── */
#portfolio { background: var(--mist); }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; margin-top: 56px; }
.port-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform 0.25s, box-shadow 0.25s;
}
.port-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.port-img {
  height: 180px;
  background: linear-gradient(135deg, var(--ink2) 0%, #2d3748 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700;
  color: var(--gold); letter-spacing: -0.5px; padding: 20px; text-align: center;
}
.port-body { padding: 22px; }
.port-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.port-tag {
  background: rgba(201,168,76,0.1); color: var(--gold);
  font-size: 0.72rem; font-weight: 600; padding: 3px 10px; border-radius: 20px;
}
.port-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.port-body p { font-size: 0.87rem; color: var(--slate); }
.port-img-link { display: flex; align-items: center; justify-content: center; text-decoration: none; cursor: pointer; }
.port-img-link:hover { opacity: 0.85; }
.port-visit { display: inline-block; margin-top: 14px; font-size: 0.82rem; font-weight: 600; color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(201,168,76,0.3); padding-bottom: 2px; transition: border-color 0.2s, color 0.2s; }
.port-visit:hover { color: var(--gold-light); border-color: var(--gold-light); }

/* ─── TESTIMONIALS ─── */
#testimonials { background: var(--white); }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; margin-top: 56px; }
.testi-card {
  border: 1.5px solid rgba(0,0,0,0.07); border-radius: var(--radius);
  padding: 32px 28px; position: relative;
}
.testi-quote { font-size: 2.5rem; color: var(--gold); line-height: 1; margin-bottom: 16px; }
.testi-card p { font-size: 0.95rem; color: var(--slate); font-style: italic; line-height: 1.7; margin-bottom: 24px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem; color: var(--ink); flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 0.9rem; }
.testi-author span { font-size: 0.8rem; color: var(--slate); }
.stars { color: var(--gold); font-size: 0.85rem; }

/* ─── PROCESS ─── */
#process { background: var(--mist); }
.process-steps { display: flex; flex-direction: column; gap: 0; margin-top: 56px; max-width: 700px; }
.process-step { display: flex; gap: 28px; padding-bottom: 40px; position: relative; }
.process-step:not(:last-child)::after {
  content: ''; position: absolute; left: 21px; top: 48px; bottom: 0;
  width: 2px; background: rgba(201,168,76,0.25);
}
.step-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--gold);
  color: var(--ink); display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 0.9rem; flex-shrink: 0;
}
.step-content h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; padding-top: 10px; }
.step-content p { font-size: 0.9rem; color: var(--slate); }

/* ─── CONTACT ─── */
#contact { background: var(--ink); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 56px; }
.contact-info .info-item { display: flex; gap: 14px; margin-bottom: 24px; align-items: flex-start; }
.info-icon { font-size: 1.3rem; }
.info-label { font-size: 0.78rem; color: rgba(255,255,255,0.4); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.info-val { font-size: 0.95rem; color: var(--white); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.6); }
.form-group input, .form-group textarea {
  background: rgba(255,255,255,0.05); border: 1.5px solid rgba(255,255,255,0.1);
  color: var(--white); border-radius: 8px; padding: 12px 16px;
  font-family: 'DM Sans', sans-serif; font-size: 0.92rem;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-submit {
  background: var(--gold); color: var(--ink); border: none; cursor: pointer;
  padding: 16px 36px; border-radius: 40px; font-weight: 700; font-size: 0.95rem;
  font-family: 'DM Sans', sans-serif; transition: all 0.2s; align-self: flex-start;
}
.btn-submit:hover { background: var(--gold-light); transform: translateY(-2px); }

/* ─── FOOTER ─── */
footer {
  background: #060a0f; padding: 40px 5%;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  border-top: 1px solid rgba(201,168,76,0.1);
}
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 900; color: var(--gold); }
.footer-logo span { color: rgba(255,255,255,0.5); }
footer p { font-size: 0.82rem; color: rgba(255,255,255,0.3); }
.footer-tagline { font-size: 0.85rem; color: rgba(255,255,255,0.4); font-style: italic; }
.ssl-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.25);
  color: var(--green); padding: 4px 12px; border-radius: 20px; font-size: 0.78rem; font-weight: 600;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .contact-layout, .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  footer { justify-content: center; text-align: center; }
}
