/* --- 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;
}
html {
  scroll-behavior: smooth;
}
body {
  background: #181B20;
  color: #F2EDE3;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
a {
  color: #F2EDE3;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #DA2128;
  outline: none;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  color: #F2EDE3;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; letter-spacing: 1px; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.2rem; }
strong { color: #F2EDE3; font-weight: bold; }

/* --- CONTAINER & LAYOUT --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section, section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
@media (max-width: 768px) {
  .section, section { padding: 25px 0 0 0; margin-bottom: 40px; }
}

/* --- HEADER --- */
header {
  background: #191C23;
  border-bottom: 2px solid #23262B;
  box-shadow: 0 2px 10px rgba(30,35,40,0.04);
  position: relative;
  z-index: 101;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #F2EDE3;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.main-nav a:hover,.main-nav a:focus {
  color: #DA2128;
  border-bottom: 2px solid #DA2128;
}

.cta-btn {
  display: inline-block;
  background: #DA2128;
  color: #FFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  border: none;
  border-radius: 7px;
  padding: 12px 32px;
  margin-left: 32px;
  cursor: pointer;
  box-shadow: 0 3px 20px 0 rgba(218,33,40,0.07);
  text-transform: uppercase;
  transition: background .2s, box-shadow .2s, color .2s, transform .15s;
  position: relative;
  z-index: 2;
}
.cta-btn:hover,.cta-btn:focus {
  background: #B50009;
  color: #F2EDE3;
  box-shadow: 0 5px 28px 0 rgba(218,33,40,0.12);
  transform: translateY(-2px) scale(1.02);
}

.mobile-menu-toggle {
  display: none;
  background: #23262B;
  color: #F2EDE3;
  border: none;
  font-size: 2.2rem;
  line-height: 1;
  margin-left: 24px;
  border-radius: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
  cursor: pointer;
  z-index: 20;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #353843;
  color: #DA2128;
}
@media (max-width: 1060px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100vw; height: 100vh;
  background: #181B20;
  z-index: 500;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.6,.2,.3,1.1);
  box-shadow: -8px 0 32px 0 rgba(30, 35, 40, 0.65);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 24px 24px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #F2EDE3;
  border: none;
  font-size: 2.4rem;
  padding: 0;
  margin-left: auto;
  margin-bottom: 22px;
  cursor: pointer;
  transition: color .2s;
}
.mobile-menu-close:focus,.mobile-menu-close:hover {
  color: #DA2128;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}
.mobile-nav a {
  color: #F2EDE3;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.085em;
  padding: 12px 0;
  transition: color .15s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: #DA2128;
}
@media (min-width: 1061px) {
  .mobile-menu { display: none !important; }
}

/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(120deg, #21252C 65%, #23262B 100%);
  padding: 90px 0 64px 0;
  box-shadow: 0 8px 45px 0 rgba(27,55,91,0.19);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  gap: 32px;
  align-items: center;
  max-width: 700px;
  text-align: center;
}
.hero h1 {
  color: #F2EDE3;
  text-shadow: 0 3px 18px rgba(27,55,91,0.09);
  font-size: 2.3rem;
}
.hero p {
  color: #CCCCCD;
  font-size: 1.1rem;
}
@media (max-width: 768px) {
  .hero { padding: 58px 0 30px 0; }
  .hero h1 { font-size: 1.55rem; }
}

/* --- FEATURE GRID --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 28px 0 10px 0;
  justify-content: space-between;
}
.feature-grid li {
  background: #20232A;
  border-radius: 10px;
  box-shadow: 0 5px 20px 0 rgba(27,55,91,0.085), 0 1.5px 6px rgba(0,0,0,0.10);
  flex: 1 1 265px;
  min-width: 260px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: transform .19s, box-shadow .19s;
  border-left: 5px solid #DA2128;
}
.feature-grid li img {
  width: 44px;
  filter: grayscale(40%) brightness(1.15);
}
.feature-grid li h3 {
  margin-bottom: 10px;
  color: #F2EDE3;
  font-size: 1.15rem;
}
.feature-grid li p {
  color: #CCCCCD;
  font-size: 1.03rem;
}
.feature-grid li:hover, .feature-grid li:focus-within {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 8px 32px 0 rgba(218,33,40,0.08);
  border-left: 5px solid #B50009;
}

/* --- STEP LIST (How We Work) --- */
.step-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 24px;
  justify-content: flex-start;
  align-items: flex-start;
}
.step-list li {
  background: #22242A;
  color: #F2EDE3;
  border-radius: 8px;
  padding: 22px 20px 18px 20px;
  box-shadow: 0 2px 10px 0 rgba(28,32,38,0.07);
  flex: 1 1 180px;
  min-width: 170px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  border-left: 4px solid #DA2128;
  transition: border-color .15s;
}
.step-list li img {
  width: 38px;
  height: 38px;
  filter: grayscale(25%) brightness(1.08);
  flex-shrink: 0;
}
.step-list li:hover, .step-list li:focus-within {
  border-color: #B50009;
}
@media (max-width: 900px) {
  .feature-grid, .step-list {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .feature-grid, .step-list {
    flex-direction: column;
  }
  .feature-grid li, .step-list li {
    width: 100%;
  }
}

/* --- TESTIMONIAL CARD --- */
.testimonial-card {
  background: #F2EDE3;
  color: #272B32;
  border-radius: 12px;
  padding: 20px 32px 16px 32px;
  margin-bottom: 20px;
  box-shadow: 0 6px 32px rgba(30,35,40,0.08); 
  display: flex;
  align-items: center;
  gap: 20px;
  flex-direction: column;
  position: relative;
  border-left: 5px solid #1B375B;
  font-size: 1.02rem;
  min-width: 0;
}
.testimonial-card strong {
  color: #1B375B;
}
.testimonial-card h3 {
  color: #1B375B;
}
.testimonial-card p {
  color: #23262B;
  font-size: 1.05rem;
}
.testimonial-card span {
  font-size: 1.0rem;
  color: #1B375B;
}
@media (min-width: 601px) {
  .testimonial-card { flex-direction: row; justify-content: flex-start; }
  .testimonial-card p { flex: 1; }
  .testimonial-card span { flex-shrink: 0; min-width: 175px; }
}
@media (max-width: 600px) {
  .testimonial-card { padding: 16px 14px 14px 14px; }
}

/* --- CARD CONTAINERS --- */
.card-container, .blog-post-list, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card, .service-list li, .blog-post-list li {
  background: #21242A;
  border-radius: 10px;
  box-shadow: 0 2px 12px 0 rgba(30,35,40,0.10);
  margin-bottom: 20px;
  position: relative;
  padding: 22px 20px;
  font-size: 1.05rem;
  color: #F2EDE3;
  transition: transform .17s, box-shadow .16s;
  flex: 1 1 300px;
}
.card:hover, .service-list li:hover, .blog-post-list li:hover {
  box-shadow: 0 8px 28px 0 rgba(218,33,40,0.09);
  transform: translateY(-3px) scale(1.01);
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 22px;
}
.service-list li img {
  width: 46px; height: 46px;
  flex-shrink: 0;
  align-self: flex-start;
  filter: grayscale(60%) contrast(1.15);
}
.text-section h2 {
  color: #F2EDE3; font-size: 1.12rem; margin-bottom: 8px;
}
.text-section .price {
  color: #DA2128;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-left: 3px;
}
@media (max-width: 900px) {
  .service-list li { flex-direction: column; gap: 10px; }
  .service-list li img { margin-bottom: 8px; }
}

/* --- FAQ --- */
.faq-list {
  margin: 30px 0 10px 0;
  font-size: 1.045rem;
}
.faq-list dt {
  font-weight: bold;
  margin-top: 18px;
  color: #DA2128;
  letter-spacing: .02em;
}
.faq-list dd {
  margin-left: 0;
  color: #F2EDE3;
  margin-bottom: 8px;
  margin-top: 2px;
  padding-left: 12px;
  border-left: 2px solid #1B375B;
}

/* --- BLOG --- */
.category-filters {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  margin-bottom: 14px;
  color: #DA2128;
}
.category-filters a {
  color: #F2EDE3;
  background: #26292F;
  padding: 3px 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.98rem;
  margin: 0 2px;
  transition: background .18s, color .14s;
}
.category-filters a:hover, .category-filters a:focus {
  background: #DA2128;
  color: #F2EDE3;
}
.featured-post {
  background: #24272F;
  border-left: 5px solid #DA2128;
  border-radius: 11px;
  padding: 23px 28px 19px 28px;
  margin-bottom: 24px;
  box-shadow: 0 3px 18px rgba(27,55,91,0.10);
}
.featured-post h2 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.featured-post p {
  color: #BBBBBE;
  font-size: 1.02rem;
}
.featured-post a {
  color: #DA2128;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 8px;
  display: inline-block;
  font-size: 1rem;
}

.blog-post-list li {
  margin-bottom: 20px;
}
.blog-post-list h3 {
  color: #F2EDE3;
  font-size: 1.08rem;
  margin-bottom: 6px;
}
.blog-post-list p {
  color: #BBBBBE;
  font-size: 0.97rem;
  margin-bottom: 8px;
}
.blog-post-list a {
  color: #DA2128;
  font-weight: 600;
  font-size: 0.97rem;
}

.newsletter-section {
  background: #191C23;
  border-radius: 12px;
  padding: 24px 22px;
  margin-top: 30px;
  box-shadow: 0 2px 12px 0 rgba(30,35,40,0.10);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.newsletter-section h3 { color: #DA2128; margin-bottom: 5px; }

/* --- FOOTER --- */
footer {
  background: #181B20;
  color: #BBBBBE;
  border-top: 2px solid #22242A;
  padding: 48px 0 36px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  justify-content: space-between;
}
footer .logo img {
  width: 48px;
  height: 48px;
}
.footer-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.025rem;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #F2EDE3;
  opacity: .92;
  transition: color .15s;
}
.footer-nav a:focus, .footer-nav a:hover {
  color: #DA2128;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 1rem;
  color: #BBBBBE;
}
.footer-contact a {
  color: #F2EDE3;
  text-decoration: underline dotted;
  transition: color .16s;
}
.footer-contact a:hover,.footer-contact a:focus {
  color: #DA2128;
}
footer address {
  font-style: normal;
  color: #A9ACB3;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 32px;
  }
}

/* --- CONTACT PAGE --- */
.contact-details {
  background: #1E2128;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(27,55,91,0.055);
  padding: 24px 22px;
  margin-bottom: 20px;
  color: #F2EDE3;
}
.contact-details h2 {
  color: #DA2128;
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.contact-details address, .contact-details span {
  color: #E0E1E4;
  font-size: 1rem;
}
.map-embed img {
  width: 100%;
  max-width: 420px;
  border-radius: 8px;
  margin-top: 8px;
  box-shadow: 0 2px 10px 0 rgba(27,55,91,0.091);
}
.office-info {
  background: #23262B;
  padding: 18px 14px;
  border-radius: 6px;
  margin-top: 12px;
  box-shadow: 0 1.5px 6px rgba(0,0,0,0.12);
  color: #D7D6D1;
}

/* --- THANK YOU PAGE --- */
.thank-you {
  text-align: center;
  margin: 70px 0;
  color: #F2EDE3;
}
.thank-you h1 {
  color: #DA2128;
  margin-bottom: 25px;
}

/* --- RESPONSIVE FLEX ADAPTION --- */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 650px) {
  .container {
    padding-left: 8px; padding-right: 8px;
  }
}

/* --- BUTTONS & MICROINTERACTIONS --- */
button, .cta-btn, input[type="submit"], input[type="button"], input[type="reset"] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  border: none;
  cursor: pointer;
  outline: none;
  transition: background .17s, color .13s, box-shadow .16s, transform .11s;
}
button:focus, .cta-btn:focus { outline: 2px solid #DA2128; outline-offset: 2px; }

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  background: #1B375B;
  color: #F2EDE3;
  border-radius: 12px;
  box-shadow: 0 8px 48px 0 rgba(0,0,0,0.21);
  padding: 22px 26px 18px 26px;
  z-index: 999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  justify-content: space-between;
  transition: opacity .25s, transform .22s;
  font-size: 1.02rem;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(40px);
}
.cookie-banner button {
  background: #23262B;
  color: #F2EDE3;
  border-radius: 7px;
  padding: 9px 24px;
  border: none;
  margin-left: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.97rem;
  transition: background .17s, color .15s;
}
.cookie-banner button.accept {
  background: #DA2128;
  color: #FFF;
}
.cookie-banner button.accept:hover,
.cookie-banner button.accept:focus {
  background: #B50009;
}
.cookie-banner button.reject {
  background: #BBB9B5;
  color: #1B375B;
}
.cookie-banner button.reject:hover,
.cookie-banner button.reject:focus {
  background: #817f7a;
}
.cookie-banner button.settings {
  background: none;
  border: 1.5px solid #F2EDE3;
  color: #F2EDE3;
  padding: 8px 14px;
  margin-left: 12px;
}
.cookie-banner button.settings:hover { background: #F2EDE3; color: #1B375B; }
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 16px 12px 12px 12px;
    left: 4px; right: 4px;
  }
  .cookie-banner button { width: 100%; margin: 5px 0 0 0; }
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(27,55,91,0.82);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .21s;
}
.cookie-modal {
  background: #22242A;
  color: #F2EDE3;
  border-radius: 18px;
  box-shadow: 0 10px 40px 0 rgba(0,0,0,0.23);
  min-width: 300px;
  max-width: 96vw;
  padding: 32px 28px 24px 28px;
  font-size: 1.04rem;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal h2 {
  color: #DA2128;
  font-size: 1.19rem;
  margin-bottom: 10px;
}
.cookie-modal label,
.cookie-modal .category-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.04rem;
  margin-bottom: 6px;
  gap: 10px;
}
.cookie-modal .switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
}
.cookie-modal .switch input {
  display: none;
}
.cookie-modal .slider {
  position: absolute; cursor: pointer;
  background: #26272E;
  border-radius: 20px;
  top: 0; left: 0;
  right: 0; bottom: 0;
  transition: background .2s;
}
.cookie-modal .slider:before {
  position: absolute;
  content: "";
  height: 16px; width: 16px;
  left: 3px; bottom: 3px;
  background: #DA2128;
  border-radius: 50%;
  transition: transform .21s, background .16s;
}
.cookie-modal .switch input:checked + .slider {
  background: #B8BBC2;
}
.cookie-modal .switch input:checked + .slider:before {
  transform: translateX(16px);
  background: #1B375B;
}
.cookie-modal .slider {
  box-shadow: 0 2px 8px rgba(30,35,40,0.08);
}
.cookie-modal .cookie-category-desc {
  font-size: 0.97rem;
  color: #BBB9B5;
  padding-left: 4px;
  margin-bottom: 10px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal .modal-actions button {
  padding: 9px 20px;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.97rem;
}
.cookie-modal .modal-actions button.save {
  background: #DA2128; color: #FFF;
}
.cookie-modal .modal-actions button.close {
  background: #26272E; color: #F2EDE3;
}
.cookie-modal .modal-actions button.save:hover { background: #B50009; }
.cookie-modal .modal-actions button.close:hover { background: #353843; }

@media (max-width: 500px) {
  .cookie-modal {
    padding: 18px 6px 11px 6px;
    min-width: unset;
  }
}

/* --- UTILITY CLASSES --- */
.mb-0 { margin-bottom: 0!important; }
.mb-2 { margin-bottom: 8px!important; }
.mb-4 { margin-bottom: 16px!important; }
.mt-2 { margin-top: 8px!important; }
.mt-4 { margin-top: 16px!important; }
.text-center { text-align: center!important; }
.text-left { text-align: left!important; }
.w-100 { width: 100%!important; }

/* --- SELECTION --- */
::selection { background: #DA2128; color: #FFF; }

/* --- SCROLLBAR --- */
body::-webkit-scrollbar {
  width: 10px;
  background: #21253A;
}
body::-webkit-scrollbar-thumb {
  background: #1B375B;
  border-radius: 10px;
}

/* --- ICONS & ACCENTS --- */
img, svg {
  max-width: 100%;
  vertical-align: middle;
  height: auto;
  user-select: none;
  pointer-events: none;
}

/* === END STYLE.CSS === */
