html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
@font-face {
  font-family: "Comfortaa";
  src: url("../fonts/static/Comfortaa-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Comfortaa";
  src: url("../fonts/static/Comfortaa-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Comfortaa";
  src: url("../fonts/static/Comfortaa-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Comfortaa";
  src: url("../fonts/static/Comfortaa-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Comfortaa";
  src: url("../fonts/static/Comfortaa-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #315f86;
  --ink-dark: #214e74;
  --muted: #6f91ad;
  --sky: #dff0ff;
  --sky-2: #cfe8fb;
  --panel: #f9fcff;
  --white: #fff;
  --coral: #f16d69;
  --coral-dark: #e95b5b;
  --line: #bfd9ec;
  --shadow: 0 18px 40px rgba(62, 117, 158, 0.14);
  --radius: 22px;
}
* {
  box-sizing: border-box;
}
html, body {
  background: #3f779f;
  scroll-behavior: smooth;
   overscroll-behavior-y: none;
}
body {
  margin: 0;
  font-family: "Nunito", sans-serif;
  color: var(--ink);
  background: #b9dcf6;
}
body.menu-open {
  overflow: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
button,
input,
textarea {
  font: inherit;
}
.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #b9dcf6;
  display: flex;
  flex-direction: column;
}
.page-shell main {
  flex: 1 0 auto;
}
.site-footer {
  margin-top: auto;
}
body .container {
  max-width: 1180px;
  margin-inline: auto;
  position: relative;
  /* z-index: 2; */
  padding-left: 14px;
  padding-right: 14px;
}
.decor {
  position: absolute;
  inset-block: 0;
  width: 220px;
  pointer-events: none;
  opacity: 0.9;
  background-repeat: repeat-y;
  background-size: 200px auto;
  z-index: 0;
}
.decor-left {
  left: -24px;
  background-image: url("assets/images/decor-left.svg");
}
.decor-right {
  right: -24px;
  background-image: url("assets/images/decor-right.svg");
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 15px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 360px;
}
.brand-avatar {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(60, 110, 150, 0.2);
  border: 4px solid rgba(255, 255, 255, 0.65);
}
.brand strong {
  display: block;
  font-family: "Caveat", cursive;
  font-size: 31px;
  line-height: 0.9;
  color: var(--ink-dark);
}
.brand span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 700;
  margin-top: -44px;
}
.main-nav a,
.main-nav span {
  position: relative;
  padding: 10px 0;
  transition: 0.25s ease;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--coral);
}
.main-nav a.active:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
}
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px;
  background: var(--ink-dark);
}
.hero {
  min-height: 530px;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: center;
  padding: 0px 0 56px;
}
.hero-copy {
  padding-left: 18px;
}
.eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7da0bb;
  margin: 0 0 12px;
}
.hero h1,
.section-heading h2,
.about-copy h2,
.contact-copy h2 {
  /* font-family: "Bad Script", cursive; */
  font-family: "Comfortaa", sans-serif;

  color: var(--ink-dark);
}
.hero h1 {
  font-size: 64px;
  line-height: 0.92;
  margin: 0 0 23px;
  letter-spacing: -0.01em;
}
.hero h1 span {
  color: var(--coral);
  font-size: 0.74em;
}
.hero-text {
  max-width: 450px;
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 28px;
  font-weight: 600;
  color: #3a7db1;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  border: 0;
  border-radius: 21px;
  min-height: 52px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn:hover {
  transform: translateY(-3px);
}
.btn-primary {
  background: linear-gradient(180deg, #ff817a, #ed5e5d);
  color: #fff;
  box-shadow: 0 12px 24px rgba(235, 91, 91, 0.25);
  padding: 14px;
  justify-content: center;

  position: relative;
}
.heart-btn {
  padding: 18px;
  /* transition: all 0.1s ease; */
}
/* .heart-btn:hover {
  background: linear-gradient(180deg, #7a97ff, #5d8fed);
} */
.btn-primary span {
  font-size: 25px;

  font-weight: 400;
}
.heart-icon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}
.btn-light {
  color: var(--ink);
  border: 2px solid var(--ink);
}
.btn-light span {
  font-size: 25px;
  font-weight: 400;
}
.hero-benefits {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  max-width: 650px;
}

.hero-benefits > div {
  display: grid;
  grid-template-columns: 36px 1fr;
  column-gap: 8px;
  align-items: center;

  position: relative;

  padding-right: 18px;
  margin-right: 18px;
}

.hero-benefits > div:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(to bottom, #0000003b, #0000003b 20%, #0000003b 80%, #0000003b);
}
.benefit-icon {
  grid-row: 1 / 3;
  width: 34px;
  height: 34px;
  border: 1px solid #a9c8df;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(255, 255, 255);
  font-size: 18px;
  color: var(--ink);
  overflow: hidden; 
}

.benefit-icon span {
  font-size: 34px;
  line-height: 1;
}
.benefit-icon img {
  filter: brightness(0) saturate(100%) invert(31%) sepia(33%) saturate(1045%) hue-rotate(167deg) brightness(92%)
    contrast(91%);
}
.hero-benefits b {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.hero-benefits small {
  font-size: 13px;
  color: #3b6d94;
  font-weight: 500;
  line-height: 1.2;
}
.hero-art {
  min-height: 450px;
  display: grid;
  place-items: center;
  position: relative;
}
.paint-blob {
  position: absolute;
  /* width: 470px;
  height: 390px; */
  border-radius: 48% 52% 56% 44%;

  transform: rotate(-8deg);
}
.photo-frame {
  position: relative;
  width: 374px;

  transform: rotate(3deg);
  z-index: 2;
}
.photo-frame:before {
  content: "";
  position: absolute;
  inset: -20px -18px;
  pointer-events: none;
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.photo-frame img.is-active {
  opacity: 1;
}
.photo-frame img:not(.is-active) {
  position: absolute;
  inset: 0;
}

.round-note {
  position: absolute;
  right: -3%;
  bottom: 2%;
  width: 126px;
  height: 118px;
  padding: 10px;
  border-radius: 50%;
  background: linear-gradient(145deg, #4781a8, #4b82af);
  color: #fff;
  display: flex;
  flex-direction: column;
  place-items: center;
  align-items: center;
  text-align: center;

  justify-content: center;
  font-size: 18px;
  line-height: 1;
  transform: rotate(360deg);
  box-shadow: 0 14px 30px rgba(41, 91, 128, 0.22);
  z-index: 3;
  line-height: 20px !important;
}
.hero-sticker {
  position: absolute;
  color: var(--coral);
  font-family: "Caveat";
  font-size: 38px;
  z-index: 1;
}
.sticker-ghost {
  right: 76px;
  top: 30px;
}
.sticker-star {
  left: 40px;
  bottom: 70px;
  color: #86b2d4;
}
.float-card {
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  50% {
    transform: rotate(1deg) translateY(-10px);
  }
}
.about-card {
  display: grid;
  grid-template-columns: 220px 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 28px;
  padding: 10px 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.about-portrait {
  width: 234px;
  height: 226px;
}
.about-copy h2 {
  font-size: 32px;
  margin: 0;
  color: #3b6d94;
  margin-bottom: 20px;
}
.about-copy h2 span {
  color: var(--coral);
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 7px;
}
.about-copy h3 {
  font-size: 16px;
  margin: 2px 0 10px;
}
.about-copy p {
  font-size: 13px;
  line-height: 1.7;
  color: #4984b4;
  text-align: left;
}
.about-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.about-pills span {
  background: #e2f4ff;
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 12px;
  font-weight: 800;
}
.about-pills span:nth-child(3) {
  display: flex;
  align-items: center;
  gap: 5px;
}
.about-facts {
  display: grid;
  gap: 14px;
}
.about-facts article {
  display: flex;

  gap: 10px;
  align-items: center;
}
.about-facts article > span {
  font-size: 45px;
  color: var(--coral);
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  display: flex;
  justify-content: center;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.65);
}
.fact-text {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.fact-icon {
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  border-radius: 30px;
  padding: 6px;
}
.fact-icon img {
  width: 34px;
}
.about-facts b {
  display: block;
  font-size: 14px;
  color: #3b6d94;
}
.about-facts small {
  font-size: 12px;
  line-height: 1.4;
  color: #3b6d94;
}
.section {
  padding: 20px 0 8px;
}
.section-heading {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.section-heading span {
  color: var(--coral);
  font-size: 24px;
}
.section-heading h2 {
  font-size: 37px;
  margin: 0;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.service-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  align-items: center;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 10px 22px rgba(65, 120, 160, 0.09);
  transition: 0.25s ease;
}
.service-card:hover {
  transform: translateY(-6px) rotate(-0.4deg);
}
.service-visual {
  height: 125px;
  width: 90px;
  border-radius: 14px;
  overflow: hidden;
}
.service-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.service-card h3 {
  font-size: 18px;
  margin: 0 0 10px;
  font-weight: 700;
  line-height: 1.2;
}
.service-card p {
  font-size: 13px;
  line-height: 1.4;
  margin: 0;
  font-weight: 600;
  color: #5b8cb4;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.work-card {
  background: rgb(255 255 255);
  padding: 12px;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(58, 111, 151, 0.12);
  transition: 0.28s ease;
  position: relative;
}
.work-card:hover {
  transform: translateY(-7px);
}
.work-image {
  aspect-ratio: 1.28;
  /* border: 10px solid #f5eee2;
  background: #dcecff;
  box-shadow: inset 0 0 0 1px #ddd0bd;
  overflow: hidden; */
}
.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work-card h3 {
  margin: 10px 0 1px;
  font-weight: 700;
}
.work-card .heart {
  position: absolute;
  right: 13px;
  bottom: 9px;
  color: #ed7b77;
  font-size: 18px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.blog-cards {
  background: rgb(255 255 255);
  border-radius: 16px;
  padding: 20px 12px;
  position: relative;
}

.blog-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.blog-cards span {
  position: absolute;
  right: 12px;
  top: 10px;
  font-size: 12px;
}
.blog-image {
  height: 122px;
  width: 167px;
  border-radius: 12px;
  overflow: hidden;
}
.blog-image img {
  width: 100%;
  height: 100%;
  /* object-fit: cont; */
}
.blog-card time {
  font-size: 12px;
  color: #89a8c4;
  display: flex;
  justify-content: end;
}
.blog-card h3 {
  font-size: 14px;
  line-height: 1.25;
  margin: 0 0 8px;
  font-weight: 700;
}
.blog-card p,
.blog-card a {
  font-size: 13px;
  color: #3b6d94;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 8px;
}
.blog-card p {
  color: #7894aa;
}
.blog-link {
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.1s ease-in-out;
}
.blog-link:hover {
  color: #ee4629;
}
.blog-link svg {
  color: #3b6d94;
  transition: color 0.2s ease;
}

.blog-link:hover svg path {
  fill: #ee4629 !important;
}
.blog-more {
  border-radius: 21px;
  padding: 14px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto;
  min-height: unset;
  font-weight: 800;
  cursor: pointer;
  margin-top: 12px;
  transition: all 0.1s ease-in-out !important;
}
.blog-more:hover {
  transform: translateY(0);
  color: #fff;
  background: linear-gradient(180deg, #ff817a, #ed5e5d);
}
.blog-more:hover svg path {
  fill: #fff !important;
}
.container-form {
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 100;
  padding: 0 14px;
}
.contact-panel {
  margin-top: 35px;
  margin-bottom: 0;
  background: rgb(221 241 255);
  border: 1px solid #fff;
  border-radius: 26px;
  padding: 24px 30px;
  display: grid;
  grid-template-columns: 190px 1fr 1.1fr;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow);
}
.contact-art {
  height: 233px;
  width: 211px;
}
.contact-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.contact-copy h2 {
  font-size: 29px;
  margin: 0 0 10px;
}
.contact-copy p {
  font-size: 14px;
  color: #728fa7;
  line-height: 1.5;
  margin: 0 0 12px;
}
.contact-info {
  display: flex;
  align-items: center;
  gap: 30px;
}
.contact-block {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.8;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-block a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  transition: all 0.25s ease-in-out;
}
.contact-info a:hover {
  color: #ed5e5d;
}
.social-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10%;
}
.social-info a img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.location-icon {
  background: #3b6d94;
  border-radius: 30px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-form {
  display: grid;
  gap: 8px;
}
.contact-form label > span:not(.wpcf7-form-control-wrap) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #3f6b9b;
  outline: 0;
  background: rgba(255, 255, 255, 0.86);
  border-radius: 11px;
  padding: 11px 14px;
  color: var(--ink);
  margin-bottom: 11px;
  box-shadow: inset 0 0 0 1px rgba(180, 209, 230, 0.5);
}
.wpcf7 form .wpcf7-response-output {
  margin: 10px 0;
  padding: 0;
  border: none;
  color: #e95b5b;
  font-size: 14px;
}
span.wpcf7-not-valid-tip {
  display: none;
}
.wpcf7-not-valid {
  border: 1px solid red !important;
}
.contact-form .btn {
  width: 100%;
  min-height: 44px;
}
.contact-form small {
  text-align: center;
  font-size: 15px;
}
.site-footer {
  position: relative;
  z-index: 2;
  overflow: hidden;

  padding: 28px 0;

  color: #fff;
  /* background:
    linear-gradient(
      180deg,
      rgba(63, 119, 159, 0.92),
      rgba(39, 93, 134, 0.96)
    ),
    url("./../images/footer.png") center / cover no-repeat; */
  background-image: url("./../images/footer.png");
  background-size: cover;
  background-position: center;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background: linear-gradient(
    90deg,
    rgba(21, 67, 103, 0.12),
    transparent 30%,
    transparent 70%,
    rgba(21, 67, 103, 0.12)
  );
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(420px, 1.8fr) minmax(250px, 1fr);
  align-items: center;
  gap: 36px;
}

/* Логотип */

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-logo {
  color: #fff;
  font-family: "Caveat", cursive;
  font-size: clamp(26px, 2vw, 34px);
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.footer-brand span {
  display: flex;
  align-items: center;
  gap: 5px;

  font-size: 11px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.78);
}

.footer-brand b {
  color: #ff7b78;
  font-size: 11px;
}

/* Навігація */

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(170px, 1fr));
  gap: 28px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer-links a,
.footer-links span {
  position: relative;
  width: fit-content;

  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;

  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;

  width: 0;
  height: 1px;
  background: var(--coral);

  transition: width 0.25s ease;
}

.footer-links a:hover {
  color: var(--coral);
  transform: translateX(3px);
}

.footer-links a:hover::after {
  width: 100%;
}

/* Соцмережі */

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 11px;
}

.socials {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.socials a {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;

  color: #fff;
  text-decoration: none;

  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  backdrop-filter: blur(4px);

  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}
.socials a img {
  width: 40px;
  border-radius: 50%;
  height: 40px;
}
.socials a:hover {
  transform: translateY(-3px);
  background: #ff7773;
  border-color: #ff7773;
}

.footer-dev {
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  line-height: 1.4;
}
.footer-dev .footer-link {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: color 0.25s ease;
}
.footer-dev .footer-link:hover {
  color: var(--coral);
}
.footer-dev .lemur-icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  display: inline-block;
  margin: -6px -4px 0 0;
  background: currentColor;
  -webkit-mask: url("../images/lemur.svg") center / contain no-repeat;
  mask: url("../images/lemur.svg") center / contain no-repeat;
}

.socials a span {
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

.footer-social small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.4;
  text-align: right;
}

/* Планшет */

@media (max-width: 1100px) {
  .footer-inner {
    grid-template-columns: 1fr 1.6fr;
    align-items: start;
  }

  .footer-social {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer-social small {
    text-align: right;
  }
}

/* Невеликий планшет */

@media (max-width: 780px) {
  .site-footer {
    padding: 32px 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand {
    align-items: center;
    text-align: center;
  }

  .footer-nav {
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    gap: 18px;
  }

  .footer-links {
    align-items: center;
    text-align: center;
  }

  .footer-social {
    grid-column: auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .socials {
    justify-content: center;
  }

  .footer-social small {
    text-align: center;
  }
}

/* Телефон */

@media (max-width: 520px) {
  .site-footer {
    padding: 30px 0;
    background-position: center;
  }

  .footer-inner {
    gap: 24px;
  }

  .footer-logo {
    font-size: 30px;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 20px 12px;
  }

  .footer-links:last-child {
    grid-column: 1 / -1;
  }

  .footer-links a {
    font-size: 12px;
  }

  .footer-social small {
    max-width: 280px;
    font-size: 9px;
  }
}
.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: #2c668f;
  color: white;
  padding: 14px 20px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  transform: translateY(140%);
  opacity: 0;
  visibility: hidden;
  transition: 0.35s ease;
  z-index: 110;
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

/* ===== Модалка замовлення ===== */
section#contact {
  margin-bottom: 35px;
}

/* ===== Сторінка «Портфоліо» ===== */
.page-hero {
  text-align: center;
  padding: 30px 14px 10px;
}
.page-hero h1 {
  font-family: "Comfortaa", sans-serif;
  font-size: 44px;
  color: var(--ink-dark, #315f86);
  margin: 0 0 12px;
}
.breadcrumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #5b8cb4;
  margin-bottom: 22px;
}
.breadcrumbs a {
  color: #5b8cb4;
  transition: color 0.25s ease;
}
.breadcrumbs a:hover {
  color: var(--coral);
}
.category-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.category-pills a {
  padding: 10px 20px;
  border-radius: 21px;
  border: 2px solid var(--ink, #315f86);
  color: var(--ink, #315f86);
  font-weight: 700;
  font-size: 14px;
  transition: 0.25s ease;
}
.category-pills a:hover {
  border-color: var(--coral);
  color: var(--coral);
}
.category-pills a.active {
  background: linear-gradient(180deg, #ff817a, #ed5e5d);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 12px 24px rgba(235, 91, 91, 0.25);
}
/* ===== Текстові сторінки ===== */
.text-panel {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius, 22px);
  box-shadow: 0 10px 24px rgba(58, 111, 151, 0.12);
  padding: 34px 38px;
}
.text-panel h2 {
  font-size: 22px;
  color: var(--ink-dark, #315f86);
  margin: 26px 0 10px;
}
.text-panel h2:first-child {
  margin-top: 0;
}
.text-panel p {
  font-size: 15px;
  line-height: 1.65;
  color: #4d7191;
  margin: 0;
}
.text-panel p + h2 {
  margin-top: 26px;
}
.text-panel-image {
  margin: 0 0 18px;
  border-radius: 16px;
  overflow: hidden;
}
.text-panel-image img {
  width: 100%;
  object-fit: cover;
}
.text-panel-date {
  font-size: 13px;
  font-weight: 600;
  color: #5b8cb4;
  margin: 0 0 8px;
}

/* ===== Сторінка роботи ===== */
.work-detail {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
  align-items: start;
  background: #fff;
  border-radius: var(--radius, 22px);
  box-shadow: 0 10px 24px rgba(58, 111, 151, 0.12);
  padding: 26px;
}
.work-detail-image {
  border-radius: 16px;
  overflow: hidden;
}
.work-detail-image img {
  width: auto;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.work-detail-image a:hover img {
  transform: scale(1.03);
}
.work-detail-copy h2 {
  font-size: 24px;
  color: var(--ink-dark, #315f86);
  margin: 0 0 14px;
}
.work-detail-copy p {
  font-size: 15px;
  line-height: 1.65;
  color: #4d7191;
  margin: 0 0 14px;
}
.work-detail-copy blockquote {
  margin: 0 0 16px;
  padding: 14px 18px;
  background: #f2f8fe;
  border-radius: 14px;
}
.work-detail-copy blockquote li {
  font-size: 14px;
  line-height: 1.5;
  color: #4d7191;
  padding: 3px 0;
}
.work-detail-copy blockquote b {
  color: var(--ink-dark, #315f86);
}
.work-detail-cta {
  width: 100%;
  max-width: 320px;
}
.work-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.work-gallery a {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(58, 111, 151, 0.12);
  background: #fff;
  padding: 10px;
  transition: transform 0.28s ease;
}
.work-gallery a:hover {
  transform: translateY(-7px);
}
.work-gallery img {
  width: 100%;
  aspect-ratio: 1.28;
  object-fit: cover;
  border-radius: 10px;
}
@media (max-width: 860px) {
  .work-detail {
    grid-template-columns: 1fr;
  }
  .work-detail-cta {
    max-width: none;
  }
  .work-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .text-panel {
    padding: 24px 20px;
  }
}
@media (max-width: 480px) {
  .work-gallery {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .page-hero h1 {
    font-size: 32px;
  }
  .category-pills a {
    padding: 8px 14px;
    font-size: 13px;
  }
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal.is-open {
  visibility: visible;
  opacity: 1;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(38, 76, 104, 0.55);
  backdrop-filter: blur(3px);
}
.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--panel, #f9fcff);
  border-radius: var(--radius, 22px);
  box-shadow: var(--shadow);
  padding: 30px 26px 26px;
  transform: translateY(18px);
  transition: transform 0.3s ease;
}
.modal.is-open .modal-dialog {
  transform: none;
}
.modal-dialog h2 {
  font-size: 24px;
  margin: 0 0 8px;
  color: var(--ink-dark, #315f86);
}
.modal-dialog p {
  font-size: 14px;
  line-height: 1.45;
  color: #5b8cb4;
  margin: 0 0 18px;
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: none;
  font-size: 30px;
  line-height: 1;
  color: #5b8cb4;
  cursor: pointer;
  transition: color 0.25s ease, transform 0.25s ease;
}
.modal-close:hover {
  color: var(--coral);
  transform: rotate(90deg);
}
body.modal-open {
  overflow: hidden;
}
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.media-slot {
  position: relative;
}
/* .media-slot[data-label]:after {
  content: attr(data-label);
  position: absolute;
  inset: auto 8px 8px;
  background: rgba(34, 78, 112, 0.72);
  color: #fff;
  padding: 4px 8px;
  border-radius: 7px;
  font-size: 8px;
  opacity: 0;
  transition: 0.2s;
} */
.media-slot:hover:after {
  opacity: 1;
}
@media (max-width: 1162px) {
  .hero h1 {
    font-size: 56px;
  }
}
@media (max-width: 1116px) {
  .main-nav {
    gap: 15px;
    font-size: 16px;
  }
}

@media (max-width: 1050px) {
  /* .container {
    width: min(94%, 920px);
  } */
  .round-note {
    width: 115px;
    height: 110px;

    font-size: 16px;
  }
  /* .hero h1 {
    font-size: 56px;
  } */
  .photo-frame {
    width: 300px;
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-card {
    grid-template-columns: 220px 1fr;
    padding-bottom: 20px;
    gap: 16px;
  }
  .about-facts {
    grid-column: 1/-1;
    grid-template-columns: repeat(3, 1fr);
  }
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .contact-panel {
    grid-template-columns: 200px 1fr;
    margin-top: 20px;
  }
  .contact-form {
    grid-column: 1/-1;
    grid-template-columns: 1fr 1fr;
  }
  .contact-form label:last-of-type {
    grid-column: 1/-1;
  }
  .contact-form .btn,
  .contact-form small {
    grid-column: 1/-1;
  }
}
@media (max-width: 1036px) {
  .brand {
    width: 290px;
  }
  .hero-benefits {
    flex-wrap: wrap;
    gap: 12px;
  }
  .hero h1 {
    font-size: 52px;
  }
  .hero-benefits > div:not(:last-child)::after {
    display: none;
  }
  .hero {
    min-height: 500px;
    padding: 0px 0 15px;
  }
}
.menu-toggle {
  display: none;
  position: relative;
  width: 48px;
  height: 44px;
  padding: 0;
  margin-top: -20px;
  border: 1.5px solid #315f86;
  border-radius: 8px;
  background: rgb(255, 255, 255);

  cursor: pointer;
  z-index: 1002;

  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.9);
}

.menu-toggle span {
  position: absolute;
  left: 41%;

  width: 27px;
  height: 2px;

  border-radius: 100px;
  background: #315f86;

  transform: translateX(-50%);
  transform-origin: center;

  transition: top 0.3s ease, transform 0.3s ease, opacity 0.2s ease, background-color 0.25s ease;
}

.menu-toggle span:nth-child(1) {
  top: 9px;
}

.menu-toggle span:nth-child(2) {
  top: 17px;
}

.menu-toggle span:nth-child(3) {
  top: 25px;
}

/* Стан хрестика */

.menu-toggle.is-active span:nth-child(1) {
  top: 15px;
  transform: translateX(-50%) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-50%) scaleX(0);
}

.menu-toggle.is-active span:nth-child(3) {
  top: 15px;
  transform: translateX(-50%) rotate(-45deg);
}

.menu-toggle.is-active {
  background: #315f86;
  border-color: #315f86;
}

.menu-toggle.is-active span {
  background: #fff;
}

/* Затемнення сторінки */

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;

  visibility: hidden;
  opacity: 0;

  background: rgba(25, 57, 83, 0.28);
  backdrop-filter: blur(3px);

  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-overlay.is-visible {
  visibility: visible;
  opacity: 1;
}

/* Блокування прокрутки */

body.menu-open {
  overflow: hidden;
}
@media (max-width: 998px) {
  .hero h1 {
    font-size: 48px;
    margin-bottom: 10px;
  }
}
@media (max-width: 968px) {
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;

    width: min(390px, 88vw);
    padding: 132px 34px 40px;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;

    background: linear-gradient(180deg, rgba(242, 250, 255, 0.99), rgba(227, 243, 253, 0.99));

    box-shadow: -20px 0 50px rgba(40, 88, 125, 0.2);
    backdrop-filter: blur(18px);

    overflow-y: auto;
    z-index: 1000;

    visibility: hidden;
    opacity: 0;
    transform: translateX(100%);

    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease, visibility 0.35s ease;
  }

  .main-nav.open {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
  }

  .main-nav a {
    position: relative;
    display: flex;
    align-items: center;

    min-height: 50px;
    padding: 12px 14px;

    color: #315f86;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;

    border-top-left-radius: 12px;
    border-top-right-radius: 12px;

    transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
  }

  .main-nav a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 5px;

    height: 2px;
    border-radius: 20px;
    background: #ff6e6d;

    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
  }

  .main-nav a:hover {
    color: #ff625f;
    background: rgba(255, 255, 255, 0.65);
    transform: translateX(4px);
  }

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

  .main-nav a.active {
    color: #ff625f;
    background: rgba(255, 255, 255, 0.78);
  }
}
@media (max-width: 958px) {
  .hero-actions .btn {
    width: 100%;
  }
  .hero h1 {
    font-size: 48px;
    margin: 0 0 10px;
  }
}
@media (max-width: 890px) {
  .hero h1 {
    font-size: 43px;
    margin: 0 0 10px;
  }
  .hero-text {
    font-size: 14px;
  }
}
@media (max-width: 768px) {
  .hero-copy {
    margin-top: 20px;
  }
  .hero h1 {
    font-size: 38px;
  }
}
@media (max-width: 760px) {
  .decor {
    width: 90px;
    opacity: 0.55;
    background-size: 90px auto;
  }

  .about-card {
    padding-top: 15px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 24px;
  }
  .hero-copy {
    padding-left: 0;
    text-align: center;
  }
  .hero h1 {
    font-size: 52px;
  }
  .hero-text {
    font-size: 14px;
    margin: 0 auto 18px;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-benefits {
    text-align: left;
  }
  .hero-art {
    min-height: 400px;
  }
  .photo-frame {
    width: 260px;
  }
  .paint-blob {
    width: 340px;
    height: 310px;
  }
  .round-note {
    right: 10px;
    width: 112px;
    height: 108px;
    font-size: 16px;
  }
  .about-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 15px 22px 22px;
  }
  .about-portrait {
    margin: auto;
  }
  .about-pills {
    justify-content: center;
  }
  .about-facts {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .section-heading h2 {
    font-size: 36px;
  }
  .service-grid,
  .portfolio-grid,
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
  .blog-card {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .contact-art {
    height: 140px;
    margin: 0 auto;
  }
  .contact-copy ul {
    display: inline-block;
    text-align: left;
  }
  .contact-form {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .contact-form label,
  .contact-form label:last-of-type,
  .contact-form .btn,
  .contact-form small {
    grid-column: 1;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-links {
    max-width: 250px;
    margin: auto;
  }
  .socials {
    justify-content: center;
  }
  .socials small {
    text-align: center;
  }
  .eyebrow {
    font-size: 10px;
  }
}
@media (max-width: 670px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .blog-card {
    justify-content: left;
  }
  .hero-actions .btn-primary span {
    display: none;
  }
}
@media (max-width: 560px) {
  /* .menu-toggle {
    width: 44px;
    height: 42px;
  } */

  /* .main-nav {
    width: min(330px, 88vw);
    padding: 96px 22px 30px;
  } */

  .main-nav a {
    min-height: 48px;
    font-size: 15px;
  }
  .section-heading h2 {
    font-size: 27px;
    text-align: center;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 46px;
  }
  .contact-block {
    margin: 0 ;
  }
  .contact-info {
    gap: 19px;
  }
}
@media (max-width: 480px) {
  .hero h1 {
    font-size: 43px;
  }
  .hero h1 span {
    font-size: 0.78em;
  }
  .btn {
    width: 100%;
  }
.contact-info {
  flex-direction: column;
}
.social-info {
  margin-top: 0;
}
  .hero-art {
    min-height: 345px;
  }
  .photo-frame {
    width: 220px;
    border-width: 10px;
  }
  .paint-blob {
    width: 384px;
    height: 388px;
  }
  .round-note {
    right: 0;
    bottom: 44px;
    width: 102px;
    height: 97px;
    font-size: 14px;
  }

  .service-grid,
  .portfolio-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    grid-template-columns: 80px 1fr;
  }
  .portfolio-grid {
  }
  .contact-panel {
    padding: 20px 15px;
    gap: 15px;
  }
  
  .main-nav {
    inset-left: 18%;
  }
  .section {
    padding-top: 14px;
  }
}
@media (max-width: 410px) {
  .about-copy h2 {
    font-size: 27px;
  }
  .blog-image {
    height: 122px;
  }
  .hero h1 {
    font-size: 39px;
  }
}
@media (max-width: 380px) {
.hero h1 {
    font-size: 34px;
  }
}
@media (max-width: 356px) {
  .about-copy h2 {
    font-size: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ===== Правки 01.08.2026 ===== */
/* Одна загальна картинка для декорацій зліва та справа. */
.decor {
  display: none !important;
}
.page-decorations {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("./../images/bg-left.png"), url("./../images/bg-right.png");
  background-repeat: repeat-y, repeat-y;
  background-position: top left, top right;
  background-size: 210px auto, 224px auto;
  opacity: 0.92;
}

/* Підкреслення пункту меню при наведенні — таке саме, як у активного. */
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}
.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.active::after {
  transform: scaleX(1);
}
.main-nav a:focus-visible {
  outline: 2px solid rgba(241, 109, 105, 0.32);
  outline-offset: 5px;
  border-radius: 4px;
}

/* Вертикальна риска між описом майстра та блоком переваг. */
.about-facts {
  border-left: 1px solid rgba(108, 151, 184, 0.35);
  padding-left: 28px;
}

/* Інтерактивні сердечка у портфоліо. */
.work-card .heart {
  position: absolute;
  right: 10px;
  bottom: 2px;
  width: 34px;
  height: 34px;
  border: 0;
  padding: 0;
  place-items: center;
  background: transparent;
  color: #ed7b77;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.work-card .heart:hover {
  transform: scale(1.16);
  background: rgba(241, 109, 105, 0.1);
}
.work-card .heart:focus-visible {
  outline: 2px solid rgba(241, 109, 105, 0.45);
  outline-offset: 2px;
}
.work-card .heart.is-active {
  color: var(--coral);
  background: rgba(241, 109, 105, 0.14);
  transform: scale(1.08);
}
.work-card .heart.is-active::before {
  content: "♥";
}
.work-card .heart.is-active {
  font-size: 0;
}
.work-card .heart.is-active::before {
  font-size: 22px;
}

.work-card .heart.is-active::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  background: url("./../images/heart.svg") center/contain no-repeat;
}
@media (max-width: 1050px) {
  .about-facts {
    border-left: 0;
    border-top: 1px solid rgba(108, 151, 184, 0.35);
    padding-left: 0;
    padding-top: 15px;
  }
}
@media (max-width: 760px) {
  .about-facts {
    border-top: 1px solid rgba(108, 151, 184, 0.35);
  }
}
