/* CSS RESET & NORMALIZE */
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;
  box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.7;
  font-family: 'Roboto', Arial, sans-serif;
  background: #fff;
  color: #202124;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #1B2A41;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F9AA33;
  outline: none;
}
ul, ol {
  list-style: none;
}

/* COLOR VARIABLES */
:root {
  --primary:#1B2A41;
  --secondary:#F9AA33;
  --accent:#EDEDED;
  --gray-800:#202124;
  --gray-300:#D3D3D3;
  --gray-100:#F5F5F5;
  --white:#fff;
  --black: #121212;
}

/* TYPOGRAPHY */
body {
  font-size: 16px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--black);
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 600;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
  font-weight: 600;
}
h4 {
  font-size: 1.1rem;
  font-weight: 600;
}
p, li {
  color: var(--gray-800);
  font-size: 1rem;
}
strong {
  color: var(--primary);
  font-weight: 700;
}

/* GENERAL SPACING & CONTAINERS */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* HEADER & NAVIGATION */
header {
  background: var(--white);
  box-shadow: 0 2px 8px rgba(33,33,33,0.045);
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 32px;
}
.logo img {
  width: 144px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  transition: color 0.2s;
  position: relative;
}
.main-nav a:after {
  content: '';
  display: block;
  height: 2px;
  background: var(--secondary);
  width: 0%;
  transition: width 0.22s cubic-bezier(.4,0,.2,1);
  margin-top: 4px;
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6em 1.7em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 28px;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background 0.21s, color 0.2s, box-shadow 0.3s;
  box-shadow: 0 2px 12px 0 rgba(27, 42, 65, 0.07);
  margin-left: 12px;
  text-align: center;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border: 1px solid var(--primary);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--black);
  color: var(--secondary);
}
.btn-secondary {
  background: var(--accent);
  color: var(--primary);
  border:1px solid var(--primary);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--primary);
  color: var(--secondary);
  border-color: var(--primary);
}

/* RESPONSIVE NAVIGATION: MOBILE BURGER MENU */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  display: none;
  margin-left: 16px;
  cursor: pointer;
  transition: color 0.15s;
  z-index: 110;
}
.mobile-menu-toggle:hover {
  color: var(--secondary);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(31, 36, 41, 0.98);
  color: var(--white);
  z-index: 120;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.41,0,.2,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 24px 24px 24px;
  gap: 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--secondary);
  position: absolute;
  right: 24px;
  top: 36px;
  z-index: 130;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--white);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 56px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
  padding: 12px 0;
  transition: color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
}

/* HERO SECTION */
.hero {
  background: var(--gray-100);
  color: var(--primary);
  text-align: center;
  padding: 64px 0 40px 0;
  display: flex;
  align-items: center;
  min-height: 45vh;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero h1 {
  font-size: 2.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight:700;
  line-height:1.18;
  color: var(--primary);
  margin-bottom: 18px;
}
.hero p {
  color: var(--black);
  font-size: 1.12rem;
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* SECTION: FEATURES/CARDS FLEX LAYOUTS */
.features, .feature-grid, .feature-list, .content-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.feature-grid, .feature-list, .content-grid {
  flex-wrap: wrap;
  gap: 24px;
}
.features h2 {
  color: var(--primary);
  font-size: 2rem;
  font-weight:600;
}
.feature-grid > div,
.feature-list > div {
  background: var(--white);
  padding: 32px 24px;
  border-radius: 16px;
  box-shadow: 0 3px 14px rgba(16,16,16,0.045);
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--gray-300);
  transition: box-shadow 0.22s, border 0.18s;
  margin-bottom: 20px;
}
.quick-tip-card, .pro-tip-card, .solution-card, .trick-card {
  background: var(--white);
  padding: 28px 20px;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(16,10,32,0.055);
  border: 1px solid var(--gray-300);
  margin-bottom: 20px;
  transition: box-shadow 0.18s, border 0.19s;
}
.quick-tip-card:hover, .pro-tip-card:hover, .solution-card:hover, .trick-card:hover, .feature-grid > div:hover, .feature-list > div:hover {
  box-shadow: 0 6px 32px 4px rgba(27,42,65,0.13);
  border-color: var(--secondary);
  z-index:2;
}
.feature-grid img {
  width: 41px;
  height: 41px;
  margin-bottom: 12px;
}

/* ABOUT PAGE EXTRAS */
.about-section {
  background: var(--accent);
  color: var(--primary);
  padding: 50px 20px;
  margin-bottom: 60px;
  border-radius: 20px;
}

/* CTA SECTION */
.cta-section {
  background: var(--primary);
  color: var(--white);
  border-radius: 18px;
  box-shadow: 0 3px 16px 0 rgba(16,16,16,0.07);
  margin-bottom: 60px;
}
.cta-section h2, .cta-section p {
  color: var(--white);
}
.cta-section a.btn {
  margin-top: 16px;
  background: var(--secondary);
  color: var(--primary);
  border: none;
}
.cta-section a.btn:hover {
  background: var(--white);
  color: var(--primary);
  border: 1px solid var(--secondary);
}

/* SERVICES */
.services ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.services li {
  position: relative;
  padding-left: 26px;
  color: var(--gray-800);
  font-size: 1.06rem;
}
.services li:before {
  content: '\2022';
  font-size: 1.8rem;
  color: var(--secondary);
  position: absolute;
  left: 0;
  top: 0.1em;
}

/* TESTIMONIALS */
.testimonials {
  background: var(--gray-100);
  border-radius: 18px;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  justify-content: flex-start;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-left: 5px solid var(--secondary);
  box-shadow: 0 2px 14px rgba(27,42,65,0.07);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  min-width: 260px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  font-size: 1.05rem;
  color: var(--black);
  transition: border 0.16s, box-shadow 0.16s;
}
.testimonial-card strong {
  color: var(--primary);
  font-weight: 700;
  opacity: 0.93;
  margin-top: 8px;
  font-size: 0.96rem;
}
.testimonial-card p {
  color: var(--gray-800);
}
.testimonial-card:hover {
  box-shadow: 0 6px 34px 2px rgba(27,42,65,0.135);
  border-color: var(--primary);
}

/* CONTACT SECTION */
.contact-section ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 18px;
}
.contact-section li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-size: 1.04rem;
  padding-left: 2px;
}
.contact-section img {
  width: 19px;
  height: 19px;
  opacity: 0.82;
}

/* LEGAL PAGE SECTIONS */
.legal-section, .thank-section {
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 1px 6px 0 rgba(27,42,65,0.03);
  margin-bottom: 60px;
  padding: 40px 20px;
  color: var(--black);
}

.legal-section h1, .thank-section h1 {
  color: var(--primary);
}

.legal-section ul {
  margin-left: 12px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-section a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 500;
}
.legal-section a:hover {
  color: var(--secondary);
}

/* FOOTER */
footer {
  background: var(--accent);
  color: var(--primary);
  padding-top: 48px;
  padding-bottom: 0;
  margin-top: 48px;
  font-size: 1rem;
  border-top: 2px solid var(--gray-300);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
}
.footer-logo img {
  width: 120px;
}
.footer-nav,
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a,
.footer-legal a {
  color: var(--primary);
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: color 0.2s;
}
.footer-nav a:hover,
.footer-legal a:hover {
  color: var(--secondary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.97rem;
}
.footer-contact img {
  vertical-align: middle;
  width: 19px;
  height: 19px;
  margin-right: 7px;
  opacity: 0.8;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}
.footer-social img {
  width: 27px;
  height: 27px;
  opacity: 0.84;
  transition: opacity 0.16s;
}
.footer-social a:hover img,
.footer-social a:focus img {
  opacity: 1;
}
.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 260px;
  max-width: 300px;
}
.footer-bottom {
  width: 100%;
  background: var(--primary);
  color: var(--accent);
  padding: 16px 0;
  text-align: center;
  font-size: 0.97rem;
  border-top: 1px solid var(--gray-300);
  border-radius: 0 0 18px 18px;
  margin-top: 10px;
}

/* FLEXBOX: MANDATORY SPACING AND ALIGNMENT */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- RESPONSIVE --- */
@media (max-width: 1200px) {
  .footer-top {
    flex-wrap: wrap;
    gap: 24px;
  }
  .feature-grid, .content-grid, .feature-list {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .footer-top {
    gap: 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  .feature-grid, .content-grid, .feature-list, .testimonial-list {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  header .btn {
    display: none;
  }
  .feature-grid, .content-grid, .feature-list, .testimonial-list {
    flex-direction: column;
    gap: 20px;
  }
  .hero {
    padding: 44px 0 30px 0;
    min-height: 32vh;
  }
  .hero h1 {
    font-size: 1.55rem;
  }
  h1 {
    font-size: 1.45rem;
  }
  h2 {
    font-size: 1.18rem;
  }
  .footer-newsletter {
    min-width: unset;
    max-width: 100%;
  }
}
@media (max-width: 600px) {
  .section, section {
    padding: 28px 6px;
    margin-bottom: 34px;
  }
  .footer-top {
    padding-left: 2px;
    padding-right: 2px;
  }
  .testimonial-card,
  .feature-grid > div, .feature-list > div, .cta-section, .about-section, .legal-section {
    padding: 18px 12px;
  }
}
@media (max-width: 560px) {
  .logo img { width: 108px; }
  .footer-logo img { width: 90px; }
  .footer-newsletter { min-width: unset; }
}

/* TRANSITIONS, HOVERS, MICRO-INTERACTIONS */
.btn, .main-nav a, .mobile-menu-toggle, .mobile-menu-close, .footer-social img{
  transition: color 0.18s, background 0.18s, box-shadow 0.18s, border 0.16s, opacity 0.21s;
}
.feature-grid > div, .feature-list > div, .testimonial-card, .cta-section, .footer-newsletter, .main-nav a {
  will-change: box-shadow, border, background;
}

/* SCROLLBAR FOR DARK MENU */
.mobile-menu {
  overflow-y: auto;
  scrollbar-color: var(--secondary) var(--primary);
  scrollbar-width: thin;
}
.mobile-menu::-webkit-scrollbar {
  width: 8px;
  background: var(--primary);
}
.mobile-menu::-webkit-scrollbar-thumb {
  background: var(--secondary);
}

/* MODAL/COLOR CLASSES FOR COOKIE BANNER! */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(27, 42, 65, 0.97);
  color: var(--accent);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 24px;
  z-index: 9960;
  box-shadow: 0 -2px 22px 2px rgba(27,42,65,0.12);
  border-radius: 18px 18px 0 0;
  font-size: 1rem;
  animation: cookie-banner-in 0.7s cubic-bezier(.64,0,.2,1) 1;
}
@keyframes cookie-banner-in {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  flex: 1 1 250px;
  color: var(--accent);
  margin-bottom: 0;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-banner .btn {
  font-size: 0.98rem;
  padding: 0.55em 1.3em;
  line-height: 1.2;
}
.cookie-banner .btn-settings {
  background: none;
  border: 1px solid var(--secondary);
  color: var(--secondary);
}
.cookie-banner .btn-settings:hover {
  background: var(--secondary);
  color: var(--primary);
}

/* COOKIE CONSENT MODAL (CATEGORY SETTINGS) */
.cookie-modal-overlay {
  position: fixed;
  z-index: 99999;
  left: 0;top:0;right:0;bottom:0;
  background: rgba(27,42,65,0.81);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: var(--white);
  color: var(--black);
  padding: 36px 24px 28px 24px;
  border-radius: 14px;
  min-width: 320px;
  max-width: 95vw;
  max-height: 80vh;
  box-shadow: 0 4px 42px 4px rgba(18,18,18,0.18);
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: fadeInScale 0.34s cubic-bezier(.50,.15,.3,1) 1;
  position: relative;
}
@keyframes fadeInScale {
  0% { opacity:0; transform:scale(0.94); } 
  100% {opacity:1; transform:scale(1);}
}
.cookie-modal h3 {
  margin-bottom: 4px;
  color: var(--primary);
  font-size: 1.17rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: start;
}
.cookie-modal label {
  font-weight: 500;
  color: var(--primary);
  font-size: 1.04rem;
}
.cookie-modal input[type='checkbox'] {
  accent-color: var(--secondary);
  width: 20px; height: 20px;
  margin-right: 7px;
}
.cookie-modal .required {
  color: var(--gray-300);
  font-size: 0.93em;
  letter-spacing: 0.04em;
  margin-left: 2px;
}
.cookie-modal .modal-actions {
  display:flex; gap:17px; margin-top:18px;
  justify-content: flex-end;
}
.cookie-modal .btn {
  font-size: 0.95rem;
  min-width: 110px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 1.7rem;
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  line-height: 1;
  transition: color 0.14s;
  z-index: 10;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--secondary);
}

@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 16px 10px;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-buttons {
    gap: 12px;
    width: 100%;
  }
  .cookie-modal {
    padding: 18px 6px 16px 10px;
    min-width: 0px;
  }
}

/* ACCESSIBILITY & HIDDEN CLASSES */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px; overflow: hidden; clip: rect(1px 1px 1px 1px); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* END OF STYLE */
