/* ==================================================== */
/*  BROWSENT — Service Page Styles                       */
/*  Reuses :root vars from style.css                     */
/* ==================================================== */

.page-hero {
  position: relative;
  z-index: 1;
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 120px 0 60px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(230, 203, 184, 0.55) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 85%, rgba(118, 26, 2, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #fbf0f6 0%, #ffffff 100%);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(118, 26, 2, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 20%, rgba(118, 26, 2, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

#ai-strategy-hero-bg,
#ai-solutions-hero-bg,
#custom-ai-hero-bg,
#product-strategy-hero-bg,
#product-design-hero-bg,
#software-engineering-hero-bg,
#architecture-hero-bg,
#quality-engineering-hero-bg,
#business-products-hero-bg,
#ai-products-hero-bg,
#about-hero-bg,
#ventures-hero-bg {
  min-height: 40vh;
}

.service-hero-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  /* flex-wrap: wrap; */
}

.hero-image-section {
  flex: 0 0 auto;
  max-width: 45%;
  padding-right: 4%;
}

.hero-image-section img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 4%;
  min-width: 0;
}

.page-hero-content h1 {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.page-hero-content h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero-content p {
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--dark-muted);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 32px;
  /* margin: 0 4%; */
}

/* ============================================= */
/*  SERVICE TABS                                  */
/* ============================================= */

.service-tabs {
  position: relative;
  z-index: 1;
  padding: 4% 4%;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(230, 203, 184, 0.32) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 80%, rgba(118, 26, 2, 0.05) 0%, transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #fbf0f6 100%);
}

.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
  padding: 12px 16px;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  will-change: transform;
  border-radius: var(--radius-lg);
  border: var(--glass-border);
  box-shadow: var(--shadow-glass);
}

.tab-btn {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-sans);
  color: var(--dark-secondary);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}

@media (min-width: 1281px) {
  .tab-btn:hover {
    color: var(--primary-text);
    background: var(--primary-subtle);
  }
}

.tab-btn.active {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(118, 26, 2, 0.3);
}

.tab-panel {
  padding: 0 4%;
  display: none;
  animation: tabFadeIn 0.5s var(--ease-out);
}

.tab-panel.active {
  display: block;
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================= */
/*  TAB CONTENT LAYOUT                           */
/* ============================================= */

.tab-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.tab-text h2 {
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 20px;
}

.tab-text p {
  font-size: 16px;
  color: var(--dark-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.tab-text ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.tab-text li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--dark-secondary);
  line-height: 1.5;
}

.tab-text li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px rgba(118, 26, 2, 0.4);
}

.tab-visual {
  position: sticky;
  top: 100px;
  padding: 32px;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  will-change: transform;
  border-radius: var(--radius-lg);
  border: var(--glass-border);
  box-shadow: var(--shadow-glass-lg);
  overflow: hidden;
}



.viz-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.viz-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  box-shadow: 0 8px 32px rgba(118, 26, 2, 0.3);
}

.viz-icon svg {
  width: 40px;
  height: 40px;
  color: var(--white);
}

.viz-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.viz-stat {
  padding: 16px;
  background: var(--glass-bg);
  border-radius: var(--radius-sm);
  border: var(--glass-border);
}

.viz-stat-value {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}

.viz-stat-label {
  font-size: 12px;
  color: var(--dark-muted);
  font-weight: 500;
}

.viz-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
}

.viz-tag {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--primary-text);
  background: var(--primary-subtle);
  border-radius: 20px;
  border: 1px solid rgba(118, 26, 2, 0.08);
}

/* ============================================= */
/*  FEATURES SECTION                             */
/* ============================================= */

.features-section {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  background: radial-gradient(ellipse at 50% 0%, rgb(230 203 184 / 92%) 0%, #00000003 60%), radial-gradient(ellipse at 12% 90%, rgb(118 26 2 / 30%) 0%, transparent 40%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0 4%;
}

.feature-card {
  padding: 28px 24px;
  background: var(--glass-bg);
  border-radius: var(--radius-lg);
  border: var(--glass-border);
  box-shadow: var(--shadow-glass);
  transition: transform 0.4s var(--ease-glass), box-shadow 0.4s var(--ease-glass), border-color 0.4s var(--ease-glass);
}

@media (min-width: 1281px) {
  .feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glass-hover);
    border-color: rgba(118, 26, 2, 0.15);
  }
}

.feature-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--primary-subtle);
  margin-bottom: 16px;
  color: var(--primary);
}

.feature-card-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--dark-muted);
  line-height: 1.65;
}

/* ============================================= */
/*  CTA BANNER                                   */
/* ============================================= */

.cta-banner {
  position: relative;
  z-index: 1;
  padding: 80px 4%;
  background: radial-gradient(ellipse at 50% 0%, rgb(230 203 184 / 90%) 0%, #00000002 60%), linear-gradient(247deg, #ffeaea 0%, #fff7fa 100%);
}

.cta-box {
  padding: 56px 48px;
  background: linear-gradient(135deg, rgba(118, 26, 2, 0.12), rgba(230, 203, 184, 0.4) 55%, rgba(118, 26, 2, 0.06));
  border-radius: var(--radius-xl);
  border: 1px solid rgba(230, 203, 184, 0.6);
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(230, 203, 184, 0.45), transparent 65%);
  pointer-events: none;
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(118, 26, 2, 0.08), transparent 60%);
  pointer-events: none;
}

.cta-box h2 {
  margin-bottom: 16px;
}

.cta-box p {
  font-size: 17px;
  color: var(--dark-muted);
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto 32px;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================= */
/*  CONTACT PAGE SPECIFIC                        */
/* ============================================= */

.contact-page .contact-layout {
  align-items: start;
  margin: 0 4%;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.contact-info-card {
  padding: 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  will-change: transform;
  border-radius: var(--radius);
  border: var(--glass-border);
  transition: all 0.3s var(--ease-out);
}

@media (min-width: 1281px) {
  .contact-info-card:hover {
    border-color: rgba(118, 26, 2, 0.15);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glass);
  }
}

.contact-info-card .cc-icon {
  margin-bottom: 12px;
}

.contact-info-card h4 {
  font-size: 15px;
  margin-bottom: 4px;
}

.contact-info-card p {
  font-size: 14px;
  color: var(--dark-muted);
}

/* ============================================= */
/*  ABOUT PAGE SPECIFIC                          */
/* ============================================= */

.about-mission {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.about-mission-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-mission-text {
  min-width: 0;
}

.about-mission-text h2 {
  margin-bottom: 20px;
}

.about-mission-text p {
  font-size: 16px;
  color: var(--dark-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.value-card {
  padding: 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  will-change: transform;
  border-radius: var(--radius);
  border: var(--glass-border);
  transition: all 0.3s var(--ease-out);
}

@media (min-width: 1281px) {
  .value-card:hover {
    border-color: rgba(118, 26, 2, 0.15);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glass);
  }
}

.value-card h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 13px;
  color: var(--dark-muted);
  line-height: 1.6;
}

/* ============================================= */
/*  RESPONSIVE                                   */
/* ============================================= */

@media(max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 4%;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    /* padding: 0 4%; */
  }
}

@media(max-width: 900px) {
  .tab-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .tab-visual {
    position: relative;
    top: 0;
  }

  .about-mission-layout {
    grid-template-columns: 1fr;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .tabs-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding: 10px 12px;
  }

  .tabs-nav::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    flex-shrink: 0;
    padding: 10px 16px;
    font-size: 13px;
  }

  .page-hero {
    padding: 100px 0 40px;
    min-height: 45vh;
  }

  .page-hero-content h1 {
    font-size: clamp(28px, 5vw, 40px);
  }

  .service-tabs {
    padding: 4% 4%;
  }

  .cta-box {
    padding: 40px 32px;
  }
}

@media(max-width: 700px) {



  .features-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 32px 20px;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .viz-stats {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 90px 0 30px;
    min-height: 40vh;
  }

  .page-hero-content h1 {
    font-size: clamp(24px, 6vw, 32px);
    letter-spacing: -1px;
  }

  .page-hero-content p {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .service-hero-layout {
    flex-direction: column;
    text-align: center;
  }

  .hero-image-section {
    max-width: 80%;
    margin-top: 20px;
  }

  .tabs-nav {
    padding: 8px 10px;
    gap: 6px;
    margin-bottom: 32px;
  }

  .tab-btn {
    padding: 8px 14px;
    font-size: 12px;
  }

  .tab-text {
    min-width: 0;
  }

  .tab-text h2 {
    font-size: clamp(20px, 4.5vw, 26px);
  }

  .tab-text p {
    font-size: 14px;
  }

  .tab-text li {
    font-size: 13px;
  }

  .tab-visual {
    padding: 24px 20px;
  }

  .viz-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    margin-bottom: 16px;
  }

  .viz-icon svg {
    width: 32px;
    height: 32px;
  }

  .viz-stat-value {
    font-size: 22px;
  }

  .feature-card {
    padding: 24px 20px;
    min-height: auto;
  }

  .feature-card h3 {
    font-size: 16px;
  }

  .feature-card p {
    font-size: 13px;
  }

  .cta-banner {
    padding: 60px 0;
  }

  .cta-box h2 {
    font-size: clamp(22px, 5vw, 28px);
  }

  .cta-box p {
    font-size: 15px;
  }

  .about-mission {
    padding: 60px 0;
  }

  .about-mission-text p {
    font-size: 14px;
  }

  .value-card {
    padding: 20px;
  }

  .value-card h4 {
    font-size: 15px;
  }

  .value-card p {
    font-size: 12px;
  }

  .contact-info-card {
    padding: 16px;
  }
}

@media(max-width: 500px) {

  .problem-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    padding: 30px var(--space-md) 0;
  }

  .page-hero {
    padding: 85px 0 24px;
    min-height: 35vh;
  }

  .page-hero-content h1 {
    font-size: clamp(22px, 7vw, 28px);
  }

  .page-hero-content p {
    font-size: 13px;
  }

  .features-section {
    padding: 48px 0;
  }

  .cta-banner {
    padding: 48px 0;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-actions .btn {
    justify-content: center;
  }

  .viz-tags {
    gap: 6px;
  }

  .viz-tag {
    font-size: 11px;
    padding: 5px 10px;
  }

  .hero-image-section {
    max-width: 90%;
  }
}

/* ============================================= */
/*  PREMIUM GLASSMORPHISM SERVICE CARDS          */
/* ============================================= */

.features-section {
  position: relative;
  z-index: 1;
}

.feature-card {
  position: relative;
  border-radius: 20px;
  padding: 32px 28px 24px;
  min-height: 260px;
  overflow: hidden;
  cursor: default;

  background: var(--glass-bg);
  backdrop-filter: blur(22px) saturate(1.5);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  will-change: transform;
  border: 1px solid rgba(118, 26, 2, 0.16);
  box-shadow:
    0 4px 24px rgba(118, 26, 2, 0.08),
    0 8px 32px rgba(118, 26, 2, 0.1),
    var(--glass-gloss);
}

.feature-card-icon,
.feature-card h3,
.feature-card p,
.feature-card-btn {
  position: relative;
  z-index: 2;
}

.feature-card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(118, 26, 2, 0.12);
  border: 1px solid rgba(118, 26, 2, 0.14);
  color: var(--primary);
  margin-bottom: 16px;
  flex-shrink: 0;
}

.feature-card-icon svg {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  font-size: clamp(17px, 1.3vw, 20px);
  font-weight: 600;
  color: var(--dark);
  letter-spacing: -0.3px;
  line-height: 1.3;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--dark-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.feature-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(118, 26, 2, 0.12);
  border: 1px solid rgba(118, 26, 2, 0.14);
  color: var(--primary);
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.feature-card-btn svg {
  width: 18px;
  height: 18px;
}

/* --- Responsive --- */
@media (max-width: 1100px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 24px 20px;
    min-height: 220px;
  }

  .feature-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .feature-card-icon svg {
    width: 22px;
    height: 22px;
  }

  .feature-card-btn {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 500px) {
  .feature-card {
    padding: 20px 16px;
    min-height: auto;
    border-radius: 16px;
  }

  .feature-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    margin-bottom: 12px;
  }

  .feature-card-icon svg {
    width: 20px;
    height: 20px;
  }

  .feature-card h3 {
    font-size: 15px;
    margin-bottom: 8px;
  }

  .feature-card p {
    font-size: 13px;
    line-height: 1.6;
  }

  .feature-card-btn {
    width: 34px;
    height: 34px;
  }
}

/* ============================================================
   DISABLE ALL HOVER EFFECTS BELOW 1024px
   ============================================================ */
/* @media (max-width: 1024px) { */

/* 1. Kill transitions on hoverable elements */
/* .tab-btn,
  .feature-card,
  .contact-info-card,
  .value-card {
    transition: none !important;
  } */

/* 2. Reset every hover state to no-op */
/* .tab-btn:hover,
  .feature-card:hover,
  .contact-info-card:hover,
  .value-card:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: inherit !important;
    color: inherit !important;
    background: inherit !important;
    background-color: inherit !important;
    opacity: inherit !important;
    filter: none !important;
  } */

/* 3. Kill the ::after sheen sweep */
/* .tab-btn:hover::after,
  .feature-card:hover::after,
  .contact-info-card:hover::after,
  .value-card:hover::after {
    opacity: 0 !important;
    transform: none !important;
    animation: none !important;
  } */
/* } */