/* --- CSS RESET & BASE --- */
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 {
  min-height: 100vh;
  background: var(--accent);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
*:focus-visible {
  outline: 2px dashed var(--secondary);
  outline-offset: 2px;
}

:root {
  --primary: #16213E;
  --secondary: #E84545;
  --accent: #F5F6FA;
  --dark: #11101A;
  --white: #fff;
  --gray: #d7d8dc;
  --shadow: rgba(22,33,62,0.09);
  --radius-card: 18px;
  --radius-btn: 10px;
  --radius-pill: 22px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, .brand {
  font-family: 'Merriweather', 'Times New Roman', Times, serif;
  color: var(--primary);
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  letter-spacing: -.5px;
}
h4 {
  font-size: 1.15rem;
}
.subheadline {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.125rem;
  color: var(--secondary);
  font-weight: 500;
  margin-bottom: 18px;
}
p, li, ul, ol {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
strong {
  font-weight: 600;
}

.price {
  color: var(--secondary);
  font-weight: bold;
  margin-left: 7px;
}

/* --- LAYOUT & CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: 0 6px 28px var(--shadow);
  padding: 40px 30px;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  z-index: 1;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: 0 2px 16px var(--shadow);
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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 {
  background: var(--accent);
  color: var(--primary);
  border-radius: var(--radius-card);
  box-shadow: 0 2px 16px var(--shadow);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, background 0.22s;
}
.testimonial-card:hover {
  background: var(--white);
  box-shadow: 0 6px 32px rgba(232,69,69,0.08);
}
.testimonial-card .client {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: var(--secondary);
  font-style: italic;
  margin-left: auto;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* --- HEADER --- */
header {
  background: var(--white);
  box-shadow: 0 6px 18px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 200;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 22px 20px;
}
header img {
  height: 48px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  position: relative;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover,
.main-nav a:focus-visible {
  background: var(--accent);
  color: var(--secondary);
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  background: var(--secondary);
  color: var(--white);
  border-radius: var(--radius-btn);
  padding: 12px 28px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: .04em;
  box-shadow: 0 2px 16px var(--shadow);
  border: 1.5px solid transparent;
  transition: background 0.16s, color 0.16s, box-shadow 0.16s, border-color 0.15s;
  cursor: pointer;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn:hover, .btn:focus-visible {
  background: var(--white);
  color: var(--secondary);
  border-color: var(--secondary);
  box-shadow: 0 6px 28px rgba(232,69,69,0.14);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
  box-shadow: 0 6px 28px rgba(22,33,62,0.15);
}

/* --- FOOTER --- */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 50px 0 0 0;
  margin-top: 40px;
  box-shadow: 0 -5px 16px rgba(22,33,62,0.04);
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
  padding: 28px 20px 18px 20px;
  flex-wrap: wrap;
}
.footer-logo img {
  height: 42px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: var(--accent);
  font-size: 1rem;
  padding: 3px 0;
  border-radius: 0;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus-visible {
  color: var(--secondary);
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  font-size: .95rem;
  gap: 6px;
  color: var(--accent);
}
.footer-contact a {
  color: var(--secondary);
  font-weight: 500;
  transition: color 0.14s;
}
.footer-contact a:hover, .footer-contact a:focus-visible {
  color: var(--white);
}

/* --- ICONS IN LISTS --- */
ul li img, .text-section img {
  vertical-align: middle;
  height: 22px;
  margin-right: 9px;
}

/* --- LIST & OL --- */
ul, ol {
  margin-left: 18px;
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* --- CARD EFFECTS --- */
.card {
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 10px 36px rgba(232,69,69,0.18);
  transform: translateY(-6px) scale(1.025);
  z-index: 2;
}

/* --- LINKS --- */
a {
  color: var(--secondary);
  transition: color 0.19s;
}
a:hover, a:focus-visible {
  color: var(--primary);
}

/* --- FORMS AND INPUTS (if exists future) --- */
input, textarea, select {
  border-radius: var(--radius-btn);
  border: 1.5px solid var(--gray);
  padding: 10px 14px;
  font-size: 1rem;
  margin-bottom: 10px;
  width: 100%;
  background: var(--white);
  color: var(--primary);
  transition: border-color 0.17s, box-shadow 0.14s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
  box-shadow: 0 2px 12px rgba(232,69,69,0.06);
}

/* --- RESPONSIVE --- */
@media (max-width: 1080px) {
  .container {
    max-width: 97vw;
    padding: 0 13px;
  }
  header .container, footer .container {
    padding-left: 12px;
    padding-right: 12px;
  }
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 27px 5px;
    margin-bottom: 40px;
  }
  .content-wrapper {
    padding: 27px 8px;
    margin-bottom: 19px;
  }
  header .container {
    flex-direction: row;
    gap: 16px;
    padding-top: 12px;
    padding-bottom: 9px;
  }
  .main-nav {
    display: none !important;
  }
  .btn, .btn-primary {
    padding: 11px 18px;
    font-size: 1rem;
  }
  .footer-logo img {
    height: 34px;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .card-container {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.7rem;
  }
  h2 {
    font-size: 1.28rem;
  }
  .footer-contact, .footer-nav {
    font-size: .97rem;
  }
}

/* --- MOBILE BURGER MENU --- */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: var(--accent);
  color: var(--secondary);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
  z-index: 301;
  box-shadow: 0 2px 8px var(--shadow);
  border: 1.5px solid var(--gray);
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:hover {
  background: var(--secondary);
  color: var(--white);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--white);
  box-shadow: 0 6px 48px rgba(22,33,62,0.15);
  z-index: 2999;
  transform: translateX(-110vw);
  transition: transform 0.35s cubic-bezier(.77,.36,.19,.94);
  opacity: 0.99;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  font-size: 2.5rem;
  color: var(--secondary);
  background: transparent;
  align-self: flex-end;
  margin: 18px 26px 18px 0;
  padding: 0;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-close:active, .mobile-menu-close:hover {
  background: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  padding: 0 27px;
}
.mobile-nav a {
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 11px 0;
  color: var(--primary);
  font-weight: 600;
  border-bottom: 1px solid var(--accent);
  border-radius: 0;
  margin-bottom: 0;
  transition: color 0.2s;
  min-height: 42px;
}
.mobile-nav a:hover, .mobile-nav a:focus-visible {
  color: var(--secondary);
}
@media (max-width: 1020px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
}
@media (min-width: 1021px) {
  .mobile-menu-toggle,
  .mobile-menu {
    display: none !important;
  }
}
@media (max-width: 600px) {
  .mobile-nav {
    padding: 0 6vw;
  }
  .mobile-menu-close {
    margin-right: 7vw;
  }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--accent);
  border-top: 2px solid var(--secondary);
  color: var(--primary);
  box-shadow: 0 -4px 16px rgba(22,33,62,0.04);
  padding: 23px 18px 18px 18px;
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: flex-start;
  z-index: 3000;
  animation: slideUp 0.6s cubic-bezier(.4,1.6,.6,1);
}
@keyframes slideUp {
  from { transform: translateY(90px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-text {
  max-width: 560px;
  font-size: 1.01rem;
  line-height: 1.7;
  margin-bottom: 7px;
}
.cookie-banner .btn {
  margin-right: 7px;
  margin-bottom: 4px;
  padding: 9px 18px;
  font-size: .98rem;
  font-weight: 500;
}
.cookie-banner .btn-settings {
  background: var(--primary);
  border: 1.5px solid var(--secondary);
  color: var(--white);
  transition: background 0.18s, color 0.18s;
}
.cookie-banner .btn-settings:hover, .cookie-banner .btn-settings:focus-visible {
  color: var(--secondary);
  background: var(--white);
}
.cookie-banner .btn-reject {
  background: var(--white);
  color: var(--secondary);
  border: 1.5px solid var(--gray);
  transition: background 0.19s, color 0.19s, border-color 0.15s;
}
.cookie-banner .btn-reject:hover, .cookie-banner .btn-reject:focus-visible {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}
.cookie-banner .btn-accept {
  background: var(--secondary);
  color: var(--white);
  border: 1.5px solid var(--secondary);
  transition: background 0.18s, color 0.18s;
}
.cookie-banner .btn-accept:hover, .cookie-banner .btn-accept:focus-visible {
  background: var(--primary);
  color: var(--white);
}
@media (max-width: 880px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 7px 13px 7px;
  }
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(22,33,62,0.30);
  z-index: 3010;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.33s ease;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: var(--accent);
  border-radius: var(--radius-card);
  max-width: 420px;
  width: 90vw;
  padding: 40px 28px 32px 28px;
  box-shadow: 0 10px 44px rgba(22,33,62,0.17);
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 3020;
  animation: popIn 0.32s cubic-bezier(.45,1.6,.3,1);
}
@keyframes popIn {
  from { transform: scale(.85); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  margin-bottom: 10px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-bottom: 9px;
}
.cookie-modal label {
  font-size: 1.06rem;
}
.cookie-modal input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--secondary);
}
.cookie-modal .cookie-category.essential label {
  color: var(--secondary);
  opacity: .85;
  font-weight: 600;
}
.cookie-modal .btn {
  margin-top: 19px;
  min-width: 110px;
}
.cookie-modal .btn-cancel {
  margin-left: 10px;
  background: var(--white);
  color: var(--primary);
  border: 1.5px solid var(--gray);
  transition: background 0.14s;
}
.cookie-modal .btn-cancel:hover,
.cookie-modal .btn-cancel:focus-visible {
  color: var(--secondary);
  border-color: var(--secondary);
}

/* --- CREATIVE ARTISTIC ELEMENTS (Color blocks & artistic ribbons) --- */
.content-wrapper, .card, .testimonial-card {
  position: relative;
}
.content-wrapper:before, .card:before {
  content: "";
  position: absolute;
  z-index: 0;
  left: -16px;
  top: -16px;
  width: 62px;
  height: 62px;
  background: var(--secondary);
  opacity: 0.11;
  border-radius: 33% 44% 36% 58% / 38% 52% 38% 50%;
  filter: blur(4px);
  pointer-events: none;
  transition: opacity 0.18s;
}
.card:after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 47px;
  height: 47px;
  background: var(--primary);
  opacity: 0.09;
  border-radius: 60% 32% 29% 48% / 46% 51% 49% 52%;
  filter: blur(8px);
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 700px) {
  .content-wrapper:before,
  .card:before {
    display: none;
  }
  .card:after { display: none; }
}

/* --- Artistic Section Headings Underline --- */
h2, .subheadline {
  position: relative;
  display: inline-block;
}
h2:after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
  margin-top: 7px;
  margin-left: 2px;
  opacity: .65;
  transition: width 0.2s;
}
h2:hover:after, h2:focus:after {
  width: 77px;
}

/* --- Artistic Font for Logo Text (if used) --- */
.brand {
  font-family: 'Merriweather', serif;
  color: var(--secondary);
  font-size: 2rem;
  letter-spacing: 1.5px;
  font-style: italic;
  font-weight: 700;
}

/* --- Animations & Microinteractions --- */
.btn, .btn-primary {
  transition: background 0.18s, color 0.18s, box-shadow 0.2s, border-color 0.16s;
}
.card, .testimonial-card {
  transition: transform 0.18s, box-shadow 0.18s, background 0.12s;
}
.testimonial-card:hover {
  transform: translateY(-4px) scale(1.017);
  box-shadow: 0 14px 36px rgba(22,33,62,0.09), 0 2px 12px rgba(232,69,69,0.05);
}

/* --- UTILITIES & MISC --- */
.mt-32 { margin-top: 32px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mb-32 { margin-bottom: 32px !important; }
.no-select { user-select: none; }
.hidden { display: none !important; }

/* --- Ensure No Overlapping --- */
.section, .card, .testimonial-card, .feature-item, .content-grid, .text-image-section, .card-container {
  margin-bottom: 20px;
}

/* --- Accessibility: Better Contrast for Testimonials --- */
.testimonial-card {
  background: #f7f8fb;
  color: #181c25;
}
.testimonial-card p {
  color: #181c25;
}
.testimonial-card .client {
  color: #C91F32;
}

/* End CSS */
