/*
Theme Name: Fota Agency
Theme URI: https://cozythemes.com/fota-agency/
Author: CozyThemes
Author URI: https://cozythemes.com/
Description: Fota Agency serves as the child theme of FotaWP, inheriting all the features of FotaWP. It has been specifically designed for the agency niche and offers block-based full site editing capabilities. Its minimal and clean design allows users to create various types of agency website, such as startup, tech company, counselling, consulting any other kind of cooperative business site and more. For further information about Fota Agency, kindly explore the details available at https://cozythemes.com/fota-agency/.
Template: fotawp
Version: 1.0.1
Requires at least: 5.9
Tested up to: 6.5
Requires PHP: 7.0
License: GPLv3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: fota-agency
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, e-commerce, full-site-editing, block-patterns, full-width-template, rtl-language-support, threaded-comments, translation-ready, block-styles, wide-blocks
*/
.wp-block-buttons.fotaagency-buttons-with-icon .wp-block-button__link img {
  margin-bottom: -8px;
}
nav.wp-block-navigation ul li a:hover,
.wp-block-button.is-style-outline a:hover {
  color: var(--wp--preset--color--primary) !important;
}

.belegend-testimonials-grid {
  align-items: stretch !important;
}

.belegend-testimonials-grid > .wp-block-column {
  display: flex;
}

.belegend-testimonial-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.belegend-testimonial-text {
  flex: 1 1 auto;
  margin: 0;
}

.belegend-testimonial-meta {
  width: 100%;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  margin-top: auto !important;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.belegend-testimonial-avatar {
  flex: 0 0 auto;
  margin: 0;
  display: none !important;
}

.belegend-testimonial-avatar img {
  display: block;
  width: 60px;
  height: 60px;
  object-fit: cover;
  background: #f1f4f9;
}

.belegend-testimonial-person {
  display: block;
  width: 100%;
  min-width: 0;
  align-items: flex-start;
  text-align: left;
}

.belegend-testimonial-person .wp-block-heading,
.belegend-testimonial-person p {
  margin: 0;
}

.belegend-testimonial-person .wp-block-heading {
  font-size: 1.1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.belegend-testimonial-person p {
  margin-top: 0.3rem;
  color: rgba(255, 255, 255, 0.76) !important;
  font-size: 0.98rem;
  line-height: 1.35;
}

@media (max-width: 782px) {
  .wp-site-blocks > header.wp-block-template-part > .wp-block-group {
    padding-top: 1rem !important;
    padding-right: 1rem !important;
    padding-bottom: 0.9rem !important;
    padding-left: 1rem !important;
  }

  .wp-site-blocks > header.wp-block-template-part > .wp-block-group > .wp-block-group:first-child {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 0.85rem;
  }

  .wp-site-blocks
    > header.wp-block-template-part
    > .wp-block-group
    > .wp-block-group:first-child
    > .wp-block-group:first-child {
    min-width: 0;
    gap: 0.5rem;
    align-items: center;
  }

  .wp-site-blocks
    > header.wp-block-template-part
    > .wp-block-group
    .wp-block-site-title {
    margin: 0;
    font-size: 2rem !important;
    line-height: 1 !important;
    white-space: nowrap;
  }

  .wp-site-blocks
    > header.wp-block-template-part
    > .wp-block-group
    > .wp-block-group:first-child
    > .wp-block-buttons {
    display: grid !important;
    gap: 0.45rem;
    justify-items: end;
    justify-content: end;
    align-self: start;
    margin-left: auto;
  }

  .wp-site-blocks
    > header.wp-block-template-part
    > .wp-block-group
    > .wp-block-group:first-child
    > .wp-block-buttons
    .wp-block-button {
    width: auto;
    margin: 0 !important;
  }

  .wp-site-blocks
    > header.wp-block-template-part
    > .wp-block-group
    > .wp-block-group:first-child
    > .wp-block-buttons
    .wp-block-button__link {
    min-width: 132px;
    padding: 0.72em 1em;
    font-size: 0.82rem !important;
    line-height: 1.15;
    white-space: nowrap;
  }

  .wp-site-blocks > header.wp-block-template-part nav.wp-block-navigation {
    margin-top: 0.9rem !important;
  }

  body.home #hero {
    padding-top: 2.25rem !important;
    padding-bottom: 2.5rem !important;
  }

  body.home #hero .wp-block-columns {
    gap: 1.5rem !important;
  }

  body.home #hero .wp-block-heading.has-xxx-large-font-size {
    font-size: 1.58rem !important;
    line-height: 1.08 !important;
    letter-spacing: -0.045em;
  }

  body.home #hero p {
    font-size: 1rem !important;
    line-height: 1.5 !important;
  }
}

@media (max-width: 782px) {
  .single-post .wp-block-cover.is-light {
    min-height: auto !important;
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .single-post .wp-block-post-title {
    max-width: none !important;
    width: 100%;
    margin-right: 0 !important;
    margin-left: 0 !important;
    font-size: clamp(2rem, 7.4vw, 2.45rem) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.04em;
    text-align: left !important;
    text-wrap: pretty;
  }

  .single-post main.wp-block-group > .wp-block-group:nth-of-type(2) {
    padding-top: 1rem !important;
    padding-right: 1rem !important;
    padding-bottom: 0.75rem !important;
    padding-left: 1rem !important;
  }

  .single-post main.wp-block-group > .wp-block-group:nth-of-type(3) {
    padding-right: 1rem !important;
    padding-bottom: 2.5rem !important;
    padding-left: 1rem !important;
  }

  .single-post
    main.wp-block-group
    > .wp-block-group:nth-of-type(2)
    .wp-block-group:has(> .wp-block-columns > .wp-block-column > .wp-block-post-featured-image.is-style-default) {
    padding-bottom: 0.5rem !important;
  }

  .single-post
    main.wp-block-group
    > .wp-block-group:nth-of-type(2)
    .wp-block-group:has(> .wp-block-columns > .wp-block-column > .wp-block-post-featured-image.is-style-default)
    > .wp-block-group:last-child {
    padding-top: 0.75rem !important;
    padding-bottom: 1.25rem !important;
  }

  .single-post .wp-block-post-featured-image.is-style-default {
    height: auto !important;
    max-height: none !important;
  }

  .single-post .wp-block-post-featured-image.is-style-default img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
  }
}

.single-post .wp-block-post-content .wp-block-image,
.single-post .wp-block-post-content .wp-block-gallery,
.single-post .wp-block-post-content figure.wp-block-image {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.single-post .wp-block-post-content .wp-block-image img,
.single-post .wp-block-post-content figure.wp-block-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(19, 26, 34, 0.08);
}

.single-post .wp-block-post-content .wp-block-image figcaption,
.single-post .wp-block-post-content figure.wp-block-image figcaption {
  margin-top: 0.75rem;
  color: #5f6b7a;
  font-size: 0.92rem;
  line-height: 1.45;
  text-align: center;
}

.belegend-blog-card-image {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 10px;
  background: #f3f5f9;
}

.belegend-blog-card-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.belegend-blog-card-image img {
  display: block;
  width: 100%;
  height: 100% !important;
  object-fit: cover !important;
  object-position: left top !important;
}

@media (max-width: 600px) {
  .single-post .wp-block-post-title {
    max-width: none !important;
    font-size: 2rem !important;
    line-height: 1.04 !important;
  }

  .single-post main.wp-block-group > .wp-block-group:nth-of-type(2) {
    padding-top: 0.85rem !important;
    padding-bottom: 0.35rem !important;
  }

  .single-post
    main.wp-block-group
    > .wp-block-group:nth-of-type(2)
    .wp-block-group:has(> .wp-block-columns > .wp-block-column > .wp-block-post-featured-image.is-style-default)
    > .wp-block-group:last-child {
    padding-top: 0.65rem !important;
    padding-bottom: 1rem !important;
  }

  .single-post main.wp-block-group > .wp-block-group:nth-of-type(3) {
    padding-bottom: 2rem !important;
  }

  .single-post .wp-block-post-content + .wp-block-columns {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    margin-top: 2rem !important;
    border-top: 1px solid var(--wp--preset--color--border-color) !important;
    border-bottom: 1px solid var(--wp--preset--color--border-color) !important;
  }

  .single-post .wp-block-post-content + .wp-block-columns > .wp-block-column {
    width: 100% !important;
    flex-basis: auto !important;
    padding: 1rem 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
  }

  .single-post .wp-block-post-content + .wp-block-columns > .wp-block-column + .wp-block-column {
    border-top: 1px solid var(--wp--preset--color--border-color) !important;
  }

  .single-post .wp-block-post-content + .wp-block-columns .wp-block-post-navigation-link {
    margin: 0 !important;
    text-align: left !important;
    font-size: 1.1rem !important;
    line-height: 1.35 !important;
  }

  .wp-block-navigation__responsive-container
    .wp-block-navigation__container
    a
    .wp-block-navigation-item__label::after {
    content: none !important;
    display: none !important;
  }

  .wp-block-navigation__responsive-container
    .wp-block-navigation-item.has-child.open-on-hover-click.wp-block-navigation-submenu
    > a {
    border-bottom: 0 !important;
  }

  .single-post .wp-block-post-content .wp-block-image,
  .single-post .wp-block-post-content .wp-block-gallery,
  .single-post .wp-block-post-content figure.wp-block-image {
    margin-top: 1.35rem;
    margin-bottom: 1.35rem;
  }

  .single-post .wp-block-post-content .wp-block-image img,
  .single-post .wp-block-post-content figure.wp-block-image img {
    border-radius: 14px;
  }
}

.belegend-footer-contact-card {
  margin-top: 0.3rem;
  padding: 1.1rem 1.15rem 1.2rem;
  border: 1px solid rgba(42, 42, 42, 0.08);
  border-radius: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #f3f6fb 100%);
  box-shadow: 0 18px 38px rgba(34, 34, 34, 0.06);
}

.belegend-footer-contact-location,
.belegend-footer-contact-phone {
  margin: 0;
}

.belegend-footer-contact-location {
  color: #3a3a3a;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
}

.belegend-footer-contact-phone {
  margin-top: 1rem;
}

.belegend-footer-contact-phone a {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  color: #202020 !important;
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  text-decoration: none !important;
}

.belegend-footer-contact-phone a span {
  color: var(--wp--preset--color--primary);
}

#packages > .wp-block-columns {
  align-items: stretch !important;
}

#packages > .wp-block-columns > .wp-block-column {
  display: flex;
}

#packages > .wp-block-columns > .wp-block-column > .wp-block-group {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

#packages > .wp-block-columns > .wp-block-column > .wp-block-group > ul {
  flex: 1 1 auto;
}

#packages > .wp-block-columns > .wp-block-column > .wp-block-group > .wp-block-buttons {
  margin-top: auto !important;
  padding-top: var(--wp--preset--spacing--50);
}

#packages .belegend-package-card.is-selected {
  border-color: var(--wp--preset--color--tertiary) !important;
  box-shadow: 0 28px 52px rgba(26, 136, 115, 0.16);
  transform: translateY(-3px);
}

#packages .belegend-package-trigger.wp-block-button__link {
  min-width: 164px;
  justify-content: center;
  border: 1px solid transparent;
  background: linear-gradient(135deg, #131a22 0%, #1a222b 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 16px 30px rgba(18, 26, 34, 0.16);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

#packages .belegend-package-trigger.wp-block-button__link:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 36px rgba(18, 26, 34, 0.2);
}

#packages .belegend-package-trigger.wp-block-button__link.is-selected {
  border-color: rgba(255, 255, 255, 0.28);
  background: linear-gradient(135deg, #1a8873 0%, #44d0b5 100%) !important;
  box-shadow: 0 22px 40px rgba(26, 136, 115, 0.22);
}

#about .belegend-about-columns {
  gap: clamp(2rem, 4vw, 4.25rem);
}

#about .belegend-about-media {
  display: flex;
  justify-content: flex-start;
}

#about .belegend-about-image {
  width: min(calc(100% + 220px), 760px);
  max-width: none;
  margin: 0 0 0 -5rem;
}

#about .belegend-about-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0 !important;
}

.belegend-service-hero-copy > *:first-child {
  margin-top: 0 !important;
}

.belegend-service-hero-copy .wp-block-buttons {
  margin-top: 1.5rem;
}

.belegend-service-hero-media {
  display: flex;
  justify-content: flex-end;
}

.belegend-service-hero-placeholder {
  position: relative;
  width: min(100%, 430px);
  min-height: 360px;
  margin-left: auto;
  padding: clamp(1.4rem, 2.6vw, 2rem);
  border: 1.5px dashed rgba(15, 23, 42, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 18%, rgba(118, 160, 255, 0.18), transparent 28%),
    radial-gradient(circle at 82% 78%, rgba(148, 163, 184, 0.18), transparent 26%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(246, 249, 255, 0.88));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 18px 36px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.belegend-service-hero-placeholder::before {
  content: "+";
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -58%);
  font-size: clamp(5rem, 9vw, 7rem);
  line-height: 1;
  font-weight: 300;
  color: rgba(59, 130, 246, 0.16);
}

.belegend-service-hero-placeholder::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 22px;
  background-image:
    linear-gradient(rgba(82, 104, 142, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(82, 104, 142, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.belegend-service-hero-image {
  width: min(100%, 500px);
  margin: 0 0 0 auto;
  border-radius: 28px;
  overflow: hidden;
}

.belegend-service-hero-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.belegend-service-results {
  position: relative;
  width: min(100%, 500px);
  margin: 0 0 0 auto;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(107, 149, 211, 0.16);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 251, 255, 0.96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 18px 42px rgba(19, 26, 34, 0.07);
  overflow: hidden;
}

.belegend-service-results::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(107, 149, 211, 0.34), rgba(107, 149, 211, 0));
  pointer-events: none;
}

.belegend-service-results-label {
  margin: 0 0 0.85rem;
  color: #6b95d3;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.belegend-service-results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.belegend-service-result-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
  min-height: 0;
  padding: 1.05rem 1rem 1rem;
  border: 1px solid rgba(107, 149, 211, 0.12);
  border-radius: 20px;
  background: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 10px 24px rgba(19, 26, 34, 0.05);
}

.belegend-service-result-card::before {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-bottom: 0.05rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #6b95d3 0%, rgba(107, 149, 211, 0.2) 100%);
}

.belegend-service-result-title,
.belegend-service-result-text {
  margin: 0;
}

.belegend-service-result-title {
  color: #17202a;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.belegend-service-result-text {
  color: #5f6b7a;
  font-size: 0.9rem;
  line-height: 1.48;
}

.belegend-service-faq--dark .wp-block-heading.has-medium-font-size {
  color: #eef2f6 !important;
}

.belegend-service-faq--dark p.has-background-alt-color.has-text-color {
  color: rgba(238, 242, 246, 0.82) !important;
}

.belegend-service-faq--dark > .wp-block-heading:first-child {
  margin-bottom: 0.95rem;
}

.belegend-service-faq--dark .wp-block-heading.has-medium-font-size {
  margin-top: 1.65rem;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.belegend-service-faq--dark .wp-block-heading.has-medium-font-size + p {
  margin-top: 0;
}

.belegend-lead-section {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 6vw, 5.5rem) 1.5rem;
  background:
    radial-gradient(circle at 12% 20%, rgba(177, 224, 211, 0.28), transparent 36%),
    radial-gradient(circle at 88% 82%, rgba(166, 203, 255, 0.22), transparent 34%),
    linear-gradient(135deg, #11151c 0%, #12181d 54%, #0f1418 100%);
}

.belegend-lead-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 3rem);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(1.4rem, 2vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
}

.belegend-lead-shell::before,
.belegend-lead-shell::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.belegend-lead-shell::before {
  inset: auto auto -80px -70px;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 225, 163, 0.2) 0%, rgba(255, 225, 163, 0) 72%);
}

.belegend-lead-shell::after {
  inset: 22px 22px auto auto;
  width: 180px;
  height: 180px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.4;
  transform: rotate(12deg);
}

.belegend-lead-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.15rem;
  min-width: 0;
  color: #f7f8fa;
}

.belegend-lead-eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: #b8d4cd;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.belegend-lead-title {
  margin: 0;
  max-width: 11ch;
  color: #ffffff;
  font-size: clamp(1.85rem, 3.4vw, 3rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.belegend-lead-description {
  margin: 0;
  max-width: 640px;
  color: rgba(244, 247, 251, 0.8);
  font-size: 1.05rem;
  line-height: 1.75;
}

.belegend-lead-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.belegend-lead-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #f5f7fa;
  font: inherit;
  font-size: 0.9rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.belegend-lead-tag:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.belegend-lead-tag[aria-pressed="true"] {
  background: rgba(203, 231, 220, 0.14);
  border-color: rgba(203, 231, 220, 0.4);
  color: #ffffff;
}

.belegend-lead-card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: clamp(1.2rem, 2vw, 1.6rem);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(8, 14, 22, 0.22);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.belegend-lead-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image:
    linear-gradient(rgba(15, 20, 24, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 20, 24, 0.045) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.22), transparent 80%);
  pointer-events: none;
}

.belegend-lead-notice {
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.belegend-lead-notice.is-success {
  background: #edf8f2;
  color: #125237;
}

.belegend-lead-notice.is-error {
  background: #fff1f1;
  color: #9e2121;
}

.belegend-lead-form {
  position: relative;
  display: grid;
  gap: 1rem;
  font-size: 15px;
  line-height: 1.5;
}

.belegend-lead-form,
.belegend-lead-form * {
  box-sizing: border-box;
}

.belegend-lead-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.belegend-lead-field {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}

.belegend-lead-field label {
  color: #1d2939;
  font-size: 0.82rem;
  font-weight: 600;
}

.belegend-lead-field input,
.belegend-lead-field textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 54px;
  padding: 0.95rem 1rem;
  border: 1px solid #d8dde6;
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.92);
  color: #131a22;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.4;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.belegend-lead-field input::placeholder,
.belegend-lead-field textarea::placeholder {
  color: #747b86;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.4;
}

.belegend-lead-field textarea {
  min-height: 132px;
  resize: vertical;
}

.belegend-lead-choice-group {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.belegend-lead-package-note {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(26, 136, 115, 0.18);
  border-radius: 16px;
  background: rgba(68, 208, 181, 0.09);
  color: #125237;
  font-size: 0.88rem;
  line-height: 1.45;
}

.belegend-lead-package-note strong {
  color: #125237;
  font-weight: 700;
}

.belegend-lead-choice-group legend {
  margin-bottom: 0.55rem;
  padding: 0;
  color: #1d2939;
  font-size: 0.82rem;
  font-weight: 600;
}

.belegend-lead-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.belegend-lead-choice {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  min-height: 58px;
  padding: 0.95rem 1rem;
  border: 1px solid #d8dde6;
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.92);
  color: #1d2939;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.belegend-lead-choice:hover {
  border-color: #c4d0e2;
  background: #ffffff;
}

.belegend-lead-choice input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #131a22;
}

.belegend-lead-choice span {
  display: block;
  min-width: 0;
  font-size: 0.84rem;
  line-height: 1.35;
  font-weight: 500;
}

.belegend-lead-choice:has(input:checked) {
  border-color: #111827;
  background: #f3f6fb;
  box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.06);
}

.belegend-lead-field input:focus,
.belegend-lead-field textarea:focus {
  outline: none;
  border-color: #6b93d6;
  box-shadow: 0 0 0 4px rgba(107, 147, 214, 0.16);
  background: #ffffff;
}

.belegend-lead-submit {
  min-height: 56px;
  padding: 0.95rem 1.35rem;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #131a22 0%, #1a222b 100%);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.94rem;
  line-height: 1.2;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.belegend-lead-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(18, 26, 34, 0.16);
}

.belegend-lead-policy {
  margin: 0;
  color: #5f6b7a;
  font-size: 0.86rem;
  line-height: 1.55;
}

.belegend-lead-policy a {
  color: #111827;
}

.belegend-lead-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 900px) {
  .belegend-lead-shell {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 782px) {
  body.page:not(.home) .wp-block-heading.has-xxx-large-font-size {
    font-size: 1.65rem !important;
    line-height: 1.2 !important;
  }

  .belegend-service-page .belegend-service-section {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
  }

  .belegend-service-page .belegend-service-section--hero {
    padding-top: 2rem !important;
    padding-bottom: 1.5rem !important;
  }

  .belegend-service-page .belegend-service-section:not(.belegend-service-section--hero) {
    padding-top: 2.35rem !important;
    padding-bottom: 2.35rem !important;
  }

  .belegend-service-page .belegend-service-section--split {
    padding-top: 1.25rem !important;
  }

  .belegend-service-page .belegend-service-section .wp-block-columns {
    gap: 1.35rem !important;
  }

  .belegend-service-page .belegend-service-section .wp-block-heading:not(.has-xxx-large-font-size) {
    margin-bottom: 0.9rem;
  }

  .belegend-service-page .belegend-service-section--hero .belegend-service-hero-columns {
    gap: 1.25rem !important;
  }

  .belegend-service-page .belegend-service-section--hero .belegend-service-hero-copy .wp-block-buttons {
    margin-top: 1rem;
  }

  .belegend-service-page .belegend-service-section--hero .belegend-service-hero-image {
    margin-top: 0.25rem;
  }

  .belegend-service-page .belegend-service-section--intro ul,
  .belegend-service-page .belegend-service-section--split ul {
    margin-top: 0.75rem;
  }

  .belegend-service-page .belegend-service-faq--dark {
    padding-top: 2.4rem !important;
    padding-bottom: 2.75rem !important;
  }

  .belegend-service-page .belegend-service-faq--dark .wp-block-heading.has-medium-font-size {
    font-size: 1.08rem !important;
    margin-top: 1.3rem;
  }

  .belegend-service-results {
    width: 100%;
    margin-top: 0.3rem;
    padding: 0.9rem;
    border-radius: 24px;
  }

  .belegend-service-results-grid {
    gap: 0.65rem;
  }

  .belegend-service-result-card {
    padding: 0.95rem 0.9rem 0.9rem;
    border-radius: 18px;
  }

  .belegend-service-result-title {
    font-size: 0.98rem;
  }

  .belegend-service-result-text {
    font-size: 0.88rem;
  }

  #about .belegend-about-image {
    width: 100%;
    margin: 0;
  }

  body.page:not(.home) .wp-block-heading.has-xx-large-font-size {
    font-size: 1.45rem !important;
    line-height: 1.25 !important;
  }

  .belegend-service-hero-media {
    justify-content: stretch;
  }

  .belegend-service-hero-placeholder {
    width: 100%;
    min-height: 260px;
    margin-top: 0.5rem;
  }

  .belegend-service-hero-image {
    width: 100%;
    margin-top: 0.5rem;
  }

  .belegend-lead-section {
    padding: 3.2rem 1rem;
  }

  .belegend-lead-shell {
    padding: 1rem;
    border-radius: 22px;
  }

  .belegend-lead-title {
    font-size: 1.85rem;
    line-height: 1.12;
    max-width: none;
  }

  .belegend-lead-description {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .belegend-lead-grid,
  .belegend-lead-choice-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  #packages .belegend-package-trigger.wp-block-button__link {
    width: 100%;
    min-width: 0;
  }

  .belegend-lead-submit {
    width: 100%;
  }

  .belegend-lead-field label,
  .belegend-lead-choice-group legend {
    font-size: 0.76rem;
  }

  .belegend-lead-package-note,
  .belegend-lead-field input,
  .belegend-lead-field textarea,
  .belegend-lead-field input::placeholder,
  .belegend-lead-field textarea::placeholder,
  .belegend-lead-submit {
    font-size: 0.88rem;
  }

  .belegend-lead-choice span {
    font-size: 0.8rem;
  }

  .belegend-footer-contact-card {
    border-radius: 1.35rem;
    padding: 1rem 1rem 1.05rem;
  }

  .belegend-footer-contact-phone a {
    font-size: 1.52rem;
  }
}

@media (max-width: 640px) {
  .belegend-service-results-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 359px) {
  .belegend-service-results-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* === BELEGEND PHOTO POLISH (begin) === */
:root{--bl-radius:18px;--bl-shadow:0 12px 36px rgba(20,30,60,.10)}
html{scroll-behavior:smooth}

/* Геро с мягким градиентом */
#hero{background:linear-gradient(180deg,#eef3ff 0%,#f7f9ff 55%,#ffffff 100%);border-radius:0 0 32px 32px}
.belegend-hero-collage{gap:16px}
.belegend-hero-collage img{border-radius:var(--bl-radius);aspect-ratio:1/1;object-fit:cover;width:100%;box-shadow:var(--bl-shadow);transition:transform .55s cubic-bezier(.2,.7,.2,1)}
.belegend-hero-collage img:hover{transform:translateY(-4px) scale(1.03)}

/* Галереи — крупнее, эффектнее */
.wp-block-gallery{gap:16px!important}
.wp-block-gallery figure.wp-block-image{border-radius:var(--bl-radius);overflow:hidden;margin:0}
.wp-block-gallery figure.wp-block-image img{border-radius:var(--bl-radius);aspect-ratio:1/1;object-fit:cover;width:100%;transition:transform .55s cubic-bezier(.2,.7,.2,1),box-shadow .4s ease;box-shadow:0 8px 28px rgba(0,0,0,.07)}
.wp-block-gallery figure.wp-block-image:hover img{transform:scale(1.06);box-shadow:0 18px 44px rgba(0,0,0,.16)}
.wp-block-image img{border-radius:var(--bl-radius)}

/* Карточки результатов в геро услуг */
.belegend-service-results-grid{gap:16px}
.belegend-service-result-card{background:#fff;border:1px solid #eef1f8;border-radius:var(--bl-radius);padding:20px 22px;box-shadow:0 10px 30px rgba(20,30,60,.06);transition:transform .35s ease,box-shadow .35s ease}
.belegend-service-result-card:hover{transform:translateY(-4px);box-shadow:0 16px 40px rgba(20,30,60,.12)}
.belegend-service-result-title{font-weight:700;margin:0 0 6px}

/* Заголовки секций */
.wp-block-heading.has-xx-large-font-size{letter-spacing:-.5px}

/* Кнопки — мягкая тень */
.wp-block-button__link{box-shadow:0 8px 22px rgba(20,30,60,.10);transition:transform .25s ease,box-shadow .25s ease}
.wp-block-button__link:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(20,30,60,.16)}

@media(max-width:781px){
  #hero{border-radius:0 0 22px 22px}
  .belegend-hero-collage{margin-top:10px}
}
/* === BELEGEND PHOTO POLISH (end) === */
