/* ============================================================
   ETOUCH SOLUTIONS — web-services.css
   Page-specific layer for web-services.html only.
   Loaded AFTER css/style.css. Most of this page is built from
   shared components (see style.css §19, §21, §22): the numbered
   service cards, the process rail, the partner bar, the accent
   badge, gradient text, review cards and the dark CTA panel.
   Only what is genuinely new to this page lives below.

   W1 Tokens · W2 Breadcrumb · W3 Hero · W4 Process panel
   W5 Technologies · W6 Recent projects · W7 Why choose us
   W8 Testimonial row · W9 Responsive
============================================================ */

/* ------------------------------------------------------------
   W1 · PAGE TOKENS
------------------------------------------------------------ */
:root {
  --ws-mist: #F5FFF7;
}

/* ------------------------------------------------------------
   W2 · BREADCRUMB
------------------------------------------------------------ */
.ws-crumb { padding: .9rem 0 .2rem; }
.ws-crumb .breadcrumb { margin-bottom: 0; font-size: .74rem; font-weight: 500; }
.ws-crumb .breadcrumb-item a { color: var(--gray); }
.ws-crumb .breadcrumb-item a:hover { color: var(--green); }
.ws-crumb .breadcrumb-item.active { color: var(--text); font-weight: 600; }

/* ------------------------------------------------------------
   W3 · HERO
------------------------------------------------------------ */
.ws-hero {
  position: relative;
  background: linear-gradient(160deg, #FFFFFF 0%, var(--ws-mist) 45%, #E9F9EF 100%);
  padding: 20px 0 52px;
  overflow: hidden;
}

/* Quarter disc behind the laptop, as in the reference */
.ws-arc {
  position: absolute;
  top: -170px; left: 52%;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: linear-gradient(150deg, #0AAE60 0%, #046B3B 100%);
  opacity: .9;
  pointer-events: none;
}

.ws-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.22;
  font-weight: 800;
  color: #0E1B14;
  margin-bottom: .6rem;
}
.ws-rule { width: 120px; height: 4px; border-radius: 2px; background: var(--yellow); margin-bottom: 1.1rem; }
.ws-lead { font-size: .84rem; color: var(--gray); line-height: 1.9; max-width: 410px; margin-bottom: 1.6rem; }

/* Feature icons — square tile above a two-line label */
.ws-facts { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-bottom: 1.8rem; }
.ws-facts li { text-align: center; width: 82px; }
.ws-facts .w-ico {
  width: 38px; height: 38px;
  margin: 0 auto .45rem;
  border-radius: 12px;
  border: 1px solid rgba(10, 174, 96, .3);
  background: var(--white);
  color: var(--green-deep-2);
  display: grid; place-items: center;
  font-size: .95rem;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.ws-facts li:hover .w-ico { background: var(--green); color: var(--white); transform: translateY(-4px); }
.ws-facts .w-cap { font-size: .66rem; font-weight: 600; line-height: 1.4; }

/* Laptop + floating performance cards */
.ws-visual { position: relative; }
.ws-laptop { position: relative; z-index: 2; width: 100%; filter: drop-shadow(0 22px 40px rgba(8, 45, 28, .18)); }

.perf-stack {
  position: absolute;
  right: -2%; top: 4%;
  z-index: 4;
  width: 190px;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.perf-card {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: var(--white);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-lg);
  padding: .55rem .7rem;
}
.perf-card .p-ico {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: .9rem;
  flex: 0 0 auto;
  background: var(--green-light);
  color: var(--green-deep-2);
}
.perf-card.is-gold .p-ico { background: rgba(244, 180, 0, .16); color: #C98F00; }
.perf-card .p-cap { font-size: .56rem; color: var(--gray); line-height: 1.4; }
.perf-card .p-val { font-size: .95rem; font-weight: 800; color: #0E1B14; line-height: 1.2; }
.perf-card .p-val small { font-size: .58rem; font-weight: 600; color: var(--gray); }
.perf-card .p-note { font-size: .54rem; color: var(--green); font-weight: 600; }

/* Score ring drawn by web-services.js */
.perf-ring { transform: rotate(-90deg); transform-origin: center; }

.ws-doodle { position: absolute; left: 2%; top: 12%; z-index: 3; color: var(--green); opacity: .55; }

.ws-dots {
  position: absolute; right: 1%; top: 4%;
  display: grid; grid-template-columns: repeat(4, 5px); gap: 7px;
}
.ws-dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(10, 122, 67, .3); display: block; }

/* ------------------------------------------------------------
   W4 · PROCESS PANEL
   The rail itself is the shared .step-rail (style.css §21.3);
   only this light surface is page-specific.
------------------------------------------------------------ */
.ws-panel {
  background: linear-gradient(120deg, var(--ws-mist) 0%, #ECF9F1 100%);
  border: 1px solid rgba(10, 174, 96, .12);
  border-radius: var(--r-lg);
  padding: 1.9rem 1.6rem 1.4rem;
}

/* ------------------------------------------------------------
   W5 · TECHNOLOGIES
------------------------------------------------------------ */
.ws-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem 1.4rem;
  height: 100%;
}
.ws-eyebrow {
  font-size: .64rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--green-deep-2);
  margin-bottom: .4rem;
}
.ws-subtitle { font-size: clamp(1.05rem, 2.2vw, 1.35rem); line-height: 1.35; margin-bottom: 1.2rem; }

.tech-pill {
  display: flex; align-items: center; gap: .45rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50rem;
  padding: .32rem .7rem .32rem .35rem;
  font-size: .68rem; font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.tech-pill:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(10, 174, 96, .3); }
.tech-ico {
  width: 24px; height: 24px;
  border-radius: 7px;
  display: grid; place-items: center;
  font-size: .72rem;
  color: var(--white);
  flex: 0 0 auto;
}
.tech-ico.t-html { background: #E44D26; }
.tech-ico.t-css  { background: #2965F1; }
.tech-ico.t-js   { background: #F0DB4F; color: #2B2B2B; }
.tech-ico.t-php  { background: #777BB3; }
.tech-ico.t-wp   { background: #21759B; }
.tech-ico.t-lar  { background: #FF2D20; }
.tech-ico.t-react{ background: #61DAFB; color: #0B2A3A; }
.tech-ico.t-node { background: #539E43; }
.tech-ico.t-sql  { background: #00758F; }
.tech-ico.t-mongo{ background: #13AA52; }
.tech-ico.t-bs   { background: #7952B3; }
.tech-ico.t-tw   { background: #38BDF8; color: #0B2A3A; }

/* Staggered arrival, driven by web-services.js */
.tech-pill { opacity: 0; transform: translateY(12px); transition: opacity .45s var(--ease), transform .45s var(--ease), box-shadow .3s var(--ease); }
.tech-pill.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------
   W6 · RECENT PROJECTS
------------------------------------------------------------ */
.proj-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.proj-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.proj-media { overflow: hidden; aspect-ratio: 3 / 2; }
.proj-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.proj-card:hover .proj-media img { transform: scale(1.08); }
.proj-body { padding: .8rem .85rem 1rem; }
.proj-name { font-size: .82rem; margin-bottom: .1rem; }
.proj-cat  { font-size: .66rem; color: var(--gray); margin-bottom: .7rem; }

/* ------------------------------------------------------------
   W7 · WHY CHOOSE US
------------------------------------------------------------ */
.ws-why {
  background: linear-gradient(150deg, #0F4028 0%, #062B18 60%, #0A3520 100%);
  border-radius: var(--r-lg);
  padding: 1.6rem 1.5rem;
  color: var(--white);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.ws-why::after {
  content: "";
  position: absolute; right: -60px; top: -70px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 174, 96, .3), transparent 70%);
}
.ws-why-eyebrow {
  font-size: .6rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: .5rem;
}
.ws-why-title {
  font-size: clamp(1.15rem, 2.3vw, 1.45rem);
  line-height: 1.35;
  color: var(--white);
  margin-bottom: 1.3rem;
  position: relative; z-index: 1;
}

.why-stat { text-align: center; position: relative; z-index: 1; }
.why-stat .s-ico {
  width: 42px; height: 42px;
  margin: 0 auto .5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(244, 180, 0, .4);
  color: var(--yellow);
  display: grid; place-items: center;
  font-size: 1rem;
  transition: transform .35s var(--ease), background-color .35s var(--ease), color .35s var(--ease);
}
.why-stat:hover .s-ico { background: var(--yellow); color: var(--green-deep-2); transform: translateY(-4px); }
.why-stat .s-num { font-size: 1.05rem; font-weight: 800; color: var(--white); line-height: 1.2; }
.why-stat .s-cap { font-size: .58rem; color: rgba(255, 255, 255, .6); line-height: 1.4; }

/* ------------------------------------------------------------
   W8 · TESTIMONIAL ROW
   Cards are the shared .review-card (style.css §12); only the
   arrow placement differs — top right rather than side-centred.
------------------------------------------------------------ */
.slider-top { padding-top: 2.6rem; }
.slider-top .slider-prev,
.slider-top .slider-next { top: 0; transform: none; }
.slider-top .slider-prev { left: auto; right: 46px; }
.slider-top .slider-next { right: 0; }
.slider-top .slider-prev:hover,
.slider-top .slider-next:hover { transform: scale(1.08); }

/* ------------------------------------------------------------
   W9 · RESPONSIVE
------------------------------------------------------------ */
@media (max-width: 1399.98px) {
  .perf-stack { width: 168px; }
  .perf-card .p-val { font-size: .86rem; }
}

@media (max-width: 1199.98px) {
  .perf-stack { width: 150px; right: -4%; }
  .perf-card { padding: .45rem .55rem; gap: .45rem; }
  .perf-card .p-ico { width: 28px; height: 28px; font-size: .78rem; }
  .perf-card .p-cap { font-size: .5rem; }
}

@media (max-width: 991.98px) {
  .ws-hero { text-align: center; }
  .ws-lead { margin-left: auto; margin-right: auto; }
  .ws-rule { margin-left: auto; margin-right: auto; }
  .ws-facts { justify-content: center; }
  .ws-visual { margin-top: 2.5rem; }
  .ws-arc { left: 30%; top: -140px; }
  .ws-doodle { display: none; }
  .perf-stack { position: static; width: 100%; flex-direction: row; flex-wrap: wrap; justify-content: center; margin-top: 1rem; }
  .perf-card { flex: 1 1 46%; }

  .partner-bar .p-label { text-align: center; margin-bottom: .8rem; }

  .ws-card { text-align: center; }
  .ws-card .tech-grid { justify-content: center; }
  .ws-why { text-align: center; }

  .slider-top { padding-top: 0; }
  .slider-top .slider-prev { left: -6px; right: auto; top: 50%; transform: translateY(-50%); }
  .slider-top .slider-next { right: -6px; top: 50%; transform: translateY(-50%); }
  .slider-top .slider-prev:hover, .slider-top .slider-next:hover { transform: translateY(-50%) scale(1.08); }
}

@media (max-width: 767.98px) {
  .ws-title { font-size: 1.8rem; }
  .ws-hero .btn { width: 100%; justify-content: center; }
  .ws-facts { gap: 1rem; }
  .ws-panel { padding: 1.4rem 1rem 1rem; }
  .perf-card { flex: 1 1 100%; }
}

@media (max-width: 575.98px) {
  .ws-arc { width: 240px; height: 240px; left: 24%; }
  .ws-card, .ws-why { padding: 1.2rem 1rem; }
  .ws-dots { display: none; }
}
