/* --- 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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F1F1F1;
  color: #24324D;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style-position: inside;
}
a {
  color: #24324D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #DF9641;
  outline: none;
}
button, input[type="submit"] {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
input, textarea, select {
  font-family: inherit;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #24324D;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}
h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}

/* --- BRAND COLORS AS CSS VARIABLES --- */
:root {
  --primary: #24324D;
  --secondary: #F1F1F1;
  --accent: #DF9641;
  --white: #ffffff;
  --shadow-1: 0 2px 12px rgba(36, 50, 77, 0.08);
  --shadow-hover: 0 4px 24px rgba(36, 50, 77, 0.16);
  --border-radius: 18px;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* --- LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  background: var(--white);
  box-shadow: var(--shadow-1);
  border-radius: var(--border-radius);
  padding: 40px 32px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.address-block {
  background: var(--secondary);
  border-radius: 10px;
  padding: 16px;
  margin-top: 20px;
  font-size: 1rem;
  color: #24324D;
  line-height: 1.5;
}

/* --- SECTION SPACING & FLEX LAYOUTS --- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-1);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px) scale(1.02);
}
.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;
  background: var(--secondary);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-1);
  margin-bottom: 20px;
  font-size: 1.1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--secondary);
  border-radius: var(--border-radius);
  padding: 20px;
  margin-bottom: 24px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

/* --- MODERN GRADIENT STYLES --- */
body {
  background: linear-gradient(135deg, #F1F1F1 0%, #d9e0ec 100%);
}
section:nth-of-type(odd) {
  background: linear-gradient(110deg, #F1F1F1 80%, #e2eaf2 100%);
}
section:nth-of-type(even) {
  background: linear-gradient(120deg, #e9eafd 60%, #F1F1F1 100%);
}

/* --- BUTTONS & INTERACTIONS --- */
.btn-primary,
.newsletter-form button,
button.btn-primary {
  background: linear-gradient(93deg, var(--primary) 60%, var(--accent) 100%);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 30px;
  padding: 12px 36px;
  border: none;
  transition: background 0.22s, box-shadow 0.22s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(36, 50, 77, 0.16);
  letter-spacing: 0.01em;
  display: inline-block;
  margin-top: 8px;
}
.btn-primary:hover,
.newsletter-form button:hover,
button.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(93deg, #2e3e60 60%, #e6932f 100%);
  transform: translateY(-2px) scale(1.03);
  box-shadow: var(--shadow-hover);
}
.btn-secondary {
  background: var(--secondary);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 30px;
  font-size: 1.1rem;
  padding: 12px 36px;
  border: 2px solid var(--primary);
  transition: border-color 0.22s, color 0.22s, background 0.2s, transform 0.2s;
  margin-top: 8px;
  display: inline-block;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--primary);
  color: var(--white);
  border-color: var(--accent);
  transform: translateY(-2px) scale(1.03);
}
.btn-link {
  color: var(--accent);
  background: none;
  font-weight: 600;
  font-family: var(--font-display);
  border: none;
  font-size: 1.05rem;
  transition: color 0.18s;
  text-decoration: underline;
  padding: 0;
  margin-top: 14px;
}
.btn-link:hover,
.btn-link:focus {
  color: #c46000;
  text-decoration: none;
}

/* --- NAVIGATION --- */
header {
  background: var(--white);
  box-shadow: 0 1px 12px rgba(36, 50, 77, 0.06);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 90;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 16px 12px 16px;
}
header nav ul {
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav ul li {
  list-style-type: none;
  margin-bottom: 0;
}
header nav ul li a {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 1.05rem;
  font-weight: 500;
  padding: 2px 10px;
  border-radius: 4px;
  transition: color 0.21s, background 0.18s;
}
header nav ul li a:hover,
header nav ul li a:focus {
  color: var(--accent);
  background: #f6efe8;
}

header nav a img {
  height: 36px;
  width: auto;
  margin-right: 18px;
  vertical-align: middle;
}
header .btn-primary {
  margin-left: 24px;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: var(--white);
  font-size: 2.1rem;
  border-radius: 8px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  z-index: 120;
  border: none;
  position: absolute;
  right: 22px;
  top: 14px;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--accent);
  color: var(--primary);
}
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(115deg, var(--secondary) 80%, #e2eafd 100%);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.42s cubic-bezier(0.5, 0.04, 0.29, 1.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 32px 0 0 0;
  box-shadow: var(--shadow-hover);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: var(--primary);
  background: none;
  border-radius: 8px;
  width: 46px;
  height: 46px;
  border: none;
  margin-left: auto;
  margin-right: 18px;
  margin-bottom: 16px;
  transition: background 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #eceff6;
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  padding: 0 32px;
}
.mobile-nav a {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  padding: 11px 0;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--white);
}

/* --- FOOTER --- */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 38px 0 20px 0;
  font-size: 1rem;
  margin-top: 60px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 14px;
}
footer nav a {
  color: var(--accent);
  font-weight: 500;
  font-family: var(--font-display);
  font-size: 1rem;
  transition: color 0.19s;
  padding: 2px 6px;
  border-radius: 3px;
}
footer nav a:hover,
footer nav a:focus {
  color: var(--white);
  text-decoration: underline;
  background: rgba(223,150,65,0.13);
}
footer .address-block {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-radius: 10px;
  margin-top: 0;
  padding: 20px 12px;
  text-align: center;
  font-size: 1rem;
}
footer .address-block a {
  color: #fff;
  text-decoration: underline;
  word-break: break-all;
}
footer .address-block a:hover {
  color: var(--accent);
}

/* --- FORMS --- */
.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 8px;
  align-items: center;
}
.newsletter-form input[type="email"] {
  font-size: 1.1rem;
  font-family: var(--font-body);
  padding: 11px 18px;
  border-radius: 25px;
  border: 1.5px solid #c1c5ce;
  background: #f5f7fc;
  outline: none;
  min-width: 220px;
  transition: border-color 0.16s;
  flex: 1 1 200px;
  margin-right: 0;
}
.newsletter-form input[type="email"]:focus {
  border-color: var(--accent);
}
.newsletter-form button {
  font-size: 1.05rem;
  border-radius: 25px;
  padding: 12px 30px;
  background: linear-gradient(90deg, var(--primary) 60%, var(--accent) 100%);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  border: none;
  transition: background 0.19s;
}
.newsletter-form button:hover,
.newsletter-form button:focus {
  background: linear-gradient(90deg, #33446d 60%, #e6932f 100%);
}
.newsletter-form small {
  font-size: 0.95rem;
  color: #767a84;
  margin-top: 4px;
}

/* --- TYPE SCALE & ELEMENTS --- */
p, ul, ol, small {
  font-family: var(--font-body);
  font-size: 1.08rem;
  color: #24324D;
  margin-bottom: 15px;
}
li {
  margin-bottom: 9px;
}
ul {
  padding-left: 16px;
}
strong {
  font-weight: 600;
}
small {
  font-size: 0.95rem;
  color: #989cb0;
}

.service-price {
  color: var(--accent);
  font-weight: 700;
  margin-left: 6px;
}
.service-highlight {
  background: #e6edfa;
  color: var(--primary);
  padding: 9px 20px;
  border-radius: 9px;
  font-size: 1.07rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.text-section {
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  background: var(--secondary);
  color: #24324D;
  border-left: 7px solid var(--accent);
  box-shadow: var(--shadow-1);
  font-size: 1.08rem;
  margin-right: 0;
  margin-left: 0;
}
.testimonial-card p {
  color: #24324D;
  margin-bottom: 6px;
  font-style: italic;
}
.testimonial-card strong {
  color: var(--primary);
  font-weight: 700;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #788197;
  margin-left: 10px;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1080px) {
  .container {
    max-width: 97vw;
  }
  header nav {
    max-width: 97vw;
  }
}
@media (max-width: 900px) {
  header nav ul {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.22rem; }
  h3 { font-size: 1.02rem; }
  section {
    padding: 22px 3vw;
    margin-bottom: 44px;
  }
  .container,
  header nav {
    padding-left: 4vw;
    padding-right: 4vw;
  }
  .address-block {
    font-size: 0.99rem;
    padding: 12px;
  }
  .content-wrapper {
    padding: 21px 7px;
    margin-bottom: 28px;
    gap: 15px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 15px;
  }
  .feature-item { padding: 16px; }
  .testimonial-card { flex-direction: column; gap: 9px; align-items: flex-start; }
  .mobile-menu-toggle {
    display: flex;
  }
  header nav ul {
    display: none;
  }
  header .btn-primary {
    display: none;
  }
}
@media (max-width: 600px) {
  .newsletter-form {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .newsletter-form input[type="email"],
  .newsletter-form button {
    width: 100%;
    min-width: 0;
  }
  .content-wrapper {
    padding: 11px 2px;
  }
  section { padding: 13px 2vw; }
  footer { font-size: 0.98rem; padding: 18px 0 12px 0; }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: linear-gradient(95deg, #fff 60%, #F1F1F1 100%);
  color: #24324D;
  border-top: 2px solid #e7eaf3;
  box-shadow: 0 -2px 10px rgba(36, 50, 77, 0.09);
  padding: 16px 20px 14px 20px;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  font-size: 1.04rem;
  animation: cookieBannerAppear 0.5s cubic-bezier(0.5, 0.2, 0.1, 1);
}
@keyframes cookieBannerAppear {
  from { opacity: 0; transform: translateY(100%); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner__text {
  flex: 1 1 270px;
  margin-right: 20px;
  color: #24324D;
  font-size: 1.01rem;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner .btn-accept {
  background: linear-gradient(90deg, var(--primary) 60%, var(--accent) 100%);
  color: #fff;
  border-radius: 25px;
  font-weight: 600;
  border: none;
  padding: 10px 28px;
  font-family: var(--font-display);
  font-size: 1.03rem;
  transition: background 0.18s;
}
.cookie-banner .btn-accept:hover { background: linear-gradient(90deg, #1b253a 70%, #ecbe6b 100%); }
.cookie-banner .btn-reject {
  background: #e6eafb;
  color: var(--primary);
  border-radius: 25px;
  font-family: var(--font-display);
  border: none;
  font-weight: 600;
  padding: 10px 22px;
  font-size: 1.03rem;
  transition: background 0.14s;
}
.cookie-banner .btn-reject:hover { background: #fbe7e6; color: #c71717; }
.cookie-banner .btn-settings {
  background: var(--accent);
  color: var(--white);
  border-radius: 25px;
  font-family: var(--font-display);
  border: none;
  font-weight: 600;
  padding: 10px 18px;
  font-size: 1.03rem;
  transition: background 0.14s;
}
.cookie-banner .btn-settings:hover { background: #ad6919; }

/* --- COOKIE MODAL --- */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(36, 50, 77, 0.49);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieFadeIn 0.35s linear;
}
@keyframes cookieFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 10px 40px rgba(36, 50, 77, 0.15);
  padding: 30px 30px 24px 30px;
  max-width: 410px;
  width: 92vw;
  margin: 0 auto;
  font-size: 1.06rem;
  color: #24324D;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 10002;
  animation: cookieModalAppear 0.28s cubic-bezier(0.44,0.06,0.59,1.3);
}
@keyframes cookieModalAppear {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  font-family: var(--font-display);
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 8px;
}
.cookie-modal-category input[type=checkbox] {
  accent-color: var(--accent);
  width: 18px; height: 18px;
}
.cookie-modal-category.essential input[type=checkbox]{
  accent-color: #ccc;
}
.cookie-modal-category label {
  font-family: var(--font-body);
  font-size: 1.01rem;
}
.cookie-modal-actions {
  margin-top: 12px;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 13px;
  background: none;
  color: #24324D;
  border: none;
  font-size: 1.35rem;
  border-radius: 4px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal-close:hover { background: #eceff6; color: var(--accent); }
.cookie-modal .btn-primary {
  margin-left: 0;
  font-size: 1.01rem;
  padding: 10px 22px;
}

/* --- TRANSITIONS & MICRO-INTERACTIONS --- */
.card,
.btn-primary, .btn-secondary, .btn-link, .newsletter-form button,
.mobile-menu, .mobile-menu-close, .mobile-nav a,
input, .cookie-banner button, .cookie-modal, .feature-item,
section {
  transition: box-shadow 0.18s, background 0.16s, color 0.17s, transform 0.15s;
}

/* --- ACCESSIBILITY FOCUS --- */
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus, .btn-link:focus, input:focus {
  outline: 2.5px solid var(--accent);
  outline-offset: 2px;
}

/* --- Z-INDEX FOR CRITICAL ELEMENTS --- */
header {
  z-index: 90;
}
.mobile-menu { z-index: 999; }
.mobile-menu-toggle { z-index: 120; }
.cookie-banner { z-index: 9999; }
.cookie-modal-backdrop { z-index: 10001; }

/* --- MISC --- */
::-webkit-scrollbar { width: 9px; background: #e9eaf1; }
::-webkit-scrollbar-thumb { background: #d6d9e5; border-radius: 7px; }
::-webkit-scrollbar-thumb:hover { background: #c3cade; }

/* --- ENSURE NO ELEMENT OVERLAP --- */
section, .container, .content-wrapper {
  margin-bottom: 44px;
  box-sizing: border-box;
}

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