/* CSS RESET & BASE STYLES */
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1; min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #182539; background: #F0F0F0;
  font-size: 16px; font-weight: 400;
}
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
img { border: 0; max-width: 100%; display: block; }
button, input, textarea, select {
  font: inherit; border: none; outline: none; background: none;
}
strong { font-weight: 700; }

/* BRAND COLORS AND FONTS */
:root {
  --primary: #364F6B;
  --secondary: #FC5185;
  --accent: #F0F0F0;
  --black: #131313;
  --white: #fff;
  --shadow: 0 4px 18px 0 rgba(50,50,50,0.07);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary);
  font-weight: 900;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.7rem; margin-bottom: 16px; line-height: 1.15; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.3rem; margin-bottom: 10px; }
.subheadline {
  font-size: 1.22rem; color: var(--secondary); font-weight: 600;
  margin-bottom: 24px;
}
p, ul, ol, li { color: #30303a; font-size: 1rem; line-height: 1.67; }

@media (min-width: 992px) {
  h1 { font-size: 3.2rem; }
  h2 { font-size: 2.3rem; }
  h3 { font-size: 1.44rem; }
  .subheadline { font-size: 1.35rem; }
}

/* LINKS & BUTTONS */
.cta-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--secondary);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800; font-size: 1.14rem;
  letter-spacing: 0.04em; padding: 14px 38px;
  border-radius: 30px; box-shadow: 0 6px 32px 0 rgba(252,81,133,0.13);
  margin-top: 18px; transition: background 0.25s, box-shadow 0.25s, transform 0.13s;
  cursor: pointer; border: none;
  position: relative; overflow: hidden;
}
.cta-btn:hover, .cta-btn:focus {
  background: #ff63a1;
  box-shadow: 0 8px 36px 0 rgba(252,81,133,0.25);
  transform: translateY(-2px) scale(1.03);
}
nav a {
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.07rem;
  margin: 0 13px;
  padding: 8px 0;
  position: relative;
  transition: color 0.18s;
}
nav a:hover, nav a:focus {
  color: var(--secondary);
}

/* LAYOUT CLASSES / CONTAINERS */
.container {
  width: 100%; max-width: 1210px;
  margin: 0 auto; padding: 0 18px;
  display: flex; flex-direction: column;
}
.content-wrapper, .text-section {
  width: 100%; margin: 0 auto; max-width: 800px;
  display: flex; flex-direction: column; justify-content: center;
}

.section {
  margin-bottom: 60px; padding: 40px 20px;
  width: 100%; background: var(--accent);
  border-radius: 26px; box-shadow: var(--shadow);
}

/* FLEX LAYOUTS per specific classes */
.card-container {
  display: flex; flex-wrap: wrap; gap: 24px;
}
.card {
  background: var(--white);
  border-radius: 18px;
  margin-bottom: 20px; position: relative;
  box-shadow: var(--shadow);
  padding: 25px 24px;
  min-width: 250px;
  display: flex; flex-direction: column;
  transition: box-shadow 0.18s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 10px 36px 0 rgba(54,79,107,0.12);
  transform: translateY(-4px) scale(1.025);
}

.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(--white);
  border-radius: 19px; box-shadow: var(--shadow);
  margin-bottom: 22px;
  transition: box-shadow 0.18s;
}
.testimonial-card p {
  color: #222; font-size: 1.07rem; font-weight: 600;
}
.testimonial-card span { color: var(--primary); font-size: 1rem; font-weight: 700; }
.testimonial-card:hover {
  box-shadow: 0 7px 34px rgba(54,79,107,0.1);
}
.feature-item {
  display: flex; flex-direction: column; align-items: flex-start; gap: 15px;
  background: var(--white);
  border-radius: 16px; box-shadow: var(--shadow);
  padding: 22px 20px; min-width: 210px; flex: 1 1 190px;
  margin-bottom: 20px;
  transition: box-shadow 0.15s, transform 0.14s;
}
.feature-item img {
  height: 38px; width: 38px; margin-bottom: 4px;
  background: var(--accent); border-radius: 10px;
  box-shadow: 0 2px 6px #fc518533;
}
.feature-item:hover { box-shadow: 0 10px 40px 0 rgba(252,81,133,0.13); transform: translateY(-3px) scale(1.02); }

@media (max-width: 768px) {
  .feature-grid,
  .service-grid,
  .content-grid,
  .card-container {
    flex-direction: column; gap: 20px;;
  }
  .text-image-section {
    flex-direction: column; gap: 22px;
  }
}

/* HEADER & NAV */
header {
  width: 100%; background: var(--white); z-index: 20;
  box-shadow: 0 3px 18px 0 rgba(54,79,107,0.06);
  position: sticky; top: 0; left: 0;
}
header .container {
  flex-direction: row; align-items: center; justify-content: space-between;
  min-height: 74px;
}
.logo img { height: 48px; }
.main-nav {
  display: flex; flex-direction: row; align-items: center;
}

/* Hide mobile menu on desktop */
.mobile-menu-toggle {
  display: none; margin-left: 18px; background: var(--secondary);
  color: var(--white); font-size: 2.2rem; padding: 6px 16px;
  border-radius: 12px; cursor: pointer; border: none;
  transition: background 0.16s, box-shadow 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #ff63a1; box-shadow: 0 3px 19px #fc518540;
}

@media (max-width: 1040px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(54,79,107,0.9); z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.84,0,.12,1);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start;
  padding-top: 54px; width: 100vw; height: 100vh;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute; top: 18px; right: 24px; font-size: 2.6rem;
  color: var(--white); background: none; border: none; cursor: pointer;
  z-index: 1010;
}
.mobile-nav {
  display: flex; flex-direction: column; align-items: flex-start;
  margin-top: 48px; width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', sans-serif; color: var(--white);
  font-size: 1.28rem; font-weight: 800; letter-spacing: 0.03em;
  padding: 18px 32px; border-radius: 10px;
  margin: 0 0 8px 0;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:active,
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: var(--secondary); color: var(--white);
}

/* FOOTER */
footer {
  margin-top: 64px; background: var(--primary);
  color: var(--white); border-radius: 22px 22px 0 0;
  box-shadow: 0 -2px 20px 0 rgba(54,79,107,0.09);
}
footer .container {
  padding: 36px 18px 24px 18px;
  flex-direction: column;
  gap: 18px;
}
.footer-nav {
  display: flex; flex-wrap: wrap; gap: 20px; justify-content: center;
  margin-bottom: 18px;
}
.footer-nav a {
  font-size: 1.06rem; color: var(--accent); font-weight: 700;
  transition: color 0.19s;
}
.footer-nav a:hover, .footer-nav a:focusClass {
  color: var(--secondary);
}
.contact-short { text-align: center; margin-bottom: 5px; }
.legal {
  color: var(--accent); font-size: 0.97rem; text-align: center;
  margin-top: 12px;
}
.social-links {
  display: flex; justify-content: center; gap: 20px; margin: 12px 0px;
}
.social-links img {
  height: 35px; width: 35px; background: var(--white);
  border-radius: 10px; padding: 6px; transition: box-shadow 0.14s, background 0.14s;
  box-shadow: 0 2px 14px 0 rgba(252,81,133,0.14);
}
.social-links img:hover {
  background: var(--secondary); box-shadow: 0 5px 18px 0 rgba(252,81,133,0.28);
}

/* PAGE SECTIONS */
section { margin-bottom: 60px; padding: 40px 20px; }
@media (max-width: 700px) {
  section { padding: 22px 6px; }
}

/* FEATURE GRID / SERVICE GRID */
.feature-grid, .service-grid {
  display: flex; flex-wrap: wrap; gap: 24px; width: 100%;
  margin: 21px 0 0 0;
}
.service-grid { gap: 28px; }
@media (max-width: 900px) {
  .feature-grid, .service-grid {
    gap: 15px; flex-direction: column;
  }
}

/* SERVICE PREVIEW LIST */
.service-list-preview {
  margin-bottom: 23px;
}
.service-list-preview li {
  margin-bottom: 14px;
  position: relative; padding-left: 0;
  color: var(--primary); font-weight: 600;
}

/* SERVICES PAGE SPECIFICS */
.service-block {
  background: var(--white); box-shadow: var(--shadow);
  border-radius: 17px; padding: 28px 23px;
  flex: 1 1 240px; display: flex; flex-direction: column; align-items: flex-start;
  justify-content: flex-start; min-width: 210px;
  margin-bottom: 20px;
  transition: box-shadow 0.14s, transform 0.13s;
}
.service-block h2 {
  color: var(--secondary); font-size: 1.13rem; margin-bottom: 7px; letter-spacing: 0.01em;
}
.service-block p { color: var(--primary); font-size: 1rem; margin-bottom: 11px; }
.service-price {
  display: inline-block; background: var(--secondary);
  color: var(--white); font-weight: 800; padding: 6px 18px; border-radius: 12px;
  font-size: 1rem; font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.01em;
}
.service-block:hover {
  box-shadow: 0 10px 40px 0 rgba(252,81,133,0.13); transform: translateY(-3px) scale(1.022);
}

/* TEAM INTRO, ETC. */
.team-intro {
  background: var(--accent); padding: 20px 19px; border-radius: 18px;
  margin-bottom: 23px; font-size: 1.06rem;
  box-shadow: var(--shadow);
}

/* FORM ELEMENTS if any */
input[type="text"], input[type="email"], textarea {
  width: 100%; padding: 13px 18px;
  border-radius: 9px; border: 1.5px solid var(--primary);
  background: var(--accent);
  font-size: 1.05rem; margin-bottom: 16px;
  color: var(--primary);
  transition: border-color 0.17s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: var(--secondary);
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1500;
  width: 100%; display: flex; flex-direction: row; align-items: center; justify-content: center;
  background: var(--primary);
  color: var(--white); box-shadow: 0 -3px 26px 0 rgba(34,34,34,0.17);
  padding: 20px 12px; gap: 27px;
  font-size: 1.05rem; animation: cookieShow 0.68s cubic-bezier(.48,1.42,.33,1.02);
}
@keyframes cookieShow {
  0% { transform: translateY(80%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  flex: 1 1 340px; min-width: 160px; max-width: 600px;
}
.cookie-banner__actions {
  display: flex; flex-wrap: wrap; gap: 14px;
}
.cookie-btn {
  background: var(--secondary);
  color: var(--white); border-radius: 28px; padding: 10px 24px;
  font-family: 'Montserrat', sans-serif; font-weight: 800; border: none;
  font-size: 1rem; cursor: pointer; margin-right: 8px;
  transition: background 0.16s, box-shadow 0.15s, transform 0.13s;
  box-shadow: 0 2px 12px #fc518540;
}
.cookie-btn.settings {
  background: #FFBE3B; color: var(--primary);
}
.cookie-btn:focus, .cookie-btn:hover {
  background: #ff63a1;
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 4px 29px #fc518533;
}
.cookie-btn.settings:focus, .cookie-btn.settings:hover {
  background: #ffd171; color: var(--primary);
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column; gap: 14px;
    padding: 18px 6px 19px 6px;
  }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed; left: 50%; top: 50%; transform: translate(-50%,-50%);
  z-index: 1520; width: 94vw; max-width: 430px;
  background: var(--white); color: var(--primary);
  border-radius: 23px; box-shadow: 0 6px 33px #364F6B55;
  padding: 33px 23px 24px 23px;
  display: none; flex-direction: column; align-items: flex-start;
  animation: modalPop 0.38s cubic-bezier(.69,1.45,.31,1.02);
}
.cookie-modal.open { display: flex; }
@keyframes modalPop {
  0% { transform: translate(-50%,-40%) scale(0.83); opacity: 0; }
  100% { transform: translate(-50%,-50%) scale(1); opacity: 1; }
}
.cookie-modal__close {
  position: absolute; top: 18px; right: 19px;
  font-size: 2.3rem; color: var(--secondary);
  background: none; border: none; cursor: pointer;
}
.cookie-modal h2 {
  font-size: 1.4rem;
  color: var(--secondary); margin-bottom: 11px;
}
.cookie-category {
  display: flex; flex-direction: row; align-items: center; margin-bottom: 21px;
}
.cookie-category label {
  font-weight: 700; margin-left: 12px; font-size: 1.04rem;
}
.cookie-switch {
  display: inline-block; width: 40px; height: 22px;
  border-radius: 12px; background: #eee; position: relative; margin-right: 6px;
  vertical-align: middle;
}
.cookie-switch input[type="checkbox"] {
  opacity: 0; width: 0; height: 0; position: absolute;
}
.cookie-switch .slider {
  position: absolute; top: 3px; left: 3px; width: 16px; height: 16px;
  background: #fc5185; border-radius: 50%; transition: 0.18s; box-shadow: 0 2px 7px #fc51859c;
}
.cookie-switch input:checked + .slider {
  left: 21px; background: #28d59d;
}
.cookie-category.always-on label {
  color: #28d59d;
}
.cookie-modal__actions {
  display: flex; gap: 14px; justify-content: flex-end; width: 100%; margin-top: 13px;
}

/* PAGE UTILITY */
.margin-bottom-30 { margin-bottom: 30px !important; }

/* ANIMATIONS */
.cta-btn, .service-block, .feature-item, .card, .testimonial-card, .social-links img {
  transition: box-shadow 0.18s, background 0.17s, color 0.17s, transform 0.14s;
}

/* RESPONSIVE SPACING & TEXT */
@media (max-width: 600px) {
  h1 { font-size: 1.64rem; }
  h2 { font-size: 1.15rem; }
  .cta-btn { font-size: 1rem; padding: 10px 20px; }
  .feature-item, .service-block, .card, .testimonial-card {
    padding: 15px 7px;
  }
}

/*********** ADDITIONAL CONSISTENCY ***********/
.text-section {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 32px 22px; margin-bottom: 28px;
  display: flex; flex-direction: column; gap: 7px;
}

@media (max-width:600px) {
  .text-section { padding: 18px 6px; }
}

/* List styles for privacy & legal */
.text-section ul, .text-section ol {
  padding-left: 24px;
  margin-bottom: 10px;
}
.text-section ul li::before {
  content: '\2022'; color: var(--secondary);
  display: inline-block; margin-right: 10px;
  font-size: 1.11em;
}
.text-section ol li {
  margin-bottom: 7px;
  list-style-type: decimal;
  color: var(--primary);
  font-weight: 600;
}

/* Ensure .card, .feature-item, .service-block min 20px margin from other cards */
.card, .feature-item, .service-block, .testimonial-card {
  margin-bottom: 20px;
}

/* Miscellaneous spacing fixes */
.content-wrapper { margin-bottom: 24px; }

/******* UTILITY FLEX CLASSES (avoid grid) *******/
.flex-row {
  display: flex; flex-direction: row; gap: 20px;
}
.flex-col {
  display: flex; flex-direction: column; gap: 20px;
}

/********** SCROLLBAR FOR CONSISTENCY **********/
::-webkit-scrollbar { width: 8px; background: var(--accent); }
::-webkit-scrollbar-thumb { background: #fc518580; border-radius: 9px; }

/************** HIGH CONTRAST FIX **************/
.testimonial-card, .testimonial-card span, .testimonial-card p {
  color: #1c283f;
  background: var(--white);
}

/************ PRINTING AND ACCESSIBILITY ***********/
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
}

/**************** END OF STYLE ****************/
