/* CSS RESET & NORMALIZATION */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
  font-size: 16px;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #FFF8F0;
  color: #243447;
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
a {
  color: #50B374;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.86,.01,.15,.99);
}
a:hover, a:focus {
  color: #FFAC42;
}

/* BRAND FONTS (Font-face fallback for Montserrat/Roboto) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #243447;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem;
  color: #FFAC42;
  font-weight: 900;
  text-shadow: 1px 3px 0 #50B37422;
}
h2 {
  font-size: 2rem;
  color: #50B374;
}
h3 {
  font-size: 1.5rem;
  color: #243447;
}
p, li, span {
  font-size: 1rem;
  font-weight: 400;
  font-family: 'Roboto', Arial, sans-serif;
  color: #243447;
}
strong {
  font-weight: 700;
  color: #50B374;
}
small {
  font-size: 0.875rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #676767;
}

/* COLORS & STYLE PRESETS */
:root {
  --color-primary: #243447;
  --color-secondary: #50B374;
  --color-accent: #FFF8F0;
  --color-fun1: #FFAC42;
  --color-fun2: #15A7F4;
  --color-fun3: #EC4980;
  --color-fun4: #9135de;
  --color-white: #fff;
  --color-grey: #F7F7FB;
}


/********** LAYOUT & CONTAINER **********/
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: 32px;
  box-shadow: 0 5px 16px 0 #FFC16413;
  position: relative;
}

/********** HEADER, NAV & LOGO **********/
header {
  width: 100%;
  background: var(--color-white);
  box-shadow: 0 2px 12px 0 #FFAC4212;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
}
header img[alt='Velvet Remont'] {
  height: 48px;
}
nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-primary);
  padding: 8px 10px;
  border-radius: 10px;
  transition: background 0.18s, color 0.18s;
}
nav a:hover, nav a:focus, nav a.active {
  background: var(--color-fun1);
  color: var(--color-white);
}

/***** CTA BUTTONS *****/
.cta {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.04rem;
  padding: 12px 24px;
  border: none;
  border-radius: 24px;
  background: var(--color-fun2);
  color: var(--color-white);
  box-shadow: 0 2px 8px 0 #15A7F431;
  cursor: pointer;
  margin-left: 16px;
  transition: background 0.17s, transform 0.13s cubic-bezier(.86,.01,.15,.99), box-shadow 0.3s;
  display: inline-block;
  text-align: center;
  outline: none;
}
.cta.primary {
  background: var(--color-fun1);
  color: var(--color-white);
  box-shadow: 0 1px 20px 0 #FFAC421d;
}
.cta:hover, .cta:focus {
  background: var(--color-fun3);
  color: #fff;
  transform: translateY(-3px) scale(1.05) rotate(-2deg);
  box-shadow: 0 4px 18px 0 #EC498035;
}

/***** HAMBURGER & MOBILE NAVIGATION *****/
.mobile-menu-toggle {
  display: none;
  background: var(--color-fun2);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  border: none;
  border-radius: 18px;
  padding: 6px 18px;
  margin-left: 20px;
  cursor: pointer;
  transition: background 0.13s, transform 0.15s;
  z-index: 101;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-fun3);
  transform: scale(1.10) rotate(8deg);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-accent);
  z-index: 9999;
  transform: translateX(-105%);
  transition: transform 0.45s cubic-bezier(.53,-0.25,.43,1.21);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 24px 32px 0 24px;
  box-shadow: 4px 0px 18px 0 #FFAC4232;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 26px;
  background: var(--color-fun1);
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  z-index: 20001;
  transition: background 0.2s, transform 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-fun3);
  transform: scale(1.17);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 60px;
  width: 100%;
  gap: 20px;
}
.mobile-nav a {
  font-size: 1.2rem;
  padding: 18px 8px 14px 0;
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 16px;
  font-weight: 700;
  width: 100%;
  background: none;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-fun2);
  color: #fff;
}

/********** HERO SECTION **********/
.hero {
  margin-bottom: 60px;
  padding: 55px 0 55px;
  background: linear-gradient(97deg,#FFF8F0 70%,#FFAC4215 100%);
  border-radius: 0 0 36px 36px;
  box-shadow: 0 6px 42px 0 #FFC16423;
  position: relative;
  min-height: 260px;
  overflow: hidden;
}
.hero .container {
  justify-content: center;
  align-items: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 18px;
  margin: 0 auto;
}

/********** FEATURE GRID & FLEX LAYOUTS **********/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 24px;
  justify-content: space-between;
  align-items: stretch;
}
.feature-grid > div {
  background: #fff;
  border-radius: 25px;
  padding: 32px 18px 22px 18px;
  box-shadow: 0 3px 20px 0 #FFAC422c;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  flex: 1 1 212px;
  min-width: 220px;
  max-width: 280px;
  transition: transform .19s, box-shadow .22s;
  margin-bottom: 20px;
  position: relative;
}
.feature-grid > div:hover {
  transform: translateY(-8px) scale(1.04) rotate(-1.8deg);
  box-shadow: 0 8px 28px 0 #24344727;
  background: #FFF2D6;
}
.feature-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
}

/***** CARD CONTAINERS, FLEX, AND TESTIMONIALS *****/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 12px 0 #24344721;
  padding: 24px;
  min-width: 240px;
  transition: box-shadow .18s, transform .16s;
}
.card:hover {
  box-shadow: 0 6px 20px 0 #50B37422;
  transform: scale(1.03);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-left: 7px solid var(--color-fun1);
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 #50B3741a;
  margin-bottom: 20px;
  max-width: 400px;
  transition: box-shadow .17s, border-color 0.17s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px 0 #15A7F41a;
  border-left: 7px solid var(--color-fun3);
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #243447;
  font-style: italic;
}
.testimonial-card span {
  font-size: 1rem;
  color: #50B374;
  font-style: normal;
}

/********** FEATURE ITEMS **********/
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 16px 16px 16px 32px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 1px 2px 16px 0 #50B37414;
  margin-bottom: 20px;
  position: relative;
}

/********** CONTACT SECTION & FLEX **********/
.contact-short .contact-details, .contact-details {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 0 0 5px;
}
.contact-details img {
  margin-right: 10px;
  width: 24px;
  vertical-align: middle;
}

/********* CUSTOM SECTION MARGINS ********/
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/********** CARDS, VALUES, STEPS, UL, OL **********/
.values ul, .inspiration-ideas ul, .advice-categories ul, .our-advantages ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
  margin-top: 6px;
}
.values ul li, .inspiration-ideas ul li, .advice-categories ul li, .our-advantages ul li {
  background: #fff;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 14px;
  font-size: 1.07rem;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 #50B3740d;
  min-height: 48px;
}
.values ul img, .our-advantages ul img {
  width: 32px;
  margin-right: 0;
}
.process-overview ol {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-left: 24px;
  color: var(--color-primary);
}
.process-overview li::before {
  content: counter(item) ". ";
  color: var(--color-fun2);
  font-weight: bold;
  margin-right: 6px;
}
.process-overview ol {
  counter-reset: item;
}
.process-overview li {
  counter-increment: item;
}

/********** TREND & SUPPORT ICONS **********/
.trend-recommendations ul, .support-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 12px;
}
.trend-recommendations ul li {
  background: #fff;
  border-radius: 12px;
  padding: 8px 14px;
  font-size: 1rem;
  color: #243447;
  box-shadow: 0 1px 8px #50B37418;
}
.support-icons {
  margin-top: 16px;
}
.support-icons > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 #FFAC421a;
  padding: 24px;
  min-width: 200px;
  flex: 1 1 212px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.support-icons img {
  width: 40px;
  margin-bottom: 8px;
}

/********** FOOTER **********/
footer {
  background: #243447;
  color: #fff;
  padding: 32px 0 16px 0;
  width: 100%;
  box-shadow: 0 -4px 18px 0 #2434471a;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
footer nav {
  display: flex;
  gap: 28px;
  margin-bottom: 10px;
}
footer nav a {
  color: #FFAC42;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1rem;
  border-radius: 8px;
  padding: 0 6px;
  transition: color 0.18s, background 0.18s;
}
footer nav a:hover, footer nav a:focus {
  background: #15A7F4;
  color: #fff;
}
footer small {
  color: #fff;
  opacity: 0.85;
}


/********** ANIMATIONS & MICRO-INTERACTIONS **********/
.hero .content-wrapper h1 {
  animation: playful-popin 1.2s cubic-bezier(.5,-0.19,.24,1.23) 0s 1;
}
@keyframes playful-popin {
  0% { opacity: 0; transform: scale(0.88) rotate(-4deg); }
  80% { transform: scale(1.08) rotate(1deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
.card, .feature-grid > div, .testimonial-card, .feature-item {
  transition: transform .17s, box-shadow .17s, background .22s, border-color .16s;
}
.card:hover, .feature-grid > div:hover, .testimonial-card:hover, .feature-item:hover {
  transform: translateY(-6px) scale(1.03) rotate(-1deg);
  box-shadow: 0 8px 32px 0 #50B37424;
  background: #FFF2D6;
}

/********* COOKIE BANNER *********/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #243447;
  box-shadow: 0 -2px 18px 0 #24344721;
  z-index: 20000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px 16px;
  border-radius: 23px 23px 0 0;
  animation: cookie-slidein 0.66s cubic-bezier(.47,-0.23,.67,1.42);
}
@keyframes cookie-slidein {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  font-size: 1rem;
  color: #243447;
  max-width: 500px;
}
.cookie-banner .button-group {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 16px;
  padding: 10px 22px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.19s, color 0.15s, transform 0.14s;
  margin: 0;
}
.cookie-banner .accept {
  background: #50B374;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #243447;
  color: #FFAC42;
}
.cookie-banner .reject {
  background: #EC4980;
  color: #fff;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #243447;
  color: #EC4980;
}
.cookie-banner .settings {
  background: #FFAC42;
  color: #fff;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #15A7F4;
  color: #fff;
}

/****** COOKIE SETTINGS MODAL ******/
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 90vw;
  max-width: 420px;
  transform: translate(-50%, -50%) scale(0.96);
  background: #fff;
  color: #243447;
  z-index: 21000;
  border-radius: 28px;
  box-shadow: 0 8px 58px #FFAC4240;
  display: none;
  flex-direction: column;
  gap: 20px;
  padding: 40px 24px 30px 24px;
  animation: modal-in 0.38s cubic-bezier(.17,.67,.43,1.41);
}
.cookie-modal.show {
  display: flex;
}
@keyframes modal-in {
  from { opacity: 0; transform: translate(-50%, -46%) scale(.85); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.cookie-modal h3 {
  color: #50B374;
  margin-bottom: 12px;
}
.cookie-modal label {
  font-size: 1.01rem;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.cookie-modal input[type='checkbox'] {
  width: 20px;
  height: 20px;
  accent-color: #50B374;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 14px;
  padding: 10px 22px;
  background: #FFAC42;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.17s, color 0.14s;
}
.cookie-modal button:hover {
  background: #15A7F4;
}
.cookie-modal .close-modal {
  background: #EC4980;
  color: #fff;
  margin-left: auto;
}
.cookie-modal .close-modal:hover {
  background: #243447;
}

/********** PAGE UTILITY CLASSES **********/
.mt-0 { margin-top: 0!important; }
.mb-0 { margin-bottom: 0!important; }
.mt-12 { margin-top: 12px!important; }
.mb-24 { margin-bottom: 24px!important; }

/********** RESPONSIVE DESIGN **********/
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
  }
  .feature-grid > div, .support-icons > div {
    min-width: 48%;
    max-width: 100%;
  }
}
@media (max-width: 900px) {
  header .container {
    flex-wrap: wrap;
    gap: 10px;
  }
  nav {
    gap: 16px;
  }
  .feature-grid > div, .support-icons > div {
    min-width: 46%;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    padding: 12px 2px 12px 7px;
  }
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .feature-grid, .content-grid, .support-icons {
    flex-direction: column;
    gap: 22px;
    align-items: stretch;
  }
  .testimonial-slider, .testimonial-card, .testimonials .content-wrapper {
    flex-direction: column !important;
    align-items: stretch;
  }
  .contact-details, .contact-short .contact-details {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .trend-recommendations ul, .our-advantages ul {
    gap: 10px;
  }
  .section, section {
    padding: 28px 6px;
    margin-bottom: 44px;
  }
  .hero {
    padding: 30px 0 50px;
    border-radius: 0 0 18px 18px;
  }
  h1 {
    font-size: 1.9rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  .cta {
    padding: 11px 14px;
    font-size: 0.96rem;
    border-radius: 18px;
  }
}
@media (max-width: 640px) {
  .hero {
    min-height: 150px;
  }
  .feature-grid > div,
  .support-icons > div {
    min-width: 95%;
  }
  footer .container {
    padding-left: 5px;
    padding-right: 5px;
  }
}

/********** SPECIAL MOBILE FIXES **********/
@media (max-width: 520px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 4px;
    border-radius: 19px 19px 0 0;
  }
  .cookie-banner p {
    max-width: 92vw;
  }
  .cookie-modal {
    padding: 22px 7px 13px 7px;
  }
}

/********** MISC. OVERRIDES & A11Y **********/
:focus {
  outline: 2px solid var(--color-fun1);
  outline-offset: 2px;
}
button:active {
  transform: scale(0.91) rotate(-4deg) !important;
}

/****** Hide scroll when modal or mobile menu active ******/
body.no-scroll {
  overflow: hidden;
}

/********** TESTIMONIAL SLIDER for homepage **********/
.testimonial-slider {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
  justify-content: flex-start;
}

/********** END CSS **********/