/* =========================================================
   ETNO MEDIA SERVICES — SERVICES PAGE
   ========================================================= */

:root {
  --services-ink: #111827;
  --services-text: #5f6878;
  --services-line: #e8ebf1;
  --services-bg: #fbfcfe;
  --services-card: rgba(255, 255, 255, 0.94);

  --green: #109f88;
  --green-soft: #e9f8f4;

  --violet: #9f4be2;
  --violet-soft: #f5ebff;

  --blue: #3978e9;
  --blue-soft: #edf4ff;

  --orange: #dda12d;
  --orange-soft: #fff5df;

  --shadow-soft: 0 14px 42px rgba(18, 27, 45, 0.07);
  --shadow-card: 0 10px 28px rgba(18, 27, 45, 0.055);
}

* {
  box-sizing: border-box;
}

body {
  background:
    radial-gradient(circle at 15% 85%, rgba(32, 197, 174, 0.055), transparent 30%),
    radial-gradient(circle at 87% 88%, rgba(159, 75, 226, 0.045), transparent 27%),
    var(--services-bg);
  color: var(--services-ink);
}

.services-page {
  overflow: hidden;
}

.services-page .section {
  padding-top: 20px;
  padding-bottom: 20px;
}

/* ---------- Hero ---------- */

.services-hero {
  padding: 52px 0 16px;
}

.services-hero__inner {
  max-width: 860px;
  text-align: center;
}

.section-kicker {
  margin-bottom: 13px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.services-hero h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.services-hero h1 span {
  display: block;
}

.services-hero__lead {
  max-width: 650px;
  margin: 18px auto 0;
  color: var(--services-text);
  font-size: 17px;
  line-height: 1.6;
}

.service-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 17px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55);
}

.service-tag--green {
  color: var(--green);
  background: var(--green-soft);
}

.service-tag--violet {
  color: var(--violet);
  background: var(--violet-soft);
}

.service-tag--blue {
  color: var(--blue);
  background: var(--blue-soft);
}

/* ---------- Service cards ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 10px;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 435px;
  padding: 30px 28px 25px;
  border: 1px solid var(--services-line);
  border-radius: 16px;
  background: var(--services-card);
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.service-icon,
.why-icon,
.process-icon {
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
}

.service-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
}

.service-icon svg,
.why-icon svg,
.process-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.service-card > p {
  margin: 13px 0 18px;
  color: var(--services-text);
  font-size: 15px;
  line-height: 1.6;
}

.service-list {
  display: grid;
  gap: 11px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 24px;
  color: #273142;
  font-size: 14px;
  line-height: 1.45;
}

.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.08em;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  color: white;
  font-size: 10px;
  font-weight: 900;
  line-height: 15px;
  text-align: center;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.service-link span {
  transition: transform .2s ease;
}

.service-link:hover span {
  transform: translateX(4px);
}

.service-card--green .service-icon {
  color: var(--green);
  background: var(--green-soft);
}

.service-card--green .service-list li::before {
  background: var(--green);
}

.service-card--green .service-link {
  color: var(--green);
}

.service-card--violet .service-icon {
  color: var(--violet);
  background: var(--violet-soft);
}

.service-card--violet .service-list li::before {
  background: var(--violet);
}

.service-card--violet .service-link {
  color: var(--violet);
}

.service-card--blue .service-icon {
  color: var(--blue);
  background: var(--blue-soft);
}

.service-card--blue .service-list li::before {
  background: var(--blue);
}

.service-card--blue .service-link {
  color: var(--blue);
}

/* ---------- Why choose us ---------- */

.why-card {
  padding: 28px 32px 26px;
  border: 1px solid var(--services-line);
  border-radius: 16px;
  background: rgba(255,255,255,.88);
  box-shadow: var(--shadow-card);
}

.why-card > h2 {
  margin: 0 0 26px;
  text-align: center;
  font-size: 27px;
  letter-spacing: -0.025em;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.why-item {
  position: relative;
  padding: 0 27px;
  text-align: center;
}

.why-item + .why-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--services-line);
}

.why-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 13px;
}

.why-item h3 {
  margin: 0;
  font-size: 17px;
}

.why-item p {
  margin: 9px 0 0;
  color: var(--services-text);
  font-size: 13px;
  line-height: 1.55;
}

.why-item--green .why-icon {
  color: var(--green);
  background: var(--green-soft);
}

.why-item--violet .why-icon {
  color: var(--violet);
  background: var(--violet-soft);
}

.why-item--blue .why-icon {
  color: var(--blue);
  background: var(--blue-soft);
}

.why-item--orange .why-icon {
  color: var(--orange);
  background: var(--orange-soft);
}

/* ---------- Process ---------- */

.process-section {
  padding-top: 30px !important;
}

.process-title {
  margin: 0 0 28px;
  text-align: center;
  font-size: 28px;
  letter-spacing: -0.025em;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.process-step {
  position: relative;
  text-align: center;
}

.process-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 24px;
  right: -15px;
  color: #a9b0bd;
  font-size: 26px;
  font-weight: 300;
}

.process-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 13px;
}

.process-step h3 {
  margin: 0;
  font-size: 15px;
}

.process-step p {
  margin: 8px 0 0;
  color: var(--services-text);
  font-size: 12px;
  line-height: 1.55;
}

.process-step--green .process-icon {
  color: var(--green);
  background: var(--green-soft);
}

.process-step--violet .process-icon {
  color: var(--violet);
  background: var(--violet-soft);
}

.process-step--blue .process-icon {
  color: var(--blue);
  background: var(--blue-soft);
}

.process-step--orange .process-icon {
  color: var(--orange);
  background: var(--orange-soft);
}

/* ---------- CTA ---------- */

.services-cta {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  min-height: 270px;
  overflow: hidden;
  border: 1px solid rgba(213, 220, 234, .9);
  border-radius: 17px;
  background:
    linear-gradient(120deg, rgba(228, 253, 248, .95) 0%, rgba(247, 249, 255, .95) 47%, rgba(245, 233, 255, .96) 100%);
  box-shadow: var(--shadow-card);
}

.services-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 85%, rgba(38, 190, 168, .16), transparent 27%),
    radial-gradient(circle at 85% 45%, rgba(135, 77, 230, .12), transparent 34%);
  pointer-events: none;
}

.services-cta__content {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 40px 0 40px 44px;
}

.services-cta__content h2 {
  max-width: 430px;
  margin: 0;
  font-size: clamp(31px, 3.4vw, 47px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.services-cta__content p {
  max-width: 470px;
  margin: 17px 0 24px;
  color: var(--services-text);
  font-size: 15px;
  line-height: 1.6;
}

.services-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1aa88e, #0f8f79);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 10px 20px rgba(18, 153, 128, .2);
  transition: transform .2s ease, box-shadow .2s ease;
}

.services-cta__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(18, 153, 128, .25);
}

.services-cta__visual {
  position: relative;
  min-height: 270px;
}

.laptop {
  position: absolute;
  left: 10%;
  bottom: 26px;
  width: 280px;
  height: 170px;
}

.laptop-screen {
  position: absolute;
  inset: 0 18px 18px;
  padding: 16px;
  border: 7px solid #222832;
  border-bottom-width: 12px;
  border-radius: 11px 11px 5px 5px;
  background: #f9fbff;
  box-shadow: 0 18px 30px rgba(20, 27, 44, .18);
}

.dashboard-bar {
  width: 58%;
  height: 11px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: linear-gradient(90deg, #1fb69d, #6174e8);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 8px;
}

.dashboard-grid span,
.dashboard-row span {
  display: block;
  border-radius: 8px;
  background: linear-gradient(135deg, #dce8ff, #b9cbff);
}

.dashboard-grid span {
  height: 58px;
}

.dashboard-grid span:nth-child(2) {
  background: linear-gradient(135deg, #ebddff, #c5b1ff);
}

.dashboard-grid span:nth-child(3) {
  background: linear-gradient(135deg, #d9f8f1, #99e3d4);
}

.dashboard-row {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 8px;
  margin-top: 8px;
}

.dashboard-row span {
  height: 24px;
}

.laptop-base {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 17px;
  border-radius: 3px 3px 12px 12px;
  background: linear-gradient(#cad0da, #8f97a3);
  box-shadow: 0 5px 10px rgba(20, 27, 44, .15);
}

.phone {
  position: absolute;
  right: 18%;
  bottom: 23px;
  width: 82px;
  height: 150px;
  padding: 7px;
  border-radius: 16px;
  background: #202633;
  box-shadow: 0 18px 28px rgba(20, 27, 44, .2);
}

.phone-screen {
  display: grid;
  gap: 8px;
  height: 100%;
  padding: 16px 8px;
  border-radius: 11px;
  background: #f8faff;
}

.phone-screen span {
  display: block;
  border-radius: 8px;
  background: linear-gradient(135deg, #dce8ff, #c1cfff);
}

.phone-screen span:nth-child(2) {
  background: linear-gradient(135deg, #dff8f3, #a7e5d8);
}

.phone-screen span:nth-child(3) {
  background: linear-gradient(135deg, #eedfff, #cab8ff);
}

.plant {
  position: absolute;
  right: 3%;
  bottom: 22px;
  width: 82px;
  height: 120px;
}

.leaf {
  position: absolute;
  bottom: 34px;
  width: 26px;
  height: 58px;
  border-radius: 80% 10% 80% 10%;
  background: linear-gradient(180deg, #7dd6ad, #299c73);
  transform-origin: bottom center;
}

.leaf--1 {
  left: 25px;
  transform: rotate(-18deg);
}

.leaf--2 {
  left: 39px;
  transform: rotate(18deg) scale(.9);
}

.leaf--3 {
  left: 10px;
  transform: rotate(-42deg) scale(.75);
}

.pot {
  position: absolute;
  left: 20px;
  bottom: 0;
  width: 48px;
  height: 40px;
  border-radius: 4px 4px 14px 14px;
  background: linear-gradient(#ffffff, #dbe2eb);
  box-shadow: 0 8px 16px rgba(20, 27, 44, .12);
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .services-grid {
    gap: 16px;
  }

  .service-card {
    padding: 26px 22px 22px;
  }

  .why-item {
    padding: 0 18px;
  }

  .process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 34px;
  }

  .process-step:nth-child(3)::after {
    display: none;
  }

  .laptop {
    left: 1%;
    transform: scale(.92);
    transform-origin: bottom left;
  }

  .phone {
    right: 13%;
  }

  .plant {
    right: 0;
  }
}

@media (max-width: 900px) {
  .services-hero {
    padding-top: 40px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 0;
  }

  .why-item:nth-child(3)::before {
    display: none;
  }

  .services-cta {
    grid-template-columns: 1fr;
  }

  .services-cta__content {
    padding: 38px 34px 10px;
    text-align: center;
  }

  .services-cta__content h2,
  .services-cta__content p {
    margin-left: auto;
    margin-right: auto;
  }

  .services-cta__visual {
    min-height: 240px;
  }

  .laptop {
    left: 50%;
    transform: translateX(-60%) scale(.9);
    transform-origin: bottom center;
  }

  .phone {
    right: 20%;
  }

  .plant {
    right: 8%;
  }
}

@media (max-width: 680px) {
  .services-page .section {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .services-hero {
    padding: 34px 0 10px;
  }

  .services-hero h1 {
    font-size: 38px;
  }

  .services-hero__lead {
    font-size: 15px;
  }

  .service-tags {
    gap: 8px;
  }

  .service-tag {
    min-height: 31px;
    padding: 6px 12px;
    font-size: 12px;
  }

  .service-card {
    padding: 24px 20px 22px;
    border-radius: 14px;
  }

  .service-card h2 {
    font-size: 22px;
  }

  .why-card {
    padding: 24px 18px;
  }

  .why-card > h2,
  .process-title {
    font-size: 24px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .why-item {
    padding: 0 6px;
  }

  .why-item + .why-item::before {
    display: none;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .process-step {
    display: grid;
    grid-template-columns: 58px 1fr;
    column-gap: 16px;
    text-align: left;
  }

  .process-step::after {
    display: none !important;
  }

  .process-icon {
    grid-row: 1 / span 2;
    margin: 0;
  }

  .process-step h3 {
    align-self: end;
    font-size: 16px;
  }

  .process-step p {
    margin-top: 5px;
    font-size: 13px;
  }

  .services-cta__content {
    padding: 32px 20px 8px;
  }

  .services-cta__content h2 {
    font-size: 32px;
  }

  .services-cta__visual {
    min-height: 220px;
    transform: scale(.9);
    transform-origin: top center;
  }

  .laptop {
    left: 50%;
    transform: translateX(-62%) scale(.75);
  }

  .phone {
    right: 11%;
    transform: scale(.85);
    transform-origin: bottom right;
  }

  .plant {
    display: none;
  }
}

@media (max-width: 420px) {
  .services-hero h1 {
    font-size: 33px;
  }

  .service-card > p,
  .service-list li {
    font-size: 14px;
  }

  .services-cta__visual {
    min-height: 190px;
  }

  .laptop {
    left: 47%;
    transform: translateX(-64%) scale(.66);
  }

  .phone {
    right: 4%;
    transform: scale(.72);
  }
}
