/* =====================================================
   GRC INNOVATIONS — Marketing Agency Website
   Dark navy + gold premium theme
   ===================================================== */

:root {
  --bg: #0A1628;
  --bg-alt: #0E1D35;
  --bg-card: rgba(11, 31, 58, 0.6);
  --ink: #F5F2EC;
  --ink-soft: #E8E2D4;
  --ink-mute: #A8B2C1;
  --gold: #C9A86B;
  --gold-bright: #E5C687;
  --gold-deep: #B0905A;
  --line: rgba(201, 168, 107, 0.22);
  --line-soft: rgba(201, 168, 107, 0.12);

  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius: 4px;
  --container: 1200px;
  --transition: 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ============== TYPOGRAPHY ============== */
h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.005em;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 18px;
  display: inline-block;
}

.section-title {
  font-size: clamp(34px, 4.6vw, 54px);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-sub {
  font-size: 17px;
  color: var(--ink-mute);
  max-width: 620px;
  line-height: 1.7;
}

.italic-accent {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.accent { color: var(--gold); }

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--bg);
  box-shadow: 0 4px 20px rgba(201, 168, 107, 0.18);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201, 168, 107, 0.32);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  background: rgba(201, 168, 107, 0.08);
  border-color: var(--gold);
  color: var(--gold);
}

/* ============== HEADER / NAV ============== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.site-header.scrolled {
  padding: 12px 0;
  border-bottom-color: var(--line-soft);
  background: rgba(10, 22, 40, 0.95);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 38px;
  height: 38px;
  transition: transform var(--transition);
}
.logo-link:hover .logo-mark { transform: rotate(10deg); }

.logo-text {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.18em;
  color: var(--ink);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-desktop a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  position: relative;
}

.nav-desktop a:not(.nav-cta):hover { color: var(--gold); }

.nav-desktop a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}
.nav-desktop a:not(.nav-cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--bg) !important;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(201, 168, 107, 0.3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ink);
  transition: all var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 20px 28px 28px;
  gap: 6px;
  background: var(--bg);
  border-top: 1px solid var(--line-soft);
}
.nav-mobile a {
  padding: 14px 0;
  font-size: 16px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-soft);
}
.nav-mobile a:last-child {
  border: none;
  margin-top: 12px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--bg);
  text-align: center;
  border-radius: var(--radius);
}
.nav-mobile.open { display: flex; }

/* ============== HERO ============== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
  background: var(--bg);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 107, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 107, 0.045) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 80%);
  opacity: 0.7;
}

.hero-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  top: -200px;
  right: -200px;
  background: radial-gradient(circle, rgba(201, 168, 107, 0.12) 0%, transparent 60%);
  pointer-events: none;
  filter: blur(40px);
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 28px;
}

.hero-sub {
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ink-mute);
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.hero-trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  opacity: 0.75;
}

.trust-label {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.trust-marks {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.18em;
  font-size: 14px;
  color: var(--ink);
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1.5px solid var(--gold);
  border-radius: 14px;
  z-index: 2;
}
.hero-scroll span {
  display: block;
  width: 3px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  margin: 8px auto 0;
  animation: scrollHint 2s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(14px); opacity: 0; }
}

/* ============== SECTIONS (general) ============== */
.section {
  padding: 120px 0;
  position: relative;
}

.section-head {
  text-align: center;
  margin-bottom: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.section-head .section-sub { margin-top: 10px; }

/* ============== SERVICES ============== */
.services {
  background: var(--bg);
  border-top: 1px solid var(--line-soft);
}

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

.service-card {
  position: relative;
  padding: 34px 32px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all var(--transition);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(201,168,107,0.06) 0%, var(--bg-card) 100%);
}
.service-card:hover::before { transform: scaleX(1); }

.service-num {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--ink);
}

.service-card p {
  color: var(--ink-mute);
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 18px;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-list li {
  font-size: 13.5px;
  color: var(--ink-soft);
  padding-left: 20px;
  position: relative;
}
.service-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 8px;
  top: 7px;
}

/* ============== PROCESS ============== */
.process { background: var(--bg-alt); }

.process-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  counter-reset: step;
}

.process-step {
  padding: 34px 30px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  transition: all var(--transition);
}
.process-step:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.step-num {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  margin-bottom: 12px;
  line-height: 1;
}

.process-step h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.process-step p {
  color: var(--ink-mute);
  font-size: 14.5px;
  line-height: 1.65;
}

/* ============== STATS ============== */
.stats {
  padding: 80px 0;
  background: var(--bg);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-num {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ============== WORK ============== */
.work { background: var(--bg); }

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

.work-card {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition);
}
.work-card:hover { transform: translateY(-6px); }

.work-image {
  aspect-ratio: 4 / 3;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
.work-card:hover .work-image { border-color: var(--gold); }

.work-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,22,40,0.95) 100%);
  pointer-events: none;
}

.work-overlay {
  position: relative;
  z-index: 2;
  color: var(--ink);
}

.work-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.work-overlay h3 {
  font-size: 28px;
  margin-bottom: 8px;
}

.work-overlay p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 360px;
}

/* ============== ABOUT ============== */
.about { background: var(--bg-alt); }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}

.about-text .section-title { text-align: left; }
.about-text p {
  color: var(--ink-mute);
  font-size: 16px;
  margin-bottom: 18px;
  line-height: 1.75;
}
.about-text .btn { margin-top: 16px; }

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.pillar {
  padding: 26px 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.pillar:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.pillar-icon {
  color: var(--gold);
  font-size: 14px;
  margin-bottom: 12px;
}

.pillar h4 {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.pillar p {
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.6;
}

/* ============== TESTIMONIAL ============== */
.testimonial {
  padding: 100px 0;
  background: var(--bg);
}

.testimonial-quote {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 0 20px;
}

.quote-mark {
  font-family: var(--serif);
  font-size: 100px;
  color: var(--gold);
  line-height: 0.8;
  margin-bottom: -20px;
  opacity: 0.4;
}

.testimonial-quote p {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--ink);
  line-height: 1.45;
  font-style: italic;
  font-weight: 400;
  margin-bottom: 32px;
}

.quote-attr {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-style: normal;
}
.quote-attr strong {
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.quote-attr span {
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============== CONTACT ============== */
.contact { background: var(--bg-alt); }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.contact-text .section-title { text-align: left; }
.contact-text p {
  color: var(--ink-mute);
  font-size: 16px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-top: 1px solid var(--line-soft);
  padding-top: 24px;
}

.contact-meta > div { display: flex; flex-direction: column; gap: 4px; }
.contact-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.contact-meta a, .contact-meta div:not(:has(a)) > *:not(.contact-label) {
  color: var(--ink);
  font-size: 15px;
}
.contact-meta a:hover { color: var(--gold); }

/* ============== CONTACT FORM ============== */
.contact-form {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form label > span {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  transition: all var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--ink-mute); }

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(201, 168, 107, 0.04);
}

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

.form-submit { margin-top: 8px; align-self: flex-start; }

.form-note {
  font-size: 14px;
  color: var(--gold);
  margin-top: 4px;
}

/* ============== FOOTER ============== */
.site-footer {
  background: #060F1E;
  padding: 70px 0 24px;
  border-top: 1px solid var(--line-soft);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-brand { display: flex; align-items: center; gap: 14px; }

.footer-logo { width: 56px; height: 56px; }

.footer-brand-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.18em;
  color: var(--ink);
}
.footer-brand-tagline {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-col h5 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col a {
  display: block;
  padding: 5px 0;
  color: var(--ink-soft);
  font-size: 14px;
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
}
.footer-tagline { font-style: italic; color: var(--gold); }

/* ============== REVEAL ANIMATIONS ============== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============== RESPONSIVE ============== */
@media (max-width: 960px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
  .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 120px 0 60px; min-height: auto; }
  .section { padding: 80px 0; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .form-row { grid-template-columns: 1fr; }
  .about-pillars { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { width: 100%; }
  .contact-form { padding: 26px 22px; }
  .service-card, .process-step { padding: 28px 24px; }
}

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