/*
  styles-v2.css
  Homepage redesign overrides — bold, typographic, no-card aesthetic
  Applied only to body.v2
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap');

body.v2 {
  background: #f5f3ee;
}

/* ── HERO ─────────────────────────────────────────────────── */
.v2-hero {
  padding: 7rem 0 6rem;
  background: #f5f3ee;
}

.v2-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  gap: 0 5rem;
  align-items: start;
}

.v2-hero-location {
  grid-column: 1;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
  text-transform: none;
}

.v2-hero-headline {
  grid-column: 1;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: #0f0d0a;
  font-weight: 400;
  margin: 0;
}

.v2-hero-right {
  grid-column: 2;
  grid-row: 1 / 3;
  padding-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
  align-self: center;
}

.v2-hero-body {
  font-size: 1.1rem;
  line-height: 1.75;
  color: #4a443c;
  max-width: 48ch;
}

.v2-hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.v2-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  border-bottom: 1.5px solid var(--brand);
  padding-bottom: 1px;
  transition: opacity 0.15s ease;
}
.v2-link:hover { opacity: 0.7; }
.v2-link--dark {
  color: #0f0d0a;
  border-bottom-color: #0f0d0a;
}

.v2-hero-clients {
  padding-top: 1.5rem;
  border-top: 1px solid #d8d2c8;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.v2-hero-clients > span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9a9088;
}

.v2-client-names {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.v2-client-names span {
  font-size: 0.92rem;
  font-weight: 600;
  color: #1a1612;
}

/* ── PARTNERS ─────────────────────────────────────────────── */
.v2-partners {
  border-top: 1px solid #d8d2c8;
  border-bottom: 1px solid #d8d2c8;
  background: white;
  padding: 1.25rem 0;
}

.v2-partners-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.v2-partners-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9a9088;
  flex-shrink: 0;
}

.v2-partners-logos {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.v2-partners-logos a {
  font-size: 0.82rem;
  font-weight: 600;
  color: #b0a89e;
  letter-spacing: 0.03em;
  transition: color 0.15s;
  text-decoration: none;
}
.v2-partners-logos a:hover { color: #4a443c; }

/* ── SERVICES ─────────────────────────────────────────────── */
.v2-services {
  padding: 7rem 0 5rem;
  background: #f5f3ee;
}

.v2-section-heading {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  letter-spacing: -0.02em;
  color: #0f0d0a;
  font-weight: 400;
  margin-bottom: 3rem;
}

.v2-services-list {
  border-top: 1px solid #d8d2c8;
}

.v2-service-row {
  display: grid;
  grid-template-columns: 2fr 3fr auto;
  align-items: center;
  gap: 2rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid #d8d2c8;
  text-decoration: none;
  transition: background 0.15s ease;
}

.v2-service-row:hover {
  padding-left: 1rem;
  padding-right: 1rem;
  margin-left: -1rem;
  margin-right: -1rem;
  background: white;
  border-radius: 4px;
}

.v2-service-row:hover .v2-service-arrow {
  transform: translateX(4px);
  color: var(--brand);
}

.v2-service-name {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.25rem;
  color: #0f0d0a;
  font-weight: 400;
}

.v2-service-desc {
  font-size: 0.9rem;
  color: #6a6258;
  line-height: 1.5;
}

.v2-service-arrow {
  font-size: 1.1rem;
  color: #b0a89e;
  transition: transform 0.15s ease, color 0.15s ease;
}

.v2-service-row--highlight .v2-service-name {
  color: var(--brand);
}

/* ── WHY US ───────────────────────────────────────────────── */
.v2-why {
  background: #0f0d0a;
  padding: 7rem 0;
}

.v2-why-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: start;
}

.v2-why-heading {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: white;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
}

.v2-why-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  font-size: 0.85rem;
  padding: 0.65rem 1.25rem;
}
.v2-why-btn:hover {
  border-color: white;
  background: transparent;
  transform: none;
  box-shadow: none;
}

.v2-why-right {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.v2-why-point {
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.v2-why-point:first-child { border-top: 1px solid rgba(255,255,255,0.08); }

.v2-why-point p {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin: 0;
  max-width: 60ch;
}

/* ── WEBSITE REWORK ───────────────────────────────────────── */
.v2-web {
  background: var(--brand);
  padding: 6rem 0;
}

.v2-web-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4rem;
  align-items: center;
}

.v2-web-tag {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  flex-shrink: 0;
}

.v2-web-content {
  max-width: 680px;
}

.v2-web-heading {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  color: white;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.v2-web-body {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  margin-bottom: 1.75rem;
  max-width: 58ch;
}

.v2-web-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.v2-web-examples span {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  padding: 0.3rem 0.7rem;
  letter-spacing: 0.02em;
}

/* ── PROCESS ──────────────────────────────────────────────── */
.v2-process {
  padding: 7rem 0 5rem;
  background: white;
}

.v2-process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.v2-process-step {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.v2-step-num {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 4rem;
  color: #e8e3db;
  line-height: 1;
  display: block;
}

.v2-process-step h3 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #0f0d0a;
  margin-bottom: 0.4rem;
}

.v2-process-step p {
  font-size: 0.9rem;
  color: #6a6258;
  line-height: 1.65;
  margin: 0;
}

.v2-process-link {
  padding-top: 2rem;
  border-top: 1px solid #e8e3db;
}

/* ── INDUSTRIES ───────────────────────────────────────────── */
.v2-industries {
  background: #f5f3ee;
  padding: 7rem 0;
}

.v2-industries-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.v2-industries-left h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: #0f0d0a;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.v2-industries-left p {
  font-size: 0.95rem;
  color: #6a6258;
  line-height: 1.7;
}

.v2-industries-right {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #d8d2c8;
}

.v2-industry-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 0;
  border-bottom: 1px solid #d8d2c8;
  text-decoration: none;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.15rem;
  color: #0f0d0a;
  font-weight: 400;
  transition: color 0.15s ease, padding 0.15s ease;
}

.v2-industry-row span {
  color: #b0a89e;
  transition: transform 0.15s ease, color 0.15s ease;
}

.v2-industry-row:hover {
  color: var(--brand);
  padding-left: 0.5rem;
}
.v2-industry-row:hover span {
  transform: translateX(4px);
  color: var(--brand);
}

/* ── CTA ──────────────────────────────────────────────────── */
.v2-cta {
  background: #0f0d0a;
  padding: 8rem 0;
  text-align: left;
}

.v2-cta-heading {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  color: white;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1.25rem;
  max-width: 18ch;
}

.v2-cta-body {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 2.5rem;
  line-height: 1.65;
}

.v2-cta .btn-primary {
  background: var(--brand-lime);
  color: #0f0d0a;
  border-color: var(--brand-lime);
  font-size: 0.95rem;
  padding: 0.9rem 2rem;
}
.v2-cta .btn-primary:hover {
  background: #cef560;
  box-shadow: none;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 960px) {
  .v2-hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .v2-hero-headline { font-size: clamp(3rem, 8vw, 5rem); }
  .v2-hero-right { grid-row: auto; grid-column: 1; }
  .v2-why-inner { grid-template-columns: 1fr; gap: 3rem; }
  .v2-process-steps { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .v2-industries-inner { grid-template-columns: 1fr; gap: 3rem; }
  .v2-web-inner { grid-template-columns: 1fr; gap: 2rem; }
  .v2-web-tag { writing-mode: horizontal-tb; transform: none; }
  .v2-service-row { grid-template-columns: 1fr auto; }
  .v2-service-desc { display: none; }
}

@media (max-width: 600px) {
  .v2-hero { padding: 4rem 0; }
  .v2-services, .v2-why, .v2-process, .v2-industries, .v2-cta, .v2-web { padding: 4rem 0; }
  .v2-process-steps { grid-template-columns: 1fr; }
  .v2-hero-actions { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .v2-cta-heading { font-size: 2.8rem; }
}

/* ── SERVICES HEADER ──────────────────────────────────────── */
.v2-services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 3rem;
}

.v2-services-intro {
  font-size: 1rem;
  color: #6a6258;
  line-height: 1.65;
  margin: 0;
  padding-bottom: 0.2rem;
}

/* ── CLIENTS SECTION ──────────────────────────────────────── */
.v2-clients {
  background: white;
  padding: 4rem 0;
  border-top: 1px solid #e8e3db;
}

.v2-clients-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9a9088;
  margin-bottom: 1.75rem;
}

.v2-clients-logos {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.v2-client-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #f5f3ee;
  border: 1px solid #e8e3db;
  border-radius: 8px;
  padding: 1.1rem 1.5rem;
}

.v2-client-card img {
  height: 44px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  flex-shrink: 0;
}

.v2-client-card--wide-logo img {
  height: auto;
  width: 160px;
  max-width: 160px;
}

.v2-client-card div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.v2-client-card strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1a1612;
}

.v2-client-card span {
  font-size: 0.75rem;
  color: #9a9088;
}

@media (max-width: 960px) {
  .v2-services-header { grid-template-columns: 1fr; gap: 0.75rem; }
}

/* ── SERVICE CARDS ────────────────────────────────────────── */
.v2-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1px;
  background: #d8d2c8;
  border: 1px solid #d8d2c8;
  border-radius: 12px;
  overflow: hidden;
}

/* Featured card spans full first row */
.v2-scard--featured {
  grid-column: 1 / -1;
  background: #0f0d0a !important;
}

.v2-scard--featured .v2-scard-title { color: white; font-size: 1.4rem; }
.v2-scard--featured .v2-scard-body  { color: rgba(255,255,255,0.6); }
.v2-scard--featured .v2-scard-link  { color: var(--brand-lime); }

.v2-scard--featured:hover {
  background: #1a1612 !important;
}

/* Dark accent card */
.v2-scard--dark {
  background: var(--brand) !important;
}
.v2-scard--dark .v2-scard-title { color: white; }
.v2-scard--dark .v2-scard-body  { color: rgba(255,255,255,0.65); }
.v2-scard--dark .v2-scard-link  { color: var(--brand-lime); }
.v2-scard--dark:hover { background: #1d6642 !important; }

.v2-scard {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 2rem 2rem 1.75rem;
  background: #f5f3ee;
  text-decoration: none;
  transition: background 0.18s ease;
  position: relative;
}

.v2-scard:hover {
  background: white;
}

.v2-scard-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-lime);
  background: #0f0d0a;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  width: fit-content;
  margin-bottom: 0.25rem;
}

.v2-scard-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: #0f0d0a;
  line-height: 1.2;
  margin: 0;
}

.v2-scard-body {
  font-size: 0.9rem;
  color: #6a6258;
  line-height: 1.65;
  flex: 1;
  margin: 0;
}

.v2-scard-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand);
  margin-top: auto;
  transition: gap 0.15s ease;
}

.v2-scard:not(.v2-scard--featured):not(.v2-scard--dark):hover .v2-scard-link {
  color: #0f0d0a;
}

/* Featured card inner layout — name + body side by side on desktop */
.v2-scard--featured {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  grid-template-rows: auto auto auto;
  column-gap: 3rem;
  row-gap: 0.75rem;
}

.v2-scard--featured .v2-scard-label {
  grid-column: 1;
  grid-row: 1;
}

.v2-scard--featured .v2-scard-title {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
}

.v2-scard--featured .v2-scard-body {
  grid-column: 2;
  grid-row: 1 / 4;
  align-self: center;
  font-size: 1rem;
  line-height: 1.75;
}

.v2-scard--featured .v2-scard-link {
  grid-column: 1;
  grid-row: 3;
  align-self: end;
}

@media (max-width: 900px) {
  .v2-service-grid { grid-template-columns: 1fr 1fr; }
  .v2-scard--featured {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .v2-service-grid { grid-template-columns: 1fr; }
}
