/* ==========================================================================
   Radhe Computer — Page Layouts
   ========================================================================== */

/* --------------------------------------------------------------------------
   Grids
   -------------------------------------------------------------------------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

@media (max-width: 992px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Home Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(2.75rem, 5vw, 4.25rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(900px 420px at 88% 8%, rgba(242, 103, 34, 0.18) 0%, transparent 60%),
    radial-gradient(760px 500px at 6% 92%, rgba(36, 80, 184, 0.35) 0%, transparent 62%),
    linear-gradient(150deg, #0C1F49 0%, var(--navy-900) 55%, #08132E 100%);
  color: #FFFFFF;
  overflow: hidden;
  isolation: isolate;
}

/* Faint technical grid, replaces the old animated circuit doodle */
.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: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 78%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.8rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 138, 61, 0.3);
  border-radius: var(--radius-full);
  color: var(--orange-400);
  font-family: var(--font-display);
  font-size: var(--text-2xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.hero-badge svg { width: 13px; height: 13px; }

.hero-title {
  color: #FFFFFF;
  font-size: var(--text-5xl);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  max-width: 15ch;
}

.hero-title span {
  background: linear-gradient(100deg, var(--orange-400), #FFB27A);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width: 992px) {
  .hero-title { max-width: 20ch; }
}

.hero-subhead {
  font-size: var(--text-lg);
  line-height: 1.6;
  color: #AEBBD2;
  margin-bottom: 1.75rem;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.85rem;
}

.hero-trust-chips {
  display: flex;
  align-items: center;
  gap: 0.5rem 1.4rem;
  flex-wrap: wrap;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--text-base);
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #C3CDDF;
  font-weight: 500;
}

.trust-chip svg { width: 15px; height: 15px; color: var(--success); flex-shrink: 0; }

/* ---- Hero photo composition ---- */
.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.85rem;
}

.hero-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.42);
  background: var(--navy-800);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo--main {
  grid-row: span 2;
  height: 100%;
  min-height: 0;
}

.hero-photo--sm { aspect-ratio: 1 / 1; }

@media (max-width: 992px) {
  .hero-visual { max-width: 560px; margin-inline: auto; width: 100%; }
}

@media (max-width: 560px) {
  .hero-visual { grid-template-columns: 1fr 1fr; }
  .hero-photo--main { grid-row: auto; grid-column: span 2; aspect-ratio: 16 / 11; height: auto; }
}

/* Floating stat card over the composition */
.hero-float-card {
  position: absolute;
  left: -1.25rem;
  bottom: 1.5rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.95rem;
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(10px);
}

.hero-float-card__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--orange-100);
  color: var(--orange-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-float-card__icon svg { width: 19px; height: 19px; }

.hero-float-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-md);
  color: var(--navy-900);
  line-height: 1.2;
}

.hero-float-card span {
  font-size: var(--text-xs);
  color: var(--slate-400);
  line-height: 1.3;
}

@media (max-width: 992px) {
  .hero-float-card { left: 0.75rem; bottom: -0.85rem; }
}

@media (max-width: 560px) {
  .hero-float-card {
    position: static;
    grid-column: 1 / -1;
    justify-content: center;
    box-shadow: var(--shadow-md);
  }
}

/* --------------------------------------------------------------------------
   Inner Page Hero (services, blog, legal, contact)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-top: clamp(2.25rem, 4.5vw, 3.5rem);
  padding-bottom: clamp(2.25rem, 4.5vw, 3.5rem);
  background:
    radial-gradient(700px 340px at 82% 12%, rgba(242, 103, 34, 0.16) 0%, transparent 62%),
    linear-gradient(140deg, #0C1F49 0%, var(--navy-900) 70%);
  color: #B6C2D9;
  overflow: hidden;
}

.page-hero h1 { color: #FFFFFF; margin-bottom: 0.7rem; }

.page-hero p {
  color: #AEBBD2;
  font-size: var(--text-lg);
  max-width: 62ch;
  margin-bottom: 0;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

@media (max-width: 900px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-figure { display: none; }
}

.page-hero-figure {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  aspect-ratio: 16 / 11;
}

.page-hero-figure img { width: 100%; height: 100%; object-fit: cover; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  font-size: var(--text-sm);
  color: #7A88A3;
  margin-bottom: 0.9rem;
}

.breadcrumb a { color: #AEBBD2; }
.breadcrumb a:hover { color: var(--orange-400); }
.breadcrumb span[aria-current] { color: var(--orange-400); }
.breadcrumb .sep { color: #4C5C7A; }

/* --------------------------------------------------------------------------
   USP Tiles
   -------------------------------------------------------------------------- */
.usp-tile {
  background: var(--card);
  padding: 1.4rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  transition: transform var(--transition-base), box-shadow var(--transition-base),
              border-color var(--transition-base);
}

.usp-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #D5DEEE;
}

.usp-tile h4 { margin: 0.85rem 0 0.4rem; }
.usp-tile p { font-size: var(--text-base); color: var(--slate-500); margin-bottom: 0; }

.usp-tile-dark {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.09);
}

.usp-tile-dark:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 138, 61, 0.35);
}

.usp-tile-dark h4 { color: #FFFFFF; }
.usp-tile-dark p { color: #A8B4CB; }

/* --------------------------------------------------------------------------
   Split Feature (image + copy)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: -1; }
}

.split__media {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 10 / 7;
  border: 1px solid var(--line);
}

.split__media img { width: 100%; height: 100%; object-fit: cover; }

.split__media--badge::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 27, 63, 0.35), transparent 55%);
}

/* --------------------------------------------------------------------------
   Sales Callout
   -------------------------------------------------------------------------- */
.sales-callout {
  background:
    linear-gradient(115deg, rgba(11, 27, 63, 0.94) 0%, rgba(18, 41, 107, 0.86) 55%, rgba(11, 27, 63, 0.75) 100%),
    var(--navy-900);
  border-radius: var(--radius-2xl);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
  color: #B6C2D9;
  overflow: hidden;
  position: relative;
}

.sales-callout::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../media/photos/svc-desktop.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.16;
  z-index: -1;
}

@media (max-width: 850px) {
  .sales-callout { grid-template-columns: 1fr; }
}

.sales-callout h3 { color: #FFFFFF; font-size: var(--text-2xl); margin-bottom: 0.55rem; }
.sales-callout p { color: #AEBBD2; margin-bottom: 0; }

.sales-callout-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* --------------------------------------------------------------------------
   Process Steps
   -------------------------------------------------------------------------- */
.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}

@media (max-width: 900px) { .step-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .step-grid { grid-template-columns: 1fr; } }

.step {
  position: relative;
  padding: 1.35rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}

.step::before {
  counter-increment: step;
  content: '0' counter(step);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--orange-500);
  letter-spacing: 0.05em;
}

.step h4 { margin: 0.5rem 0 0.35rem; }
.step p { font-size: var(--text-base); color: var(--slate-500); margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.testimonial {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 1.6rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.testimonial__stars {
  display: flex;
  gap: 0.1rem;
  color: var(--orange-500);
  margin-bottom: 0.85rem;
}

.testimonial__stars svg { width: 15px; height: 15px; fill: currentColor; }

.testimonial__quote {
  font-size: var(--text-md);
  line-height: 1.65;
  color: var(--slate-600);
  margin-bottom: 1.25rem;
  flex: 1;
}

.testimonial__person {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.avatar-initials {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--navy-600), var(--navy-900));
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.testimonial__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--navy-900);
  line-height: 1.3;
}

.testimonial__meta { font-size: var(--text-xs); color: var(--slate-400); }

.swiper-pagination-bullet-active { background: var(--orange-500) !important; }

/* --------------------------------------------------------------------------
   CTA Band with photo background
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background-color: var(--navy-900);
  color: #B6C2D9;
  text-align: center;
  isolation: isolate;
}

.cta-band__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, rgba(11, 27, 63, 0.95) 0%, rgba(18, 41, 107, 0.88) 60%, rgba(11, 27, 63, 0.94) 100%);
}

.cta-band h2 { color: #FFFFFF; margin-bottom: 0.75rem; }

.cta-band p {
  color: #AEBBD2;
  font-size: var(--text-lg);
  max-width: 60ch;
  margin: 0 auto 1.75rem;
}

.cta-band__actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Service Detail Layout
   -------------------------------------------------------------------------- */
.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}

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

.service-body h2 { margin-bottom: 0.75rem; }
.service-body h3 { margin-top: 1.9rem; margin-bottom: 0.8rem; }
.service-body p { color: var(--slate-600); }

.service-figure {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  margin-bottom: 1.75rem;
  aspect-ratio: 16 / 9;
}

.service-figure img { width: 100%; height: 100%; object-fit: cover; }

.enquiry-panel {
  position: sticky;
  top: calc(var(--header-height) + 1.25rem);
  background: linear-gradient(155deg, var(--navy-800) 0%, var(--navy-900) 100%);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.enquiry-panel h3 { color: #FFFFFF; font-size: var(--text-xl); margin-bottom: 0.4rem; }
.enquiry-panel > p { color: #A8B4CB; font-size: var(--text-base); margin-bottom: 1.15rem; }

/* Price / package cards */
.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 1.4rem;
  height: 100%;
}

.price-card.is-featured {
  border-color: var(--orange-500);
  box-shadow: 0 0 0 3px rgba(242, 103, 34, 0.1), var(--shadow-md);
}

.price-card h4 { margin-bottom: 0.35rem; }

.price-card__note {
  font-size: var(--text-xs);
  color: var(--slate-400);
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   Blog
   -------------------------------------------------------------------------- */
.blog-post-category {
  display: inline-block;
  padding: 0.22rem 0.6rem;
  background: var(--orange-100);
  color: var(--orange-600);
  font-family: var(--font-display);
  font-size: var(--text-2xs);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
}

.blog-post-article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-2xl);
  padding: clamp(1.25rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-sm);
  max-width: 820px;
  margin: 0 auto;
}

.blog-cover {
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 1.75rem;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
}

.blog-cover img { width: 100%; height: 100%; object-fit: cover; }

.blog-meta-header {
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.25rem;
}

.blog-post-title {
  font-size: var(--text-3xl);
  margin: 0.85rem 0 0.75rem;
}

.blog-post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: var(--text-sm);
  color: var(--slate-400);
}

.blog-post-meta span { display: inline-flex; align-items: center; gap: 0.35rem; }
.blog-post-meta svg { width: 14px; height: 14px; }

.blog-content h2 {
  font-size: var(--text-2xl);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.blog-content h3 {
  font-size: var(--text-xl);
  margin-top: 1.6rem;
  margin-bottom: 0.6rem;
  color: var(--navy-700);
}

.blog-content p, .blog-content ul, .blog-content ol {
  margin-bottom: 1.05rem;
  font-size: var(--text-md);
  line-height: 1.75;
}

.blog-content ul { list-style: disc; padding-left: 1.3rem; }
.blog-content ol { list-style: decimal; padding-left: 1.3rem; }
.blog-content li { margin-bottom: 0.4rem; }

.blog-content figure { margin: 1.75rem 0; }

.blog-content figure img {
  border-radius: var(--radius-lg);
  width: 100%;
  border: 1px solid var(--line);
}

.blog-content figcaption {
  font-size: var(--text-xs);
  color: var(--slate-400);
  margin-top: 0.5rem;
  text-align: center;
}

.blog-cta-box {
  background: linear-gradient(140deg, var(--navy-800) 0%, var(--navy-900) 100%);
  color: #FFFFFF;
  padding: 1.6rem;
  border-radius: var(--radius-xl);
  margin: 2.25rem 0;
  text-align: center;
}

.blog-cta-box h3 { color: #FFFFFF; font-size: var(--text-xl); margin-bottom: 0.5rem; }
.blog-cta-box p { color: #AEBBD2; margin-bottom: 1.1rem; font-size: var(--text-base); }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.75rem, 4vw, 2.75rem);
  align-items: start;
}

@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-2xl);
  padding: clamp(1.25rem, 3vw, 1.85rem);
  box-shadow: var(--shadow-sm);
}

.contact-person-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: var(--navy-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin-bottom: 0.65rem;
}

.contact-person-card:last-of-type { margin-bottom: 0; }

.map-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  line-height: 0;
}

.map-frame iframe { width: 100%; height: 340px; border: 0; }

/* --------------------------------------------------------------------------
   Area Chips
   -------------------------------------------------------------------------- */
.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.area-chip {
  padding: 0.35rem 0.8rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--slate-600);
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.error-page {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(3rem, 10vw, 6rem) 1rem;
}

.error-code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 16vw, 8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  background: linear-gradient(120deg, var(--navy-600), var(--orange-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
