/* ============================================================
   home.css — Additional styles for the enhanced homepage
   Extends style.css without overriding existing variables
   ============================================================ */

/* ── Hero enhancements ─────────────────────────────────────── */
.hero-badge {
  position: absolute;
  left: -18px;
  top: 32px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(55,17,112,.11);
  padding: 12px 18px;
  z-index: 4;
  text-align: center;
  min-width: 110px;
}
.hero-badge strong {
  display: block;
  font: 700 28px var(--serif);
  color: var(--purple);
  line-height: 1;
}
.hero-badge span {
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .5px;
}

/* ── Stats bar ─────────────────────────────────────────────── */
.stats-bar {
  background: var(--purple);
  padding: 10px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}
.stat-item {
  padding: 10px 20px;
  border-right: 1px solid rgba(255,255,255,.15);
  color: #fff;
}
.stat-item:last-child { border-right: none; }
.stat-item strong {
  display: inline;
  font: 700 52px/1 var(--serif);
  color: #fff;
}
.stat-item > span {
  font: 700 36px/1 var(--serif);
  color: var(--orange);
}
.stat-item p {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}

/* ── About single-column layout ────────────────────────────── */
.about-single {
  max-width: 820px;
}
.about-single h2 {
  margin: 0 0 20px;
  color: var(--ink);
  font: 700 clamp(33px,3.4vw,49px)/1.16 var(--serif);
  letter-spacing: -1.4px;
}
.about-single p {
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 16px;
}
.about-single .about-creds {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 28px 0 24px;
}
@media (max-width: 900px) {
  .about-single .about-creds { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .about-single .about-creds { grid-template-columns: 1fr; }
}
.about-creds {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 28px 0 24px;
}
.cred-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--mist);
  border: 1px solid var(--line);
  padding: 12px 16px;
  flex: 1;
  min-width: 180px;
}
.cred-icon { font-size: 24px; }
.cred-badge strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.cred-badge small {
  display: block;
  font-size: 11px;
  color: var(--text);
  margin-top: 2px;
}

/* ── Services grid (home) ──────────────────────────────────── */
.section-sub {
  margin: 10px 0 0;
  font-size: 16px;
  color: var(--text);
  max-width: 520px;
}
.service-grid-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 42px;
}
.service-card-home {
  background: #fff;
  border: 1px solid var(--line);
  padding: 34px 28px 28px;
  position: relative;
  transition: .25s;
  overflow: hidden;
}
.service-card-home::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.service-card-home:hover::before { transform: scaleX(1); }
.service-card-home:hover {
  border-color: #dccce9;
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(55,17,112,.09);
}
.svc-icon {
  font-size: 32px;
  margin-bottom: 10px;
  display: block;
}
.svc-num {
  position: absolute;
  top: 22px; right: 22px;
  font: 700 11px var(--sans);
  color: var(--line);
  letter-spacing: 1px;
}
.service-card-home h3 {
  color: var(--ink);
  font: 700 21px/1.25 var(--serif);
  margin: 8px 0 10px;
}
.service-card-home p {
  font-size: 14px;
  margin: 0 0 18px;
  color: var(--text);
  line-height: 1.65;
}
.svc-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--purple);
  display: inline-flex;
  gap: 6px;
  align-items: center;
  transition: gap .2s;
}
.svc-link:hover { gap: 10px; }
.svc-link span { color: var(--orange); }
.services-more-row {
  text-align: center;
  margin-top: 46px;
}

/* ── Process / How we work ─────────────────────────────────── */
.process-section { background: var(--mist); }
.section-center {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 58px;
}
.section-center .section-sub {
  max-width: 100%;
  margin: 14px auto 0;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 36px; left: calc(12.5%);
  width: 75%;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--purple-2));
  z-index: 0;
}
.process-step {
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 72px; height: 72px;
  display: grid; place-items: center;
  background: var(--purple);
  color: #fff;
  font: 700 20px var(--serif);
  border-radius: 50%;
  margin: 0 auto 24px;
  border: 4px solid var(--mist);
  position: relative;
  z-index: 2;
  transition: background .25s;
}
.process-step:hover .step-num { background: var(--orange); }
.step-line { display: none; }
.step-body h3 {
  color: var(--ink);
  font: 700 19px var(--serif);
  margin: 0 0 8px;
}
.step-body p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.65;
  margin: 0;
}

/* ── Industries ────────────────────────────────────────────── */
.industries-section { background: #fff; }
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 46px;
}
.industry-card {
  border: 1px solid var(--line);
  padding: 32px 26px;
  transition: .25s;
  background: var(--mist);
}
.industry-card:hover {
  border-color: var(--purple-2);
  background: #fff;
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(55,17,112,.08);
}
.ind-icon {
  font-size: 34px;
  display: block;
  margin-bottom: 14px;
}
.industry-card h3 {
  color: var(--ink);
  font: 700 19px var(--serif);
  margin: 0 0 8px;
}
.industry-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text);
  line-height: 1.65;
}

/* ── Testimonials ──────────────────────────────────────────── */
.testimonials-section { background: var(--mist); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 46px;
}
.testi-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 32px;
  position: relative;
  transition: .25s;
}
.testi-card::before {
  content: '\201C';
  position: absolute;
  top: 18px; left: 24px;
  font: 700 72px/1 var(--serif);
  color: var(--line);
  line-height: .8;
}
.testi-card:hover {
  box-shadow: 0 12px 35px rgba(55,17,112,.08);
  transform: translateY(-4px);
}
.testi-stars {
  color: #f5a623;
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.testi-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text);
  margin: 0 0 24px;
  position: relative;
  z-index: 1;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  display: grid;
  place-items: center;
  font: 700 18px var(--serif);
  flex-shrink: 0;
}
.testi-author strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.testi-author span {
  font-size: 12px;
  color: var(--text);
}

/* ── FAQ ───────────────────────────────────────────────────── */
.faq-section { background: #fff; }
.faq-inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.faq-left { position: sticky; top: 110px; }
.faq-left h2 { margin: 0 0 16px; }
.faq-left p {
  font-size: 15px;
  color: var(--text);
  margin: 0 0 28px;
  line-height: 1.7;
}
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: none;
  border: 0;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font: 600 16px var(--sans);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: color .2s;
}
.faq-q:hover { color: var(--purple); }
.faq-arrow {
  font-size: 22px;
  font-weight: 400;
  color: var(--orange);
  transition: transform .3s ease;
  flex-shrink: 0;
  line-height: 1;
}
.faq-q[aria-expanded="true"] .faq-arrow { transform: rotate(45deg); }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s ease, padding .35s ease;
}
.faq-a.open { max-height: 300px; }
.faq-a p {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.75;
}

/* ── CTA enhancements ──────────────────────────────────────── */
.cta-sub {
  margin: 10px 0 0;
  font-size: 15px;
  color: rgba(255,255,255,.8);
}
.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.cta-btn-outline {
  border: 2px solid rgba(255,255,255,.5);
  color: #fff;
  background: transparent;
  padding: 13px 20px;
}
.cta-btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
}

/* ── Footer enhancements ───────────────────────────────────── */
.footer-grid { grid-template-columns: 1.6fr 1fr 0.8fr 1.2fr; }
.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  font-size: 20px;
}
.footer-socials a {
  display: inline-flex !important;
  text-decoration: none;
  transition: transform .2s;
}
.footer-socials a:hover { transform: scale(1.2); }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .service-grid-home { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-grid::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }
  .stat-item:nth-child(2n) { border-bottom: 1px solid rgba(255,255,255,.15); }
  .stat-item:last-child { border-bottom: none; }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-inner { grid-template-columns: 1fr; gap: 40px; }
  .faq-left { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 680px) {
  .service-grid-home { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .hero-badge { display: none; }
  .about-creds { flex-direction: column; }
  .cta-actions { flex-direction: column; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── WhatsApp floating button ──────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  padding: 13px 20px 13px 16px;
  border-radius: 50px;
  font: 700 14px var(--sans);
  box-shadow: 0 6px 24px rgba(37,211,102,.4);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  animation: wabounce 2.5s infinite;
}
.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(37,211,102,.5);
  animation: none;
}
.whatsapp-float svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
@keyframes wabounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
@media (max-width: 480px) {
  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: 14px; border-radius: 50%; }
}

/* ── Banner Hero ───────────────────────────────────────────── */
.banner-hero {
  width: 100%;
  background: #f7f2fb;
  display: block;
}
.banner-hero > a {
  display: block;
  line-height: 0;
}
.banner-img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 520px;
  object-fit: cover;
  object-position: center top;
}
@media (max-width: 680px) {
  .banner-img { max-height: 280px; object-position: left top; }
}
@media (max-width: 400px) {
  .banner-img { max-height: 200px; }
}

/* ── Footer redesign ───────────────────────────────────────── */
.footer-main-grid {
  display: grid;
  grid-template-columns: 1.8fr 1.2fr 1fr;
  gap: 52px;
  padding-bottom: 48px;
  border-bottom: 1px solid #3e2e55;
}
.footer-brand-col { display: flex; flex-direction: column; }
.footer-tagline {
  font: 600 italic 15px var(--serif);
  color: #ffb477;
  margin: 14px 0 8px;
}
.footer-desc {
  font-size: 13px;
  line-height: 1.7;
  color: #b7afc2;
  margin: 0 0 20px;
  max-width: 340px;
}
.footer-contact-pills {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fpill {
  display: inline-flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 13px;
  color: #d4cce0;
  line-height: 1.5;
  transition: color .2s;
}
.fpill:hover { color: #fff; }
.fpill-wa { color: #7ee8a2; }
.fpill-wa:hover { color: #25d366; }
.fpill-addr { cursor: default; color: #b7afc2; }
.footer-col { display: flex; flex-direction: column; }
.footer-col h4 {
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
}
.footer-col a {
  font-size: 13px;
  color: #b7afc2;
  margin: 0 0 8px;
  display: block;
  transition: color .2s, padding-left .2s;
}
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-all-link {
  margin-top: 6px !important;
  color: var(--orange) !important;
  font-weight: 700;
}
.footer-all-link:hover { color: #ff8c35 !important; }
.footer-info-line {
  font-size: 13px;
  color: #b7afc2;
  margin: 0 0 6px;
}
.footer-info-line strong { color: #e0d8ec; }
/* ── Footer bottom bar ─────────────────────────────────────── */
.footer-bottom-wrap {
  background: #120824;
  width: 100%;
  margin-top: 0;
  border-top: 1px solid #3e2e55;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 0;
  font-size: 12px;
  color: #7a6e8a;
  background: transparent;
}
.footer-bottom-tag { font-style: italic; }
.footer-bottom-tag { font-style: italic; }

@media (max-width: 900px) {
  .footer-main-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand-col { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-main-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
