:root {
  --header-bg: #b9c7e6;
  --header-h: 64px;
  --header-shadow: rgba(0, 0, 0, 0.15);
  --text: #ffffff;
  --underline: #ffffff;
  --gap: 72px;
  --hero-margin-desktop: 60px;
  --hero-margin-mobile: 16px;
}

body {
  margin: 0;
  font-family: "Source Code Pro", "Segoe UI", sans-serif;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  background: var(--header-bg);
  box-shadow: 0 4px 8px var(--header-shadow);
}

.site-header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  display: block;
  height: 48px;
  width: auto;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: var(--gap);
}

.main-nav a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  background: var(--underline);
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.main-nav a[aria-current="page"] {
  font-weight: 700;
}
.main-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

#hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 0;
  background-color: #fff;
  overflow: hidden;
}

.hero-text {
  flex: 1;
  max-width: 520px;
  margin-left: var(--hero-margin-desktop)
}

.hero-text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #2f2b2b;
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.05rem;
  color: #5e5e5e;
  line-height: 1.6;
}

.hero-image {
  position: relative;
  float: right;
  width: 48%;
  text-align: right;
}

.hero-image img {
  width: 100%;
  max-width: 480px;
  height: auto;
}

#categories {
  text-align: center;
  padding: 60px 0;
  background: #fff;
}

.category {
  display: inline-block;
  width: 25%;
  margin: 0 1.5%;
  vertical-align: top;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
}

.category img {
  display: block;
  width: 100%;
  height: auto;
}

.category .btn {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--header-bg);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  width: 160px;
  text-align: center;
  padding: 12px 0;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  transition: background 0.3s ease;
}

.category .btn:hover {
  background: #9fb2dc;
}

#about-preview {
  display: block;
  padding: 0 0 80px;
  background: #fff;
}

#about-preview > h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #2f2b2b;
  margin: 0 0 32px 60px;
}

.about-container {
  position: relative;
  overflow: visible;
}

.about-container::after {
  content: "";
  display: block;
  clear: both;
}

.about-text {
  float: left;
  width: 52%;
  max-width: 520px;
  margin-left: 60px;
  color: #2f2b2b;
  line-height: 1.6;
  font-size: 1.05rem;
}

.about-text p { margin: 0 0 16px; }

.about-image {
  position: relative;
  float: right;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  margin-right: 80px;  min-height: 360px;
  overflow: visible;
}

.about-image .bg-shape {
  position: absolute;
  right: -80px;
  bottom: 0;
  width: 480px;
  height: auto;
  z-index: 0;
}

.about-image .women {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
}

.features {
  background: rgba(185,199,230,0.35);
  padding: 28px 60px;
  text-align: center;
  font-size: 0;
}

.features h3 {
  margin: 0 0 18px 0;
  text-align: left;
  color: #989ec3;
  font-size: 1.6rem;
  font-weight: 100;
}

.feature {
  display: inline-block;
  vertical-align: top;
  width: 23%;
  margin: 0 1%;
  text-align: center;
  font-size: 16px;
}

.feature img {
  display: block;
  height: 72px;
  width: auto;
  margin: 6px auto 12px;
}

.feature p {
  margin: 0;
  color: #2f2b2b;
  line-height: 1.45;
  max-width: 240px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
}

@media (max-width: 1100px){
  .feature{ width: 31%; margin: 1% 1%; }
}

@media (max-width: 900px){
  .feature{ width: 47%; margin: 1.5% 1.5%; }
}

@media (max-width: 600px){
  .feature{ width: 100%; margin: 8px 0; }
}

#catalog {
  padding: 0 60px 60px;
  background: #fff;
}

#custom {
  padding: 0 60px 60px;
  background: #fff;
}

#custom > h2 {
  margin: 0 0 24px;
  font-size: 2rem;
  font-weight: 700;
  color: #2f2b2b;
  text-align: center;
}

.custom-wrap {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.custom-text {
  flex: 1;
  color: #5e5e5e;
  line-height: 1.6;
}

.custom-steps {
  margin: 14px 0 18px;
  padding-left: 18px;
}

.custom-steps li {
  margin: 8px 0;
}

.custom-image {
  flex: 0 0 320px;
  display: flex;
  justify-content: center;
}

.custom-image img {
  width: 100%;
  height: auto;
  max-width: 320px;
}

@media (max-width: 900px){
  .custom-wrap{ flex-direction: column; align-items: flex-start; }
  .custom-image{ flex-basis: auto; width: 240px; }
}

#catalog > h2 {
  margin: 0 0 24px;
  font-size: 2rem;
  font-weight: 700;
  color: #2f2b2b;
  text-align: center;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  justify-items: stretch;
  align-items: stretch;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.catalog-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    0 6px 14px rgba(0,0,0,0.08),
    0 10px 20px rgba(255,105,135,0.18);
  transition: transform .15s ease, box-shadow .15s ease;
}

.catalog-item:hover {
  transform: translateY(-2px);
  box-shadow:
    0 10px 20px rgba(0,0,0,0.1),
    0 14px 26px rgba(255,105,135,0.22);
}

.catalog-item img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.catalog-item h3 {
  margin: 14px 16px 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #2f2b2b;
}

.catalog-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 6px 16px 16px;
  font-size: .98rem;
  line-height: 1.4;
  color: #5e5e5e;
}

.catalog-meta .desc { margin-right: 12px; }

.catalog-meta .price {
  color: #2f2b2b;
  font-weight: 600;
  white-space: nowrap;
}

#feedback {
  padding: 60px 0 0;
  background: #EEF2FA;
}

#feedback > h2 {
  margin: 0 0 24px 60px;
  font-size: 2rem;
  font-weight: 700;
  color: #2f2b2b;
}

.feedback-list {
  padding: 0 60px 24px;
}

.feedback-list blockquote {
  margin: 0 0 18px;
  background: #fff;
  border-radius: 8px;
  padding: 18px 20px;
  box-shadow:
    0 6px 14px rgba(0,0,0,.08),
    0 10px 20px rgba(255,105,135,.18);
}

.feedback-list blockquote p {
  margin: 0;
  color: #2f2b2b;
  line-height: 1.55;
}

.feedback-form-title {
  font-size: 1.6rem;
  font-weight: 400;
  color: #2f2b2b;
  margin: 24px 60px 12px;
}

.feedback-form {
  padding: 0 60px 60px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feedback-form input,
.feedback-form textarea {
  width: 100%;
  border: 1px solid #d7deee;
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(185,199,230,.25);
  color: #2f2b2b;
  font: inherit;
  outline: none;
}

.feedback-form textarea {
  min-height: 120px;
  resize: vertical;
}

.feedback-form .is-error {
  border-color: #c0392b;
  background: rgba(192,57,43,.08);
}

.form-error {
  margin: -10px 0 0;
  font-size: .92rem;
  line-height: 1.2;
  color: #c0392b;
  display: none;
}

.form-error.is-visible {
  display: block;
}

.form-success {
  margin: -6px 0 0;
  font-size: .92rem;
  line-height: 1.2;
  color: #2e7d32;
  min-height: 1.2em;
}

.feedback-form input::placeholder,
.feedback-form textarea::placeholder {
  color: #8a8fa3;
  opacity: 1;
}

.feedback-form button {
  align-self: flex-start;
  width: auto;
  background: #FFC2C7;
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 12px 32px;
  font-weight: 500;
  box-shadow: 0 4px 10px rgba(0,0,0,.18);
  cursor: pointer;
  transition: box-shadow .1s ease, transform .1s ease;
}

.feedback-form button:hover {
  box-shadow: 0 6px 14px rgba(0,0,0,.2);
  transform: translateY(-1px);
}

#contacts {
  background: var(--header-bg);
  color: #fff;
  padding: 40px 80px 36px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 25%;
}

.footer-left .logo img {
  display: block;
  height: 60px;
  width: auto;
  margin-bottom: 20px;
}

.footer-left p {
  font-size: 0.95rem;
  opacity: 0.9;
}

.footer-right {
  display: flex;
  justify-content: space-between;
  width: 65%;
}

.footer-column {
  width: 30%;
}

.footer-column h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-column p {
  margin: 6px 0;
  font-size: 0.95rem;
  opacity: 0.95;
  cursor: default;
}

.footer-column p:hover {
  text-decoration: underline;
  opacity: 1;
}

.burger {
  display: none;
  inline-size: 40px;
  block-size: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.burger span {
  position: absolute;
  inset-inline: 8px;
  block-size: 2px;
  background: currentColor;
  transition: transform .25s ease, opacity .25s ease;
}
.burger span:nth-child(1) { inset-block-start: 12px; }
.burger span:nth-child(2) { inset-block-start: 19px; }
.burger span:nth-child(3) { inset-block-start: 26px; }

@media (max-width: 900px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
  }

  .site-header .container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    min-height: 64px;
  }

  .burger{
    order: -1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    inline-size: 40px;
    block-size: 40px;
    margin-right: auto;
    position: relative;
    z-index: 110;
    color: #fff;
  }

  .burger span{
    position: absolute;
    inset-inline: 8px;
    block-size: 2px;
    background: currentColor;
    transition: transform .25s ease, opacity .25s ease;
  }
 
  .logo img {
    height: 36px;
    width: auto;
  }

  .main-nav{
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: #0b1020;
    border-top: 1px solid #1f2a44;
    transform: translateY(-120%);
    transition: transform .3s ease, opacity .2s ease;
    z-index: 105;
    opacity: 0;
    pointer-events: none;
  }
  .main-nav[data-state="open"]{
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav ul {
    list-style: none;
    margin: 0;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-header { position: sticky; top: 0; z-index: 100; }
  .site-header .container { position: relative; }

  .main-nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    transform: translateY(-120%);
    opacity: 0; pointer-events: none;
    background: #0b1020; border-top: 1px solid #1f2a44;
    z-index: 105; transition: transform .3s ease, opacity .2s ease;
  }
  .main-nav[data-state="open"] { transform: translateY(0); opacity: 1; pointer-events: auto; }

  #hero {
    margin: 0;
    padding-top: 0;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
  }

  #hero .hero-image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    order: -1;
    width: 100%;
    max-width: 700px;
    margin: 0;
    position: relative;
    text-align: center;
  }

  #hero .hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    margin: 0;
  }

  #hero .hero-text { max-width: 520px; margin: 20px 0 0; padding: 0 16px; }
  #hero .hero-text h2 { margin-top: 0; font-size: 1.4rem; line-height: 1.3; }
  #hero .hero-text p  { font-size: 1rem; line-height: 1.5; color: #444; }

    #categories {
    text-align: center;
    padding: 32px 0 48px;
    background: #fff;
  }

  .category {
    display: inline-block;
    width: 90%;
    margin: 0 0 24px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  }

  .category img {
    display: block;
    width: 100%;
    height: auto;
  }

  .category .btn {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    padding: 10px 0;
    font-size: 0.95rem;
    background: var(--header-bg);
    color: #fff;
    border-radius: 6px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
    transition: background 0.3s ease;
  }

  .category .btn:hover {
    background: #9fb2dc;
  }
  
  .catalog-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
  }

  .catalog-item img {
    height: 200px;
  }

  .catalog-item h3 {
    margin: 12px 12px 0;
    font-size: 1rem;
  }

  .catalog-meta {
    margin: 6px 12px 12px;
    font-size: .95rem;
  }

  #contacts {
    padding: 24px 20px 20px;
  }

  .footer-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .footer-right {
    order: 1;
    display: flex;
    justify-content: center;
    align-items: flex;
    gap: 12px;
    width: 100%;
  }

  .footer-column {
    width: 100%;
    text-align: left;
  }

  .footer-column h3 {
    margin-bottom: 8px;
  }

  .footer-column p {
    text-align: left;
  }

  .footer-left {
    order: 2;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
  }

  .footer-left .logo img {
    height: 56px;
    width: auto;
    margin: 8px auto 0;
    display: block;
  }

  .footer-left p {
    margin-top: 8px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.9;
  }
}

@media (min-width: 901px) {
  .burger { display: none; }
  .main-nav { position: static; transform: none; }
}

