/* ============================================================
   ETOUCH SOLUTIONS — services.css
   Page-specific layer for services.html only.
   Loaded AFTER css/style.css and built entirely from the tokens
   declared in style.css section 01. Nothing here overrides a
   shared component; every selector is new to this page.

   S1 Tokens · S2 Hero · S3 Core services · S4 Process
   S5 Statistics · S6 Why choose us · S7 Complete solutions
   S8 Final CTA · S9 Responsive
============================================================ */

/* ------------------------------------------------------------
   S1 · PAGE TOKENS
------------------------------------------------------------ */
:root {
  --svc-mist:  #F5FFF7;                                  /* page light green   */
  --svc-ink:   #071A11;                                  /* hero base          */
  --svc-grad:  linear-gradient(120deg, #0C2B1C 0%, #061710 55%, #0A2417 100%);
}

/* ------------------------------------------------------------
   S2 · HERO
------------------------------------------------------------ */
.svc-hero {
  position: relative;
  background: var(--svc-grad);
  padding: 52px 0 60px;
  overflow: hidden;
}
.svc-hero::before {
  content: "";
  position: absolute;
  left: -140px; top: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 174, 96, .22), transparent 70%);
}

.svc-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border: 1px solid rgba(244, 180, 0, .55);
  background: rgba(244, 180, 0, .08);
  color: var(--yellow);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .38rem .9rem;
  border-radius: 50rem;
  margin-bottom: 1.1rem;
}

.svc-title {
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  line-height: 1.24;
  font-weight: 800;
  color: var(--white);
  margin-bottom: .9rem;
}
.svc-title .t-gold { color: var(--yellow); }

.svc-lead {
  color: rgba(255, 255, 255, .68);
  font-size: .84rem;
  line-height: 1.85;
  max-width: 420px;
  margin-bottom: 1.5rem;
}

/* Four proof points */
.svc-facts { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; margin-bottom: 1.7rem; }
.svc-facts li {
  display: flex; align-items: center; gap: .5rem;
  font-size: .7rem; font-weight: 600; line-height: 1.4;
  color: rgba(255, 255, 255, .92);
  max-width: 132px;
}
.svc-facts .f-ico {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(244, 180, 0, .5);
  color: var(--yellow);
  display: grid; place-items: center;
  font-size: .72rem;
  transition: transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.svc-facts li:hover .f-ico { background: var(--yellow); color: var(--svc-ink); transform: translateY(-3px); }

/* Hero buttons */
/* .btn-gold now lives in style.css section 20 — shared with the
   Digital Marketing page rather than duplicated per page. */

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .35);
  padding: .5rem .5rem .5rem 1.4rem;
}
.btn-outline-light:hover { color: var(--white); background: rgba(255, 255, 255, .08); transform: translateY(-3px); }
.btn-outline-light .btn-arrow { background: rgba(255, 255, 255, .14); color: var(--white); }

/* Hero visual */
.svc-visual { position: relative; padding: 26px 8px 30px; }
.svc-visual::before {
  content: "";
  position: absolute; inset: 6% 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 174, 96, .45), rgba(10, 174, 96, .06) 62%, transparent 70%);
  filter: blur(24px);
}
.svc-ring {
  position: absolute; inset: 0;
  border: 2px dashed rgba(244, 180, 0, .45);
  border-radius: 50%;
  animation: svc-spin 46s linear infinite;
  pointer-events: none;
}
@keyframes svc-spin { to { transform: rotate(360deg); } }

.svc-shot {
  position: relative;
  z-index: 2;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin: 0 auto;
  max-width: 76%;
}
.svc-shot img { width: 100%; display: block; transition: transform .7s var(--ease); }
.svc-shot:hover img { transform: scale(1.05); }

/* Floating stat cards */
.stat-float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: .55rem;
  background: var(--white);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-lg);
  padding: .6rem .8rem;
  min-width: 132px;
}
.stat-float .sf-ico {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: .9rem;
  background: var(--green-light);
  color: var(--green-deep-2);
}
.stat-float.is-gold .sf-ico { background: rgba(244, 180, 0, .16); color: #C98F00; }
.stat-float .sf-num { font-size: 1.05rem; font-weight: 800; line-height: 1.1; color: #0E1B14; }
.stat-float .sf-cap { font-size: .6rem; color: var(--gray); line-height: 1.35; }

.sf-1 { top: 4%;  left: 2%; }
.sf-2 { top: 16%; right: 0; }
.sf-3 { bottom: 18%; left: 0; }
.sf-4 { bottom: 4%;  right: 3%; }

/* ------------------------------------------------------------
   S3 · CORE SERVICES
------------------------------------------------------------ */
.svc-core { background: var(--svc-mist); }

.script-green {
  font-family: 'Caveat', 'Poppins', cursive;
  font-style: italic;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--green-deep-2);
  display: block;
  margin-bottom: .3rem;
}
.core-title { font-size: clamp(1.6rem, 3vw, 2.15rem); line-height: 1.25; margin-bottom: .9rem; }
.core-title span { color: var(--green); display: block; }
.core-rule { width: 74px; height: 4px; border-radius: 2px; background: var(--yellow); margin-bottom: 1.1rem; }
.core-text { font-size: .8rem; color: var(--gray); line-height: 1.9; max-width: 300px; }

.dot-grid { display: grid; grid-template-columns: repeat(3, 5px); gap: 7px; margin-top: 2.2rem; }
.dot-grid i { width: 5px; height: 5px; border-radius: 50%; background: rgba(10, 122, 67, .3); display: block; }

/* Service card — left aligned variant of the home card language */
.svc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.5rem 1.3rem 1.3rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.svc-card:hover {
  transform: translateY(-10px);
  border-color: rgba(10, 174, 96, .3);
  box-shadow: 0 24px 44px rgba(10, 174, 96, .18);
}
.svc-ico {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.35rem;
  background: var(--green-light);
  color: var(--green);
  margin-bottom: 1rem;
  transition: transform .35s var(--ease), background-color .35s var(--ease), color .35s var(--ease);
}
.svc-card:hover .svc-ico { transform: rotate(-8deg) scale(1.06); background: var(--green); color: var(--white); }
.svc-ico.is-gold { background: rgba(244, 180, 0, .14); color: #D19A00; }
.svc-card:hover .svc-ico.is-gold { background: var(--yellow); color: var(--svc-ink); }

.svc-card h3 { font-size: .98rem; margin-bottom: .55rem; }
.svc-card p  { font-size: .76rem; color: var(--gray); line-height: 1.85; margin-bottom: 1.1rem; }

.link-gold { color: #C98F00; }
.link-gold:hover { color: var(--yellow); }

/* ------------------------------------------------------------
   S4 · OUR PROCESS
   The rail itself is the shared .step-rail component in style.css
   section 21; only the dark panel around it is page-specific.
------------------------------------------------------------ */
.process-panel {
  background: linear-gradient(120deg, #0C3020 0%, #051A11 60%, #0A2517 100%);
  border-radius: var(--r-lg);
  padding: 1.9rem 2rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.process-panel::after {
  content: "";
  position: absolute; right: -70px; bottom: -90px;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 174, 96, .26), transparent 70%);
}
.process-title { font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin-bottom: .5rem; }
.process-text  { font-size: .78rem; color: rgba(255, 255, 255, .62); line-height: 1.8; margin-bottom: 1.1rem; }
.process-panel .step-rail { position: relative; z-index: 1; }

/* ------------------------------------------------------------
   S5 · STATISTICS
   Reuses .stats-panel / .stat-cell / .stat-icon from style.css.
   This modifier only swaps the surface and alternates icon tint.
------------------------------------------------------------ */
.stats-panel.is-plain {
  background: var(--white);
  border-color: var(--line);
  box-shadow: var(--shadow-md);
}
.stats-panel.is-plain .stat-cell:nth-child(2n) .stat-icon { background: rgba(244, 180, 0, .14); color: #D19A00; }
.stats-panel.is-plain .stat-icon { background: var(--green-light); }

/* ------------------------------------------------------------
   S6 · WHY CHOOSE US
------------------------------------------------------------ */
.why-eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: #C98F00;
  margin-bottom: .7rem;
}
.why-eyebrow i { color: var(--yellow); }

.reason-title { font-size: clamp(1.5rem, 2.8vw, 2rem); line-height: 1.25; margin-bottom: .8rem; }
.reason-title span { color: var(--green); display: block; }
.reason-text { font-size: .8rem; color: var(--gray); line-height: 1.9; max-width: 320px; margin-bottom: 1.3rem; }

.arrow-doodle { color: var(--yellow); display: block; margin-top: 1rem; }

.reason-card {
  border-radius: var(--r-md);
  padding: 1.5rem 1.15rem;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.reason-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.reason-card.is-dark {
  background: linear-gradient(150deg, #0F3A26 0%, #06210F 100%);
  border-color: transparent;
  color: var(--white);
}
.reason-ico {
  width: 44px; height: 44px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 1.1rem;
  background: var(--green-light);
  color: var(--green-deep-2);
  margin-bottom: .9rem;
}
.reason-card.is-dark .reason-ico { background: rgba(255, 255, 255, .1); color: var(--yellow); }
.reason-card h3 { font-size: .9rem; margin-bottom: .5rem; }
.reason-card p  { font-size: .74rem; color: var(--gray); line-height: 1.8; }
.reason-card.is-dark p { color: rgba(255, 255, 255, .68); }

/* Staggered column offsets, as in the reference */
@media (min-width: 992px) {
  .reason-stagger > div:nth-child(odd) { margin-top: -14px; }
  .reason-stagger > div:nth-child(even) { margin-top: 14px; }
}

/* ------------------------------------------------------------
   S7 · COMPLETE SOLUTIONS
------------------------------------------------------------ */
.arrow-heading {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  font-size: clamp(1.3rem, 2.6vw, 1.85rem);
}
.arrow-heading::before,
.arrow-heading::after {
  content: "";
  height: 2px; width: 52px;
  background: var(--yellow);
  border-radius: 2px;
  flex: 0 0 auto;
}
.arrow-heading .t-green { color: var(--green); }

.sol-card {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 3 / 4.1;
  box-shadow: var(--shadow-sm);
  display: block;
  background: var(--svc-ink);
}
.sol-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s var(--ease); }
.sol-card:hover img { transform: scale(1.09); }
.sol-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(3, 20, 12, .1) 30%, rgba(3, 20, 12, .88) 100%);
  transition: background .4s var(--ease);
}
.sol-card:hover::after { background: linear-gradient(180deg, rgba(6, 60, 36, .28) 0%, rgba(3, 20, 12, .92) 100%); }

.sol-badge {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid; place-items: center;
  font-size: .85rem;
  background: var(--green);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.sol-badge.is-gold { background: var(--yellow); color: var(--svc-ink); }

.sol-body { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; z-index: 2; }
.sol-title { font-size: .95rem; color: var(--white); line-height: 1.35; margin-bottom: .7rem; }
.sol-go {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--white);
  color: var(--green-deep-2);
  display: grid; place-items: center;
  font-size: .78rem;
  transition: transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.sol-card:hover .sol-go { background: var(--yellow); color: var(--svc-ink); transform: translateX(4px); }

.sol-dot {
  position: absolute; right: 1rem; bottom: 1.1rem; z-index: 2;
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid var(--green);
  background: rgba(10, 174, 96, .25);
}

/* ------------------------------------------------------------
   S8 · FINAL CTA
   The panel is the shared .cta-dark component (style.css §22.4);
   only the paper-plane doodle is page-specific.
------------------------------------------------------------ */
.plane-doodle { position: absolute; right: 2rem; top: 1.2rem; color: rgba(255, 255, 255, .5); }

/* ------------------------------------------------------------
   S9 · RESPONSIVE
------------------------------------------------------------ */
@media (max-width: 1199.98px) {
  .stat-float { min-width: 116px; padding: .5rem .6rem; }
  .stat-float .sf-num { font-size: .92rem; }
  .svc-shot { max-width: 82%; }
}

@media (max-width: 991.98px) {
  .svc-hero { text-align: center; padding-bottom: 44px; }
  .svc-lead, .core-text, .reason-text { margin-left: auto; margin-right: auto; }
  .svc-facts { justify-content: center; }
  .svc-visual { margin-top: 2rem; }
  .svc-shot { max-width: 74%; }
  .sf-1, .sf-3 { left: 0; }
  .sf-2, .sf-4 { right: 0; }

  .core-rule { margin-left: auto; margin-right: auto; }
  .dot-grid { display: none; }

  .process-panel { text-align: center; padding: 1.6rem 1.2rem; }

  .reason-stagger > div { margin-top: 0; }
  .arrow-doodle { margin-left: auto; margin-right: auto; }

  .plane-doodle { display: none; }
}

@media (max-width: 767.98px) {
  .svc-title { font-size: 1.75rem; }
  .svc-facts li { max-width: 120px; }
  .svc-shot { max-width: 84%; }
  .stat-float { min-width: 100px; }
  .stat-float .sf-ico { width: 26px; height: 26px; font-size: .74rem; }
  .stat-float .sf-cap { font-size: .54rem; }

  .arrow-heading::before, .arrow-heading::after { width: 24px; }
  .svc-hero .btn { width: 100%; justify-content: center; }
  .sol-card { aspect-ratio: 3 / 3.2; }
}

@media (max-width: 575.98px) {
  .svc-hero { padding-top: 34px; }
  .svc-visual { padding: 12px 0; }
  .svc-shot { max-width: 88%; }
  .sf-1, .sf-2 { top: -2%; }
  .sf-3, .sf-4 { bottom: -2%; }
  .stat-float { min-width: 88px; gap: .35rem; }
  .svc-card, .reason-card { padding: 1.2rem 1rem; }
}
