:root {
  --so-navy: #1b365d;
  --so-navy-deep: #12243f;
  --so-red: #c1272d;
  --so-red-dark: #9e1c22;
  --so-ink: #2a2f36;
  --so-muted: #6b7280;
  --so-line: #eceef2;
  --so-soft: #f4f5f7;
  --so-radius: 1.15rem;
  --so-radius-lg: 1.5rem;
  --so-shadow: 0 14px 36px rgba(18, 36, 74, 0.09);
  --so-header-h: 4.35rem;
  --font-sans: "Sora", system-ui, sans-serif;
  --font-script: "Ataturk", cursive;
}

@font-face {
  font-family: "Sora";
  src: url("../fonts/Sora-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sora";
  src: url("../fonts/Sora-ExtraLight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sora";
  src: url("../fonts/Sora-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sora";
  src: url("../fonts/Sora-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sora";
  src: url("../fonts/Sora-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sora";
  src: url("../fonts/Sora-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sora";
  src: url("../fonts/Sora-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sora";
  src: url("../fonts/Sora-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Ataturk";
  src: url("../fonts/ataturk.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--so-ink);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--so-red);
}

.container-so {
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: #fff;
  transition: box-shadow 0.25s ease;
}

.site-header .container,
.hero-content.container {
  max-width: 1200px;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: 4.6rem 5.4rem;
  max-width: 1200px;
  margin-inline: auto;
  animation: heroIn 0.85s ease both;
}

.hero-content > * {
  max-width: 620px;
}

.hero-content h1,
.hero-content .hero-heading {
  max-width: min(48rem, 100%);
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(18, 36, 74, 0.1);
}

.site-header .navbar {
  min-height: var(--so-header-h);
  padding-block: 0.55rem;
}

.brand-logo {
  height: 46px;
  width: auto;
}

.nav-link-so {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #333 !important;
  padding: 0.45rem 0.62rem !important;
  white-space: nowrap;
}

.nav-link-so:hover,
.nav-link-so:focus {
  color: var(--so-red) !important;
}

.lang-btn {
  border: 1px solid #d7dbe3;
  border-radius: 999px;
  padding: 0.32rem 0.8rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #333;
  background: #fff;
}

.lang-btn:hover,
.lang-btn:focus {
  border-color: var(--so-navy);
  color: var(--so-navy);
}

.navbar-toggler {
  border: 0;
  box-shadow: none !important;
  padding: 0.25rem;
}

.navbar-toggler-icon {
  width: 1.35rem;
  height: 1.35rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%231b365d' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* ---------- Buttons ---------- */
.btn-so {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.72rem 1.4rem;
  border: 1.5px solid currentColor;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-so:hover {
  transform: translateX(2px);
}

.btn-so-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.9);
}

.btn-so-light:hover {
  background: #fff;
  color: var(--so-navy);
}

.btn-so-dark {
  color: #3a3f47;
  border-color: #aeb4be;
}

.btn-so-dark:hover {
  border-color: var(--so-navy);
  color: var(--so-navy);
  background: rgba(27, 54, 93, 0.04);
}

.btn-so svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(460px, 72vh, 680px);
  color: #fff;
  overflow: hidden;
  background: #1a1f28;
}

.hero-swiper,
.hero-swiper .swiper-wrapper,
.hero-swiper .swiper-slide {
  height: auto;
  min-height: inherit;
}

.hero-slide {
  position: relative;
  min-height: inherit;
  display: flex;
  align-items: center;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: saturate(0.85) contrast(1.04);
  transform: scale(1.04);
  transform-origin: center center;
  will-change: transform;
}

.hero-swiper .swiper-slide-active .hero-media img {
  animation: kenBurns 7.2s ease-out forwards;
}

.hero-swiper .swiper-slide:nth-child(3n + 2).swiper-slide-active .hero-media img {
  animation-name: kenBurnsAlt;
  transform-origin: 65% 40%;
}

.hero-swiper .swiper-slide:nth-child(3n + 3).swiper-slide-active .hero-media img {
  animation-name: kenBurnsDrift;
  transform-origin: 35% 55%;
}

@keyframes kenBurns {
  from {
    transform: scale(1) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.14) translate3d(-2%, -1.2%, 0);
  }
}

@keyframes kenBurnsAlt {
  from {
    transform: scale(1.12) translate3d(1.5%, -0.5%, 0);
  }
  to {
    transform: scale(1) translate3d(-1%, 1%, 0);
  }
}

@keyframes kenBurnsDrift {
  from {
    transform: scale(1) translate3d(0, 1%, 0);
  }
  to {
    transform: scale(1.12) translate3d(2%, -1.5%, 0);
  }
}

/* Diagonal brand overlays over photo */
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      108deg,
      rgba(12, 14, 18, 0.58) 0%,
      rgba(12, 14, 18, 0.38) 18%,
      rgba(193, 39, 45, 0.42) 18%,
      rgba(193, 39, 45, 0.26) 34%,
      rgba(27, 54, 93, 0.06) 34%,
      rgba(27, 54, 93, 0.42) 52%,
      rgba(27, 54, 93, 0.3) 72%,
      rgba(20, 24, 32, 0.28) 100%
    );
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(8, 10, 14, 0.35) 0%, transparent 48%);
}

.hero-content h1,
.hero-heading {
  font-size: clamp(1.5rem, 3.2vw, 2.55rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.28);
}

.hero-content h1 .hero-line,
.hero-heading .hero-line {
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .hero-content h1 .hero-line,
  .hero-heading .hero-line {
    white-space: normal;
  }
}

.hero-content p {
  font-size: clamp(0.88rem, 1.25vw, 1rem);
  line-height: 1.7;
  opacity: 0.94;
  margin-bottom: 1.65rem;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.22);
}

.hero-controls {
  position: absolute;
  right: max(0.75rem, calc((100% - 1200px) / 2 + 0.75rem));
  bottom: 1.35rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-nav {
  display: inline-flex;
  align-items: center;
  background: rgba(70, 78, 92, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-nav button {
  width: 42px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.hero-nav button:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hero-nav button + button {
  border-left: 0;
}

.hero-nav svg {
  width: 15px;
  height: 15px;
}

.hero-fraction {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

.hero-fraction .current {
  font-weight: 700;
  color: #fff;
}

/* ---------- About ---------- */
.about {
  padding: clamp(3.75rem, 7vw, 6.25rem) 0 clamp(2rem, 4vw, 3rem);
}

.about-media {
  margin: 0;
  padding: 1rem;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 12px 36px rgba(18, 36, 74, 0.12);
}

.about-media picture,
.about-media img {
  display: block;
  width: 100%;
}

.about-media img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 1rem;
}

.about-script {
  font-family: var(--font-script);
  font-size: clamp(1.85rem, 3.6vw, 2.55rem);
  color: #2c2824;
  line-height: 1.15;
  margin-bottom: 0.35rem;
  letter-spacing: 0.01em;
}

.about-title {
  font-size: clamp(1.3rem, 2.3vw, 1.8rem);
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: var(--so-red);
  margin-bottom: 1.2rem;
}

.about-copy p {
  color: #555b66;
  font-size: 0.92rem;
  margin-bottom: 0.95rem;
}

/* ---------- Value cards ---------- */
.values {
  padding: 0 0 clamp(3.25rem, 6vw, 5rem);
}

.value-card {
  height: 100%;
  min-height: 13.5rem;
  background: #fff;
  border: 1px solid #d8dbe2;
  border-radius: var(--so-radius);
  box-shadow: var(--so-shadow);
  padding: 2rem 1.55rem 1.85rem;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.value-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(18, 36, 74, 0.12);
}

.value-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  padding-right: 2.4rem;
}

.value-card p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--so-muted);
  line-height: 1.65;
}

.value-icon {
  position: absolute;
  top: 1.3rem;
  right: 1.25rem;
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

/* ---------- Section heads ---------- */
.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: var(--so-red);
  margin: 0;
}

.section-lead {
  max-width: 50rem;
  color: #555b66;
  font-size: 0.92rem;
  margin-bottom: 1.65rem;
}

.slider-tools {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
  padding-top: 0.3rem;
}

.slider-tools .swiper-pagination {
  position: static;
  width: auto !important;
  display: flex;
  align-items: center;
  gap: 0.38rem;
}

.slider-tools .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  background: #c9ced6;
  opacity: 1;
  border-radius: 999px;
  margin: 0 !important;
  transition: width 0.25s ease, background 0.25s ease;
}

.slider-tools .swiper-pagination-bullet-active {
  width: 22px;
  background: var(--so-red);
}

.slider-arrows {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.slider-arrows button {
  width: auto;
  height: auto;
  padding: 0.2rem;
  border: 0;
  background: transparent;
  color: #8a919c;
  display: grid;
  place-items: center;
  cursor: pointer;
  border-radius: 0;
  line-height: 0;
}

.slider-arrows button:hover {
  color: var(--so-navy);
  background: transparent;
}

.slider-arrows svg {
  display: block;
}

/* ---------- Services accordion ---------- */
.services {
  padding: clamp(2.25rem, 4.5vw, 4rem) 0;
}

.services-accordion {
  display: flex;
  height: clamp(390px, 50vw, 520px);
  border-radius: var(--so-radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--so-shadow);
  background-color: #0f172a;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: background-image 0.35s ease;
}

.services-accordion[data-active="0"] {
  background-image: image-set(
    url("../img/service-01.webp") type("image/webp"),
    url("../img/service-01.jpg") type("image/jpeg")
  );
}

.services-accordion[data-active="1"] {
  background-image: image-set(
    url("../img/service-02.webp") type("image/webp"),
    url("../img/service-02.jpg") type("image/jpeg")
  );
}

.services-accordion[data-active="2"] {
  background-image: image-set(
    url("../img/service-03.webp") type("image/webp"),
    url("../img/service-03.jpg") type("image/jpeg")
  );
}

.services-accordion[data-active="3"] {
  background-image: image-set(
    url("../img/service-04.webp") type("image/webp"),
    url("../img/service-04.jpg") type("image/jpeg")
  );
}

.service-panel {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  color: #fff;
  cursor: pointer;
  overflow: hidden;
  transition: flex 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
}

.service-panel:last-child {
  border-right: 0;
}

.service-panel.is-active {
  flex: 1.55 1 0;
}

.service-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(39, 59, 123, 0.48);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
  pointer-events: none;
}

.service-panel:hover::before,
.service-panel.is-active::before,
.service-panel:focus-visible::before {
  opacity: 1;
}

.service-num {
  position: absolute;
  top: 1.2rem;
  right: 0.95rem;
  z-index: 2;
  font-size: clamp(1.55rem, 2.3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  transform-origin: center;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.service-panel:hover .service-num,
.service-panel.is-active .service-num,
.service-panel:focus-visible .service-num {
  transform: rotate(540deg);
}

.service-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.45rem 1.25rem 1.55rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease 0.05s, transform 0.3s ease 0.05s;
  pointer-events: none;
}

.service-panel.is-active .service-body {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.service-body h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

.service-body p {
  font-size: 0.8rem;
  line-height: 1.55;
  opacity: 0.92;
  margin-bottom: 1rem;
  max-width: 15.5rem;
}

/* ---------- Projects ---------- */
.projects {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3.5rem, 6vw, 5.5rem);
  background: var(--so-soft);
  overflow: hidden;
}

.projects-fluid {
  width: 100%;
  max-width: none;
  padding-inline: clamp(1rem, 3.5vw, 2.75rem);
}

.projects .section-head {
  margin-bottom: 1.35rem;
}

.project-card {
  display: block;
  height: 100%;
}

.project-card figure {
  margin: 0;
}

.project-card .project-thumb {
  overflow: hidden;
  border-radius: var(--so-radius);
  margin-bottom: 0.75rem;
  contain: paint;
}

.project-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.35s ease;
  backface-visibility: hidden;
}

.project-card:hover img {
  transform: scale(1.03);
}

.projects-swiper.swiper-grabbing .project-card img {
  transition: none;
}

.project-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.9rem 0.95rem;
  background: #fff;
  border-radius: 0.55rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--so-ink);
  line-height: 1.35;
  min-height: 3.45rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.project-label svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.project-card:hover .project-label {
  background: var(--so-red);
  color: #fff;
}

.project-card:hover .project-label svg {
  opacity: 1;
  color: #fff;
}

.projects-swiper {
  overflow: hidden;
}

.projects-swiper .swiper-wrapper {
  align-items: stretch;
}

.projects-swiper .swiper-slide {
  height: auto;
  width: min(82vw, 300px);
  flex-shrink: 0;
  transform: translateZ(0);
  backface-visibility: hidden;
}

@media (min-width: 576px) {
  .projects-swiper .swiper-slide {
    width: 280px;
  }
}

@media (min-width: 768px) {
  .projects-swiper .swiper-slide {
    width: 320px;
  }
}

@media (min-width: 1200px) {
  .projects-swiper .swiper-slide {
    width: 360px;
  }
}

@media (min-width: 1400px) {
  .projects-swiper .swiper-slide {
    width: 380px;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  padding-top: clamp(3rem, 5vw, 4.25rem);
  background: #fff;
  border-top: 1px solid var(--so-line);
}

.footer-col h3 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.95rem;
  color: var(--so-ink);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li + li {
  margin-top: 0.5rem;
}

.footer-col a {
  font-size: 0.86rem;
  color: #5a6170;
}

.footer-col a:hover {
  color: var(--so-red);
}

.footer-meta {
  margin-top: 2.35rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--so-line);
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem 1.85rem;
  align-items: flex-start;
}

.footer-contact a,
.footer-contact span {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: #5a6170;
  max-width: 22rem;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  margin-top: 0.12rem;
  flex-shrink: 0;
  color: var(--so-ink);
}

.social-links {
  display: flex;
  gap: 0.55rem;
  margin-left: auto;
  align-items: center;
}

.social-links a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--so-ink);
  border-radius: 999px;
}

.social-links a:hover {
  color: var(--so-red);
  background: var(--so-soft);
}

.social-links svg {
  width: 18px;
  height: 18px;
  display: block;
}

.footer-bottom {
  margin-top: 1.15rem;
  padding: 1.05rem 0 1.35rem;
  border-top: 1px solid var(--so-line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.7rem;
  font-size: 0.78rem;
  color: var(--so-muted);
}

/* ---------- Scroll reveal ---------- */
.wow {
  opacity: 0;
  transform: translate3d(0, 48px, 0);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.wow.fadeInLeft {
  transform: translate3d(-56px, 0, 0);
}

.wow.fadeInRight {
  transform: translate3d(56px, 0, 0);
}

.wow.fadeInUp {
  transform: translate3d(0, 48px, 0);
}

.wow.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .service-panel,
  .service-body,
  .service-num,
  .value-card,
  .btn-so,
  .project-card img,
  .hero-content,
  .hero-media img {
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 991.98px) {
  .nav-link-so {
    padding: 0.7rem 0 !important;
    border-bottom: 1px solid var(--so-line);
  }

  .navbar-collapse {
    padding-top: 0.7rem;
    padding-bottom: 0.45rem;
  }

  .hero-content {
    padding-block: 3.4rem 4.8rem;
  }

  .services-accordion {
    flex-direction: column;
    height: auto;
  }

  .service-panel {
    flex: none !important;
    min-height: 84px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
    transition: min-height 0.4s ease;
  }

  .service-panel.is-active {
    min-height: 310px;
  }

  .service-num {
    writing-mode: horizontal-tb;
    transform: none;
    top: 0.95rem;
    right: 1rem;
    font-size: 1.3rem;
  }

  .service-panel:hover .service-num,
  .service-panel.is-active .service-num,
  .service-panel:focus-visible .service-num {
    transform: rotate(360deg);
  }

  .social-links {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .container-so {
    width: calc(100% - 1.4rem);
  }

  .section-head {
    flex-direction: column;
    align-items: stretch;
  }

  .slider-tools {
    justify-content: flex-end;
  }

  .hero-controls {
    right: 0.7rem;
    bottom: 0.9rem;
  }

  .about-media {
    margin-bottom: 1.6rem;
  }
}
