/* --- CSS RESET & NORMALIZE (MOBILE FIRST) --- */
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, menu, 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, 
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #F5F7FA;
  color: #21243D;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s;
}
ul, ol {
  list-style: disc inside;
  padding-left: 1em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1em;
  border-radius: 0;
  outline: none;
}
button {
  cursor: pointer;
}
input, select, textarea {
  box-shadow: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #21243D;
  letter-spacing: 0.01em;
}
h1 { font-size: 2rem; line-height: 1.15; margin-bottom: 16px; }
h2 { font-size: 1.5rem; line-height: 1.2; margin-bottom: 16px; }
h3 { font-size: 1.125rem; line-height: 1.25; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1em; margin-bottom: 8px; }

.subheadline {
  color: #495073;
  font-size: 1.125rem;
  margin-bottom: 24px;
}

strong { font-weight: 700; }

/* --- VARIABLES (FALLBACKS) --- */
:root {
  --color-primary: #21243D;
  --color-secondary: #E8E0D8;
  --color-accent: #8F1653;
  --color-bg: #F5F7FA;
  --color-dark: #21243D;
  --color-light: #FFFFFF;

  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 36px;

  --shadow-s: 0 2px 8px 0 rgba(33,36,61,0.05);
  --shadow-m: 0 4px 20px 0 rgba(33,36,61,0.12);
  --shadow-nav: 0 2px 10px 0 rgba(33,36,61,0.09);
}

/* --- CONTAINER & STRUCTURE --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

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

.section, .hero, .features, .cta, .about,
.about-detail, .about-blog, .services-section, .services-detail, .contact-details, .testimonials, .privacy-section, .gdpr-section, .cookies-section, .terms-section, .thank-you-message, .blog-preview {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* --- HEADER --- */
header {
  background: var(--color-light);
  box-shadow: var(--shadow-nav);
  position: sticky;
  top: 0;
  z-index: 110;
  width: 100%;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 72px;
}
.logo img {
  height: 36px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  position: relative;
  font-family: var(--font-body);
  font-size: 1em;
  color: var(--color-dark);
  font-weight: 500;
  padding: 8px 0;
  transition: color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-accent);
}

.cta-btn {
  font-family: var(--font-display);
  background: var(--color-accent);
  color: var(--color-light);
  padding: 12px 26px;
  border-radius: var(--radius-m);
  border: none;
  font-size: 1em;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.17s, box-shadow 0.19s, color 0.17s;
  margin-left: 24px;
  box-shadow: 0 2px 14px 0 rgba(143,22,83,0.10);
  outline: none;
  cursor: pointer;
  display: inline-block;
  position: relative;
  z-index: 1;
}
.cta-btn:hover, .cta-btn:focus {
  background: #AC2A6A;
  color: #fff;
  box-shadow: 0 6px 24px 0 rgba(143,22,83,0.14);
  text-decoration: none;
}

.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: 2.2em;
  color: var(--color-primary);
  z-index: 120;
  margin-left: 18px;
  padding: 4px 2px;
  transition: color 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: var(--color-accent);
}

/* --- HIDE NAV ON MOBILE --- */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
  }
}

/* --- MOBILE MENU STYLES --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(33,36,61,0.92);
  z-index: 200;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.52,0.16,0.24,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 3em;
  margin: 36px 32px 0 0;
  color: var(--color-light);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 210;
  padding: 0;
  transition: color 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin-top: -70px;
}
.mobile-nav a {
  font-size: 1.35em;
  font-family: var(--font-display);
  color: var(--color-light);
  padding: 12px 0;
  transition: color 0.18s, text-decoration 0.17s;
  letter-spacing: 0.01em;
  font-weight: 600;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-accent);
  text-decoration: underline;
}
@media (min-width: 1025px) {
  .mobile-menu-toggle {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
}

/* -------- MAIN LAYOUT SECTIONS -------- */
.hero {
  padding: 56px 20px 42px 20px;
  background: linear-gradient(120deg, #E8E0D8 70%, #fff 100%);
  box-shadow: 0 4px 28px 0 rgba(33,36,61,0.07);
  border-radius: 0 0 28px 28px;
}
.hero h1 {
  font-size: 2.4rem;
  font-family: var(--font-display);
  color: var(--color-primary);
  margin-bottom: 8px;
}
.hero .subheadline {
  font-size: 1.15rem;
  margin-bottom: 38px;
  color: #495073;
}

.features .feature-grid, .features .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  margin-top: 28px;
}
.feature-item {
  background: var(--color-light);
  border-radius: var(--radius-s);
  box-shadow: var(--shadow-s);
  padding: 28px 24px 22px 24px;
  min-width: 220px;
  flex: 1 1 225px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, transform 0.12s;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 8px 24px 0 rgba(33,36,61,0.08);
  transform: translateY(-3px) scale(1.02);
}
.feature-item img {
  width: 40px;
  height: 40px;
  margin-bottom: 6px;
}
.feature-item h3 {
  font-size: 1.08em;
  color: var(--color-accent);
  margin-bottom: 4px;
}

.about, .about-detail, .about-blog {
  background: #fff;
  border-radius: var(--radius-s);
  box-shadow: var(--shadow-s);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.text-section {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section ul {
  margin-top: 12px;
  margin-bottom: 0;
  padding-left: 1em;
}
.text-section li {
  line-height: 1.7;
  margin-bottom: 8px;
  font-size: 1em;
}

.testimonials {
  background: var(--color-secondary);
  border-radius: var(--radius-s);
  box-shadow: var(--shadow-s);
  padding: 40px 20px;
}
.testimonials h2 {
  margin-bottom: 28px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  box-shadow: var(--shadow-s);
  border-radius: var(--radius-s);
  padding: 20px 24px;
  margin-bottom: 20px;
  flex-direction: column;
  align-items: flex-start;
  max-width: 620px;
}
.testimonial-card blockquote {
  font-size: 1.06em;
  color: #21243D;
  margin-bottom: 6px;
  font-style: italic;
  font-family: var(--font-body);
  line-height: 1.6;
}
.testimonial-info {
  font-size: 0.98em;
  color: #495073;
}

.privacy-section, .gdpr-section, .cookies-section, .terms-section, .thank-you-message {
  background: #fff;
  border-radius: var(--radius-s);
  box-shadow: var(--shadow-s);
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* --- BLOG PREVIEW --- */
.blog-preview .article-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  justify-content: flex-start;
}
.blog-preview .article-preview > div {
  background: var(--color-light);
  box-shadow: var(--shadow-s);
  border-radius: var(--radius-s);
  padding: 22px 20px 16px 20px;
  min-width: 240px;
  flex: 1 1 245px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-left: 4px solid var(--color-accent);
  transition: box-shadow 0.15s, transform 0.13s;
}
.blog-preview .article-preview > div:hover {
  box-shadow: 0 8px 40px 0 rgba(33,36,61,0.10);
  transform: scale(1.03);
}
.blog-preview h3 {
  margin-bottom: 0;
  color: var(--color-primary);
  font-size: 1.16em;
  cursor: pointer;
}
.blog-preview .author {
  color: #495073;
  font-size: 0.98em;
}

/* --- CTA SECTION --- */
.cta {
  background: linear-gradient(90deg, #21243D 85%, #E8E0D8 120%);
  color: var(--color-light);
  border-radius: var(--radius-s);
  box-shadow: var(--shadow-m);
}
.cta h2, .cta p {
  color: var(--color-light);
}
.cta .cta-btn {
  background: #fff;
  color: var(--color-accent);
  border-radius: var(--radius-m);
  box-shadow: 0 2px 16px 0 rgba(33,36,61,0.09);
  transition: color 0.15s, background 0.18s;
  font-family: var(--font-display);
}
.cta .cta-btn:hover, .cta .cta-btn:focus {
  background: var(--color-accent);
  color: #fff;
}

/* --- SERVICES SECTION --- */
.services-section .service-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 30px;
}
.service-item {
  background: var(--color-light);
  border-radius: var(--radius-s);
  box-shadow: var(--shadow-s);
  padding: 24px 20px 16px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.15s, transform 0.13s;
}
.service-item:hover, .service-item:focus {
  box-shadow: 0 10px 32px 0 rgba(33,36,61,0.11);
  transform: translateY(-4px) scale(1.015);
}
.service-item h3 {
  display: flex;
  align-items: center;
  font-size: 1.12em;
}
.service-price {
  margin-left: 16px;
  color: var(--color-accent);
  font-size: 1em;
  font-weight: 600;
}

/* --------- FOOTER --------- */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 44px 0 20px 0;
  margin-top: 64px;
}
footer .container {
  flex-direction: column;
  align-items: stretch;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}
footer .logo img {
  height: 46px;
  margin-bottom: 12px;
  filter: brightness(300%) grayscale(1);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 10px;
  font-size: 1em;
  justify-content: center;
}
.footer-nav a, .footer-contact a {
  color: #fff;
  opacity: 0.95;
  transition: color 0.15s, opacity 0.13s;
}
.footer-nav a:hover, .footer-contact a:hover {
  color: var(--color-accent);
  opacity: 1;
}
.footer-contact {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.97em;
  color: #E8E0D8;
  line-height: 1.7;
  margin-bottom: 14px;
}
.footer-legal {
  color: #93A3B4;
  font-size: 0.87em;
  margin-top: 6px;
  text-align: center;
}

/* --------- RESPONSIVE DESIGN --------- */
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
  }
  .features .feature-grid, .content-grid, .blog-preview .article-preview {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .main-nav {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 12px;
  }
  header .container {
    height: 60px;
    padding: 0 8px;
  }
  .hero {
    padding: 32px 10px 24px 10px;
    border-radius: 0 0 16px 16px;
  }
  .section, .features, .about, .cta, .about-detail,
  .about-blog, .services-section, .services-detail, .contact-details, .testimonials,
  .privacy-section, .gdpr-section, .cookies-section, .terms-section, .thank-you-message, .blog-preview {
    padding: 28px 6px;
    margin-bottom: 44px;
  }
  footer .content-wrapper {
    gap: 16px;
  }
  .footer-nav {
    gap: 16px;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.27rem; margin-bottom: 12px; }
  h2 { font-size: 1.08rem; }
  .hero h1 { font-size: 1.35rem; }
  .testimonial-card, .feature-item, .service-item, .blog-preview .article-preview > div {
    min-width: 0;
    padding: 14px 10px;
    font-size: 1em;
  }
  .cta .cta-btn {
    width: 100%;
    margin: 0;
    padding: 13px 0;
    font-size: 1em;
  }
}

/* --- FLEX DIRECTION COLUMN ON MOBILE --- */
.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: 20px;
  }
}

/* --- CARD CONTAINER, SPACING, FLEXBOX --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-light);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
  margin-bottom: 20px;
  padding: 28px 24px;
  position: relative;
  flex: 1 1 260px;
  min-width: 240px;
  transition: box-shadow 0.18s, transform 0.14s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 12px 40px 0 rgba(33,36,61,0.13);
  transform: scale(1.020);
}

/* --- CONTENT GRID --- */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --- ADDRESS MAP --- */
.address-map {
  background: #eff1f4;
  border-radius: var(--radius-s);
  padding: 16px 12px;
  margin: 16px 0 18px 0;
  font-size: 1em;
  color: #21243D;
  box-shadow: 0 2px 10px 0 rgba(33,36,61,0.07);
}

/* --- TABLE, FORMS, INPUTS, TABLES, ETC. (If needed for extended pages) --- */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}
th, td {
  padding: 10px 8px;
  border-bottom: 1px solid #e7e7ef;
  text-align: left;
}

input, textarea, select {
  border: 1px solid #c4c6d7;
  border-radius: var(--radius-s);
  padding: 8px 12px;
  width: 100%;
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-size: 1em;
  transition: border 0.15s;
}
input:focus, textarea:focus, select:focus {
  border: 1.7px solid var(--color-accent);
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 2100;
  background: #21243D;
  color: #fff;
  box-shadow: 0 -2px 20px 0 rgba(33,36,61,0.13);
  padding: 26px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  font-size: 0.98em;
  animation: fadeInBanner 0.62s cubic-bezier(.39,.58,.57,1.01);
}
@keyframes fadeInBanner {
  from { opacity: 0; transform: translateY(70px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.cookie-btn, .cookie-settings-btn {
  background: #fff;
  color: var(--color-accent);
  border: none;
  border-radius: var(--radius-s);
  padding: 10px 20px;
  font-size: 1em;
  font-weight: 600;
  font-family: var(--font-display);
  margin: 0 3px;
  box-shadow: 0 2px 10px 0 rgba(143,22,83,0.06);
  transition: background 0.14s, color 0.12s, box-shadow 0.13s;
  outline: none;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 6px 18px 0 rgba(143,22,83,0.15);
}
.cookie-settings-btn {
  background: #e8e0d8;
  color: var(--color-primary);
  font-weight: 500;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: var(--color-accent);
  color: #fff;
}
@media (max-width: 600px) {
  .cookie-banner { padding: 18px 6px; gap: 11px; }
  .cookie-banner .cookie-actions { flex-direction: column; gap: 9px; }
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2200;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(33,36,61,0.68);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.23s cubic-bezier(.5,1.7,.7,1.3);
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-m);
  box-shadow: 0 12px 70px 0 rgba(33,36,61,0.21);
  max-width: 372px;
  width: 93vw;
  padding: 38px 24px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: popupModal 0.43s cubic-bezier(.45,1.35,.56,1.03);
}
@keyframes popupModal {
  from { opacity: 0; transform: scale(0.9) translateY(40px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h3 {
  font-size: 1.18em;
  color: var(--color-primary);
  margin-bottom: 4px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f1f1f2;
  font-size: 1em;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-toggle {
  width: 46px;
  height: 26px;
  position: relative;
  display: inline-block;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #e8e0d8;
  border-radius: 13px;
  transition: background 0.16s;
}
.cookie-toggle input:checked + .cookie-slider {
  background: var(--color-accent);
}
.cookie-slider:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px 0 rgba(33,36,61,0.10);
  transition: transform 0.17s;
}
.cookie-toggle input:checked + .cookie-slider:before {
  transform: translateX(20px);
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

/* --- FLOATING LABELS EXAMPLE (OPTIONAL) --- */
.floating-label {
  position: relative;
  margin-bottom: 20px;
}
.floating-label input, .floating-label textarea {
  padding: 12px 10px 12px 0;
  border: none;
  border-bottom: 2px solid #B1B8C0;
  background: transparent;
  font-size: 1em;
}
.floating-label label {
  position: absolute;
  left: 0;
  top: 12px;
  color: #888;
  font-size: 1em;
  pointer-events: none;
  transition: 0.18s;
}
.floating-label input:focus + label, .floating-label input:not(:placeholder-shown) + label,
.floating-label textarea:focus + label, .floating-label textarea:not(:placeholder-shown) + label {
  top: -10px;
  font-size: 0.85em;
  color: var(--color-accent);
}

/* --------- ACCESSIBILITY & FOCUS STATES --------- */
a:focus, button:focus, .cta-btn:focus {
  outline: 2px dashed var(--color-accent);
  outline-offset: 2px;
}

/* --- MICRO-INTERACTIONS & HOVERS --- */
.button, .cta-btn, .cookie-btn, .cookie-settings-btn {
  transition: background 0.18s, color 0.17s, box-shadow 0.15s;
}
input, select, textarea {
  transition: border 0.16s, box-shadow 0.14s;
}

/* --- PRINT CLEANUP (Optional) --- */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  .container, .section, main, body { background: #fff !important; } 
}
