/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #2b2620;
  background: #FAF7F2;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: 'Outfit', 'Inter', sans-serif;
  margin: 0 0 .5em;
  line-height: 1.15;
  color: #201c17;
  font-weight: 700;
}
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #C1440E;
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; }

:root {
  --ink: #201c17;
  --rust: #C1440E;
  --rust-dark: #a3380b;
  --cream: #FAF7F2;
  --cream-deep: #F1EAE0;
  --teal: #2A9D8F;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--rust);
  color: #fff;
  box-shadow: 0 8px 20px rgba(193,68,14,0.25);
}
.btn-primary:hover { background: var(--rust-dark); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  border-color: #d9cdbd;
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-light {
  background: #fff;
  color: var(--rust);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.18); }
.btn-sm { padding: 10px 20px; font-size: .875rem; }
.btn-block { width: 100%; padding: 15px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,247,242,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { display: inline-flex; }
.logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
}
.logo-text span { color: var(--rust); }
.logo-text.light { color: #fff; }
.logo-text.light span { color: #E8B08A; }

.main-nav { display: flex; gap: 32px; }
.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: #4a4238;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--rust);
  transition: width .2s ease;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 56px; overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  color: var(--rust);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  letter-spacing: -0.02em;
}
.text-accent { color: var(--rust); }
.hero-sub {
  font-size: 1.08rem;
  color: #574f43;
  max-width: 480px;
}

.hero-points { display: flex; gap: 22px; flex-wrap: wrap; margin: 18px 0 4px; }
.hero-point {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #4a4238;
}
.hero-point svg { flex-shrink: 0; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin: 26px 0 40px; }

.hero-trust { display: flex; gap: 30px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #FBEEE4;
  flex-shrink: 0;
}
.trust-item strong { display: block; font-family: 'Outfit', sans-serif; font-size: 1.15rem; color: var(--ink); }
.trust-item span { font-size: 0.82rem; color: #7a7266; }

.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin: 56px auto 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #9a8f7c;
  transition: color .2s ease;
}
.scroll-cue:hover { color: var(--ink); }
.scroll-arrow {
  font-size: 1.4rem;
  line-height: 1;
  color: var(--rust);
  animation: scroll-bounce 1.8s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-arrow { animation: none; }
}

/* Hero visual mock browser */
.hero-visual { position: relative; }

.visual-glow {
  position: absolute;
  inset: -12% -10%;
  background:
    radial-gradient(closest-side, rgba(193,68,14,0.28), transparent 70%),
    radial-gradient(closest-side, rgba(42,157,143,0.18), transparent 70%);
  background-position: 15% 20%, 85% 85%;
  background-repeat: no-repeat;
  background-size: 60% 60%, 55% 55%;
  filter: blur(40px);
  z-index: 0;
  animation: glow-drift 10s ease-in-out infinite alternate;
}
@keyframes glow-drift {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.06) translate(0, -10px); }
}

.mock-frame {
  position: relative;
  z-index: 1;
  border-radius: 20px;
}
.mock-frame::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 22px;
  background: conic-gradient(from 0deg, var(--rust), #f4bf4f 35%, var(--teal) 65%, var(--rust) 100%);
  filter: blur(9px);
  opacity: 0.6;
  z-index: -1;
  animation: frame-spin 7s linear infinite;
}
@keyframes frame-spin {
  to { transform: rotate(360deg); }
}

.browser-mock {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 30px 60px -20px rgba(32,28,23,0.3), 0 0 0 1px rgba(0,0,0,0.04);
  overflow: hidden;
  transform: rotate(1.2deg);
  transition: transform .15s ease-out;
  will-change: transform;
}
.browser-mock:hover { transform: rotate(0deg) translateY(-4px); }

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  background: #EFE7DA;
}
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot-red { background: #ec6a5e; }
.dot-yellow { background: #f4bf4f; }
.dot-green { background: #61c454; }

.browser-url {
  margin-left: 12px;
  flex: 1;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  font-size: 0.72rem;
  font-weight: 600;
  color: #6b6255;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.browser-shot { width: 100%; height: auto; display: block; }

@media (prefers-reduced-motion: reduce) {
  .visual-glow, .mock-frame::before {
    animation: none;
  }
}

/* ---------- Industries strip ---------- */
.industries { border-top: 1px solid rgba(0,0,0,0.06); border-bottom: 1px solid rgba(0,0,0,0.06); padding: 76px 0; background: #F1EAE0; }
.industries-head { margin-bottom: 40px; }
.industries-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }

.industries-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.industry-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 24px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px -16px rgba(32,28,23,0.18);
  border-color: rgba(193,68,14,0.25);
}
.industry-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: #FBEEE4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.industry-card span:last-child {
  font-weight: 600;
  font-size: 0.86rem;
  color: #4a4238;
}

/* ---------- Section heads ---------- */
.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-sub { color: #6b6255; font-size: 1.02rem; }

/* ---------- Sample work ---------- */
.work { padding: 108px 0 40px; }
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.work-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 18px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 48px -20px rgba(32,28,23,0.25);
}
.work-shot { background: #EFE7DA; padding: 0 12px; }
.work-bar { display: flex; gap: 5px; padding: 10px 2px; }
.work-bar span { width: 8px; height: 8px; border-radius: 50%; background: #d6cab8; }
.work-shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  border-radius: 8px 8px 0 0;
  transition: transform .4s ease;
}
.work-card:hover .work-shot img { transform: scale(1.02); }
.work-meta { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.work-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 6px;
}
.work-meta h3 { font-size: 1.2rem; margin-bottom: 6px; }
.work-meta p { color: #6b6255; font-size: 0.93rem; margin-bottom: 16px; }
.work-link { margin-top: auto; font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.work-link span { display: inline-block; transition: transform .2s ease; color: var(--rust); }
.work-card:hover .work-link span { transform: translateX(4px); }

/* ---------- Services ---------- */
.services { padding: 68px 0 108px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 30px 26px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -16px rgba(32,28,23,0.16);
}
.service-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: #FBEEE4;
  border-radius: 12px;
  margin-bottom: 18px;
}
.service-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.service-card p { color: #6b6255; font-size: 0.95rem; margin: 0; }

/* ---------- Why Us ---------- */
.why-us { background: var(--ink); color: #f2ece2; padding: 108px 0 0; overflow: hidden; }
.why-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: start; }
.why-us .eyebrow { color: #E8B08A; }
.why-us h2 { color: #fff; }
.why-us .section-sub { color: #c9c0b2; max-width: 480px; }

.why-list { display: flex; flex-direction: column; gap: 30px; margin-top: 36px; }
.why-list li { display: flex; gap: 20px; }
.why-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: #E8B08A;
  font-size: 0.85rem;
}
.why-list h4 { color: #fff; font-size: 1.05rem; margin-bottom: 6px; }
.why-list p { color: #b9b0a2; font-size: 0.93rem; margin: 0; }

.why-visual { display: flex; flex-direction: column; gap: 20px; }
.stat-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-card-alt { background: var(--rust); border-color: var(--rust); }
.stat-number { font-family: 'Outfit', sans-serif; font-size: 2.2rem; font-weight: 700; color: #fff; }
.stat-label { color: #d8d0c3; font-size: 0.9rem; }
.stat-card-alt .stat-label { color: #fbe4d6; }

/* Why Us — running marquee */
.marquee {
  margin-top: 72px;
  padding: 26px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
}
.marquee-track {
  display: flex;
  width: 200%;
  animation: marquee-scroll 24s linear infinite;
}
.marquee-group {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex: 0 0 50%;
  min-width: 0;
}
.marquee-word {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: #f2ece2;
  padding: 0 20px;
  white-space: nowrap;
}
.marquee-dot {
  color: var(--rust);
  font-size: 1.1rem;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ---------- Process ---------- */
.process { padding: 108px 0; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.process-step { position: relative; padding-left: 4px; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--rust);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  margin-bottom: 16px;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.process-step p { color: #6b6255; font-size: 0.92rem; margin: 0; }

/* ---------- CTA banner ---------- */
.cta-banner { background: linear-gradient(120deg, var(--rust), #d9631d); padding: 68px 0; }
.cta-banner-inner { text-align: center; color: #fff; }
.cta-banner h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); max-width: 640px; margin: 0 auto 10px; }
.cta-banner p { color: #fce3d3; max-width: 520px; margin: 0 auto 28px; }

/* ---------- Contact ---------- */
.contact { padding: 108px 0; }
.contact-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; }
.contact-details { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.contact-details li { display: flex; align-items: center; gap: 16px; }
.contact-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #FBEEE4;
  color: var(--rust);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-details strong { display: block; font-size: 0.95rem; color: var(--ink); }
.contact-details span { font-size: 0.9rem; color: #6b6255; }

.contact-form {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 24px 48px -24px rgba(32,28,23,0.18);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 0.85rem; font-weight: 600; color: #4a4238; }
.form-field input, .form-field select, .form-field textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #ddd2c1;
  background: #FCFAF6;
  color: var(--ink);
  resize: vertical;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--rust);
  box-shadow: 0 0 0 3px rgba(193,68,14,0.12);
}
.form-note { margin: 14px 0 0; font-size: 0.9rem; color: var(--teal); min-height: 1.2em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cfc7ba; padding-top: 64px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p { color: #a89f91; font-size: 0.92rem; max-width: 320px; margin-top: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links h5 { color: #fff; font-family: 'Outfit', sans-serif; margin-bottom: 6px; font-size: 0.95rem; }
.footer-links a { color: #a89f91; font-size: 0.92rem; }
.footer-links a:hover { color: #E8B08A; }
.footer-bottom { padding: 22px 0; }
.footer-bottom p { margin: 0; font-size: 0.82rem; color: #8b8272; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 480px; margin: 0 auto; }
  .why-inner, .contact-inner { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-cta .btn-sm { display: none; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: #FAF7F2;
    padding: 20px 24px 28px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    gap: 18px;
  }

  .services-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
}
