/* ================================================================
   agency-home.css — Agency Landing Page Specific Styles
================================================================ */

/* ─── Hero ─── */
.hero-section {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 5rem 0 0;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
}

.hero-bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.hero-blob-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(37,99,235,.07), transparent 65%);
  top: -200px; right: -150px;
}
.hero-blob-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(99,102,241,.06), transparent 65%);
  bottom: -100px; left: -100px;
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(37,99,235,.05) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, black 30%, transparent 100%);
  pointer-events: none; z-index: 0;
}

.hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding-top: 3rem;
  padding-bottom: 5rem;
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: #0a0a0a;
  margin-bottom: 1.5rem;
}
.hero-title-hl {
  background: linear-gradient(135deg, #2563eb, #4f46e5 50%, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 500px;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: #444;
}
.trust-sep {
  width: 1px;
  height: 28px;
  background: var(--border);
}

/* ── Hero Visual ── */
.hero-visual {
  position: relative;
  height: 480px;
}
.hero-card {
  position: absolute;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-card-img { width: 100%; height: 100%; object-fit: cover; }

.hero-card-main {
  width: 75%;
  height: 72%;
  top: 0; right: 0;
  z-index: 2;
}
.hero-card-secondary {
  width: 52%;
  height: 52%;
  bottom: 0; left: 0;
  z-index: 3;
  border: 4px solid #fff;
}

.hero-card-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  padding: .35rem .85rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  color: #0a0a0a;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.hero-card-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #10b981;
  animation: blink 1.5s infinite alternate;
}
@keyframes blink {
  from { opacity: .5; transform: scale(.8); }
  to { opacity: 1; transform: scale(1.2); }
}

.hero-float-badge {
  position: absolute;
  bottom: 3rem; right: -1rem;
  background: #fff;
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
  display: flex;
  align-items: center;
  gap: .85rem;
  z-index: 4;
  border: 1px solid var(--border);
}
.hero-float-badge strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}
.hero-float-badge span { font-size: .75rem; color: var(--muted); }

/* ─── Partners Strip ─── */
.partners-strip {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.partners-label {
  text-align: center;
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 2rem;
}
.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.partner-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.partner-img {
  height: 64px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  opacity: 0.45;
  filter: grayscale(1);
  transition: opacity .35s, filter .35s;
  display: block;
}
.partner-img-on-dark {
  background: #1f2937;
  border-radius: 8px;
  padding: 6px 16px;
  opacity: 0.65;
  filter: none;
  height: 62px;
}
a.partner-logo-item:hover .partner-img {
  opacity: 1;
  filter: none;
}
a.partner-logo-item:hover .partner-img-on-dark {
  opacity: 1;
  background: #111827;
}

/* ─── Section Header ─── */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ─── Portfolio Grid (Home) ─── */
.portfolio-grid-home {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 1.25rem;
}
.port-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #f1f5f9;
}
.port-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.port-item:hover img { transform: scale(1.06); }

.port-item-lg { grid-row: 1 / 3; }

.port-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,.75) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  opacity: 0;
  transition: opacity .4s;
}
.port-item:hover .port-overlay { opacity: 1; }
.port-tag {
  display: inline-block;
  background: rgba(37,99,235,.85);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: .25rem .7rem;
  border-radius: 999px;
  letter-spacing: .05em;
  margin-bottom: .6rem;
  align-self: flex-start;
}
.port-overlay h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .4rem;
}
.port-overlay p { font-size: .83rem; color: rgba(255,255,255,.7); margin-bottom: .75rem; }
.port-cta {
  font-size: .82rem;
  font-weight: 700;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.4);
  padding-bottom: .15rem;
  align-self: flex-start;
  transition: border-color .2s;
}
.port-cta:hover { border-color: #fff; }

/* ─── Shopify Partner Block ─── */
.shopify-partner-block {
  display: flex;
  align-items: center;
  gap: 5rem;
  flex-wrap: wrap;
}
.shopify-partner-img {
  flex: 1;
  min-width: 280px;
  text-align: center;
}
.shopify-partner-img img { max-width: 460px; width: 100%; margin: 0 auto; }
.shopify-partner-text { flex: 1; min-width: 300px; }
.checkmark-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .75rem; }
.checkmark-list li {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .95rem;
  font-weight: 500;
  color: #333;
}
.checkmark-list li::before {
  content: '✔';
  color: #10b981;
  font-weight: 800;
  flex-shrink: 0;
}

/* ─── Reviews ─── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.review-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review-card .review-stars { margin-bottom: 1rem; }
.review-card p {
  font-size: .9rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.review-author { display: flex; align-items: center; gap: .75rem; }
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--indigo));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.review-author strong { display: block; font-size: .9rem; font-weight: 700; color: var(--dark); }
.review-author span { font-size: .78rem; color: var(--muted); }

.review-platforms {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  padding: 2rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  flex-wrap: wrap;
}
.review-platform-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  text-align: center;
}
.review-platform-item strong { font-size: 1.1rem; font-weight: 800; color: var(--dark); }
.review-platform-item span { font-size: .8rem; color: var(--muted); }
.review-platform-sep { width: 1px; height: 60px; background: var(--border); }

/* ─── CTA Section ─── */
.cta-section {
  background: linear-gradient(135deg, #0a0a0a 0%, #1e1b4b 60%, #0a0a0a 100%);
  padding: 5rem 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; flex-shrink: 0; }

/* ─── Process Section ─── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.process-step {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.process-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 240px;
}
.process-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.process-step:hover .process-img img { transform: scale(1.05); }
.process-num {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.process-step h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
}
.process-step p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ─── Service Card Visual ─── */
.svc-card-visual {
  margin: -2rem -2rem 1.5rem;
  height: 160px;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}
.svc-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.svc-card:hover .svc-card-visual img { transform: scale(1.06); }

/* ─── Why Choose Us ─── */
.why-us-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.why-us-imgs {
  position: relative;
  height: 480px;
}
.why-us-img-main {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  overflow: hidden;
}
.why-us-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.why-us-img-float {
  position: absolute;
  bottom: -1.5rem;
  right: -2rem;
  width: 58%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #fff;
  z-index: 2;
}
.why-us-img-float img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* ─── Shopify Store Float ─── */
.shopify-partner-img {
  position: relative;
}
.shopify-store-float {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 55%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #fff;
}
.shopify-store-float img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; padding-bottom: 4rem; }
  .hero-visual { display: none; }
  .portfolio-grid-home { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px; }
  .port-item-lg { grid-row: auto; }
  .shopify-partner-block { gap: 2rem; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { text-align: center; justify-content: center; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .why-us-block { grid-template-columns: 1fr; gap: 3rem; }
  .why-us-imgs { height: 360px; }
  .why-us-img-float { right: 0; }
}
@media (max-width: 768px) {
  .hero-section { min-height: auto; padding-top: 3rem; }
  .portfolio-grid-home { grid-template-columns: 1fr; grid-template-rows: auto; }
  .portfolio-grid-home .port-item { height: 220px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .review-platforms { gap: 2rem; flex-direction: column; }
  .review-platform-sep { width: 100%; height: 1px; }
  .section-header { flex-direction: column; }
  .partners-logos { gap: 1.5rem; }
  .partner-img { height: 50px; max-width: 130px; }
  .process-grid { grid-template-columns: 1fr; }
  .why-us-imgs { height: 300px; }
  .why-us-img-float { display: none; }
  .shopify-store-float { display: none; }
}
