/* ==================================================
   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 {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background-color: #F9F6F2;
  color: #1D2433;
  font-family: 'Roboto', Arial, sans-serif;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
ul, ol {
  list-style-position: inside;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}
a {
  color: #B22231;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E63946;
  text-decoration: underline;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  background: none;
  border: none;
  outline: none;
  color: inherit;
  box-sizing: border-box;
}
button { cursor: pointer; }

/* ====================
   VARIABLES & BASE COLORS
   ==================== */
:root {
  --color-primary: #1D3557;
  --color-secondary: #F1FAEE;
  --color-accent: #B22231;
  --color-bg: #F9F6F2;
  --color-light: #FFFFFF;
  --color-dark: #1D2433;
  --color-shadow: rgba(48, 58, 72, 0.08);
  --color-card-bg: #FFFFFF;
  --color-section-bg: #F8EDEB;
  --color-feature-bg: #FFF3F0;
  --color-neutral: #F1FAEE;
}

/* ====================
   TYPOGRAPHY
   ==================== */
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: var(--color-dark);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--color-primary);
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  line-height: 1.2;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  line-height: 1.3;
}
h4 {
  font-size: 1.2rem;
}
.subheadline {
  color: var(--color-accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  margin-bottom: 24px;
  font-weight: 500;
}

p, li {
  font-size: 1rem;
  color: var(--color-dark);
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
}

/* ====================
   CONTAINER & LAYOUT
   ==================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  padding: 28px 0;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background-color: var(--color-section-bg);
  border-radius: 24px;
  box-shadow: 0 2px 16px var(--color-shadow);
}
.section:last-child {
  margin-bottom: 0;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card-bg);
  margin-bottom: 20px;
  padding: 32px 22px;
  border-radius: 18px;
  box-shadow: 0 2px 12px var(--color-shadow);
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 270px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(48,58,72,0.14);
  transform: translateY(-3px) scale(1.01);
}

.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;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-light);
  border-radius: 16px;
  box-shadow: 0 2px 12px var(--color-shadow);
  margin-bottom: 24px;
  min-width: 250px;
  max-width: 380px;
  transition: box-shadow 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 20px rgba(210,67,73,0.11);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-feature-bg);
  border-radius: 18px;
  padding: 24px 18px 18px 18px;
  box-shadow: 0 1px 8px var(--color-shadow);
  min-width: 220px;
  flex: 1 1 215px;
  margin-bottom: 20px;
  transition: box-shadow 0.15s, transform 0.15s;
}
.feature-item img {
  width: 40px;
  height: 40px;
}
.feature-item:hover {
  box-shadow: 0 5px 20px rgba(210,67,73,0.10);
  transform: translateY(-2px) scale(1.02);
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}

.offer-type-list > h3 {
  color: var(--color-accent);
  margin-top: 24px;
}
.offer-type-list > ul {
  margin-bottom: 20px;
}

.ups-list, .usp-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.usp-list li {
  background-color: var(--color-feature-bg);
  border-radius: 14px;
  padding: 14px 16px 13px 13px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}
.usp-list img {
  width: 32px; height: 32px; flex-shrink: 0;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}
.service-list li {
  background: var(--color-neutral);
  border-radius: 13px;
  box-shadow: 0 1px 7px var(--color-shadow);
  padding: 18px 16px 17px 16px;
  flex: 1 1 235px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 13px;
  font-weight: 500;
  min-width: 210px;
}
.service-list img {
  width: 28px; height: 28px; flex-shrink: 0;
}

/* Process, steps, snippets */
.process-overview {
  background: var(--color-section-bg);
  border-radius: 14px;
  padding: 18px 16px;
  margin: 22px 0 0 0;
}
.address-block, .map-embed, .contact-snippet {
  background: var(--color-feature-bg);
  padding: 18px 16px 8px 16px;
  border-radius: 16px;
  margin-bottom: 17px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-snippet img, .address-block img, .map-embed img {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  display: inline-block;
  vertical-align: middle;
}

.steps {
  margin: 0 0 16px 18px;
  list-style-type: decimal;
}

/* ====================
   HEADER & NAVIGATION
   ==================== */
header {
  width: 100%;
  background: var(--color-light);
  border-bottom: 1px solid #EEE8E5;
  box-shadow: 0 1px 10px rgba(29,53,87,0.05);
  position: relative;
  z-index: 30;
}
header .container {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}
header nav {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-left: 38px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  border-radius: 7px;
  transition: background 0.13s;
}
header nav a:hover, header nav a:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
}
header a.button {
  margin-left: 44px;
  font-family: 'Montserrat', Arial, sans-serif;
}
header img {
  height: 42px;
  width: auto;
  border-radius: 12px;
}

/* ====================
   BUTTONS
   ==================== */
.button {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  padding: 12px 28px;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 22px;
  text-align: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.14rem;
  font-weight: 700;
  transition: background 0.16s, box-shadow 0.13s, transform 0.15s;
  box-shadow: 0 2px 9px var(--color-shadow);
  cursor: pointer;
  text-decoration: none;
  outline: none;
}
.button.primary {
  background: var(--color-accent);
  color: var(--color-light);
}
.button.secondary {
  background: var(--color-primary);
  color: var(--color-light);
}
.button:hover, .button:focus {
  background: #E63946;
  color: #fff;
  box-shadow: 0 5px 16px rgba(210,67,73,0.13);
  transform: translateY(-1px) scale(1.045);
}

/* ====================
   HERO & SPECIAL SECTIONS
   ==================== */
.hero {
  background: linear-gradient(95deg, #FFF6EB 70%, #F4D6D7 100%);
  border-bottom-right-radius: 60px;
  border-bottom-left-radius: 60px;
  box-shadow: 0 8px 44px rgba(210,67,73,0.05);
  padding: 60px 0 40px 0;
  text-align: left;
  margin-bottom: 40px;
}
.hero h1 {
  margin-bottom: 18px;
  color: var(--color-accent);
}
.hero .button {
  margin-top: 16px;
}

/* Testimonials Slider */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin: 8px 0 0 0;
}
.testimonial-snippet {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.testimonial-card p {
  font-size: 1.09rem;
  font-style: italic;
  color: var(--color-dark);
  margin-bottom: 10px;
  text-align: center;
}
.testimonial-card span {
  color: var(--color-accent);
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 2px;
}
.testimonial-card .stars {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #FFC30C;
  font-size: 1.33rem;
  letter-spacing: 2px;
}

/* ====================
  TABLES & LISTS
  ==================== */
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 24px;
}
th, td {
  padding: 8px 10px;
  text-align: left;
}
th {
  background: var(--color-primary);
  color: #fff;
}
td {
  background: var(--color-light);
  color: var(--color-primary);
}

ul, ol {
  margin-bottom: 18px;
  padding-left: 20px;
  line-height: 1.6;
}
li {
  margin-bottom: 7px;
}

/* ====================
  FOOTER
  ==================== */
footer {
  background: #FFF6EB;
  border-top: 1px solid #F8EDEB;
  padding: 44px 0 24px 0;
  margin-top: 44px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand img {
  width: 50px;
  height: 50px;
  border-radius: 12px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  font-size: 1rem;
  margin-bottom: 2px;
}
.footer-contact p {
  color: var(--color-dark);
  font-size: 0.98rem;
  margin-bottom: 4px;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 19px;
}
.footer-social img {
  width: 32px; height: 32px; border-radius: 6px;
  filter: grayscale(0.14);
  transition: filter 0.14s;
}
.footer-social img:hover {
  filter: grayscale(0) brightness(1.1);
}

/* ====================
  MOBILE BURGER MENU
  ==================== */
.mobile-menu-toggle {
  background: var(--color-accent);
  border: none;
  color: #fff;
  font-size: 2.2rem;
  border-radius: 10px;
  padding: 6px 16px 5px 16px;
  display: none;
  position: absolute;
  right: 22px;
  top: 14px;
  z-index: 101;
  box-shadow: 0 2px 7px var(--color-shadow);
  transition: background 0.17s, transform 0.2s;
}
.mobile-menu-toggle:active {
  background: #E63946;
  transform: scale(0.95);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 8px 48px rgba(29,53,87,0.11);
  z-index: 200;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.81,.05,.64,1.19), box-shadow 0.18s;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding-top: 34px;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 2rem;
  width: 38px;
  height: 38px;
  z-index: 210;
  box-shadow: 0 2px 12px var(--color-shadow);
  transition: background 0.13s, transform 0.11s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #E63946;
  transform: scale(1.08);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  padding: 40px 44px 0 34px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  color: var(--color-primary);
  padding: 11px 0;
  border-radius: 7px;
  transition: background 0.13s, color 0.12s;
  width: 100%;
  display: block;
  min-width: 180px;
}
.mobile-nav a:hover, .mobile-nav a:active { background: #F8EDEB; color: var(--color-accent); }

@media (max-width: 1100px) {
  .container { max-width: 98vw; }
}
@media (max-width: 900px) {
  .footer-nav, .footer-contact, .footer-brand, .footer-social {
    min-width: 120px;
    margin-bottom: 10px;
  }
}
@media (max-width: 850px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .testimonial-slider, .card-container, .feature-grid, .testimonial-snippet {
    gap: 19px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding: 0 8px;
  }
  .section {
    margin-bottom: 40px;
    padding: 26px 8px;
    border-radius: 18px;
  }
  .content-wrapper {
    padding: 20px 0;
  }
  header .container {
    padding: 6px 8px 6px 8px;
    min-height: 64px;
  }
  header nav { display: none; }
  header a.button { display: none; }
  .mobile-menu-toggle { display: block; }
  .feature-grid, .card-container, .testimonial-slider, .testimonial-snippet, .content-grid, .service-list {
    flex-direction: column;
    gap: 13px;
  }
  .feature-item,
  .usp-list li,
  .service-list li,
  .card {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  .footer-social {
    margin-top: 16px;
    margin-bottom: 9px;
  }
  .footer-brand img { width: 42px; height: 42px; }
  .footer-nav, .footer-contact {
    font-size: 0.96rem;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.33rem; }
  h3 { font-size: 1.12rem; }
  .section { padding: 15px 4px; border-radius: 13px; }
  .button { font-size: 1rem; padding: 10px 17px; }
  .usp-list, .service-list, .feature-grid, .testimonial-slider, .testimonial-snippet {
    gap: 10px;
  }
}
@media (max-width: 425px) {
  .container { padding: 0 2px; }
  h1 { font-size: 1.13rem; }
  .section { margin-bottom: 24px; }
}

/* ==========================
   COOKIE CONSENT BANNER
   ========================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100vw;
  background: #FFFFFF;
  box-shadow: 0 -4px 20px rgba(29,53,87,0.13);
  border-top: 2px solid var(--color-accent);
  padding: 20px 20px 20px 14px;
  z-index: 6000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(50px);
  transition: opacity 0.27s, transform 0.32s;
}
.cookie-banner.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner p {
  color: #3a2838;
  font-size: 1rem;
  margin-bottom: 0;
  flex: 1 1 250px;
}
.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: center;
}
.cookie-btn {
  padding: 8px 22px;
  border-radius: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  margin-right: 6px;
  transition: background 0.17s, color 0.15s, box-shadow 0.12s;
  box-shadow: 0 1px 6px var(--color-shadow);
  outline: none;
}
.cookie-btn.accept-all {
  background: var(--color-accent);
  color: #fff;
}
.cookie-btn.accept-all:hover, .cookie-btn.accept-all:focus {
  background: #E63946;
}
.cookie-btn.reject-all {
  background: #ddd6dd;
  color: var(--color-dark);
}
.cookie-btn.reject-all:hover, .cookie-btn.reject-all:focus {
  background: #CCC;
  color: #1D3557;
}
.cookie-btn.settings {
  background: var(--color-secondary);
  color: var(--color-accent);
  border: 1.8px solid var(--color-accent);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #F8EDEB;
  color: #E63946;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 11px 4px 13px 7px;
    border-radius: 9px 9px 0 0;
    font-size: 0.96rem;
  }
  .cookie-buttons { flex-direction: row; }
  .cookie-btn { width: 100%; margin-right: 0; min-width: 110px; }
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  z-index: 6200;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(29,53,87,0.33);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal .modal-content {
  background: #fff;
  border-radius: 22px;
  max-width: 410px;
  width: 93vw;
  box-shadow: 0 6px 36px rgba(210,67,73,0.13);
  padding: 38px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal .modal-content h2 {
  margin: 0 0 11px 0;
  font-size: 1.32rem;
  color: var(--color-accent);
}
.cookie-modal .modal-content label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 12px 0;
  padding: 8px 0;
  font-size: 1rem;
  font-weight: 500;
}
.cookie-modal .modal-content .toggle-switch {
  width: 44px;
  height: 26px;
  background: #e9e9ea;
  border-radius: 14px;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  transition: background 0.13s;
}
.cookie-modal .modal-content .toggle-switch input {
  display: none;
}
.cookie-modal .modal-content .toggle-switch .slider {
  position: absolute;
  left: 3px; top: 3px;
  width: 20px;
  height: 20px;
  background: var(--color-accent);
  border-radius: 50%;
  transition: transform 0.22s, background 0.13s;
}
.cookie-modal .modal-content .toggle-switch input:not(:checked) + .slider {
  background: #ccc;
  transform: translateX(0);
}
.cookie-modal .modal-content .toggle-switch input:checked + .slider {
  background: var(--color-accent);
  transform: translateX(18px);
}
.cookie-modal .modal-content button {
  margin-top: 11px;
}
.cookie-modal .close-modal-btn {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 7px;
  border: none;
  width: 32px; height: 32px;
  font-size: 1.2rem;
  font-weight: bold;
  z-index: 30;
  cursor: pointer;
  transition: background 0.14s, transform 0.13s;
}
.cookie-modal .close-modal-btn:hover {
  background: #E63946;
  transform: scale(1.08);
}

@media (max-width: 600px) {
  .cookie-modal .modal-content {
    max-width: 97vw;
    padding: 28px 7px 16px 7px;
    border-radius: 12px;
  }
}

/* ==========================
   MISC
   ========================== */
::-webkit-scrollbar-thumb {
  background: #EADBDE;
  border-radius: 14px;
}
::-webkit-scrollbar {
  width: 8px;
  background: #F7EEF3;
}
::selection {
  background: #FADDE1;
}

input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--color-accent);
}

/* ==========================
   PRINT
   ========================== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ==========================
   ACCESSIBILITY & FOCUS
   ========================== */
a, button, .button, .cookie-btn, .mobile-menu-close {
  outline: none;
  box-shadow: none;
}
a:focus-visible, button:focus-visible, .button:focus-visible, .cookie-btn:focus-visible, .mobile-menu-close:focus-visible {
  outline: 3px solid #E63946;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px #FADDE1;
}
