/* ==========================================================================
   Navy & Gold mix: joins the original sections (.lz, styled by classic.css)
   with the redesign (redesign.css). Loaded last.
   ========================================================================== */

/* One type system everywhere */
.lz {
  --font-sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-display: "Manrope", "Segoe UI", system-ui, sans-serif;
  font-family: var(--font-sans);
}
.lz :is(h1, h2, h3, .hero-title, .section-title, .hero-m-title, .service-heading, .capability-title, .portfolio-card-title) {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
}
.lz .service-index-tag { font-family: var(--font-sans); letter-spacing: 0.08em; }

/* Section heads in the original sections were centred wrappers */
.lz .section-head { text-align: center; }
.lz .section-action { margin-top: 3rem; text-align: center; }

/* No cursor glow: the spotlight layer and gold hover glows are gone; the 3D tilt stays */
.lz :is(.spotlight-card, .service-card, .capability-card, .roadmap-card, .review-ticker-card, .quote-info-card, .portfolio-card-evolvion, .feature-card)::before { display: none !important; }
.lz :is(.service-card, .capability-card, .panel, .portfolio-card-evolvion):hover { box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.55) !important; }
.lz .service-ambient-glow { display: none !important; }
.cursor-follower { display: none !important; }

/* Who we are: the original layout on the light cream band */
.section-about.lz {
  --background: #F5F2EA;
  --foreground: #0E1A2B;
  --muted-foreground: #4B5568;
  --surface: #FFFFFF;
  --border: #E2DCCD;
  --primary-glow: #7A5C22;
  background: #F5F2EA;
  color: #0E1A2B;
}
.section-about.lz .section-radial-bg { display: none; }
.section-about.lz .section-tag { color: #7A5C22; }
.section-about.lz .section-title { color: #0E1A2B; }
.section-about.lz .text-gradient-violet { background: none; color: #7A5C22; -webkit-text-fill-color: #7A5C22; }
.section-about.lz .section-desc { color: #4B5568; }
.section-about.lz .capability-card {
  background: #FFFFFF !important;
  border: 1px solid #E2DCCD !important;
  box-shadow: 0 1px 2px rgba(14, 26, 43, 0.04), 0 14px 32px -22px rgba(14, 26, 43, 0.22);
}
.section-about.lz .capability-card:hover {
  border-color: #CFC6B2 !important;
  box-shadow: 0 1px 2px rgba(14, 26, 43, 0.05), 0 22px 44px -22px rgba(14, 26, 43, 0.3) !important;
}
.section-about.lz .capability-title { color: #0E1A2B; }
.section-about.lz .capability-text { color: #4B5568; }
.section-about.lz .capability-icon-wrap {
  background: rgba(201, 164, 92, 0.16);
  border-color: rgba(201, 164, 92, 0.4);
  color: #7A5C22;
}

/* Testimonials: redesign cards on the original's continuous scroll */
.testimonials-marquee-section .reviews-marquee-mask {
  max-width: none !important;
  padding: 0.5rem 0 !important;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.testimonials-marquee-section .reviews-marquee-track {
  display: flex !important;
  width: max-content;
  gap: 1rem !important;
  border: 0 !important;
  animation: mix-reviews-scroll 50s linear infinite;
}
.testimonials-marquee-section .reviews-marquee-track:hover { animation-play-state: paused; }
.testimonials-marquee-section .review-ticker-card,
.testimonials-marquee-section .review-ticker-card.is-duplicate,
.testimonials-marquee-section .review-ticker-card + .review-ticker-card:not(.is-duplicate) {
  display: flex !important;
  flex: none;
  width: min(26rem, 82vw);
  padding: clamp(1.75rem, 3vw, 2.25rem) !important;
  border: 1px solid var(--line) !important;
  transform: none;
}
.testimonials-marquee-section .review-ticker-card:hover { transform: translateY(-3px); }
.testimonials-marquee-section .reviews-mobile-controls,
.testimonials-marquee-section .carousel-dots { display: none !important; }
@keyframes mix-reviews-scroll { to { transform: translateX(calc(-50% - 0.5rem)); } }

@media (prefers-reduced-motion: reduce) {
  .testimonials-marquee-section .reviews-marquee-track { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; padding-inline: var(--gutter); }
  .testimonials-marquee-section .review-ticker-card.is-duplicate { display: none !important; }
  .testimonials-marquee-section .reviews-marquee-mask { -webkit-mask-image: none; mask-image: none; }
}

/* Hero: no gold glow behind the headline or around the status badge */
.lz :is(.hero-radial-glow, .hero-aurora-glow, .hero-breathing-orb) { display: none !important; }
.lz .availability-badge::before,
.lz .availability-badge::after { display: none !important; }
.lz .availability-badge,
.lz .availability-badge:hover {
  background: rgba(21, 35, 58, 0.7) !important;
  border: 1px solid #33466A !important;
  box-shadow: none !important;
}
.lz .pulse-dot { box-shadow: none !important; }
.lz .pulse-dot { animation: none !important; }
.lz .section-radial-bg, .lz .hero-section > .grid-bg + .hero-radial-glow { display: none !important; }
.lz .glow-violet, .lz .btn-primary:hover, .lz .btn-primary-lg:hover { box-shadow: none !important; }
.lz .service-icon-badge { box-shadow: none !important; }

/* ==========================================================================
   Audit fixes
   ========================================================================== */

/* One button shape everywhere: 8px corners */
:is(.btn-primary, .btn-primary-lg, .btn-secondary-lg, .btn-secondary-sm, .btn-whatsapp, .portfolio-view-btn),
.lz :is(.btn-primary, .btn-primary-lg, .btn-secondary-lg, .btn-secondary-sm, .btn-whatsapp, .portfolio-view-btn) { border-radius: 8px !important; }
#modalLink { border-radius: 8px !important; }

/* Homepage section headings: all centred, like Hero, Who we are and Services */
#process .section-head, #testimonials .section-head, #faq .section-head {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  max-width: 48rem;
  margin-inline: auto;
  margin-bottom: clamp(2.75rem, 6vw, 4rem);
  position: static !important;
}
#process .section-head > *, #testimonials .section-head > *, #faq .section-head > * { margin: 0 !important; }
#process .section-action { padding-left: 0 !important; text-align: center; }
@media (min-width: 1024px) {
  #faq > .container { display: block !important; }
  #faq .faq-container { max-width: 52rem; margin-inline: auto; }
  #faq .section-title { font-size: clamp(2.125rem, 4vw, 3.5rem) !important; }
}

/* Services ticks in gold, like the process section */
.lz .service-deliverables-list li svg { color: #D9B872 !important; }

/* Card corners: 12px everywhere */
.lz :is(.capability-card, .service-card, .marquee-card, .portfolio-card-evolvion, .panel, .feature-card) { border-radius: 12px !important; }
.lz :is(.portfolio-thumbnail-wrap, .portfolio-thumbnail-inner) { border-radius: 8px !important; }
.lz :is(.service-icon-badge, .capability-icon-wrap) { border-radius: 8px !important; }

/* Portfolio: compact centred header and a tidy 2 x 2 grid of small cards */
#portfolio.section-portfolio { padding-top: calc(var(--header-h) + clamp(2rem, 4vw, 3rem)) !important; padding-bottom: clamp(3rem, 6vw, 4.5rem) !important; }
main[style] > #portfolio.section-portfolio:first-child { padding-top: clamp(2rem, 4vw, 3rem) !important; }
#portfolio.section-portfolio .section-head {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  margin: 0 auto clamp(2.25rem, 4vw, 3rem) !important;
}
#portfolio.section-portfolio .section-head > * { margin: 0 !important; grid-column: auto !important; }
#portfolio.section-portfolio .section-head .section-title { font-size: clamp(1.75rem, 3vw, 2.75rem) !important; line-height: 1.12 !important; letter-spacing: -0.03em !important; }
.portfolio-grid-evolvion.lz {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 1.25rem !important;
  max-width: 60rem;
  margin-inline: auto;
}
@media (min-width: 640px) {
  .portfolio-grid-evolvion.lz { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 1.5rem !important; }
}
.portfolio-grid-evolvion.lz .portfolio-card-evolvion { padding: 0.875rem !important; border: 1px solid #24344F !important; border-radius: 12px !important; }
.portfolio-grid-evolvion.lz .portfolio-card-evolvion:hover { transform: translateY(-3px); }
.portfolio-grid-evolvion.lz .portfolio-card-header { padding: 0.125rem 0.25rem 0.75rem !important; margin: 0 !important; }
.portfolio-grid-evolvion.lz .portfolio-card-title { font-size: 1.0625rem !important; font-weight: 600 !important; letter-spacing: -0.01em; }
.portfolio-grid-evolvion.lz .portfolio-view-btn { font-size: 0.875rem !important; padding: 0.3125rem 0.75rem !important; }
.portfolio-grid-evolvion.lz .portfolio-view-btn svg { width: 14px; height: 14px; }
.portfolio-grid-evolvion.lz .portfolio-thumbnail-wrap { aspect-ratio: 16 / 10; height: auto !important; border-radius: 8px !important; overflow: hidden; }
.portfolio-grid-evolvion.lz .portfolio-thumbnail-inner { height: 100% !important; }
.portfolio-grid-evolvion.lz .portfolio-thumbnail-inner img { width: 100%; height: 100% !important; object-fit: cover; object-position: top; }

/* Process on phones: tighter cards */
@media (max-width: 639px) {
  #process .process-roadmap-grid { gap: 0.75rem; }
  #process .roadmap-card { padding: 1.25rem !important; display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); column-gap: 0.875rem; align-items: start; }
  #process .roadmap-card > * { grid-column: 2; }
  #process .roadmap-num { grid-column: 1; grid-row: 1 / span 2; width: 2.25rem !important; height: 2.25rem !important; font-size: 0.875rem !important; }
  #process .roadmap-phase { margin-top: 0 !important; }
  #process .roadmap-title { font-size: 1.1875rem !important; margin-top: 0.25rem; }
  #process .roadmap-desc { font-size: 0.9375rem; margin-top: 0.5rem; }
  #process .roadmap-deliverables { margin-top: 0.75rem; padding-top: 0.75rem; gap: 0.25rem; }
  #process .roadmap-deliverables li { font-size: 0.8125rem; }
}

/* Portfolio page: smaller closing call to action to match the compact layout */
#portfolio.section-portfolio + .section-cta { padding-block: clamp(2.5rem, 5vw, 4rem) !important; }
#portfolio.section-portfolio + .section-cta .cta-card { padding: clamp(1.75rem, 4vw, 3rem) !important; }
#portfolio.section-portfolio + .section-cta .cta-title { font-size: clamp(1.75rem, 3vw, 2.5rem) !important; line-height: 1.12 !important; }
#portfolio.section-portfolio + .section-cta .cta-desc { font-size: 1rem !important; }

/* Get a quote: original layout; links in the side cards in gold instead of WhatsApp green */
.quote-section.lz .quote-info-card a { color: #D9B872 !important; }
.quote-section.lz .quote-info-icon { color: #D9B872; }
.quote-section.lz .btn-whatsapp, .quote-section.lz .btn-whatsapp:hover { box-shadow: none !important; }

/* Privacy and Terms: title on top, content below in one centred reading column */
.legal-section > .container { display: block !important; }
.legal-section .section-head {
  position: static !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  max-width: 46rem;
  margin: 0 auto clamp(2.5rem, 4vw, 3.5rem) !important;
}
.legal-section .section-head > * { margin: 0 !important; grid-column: auto !important; }
.legal-section .section-head .section-title { font-size: clamp(2rem, 3.4vw, 3rem) !important; line-height: 1.1 !important; }
.legal-section .legal-content { max-width: 46rem !important; margin-inline: auto !important; }
.legal-section .legal-content h2 { font-size: clamp(1.25rem, 1.8vw, 1.5rem) !important; }
.legal-section .legal-content :is(p, li) { font-size: clamp(1rem, 1.1vw, 1.0625rem) !important; line-height: 1.7 !important; }

/* ==========================================================================
   Chennai service pages: homepage-style sections
   ========================================================================== */

/* Hero: centred like the homepage, on the faint grid */
.seo-page .seo-hero {
  position: relative;
  isolation: isolate;
  padding-top: calc(var(--header-h) + clamp(3rem, 6vw, 5rem)) !important;
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem) !important;
  border-top: 0 !important;
}
main[style] > .seo-hero:first-child { padding-top: clamp(3rem, 6vw, 5rem) !important; }
.seo-page .seo-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center top;
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 40%, transparent 100%);
}
.seo-page .seo-hero .section-head {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  max-width: 52rem;
  margin: 0 auto !important;
}
.seo-page .seo-hero .section-head > * { margin: 0 !important; grid-column: auto !important; }
.seo-page .seo-hero .section-tag {
  padding: 0.4375rem 0.875rem;
  border: 1px solid #33466A;
  border-radius: 999px;
  background: rgba(21, 35, 58, 0.7);
  font-size: 0.75rem;
}
.seo-page .seo-hero .section-title { font-size: clamp(2.375rem, 5vw, 4rem) !important; line-height: 1.06 !important; letter-spacing: -0.035em !important; max-width: 20ch; }
.seo-page .seo-hero .service-page-intro { max-width: 42rem; font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); color: #9AA7B8; text-align: center; }
.seo-page .seo-hero .service-page-ctas { justify-content: center; margin-top: 0.5rem !important; }

/* Text blocks: centred heading, cards in a grid */
.seo-block { padding-block: clamp(4rem, 8vw, 6rem); border-top: 1px solid #24344F; }
.seo-head { max-width: 46rem; margin: 0 auto clamp(2.25rem, 4vw, 3rem); text-align: center; display: grid; gap: 1rem; }
.seo-head h2 { font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; color: #EEF1F5; }
.seo-head p { color: #9AA7B8; font-size: clamp(1rem, 1.2vw, 1.125rem); line-height: 1.65; }
.seo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1rem;
  max-width: 72rem;
  margin: 0 auto;
}
.seo-cards > li {
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 4rem;
  background: #15233A;
  border: 1px solid #24344F;
  border-radius: 12px;
  color: #9AA7B8;
  font-size: 0.9375rem;
  line-height: 1.6;
  box-shadow: 0 18px 40px -26px rgba(0, 0, 0, 0.6);
  transition: border-color 0.3s ease;
}
.seo-cards > li:hover { border-color: rgba(201, 164, 92, 0.5); }
.seo-cards > li::before {
  content: "✓";
  position: absolute;
  left: 1.5rem;
  top: 1.5rem;
  width: 1.625rem;
  height: 1.625rem;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #C9A45C;
  color: #0E1A2B;
  font-size: 0.8125rem;
  font-weight: 700;
}
.seo-cards > li strong { display: block; margin-bottom: 0.375rem; font-family: var(--font-display); font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; color: #EEF1F5; }
.seo-body > p { max-width: 46rem; margin: 0 auto; text-align: center; color: #9AA7B8; }
.seo-body a { color: #D9B872; text-decoration: underline; text-underline-offset: 0.2em; }
.seo-body .service-page-tags { justify-content: center; max-width: 46rem; margin: 0 auto; }

/* First block on the cream band, like "Who we are" */
.seo-block-0 { background: #F5F2EA; border-top: 0; }
.seo-block-0 .seo-head h2 { color: #0E1A2B; }
.seo-block-0 .seo-head p { color: #4B5568; }
.seo-block-0 .seo-cards > li { background: #FFFFFF; border-color: #E2DCCD; color: #4B5568; box-shadow: 0 1px 2px rgba(14, 26, 43, 0.04), 0 14px 32px -22px rgba(14, 26, 43, 0.22); }
.seo-block-0 .seo-cards > li strong { color: #0E1A2B; }
/* Technology and "See our work" continue the block above */
.seo-block-2, .seo-block-3 { border-top: 0; padding-top: 0; }

/* Process, work and FAQ: centred headings like the homepage */
.seo-page :is(.section-about, .section-portfolio, .section-faq) .section-head {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  max-width: 46rem;
  margin: 0 auto clamp(2.25rem, 4vw, 3rem) !important;
  position: static !important;
}
.seo-page :is(.section-about, .section-portfolio, .section-faq) .section-head > * { margin: 0 !important; grid-column: auto !important; }
.seo-page :is(.section-about, .section-portfolio, .section-faq) .section-title { font-size: clamp(2rem, 3.6vw, 3rem) !important; }
.seo-page :is(.section-about, .section-faq) > .container { display: block !important; }
.seo-page .section-about .about-capabilities-grid { max-width: 72rem; margin-inline: auto; }
@media (min-width: 1024px) {
  .seo-page .section-about .about-capabilities-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}
.seo-page .section-faq .faq-container { max-width: 52rem; margin-inline: auto; }
.seo-page .section-portfolio .portfolio-grid-evolvion { max-width: 60rem; margin-inline: auto; }
.seo-cards { display: flex; flex-wrap: wrap; justify-content: center; }
.seo-cards > li { flex: 1 1 100%; }
@media (min-width: 640px) { .seo-cards > li { flex: 0 1 calc((100% - 1rem) / 2); } }
@media (min-width: 1024px) { .seo-cards > li { flex: 0 1 calc((100% - 2rem) / 3); } }
