/* Site polish — layered on the original theme */

.skip_link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 10000;
  background: #1ebba3;
  color: #fff;
  padding: 10px 16px;
  border-radius: 4px;
  font-weight: 600;
}

.skip_link:focus {
  top: 16px;
  color: #fff;
}

:focus-visible {
  outline: 2px solid #1ebba3;
  outline-offset: 3px;
}

@media (min-width: 992px) {
  .navigation_area > .mainmenu_area {
    display: flex;
    align-items: center;
  }

  .lang_switch {
    margin-left: 24px;
    padding-left: 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.25);
  }

  #sticky_header .lang_switch {
    border-left-color: rgba(0, 0, 0, 0.12);
  }
}

.lang_switch {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 20px;
}

.lang_switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 24px;
  border-radius: 4px;
  overflow: hidden;
  opacity: 0.55;
  border: 1px solid transparent;
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.lang_switch a img {
  width: 34px;
  height: 24px;
  object-fit: cover;
  display: block;
}

.lang_switch a:hover,
.lang_switch a.is-active {
  opacity: 1;
  transform: translateY(-1px);
}

.lang_switch a.is-active {
  border-color: #1ebba3;
  box-shadow: 0 0 0 2px rgba(30, 187, 163, 0.25);
}

#sticky_header .lang_switch a {
  opacity: 0.7;
}

#sticky_header .lang_switch a.is-active,
#sticky_header .lang_switch a:hover {
  opacity: 1;
}

.home_cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}

.home_cta .btn {
  min-width: 180px;
  height: 48px;
  line-height: 48px;
  padding: 0 28px;
  border-radius: 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-block;
}

.home_cta .btn-primary {
  margin-top: 0;
  background-color: #1ebba3;
  color: #fff;
  box-shadow: 0 10px 24px rgba(30, 187, 163, 0.28);
}

.home_cta .btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.home_cta .btn-outline:hover,
.home_cta .btn-outline:focus {
  background: #fff;
  color: #111;
  border-color: #fff;
}

.header_social_share > li > a {
  font-size: 18px;
}

.header_social_share > li > a:hover {
  background: rgba(30, 187, 163, 0.15);
}

.about_content > .info > img {
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.cert_heading {
  margin: 36px 0 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  color: #1ebba3;
}

.tag_list > li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 16px;
}

.tag_list > li img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  border-radius: 2px;
}

.tag_list > li:hover {
  transform: translateY(-2px);
}

.skill_intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 50px;
}

.skill_intro h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.skill_groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 40px;
  margin-bottom: 20px;
}

.skill_group h3 {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1ebba3;
  margin-bottom: 14px;
  font-weight: 600;
}

.skill_pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.skill_pills li {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  color: #333;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.home_text_block > .hero_seo_title {
  color: #1ebba3;
  display: inline-block;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 25px;
  text-transform: none;
}

.home_text_block > .hero_seo_title > span {
  padding: 3px 35px;
  position: relative;
  display: inline-block;
  background: transparent linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0)) repeat scroll 0 0;
}

.home_text_block > .hero_seo_title > span:before,
.home_text_block > .hero_seo_title > span:after {
  background-color: #1ebba3;
  border-radius: 50%;
  content: "";
  height: 6px;
  margin-top: -3px;
  position: absolute;
  top: 50%;
  width: 6px;
  opacity: 0.25;
}

.home_text_block > .hero_seo_title > span:before { left: 20px; }
.home_text_block > .hero_seo_title > span:after { right: 20px; }

.faq_list {
  max-width: 760px;
  margin: 0 auto;
}

.faq_list details {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 12px;
  padding: 16px 22px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.faq_list summary {
  font-weight: 600;
  cursor: pointer;
  color: #303030;
  font-size: 16px;
  list-style: none;
}

.faq_list summary::-webkit-details-marker {
  display: none;
}

.faq_list summary::after {
  content: "+";
  float: right;
  color: #1ebba3;
  font-weight: 700;
}

.faq_list details[open] summary::after {
  content: "–";
}

.faq_list details p {
  margin: 12px 0 0;
  color: #555;
}

@media only screen and (max-width: 767px) {
  .home_text_block > .hero_seo_title {
    font-size: 15px;
    margin-bottom: 18px;
  }

  .home_text_block > .hero_seo_title > span {
    padding: 3px 22px;
  }
}

/* Wide-screen V-cut: clip the hero instead of rotated bars that leak in the corners */
.welcome_area {
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 70px), 50% 100%, 0 calc(100% - 70px));
}

.welcome_area::before,
.welcome_area::after {
  content: none !important;
  display: none !important;
}

@media (min-width: 1200px) {
  .welcome_area {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 100px), 50% 100%, 0 calc(100% - 100px));
  }
}

@media (min-width: 1800px) {
  .welcome_area {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 130px), 50% 100%, 0 calc(100% - 130px));
  }
}

@media (max-width: 767px) {
  .welcome_area {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 48px), 50% 100%, 0 calc(100% - 48px));
  }
}

@media (max-width: 991px) {
  .site_header,
  .site_navigation {
    position: relative;
  }

  .navbar-toggler {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 12px;
    top: 8px;
    transform: none !important;
    width: auto !important;
    min-width: 44px;
    height: 40px;
    padding: 0 10px !important;
    border: 1px solid #333 !important;
    background: #fff;
    z-index: 30;
    color: #111;
    font-size: 22px;
    line-height: 1;
  }

  .navbar-toggler::before {
    content: none;
  }

  .lang_switch {
    margin: 8px 20px 16px;
  }

  .skill_groups,
  .contact_grid,
  .contact_form .form-row {
    grid-template-columns: 1fr;
  }

  .single_service {
    min-height: 0;
    height: auto;
  }
}

.single_skill .progress_bar > span {
  transition: width 1.2s ease;
}

.single_service {
  border-radius: 12px;
  padding: 36px 24px 32px;
  min-height: 280px;
  height: calc(100% - 30px);
}

.single_service:hover {
  transform: translateY(-6px);
}

.contact_grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 50px;
}

.contact_card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  min-height: 88px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact_card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  color: inherit;
}

.contact_card > span {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(30, 187, 163, 0.1);
  color: #1ebba3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  border-right: 0;
  float: none;
  margin: 0;
  line-height: 1;
}

.contact_card .info {
  overflow: hidden;
  padding: 0;
}

.contact_card .info h4 {
  margin: 0 0 4px;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.contact_form_wrap {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.contact_form_wrap h3 {
  margin-bottom: 8px;
}

.contact_form_wrap > p {
  margin-bottom: 24px;
  color: #676767;
}

.contact_form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact_form .form-group {
  margin-bottom: 16px;
}

.contact_form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #303030;
}

.contact_form .form-controller {
  border-radius: 8px;
  background: #fafafa;
  border: 1px solid #e5e5e5;
  height: 48px;
}

.contact_form textarea.form-controller {
  height: auto;
  min-height: 140px;
  resize: vertical;
}

.contact_form .form-controller:focus {
  border-color: #1ebba3;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(30, 187, 163, 0.15);
}

.contact_form .btn-primary {
  border: 0;
  border-radius: 28px;
  padding: 0 32px;
  height: 48px;
  line-height: 48px;
  margin-top: 8px;
}

.form_status {
  margin-top: 12px;
  min-height: 1.4em;
  font-size: 14px;
}

.form_status.success {
  color: #1ebba3;
  margin-top: 12px;
  text-align: left;
  font-size: 14px;
}

.form_status.error {
  color: #c0392b;
}

.footer_greeting {
  min-height: 28px;
  margin-bottom: 18px;
  font-size: 18px;
  letter-spacing: 0.04em;
}

.footer_greeting .dud {
  color: #1ebba3;
}

.footer_lang {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.footer_lang a {
  display: inline-flex;
  border-radius: 4px;
  overflow: hidden;
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer_lang a:hover,
.footer_lang a.is-active {
  opacity: 1;
  transform: translateY(-2px);
}

.footer_lang img {
  width: 36px;
  height: 24px;
  object-fit: cover;
  display: block;
}

.projects_area {
  background: #fff;
}

.project_card {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: 48px;
  align-items: center;
  background: #f7f7f7;
  border-radius: 20px;
  padding: 40px;
}

.project_visual {
  display: flex;
  justify-content: center;
}

.phone_frame {
  width: 260px;
  background: #111;
  border-radius: 28px;
  padding: 12px 10px 16px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.22);
  border: 1px solid #2a2a2a;
}

.phone_notch {
  width: 72px;
  height: 6px;
  border-radius: 99px;
  background: #333;
  margin: 4px auto 12px;
}

.phone_screen {
  background: #161616;
  border-radius: 16px;
  padding: 12px;
  color: #ececec;
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
}

.phone_bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #2c2c2c;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10px;
  color: #1ebba3;
}

.phone_bar em {
  font-style: normal;
  color: #8fe8d8;
  background: rgba(30, 187, 163, 0.15);
  border-radius: 99px;
  padding: 2px 8px;
}

.phone_row {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid #242424;
  color: #9a9a9a;
}

.phone_row strong {
  color: #fff;
  font-weight: 600;
}

.phone_vlan {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #2c2c2c;
  border-radius: 10px;
  background: #1a1a1a;
}

.phone_vlan p {
  margin: 8px 0 0;
  font-size: 10px;
  line-height: 1.4;
  color: #8a8a8a;
}

.vlan_badge {
  font-weight: 600;
  font-size: 10px;
  color: #e6b35a;
  border: 1px solid rgba(230, 179, 90, 0.45);
  border-radius: 4px;
  padding: 2px 6px;
}

.phone_tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 12px;
}

.phone_tabs span {
  text-align: center;
  padding: 7px 0;
  border-radius: 6px;
  border: 1px solid #2c2c2c;
  color: #8a8a8a;
  font-size: 10px;
}

.phone_tabs .is-on {
  background: #1ebba3;
  border-color: #1ebba3;
  color: #111;
  font-weight: 700;
}

.project_kicker {
  color: #1ebba3;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.project_info h2 {
  font-size: 36px;
  margin-bottom: 14px;
}

.project_info > p {
  margin-bottom: 18px;
  max-width: 540px;
}

.project_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.project_tags li {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  color: #333;
}

.project_soon {
  font-size: 13px;
  color: #888;
  margin-bottom: 8px;
}

.project_info .btn-primary {
  margin-top: 4px;
}

@media only screen and (max-width: 991px) {
  .project_card {
    grid-template-columns: 1fr;
    padding: 28px 22px;
    gap: 28px;
    text-align: center;
  }

  .project_info > p {
    margin-left: auto;
    margin-right: auto;
  }

  .project_tags {
    justify-content: center;
  }
}

@media only screen and (max-width: 991px) {
  .lang_switch {
    margin: 8px 20px 16px;
  }

  .skill_groups,
  .contact_grid,
  .contact_form .form-row {
    grid-template-columns: 1fr;
  }

  .single_service {
    min-height: 0;
    height: auto;
  }
}

@media only screen and (max-width: 575px) {
  .home_cta .btn {
    width: 100%;
  }

  .home_text_block .cd-headline {
    font-size: 26px;
  }

  .contact_form_wrap {
    padding: 22px 18px;
  }
}

@media only screen and (max-width: 400px) {
  .home_text_block .cd-headline {
    font-size: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
