/* CORNET STUDIO — service pages (simple, matches landing page) */

.srv-body {
  background: #0f0e10;
  min-height: 100vh;
}

.srv-main {
  padding-top: 5.5rem;
}

.srv-back {
  display: inline-flex;
  margin-bottom: 2rem;
  color: rgba(154, 168, 184, 0.55);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.srv-back:hover {
  color: #4eb8cc;
}

/* ── Hero split ─────────────────────────────────────────── */

.srv-hero {
  padding: 2rem 0 4rem;
}

.srv-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.srv-hero-copy .heading-style-h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.srv-hero-copy .section-intro {
  margin: 0 0 1.75rem;
  text-align: left;
  max-width: none;
}

.srv-hero-copy .hero-actions {
  justify-content: flex-start;
  animation: none;
}

.srv-hero-copy .hero-actions .hero-btn-primary,
.srv-hero-copy .hero-actions .hero-btn-secondary {
  min-width: auto;
}

.srv-hero-visual {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #161418;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.srv-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.srv-hero-visual--phones {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0.75rem;
  padding: 1.5rem 1rem 0;
  background: linear-gradient(180deg, #161418 0%, #0f0e10 100%);
  min-height: 18rem;
}

.srv-hero-visual--phones img {
  width: auto;
  max-height: 16rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5);
}

.srv-hero-visual--phones img:nth-child(2) {
  max-height: 18rem;
  z-index: 2;
}

/* ── Content blocks ─────────────────────────────────────── */

.srv-block {
  padding: 3.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.srv-block-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.srv-block-inner--single {
  grid-template-columns: 1fr;
  max-width: 40rem;
}

.srv-block .heading-style-h2 {
  margin: 0 0 0.75rem;
}

.srv-block .section-intro {
  text-align: left;
  max-width: none;
  margin: 0 0 1.5rem;
}

.srv-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.srv-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.55rem 0;
  color: rgba(200, 215, 230, 0.82);
  font-size: 0.9375rem;
  line-height: 1.5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.srv-list.benefit-mini-list li {
  border-bottom: none;
  padding: 0.4rem 0;
}

.srv-list li:last-child {
  border-bottom: none;
}

/* ── What we build grid ─────────────────────────────────── */

.srv-projects-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.srv-projects-head .title-section {
  max-width: 36rem;
  margin: 0 auto;
}

.srv-projects-head .section-intro {
  text-align: center;
  margin: 0 auto;
}

.srv-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.srv-project {
  padding: 1.35rem 1.5rem;
  border-radius: 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.srv-project:hover {
  border-color: rgba(78, 184, 204, 0.22);
  background: rgba(78, 184, 204, 0.04);
}

.srv-project h3 {
  margin: 0 0 0.4rem;
  color: #eef2f6;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
}

.srv-project p {
  margin: 0;
  color: rgba(163, 176, 194, 0.85);
  font-size: 0.8125rem;
  font-weight: 300;
  line-height: 1.55;
}

html[dir="rtl"] .srv-projects-head .section-intro {
  text-align: center;
}

html[dir="rtl"] .srv-project {
  text-align: right;
}

/* Simple two-col for automation */
.srv-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.srv-compare-col {
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
}

.srv-compare-col h3 {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(154, 168, 184, 0.7);
}

.srv-compare-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.srv-compare-col li {
  font-size: 0.875rem;
  color: rgba(200, 215, 230, 0.75);
  line-height: 1.55;
  padding: 0.35rem 0;
}

/* Other services row */
.srv-siblings {
  padding: 2rem 0 3rem;
  text-align: center;
}

.srv-siblings-label {
  margin: 0 0 0.75rem;
  color: rgba(154, 168, 184, 0.45);
  font-size: 0.8125rem;
}

.srv-siblings-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.srv-siblings-links a {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(180, 200, 220, 0.65);
  font-size: 0.875rem;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.srv-siblings-links a:hover {
  border-color: rgba(78, 184, 204, 0.3);
  color: #4eb8cc;
}

/* ── RTL ─────────────────────────────────────────────────── */

html[dir="rtl"] .srv-hero-copy .section-intro,
html[dir="rtl"] .srv-block .section-intro {
  text-align: right;
}

html[dir="rtl"] .srv-hero-copy .hero-actions {
  justify-content: flex-start;
}

html[dir="rtl"] .srv-list li {
  flex-direction: row-reverse;
  text-align: right;
}

html[dir="rtl"] .srv-back {
  direction: rtl;
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 900px) {
  .srv-hero-grid,
  .srv-block-inner,
  .srv-compare {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .srv-projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .srv-hero-visual {
    order: -1;
  }

  .srv-hero-copy .hero-actions {
    justify-content: center;
  }

  .srv-hero-copy .section-intro {
    text-align: center;
  }

  html[dir="rtl"] .srv-hero-copy .section-intro {
    text-align: center;
  }
}

@media (max-width: 767px) {
  .srv-main {
    padding-top: 5rem;
  }

  .srv-hero-visual--phones img {
    max-height: 12rem;
  }

  .srv-hero-visual--phones img:nth-child(2) {
    max-height: 14rem;
  }

  .srv-projects-grid {
    grid-template-columns: 1fr;
  }
}
