:root {
  --teal: #159f9a;
  --teal-dark: #087f7c;
  --purple: #8077ad;
  --purple-dark: #67406f;
  --text: #55535b;
  --muted: #77727d;
  --light: #f3f3f3;
  --white: #ffffff;
  --container: 1380px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 230px;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

section,
footer,
[id] {
  scroll-margin-top: 230px;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.top-line {
  height: 10px;
  background: var(--purple);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e8e8e8;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(8px);
}

.header-inner {
  width: min(var(--container), calc(100% - 48px));
  min-height: 218px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 88px;
}

.brand {
  flex: 0 0 300px;
}

.brand img {
  width: 270px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 42px;
  font-size: 21px;
  font-weight: 500;
  color: #59575d;
  white-space: nowrap;
}

.main-nav a {
  position: relative;
  padding: 11px 0;
  transition: color 0.25s ease;
}

.main-nav a::after {
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 4px;
  content: "";
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--teal);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 27px;
  height: 3px;
  margin: 5px auto;
  background: var(--purple);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.quick-contact {
  position: fixed;
  top: 27px;
  right: 16px;
  z-index: 30;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: #979797;
  background: #fafafa;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
  font-size: 28px;
  transition: transform 0.25s ease, color 0.25s ease;
}

.quick-contact:hover {
  color: var(--teal);
  transform: translateY(-2px);
}

.hero-section {
  padding: 10px 0 16px;
  border-bottom: 1px solid #e5e5e5;
}

.hero-grid {
  width: min(1320px, calc(100% - 44px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 891fr 390fr;
  gap: 20px;
  align-items: stretch;
}

.hero-main,
.hero-side img,
.studio-image,
.specialties-gallery img {
  overflow: hidden;
}

.hero-side {
  display: grid;
  gap: 10px;
}

.hero-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-zoom img,
img.banner-zoom {
  transition: transform 7s ease, filter 0.35s ease;
}

.banner-zoom:hover img,
img.banner-zoom:hover {
  transform: scale(1.035);
  filter: saturate(1.04);
}

.section-title {
  text-align: center;
}

.section-title h1,
.section-title h2 {
  position: relative;
  margin: 0;
  color: rgba(21, 159, 154, 0.78);
  font-size: clamp(36px, 3.3vw, 50px);
  font-weight: 300;
  line-height: 1.2;
}

.section-title h1::after,
.section-title h2::after {
  display: block;
  width: 126px;
  height: 3px;
  margin: 10px auto 0;
  content: "";
  background: rgba(21, 159, 154, 0.82);
}

.studio-section {
  position: relative;
  padding: 150px 0 96px;
  background: #f5f5f5;
  overflow: hidden;
}

.studio-section::before,
.studio-section::after,
.numbers-section::before,
.numbers-section::after,
.specialties-section::before,
.specialties-section::after {
  position: absolute;
  content: "";
  pointer-events: none;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.studio-section::before {
  left: 0;
  top: 84px;
  width: 101px;
  height: 318px;
  background-image: url("../img/bk2a.png");
}

.studio-section::after {
  right: 0;
  bottom: 42px;
  width: 101px;
  height: 318px;
  background-image: url("../img/bk2b.png");
}

.studio-content {
  width: min(1380px, calc(100% - 44px));
  margin: 70px auto 0;
  display: grid;
  grid-template-columns: 1fr 590px;
  gap: 90px;
  align-items: center;
}

.studio-text {
  padding-left: 74px;
}

.studio-text h2 {
  margin: 0 0 30px;
  color: rgba(21, 159, 154, 0.82);
  font-size: 24px;
  font-weight: 500;
}

.studio-text p {
  max-width: 680px;
  margin: 0;
  color: #25242a;
  font-size: 20px;
  line-height: 1.24;
}

.studio-text p + p {
  margin-top: 18px;
}

.button-row {
  display: flex;
  gap: 12px;
  margin-top: 42px;
}

.btn {
  display: inline-flex;
  min-width: 290px;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.15);
}

.btn-purple {
  background: var(--purple);
}

.btn-purple:hover {
  background: #7169a2;
}

.btn-teal {
  min-width: 128px;
  min-height: 40px;
  padding: 0 22px;
  background: var(--teal);
  font-size: 16px;
  font-weight: 700;
}

.btn-teal:hover {
  background: var(--teal-dark);
}

.studio-image {
  border-radius: 8px;
}

.studio-image img {
  width: 100%;
  transition: transform 0.55s ease;
}

.studio-image:hover img {
  transform: scale(1.025);
}

.numbers-section {
  position: relative;
  padding: 88px 0 118px;
  overflow: hidden;
  background: var(--white);
}

.numbers-section::before,
.numbers-section::after {
  width: 43px;
  height: 207px;
}

.numbers-section::before {
  left: 18px;
  top: 24px;
  background-image: url("../img/bk3a.png");
}

.numbers-section::after {
  right: 16px;
  bottom: 22px;
  background-image: url("../img/bk3b.png");
}

.numbers-heading {
  text-align: center;
}

.numbers-heading h2 {
  margin: 0;
  color: var(--purple);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 300;
  letter-spacing: 0;
}

.numbers-heading p {
  margin: 10px 0 0;
  color: #050505;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 400;
}

.numbers-grid {
  width: min(1530px, calc(100% - 58px));
  margin: 70px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 92px;
}

.number-item {
  display: grid;
  grid-template-columns: 106px 1fr;
  gap: 28px;
  align-items: center;
}

.number-item h3 {
  margin: 0;
  color: #000;
  font-size: 45px;
  font-weight: 600;
  line-height: 1;
}

.number-item strong {
  display: block;
  margin-top: 6px;
  color: #625f64;
  font-size: 24px;
  line-height: 1.08;
}

.number-item p {
  max-width: 330px;
  margin: 14px 0 0;
  color: #6a6670;
  font-size: 16px;
  line-height: 1.14;
}

.call-strip {
  position: relative;
  min-height: 136px;
  padding: 32px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  color: var(--white);
  background: var(--purple) url("../img/bk_info.jpg") center / cover no-repeat;
  overflow: hidden;
}

.call-strip::before,
.call-strip::after {
  position: absolute;
  width: 120px;
  height: 120px;
  content: "";
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
  transform: rotate(30deg);
}

.call-strip::before {
  left: -40px;
}

.call-strip::after {
  right: -36px;
}

.call-strip p {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
}

.call-strip a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 37px;
  font-weight: 400;
  transition: transform 0.25s ease;
}

.call-strip a img {
  width: 18px;
  height: 18px;
}

.call-strip a:hover {
  transform: scale(1.03);
}

.specialties-section {
  position: relative;
  padding: 96px 0 86px;
  overflow: hidden;
  background: var(--white);
}

.specialties-section::before,
.specialties-section::after {
  width: 43px;
  height: 207px;
}

.specialties-section::before {
  left: 10px;
  top: 310px;
  background-image: url("../img/bk3a.png");
}

.specialties-section::after {
  right: 18px;
  top: 332px;
  background-image: url("../img/bk3b.png");
}

.specialties-content {
  width: min(1232px, calc(100% - 44px));
  margin: 92px auto 0;
  display: grid;
  grid-template-columns: 430px 686px;
  gap: 86px;
  align-items: center;
}

.specialties-list {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 34px;
  align-items: center;
}

.accent-mark {
  width: 48px;
  height: 190px;
  align-self: start;
  margin-top: 10px;
  border-radius: 18px 0 18px 0;
  background: var(--purple);
}

.specialties-list h3 {
  margin: 0 0 28px;
  color: rgba(21, 159, 154, 0.82);
  font-size: 18px;
  font-weight: 600;
}

.specialties-list ul {
  margin: 0;
  padding-left: 23px;
  color: #5a5960;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.45;
}

.button-row.compact {
  margin-top: 38px;
  gap: 11px;
}

.specialties-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.specialties-gallery img {
  width: 100%;
  height: auto;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.specialties-gallery img:hover {
  filter: saturate(1.06);
  transform: scale(1.018);
  z-index: 1;
}

.specialties-page main,
.specialty-detail-page main {
  background: #f4f4f4;
}

.specialties-listing-section,
.specialty-detail-section {
  position: relative;
  padding: 96px 0 120px;
  overflow: hidden;
  background: #f4f4f4;
  scroll-margin-top: 0;
}

.specialties-listing-section::before,
.specialty-detail-section::before {
  position: absolute;
  left: -4px;
  top: 0;
  width: 124px;
  height: 350px;
  content: "";
  pointer-events: none;
  opacity: 0.55;
  background:
    linear-gradient(135deg, transparent 0 28%, #fff 28% 48%, transparent 48%),
    linear-gradient(45deg, transparent 0 22%, #fff 22% 40%, transparent 40%),
    linear-gradient(135deg, transparent 0 45%, #fff 45% 64%, transparent 64%);
}

.specialties-listing-content,
.specialty-detail-content {
  width: min(1400px, calc(100% - 48px));
  margin: 54px auto 0;
}

.specialties-listing-intro {
  max-width: 1395px;
}

.specialties-listing-intro p,
.specialty-detail-lead p,
.specialty-detail-body p {
  margin: 0;
  color: #24242a;
  font-size: 20px;
  line-height: 1.82;
}

.specialties-listing-intro p + p,
.specialty-detail-lead p + p,
.specialty-detail-body p + p {
  margin-top: 18px;
}

.specialties-listing-intro .btn {
  margin-top: 48px;
}

.specialties-listing-items {
  margin-top: 104px;
  display: grid;
  gap: 86px;
}

.specialties-empty {
  margin: 0;
  color: #24242a;
  font-size: 20px;
  line-height: 1.6;
}

.specialty-list-card {
  display: grid;
  grid-template-columns: minmax(360px, 520px) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.specialty-list-image {
  min-height: 275px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: var(--teal);
  color: #17171d;
  box-shadow: 8px 9px 0 rgba(0, 0, 0, 0.18);
  font-size: 20px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
}

.specialty-list-image img {
  width: 100%;
  height: 100%;
  min-height: 275px;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.specialty-list-image:hover {
  box-shadow: 10px 12px 0 rgba(0, 0, 0, 0.16);
  filter: saturate(1.04);
  transform: translateY(-3px);
}

.specialty-list-image:hover img {
  transform: scale(1.025);
}

.specialty-list-copy h2 {
  margin: 0 0 28px;
  color: var(--purple);
  font-size: 31px;
  line-height: 1.12;
}

.specialty-list-copy p {
  max-width: 820px;
  margin: 0;
  color: #24242a;
  font-size: 20px;
  line-height: 1.82;
}

.specialty-list-copy p + p {
  margin-top: 16px;
}

.specialty-list-copy .btn {
  margin-top: 36px;
}

.specialty-detail-intro {
  display: block;
}

.specialty-detail-intro::after {
  display: block;
  clear: both;
  content: "";
}

.specialty-detail-image {
  width: min(556px, 45%);
  float: left;
  margin: 0 40px 24px 0;
  overflow: hidden;
  border-radius: 18px;
  background: #0f6aaa;
}

.specialty-detail-image img {
  width: 100%;
  min-height: 310px;
  display: block;
  object-fit: cover;
}

.specialty-detail-body {
  margin-top: 28px;
}

.specialty-video-frame {
  width: min(860px, 100%);
  margin: 72px auto 0;
  aspect-ratio: 16 / 9;
  background: #111;
}

.specialty-video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.specialty-detail-action {
  margin-top: 52px;
  text-align: center;
}

.courses-page main,
.course-detail-page main {
  background: #f4f4f4;
}

.courses-listing-section,
.course-detail-section {
  position: relative;
  padding: 96px 0 120px;
  overflow: hidden;
  background: #f4f4f4;
  scroll-margin-top: 0;
}

.courses-listing-section::before,
.course-detail-section::before {
  position: absolute;
  left: -4px;
  top: 0;
  width: 124px;
  height: 350px;
  content: "";
  pointer-events: none;
  opacity: 0.55;
  background:
    linear-gradient(135deg, transparent 0 28%, #fff 28% 48%, transparent 48%),
    linear-gradient(45deg, transparent 0 22%, #fff 22% 40%, transparent 40%),
    linear-gradient(135deg, transparent 0 45%, #fff 45% 64%, transparent 64%);
}

.courses-listing-content,
.course-detail-content {
  width: min(1400px, calc(100% - 48px));
  margin: 54px auto 0;
}

.courses-listing-intro {
  max-width: 1395px;
}

.courses-listing-intro p,
.course-detail-lead p,
.course-detail-body p {
  margin: 0;
  color: #24242a;
  font-size: 20px;
  line-height: 1.82;
}

.courses-listing-intro p + p,
.course-detail-lead p + p,
.course-detail-body p + p {
  margin-top: 18px;
}

.courses-grid {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 58px 78px;
}

.courses-empty {
  grid-column: 1 / -1;
  margin: 0;
  color: #24242a;
  font-size: 20px;
  line-height: 1.6;
}

.course-card a {
  display: block;
  transition: transform 0.28s ease, filter 0.28s ease;
}

.course-card a:hover {
  filter: saturate(1.04);
  transform: translateY(-4px);
}

.course-card-image {
  min-height: 288px;
  margin: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #26242a;
  background: var(--purple);
  border-radius: 5px 5px 0 0;
  font-size: 20px;
}

.course-card-image img {
  width: 100%;
  height: 100%;
  min-height: 288px;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.course-card-image-with-placeholder {
  padding: 38px;
  background: #f5f4f8;
  box-shadow: inset 0 0 0 1px rgba(132, 120, 178, 0.16);
}

.course-card-image .course-card-image-placeholder {
  width: min(78%, 310px);
  height: auto;
  min-height: 0;
  object-fit: contain;
}

.course-card a:hover .course-card-image img {
  transform: scale(1.03);
}

.course-card-title {
  min-height: 92px;
  padding: 18px 22px;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 0 0 5px 5px;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.course-card-title h2 {
  margin: 0;
  color: var(--purple);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

.course-detail-intro {
  display: grid;
  grid-template-columns: minmax(360px, 556px) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.course-detail-image {
  min-height: 314px;
  margin: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #26242a;
  background: var(--purple);
}

.course-detail-image img {
  width: 100%;
  height: 100%;
  min-height: 314px;
  object-fit: cover;
}

.course-detail-body {
  margin-top: 46px;
}

.course-video-frame {
  width: min(640px, 100%);
  margin: 72px auto 0;
  aspect-ratio: 16 / 9;
  background: #111;
}

.course-video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.course-detail-action {
  margin-top: 52px;
  text-align: center;
}

.btn-course-contact {
  background: var(--teal);
}

.btn-course-contact:hover {
  background: var(--teal-dark);
}

.blog-page main,
.blog-detail-page main {
  background: #f4f4f4;
}

.blog-listing-section,
.blog-detail-section {
  position: relative;
  padding: 96px 0 120px;
  overflow: hidden;
  background: #f4f4f4;
  scroll-margin-top: 0;
}

.blog-detail-section.blog-detail-section-compact {
  padding-bottom: 72px;
}

.blog-listing-section::before,
.blog-detail-section::before {
  position: absolute;
  left: -4px;
  top: 0;
  width: 124px;
  height: 350px;
  content: "";
  pointer-events: none;
  opacity: 0.55;
  background:
    linear-gradient(135deg, transparent 0 28%, #fff 28% 48%, transparent 48%),
    linear-gradient(45deg, transparent 0 22%, #fff 22% 40%, transparent 40%),
    linear-gradient(135deg, transparent 0 45%, #fff 45% 64%, transparent 64%);
}

.blog-listing-content,
.blog-detail-content {
  width: min(1400px, calc(100% - 48px));
  margin: 54px auto 0;
}

.blog-listing-intro {
  max-width: 1395px;
}

.blog-listing-intro p,
.blog-detail-text p {
  margin: 0;
  color: #24242a;
  font-size: 20px;
  line-height: 1.82;
}

.blog-listing-intro p + p,
.blog-detail-text p + p {
  margin-top: 18px;
}

.blog-grid {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px 38px;
}

.blog-empty {
  grid-column: 1 / -1;
  margin: 0;
  color: #24242a;
  font-size: 20px;
  line-height: 1.6;
}

.blog-card a {
  display: block;
  text-align: center;
  transition: transform 0.28s ease, filter 0.28s ease;
}

.blog-card a:hover {
  filter: saturate(1.05);
  transform: translateY(-4px);
}

.blog-card-image {
  aspect-ratio: 4 / 3;
  min-height: 0;
  margin: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: rgba(0, 0, 0, 0.36);
  background: #00783a;
  border-radius: 8px;
  box-shadow: 5px 6px 0 rgba(0, 0, 0, 0.22);
  font-size: 19px;
  text-transform: uppercase;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s ease;
}

.blog-card-image-placeholder {
  padding: 38px;
  background: #f5f4f8;
  box-shadow: inset 0 0 0 1px rgba(132, 120, 178, 0.16);
}

.blog-card-image-placeholder img {
  width: min(78%, 310px);
  height: auto;
  min-height: 0;
  object-fit: contain;
}

.blog-card a:hover .blog-card-image img {
  transform: scale(1.03);
}

.blog-card h2 {
  max-width: 380px;
  margin: 22px auto 0;
  color: #222127;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.12;
}

.blog-detail-main-image {
  width: min(556px, 100%);
  margin: 0 auto 42px;
  overflow: hidden;
}

.blog-detail-main-image img,
.blog-detail-side-image img {
  width: 100%;
  min-height: 312px;
  object-fit: cover;
}

.blog-detail-text {
  margin: 0;
}

.blog-detail-row {
  margin-top: 66px;
  display: grid;
  grid-template-columns: minmax(360px, 556px) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.blog-detail-row.no-image {
  grid-template-columns: 1fr;
}

.blog-detail-side-image {
  margin: 0;
  overflow: hidden;
}

.blog-video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
}

.blog-video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.location-section {
  position: relative;
  padding: 96px 0 126px;
  overflow: hidden;
  background: #f4f4f4;
  scroll-margin-top: 0;
}

.location-section::before {
  position: absolute;
  left: -4px;
  top: 0;
  width: 124px;
  height: 350px;
  content: "";
  pointer-events: none;
  opacity: 0.55;
  background:
    linear-gradient(135deg, transparent 0 28%, #fff 28% 48%, transparent 48%),
    linear-gradient(45deg, transparent 0 22%, #fff 22% 40%, transparent 40%),
    linear-gradient(135deg, transparent 0 45%, #fff 45% 64%, transparent 64%);
}

.location-content {
  width: min(1400px, calc(100% - 48px));
  margin: 56px auto 0;
}

.location-copy {
  max-width: 1390px;
}

.location-copy p {
  margin: 0;
  color: #24242a;
  font-size: 20px;
  line-height: 1.82;
}

.location-copy p + p {
  margin-top: 34px;
}

.location-maps {
  margin-top: 58px;
  display: grid;
  gap: 28px;
}

.location-unit h2 {
  margin: 0 0 22px;
  color: #202026;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.25;
}

.location-unit h2 span {
  margin-right: 8px;
  font-size: 28px;
  vertical-align: -1px;
}

.location-map-frame {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: #ddd;
  min-height: 292px;
}

.location-map-frame iframe {
  display: block;
  width: 100%;
  min-height: 292px;
  height: 100%;
  border: 0;
  transition: filter 0.35s ease, transform 0.7s ease;
}

.location-map-frame:hover iframe {
  filter: saturate(1.05);
}

.contact-page main {
  background: #f4f4f4;
}

.contact-section {
  position: relative;
  padding: 96px 0 112px;
  overflow: hidden;
  background: #f4f4f4;
  scroll-margin-top: 0;
}

.contact-section::before {
  position: absolute;
  left: -4px;
  top: 0;
  width: 124px;
  height: 350px;
  content: "";
  pointer-events: none;
  opacity: 0.55;
  background:
    linear-gradient(135deg, transparent 0 28%, #fff 28% 48%, transparent 48%),
    linear-gradient(45deg, transparent 0 22%, #fff 22% 40%, transparent 40%),
    linear-gradient(135deg, transparent 0 45%, #fff 45% 64%, transparent 64%);
}

.contact-content {
  width: min(1400px, calc(100% - 48px));
  margin: 54px auto 0;
}

.contact-copy {
  max-width: 1395px;
}

.contact-copy p {
  margin: 0;
  color: #24242a;
  font-size: 20px;
  line-height: 1.82;
}

.contact-copy p + p {
  margin-top: 4px;
}

.contact-highlight {
  margin-bottom: 42px !important;
}

.contact-details {
  margin: 42px 0 0;
  color: #111116;
  font-size: 20px;
  line-height: 1.48;
}

.contact-details div + div {
  margin-top: 2px;
}

.contact-details dt,
.contact-details dd {
  margin: 0;
}

.contact-details dd {
  font-weight: 600;
}

.contact-details a {
  transition: color 0.22s ease;
}

.contact-details a:hover {
  color: var(--teal);
}

.contact-closing {
  margin-top: 44px !important;
}

.contact-form {
  margin-top: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 22px;
  row-gap: 20px;
  align-items: start;
}

.contact-fields {
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #16161b;
  font-size: 20px;
  line-height: 1.2;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-radius: 0;
  outline: 1px solid transparent;
  background: #ededed;
  color: #222229;
  font: inherit;
  transition: background 0.2s ease, outline-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input {
  height: 45px;
  padding: 0 14px;
}

.contact-form textarea {
  min-height: 305px;
  padding: 14px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: #fff;
  outline-color: rgba(21, 159, 154, 0.38);
  box-shadow: 0 0 0 4px rgba(21, 159, 154, 0.08);
}

.contact-submit {
  width: min(100%, 300px);
  min-height: 50px;
  margin-top: 2px;
  justify-self: end;
  grid-column: 2;
  border: 0;
  border-radius: 4px;
  background: var(--teal);
  color: #fff;
  font: inherit;
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.contact-submit:hover,
.contact-submit:focus-visible {
  background: var(--teal-dark);
  box-shadow: 0 12px 22px rgba(21, 159, 154, 0.22);
  transform: translateY(-2px);
}

.site-footer {
  color: var(--white);
  background: var(--purple) url("../img/bk_info.jpg") center / cover no-repeat;
}

.footer-main {
  width: min(1780px, calc(100% - 80px));
  min-height: 292px;
  margin: 0 auto;
  padding: 46px 0 30px;
  display: grid;
  grid-template-columns: 210px 330px 430px 230px 350px;
  gap: 54px;
  align-items: start;
}

.footer-logo img {
  width: 185px;
  filter: brightness(0) invert(1);
}

.site-footer address,
.site-footer p {
  margin: 0;
  font-style: normal;
  font-size: 20px;
  line-height: 1.45;
}

.site-footer strong {
  display: block;
  font-size: 20px;
  font-weight: 500;
}

.site-footer a {
  display: block;
  transition: opacity 0.2s ease;
}

.site-footer a:hover {
  opacity: 0.78;
}

.footer-units p + p {
  margin-top: 6px;
}

.social-icons {
  display: flex;
  gap: 24px;
  margin: 18px 0 20px;
}

.social-icons img {
  width: 71px;
  height: 71px;
  transition: transform 0.25s ease;
}

.social-icons a:hover img {
  transform: translateY(-4px);
}

.footer-bottom {
  min-height: 50px;
  padding: 12px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.52);
  font-size: 17px;
}

.whatsapp-float {
  position: fixed;
  right: 34px;
  bottom: 42px;
  z-index: 25;
  width: 103px;
  height: 106px;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.04);
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.18));
}

.about-page main {
  background: #f4f4f4;
}

.about-hero {
  position: relative;
  padding: 96px 0 64px;
  overflow: hidden;
}

.about-hero::before {
  position: absolute;
  left: 0;
  top: 30px;
  width: 101px;
  height: 318px;
  content: "";
  pointer-events: none;
  background: url("../img/bk2a.png") center / contain no-repeat;
}

.about-intro {
  width: min(1400px, calc(100% - 48px));
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: 820px 480px;
  gap: 80px;
  align-items: start;
}

.about-copy p,
.about-principles p,
.about-environments p {
  margin: 0;
  color: #24242a;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.82;
}

.about-copy p + p {
  margin-top: 38px;
}

.about-principles p + p,
.about-environments p + p {
  margin-top: 18px;
}

.about-contact {
  margin-top: 54px;
}

.about-photo-placeholder {
  min-height: 566px;
  margin: 0;
  display: grid;
  place-items: center;
  color: #30323a;
  background: var(--teal);
  border-radius: 10px;
  box-shadow: 6px 7px 0 rgba(0, 0, 0, 0.18);
}

.about-photo-placeholder.has-image {
  overflow: hidden;
  background: #fff;
}

.about-photo-placeholder.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-photo-placeholder figcaption {
  display: grid;
  gap: 16px;
  font-size: 19px;
  line-height: 1.2;
}

.about-principles {
  width: min(1400px, calc(100% - 48px));
  margin: 0 auto;
  padding: 20px 0 56px;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 116px;
}

.about-principles h2,
.about-environments h2 {
  margin: 0 0 34px;
  color: #202026;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
}

.values-block {
  margin-top: 62px;
}

.about-video {
  padding: 10px 0 84px;
}

.video-frame {
  position: relative;
  width: min(600px, calc(100% - 48px));
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  overflow: hidden;
  background: #111;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.about-environments {
  width: min(1400px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 104px;
}

.about-environments.no-gallery {
  padding-bottom: 72px;
}

.about-principles + .about-environments.no-gallery.no-environment-copy {
  margin-top: -20px;
}

.environment-gallery {
  margin-top: 62px;
  display: grid;
  grid-template-columns: repeat(4, 300px);
  justify-content: space-between;
  gap: 44px 38px;
}

.environment-gallery a {
  display: block;
  box-shadow: 5px 6px 0 rgba(0, 0, 0, 0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.environment-gallery a:hover {
  transform: translateY(-4px);
  filter: saturate(1.08);
  box-shadow: 8px 10px 0 rgba(0, 0, 0, 0.14);
}

.environment-gallery img {
  width: 100%;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 32px;
  background: rgba(18, 18, 24, 0.82);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 84vh;
  border-radius: 4px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  transform: scale(0.96);
  transition: transform 0.28s ease;
}

.lightbox.is-open img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.26);
  transform: rotate(90deg);
}

.about-final-action {
  margin-top: 66px;
  display: flex;
  justify-content: center;
}

.about-environments.no-gallery .about-final-action {
  margin-top: 24px;
}

.about-environments.no-gallery.no-environment-copy .about-final-action {
  margin-top: 0;
}

.section-reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.specialties-page .section-reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

@media (max-width: 1500px) {
  .header-inner {
    gap: 52px;
  }

  .main-nav {
    gap: 26px;
    font-size: 18px;
  }

  .studio-content {
    gap: 58px;
  }

  .numbers-grid {
    gap: 42px;
  }

  .footer-main {
    grid-template-columns: 160px 300px 1fr 210px 260px;
    gap: 34px;
  }

  .about-intro,
  .about-principles,
  .about-environments {
    width: min(1220px, calc(100% - 48px));
  }

  .about-intro {
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 58px;
  }

  .environment-gallery {
    grid-template-columns: repeat(4, minmax(0, 300px));
  }
}

@media (max-width: 1180px) {
  .header-inner {
    min-height: 150px;
    justify-content: space-between;
    gap: 24px;
  }

  .brand {
    flex-basis: auto;
  }

  .brand img {
    width: 210px;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    transition: max-height 0.32s ease;
  }

  .main-nav.is-open {
    max-height: 460px;
  }

  .main-nav a {
    padding: 16px 28px;
    border-top: 1px solid #eeeeee;
  }

  .main-nav a::after {
    left: 28px;
    bottom: 10px;
    width: 56px;
  }

  .hero-grid,
  .studio-content,
  .specialties-content {
    grid-template-columns: 1fr;
  }

  .hero-side {
    grid-template-columns: repeat(2, 1fr);
  }

  .studio-section {
    padding-top: 86px;
  }

  .studio-content {
    max-width: 760px;
  }

  .studio-text {
    padding-left: 0;
  }

  .numbers-grid {
    max-width: 760px;
    grid-template-columns: 1fr;
  }

  .specialties-content {
    max-width: 760px;
    gap: 50px;
  }

  .location-content {
    max-width: 760px;
  }

  .courses-listing-content,
  .course-detail-content,
  .blog-listing-content,
  .blog-detail-content {
    max-width: 760px;
  }

  .courses-grid,
  .course-detail-intro,
  .blog-detail-row {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-intro,
  .principles-grid {
    grid-template-columns: 1fr;
  }

  .about-intro {
    max-width: 760px;
  }

  .about-photo-placeholder {
    min-height: 520px;
  }

  .principles-grid {
    gap: 46px;
  }

  .environment-gallery {
    max-width: 660px;
    margin-inline: auto;
    grid-template-columns: repeat(2, 300px);
    justify-content: center;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 108px;
  }

  section,
  footer,
  [id] {
    scroll-margin-top: 108px;
  }

  .studio-section::before,
  .studio-section::after,
  .numbers-section::before,
  .numbers-section::after,
  .specialties-section::before,
  .specialties-section::after,
  .specialties-listing-section::before,
  .specialty-detail-section::before,
  .courses-listing-section::before,
  .course-detail-section::before,
  .blog-listing-section::before,
  .blog-detail-section::before,
  .location-section::before,
  .contact-section::before,
  .about-hero::before,
  .call-strip::before,
  .call-strip::after {
    display: none;
  }

  .top-line {
    height: 8px;
  }

  .header-inner {
    width: min(100% - 28px, var(--container));
    min-height: 96px;
  }

  .brand img {
    width: 165px;
  }

  .quick-contact {
    display: none;
  }

  .hero-section {
    padding-top: 8px;
  }

  .hero-grid {
    width: calc(100% - 22px);
    gap: 10px;
  }

  .hero-side {
    gap: 10px;
  }

  .studio-section,
  .numbers-section,
  .specialties-section,
  .specialties-listing-section,
  .specialty-detail-section,
  .courses-listing-section,
  .course-detail-section,
  .blog-listing-section,
  .blog-detail-section,
  .location-section,
  .contact-section {
    padding: 64px 0;
  }

  .section-title h1,
  .section-title h2 {
    font-size: 34px;
  }

  .studio-content,
  .specialties-content,
  .specialties-listing-content,
  .specialty-detail-content,
  .courses-listing-content,
  .course-detail-content,
  .blog-listing-content,
  .blog-detail-content,
  .location-content,
  .contact-content,
  .numbers-grid {
    width: calc(100% - 32px);
    margin-top: 46px;
  }

  .studio-text h2 {
    font-size: 20px;
  }

  .studio-text p {
    font-size: 17px;
    line-height: 1.42;
  }

  .button-row {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    min-width: 0;
  }

  .numbers-heading h2 {
    font-size: 40px;
  }

  .numbers-heading p {
    width: calc(100% - 32px);
    margin-inline: auto;
    font-size: 20px;
  }

  .number-item {
    grid-template-columns: 86px 1fr;
    gap: 18px;
  }

  .number-item img {
    width: 86px;
  }

  .number-item h3 {
    font-size: 36px;
  }

  .number-item strong {
    font-size: 20px;
  }

  .call-strip {
    min-height: auto;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .call-strip a {
    font-size: 30px;
  }

  .specialties-list {
    grid-template-columns: 32px 1fr;
    gap: 20px;
  }

  .accent-mark {
    width: 32px;
    height: 150px;
  }

  .specialties-list ul {
    font-size: 22px;
  }

  .specialties-gallery {
    grid-template-columns: 1fr;
  }

  .specialties-listing-intro p,
  .specialty-detail-lead p,
  .specialty-detail-body p,
  .specialty-list-copy p,
  .courses-listing-intro p,
  .course-detail-lead p,
  .course-detail-body p,
  .blog-listing-intro p,
  .blog-detail-text p {
    font-size: 17px;
    line-height: 1.62;
  }

  .specialties-listing-items {
    margin-top: 64px;
    gap: 58px;
  }

  .specialty-list-card,
  .specialty-detail-intro {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .specialty-detail-image {
    width: 100%;
    float: none;
    margin: 0 0 30px;
    border-radius: 14px;
  }

  .specialty-list-image,
  .specialty-list-image img {
    min-height: 210px;
  }

  .specialty-list-copy h2 {
    margin-bottom: 18px;
    font-size: 26px;
  }

  .specialty-list-copy .btn {
    margin-top: 28px;
  }

  .specialty-detail-image img {
    min-height: 220px;
  }

  .specialty-detail-body {
    margin-top: 34px;
  }

  .specialty-video-frame {
    margin-top: 46px;
  }

  .specialty-detail-action {
    margin-top: 40px;
  }

  .courses-grid {
    margin-top: 48px;
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .course-card-image,
  .course-card-image img {
    min-height: 210px;
  }

  .course-card-title {
    min-height: 76px;
    padding: 14px 16px;
  }

  .course-card-title h2 {
    font-size: 21px;
  }

  .course-detail-intro {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .course-detail-image,
  .course-detail-image img {
    min-height: 220px;
  }

  .course-detail-body {
    margin-top: 34px;
  }

  .course-video-frame {
    margin-top: 46px;
  }

  .course-detail-action {
    margin-top: 40px;
  }

  .blog-grid {
    margin-top: 48px;
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .blog-card-image,
  .blog-card-image img {
    min-height: 210px;
  }

  .blog-card h2 {
    margin-top: 16px;
    font-size: 18px;
  }

  .blog-detail-main-image {
    margin-bottom: 32px;
  }

  .blog-detail-main-image img,
  .blog-detail-side-image img {
    min-height: 220px;
  }

  .blog-detail-row {
    margin-top: 42px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .blog-detail-row-reverse .blog-detail-side-image {
    order: -1;
  }

  .location-copy p {
    font-size: 17px;
    line-height: 1.62;
  }

  .location-copy p + p {
    margin-top: 24px;
  }

  .location-maps {
    margin-top: 40px;
    gap: 26px;
  }

  .location-unit h2 {
    margin-bottom: 16px;
    font-size: 22px;
  }

  .location-map-frame,
  .location-map-frame iframe {
    min-height: 210px;
  }

  .contact-copy p {
    font-size: 17px;
    line-height: 1.62;
  }

  .contact-highlight {
    margin-bottom: 28px !important;
  }

  .contact-details {
    margin-top: 32px;
    font-size: 17px;
  }

  .contact-closing {
    margin-top: 32px !important;
  }

  .contact-form {
    margin-top: 36px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-form label {
    font-size: 17px;
  }

  .contact-form input {
    height: 46px;
  }

  .contact-form textarea {
    min-height: 220px;
  }

  .contact-submit {
    width: 100%;
    grid-column: 1;
  }

  .footer-main {
    width: calc(100% - 36px);
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-logo img {
    width: 150px;
  }

  .site-footer address,
  .site-footer p,
  .site-footer strong {
    font-size: 17px;
  }

  .footer-bottom {
    padding: 14px 18px;
    flex-direction: column;
    gap: 6px;
    text-align: center;
    font-size: 14px;
  }

  .whatsapp-float {
    right: 18px;
    bottom: 22px;
    width: 72px;
    height: 74px;
  }

  .about-hero {
    padding: 64px 0 44px;
  }

  .about-intro,
  .about-principles,
  .about-environments {
    width: calc(100% - 32px);
  }

  .about-intro {
    margin-top: 44px;
    gap: 42px;
  }

  .about-copy p,
  .about-principles p,
  .about-environments p {
    font-size: 17px;
    line-height: 1.62;
  }

  .about-copy p + p {
    margin-top: 24px;
  }

  .about-contact {
    margin-top: 34px;
  }

  .about-photo-placeholder {
    min-height: 420px;
  }

  .about-principles h2,
  .about-environments h2 {
    margin-bottom: 20px;
    font-size: 27px;
  }

  .values-block {
    margin-top: 44px;
  }

  .about-video {
    padding-bottom: 58px;
  }

  .video-frame {
    width: calc(100% - 32px);
  }

  .about-environments {
    padding-bottom: 70px;
  }

  .environment-gallery {
    margin-top: 36px;
    grid-template-columns: minmax(0, 300px);
    gap: 28px;
  }

  .lightbox {
    padding: 18px;
  }

  .lightbox img {
    max-width: 94vw;
    max-height: 78vh;
  }

  .about-final-action {
    margin-top: 46px;
  }
}

@media (max-width: 520px) {
  .hero-side {
    grid-template-columns: 1fr;
  }

  .section-title h1,
  .section-title h2 {
    font-size: 30px;
  }

  .numbers-heading h2 {
    font-size: 34px;
  }

  .number-item {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .number-item img {
    margin: 0 auto;
  }

  .number-item p {
    margin-inline: auto;
  }
}
