


/* =============================================
   1. CSS VARIABLES
============================================= */
:root {
  --primary:     #2a2a72;
  --primary-mid: #3a3a8a;
  --gold:        #e69500;
  --white:       #fff;
  --dark:        #16163a;
  --gray:        #5a5a7a;
  --gray-light:  #f4f4f8;
  --shadow:      0 8px 32px rgba(42, 42, 114, 0.10);
}


/* =============================================
   2. RESET & BASE
============================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  background: var(--white);
  -webkit-text-size-adjust: 100%;
}


/* =============================================
   3. LAYOUT
============================================= */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.bg-light {
  background: var(--gray-light);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}


/* =============================================
   4. HEADER & NAVIGATION
============================================= */
header {
  background: var(--primary);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 16px rgba(42, 42, 114, 0.18);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 48px;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-list a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.25s;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--white);
}

/* Back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 24px;
  transition: color 0.25s;
}

.back-link:hover {
  color: var(--white);
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}


/* =============================================
   5. HERO SECTION
============================================= */
.service-hero {
  background: linear-gradient(140deg, var(--primary) 0%, var(--primary-mid) 100%);
  min-height: calc(100vh - 84px);
  display: flex;
  align-items: center; /* vertically centres content */
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.service-hero .container {
  width: 100%;
  padding-top: 56px;
  padding-bottom: 56px;
}

/* Decorative circle */
.service-hero::after {
  content: '';
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  top: -160px;
  right: -120px;
  pointer-events: none;
}

/* Hero icon */
.hero-icon {
  font-size: 4.4rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 18px;
  display: inline-block;
  animation: tilt 4s ease-in-out infinite;
}

/* Hero title */
.service-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* Hero description */
.hero-desc {
  font-size: 1.1rem;
  max-width: 580px;
  margin: 0 auto;
  opacity: 0.88;
  line-height: 1.78;
}

/* Tag badge */
.tag {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 20px;
  margin-bottom: 16px;
}


/* =============================================
   6. SECTIONS & TITLES
============================================= */
.section {
  padding: 88px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 54px;
}

.section-title h2 {
  font-size: 2.15rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-block;
  margin-bottom: 0;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 38px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 10px auto 18px;
}

.section-title p {
  color: var(--gray);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.72;
}


/* =============================================
   7. OFFER CARDS
============================================= */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
  gap: 24px;
}

.offer-card {
  background: var(--white);
  border-radius: 14px;
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--primary-mid);
  transition: transform 0.28s, box-shadow 0.28s;
}

.offer-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 48px rgba(42, 42, 114, 0.14);
}

.offer-card .icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.offer-card h3 {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.35;
}

.offer-card p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.75;
}


/* =============================================
   8. PROCESS STEPS
============================================= */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
  gap: 20px;
  counter-reset: step;
}

.step {
  background: var(--white);
  border-radius: 14px;
  padding: 32px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(42, 42, 114, 0.055);
  position: absolute;
  top: 8px;
  right: 13px;
  line-height: 1;
}

.step .step-icon {
  font-size: 1.85rem;
  color: var(--primary-mid);
  margin-bottom: 13px;
}

.step h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.step p {
  color: var(--gray);
  font-size: 0.92rem;
  line-height: 1.65;
}


/* =============================================
   9. TWO-COLUMN LAYOUT
============================================= */
.col-text h2 {
  font-size: 1.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 18px;
  line-height: 1.32;
}

.col-text h2 em {
  font-style: normal;
  border-bottom: 3px solid var(--gold);
  padding-bottom: 1px;
}

.col-text p {
  color: var(--gray);
  line-height: 1.82;
  margin-bottom: 20px;
  font-size: 0.97rem;
}

.check-list {
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 13px;
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

.check-list li i {
  color: var(--primary-mid);
  margin-top: 2px;
  flex-shrink: 0;
}


/* =============================================
   10. STAT CARD
============================================= */
.stat-card {
  background: linear-gradient(140deg, var(--primary), var(--primary-mid));
  border-radius: 18px;
  padding: 50px 38px;
  color: var(--white);
  text-align: center;
}

.stat-card .big-num {
  font-size: 5.2rem;
  font-weight: 700;
  line-height: 1;
}

.gold-line {
  width: 44px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 16px auto 14px;
}

.stat-card p {
  opacity: 0.82;
  font-size: 1rem;
  line-height: 1.65;
}


/* =============================================
   11. PILLARS
============================================= */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.pillar {
  background: var(--gray-light);
  border-radius: 12px;
  padding: 22px 16px;
  text-align: center;
}

.pillar i {
  font-size: 1.7rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.pillar h4 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.4;
}


/* =============================================
   12. INFO VISUAL
============================================= */
.info-visual {
  background: linear-gradient(140deg, var(--primary), var(--primary-mid));
  border-radius: 18px;
  padding: 48px 36px;
  color: var(--white);
  text-align: center;
}

.info-visual i {
  font-size: 4rem;
  opacity: 0.88;
  margin-bottom: 18px;
  display: block;
}

.info-visual h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 14px;
  line-height: 1.3;
}

.info-visual p {
  opacity: 0.82;
  font-size: 0.97rem;
  line-height: 1.72;
}


/* =============================================
   13. TIMELINE
============================================= */
.timeline {
  max-width: 860px;
  margin: 0 auto;
}

.tl-item {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 28px;
  margin-bottom: 32px;
  align-items: start;
}

.tl-num {
  width: 64px;
  height: 64px;
  background: linear-gradient(140deg, var(--primary), var(--primary-mid));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
  flex-shrink: 0;
}

.tl-content {
  background: var(--white);
  border-radius: 13px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.tl-content h4 {
  color: var(--primary);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.tl-content p {
  color: var(--gray);
  font-size: 0.93rem;
  line-height: 1.72;
}


/* =============================================
   14. CTA SECTION & BUTTONS
============================================= */
.cta-section {
  background: linear-gradient(140deg, var(--primary) 0%, var(--primary-mid) 100%);
  padding: 88px 0;
  text-align: center;
  color: var(--white);
}

.cta-section h2 {
  font-size: 2.15rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.cta-section p {
  opacity: 0.88;
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.72;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.97rem;
  transition: all 0.28s;
}

.btn-primary {
  background: var(--white);
  color: var(--primary);
}

.btn-primary:hover {
  background: #ededff;
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
  margin-left: 13px;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-3px);
}


/* =============================================
   15. FOOTER
============================================= */
footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  padding: 28px 24px;
  font-size: 0.9rem;
  line-height: 1.65;
}

footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.25s;
}

footer a:hover {
  color: var(--white);
}


/* =============================================
   16. ANIMATIONS
============================================= */
@keyframes tilt {
  0%, 100% { transform: rotateY(0deg); }
  50%       { transform: rotateY(18deg); }
}


/* =============================================
   17. MEDIA QUERIES
============================================= */

/* --- Desktop (1100px and below) --- */
@media (max-width: 1100px) {
  .offer-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}

/* --- Tablet Landscape (900px and below) --- */
@media (max-width: 900px) {
  .two-col          { grid-template-columns: 1fr; gap: 40px; }
  .section          { padding: 72px 0; }
  .section-title h2 { font-size: 2rem; }
  .service-hero h1  { font-size: 2.6rem; }
}

/* --- iPad / Tablet Portrait (820px and below) --- */
@media (max-width: 820px) {

  /* Hero — always vertically centred */
  .service-hero {
    min-height: calc(100vh - 72px);
    align-items: center;
  }

  .service-hero .container {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .service-hero h1  { font-size: 2.5rem; }
  .hero-desc        { font-size: 1.08rem; line-height: 1.82; max-width: 88%; }
  .hero-icon        { font-size: 3.8rem; }

  /* Nav */
  .nav-list   { gap: 18px; }
  .nav-list a { font-size: 0.9rem; }

  /* Section titles */
  .section-title h2 { font-size: 1.85rem; }
  .section-title p  { font-size: 1rem; }

  /* Cards — 2-column */
  .offer-grid     { grid-template-columns: repeat(2, 1fr); }
  .offer-card p   { font-size: 0.95rem; line-height: 1.75; }

  /* Process steps — 2-column */
  .process-steps  { grid-template-columns: repeat(2, 1fr); }

  /* Pillars — 3-column */
  .pillars        { grid-template-columns: repeat(3, 1fr); }

  /* Timeline */
  .tl-num         { width: 52px; height: 52px; font-size: 1.2rem; }
  .tl-content     { padding: 22px; }
  .tl-content p   { font-size: 0.93rem; }

  /* Two-col */
  .col-text h2    { font-size: 1.7rem; }

  /* CTA */
  .cta-section h2 { font-size: 1.9rem; }
  .cta-section p  { font-size: 1rem; }
}

/* --- Mobile Large (600px and below) --- */
@media (max-width: 600px) {

  /* Nav hidden */
  .nav-list { display: none; }

  /* Hero */
  .service-hero h1  { font-size: 2rem; }
  .hero-desc        { font-size: 1rem; line-height: 1.78; max-width: 100%; }
  .hero-icon        { font-size: 3.2rem; }

  /* Grids go single column */
  .offer-grid,
  .process-steps  { grid-template-columns: 1fr; }

  /* Pillars — 2-column */
  .pillars        { grid-template-columns: repeat(2, 1fr); }

  /* Timeline stacks */
  .tl-item        { grid-template-columns: 48px 1fr; gap: 16px; }
  .tl-num         { width: 44px; height: 44px; font-size: 1rem; }

  /* Section */
  .section          { padding: 56px 0; }
  .section-title    { margin-bottom: 38px; }
  .section-title h2 { font-size: 1.7rem; }
  .section-title p  { font-size: 0.97rem; }

  /* CTA */
  .cta-section h2 { font-size: 1.75rem; }
  .cta-section p  { font-size: 0.97rem; }

  /* Buttons stack */
  .btn-outline {
    margin-left: 0;
    margin-top: 12px;
    display: block;
  }
}

/* --- Mobile Small (400px and below) --- */
@media (max-width: 400px) {
  .service-hero h1  { font-size: 1.75rem; }
  .hero-desc        { font-size: 0.95rem; }
  .section-title h2 { font-size: 1.5rem; }
  .logo             { height: 38px; }
  .offer-card       { padding: 28px 20px; }
  .pillars          { grid-template-columns: 1fr 1fr; }
  .tl-item          { grid-template-columns: 1fr; }
  .tl-num           { margin: 0 auto 12px; }
}